@innovastudio/contentbuilder 1.4.59 → 1.4.60
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -76548,11 +76548,19 @@ class Lib {
|
|
76548
76548
|
}
|
76549
76549
|
if (val === 'left') {
|
76550
76550
|
container.classList.add('is-content-left');
|
76551
|
-
|
76551
|
+
if (activeBox.querySelector('.glide')) {
|
76552
|
+
container.classList.add('edge-x-3'); // to give space for slider arrow
|
76553
|
+
} else {
|
76554
|
+
container.classList.add('edge-x-2');
|
76555
|
+
}
|
76552
76556
|
}
|
76553
76557
|
if (val === 'right') {
|
76554
76558
|
container.classList.add('is-content-right');
|
76555
|
-
|
76559
|
+
if (activeBox.querySelector('.glide')) {
|
76560
|
+
container.classList.add('edge-x-3'); // to give space for slider arrow
|
76561
|
+
} else {
|
76562
|
+
container.classList.add('edge-x-2');
|
76563
|
+
}
|
76556
76564
|
}
|
76557
76565
|
if (val === 'top' || val === 'middle' || val === 'bottom') {
|
76558
76566
|
activeBox.classList.remove('is-content-top');
|
@@ -77290,7 +77298,7 @@ class Dictation {
|
|
77290
77298
|
</div>
|
77291
77299
|
<div style="display:flex;flex-direction:column;justify-content:space-between;position:absolute;box-sizing:border-box;top:0;left:0;width:100%;height:100%;border-top:transparent 35px solid;overflow-y:hidden;overflow-x:auto;">
|
77292
77300
|
|
77293
|
-
<textarea class="inp-command" style="width:100%;height:121px;border:none;outline:none;background:transparent;line-height: 1.2;
|
77301
|
+
<textarea class="inp-command" style="resize:none;width:100%;height:121px;border:none;outline:none;background:transparent;line-height: 1.2;
|
77294
77302
|
font-family: sans-serif;font-weight: 300;font-size: 17px;"></textarea>
|
77295
77303
|
<div style="display:flex">
|
77296
77304
|
<button title="${util.out('Mic')}" class="cmd-enable-dictation classic-secondary" style="width:40px;height:43px;flex:none;padding:0;outline-offset:-2px;">
|
@@ -77378,7 +77386,6 @@ class Dictation {
|
|
77378
77386
|
// Abort
|
77379
77387
|
|
77380
77388
|
this.opts.abort();
|
77381
|
-
this.finish();
|
77382
77389
|
return;
|
77383
77390
|
}
|
77384
77391
|
const inpCommand = this.modalCommand.querySelector('.inp-command');
|
@@ -77511,7 +77518,7 @@ class Dictation {
|
|
77511
77518
|
ovl.style.display = 'flex';
|
77512
77519
|
this.builder.isInProgress = true;
|
77513
77520
|
}
|
77514
|
-
finish() {
|
77521
|
+
finish(doNotClear) {
|
77515
77522
|
const btnSend = this.modalCommand.querySelector('.cmd-send-command');
|
77516
77523
|
btnSend.innerText = this.util.out('Send');
|
77517
77524
|
const ovl = this.builderStuff.querySelector('.page-command-overlay');
|
@@ -77520,8 +77527,10 @@ class Dictation {
|
|
77520
77527
|
if (this.builder.autoSendCommand) {
|
77521
77528
|
// Clear
|
77522
77529
|
const inpCommand = this.builderStuff.querySelector('.inp-command');
|
77523
|
-
|
77524
|
-
|
77530
|
+
if (doNotClear) ; else {
|
77531
|
+
this.builder.commandText = '';
|
77532
|
+
inpCommand.value = '';
|
77533
|
+
}
|
77525
77534
|
}
|
77526
77535
|
const elmTool = this.builderStuff.querySelector('.is-element-tool');
|
77527
77536
|
elmTool.style.display = '';
|
@@ -78466,7 +78475,9 @@ class ContentBuilder {
|
|
78466
78475
|
enableDragResize: true,
|
78467
78476
|
simpleTextSettings: false,
|
78468
78477
|
enableColumnsPerLine: true,
|
78478
|
+
/* Prompt/Command Stuff */
|
78469
78479
|
isContentBox: false,
|
78480
|
+
sendCommandUrl: 'http://localhost:8081/answer',
|
78470
78481
|
speechRecognitionLang: 'en-US',
|
78471
78482
|
headlineList: ['We create simple and effective designs.', 'Ultimate Experiences With Story, Emotion, And Purpose.', 'Build Anything Beautifully', 'With Less Stuff and More Compassion', 'We\'re [CompanyName]. Full stack development with a spark of creativity.', 'Transforming your digital experience with [CompanyName]. Achieve your online goals with our customized solutions.', 'Revolutionizing web development with [CompanyName]. Unleash your digital potential with our high-performance solutions.', 'Creative and Inspiring'],
|
78472
78483
|
shortCommandList: {
|
@@ -78486,17 +78497,38 @@ class ContentBuilder {
|
|
78486
78497
|
clean: ['clean']
|
78487
78498
|
},
|
78488
78499
|
commandList: {
|
78489
|
-
|
78490
|
-
|
78491
|
-
|
78492
|
-
|
78493
|
-
|
78494
|
-
|
78500
|
+
select: ['select', 'select first'],
|
78501
|
+
select_next: ['select next', 'select after'],
|
78502
|
+
select_previous: ['select previous', 'select before'],
|
78503
|
+
select_last: ['select last'],
|
78504
|
+
select_headline: ['select headline'],
|
78505
|
+
select_paragraph: ['select paragraph'],
|
78506
|
+
select_button: ['select button'],
|
78507
|
+
select_space: ['select space'],
|
78508
|
+
select_image: ['select image'],
|
78509
|
+
change_font: ['change font', 'change typography', 'change style'],
|
78510
|
+
fade_in: ['fade in'],
|
78511
|
+
fade_in_slow: ['fade in slow'],
|
78512
|
+
fade_in_up: ['fade in up'],
|
78513
|
+
fade_in_up_slow: ['fade in up slow'],
|
78514
|
+
slide_up: ['slide up'],
|
78515
|
+
slide_up_slow: ['slide up slow'],
|
78516
|
+
zoom_in: ['zoom in'],
|
78517
|
+
zoom_out: ['zoom out'],
|
78518
|
+
animate_once: ['animate once'],
|
78519
|
+
always_animate: ['always animate'],
|
78520
|
+
remove_animation: ['remove animation', 'clear animation', 'remove fade in', 'clear fade in', 'remove slide up', 'clear slide up', 'remove zoom in', 'clear zoom in', 'remove zoom out', 'clear zoom out'],
|
78521
|
+
add_bg_color: ['add background color'],
|
78522
|
+
add_bg_image: ['add background image', 'add background'],
|
78523
|
+
change_bg_color: ['change background color'],
|
78524
|
+
change_bg_image: ['change background image', 'change background'],
|
78525
|
+
remove_bg_color: ['remove background color', 'clear background color'],
|
78526
|
+
remove_bg: ['remove background', 'remove background image', 'clear background', 'clear background image'],
|
78495
78527
|
increase_content_width: ['increase content width', 'enlarge content width'],
|
78496
78528
|
decrease_content_width: ['decrease content width', 'reduce content width'],
|
78497
78529
|
clear_content_width: ['clear content width', 'remove content width', 'make content full', 'full width content'],
|
78498
|
-
make_content_light: ['make
|
78499
|
-
make_content_dark: ['make
|
78530
|
+
make_content_light: ['make content white', 'make content light', 'make text white', 'make text light', 'change content white', 'change content light', 'change text white', 'change text light', 'change to white content', 'change to light content', 'change to white text', 'change to light text'],
|
78531
|
+
make_content_dark: ['make content black', 'make content dark', 'make text black', 'make text dark', 'change content black', 'change content dark', 'change text black', 'change text dark', 'change to black content', 'change to dark content', 'change to black text', 'change to dark text'],
|
78500
78532
|
make_section_height_10: ['make section height 10'],
|
78501
78533
|
make_section_height_15: ['make section height 15'],
|
78502
78534
|
make_section_height_20: ['make section height 20'],
|
@@ -78512,46 +78544,56 @@ class ContentBuilder {
|
|
78512
78544
|
make_section_height_90: ['make section height 90'],
|
78513
78545
|
make_section_height_100: ['make section height 100'],
|
78514
78546
|
make_section_height_auto: ['make section height auto'],
|
78515
|
-
suggest_headline: ['suggest
|
78516
|
-
|
78517
|
-
|
78518
|
-
|
78519
|
-
|
78520
|
-
|
78521
|
-
|
78522
|
-
|
78523
|
-
|
78524
|
-
|
78525
|
-
|
78526
|
-
|
78527
|
-
|
78528
|
-
|
78547
|
+
suggest_headline: ['suggest headline', 'suggest header', 'suggest title', 'write headline', 'write header', 'write title'],
|
78548
|
+
suggest_tagline: ['suggest tagline', 'write tagline'],
|
78549
|
+
add_headline: ['add headline', 'add header', 'add title'],
|
78550
|
+
add_paragraph: ['add paragraph'],
|
78551
|
+
add_image: ['add image'],
|
78552
|
+
add_youtube: ['add youtube'],
|
78553
|
+
add_video: ['add video'],
|
78554
|
+
remove_video: ['remove video', 'clear video'],
|
78555
|
+
add_bg_video: ['add background video'],
|
78556
|
+
remove_bg_video: ['remove background video', 'clear background video'],
|
78557
|
+
add_slider: ['add slider'],
|
78558
|
+
remove_slider: ['remove slider', 'clear slider'],
|
78559
|
+
add_bg_slider: ['add background slider'],
|
78560
|
+
remove_bg_slider: ['remove background slider', 'clear background slider'],
|
78561
|
+
add_audio: ['add audio', 'add music', 'add mp3'],
|
78562
|
+
add_map: ['add map', 'add google map'],
|
78563
|
+
add_table: ['add table'],
|
78564
|
+
add_social: ['add social'],
|
78565
|
+
add_icon: ['add icon'],
|
78566
|
+
add_button: ['add button'],
|
78567
|
+
add_2buttons: ['add 2 button', 'add 2 buttons'],
|
78568
|
+
add_space: ['add space'],
|
78529
78569
|
position_before: ['above', 'before'],
|
78530
|
-
increase_line_height: ['increase line height', 'increase line spacing', 'increase text spacing', '
|
78531
|
-
increase_default_line_height: ['increase default line height', 'increase default line spacing', 'increase default text spacing', '
|
78532
|
-
decrease_line_height: ['decrease line height', 'decrease line spacing', 'decrease text spacing', '
|
78533
|
-
decrease_default_line_height: ['decrease default line height', 'decrease default line spacing', 'decrease default text spacing', '
|
78534
|
-
increase_font_size: ['increase font', 'increase size', 'increase font size', 'increase
|
78535
|
-
decrease_font_size: ['decrease font', 'decrease size', 'decrease font size', 'decrease
|
78536
|
-
increase_default_font_size: ['increase default font', 'increase default size', 'increase default font size', 'increase
|
78537
|
-
decrease_default_font_size: ['decrease default font', 'decrease default size', 'decrease default font size', 'decrease
|
78538
|
-
clear_font_size: ['clear font size', 'remove font size', 'clear text size', 'remove text size', 'use default font size'
|
78539
|
-
align_left: ['align left', 'align
|
78540
|
-
align_center: ['align center', 'align
|
78541
|
-
align_right: ['align right', 'align
|
78542
|
-
align_full: ['align full', 'align justify', 'justify', 'justify text', 'justify
|
78543
|
-
clear_alignment: ['clear alignment', 'remove alignment', 'clear
|
78544
|
-
make_content_centered: ['make
|
78545
|
-
move_content_left: ['move content left', '
|
78546
|
-
move_content_center: ['move content center', '
|
78547
|
-
move_content_right: ['move content right', '
|
78548
|
-
move_content_top: ['move content top', '
|
78549
|
-
move_content_middle: ['move content middle', '
|
78550
|
-
move_content_bottom: ['move content bottom', '
|
78551
|
-
increase_space: ['more space', 'increase space', '
|
78552
|
-
decrease_space: ['less space', 'decrease space', '
|
78553
|
-
|
78554
|
-
|
78570
|
+
increase_line_height: ['increase line height', 'increase line spacing', 'increase text spacing', 'enlarge line height', 'enlarge line spacing', 'enlarge text spacing', 'bigger line height', 'bigger line spacing', 'bigger text spacing', 'make line height bigger', 'make line spacing bigger', 'make text spacing bigger'],
|
78571
|
+
increase_default_line_height: ['increase default line height', 'increase default line spacing', 'increase default text spacing', 'enlarge default line height', 'enlarge default line spacing', 'enlarge default text spacing', 'bigger default line height', 'bigger default line spacing', 'bigger default text spacing', 'make default line height bigger', 'make default line spacing bigger', 'make default text spacing bigger'],
|
78572
|
+
decrease_line_height: ['decrease line height', 'decrease line spacing', 'decrease text spacing', 'reduce line height', 'reduce line spacing', 'reduce text spacing', 'smaller line height', 'smaller line spacing', 'smaller text spacing', 'make line height smaller', 'make line spacing smaller', 'make text spacing smaller'],
|
78573
|
+
decrease_default_line_height: ['decrease default line height', 'decrease default line spacing', 'decrease default text spacing', 'reduce default line height', 'reduce default line spacing', 'reduce default text spacing', 'smaller default line height', 'smaller default line spacing', 'smaller default text spacing', 'make default line height smaller', 'make default line spacing smaller', 'make default text spacing smaller'],
|
78574
|
+
increase_font_size: ['increase font', 'increase size', 'increase font size', 'increase text', 'increase size', 'increase text size', 'enlarge font', 'enlarge size', 'enlarge font size', 'enlarge text', 'enlarge size', 'enlarge text size', 'text bigger', 'font bigger', 'size bigger'],
|
78575
|
+
decrease_font_size: ['decrease font', 'decrease size', 'decrease font size', 'decrease text', 'decrease size', 'decrease text size', 'reduce font', 'reduce size', 'reduce font size', 'reduce text', 'reduce size', 'reduce text size', 'text smaller', 'font smaller', 'size smaller'],
|
78576
|
+
increase_default_font_size: ['increase default font', 'increase default size', 'increase default font size', 'increase default text', 'increase default size', 'increase default text size', 'enlarge default font', 'enlarge default size', 'enlarge default font size', 'enlarge default text', 'enlarge default text size', 'default text bigger', 'default font bigger', 'default size bigger', 'increase default content', 'increase default content size', 'enlarge default content', 'enlarge default content size'],
|
78577
|
+
decrease_default_font_size: ['decrease default font', 'decrease default size', 'decrease default font size', 'decrease default text', 'decrease default size', 'decrease default text size', 'reduce default font', 'reduce default size', 'reduce default font size', 'reduce default text', 'reduce default text size', 'default text smaller', 'default font smaller', 'default size smaller', 'decrease default content', 'decrease default content size', 'reduce default content', 'reduce default content size'],
|
78578
|
+
clear_font_size: ['clear font size', 'remove font size', 'clear text size', 'remove text size', 'use default font size'],
|
78579
|
+
align_left: ['align left', 'align text left', 'left aligned'],
|
78580
|
+
align_center: ['align center', 'align text center', 'center aligned'],
|
78581
|
+
align_right: ['align right', 'align text right', 'right aligned'],
|
78582
|
+
align_full: ['align full', 'align justify', 'justify', 'justify text', 'justify full'],
|
78583
|
+
clear_alignment: ['clear alignment', 'remove alignment', 'clear text alignment', 'remove text alignment'],
|
78584
|
+
make_content_centered: ['make content center'],
|
78585
|
+
move_content_left: ['move content left', 'place content left'],
|
78586
|
+
move_content_center: ['move content center', 'place content center'],
|
78587
|
+
move_content_right: ['move content right', 'place content right'],
|
78588
|
+
move_content_top: ['move content top', 'place content top'],
|
78589
|
+
move_content_middle: ['move content middle', 'place content middle'],
|
78590
|
+
move_content_bottom: ['move content bottom', 'place content bottom'],
|
78591
|
+
increase_space: ['more space', 'increase space', 'enlarge space'],
|
78592
|
+
decrease_space: ['less space', 'decrease space', 'reduce space'],
|
78593
|
+
move_up: ['move up'],
|
78594
|
+
move_down: ['move down'],
|
78595
|
+
move_row_up: ['move row up'],
|
78596
|
+
move_row_down: ['move row down'],
|
78555
78597
|
duplicate_row: ['duplicate row', 'copy row'],
|
78556
78598
|
remove_row: ['remove row', 'delete row'],
|
78557
78599
|
move_col_left: ['move left', 'move column left'],
|
@@ -78559,7 +78601,15 @@ class ContentBuilder {
|
|
78559
78601
|
duplicate_col: ['duplicate column', 'copy column'],
|
78560
78602
|
remove_col: ['remove column', 'delete column'],
|
78561
78603
|
move_column_up: ['move column up'],
|
78562
|
-
move_column_down: ['move column down']
|
78604
|
+
move_column_down: ['move column down'],
|
78605
|
+
move_section_up: ['move section up'],
|
78606
|
+
move_section_down: ['move section down'],
|
78607
|
+
move_section_top: ['move section top'],
|
78608
|
+
move_section_bottom: ['move section bottom'],
|
78609
|
+
duplicate_section: ['duplicate section', 'copy section'],
|
78610
|
+
remove_section: ['remove section', 'delete section'],
|
78611
|
+
remove_content: ['remove content', 'remove all text', 'remove all content', 'delete content', 'delete all text', 'delete all content', 'clear content', 'clear all text', 'clear all content'],
|
78612
|
+
add_content: ['add content', 'add text']
|
78563
78613
|
}
|
78564
78614
|
};
|
78565
78615
|
|