@wizishop/wizi-block 3.3.54 → 3.3.55-beta
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/assets/i18n/fr.json +1 -1
- package/assets/images/icons/Icon_AvisClient.svg +27 -48
- package/assets/images/icons/Icon_Citation.svg +9 -34
- package/assets/images/icons/Icon_Diaporama.svg +63 -33
- package/assets/images/icons/Icon_Faq.svg +20 -1
- package/assets/images/icons/Icon_Formulaire.svg +24 -44
- package/assets/images/icons/Icon_Html.svg +16 -37
- package/assets/images/icons/Icon_ImgAvecTexte.svg +36 -67
- package/assets/images/icons/Icon_LancerVideo.svg +23 -30
- package/assets/images/icons/Icon_ListProd.svg +31 -46
- package/assets/images/icons/Icon_Map.svg +67 -38
- package/assets/images/icons/Icon_Newsletter.svg +26 -37
- package/assets/images/icons/Icon_PlusieursImg.svg +44 -150
- package/assets/images/icons/Icon_PlusieursTxt.svg +48 -77
- package/assets/images/icons/Icon_Rassurances.svg +28 -59
- package/assets/images/icons/Icon_ReseauxSociaux.svg +35 -96
- package/assets/images/icons/Icon_Separateur.svg +9 -45
- package/assets/images/icons/Icon_Temoignage.svg +14 -35
- package/assets/images/icons/Icon_Timer.svg +55 -57
- package/assets/images/icons/Icon_TxtDansImage.svg +37 -27
- package/assets/images/icons/Icon_VideoDeFond.svg +14 -50
- package/assets/images/icons/Icon_ZoomProd.svg +32 -41
- package/bundles/wizishop-wizi-block.umd.js +86 -41
- package/bundles/wizishop-wizi-block.umd.js.map +1 -1
- package/bundles/wizishop-wizi-block.umd.min.js +1 -1
- package/bundles/wizishop-wizi-block.umd.min.js.map +1 -1
- package/esm2015/lib/components/blocks/blocks.component.js +10 -3
- package/esm2015/lib/components/configs/configs.component.js +16 -2
- package/esm2015/lib/dtos/forms/forms.dto.js +6 -3
- package/esm2015/lib/services/blocks/images/images-banner.service.js +2 -2
- package/esm2015/lib/services/blocks/images/images-simple.service.js +2 -2
- package/esm2015/lib/services/blocks/launch-videos/launch-videos-button.service.js +2 -2
- package/esm2015/lib/services/blocks/launch-videos/launch-videos-buttontxt.service.js +2 -2
- package/esm2015/lib/services/blocks/sliders/sliders-double-imageright.service.js +2 -2
- package/esm2015/lib/services/blocks/sliders/sliders-fullpage.service.js +2 -2
- package/esm2015/lib/services/blocks/sliders/sliders-imageright.service.js +2 -2
- package/esm2015/lib/services/blocks/sliders/sliders-with-banner.service.js +2 -2
- package/esm2015/lib/services/blocks/text-backgrounds/text-backgrounds-simple.service.js +2 -2
- package/esm2015/lib/services/blocks/text-backgrounds/text-backgrounds-with-banner.service.js +2 -2
- package/esm2015/lib/services/blocks/text-backgrounds/text-backgrounds-with-txt.service.js +2 -2
- package/esm2015/lib/services/blocks/videos/videos-simple.service.js +5 -5
- package/esm2015/lib/services/blocks/videos/videos-txt-content.service.js +5 -5
- package/esm2015/lib/services/blocks/videos/videos-txt-left.service.js +5 -5
- package/esm2015/lib/services/blocks/videos/videos-txt.service.js +5 -5
- package/esm2015/lib/shared/components/structure-config/structure-config.component.js +8 -4
- package/esm2015/lib/shared/components/structure-tools/structure-tools.component.js +14 -4
- package/esm2015/lib/structures/images/double/images-double.component.js +2 -2
- package/esm2015/lib/structures/images/four-images-title/four-images-title.component.js +2 -2
- package/esm2015/lib/structures/images/two-images-title-text/two-images-title-text.component.js +2 -2
- package/esm2015/lib/structures/text-backgrounds/link/text-backgrounds-link.component.js +2 -2
- package/esm2015/lib/wizi-block.component.js +6 -2
- package/fesm2015/wizishop-wizi-block.js +84 -42
- package/fesm2015/wizishop-wizi-block.js.map +1 -1
- package/lib/components/blocks/blocks.component.d.ts +4 -0
- package/lib/components/configs/configs.component.d.ts +1 -0
- package/lib/dtos/forms/forms.dto.d.ts +3 -1
- package/lib/shared/components/structure-config/structure-config.component.d.ts +2 -0
- package/lib/shared/components/structure-tools/structure-tools.component.d.ts +4 -1
- package/lib/wizi-block.component.d.ts +1 -0
- package/package.json +1 -1
- package/wizi-block.scss +5302 -5043
- package/wizishop-wizi-block.metadata.json +1 -1
|
@@ -683,12 +683,15 @@
|
|
|
683
683
|
var FORM_NAME_ROWS = 'rows';
|
|
684
684
|
var FORM_NAME_COLUMNS = 'columns';
|
|
685
685
|
var FormsContentDto = /** @class */ (function () {
|
|
686
|
-
function FormsContentDto(id, label, type, value, placeholder, help, step, stepKey, state, iconHelp) {
|
|
686
|
+
function FormsContentDto(id, label, type, value, placeholder, help, step, stepKey, state, iconHelp, labelEnable, reverseShow) {
|
|
687
687
|
if (help === void 0) { help = ''; }
|
|
688
688
|
if (step === void 0) { step = []; }
|
|
689
689
|
if (stepKey === void 0) { stepKey = []; }
|
|
690
690
|
if (state === void 0) { state = []; }
|
|
691
691
|
if (iconHelp === void 0) { iconHelp = false; }
|
|
692
|
+
if (labelEnable === void 0) { labelEnable = ''; }
|
|
693
|
+
if (reverseShow === void 0) { reverseShow = false; }
|
|
694
|
+
this.reverseShow = false;
|
|
692
695
|
this.id = id;
|
|
693
696
|
this.label = label;
|
|
694
697
|
this.type = type;
|
|
@@ -699,6 +702,8 @@
|
|
|
699
702
|
this.stepKey = stepKey;
|
|
700
703
|
this.state = state;
|
|
701
704
|
this.iconHelp = iconHelp;
|
|
705
|
+
this.labelEnable = labelEnable;
|
|
706
|
+
this.reverseShow = reverseShow;
|
|
702
707
|
}
|
|
703
708
|
return FormsContentDto;
|
|
704
709
|
}());
|
|
@@ -710,7 +715,7 @@
|
|
|
710
715
|
this.block = block;
|
|
711
716
|
translateBlockService.translateProperties(this.block);
|
|
712
717
|
if (hasMargin) {
|
|
713
|
-
this.forms.push(new FormsContentDto(FORM_NAME_HIDE_BLOCK, 'wb.forms.FormsContentDto.
|
|
718
|
+
this.forms.push(new FormsContentDto(FORM_NAME_HIDE_BLOCK, 'wb.forms.FormsContentDto.16', FORM_TYPE_CHECKBOX, block[FORM_NAME_HIDE_BLOCK], '', '', [], [], [false, true], false, 'wb.forms.FormsContentDto.15'));
|
|
714
719
|
}
|
|
715
720
|
this.forms.push(new FormsContentDto(FORM_NAME_MARGIN_TOP, 'wb.forms.FormsContentDto.13', FORM_TYPE_TAG, block[FORM_NAME_MARGIN_TOP], '#122231', '', [
|
|
716
721
|
'wb.blocks.FormContentDto.101',
|
|
@@ -798,7 +803,7 @@
|
|
|
798
803
|
var sliderFullPageFormDto = new FormsDto(content);
|
|
799
804
|
var timeSliderFullPageContentDto = new FormsContentDto(FORM_NAME_TIME, 'wb.blocks.FormContentDto.60', FORM_TYPE_TEXT, content[FORM_NAME_TIME], '100ms', '');
|
|
800
805
|
sliderFullPageFormDto.forms.push(timeSliderFullPageContentDto);
|
|
801
|
-
var dotsSliderFullPageContentDto = new FormsContentDto(FORM_NAME_DOTS, 'wb.
|
|
806
|
+
var dotsSliderFullPageContentDto = new FormsContentDto(FORM_NAME_DOTS, 'wb.forms.FormsContentDto.25', FORM_TYPE_CHECKBOX, content[FORM_NAME_DOTS], '', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.26');
|
|
802
807
|
sliderFullPageFormDto.forms.push(dotsSliderFullPageContentDto);
|
|
803
808
|
var maskSliderFullPageContentDto = new FormsContentDto(FORM_NAME_IMG_MASK, 'wb.blocks.FormContentDto.14', FORM_TYPE_TAG, content[FORM_NAME_IMG_MASK], 'wb.blocks.FormContentDto.15', '', ['wb.blocks.FormContentDto.94', 'wb.blocks.FormContentDto.95', 'wb.blocks.FormContentDto.96'], ['small', 'medium', 'large']);
|
|
804
809
|
sliderFullPageFormDto.forms.push(maskSliderFullPageContentDto);
|
|
@@ -919,7 +924,7 @@
|
|
|
919
924
|
var slidersImagerightFormDto = new FormsDto(content);
|
|
920
925
|
var timeSliderFullPageContentDto = new FormsContentDto(FORM_NAME_TIME, 'wb.blocks.FormContentDto.60', FORM_TYPE_TEXT, content[FORM_NAME_TIME], '100ms', '');
|
|
921
926
|
slidersImagerightFormDto.forms.push(timeSliderFullPageContentDto);
|
|
922
|
-
var dotsSliderFullPageContentDto = new FormsContentDto(FORM_NAME_DOTS, 'wb.
|
|
927
|
+
var dotsSliderFullPageContentDto = new FormsContentDto(FORM_NAME_DOTS, 'wb.forms.FormsContentDto.25', FORM_TYPE_CHECKBOX, content[FORM_NAME_DOTS], '', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.26');
|
|
923
928
|
slidersImagerightFormDto.forms.push(dotsSliderFullPageContentDto);
|
|
924
929
|
var maskSliderFullPageContentDto = new FormsContentDto(FORM_NAME_IMG_MASK, 'wb.blocks.FormContentDto.14', FORM_TYPE_TAG, content[FORM_NAME_IMG_MASK], 'wb.blocks.FormContentDto.15', '', ['wb.blocks.FormContentDto.94', 'wb.blocks.FormContentDto.95', 'wb.blocks.FormContentDto.96'], ['small', 'medium', 'large']);
|
|
925
930
|
slidersImagerightFormDto.forms.push(maskSliderFullPageContentDto);
|
|
@@ -979,7 +984,7 @@
|
|
|
979
984
|
var slidersDoubleImagerightDto = new FormsDto(content);
|
|
980
985
|
var timeSliderFullPageContentDto = new FormsContentDto(FORM_NAME_TIME, 'wb.blocks.FormContentDto.60', FORM_TYPE_TEXT, content[FORM_NAME_TIME], '100ms', '');
|
|
981
986
|
slidersDoubleImagerightDto.forms.push(timeSliderFullPageContentDto);
|
|
982
|
-
var dotsSliderFullPageContentDto = new FormsContentDto(FORM_NAME_DOTS, 'wb.
|
|
987
|
+
var dotsSliderFullPageContentDto = new FormsContentDto(FORM_NAME_DOTS, 'wb.forms.FormsContentDto.25', FORM_TYPE_CHECKBOX, content[FORM_NAME_DOTS], '', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.26');
|
|
983
988
|
slidersDoubleImagerightDto.forms.push(dotsSliderFullPageContentDto);
|
|
984
989
|
var maskSliderFullPageContentDto = new FormsContentDto(FORM_NAME_IMG_MASK, 'wb.blocks.FormContentDto.14', FORM_TYPE_TAG, content[FORM_NAME_IMG_MASK], 'wb.blocks.FormContentDto.15', '', ['wb.blocks.FormContentDto.94', 'wb.blocks.FormContentDto.95', 'wb.blocks.FormContentDto.96'], ['small', 'medium', 'large']);
|
|
985
990
|
slidersDoubleImagerightDto.forms.push(maskSliderFullPageContentDto);
|
|
@@ -3913,7 +3918,7 @@
|
|
|
3913
3918
|
'wb.blocks.FormContentDto.117',
|
|
3914
3919
|
], ['0', '0.25', '0.5', '1']);
|
|
3915
3920
|
imgSimpleFormDto.forms.push(parallaxSpeedImgSimpleContentDto);
|
|
3916
|
-
var parallaxInvertedImgSimpleContentDto = new FormsContentDto(FORM_NAME_PARALLAX_INVERTED, 'wb.
|
|
3921
|
+
var parallaxInvertedImgSimpleContentDto = new FormsContentDto(FORM_NAME_PARALLAX_INVERTED, 'wb.forms.FormsContentDto.27', FORM_TYPE_CHECKBOX, content[FORM_NAME_PARALLAX_INVERTED], '', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.28');
|
|
3917
3922
|
imgSimpleFormDto.forms.push(parallaxInvertedImgSimpleContentDto);
|
|
3918
3923
|
return imgSimpleFormDto;
|
|
3919
3924
|
};
|
|
@@ -5074,7 +5079,7 @@
|
|
|
5074
5079
|
'wb.blocks.FormContentDto.117',
|
|
5075
5080
|
], ['0', '0.25', '0.5', '1']);
|
|
5076
5081
|
TextBackgroundsSimpleFormDto.forms.push(parallaxSpeedImgSimpleContentDto);
|
|
5077
|
-
var parallaxInvertedImgSimpleContentDto = new FormsContentDto(FORM_NAME_PARALLAX_INVERTED, 'wb.
|
|
5082
|
+
var parallaxInvertedImgSimpleContentDto = new FormsContentDto(FORM_NAME_PARALLAX_INVERTED, 'wb.forms.FormsContentDto.27', FORM_TYPE_CHECKBOX, content[FORM_NAME_PARALLAX_INVERTED], '', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.28');
|
|
5078
5083
|
TextBackgroundsSimpleFormDto.forms.push(parallaxInvertedImgSimpleContentDto);
|
|
5079
5084
|
return TextBackgroundsSimpleFormDto;
|
|
5080
5085
|
};
|
|
@@ -5158,7 +5163,7 @@
|
|
|
5158
5163
|
'wb.blocks.FormContentDto.117',
|
|
5159
5164
|
], ['0', '0.25', '0.5', '1']);
|
|
5160
5165
|
formsDto.forms.push(parallaxSpeedImgSimpleContentDto);
|
|
5161
|
-
var parallaxInvertedImgSimpleContentDto = new FormsContentDto(FORM_NAME_PARALLAX_INVERTED, 'wb.
|
|
5166
|
+
var parallaxInvertedImgSimpleContentDto = new FormsContentDto(FORM_NAME_PARALLAX_INVERTED, 'wb.forms.FormsContentDto.27', FORM_TYPE_CHECKBOX, content[FORM_NAME_PARALLAX_INVERTED], '', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.28');
|
|
5162
5167
|
formsDto.forms.push(parallaxInvertedImgSimpleContentDto);
|
|
5163
5168
|
return formsDto;
|
|
5164
5169
|
};
|
|
@@ -5242,7 +5247,7 @@
|
|
|
5242
5247
|
'wb.blocks.FormContentDto.117',
|
|
5243
5248
|
], ['0', '0.25', '0.5', '1']);
|
|
5244
5249
|
formsDto.forms.push(parallaxSpeedImgSimpleContentDto);
|
|
5245
|
-
var parallaxInvertedImgSimpleContentDto = new FormsContentDto(FORM_NAME_PARALLAX_INVERTED, 'wb.
|
|
5250
|
+
var parallaxInvertedImgSimpleContentDto = new FormsContentDto(FORM_NAME_PARALLAX_INVERTED, 'wb.forms.FormsContentDto.27', FORM_TYPE_CHECKBOX, content[FORM_NAME_PARALLAX_INVERTED], '', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.28');
|
|
5246
5251
|
formsDto.forms.push(parallaxInvertedImgSimpleContentDto);
|
|
5247
5252
|
var colorContentDto = new FormsContentDto(FORM_NAME_COLOR, 'wb.blocks.FormContentDto.112', FORM_TYPE_COLOR, content[FORM_NAME_COLOR], '#122231', '');
|
|
5248
5253
|
formsDto.forms.push(colorContentDto);
|
|
@@ -5327,7 +5332,7 @@
|
|
|
5327
5332
|
var launchVideosFormDto = new FormsDto(content);
|
|
5328
5333
|
var linkLaunchVideosContentDto = new FormsContentDto(FORM_NAME_LINK, 'wb.blocks.FormContentDto.18', FORM_TYPE_TEXT, content[FORM_NAME_LINK], '', '');
|
|
5329
5334
|
launchVideosFormDto.forms.push(linkLaunchVideosContentDto);
|
|
5330
|
-
var muteLaunchVideosContentDto = new FormsContentDto(FORM_NAME_MUTE, 'wb.
|
|
5335
|
+
var muteLaunchVideosContentDto = new FormsContentDto(FORM_NAME_MUTE, 'wb.forms.FormsContentDto.21', FORM_TYPE_CHECKBOX, content[FORM_NAME_MUTE], '', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.22');
|
|
5331
5336
|
launchVideosFormDto.forms.push(muteLaunchVideosContentDto);
|
|
5332
5337
|
var colorLaunchVideosContentDto = new FormsContentDto(FORM_NAME_COLOR, 'wb.blocks.FormContentDto.20', FORM_TYPE_COLOR, content[FORM_NAME_COLOR], '#ffffff', '');
|
|
5333
5338
|
launchVideosFormDto.forms.push(colorLaunchVideosContentDto);
|
|
@@ -5391,7 +5396,7 @@
|
|
|
5391
5396
|
var launchVideosFormDto = new FormsDto(content);
|
|
5392
5397
|
var linkLaunchVideosContentDto = new FormsContentDto(FORM_NAME_LINK, 'wb.blocks.FormContentDto.18', FORM_TYPE_TEXT, content[FORM_NAME_LINK], '', '');
|
|
5393
5398
|
launchVideosFormDto.forms.push(linkLaunchVideosContentDto);
|
|
5394
|
-
var muteLaunchVideosContentDto = new FormsContentDto(FORM_NAME_MUTE, 'wb.
|
|
5399
|
+
var muteLaunchVideosContentDto = new FormsContentDto(FORM_NAME_MUTE, 'wb.forms.FormsContentDto.21', FORM_TYPE_CHECKBOX, content[FORM_NAME_MUTE], '', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.22');
|
|
5395
5400
|
launchVideosFormDto.forms.push(muteLaunchVideosContentDto);
|
|
5396
5401
|
var colorLaunchVideosContentDto = new FormsContentDto(FORM_NAME_COLOR, 'wb.blocks.FormContentDto.21', FORM_TYPE_COLOR, content[FORM_NAME_COLOR], '#ffffff', '');
|
|
5397
5402
|
launchVideosFormDto.forms.push(colorLaunchVideosContentDto);
|
|
@@ -5442,13 +5447,13 @@
|
|
|
5442
5447
|
var videosFormDto = new FormsDto(content);
|
|
5443
5448
|
var linkVideosContentDto = new FormsContentDto(FORM_NAME_LINK, 'wb.blocks.FormContentDto.18', FORM_TYPE_TEXT, content[FORM_NAME_LINK], '', '');
|
|
5444
5449
|
videosFormDto.forms.push(linkVideosContentDto);
|
|
5445
|
-
var controlVideosContentDto = new FormsContentDto(FORM_NAME_CONTROL, 'wb.
|
|
5450
|
+
var controlVideosContentDto = new FormsContentDto(FORM_NAME_CONTROL, 'wb.forms.FormsContentDto.17', FORM_TYPE_CHECKBOX, content[FORM_NAME_CONTROL], '100ms', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.18');
|
|
5446
5451
|
videosFormDto.forms.push(controlVideosContentDto);
|
|
5447
|
-
var autoplayVideosContentDto = new FormsContentDto(FORM_NAME_AUTOPLAY, 'wb.
|
|
5452
|
+
var autoplayVideosContentDto = new FormsContentDto(FORM_NAME_AUTOPLAY, 'wb.forms.FormsContentDto.19', FORM_TYPE_CHECKBOX, content[FORM_NAME_AUTOPLAY], '', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.20');
|
|
5448
5453
|
videosFormDto.forms.push(autoplayVideosContentDto);
|
|
5449
|
-
var muteVideosContentDto = new FormsContentDto(FORM_NAME_MUTE, 'wb.
|
|
5454
|
+
var muteVideosContentDto = new FormsContentDto(FORM_NAME_MUTE, 'wb.forms.FormsContentDto.21', FORM_TYPE_CHECKBOX, content[FORM_NAME_MUTE], '', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.22');
|
|
5450
5455
|
videosFormDto.forms.push(muteVideosContentDto);
|
|
5451
|
-
var loopVideosContentDto = new FormsContentDto(FORM_NAME_LOOP, 'wb.
|
|
5456
|
+
var loopVideosContentDto = new FormsContentDto(FORM_NAME_LOOP, 'wb.forms.FormsContentDto.23', FORM_TYPE_CHECKBOX, content[FORM_NAME_LOOP], '', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.24');
|
|
5452
5457
|
videosFormDto.forms.push(loopVideosContentDto);
|
|
5453
5458
|
return videosFormDto;
|
|
5454
5459
|
};
|
|
@@ -5507,13 +5512,13 @@
|
|
|
5507
5512
|
var videosFormDto = new FormsDto(content);
|
|
5508
5513
|
var linkVideosContentDto = new FormsContentDto(FORM_NAME_LINK, 'wb.blocks.FormContentDto.18', FORM_TYPE_TEXT, content[FORM_NAME_LINK], '', '');
|
|
5509
5514
|
videosFormDto.forms.push(linkVideosContentDto);
|
|
5510
|
-
var controlVideosContentDto = new FormsContentDto(FORM_NAME_CONTROL, 'wb.
|
|
5515
|
+
var controlVideosContentDto = new FormsContentDto(FORM_NAME_CONTROL, 'wb.forms.FormsContentDto.17', FORM_TYPE_CHECKBOX, content[FORM_NAME_CONTROL], '100ms', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.18');
|
|
5511
5516
|
videosFormDto.forms.push(controlVideosContentDto);
|
|
5512
|
-
var autoplayVideosContentDto = new FormsContentDto(FORM_NAME_AUTOPLAY, 'wb.
|
|
5517
|
+
var autoplayVideosContentDto = new FormsContentDto(FORM_NAME_AUTOPLAY, 'wb.forms.FormsContentDto.19', FORM_TYPE_CHECKBOX, content[FORM_NAME_AUTOPLAY], '', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.20');
|
|
5513
5518
|
videosFormDto.forms.push(autoplayVideosContentDto);
|
|
5514
|
-
var muteVideosContentDto = new FormsContentDto(FORM_NAME_MUTE, 'wb.
|
|
5519
|
+
var muteVideosContentDto = new FormsContentDto(FORM_NAME_MUTE, 'wb.forms.FormsContentDto.21', FORM_TYPE_CHECKBOX, content[FORM_NAME_MUTE], '', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.22');
|
|
5515
5520
|
videosFormDto.forms.push(muteVideosContentDto);
|
|
5516
|
-
var loopVideosContentDto = new FormsContentDto(FORM_NAME_LOOP, 'wb.
|
|
5521
|
+
var loopVideosContentDto = new FormsContentDto(FORM_NAME_LOOP, 'wb.forms.FormsContentDto.23', FORM_TYPE_CHECKBOX, content[FORM_NAME_LOOP], '', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.24');
|
|
5517
5522
|
videosFormDto.forms.push(loopVideosContentDto);
|
|
5518
5523
|
return videosFormDto;
|
|
5519
5524
|
};
|
|
@@ -5572,13 +5577,13 @@
|
|
|
5572
5577
|
var videosFormDto = new FormsDto(content);
|
|
5573
5578
|
var linkVideosContentDto = new FormsContentDto(FORM_NAME_LINK, 'wb.blocks.FormContentDto.18', FORM_TYPE_TEXT, content[FORM_NAME_LINK], '', '');
|
|
5574
5579
|
videosFormDto.forms.push(linkVideosContentDto);
|
|
5575
|
-
var controlVideosContentDto = new FormsContentDto(FORM_NAME_CONTROL, 'wb.
|
|
5580
|
+
var controlVideosContentDto = new FormsContentDto(FORM_NAME_CONTROL, 'wb.forms.FormsContentDto.17', FORM_TYPE_CHECKBOX, content[FORM_NAME_CONTROL], '100ms', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.18');
|
|
5576
5581
|
videosFormDto.forms.push(controlVideosContentDto);
|
|
5577
|
-
var autoplayVideosContentDto = new FormsContentDto(FORM_NAME_AUTOPLAY, 'wb.
|
|
5582
|
+
var autoplayVideosContentDto = new FormsContentDto(FORM_NAME_AUTOPLAY, 'wb.forms.FormsContentDto.19', FORM_TYPE_CHECKBOX, content[FORM_NAME_AUTOPLAY], '', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.20');
|
|
5578
5583
|
videosFormDto.forms.push(autoplayVideosContentDto);
|
|
5579
|
-
var muteVideosContentDto = new FormsContentDto(FORM_NAME_MUTE, 'wb.
|
|
5584
|
+
var muteVideosContentDto = new FormsContentDto(FORM_NAME_MUTE, 'wb.forms.FormsContentDto.21', FORM_TYPE_CHECKBOX, content[FORM_NAME_MUTE], '', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.22');
|
|
5580
5585
|
videosFormDto.forms.push(muteVideosContentDto);
|
|
5581
|
-
var loopVideosContentDto = new FormsContentDto(FORM_NAME_LOOP, 'wb.
|
|
5586
|
+
var loopVideosContentDto = new FormsContentDto(FORM_NAME_LOOP, 'wb.forms.FormsContentDto.23', FORM_TYPE_CHECKBOX, content[FORM_NAME_LOOP], '', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.24');
|
|
5582
5587
|
videosFormDto.forms.push(loopVideosContentDto);
|
|
5583
5588
|
var colorVideosContentDto = new FormsContentDto(FORM_NAME_COLOR, 'wb.blocks.FormContentDto.11', FORM_TYPE_COLOR, content[FORM_NAME_COLOR], '#122231', '');
|
|
5584
5589
|
videosFormDto.forms.push(colorVideosContentDto);
|
|
@@ -5625,13 +5630,13 @@
|
|
|
5625
5630
|
var videosFormDto = new FormsDto(content);
|
|
5626
5631
|
var linkVideosContentDto = new FormsContentDto(FORM_NAME_LINK, 'wb.blocks.FormContentDto.18', FORM_TYPE_TEXT, content[FORM_NAME_LINK], '', '');
|
|
5627
5632
|
videosFormDto.forms.push(linkVideosContentDto);
|
|
5628
|
-
var controlVideosContentDto = new FormsContentDto(FORM_NAME_CONTROL, 'wb.
|
|
5633
|
+
var controlVideosContentDto = new FormsContentDto(FORM_NAME_CONTROL, 'wb.forms.FormsContentDto.17', FORM_TYPE_CHECKBOX, content[FORM_NAME_CONTROL], '100ms', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.18');
|
|
5629
5634
|
videosFormDto.forms.push(controlVideosContentDto);
|
|
5630
|
-
var autoplayVideosContentDto = new FormsContentDto(FORM_NAME_AUTOPLAY, 'wb.
|
|
5635
|
+
var autoplayVideosContentDto = new FormsContentDto(FORM_NAME_AUTOPLAY, 'wb.forms.FormsContentDto.19', FORM_TYPE_CHECKBOX, content[FORM_NAME_AUTOPLAY], '', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.20');
|
|
5631
5636
|
videosFormDto.forms.push(autoplayVideosContentDto);
|
|
5632
|
-
var muteVideosContentDto = new FormsContentDto(FORM_NAME_MUTE, 'wb.
|
|
5637
|
+
var muteVideosContentDto = new FormsContentDto(FORM_NAME_MUTE, 'wb.forms.FormsContentDto.21', FORM_TYPE_CHECKBOX, content[FORM_NAME_MUTE], '', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.22');
|
|
5633
5638
|
videosFormDto.forms.push(muteVideosContentDto);
|
|
5634
|
-
var loopVideosContentDto = new FormsContentDto(FORM_NAME_LOOP, 'wb.
|
|
5639
|
+
var loopVideosContentDto = new FormsContentDto(FORM_NAME_LOOP, 'wb.forms.FormsContentDto.23', FORM_TYPE_CHECKBOX, content[FORM_NAME_LOOP], '', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.24');
|
|
5635
5640
|
videosFormDto.forms.push(loopVideosContentDto);
|
|
5636
5641
|
var colorVideosContentDto = new FormsContentDto(FORM_NAME_COLOR, 'wb.blocks.FormContentDto.11', FORM_TYPE_COLOR, content[FORM_NAME_COLOR], '#122231', '');
|
|
5637
5642
|
videosFormDto.forms.push(colorVideosContentDto);
|
|
@@ -6913,7 +6918,7 @@
|
|
|
6913
6918
|
'wb.blocks.FormContentDto.117',
|
|
6914
6919
|
], ['0', '0.25', '0.5', '1']);
|
|
6915
6920
|
imgBannerFormDto.forms.push(parallaxSpeedImgSimpleContentDto);
|
|
6916
|
-
var parallaxInvertedImgSimpleContentDto = new FormsContentDto(FORM_NAME_PARALLAX_INVERTED, 'wb.
|
|
6921
|
+
var parallaxInvertedImgSimpleContentDto = new FormsContentDto(FORM_NAME_PARALLAX_INVERTED, 'wb.forms.FormsContentDto.27', FORM_TYPE_CHECKBOX, content[FORM_NAME_PARALLAX_INVERTED], '', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.28');
|
|
6917
6922
|
imgBannerFormDto.forms.push(parallaxInvertedImgSimpleContentDto);
|
|
6918
6923
|
return imgBannerFormDto;
|
|
6919
6924
|
};
|
|
@@ -7684,7 +7689,7 @@
|
|
|
7684
7689
|
var sliderWithBannerFormDto = new FormsDto(content);
|
|
7685
7690
|
var timeSliderWithBannerContentDto = new FormsContentDto(FORM_NAME_TIME, 'wb.blocks.FormContentDto.60', FORM_TYPE_TEXT, content[FORM_NAME_TIME], '100ms', '');
|
|
7686
7691
|
sliderWithBannerFormDto.forms.push(timeSliderWithBannerContentDto);
|
|
7687
|
-
var dotsSliderWithBannerContentDto = new FormsContentDto(FORM_NAME_DOTS, 'wb.
|
|
7692
|
+
var dotsSliderWithBannerContentDto = new FormsContentDto(FORM_NAME_DOTS, 'wb.forms.FormsContentDto.25', FORM_TYPE_CHECKBOX, content[FORM_NAME_DOTS], '', '', [], [], [true, false], false, 'wb.forms.FormsContentDto.26');
|
|
7688
7693
|
sliderWithBannerFormDto.forms.push(dotsSliderWithBannerContentDto);
|
|
7689
7694
|
var maskSliderWithBannerContentDto = new FormsContentDto(FORM_NAME_IMG_MASK, 'wb.blocks.FormContentDto.14', FORM_TYPE_TAG, content[FORM_NAME_IMG_MASK], 'wb.blocks.FormContentDto.15', '', ['wb.blocks.FormContentDto.94', 'wb.blocks.FormContentDto.95', 'wb.blocks.FormContentDto.96'], ['small', 'medium', 'large']);
|
|
7690
7695
|
sliderWithBannerFormDto.forms.push(maskSliderWithBannerContentDto);
|
|
@@ -9587,6 +9592,10 @@
|
|
|
9587
9592
|
}
|
|
9588
9593
|
finally { if (e_2) throw e_2.error; }
|
|
9589
9594
|
}
|
|
9595
|
+
_this.hoverChildren = _this.selectedConfig.block.uuid;
|
|
9596
|
+
}
|
|
9597
|
+
else {
|
|
9598
|
+
_this.hoverChildren = false;
|
|
9590
9599
|
}
|
|
9591
9600
|
if (_this.toolHidden) {
|
|
9592
9601
|
_this.setHidden();
|
|
@@ -9752,7 +9761,7 @@
|
|
|
9752
9761
|
WiziBlockComponent.decorators = [
|
|
9753
9762
|
{ type: i0.Component, args: [{
|
|
9754
9763
|
selector: 'wb-wizi-block',
|
|
9755
|
-
template: "<div\n id=\"wb-container\"\n class=\"columns wb-container\"\n *ngIf=\"translation\"\n #container\n (window:resize)=\"onResize($event)\"\n [ngClass]=\"{ 'is-smallscreen': smallScreen }\"\n>\n <div\n cdkDrag\n [cdkDragDisabled]=\"!toolUnpin\"\n class=\"column wb-container__tools\"\n [ngClass]=\"{ 'is-unpinned': toolUnpin && !toolHidden, 'is-smallscreen': smallScreen, 'has-no-tool': toolHidden }\"\n [style.top.px]=\"currentTopTool\"\n >\n <div [ngClass]=\"{ 'is-hidden': !toolHidden }\" (click)=\"setHidden(); $event.stopPropagation()\">\n <div [nwbToolTip]=\"'wb.panel.html.1' | translate\" nwbToolTipPosition=\"right\" class=\"is-tooltip-info\">\n <i class=\"far fa-arrow-alt-circle-right\"></i>\n </div>\n </div>\n <div [ngClass]=\"{ 'is-hidden': toolHidden }\">\n <div class=\"wb-tools\" *ngIf=\"selectedStructure === null\">\n <div class=\"wb-tools__header\">\n <p class=\"wb-tools__header__action\">\n <a\n class=\"button is-rounded is-tooltip-link\"\n [nwbToolTip]=\"toolUnpin ? 'wb.panel.html.2' : ('wb.panel.html.3' | translate)\"\n nwbToolTipPosition=\"bottom\"\n (click)=\"this.setUnpin(); $event.stopPropagation()\"\n ><i class=\"
|
|
9764
|
+
template: "<div\n id=\"wb-container\"\n class=\"columns wb-container\"\n *ngIf=\"translation\"\n #container\n (window:resize)=\"onResize($event)\"\n [ngClass]=\"{ 'is-smallscreen': smallScreen }\"\n>\n <div\n cdkDrag\n [cdkDragDisabled]=\"!toolUnpin\"\n class=\"column wb-container__tools\"\n [ngClass]=\"{ 'is-unpinned': toolUnpin && !toolHidden, 'is-smallscreen': smallScreen, 'has-no-tool': toolHidden }\"\n [style.top.px]=\"currentTopTool\"\n >\n <div [ngClass]=\"{ 'is-hidden': !toolHidden }\" (click)=\"setHidden(); $event.stopPropagation()\">\n <div [nwbToolTip]=\"'wb.panel.html.1' | translate\" nwbToolTipPosition=\"right\" class=\"is-tooltip-info\">\n <i class=\"far fa-arrow-alt-circle-right\"></i>\n </div>\n </div>\n <div [ngClass]=\"{ 'is-hidden': toolHidden }\">\n <div class=\"wb-tools\" *ngIf=\"selectedStructure === null\">\n <div class=\"wb-tools__header\">\n <p class=\"wb-tools__header__action\">\n <a\n class=\"button is-rounded is-tooltip-link\"\n [nwbToolTip]=\"toolUnpin ? 'wb.panel.html.2' : ('wb.panel.html.3' | translate)\"\n nwbToolTipPosition=\"bottom\"\n (click)=\"this.setUnpin(); $event.stopPropagation()\"\n ><i class=\"far\" [ngClass]=\"{ 'fa-unlink': !toolUnpin, 'fa-link': toolUnpin }\"></i\n ></a>\n <a\n class=\"button is-rounded is-tooltip-link\"\n [nwbToolTip]=\"'wb.panel.html.4' | translate\"\n nwbToolTipPosition=\"bottom\"\n (click)=\"setHidden(); $event.stopPropagation()\"\n ><i class=\"far fa-arrow-from-right\"></i\n ></a>\n </p>\n <p class=\"wb-tools__header__list\">{{ translation.list_component | translate }}</p>\n </div>\n <ng-scrollbar [visibility]=\"'hover'\" *ngIf=\"components\" style=\"position: relative; max-height: 85vh\">\n <div class=\"wb-tools__content\">\n <div class=\"columns is-multiline\" [@animateListFromLeft]=\"components.components.length\">\n <div\n class=\"column is-6\"\n *ngFor=\"let component of components.components\"\n (click)=\"selectedStructure = component; selectedConfig = null\"\n >\n <div>\n <img\n [src]=\"'assets/blocks/images/icons/' + component.image\"\n [alt]=\"component.text | translate\"\n *ngIf=\"component.image\"\n />\n <p>{{ component.text | translate }}</p>\n </div>\n </div>\n </div>\n </div>\n </ng-scrollbar>\n </div>\n <div class=\"wb-configuration\" *ngIf=\"selectedStructure !== null\">\n <div class=\"wb-configuration__header\">\n <p class=\"wb-tools__header__action\">\n <a\n class=\"button is-rounded is-tooltip-link\"\n [nwbToolTip]=\"toolUnpin ? 'wb.panel.html.2' : ('wb.panel.html.3' | translate)\"\n nwbToolTipPosition=\"bottom\"\n (click)=\"this.setUnpin(); $event.stopPropagation()\"\n ><i class=\"fal\" [ngClass]=\"{ 'fa-unlink': !toolUnpin, 'fa-link': toolUnpin }\"></i\n ></a>\n <a\n class=\"button is-rounded is-tooltip-link\"\n [nwbToolTip]=\"'wb.panel.html.4' | translate\"\n nwbToolTipPosition=\"bottom\"\n (click)=\"setHidden(); $event.stopPropagation()\"\n ><i class=\"far fa-arrow-from-right\"></i\n ></a>\n </p>\n <p class=\"wb-configuration__header-click wb-tools__header__list\" (click)=\"selectedStructure = null; closeConfig()\">\n <i class=\"far fa-angle-left\"></i> {{ selectedStructure.text | translate }}\n </p>\n </div>\n <div class=\"wb-configuration__subheader\">\n <a (click)=\"closeConfig()\" [ngClass]=\"{ 'is-active': selectedConfig === null }\">{{\n translation.structure | translate\n }}</a>\n <a [ngClass]=\"{ 'is-active': selectedConfig !== null }\" *ngIf=\"selectedConfig !== null\">{{\n translation.config | translate\n }}</a>\n </div>\n <ng-scrollbar [visibility]=\"'hover'\" class=\"ps\" perfectScrollbar style=\"position: relative; max-height: 80vh\">\n <div class=\"wb-configuration__content\">\n <div\n *ngIf=\"selectedConfig === null\"\n class=\"wb-configuration__content_structures\"\n [@animateListFromRight]=\"selectedStructure.contents.length\"\n >\n <div\n cdkDropList\n [cdkDropListDisabled]=\"blocksContents.length === 0\"\n [cdkDropListConnectedTo]=\"['block-content']\"\n *ngFor=\"let selected of selectedStructure.contents\"\n >\n <img [src]=\"selected.image | imgPath\" />\n <p>{{ selected.name | translate }}</p>\n <div\n class=\"wb-configuration__content_structures__dragger\"\n [id]=\"selected.type\"\n cdkDrag\n cdkDragHandle\n [ngClass]=\"{ 'is-draggable': blocksContents.length }\"\n (click)=\"addThis(selected)\"\n >\n <p class=\"wb-configuration__content_structures__preview\" *cdkDragPreview></p>\n <p class=\"wb-configuration__content_structures__placeholder\" *cdkDragPlaceholder><span></span></p>\n </div>\n </div>\n </div>\n <div *ngIf=\"selectedConfig !== null\" class=\"wb-configuration__content_configuration\">\n <wb-configs\n [isFirst]=\"isFirstInLoop\"\n [configs]=\"selectedConfig\"\n (changeConfig)=\"changeConfigWiziblocks($event)\"\n ></wb-configs>\n </div>\n </div>\n </ng-scrollbar>\n </div>\n </div>\n </div>\n <div class=\"column wb-container__content\" [ngClass]=\"{ 'has-no-tool': toolHidden }\">\n <div class=\"wb-content\">\n <div class=\"wb-content__header\">\n <p><i class=\"fas fa-lock\"></i> {{ translation.header | translate }}</p>\n </div>\n <div class=\"wb-content__content\">\n <wb-blocks [dynamicHidden]=\"isHiddenConfig\" [selectedConfig]=\"hoverChildren\" #block [contents]=\"blocksContents\"></wb-blocks>\n </div>\n <div class=\"wb-content__footer\">\n <p><i class=\"fas fa-lock\"></i> {{ translation.footer | translate }}</p>\n </div>\n </div>\n </div>\n</div>\n<hr id=\"wb-footer__block\" />\n",
|
|
9756
9765
|
animations: [animateListFromRight('200ms ease-in-out', '100ms'), animateListFromLeft('100ms ease-in-out')]
|
|
9757
9766
|
},] }
|
|
9758
9767
|
];
|
|
@@ -9821,6 +9830,8 @@
|
|
|
9821
9830
|
this.blockUUID = null;
|
|
9822
9831
|
this.position = TYPE_CONFIG_POSITION_LEFT_TOP;
|
|
9823
9832
|
this.isFullwidth = false;
|
|
9833
|
+
this.small = false;
|
|
9834
|
+
this.extraSmall = false;
|
|
9824
9835
|
this.thisComponentActive = false;
|
|
9825
9836
|
this.hideThis = false;
|
|
9826
9837
|
this.TYPE_CONFIG_POSITION_RIGHT_TOP = TYPE_CONFIG_POSITION_RIGHT_TOP;
|
|
@@ -9867,7 +9878,7 @@
|
|
|
9867
9878
|
StructureConfigComponent.decorators = [
|
|
9868
9879
|
{ type: i0.Component, args: [{
|
|
9869
9880
|
selector: 'wb-structure-config',
|
|
9870
|
-
template: "<div\n [ngClass]=\"{ 'is-active': isActive, 'is-fullwidth': isFullwidth }\"\n [class]=\"'wb-structure-config ' + position\"\n wbAutoHide\n triggerElement=\"wb-structure-config__tools\"\n (clickOutside)=\"disableIfActive()\"\n [forceOn]=\"['wb-structure-config', 'is-active']\"\n>\n <div\n class=\"wb-structure-config__tools is-tooltip-info\"\n [nwbToolTip]=\"'wb.structureconfig.tooltip.1' | translate\"\n [nwbToolTipPosition]=\"\n position === TYPE_CONFIG_POSITION_RIGHT_TOP || position === TYPE_CONFIG_POSITION_RIGHT_BOTTOM ? 'left' : 'right'\n \"\n (click)=\"activeThis()\"\n [ngClass]=\"{\n 'has-other-element-opened': hideThis\n }\"\n >\n <i class=\"
|
|
9881
|
+
template: "<div\n [ngClass]=\"{ 'is-active': isActive, 'is-fullwidth': isFullwidth, small: small, 'extra-small': extraSmall }\"\n [class]=\"'wb-structure-config ' + position\"\n wbAutoHide\n triggerElement=\"wb-structure-config__tools\"\n (clickOutside)=\"disableIfActive()\"\n [forceOn]=\"['wb-structure-config', 'is-active']\"\n>\n <div\n class=\"wb-structure-config__tools is-tooltip-info\"\n [nwbToolTip]=\"'wb.structureconfig.tooltip.1' | translate\"\n [nwbToolTipPosition]=\"\n position === TYPE_CONFIG_POSITION_RIGHT_TOP || position === TYPE_CONFIG_POSITION_RIGHT_BOTTOM ? 'left' : 'right'\n \"\n (click)=\"activeThis()\"\n [ngClass]=\"{\n 'has-other-element-opened': hideThis\n }\"\n >\n <i class=\"fas fa-bars\"></i>\n </div>\n <div class=\"wb-structure-config__content\">\n <div class=\"wb-structure-config__content__tools\" (click)=\"disable()\">\n <div class=\"close\"><i class=\"fas fa-times\"></i></div>\n </div>\n <div>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n"
|
|
9871
9882
|
},] }
|
|
9872
9883
|
];
|
|
9873
9884
|
StructureConfigComponent.ctorParameters = function () { return [
|
|
@@ -9877,7 +9888,9 @@
|
|
|
9877
9888
|
isActive: [{ type: i0.Input }],
|
|
9878
9889
|
blockUUID: [{ type: i0.Input }],
|
|
9879
9890
|
position: [{ type: i0.Input }],
|
|
9880
|
-
isFullwidth: [{ type: i0.Input }]
|
|
9891
|
+
isFullwidth: [{ type: i0.Input }],
|
|
9892
|
+
small: [{ type: i0.Input }],
|
|
9893
|
+
extraSmall: [{ type: i0.Input }]
|
|
9881
9894
|
};
|
|
9882
9895
|
|
|
9883
9896
|
var ExpectedImagesService = /** @class */ (function () {
|
|
@@ -10286,13 +10299,18 @@
|
|
|
10286
10299
|
this.contentService = contentService;
|
|
10287
10300
|
this.configService = configService;
|
|
10288
10301
|
this.dynamicHiddenStructure = false;
|
|
10302
|
+
this.isHover = false;
|
|
10289
10303
|
this.hideConfig = false;
|
|
10290
10304
|
this.blockIsHidden = false;
|
|
10305
|
+
this.configIsActivated = new i0.EventEmitter();
|
|
10291
10306
|
this.contentEventSubscription = null;
|
|
10292
10307
|
}
|
|
10293
10308
|
StructureToolsComponent.prototype.ngOnInit = function () {
|
|
10294
10309
|
var e_1, _a;
|
|
10295
10310
|
var _this = this;
|
|
10311
|
+
console.log('----- IS ALWAYS ------');
|
|
10312
|
+
console.log(this.isAlwaysHover);
|
|
10313
|
+
console.log('----- / IS ALWAYS ------');
|
|
10296
10314
|
this.checkOnContents();
|
|
10297
10315
|
this.contentEventSubscription = this.contentService.contentEvent().subscribe(function () {
|
|
10298
10316
|
_this.checkOnContents();
|
|
@@ -10339,6 +10357,8 @@
|
|
|
10339
10357
|
};
|
|
10340
10358
|
StructureToolsComponent.prototype.configThis = function (e) {
|
|
10341
10359
|
e.preventDefault();
|
|
10360
|
+
this.configIsActivated.emit(true);
|
|
10361
|
+
this.isAlwaysHover = true;
|
|
10342
10362
|
this.configService.config = this.contentService.getContentByUUID(this.uuid);
|
|
10343
10363
|
};
|
|
10344
10364
|
StructureToolsComponent.prototype.removeThis = function ($event) {
|
|
@@ -10371,7 +10391,7 @@
|
|
|
10371
10391
|
StructureToolsComponent.decorators = [
|
|
10372
10392
|
{ type: i0.Component, args: [{
|
|
10373
10393
|
selector: 'wb-structure-tools',
|
|
10374
|
-
template: "<div class=\"wb-structure-tools\" [ngClass]=\"{ hidden: dynamicHiddenStructure }\">\n <div>\n <div class=\"wb-structure-tools__move\" *ngIf=\"currentLength > 1\">\n <div>\n <a\n [nwbToolTip]=\"'wb.shared.components.structureTools.1' | translate\"\n nwbToolTipPosition=\"bottom\"\n class=\"button is-rounded is-tooltip-info\"\n (click)=\"$event.stopPropagation()\"\n ><i class=\"fas fa-
|
|
10394
|
+
template: "<div class=\"wb-structure-tools\" [ngClass]=\"{ hidden: dynamicHiddenStructure, hover: isHover || isAlwaysHover }\">\n <div>\n <div class=\"wb-structure-tools__move\" *ngIf=\"currentLength > 1\">\n <div>\n <a\n [nwbToolTip]=\"'wb.shared.components.structureTools.1' | translate\"\n nwbToolTipPosition=\"bottom\"\n class=\"button is-rounded is-tooltip-info\"\n (click)=\"$event.stopPropagation()\"\n ><i class=\"fas fa-arrows\"></i\n ></a>\n <a\n [nwbToolTip]=\"'wb.shared.components.structureTools.2' | translate\"\n nwbToolTipPosition=\"bottom\"\n class=\"button is-rounded is-tooltip-info\"\n *ngIf=\"currentIndex + 1 !== currentLength\"\n (click)=\"goDown($event)\"\n ><i class=\"fas fa-long-arrow-down\"></i\n ></a>\n <a\n [nwbToolTip]=\"'wb.shared.components.structureTools.3' | translate\"\n nwbToolTipPosition=\"bottom\"\n class=\"button is-rounded is-tooltip-info\"\n *ngIf=\"currentIndex !== 0\"\n (click)=\"goUp($event)\"\n ><i class=\"fas fa-long-arrow-up\"></i\n ></a>\n </div>\n </div>\n <div class=\"wb-structure-tools__edit\">\n <div>\n <i class=\"fas fa-eye-slash\" *ngIf=\"dynamicHiddenStructure\"></i>\n <p>{{ name | translate }}</p>\n <div>\n <a\n href\n class=\"button is-rounded is-tooltip-info\"\n [nwbToolTip]=\"'wb.shared.components.structureTools.4' | translate\"\n nwbToolTipPosition=\"bottom\"\n (click)=\"configThis($event)\"\n *ngIf=\"!hideConfig\"\n ><span></span><i class=\"fas fa-cog\"></i\n ></a>\n <a\n href\n class=\"button is-rounded is-tooltip-link\"\n [nwbToolTip]=\"'wb.shared.components.structureTools.5' | translate\"\n nwbToolTipPosition=\"bottom\"\n (click)=\"duplicateThis($event)\"\n ><span></span><i class=\"fas fa-copy\"></i\n ></a>\n <a\n #deleteButton\n class=\"button is-rounded is-tooltip-danger\"\n [nwbToolTip]=\"'wb.shared.components.structureTools.6' | translate\"\n nwbToolTipPosition=\"bottom\"\n wbHoldable\n (mousedown)=\"deleteButton.hold = true\"\n (mouseup)=\"deleteButton.hold = false\"\n (holdTime)=\"removeThis($event)\"\n [ngClass]=\"{ 'is-on-hold': deleteButton.hold }\"\n ><span></span><i class=\"fas fa-trash\"></i\n ></a>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
10375
10395
|
},] }
|
|
10376
10396
|
];
|
|
10377
10397
|
StructureToolsComponent.ctorParameters = function () { return [
|
|
@@ -10382,7 +10402,10 @@
|
|
|
10382
10402
|
StructureToolsComponent.propDecorators = {
|
|
10383
10403
|
uuid: [{ type: i0.Input }],
|
|
10384
10404
|
dynamicHiddenStructure: [{ type: i0.Input }],
|
|
10385
|
-
|
|
10405
|
+
isHover: [{ type: i0.Input }],
|
|
10406
|
+
isAlwaysHover: [{ type: i0.Input }],
|
|
10407
|
+
deleteButton: [{ type: i0.ViewChild, args: ['deleteButton',] }],
|
|
10408
|
+
configIsActivated: [{ type: i0.Output }]
|
|
10386
10409
|
};
|
|
10387
10410
|
|
|
10388
10411
|
var SafeUrlPipe = /** @class */ (function () {
|
|
@@ -21504,7 +21527,7 @@
|
|
|
21504
21527
|
ImagesDoubleComponent.decorators = [
|
|
21505
21528
|
{ type: i0.Component, args: [{
|
|
21506
21529
|
selector: ImagesDoubleService.selector(),
|
|
21507
|
-
template: "<div class=\"wb-images-double\">\n <div class=\"columns\">\n <div class=\"column\">\n <div\n class=\"wb-images-double__container\"\n [ngClass]=\"{\n 'wb-images-double__container--small': contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-images-double__container--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-images-double__container--large': contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div class=\"wb-images-double__container__images\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT]\">\n <div>\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <div class=\"columns\">\n <div class=\"column\">\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n </div>\n <div class=\"column\">\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </div>\n </div>\n </wb-structure-config>\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE_LEFT, $event)\"\n [style.background-image]=\"\n 'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_IMAGE_URL] + ')'\n \"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_LEFT)\"\n class=\"wb-images-double__container__images__item\"\n [ngClass]=\"{\n 'wb-images-double__container__images__item--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-images-double__container__images__item--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-images-double__container__images__item--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n </div>\n </div>\n <div\n class=\"wb-images-double__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_LEFT)\"\n [ngClass]=\"{\n 'wb-images-double__noimages--small': contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-images-double__noimages--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-images-double__noimages--large': contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n <div class=\"column\">\n <div\n class=\"wb-images-double__container\"\n [ngClass]=\"{\n 'wb-images-double__container--small': contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-images-double__container--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-images-double__container--large': contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div class=\"wb-images-double__container__images\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT]\">\n <div>\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <div class=\"columns\">\n <div class=\"column\">\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n </div>\n <div class=\"column\">\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-checkbox>\n </div>\n </div>\n </wb-structure-config>\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE_RIGHT, $event)\"\n [style.background-image]=\"\n 'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_IMAGE_URL] + ')'\n \"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_RIGHT)\"\n class=\"wb-images-double__container__images__item\"\n [ngClass]=\"{\n 'wb-images-double__container__images__item--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-images-double__container__images__item--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-images-double__container__images__item--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n </div>\n </div>\n <div\n class=\"wb-images-double__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_RIGHT)\"\n [ngClass]=\"{\n 'wb-images-double__noimages--small': contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-images-double__noimages--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-images-double__noimages--large': contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n </div>\n</div>\n"
|
|
21530
|
+
template: "<div class=\"wb-images-double\">\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\"\n [isFullwidth]=\"true\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <div class=\"columns\">\n <div class=\"column\">\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n </div>\n <div class=\"column\">\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </div>\n </div>\n </wb-structure-config>\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_RIGHT_TOP\"\n [isFullwidth]=\"true\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <div class=\"columns\">\n <div class=\"column\">\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n </div>\n <div class=\"column\">\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-checkbox>\n </div>\n </div>\n </wb-structure-config>\n <div class=\"columns\">\n <div class=\"column\">\n <div\n class=\"wb-images-double__container\"\n [ngClass]=\"{\n 'wb-images-double__container--small': contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-images-double__container--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-images-double__container--large': contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div class=\"wb-images-double__container__images\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT]\">\n <div>\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE_LEFT, $event)\"\n [style.background-image]=\"\n 'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_IMAGE_URL] + ')'\n \"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_LEFT)\"\n class=\"wb-images-double__container__images__item\"\n [ngClass]=\"{\n 'wb-images-double__container__images__item--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-images-double__container__images__item--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-images-double__container__images__item--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n </div>\n <div\n class=\"wb-images-double__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_LEFT)\"\n [ngClass]=\"{\n 'wb-images-double__noimages--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-images-double__noimages--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-images-double__noimages--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n </div>\n <div class=\"column\">\n <div\n class=\"wb-images-double__container\"\n [ngClass]=\"{\n 'wb-images-double__container--small': contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-images-double__container--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-images-double__container--large': contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div class=\"wb-images-double__container__images\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT]\">\n <div>\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE_RIGHT, $event)\"\n [style.background-image]=\"\n 'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_IMAGE_URL] + ')'\n \"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_RIGHT)\"\n class=\"wb-images-double__container__images__item\"\n [ngClass]=\"{\n 'wb-images-double__container__images__item--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-images-double__container__images__item--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-images-double__container__images__item--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n </div>\n <div\n class=\"wb-images-double__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_RIGHT)\"\n [ngClass]=\"{\n 'wb-images-double__noimages--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-images-double__noimages--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-images-double__noimages--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
21508
21531
|
},] }
|
|
21509
21532
|
];
|
|
21510
21533
|
ImagesDoubleComponent.ctorParameters = function () { return []; };
|
|
@@ -21803,7 +21826,7 @@
|
|
|
21803
21826
|
FourImagesTitleComponent.decorators = [
|
|
21804
21827
|
{ type: i0.Component, args: [{
|
|
21805
21828
|
selector: FourImagesTitleService.selector(),
|
|
21806
|
-
template: "<div class=\"wb-four-images-title\">\n <div\n class=\"wb-four-images-title__wrapper\"\n [ngClass]=\"{\n 'wb-four-images-title__wrapper--small': contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-four-images-title__wrapper--medium': contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-four-images-title__wrapper--large': contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-four-images-title__wrapper__item\"\n *ngFor=\"let elem of contents[BASE_BLOCK_CONTENT][FORM_NAME_ELEMENTS]; let i = index\"\n >\n <div class=\"wb-four-images-title__wrapper__item__img\">\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\"\n [isFullwidth]=\"true\"\n *ngIf=\"elem[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]?.length > 0\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"elem[FORM_NAME_IMAGE][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"elem[FORM_NAME_IMAGE][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"elem[FORM_NAME_IMAGE][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </wb-structure-config>\n <div\n class=\"wb-four-images-title__wrapper__item__img__empty\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"elem[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]?.length <= 0\"\n (click)=\"getMediaFor(i)\"\n [ngClass]=\"{\n 'wb-four-images-title__wrapper__item__img__empty--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-four-images-title__wrapper__item__img__empty--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-four-images-title__wrapper__item__img__empty--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <p>\n <i class=\"fal fa-image\"></i> <span>{{ 'wb.structures.template.8' | translate }}</span>\n </p>\n </div>\n\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"elem[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]\"\n [style.background-image]=\"'url(' + elem[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"elem[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]?.length > 0\"\n (click)=\"getMediaFor(i)\"\n class=\"wb-four-images-title__wrapper__item__img__picture\"\n [ngClass]=\"{\n 'wb-four-images-title__wrapper__item__img__picture--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-four-images-title__wrapper__item__img__picture--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-four-images-title__wrapper__item__img__picture--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n <div class=\"wb-four-images-title__wrapper__item__title\">\n <wb-quill [(content)]=\"elem[FORM_NAME_TITLE]\" (contentChange)=\"persist()\"></wb-quill>\n </div>\n </div>\n </div>\n</div>\n"
|
|
21829
|
+
template: "<div class=\"wb-four-images-title\">\n <div\n class=\"wb-four-images-title__wrapper\"\n [ngClass]=\"{\n 'wb-four-images-title__wrapper--small': contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-four-images-title__wrapper--medium': contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-four-images-title__wrapper--large': contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-four-images-title__wrapper__item\"\n *ngFor=\"let elem of contents[BASE_BLOCK_CONTENT][FORM_NAME_ELEMENTS]; let i = index\"\n >\n <div class=\"wb-four-images-title__wrapper__item__img\">\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\"\n [isFullwidth]=\"true\"\n [extraSmall]=\"true\"\n *ngIf=\"elem[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]?.length > 0\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"elem[FORM_NAME_IMAGE][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"elem[FORM_NAME_IMAGE][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"elem[FORM_NAME_IMAGE][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </wb-structure-config>\n <div\n class=\"wb-four-images-title__wrapper__item__img__empty\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"elem[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]?.length <= 0\"\n (click)=\"getMediaFor(i)\"\n [ngClass]=\"{\n 'wb-four-images-title__wrapper__item__img__empty--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-four-images-title__wrapper__item__img__empty--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-four-images-title__wrapper__item__img__empty--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <p>\n <i class=\"fal fa-image\"></i> <span>{{ 'wb.structures.template.8' | translate }}</span>\n </p>\n </div>\n\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"elem[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]\"\n [style.background-image]=\"'url(' + elem[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"elem[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]?.length > 0\"\n (click)=\"getMediaFor(i)\"\n class=\"wb-four-images-title__wrapper__item__img__picture\"\n [ngClass]=\"{\n 'wb-four-images-title__wrapper__item__img__picture--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-four-images-title__wrapper__item__img__picture--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-four-images-title__wrapper__item__img__picture--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n <div class=\"wb-four-images-title__wrapper__item__title\">\n <wb-quill [(content)]=\"elem[FORM_NAME_TITLE]\" (contentChange)=\"persist()\"></wb-quill>\n </div>\n </div>\n </div>\n</div>\n"
|
|
21807
21830
|
},] }
|
|
21808
21831
|
];
|
|
21809
21832
|
FourImagesTitleComponent.ctorParameters = function () { return [
|
|
@@ -21853,7 +21876,7 @@
|
|
|
21853
21876
|
TwoImagesTitleTextComponent.decorators = [
|
|
21854
21877
|
{ type: i0.Component, args: [{
|
|
21855
21878
|
selector: TwoImagesTitleTextService.selector(),
|
|
21856
|
-
template: "<div class=\"wb-two-images-title-text\">\n <div class=\"wb-two-images-title-text__title\">\n <wb-quill [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE]\" (contentChange)=\"persist()\"></wb-quill>\n </div>\n <div\n class=\"wb-two-images-title-text__wrapper\"\n [ngClass]=\"{\n 'wb-images-simple__container--small': contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-images-simple__container--medium': contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-images-simple__container--large': contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div class=\"wb-two-images-title-text__wrapper__item\">\n <div\n class=\"wb-two-images-title-text__wrapper__item__img\"\n [ngClass]=\"{\n 'wb-two-images-title-text__wrapper__item__img--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-two-images-title-text__wrapper__item__img--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-two-images-title-text__wrapper__item__img--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\"\n [isFullwidth]=\"true\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_IMAGE_URL]?.length > 0\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </wb-structure-config>\n <div\n class=\"wb-two-images-title-text__wrapper__item__img__empty\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_IMAGE_URL]?.length <= 0\"\n (click)=\"getMediaFor('0')\"\n [ngClass]=\"{\n 'wb-two-images-title-text__wrapper__item__img__empty--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-two-images-title-text__wrapper__item__img__empty--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-two-images-title-text__wrapper__item__img__empty--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <p>\n <i class=\"fal fa-image\"></i> <span>{{ 'wb.structures.template.8' | translate }}</span>\n </p>\n </div>\n\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_IMAGE_URL]\"\n [style.background-image]=\"'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_IMAGE_URL]?.length > 0\"\n (click)=\"getMediaFor('0')\"\n class=\"wb-two-images-title-text__wrapper__item__img__picture\"\n [ngClass]=\"{\n 'wb-two-images-title-text__wrapper__item__img__picture--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-two-images-title-text__wrapper__item__img__picture--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-two-images-title-text__wrapper__item__img__picture--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n <div class=\"wb-two-images-title-text__wrapper__item__title\">\n <wb-quill [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE_LEFT]\" (contentChange)=\"persist()\"></wb-quill>\n </div>\n <div\n class=\"wb-two-images-title-text__wrapper__item__text\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_URL].length <= 0\"\n >\n <div class=\"wb-two-images-title-text__wrapper__item__text\">\n <wb-quill [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_LEFT]\" (contentChange)=\"persist()\"></wb-quill>\n </div>\n </div>\n <a\n class=\"wb-two-images-title-text__wrapper__item__text\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_URL].length > 0\"\n >\n <wb-quill [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_LEFT]\" (contentChange)=\"persist()\"></wb-quill>\n <i [style]=\"'color: ' + contents[BASE_BLOCK_CONTENT][FORM_NAME_ICON_COLOR]\" class=\"far fa-arrow-right\"></i>\n </a>\n </div>\n <div class=\"wb-two-images-title-text__wrapper__item\">\n <div\n class=\"wb-two-images-title-text__wrapper__item__img\"\n [ngClass]=\"{\n 'wb-two-images-title-text__wrapper__item__img--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-two-images-title-text__wrapper__item__img--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-two-images-title-text__wrapper__item__img--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\"\n [isFullwidth]=\"true\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_IMAGE_URL]?.length > 0\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </wb-structure-config>\n <div\n class=\"wb-two-images-title-text__wrapper__item__img__empty\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_IMAGE_URL]?.length <= 0\"\n (click)=\"getMediaFor('1')\"\n [ngClass]=\"{\n 'wb-two-images-title-text__wrapper__item__img__empty--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-two-images-title-text__wrapper__item__img__empty--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-two-images-title-text__wrapper__item__img__empty--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <p>\n <i class=\"fal fa-image\"></i> <span>{{ 'wb.structures.template.8' | translate }}</span>\n </p>\n </div>\n\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_IMAGE_URL]\"\n [style.background-image]=\"'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_IMAGE_URL]?.length > 0\"\n (click)=\"getMediaFor('1')\"\n class=\"wb-two-images-title-text__wrapper__item__img__picture\"\n [ngClass]=\"{\n 'wb-two-images-title-text__wrapper__item__img__picture--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-two-images-title-text__wrapper__item__img__picture--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-two-images-title-text__wrapper__item__img__picture--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n <div class=\"wb-two-images-title-text__wrapper__item__title\">\n <wb-quill [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE_RIGHT]\" (contentChange)=\"persist()\"></wb-quill>\n </div>\n <div\n class=\"wb-two-images-title-text__wrapper__item__text\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_URL].length <= 0\"\n >\n <wb-quill [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_RIGHT]\" (contentChange)=\"persist()\"></wb-quill>\n </div>\n <a\n class=\"wb-two-images-title-text__wrapper__item__text\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_URL].length > 0\"\n >\n <wb-quill [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_RIGHT]\" (contentChange)=\"persist()\"></wb-quill>\n <i [style]=\"'color: ' + contents[BASE_BLOCK_CONTENT][FORM_NAME_ICON_COLOR]\" class=\"far fa-arrow-right\"></i>\n </a>\n </div>\n </div>\n</div>\n"
|
|
21879
|
+
template: "<div class=\"wb-two-images-title-text\">\n <div class=\"wb-two-images-title-text__title\">\n <wb-quill [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE]\" (contentChange)=\"persist()\"></wb-quill>\n </div>\n <div\n class=\"wb-two-images-title-text__wrapper\"\n [ngClass]=\"{\n 'wb-images-simple__container--small': contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-images-simple__container--medium': contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-images-simple__container--large': contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div class=\"wb-two-images-title-text__wrapper__item\">\n <div\n class=\"wb-two-images-title-text__wrapper__item__img\"\n [ngClass]=\"{\n 'wb-two-images-title-text__wrapper__item__img--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-two-images-title-text__wrapper__item__img--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-two-images-title-text__wrapper__item__img--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\"\n [isFullwidth]=\"true\"\n [small]=\"true\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_IMAGE_URL]?.length > 0\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </wb-structure-config>\n <div\n class=\"wb-two-images-title-text__wrapper__item__img__empty\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_IMAGE_URL]?.length <= 0\"\n (click)=\"getMediaFor('0')\"\n [ngClass]=\"{\n 'wb-two-images-title-text__wrapper__item__img__empty--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-two-images-title-text__wrapper__item__img__empty--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-two-images-title-text__wrapper__item__img__empty--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <p>\n <i class=\"fal fa-image\"></i> <span>{{ 'wb.structures.template.8' | translate }}</span>\n </p>\n </div>\n\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_IMAGE_URL]\"\n [style.background-image]=\"'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_IMAGE_URL]?.length > 0\"\n (click)=\"getMediaFor('0')\"\n class=\"wb-two-images-title-text__wrapper__item__img__picture\"\n [ngClass]=\"{\n 'wb-two-images-title-text__wrapper__item__img__picture--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-two-images-title-text__wrapper__item__img__picture--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-two-images-title-text__wrapper__item__img__picture--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n <div class=\"wb-two-images-title-text__wrapper__item__title\">\n <wb-quill [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE_LEFT]\" (contentChange)=\"persist()\"></wb-quill>\n </div>\n <div\n class=\"wb-two-images-title-text__wrapper__item__text\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_URL].length <= 0\"\n >\n <div class=\"wb-two-images-title-text__wrapper__item__text\">\n <wb-quill [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_LEFT]\" (contentChange)=\"persist()\"></wb-quill>\n </div>\n </div>\n <a\n class=\"wb-two-images-title-text__wrapper__item__text\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT][FORM_NAME_URL].length > 0\"\n >\n <wb-quill [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_LEFT]\" (contentChange)=\"persist()\"></wb-quill>\n <i [style]=\"'color: ' + contents[BASE_BLOCK_CONTENT][FORM_NAME_ICON_COLOR]\" class=\"far fa-arrow-right\"></i>\n </a>\n </div>\n <div class=\"wb-two-images-title-text__wrapper__item\">\n <div\n class=\"wb-two-images-title-text__wrapper__item__img\"\n [ngClass]=\"{\n 'wb-two-images-title-text__wrapper__item__img--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-two-images-title-text__wrapper__item__img--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-two-images-title-text__wrapper__item__img--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\"\n [isFullwidth]=\"true\"\n [small]=\"true\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_IMAGE_URL]?.length > 0\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </wb-structure-config>\n <div\n class=\"wb-two-images-title-text__wrapper__item__img__empty\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_IMAGE_URL]?.length <= 0\"\n (click)=\"getMediaFor('1')\"\n [ngClass]=\"{\n 'wb-two-images-title-text__wrapper__item__img__empty--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-two-images-title-text__wrapper__item__img__empty--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-two-images-title-text__wrapper__item__img__empty--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <p>\n <i class=\"fal fa-image\"></i> <span>{{ 'wb.structures.template.8' | translate }}</span>\n </p>\n </div>\n\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_IMAGE_URL]\"\n [style.background-image]=\"'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_IMAGE_URL]?.length > 0\"\n (click)=\"getMediaFor('1')\"\n class=\"wb-two-images-title-text__wrapper__item__img__picture\"\n [ngClass]=\"{\n 'wb-two-images-title-text__wrapper__item__img__picture--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-two-images-title-text__wrapper__item__img__picture--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-two-images-title-text__wrapper__item__img__picture--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n <div class=\"wb-two-images-title-text__wrapper__item__title\">\n <wb-quill [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE_RIGHT]\" (contentChange)=\"persist()\"></wb-quill>\n </div>\n <div\n class=\"wb-two-images-title-text__wrapper__item__text\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_URL].length <= 0\"\n >\n <wb-quill [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_RIGHT]\" (contentChange)=\"persist()\"></wb-quill>\n </div>\n <a\n class=\"wb-two-images-title-text__wrapper__item__text\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_URL].length > 0\"\n >\n <wb-quill [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_RIGHT]\" (contentChange)=\"persist()\"></wb-quill>\n <i [style]=\"'color: ' + contents[BASE_BLOCK_CONTENT][FORM_NAME_ICON_COLOR]\" class=\"far fa-arrow-right\"></i>\n </a>\n </div>\n </div>\n</div>\n"
|
|
21857
21880
|
},] }
|
|
21858
21881
|
];
|
|
21859
21882
|
TwoImagesTitleTextComponent.ctorParameters = function () { return []; };
|
|
@@ -27209,7 +27232,7 @@
|
|
|
27209
27232
|
TextBackgroundsLinkComponent.decorators = [
|
|
27210
27233
|
{ type: i0.Component, args: [{
|
|
27211
27234
|
selector: TextBackgroundsLinkService.selector(),
|
|
27212
|
-
template: "<div class=\"wb-text-backgrounds-link\" [ngClass]=\"{ 'is-active': hasTooltipFocusedLeftBottom || hasTooltipFocusedImg }\">\n <div\n class=\"wb-text-backgrounds-link__container\"\n [ngClass]=\"{ 'wb-text-backgrounds-link__container--autoHeight': contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_BACKGROUND] }\"\n >\n <div class=\"wb-text-backgrounds-link__container__background\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_BACKGROUND]\">\n <div>\n <div\n [style.background-image]=\"'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_BACKGROUND][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_BACKGROUND]\"\n class=\"wb-text-backgrounds-link__container__images__item\"\n ></div>\n </div>\n </div>\n <div\n class=\"wb-text-backgrounds-link__container__config\"\n *ngFor=\"let content of contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_BACKGROUND_LINK]; let i = index\"\n >\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isActive]=\"triggerConfig[i]\">\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"content[FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <div class=\"columns\">\n <div class=\"column\">\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"content[FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n </div>\n <div class=\"column\">\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"content[FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </div>\n </div>\n </wb-structure-config>\n <div class=\"triggerClose\" (click)=\"closeConfig(i)\" *ngIf=\"triggerConfig[i]\"></div>\n </div>\n <div\n class=\"wb-text-backgrounds-link__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n (click)=\"getMediaFor('', 'add')\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_BACKGROUND]\"\n >\n <p>\n <i class=\"fal fa-image\"></i> <span>{{ 'wb.structures.template.8' | translate }}</span>\n </p>\n </div>\n <div class=\"wb-text-backgrounds-link__container__columns\">\n <div\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_BACKGROUND]\"\n wbGetSizeImageDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_BACKGROUND][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage('', $event)\"\n (click)=\"getMediaFor('')\"\n class=\"wb-text-backgrounds-link__container__columns__absolute\"\n ></div>\n <div class=\"columns\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_BACKGROUND]\">\n <div class=\"column\">\n <div class=\"wb-text-backgrounds-link__container__images\">\n <div class=\"wb-text-backgrounds-link__container__text\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\">\n <div class=\"has-transparent-background\">\n <wb-quill\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\"\n (contentChange)=\"persist()\"\n (isTooltipFocused)=\"checkQuillToolTip('hasTooltipFocusedLeftBottom', $event)\"\n ></wb-quill>\n </div>\n </div>\n <div class=\"wb-text-backgrounds-link__container__flex\">\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_BACKGROUND][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage('', $event)\"\n (click)=\"getMediaFor('')\"\n class=\"wb-text-backgrounds-link__container__flex__absolute\"\n ></div>\n <div\n *ngFor=\"let content of contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_BACKGROUND_LINK]; let i = index\"\n class=\"wb-text-backgrounds-link__container__images__item\"\n >\n <div class=\"wb-text-backgrounds-link__container__flex__config\" (click)=\"openConfig(i)\">\n <div\n class=\"wb-structure-config__tools is-tooltip-info tooltip is-tooltip-right\"\n [nwbToolTip]=\"'wb.structureconfig.tooltip.1' | translate\"\n nwbToolTipPosition=\"right\"\n >\n <i class=\"
|
|
27235
|
+
template: "<div class=\"wb-text-backgrounds-link\" [ngClass]=\"{ 'is-active': hasTooltipFocusedLeftBottom || hasTooltipFocusedImg }\">\n <div\n class=\"wb-text-backgrounds-link__container\"\n [ngClass]=\"{ 'wb-text-backgrounds-link__container--autoHeight': contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_BACKGROUND] }\"\n >\n <div class=\"wb-text-backgrounds-link__container__background\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_BACKGROUND]\">\n <div>\n <div\n [style.background-image]=\"'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_BACKGROUND][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_BACKGROUND]\"\n class=\"wb-text-backgrounds-link__container__images__item\"\n ></div>\n </div>\n </div>\n <div\n class=\"wb-text-backgrounds-link__container__config\"\n *ngFor=\"let content of contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_BACKGROUND_LINK]; let i = index\"\n >\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isActive]=\"triggerConfig[i]\">\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"content[FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <div class=\"columns\">\n <div class=\"column\">\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"content[FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n </div>\n <div class=\"column\">\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"content[FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </div>\n </div>\n </wb-structure-config>\n <div class=\"triggerClose\" (click)=\"closeConfig(i)\" *ngIf=\"triggerConfig[i]\"></div>\n </div>\n <div\n class=\"wb-text-backgrounds-link__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n (click)=\"getMediaFor('', 'add')\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_BACKGROUND]\"\n >\n <p>\n <i class=\"fal fa-image\"></i> <span>{{ 'wb.structures.template.8' | translate }}</span>\n </p>\n </div>\n <div class=\"wb-text-backgrounds-link__container__columns\">\n <div\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_BACKGROUND]\"\n wbGetSizeImageDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_BACKGROUND][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage('', $event)\"\n (click)=\"getMediaFor('')\"\n class=\"wb-text-backgrounds-link__container__columns__absolute\"\n ></div>\n <div class=\"columns\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_BACKGROUND]\">\n <div class=\"column\">\n <div class=\"wb-text-backgrounds-link__container__images\">\n <div class=\"wb-text-backgrounds-link__container__text\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\">\n <div class=\"has-transparent-background\">\n <wb-quill\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\"\n (contentChange)=\"persist()\"\n (isTooltipFocused)=\"checkQuillToolTip('hasTooltipFocusedLeftBottom', $event)\"\n ></wb-quill>\n </div>\n </div>\n <div class=\"wb-text-backgrounds-link__container__flex\">\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_BACKGROUND][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage('', $event)\"\n (click)=\"getMediaFor('')\"\n class=\"wb-text-backgrounds-link__container__flex__absolute\"\n ></div>\n <div\n *ngFor=\"let content of contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_BACKGROUND_LINK]; let i = index\"\n class=\"wb-text-backgrounds-link__container__images__item\"\n >\n <div class=\"wb-text-backgrounds-link__container__flex__config\" (click)=\"openConfig(i)\">\n <div\n class=\"wb-structure-config__tools is-tooltip-info tooltip is-tooltip-right\"\n [nwbToolTip]=\"'wb.structureconfig.tooltip.1' | translate\"\n nwbToolTipPosition=\"right\"\n >\n <i class=\"fas fa-bars\"></i>\n </div>\n </div>\n <div\n class=\"wb-text-backgrounds-link__container__flex__background\"\n wbGetSizeImageDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"content[FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(i, $event)\"\n [style.background-image]=\"'url(' + content[FORM_NAME_IMAGE_URL] + ')'\"\n (click)=\"getMediaFor(i)\"\n ></div>\n <div class=\"wb-text-backgrounds-link__container__flex__text\" *ngIf=\"content\">\n <div>\n <wb-quill\n [(content)]=\"content[FORM_NAME_CONTENT]\"\n (contentChange)=\"persist()\"\n (isTooltipFocused)=\"checkQuillToolTip('hasTooltipFocusedImg_' + i, $event)\"\n >\n </wb-quill>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div\n class=\"wb-additionnal-tools wb-slider-fullpage__container__slider\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_BACKGROUND]\"\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n (cdkDropListDropped)=\"onDrop($event)\"\n >\n <a\n class=\"wb-slider-fullpage__container__slider-selector\"\n *ngFor=\"let content of contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT_BACKGROUND_LINK]; let i = index\"\n cdkDrag\n ><span></span>\n <span\n >{{ 'wb.structures.template.59' | translate: { nb: i + 1 } }}<i class=\"fal fa-times\" (click)=\"removeThisSlide(i)\"></i>\n </span>\n </a>\n <a class=\"wb-slider-fullpage__container__slider-add\" (click)=\"getMediaFor(currentNumber, 'add')\" *ngIf=\"currentNumber < 6\">\n {{ 'wb.structures.template.42' | translate }}<span class=\"absolute\">{{ 'wb.structures.template.43' | translate }}</span>\n </a>\n </div>\n</div>\n"
|
|
27213
27236
|
},] }
|
|
27214
27237
|
];
|
|
27215
27238
|
TextBackgroundsLinkComponent.ctorParameters = function () { return []; };
|
|
@@ -27845,6 +27868,8 @@
|
|
|
27845
27868
|
this.contents = [];
|
|
27846
27869
|
this.dynamicHidden = [];
|
|
27847
27870
|
this.hideConfig = false;
|
|
27871
|
+
this.blockHover = false;
|
|
27872
|
+
this.configActive = false;
|
|
27848
27873
|
this.parsedContent = [];
|
|
27849
27874
|
}
|
|
27850
27875
|
BlocksComponent.prototype.ngOnInit = function () {
|
|
@@ -27864,6 +27889,10 @@
|
|
|
27864
27889
|
this.preview = false;
|
|
27865
27890
|
}
|
|
27866
27891
|
};
|
|
27892
|
+
BlocksComponent.prototype.switchHover = function (event) {
|
|
27893
|
+
console.log(event);
|
|
27894
|
+
this.configActive = event;
|
|
27895
|
+
};
|
|
27867
27896
|
BlocksComponent.prototype.addThis = function (index, type) {
|
|
27868
27897
|
var _this = this;
|
|
27869
27898
|
this.wiziBlockService.getBlocksService().forEach(function (v) {
|
|
@@ -27939,7 +27968,7 @@
|
|
|
27939
27968
|
BlocksComponent.decorators = [
|
|
27940
27969
|
{ type: i0.Component, args: [{
|
|
27941
27970
|
selector: 'wb-blocks',
|
|
27942
|
-
template: "<div\n class=\"wb-blocks\"\n cdkDropList\n (cdkDropListDropped)=\"onDrop($event)\"\n id=\"block-content\"\n *ngIf=\"contents.length > 0\"\n [@animateListFromLeft]=\"contents.length\"\n>\n <a\n class=\"button is-hidden-button is-danger is-rounded is-tooltip-info\"\n [ngClass]=\"{ 'is-danger': hideConfig, 'is-dark is-outlined': !hideConfig }\"\n (click)=\"setHideConfig()\"\n [nwbToolTip]=\"(!hideConfig ? 'wb.blocks.html.1' : 'wb.blocks.html.2') | translate\"\n nwbToolTipPosition=\"left\"\n ><i class=\"fal fa-eye\" *ngIf=\"!hideConfig\"></i><i class=\"fal fa-eye-slash\" *ngIf=\"hideConfig\"></i\n ></a>\n <wb-previews [contents]=\"parsedContent\" *ngIf=\"preview && hideConfig\"></wb-previews>\n <div class=\"wb-blocks__container\" *ngFor=\"let content of contents\" cdkDrag>\n <div
|
|
27971
|
+
template: "<div\n class=\"wb-blocks\"\n cdkDropList\n (cdkDropListDropped)=\"onDrop($event)\"\n id=\"block-content\"\n *ngIf=\"contents.length > 0\"\n [@animateListFromLeft]=\"contents.length\"\n [ngClass]=\"{ hover: blockHover }\"\n>\n <a\n class=\"button is-hidden-button is-danger is-rounded is-tooltip-info\"\n [ngClass]=\"{ 'is-danger': hideConfig, 'is-dark is-outlined': !hideConfig }\"\n (click)=\"setHideConfig()\"\n [nwbToolTip]=\"(!hideConfig ? 'wb.blocks.html.1' : 'wb.blocks.html.2') | translate\"\n nwbToolTipPosition=\"left\"\n ><i class=\"fal fa-eye\" *ngIf=\"!hideConfig\"></i><i class=\"fal fa-eye-slash\" *ngIf=\"hideConfig\"></i\n ></a>\n <wb-previews [contents]=\"parsedContent\" *ngIf=\"preview && hideConfig\"></wb-previews>\n <div class=\"wb-blocks__container\" *ngFor=\"let content of contents\" cdkDrag>\n <div\n class=\"wb-component\"\n [ngClass]=\"{\n 'is-inactive': hideConfig,\n 'border-grey': isHiddenBLocks(content.block.uuid),\n 'border-blue': selectedConfig === content.block.uuid\n }\"\n >\n <wb-structure-tools\n [dynamicHiddenStructure]=\"isHiddenBLocks(content.block.uuid)\"\n [uuid]=\"content.block.uuid\"\n [isHover]=\"blockHover\"\n [isAlwaysHover]=\"selectedConfig === content.block.uuid\"\n (configIsActivated)=\"switchHover($event)\"\n cdkDragHandle\n ></wb-structure-tools>\n <div class=\"wb-component__container\">\n <wb-container-block [content]=\"content\"></wb-container-block>\n </div>\n </div>\n </div>\n</div>\n<div class=\"wb-blocks-empty\" *ngIf=\"contents.length === 0\">\n <img src=\"assets/blocks/images/icons/Icon_Drag.svg\" />\n <p>{{ translation.select_component | translate }}</p>\n <p>{{ translation.doc_component | translate }}</p>\n</div>\n",
|
|
27943
27972
|
animations: [animateListFromLeft('100ms ease-in-out')]
|
|
27944
27973
|
},] }
|
|
27945
27974
|
];
|
|
@@ -27952,7 +27981,8 @@
|
|
|
27952
27981
|
]; };
|
|
27953
27982
|
BlocksComponent.propDecorators = {
|
|
27954
27983
|
contents: [{ type: i0.Input }],
|
|
27955
|
-
dynamicHidden: [{ type: i0.Input }]
|
|
27984
|
+
dynamicHidden: [{ type: i0.Input }],
|
|
27985
|
+
selectedConfig: [{ type: i0.Input }]
|
|
27956
27986
|
};
|
|
27957
27987
|
|
|
27958
27988
|
var ConfigsComponent = /** @class */ (function () {
|
|
@@ -28018,6 +28048,21 @@
|
|
|
28018
28048
|
}
|
|
28019
28049
|
this.updateContent();
|
|
28020
28050
|
};
|
|
28051
|
+
ConfigsComponent.prototype.updateChangesReverse = function ($event, key) {
|
|
28052
|
+
if ($event === void 0) { $event = null; }
|
|
28053
|
+
if ($event !== null) {
|
|
28054
|
+
var onValue = true;
|
|
28055
|
+
if (typeof this.configs.forms[key].state[0] !== 'undefined') {
|
|
28056
|
+
onValue = this.configs.forms[key].state[0];
|
|
28057
|
+
}
|
|
28058
|
+
var offValue = true;
|
|
28059
|
+
if (typeof this.configs.forms[key].state[1] !== 'undefined') {
|
|
28060
|
+
offValue = this.configs.forms[key].state[1];
|
|
28061
|
+
}
|
|
28062
|
+
this.configs.forms[key].value = $event.target.checked ? offValue : onValue;
|
|
28063
|
+
}
|
|
28064
|
+
this.updateContent();
|
|
28065
|
+
};
|
|
28021
28066
|
ConfigsComponent.prototype.updateContent = function () {
|
|
28022
28067
|
this.contentService.updateByUUID(this.configs.block.uuid, this.configs);
|
|
28023
28068
|
this.changeConfig.emit({
|
|
@@ -28051,7 +28096,7 @@
|
|
|
28051
28096
|
ConfigsComponent.decorators = [
|
|
28052
28097
|
{ type: i0.Component, args: [{
|
|
28053
28098
|
selector: 'wb-configs',
|
|
28054
|
-
template: "<div class=\"wb-configs\" [ngClass]=\"{ 'is-not-first': !isFirst }\" [@animateListFromLeft]=\"temporizeConfig\" *ngIf=\"temporizeConfig\">\n <div class=\"field\" *ngFor=\"let form of configs.forms; let i = index\">\n <label class=\"label\" [ngClass]=\"{ 'icon-help': form.iconHelp }\"\n >{{ form.label | translate }}\n <i *ngIf=\"form.iconHelp\" class=\"fas fa-info-circle\"\n ><span>{{ form.help | translate }}</span></i\n ></label\n >\n <div class=\"control\" *ngIf=\"form.type === FORM_TYPE_TEXT\">\n <input\n class=\"input\"\n [type]=\"form.type\"\n [placeholder]=\"form.placeholder | translate\"\n [ngModel]=\"form.value | translate\"\n (ngModelChange)=\"form.value = $event\"\n (keyup)=\"updateContent()\"\n />\n </div>\n <div class=\"control\" *ngIf=\"form.type === FORM_TYPE_NUMBER\">\n <input\n class=\"input\"\n [type]=\"form.type\"\n [maxlength]=\"999999999\"\n [placeholder]=\"form.placeholder | translate\"\n [(ngModel)]=\"form.value\"\n (keyup)=\"updateNumber($event, i)\"\n />\n </div>\n <div class=\"control\" *ngIf=\"form.type === FORM_TYPE_CHECKBOX\">\n <input\n [id]=\"'switchRoundedDefault' + i\"\n [type]=\"form.type\"\n [name]=\"'switchRoundedDefault' + i\"\n class=\"switch is-rounded is-info\"\n [checked]=\"form.value === (form.state[0] ? form.state[0] : true)\"\n (change)=\"updateChanges($event, i)\"\n />\n <label [for]=\"'switchRoundedDefault' + i\"></label>\n </div>\n <div class=\"control\" *ngIf=\"form.type === FORM_TYPE_TAG\">\n <a\n class=\"button is-info\"\n [ngClass]=\"{ 'is-outlined': step !== form.value && (!form.stepKey.length || form.stepKey[i] !== form.value) }\"\n *ngFor=\"let step of form.step; let i = index\"\n (click)=\"form.value = form.stepKey.length && form.stepKey[i] ? form.stepKey[i] : step; updateContent()\"\n >\n {{ step | translate }}\n </a>\n </div>\n <div class=\"control\" *ngIf=\"form.type === FORM_TYPE_COLOR\" #colors>\n <div\n [class]=\"'wb-configs__color wb-configs__colorjs' + i\"\n [style.background]=\"form.value\"\n (click)=\"colors.show = !colors.show\"\n ></div>\n <div\n class=\"wb-configs__picker\"\n wbAutoHide\n [triggerElement]=\"'wb-configs__colorjs' + i\"\n (clickOutside)=\"colors.show = false\"\n [ngClass]=\"{ 'is-active': colors.show }\"\n >\n <div\n [(colorPicker)]=\"form.value\"\n [style.background]=\"form.value\"\n [cpPosition]=\"'top'\"\n [cpWidth]=\"'auto'\"\n [cpToggle]=\"true\"\n [cpDialogDisplay]=\"'inline'\"\n (colorPickerChange)=\"updateContent()\"\n ></div>\n </div>\n </div>\n <p *ngIf=\"!form.iconHelp && !checkHelp(i)\" class=\"help\" [innerHTML]=\"form.help | translate\"></p>\n <p *ngIf=\"!form.iconHelp && checkHelp(i)\" class=\"help\" [innerHTML]=\"getValueHelp(form.value, i) | translate\"></p>\n </div>\n</div>\n",
|
|
28099
|
+
template: "<div class=\"wb-configs\" [ngClass]=\"{ 'is-not-first': !isFirst }\" [@animateListFromLeft]=\"temporizeConfig\" *ngIf=\"temporizeConfig\">\n <div class=\"field\" *ngFor=\"let form of configs.forms; let i = index\">\n <label class=\"label\" *ngIf=\"form.type !== FORM_TYPE_CHECKBOX\" [ngClass]=\"{ 'icon-help': form.iconHelp }\"\n >{{ form.label | translate }}\n <i *ngIf=\"form.iconHelp\" class=\"fas fa-info-circle\"\n ><span>{{ form.help | translate }}</span></i\n ></label\n >\n <div class=\"control control--input\" *ngIf=\"form.type === FORM_TYPE_TEXT\">\n <input\n class=\"input\"\n [type]=\"form.type\"\n [placeholder]=\"form.placeholder | translate\"\n [ngModel]=\"form.value | translate\"\n (ngModelChange)=\"form.value = $event\"\n (keyup)=\"updateContent()\"\n />\n </div>\n <div class=\"control control--input\" *ngIf=\"form.type === FORM_TYPE_NUMBER\">\n <input\n class=\"input\"\n [type]=\"form.type\"\n [maxlength]=\"999999999\"\n [placeholder]=\"form.placeholder | translate\"\n [(ngModel)]=\"form.value\"\n (keyup)=\"updateNumber($event, i)\"\n />\n </div>\n <div class=\"control control--flex\" [ngClass]=\"{ 'dynamic-label': form.labelEnable }\" *ngIf=\"form.type === FORM_TYPE_CHECKBOX\">\n <input\n [id]=\"'switchRoundedDefault' + i\"\n [type]=\"form.type\"\n [name]=\"'switchRoundedDefault' + i\"\n class=\"switch is-rounded is-info\"\n [checked]=\"!(form.value === (form.state[0] ? form.state[0] : true))\"\n (change)=\"form.reverseShow ? updateChangesReverse($event, i) : updateChanges($event, i)\"\n />\n <label [for]=\"'switchRoundedDefault' + i\"></label>\n <p [innerHTML]=\"form.label | translate\"></p>\n <p [innerHTML]=\"form.labelEnable | translate\"></p>\n </div>\n <div class=\"control control--button\" [ngClass]=\"{ 'max-width': form.step.length < 4 }\" *ngIf=\"form.type === FORM_TYPE_TAG\">\n <a\n class=\"button is-info\"\n [ngClass]=\"{ 'is-outlined': step !== form.value && (!form.stepKey.length || form.stepKey[i] !== form.value) }\"\n *ngFor=\"let step of form.step; let i = index\"\n (click)=\"form.value = form.stepKey.length && form.stepKey[i] ? form.stepKey[i] : step; updateContent()\"\n >\n {{ step | translate }}\n </a>\n </div>\n <div class=\"control\" *ngIf=\"form.type === FORM_TYPE_COLOR\" #colors>\n <div\n [class]=\"'wb-configs__color wb-configs__colorjs' + i\"\n [style.background]=\"form.value\"\n (click)=\"colors.show = !colors.show\"\n ></div>\n <div\n class=\"wb-configs__picker\"\n wbAutoHide\n [triggerElement]=\"'wb-configs__colorjs' + i\"\n (clickOutside)=\"colors.show = false\"\n [ngClass]=\"{ 'is-active': colors.show }\"\n >\n <div\n [(colorPicker)]=\"form.value\"\n [style.background]=\"form.value\"\n [cpPosition]=\"'top'\"\n [cpWidth]=\"'auto'\"\n [cpToggle]=\"true\"\n [cpDialogDisplay]=\"'inline'\"\n (colorPickerChange)=\"updateContent()\"\n ></div>\n </div>\n </div>\n <p *ngIf=\"!form.iconHelp && !checkHelp(i)\" class=\"help\" [innerHTML]=\"form.help | translate\"></p>\n <p *ngIf=\"!form.iconHelp && checkHelp(i)\" class=\"help\" [innerHTML]=\"getValueHelp(form.value, i) | translate\"></p>\n </div>\n</div>\n",
|
|
28055
28100
|
animations: [animateListFromLeft('200ms ease-in-out')]
|
|
28056
28101
|
},] }
|
|
28057
28102
|
];
|