@innovastudio/contentbuilder 1.3.35 → 1.3.37
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
|
@@ -2005,8 +2005,9 @@ button:focus-visible {
|
|
|
2005
2005
|
.is-ui .is-modal div.is-modal-footer button {
|
|
2006
2006
|
margin-left: 2px;
|
|
2007
2007
|
}
|
|
2008
|
-
#_cbhtml .is-modal.fileselect, #_cbhtml .is-modal.imageselect, #_cbhtml .is-modal.videoselect,
|
|
2008
|
+
#_cbhtml .is-modal.fileselect, #_cbhtml .is-modal.mediaselect, #_cbhtml .is-modal.imageselect, #_cbhtml .is-modal.videoselect,
|
|
2009
2009
|
.is-ui .is-modal.fileselect,
|
|
2010
|
+
.is-ui .is-modal.mediaselect,
|
|
2010
2011
|
.is-ui .is-modal.imageselect,
|
|
2011
2012
|
.is-ui .is-modal.videoselect {
|
|
2012
2013
|
z-index: 10005;
|
|
@@ -49387,7 +49387,7 @@ class Image$1 {
|
|
|
49387
49387
|
<input id="inpImageLinkLink" class="input-link" type="text" style="width:100%;border-top: none;"/>
|
|
49388
49388
|
<button title="${util.out('Select')}" class="input-select2" style="flex:none;"><svg class="is-icon-flex"><use xlink:href="#ion-more"></use></svg></button>
|
|
49389
49389
|
<div class="image-larger2" style="position:relative;flex:none;box-shadow: 0px 3px 6px -6px rgba(0, 0, 0, 0.32);">
|
|
49390
|
-
<form class="form-upload-larger" target="frameTargetImageUpload" method="post" action="${this.builder.opts.largerImageHandler}" enctype="multipart/form-data" style="border-radius:1px;position:absolute;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;">
|
|
49390
|
+
<form class="form-upload-larger" target="frameTargetImageUpload" method="post" action="${this.builder.opts.fileHandler ? this.builder.opts.fileHandler : this.builder.opts.largerImageHandler}" enctype="multipart/form-data" style="border-radius:1px;position:absolute;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;">
|
|
49391
49391
|
<input id="hidRefId2" name="hidRefId" type="hidden" value="" />
|
|
49392
49392
|
<svg class="is-icon-flex"><use xlink:href="#ion-ios-cloud-upload-outline"></use></svg>
|
|
49393
49393
|
<input onclick="blur()" title="${util.out('Select')}" id="fileImage2" name="fileImage" type="file" accept="image/*" style="position:absolute;top:-30px;left:0;width:100%;height:80px;opacity: 0;cursor: pointer;">
|
|
@@ -49978,7 +49978,9 @@ class Image$1 {
|
|
|
49978
49978
|
dom.addClass(frmUpload, 'please-wait');
|
|
49979
49979
|
modalImageLink.querySelector('#hidRefId2').value = this.builder.opts.customval;
|
|
49980
49980
|
|
|
49981
|
-
if (this.builder.opts.
|
|
49981
|
+
if (this.builder.opts.onFileUpload) {
|
|
49982
|
+
this.builder.opts.onFileUpload(e);
|
|
49983
|
+
} else if (this.builder.opts.onLargerImageUpload) {
|
|
49982
49984
|
this.builder.opts.onLargerImageUpload(e);
|
|
49983
49985
|
} else {
|
|
49984
49986
|
frmUpload.submit();
|