@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.
Files changed (46) hide show
  1. package/assets/i18n/en.json +1 -1
  2. package/assets/i18n/fr.json +1 -1
  3. package/bundles/wizishop-wizi-block.umd.js +602 -385
  4. package/bundles/wizishop-wizi-block.umd.js.map +1 -1
  5. package/bundles/wizishop-wizi-block.umd.min.js +1 -1
  6. package/bundles/wizishop-wizi-block.umd.min.js.map +1 -1
  7. package/esm2015/lib/components/configs/configs.component.js +2 -2
  8. package/esm2015/lib/dtos/blocks/parent-block.dto.js +3 -2
  9. package/esm2015/lib/dtos/blocks/witness/witness-background-one.dto.js +2 -2
  10. package/esm2015/lib/dtos/forms/forms.dto.js +2 -2
  11. package/esm2015/lib/shared/components/editorjs/editorjs.component.js +27 -7
  12. package/esm2015/lib/shared/components/editorjs/tools/inline/link-tool.component.js +76 -15
  13. package/esm2015/lib/shared/components/editorjs/tools/inline/text-background-color-tool.component.js +5 -7
  14. package/esm2015/lib/shared/components/editorjs/tools/inline/text-color-tool.component.js +4 -2
  15. package/esm2015/lib/shared/components/editorjs/tools/inline/text-size-tool.component.js +4 -3
  16. package/esm2015/lib/shared/components/editorjs/tools/inline/tool-type/inline-style-tool.component.js +51 -20
  17. package/esm2015/lib/shared/components/editorjs/tools/paragraph/text-type-tool.component.js +3 -2
  18. package/esm2015/lib/shared/components/editorjs/tools/paragraph/tool-type/paragraph-style-tool.component.js +35 -7
  19. package/esm2015/lib/shared/components/editorjs/tools/paragraph/tool-type/text-edition.component.js +5 -6
  20. package/esm2015/lib/shared/components/editorjs/tools/utils/editorjs-conversion.service.js +13 -1
  21. package/esm2015/lib/shared/components/editorjs/tools/utils/editorjs-tool.component.js +35 -2
  22. package/esm2015/lib/shared/components/editorjs/tools/utils/editorjs-translation.service.js +20 -0
  23. package/esm2015/lib/structures/text-backgrounds/four-rows-icon-text/text-backgrounds-four-rows-icon-text.component.js +7 -2
  24. package/esm2015/lib/structures/text-backgrounds/three-rows-icon-text/text-backgrounds-three-rows-icon-text.component.js +2 -2
  25. package/esm2015/lib/structures/text-backgrounds/two-rows-icon-text/text-backgrounds-two-rows-icon-text.component.js +2 -2
  26. package/esm2015/lib/structures/texts/quadruple-numbers/texts-quadruple-numbers.component.js +2 -2
  27. package/esm2015/lib/structures/timer/airport/timer-airport.component.js +2 -2
  28. package/esm2015/lib/structures/timer/background/timer-background.component.js +2 -2
  29. package/esm2015/lib/structures/timer/clock/timer-clock.component.js +2 -2
  30. package/esm2015/lib/structures/timer/multiple-img/timer-multiple-img.component.js +2 -2
  31. package/esm2015/lib/structures/timer/simple/timer-simple.component.js +2 -2
  32. package/esm2015/lib/wizi-block.component.js +4 -4
  33. package/esm2015/wizishop-wizi-block.js +227 -226
  34. package/fesm2015/wizishop-wizi-block.js +276 -74
  35. package/fesm2015/wizishop-wizi-block.js.map +1 -1
  36. package/lib/shared/components/editorjs/editorjs.component.d.ts +5 -1
  37. package/lib/shared/components/editorjs/tools/inline/link-tool.component.d.ts +1 -0
  38. package/lib/shared/components/editorjs/tools/inline/tool-type/inline-style-tool.component.d.ts +2 -2
  39. package/lib/shared/components/editorjs/tools/paragraph/tool-type/paragraph-style-tool.component.d.ts +5 -0
  40. package/lib/shared/components/editorjs/tools/utils/editorjs-tool.component.d.ts +2 -0
  41. package/lib/shared/components/editorjs/tools/utils/editorjs-translation.service.d.ts +7 -0
  42. package/lib/structures/text-backgrounds/four-rows-icon-text/text-backgrounds-four-rows-icon-text.component.d.ts +1 -0
  43. package/package.json +1 -1
  44. package/wizi-block.scss +2133 -1869
  45. package/wizishop-wizi-block.d.ts +226 -225
  46. package/wizishop-wizi-block.metadata.json +1 -1
@@ -717,7 +717,7 @@
717
717
  this.block = block;
718
718
  translateBlockService.translateProperties(this.block);
719
719
  if (hasMargin) {
720
- this.forms.push(new FormsContentDto(FORM_NAME_HIDE_BLOCK, 'wb.forms.FormsContentDto.16', FORM_TYPE_CHECKBOX, block[FORM_NAME_HIDE_BLOCK], '', '', [], [], [false, true], false, 'wb.forms.FormsContentDto.15'));
720
+ 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']));
721
721
  }
