@wizishop/wizi-block 4.2.2-beta → 4.2.23-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/en.json +1 -1
- package/assets/i18n/fr.json +1 -1
- package/bundles/wizishop-wizi-block.umd.js +602 -385
- 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/configs/configs.component.js +2 -2
- package/esm2015/lib/dtos/blocks/parent-block.dto.js +3 -2
- package/esm2015/lib/dtos/blocks/witness/witness-background-one.dto.js +2 -2
- package/esm2015/lib/dtos/forms/forms.dto.js +2 -2
- package/esm2015/lib/shared/components/editorjs/editorjs.component.js +27 -7
- package/esm2015/lib/shared/components/editorjs/tools/inline/link-tool.component.js +76 -15
- package/esm2015/lib/shared/components/editorjs/tools/inline/text-background-color-tool.component.js +5 -7
- package/esm2015/lib/shared/components/editorjs/tools/inline/text-color-tool.component.js +4 -2
- package/esm2015/lib/shared/components/editorjs/tools/inline/text-size-tool.component.js +4 -3
- package/esm2015/lib/shared/components/editorjs/tools/inline/tool-type/inline-style-tool.component.js +51 -20
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/text-type-tool.component.js +3 -2
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/tool-type/paragraph-style-tool.component.js +35 -7
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/tool-type/text-edition.component.js +5 -6
- package/esm2015/lib/shared/components/editorjs/tools/utils/editorjs-conversion.service.js +13 -1
- package/esm2015/lib/shared/components/editorjs/tools/utils/editorjs-tool.component.js +35 -2
- package/esm2015/lib/shared/components/editorjs/tools/utils/editorjs-translation.service.js +20 -0
- package/esm2015/lib/structures/text-backgrounds/four-rows-icon-text/text-backgrounds-four-rows-icon-text.component.js +7 -2
- package/esm2015/lib/structures/text-backgrounds/three-rows-icon-text/text-backgrounds-three-rows-icon-text.component.js +2 -2
- package/esm2015/lib/structures/text-backgrounds/two-rows-icon-text/text-backgrounds-two-rows-icon-text.component.js +2 -2
- package/esm2015/lib/structures/texts/quadruple-numbers/texts-quadruple-numbers.component.js +2 -2
- package/esm2015/lib/structures/timer/airport/timer-airport.component.js +2 -2
- package/esm2015/lib/structures/timer/background/timer-background.component.js +2 -2
- package/esm2015/lib/structures/timer/clock/timer-clock.component.js +2 -2
- package/esm2015/lib/structures/timer/multiple-img/timer-multiple-img.component.js +2 -2
- package/esm2015/lib/structures/timer/simple/timer-simple.component.js +2 -2
- package/esm2015/lib/wizi-block.component.js +4 -4
- package/esm2015/wizishop-wizi-block.js +227 -226
- package/fesm2015/wizishop-wizi-block.js +276 -74
- package/fesm2015/wizishop-wizi-block.js.map +1 -1
- package/lib/shared/components/editorjs/editorjs.component.d.ts +5 -1
- package/lib/shared/components/editorjs/tools/inline/link-tool.component.d.ts +1 -0
- package/lib/shared/components/editorjs/tools/inline/tool-type/inline-style-tool.component.d.ts +2 -2
- package/lib/shared/components/editorjs/tools/paragraph/tool-type/paragraph-style-tool.component.d.ts +5 -0
- package/lib/shared/components/editorjs/tools/utils/editorjs-tool.component.d.ts +2 -0
- package/lib/shared/components/editorjs/tools/utils/editorjs-translation.service.d.ts +7 -0
- package/lib/structures/text-backgrounds/four-rows-icon-text/text-backgrounds-four-rows-icon-text.component.d.ts +1 -0
- package/package.json +1 -1
- package/wizi-block.scss +2133 -1869
- package/wizishop-wizi-block.d.ts +226 -225
- package/wizishop-wizi-block.metadata.json +1 -1
|
@@ -365,7 +365,7 @@ class FormsDto {
|
|
|
365
365
|
this.block = block;
|
|
366
366
|
translateBlockService.translateProperties(this.block);
|
|
367
367
|
if (hasMargin) {
|
|
368
|
-
this.forms.push(new FormsContentDto(FORM_NAME_HIDE_BLOCK, 'wb.forms.FormsContentDto.16',
|
|
368
|
+
this.forms.push(new FormsContentDto(FORM_NAME_HIDE_BLOCK, 'wb.forms.FormsContentDto.16', FORM_TYPE_TAG, block[FORM_NAME_HIDE_BLOCK], '#122231', '', ['wb.blocks.FormContentDto.123', 'wb.blocks.FormContentDto.122'], ['0', '1']));
|
|
369
369
|
}
|
|
370
370
|
this.forms.push(new FormsContentDto(FORM_NAME_MARGIN_TOP, 'wb.forms.FormsContentDto.13', FORM_TYPE_TAG, block[FORM_NAME_MARGIN_TOP], '#122231', '', [
|
|
371
371
|
'wb.blocks.FormContentDto.101',
|
|
@@ -399,6 +399,7 @@ class ParentBlockDto {
|
|
|
399
399
|
constructor(type) {
|
|
400
400
|
this.uuid = v4();
|
|
401
401
|
this.type = type;
|
|
402
|
+
this[FORM_NAME_HIDE_BLOCK] = '1';
|
|
402
403
|
this[FORM_NAME_MARGIN] = 'medium';
|
|
403
404
|
this[FORM_NAME_MARGIN_TOP] = 'small';
|
|
404
405
|
this[FORM_NAME_WIDTH_BLOCK] = 'medium';
|
|
@@ -1849,7 +1850,7 @@ class WitnessBackgroundOneDto extends ParentBlockDto {
|
|
|
1849
1850
|
this[_a$r] = 'wb.dto.TITLE.37';
|
|
1850
1851
|
this[_b$p] = 'wb.dto.CONTENT.36';
|
|
1851
1852
|
this[_c$m] = new ButtonDto();
|
|
1852
|
-
this[_d$l] = '#
|
|
1853
|
+
this[_d$l] = '#FFFFFF';
|
|
1853
1854
|
}
|
|
1854
1855
|
}
|
|
1855
1856
|
_a$r = FORM_NAME_TITLE, _b$p = FORM_NAME_CONTENT, _c$m = FORM_NAME_URL, _d$l = FORM_NAME_COLOR;
|
|
@@ -8132,7 +8133,7 @@ class WiziBlockComponent {
|
|
|
8132
8133
|
this.resizeWithWidth(window.innerWidth);
|
|
8133
8134
|
for (const item of this.contentService.contents) {
|
|
8134
8135
|
if (typeof item.block.hide_block !== typeof undefined) {
|
|
8135
|
-
if (item.block.hide_block) {
|
|
8136
|
+
if (item.block.hide_block === '0') {
|
|
8136
8137
|
this.isHiddenConfig.push(item.block.uuid);
|
|
8137
8138
|
}
|
|
8138
8139
|
}
|
|
@@ -8220,10 +8221,10 @@ class WiziBlockComponent {
|
|
|
8220
8221
|
this.selectedConfig = event.config;
|
|
8221
8222
|
if (typeof this.selectedConfig.forms !== typeof undefined) {
|
|
8222
8223
|
for (const item of this.selectedConfig.forms) {
|
|
8223
|
-
if (item.id === 'hide_block' && item.value && !this.isHiddenConfig.includes(this.selectedConfig.block.uuid)) {
|
|
8224
|
+
if (item.id === 'hide_block' && item.value === '0' && !this.isHiddenConfig.includes(this.selectedConfig.block.uuid)) {
|
|
8224
8225
|
this.isHiddenConfig.push(this.selectedConfig.block.uuid);
|
|
8225
8226
|
}
|
|
8226
|
-
else if (item.id === 'hide_block' &&
|
|
8227
|
+
else if (item.id === 'hide_block' && item.value === '1') {
|
|
8227
8228
|
this.isHiddenConfig = this.isHiddenConfig.filter((e) => e !== this.selectedConfig.block.uuid);
|
|
8228
8229
|
}
|
|
8229
8230
|
}
|
|
@@ -18575,6 +18576,7 @@ class AttributeObject {
|
|
|
18575
18576
|
class EditorJSTool {
|
|
18576
18577
|
constructor() {
|
|
18577
18578
|
this.parentEditor = null;
|
|
18579
|
+
this.textContainers = 'h1,h2,h3,h4,h5,h6,p,li';
|
|
18578
18580
|
this.selectedAnchorNode = null;
|
|
18579
18581
|
this.selectedFocusNode = null;
|
|
18580
18582
|
this.anchorOffset = -1;
|
|
@@ -18613,8 +18615,29 @@ class EditorJSTool {
|
|
|
18613
18615
|
this.focusOffset = this.currentSelection.focusOffset;
|
|
18614
18616
|
}
|
|
18615
18617
|
resetUserSelection() {
|
|
18618
|
+
var _a;
|
|
18619
|
+
if (this.selectedAnchorNode.nodeType === Node.ELEMENT_NODE && this.selectedAnchorNode.children) {
|
|
18620
|
+
while (this.selectedAnchorNode.children &&
|
|
18621
|
+
this.selectedAnchorNode.innerText === ((_a = this.selectedAnchorNode.children[0]) === null || _a === void 0 ? void 0 : _a.innerText) &&
|
|
18622
|
+
this.selectedAnchorNode.children.length === 1) {
|
|
18623
|
+
this.selectedAnchorNode = this.selectedAnchorNode.children[0];
|
|
18624
|
+
this.selectedFocusNode = this.selectedAnchorNode;
|
|
18625
|
+
this.anchorOffset = 0;
|
|
18626
|
+
this.focusOffset = 1;
|
|
18627
|
+
}
|
|
18628
|
+
if (this.textContainers.split(',').indexOf(this.selectedAnchorNode.tagName.toLowerCase()) > -1) {
|
|
18629
|
+
let childTextNodes = this.getTextNodes(this.selectedAnchorNode);
|
|
18630
|
+
let focusNode = childTextNodes.length > 1
|
|
18631
|
+
? this.selectedAnchorNode.childNodes[childTextNodes.length - 1]
|
|
18632
|
+
: this.selectedAnchorNode.childNodes[0];
|
|
18633
|
+
let focusOffset = childTextNodes.length > 1 ? childTextNodes.length : childTextNodes[0].textContent.length;
|
|
18634
|
+
this.selectedAnchorNode = this.selectedAnchorNode.childNodes[0];
|
|
18635
|
+
this.anchorOffset = 0;
|
|
18636
|
+
this.selectedFocusNode = focusNode;
|
|
18637
|
+
this.focusOffset = focusOffset;
|
|
18638
|
+
}
|
|
18639
|
+
}
|
|
18616
18640
|
document.getSelection().setBaseAndExtent(this.selectedAnchorNode, this.anchorOffset, this.selectedFocusNode, this.focusOffset);
|
|
18617
|
-
this.currentSelection = this.getSelection();
|
|
18618
18641
|
}
|
|
18619
18642
|
findParentEditor() {
|
|
18620
18643
|
const selection = this.currentSelection ? this.currentSelection : this.getSelection();
|
|
@@ -18623,6 +18646,17 @@ class EditorJSTool {
|
|
|
18623
18646
|
clear() {
|
|
18624
18647
|
resetBlockFocus(this.parentEditor);
|
|
18625
18648
|
}
|
|
18649
|
+
getTextNodes(container) {
|
|
18650
|
+
let childTextNodes = [];
|
|
18651
|
+
if (container.childNodes) {
|
|
18652
|
+
for (var i = 0; i < container.childNodes.length; ++i) {
|
|
18653
|
+
if (container.childNodes[i].nodeType === Node.TEXT_NODE) {
|
|
18654
|
+
childTextNodes.push(container.childNodes[i]);
|
|
18655
|
+
}
|
|
18656
|
+
}
|
|
18657
|
+
}
|
|
18658
|
+
return childTextNodes;
|
|
18659
|
+
}
|
|
18626
18660
|
}
|
|
18627
18661
|
var isTextEditionTool = false;
|
|
18628
18662
|
var isBlockFocused = false;
|
|
@@ -18656,7 +18690,6 @@ function resetBlockFocus(parentEditor) {
|
|
|
18656
18690
|
class InlineStyleTool extends EditorJSTool {
|
|
18657
18691
|
constructor() {
|
|
18658
18692
|
super(...arguments);
|
|
18659
|
-
this.containers = 'h1,h2,h3,h4,h5,h6,p,li';
|
|
18660
18693
|
this.modifiers = 'strong,em';
|
|
18661
18694
|
this.foundAnchorOffset = 0;
|
|
18662
18695
|
this.foundFocusOffset = 0;
|
|
@@ -18677,7 +18710,7 @@ class InlineStyleTool extends EditorJSTool {
|
|
|
18677
18710
|
if (!selection) {
|
|
18678
18711
|
return;
|
|
18679
18712
|
}
|
|
18680
|
-
|
|
18713
|
+
let anchorNode = selection.anchorNode;
|
|
18681
18714
|
if (!this.parentEditor) {
|
|
18682
18715
|
this.parentEditor = this.findParentEditor();
|
|
18683
18716
|
}
|
|
@@ -18689,16 +18722,20 @@ class InlineStyleTool extends EditorJSTool {
|
|
|
18689
18722
|
: anchorNode.parentElement;
|
|
18690
18723
|
const sameSelection = container && container.innerText === selection.toString();
|
|
18691
18724
|
yield this.saveInlineSelection(container, true);
|
|
18692
|
-
|
|
18693
|
-
|
|
18694
|
-
this.hasStyle(container)
|
|
18695
|
-
selection.toString() === this.hasStyle(container).innerText) {
|
|
18696
|
-
console.log('update');
|
|
18697
|
-
yield this.updateSelection(selection, this.hasStyle(container), action, this.containers);
|
|
18725
|
+
// Link delete exception
|
|
18726
|
+
if (this.modifies.tag && this.tag.toLowerCase() === 'a' && !this.attributesToApply) {
|
|
18727
|
+
yield this.replaceLink(selection, this.hasStyle(container));
|
|
18698
18728
|
}
|
|
18699
18729
|
else {
|
|
18700
|
-
|
|
18701
|
-
|
|
18730
|
+
if (sameSelection &&
|
|
18731
|
+
!this.isContainer(this.textContainers, container) &&
|
|
18732
|
+
this.hasStyle(container) &&
|
|
18733
|
+
selection.toString() === this.hasStyle(container).innerText) {
|
|
18734
|
+
yield this.updateSelection(selection, this.hasStyle(container), action, this.textContainers);
|
|
18735
|
+
}
|
|
18736
|
+
else {
|
|
18737
|
+
yield this.replaceSelection(container, action, selection, this.textContainers);
|
|
18738
|
+
}
|
|
18702
18739
|
}
|
|
18703
18740
|
yield this.cleanupContainer(selection, container, true);
|
|
18704
18741
|
if (this.modifiedContent) {
|
|
@@ -18738,6 +18775,7 @@ class InlineStyleTool extends EditorJSTool {
|
|
|
18738
18775
|
});
|
|
18739
18776
|
}
|
|
18740
18777
|
replaceSelection(container, action, selection, containers) {
|
|
18778
|
+
var _a;
|
|
18741
18779
|
return __awaiter(this, void 0, void 0, function* () {
|
|
18742
18780
|
let parentContainer = this.hasStyle(container);
|
|
18743
18781
|
const focusNode = selection.focusNode;
|
|
@@ -18790,8 +18828,20 @@ class InlineStyleTool extends EditorJSTool {
|
|
|
18790
18828
|
else {
|
|
18791
18829
|
const range = this.getRangeObject(selection);
|
|
18792
18830
|
const fragment = range.extractContents();
|
|
18831
|
+
let fragmentElement = document.createElement('div');
|
|
18793
18832
|
let newElement = yield this.createElement(container, action, containers);
|
|
18794
|
-
newElement
|
|
18833
|
+
let elementToAppend = newElement;
|
|
18834
|
+
fragmentElement.append(fragment);
|
|
18835
|
+
if (((_a = fragmentElement.children) === null || _a === void 0 ? void 0 : _a.length) === 1 &&
|
|
18836
|
+
this.textContainers.split(',').indexOf(fragmentElement.children[0].tagName.toLowerCase()) > -1) {
|
|
18837
|
+
elementToAppend = fragmentElement.children[0];
|
|
18838
|
+
newElement.innerHTML = fragmentElement.children[0].innerHTML;
|
|
18839
|
+
elementToAppend.innerHTML = '';
|
|
18840
|
+
elementToAppend.append(newElement);
|
|
18841
|
+
}
|
|
18842
|
+
else {
|
|
18843
|
+
newElement.innerHTML = fragmentElement.innerHTML;
|
|
18844
|
+
}
|
|
18795
18845
|
if (this.modifies.class) {
|
|
18796
18846
|
yield this.removeChildrenClasses(newElement);
|
|
18797
18847
|
if (this.classToApply !== '') {
|
|
@@ -18803,11 +18853,19 @@ class InlineStyleTool extends EditorJSTool {
|
|
|
18803
18853
|
newElement.setAttribute(attribute.name, attribute.value);
|
|
18804
18854
|
});
|
|
18805
18855
|
}
|
|
18806
|
-
range.insertNode(
|
|
18807
|
-
selection.selectAllChildren(
|
|
18856
|
+
range.insertNode(elementToAppend);
|
|
18857
|
+
selection.selectAllChildren(elementToAppend);
|
|
18808
18858
|
}
|
|
18809
18859
|
});
|
|
18810
18860
|
}
|
|
18861
|
+
replaceLink(selection, container) {
|
|
18862
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18863
|
+
let newElement = document.createElement('span');
|
|
18864
|
+
newElement.innerHTML = container.innerHTML;
|
|
18865
|
+
container.parentElement.replaceChild(newElement, container);
|
|
18866
|
+
selection.selectAllChildren(newElement);
|
|
18867
|
+
});
|
|
18868
|
+
}
|
|
18811
18869
|
isAnchorBeforeFocus(anchorNode, anchorOffset, focusNode, focusOffset) {
|
|
18812
18870
|
let anchorRange = document.createRange();
|
|
18813
18871
|
let focusRange = document.createRange();
|
|
@@ -18820,11 +18878,18 @@ class InlineStyleTool extends EditorJSTool {
|
|
|
18820
18878
|
}
|
|
18821
18879
|
return false;
|
|
18822
18880
|
}
|
|
18823
|
-
hasStyle(element) {
|
|
18824
|
-
var _a, _b;
|
|
18881
|
+
hasStyle(element, firstTimeCall = true) {
|
|
18882
|
+
var _a, _b, _c;
|
|
18883
|
+
if (firstTimeCall && element.children) {
|
|
18884
|
+
while (element.children &&
|
|
18885
|
+
element.innerText === ((_a = element.children[0]) === null || _a === void 0 ? void 0 : _a.innerText) &&
|
|
18886
|
+
element.children.length === 1) {
|
|
18887
|
+
element = element.children[0];
|
|
18888
|
+
}
|
|
18889
|
+
}
|
|
18825
18890
|
// foundElement was added because of a return issue when a class is applied
|
|
18826
18891
|
let foundElement = null;
|
|
18827
|
-
if (!element || ((
|
|
18892
|
+
if (!element || ((_b = element.classList) === null || _b === void 0 ? void 0 : _b.contains('ce-paragraph'))) {
|
|
18828
18893
|
return null;
|
|
18829
18894
|
}
|
|
18830
18895
|
if (this.modifies.style) {
|
|
@@ -18845,7 +18910,7 @@ class InlineStyleTool extends EditorJSTool {
|
|
|
18845
18910
|
});
|
|
18846
18911
|
}
|
|
18847
18912
|
else if (this.modifies.tag) {
|
|
18848
|
-
if (((
|
|
18913
|
+
if (((_c = element.tagName) === null || _c === void 0 ? void 0 : _c.toLowerCase()) === this.tag.toLowerCase()) {
|
|
18849
18914
|
return element;
|
|
18850
18915
|
}
|
|
18851
18916
|
}
|
|
@@ -18862,7 +18927,7 @@ class InlineStyleTool extends EditorJSTool {
|
|
|
18862
18927
|
return foundElement;
|
|
18863
18928
|
}
|
|
18864
18929
|
if (!foundElement && element.parentElement) {
|
|
18865
|
-
return this.hasStyle(element.parentElement);
|
|
18930
|
+
return this.hasStyle(element.parentElement, false);
|
|
18866
18931
|
}
|
|
18867
18932
|
return null;
|
|
18868
18933
|
}
|
|
@@ -18875,7 +18940,7 @@ class InlineStyleTool extends EditorJSTool {
|
|
|
18875
18940
|
return this.style.default;
|
|
18876
18941
|
}
|
|
18877
18942
|
const style = yield this.findStyleNode(container, action, containers);
|
|
18878
|
-
if (this.hasStyle(style) && this.style.value.indexOf('$1') === -1) {
|
|
18943
|
+
if (style && this.hasStyle(style) && this.style.value.indexOf('$1') === -1) {
|
|
18879
18944
|
return this.style.default;
|
|
18880
18945
|
}
|
|
18881
18946
|
return this.style.value.indexOf('$1') > -1 ? this.style.value.replace('$1', this.style.input) : this.style.value;
|
|
@@ -19612,6 +19677,24 @@ class CapitalizeTool extends InlineStyleTool {
|
|
|
19612
19677
|
}
|
|
19613
19678
|
CapitalizeTool.title = 'Capitalize';
|
|
19614
19679
|
|
|
19680
|
+
var editorJSI18nDictionnary;
|
|
19681
|
+
class EditorJSTranslationService {
|
|
19682
|
+
constructor() { }
|
|
19683
|
+
setDictionnary(dictionnary) {
|
|
19684
|
+
editorJSI18nDictionnary = dictionnary;
|
|
19685
|
+
}
|
|
19686
|
+
get(key) {
|
|
19687
|
+
return editorJSI18nDictionnary[key];
|
|
19688
|
+
}
|
|
19689
|
+
}
|
|
19690
|
+
EditorJSTranslationService.ɵprov = ɵɵdefineInjectable({ factory: function EditorJSTranslationService_Factory() { return new EditorJSTranslationService(); }, token: EditorJSTranslationService, providedIn: "root" });
|
|
19691
|
+
EditorJSTranslationService.decorators = [
|
|
19692
|
+
{ type: Injectable, args: [{
|
|
19693
|
+
providedIn: 'root',
|
|
19694
|
+
},] }
|
|
19695
|
+
];
|
|
19696
|
+
EditorJSTranslationService.ctorParameters = () => [];
|
|
19697
|
+
|
|
19615
19698
|
const DEFAULT_COLOR_ARRAY = [
|
|
19616
19699
|
[
|
|
19617
19700
|
'rgb(0, 0, 0)',
|
|
@@ -20174,6 +20257,7 @@ class TextColorTool extends ColorTool {
|
|
|
20174
20257
|
if (!isBlockFocused) {
|
|
20175
20258
|
setBlockFocus(this.parentEditor);
|
|
20176
20259
|
}
|
|
20260
|
+
this.checkDefaultColors();
|
|
20177
20261
|
const isActive = this.hasStyle(selection.anchorNode) ? true : false;
|
|
20178
20262
|
this.nodes.button.classList.toggle(this.CSS.buttonActive, isActive);
|
|
20179
20263
|
return isActive;
|
|
@@ -20198,7 +20282,7 @@ class TextColorTool extends ColorTool {
|
|
|
20198
20282
|
let customColor = document.createElement('div');
|
|
20199
20283
|
customColor.className = this.colorSelectionCss['container'];
|
|
20200
20284
|
let text = document.createElement('p');
|
|
20201
|
-
text.innerText =
|
|
20285
|
+
text.innerText = editorJSI18nDictionnary.messages.tools.textBackgroundColor['customColor'];
|
|
20202
20286
|
let button = document.createElement('div');
|
|
20203
20287
|
button.addEventListener('click', (event) => this.openCustomColorPicker(event));
|
|
20204
20288
|
let container = this.createCustomColorPicker();
|
|
@@ -20297,12 +20381,8 @@ class TextBackgroundColorTool extends ColorTool {
|
|
|
20297
20381
|
}
|
|
20298
20382
|
applyColor(color, inputToFocus = null) {
|
|
20299
20383
|
return __awaiter(this, void 0, void 0, function* () {
|
|
20300
|
-
console.log('applyColor');
|
|
20301
20384
|
let colorIndicator = this.nodes.button.querySelectorAll('.' + this.CSS.colorIndicatorModifier)[0];
|
|
20302
20385
|
this.style.input = color;
|
|
20303
|
-
console.log('this.style.input');
|
|
20304
|
-
console.log(this.style.input);
|
|
20305
|
-
console.warn(color);
|
|
20306
20386
|
this.resetUserSelection();
|
|
20307
20387
|
yield this.surround(null, true);
|
|
20308
20388
|
this.checkDefaultColors();
|
|
@@ -20322,6 +20402,7 @@ class TextBackgroundColorTool extends ColorTool {
|
|
|
20322
20402
|
if (!isBlockFocused) {
|
|
20323
20403
|
setBlockFocus(this.parentEditor);
|
|
20324
20404
|
}
|
|
20405
|
+
this.checkDefaultColors();
|
|
20325
20406
|
const isActive = this.hasStyle(selection.anchorNode) ? true : false;
|
|
20326
20407
|
this.nodes.button.classList.toggle(this.CSS.buttonActive, isActive);
|
|
20327
20408
|
return isActive;
|
|
@@ -20347,13 +20428,13 @@ class TextBackgroundColorTool extends ColorTool {
|
|
|
20347
20428
|
let removeColorContainerIcon = document.createElement('span');
|
|
20348
20429
|
removeColorContainer.classList.add(this.CSS.removeBackgroundColorClass);
|
|
20349
20430
|
removeColorContainer.addEventListener('click', () => this.applyColor('rgba(0,0,0,0)'));
|
|
20350
|
-
removeColorContainer.innerText =
|
|
20431
|
+
removeColorContainer.innerText = editorJSI18nDictionnary.messages.tools.textBackgroundColor['None'];
|
|
20351
20432
|
removeColorContainer.appendChild(removeColorContainerIcon);
|
|
20352
20433
|
this.colorSelection.appendChild(removeColorContainer);
|
|
20353
20434
|
let customColor = document.createElement('div');
|
|
20354
20435
|
customColor.className = this.colorSelectionCss['container'];
|
|
20355
20436
|
let text = document.createElement('p');
|
|
20356
|
-
text.innerText =
|
|
20437
|
+
text.innerText = editorJSI18nDictionnary.messages.tools.textBackgroundColor['customColor'];
|
|
20357
20438
|
let button = document.createElement('div');
|
|
20358
20439
|
button.addEventListener('click', (event) => this.openCustomColorPicker(event));
|
|
20359
20440
|
let container = this.createCustomColorPicker();
|
|
@@ -20407,6 +20488,8 @@ class ParagraphStyleTool extends EditorJSTool {
|
|
|
20407
20488
|
if ((this.classToApply && this.classToApply.length > 0) || (this.classes && this.classes.length > 0)) {
|
|
20408
20489
|
this.changeCurrentClass(parentModifier);
|
|
20409
20490
|
}
|
|
20491
|
+
this.saveUserSelection();
|
|
20492
|
+
this.resetUserSelection();
|
|
20410
20493
|
});
|
|
20411
20494
|
}
|
|
20412
20495
|
checkOrderedListValue() {
|
|
@@ -20441,8 +20524,18 @@ class ParagraphStyleTool extends EditorJSTool {
|
|
|
20441
20524
|
currentIndex++;
|
|
20442
20525
|
}
|
|
20443
20526
|
}
|
|
20527
|
+
getCurrentParagraph(anchorNode) {
|
|
20528
|
+
if (anchorNode.nodeType === Node.ELEMENT_NODE && anchorNode.classList.contains('ce-paragraph')) {
|
|
20529
|
+
return anchorNode;
|
|
20530
|
+
}
|
|
20531
|
+
if (anchorNode.parentElement.classList.contains('ce-paragraph')) {
|
|
20532
|
+
return anchorNode.parentElement;
|
|
20533
|
+
}
|
|
20534
|
+
return anchorNode.parentElement.closest('.ce-paragraph');
|
|
20535
|
+
}
|
|
20444
20536
|
changeContainerTag(container, selection) {
|
|
20445
20537
|
const range = this.getRangeObject(selection);
|
|
20538
|
+
let currentParagraph = this.getCurrentParagraph(selection.anchorNode);
|
|
20446
20539
|
let tagToCreate = this.tag;
|
|
20447
20540
|
if (container.tagName.toLowerCase() === this.tag.toLowerCase() && this.removableModifiers.indexOf(this.tag.toLowerCase()) > -1) {
|
|
20448
20541
|
tagToCreate = 'p';
|
|
@@ -20453,13 +20546,13 @@ class ParagraphStyleTool extends EditorJSTool {
|
|
|
20453
20546
|
}
|
|
20454
20547
|
let containerToCopy = container;
|
|
20455
20548
|
if (container.tagName.toLowerCase() === 'ul' || container.tagName.toLowerCase() === 'ol') {
|
|
20456
|
-
|
|
20549
|
+
currentParagraph.removeEventListener('keydown', onEditList, true);
|
|
20457
20550
|
containerToCopy = container.firstElementChild;
|
|
20458
20551
|
}
|
|
20459
20552
|
if (newContainer.tagName.toLowerCase() === 'ul' || newContainer.tagName.toLowerCase() === 'ol') {
|
|
20460
20553
|
listApi = this.api;
|
|
20461
20554
|
listEditor = this.parentEditor;
|
|
20462
|
-
|
|
20555
|
+
currentParagraph.addEventListener('keydown', onEditList, true);
|
|
20463
20556
|
}
|
|
20464
20557
|
if ((this.tag.toLowerCase() === 'ul' || this.tag.toLowerCase() === 'ol') &&
|
|
20465
20558
|
container.tagName.toLowerCase() !== this.tag.toLowerCase()) {
|
|
@@ -20538,6 +20631,10 @@ class ParagraphStyleTool extends EditorJSTool {
|
|
|
20538
20631
|
}
|
|
20539
20632
|
var listApi = null;
|
|
20540
20633
|
var listEditor = null;
|
|
20634
|
+
function setlistApiEditor(api, editor) {
|
|
20635
|
+
listApi = api;
|
|
20636
|
+
listEditor = editor;
|
|
20637
|
+
}
|
|
20541
20638
|
function onEditList(event) {
|
|
20542
20639
|
let focusedBlock = event.target;
|
|
20543
20640
|
if (LIST_EDIT_KEY_CODES.indexOf(event.code) > -1) {
|
|
@@ -20561,7 +20658,19 @@ function onEditList(event) {
|
|
|
20561
20658
|
let listElement = document.createElement(previousBlock.querySelector('.ce-paragraph').firstElementChild.tagName);
|
|
20562
20659
|
listElement.appendChild(document.createElement('li'));
|
|
20563
20660
|
if (listElement.tagName.toLowerCase() === 'ol') {
|
|
20564
|
-
|
|
20661
|
+
let value = parseInt(previousBlock.querySelector('li').getAttribute('value')) + 1;
|
|
20662
|
+
let nextListElement = true;
|
|
20663
|
+
listElement.firstElementChild.setAttribute('value', value.toString());
|
|
20664
|
+
for (var i = listApi.blocks.getCurrentBlockIndex() + 1; i < listEditor.querySelectorAll('.ce-block').length && nextListElement; ++i) {
|
|
20665
|
+
let followingOlBlock = listEditor.querySelectorAll('.ce-block')[i];
|
|
20666
|
+
if (followingOlBlock.querySelector('ol')) {
|
|
20667
|
+
++value;
|
|
20668
|
+
followingOlBlock.querySelector('li').setAttribute('value', value.toString());
|
|
20669
|
+
}
|
|
20670
|
+
else {
|
|
20671
|
+
nextListElement = false;
|
|
20672
|
+
}
|
|
20673
|
+
}
|
|
20565
20674
|
}
|
|
20566
20675
|
currentParagraph.appendChild(listElement);
|
|
20567
20676
|
currentParagraph.addEventListener('keydown', onEditList, true);
|
|
@@ -20817,7 +20926,7 @@ class TextTypeTool extends ParagraphTextTool {
|
|
|
20817
20926
|
this.textTypes.forEach((textType) => {
|
|
20818
20927
|
let row = document.createElement('div');
|
|
20819
20928
|
row.className = this.dropdownCss['row'];
|
|
20820
|
-
row.innerText =
|
|
20929
|
+
row.innerText = editorJSI18nDictionnary.messages.tools.textType[textType.name];
|
|
20821
20930
|
row.addEventListener('click', () => this.applyTextStyle(textType.tag));
|
|
20822
20931
|
textTypeDropdown.appendChild(row);
|
|
20823
20932
|
});
|
|
@@ -21348,6 +21457,8 @@ class LinkTool extends InlineStyleTool {
|
|
|
21348
21457
|
linkInputId: 'linkInput',
|
|
21349
21458
|
targetCheckboxId: 'targetCheckbox',
|
|
21350
21459
|
obfuscationCheckboxId: 'obfuscationCheckbox',
|
|
21460
|
+
addButtonClass: 'ce-inline-actions--link__add',
|
|
21461
|
+
deleteButtonClass: 'ce-inline-actions--link__delete',
|
|
21351
21462
|
};
|
|
21352
21463
|
this.attributeName = 'data-htap,href';
|
|
21353
21464
|
this.attributesToApply = [];
|
|
@@ -21408,10 +21519,11 @@ class LinkTool extends InlineStyleTool {
|
|
|
21408
21519
|
if (!this.parentEditor) {
|
|
21409
21520
|
this.parentEditor = this.findParentEditor();
|
|
21410
21521
|
}
|
|
21522
|
+
let uuid = this.parentEditor.getAttribute('id').replace('editorJs-', '');
|
|
21411
21523
|
this.attributesToApply = [];
|
|
21412
|
-
let targetCheckbox = this.parentEditor.querySelector('#' + this.linkCss['targetCheckboxId']);
|
|
21413
|
-
let obfuscationCheckbox = this.parentEditor.querySelector('#' + this.linkCss['obfuscationCheckboxId']);
|
|
21414
|
-
let linkInput = this.parentEditor.querySelector('#' + this.linkCss['linkInputId']);
|
|
21524
|
+
let targetCheckbox = this.parentEditor.querySelector('#' + this.linkCss['targetCheckboxId'] + uuid);
|
|
21525
|
+
let obfuscationCheckbox = this.parentEditor.querySelector('#' + this.linkCss['obfuscationCheckboxId'] + uuid);
|
|
21526
|
+
let linkInput = this.parentEditor.querySelector('#' + this.linkCss['linkInputId'] + uuid);
|
|
21415
21527
|
if (targetCheckbox.checked) {
|
|
21416
21528
|
this.attributesToApply.push({
|
|
21417
21529
|
name: 'target',
|
|
@@ -21440,7 +21552,25 @@ class LinkTool extends InlineStyleTool {
|
|
|
21440
21552
|
this.openLinkDropdown();
|
|
21441
21553
|
});
|
|
21442
21554
|
}
|
|
21555
|
+
deleteLink() {
|
|
21556
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21557
|
+
if (!this.parentEditor) {
|
|
21558
|
+
this.parentEditor = this.findParentEditor();
|
|
21559
|
+
}
|
|
21560
|
+
this.tag = 'A';
|
|
21561
|
+
this.attributesToApply = null;
|
|
21562
|
+
this.modifies.tag = true;
|
|
21563
|
+
this.resetUserSelection();
|
|
21564
|
+
yield this.surround(null, true);
|
|
21565
|
+
this.checkState(this.currentSelection);
|
|
21566
|
+
this.openLinkDropdown();
|
|
21567
|
+
});
|
|
21568
|
+
}
|
|
21443
21569
|
renderActions() {
|
|
21570
|
+
if (!this.parentEditor) {
|
|
21571
|
+
this.parentEditor = this.findParentEditor();
|
|
21572
|
+
}
|
|
21573
|
+
let uuid = this.parentEditor.getAttribute('id').replace('editorJs-', '');
|
|
21444
21574
|
let container = document.createElement('div');
|
|
21445
21575
|
container.className = this.linkCss['container'] + ' hidden';
|
|
21446
21576
|
let linkContainer = document.createElement('div');
|
|
@@ -21450,27 +21580,31 @@ class LinkTool extends InlineStyleTool {
|
|
|
21450
21580
|
let obfuscationContainer = document.createElement('div');
|
|
21451
21581
|
obfuscationContainer.className = this.linkCss['obfuscationContainer'];
|
|
21452
21582
|
let applyButton = document.createElement('button');
|
|
21453
|
-
applyButton.
|
|
21583
|
+
applyButton.className = this.linkCss['addButtonClass'];
|
|
21584
|
+
applyButton.innerText = editorJSI18nDictionnary.messages.tools.link['add'];
|
|
21454
21585
|
applyButton.addEventListener('click', () => this.applyLink());
|
|
21455
21586
|
let linkInput = document.createElement('input');
|
|
21456
|
-
linkInput.setAttribute('id', this.linkCss['linkInputId']);
|
|
21457
|
-
linkInput.setAttribute('placeholder',
|
|
21587
|
+
linkInput.setAttribute('id', this.linkCss['linkInputId'] + uuid);
|
|
21588
|
+
linkInput.setAttribute('placeholder', editorJSI18nDictionnary.messages.tools.link['placeholder']);
|
|
21458
21589
|
let targetCheckbox = document.createElement('input');
|
|
21459
|
-
targetCheckbox.setAttribute('id', this.linkCss['targetCheckboxId']);
|
|
21590
|
+
targetCheckbox.setAttribute('id', this.linkCss['targetCheckboxId'] + uuid);
|
|
21460
21591
|
targetCheckbox.setAttribute('type', 'checkbox');
|
|
21461
21592
|
let targetLabel = document.createElement('label');
|
|
21462
|
-
targetLabel.innerText =
|
|
21463
|
-
targetLabel.setAttribute('for', this.linkCss['targetCheckboxId']);
|
|
21593
|
+
targetLabel.innerText = editorJSI18nDictionnary.messages.tools.link['external'];
|
|
21594
|
+
targetLabel.setAttribute('for', this.linkCss['targetCheckboxId'] + uuid);
|
|
21464
21595
|
let obfuscationCheckbox = document.createElement('input');
|
|
21465
|
-
obfuscationCheckbox.setAttribute('id', this.linkCss['obfuscationCheckboxId']);
|
|
21596
|
+
obfuscationCheckbox.setAttribute('id', this.linkCss['obfuscationCheckboxId'] + uuid);
|
|
21466
21597
|
obfuscationCheckbox.setAttribute('type', 'checkbox');
|
|
21467
21598
|
let obfuscationLabel = document.createElement('label');
|
|
21468
|
-
obfuscationLabel.innerText =
|
|
21469
|
-
obfuscationLabel.setAttribute('for', this.linkCss['obfuscationCheckboxId']);
|
|
21599
|
+
obfuscationLabel.innerText = editorJSI18nDictionnary.messages.tools.link['obfuscated'];
|
|
21600
|
+
obfuscationLabel.setAttribute('for', this.linkCss['obfuscationCheckboxId'] + uuid);
|
|
21470
21601
|
let obfuscationTooltipContainer = document.createElement('div');
|
|
21471
21602
|
let obbfuscationTooltip = document.createElement('div');
|
|
21472
|
-
obbfuscationTooltip.innerHTML =
|
|
21603
|
+
obbfuscationTooltip.innerHTML = editorJSI18nDictionnary.messages.tools.link['info'];
|
|
21473
21604
|
obfuscationTooltipContainer.appendChild(obbfuscationTooltip);
|
|
21605
|
+
let deleteButton = document.createElement('button');
|
|
21606
|
+
deleteButton.className = this.linkCss['deleteButtonClass'] + ' hidden';
|
|
21607
|
+
deleteButton.addEventListener('click', () => this.deleteLink());
|
|
21474
21608
|
linkContainer.appendChild(linkInput);
|
|
21475
21609
|
targetContainer.appendChild(targetCheckbox);
|
|
21476
21610
|
targetContainer.appendChild(targetLabel);
|
|
@@ -21481,9 +21615,42 @@ class LinkTool extends InlineStyleTool {
|
|
|
21481
21615
|
container.appendChild(targetContainer);
|
|
21482
21616
|
container.appendChild(obfuscationContainer);
|
|
21483
21617
|
container.appendChild(applyButton);
|
|
21618
|
+
container.appendChild(deleteButton);
|
|
21484
21619
|
return container;
|
|
21485
21620
|
}
|
|
21486
|
-
showActions(mark) {
|
|
21621
|
+
showActions(mark) {
|
|
21622
|
+
if (!this.parentEditor) {
|
|
21623
|
+
this.parentEditor = this.findParentEditor();
|
|
21624
|
+
}
|
|
21625
|
+
let uuid = this.parentEditor.getAttribute('id').replace('editorJs-', '');
|
|
21626
|
+
let targetCheckbox = this.parentEditor.querySelector('#' + this.linkCss['targetCheckboxId'] + uuid);
|
|
21627
|
+
let obfuscationCheckbox = this.parentEditor.querySelector('#' + this.linkCss['obfuscationCheckboxId'] + uuid);
|
|
21628
|
+
let linkInput = this.parentEditor.querySelector('#' + this.linkCss['linkInputId'] + uuid);
|
|
21629
|
+
let deleteButton = this.parentEditor.querySelector('.' + this.linkCss['deleteButtonClass']);
|
|
21630
|
+
let addButton = this.parentEditor.querySelector('.' + this.linkCss['addButtonClass']);
|
|
21631
|
+
linkInput.value = '';
|
|
21632
|
+
if (this.checkState(this.getSelection())) {
|
|
21633
|
+
let selection = this.getSelection();
|
|
21634
|
+
let element = this.hasStyle(selection.anchorNode);
|
|
21635
|
+
linkInput.value = element.getAttribute(element.tagName.toLowerCase() === 'a' ? 'href' : 'data-htap');
|
|
21636
|
+
targetCheckbox.checked = element.getAttribute('target') === '_blank';
|
|
21637
|
+
obfuscationCheckbox.checked = element.tagName.toLowerCase() === 'span';
|
|
21638
|
+
if (deleteButton.classList.contains('hidden')) {
|
|
21639
|
+
deleteButton.classList.remove('hidden');
|
|
21640
|
+
}
|
|
21641
|
+
if (!addButton.classList.contains('hidden')) {
|
|
21642
|
+
addButton.classList.add('hidden');
|
|
21643
|
+
}
|
|
21644
|
+
}
|
|
21645
|
+
else {
|
|
21646
|
+
if (!deleteButton.classList.contains('hidden')) {
|
|
21647
|
+
deleteButton.classList.add('hidden');
|
|
21648
|
+
}
|
|
21649
|
+
if (addButton.classList.contains('hidden')) {
|
|
21650
|
+
addButton.classList.remove('hidden');
|
|
21651
|
+
}
|
|
21652
|
+
}
|
|
21653
|
+
}
|
|
21487
21654
|
hideActions() { }
|
|
21488
21655
|
openLinkDropdown() {
|
|
21489
21656
|
if (!this.parentEditor) {
|
|
@@ -21493,6 +21660,7 @@ class LinkTool extends InlineStyleTool {
|
|
|
21493
21660
|
this.saveUserSelection();
|
|
21494
21661
|
if (linkDropdown) {
|
|
21495
21662
|
if (linkDropdown.classList.contains('hidden')) {
|
|
21663
|
+
this.showActions(null);
|
|
21496
21664
|
let viewportOffset = linkDropdown.getBoundingClientRect();
|
|
21497
21665
|
if (viewportOffset.left + linkDropdown.offsetWidth > document.body.offsetWidth) {
|
|
21498
21666
|
let left = parseInt(window.getComputedStyle(linkDropdown, null).getPropertyValue('left')) -
|
|
@@ -21512,6 +21680,7 @@ class LinkTool extends InlineStyleTool {
|
|
|
21512
21680
|
}, 400);
|
|
21513
21681
|
}
|
|
21514
21682
|
else {
|
|
21683
|
+
this.resetUserSelection();
|
|
21515
21684
|
this.isLinkDropdownOpen = false;
|
|
21516
21685
|
linkDropdown.classList.add('hidden');
|
|
21517
21686
|
}
|
|
@@ -21814,7 +21983,7 @@ class textSizeTool extends InlineTextTool {
|
|
|
21814
21983
|
this.nodes.button.addEventListener('click', () => this.openDropdown());
|
|
21815
21984
|
this.textSizes.forEach((textSize) => {
|
|
21816
21985
|
let span = document.createElement('span');
|
|
21817
|
-
span.innerText =
|
|
21986
|
+
span.innerText = editorJSI18nDictionnary.messages.tools.textSize[textSize.name];
|
|
21818
21987
|
this.nodes.button.appendChild(span);
|
|
21819
21988
|
});
|
|
21820
21989
|
let dropdownArrow = document.createElement('span');
|
|
@@ -21859,7 +22028,7 @@ class textSizeTool extends InlineTextTool {
|
|
|
21859
22028
|
this.textSizes.forEach((textSize) => {
|
|
21860
22029
|
let row = document.createElement('div');
|
|
21861
22030
|
row.className = this.dropdownCss['row'];
|
|
21862
|
-
row.innerText =
|
|
22031
|
+
row.innerText = editorJSI18nDictionnary.messages.tools.textSize[textSize.name];
|
|
21863
22032
|
row.addEventListener('click', () => this.applyTextStyle(textSize.class));
|
|
21864
22033
|
textSizeDropdown.appendChild(row);
|
|
21865
22034
|
});
|
|
@@ -21956,8 +22125,8 @@ class TextEditionTool extends ParagraphStyleTool {
|
|
|
21956
22125
|
let buttonContainer = document.createElement('div');
|
|
21957
22126
|
let cancelButton = document.createElement('button');
|
|
21958
22127
|
let saveButton = document.createElement('button');
|
|
21959
|
-
cancelButton.innerText =
|
|
21960
|
-
saveButton.innerText =
|
|
22128
|
+
cancelButton.innerText = editorJSI18nDictionnary.messages.tools.codeEdit['Cancel'];
|
|
22129
|
+
saveButton.innerText = editorJSI18nDictionnary.messages.tools.codeEdit['Save'];
|
|
21961
22130
|
cancelButton.addEventListener('click', closeCodeEditModal, true);
|
|
21962
22131
|
saveButton.addEventListener('click', () => {
|
|
21963
22132
|
let content = monacoEditor.getValue();
|
|
@@ -22019,9 +22188,7 @@ class TextEditionTool extends ParagraphStyleTool {
|
|
|
22019
22188
|
const isTagNext = !isBrTag && !isOpeningTag && !isClosingTag && isTagEnd && code.substr(pos, code.substr(pos).indexOf('<')).trim() === '';
|
|
22020
22189
|
if (isBrTag) {
|
|
22021
22190
|
// If opening tag, add newline character and indention
|
|
22022
|
-
result += newlineChar;
|
|
22023
|
-
currentIndent--;
|
|
22024
|
-
pos += 4;
|
|
22191
|
+
result += newlineChar + whitespace.repeat(currentIndent);
|
|
22025
22192
|
}
|
|
22026
22193
|
if (isOpeningTag) {
|
|
22027
22194
|
// If opening tag, add newline character and indention
|
|
@@ -22356,11 +22523,13 @@ class EditorJSConversionService {
|
|
|
22356
22523
|
});
|
|
22357
22524
|
}
|
|
22358
22525
|
convertCurrentElement(element, firstCall = false) {
|
|
22526
|
+
var _a;
|
|
22359
22527
|
return __awaiter(this, void 0, void 0, function* () {
|
|
22360
22528
|
if (!element) {
|
|
22361
22529
|
return;
|
|
22362
22530
|
}
|
|
22363
22531
|
const children = element.children;
|
|
22532
|
+
let isOrderedListChildren = element.tagName.toLowerCase() === 'ol';
|
|
22364
22533
|
for (var currentElement = children[0]; currentElement; currentElement = currentElement.nextElementSibling) {
|
|
22365
22534
|
for (const [quillClass, editorJSClass] of Object.entries(this.classesToReplace)) {
|
|
22366
22535
|
if (quillClass.indexOf('{input}') > -1) {
|
|
@@ -22389,6 +22558,9 @@ class EditorJSConversionService {
|
|
|
22389
22558
|
if (currentElement.tagName.toLowerCase() === 'u') {
|
|
22390
22559
|
let newElement = document.createElement('span');
|
|
22391
22560
|
newElement.innerHTML = currentElement.innerHTML;
|
|
22561
|
+
if (currentElement.classList && currentElement.classList.length > 0) {
|
|
22562
|
+
newElement.className = currentElement.className;
|
|
22563
|
+
}
|
|
22392
22564
|
newElement = this.setInlineStyle(currentElement, newElement);
|
|
22393
22565
|
if (currentElement.classList.length > 0) {
|
|
22394
22566
|
newElement.className = currentElement.className;
|
|
@@ -22400,6 +22572,9 @@ class EditorJSConversionService {
|
|
|
22400
22572
|
if (currentElement.tagName.toLowerCase() === 'a' && currentElement.hasAttribute('data-htap')) {
|
|
22401
22573
|
let newLink = document.createElement('span');
|
|
22402
22574
|
newLink.innerHTML = currentElement.innerHTML;
|
|
22575
|
+
if (currentElement.classList && currentElement.classList.length > 0) {
|
|
22576
|
+
newLink.className = currentElement.className;
|
|
22577
|
+
}
|
|
22403
22578
|
newLink = this.setInlineStyle(currentElement, newLink);
|
|
22404
22579
|
if (currentElement.classList.length > 0) {
|
|
22405
22580
|
newLink.className = currentElement.className;
|
|
@@ -22411,6 +22586,10 @@ class EditorJSConversionService {
|
|
|
22411
22586
|
currentElement.parentElement.replaceChild(newLink, currentElement);
|
|
22412
22587
|
currentElement = newLink;
|
|
22413
22588
|
}
|
|
22589
|
+
if (isOrderedListChildren && currentElement.tagName.toLowerCase() === 'li') {
|
|
22590
|
+
let value = (_a = currentElement.previousElementSibling) === null || _a === void 0 ? void 0 : _a.getAttribute('value');
|
|
22591
|
+
currentElement.setAttribute('value', value ? (parseInt(value) + 1).toString() : '1');
|
|
22592
|
+
}
|
|
22414
22593
|
if (currentElement.children.length > 0) {
|
|
22415
22594
|
yield this.convertCurrentElement(currentElement);
|
|
22416
22595
|
}
|
|
@@ -22437,14 +22616,17 @@ EditorJSConversionService.decorators = [
|
|
|
22437
22616
|
EditorJSConversionService.ctorParameters = () => [];
|
|
22438
22617
|
|
|
22439
22618
|
class EditorJsComponent {
|
|
22440
|
-
constructor(translateService, editorJSConversionService) {
|
|
22619
|
+
constructor(translateService, editorJSConversionService, editorJSTranslationService) {
|
|
22441
22620
|
this.translateService = translateService;
|
|
22442
22621
|
this.editorJSConversionService = editorJSConversionService;
|
|
22622
|
+
this.editorJSTranslationService = editorJSTranslationService;
|
|
22443
22623
|
this.contentChange = new EventEmitter();
|
|
22444
22624
|
this.content = '';
|
|
22625
|
+
this.position = 'bottom';
|
|
22445
22626
|
this.uuid = v4();
|
|
22446
22627
|
this.timeoutHandle = null;
|
|
22447
22628
|
this.timeoutTextEditionHandle = null;
|
|
22629
|
+
this.onChangeTimeoutHandle = null;
|
|
22448
22630
|
this.wrapperTags = 'h1,h2,h3,h4,h5,h6,p,ul,ol,blockquote';
|
|
22449
22631
|
}
|
|
22450
22632
|
ngOnInit() {
|
|
@@ -22503,16 +22685,26 @@ class EditorJsComponent {
|
|
|
22503
22685
|
placeholder: this.placeholder,
|
|
22504
22686
|
autofocus: false,
|
|
22505
22687
|
onChange: (api, event) => {
|
|
22506
|
-
this.
|
|
22688
|
+
clearTimeout(this.onChangeTimeoutHandle);
|
|
22689
|
+
this.onChangeTimeoutHandle = setTimeout(() => {
|
|
22690
|
+
this.contentChanged(api, event);
|
|
22691
|
+
}, 300);
|
|
22507
22692
|
},
|
|
22508
22693
|
i18n: this.getI18nDictionnary(),
|
|
22509
22694
|
});
|
|
22510
22695
|
try {
|
|
22511
22696
|
yield this.editor.isReady;
|
|
22697
|
+
this.editorJSTranslationService.setDictionnary(this.getI18nDictionnary());
|
|
22512
22698
|
this.editorJSConversionService.convert(this.content).then((content) => {
|
|
22513
22699
|
this.content = content;
|
|
22514
22700
|
this.applyContent();
|
|
22515
22701
|
this.checkSingleChild();
|
|
22702
|
+
setTimeout(() => {
|
|
22703
|
+
const editorElement = document.getElementById('editorJs-' + this.uuid);
|
|
22704
|
+
editorElement.addEventListener('focusin', () => {
|
|
22705
|
+
setlistApiEditor(this.editor, editorElement);
|
|
22706
|
+
});
|
|
22707
|
+
}, 0);
|
|
22516
22708
|
});
|
|
22517
22709
|
}
|
|
22518
22710
|
catch (reason) {
|
|
@@ -22565,7 +22757,7 @@ class EditorJsComponent {
|
|
|
22565
22757
|
}
|
|
22566
22758
|
}
|
|
22567
22759
|
checkWrapper() {
|
|
22568
|
-
let currentEditor = document.
|
|
22760
|
+
let currentEditor = document.querySelector('#editorJs-' + this.uuid);
|
|
22569
22761
|
let editorBlocks = currentEditor.querySelectorAll('.codex-editor__redactor .ce-paragraph');
|
|
22570
22762
|
if (editorBlocks.length === 1 && editorBlocks[0].innerText.length === 0) {
|
|
22571
22763
|
return;
|
|
@@ -22631,6 +22823,7 @@ class EditorJsComponent {
|
|
|
22631
22823
|
while (contentElement.firstElementChild) {
|
|
22632
22824
|
if (contentElement.firstElementChild.tagName.toLowerCase() === 'ul' ||
|
|
22633
22825
|
contentElement.firstElementChild.tagName.toLowerCase() === 'ol') {
|
|
22826
|
+
setlistApiEditor(this.editor.api, currentEditor);
|
|
22634
22827
|
while (contentElement.firstElementChild.firstElementChild) {
|
|
22635
22828
|
let container = document.createElement(contentElement.firstElementChild.tagName);
|
|
22636
22829
|
container.appendChild(contentElement.firstElementChild.firstElementChild.cloneNode(true));
|
|
@@ -22639,10 +22832,12 @@ class EditorJsComponent {
|
|
|
22639
22832
|
let tmpParagraph = currentEditor.querySelectorAll('.ce-paragraph');
|
|
22640
22833
|
tmpParagraph[tmpParagraph.length - 1].innerHTML = '';
|
|
22641
22834
|
tmpParagraph[tmpParagraph.length - 1].appendChild(container);
|
|
22835
|
+
tmpParagraph[tmpParagraph.length - 1].addEventListener('keydown', onEditList, true);
|
|
22642
22836
|
}
|
|
22643
22837
|
else {
|
|
22644
22838
|
paragraph[i].innerHTML = '';
|
|
22645
22839
|
paragraph[i].appendChild(container);
|
|
22840
|
+
paragraph[i].addEventListener('keydown', onEditList, true);
|
|
22646
22841
|
}
|
|
22647
22842
|
contentElement.firstElementChild.firstElementChild.remove();
|
|
22648
22843
|
++i;
|
|
@@ -22725,17 +22920,19 @@ class EditorJsComponent {
|
|
|
22725
22920
|
EditorJsComponent.decorators = [
|
|
22726
22921
|
{ type: Component, args: [{
|
|
22727
22922
|
selector: 'wb-editorjs',
|
|
22728
|
-
template: "<div class=\"editorJs\" [id]=\"'editorJs-' + uuid\" wbAutoHide></div>\n"
|
|
22923
|
+
template: "<div [class]=\"'editorJs editorJs--' + position\" [id]=\"'editorJs-' + uuid\" wbAutoHide></div>\n"
|
|
22729
22924
|
},] }
|
|
22730
22925
|
];
|
|
22731
22926
|
EditorJsComponent.ctorParameters = () => [
|
|
22732
22927
|
{ type: TranslateService },
|
|
22733
|
-
{ type: EditorJSConversionService }
|
|
22928
|
+
{ type: EditorJSConversionService },
|
|
22929
|
+
{ type: EditorJSTranslationService }
|
|
22734
22930
|
];
|
|
22735
22931
|
EditorJsComponent.propDecorators = {
|
|
22736
22932
|
contentChange: [{ type: Output }],
|
|
22737
22933
|
content: [{ type: Input }],
|
|
22738
|
-
placeholder: [{ type: Input }]
|
|
22934
|
+
placeholder: [{ type: Input }],
|
|
22935
|
+
position: [{ type: Input }]
|
|
22739
22936
|
};
|
|
22740
22937
|
|
|
22741
22938
|
const components$2 = [
|
|
@@ -26848,7 +27045,7 @@ class TimerSimpleComponent extends StructuresComponent {
|
|
|
26848
27045
|
TimerSimpleComponent.decorators = [
|
|
26849
27046
|
{ type: Component, args: [{
|
|
26850
27047
|
selector: TimerSimpleService.selector(),
|
|
26851
|
-
template: "<div class=\"wb-timer-simple\">\n <div class=\"columns\">\n <div class=\"column\">\n <div class=\"ovh\">\n <div class=\"wb-timer-simple__config\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" *ngIf=\"showTimer\">\n <div class=\"wb-timer-simple__nodate\">\n <div class=\"wb-timer-simple__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n id=\"checkboxSwitchCalendar2-{{ uuid }}\"\n type=\"checkbox\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n (change)=\"switchMethod()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar2-{{ uuid }}\"> </label>\n </div>\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar2-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-simple__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-simple__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChangeLive($event)\"\n >\n <input\n style=\"display: none\"\n [value]=\"dateFor\"\n [nwbDatepickerStart]=\"datePicker1\"\n type=\"datetime-local\"\n />\n </nwb-date-picker>\n </div>\n </div>\n <div class=\"wb-timer-simple__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-simple__time__wrapper\">\n <div class=\"wb-timer-simple__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-simple__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-simple__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-simple__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n </div>\n <div class=\"wb-timer-simple__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n </div>\n </div>\n </wb-structure-config>\n </div>\n </div>\n <div class=\"wb-timer-simple__wrapGlobal\">\n <div\n class=\"wb-timer-simple__container\"\n *ngIf=\"showTimer\"\n [style.background-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_BACKGROUND_COLOR]\"\n >\n <div class=\"wb-timer-simple__container__timer\" [attr.data-timestamp]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DATE]\">\n <div>\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <div>\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <ul *ngIf=\"!timerEnd\">\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"days\">{{ days | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.52' | translate }}</span\n ><span></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"hours\">{{ hours | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.53' | translate }}</span\n ><span></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"minutes\">{{ minutes | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.54' | translate }}</span\n ><span></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"seconds\">{{ seconds | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.55' | translate }}</span>\n </li>\n </ul>\n </div>\n </div>\n <div class=\"wb-timer-simple__nodate\" *ngIf=\"!showTimer && contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\">\n <div class=\"wb-timer-simple__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n id=\"checkboxSwitchCalendar-{{ uuid }}\"\n type=\"checkbox\"\n (change)=\"switchMethodWithoutPersist()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-simple__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-simple__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChange($event)\"\n >\n <input style=\"display: none\" [value]=\"dateFor\" [nwbDatepickerStart]=\"datePicker1\" type=\"datetime-local\" />\n </nwb-date-picker>\n </div>\n <div class=\"wb-timer-simple__valid wb-timer-simple__valid--calendar\">\n <button class=\"button btn wb-timer-simple__button\" (click)=\"validTimeForDate()\">\n {{ 'wb.structures.template.61' | translate }}\n </button>\n </div>\n </div>\n <div class=\"wb-timer-simple__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-simple__time__wrapper\">\n <div class=\"wb-timer-simple__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\" />\n </div>\n <div class=\"wb-timer-simple__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\" />\n </div>\n <div class=\"wb-timer-simple__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\" />\n </div>\n <div class=\"wb-timer-simple__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\" />\n </div>\n </div>\n <div class=\"wb-timer-simple__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n <div class=\"wb-timer-simple__valid\">\n <button class=\"button btn wb-timer-simple__button\" (click)=\"validTimeForTimer()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
27048
|
+
template: "<div class=\"wb-timer-simple\">\n <div class=\"columns\">\n <div class=\"column\">\n <div class=\"ovh\">\n <div class=\"wb-timer-simple__config\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" *ngIf=\"showTimer\">\n <div class=\"wb-timer-simple__nodate wb-timer-simple__nodate--edit\">\n <div class=\"wb-timer-simple__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n id=\"checkboxSwitchCalendar2-{{ uuid }}\"\n type=\"checkbox\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n (change)=\"switchMethod()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar2-{{ uuid }}\"> </label>\n </div>\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar2-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-simple__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-simple__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChangeLive($event)\"\n >\n <input\n style=\"display: none\"\n [value]=\"dateFor\"\n [nwbDatepickerStart]=\"datePicker1\"\n type=\"datetime-local\"\n />\n </nwb-date-picker>\n </div>\n </div>\n <div class=\"wb-timer-simple__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-simple__time__wrapper\">\n <div class=\"wb-timer-simple__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-simple__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-simple__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-simple__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n </div>\n <div class=\"wb-timer-simple__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n </div>\n </div>\n </wb-structure-config>\n </div>\n </div>\n <div class=\"wb-timer-simple__wrapGlobal\">\n <div\n class=\"wb-timer-simple__container\"\n *ngIf=\"showTimer\"\n [style.background-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_BACKGROUND_COLOR]\"\n >\n <div class=\"wb-timer-simple__container__timer\" [attr.data-timestamp]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DATE]\">\n <div>\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <div>\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <ul *ngIf=\"!timerEnd\">\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"days\">{{ days | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.52' | translate }}</span\n ><span></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"hours\">{{ hours | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.53' | translate }}</span\n ><span></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"minutes\">{{ minutes | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.54' | translate }}</span\n ><span></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"seconds\">{{ seconds | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.55' | translate }}</span>\n </li>\n </ul>\n </div>\n </div>\n <div class=\"wb-timer-simple__nodate\" *ngIf=\"!showTimer && contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\">\n <div class=\"wb-timer-simple__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n id=\"checkboxSwitchCalendar-{{ uuid }}\"\n type=\"checkbox\"\n (change)=\"switchMethodWithoutPersist()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-simple__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-simple__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChange($event)\"\n >\n <input style=\"display: none\" [value]=\"dateFor\" [nwbDatepickerStart]=\"datePicker1\" type=\"datetime-local\" />\n </nwb-date-picker>\n </div>\n <div class=\"wb-timer-simple__valid wb-timer-simple__valid--calendar\">\n <button class=\"button btn wb-timer-simple__button\" (click)=\"validTimeForDate()\">\n {{ 'wb.structures.template.61' | translate }}\n </button>\n </div>\n </div>\n <div class=\"wb-timer-simple__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-simple__time__wrapper\">\n <div class=\"wb-timer-simple__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\" />\n </div>\n <div class=\"wb-timer-simple__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\" />\n </div>\n <div class=\"wb-timer-simple__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\" />\n </div>\n <div class=\"wb-timer-simple__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\" />\n </div>\n </div>\n <div class=\"wb-timer-simple__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n <div class=\"wb-timer-simple__valid\">\n <button class=\"button btn wb-timer-simple__button\" (click)=\"validTimeForTimer()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
26852
27049
|
},] }
|
|
26853
27050
|
];
|
|
26854
27051
|
TimerSimpleComponent.ctorParameters = () => [
|
|
@@ -26980,7 +27177,7 @@ class TimerBackgroundComponent extends StructuresComponent {
|
|
|
26980
27177
|
TimerBackgroundComponent.decorators = [
|
|
26981
27178
|
{ type: Component, args: [{
|
|
26982
27179
|
selector: TimerBackgroundService.selector(),
|
|
26983
|
-
template: "<div class=\"wb-timer-background\">\n <div class=\"columns\">\n <div class=\"column\">\n <div class=\"ovh ovh--decal\">\n <div class=\"wb-timer-background__config\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" *ngIf=\"showTimer\">\n <div class=\"wb-timer-background__nodate\">\n <div class=\"wb-timer-background__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n id=\"checkboxSwitchCalendar4-{{ uuid }}\"\n type=\"checkbox\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n (change)=\"switchMethod()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar4-{{ uuid }}\"> </label>\n </div>\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar4-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-background__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-background__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChangeLive($event)\"\n >\n <input\n style=\"display: none\"\n [value]=\"dateFor\"\n [nwbDatepickerStart]=\"datePicker1\"\n type=\"datetime-local\"\n />\n </nwb-date-picker>\n </div>\n </div>\n <div class=\"wb-timer-background__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-background__time__wrapper\">\n <div class=\"wb-timer-background__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-background__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-background__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-background__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n </div>\n <div class=\"wb-timer-background__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n </div>\n </div>\n </wb-structure-config>\n </div>\n </div>\n <div class=\"wb-timer-background__wrapGlobal\">\n <div\n class=\"wb-timer-background__container\"\n *ngIf=\"contentBlock[FORM_NAME_IMAGE] && showTimer\"\n [style.background-image]=\"'url(' + contentBlock[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n >\n <div\n wbGetSizeImageDirective\n [urlToParse]=\"contentBlock[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE, $event)\"\n *ngIf=\"contentBlock[FORM_NAME_IMAGE]\"\n (click)=\"getMedia()\"\n class=\"wb-timer-background__container__image\"\n ></div>\n <div>\n <wb-editorjs\n [(content)]=\"contentBlock[FORM_NAME_TITLE]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <div>\n <wb-editorjs\n [(content)]=\"contentBlock[FORM_NAME_CONTENT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <div\n class=\"wb-timer-background__container__timer\"\n [style.border-color]=\"contentBlock[FORM_NAME_COLOR]\"\n [attr.data-timestamp]=\"contentBlock[FORM_NAME_DATE]\"\n >\n <ul>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"days\">{{ days | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.47' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contentBlock[FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"hours\">{{ hours | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.48' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contentBlock[FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"minutes\">{{ minutes | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.49' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contentBlock[FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"seconds\">{{ seconds | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.50' | translate }}</span>\n </li>\n </ul>\n </div>\n </div>\n <div class=\"wb-timer-background__noimages\" *ngIf=\"showTimer && !contentBlock[FORM_NAME_IMAGE]\" (click)=\"getMedia()\">\n <p>\n <i class=\"fal fa-image\"></i> <span>{{ 'wb.structures.template.8' | translate }}</span>\n </p>\n </div>\n <div class=\"wb-timer-background__nodate\" *ngIf=\"!showTimer && contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\">\n <div class=\"wb-timer-background__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n id=\"checkboxSwitchCalendar-{{ uuid }}\"\n type=\"checkbox\"\n (change)=\"switchMethodWithoutPersist()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-background__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-background__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChange($event)\"\n >\n <input style=\"display: none\" [value]=\"dateFor\" [nwbDatepickerStart]=\"datePicker1\" type=\"datetime-local\" />\n </nwb-date-picker>\n </div>\n <div class=\"wb-timer-background__valid wb-timer-background__valid--calendar\">\n <button class=\"button btn wb-timer-background__button\" (click)=\"validTimeForDate()\">\n {{ 'wb.structures.template.61' | translate }}\n </button>\n </div>\n </div>\n <div class=\"wb-timer-background__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-background__time__wrapper\">\n <div class=\"wb-timer-background__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\" />\n </div>\n <div class=\"wb-timer-background__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\" />\n </div>\n <div class=\"wb-timer-background__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\" />\n </div>\n <div class=\"wb-timer-background__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\" />\n </div>\n </div>\n <div class=\"wb-timer-background__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n <div class=\"wb-timer-background__valid\">\n <button class=\"button btn wb-timer-background__button\" (click)=\"validTimeForTimer()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
27180
|
+
template: "<div class=\"wb-timer-background\">\n <div class=\"columns\">\n <div class=\"column\">\n <div class=\"ovh ovh--decal\">\n <div class=\"wb-timer-background__config\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" *ngIf=\"showTimer\">\n <div class=\"wb-timer-background__nodate wb-timer-background__nodate--edit\">\n <div class=\"wb-timer-background__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n id=\"checkboxSwitchCalendar4-{{ uuid }}\"\n type=\"checkbox\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n (change)=\"switchMethod()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar4-{{ uuid }}\"> </label>\n </div>\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar4-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-background__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-background__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChangeLive($event)\"\n >\n <input\n style=\"display: none\"\n [value]=\"dateFor\"\n [nwbDatepickerStart]=\"datePicker1\"\n type=\"datetime-local\"\n />\n </nwb-date-picker>\n </div>\n </div>\n <div class=\"wb-timer-background__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-background__time__wrapper\">\n <div class=\"wb-timer-background__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-background__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-background__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-background__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n </div>\n <div class=\"wb-timer-background__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n </div>\n </div>\n </wb-structure-config>\n </div>\n </div>\n <div class=\"wb-timer-background__wrapGlobal\">\n <div\n class=\"wb-timer-background__container\"\n *ngIf=\"contentBlock[FORM_NAME_IMAGE] && showTimer\"\n [style.background-image]=\"'url(' + contentBlock[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n >\n <div\n wbGetSizeImageDirective\n [urlToParse]=\"contentBlock[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE, $event)\"\n *ngIf=\"contentBlock[FORM_NAME_IMAGE]\"\n (click)=\"getMedia()\"\n class=\"wb-timer-background__container__image\"\n ></div>\n <div>\n <wb-editorjs\n [(content)]=\"contentBlock[FORM_NAME_TITLE]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <div>\n <wb-editorjs\n [(content)]=\"contentBlock[FORM_NAME_CONTENT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <div\n class=\"wb-timer-background__container__timer\"\n [style.border-color]=\"contentBlock[FORM_NAME_COLOR]\"\n [attr.data-timestamp]=\"contentBlock[FORM_NAME_DATE]\"\n >\n <ul>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"days\">{{ days | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.47' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contentBlock[FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"hours\">{{ hours | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.48' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contentBlock[FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"minutes\">{{ minutes | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.49' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contentBlock[FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"seconds\">{{ seconds | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.50' | translate }}</span>\n </li>\n </ul>\n </div>\n </div>\n <div class=\"wb-timer-background__noimages\" *ngIf=\"showTimer && !contentBlock[FORM_NAME_IMAGE]\" (click)=\"getMedia()\">\n <p>\n <i class=\"fal fa-image\"></i> <span>{{ 'wb.structures.template.8' | translate }}</span>\n </p>\n </div>\n <div class=\"wb-timer-background__nodate\" *ngIf=\"!showTimer && contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\">\n <div class=\"wb-timer-background__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n id=\"checkboxSwitchCalendar-{{ uuid }}\"\n type=\"checkbox\"\n (change)=\"switchMethodWithoutPersist()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-background__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-background__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChange($event)\"\n >\n <input style=\"display: none\" [value]=\"dateFor\" [nwbDatepickerStart]=\"datePicker1\" type=\"datetime-local\" />\n </nwb-date-picker>\n </div>\n <div class=\"wb-timer-background__valid wb-timer-background__valid--calendar\">\n <button class=\"button btn wb-timer-background__button\" (click)=\"validTimeForDate()\">\n {{ 'wb.structures.template.61' | translate }}\n </button>\n </div>\n </div>\n <div class=\"wb-timer-background__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-background__time__wrapper\">\n <div class=\"wb-timer-background__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\" />\n </div>\n <div class=\"wb-timer-background__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\" />\n </div>\n <div class=\"wb-timer-background__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\" />\n </div>\n <div class=\"wb-timer-background__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\" />\n </div>\n </div>\n <div class=\"wb-timer-background__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n <div class=\"wb-timer-background__valid\">\n <button class=\"button btn wb-timer-background__button\" (click)=\"validTimeForTimer()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
26984
27181
|
},] }
|
|
26985
27182
|
];
|
|
26986
27183
|
TimerBackgroundComponent.ctorParameters = () => [
|
|
@@ -27112,7 +27309,7 @@ class TimerClockComponent extends StructuresComponent {
|
|
|
27112
27309
|
TimerClockComponent.decorators = [
|
|
27113
27310
|
{ type: Component, args: [{
|
|
27114
27311
|
selector: TimerClockService.selector(),
|
|
27115
|
-
template: "<div class=\"wb-timer-clock\">\n <div class=\"columns\">\n <div class=\"column\">\n <div class=\"ovh\">\n <div class=\"wb-timer-clock__config\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE] && showTimer\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" *ngIf=\"showTimer\">\n <div class=\"wb-timer-clock__nodate\">\n <div class=\"wb-timer-clock__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n id=\"checkboxSwitchCalendar3-{{ uuid }}\"\n type=\"checkbox\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n (change)=\"switchMethod()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar3-{{ uuid }}\"> </label>\n </div>\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar3-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-clock__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-clock__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChangeLive($event)\"\n >\n <input\n style=\"display: none\"\n [value]=\"dateFor\"\n [nwbDatepickerStart]=\"datePicker1\"\n type=\"datetime-local\"\n />\n </nwb-date-picker>\n </div>\n </div>\n <div class=\"wb-timer-clock__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-clock__time__wrapper\">\n <div class=\"wb-timer-clock__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-clock__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-clock__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-clock__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n </div>\n <div class=\"wb-timer-clock__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n </div>\n </div>\n </wb-structure-config>\n </div>\n </div>\n <div class=\"wb-timer-clock__wrapGlobal\">\n <div\n wbPicturesTemplateDirective\n [dimensions]=\"'1880x638'\"\n class=\"wb-timer-clock__noimages\"\n *ngIf=\"showTimer && !contentBlock[FORM_NAME_IMAGE]\"\n (click)=\"getMedia()\"\n ></div>\n <div\n class=\"wb-timer-clock__container\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE] && showTimer\"\n [style.background-image]=\"'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n >\n <div\n wbGetSizeImageDirective\n [dimensions]=\"'1880x638'\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE, $event)\"\n [style.background-image]=\"'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE]\"\n (click)=\"getMedia()\"\n class=\"wb-timer-clock__container__image\"\n ></div>\n <div\n class=\"wb-timer-clock__container__timer\"\n [style.border-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\"\n [attr.data-timestamp]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DATE]\"\n >\n <ul>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"days\">{{ days | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.47' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"hours\">{{ hours | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.48' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"minutes\">{{ minutes | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.49' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"seconds\">{{ seconds | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.50' | translate }}</span>\n </li>\n </ul>\n </div>\n <div class=\"clock\" [attr.data-second]=\"seconds\">\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span>\n </div>\n </div>\n <div class=\"wb-timer-clock__nodate\" *ngIf=\"!showTimer && contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\">\n <div class=\"wb-timer-clock__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n id=\"checkboxSwitchCalendar-{{ uuid }}\"\n type=\"checkbox\"\n (change)=\"switchMethodWithoutPersist()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-clock__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-clock__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChange($event)\"\n >\n <input style=\"display: none\" [value]=\"dateFor\" [nwbDatepickerStart]=\"datePicker1\" type=\"datetime-local\" />\n </nwb-date-picker>\n </div>\n <div class=\"wb-timer-clock__valid wb-timer-clock__valid--calendar\">\n <button class=\"button btn wb-timer-clock__button\" (click)=\"validTimeForDate()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n <div class=\"wb-timer-clock__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-clock__time__wrapper\">\n <div class=\"wb-timer-clock__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\" />\n </div>\n <div class=\"wb-timer-clock__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\" />\n </div>\n <div class=\"wb-timer-clock__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\" />\n </div>\n <div class=\"wb-timer-clock__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\" />\n </div>\n </div>\n <div class=\"wb-timer-clock__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n <div class=\"wb-timer-clock__valid\">\n <button class=\"button btn wb-timer-clock__button\" (click)=\"validTimeForTimer()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
27312
|
+
template: "<div class=\"wb-timer-clock\">\n <div class=\"columns\">\n <div class=\"column\">\n <div class=\"ovh\">\n <div class=\"wb-timer-clock__config\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE] && showTimer\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" *ngIf=\"showTimer\">\n <div class=\"wb-timer-clock__nodate wb-timer-clock__nodate--edit\">\n <div class=\"wb-timer-clock__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n id=\"checkboxSwitchCalendar3-{{ uuid }}\"\n type=\"checkbox\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n (change)=\"switchMethod()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar3-{{ uuid }}\"> </label>\n </div>\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar3-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-clock__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-clock__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChangeLive($event)\"\n >\n <input\n style=\"display: none\"\n [value]=\"dateFor\"\n [nwbDatepickerStart]=\"datePicker1\"\n type=\"datetime-local\"\n />\n </nwb-date-picker>\n </div>\n </div>\n <div class=\"wb-timer-clock__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-clock__time__wrapper\">\n <div class=\"wb-timer-clock__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-clock__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-clock__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-clock__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n </div>\n <div class=\"wb-timer-clock__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n </div>\n </div>\n </wb-structure-config>\n </div>\n </div>\n <div class=\"wb-timer-clock__wrapGlobal\">\n <div\n wbPicturesTemplateDirective\n [dimensions]=\"'1880x638'\"\n class=\"wb-timer-clock__noimages\"\n *ngIf=\"showTimer && !contentBlock[FORM_NAME_IMAGE]\"\n (click)=\"getMedia()\"\n ></div>\n <div\n class=\"wb-timer-clock__container\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE] && showTimer\"\n [style.background-image]=\"'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n >\n <div\n wbGetSizeImageDirective\n [dimensions]=\"'1880x638'\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE, $event)\"\n [style.background-image]=\"'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE]\"\n (click)=\"getMedia()\"\n class=\"wb-timer-clock__container__image\"\n ></div>\n <div\n class=\"wb-timer-clock__container__timer\"\n [style.border-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\"\n [attr.data-timestamp]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DATE]\"\n >\n <ul>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"days\">{{ days | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.47' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"hours\">{{ hours | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.48' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"minutes\">{{ minutes | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.49' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"seconds\">{{ seconds | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.50' | translate }}</span>\n </li>\n </ul>\n </div>\n <div class=\"clock\" [attr.data-second]=\"seconds\">\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span>\n </div>\n </div>\n <div class=\"wb-timer-clock__nodate\" *ngIf=\"!showTimer && contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\">\n <div class=\"wb-timer-clock__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n id=\"checkboxSwitchCalendar-{{ uuid }}\"\n type=\"checkbox\"\n (change)=\"switchMethodWithoutPersist()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-clock__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-clock__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChange($event)\"\n >\n <input style=\"display: none\" [value]=\"dateFor\" [nwbDatepickerStart]=\"datePicker1\" type=\"datetime-local\" />\n </nwb-date-picker>\n </div>\n <div class=\"wb-timer-clock__valid wb-timer-clock__valid--calendar\">\n <button class=\"button btn wb-timer-clock__button\" (click)=\"validTimeForDate()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n <div class=\"wb-timer-clock__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-clock__time__wrapper\">\n <div class=\"wb-timer-clock__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\" />\n </div>\n <div class=\"wb-timer-clock__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\" />\n </div>\n <div class=\"wb-timer-clock__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\" />\n </div>\n <div class=\"wb-timer-clock__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\" />\n </div>\n </div>\n <div class=\"wb-timer-clock__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n <div class=\"wb-timer-clock__valid\">\n <button class=\"button btn wb-timer-clock__button\" (click)=\"validTimeForTimer()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
27116
27313
|
},] }
|
|
27117
27314
|
];
|
|
27118
27315
|
TimerClockComponent.ctorParameters = () => [
|
|
@@ -27276,7 +27473,7 @@ class TimerAirportComponent extends StructuresComponent {
|
|
|
27276
27473
|
TimerAirportComponent.decorators = [
|
|
27277
27474
|
{ type: Component, args: [{
|
|
27278
27475
|
selector: TimerAirportService.selector(),
|
|
27279
|
-
template: "<div class=\"wb-timer-airport\">\n <div class=\"columns\">\n <div class=\"column\">\n <div class=\"ovh\">\n <div class=\"wb-timer-airport__config\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" *ngIf=\"showTimer\">\n <div class=\"wb-timer-airport__nodate\">\n <div class=\"wb-timer-airport__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n id=\"checkboxSwitchCalendar5-{{ uuid }}\"\n type=\"checkbox\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n (change)=\"switchMethod()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar5-{{ uuid }}\"> </label>\n </div>\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar5-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-airport__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-airport__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChangeLive($event)\"\n >\n <input\n style=\"display: none\"\n [value]=\"dateFor\"\n [nwbDatepickerStart]=\"datePicker1\"\n type=\"datetime-local\"\n />\n </nwb-date-picker>\n </div>\n </div>\n <div class=\"wb-timer-airport__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-airport__time__wrapper\">\n <div class=\"wb-timer-airport__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-airport__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-airport__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-airport__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n </div>\n <div class=\"wb-timer-airport__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n </div>\n </div>\n </wb-structure-config>\n </div>\n </div>\n <div class=\"wb-timer-airport__wrapGlobal\">\n <div\n class=\"wb-timer-airport__container\"\n *ngIf=\"showTimer\"\n [style.background-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_BACKGROUND_COLOR]\"\n >\n <div class=\"wb-timer-airport__container__timer\" [attr.data-timestamp]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DATE]\">\n <div>\n <wb-editorjs\n [(content)]=\"contentBlock[FORM_NAME_TITLE]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <div>\n <wb-editorjs\n [(content)]=\"contentBlock[FORM_NAME_CONTENT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <ul *ngIf=\"!timerEnd\">\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <div class=\"days\">\n <span>{{ daysFirst }}</span\n ><span>{{ daysSecond }}</span>\n </div>\n <span class=\"text\">{{ 'wb.structures.template.47' | translate }}</span\n ><span></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <div class=\"hours\">\n <span>{{ hoursFirst }}</span\n ><span>{{ hoursSecond }}</span>\n </div>\n <span class=\"text\">{{ 'wb.structures.template.48' | translate }}</span\n ><span></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <div class=\"minutes\">\n <span>{{ minutesFirst }}</span\n ><span>{{ minutesSecond }}</span>\n </div>\n <span class=\"text\">{{ 'wb.structures.template.49' | translate }}</span\n ><span></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <div class=\"seconds\">\n <span>{{ secondsFirst }}</span\n ><span>{{ secondsSecond }}</span>\n </div>\n <span class=\"text\">{{ 'wb.structures.template.50' | translate }}</span>\n </li>\n </ul>\n </div>\n </div>\n <div class=\"wb-timer-airport__nodate\" *ngIf=\"!showTimer && contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\">\n <div class=\"wb-timer-airport__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n id=\"checkboxSwitchCalendar-{{ uuid }}\"\n type=\"checkbox\"\n (change)=\"switchMethodWithoutPersist()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-airport__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-airport__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChange($event)\"\n >\n <input style=\"display: none\" [value]=\"dateFor\" [nwbDatepickerStart]=\"datePicker1\" type=\"datetime-local\" />\n </nwb-date-picker>\n </div>\n <div class=\"wb-timer-airport__valid wb-timer-airport__valid--calendar\">\n <button class=\"button btn wb-timer-airport__button\" (click)=\"validTimeForDate()\">\n {{ 'wb.structures.template.61' | translate }}\n </button>\n </div>\n </div>\n <div class=\"wb-timer-airport__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-airport__time__wrapper\">\n <div class=\"wb-timer-airport__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\" />\n </div>\n <div class=\"wb-timer-airport__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\" />\n </div>\n <div class=\"wb-timer-airport__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\" />\n </div>\n <div class=\"wb-timer-airport__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\" />\n </div>\n </div>\n <div class=\"wb-timer-airport__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n <div class=\"wb-timer-airport__valid\">\n <button class=\"button btn wb-timer-airport__button\" (click)=\"validTimeForTimer()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
27476
|
+
template: "<div class=\"wb-timer-airport\">\n <div class=\"columns\">\n <div class=\"column\">\n <div class=\"ovh\">\n <div class=\"wb-timer-airport__config\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" *ngIf=\"showTimer\">\n <div class=\"wb-timer-airport__nodate wb-timer-airport__nodate--edit\">\n <div class=\"wb-timer-airport__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n id=\"checkboxSwitchCalendar5-{{ uuid }}\"\n type=\"checkbox\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n (change)=\"switchMethod()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar5-{{ uuid }}\"> </label>\n </div>\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar5-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-airport__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-airport__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChangeLive($event)\"\n >\n <input\n style=\"display: none\"\n [value]=\"dateFor\"\n [nwbDatepickerStart]=\"datePicker1\"\n type=\"datetime-local\"\n />\n </nwb-date-picker>\n </div>\n </div>\n <div class=\"wb-timer-airport__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-airport__time__wrapper\">\n <div class=\"wb-timer-airport__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-airport__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-airport__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-airport__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n </div>\n <div class=\"wb-timer-airport__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n </div>\n </div>\n </wb-structure-config>\n </div>\n </div>\n <div class=\"wb-timer-airport__wrapGlobal\">\n <div\n class=\"wb-timer-airport__container\"\n *ngIf=\"showTimer\"\n [style.background-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_BACKGROUND_COLOR]\"\n >\n <div class=\"wb-timer-airport__container__timer\" [attr.data-timestamp]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DATE]\">\n <div>\n <wb-editorjs\n [(content)]=\"contentBlock[FORM_NAME_TITLE]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <div>\n <wb-editorjs\n [(content)]=\"contentBlock[FORM_NAME_CONTENT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <ul *ngIf=\"!timerEnd\">\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <div class=\"days\">\n <span>{{ daysFirst }}</span\n ><span>{{ daysSecond }}</span>\n </div>\n <span class=\"text\">{{ 'wb.structures.template.47' | translate }}</span\n ><span></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <div class=\"hours\">\n <span>{{ hoursFirst }}</span\n ><span>{{ hoursSecond }}</span>\n </div>\n <span class=\"text\">{{ 'wb.structures.template.48' | translate }}</span\n ><span></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <div class=\"minutes\">\n <span>{{ minutesFirst }}</span\n ><span>{{ minutesSecond }}</span>\n </div>\n <span class=\"text\">{{ 'wb.structures.template.49' | translate }}</span\n ><span></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <div class=\"seconds\">\n <span>{{ secondsFirst }}</span\n ><span>{{ secondsSecond }}</span>\n </div>\n <span class=\"text\">{{ 'wb.structures.template.50' | translate }}</span>\n </li>\n </ul>\n </div>\n </div>\n <div class=\"wb-timer-airport__nodate\" *ngIf=\"!showTimer && contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\">\n <div class=\"wb-timer-airport__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n id=\"checkboxSwitchCalendar-{{ uuid }}\"\n type=\"checkbox\"\n (change)=\"switchMethodWithoutPersist()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-airport__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-airport__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChange($event)\"\n >\n <input style=\"display: none\" [value]=\"dateFor\" [nwbDatepickerStart]=\"datePicker1\" type=\"datetime-local\" />\n </nwb-date-picker>\n </div>\n <div class=\"wb-timer-airport__valid wb-timer-airport__valid--calendar\">\n <button class=\"button btn wb-timer-airport__button\" (click)=\"validTimeForDate()\">\n {{ 'wb.structures.template.61' | translate }}\n </button>\n </div>\n </div>\n <div class=\"wb-timer-airport__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-airport__time__wrapper\">\n <div class=\"wb-timer-airport__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\" />\n </div>\n <div class=\"wb-timer-airport__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\" />\n </div>\n <div class=\"wb-timer-airport__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\" />\n </div>\n <div class=\"wb-timer-airport__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\" />\n </div>\n </div>\n <div class=\"wb-timer-airport__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n <div class=\"wb-timer-airport__valid\">\n <button class=\"button btn wb-timer-airport__button\" (click)=\"validTimeForTimer()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
27280
27477
|
},] }
|
|
27281
27478
|
];
|
|
27282
27479
|
TimerAirportComponent.ctorParameters = () => [
|
|
@@ -28552,7 +28749,7 @@ class TimerMultipleImgComponent extends StructuresComponent {
|
|
|
28552
28749
|
TimerMultipleImgComponent.decorators = [
|
|
28553
28750
|
{ type: Component, args: [{
|
|
28554
28751
|
selector: TimerMultipleImgService.selector(),
|
|
28555
|
-
template: "<div class=\"wb-timer-multiple-img\" [ngClass]=\"{ 'is-active': hasTooltipFocusedLeftTop }\">\n <div class=\"ovh\">\n <div class=\"wb-timer-multiple-img__config\">\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\"\n *ngIf=\"\n showTimer &&\n !contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP] &&\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM]\n \"\n >\n <div class=\"wb-timer-multiple-img__nodate\">\n <div class=\"wb-timer-multiple-img__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n id=\"checkboxSwitchCalendar4-{{ uuid }}\"\n type=\"checkbox\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n (change)=\"switchMethod()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar4-{{ uuid }}\"> </label>\n </div>\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar4-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-multiple-img__calendar\" *ngIf=\"!isCalendar\">\n <div class=\"wb-timer-multiple-img__calendar__wrapper transform\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChangeLive($event)\"\n >\n <input style=\"display: none\" [value]=\"dateFor\" [nwbDatepickerStart]=\"datePicker1\" type=\"datetime-local\" />\n </nwb-date-picker>\n </div>\n </div>\n <div class=\"wb-timer-multiple-img__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-multiple-img__time__wrapper\">\n <div class=\"wb-timer-multiple-img__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-multiple-img__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-multiple-img__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-multiple-img__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n </div>\n <div class=\"wb-timer-multiple-img__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n </div>\n </div>\n </wb-structure-config>\n </div>\n </div>\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_TOP]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP][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_TOP][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_TOP][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_LEFT_BOTTOM\"\n [isFullwidth]=\"true\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM][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_BOTTOM][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_BOTTOM][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 class=\"wb-timer-multiple-img__middle-left wb-timer-multiple-img__middle-left-right\"\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_RIGHT_TOP\"\n [isFullwidth]=\"true\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP][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_MIDDLE_TOP][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_MIDDLE_TOP][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 class=\"wb-timer-multiple-img__middle-right wb-timer-multiple-img__middle-right-middle\"\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_RIGHT_BOTTOM\"\n [isFullwidth]=\"true\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM][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_MIDDLE_BOTTOM][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_MIDDLE_BOTTOM][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 [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </div>\n </div>\n </wb-structure-config>\n <div\n class=\"wb-timer-multiple-img__wrapGlobal\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__wrapGlobal--auto': showTimer && !contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\n }\"\n >\n <div class=\"columns no-margin no-padding\" *ngIf=\"showTimer && !contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\">\n <div class=\"column is-two-thirds no-padding\">\n <div class=\"columns no-padding-except-bottom no-margin\">\n <div class=\"column wb-timer-multiple-img__small padding-left\">\n <div\n class=\"wb-timer-multiple-img__container\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-timer-multiple-img__container__images\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP]\"\n >\n <div>\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes3[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE_LEFT_TOP, $event)\"\n [style.background-image]=\"\n 'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP][FORM_NAME_IMAGE_URL] + ')'\n \"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_LEFT_TOP)\"\n class=\"wb-timer-multiple-img__container__images__item wb-timer-multiple-img__container__images__item--leftTop\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container__images__item--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container__images__item--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__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-timer-multiple-img__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes3[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_LEFT_TOP)\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__noimages--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__noimages--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__noimages--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n\n <div class=\"column is-two-thirds wb-timer-multiple-img__big padding-right\">\n <div\n class=\"wb-timer-multiple-img__container\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-timer-multiple-img__container__images\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP]\"\n >\n <div>\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes1[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE_MIDDLE_TOP, $event)\"\n [style.background-image]=\"\n 'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP][FORM_NAME_IMAGE_URL] + ')'\n \"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_MIDDLE_TOP)\"\n class=\"wb-timer-multiple-img__container__images__item wb-timer-multiple-img__container__images__item--middleTop\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container__images__item--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container__images__item--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__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-timer-multiple-img__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes1[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_MIDDLE_TOP)\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__noimages--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__noimages--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__noimages--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n </div>\n\n <div class=\"columns no-margin no-padding\">\n <div class=\"column is-two-thirds wb-timer-multiple-img__big padding-left\">\n <div\n class=\"wb-timer-multiple-img__container wb-timer-multiple-img__container--leftBottom\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-timer-multiple-img__container__images\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM]\"\n >\n <div>\n <div\n class=\"wb-timer-multiple-img__container__images__item wb-timer-multiple-img__container__images__item--leftBottom\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container__images__item--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container__images__item--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container__images__item--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-timer-multiple-img__container__images__item__uploadImg\"\n wbGetSizeImageDirective\n [dimensions]=\"sizes2[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE_LEFT_BOTTOM, $event)\"\n [style.background-image]=\"\n 'url(' +\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM][FORM_NAME_IMAGE_URL] +\n ')'\n \"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_LEFT_BOTTOM)\"\n ></div>\n <div class=\"wb-timer-multiple-img__container__images__item__timer\">\n <div\n class=\"wb-timer-multiple-img__container__images__item__timer__background\"\n [style.background-color]=\"contentBlock[FORM_NAME_BACKGROUND_COLOR]\"\n ></div>\n <div\n class=\"wb-timer-multiple-img__container__images__item__timer__content\"\n [style.background-color]=\"contentBlock[FORM_NAME_BACKGROUND_COLOR]\"\n >\n <ul>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"days\">{{ days | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.47' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contentBlock[FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"hours\">{{ hours | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.48' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contentBlock[FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"minutes\">{{ minutes | addZeroForTimer }}</span\n ><span>Minutes</span><span></span>\n <span class=\"tiret\" [style.background-color]=\"contentBlock[FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"seconds\">{{ seconds | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.50' | translate }}</span>\n </li>\n </ul>\n <div class=\"wb-timer-multiple-img__container__images__item__timer__content__text\">\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <div class=\"wb-timer-multiple-img__container__images__item__timer__content__button\">\n <span [style.background-color]=\"contentBlock[FORM_NAME_BACKGROUND_COLOR_BUTTON]\">\n <span [style.color]=\"contentBlock[FORM_NAME_COLOR_BUTTON]\">{{\n contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE]\n }}</span>\n </span>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div\n class=\"wb-timer-multiple-img__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes2[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_LEFT_BOTTOM)\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__noimages--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__noimages--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__noimages--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n\n <div class=\"column wb-timer-multiple-img__small padding-right\">\n <div\n class=\"wb-timer-multiple-img__container\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-timer-multiple-img__container__images\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM]\"\n >\n <div>\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes3[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE_MIDDLE_BOTTOM, $event)\"\n [style.background-image]=\"\n 'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM][FORM_NAME_IMAGE_URL] + ')'\n \"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_MIDDLE_BOTTOM)\"\n class=\"wb-timer-multiple-img__container__images__item wb-timer-multiple-img__container__images__item--middleBottom\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container__images__item--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container__images__item--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__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-timer-multiple-img__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes3[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_MIDDLE_BOTTOM)\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__noimages--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__noimages--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__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 class=\"column wb-timer-multiple-img__single\">\n <div\n class=\"wb-timer-multiple-img__container wb-timer-multiple-img__container--right\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div class=\"wb-timer-multiple-img__container__images\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT]\">\n <div>\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes4[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-timer-multiple-img__container__images__item wb-timer-multiple-img__container__images__item--right\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container__images__item--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container__images__item--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__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-timer-multiple-img__noimages wb-timer-multiple-img__noimages--right\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes4[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-timer-multiple-img__noimages--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__noimages--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__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=\"wb-timer-multiple-img__nodate\" *ngIf=\"!showTimer && contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\">\n <div class=\"wb-timer-multiple-img__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n id=\"checkboxSwitchCalendar-{{ uuid }}\"\n type=\"checkbox\"\n (change)=\"switchMethodWithoutPersist()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-multiple-img__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-multiple-img__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChange($event)\"\n >\n <input style=\"display: none\" [value]=\"dateFor\" [nwbDatepickerStart]=\"datePicker1\" type=\"datetime-local\" />\n </nwb-date-picker>\n </div>\n <div class=\"wb-timer-multiple-img__valid wb-timer-multiple-img__valid--calendar\">\n <button class=\"button btn wb-timer-multiple-img__button\" (click)=\"validTimeForDate()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n <div class=\"wb-timer-multiple-img__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-multiple-img__time__wrapper\">\n <div class=\"wb-timer-multiple-img__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\" />\n </div>\n <div class=\"wb-timer-multiple-img__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\" />\n </div>\n <div class=\"wb-timer-multiple-img__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\" />\n </div>\n <div class=\"wb-timer-multiple-img__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\" />\n </div>\n </div>\n <div class=\"wb-timer-multiple-img__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n <div class=\"wb-timer-multiple-img__valid\">\n <button class=\"button btn wb-timer-multiple-img__button\" (click)=\"validTimeForTimer()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
28752
|
+
template: "<div class=\"wb-timer-multiple-img\" [ngClass]=\"{ 'is-active': hasTooltipFocusedLeftTop }\">\n <div class=\"ovh\">\n <div class=\"wb-timer-multiple-img__config\">\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\"\n *ngIf=\"\n showTimer &&\n !contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP] &&\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM]\n \"\n >\n <div class=\"wb-timer-multiple-img__nodate wb-timer-multiple-img__nodate--edit\">\n <div class=\"wb-timer-multiple-img__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n id=\"checkboxSwitchCalendar4-{{ uuid }}\"\n type=\"checkbox\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n (change)=\"switchMethod()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar4-{{ uuid }}\"> </label>\n </div>\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar4-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-multiple-img__calendar\" *ngIf=\"!isCalendar\">\n <div class=\"wb-timer-multiple-img__calendar__wrapper transform\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChangeLive($event)\"\n >\n <input style=\"display: none\" [value]=\"dateFor\" [nwbDatepickerStart]=\"datePicker1\" type=\"datetime-local\" />\n </nwb-date-picker>\n </div>\n </div>\n <div class=\"wb-timer-multiple-img__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-multiple-img__time__wrapper\">\n <div class=\"wb-timer-multiple-img__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-multiple-img__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-multiple-img__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-multiple-img__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n </div>\n <div class=\"wb-timer-multiple-img__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n </div>\n </div>\n </wb-structure-config>\n </div>\n </div>\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_TOP]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP][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_TOP][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_TOP][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_LEFT_BOTTOM\"\n [isFullwidth]=\"true\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM][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_BOTTOM][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_BOTTOM][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 class=\"wb-timer-multiple-img__middle-left wb-timer-multiple-img__middle-left-right\"\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_RIGHT_TOP\"\n [isFullwidth]=\"true\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP][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_MIDDLE_TOP][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_MIDDLE_TOP][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 class=\"wb-timer-multiple-img__middle-right wb-timer-multiple-img__middle-right-middle\"\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_RIGHT_BOTTOM\"\n [isFullwidth]=\"true\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM][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_MIDDLE_BOTTOM][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_MIDDLE_BOTTOM][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 [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </div>\n </div>\n </wb-structure-config>\n <div\n class=\"wb-timer-multiple-img__wrapGlobal\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__wrapGlobal--auto': showTimer && !contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\n }\"\n >\n <div class=\"columns no-margin no-padding\" *ngIf=\"showTimer && !contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\">\n <div class=\"column is-two-thirds no-padding\">\n <div class=\"columns no-padding-except-bottom no-margin\">\n <div class=\"column wb-timer-multiple-img__small padding-left\">\n <div\n class=\"wb-timer-multiple-img__container\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-timer-multiple-img__container__images\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP]\"\n >\n <div>\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes3[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE_LEFT_TOP, $event)\"\n [style.background-image]=\"\n 'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP][FORM_NAME_IMAGE_URL] + ')'\n \"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_LEFT_TOP)\"\n class=\"wb-timer-multiple-img__container__images__item wb-timer-multiple-img__container__images__item--leftTop\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container__images__item--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container__images__item--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__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-timer-multiple-img__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes3[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_LEFT_TOP)\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__noimages--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__noimages--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__noimages--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n\n <div class=\"column is-two-thirds wb-timer-multiple-img__big padding-right\">\n <div\n class=\"wb-timer-multiple-img__container\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-timer-multiple-img__container__images\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP]\"\n >\n <div>\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes1[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE_MIDDLE_TOP, $event)\"\n [style.background-image]=\"\n 'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP][FORM_NAME_IMAGE_URL] + ')'\n \"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_MIDDLE_TOP)\"\n class=\"wb-timer-multiple-img__container__images__item wb-timer-multiple-img__container__images__item--middleTop\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container__images__item--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container__images__item--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__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-timer-multiple-img__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes1[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_MIDDLE_TOP)\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__noimages--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__noimages--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__noimages--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n </div>\n\n <div class=\"columns no-margin no-padding\">\n <div class=\"column is-two-thirds wb-timer-multiple-img__big padding-left\">\n <div\n class=\"wb-timer-multiple-img__container wb-timer-multiple-img__container--leftBottom\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-timer-multiple-img__container__images\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM]\"\n >\n <div>\n <div\n class=\"wb-timer-multiple-img__container__images__item wb-timer-multiple-img__container__images__item--leftBottom\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container__images__item--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container__images__item--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container__images__item--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-timer-multiple-img__container__images__item__uploadImg\"\n wbGetSizeImageDirective\n [dimensions]=\"sizes2[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE_LEFT_BOTTOM, $event)\"\n [style.background-image]=\"\n 'url(' +\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM][FORM_NAME_IMAGE_URL] +\n ')'\n \"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_LEFT_BOTTOM)\"\n ></div>\n <div class=\"wb-timer-multiple-img__container__images__item__timer\">\n <div\n class=\"wb-timer-multiple-img__container__images__item__timer__background\"\n [style.background-color]=\"contentBlock[FORM_NAME_BACKGROUND_COLOR]\"\n ></div>\n <div\n class=\"wb-timer-multiple-img__container__images__item__timer__content\"\n [style.background-color]=\"contentBlock[FORM_NAME_BACKGROUND_COLOR]\"\n >\n <ul>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"days\">{{ days | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.47' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contentBlock[FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"hours\">{{ hours | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.48' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contentBlock[FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"minutes\">{{ minutes | addZeroForTimer }}</span\n ><span>Minutes</span><span></span>\n <span class=\"tiret\" [style.background-color]=\"contentBlock[FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"seconds\">{{ seconds | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.50' | translate }}</span>\n </li>\n </ul>\n <div class=\"wb-timer-multiple-img__container__images__item__timer__content__text\">\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n position=\"top\"\n >\n </wb-editorjs>\n </div>\n <div class=\"wb-timer-multiple-img__container__images__item__timer__content__button\">\n <span [style.background-color]=\"contentBlock[FORM_NAME_BACKGROUND_COLOR_BUTTON]\">\n <span [style.color]=\"contentBlock[FORM_NAME_COLOR_BUTTON]\">{{\n contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE]\n }}</span>\n </span>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div\n class=\"wb-timer-multiple-img__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes2[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_LEFT_BOTTOM)\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__noimages--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__noimages--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__noimages--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n\n <div class=\"column wb-timer-multiple-img__small padding-right\">\n <div\n class=\"wb-timer-multiple-img__container\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-timer-multiple-img__container__images\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM]\"\n >\n <div>\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes3[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE_MIDDLE_BOTTOM, $event)\"\n [style.background-image]=\"\n 'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM][FORM_NAME_IMAGE_URL] + ')'\n \"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_MIDDLE_BOTTOM)\"\n class=\"wb-timer-multiple-img__container__images__item wb-timer-multiple-img__container__images__item--middleBottom\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container__images__item--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container__images__item--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__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-timer-multiple-img__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes3[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_MIDDLE_BOTTOM)\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__noimages--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__noimages--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__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 class=\"column wb-timer-multiple-img__single\">\n <div\n class=\"wb-timer-multiple-img__container wb-timer-multiple-img__container--right\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div class=\"wb-timer-multiple-img__container__images\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT]\">\n <div>\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes4[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-timer-multiple-img__container__images__item wb-timer-multiple-img__container__images__item--right\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container__images__item--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container__images__item--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__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-timer-multiple-img__noimages wb-timer-multiple-img__noimages--right\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes4[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-timer-multiple-img__noimages--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__noimages--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__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=\"wb-timer-multiple-img__nodate\" *ngIf=\"!showTimer && contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\">\n <div class=\"wb-timer-multiple-img__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n id=\"checkboxSwitchCalendar-{{ uuid }}\"\n type=\"checkbox\"\n (change)=\"switchMethodWithoutPersist()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-multiple-img__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-multiple-img__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChange($event)\"\n >\n <input style=\"display: none\" [value]=\"dateFor\" [nwbDatepickerStart]=\"datePicker1\" type=\"datetime-local\" />\n </nwb-date-picker>\n </div>\n <div class=\"wb-timer-multiple-img__valid wb-timer-multiple-img__valid--calendar\">\n <button class=\"button btn wb-timer-multiple-img__button\" (click)=\"validTimeForDate()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n <div class=\"wb-timer-multiple-img__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-multiple-img__time__wrapper\">\n <div class=\"wb-timer-multiple-img__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\" />\n </div>\n <div class=\"wb-timer-multiple-img__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\" />\n </div>\n <div class=\"wb-timer-multiple-img__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\" />\n </div>\n <div class=\"wb-timer-multiple-img__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\" />\n </div>\n </div>\n <div class=\"wb-timer-multiple-img__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n <div class=\"wb-timer-multiple-img__valid\">\n <button class=\"button btn wb-timer-multiple-img__button\" (click)=\"validTimeForTimer()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
28556
28753
|
},] }
|
|
28557
28754
|
];
|
|
28558
28755
|
TimerMultipleImgComponent.ctorParameters = () => [
|
|
@@ -28725,7 +28922,7 @@ class TextsQuadrupleNumbersComponent extends StructuresComponent {
|
|
|
28725
28922
|
TextsQuadrupleNumbersComponent.decorators = [
|
|
28726
28923
|
{ type: Component, args: [{
|
|
28727
28924
|
selector: TextsQuadrupleNumbersService.selector(),
|
|
28728
|
-
template: "<div\n class=\"wb-texts-quadruple-numbers\"\n [ngClass]=\"{\n 'is-active':\n hasTooltipFocusedLeftTop || hasTooltipFocusedMiddleLeftTop || hasTooltipFocusedMiddleRightTop || hasTooltipFocusedRightTop\n }\"\n>\n <div class=\"columns is-gapless\">\n <div class=\"column\">\n <div class=\"wb-texts-quadruple-numbers__container\">\n <div class=\"wb-texts-quadruple-numbers__container__text\">\n <div>\n <div>\n {{ contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE_LEFT] }}\n </div>\n <div>\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT_LEFT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"column\">\n <div class=\"wb-texts-quadruple-numbers__container\">\n <div class=\"wb-texts-quadruple-numbers__container__text\">\n <div>\n <div>\n {{ contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE_MIDDLE_LEFT] }}\n </div>\n <div>\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT_MIDDLE_LEFT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"column\">\n <div class=\"wb-texts-quadruple-numbers__container\">\n <div class=\"wb-texts-quadruple-numbers__container__text\">\n <div>\n <div>\n {{ contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE_MIDDLE_RIGHT] }}\n </div>\n <div>\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT_MIDDLE_RIGHT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"column\">\n <div class=\"wb-texts-quadruple-numbers__container\">\n <div class=\"wb-texts-quadruple-numbers__container__text\">\n <div>\n <div>\n {{ contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE_RIGHT] }}\n </div>\n <div>\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT_RIGHT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
28925
|
+
template: "<div\n class=\"wb-texts-quadruple-numbers\"\n [ngClass]=\"{\n 'is-active':\n hasTooltipFocusedLeftTop || hasTooltipFocusedMiddleLeftTop || hasTooltipFocusedMiddleRightTop || hasTooltipFocusedRightTop\n }\"\n>\n <div class=\"columns is-gapless\">\n <div class=\"column\">\n <div class=\"wb-texts-quadruple-numbers__container\">\n <div class=\"wb-texts-quadruple-numbers__container__text\">\n <div>\n <div>\n {{ contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE_LEFT] }}\n </div>\n <div class=\"transform-editor\">\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT_LEFT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"column\">\n <div class=\"wb-texts-quadruple-numbers__container\">\n <div class=\"wb-texts-quadruple-numbers__container__text\">\n <div>\n <div>\n {{ contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE_MIDDLE_LEFT] }}\n </div>\n <div class=\"transform-editor\">\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT_MIDDLE_LEFT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"column\">\n <div class=\"wb-texts-quadruple-numbers__container\">\n <div class=\"wb-texts-quadruple-numbers__container__text\">\n <div>\n <div>\n {{ contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE_MIDDLE_RIGHT] }}\n </div>\n <div class=\"transform-editor\">\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT_MIDDLE_RIGHT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"column\">\n <div class=\"wb-texts-quadruple-numbers__container\">\n <div class=\"wb-texts-quadruple-numbers__container__text\">\n <div>\n <div>\n {{ contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE_RIGHT] }}\n </div>\n <div class=\"transform-editor\">\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT_RIGHT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
28729
28926
|
},] }
|
|
28730
28927
|
];
|
|
28731
28928
|
TextsQuadrupleNumbersComponent.ctorParameters = () => [];
|
|
@@ -29241,7 +29438,7 @@ class TextBackgroundsThreeRowsIconTextComponent extends StructuresComponent {
|
|
|
29241
29438
|
TextBackgroundsThreeRowsIconTextComponent.decorators = [
|
|
29242
29439
|
{ type: Component, args: [{
|
|
29243
29440
|
selector: TextBackgroundsThreeRowsIconTextService.selector(),
|
|
29244
|
-
template: "<div class=\"wb-text-backgrounds-rows-icon-text wb-text-backgrounds-rows-icon-text--three\">\n <div class=\"columns is-multiline\" *ngFor=\"let row of contents[BASE_BLOCK_CONTENT].rows; let i = index\">\n <div class=\"wb-text-backgrounds-rows-icon-text__delete-line\">\n <div\n wbShowDeleteButton\n *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number > 1\"\n class=\"wb-text-backgrounds-rows-icon-text__delete-line__button\"\n >\n <i class=\"fas fa-trash-alt\"></i>\n <p>{{ 'wb.structures.template.64' | translate }}</p>\n <button (click)=\"deleteRow(i)\">{{ 'wb.structures.template.65' | translate }}</button>\n </div>\n </div>\n <div class=\"column is-4-fullhd is-4-desktop\" *ngFor=\"let item of row; let j = index\">\n <
|
|
29441
|
+
template: "<div class=\"wb-text-backgrounds-rows-icon-text wb-text-backgrounds-rows-icon-text--three\">\n <div class=\"columns is-multiline\" *ngFor=\"let row of contents[BASE_BLOCK_CONTENT].rows; let i = index\">\n <div class=\"wb-text-backgrounds-rows-icon-text__delete-line\">\n <div\n wbShowDeleteButton\n *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number > 1\"\n class=\"wb-text-backgrounds-rows-icon-text__delete-line__button\"\n >\n <i class=\"fas fa-trash-alt\"></i>\n <p>{{ 'wb.structures.template.64' | translate }}</p>\n <button (click)=\"deleteRow(i)\">{{ 'wb.structures.template.65' | translate }}</button>\n </div>\n </div>\n <div class=\"column is-4-fullhd is-4-desktop\" *ngFor=\"let item of row; let j = index\">\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\"\n [isFullwidth]=\"true\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"item[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)]=\"item[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)]=\"item[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 class=\"wb-text-backgrounds-rows-icon-text__item\">\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content\"\n [ngClass]=\"{\n 'wb-text-backgrounds-rows-icon-text__item__content--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-text-backgrounds-rows-icon-text__item__content--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-text-backgrounds-rows-icon-text__item__content--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!item[FORM_NAME_IMAGE]\"\n (click)=\"addNewImage(i, j)\"\n >\n <p>\n <i class=\"fal fa-image\"></i>\n {{ 'wb.structures.template.8' | translate }}\n </p>\n </div>\n <div *ngIf=\"item[FORM_NAME_IMAGE]\" class=\"wb-text-backgrounds-rows-icon-text__item__content__image\">\n <div\n wbGetSizeImageDirective\n [urlToParse]=\"item[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(item[FORM_NAME_IMAGE], $event)\"\n [style.background-image]=\"'url(' + item[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n class=\"wb-text-backgrounds-rows-icon-text__item__content__image__background\"\n ></div>\n </div>\n\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content__wrapper\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n (click)=\"onClickUpdateImage(i, j)\"\n >\n <div (click)=\"stopPropagation($event)\">\n <wb-structure-config-font\n [(value)]=\"item[FORM_NAME_ICON]\"\n [color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_ICON_COLOR]\"\n (valueChange)=\"item[FORM_NAME_ICON] = $event; persist()\"\n ></wb-structure-config-font>\n <div class=\"wb-text-backgrounds-rows-icon-text__item__content__title\">\n <wb-editorjs\n [(content)]=\"item[FORM_NAME_TITLE]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"columns\" *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number < 9\">\n <div class=\"column\">\n <div class=\"wb-text-backgrounds-rows-icon-text__add\">\n <a (click)=\"addRow(contents[BASE_BLOCK_CONTENT].line_number)\">\n <i class=\"fal fa-plus-circle\"></i>\n <p>\n {{ 'wb.structures.template.63' | translate }}\n </p>\n </a>\n </div>\n </div>\n </div>\n</div>\n"
|
|
29245
29442
|
},] }
|
|
29246
29443
|
];
|
|
29247
29444
|
TextBackgroundsThreeRowsIconTextComponent.ctorParameters = () => [
|
|
@@ -29319,11 +29516,16 @@ class TextBackgroundsFourRowsIconTextComponent extends StructuresComponent {
|
|
|
29319
29516
|
stopPropagation($event) {
|
|
29320
29517
|
$event.stopPropagation();
|
|
29321
29518
|
}
|
|
29519
|
+
triggerConfig(uuid) {
|
|
29520
|
+
const element = document.querySelectorAll('#' + uuid + ' .wb-structure-config__tools')[0];
|
|
29521
|
+
console.log(element);
|
|
29522
|
+
element.click();
|
|
29523
|
+
}
|
|
29322
29524
|
}
|
|
29323
29525
|
TextBackgroundsFourRowsIconTextComponent.decorators = [
|
|
29324
29526
|
{ type: Component, args: [{
|
|
29325
29527
|
selector: TextBackgroundsFourRowsIconTextService.selector(),
|
|
29326
|
-
template: "<div class=\"wb-text-backgrounds-rows-icon-text wb-text-backgrounds-rows-icon-text--four\">\n <div class=\"columns is-multiline\" *ngFor=\"let row of contents[BASE_BLOCK_CONTENT].rows; let i = index\">\n <div class=\"wb-text-backgrounds-rows-icon-text__delete-line\">\n <div\n wbShowDeleteButton\n *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number > 1\"\n class=\"wb-text-backgrounds-rows-icon-text__delete-line__button\"\n >\n <i class=\"fas fa-trash-alt\"></i>\n <p>{{ 'wb.structures.template.64' | translate }}</p>\n <button (click)=\"deleteRow(i)\">{{ 'wb.structures.template.65' | translate }}</button>\n </div>\n </div>\n <div class=\"column is-3-fullhd is-3-desktop\" *ngFor=\"let item of row; let j = index\">\n <
|
|
29528
|
+
template: "<div class=\"wb-text-backgrounds-rows-icon-text wb-text-backgrounds-rows-icon-text--four\">\n <div class=\"columns is-multiline\" *ngFor=\"let row of contents[BASE_BLOCK_CONTENT].rows; let i = index\">\n <div class=\"wb-text-backgrounds-rows-icon-text__delete-line\">\n <div\n wbShowDeleteButton\n *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number > 1\"\n class=\"wb-text-backgrounds-rows-icon-text__delete-line__button\"\n >\n <i class=\"fas fa-trash-alt\"></i>\n <p>{{ 'wb.structures.template.64' | translate }}</p>\n <button (click)=\"deleteRow(i)\">{{ 'wb.structures.template.65' | translate }}</button>\n </div>\n </div>\n <div class=\"column is-3-fullhd is-3-desktop\" *ngFor=\"let item of row; let j = index\">\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\"\n [isFullwidth]=\"true\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"item[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)]=\"item[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)]=\"item[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 class=\"wb-text-backgrounds-rows-icon-text__item\">\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content\"\n [ngClass]=\"{\n 'wb-text-backgrounds-rows-icon-text__item__content--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-text-backgrounds-rows-icon-text__item__content--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-text-backgrounds-rows-icon-text__item__content--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content__noimages\"\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n wbPicturesTemplateDirective\n *ngIf=\"!item[FORM_NAME_IMAGE]\"\n (click)=\"addNewImage(i, j)\"\n >\n <p>\n {{ 'wb.structures.template.8' | translate }}\n </p>\n </div>\n <div *ngIf=\"item[FORM_NAME_IMAGE]\" class=\"wb-text-backgrounds-rows-icon-text__item__content__image\">\n <div\n wbGetSizeImageDirective\n [urlToParse]=\"item[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(item[FORM_NAME_IMAGE], $event)\"\n [style.background-image]=\"'url(' + item[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n class=\"wb-text-backgrounds-rows-icon-text__item__content__image__background\"\n ></div>\n </div>\n\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content__wrapper\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n (click)=\"onClickUpdateImage(i, j)\"\n >\n <div (click)=\"stopPropagation($event)\">\n <wb-structure-config-font\n [(value)]=\"item[FORM_NAME_ICON]\"\n [color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_ICON_COLOR]\"\n (valueChange)=\"item[FORM_NAME_ICON] = $event; persist()\"\n ></wb-structure-config-font>\n <div class=\"wb-text-backgrounds-rows-icon-text__item__content__title\">\n <wb-editorjs\n [(content)]=\"item[FORM_NAME_TITLE]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"columns\" *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number < 9\">\n <div class=\"column\">\n <div class=\"wb-text-backgrounds-rows-icon-text__add\">\n <a (click)=\"addRow(contents[BASE_BLOCK_CONTENT].line_number)\">\n <i class=\"fal fa-plus-circle\"></i>\n <p>\n {{ 'wb.structures.template.63' | translate }}\n </p>\n </a>\n </div>\n </div>\n </div>\n</div>\n"
|
|
29327
29529
|
},] }
|
|
29328
29530
|
];
|
|
29329
29531
|
TextBackgroundsFourRowsIconTextComponent.ctorParameters = () => [
|
|
@@ -29405,7 +29607,7 @@ class TextBackgroundsTwoRowsIconTextComponent extends StructuresComponent {
|
|
|
29405
29607
|
TextBackgroundsTwoRowsIconTextComponent.decorators = [
|
|
29406
29608
|
{ type: Component, args: [{
|
|
29407
29609
|
selector: TextBackgroundsTwoRowsIconTextService.selector(),
|
|
29408
|
-
template: "<div class=\"wb-text-backgrounds-rows-icon-text wb-text-backgrounds-rows-icon-text--two\">\n <div class=\"columns is-multiline\" *ngFor=\"let row of contents[BASE_BLOCK_CONTENT].rows; let i = index\">\n <div class=\"wb-text-backgrounds-rows-icon-text__delete-line\">\n <div\n wbShowDeleteButton\n *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number > 1\"\n class=\"wb-text-backgrounds-rows-icon-text__delete-line__button\"\n >\n <i class=\"fas fa-trash-alt\"></i>\n <p>{{ 'wb.structures.template.64' | translate }}</p>\n <button (click)=\"deleteRow(i)\">{{ 'wb.structures.template.65' | translate }}</button>\n </div>\n </div>\n <div class=\"column is-6-fullhd is-6-desktop\" *ngFor=\"let item of row; let j = index\">\n <
|
|
29610
|
+
template: "<div class=\"wb-text-backgrounds-rows-icon-text wb-text-backgrounds-rows-icon-text--two\">\n <div class=\"columns is-multiline\" *ngFor=\"let row of contents[BASE_BLOCK_CONTENT].rows; let i = index\">\n <div class=\"wb-text-backgrounds-rows-icon-text__delete-line\">\n <div\n wbShowDeleteButton\n *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number > 1\"\n class=\"wb-text-backgrounds-rows-icon-text__delete-line__button\"\n >\n <i class=\"fas fa-trash-alt\"></i>\n <p>{{ 'wb.structures.template.64' | translate }}</p>\n <button (click)=\"deleteRow(i)\">{{ 'wb.structures.template.65' | translate }}</button>\n </div>\n </div>\n <div class=\"column is-6-fullhd is-6-desktop\" *ngFor=\"let item of row; let j = index\">\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\"\n [isFullwidth]=\"true\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"item[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)]=\"item[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)]=\"item[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 class=\"wb-text-backgrounds-rows-icon-text__item\">\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content\"\n [ngClass]=\"{\n 'wb-text-backgrounds-rows-icon-text__item__content--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-text-backgrounds-rows-icon-text__item__content--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-text-backgrounds-rows-icon-text__item__content--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!item[FORM_NAME_IMAGE]\"\n (click)=\"addNewImage(i, j)\"\n >\n <p>\n <i class=\"fal fa-image\"></i>\n {{ 'wb.structures.template.8' | translate }}\n </p>\n </div>\n <div *ngIf=\"item[FORM_NAME_IMAGE]\" class=\"wb-text-backgrounds-rows-icon-text__item__content__image\">\n <div\n wbGetSizeImageDirective\n [urlToParse]=\"item[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(item[FORM_NAME_IMAGE], $event)\"\n [style.background-image]=\"'url(' + item[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n class=\"wb-text-backgrounds-rows-icon-text__item__content__image__background\"\n ></div>\n </div>\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content__wrapper\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n (click)=\"onClickUpdateImage(i, j)\"\n >\n <div (click)=\"stopPropagation($event)\">\n <wb-structure-config-font\n [(value)]=\"item[FORM_NAME_ICON]\"\n [color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_ICON_COLOR]\"\n (valueChange)=\"item[FORM_NAME_ICON] = $event; persist()\"\n ></wb-structure-config-font>\n <div class=\"wb-text-backgrounds-rows-icon-text__item__content__title\">\n <wb-editorjs\n [(content)]=\"item[FORM_NAME_TITLE]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"columns\" *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number < 9\">\n <div class=\"column\">\n <div class=\"wb-text-backgrounds-rows-icon-text__add\">\n <a (click)=\"addRow(contents[BASE_BLOCK_CONTENT].line_number)\">\n <i class=\"fal fa-plus-circle\"></i>\n <p>\n {{ 'wb.structures.template.63' | translate }}\n </p>\n </a>\n </div>\n </div>\n </div>\n</div>\n"
|
|
29409
29611
|
},] }
|
|
29410
29612
|
];
|
|
29411
29613
|
TextBackgroundsTwoRowsIconTextComponent.ctorParameters = () => [
|
|
@@ -29740,7 +29942,7 @@ class ConfigsComponent {
|
|
|
29740
29942
|
ConfigsComponent.decorators = [
|
|
29741
29943
|
{ type: Component, args: [{
|
|
29742
29944
|
selector: 'wb-configs',
|
|
29743
|
-
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]=\"
|
|
29945
|
+
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)=\"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 control--flexStart\" *ngIf=\"form.type === FORM_TYPE_COLOR\" #colors>\n <div class=\"color-wrapper\">\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 <span [innerHTML]=\"form.value\"></span>\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",
|
|
29744
29946
|
animations: [animateListFromLeft('200ms ease-in-out')]
|
|
29745
29947
|
},] }
|
|
29746
29948
|
];
|
|
@@ -29896,5 +30098,5 @@ WiziBlockModule.decorators = [
|
|
|
29896
30098
|
* Generated bundle index. Do not edit.
|
|
29897
30099
|
*/
|
|
29898
30100
|
|
|
29899
|
-
export { ApiDto, ExternalConfigDto, MediaConnectorService, MediaDto, TranslationBlockDto, TranslationStructureDto, TranslationsDto, TypesDto, WiziBlockComponent, WiziBlockModule, WiziBlockService, Types as ɵa, MyMissingTranslationHandler as ɵb, SharedDirectivesModule as ɵba, AutofocusDirective as ɵbb, AutoHideDirective as ɵbc, GetSizeImageDirective as ɵbd, ExpectedImagesService as ɵbe, PicturesTemplateDirective as ɵbf, HoldableDirective as ɵbg, ShowDeleteButtonDirective as ɵbh, StructureToolsComponent as ɵbi, StructureConfigComponent as ɵbj, StructureConfigService as ɵbk, StructureConfigInputComponent as ɵbl, StructureConfigCheckboxComponent as ɵbm, StructureConfigFontComponent as ɵbn, FontAwesomeService as ɵbo, StructureConfigPaymentComponent as ɵbp, StructureSelectComponent as ɵbq, StructureSearchProductComponent as ɵbr, StructureConfigExtendedInputComponent as ɵbs, StructureAmplifySearchProductComponent as ɵbt, StructureAmplifySearchCategoryComponent as ɵbu, LoaderComponent as ɵbv, SmallLoaderComponent as ɵbw, StarComponent as ɵbx, QuillComponent as ɵby, QuillService as ɵbz, animateListFromRight as ɵc, FaqComponent as ɵca, EditorJsComponent as ɵcb, EditorJSConversionService as ɵcc,
|
|
30101
|
+
export { ApiDto, ExternalConfigDto, MediaConnectorService, MediaDto, TranslationBlockDto, TranslationStructureDto, TranslationsDto, TypesDto, WiziBlockComponent, WiziBlockModule, WiziBlockService, Types as ɵa, MyMissingTranslationHandler as ɵb, SharedDirectivesModule as ɵba, AutofocusDirective as ɵbb, AutoHideDirective as ɵbc, GetSizeImageDirective as ɵbd, ExpectedImagesService as ɵbe, PicturesTemplateDirective as ɵbf, HoldableDirective as ɵbg, ShowDeleteButtonDirective as ɵbh, StructureToolsComponent as ɵbi, StructureConfigComponent as ɵbj, StructureConfigService as ɵbk, StructureConfigInputComponent as ɵbl, StructureConfigCheckboxComponent as ɵbm, StructureConfigFontComponent as ɵbn, FontAwesomeService as ɵbo, StructureConfigPaymentComponent as ɵbp, StructureSelectComponent as ɵbq, StructureSearchProductComponent as ɵbr, StructureConfigExtendedInputComponent as ɵbs, StructureAmplifySearchProductComponent as ɵbt, StructureAmplifySearchCategoryComponent as ɵbu, LoaderComponent as ɵbv, SmallLoaderComponent as ɵbw, StarComponent as ɵbx, QuillComponent as ɵby, QuillService as ɵbz, animateListFromRight as ɵc, FaqComponent as ɵca, EditorJsComponent as ɵcb, EditorJSConversionService as ɵcc, EditorJSTranslationService as ɵcd, BlockComponentList as ɵce, StructuresModule as ɵcf, SliderFullpageComponent as ɵcg, StructuresComponent as ɵch, SlidersFullpageService as ɵci, SliderLeftnavComponent as ɵcj, SlidersLeftnavService as ɵck, SliderImagerightComponent as ɵcl, SlidersImagerightService as ɵcm, SliderDoubleImagerightComponent as ɵcn, SlidersDoubleImagerightService as ɵco, SeparatorSimpleComponent as ɵcp, SeparatorSimpleService as ɵcq, CodeHtmlComponent as ɵcr, CodeHtmlService as ɵcs, CodeJavascriptComponent as ɵct, CodeJavascriptService as ɵcu, VideosSimpleComponent as ɵcv, VideosSimpleService as ɵcw, YoutubeService as ɵcx, VimeoService as ɵcy, VideosTxtComponent as ɵcz, animateListFromLeft as ɵd, VideosTxtService as ɵda, VideosTxtContentComponent as ɵdb, VideosTxtContentService as ɵdc, LaunchVideosButtonComponent as ɵdd, LaunchVideosButtonService as ɵde, LaunchVideosButtontxtComponent as ɵdf, LaunchVideosButtontxtService as ɵdg, ImagesBannerComponent as ɵdh, ImagesBannerService as ɵdi, ImagesSimpleComponent as ɵdj, ImagesSimpleService as ɵdk, ImagesDoubleComponent as ɵdl, ImagesDoubleService as ɵdm, ImagesTripleComponent as ɵdn, ImagesTripleService as ɵdo, ImagesQuadrupleComponent as ɵdp, ImagesQuadrupleService as ɵdq, ImagesQuadrupleLeftOneRightComponent as ɵdr, ImagesQuadrupleLeftOneRightService as ɵds, ImagesBigAndDoubleComponent as ɵdt, ImagesBigAndDoubleService as ɵdu, ImagesBigsAndDoubleMiddleComponent as ɵdv, ImagesBigsAndDoubleMiddleService as ɵdw, TextBackgroundsLinkComponent as ɵdx, TextBackgroundsLinkService as ɵdy, TextBackgroundsSimpleComponent as ɵdz, ConfigService as ɵe, TextBackgroundsSimpleService as ɵea, TextBackgroundsWithTxtComponent as ɵeb, TextBackgroundsWithTxtService as ɵec, ImagesTextsBigLeftTextRightComponent as ɵed, ImagesTextsBigLeftTextRightService as ɵee, ImagesTextsBigRightTextLeftComponent as ɵef, ImagesTextsBigRightTextLeftService as ɵeg, ImagesTextsLeftTextRightComponent as ɵeh, ImagesTextsLeftTextRightService as ɵei, ImagesTextsRightTextLeftComponent as ɵej, ImagesTextsRightTextLeftService as ɵek, ImagesTextsOneTextOneComponent as ɵel, ImagesTextsOneTextOneService as ɵem, ImagesTextsSmallLeftTextRightComponent as ɵen, ImagesTextsSmallLeftTextRightService as ɵeo, ImagesTextsSmallRightTextLeftComponent as ɵep, ImagesTextsSmallRightTextLeftService as ɵeq, ImagesTextsTextOneTextComponent as ɵer, ImagesTextsTextOneTextService as ɵes, TextsOneBackgroundComponent as ɵet, TextsOneBackgroundService as ɵeu, TextsDoubleBackgroundComponent as ɵev, TextsDoubleBackgroundService as ɵew, TextsTripleBackgroundComponent as ɵex, TextsTripleBackgroundService as ɵey, TextsQuadrupleComponent as ɵez, ContentService as ɵf, TextsQuadrupleService as ɵfa, TextsQuadrupleNumbersComponent as ɵfb, TextsQuadrupleNumbersService as ɵfc, FormsSimpleComponent as ɵfd, FormsSimpleService as ɵfe, TextsQuadrupleBackgroundComponent as ɵff, TextsQuadrupleBackgroundService as ɵfg, TextsTripleComponent as ɵfh, TextsTripleService as ɵfi, TextsOneComponent as ɵfj, TextsOneService as ɵfk, TextsDoubleComponent as ɵfl, TextsDoubleService as ɵfm, FormsBackgroundComponent as ɵfn, FormsBackgroundService as ɵfo, VideosTxtLeftComponent as ɵfp, VideosTxtLeftService as ɵfq, FormsImageleftComponent as ɵfr, FormsImageleftService as ɵfs, FormsImagerightComponent as ɵft, FormsImagerightService as ɵfu, FormsOnboardingComponent as ɵfv, FormsOnboardingService as ɵfw, SocialsLikeComponent as ɵfx, SocialsLikeService as ɵfy, SocialsPageSimpleComponent as ɵfz, ExternalConfigService as ɵg, SocialsPageSimpleService as ɵga, SocialsPageComplexComponent as ɵgb, SocialsPageComplexService as ɵgc, SocialsNetworkComponent as ɵgd, SocialsNetworkService as ɵge, ProductsListClassicComponent as ɵgf, ProductsListClassicService as ɵgg, CurrencyService as ɵgh, ProductsListSimpleComponent as ɵgi, ProductsListSimpleService as ɵgj, RassurancesTripleBackgroundComponent as ɵgk, RassurancesTripleBackgroundService as ɵgl, RassurancesQuadrupleAlignedComponent as ɵgm, RassurancesQuadrupleAlignedService as ɵgn, RassurancesQuadrupleBackgroundComponent as ɵgo, RassurancesQuadrupleBackgroundService as ɵgp, NewsletterAlignedCenterImageComponent as ɵgq, NewsletterAlignedCenterImageService as ɵgr, NewsletterAlignedCenterBackgroundComponent as ɵgs, NewsletterAlignedCenterBackgroundService as ɵgt, NewsletterCenterImageComponent as ɵgu, NewsletterCenterImageService as ɵgv, ProductsListSelectedComponent as ɵgw, ProductsListSelectedService as ɵgx, CodeStylesheetComponent as ɵgy, CodeStylesheetService as ɵgz, ApiService as ɵh, WitnessTwiceComponent as ɵha, WitnessTwiceService as ɵhb, WitnessTripleComponent as ɵhc, WitnessTripleService as ɵhd, WitnessQuadrupleComponent as ɵhe, WitnessQuadrupleService as ɵhf, WitnessBackgroundOneComponent as ɵhg, WitnessBackgroundOneService as ɵhh, WitnessBackgroundDoubleComponent as ɵhi, WitnessBackgroundDoubleService as ɵhj, ReviewsSimpleComponent as ɵhk, ReviewsSimpleService as ɵhl, QuotesSimpleComponent as ɵhm, QuotesSimpleService as ɵhn, QuotesAuthorComponent as ɵho, QuotesAuthorService as ɵhp, QuotesSimpleBackgroundComponent as ɵhq, QuotesSimpleBackgroundService as ɵhr, ReviewsWaterfallComponent as ɵhs, ReviewsWaterfallService as ɵht, MapFullpageComponent as ɵhu, MapFullpageService as ɵhv, MapLeftTextComponent as ɵhw, MapLeftTextService as ɵhx, MapRightTextComponent as ɵhy, MapRightTextService as ɵhz, ComponentsModule as ɵi, MapTextFormComponent as ɵia, MapTextFormService as ɵib, MapBackgroundFormLeftComponent as ɵic, MapBackgroundFormLeftService as ɵid, MapBackgroundFormRightComponent as ɵie, MapBackgroundFormRightService as ɵif, AmplifyProductsListSimpleComponent as ɵig, AmplifyProductsListSimpleService as ɵih, AmplifyProductsListSelectedComponent as ɵii, AmplifyProductsListSelectedService as ɵij, AmplifyProductsListClassicComponent as ɵik, AmplifyProductsListClassicService as ɵil, AmplifyProductZoomComponent as ɵim, AmplifyProductZoomService as ɵin, AmplifyProductZoomTripleColumnComponent as ɵio, AmplifyProductZoomTripleColumnService as ɵip, AmplifyProductZoomSelectedComponent as ɵiq, AmplifyProductZoomSelectedService as ɵir, AmplifyProductZoomMoreComponent as ɵis, AmplifyProductZoomMoreService as ɵit, ProductZoomComponent as ɵiu, ProductZoomService as ɵiv, ProductZoomTripleColumnComponent as ɵiw, ProductZoomTripleColumnService as ɵix, ProductZoomSelectedComponent as ɵiy, ProductZoomSelectedService as ɵiz, BlocksComponent as ɵj, ProductZoomMoreComponent as ɵja, ProductZoomMoreService as ɵjb, ProductZoomCompleteComponent as ɵjc, ProductZoomCompleteService as ɵjd, ProductZoomCompleteSliderComponent as ɵje, ProductZoomCompleteSliderService as ɵjf, ProductZoomSimpleComponent as ɵjg, ProductZoomSimpleService as ɵjh, ProductZoomCompleteBackgroundComponent as ɵji, ProductZoomCompleteBackgroundService as ɵjj, TimerSimpleComponent as ɵjk, TimerSimpleService as ɵjl, TimerBackgroundComponent as ɵjm, TimerBackgroundService as ɵjn, TimerClockComponent as ɵjo, TimerClockService as ɵjp, TimerAirportComponent as ɵjq, TimerAirportService as ɵjr, TimerMultipleImgComponent as ɵjs, TimerMultipleImgService as ɵjt, AboutBlockComponent as ɵju, AboutBlockService as ɵjv, FaqSimpleComponent as ɵjw, FaqSimpleService as ɵjx, FaqSimpleBackgroundComponent as ɵjy, FaqSimpleBackgroundService as ɵjz, ConfigsComponent as ɵk, FaqFrameComponent as ɵka, FaqFrameService as ɵkb, FaqAccordionComponent as ɵkc, FaqAccordionService as ɵkd, FaqListIconComponent as ɵke, FaqListIconService as ɵkf, FourImagesTitleComponent as ɵkg, FourImagesTitleService as ɵkh, TranslateBlockService as ɵki, TwoImagesTitleTextComponent as ɵkj, TwoImagesTitleTextService as ɵkk, TextBackgroundsWithBannerComponent as ɵkl, TextBackgroundsWithBannerService as ɵkm, TextBackgroundsTwoRowsIconTextComponent as ɵkn, TextBackgroundsTwoRowsIconTextService as ɵko, TextBackgroundsThreeRowsIconTextComponent as ɵkp, TextBackgroundsThreeRowsIconTextService as ɵkq, TextBackgroundsFourRowsIconTextComponent as ɵkr, TextBackgroundsFourRowsIconTextService as ɵks, SliderWithBannerComponent as ɵkt, SlidersWithBannerService as ɵku, LoaderComponentModule as ɵkv, PreviewsComponent as ɵl, ContainerBlockComponent as ɵm, SharedModule as ɵn, SharedComponentsModule as ɵo, SharedPipesModule as ɵp, SafeUrlPipe as ɵq, SafeStylePipe as ɵr, AddZeroForTimerPipe as ɵs, AnswerTypePipe as ɵt, TinyColorPipe as ɵu, ArrayNumberPipe as ɵv, CheckPaymentValuePipe as ɵw, EvenOddPipe as ɵx, StripTagsPipe as ɵy, ImgPathPipe as ɵz };
|
|
29900
30102
|
//# sourceMappingURL=wizishop-wizi-block.js.map
|