@innovastudio/contentbuilder 1.4.1 → 1.4.3
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/license.txt
CHANGED
@@ -19,9 +19,12 @@ STANDARD DEVELOPER LICENSE AGREEMENT
|
|
19
19
|
|
20
20
|
4. You will be responsible for providing support to your clients, and InnovaStudio will not communicate directly with your clients under any circumstances.
|
21
21
|
|
22
|
-
5
|
22
|
+
5. InnovaStudio provides support and free Product upgrades/updates for 1 (One) year period since purchase date.
|
23
|
+
Upgrade/update is optional. Your license remains active even if you do not upgrade the Product.
|
23
24
|
|
24
|
-
6.
|
25
|
+
6 You are not allowed to re-distribute the Product as another plugin and/or sell the Product as is. You must include the Product in your custom application.
|
26
|
+
|
27
|
+
7. LIMITED WARRANTY
|
25
28
|
Although InnovaStudio has tested the Product and reviewed the documentation, InnovaStudio makes no warranty or representation, either expressed or implied, with respect to the Product, its quality, performance, merchantability, or fitness for a particular purpose. As a result, ContentBuilder.js is licensed AS-IS, and you are assuming the entire risk as to its quality and performance.
|
26
29
|
InnovaStudio shall not be liable for any claim or right to recover damages, including, but not limited to, loss of profit, data, or use of the software or special, incidental, or consequential damages, or other similar claims, even if InnovaStudio has been specifically advised of the possibility of such damages.
|
27
30
|
|
@@ -44,9 +47,12 @@ PRO DEVELOPER LICENSE AGREEMENT
|
|
44
47
|
|
45
48
|
6. You will be responsible for providing support to your clients, and InnovaStudio will not communicate directly with your clients under any circumstances.
|
46
49
|
|
47
|
-
7.
|
50
|
+
7. InnovaStudio provides support and free Product upgrades/updates for 1 (One) year period since purchase date.
|
51
|
+
Upgrade/update is optional. Your license remains active even if you do not upgrade the Product.
|
52
|
+
|
53
|
+
8. You are not allowed to re-distribute the Product as another plugin and/or sell the Product as is. You must include the Product in your custom application.
|
48
54
|
|
49
|
-
|
55
|
+
9. LIMITED WARRANTY
|
50
56
|
Although InnovaStudio has tested the Product and reviewed the documentation, InnovaStudio makes no warranty or representation, either expressed or implied, with respect to the Product, its quality, performance, merchantability, or fitness for a particular purpose. As a result, ContentBuilder.js is licensed AS-IS, and you are assuming the entire risk as to its quality and performance.
|
51
57
|
InnovaStudio shall not be liable for any claim or right to recover damages, including, but not limited to, loss of profit, data, or use of the software or special, incidental, or consequential damages, or other similar claims, even if InnovaStudio has been specifically advised of the possibility of such damages.
|
52
58
|
|
@@ -69,9 +75,12 @@ SUPER DEVELOPER LICENSE AGREEMENT
|
|
69
75
|
|
70
76
|
6. You will be responsible for providing support to your clients, and InnovaStudio will not communicate directly with your clients under any circumstances.
|
71
77
|
|
72
|
-
7.
|
78
|
+
7. InnovaStudio provides support and free Product upgrades/updates for 1 (One) year period since purchase date.
|
79
|
+
Upgrade/update is optional. Your license remains active even if you do not upgrade the Product.
|
80
|
+
|
81
|
+
8. You are not allowed to re-distribute the Product as another plugin and/or sell the Product as is. You must include the Product in your custom application.
|
73
82
|
|
74
|
-
|
83
|
+
9. LIMITED WARRANTY
|
75
84
|
Although InnovaStudio has tested the Product and reviewed the documentation, InnovaStudio makes no warranty or representation, either expressed or implied, with respect to the Product, its quality, performance, merchantability, or fitness for a particular purpose. As a result, ContentBuilder.js is licensed AS-IS, and you are assuming the entire risk as to its quality and performance.
|
76
85
|
InnovaStudio shall not be liable for any claim or right to recover damages, including, but not limited to, loss of profit, data, or use of the software or special, incidental, or consequential damages, or other similar claims, even if InnovaStudio has been specifically advised of the possibility of such damages.
|
77
86
|
|
package/package.json
CHANGED
@@ -5410,3 +5410,23 @@ button:focus-visible {
|
|
5410
5410
|
pointer-events: none;
|
5411
5411
|
user-select: none;
|
5412
5412
|
}
|
5413
|
+
|
5414
|
+
/*
|
5415
|
+
@media (min-width: 761px) and (max-width: 970px) {
|
5416
|
+
body.data-editor .sm-hidden {
|
5417
|
+
opacity: 0.5 !important;
|
5418
|
+
background-color: rgb(130 130 130 / 14%) !important;
|
5419
|
+
}
|
5420
|
+
}
|
5421
|
+
@media (min-width: 971px) and (max-width: 1280px) {
|
5422
|
+
body.data-editor .md-hidden {
|
5423
|
+
opacity: 0.5 !important;
|
5424
|
+
background-color: rgb(130 130 130 / 14%) !important;
|
5425
|
+
}
|
5426
|
+
}
|
5427
|
+
@media (min-width: 1281px) {
|
5428
|
+
body.data-editor .desktop-hidden {
|
5429
|
+
opacity: 0.5 !important;
|
5430
|
+
background-color: rgb(130 130 130 / 14%) !important;
|
5431
|
+
}
|
5432
|
+
}*/
|
@@ -4527,13 +4527,36 @@ class Util {
|
|
4527
4527
|
// return;
|
4528
4528
|
// }
|
4529
4529
|
|
4530
|
+
let smHidden = false;
|
4531
|
+
let mdHidden = false;
|
4530
4532
|
Array.from(row.children).map(item => {
|
4531
4533
|
if (item.classList.contains('is-row-tool')) return;
|
4532
4534
|
if (item.classList.contains('is-col-tool')) return;
|
4533
4535
|
if (item.classList.contains('is-rowadd-tool')) return;
|
4534
4536
|
item.style.width = '';
|
4535
4537
|
item.style.flex = '';
|
4538
|
+
|
4539
|
+
if (item.classList.contains('sm-hidden')) {
|
4540
|
+
smHidden = true;
|
4541
|
+
}
|
4542
|
+
|
4543
|
+
if (item.classList.contains('md-hidden')) {
|
4544
|
+
mdHidden = true;
|
4545
|
+
}
|
4536
4546
|
});
|
4547
|
+
|
4548
|
+
if (smHidden) {
|
4549
|
+
row.classList.add('sm-autofit');
|
4550
|
+
} else {
|
4551
|
+
row.classList.remove('sm-autofit');
|
4552
|
+
}
|
4553
|
+
|
4554
|
+
if (mdHidden) {
|
4555
|
+
row.classList.add('md-autofit');
|
4556
|
+
} else {
|
4557
|
+
row.classList.remove('md-autofit');
|
4558
|
+
}
|
4559
|
+
|
4537
4560
|
let num = 3; //is-row-tool, is-col-tool & is-rowadd-tool
|
4538
4561
|
|
4539
4562
|
if (row.querySelector('.is-row-overlay')) {
|
@@ -57698,6 +57721,7 @@ class RowTool {
|
|
57698
57721
|
btnVisible.addEventListener('click', () => {
|
57699
57722
|
let row = util.rowSelected();
|
57700
57723
|
if (!row) return;
|
57724
|
+
this.builder.uo.saveForUndo();
|
57701
57725
|
row.classList.remove('hideonmobile');
|
57702
57726
|
let divTarget = this.rowSettings.querySelector('.div-target');
|
57703
57727
|
let target = this.builder.responsive.readTarget(divTarget);
|
@@ -57713,11 +57737,14 @@ class RowTool {
|
|
57713
57737
|
}
|
57714
57738
|
|
57715
57739
|
btnVisible.classList.add('on');
|
57716
|
-
btnHidden.classList.remove('on');
|
57740
|
+
btnHidden.classList.remove('on'); //Trigger Change event
|
57741
|
+
|
57742
|
+
this.builder.opts.onChange();
|
57717
57743
|
});
|
57718
57744
|
btnHidden.addEventListener('click', () => {
|
57719
57745
|
let row = util.rowSelected();
|
57720
57746
|
if (!row) return;
|
57747
|
+
this.builder.uo.saveForUndo();
|
57721
57748
|
row.classList.remove('hideonmobile');
|
57722
57749
|
let divTarget = this.rowSettings.querySelector('.div-target');
|
57723
57750
|
let target = this.builder.responsive.readTarget(divTarget);
|
@@ -57733,7 +57760,9 @@ class RowTool {
|
|
57733
57760
|
}
|
57734
57761
|
|
57735
57762
|
btnVisible.classList.remove('on');
|
57736
|
-
btnHidden.classList.add('on');
|
57763
|
+
btnHidden.classList.add('on'); //Trigger Change event
|
57764
|
+
|
57765
|
+
this.builder.opts.onChange();
|
57737
57766
|
}); //More
|
57738
57767
|
|
57739
57768
|
let inpRowId = rowSettings.querySelector('.input-row-id');
|
@@ -60137,6 +60166,7 @@ class ColumnTool {
|
|
60137
60166
|
btnVisible.addEventListener('click', () => {
|
60138
60167
|
let cell = this.util.cellSelected();
|
60139
60168
|
if (!cell) return;
|
60169
|
+
this.builder.uo.saveForUndo();
|
60140
60170
|
cell.classList.remove('hideonmobile');
|
60141
60171
|
let divTarget = this.cellSettings.querySelector('.div-target');
|
60142
60172
|
let target = this.builder.responsive.readTarget(divTarget);
|
@@ -60145,6 +60175,7 @@ class ColumnTool {
|
|
60145
60175
|
cell.classList.remove('xs-hidden');
|
60146
60176
|
} else if (target === 'sm') {
|
60147
60177
|
cell.classList.remove('sm-hidden');
|
60178
|
+
cell.parentNode.classList.remove('sm-autofit');
|
60148
60179
|
} else if (target === 'md') {
|
60149
60180
|
cell.classList.remove('md-hidden');
|
60150
60181
|
cell.parentNode.classList.remove('md-autofit');
|
@@ -60153,11 +60184,14 @@ class ColumnTool {
|
|
60153
60184
|
}
|
60154
60185
|
|
60155
60186
|
btnVisible.classList.add('on');
|
60156
|
-
btnHidden.classList.remove('on');
|
60187
|
+
btnHidden.classList.remove('on'); //Trigger Change event
|
60188
|
+
|
60189
|
+
this.builder.opts.onChange();
|
60157
60190
|
});
|
60158
60191
|
btnHidden.addEventListener('click', () => {
|
60159
60192
|
let cell = this.util.cellSelected();
|
60160
60193
|
if (!cell) return;
|
60194
|
+
this.builder.uo.saveForUndo();
|
60161
60195
|
cell.classList.remove('hideonmobile');
|
60162
60196
|
let divTarget = this.cellSettings.querySelector('.div-target');
|
60163
60197
|
let target = this.builder.responsive.readTarget(divTarget);
|
@@ -60166,6 +60200,7 @@ class ColumnTool {
|
|
60166
60200
|
cell.classList.add('xs-hidden');
|
60167
60201
|
} else if (target === 'sm') {
|
60168
60202
|
cell.classList.add('sm-hidden');
|
60203
|
+
cell.parentNode.classList.add('sm-autofit');
|
60169
60204
|
} else if (target === 'md') {
|
60170
60205
|
cell.classList.add('md-hidden');
|
60171
60206
|
cell.parentNode.classList.add('md-autofit');
|
@@ -60174,7 +60209,9 @@ class ColumnTool {
|
|
60174
60209
|
}
|
60175
60210
|
|
60176
60211
|
btnVisible.classList.remove('on');
|
60177
|
-
btnHidden.classList.add('on');
|
60212
|
+
btnHidden.classList.add('on'); //Trigger Change event
|
60213
|
+
|
60214
|
+
this.builder.opts.onChange();
|
60178
60215
|
});
|
60179
60216
|
}
|
60180
60217
|
|
@@ -61403,6 +61440,7 @@ class ElementGeneralStyles {
|
|
61403
61440
|
let btnHidden = panelStuff.querySelector('.input-hidden');
|
61404
61441
|
btnVisible.addEventListener('click', () => {
|
61405
61442
|
const elm = this.builder.inspectedElement;
|
61443
|
+
this.builder.uo.saveForUndo();
|
61406
61444
|
elm.classList.remove('hideonmobile');
|
61407
61445
|
let divTarget = panelStuff.querySelector('.div-target');
|
61408
61446
|
let target = this.builder.responsive.readTarget(divTarget);
|
@@ -61418,10 +61456,13 @@ class ElementGeneralStyles {
|
|
61418
61456
|
}
|
61419
61457
|
|
61420
61458
|
btnVisible.classList.add('on');
|
61421
|
-
btnHidden.classList.remove('on');
|
61459
|
+
btnHidden.classList.remove('on'); //Trigger Change event
|
61460
|
+
|
61461
|
+
this.builder.opts.onChange();
|
61422
61462
|
});
|
61423
61463
|
btnHidden.addEventListener('click', () => {
|
61424
61464
|
const elm = this.builder.inspectedElement;
|
61465
|
+
this.builder.uo.saveForUndo();
|
61425
61466
|
elm.classList.remove('hideonmobile');
|
61426
61467
|
let divTarget = panelStuff.querySelector('.div-target');
|
61427
61468
|
let target = this.builder.responsive.readTarget(divTarget);
|
@@ -61437,7 +61478,9 @@ class ElementGeneralStyles {
|
|
61437
61478
|
}
|
61438
61479
|
|
61439
61480
|
btnVisible.classList.remove('on');
|
61440
|
-
btnHidden.classList.add('on');
|
61481
|
+
btnHidden.classList.add('on'); //Trigger Change event
|
61482
|
+
|
61483
|
+
this.builder.opts.onChange();
|
61441
61484
|
});
|
61442
61485
|
}
|
61443
61486
|
|