@innovastudio/contentbox 1.5.48 → 1.5.50
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/contentbox",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.50",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "public/contentbox/contentbox.esm.js",
|
|
7
7
|
"files": [
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"webpack-dev-server": "^4.0.0"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@innovastudio/contentbuilder": "^1.4.
|
|
49
|
+
"@innovastudio/contentbuilder": "^1.4.40",
|
|
50
50
|
"js-beautify": "^1.14.0"
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -4100,11 +4100,11 @@ class EditSection {
|
|
|
4100
4100
|
<div class="div-visibility" style="display:flex;">
|
|
4101
4101
|
<button title="${out('Visible')}" class="input-visible on" style="width:100px;height:34px;">
|
|
4102
4102
|
<svg class="is-icon-flex" style="width:16px;height:16px"><use xlink:href="#icon-eye"></use></svg>
|
|
4103
|
-
<span>${out('Visible')}</span>
|
|
4103
|
+
<span style="margin-left:5px">${out('Visible')}</span>
|
|
4104
4104
|
</button>
|
|
4105
4105
|
<button title="${out('Hidden')}" class="input-hidden" style="width:100px;height:34px;">
|
|
4106
4106
|
<svg class="is-icon-flex" style="width:16px;height:16px"><use xlink:href="#icon-eye-off"></use></svg>
|
|
4107
|
-
<span>${out('Hidden')}</span>
|
|
4107
|
+
<span style="margin-left:5px">${out('Hidden')}</span>
|
|
4108
4108
|
</button>
|
|
4109
4109
|
</div>
|
|
4110
4110
|
|
|
@@ -73746,7 +73746,9 @@ class ColumnTool {
|
|
|
73746
73746
|
<label for="inpCellImageBgSource" style="display:block">${util.out('Source')}:</label>
|
|
73747
73747
|
<div class="image-src">
|
|
73748
73748
|
<input id="inpCellImageBgSource" class="input-src" type="text">
|
|
73749
|
-
<button title="${util.out('Select')}" class="input-select" style="flex:none;"
|
|
73749
|
+
<button title="${util.out('Select')}" class="input-select" style="flex:none;">
|
|
73750
|
+
${this.builder.opts.selectIcon}
|
|
73751
|
+
</button>
|
|
73750
73752
|
<div class="image-larger3 input-upload" style="position: relative; flex: 0 0 auto;box-shadow: rgba(0, 0, 0, 0.32) 0px 3px 6px -6px;">
|
|
73751
73753
|
<form class="form-upload-larger" target="frameTargetCellImageUpload" method="post" action="${this.builder.opts.largerImageHandler}" enctype="multipart/form-data" style="position:absolute;display:flex;justify-content: center;align-items: center;top:0;left:0;width:100%;height:100%;">
|
|
73752
73754
|
<input id="hidRefId3" name="hidRefId" type="hidden" value="">
|
|
@@ -76424,7 +76426,9 @@ class ElementGeneralStyles {
|
|
|
76424
76426
|
<svg class="is-icon-flex"><use xlink:href="#ion-image"></use></svg>
|
|
76425
76427
|
<span style="margin-left: 5px;">${util.out('Image')}</span>
|
|
76426
76428
|
</button>
|
|
76427
|
-
<button title="${util.out('Select')}" class="input-select"
|
|
76429
|
+
<button title="${util.out('Select')}" class="input-select">
|
|
76430
|
+
${this.builder.opts.selectIcon}
|
|
76431
|
+
</button>
|
|
76428
76432
|
<button title="${util.out('Remove')}" class="input-elm-bgremove"><svg class="is-icon-flex" style="width:11px;height:11px;"><use xlink:href="#icon-clean"></use></svg></button>
|
|
76429
76433
|
<button title="${util.out('Adjust')}" class="input-elm-bgimageadjust" style="width:40px"><svg class="is-icon-flex" style="width:13px;height:13px;flex:none"><use xlink:href="#ion-wrench"></use></svg></button>
|
|
76430
76434
|
</div>
|
|
@@ -91713,6 +91717,24 @@ class Responsive {
|
|
|
91713
91717
|
|
|
91714
91718
|
readTarget(area) {
|
|
91715
91719
|
const inp = area.querySelector('.input-device.on');
|
|
91720
|
+
const target = inp.getAttribute('data-value');
|
|
91721
|
+
|
|
91722
|
+
if (target === '') {
|
|
91723
|
+
this.builder.livePreview.resizePreview(1920);
|
|
91724
|
+
}
|
|
91725
|
+
|
|
91726
|
+
if (target === 'md') {
|
|
91727
|
+
this.builder.livePreview.resizePreview(1024);
|
|
91728
|
+
}
|
|
91729
|
+
|
|
91730
|
+
if (target === 'sm') {
|
|
91731
|
+
this.builder.livePreview.resizePreview(768);
|
|
91732
|
+
}
|
|
91733
|
+
|
|
91734
|
+
if (target === 'xs') {
|
|
91735
|
+
this.builder.livePreview.resizePreview(375);
|
|
91736
|
+
}
|
|
91737
|
+
|
|
91716
91738
|
return inp.getAttribute('data-value');
|
|
91717
91739
|
}
|
|
91718
91740
|
|