@innovastudio/contentbuilder 1.4.96 → 1.4.98
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
|
@@ -14404,9 +14404,9 @@ class HtmlUtil {
|
|
|
14404
14404
|
</div>
|
|
14405
14405
|
|
|
14406
14406
|
<div class="is-modal viewhtmlmonaco" tabindex="-1" role="dialog" aria-modal="true" aria-hidden="true">
|
|
14407
|
-
<div class="is-modal-content" style="max-width
|
|
14407
|
+
<div class="is-modal-content" style="width:${this.builder.blockCodeEditorWidth};max-width:${this.builder.blockCodeEditorMaxWidth};padding:0">
|
|
14408
14408
|
<textarea style="position:absolute;display:none;"></textarea>
|
|
14409
|
-
<div class="input-code-editor" style="width:100%;height
|
|
14409
|
+
<div class="input-code-editor" style="width:100%;height:${this.builder.blockCodeEditorHeight};"></div>
|
|
14410
14410
|
<div class="is-modal-footer" style="display:flex;justify-content:flex-end;border-top:1px solid ${this.builder.styleSeparatorColor};">
|
|
14411
14411
|
<button title="${util.out('Cancel')}" class="input-cancel classic-secondary">${util.out('Cancel')}</button>
|
|
14412
14412
|
<button title="${util.out('Ok')}" class="input-ok classic-primary">${util.out('Ok')}</button>
|
|
@@ -14415,8 +14415,8 @@ class HtmlUtil {
|
|
|
14415
14415
|
</div>
|
|
14416
14416
|
|
|
14417
14417
|
<div class="is-modal viewhtmlexternal" tabindex="-1" role="dialog" aria-modal="true" aria-hidden="true">
|
|
14418
|
-
<div class="is-modal-content" style="max-width
|
|
14419
|
-
<div class="input-code-editor" style="width:100%;height
|
|
14418
|
+
<div class="is-modal-content" style="width:${this.builder.codeEditorWidth};max-width:${this.builder.codeEditorMaxWidth};padding:0">
|
|
14419
|
+
<div class="input-code-editor" style="width:100%;height:${this.builder.codeEditorHeight};"></div>
|
|
14420
14420
|
<div class="is-modal-footer" style="display:flex;justify-content:flex-end;border-top:1px solid ${this.builder.styleSeparatorColor};">
|
|
14421
14421
|
<button title="${util.out('Cancel')}" class="input-cancel classic-secondary">${util.out('Cancel')}</button>
|
|
14422
14422
|
<button title="${util.out('Ok')}" class="input-ok classic-primary">${util.out('Ok')}</button>
|
|
@@ -14783,6 +14783,16 @@ class HtmlUtil {
|
|
|
14783
14783
|
this.builder.codeEditorArea = area;
|
|
14784
14784
|
let codeEditor = viewhtml.querySelector('.input-code-editor');
|
|
14785
14785
|
codeEditor.style.opacity = '';
|
|
14786
|
+
let modelContent = viewhtml.querySelector('.is-modal-content');
|
|
14787
|
+
if (mode === 'full') {
|
|
14788
|
+
modelContent.style.width = this.builder.codeEditorWidth;
|
|
14789
|
+
modelContent.style.maxWidth = this.builder.codeEditorMaxWidth;
|
|
14790
|
+
codeEditor.style.height = this.builder.codeEditorHeight;
|
|
14791
|
+
} else {
|
|
14792
|
+
modelContent.style.width = this.builder.blockCodeEditorWidth;
|
|
14793
|
+
modelContent.style.maxWidth = this.builder.blockCodeEditorMaxWidth;
|
|
14794
|
+
codeEditor.style.height = this.builder.blockCodeEditorHeight;
|
|
14795
|
+
}
|
|
14786
14796
|
}
|
|
14787
14797
|
fromViewToActual(html) {
|
|
14788
14798
|
for (var key in hash$1) {
|
|
@@ -49652,13 +49662,13 @@ class Image$1 {
|
|
|
49652
49662
|
</div>
|
|
49653
49663
|
|
|
49654
49664
|
<div class="is-modal imageselect" style="z-index:10005" tabindex="-1" role="dialog" aria-modal="true" aria-hidden="true">
|
|
49655
|
-
<div style="max-width:${this.builder.
|
|
49665
|
+
<div style="width:${this.builder.imageSelectWidth};max-width:${this.builder.imageSelectMaxWidth};height:${this.builder.imageSelectHeight};padding:0;">
|
|
49656
49666
|
<iframe tabindex="0" style="width:100%;height:100%;border: none;display: block;" src="about:blank"></iframe>
|
|
49657
49667
|
</div>
|
|
49658
49668
|
</div>
|
|
49659
49669
|
|
|
49660
49670
|
<div class="is-modal mediaselect" style="z-index:10005" tabindex="-1" role="dialog" aria-modal="true" aria-hidden="true">
|
|
49661
|
-
<div style="max-width:${this.builder.
|
|
49671
|
+
<div style="width:${this.builder.mediaSelectWidth};max-width:${this.builder.mediaSelectMaxWidth};height:${this.builder.mediaSelectHeight};padding:0;">
|
|
49662
49672
|
<iframe tabindex="0" style="width:100%;height:100%;border: none;display: block;" src="about:blank"></iframe>
|
|
49663
49673
|
</div>
|
|
49664
49674
|
</div>
|
|
@@ -52733,12 +52743,12 @@ class Hyperlink {
|
|
|
52733
52743
|
</div>
|
|
52734
52744
|
|
|
52735
52745
|
<div class="is-modal fileselect" tabindex="-1" role="dialog" aria-modal="true" aria-hidden="true">
|
|
52736
|
-
<div class="is-modal-content" style="max-width:${this.builder.
|
|
52746
|
+
<div class="is-modal-content" style="width:${this.builder.fileSelectWidth};max-width:${this.builder.fileSelectMaxWidth};height:${this.builder.fileSelectHeight};padding:0;">
|
|
52737
52747
|
<iframe tabindex="0" style="width:100%;height:100%;border: none;display: block;" src="about:blank"></iframe>
|
|
52738
52748
|
</div>
|
|
52739
52749
|
</div>
|
|
52740
52750
|
<div class="is-modal otherselect" tabindex="-1" role="dialog" aria-modal="true" aria-hidden="true">
|
|
52741
|
-
<div class="is-modal-content" style="max-width:${this.builder.
|
|
52751
|
+
<div class="is-modal-content" style="width:${this.builder.otherSelectWidth};max-width:${this.builder.otherSelectMaxWidth};height:${this.builder.otherSelectHeight};padding:0;">
|
|
52742
52752
|
<iframe tabindex="0" style="width:100%;height:100%;border: none;display: block;" src="about:blank"></iframe>
|
|
52743
52753
|
</div>
|
|
52744
52754
|
</div>
|
|
@@ -54851,7 +54861,7 @@ class Video {
|
|
|
54851
54861
|
</div>
|
|
54852
54862
|
|
|
54853
54863
|
<div class="is-modal videoselect" style="z-index:10005" tabindex="-1" role="dialog" aria-modal="true" aria-hidden="true">
|
|
54854
|
-
<div style="max-width:${this.builder.
|
|
54864
|
+
<div style="width:${this.builder.videoSelectWidth};max-width:${this.builder.videoSelectMaxWidth};height:${this.builder.videoSelectHeight};padding:0;">
|
|
54855
54865
|
<iframe tabindex="0" style="width:100%;height:100%;border: none;display: block;" src="about:blank"></iframe>
|
|
54856
54866
|
</div>
|
|
54857
54867
|
</div>
|
|
@@ -55062,7 +55072,7 @@ class Audio {
|
|
|
55062
55072
|
</div>
|
|
55063
55073
|
|
|
55064
55074
|
<div class="is-modal audioselect" style="z-index:10005" tabindex="-1" role="dialog" aria-modal="true" aria-hidden="true">
|
|
55065
|
-
<div style="max-width:${this.builder.
|
|
55075
|
+
<div style="width:${this.builder.audioSelectWidth};max-width:${this.builder.audioSelectMaxWidth};height:${this.builder.audioSelectHeight};padding:0;">
|
|
55066
55076
|
<iframe tabindex="0" style="width:100%;height:100%;border: none;display: block;" src="about:blank"></iframe>
|
|
55067
55077
|
</div>
|
|
55068
55078
|
</div>
|
|
@@ -77581,7 +77591,7 @@ class Dictation {
|
|
|
77581
77591
|
<style>
|
|
77582
77592
|
#_cbhtml .is-modal.page-command {
|
|
77583
77593
|
width: 25vw;
|
|
77584
|
-
min-width:
|
|
77594
|
+
min-width: 500px;
|
|
77585
77595
|
max-width: 600px;
|
|
77586
77596
|
height: 230px;
|
|
77587
77597
|
top: auto;
|
|
@@ -78974,18 +78984,30 @@ class ContentBuilder {
|
|
|
78974
78984
|
otherSelectCaption: 'Select Document',
|
|
78975
78985
|
// otherSelectIcon: '<svg class="is-icon-flex"><use xlink:href="#ion-ios-folder-outline"></use></svg>',
|
|
78976
78986
|
otherSelectIcon: '<svg class="is-icon-flex" style="width:16px;height:16px;"><use xlink:href="#icon-list-search"></use></svg>',
|
|
78977
|
-
imageSelectWidth: '
|
|
78987
|
+
imageSelectWidth: '80vw',
|
|
78978
78988
|
imageSelectHeight: '80vh',
|
|
78979
|
-
fileSelectWidth: '
|
|
78989
|
+
fileSelectWidth: '80vw',
|
|
78980
78990
|
fileSelectHeight: '80vh',
|
|
78981
|
-
videoSelectWidth: '
|
|
78991
|
+
videoSelectWidth: '80vw',
|
|
78982
78992
|
videoSelectHeight: '80vh',
|
|
78983
|
-
audioSelectWidth: '
|
|
78993
|
+
audioSelectWidth: '80vw',
|
|
78984
78994
|
audioSelectHeight: '80vh',
|
|
78985
|
-
mediaSelectWidth: '
|
|
78995
|
+
mediaSelectWidth: '80vw',
|
|
78986
78996
|
mediaSelectHeight: '80vh',
|
|
78987
|
-
otherSelectWidth: '
|
|
78997
|
+
otherSelectWidth: '80vw',
|
|
78988
78998
|
otherSelectHeight: '80vh',
|
|
78999
|
+
imageSelectMaxWidth: '1600px',
|
|
79000
|
+
fileSelectMaxWidth: '1600px',
|
|
79001
|
+
videoSelectMaxWidth: '1600px',
|
|
79002
|
+
audioSelectMaxWidth: '1600px',
|
|
79003
|
+
mediaSelectMaxWidth: '1600px',
|
|
79004
|
+
otherSelectMaxWidth: '1600px',
|
|
79005
|
+
codeEditorWidth: '80vw',
|
|
79006
|
+
codeEditorHeight: '80vh',
|
|
79007
|
+
codeEditorMaxWidth: '1600px',
|
|
79008
|
+
blockCodeEditorWidth: '80vw',
|
|
79009
|
+
blockCodeEditorHeight: '45vh',
|
|
79010
|
+
blockCodeEditorMaxWidth: '960px',
|
|
78989
79011
|
assetRefresh: false,
|
|
78990
79012
|
// asset manager specified in imageSelect, fileSelect & videoSelect will always refreshed on click/open
|
|
78991
79013
|
customTags: [],
|