722
722
  this.forms.push(new FormsContentDto(FORM_NAME_MARGIN_TOP, 'wb.forms.FormsContentDto.13', FORM_TYPE_TAG, block[FORM_NAME_MARGIN_TOP], '#122231', '', [
723
723
  'wb.blocks.FormContentDto.101',
@@ -752,6 +752,7 @@
752
752
  function ParentBlockDto(type) {
753
753
  this.uuid = uuid.v4();
754
754
  this.type = type;
755
+ this[FORM_NAME_HIDE_BLOCK] = '1';
755
756
  this[FORM_NAME_MARGIN] = 'medium';
756
757
  this[FORM_NAME_MARGIN_TOP] = 'small';
757
758
  this[FORM_NAME_WIDTH_BLOCK] = 'medium';
@@ -2438,7 +2439,7 @@
2438
2439
  _this[_a$r] = 'wb.dto.TITLE.37';
2439
2440
  _this[_b$p] = 'wb.dto.CONTENT.36';
2440
2441
  _this[_c$m] = new ButtonDto();
2441
- _this[_d$l] = '#5A6267';
2442
+ _this[_d$l] = '#FFFFFF';
2442
2443
  return _this;
2443
2444
  }
2444
2445
  return WitnessBackgroundOneDto;
@@ -9626,7 +9627,7 @@
9626
9627
  for (var _b = __values(this.contentService.contents), _c = _b.next(); !_c.done; _c = _b.next()) {
9627
9628
  var item = _c.value;
9628
9629
  if (typeof item.block.hide_block !== typeof undefined) {
9629
- if (item.block.hide_block) {
9630
+ if (item.block.hide_block === '0') {
9630
9631
  this.isHiddenConfig.push(item.block.uuid);
9631
9632
  }
9632
9633
  }
@@ -9728,10 +9729,10 @@
9728
9729
  try {
9729
9730
  for (var _b = __values(this.selectedConfig.forms), _c = _b.next(); !_c.done; _c = _b.next()) {
9730
9731
  var item = _c.value;
9731
- if (item.id === 'hide_block' && item.value && !this.isHiddenConfig.includes(this.selectedConfig.block.uuid)) {
9732
+ if (item.id === 'hide_block' && item.value === '0' && !this.isHiddenConfig.includes(this.selectedConfig.block.uuid)) {
9732
9733
  this.isHiddenConfig.push(this.selectedConfig.block.uuid);
9733
9734
  }
9734
- else if (item.id === 'hide_block' && !item.value) {
9735
+ else if (item.id === 'hide_block' && item.value === '1') {
9735
9736
  this.isHiddenConfig = this.isHiddenConfig.filter(function (e) { return e !== _this.selectedConfig.block.uuid; });
9736
9737
  }
9737
9738
  }
@@ -20282,6 +20283,7 @@
20282
20283
  var EditorJSTool = /** @class */ (function () {
20283
20284
  function EditorJSTool() {
20284
20285
  this.parentEditor = null;
20286
+ this.textContainers = 'h1,h2,h3,h4,h5,h6,p,li';
20285
20287
  this.selectedAnchorNode = null;
20286
20288
  this.selectedFocusNode = null;
20287
20289
  this.anchorOffset = -1;
@@ -20320,8 +20322,29 @@
20320
20322
  this.focusOffset = this.currentSelection.focusOffset;
20321
20323
  };
20322
20324
  EditorJSTool.prototype.resetUserSelection = function () {
20325
+ var _a;
20326
+ if (this.selectedAnchorNode.nodeType === Node.ELEMENT_NODE && this.selectedAnchorNode.children) {
20327
+ while (this.selectedAnchorNode.children &&
20328
+ this.selectedAnchorNode.innerText === ((_a = this.selectedAnchorNode.children[0]) === null || _a === void 0 ? void 0 : _a.innerText) &&
20329
+ this.selectedAnchorNode.children.length === 1) {
20330
+ this.selectedAnchorNode = this.selectedAnchorNode.children[0];
20331
+ this.selectedFocusNode = this.selectedAnchorNode;
20332
+ this.anchorOffset = 0;
20333
+ this.focusOffset = 1;
20334
+ }
20335
+ if (this.textContainers.split(',').indexOf(this.selectedAnchorNode.tagName.toLowerCase()) > -1) {
20336
+ var childTextNodes = this.getTextNodes(this.selectedAnchorNode);
20337
+ var focusNode = childTextNodes.length > 1
20338
+ ? this.selectedAnchorNode.childNodes[childTextNodes.length - 1]
20339
+ : this.selectedAnchorNode.childNodes[0];
20340
+ var focusOffset = childTextNodes.length > 1 ? childTextNodes.length : childTextNodes[0].textContent.length;
20341
+ this.selectedAnchorNode = this.selectedAnchorNode.childNodes[0];
20342
+ this.anchorOffset = 0;
20343
+ this.selectedFocusNode = focusNode;
20344
+ this.focusOffset = focusOffset;
20345
+ }
20346
+ }
20323
20347
  document.getSelection().setBaseAndExtent(this.selectedAnchorNode, this.anchorOffset, this.selectedFocusNode, this.focusOffset);
20324
- this.currentSelection = this.getSelection();
20325
20348
  };
20326
20349
  EditorJSTool.prototype.findParentEditor = function () {
20327
20350
  var selection = this.currentSelection ? this.currentSelection : this.getSelection();
@@ -20330,6 +20353,17 @@
20330
20353
  EditorJSTool.prototype.clear = function () {
20331
20354
  resetBlockFocus(this.parentEditor);
20332
20355
  };
20356
+ EditorJSTool.prototype.getTextNodes = function (container) {
20357
+ var childTextNodes = [];
20358
+ if (container.childNodes) {
20359
+ for (var i = 0; i < container.childNodes.length; ++i) {
20360
+ if (container.childNodes[i].nodeType === Node.TEXT_NODE) {
20361
+ childTextNodes.push(container.childNodes[i]);
20362
+ }
20363
+ }
20364
+ }
20365
+ return childTextNodes;
20366
+ };
20333
20367
  return EditorJSTool;
20334
20368
  }());
20335
20369
  var isTextEditionTool = false;
@@ -20365,7 +20399,6 @@
20365
20399
  __extends(InlineStyleTool, _super);
20366
20400
  function InlineStyleTool() {
20367
20401
  var _this = _super.apply(this, __spread(arguments)) || this;
20368
- _this.containers = 'h1,h2,h3,h4,h5,h6,p,li';
20369
20402
  _this.modifiers = 'strong,em';
20370
20403
  _this.foundAnchorOffset = 0;
20371
20404
  _this.foundFocusOffset = 0;
@@ -20384,8 +20417,8 @@
20384
20417
  InlineStyleTool.prototype.execCommandStyle = function (action) {
20385
20418
  return __awaiter(this, void 0, void 0, function () {
20386
20419
  var selection, anchorNode, container, sameSelection;
20387
- return __generator(this, function (_c) {
20388
- switch (_c.label) {
20420
+ return __generator(this, function (_d) {
20421
+ switch (_d.label) {
20389
20422
  case 0:
20390
20423
  selection = this.currentSelection ? this.currentSelection : this.getSelection();
20391
20424
  if (!selection) {
@@ -20404,48 +20437,51 @@
20404
20437
  sameSelection = container && container.innerText === selection.toString();
20405
20438
  return [4 /*yield*/, this.saveInlineSelection(container, true)];
20406
20439
  case 1:
20407
- _c.sent();
20408
- if (!(sameSelection &&
20409
- !this.isContainer(this.containers, container) &&
20410
- this.hasStyle(container) &&
20411
- selection.toString() === this.hasStyle(container).innerText)) return [3 /*break*/, 3];
20412
- console.log('update');
20413
- return [4 /*yield*/, this.updateSelection(selection, this.hasStyle(container), action, this.containers)];
20440
+ _d.sent();
20441
+ if (!(this.modifies.tag && this.tag.toLowerCase() === 'a' && !this.attributesToApply)) return [3 /*break*/, 3];
20442
+ return [4 /*yield*/, this.replaceLink(selection, this.hasStyle(container))];
20414
20443
  case 2:
20415
- _c.sent();
20416
- return [3 /*break*/, 5];
20444
+ _d.sent();
20445
+ return [3 /*break*/, 7];
20417
20446
  case 3:
20418
- console.log('replace');
20419
- return [4 /*yield*/, this.replaceSelection(container, action, selection, this.containers)];
20447
+ if (!(sameSelection &&
20448
+ !this.isContainer(this.textContainers, container) &&
20449
+ this.hasStyle(container) &&
20450
+ selection.toString() === this.hasStyle(container).innerText)) return [3 /*break*/, 5];
20451
+ return [4 /*yield*/, this.updateSelection(selection, this.hasStyle(container), action, this.textContainers)];
20420
20452
  case 4:
20421
- _c.sent();
20422
- _c.label = 5;
20423
- case 5: return [4 /*yield*/, this.cleanupContainer(selection, container, true)];
20453
+ _d.sent();
20454
+ return [3 /*break*/, 7];
20455
+ case 5: return [4 /*yield*/, this.replaceSelection(container, action, selection, this.textContainers)];
20424
20456
  case 6:
20425
- _c.sent();
20426
- if (!this.modifiedContent) return [3 /*break*/, 8];
20457
+ _d.sent();
20458
+ _d.label = 7;
20459
+ case 7: return [4 /*yield*/, this.cleanupContainer(selection, container, true)];
20460
+ case 8:
20461
+ _d.sent();
20462
+ if (!this.modifiedContent) return [3 /*break*/, 10];
20427
20463
  return [4 /*yield*/, this.resetInlineSelection(container, true)];
20428
- case 7:
20429
- _c.sent();
20430
- _c.label = 8;
20431
- case 8: return [2 /*return*/];
20464
+ case 9:
20465
+ _d.sent();
20466
+ _d.label = 10;
20467
+ case 10: return [2 /*return*/];
20432
20468
  }
20433
20469
  });
20434
20470
  });
20435
20471
  };
20436
20472
  InlineStyleTool.prototype.updateSelection = function (selection, container, action, containers) {
20437
20473
  return __awaiter(this, void 0, void 0, function () {
20438
- var css, _c, _d, range, newElement_1, elementClone;
20439
- return __generator(this, function (_e) {
20440
- switch (_e.label) {
20474
+ var css, _d, _e, range, newElement_1, elementClone;
20475
+ return __generator(this, function (_f) {
20476
+ switch (_f.label) {
20441
20477
  case 0:
20442
20478
  if (!this.modifies.style) return [3 /*break*/, 2];
20443
20479
  css = this.style.property;
20444
- _c = container.style;
20445
- _d = css;
20480
+ _d = container.style;
20481
+ _e = css;
20446
20482
  return [4 /*yield*/, this.getStyleValue(container, action, containers)];
20447
20483
  case 1:
20448
- _c[_d] = _e.sent();
20484
+ _d[_e] = _f.sent();
20449
20485
  return [3 /*break*/, 5];
20450
20486
  case 2:
20451
20487
  range = this.getRangeObject(selection);
@@ -20453,11 +20489,11 @@
20453
20489
  if (!this.modifies.class) return [3 /*break*/, 4];
20454
20490
  return [4 /*yield*/, this.removeChildrenClasses(newElement_1)];
20455
20491
  case 3:
20456
- _e.sent();
20492
+ _f.sent();
20457
20493
  if (this.classToApply !== '') {
20458
20494
  newElement_1.classList.add(this.classToApply);
20459
20495
  }
20460
- _e.label = 4;
20496
+ _f.label = 4;
20461
20497
  case 4:
20462
20498
  if (this.modifies.attribute) {
20463
20499
  this.attributesToApply.forEach(function (attribute) {
@@ -20472,17 +20508,18 @@
20472
20508
  }
20473
20509
  container.parentElement.replaceChild(newElement_1, container);
20474
20510
  range.insertNode(newElement_1);
20475
- _e.label = 5;
20511
+ _f.label = 5;
20476
20512
  case 5: return [2 /*return*/];
20477
20513
  }
20478
20514
  });
20479
20515
  });
20480
20516
  };
20481
20517
  InlineStyleTool.prototype.replaceSelection = function (container, action, selection, containers) {
20518
+ var _a;
20482
20519
  return __awaiter(this, void 0, void 0, function () {
20483
- var parentContainer, focusNode, offsetContainer, offsetParentContainer, range, currentFragment, currentElement_1, currentElementToAppend, currentParentElement, tmpElement, isLTR, selectionFocusOffset, selectionFocusNode, newSelection, preRange, preFragment, newElement, range, fragment, newElement_2;
20484
- return __generator(this, function (_c) {
20485
- switch (_c.label) {
20520
+ var parentContainer, focusNode, offsetContainer, offsetParentContainer, range, currentFragment, currentElement_1, currentElementToAppend, currentParentElement, tmpElement, isLTR, selectionFocusOffset, selectionFocusNode, newSelection, preRange, preFragment, newElement, range, fragment, fragmentElement, newElement_2, elementToAppend;
20521
+ return __generator(this, function (_d) {
20522
+ switch (_d.label) {
20486
20523
  case 0:
20487
20524
  parentContainer = this.hasStyle(container);
20488
20525
  focusNode = selection.focusNode;
@@ -20501,11 +20538,11 @@
20501
20538
  if (!this.modifies.class) return [3 /*break*/, 2];
20502
20539
  return [4 /*yield*/, this.removeChildrenClasses(currentElement_1)];
20503
20540
  case 1:
20504
- _c.sent();
20541
+ _d.sent();
20505
20542
  if (this.classToApply !== '') {
20506
20543
  currentElement_1.classList.add(this.classToApply);
20507
20544
  }
20508
- _c.label = 2;
20545
+ _d.label = 2;
20509
20546
  case 2:
20510
20547
  if (this.modifies.attribute) {
20511
20548
  this.attributesToApply.forEach(function (attribute) {
@@ -20538,32 +20575,56 @@
20538
20575
  case 3:
20539
20576
  range = this.getRangeObject(selection);
20540
20577
  fragment = range.extractContents();
20578
+ fragmentElement = document.createElement('div');
20541
20579
  return [4 /*yield*/, this.createElement(container, action, containers)];
20542
20580
  case 4:
20543
- newElement_2 = _c.sent();
20544
- newElement_2.append(fragment);
20581
+ newElement_2 = _d.sent();
20582
+ elementToAppend = newElement_2;
20583
+ fragmentElement.append(fragment);
20584
+ if (((_a = fragmentElement.children) === null || _a === void 0 ? void 0 : _a.length) === 1 &&
20585
+ this.textContainers.split(',').indexOf(fragmentElement.children[0].tagName.toLowerCase()) > -1) {
20586
+ elementToAppend = fragmentElement.children[0];
20587
+ newElement_2.innerHTML = fragmentElement.children[0].innerHTML;
20588
+ elementToAppend.innerHTML = '';
20589
+ elementToAppend.append(newElement_2);
20590
+ }
20591
+ else {
20592
+ newElement_2.innerHTML = fragmentElement.innerHTML;
20593
+ }
20545
20594
  if (!this.modifies.class) return [3 /*break*/, 6];
20546
20595
  return [4 /*yield*/, this.removeChildrenClasses(newElement_2)];
20547
20596
  case 5:
20548
- _c.sent();
20597
+ _d.sent();
20549
20598
  if (this.classToApply !== '') {
20550
20599
  newElement_2.classList.add(this.classToApply);
20551
20600
  }
20552
- _c.label = 6;
20601
+ _d.label = 6;
20553
20602
  case 6:
20554
20603
  if (this.modifies.attribute) {
20555
20604
  this.attributesToApply.forEach(function (attribute) {
20556
20605
  newElement_2.setAttribute(attribute.name, attribute.value);
20557
20606
  });
20558
20607
  }
20559
- range.insertNode(newElement_2);
20560
- selection.selectAllChildren(newElement_2);
20561
- _c.label = 7;
20608
+ range.insertNode(elementToAppend);
20609
+ selection.selectAllChildren(elementToAppend);
20610
+ _d.label = 7;
20562
20611
  case 7: return [2 /*return*/];
20563
20612
  }
20564
20613
  });
20565
20614
  });
20566
20615
  };
20616
+ InlineStyleTool.prototype.replaceLink = function (selection, container) {
20617
+ return __awaiter(this, void 0, void 0, function () {
20618
+ var newElement;
20619
+ return __generator(this, function (_d) {
20620
+ newElement = document.createElement('span');
20621
+ newElement.innerHTML = container.innerHTML;
20622
+ container.parentElement.replaceChild(newElement, container);
20623
+ selection.selectAllChildren(newElement);
20624
+ return [2 /*return*/];
20625
+ });
20626
+ });
20627
+ };
20567
20628
  InlineStyleTool.prototype.isAnchorBeforeFocus = function (anchorNode, anchorOffset, focusNode, focusOffset) {
20568
20629
  var anchorRange = document.createRange();
20569
20630
  var focusRange = document.createRange();
@@ -20576,11 +20637,19 @@
20576
20637
  }
20577
20638
  return false;
20578
20639
  };
20579
- InlineStyleTool.prototype.hasStyle = function (element) {
20580
- var _a, _b;
20640
+ InlineStyleTool.prototype.hasStyle = function (element, firstTimeCall) {
20641
+ if (firstTimeCall === void 0) { firstTimeCall = true; }
20642
+ var _a, _b, _c;
20643
+ if (firstTimeCall && element.children) {
20644
+ while (element.children &&
20645
+ element.innerText === ((_a = element.children[0]) === null || _a === void 0 ? void 0 : _a.innerText) &&
20646
+ element.children.length === 1) {
20647
+ element = element.children[0];
20648
+ }
20649
+ }
20581
20650
  // foundElement was added because of a return issue when a class is applied
20582
20651
  var foundElement = null;
20583
- if (!element || ((_a = element.classList) === null || _a === void 0 ? void 0 : _a.contains('ce-paragraph'))) {
20652
+ if (!element || ((_b = element.classList) === null || _b === void 0 ? void 0 : _b.contains('ce-paragraph'))) {
20584
20653
  return null;
20585
20654
  }
20586
20655
  if (this.modifies.style) {
@@ -20601,7 +20670,7 @@
20601
20670
  });
20602
20671
  }
20603
20672
  else if (this.modifies.tag) {
20604
- if (((_b = element.tagName) === null || _b === void 0 ? void 0 : _b.toLowerCase()) === this.tag.toLowerCase()) {
20673
+ if (((_c = element.tagName) === null || _c === void 0 ? void 0 : _c.toLowerCase()) === this.tag.toLowerCase()) {
20605
20674
  return element;
20606
20675
  }
20607
20676
  }
@@ -20618,15 +20687,15 @@
20618
20687
  return foundElement;
20619
20688
  }
20620
20689
  if (!foundElement && element.parentElement) {
20621
- return this.hasStyle(element.parentElement);
20690
+ return this.hasStyle(element.parentElement, false);
20622
20691
  }
20623
20692
  return null;
20624
20693
  };
20625
20694
  InlineStyleTool.prototype.getStyleValue = function (container, action, containers) {
20626
20695
  return __awaiter(this, void 0, void 0, function () {
20627
20696
  var style;
20628
- return __generator(this, function (_c) {
20629
- switch (_c.label) {
20697
+ return __generator(this, function (_d) {
20698
+ switch (_d.label) {
20630
20699
  case 0:
20631
20700
  if (!container) {
20632
20701
  return [2 /*return*/, this.style.value.indexOf('$1') > -1 ? this.style.value.replace('$1', this.style.input) : this.style.value];
@@ -20636,8 +20705,8 @@
20636
20705
  }
20637
20706
  return [4 /*yield*/, this.findStyleNode(container, action, containers)];
20638
20707
  case 1:
20639
- style = _c.sent();
20640
- if (this.hasStyle(style) && this.style.value.indexOf('$1') === -1) {
20708
+ style = _d.sent();
20709
+ if (style && this.hasStyle(style) && this.style.value.indexOf('$1') === -1) {
20641
20710
  return [2 /*return*/, this.style.default];
20642
20711
  }
20643
20712
  return [2 /*return*/, this.style.value.indexOf('$1') > -1 ? this.style.value.replace('$1', this.style.input) : this.style.value];
@@ -20648,8 +20717,8 @@
20648
20717
  InlineStyleTool.prototype.findStyleNode = function (node, style, containers) {
20649
20718
  return __awaiter(this, void 0, void 0, function () {
20650
20719
  var hasStyle;
20651
- return __generator(this, function (_c) {
20652
- switch (_c.label) {
20720
+ return __generator(this, function (_d) {
20721
+ switch (_d.label) {
20653
20722
  case 0:
20654
20723
  if (node.nodeName.toUpperCase() === 'HTML' || node.nodeName.toUpperCase() === 'BODY') {
20655
20724
  return [2 /*return*/, null];
@@ -20667,26 +20736,26 @@
20667
20736
  return [2 /*return*/, node];
20668
20737
  }
20669
20738
  return [4 /*yield*/, this.findStyleNode(node.parentNode, style, containers)];
20670
- case 1: return [2 /*return*/, _c.sent()];
20739
+ case 1: return [2 /*return*/, _d.sent()];
20671
20740
  }
20672
20741
  });
20673
20742
  });
20674
20743
  };
20675
20744
  InlineStyleTool.prototype.createElement = function (container, action, containers) {
20676
20745
  return __awaiter(this, void 0, void 0, function () {
20677
- var newElement, property, _c, _d;
20678
- return __generator(this, function (_e) {
20679
- switch (_e.label) {
20746
+ var newElement, property, _d, _e;
20747
+ return __generator(this, function (_f) {
20748
+ switch (_f.label) {
20680
20749
  case 0:
20681
20750
  newElement = document.createElement(this.tag);
20682
20751
  if (!this.modifies.style) return [3 /*break*/, 2];
20683
20752
  property = this.style.property;
20684
- _c = newElement.style;
20685
- _d = property;
20753
+ _d = newElement.style;
20754
+ _e = property;
20686
20755
  return [4 /*yield*/, this.getStyleValue(container, action, containers)];
20687
20756
  case 1:
20688
- _c[_d] = _e.sent();
20689
- _e.label = 2;
20757
+ _d[_e] = _f.sent();
20758
+ _f.label = 2;
20690
20759
  case 2: return [2 /*return*/, newElement];
20691
20760
  }
20692
20761
  });
@@ -20695,15 +20764,15 @@
20695
20764
  InlineStyleTool.prototype.removeChildrenClasses = function (element) {
20696
20765
  return __awaiter(this, void 0, void 0, function () {
20697
20766
  var children, currentElement;
20698
- return __generator(this, function (_c) {
20699
- switch (_c.label) {
20767
+ return __generator(this, function (_d) {
20768
+ switch (_d.label) {
20700
20769
  case 0:
20701
20770
  if (!element) {
20702
20771
  return [2 /*return*/];
20703
20772
  }
20704
20773
  children = element.children;
20705
20774
  currentElement = children[0];
20706
- _c.label = 1;
20775
+ _d.label = 1;
20707
20776
  case 1:
20708
20777
  if (!currentElement) return [3 /*break*/, 4];
20709
20778
  this.classes.split(',').forEach(function (className) {
@@ -20720,8 +20789,8 @@
20720
20789
  if (!(currentElement.children.length > 0)) return [3 /*break*/, 3];
20721
20790
  return [4 /*yield*/, this.removeChildrenClasses(currentElement)];
20722
20791
  case 2:
20723
- _c.sent();
20724
- _c.label = 3;
20792
+ _d.sent();
20793
+ _d.label = 3;
20725
20794
  case 3:
20726
20795
  currentElement = currentElement.nextElementSibling;
20727
20796
  return [3 /*break*/, 1];
@@ -20734,8 +20803,8 @@
20734
20803
  var _a;
20735
20804
  return __awaiter(this, void 0, void 0, function () {
20736
20805
  var parentContainer, parentFound, children, currentNode, identicalElements, currentElement, nextElement, currentNodeFirstChild;
20737
- return __generator(this, function (_c) {
20738
- switch (_c.label) {
20806
+ return __generator(this, function (_d) {
20807
+ switch (_d.label) {
20739
20808
  case 0:
20740
20809
  parentFound = false;
20741
20810
  if (firstTimeCall) {
@@ -20759,14 +20828,14 @@
20759
20828
  children = Array.from(parentContainer.childNodes);
20760
20829
  if (!((children === null || children === void 0 ? void 0 : children.length) > 0)) return [3 /*break*/, 5];
20761
20830
  currentNode = children[0];
20762
- _c.label = 1;
20831
+ _d.label = 1;
20763
20832
  case 1:
20764
20833
  if (!currentNode) return [3 /*break*/, 5];
20765
20834
  if (!(currentNode.childNodes.length > 0)) return [3 /*break*/, 3];
20766
20835
  return [4 /*yield*/, this.cleanupContainer(selection, currentNode, false)];
20767
20836
  case 2:
20768
- _c.sent();
20769
- _c.label = 3;
20837
+ _d.sent();
20838
+ _d.label = 3;
20770
20839
  case 3:
20771
20840
  identicalElements = true;
20772
20841
  while (identicalElements &&
@@ -20802,7 +20871,7 @@
20802
20871
  this.modifiedContent = true;
20803
20872
  }
20804
20873
  currentNode.normalize();
20805
- _c.label = 4;
20874
+ _d.label = 4;
20806
20875
  case 4:
20807
20876
  currentNode = currentNode.nextSibling;
20808
20877
  return [3 /*break*/, 1];
@@ -20824,15 +20893,15 @@
20824
20893
  };
20825
20894
  InlineStyleTool.prototype.sortInlineStyle = function (currentElement) {
20826
20895
  return Object.entries(currentElement)
20827
- .sort(function (_c, _d) {
20828
- var _e = __read(_c, 2), a = _e[1];
20829
- var _f = __read(_d, 2), b = _f[1];
20896
+ .sort(function (_d, _e) {
20897
+ var _f = __read(_d, 2), a = _f[1];
20898
+ var _g = __read(_e, 2), b = _g[1];
20830
20899
  return a - b;
20831
20900
  })
20832
- .reduce(function (r, _c) {
20833
- var _d;
20834
- var _e = __read(_c, 2), k = _e[0], v = _e[1];
20835
- return (Object.assign(Object.assign({}, r), (_d = {}, _d[k] = v, _d)));
20901
+ .reduce(function (r, _d) {
20902
+ var _e;
20903
+ var _f = __read(_d, 2), k = _f[0], v = _f[1];
20904
+ return (Object.assign(Object.assign({}, r), (_e = {}, _e[k] = v, _e)));
20836
20905
  }, {});
20837
20906
  };
20838
20907
  InlineStyleTool.prototype.getInlineStyle = function (currentElement) {
@@ -20861,8 +20930,8 @@
20861
20930
  if (firstTimeCall === void 0) { firstTimeCall = false; }
20862
20931
  return __awaiter(this, void 0, void 0, function () {
20863
20932
  var nextNode, selection, range, currentFragment, currentElement;
20864
- return __generator(this, function (_c) {
20865
- switch (_c.label) {
20933
+ return __generator(this, function (_d) {
20934
+ switch (_d.label) {
20866
20935
  case 0:
20867
20936
  if (firstTimeCall) {
20868
20937
  container = this.parentEditor.querySelector('.ce-paragraph').firstElementChild;
@@ -20872,7 +20941,7 @@
20872
20941
  this.foundFocusOffset = 0;
20873
20942
  }
20874
20943
  nextNode = container.firstChild;
20875
- _c.label = 1;
20944
+ _d.label = 1;
20876
20945
  case 1:
20877
20946
  if (!(nextNode && (!this.foundAnchorNode || !this.foundFocusNode))) return [3 /*break*/, 4];
20878
20947
  if (nextNode === this.selectedAnchorNode) {
@@ -20899,8 +20968,8 @@
20899
20968
  if (!nextNode.firstChild) return [3 /*break*/, 3];
20900
20969
  return [4 /*yield*/, this.saveInlineSelection(nextNode)];
20901
20970
  case 2:
20902
- _c.sent();
20903
- _c.label = 3;
20971
+ _d.sent();
20972
+ _d.label = 3;
20904
20973
  case 3:
20905
20974
  nextNode = nextNode.nextSibling;
20906
20975
  return [3 /*break*/, 1];
@@ -20914,8 +20983,8 @@
20914
20983
  if (firstTimeCall === void 0) { firstTimeCall = false; }
20915
20984
  return __awaiter(this, void 0, void 0, function () {
20916
20985
  var nextNode;
20917
- return __generator(this, function (_c) {
20918
- switch (_c.label) {
20986
+ return __generator(this, function (_d) {
20987
+ switch (_d.label) {
20919
20988
  case 0:
20920
20989
  if (firstTimeCall) {
20921
20990
  container = this.parentEditor.querySelector('.ce-paragraph').firstElementChild;
@@ -20924,7 +20993,7 @@
20924
20993
  this.tmpOffset = 0;
20925
20994
  }
20926
20995
  nextNode = container.firstChild;
20927
- _c.label = 1;
20996
+ _d.label = 1;
20928
20997
  case 1:
20929
20998
  if (!(nextNode && (!this.foundAnchorNode || !this.foundFocusNode))) return [3 /*break*/, 4];
20930
20999
  if (nextNode.nodeType === Node.TEXT_NODE) {
@@ -20945,8 +21014,8 @@
20945
21014
  if (!nextNode.firstChild) return [3 /*break*/, 3];
20946
21015
  return [4 /*yield*/, this.resetInlineSelection(nextNode)];
20947
21016
  case 2:
20948
- _c.sent();
20949
- _c.label = 3;
21017
+ _d.sent();
21018
+ _d.label = 3;
20950
21019
  case 3:
20951
21020
  nextNode = nextNode.nextSibling;
20952
21021
  return [3 /*break*/, 1];
@@ -21638,6 +21707,26 @@
21638
21707
  }(InlineStyleTool));
21639
21708
  CapitalizeTool.title = 'Capitalize';
21640
21709
 
21710
+ var editorJSI18nDictionnary;
21711
+ var EditorJSTranslationService = /** @class */ (function () {
21712
+ function EditorJSTranslationService() {
21713
+ }
21714
+ EditorJSTranslationService.prototype.setDictionnary = function (dictionnary) {
21715
+ editorJSI18nDictionnary = dictionnary;
21716
+ };
21717
+ EditorJSTranslationService.prototype.get = function (key) {
21718
+ return editorJSI18nDictionnary[key];
21719
+ };
21720
+ return EditorJSTranslationService;
21721
+ }());
21722
+ EditorJSTranslationService.ɵprov = i0.ɵɵdefineInjectable({ factory: function EditorJSTranslationService_Factory() { return new EditorJSTranslationService(); }, token: EditorJSTranslationService, providedIn: "root" });
21723
+ EditorJSTranslationService.decorators = [
21724
+ { type: i0.Injectable, args: [{
21725
+ providedIn: 'root',
21726
+ },] }
21727
+ ];
21728
+ EditorJSTranslationService.ctorParameters = function () { return []; };
21729
+
21641
21730
  var DEFAULT_COLOR_ARRAY = [
21642
21731
  [
21643
21732
  'rgb(0, 0, 0)',
@@ -22242,6 +22331,7 @@
22242
22331
  if (!isBlockFocused) {
22243
22332
  setBlockFocus(this.parentEditor);
22244
22333
  }
22334
+ this.checkDefaultColors();
22245
22335
  var isActive = this.hasStyle(selection.anchorNode) ? true : false;
22246
22336
  this.nodes.button.classList.toggle(this.CSS.buttonActive, isActive);
22247
22337
  return isActive;
@@ -22267,7 +22357,7 @@
22267
22357
  var customColor = document.createElement('div');
22268
22358
  customColor.className = this.colorSelectionCss['container'];
22269
22359
  var text = document.createElement('p');
22270
- text.innerText = this.api.i18n.t('customColor');
22360
+ text.innerText = editorJSI18nDictionnary.messages.tools.textBackgroundColor['customColor'];
22271
22361
  var button = document.createElement('div');
22272
22362
  button.addEventListener('click', function (event) { return _this.openCustomColorPicker(event); });
22273
22363
  var container = this.createCustomColorPicker();
@@ -22398,12 +22488,8 @@
22398
22488
  return __generator(this, function (_a) {
22399
22489
  switch (_a.label) {
22400
22490
  case 0:
22401
- console.log('applyColor');
22402
22491
  colorIndicator = this.nodes.button.querySelectorAll('.' + this.CSS.colorIndicatorModifier)[0];
22403
22492
  this.style.input = color;
22404
- console.log('this.style.input');
22405
- console.log(this.style.input);
22406
- console.warn(color);
22407
22493
  this.resetUserSelection();
22408
22494
  return [4 /*yield*/, this.surround(null, true)];
22409
22495
  case 1:
@@ -22427,6 +22513,7 @@
22427
22513
  if (!isBlockFocused) {
22428
22514
  setBlockFocus(this.parentEditor);
22429
22515
  }
22516
+ this.checkDefaultColors();
22430
22517
  var isActive = this.hasStyle(selection.anchorNode) ? true : false;
22431
22518
  this.nodes.button.classList.toggle(this.CSS.buttonActive, isActive);
22432
22519
  return isActive;
@@ -22453,13 +22540,13 @@
22453
22540
  var removeColorContainerIcon = document.createElement('span');
22454
22541
  removeColorContainer.classList.add(this.CSS.removeBackgroundColorClass);
22455
22542
  removeColorContainer.addEventListener('click', function () { return _this.applyColor('rgba(0,0,0,0)'); });
22456
- removeColorContainer.innerText = this.api.i18n.t('None');
22543
+ removeColorContainer.innerText = editorJSI18nDictionnary.messages.tools.textBackgroundColor['None'];
22457
22544
  removeColorContainer.appendChild(removeColorContainerIcon);
22458
22545
  this.colorSelection.appendChild(removeColorContainer);
22459
22546
  var customColor = document.createElement('div');
22460
22547
  customColor.className = this.colorSelectionCss['container'];
22461
22548
  var text = document.createElement('p');
22462
- text.innerText = this.api.i18n.t('customColor');
22549
+ text.innerText = editorJSI18nDictionnary.messages.tools.textBackgroundColor['customColor'];
22463
22550
  var button = document.createElement('div');
22464
22551
  button.addEventListener('click', function (event) { return _this.openCustomColorPicker(event); });
22465
22552
  var container = this.createCustomColorPicker();
@@ -22519,6 +22606,8 @@
22519
22606
  if ((this.classToApply && this.classToApply.length > 0) || (this.classes && this.classes.length > 0)) {
22520
22607
  this.changeCurrentClass(parentModifier);
22521
22608
  }
22609
+ this.saveUserSelection();
22610
+ this.resetUserSelection();
22522
22611
  return [2 /*return*/];
22523
22612
  });
22524
22613
  });
@@ -22555,8 +22644,18 @@
22555
22644
  currentIndex++;
22556
22645
  }
22557
22646
  };
22647
+ ParagraphStyleTool.prototype.getCurrentParagraph = function (anchorNode) {
22648
+ if (anchorNode.nodeType === Node.ELEMENT_NODE && anchorNode.classList.contains('ce-paragraph')) {
22649
+ return anchorNode;
22650
+ }
22651
+ if (anchorNode.parentElement.classList.contains('ce-paragraph')) {
22652
+ return anchorNode.parentElement;
22653
+ }
22654
+ return anchorNode.parentElement.closest('.ce-paragraph');
22655
+ };
22558
22656
  ParagraphStyleTool.prototype.changeContainerTag = function (container, selection) {
22559
22657
  var range = this.getRangeObject(selection);
22658
+ var currentParagraph = this.getCurrentParagraph(selection.anchorNode);
22560
22659
  var tagToCreate = this.tag;
22561
22660
  if (container.tagName.toLowerCase() === this.tag.toLowerCase() && this.removableModifiers.indexOf(this.tag.toLowerCase()) > -1) {
22562
22661
  tagToCreate = 'p';
@@ -22567,13 +22666,13 @@
22567
22666
  }
22568
22667
  var containerToCopy = container;
22569
22668
  if (container.tagName.toLowerCase() === 'ul' || container.tagName.toLowerCase() === 'ol') {
22570
- this.parentEditor.querySelector('.ce-block--focused .ce-paragraph').removeEventListener('keydown', onEditList, true);
22669
+ currentParagraph.removeEventListener('keydown', onEditList, true);
22571
22670
  containerToCopy = container.firstElementChild;
22572
22671
  }
22573
22672
  if (newContainer.tagName.toLowerCase() === 'ul' || newContainer.tagName.toLowerCase() === 'ol') {
22574
22673
  listApi = this.api;
22575
22674
  listEditor = this.parentEditor;
22576
- this.parentEditor.querySelector('.ce-block--focused .ce-paragraph').addEventListener('keydown', onEditList, true);
22675
+ currentParagraph.addEventListener('keydown', onEditList, true);
22577
22676
  }
22578
22677
  if ((this.tag.toLowerCase() === 'ul' || this.tag.toLowerCase() === 'ol') &&
22579
22678
  container.tagName.toLowerCase() !== this.tag.toLowerCase()) {
@@ -22653,6 +22752,10 @@
22653
22752
  }(EditorJSTool));
22654
22753
  var listApi = null;
22655
22754
  var listEditor = null;
22755
+ function setlistApiEditor(api, editor) {
22756
+ listApi = api;
22757
+ listEditor = editor;
22758
+ }
22656
22759
  function onEditList(event) {
22657
22760
  var focusedBlock = event.target;
22658
22761
  if (LIST_EDIT_KEY_CODES.indexOf(event.code) > -1) {
@@ -22676,7 +22779,19 @@
22676
22779
  var listElement = document.createElement(previousBlock.querySelector('.ce-paragraph').firstElementChild.tagName);
22677
22780
  listElement.appendChild(document.createElement('li'));
22678
22781
  if (listElement.tagName.toLowerCase() === 'ol') {
22679
- listElement.firstElementChild.setAttribute('value', (parseInt(previousBlock.querySelector('li').getAttribute('value')) + 1).toString());
22782
+ var value = parseInt(previousBlock.querySelector('li').getAttribute('value')) + 1;
22783
+ var nextListElement = true;
22784
+ listElement.firstElementChild.setAttribute('value', value.toString());
22785
+ for (var i = listApi.blocks.getCurrentBlockIndex() + 1; i < listEditor.querySelectorAll('.ce-block').length && nextListElement; ++i) {
22786
+ var followingOlBlock = listEditor.querySelectorAll('.ce-block')[i];
22787
+ if (followingOlBlock.querySelector('ol')) {
22788
+ ++value;
22789
+ followingOlBlock.querySelector('li').setAttribute('value', value.toString());
22790
+ }
22791
+ else {
22792
+ nextListElement = false;
22793
+ }
22794
+ }
22680
22795
  }
22681
22796
  currentParagraph.appendChild(listElement);
22682
22797
  currentParagraph.addEventListener('keydown', onEditList, true);
@@ -22974,7 +23089,7 @@
22974
23089
  this.textTypes.forEach(function (textType) {
22975
23090
  var row = document.createElement('div');
22976
23091
  row.className = _this.dropdownCss['row'];
22977
- row.innerText = _this.api.i18n.t('textType.name');
23092
+ row.innerText = editorJSI18nDictionnary.messages.tools.textType[textType.name];
22978
23093
  row.addEventListener('click', function () { return _this.applyTextStyle(textType.tag); });
22979
23094
  textTypeDropdown.appendChild(row);
22980
23095
  });
@@ -23621,6 +23736,8 @@
23621
23736
  linkInputId: 'linkInput',
23622
23737
  targetCheckboxId: 'targetCheckbox',
23623
23738
  obfuscationCheckboxId: 'obfuscationCheckbox',
23739
+ addButtonClass: 'ce-inline-actions--link__add',
23740
+ deleteButtonClass: 'ce-inline-actions--link__delete',
23624
23741
  };
23625
23742
  _this.attributeName = 'data-htap,href';
23626
23743
  _this.attributesToApply = [];
@@ -23705,17 +23822,18 @@
23705
23822
  };
23706
23823
  LinkTool.prototype.applyLink = function () {
23707
23824
  return __awaiter(this, void 0, void 0, function () {
23708
- var targetCheckbox, obfuscationCheckbox, linkInput;
23825
+ var uuid, targetCheckbox, obfuscationCheckbox, linkInput;
23709
23826
  return __generator(this, function (_a) {
23710
23827
  switch (_a.label) {
23711
23828
  case 0:
23712
23829
  if (!this.parentEditor) {
23713
23830
  this.parentEditor = this.findParentEditor();
23714
23831
  }
23832
+ uuid = this.parentEditor.getAttribute('id').replace('editorJs-', '');
23715
23833
  this.attributesToApply = [];
23716
- targetCheckbox = this.parentEditor.querySelector('#' + this.linkCss['targetCheckboxId']);
23717
- obfuscationCheckbox = this.parentEditor.querySelector('#' + this.linkCss['obfuscationCheckboxId']);
23718
- linkInput = this.parentEditor.querySelector('#' + this.linkCss['linkInputId']);
23834
+ targetCheckbox = this.parentEditor.querySelector('#' + this.linkCss['targetCheckboxId'] + uuid);
23835
+ obfuscationCheckbox = this.parentEditor.querySelector('#' + this.linkCss['obfuscationCheckboxId'] + uuid);
23836
+ linkInput = this.parentEditor.querySelector('#' + this.linkCss['linkInputId'] + uuid);
23719
23837
  if (targetCheckbox.checked) {
23720
23838
  this.attributesToApply.push({
23721
23839
  name: 'target',
@@ -23749,8 +23867,34 @@
23749
23867
  });
23750
23868
  });
23751
23869
  };
23870
+ LinkTool.prototype.deleteLink = function () {
23871
+ return __awaiter(this, void 0, void 0, function () {
23872
+ return __generator(this, function (_a) {
23873
+ switch (_a.label) {
23874
+ case 0:
23875
+ if (!this.parentEditor) {
23876
+ this.parentEditor = this.findParentEditor();
23877
+ }
23878
+ this.tag = 'A';
23879
+ this.attributesToApply = null;
23880
+ this.modifies.tag = true;
23881
+ this.resetUserSelection();
23882
+ return [4 /*yield*/, this.surround(null, true)];
23883
+ case 1:
23884
+ _a.sent();
23885
+ this.checkState(this.currentSelection);
23886
+ this.openLinkDropdown();
23887
+ return [2 /*return*/];
23888
+ }
23889
+ });
23890
+ });
23891
+ };
23752
23892
  LinkTool.prototype.renderActions = function () {
23753
23893
  var _this = this;
23894
+ if (!this.parentEditor) {
23895
+ this.parentEditor = this.findParentEditor();
23896
+ }
23897
+ var uuid = this.parentEditor.getAttribute('id').replace('editorJs-', '');
23754
23898
  var container = document.createElement('div');
23755
23899
  container.className = this.linkCss['container'] + ' hidden';
23756
23900
  var linkContainer = document.createElement('div');
@@ -23760,27 +23904,31 @@
23760
23904
  var obfuscationContainer = document.createElement('div');
23761
23905
  obfuscationContainer.className = this.linkCss['obfuscationContainer'];
23762
23906
  var applyButton = document.createElement('button');
23763
- applyButton.innerText = this.api.i18n.t('add');
23907
+ applyButton.className = this.linkCss['addButtonClass'];
23908
+ applyButton.innerText = editorJSI18nDictionnary.messages.tools.link['add'];
23764
23909
  applyButton.addEventListener('click', function () { return _this.applyLink(); });
23765
23910
  var linkInput = document.createElement('input');
23766
- linkInput.setAttribute('id', this.linkCss['linkInputId']);
23767
- linkInput.setAttribute('placeholder', this.api.i18n.t('placeholder'));
23911
+ linkInput.setAttribute('id', this.linkCss['linkInputId'] + uuid);
23912
+ linkInput.setAttribute('placeholder', editorJSI18nDictionnary.messages.tools.link['placeholder']);
23768
23913
  var targetCheckbox = document.createElement('input');
23769
- targetCheckbox.setAttribute('id', this.linkCss['targetCheckboxId']);
23914
+ targetCheckbox.setAttribute('id', this.linkCss['targetCheckboxId'] + uuid);
23770
23915
  targetCheckbox.setAttribute('type', 'checkbox');
23771
23916
  var targetLabel = document.createElement('label');
23772
- targetLabel.innerText = this.api.i18n.t('external');
23773
- targetLabel.setAttribute('for', this.linkCss['targetCheckboxId']);
23917
+ targetLabel.innerText = editorJSI18nDictionnary.messages.tools.link['external'];
23918
+ targetLabel.setAttribute('for', this.linkCss['targetCheckboxId'] + uuid);
23774
23919
  var obfuscationCheckbox = document.createElement('input');
23775
- obfuscationCheckbox.setAttribute('id', this.linkCss['obfuscationCheckboxId']);
23920
+ obfuscationCheckbox.setAttribute('id', this.linkCss['obfuscationCheckboxId'] + uuid);
23776
23921
  obfuscationCheckbox.setAttribute('type', 'checkbox');
23777
23922
  var obfuscationLabel = document.createElement('label');
23778
- obfuscationLabel.innerText = this.api.i18n.t('obfuscated');
23779
- obfuscationLabel.setAttribute('for', this.linkCss['obfuscationCheckboxId']);
23923
+ obfuscationLabel.innerText = editorJSI18nDictionnary.messages.tools.link['obfuscated'];
23924
+ obfuscationLabel.setAttribute('for', this.linkCss['obfuscationCheckboxId'] + uuid);
23780
23925
  var obfuscationTooltipContainer = document.createElement('div');
23781
23926
  var obbfuscationTooltip = document.createElement('div');
23782
- obbfuscationTooltip.innerHTML = this.api.i18n.t('info');
23927
+ obbfuscationTooltip.innerHTML = editorJSI18nDictionnary.messages.tools.link['info'];
23783
23928
  obfuscationTooltipContainer.appendChild(obbfuscationTooltip);
23929
+ var deleteButton = document.createElement('button');
23930
+ deleteButton.className = this.linkCss['deleteButtonClass'] + ' hidden';
23931
+ deleteButton.addEventListener('click', function () { return _this.deleteLink(); });
23784
23932
  linkContainer.appendChild(linkInput);
23785
23933
  targetContainer.appendChild(targetCheckbox);
23786
23934
  targetContainer.appendChild(targetLabel);
@@ -23791,9 +23939,42 @@
23791
23939
  container.appendChild(targetContainer);
23792
23940
  container.appendChild(obfuscationContainer);
23793
23941
  container.appendChild(applyButton);
23942
+ container.appendChild(deleteButton);
23794
23943
  return container;
23795
23944
  };
23796
- LinkTool.prototype.showActions = function (mark) { };
23945
+ LinkTool.prototype.showActions = function (mark) {
23946
+ if (!this.parentEditor) {
23947
+ this.parentEditor = this.findParentEditor();
23948
+ }
23949
+ var uuid = this.parentEditor.getAttribute('id').replace('editorJs-', '');
23950
+ var targetCheckbox = this.parentEditor.querySelector('#' + this.linkCss['targetCheckboxId'] + uuid);
23951
+ var obfuscationCheckbox = this.parentEditor.querySelector('#' + this.linkCss['obfuscationCheckboxId'] + uuid);
23952
+ var linkInput = this.parentEditor.querySelector('#' + this.linkCss['linkInputId'] + uuid);
23953
+ var deleteButton = this.parentEditor.querySelector('.' + this.linkCss['deleteButtonClass']);
23954
+ var addButton = this.parentEditor.querySelector('.' + this.linkCss['addButtonClass']);
23955
+ linkInput.value = '';
23956
+ if (this.checkState(this.getSelection())) {
23957
+ var selection = this.getSelection();
23958
+ var element = this.hasStyle(selection.anchorNode);
23959
+ linkInput.value = element.getAttribute(element.tagName.toLowerCase() === 'a' ? 'href' : 'data-htap');
23960
+ targetCheckbox.checked = element.getAttribute('target') === '_blank';
23961
+ obfuscationCheckbox.checked = element.tagName.toLowerCase() === 'span';
23962
+ if (deleteButton.classList.contains('hidden')) {
23963
+ deleteButton.classList.remove('hidden');
23964
+ }
23965
+ if (!addButton.classList.contains('hidden')) {
23966
+ addButton.classList.add('hidden');
23967
+ }
23968
+ }
23969
+ else {
23970
+ if (!deleteButton.classList.contains('hidden')) {
23971
+ deleteButton.classList.add('hidden');
23972
+ }
23973
+ if (addButton.classList.contains('hidden')) {
23974
+ addButton.classList.remove('hidden');
23975
+ }
23976
+ }
23977
+ };
23797
23978
  LinkTool.prototype.hideActions = function () { };
23798
23979
  LinkTool.prototype.openLinkDropdown = function () {
23799
23980
  var _this = this;
@@ -23804,6 +23985,7 @@
23804
23985
  this.saveUserSelection();
23805
23986
  if (linkDropdown) {
23806
23987
  if (linkDropdown.classList.contains('hidden')) {
23988
+ this.showActions(null);
23807
23989
  var viewportOffset = linkDropdown.getBoundingClientRect();
23808
23990
  if (viewportOffset.left + linkDropdown.offsetWidth > document.body.offsetWidth) {
23809
23991
  var left = parseInt(window.getComputedStyle(linkDropdown, null).getPropertyValue('left')) -
@@ -23823,6 +24005,7 @@
23823
24005
  }, 400);
23824
24006
  }
23825
24007
  else {
24008
+ this.resetUserSelection();
23826
24009
  this.isLinkDropdownOpen = false;
23827
24010
  linkDropdown.classList.add('hidden');
23828
24011
  }
@@ -24195,7 +24378,7 @@
24195
24378
  this.nodes.button.addEventListener('click', function () { return _this.openDropdown(); });
24196
24379
  this.textSizes.forEach(function (textSize) {
24197
24380
  var span = document.createElement('span');
24198
- span.innerText = _this.api.i18n.t(textSize.name);
24381
+ span.innerText = editorJSI18nDictionnary.messages.tools.textSize[textSize.name];
24199
24382
  _this.nodes.button.appendChild(span);
24200
24383
  });
24201
24384
  var dropdownArrow = document.createElement('span');
@@ -24251,7 +24434,7 @@
24251
24434
  this.textSizes.forEach(function (textSize) {
24252
24435
  var row = document.createElement('div');
24253
24436
  row.className = _this.dropdownCss['row'];
24254
- row.innerText = _this.api.i18n.t(textSize.name);
24437
+ row.innerText = editorJSI18nDictionnary.messages.tools.textSize[textSize.name];
24255
24438
  row.addEventListener('click', function () { return _this.applyTextStyle(textSize.class); });
24256
24439
  textSizeDropdown.appendChild(row);
24257
24440
  });
@@ -24359,8 +24542,8 @@
24359
24542
  var buttonContainer = document.createElement('div');
24360
24543
  var cancelButton = document.createElement('button');
24361
24544
  var saveButton = document.createElement('button');
24362
- cancelButton.innerText = this.api.i18n.t('Cancel');
24363
- saveButton.innerText = this.api.i18n.t('Save');
24545
+ cancelButton.innerText = editorJSI18nDictionnary.messages.tools.codeEdit['Cancel'];
24546
+ saveButton.innerText = editorJSI18nDictionnary.messages.tools.codeEdit['Save'];
24364
24547
  cancelButton.addEventListener('click', closeCodeEditModal, true);
24365
24548
  saveButton.addEventListener('click', function () {
24366
24549
  var content = monacoEditor.getValue();
@@ -24422,9 +24605,7 @@
24422
24605
  var isTagNext = !isBrTag && !isOpeningTag && !isClosingTag && isTagEnd && code.substr(pos, code.substr(pos).indexOf('<')).trim() === '';
24423
24606
  if (isBrTag) {
24424
24607
  // If opening tag, add newline character and indention
24425
- result += newlineChar;
24426
- currentIndent--;
24427
- pos += 4;
24608
+ result += newlineChar + whitespace.repeat(currentIndent);
24428
24609
  }
24429
24610
  if (isOpeningTag) {
24430
24611
  // If opening tag, add newline character and indention
@@ -24810,14 +24991,14 @@
24810
24991
  }
24811
24992
  EditorJSConversionService.prototype.convert = function (content) {
24812
24993
  return __awaiter(this, void 0, void 0, function () {
24813
- return __generator(this, function (_a) {
24814
- switch (_a.label) {
24994
+ return __generator(this, function (_b) {
24995
+ switch (_b.label) {
24815
24996
  case 0:
24816
24997
  this.container = document.createElement('div');
24817
24998
  this.container.innerHTML = content;
24818
24999
  return [4 /*yield*/, this.convertCurrentElement(this.container, true)];
24819
25000
  case 1:
24820
- _a.sent();
25001
+ _b.sent();
24821
25002
  return [2 /*return*/, this.container.innerHTML];
24822
25003
  }
24823
25004
  });
@@ -24825,18 +25006,20 @@
24825
25006
  };
24826
25007
  EditorJSConversionService.prototype.convertCurrentElement = function (element, firstCall) {
24827
25008
  if (firstCall === void 0) { firstCall = false; }
25009
+ var _a;
24828
25010
  return __awaiter(this, void 0, void 0, function () {
24829
- var children, currentElement, _loop_1, _a, _b, _c, quillClass, editorJSClass, newElement, newLink;
24830
- var e_1, _d;
24831
- return __generator(this, function (_e) {
24832
- switch (_e.label) {
25011
+ var children, isOrderedListChildren, currentElement, _loop_1, _b, _c, _d, quillClass, editorJSClass, newElement, newLink, value;
25012
+ var e_1, _e;
25013
+ return __generator(this, function (_f) {
25014
+ switch (_f.label) {
24833
25015
  case 0:
24834
25016
  if (!element) {
24835
25017
  return [2 /*return*/];
24836
25018
  }
24837
25019
  children = element.children;
25020
+ isOrderedListChildren = element.tagName.toLowerCase() === 'ol';
24838
25021
  currentElement = children[0];
24839
- _e.label = 1;
25022
+ _f.label = 1;
24840
25023
  case 1:
24841
25024
  if (!currentElement) return [3 /*break*/, 4];
24842
25025
  _loop_1 = function (quillClass, editorJSClass) {
@@ -24860,15 +25043,15 @@
24860
25043
  }
24861
25044
  };
24862
25045
  try {
24863
- for (_a = (e_1 = void 0, __values(Object.entries(this.classesToReplace))), _b = _a.next(); !_b.done; _b = _a.next()) {
24864
- _c = __read(_b.value, 2), quillClass = _c[0], editorJSClass = _c[1];
25046
+ for (_b = (e_1 = void 0, __values(Object.entries(this.classesToReplace))), _c = _b.next(); !_c.done; _c = _b.next()) {
25047
+ _d = __read(_c.value, 2), quillClass = _d[0], editorJSClass = _d[1];
24865
25048
  _loop_1(quillClass, editorJSClass);
24866
25049
  }
24867
25050
  }
24868
25051
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
24869
25052
  finally {
24870
25053
  try {
24871
- if (_b && !_b.done && (_d = _a.return)) _d.call(_a);
25054
+ if (_c && !_c.done && (_e = _b.return)) _e.call(_b);
24872
25055
  }
24873
25056
  finally { if (e_1) throw e_1.error; }
24874
25057
  }
@@ -24879,6 +25062,9 @@
24879
25062
  if (currentElement.tagName.toLowerCase() === 'u') {
24880
25063
  newElement = document.createElement('span');
24881
25064
  newElement.innerHTML = currentElement.innerHTML;
25065
+ if (currentElement.classList && currentElement.classList.length > 0) {
25066
+ newElement.className = currentElement.className;
25067
+ }
24882
25068
  newElement = this.setInlineStyle(currentElement, newElement);
24883
25069
  if (currentElement.classList.length > 0) {
24884
25070
  newElement.className = currentElement.className;
@@ -24890,6 +25076,9 @@
24890
25076
  if (currentElement.tagName.toLowerCase() === 'a' && currentElement.hasAttribute('data-htap')) {
24891
25077
  newLink = document.createElement('span');
24892
25078
  newLink.innerHTML = currentElement.innerHTML;
25079
+ if (currentElement.classList && currentElement.classList.length > 0) {
25080
+ newLink.className = currentElement.className;
25081
+ }
24893
25082
  newLink = this.setInlineStyle(currentElement, newLink);
24894
25083
  if (currentElement.classList.length > 0) {
24895
25084
  newLink.className = currentElement.className;
@@ -24901,11 +25090,15 @@
24901
25090
  currentElement.parentElement.replaceChild(newLink, currentElement);
24902
25091
  currentElement = newLink;
24903
25092
  }
25093
+ if (isOrderedListChildren && currentElement.tagName.toLowerCase() === 'li') {
25094
+ value = (_a = currentElement.previousElementSibling) === null || _a === void 0 ? void 0 : _a.getAttribute('value');
25095
+ currentElement.setAttribute('value', value ? (parseInt(value) + 1).toString() : '1');
25096
+ }
24904
25097
  if (!(currentElement.children.length > 0)) return [3 /*break*/, 3];
24905
25098
  return [4 /*yield*/, this.convertCurrentElement(currentElement)];
24906
25099
  case 2:
24907
- _e.sent();
24908
- _e.label = 3;
25100
+ _f.sent();
25101
+ _f.label = 3;
24909
25102
  case 3:
24910
25103
  currentElement = currentElement.nextElementSibling;
24911
25104
  return [3 /*break*/, 1];
@@ -24935,14 +25128,17 @@
24935
25128
  EditorJSConversionService.ctorParameters = function () { return []; };
24936
25129
 
24937
25130
  var EditorJsComponent = /** @class */ (function () {
24938
- function EditorJsComponent(translateService, editorJSConversionService) {
25131
+ function EditorJsComponent(translateService, editorJSConversionService, editorJSTranslationService) {
24939
25132
  this.translateService = translateService;
24940
25133
  this.editorJSConversionService = editorJSConversionService;
25134
+ this.editorJSTranslationService = editorJSTranslationService;
24941
25135
  this.contentChange = new i0.EventEmitter();
24942
25136
  this.content = '';
25137
+ this.position = 'bottom';
24943
25138
  this.uuid = uuid.v4();
24944
25139
  this.timeoutHandle = null;
24945
25140
  this.timeoutTextEditionHandle = null;
25141
+ this.onChangeTimeoutHandle = null;
24946
25142
  this.wrapperTags = 'h1,h2,h3,h4,h5,h6,p,ul,ol,blockquote';
24947
25143
  }
24948
25144
  EditorJsComponent.prototype.ngOnInit = function () {
@@ -25006,7 +25202,10 @@
25006
25202
  placeholder: this.placeholder,
25007
25203
  autofocus: false,
25008
25204
  onChange: function (api, event) {
25009
- _this.contentChanged(api, event);
25205
+ clearTimeout(_this.onChangeTimeoutHandle);
25206
+ _this.onChangeTimeoutHandle = setTimeout(function () {
25207
+ _this.contentChanged(api, event);
25208
+ }, 300);
25010
25209
  },
25011
25210
  i18n: this.getI18nDictionnary(),
25012
25211
  });
@@ -25016,10 +25215,17 @@
25016
25215
  return [4 /*yield*/, this.editor.isReady];
25017
25216
  case 2:
25018
25217
  _d.sent();
25218
+ this.editorJSTranslationService.setDictionnary(this.getI18nDictionnary());
25019
25219
  this.editorJSConversionService.convert(this.content).then(function (content) {
25020
25220
  _this.content = content;
25021
25221
  _this.applyContent();
25022
25222
  _this.checkSingleChild();
25223
+ setTimeout(function () {
25224
+ var editorElement = document.getElementById('editorJs-' + _this.uuid);
25225
+ editorElement.addEventListener('focusin', function () {
25226
+ setlistApiEditor(_this.editor, editorElement);
25227
+ });
25228
+ }, 0);
25023
25229
  });
25024
25230
  return [3 /*break*/, 4];
25025
25231
  case 3:
@@ -25078,7 +25284,7 @@
25078
25284
  };
25079
25285
  EditorJsComponent.prototype.checkWrapper = function () {
25080
25286
  var _this = this;
25081
- var currentEditor = document.querySelectorAll('#editorJs-' + this.uuid)[0];
25287
+ var currentEditor = document.querySelector('#editorJs-' + this.uuid);
25082
25288
  var editorBlocks = currentEditor.querySelectorAll('.codex-editor__redactor .ce-paragraph');
25083
25289
  if (editorBlocks.length === 1 && editorBlocks[0].innerText.length === 0) {
25084
25290
  return;
@@ -25144,6 +25350,7 @@
25144
25350
  while (contentElement.firstElementChild) {
25145
25351
  if (contentElement.firstElementChild.tagName.toLowerCase() === 'ul' ||
25146
25352
  contentElement.firstElementChild.tagName.toLowerCase() === 'ol') {
25353
+ setlistApiEditor(this.editor.api, currentEditor);
25147
25354
  while (contentElement.firstElementChild.firstElementChild) {
25148
25355
  var container = document.createElement(contentElement.firstElementChild.tagName);
25149
25356
  container.appendChild(contentElement.firstElementChild.firstElementChild.cloneNode(true));
@@ -25152,10 +25359,12 @@
25152
25359
  var tmpParagraph = currentEditor.querySelectorAll('.ce-paragraph');
25153
25360
  tmpParagraph[tmpParagraph.length - 1].innerHTML = '';
25154
25361
  tmpParagraph[tmpParagraph.length - 1].appendChild(container);
25362
+ tmpParagraph[tmpParagraph.length - 1].addEventListener('keydown', onEditList, true);
25155
25363
  }
25156
25364
  else {
25157
25365
  paragraph[i].innerHTML = '';
25158
25366
  paragraph[i].appendChild(container);
25367
+ paragraph[i].addEventListener('keydown', onEditList, true);
25159
25368
  }
25160
25369
  contentElement.firstElementChild.firstElementChild.remove();
25161
25370
  ++i;
@@ -25240,17 +25449,19 @@
25240
25449
  EditorJsComponent.decorators = [
25241
25450
  { type: i0.Component, args: [{
25242
25451
  selector: 'wb-editorjs',
25243
- template: "<div class=\"editorJs\" [id]=\"'editorJs-' + uuid\" wbAutoHide></div>\n"
25452
+ template: "<div [class]=\"'editorJs editorJs--' + position\" [id]=\"'editorJs-' + uuid\" wbAutoHide></div>\n"
25244
25453
  },] }
25245
25454
  ];
25246
25455
  EditorJsComponent.ctorParameters = function () { return [
25247
25456
  { type: i1.TranslateService },
25248
- { type: EditorJSConversionService }
25457
+ { type: EditorJSConversionService },
25458
+ { type: EditorJSTranslationService }
25249
25459
  ]; };
25250
25460
  EditorJsComponent.propDecorators = {
25251
25461
  contentChange: [{ type: i0.Output }],
25252
25462
  content: [{ type: i0.Input }],
25253
- placeholder: [{ type: i0.Input }]
25463
+ placeholder: [{ type: i0.Input }],
25464
+ position: [{ type: i0.Input }]
25254
25465
  };
25255
25466
 
25256
25467
  var components$2 = [
@@ -29798,7 +30009,7 @@
29798
30009
  TimerSimpleComponent.decorators = [
29799
30010
  { type: i0.Component, args: [{
29800
30011
  selector: TimerSimpleService.selector(),
29801
- 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"
30012
+ 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"
29802
30013
  },] }
29803
30014
  ];
29804
30015
  TimerSimpleComponent.ctorParameters = function () { return [
@@ -29934,7 +30145,7 @@
29934
30145
  TimerBackgroundComponent.decorators = [
29935
30146
  { type: i0.Component, args: [{
29936
30147
  selector: TimerBackgroundService.selector(),
29937
- 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"
30148
+ 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"
29938
30149
  },] }
29939
30150
  ];
29940
30151
  TimerBackgroundComponent.ctorParameters = function () { return [
@@ -30070,7 +30281,7 @@
30070
30281
  TimerClockComponent.decorators = [
30071
30282
  { type: i0.Component, args: [{
30072
30283
  selector: TimerClockService.selector(),
30073
- 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"
30284
+ 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"
30074
30285
  },] }
30075
30286
  ];
30076
30287
  TimerClockComponent.ctorParameters = function () { return [
@@ -30237,7 +30448,7 @@
30237
30448
  TimerAirportComponent.decorators = [
30238
30449
  { type: i0.Component, args: [{
30239
30450
  selector: TimerAirportService.selector(),
30240
- 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"
30451
+ 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"
30241
30452
  },] }
30242
30453
  ];
30243
30454
  TimerAirportComponent.ctorParameters = function () { return [
@@ -31681,7 +31892,7 @@
31681
31892
  TimerMultipleImgComponent.decorators = [
31682
31893
  { type: i0.Component, args: [{
31683
31894
  selector: TimerMultipleImgService.selector(),
31684
- 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"
31895
+ 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"
31685
31896
  },] }
31686
31897
  ];
31687
31898
  TimerMultipleImgComponent.ctorParameters = function () { return [
@@ -31878,7 +32089,7 @@
31878
32089
  TextsQuadrupleNumbersComponent.decorators = [
31879
32090
  { type: i0.Component, args: [{
31880
32091
  selector: TextsQuadrupleNumbersService.selector(),
31881
- 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"
32092
+ 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"
31882
32093
  },] }
31883
32094
  ];
31884
32095
  TextsQuadrupleNumbersComponent.ctorParameters = function () { return []; };
@@ -32437,7 +32648,7 @@
32437
32648
  TextBackgroundsThreeRowsIconTextComponent.decorators = [
32438
32649
  { type: i0.Component, args: [{
32439
32650
  selector: TextBackgroundsThreeRowsIconTextService.selector(),
32440
- 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 <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 <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\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"
32651
+ 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"
32441
32652
  },] }
32442
32653
  ];
32443
32654
  TextBackgroundsThreeRowsIconTextComponent.ctorParameters = function () { return [
@@ -32518,12 +32729,17 @@
32518
32729
  TextBackgroundsFourRowsIconTextComponent.prototype.stopPropagation = function ($event) {
32519
32730
  $event.stopPropagation();
32520
32731
  };
32732
+ TextBackgroundsFourRowsIconTextComponent.prototype.triggerConfig = function (uuid) {
32733
+ var element = document.querySelectorAll('#' + uuid + ' .wb-structure-config__tools')[0];
32734
+ console.log(element);
32735
+ element.click();
32736
+ };
32521
32737
  return TextBackgroundsFourRowsIconTextComponent;
32522
32738
  }(StructuresComponent));
32523
32739
  TextBackgroundsFourRowsIconTextComponent.decorators = [
32524
32740
  { type: i0.Component, args: [{
32525
32741
  selector: TextBackgroundsFourRowsIconTextService.selector(),
32526
- 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 <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 <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 *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"
32742
+ 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"
32527
32743
  },] }
32528
32744
  ];
32529
32745
  TextBackgroundsFourRowsIconTextComponent.ctorParameters = function () { return [
@@ -32609,7 +32825,7 @@
32609
32825
  TextBackgroundsTwoRowsIconTextComponent.decorators = [
32610
32826
  { type: i0.Component, args: [{
32611
32827
  selector: TextBackgroundsTwoRowsIconTextService.selector(),
32612
- 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 <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 <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\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"
32828
+ 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"
32613
32829
  },] }
32614
32830
  ];
32615
32831
  TextBackgroundsTwoRowsIconTextComponent.ctorParameters = function () { return [
@@ -33083,7 +33299,7 @@
33083
33299
  ConfigsComponent.decorators = [
33084
33300
  { type: i0.Component, args: [{
33085
33301
  selector: 'wb-configs',
33086
- template: "<div class=\"wb-configs\" [ngClass]=\"{ 'is-not-first': !isFirst }\" [@animateListFromLeft]=\"temporizeConfig\" *ngIf=\"temporizeConfig\">\n <div class=\"field\" *ngFor=\"let form of configs.forms; let i = index\">\n <label class=\"label\" *ngIf=\"form.type !== FORM_TYPE_CHECKBOX\" [ngClass]=\"{ 'icon-help': form.iconHelp }\"\n >{{ form.label | translate }}\n <i *ngIf=\"form.iconHelp\" class=\"fas fa-info-circle\"\n ><span>{{ form.help | translate }}</span></i\n ></label\n >\n <div class=\"control control--input\" *ngIf=\"form.type === FORM_TYPE_TEXT\">\n <input\n class=\"input\"\n [type]=\"form.type\"\n [placeholder]=\"form.placeholder | translate\"\n [ngModel]=\"form.value | translate\"\n (ngModelChange)=\"form.value = $event\"\n (keyup)=\"updateContent()\"\n />\n </div>\n <div class=\"control control--input\" *ngIf=\"form.type === FORM_TYPE_NUMBER\">\n <input\n class=\"input\"\n [type]=\"form.type\"\n [maxlength]=\"999999999\"\n [placeholder]=\"form.placeholder | translate\"\n [(ngModel)]=\"form.value\"\n (keyup)=\"updateNumber($event, i)\"\n />\n </div>\n <div class=\"control control--flex\" [ngClass]=\"{ 'dynamic-label': form.labelEnable }\" *ngIf=\"form.type === FORM_TYPE_CHECKBOX\">\n <input\n [id]=\"'switchRoundedDefault' + i\"\n [type]=\"form.type\"\n [name]=\"'switchRoundedDefault' + i\"\n class=\"switch is-rounded is-info\"\n [checked]=\"!(form.value === (form.state[0] ? form.state[0] : true))\"\n (change)=\"form.reverseShow ? updateChangesReverse($event, i) : updateChanges($event, i)\"\n />\n <label [for]=\"'switchRoundedDefault' + i\"></label>\n <p [innerHTML]=\"form.label | translate\"></p>\n <p [innerHTML]=\"form.labelEnable | translate\"></p>\n </div>\n <div class=\"control control--button\" [ngClass]=\"{ 'max-width': form.step.length < 4 }\" *ngIf=\"form.type === FORM_TYPE_TAG\">\n <a\n class=\"button is-info\"\n [ngClass]=\"{ 'is-outlined': step !== form.value && (!form.stepKey.length || form.stepKey[i] !== form.value) }\"\n *ngFor=\"let step of form.step; let i = index\"\n (click)=\"form.value = form.stepKey.length && form.stepKey[i] ? form.stepKey[i] : step; updateContent()\"\n >\n {{ step | translate }}\n </a>\n </div>\n <div class=\"control\" *ngIf=\"form.type === FORM_TYPE_COLOR\" #colors>\n <div 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",
33302
+ 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",
33087
33303
  animations: [animateListFromLeft('200ms ease-in-out')]
33088
33304
  },] }
33089
33305
  ];
@@ -33295,240 +33511,241 @@
33295
33511
  exports.ɵca = FaqComponent;
33296
33512
  exports.ɵcb = EditorJsComponent;
33297
33513
  exports.ɵcc = EditorJSConversionService;
33298
- exports.ɵcd = BlockComponentList;
33299
- exports.ɵce = StructuresModule;
33300
- exports.ɵcf = SliderFullpageComponent;
33301
- exports.ɵcg = StructuresComponent;
33302
- exports.ɵch = SlidersFullpageService;
33303
- exports.ɵci = SliderLeftnavComponent;
33304
- exports.ɵcj = SlidersLeftnavService;
33305
- exports.ɵck = SliderImagerightComponent;
33306
- exports.ɵcl = SlidersImagerightService;
33307
- exports.ɵcm = SliderDoubleImagerightComponent;
33308
- exports.ɵcn = SlidersDoubleImagerightService;
33309
- exports.ɵco = SeparatorSimpleComponent;
33310
- exports.ɵcp = SeparatorSimpleService;
33311
- exports.ɵcq = CodeHtmlComponent;
33312
- exports.ɵcr = CodeHtmlService;
33313
- exports.ɵcs = CodeJavascriptComponent;
33314
- exports.ɵct = CodeJavascriptService;
33315
- exports.ɵcu = VideosSimpleComponent;
33316
- exports.ɵcv = VideosSimpleService;
33317
- exports.ɵcw = YoutubeService;
33318
- exports.ɵcx = VimeoService;
33319
- exports.ɵcy = VideosTxtComponent;
33320
- exports.ɵcz = VideosTxtService;
33514
+ exports.ɵcd = EditorJSTranslationService;
33515
+ exports.ɵce = BlockComponentList;
33516
+ exports.ɵcf = StructuresModule;
33517
+ exports.ɵcg = SliderFullpageComponent;
33518
+ exports.ɵch = StructuresComponent;
33519
+ exports.ɵci = SlidersFullpageService;
33520
+ exports.ɵcj = SliderLeftnavComponent;
33521
+ exports.ɵck = SlidersLeftnavService;
33522
+ exports.ɵcl = SliderImagerightComponent;
33523
+ exports.ɵcm = SlidersImagerightService;
33524
+ exports.ɵcn = SliderDoubleImagerightComponent;
33525
+ exports.ɵco = SlidersDoubleImagerightService;
33526
+ exports.ɵcp = SeparatorSimpleComponent;
33527
+ exports.ɵcq = SeparatorSimpleService;
33528
+ exports.ɵcr = CodeHtmlComponent;
33529
+ exports.ɵcs = CodeHtmlService;
33530
+ exports.ɵct = CodeJavascriptComponent;
33531
+ exports.ɵcu = CodeJavascriptService;
33532
+ exports.ɵcv = VideosSimpleComponent;
33533
+ exports.ɵcw = VideosSimpleService;
33534
+ exports.ɵcx = YoutubeService;
33535
+ exports.ɵcy = VimeoService;
33536
+ exports.ɵcz = VideosTxtComponent;
33321
33537
  exports.ɵd = animateListFromLeft;
33322
- exports.ɵda = VideosTxtContentComponent;
33323
- exports.ɵdb = VideosTxtContentService;
33324
- exports.ɵdc = LaunchVideosButtonComponent;
33325
- exports.ɵdd = LaunchVideosButtonService;
33326
- exports.ɵde = LaunchVideosButtontxtComponent;
33327
- exports.ɵdf = LaunchVideosButtontxtService;
33328
- exports.ɵdg = ImagesBannerComponent;
33329
- exports.ɵdh = ImagesBannerService;
33330
- exports.ɵdi = ImagesSimpleComponent;
33331
- exports.ɵdj = ImagesSimpleService;
33332
- exports.ɵdk = ImagesDoubleComponent;
33333
- exports.ɵdl = ImagesDoubleService;
33334
- exports.ɵdm = ImagesTripleComponent;
33335
- exports.ɵdn = ImagesTripleService;
33336
- exports.ɵdo = ImagesQuadrupleComponent;
33337
- exports.ɵdp = ImagesQuadrupleService;
33338
- exports.ɵdq = ImagesQuadrupleLeftOneRightComponent;
33339
- exports.ɵdr = ImagesQuadrupleLeftOneRightService;
33340
- exports.ɵds = ImagesBigAndDoubleComponent;
33341
- exports.ɵdt = ImagesBigAndDoubleService;
33342
- exports.ɵdu = ImagesBigsAndDoubleMiddleComponent;
33343
- exports.ɵdv = ImagesBigsAndDoubleMiddleService;
33344
- exports.ɵdw = TextBackgroundsLinkComponent;
33345
- exports.ɵdx = TextBackgroundsLinkService;
33346
- exports.ɵdy = TextBackgroundsSimpleComponent;
33347
- exports.ɵdz = TextBackgroundsSimpleService;
33538
+ exports.ɵda = VideosTxtService;
33539
+ exports.ɵdb = VideosTxtContentComponent;
33540
+ exports.ɵdc = VideosTxtContentService;
33541
+ exports.ɵdd = LaunchVideosButtonComponent;
33542
+ exports.ɵde = LaunchVideosButtonService;
33543
+ exports.ɵdf = LaunchVideosButtontxtComponent;
33544
+ exports.ɵdg = LaunchVideosButtontxtService;
33545
+ exports.ɵdh = ImagesBannerComponent;
33546
+ exports.ɵdi = ImagesBannerService;
33547
+ exports.ɵdj = ImagesSimpleComponent;
33548
+ exports.ɵdk = ImagesSimpleService;
33549
+ exports.ɵdl = ImagesDoubleComponent;
33550
+ exports.ɵdm = ImagesDoubleService;
33551
+ exports.ɵdn = ImagesTripleComponent;
33552
+ exports.ɵdo = ImagesTripleService;
33553
+ exports.ɵdp = ImagesQuadrupleComponent;
33554
+ exports.ɵdq = ImagesQuadrupleService;
33555
+ exports.ɵdr = ImagesQuadrupleLeftOneRightComponent;
33556
+ exports.ɵds = ImagesQuadrupleLeftOneRightService;
33557
+ exports.ɵdt = ImagesBigAndDoubleComponent;
33558
+ exports.ɵdu = ImagesBigAndDoubleService;
33559
+ exports.ɵdv = ImagesBigsAndDoubleMiddleComponent;
33560
+ exports.ɵdw = ImagesBigsAndDoubleMiddleService;
33561
+ exports.ɵdx = TextBackgroundsLinkComponent;
33562
+ exports.ɵdy = TextBackgroundsLinkService;
33563
+ exports.ɵdz = TextBackgroundsSimpleComponent;
33348
33564
  exports.ɵe = ConfigService;
33349
- exports.ɵea = TextBackgroundsWithTxtComponent;
33350
- exports.ɵeb = TextBackgroundsWithTxtService;
33351
- exports.ɵec = ImagesTextsBigLeftTextRightComponent;
33352
- exports.ɵed = ImagesTextsBigLeftTextRightService;
33353
- exports.ɵee = ImagesTextsBigRightTextLeftComponent;
33354
- exports.ɵef = ImagesTextsBigRightTextLeftService;
33355
- exports.ɵeg = ImagesTextsLeftTextRightComponent;
33356
- exports.ɵeh = ImagesTextsLeftTextRightService;
33357
- exports.ɵei = ImagesTextsRightTextLeftComponent;
33358
- exports.ɵej = ImagesTextsRightTextLeftService;
33359
- exports.ɵek = ImagesTextsOneTextOneComponent;
33360
- exports.ɵel = ImagesTextsOneTextOneService;
33361
- exports.ɵem = ImagesTextsSmallLeftTextRightComponent;
33362
- exports.ɵen = ImagesTextsSmallLeftTextRightService;
33363
- exports.ɵeo = ImagesTextsSmallRightTextLeftComponent;
33364
- exports.ɵep = ImagesTextsSmallRightTextLeftService;
33365
- exports.ɵeq = ImagesTextsTextOneTextComponent;
33366
- exports.ɵer = ImagesTextsTextOneTextService;
33367
- exports.ɵes = TextsOneBackgroundComponent;
33368
- exports.ɵet = TextsOneBackgroundService;
33369
- exports.ɵeu = TextsDoubleBackgroundComponent;
33370
- exports.ɵev = TextsDoubleBackgroundService;
33371
- exports.ɵew = TextsTripleBackgroundComponent;
33372
- exports.ɵex = TextsTripleBackgroundService;
33373
- exports.ɵey = TextsQuadrupleComponent;
33374
- exports.ɵez = TextsQuadrupleService;
33565
+ exports.ɵea = TextBackgroundsSimpleService;
33566
+ exports.ɵeb = TextBackgroundsWithTxtComponent;
33567
+ exports.ɵec = TextBackgroundsWithTxtService;
33568
+ exports.ɵed = ImagesTextsBigLeftTextRightComponent;
33569
+ exports.ɵee = ImagesTextsBigLeftTextRightService;
33570
+ exports.ɵef = ImagesTextsBigRightTextLeftComponent;
33571
+ exports.ɵeg = ImagesTextsBigRightTextLeftService;
33572
+ exports.ɵeh = ImagesTextsLeftTextRightComponent;
33573
+ exports.ɵei = ImagesTextsLeftTextRightService;
33574
+ exports.ɵej = ImagesTextsRightTextLeftComponent;
33575
+ exports.ɵek = ImagesTextsRightTextLeftService;
33576
+ exports.ɵel = ImagesTextsOneTextOneComponent;
33577
+ exports.ɵem = ImagesTextsOneTextOneService;
33578
+ exports.ɵen = ImagesTextsSmallLeftTextRightComponent;
33579
+ exports.ɵeo = ImagesTextsSmallLeftTextRightService;
33580
+ exports.ɵep = ImagesTextsSmallRightTextLeftComponent;
33581
+ exports.ɵeq = ImagesTextsSmallRightTextLeftService;
33582
+ exports.ɵer = ImagesTextsTextOneTextComponent;
33583
+ exports.ɵes = ImagesTextsTextOneTextService;
33584
+ exports.ɵet = TextsOneBackgroundComponent;
33585
+ exports.ɵeu = TextsOneBackgroundService;
33586
+ exports.ɵev = TextsDoubleBackgroundComponent;
33587
+ exports.ɵew = TextsDoubleBackgroundService;
33588
+ exports.ɵex = TextsTripleBackgroundComponent;
33589
+ exports.ɵey = TextsTripleBackgroundService;
33590
+ exports.ɵez = TextsQuadrupleComponent;
33375
33591
  exports.ɵf = ContentService;
33376
- exports.ɵfa = TextsQuadrupleNumbersComponent;
33377
- exports.ɵfb = TextsQuadrupleNumbersService;
33378
- exports.ɵfc = FormsSimpleComponent;
33379
- exports.ɵfd = FormsSimpleService;
33380
- exports.ɵfe = TextsQuadrupleBackgroundComponent;
33381
- exports.ɵff = TextsQuadrupleBackgroundService;
33382
- exports.ɵfg = TextsTripleComponent;
33383
- exports.ɵfh = TextsTripleService;
33384
- exports.ɵfi = TextsOneComponent;
33385
- exports.ɵfj = TextsOneService;
33386
- exports.ɵfk = TextsDoubleComponent;
33387
- exports.ɵfl = TextsDoubleService;
33388
- exports.ɵfm = FormsBackgroundComponent;
33389
- exports.ɵfn = FormsBackgroundService;
33390
- exports.ɵfo = VideosTxtLeftComponent;
33391
- exports.ɵfp = VideosTxtLeftService;
33392
- exports.ɵfq = FormsImageleftComponent;
33393
- exports.ɵfr = FormsImageleftService;
33394
- exports.ɵfs = FormsImagerightComponent;
33395
- exports.ɵft = FormsImagerightService;
33396
- exports.ɵfu = FormsOnboardingComponent;
33397
- exports.ɵfv = FormsOnboardingService;
33398
- exports.ɵfw = SocialsLikeComponent;
33399
- exports.ɵfx = SocialsLikeService;
33400
- exports.ɵfy = SocialsPageSimpleComponent;
33401
- exports.ɵfz = SocialsPageSimpleService;
33592
+ exports.ɵfa = TextsQuadrupleService;
33593
+ exports.ɵfb = TextsQuadrupleNumbersComponent;
33594
+ exports.ɵfc = TextsQuadrupleNumbersService;
33595
+ exports.ɵfd = FormsSimpleComponent;
33596
+ exports.ɵfe = FormsSimpleService;
33597
+ exports.ɵff = TextsQuadrupleBackgroundComponent;
33598
+ exports.ɵfg = TextsQuadrupleBackgroundService;
33599
+ exports.ɵfh = TextsTripleComponent;
33600
+ exports.ɵfi = TextsTripleService;
33601
+ exports.ɵfj = TextsOneComponent;
33602
+ exports.ɵfk = TextsOneService;
33603
+ exports.ɵfl = TextsDoubleComponent;
33604
+ exports.ɵfm = TextsDoubleService;
33605
+ exports.ɵfn = FormsBackgroundComponent;
33606
+ exports.ɵfo = FormsBackgroundService;
33607
+ exports.ɵfp = VideosTxtLeftComponent;
33608
+ exports.ɵfq = VideosTxtLeftService;
33609
+ exports.ɵfr = FormsImageleftComponent;
33610
+ exports.ɵfs = FormsImageleftService;
33611
+ exports.ɵft = FormsImagerightComponent;
33612
+ exports.ɵfu = FormsImagerightService;
33613
+ exports.ɵfv = FormsOnboardingComponent;
33614
+ exports.ɵfw = FormsOnboardingService;
33615
+ exports.ɵfx = SocialsLikeComponent;
33616
+ exports.ɵfy = SocialsLikeService;
33617
+ exports.ɵfz = SocialsPageSimpleComponent;
33402
33618
  exports.ɵg = ExternalConfigService;
33403
- exports.ɵga = SocialsPageComplexComponent;
33404
- exports.ɵgb = SocialsPageComplexService;
33405
- exports.ɵgc = SocialsNetworkComponent;
33406
- exports.ɵgd = SocialsNetworkService;
33407
- exports.ɵge = ProductsListClassicComponent;
33408
- exports.ɵgf = ProductsListClassicService;
33409
- exports.ɵgg = CurrencyService;
33410
- exports.ɵgh = ProductsListSimpleComponent;
33411
- exports.ɵgi = ProductsListSimpleService;
33412
- exports.ɵgj = RassurancesTripleBackgroundComponent;
33413
- exports.ɵgk = RassurancesTripleBackgroundService;
33414
- exports.ɵgl = RassurancesQuadrupleAlignedComponent;
33415
- exports.ɵgm = RassurancesQuadrupleAlignedService;
33416
- exports.ɵgn = RassurancesQuadrupleBackgroundComponent;
33417
- exports.ɵgo = RassurancesQuadrupleBackgroundService;
33418
- exports.ɵgp = NewsletterAlignedCenterImageComponent;
33419
- exports.ɵgq = NewsletterAlignedCenterImageService;
33420
- exports.ɵgr = NewsletterAlignedCenterBackgroundComponent;
33421
- exports.ɵgs = NewsletterAlignedCenterBackgroundService;
33422
- exports.ɵgt = NewsletterCenterImageComponent;
33423
- exports.ɵgu = NewsletterCenterImageService;
33424
- exports.ɵgv = ProductsListSelectedComponent;
33425
- exports.ɵgw = ProductsListSelectedService;
33426
- exports.ɵgx = CodeStylesheetComponent;
33427
- exports.ɵgy = CodeStylesheetService;
33428
- exports.ɵgz = WitnessTwiceComponent;
33619
+ exports.ɵga = SocialsPageSimpleService;
33620
+ exports.ɵgb = SocialsPageComplexComponent;
33621
+ exports.ɵgc = SocialsPageComplexService;
33622
+ exports.ɵgd = SocialsNetworkComponent;
33623
+ exports.ɵge = SocialsNetworkService;
33624
+ exports.ɵgf = ProductsListClassicComponent;
33625
+ exports.ɵgg = ProductsListClassicService;
33626
+ exports.ɵgh = CurrencyService;
33627
+ exports.ɵgi = ProductsListSimpleComponent;
33628
+ exports.ɵgj = ProductsListSimpleService;
33629
+ exports.ɵgk = RassurancesTripleBackgroundComponent;
33630
+ exports.ɵgl = RassurancesTripleBackgroundService;
33631
+ exports.ɵgm = RassurancesQuadrupleAlignedComponent;
33632
+ exports.ɵgn = RassurancesQuadrupleAlignedService;
33633
+ exports.ɵgo = RassurancesQuadrupleBackgroundComponent;
33634
+ exports.ɵgp = RassurancesQuadrupleBackgroundService;
33635
+ exports.ɵgq = NewsletterAlignedCenterImageComponent;
33636
+ exports.ɵgr = NewsletterAlignedCenterImageService;
33637
+ exports.ɵgs = NewsletterAlignedCenterBackgroundComponent;
33638
+ exports.ɵgt = NewsletterAlignedCenterBackgroundService;
33639
+ exports.ɵgu = NewsletterCenterImageComponent;
33640
+ exports.ɵgv = NewsletterCenterImageService;
33641
+ exports.ɵgw = ProductsListSelectedComponent;
33642
+ exports.ɵgx = ProductsListSelectedService;
33643
+ exports.ɵgy = CodeStylesheetComponent;
33644
+ exports.ɵgz = CodeStylesheetService;
33429
33645
  exports.ɵh = ApiService;
33430
- exports.ɵha = WitnessTwiceService;
33431
- exports.ɵhb = WitnessTripleComponent;
33432
- exports.ɵhc = WitnessTripleService;
33433
- exports.ɵhd = WitnessQuadrupleComponent;
33434
- exports.ɵhe = WitnessQuadrupleService;
33435
- exports.ɵhf = WitnessBackgroundOneComponent;
33436
- exports.ɵhg = WitnessBackgroundOneService;
33437
- exports.ɵhh = WitnessBackgroundDoubleComponent;
33438
- exports.ɵhi = WitnessBackgroundDoubleService;
33439
- exports.ɵhj = ReviewsSimpleComponent;
33440
- exports.ɵhk = ReviewsSimpleService;
33441
- exports.ɵhl = QuotesSimpleComponent;
33442
- exports.ɵhm = QuotesSimpleService;
33443
- exports.ɵhn = QuotesAuthorComponent;
33444
- exports.ɵho = QuotesAuthorService;
33445
- exports.ɵhp = QuotesSimpleBackgroundComponent;
33446
- exports.ɵhq = QuotesSimpleBackgroundService;
33447
- exports.ɵhr = ReviewsWaterfallComponent;
33448
- exports.ɵhs = ReviewsWaterfallService;
33449
- exports.ɵht = MapFullpageComponent;
33450
- exports.ɵhu = MapFullpageService;
33451
- exports.ɵhv = MapLeftTextComponent;
33452
- exports.ɵhw = MapLeftTextService;
33453
- exports.ɵhx = MapRightTextComponent;
33454
- exports.ɵhy = MapRightTextService;
33455
- exports.ɵhz = MapTextFormComponent;
33646
+ exports.ɵha = WitnessTwiceComponent;
33647
+ exports.ɵhb = WitnessTwiceService;
33648
+ exports.ɵhc = WitnessTripleComponent;
33649
+ exports.ɵhd = WitnessTripleService;
33650
+ exports.ɵhe = WitnessQuadrupleComponent;
33651
+ exports.ɵhf = WitnessQuadrupleService;
33652
+ exports.ɵhg = WitnessBackgroundOneComponent;
33653
+ exports.ɵhh = WitnessBackgroundOneService;
33654
+ exports.ɵhi = WitnessBackgroundDoubleComponent;
33655
+ exports.ɵhj = WitnessBackgroundDoubleService;
33656
+ exports.ɵhk = ReviewsSimpleComponent;
33657
+ exports.ɵhl = ReviewsSimpleService;
33658
+ exports.ɵhm = QuotesSimpleComponent;
33659
+ exports.ɵhn = QuotesSimpleService;
33660
+ exports.ɵho = QuotesAuthorComponent;
33661
+ exports.ɵhp = QuotesAuthorService;
33662
+ exports.ɵhq = QuotesSimpleBackgroundComponent;
33663
+ exports.ɵhr = QuotesSimpleBackgroundService;
33664
+ exports.ɵhs = ReviewsWaterfallComponent;
33665
+ exports.ɵht = ReviewsWaterfallService;
33666
+ exports.ɵhu = MapFullpageComponent;
33667
+ exports.ɵhv = MapFullpageService;
33668
+ exports.ɵhw = MapLeftTextComponent;
33669
+ exports.ɵhx = MapLeftTextService;
33670
+ exports.ɵhy = MapRightTextComponent;
33671
+ exports.ɵhz = MapRightTextService;
33456
33672
  exports.ɵi = ComponentsModule;
33457
- exports.ɵia = MapTextFormService;
33458
- exports.ɵib = MapBackgroundFormLeftComponent;
33459
- exports.ɵic = MapBackgroundFormLeftService;
33460
- exports.ɵid = MapBackgroundFormRightComponent;
33461
- exports.ɵie = MapBackgroundFormRightService;
33462
- exports.ɵif = AmplifyProductsListSimpleComponent;
33463
- exports.ɵig = AmplifyProductsListSimpleService;
33464
- exports.ɵih = AmplifyProductsListSelectedComponent;
33465
- exports.ɵii = AmplifyProductsListSelectedService;
33466
- exports.ɵij = AmplifyProductsListClassicComponent;
33467
- exports.ɵik = AmplifyProductsListClassicService;
33468
- exports.ɵil = AmplifyProductZoomComponent;
33469
- exports.ɵim = AmplifyProductZoomService;
33470
- exports.ɵin = AmplifyProductZoomTripleColumnComponent;
33471
- exports.ɵio = AmplifyProductZoomTripleColumnService;
33472
- exports.ɵip = AmplifyProductZoomSelectedComponent;
33473
- exports.ɵiq = AmplifyProductZoomSelectedService;
33474
- exports.ɵir = AmplifyProductZoomMoreComponent;
33475
- exports.ɵis = AmplifyProductZoomMoreService;
33476
- exports.ɵit = ProductZoomComponent;
33477
- exports.ɵiu = ProductZoomService;
33478
- exports.ɵiv = ProductZoomTripleColumnComponent;
33479
- exports.ɵiw = ProductZoomTripleColumnService;
33480
- exports.ɵix = ProductZoomSelectedComponent;
33481
- exports.ɵiy = ProductZoomSelectedService;
33482
- exports.ɵiz = ProductZoomMoreComponent;
33673
+ exports.ɵia = MapTextFormComponent;
33674
+ exports.ɵib = MapTextFormService;
33675
+ exports.ɵic = MapBackgroundFormLeftComponent;
33676
+ exports.ɵid = MapBackgroundFormLeftService;
33677
+ exports.ɵie = MapBackgroundFormRightComponent;
33678
+ exports.ɵif = MapBackgroundFormRightService;
33679
+ exports.ɵig = AmplifyProductsListSimpleComponent;
33680
+ exports.ɵih = AmplifyProductsListSimpleService;
33681
+ exports.ɵii = AmplifyProductsListSelectedComponent;
33682
+ exports.ɵij = AmplifyProductsListSelectedService;
33683
+ exports.ɵik = AmplifyProductsListClassicComponent;
33684
+ exports.ɵil = AmplifyProductsListClassicService;
33685
+ exports.ɵim = AmplifyProductZoomComponent;
33686
+ exports.ɵin = AmplifyProductZoomService;
33687
+ exports.ɵio = AmplifyProductZoomTripleColumnComponent;
33688
+ exports.ɵip = AmplifyProductZoomTripleColumnService;
33689
+ exports.ɵiq = AmplifyProductZoomSelectedComponent;
33690
+ exports.ɵir = AmplifyProductZoomSelectedService;
33691
+ exports.ɵis = AmplifyProductZoomMoreComponent;
33692
+ exports.ɵit = AmplifyProductZoomMoreService;
33693
+ exports.ɵiu = ProductZoomComponent;
33694
+ exports.ɵiv = ProductZoomService;
33695
+ exports.ɵiw = ProductZoomTripleColumnComponent;
33696
+ exports.ɵix = ProductZoomTripleColumnService;
33697
+ exports.ɵiy = ProductZoomSelectedComponent;
33698
+ exports.ɵiz = ProductZoomSelectedService;
33483
33699
  exports.ɵj = BlocksComponent;
33484
- exports.ɵja = ProductZoomMoreService;
33485
- exports.ɵjb = ProductZoomCompleteComponent;
33486
- exports.ɵjc = ProductZoomCompleteService;
33487
- exports.ɵjd = ProductZoomCompleteSliderComponent;
33488
- exports.ɵje = ProductZoomCompleteSliderService;
33489
- exports.ɵjf = ProductZoomSimpleComponent;
33490
- exports.ɵjg = ProductZoomSimpleService;
33491
- exports.ɵjh = ProductZoomCompleteBackgroundComponent;
33492
- exports.ɵji = ProductZoomCompleteBackgroundService;
33493
- exports.ɵjj = TimerSimpleComponent;
33494
- exports.ɵjk = TimerSimpleService;
33495
- exports.ɵjl = TimerBackgroundComponent;
33496
- exports.ɵjm = TimerBackgroundService;
33497
- exports.ɵjn = TimerClockComponent;
33498
- exports.ɵjo = TimerClockService;
33499
- exports.ɵjp = TimerAirportComponent;
33500
- exports.ɵjq = TimerAirportService;
33501
- exports.ɵjr = TimerMultipleImgComponent;
33502
- exports.ɵjs = TimerMultipleImgService;
33503
- exports.ɵjt = AboutBlockComponent;
33504
- exports.ɵju = AboutBlockService;
33505
- exports.ɵjv = FaqSimpleComponent;
33506
- exports.ɵjw = FaqSimpleService;
33507
- exports.ɵjx = FaqSimpleBackgroundComponent;
33508
- exports.ɵjy = FaqSimpleBackgroundService;
33509
- exports.ɵjz = FaqFrameComponent;
33700
+ exports.ɵja = ProductZoomMoreComponent;
33701
+ exports.ɵjb = ProductZoomMoreService;
33702
+ exports.ɵjc = ProductZoomCompleteComponent;
33703
+ exports.ɵjd = ProductZoomCompleteService;
33704
+ exports.ɵje = ProductZoomCompleteSliderComponent;
33705
+ exports.ɵjf = ProductZoomCompleteSliderService;
33706
+ exports.ɵjg = ProductZoomSimpleComponent;
33707
+ exports.ɵjh = ProductZoomSimpleService;
33708
+ exports.ɵji = ProductZoomCompleteBackgroundComponent;
33709
+ exports.ɵjj = ProductZoomCompleteBackgroundService;
33710
+ exports.ɵjk = TimerSimpleComponent;
33711
+ exports.ɵjl = TimerSimpleService;
33712
+ exports.ɵjm = TimerBackgroundComponent;
33713
+ exports.ɵjn = TimerBackgroundService;
33714
+ exports.ɵjo = TimerClockComponent;
33715
+ exports.ɵjp = TimerClockService;
33716
+ exports.ɵjq = TimerAirportComponent;
33717
+ exports.ɵjr = TimerAirportService;
33718
+ exports.ɵjs = TimerMultipleImgComponent;
33719
+ exports.ɵjt = TimerMultipleImgService;
33720
+ exports.ɵju = AboutBlockComponent;
33721
+ exports.ɵjv = AboutBlockService;
33722
+ exports.ɵjw = FaqSimpleComponent;
33723
+ exports.ɵjx = FaqSimpleService;
33724
+ exports.ɵjy = FaqSimpleBackgroundComponent;
33725
+ exports.ɵjz = FaqSimpleBackgroundService;
33510
33726
  exports.ɵk = ConfigsComponent;
33511
- exports.ɵka = FaqFrameService;
33512
- exports.ɵkb = FaqAccordionComponent;
33513
- exports.ɵkc = FaqAccordionService;
33514
- exports.ɵkd = FaqListIconComponent;
33515
- exports.ɵke = FaqListIconService;
33516
- exports.ɵkf = FourImagesTitleComponent;
33517
- exports.ɵkg = FourImagesTitleService;
33518
- exports.ɵkh = TranslateBlockService;
33519
- exports.ɵki = TwoImagesTitleTextComponent;
33520
- exports.ɵkj = TwoImagesTitleTextService;
33521
- exports.ɵkk = TextBackgroundsWithBannerComponent;
33522
- exports.ɵkl = TextBackgroundsWithBannerService;
33523
- exports.ɵkm = TextBackgroundsTwoRowsIconTextComponent;
33524
- exports.ɵkn = TextBackgroundsTwoRowsIconTextService;
33525
- exports.ɵko = TextBackgroundsThreeRowsIconTextComponent;
33526
- exports.ɵkp = TextBackgroundsThreeRowsIconTextService;
33527
- exports.ɵkq = TextBackgroundsFourRowsIconTextComponent;
33528
- exports.ɵkr = TextBackgroundsFourRowsIconTextService;
33529
- exports.ɵks = SliderWithBannerComponent;
33530
- exports.ɵkt = SlidersWithBannerService;
33531
- exports.ɵku = LoaderComponentModule;
33727
+ exports.ɵka = FaqFrameComponent;
33728
+ exports.ɵkb = FaqFrameService;
33729
+ exports.ɵkc = FaqAccordionComponent;
33730
+ exports.ɵkd = FaqAccordionService;
33731
+ exports.ɵke = FaqListIconComponent;
33732
+ exports.ɵkf = FaqListIconService;
33733
+ exports.ɵkg = FourImagesTitleComponent;
33734
+ exports.ɵkh = FourImagesTitleService;
33735
+ exports.ɵki = TranslateBlockService;
33736
+ exports.ɵkj = TwoImagesTitleTextComponent;
33737
+ exports.ɵkk = TwoImagesTitleTextService;
33738
+ exports.ɵkl = TextBackgroundsWithBannerComponent;
33739
+ exports.ɵkm = TextBackgroundsWithBannerService;
33740
+ exports.ɵkn = TextBackgroundsTwoRowsIconTextComponent;
33741
+ exports.ɵko = TextBackgroundsTwoRowsIconTextService;
33742
+ exports.ɵkp = TextBackgroundsThreeRowsIconTextComponent;
33743
+ exports.ɵkq = TextBackgroundsThreeRowsIconTextService;
33744
+ exports.ɵkr = TextBackgroundsFourRowsIconTextComponent;
33745
+ exports.ɵks = TextBackgroundsFourRowsIconTextService;
33746
+ exports.ɵkt = SliderWithBannerComponent;
33747
+ exports.ɵku = SlidersWithBannerService;
33748
+ exports.ɵkv = LoaderComponentModule;
33532
33749
  exports.ɵl = PreviewsComponent;
33533
33750
  exports.ɵm = ContainerBlockComponent;
33534
33751
  exports.ɵn = SharedModule;