devexpress-richedit 24.2.7-build-25079-0118 → 24.2.7-build-25100-0108

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.
@@ -19657,7 +19657,7 @@ class ParagraphStyle extends StyleBase {
19657
19657
  }
19658
19658
  }
19659
19659
  ParagraphStyle.normalStyleName = "Normal";
19660
- ParagraphStyle.headingStyleName = "heading";
19660
+ ParagraphStyle.headingStyleName = "Heading";
19661
19661
  ParagraphStyle.tocStyleName = "toc";
19662
19662
  class TabProperties {
19663
19663
  constructor() {
@@ -92782,6 +92782,7 @@ class LayoutPageArea extends rectangle.Rectangle {
92782
92782
 
92783
92783
 
92784
92784
 
92785
+
92785
92786
  var LayoutRowStateFlags;
92786
92787
  (function (LayoutRowStateFlags) {
92787
92788
  LayoutRowStateFlags[LayoutRowStateFlags["NormallyEnd"] = 0] = "NormallyEnd";
@@ -92792,6 +92793,7 @@ var LayoutRowStateFlags;
92792
92793
  LayoutRowStateFlags[LayoutRowStateFlags["DocumentEnd"] = 16] = "DocumentEnd";
92793
92794
  LayoutRowStateFlags[LayoutRowStateFlags["CellTableEnd"] = 64] = "CellTableEnd";
92794
92795
  LayoutRowStateFlags[LayoutRowStateFlags["PageBreakBefore"] = 128] = "PageBreakBefore";
92796
+ LayoutRowStateFlags[LayoutRowStateFlags["InfinityWidth"] = 256] = "InfinityWidth";
92795
92797
  })(LayoutRowStateFlags || (LayoutRowStateFlags = {}));
92796
92798
  class layout_row_LayoutRow extends rectangle.Rectangle {
92797
92799
  get hasEffectToPageHeight() { return this.boxes.length != 1 || !this.boxes[0].isSectionBreakBox; }
@@ -92907,7 +92909,7 @@ class layout_row_LayoutRow extends rectangle.Rectangle {
92907
92909
  return lastBoxIndexWhatCanStrikeoutAndUnderline;
92908
92910
  }
92909
92911
  containsSpacesOnly() {
92910
- return this.boxes.length > 0 && utils_list.ListUtils.allOf(this.boxes, val => val.isWhitespace());
92912
+ return this.boxes.length > 0 && utils_list.ListUtils.allOf(this.boxes, val => val.isWhitespace() || val.getType() === LayoutBoxType.ParagraphMark);
92911
92913
  }
92912
92914
  }
92913
92915
  class LayoutRowWithIndex extends (/* unused pure expression or super */ null && (layout_row_LayoutRow)) {
@@ -94011,7 +94013,8 @@ class RowFormatterResult {
94011
94013
  return;
94012
94014
  this.rowFormatter.tabInfo.shiftBoxesAfterLastTab();
94013
94015
  const dontJustifyLinesEndingInSoftLineBreak = this.rowFormatter.manager.model.compatibilitySettings.dontJustifyLinesEndingInSoftLineBreak;
94014
- BoxAligner.align(this.row, this.rowFormatter.paragraphProps.alignment, currLogicRowEndPos, this.rowBoxIndexStart, dontJustifyLinesEndingInSoftLineBreak);
94016
+ if (!this.row.flags.get(LayoutRowStateFlags.InfinityWidth))
94017
+ BoxAligner.align(this.row, this.rowFormatter.paragraphProps.alignment, currLogicRowEndPos, this.rowBoxIndexStart, dontJustifyLinesEndingInSoftLineBreak);
94015
94018
  this.rowBoxIndexStart = this.row.boxes.length;
94016
94019
  }
94017
94020
  deleteSomeAnchorObjects(index, posToRestart) {
@@ -95711,6 +95714,7 @@ class RowEndedWithPageBreakState extends RowEndedWithParagraphMarkFormatterState
95711
95714
 
95712
95715
 
95713
95716
 
95717
+
95714
95718
  class RowTabInfo {
95715
95719
  get row() {
95716
95720
  return this.rowFormatter.row;
@@ -95781,9 +95785,10 @@ class RowTabInfo {
95781
95785
  if (tabXPosRelativePage > lastInterval.end) {
95782
95786
  if (lastInterval.end < this.rowFormatter.paragraphHorizontalBounds.end) {
95783
95787
  if (this.rowFormatter.manager.model.compatibilitySettings.compatibilityMode < CompatibilityMode.Word2013) {
95788
+ this.currInterval.avaliableWidth = Number.MAX_SAFE_INTEGER - this.currInterval.busyWidth;
95784
95789
  this.currInterval.length = Number.MAX_SAFE_INTEGER;
95785
- this.currInterval.avaliableWidth = Number.MAX_SAFE_INTEGER;
95786
95790
  this.row.width = Number.MAX_SAFE_INTEGER;
95791
+ this.row.flags.set(LayoutRowStateFlags.InfinityWidth, true);
95787
95792
  return this.addTabBox();
95788
95793
  }
95789
95794
  else if (tabBox.right < this.rowFormatter.paragraphHorizontalBounds.end) {
@@ -107845,29 +107850,27 @@ ResizeBoxListener.directionToSource = {
107845
107850
  ;// CONCATENATED MODULE: ./src/common/utils/size-utils.ts
107846
107851
  class SizeUtils {
107847
107852
  static getWidthInfo(element) {
107848
- const offsetSize = SizeUtils.getOffsetWidth(element);
107849
- const style = getComputedStyle(element);
107850
- const inset = parseCssValue(style.borderLeftWidth)
107851
- + parseCssValue(style.borderRightWidth)
107852
- + parseCssValue(style.paddingLeft)
107853
- + parseCssValue(style.paddingRight);
107854
- const sizeWithScrollBar = offsetSize - inset;
107855
- const scrollBarSize = Math.round(sizeWithScrollBar) - element.clientWidth;
107856
- return new DimensionInfo(offsetSize, sizeWithScrollBar - scrollBarSize, scrollBarSize);
107853
+ const computedStyle = getComputedStyle(element);
107854
+ const offsetWidth = this.getOffsetWidth(element);
107855
+ const offsetWidthWithoutBorder = offsetWidth
107856
+ - parseCssValue(computedStyle.borderLeftWidth)
107857
+ - parseCssValue(computedStyle.borderRightWidth);
107858
+ const scrollbarWidth = offsetWidthWithoutBorder - element.clientWidth;
107859
+ const clientWidth = offsetWidthWithoutBorder - scrollbarWidth;
107860
+ return new DimensionInfo(offsetWidth, clientWidth, scrollbarWidth);
107857
107861
  }
107858
107862
  static getClientWidth(element) {
107859
107863
  return this.getWidthInfo(element).clientSize;
107860
107864
  }
107861
107865
  static getHeightInfo(element) {
107862
- const offsetSize = SizeUtils.getOffsetHeight(element);
107863
- const style = getComputedStyle(element);
107864
- const inset = parseCssValue(style.borderTopWidth)
107865
- + parseCssValue(style.borderBottomWidth)
107866
- + parseCssValue(style.paddingTop)
107867
- + parseCssValue(style.paddingBottom);
107868
- const sizeWithScrollBar = offsetSize - inset;
107869
- const scrollBarSize = Math.round(sizeWithScrollBar) - element.clientHeight;
107870
- return new DimensionInfo(offsetSize, sizeWithScrollBar - scrollBarSize, scrollBarSize);
107866
+ const computedStyle = getComputedStyle(element);
107867
+ const offsetHeight = this.getOffsetHeight(element);
107868
+ const offsetHeightWithoutBorder = offsetHeight
107869
+ - parseCssValue(computedStyle.borderTopWidth)
107870
+ - parseCssValue(computedStyle.borderBottomWidth);
107871
+ const scrollbarHeight = offsetHeightWithoutBorder - element.clientHeight;
107872
+ const clientHeight = offsetHeightWithoutBorder - scrollbarHeight;
107873
+ return new DimensionInfo(offsetHeight, clientHeight, scrollbarHeight);
107871
107874
  }
107872
107875
  static getClientHeight(element) {
107873
107876
  return this.getHeightInfo(element).clientSize;
@@ -108214,17 +108217,23 @@ class CanvasManager extends batch_updatable/* BatchUpdatableObject */.IS {
108214
108217
  onScrollIntervalTick() {
108215
108218
  const evtX = this.lastMousePosition.x;
108216
108219
  const evtY = this.lastMousePosition.y;
108217
- const inHorizontalArea = evtX >= this.canvasPosition.x && evtX <= this.canvasPosition.x + this.sizes.getVisibleAreaWidth(true);
108218
- const inVerticalArea = evtY >= this.canvasPosition.y && evtY <= this.canvasPosition.y + this.sizes.getVisibleAreaHeight(true);
108220
+ const inHorizontalArea = evtX >= this.canvasPosition.x && evtX <= this.canvasPosition.x + this.sizes.getVisibleAreaWidth(false);
108221
+ const inVerticalArea = evtY >= this.canvasPosition.y && evtY <= this.canvasPosition.y + this.sizes.getVisibleAreaHeight(false);
108219
108222
  if (!inHorizontalArea && !inVerticalArea)
108220
108223
  return;
108224
+ const yOffsetWithoutScrollbar = this.canvasPosition.y + this.sizes.getVisibleAreaHeight(false) - evtY;
108225
+ const yOffsetWithScrollbar = this.canvasPosition.y + this.sizes.getVisibleAreaHeight(true) - evtY;
108226
+ const outsideHorizontalScrollbar = yOffsetWithoutScrollbar > 0 || yOffsetWithScrollbar < 0;
108221
108227
  if (inHorizontalArea && evtY - this.canvasPosition.y <= AUTOSCROLL_AREA_SIZE)
108222
108228
  this.viewManager.canvas.scrollTop -= AUTOSCROLL_STEP;
108223
- else if (inHorizontalArea && this.canvasPosition.y + this.sizes.getVisibleAreaHeight(true) - evtY <= AUTOSCROLL_AREA_SIZE)
108229
+ else if (inHorizontalArea && yOffsetWithoutScrollbar <= AUTOSCROLL_AREA_SIZE && outsideHorizontalScrollbar)
108224
108230
  this.viewManager.canvas.scrollTop += AUTOSCROLL_STEP;
108231
+ const xOffsetWithoutScrollbar = this.canvasPosition.x + this.sizes.getVisibleAreaWidth(false) - evtX;
108232
+ const xOffsetWithScrollbar = this.canvasPosition.x + this.sizes.getVisibleAreaWidth(true) - evtX;
108233
+ const outsideVerticalScrollbar = xOffsetWithoutScrollbar > 0 || xOffsetWithScrollbar < 0;
108225
108234
  if (inVerticalArea && evtX - this.canvasPosition.x <= AUTOSCROLL_AREA_SIZE)
108226
108235
  this.viewManager.canvas.scrollLeft -= AUTOSCROLL_STEP;
108227
- else if (inVerticalArea && this.canvasPosition.x + this.sizes.getVisibleAreaWidth(true) - evtX <= AUTOSCROLL_AREA_SIZE)
108236
+ else if (inVerticalArea && xOffsetWithoutScrollbar <= AUTOSCROLL_AREA_SIZE && outsideVerticalScrollbar)
108228
108237
  this.viewManager.canvas.scrollLeft += AUTOSCROLL_STEP;
108229
108238
  }
108230
108239
  static getCursorClassName(pointer) {
@@ -122503,6 +122512,44 @@ function createInnerItems(items) {
122503
122512
  }
122504
122513
  }
122505
122514
 
122515
+ ;// CONCATENATED MODULE: ./src/client/utils/focus-helper.ts
122516
+ class FocusHelper {
122517
+ static preventFocusOnClick(element) {
122518
+ return new FocusBlocker(element);
122519
+ }
122520
+ }
122521
+ class FocusBlocker {
122522
+ constructor(target) {
122523
+ this.target = target;
122524
+ this.onPointerDownBinded = this.onPointerDown.bind(this);
122525
+ this.addEventListeners(target);
122526
+ }
122527
+ addEventListeners(element) {
122528
+ element.addEventListener("pointerdown", this.onPointerDownBinded);
122529
+ }
122530
+ removeEventListeners(element) {
122531
+ element.removeEventListener("pointerdown", this.onPointerDownBinded);
122532
+ }
122533
+ onPointerDown(event) {
122534
+ for (const element of event.composedPath()) {
122535
+ if (!(element instanceof HTMLElement))
122536
+ continue;
122537
+ if (element === this.target) {
122538
+ event.preventDefault();
122539
+ break;
122540
+ }
122541
+ if (!this.target.contains(element) || element.tabIndex > -1)
122542
+ break;
122543
+ }
122544
+ }
122545
+ dispose() {
122546
+ if (this.target) {
122547
+ this.removeEventListeners(this.target);
122548
+ this.target = null;
122549
+ }
122550
+ }
122551
+ }
122552
+
122506
122553
  ;// CONCATENATED MODULE: ./src/client/bars/ribbon.ts
122507
122554
 
122508
122555
 
@@ -122512,6 +122559,7 @@ function createInnerItems(items) {
122512
122559
 
122513
122560
 
122514
122561
 
122562
+
122515
122563
  class ClientRibbonBar extends RibbonBarBase {
122516
122564
  constructor(ownerControl, ownerElement, apiRibbon, fonts) {
122517
122565
  var _a;
@@ -122520,6 +122568,7 @@ class ClientRibbonBar extends RibbonBarBase {
122520
122568
  this.ownerElement = ownerElement;
122521
122569
  this.init(apiRibbon, fonts);
122522
122570
  this.createControl((_a = apiRibbon.activeTabIndex) !== null && _a !== void 0 ? _a : 1);
122571
+ this.focusHandler = FocusHelper.preventFocusOnClick(this.ribbon.element);
122523
122572
  }
122524
122573
  updateContextItem(_commandKey) {
122525
122574
  }
@@ -122545,13 +122594,13 @@ class ClientRibbonBar extends RibbonBarBase {
122545
122594
  }
122546
122595
  dispose() {
122547
122596
  this.ribbon.dispose();
122597
+ this.focusHandler.dispose();
122548
122598
  }
122549
122599
  checkActivateHeaderFooter(_selection) {
122550
122600
  return false;
122551
122601
  }
122552
122602
  createControl(activeTabIndex) {
122553
122603
  const element = document.createElement('div');
122554
- element.tabIndex = 0;
122555
122604
  const firstChild = this.ownerElement.firstChild;
122556
122605
  if (firstChild)
122557
122606
  this.ownerElement.insertBefore(element, firstChild);
@@ -129509,7 +129558,6 @@ class LinkHeaderFooterToPreviousCommand extends HeaderFooterCommandBase {
129509
129558
 
129510
129559
 
129511
129560
 
129512
-
129513
129561
  class ApplyStyleCommand extends CommandBase {
129514
129562
  getState() {
129515
129563
  var interval = this.selection.lastSelectedInterval.clone();
@@ -129546,16 +129594,19 @@ class ApplyStyleCommand extends CommandBase {
129546
129594
  getStyleName(style) {
129547
129595
  return style.styleName;
129548
129596
  }
129597
+ DEPRECATEDConvertOptionsParameter(parameter) {
129598
+ return typeof parameter === 'string' ? { styleName: parameter } : parameter;
129599
+ }
129549
129600
  executeCore(state, options) {
129550
129601
  const parameter = options.param;
129551
- if (utils_string.StringUtils.isNullOrEmpty(parameter))
129602
+ if (utils_string.StringUtils.isNullOrEmpty(parameter.styleName))
129552
129603
  return false;
129553
- let interval = state.interval.clone();
129604
+ const subDocumentInterval = new SubDocumentInterval(options.subDocument, state.interval.clone());
129554
129605
  let executed = true;
129555
129606
  let isPresetStyle = false;
129556
129607
  this.history.beginTransaction();
129557
- if (StylesManager.isParagraphStyle(parameter) && state.paragraphStyleChangeEnabled) {
129558
- const styleName = StylesManager.getStyleNameWithoutPrefix(parameter);
129608
+ if (StylesManager.isParagraphStyle(parameter.styleName) && state.paragraphStyleChangeEnabled) {
129609
+ const styleName = StylesManager.getStyleNameWithoutPrefix(parameter.styleName);
129559
129610
  let paragraphStyle = this.control.modelManager.model.getParagraphStyleByName(styleName);
129560
129611
  if (!paragraphStyle) {
129561
129612
  const presetStyle = StylesManager.getPresetParagraphStyleByName(styleName);
@@ -129564,12 +129615,12 @@ class ApplyStyleCommand extends CommandBase {
129564
129615
  paragraphStyle = StylesManager.getPresetParagraphStyleByName(styleName).clone();
129565
129616
  isPresetStyle = true;
129566
129617
  }
129567
- this.applyParagraphStyle(interval, paragraphStyle, isPresetStyle, options.subDocument);
129618
+ this.applyParagraphStyle(subDocumentInterval, paragraphStyle, isPresetStyle, parameter.keepDirectFormatting);
129568
129619
  }
129569
- else if (!StylesManager.isParagraphStyle(parameter) && state.characterStyleChangeEnabled) {
129570
- const styleName = StylesManager.getStyleNameWithoutPrefix(parameter);
129571
- if (interval.length == 0)
129572
- interval = options.subDocument.getWholeWordInterval(interval.start);
129620
+ else if (!StylesManager.isParagraphStyle(parameter.styleName) && state.characterStyleChangeEnabled) {
129621
+ const styleName = StylesManager.getStyleNameWithoutPrefix(parameter.styleName);
129622
+ if (subDocumentInterval.interval.length == 0)
129623
+ subDocumentInterval.interval = options.subDocument.getWholeWordInterval(subDocumentInterval.interval.start);
129573
129624
  let characterStyle = this.control.modelManager.model.getCharacterStyleByName(styleName);
129574
129625
  if (!characterStyle) {
129575
129626
  const presetStyle = StylesManager.getPresetCharacterStyleByName(styleName);
@@ -129578,9 +129629,9 @@ class ApplyStyleCommand extends CommandBase {
129578
129629
  characterStyle = presetStyle.clone();
129579
129630
  isPresetStyle = true;
129580
129631
  }
129581
- if (interval.length == 0) {
129632
+ if (subDocumentInterval.interval.length == 0) {
129582
129633
  if (isPresetStyle) {
129583
- let fontInfo = characterStyle.maskedCharacterProperties.fontInfo;
129634
+ const fontInfo = characterStyle.maskedCharacterProperties.fontInfo;
129584
129635
  if (fontInfo && fontInfo.measurer === undefined)
129585
129636
  characterStyle.maskedCharacterProperties.fontInfo = this.control.modelManager.model.cache.fontInfoCache.getItemByName(fontInfo.name);
129586
129637
  }
@@ -129588,50 +129639,56 @@ class ApplyStyleCommand extends CommandBase {
129588
129639
  executed = false;
129589
129640
  }
129590
129641
  else
129591
- this.applyCharacterStyle(interval, characterStyle, isPresetStyle, options.subDocument);
129642
+ this.applyCharacterStyle(subDocumentInterval, characterStyle, isPresetStyle);
129592
129643
  }
129593
129644
  this.history.endTransaction();
129594
129645
  return executed;
129595
129646
  }
129596
- applyCharacterStyle(interval, style, isPresetStyle, subDocument) {
129647
+ applyCharacterStyle(subDocumentInterval, style, isPresetStyle) {
129597
129648
  if (ControlOptions.isEnabled(this.control.modelManager.richOptions.control.characterStyle)) {
129598
- this.modelManipulator.style.applyCharacterStyle(new SubDocumentInterval(subDocument, interval), isPresetStyle ? this.control.modelManager.model.stylesManager.addCharacterStyle(style) : style, false);
129649
+ const characterStyle = isPresetStyle ? this.control.modelManager.model.stylesManager.addCharacterStyle(style) : style;
129650
+ this.modelManipulator.style.applyCharacterStyle(subDocumentInterval, characterStyle, false);
129599
129651
  }
129600
129652
  }
129601
- applyParagraphStyle(interval, style, isPresetStyle, subDocument) {
129602
- var count = this.calculateAffectedParagraphCount(interval, subDocument);
129653
+ applyParagraphStyle(subDocumentInterval, style, isPresetStyle, keepDirectFormatting = false) {
129654
+ const count = this.calculateAffectedParagraphCount(subDocumentInterval);
129603
129655
  if (count > 0 && ControlOptions.isEnabled(this.control.modelManager.richOptions.control.paragraphStyle)) {
129604
- var paragraphIndex = search.SearchUtils.normedInterpolationIndexOf(subDocument.paragraphs, p => p.startLogPosition.value, interval.start);
129605
- for (var i = 0; i < count; i++) {
129606
- var paragraph = subDocument.paragraphs[paragraphIndex + i];
129607
- var paragraphInterval = new fixed.FixedInterval(paragraph.startLogPosition.value, paragraph.length);
129608
- var modelManipulator = this.modelManipulator;
129609
- this.history.addAndRedo(new ApplyParagraphStyleHistoryItem(modelManipulator, new SubDocumentInterval(subDocument, paragraphInterval), isPresetStyle ? modelManipulator.model.stylesManager.addParagraphStyle(style) : style));
129610
- this.history.addAndRedo(new ParagraphUseValueHistoryItem(modelManipulator, new SubDocumentInterval(subDocument, paragraphInterval), 0));
129611
- this.history.addAndRedo(new FontUseValueHistoryItem(modelManipulator, new SubDocumentInterval(subDocument, paragraphInterval), 0));
129612
- this.history.addAndRedo(new AddParagraphToListHistoryItem(this.modelManipulator, subDocument, paragraphIndex, NumberingList.NumberingListNotSettedIndex, -1));
129656
+ const { interval, subDocument } = subDocumentInterval;
129657
+ const paragraphs = subDocument.paragraphs;
129658
+ const paragraphIndex = search.SearchUtils.normedInterpolationIndexOf(paragraphs, p => p.startLogPosition.value, interval.start);
129659
+ for (let i = 0; i < count; i++) {
129660
+ const paragraph = paragraphs[paragraphIndex + i];
129661
+ const modelManipulator = this.modelManipulator;
129662
+ const paragraphSubDocumentInterval = new SubDocumentInterval(subDocument, paragraph.interval);
129663
+ style = isPresetStyle ? modelManipulator.model.stylesManager.addParagraphStyle(style) : style;
129664
+ this.history.addAndRedo(new ApplyParagraphStyleHistoryItem(modelManipulator, paragraphSubDocumentInterval, style));
129665
+ this.history.addAndRedo(new ParagraphUseValueHistoryItem(modelManipulator, paragraphSubDocumentInterval, 0));
129666
+ if (!keepDirectFormatting)
129667
+ this.history.addAndRedo(new FontUseValueHistoryItem(modelManipulator, paragraphSubDocumentInterval, 0));
129668
+ this.history.addAndRedo(new AddParagraphToListHistoryItem(modelManipulator, subDocument, paragraphIndex, NumberingList.NumberingListNotSettedIndex, -1));
129613
129669
  }
129614
129670
  }
129615
129671
  else
129616
- this.applyParagraphLinkedStyle(interval, style, isPresetStyle, subDocument);
129672
+ this.applyParagraphLinkedStyle(subDocumentInterval, style, isPresetStyle);
129617
129673
  }
129618
- applyParagraphLinkedStyle(interval, style, isPresetStyle, subDocument) {
129674
+ applyParagraphLinkedStyle(subDocumentInterval, style, isPresetStyle) {
129619
129675
  if (ControlOptions.isEnabled(this.control.modelManager.richOptions.control.characterStyle)) {
129620
129676
  if (!style.linkedStyle)
129621
- this.createCharacterStyle(style);
129622
- this.applyCharacterStyle(interval, style.linkedStyle, isPresetStyle, subDocument);
129677
+ this.addLinkedCharacterStyle(style);
129678
+ this.applyCharacterStyle(subDocumentInterval, style.linkedStyle, isPresetStyle);
129623
129679
  }
129624
129680
  }
129625
- createCharacterStyle(paragraphStyle) {
129626
- var style = new CharacterStyle(paragraphStyle.styleName + " Char", paragraphStyle.localizedName + " Char", false, false, false, false, paragraphStyle.maskedCharacterProperties);
129681
+ addLinkedCharacterStyle(paragraphStyle) {
129682
+ const style = new CharacterStyle(paragraphStyle.styleName + " Char", paragraphStyle.localizedName + " Char", false, false, false, false, paragraphStyle.maskedCharacterProperties);
129627
129683
  this.history.addAndRedo(new CreateStyleLinkHistoryItem(this.modelManipulator, style, paragraphStyle));
129628
129684
  }
129629
- calculateAffectedParagraphCount(interval, subDocument) {
129630
- var paragraphs = subDocument.getParagraphsByInterval(interval);
129685
+ calculateAffectedParagraphCount(subDocumentInterval) {
129686
+ const { interval, subDocument } = subDocumentInterval;
129687
+ const paragraphs = subDocument.getParagraphsByInterval(interval);
129631
129688
  if (paragraphs.length > 1)
129632
129689
  return paragraphs.length;
129633
- var paragraph = paragraphs[0];
129634
- var lastParagraphCharSelected = interval.length >= paragraph.length - 1;
129690
+ const paragraph = paragraphs[0];
129691
+ const lastParagraphCharSelected = interval.length >= paragraph.length - 1;
129635
129692
  if (interval.start === paragraph.startLogPosition.value && lastParagraphCharSelected || interval.length === 0)
129636
129693
  return 1;
129637
129694
  return 0;
@@ -136127,24 +136184,30 @@ class RemoveNextWordCommand extends RemoveWordCommandBase {
136127
136184
 
136128
136185
 
136129
136186
  class SetParagraphLevelCommandBase extends CommandBase {
136187
+ get commandManager() { return this.control.commandManager; }
136188
+ get modelManager() { return this.control.modelManager; }
136130
136189
  isEnabled() {
136131
- return super.isEnabled() && ControlOptions.isEnabled(this.control.modelManager.richOptions.control.paragraphFormatting);
136190
+ return super.isEnabled() && ControlOptions.isEnabled(this.modelManager.richOptions.control.paragraphFormatting);
136132
136191
  }
136133
136192
  getState() {
136134
136193
  const state = new SimpleCommandState(this.isEnabled());
136135
- state.value = this.control.commandManager.getCommand(RichEditClientCommand.ChangeHeadingLevel).getState().value == this.getLevel(null);
136194
+ state.value = this.commandManager.getCommand(RichEditClientCommand.ChangeHeadingLevel).getState().value == this.getLevel(null);
136136
136195
  return state;
136137
136196
  }
136138
136197
  executeCore(_state, options) {
136139
136198
  const level = this.getLevel(options.param);
136140
136199
  const styleName = level > 0 ? `${ParagraphStyle.headingStyleName} ${level}` : ParagraphStyle.normalStyleName;
136141
- let paragraphStyle = this.control.modelManager.model.getParagraphStyleByName(styleName);
136200
+ let paragraphStyle = this.modelManager.model.getParagraphStyleByName(styleName);
136142
136201
  if (!paragraphStyle)
136143
136202
  paragraphStyle = StylesManager.getPresetParagraphStyleByName(styleName);
136144
- if (paragraphStyle)
136145
- this.control.commandManager.getCommand(RichEditClientCommand.ChangeStyle).execute(this.control.commandManager.isPublicApiCall, new CommandSimpleOptions(this.control, StylesManager.paragraphPrefix + styleName));
136146
- else
136147
- this.control.commandManager.getCommand(RichEditClientCommand.ChangeHeadingLevel).execute(this.control.commandManager.isPublicApiCall, new CommandSimpleOptions(this.control, level));
136203
+ if (paragraphStyle) {
136204
+ const commandOptions = new CommandSimpleOptions(this.control, { styleName: StylesManager.paragraphPrefix + styleName, keepDirectFormatting: true });
136205
+ this.commandManager.getCommand(RichEditClientCommand.ChangeStyle).execute(this.commandManager.isPublicApiCall, commandOptions);
136206
+ }
136207
+ else {
136208
+ const commandOptions = new CommandSimpleOptions(this.control, level);
136209
+ this.commandManager.getCommand(RichEditClientCommand.ChangeHeadingLevel).execute(this.commandManager.isPublicApiCall, commandOptions);
136210
+ }
136148
136211
  return true;
136149
136212
  }
136150
136213
  getRelatedCommands() {
@@ -140811,8 +140874,8 @@ class DialogManager {
140811
140874
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_type.js
140812
140875
  /**
140813
140876
  * DevExtreme (esm/__internal/core/utils/m_type.js)
140814
- * Version: 24.2.7-build-25078-1935
140815
- * Build date: Wed Mar 19 2025
140877
+ * Version: 24.2.7-build-25098-1935
140878
+ * Build date: Tue Apr 08 2025
140816
140879
  *
140817
140880
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
140818
140881
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -140914,8 +140977,8 @@ const isEvent = function(object) {
140914
140977
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/type.js
140915
140978
  /**
140916
140979
  * DevExtreme (esm/core/utils/type.js)
140917
- * Version: 24.2.7-build-25078-1935
140918
- * Build date: Wed Mar 19 2025
140980
+ * Version: 24.2.7-build-25098-1935
140981
+ * Build date: Tue Apr 08 2025
140919
140982
  *
140920
140983
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
140921
140984
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -140925,8 +140988,8 @@ const isEvent = function(object) {
140925
140988
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_extend.js
140926
140989
  /**
140927
140990
  * DevExtreme (esm/__internal/core/utils/m_extend.js)
140928
- * Version: 24.2.7-build-25078-1935
140929
- * Build date: Wed Mar 19 2025
140991
+ * Version: 24.2.7-build-25098-1935
140992
+ * Build date: Tue Apr 08 2025
140930
140993
  *
140931
140994
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
140932
140995
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -140984,8 +141047,8 @@ const extend = function(target) {
140984
141047
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/extend.js
140985
141048
  /**
140986
141049
  * DevExtreme (esm/core/utils/extend.js)
140987
- * Version: 24.2.7-build-25078-1935
140988
- * Build date: Wed Mar 19 2025
141050
+ * Version: 24.2.7-build-25098-1935
141051
+ * Build date: Tue Apr 08 2025
140989
141052
  *
140990
141053
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
140991
141054
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -140995,8 +141058,8 @@ const extend = function(target) {
140995
141058
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_string.js
140996
141059
  /**
140997
141060
  * DevExtreme (esm/__internal/core/utils/m_string.js)
140998
- * Version: 24.2.7-build-25078-1935
140999
- * Build date: Wed Mar 19 2025
141061
+ * Version: 24.2.7-build-25098-1935
141062
+ * Build date: Tue Apr 08 2025
141000
141063
  *
141001
141064
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141002
141065
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141071,8 +141134,8 @@ const isEmpty = function() {
141071
141134
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/string.js
141072
141135
  /**
141073
141136
  * DevExtreme (esm/core/utils/string.js)
141074
- * Version: 24.2.7-build-25078-1935
141075
- * Build date: Wed Mar 19 2025
141137
+ * Version: 24.2.7-build-25098-1935
141138
+ * Build date: Tue Apr 08 2025
141076
141139
  *
141077
141140
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141078
141141
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141082,20 +141145,20 @@ const isEmpty = function() {
141082
141145
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/version.js
141083
141146
  /**
141084
141147
  * DevExtreme (esm/core/version.js)
141085
- * Version: 24.2.7-build-25078-1935
141086
- * Build date: Wed Mar 19 2025
141148
+ * Version: 24.2.7-build-25098-1935
141149
+ * Build date: Tue Apr 08 2025
141087
141150
  *
141088
141151
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141089
141152
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
141090
141153
  */
141091
141154
  const version = "24.2.6";
141092
- const fullVersion = "24.2.6.25078-1935";
141155
+ const fullVersion = "24.2.6.25098-1935";
141093
141156
 
141094
141157
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_console.js
141095
141158
  /**
141096
141159
  * DevExtreme (esm/__internal/core/utils/m_console.js)
141097
- * Version: 24.2.7-build-25078-1935
141098
- * Build date: Wed Mar 19 2025
141160
+ * Version: 24.2.7-build-25098-1935
141161
+ * Build date: Tue Apr 08 2025
141099
141162
  *
141100
141163
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141101
141164
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141135,8 +141198,8 @@ const debug = function() {
141135
141198
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_error.js
141136
141199
  /**
141137
141200
  * DevExtreme (esm/__internal/core/utils/m_error.js)
141138
- * Version: 24.2.7-build-25078-1935
141139
- * Build date: Wed Mar 19 2025
141201
+ * Version: 24.2.7-build-25098-1935
141202
+ * Build date: Tue Apr 08 2025
141140
141203
  *
141141
141204
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141142
141205
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141207,8 +141270,8 @@ function error(baseErrors, errors) {
141207
141270
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/error.js
141208
141271
  /**
141209
141272
  * DevExtreme (esm/core/utils/error.js)
141210
- * Version: 24.2.7-build-25078-1935
141211
- * Build date: Wed Mar 19 2025
141273
+ * Version: 24.2.7-build-25098-1935
141274
+ * Build date: Tue Apr 08 2025
141212
141275
  *
141213
141276
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141214
141277
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141219,8 +141282,8 @@ function error(baseErrors, errors) {
141219
141282
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/m_errors.js
141220
141283
  /**
141221
141284
  * DevExtreme (esm/__internal/core/m_errors.js)
141222
- * Version: 24.2.7-build-25078-1935
141223
- * Build date: Wed Mar 19 2025
141285
+ * Version: 24.2.7-build-25098-1935
141286
+ * Build date: Tue Apr 08 2025
141224
141287
  *
141225
141288
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141226
141289
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141286,8 +141349,8 @@ function error(baseErrors, errors) {
141286
141349
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/errors.js
141287
141350
  /**
141288
141351
  * DevExtreme (esm/core/errors.js)
141289
- * Version: 24.2.7-build-25078-1935
141290
- * Build date: Wed Mar 19 2025
141352
+ * Version: 24.2.7-build-25098-1935
141353
+ * Build date: Tue Apr 08 2025
141291
141354
  *
141292
141355
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141293
141356
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141298,8 +141361,8 @@ function error(baseErrors, errors) {
141298
141361
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/m_class.js
141299
141362
  /**
141300
141363
  * DevExtreme (esm/__internal/core/m_class.js)
141301
- * Version: 24.2.7-build-25078-1935
141302
- * Build date: Wed Mar 19 2025
141364
+ * Version: 24.2.7-build-25098-1935
141365
+ * Build date: Tue Apr 08 2025
141303
141366
  *
141304
141367
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141305
141368
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141432,8 +141495,8 @@ classImpl.abstract = m_class_abstract;
141432
141495
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/class.js
141433
141496
  /**
141434
141497
  * DevExtreme (esm/core/class.js)
141435
- * Version: 24.2.7-build-25078-1935
141436
- * Build date: Wed Mar 19 2025
141498
+ * Version: 24.2.7-build-25098-1935
141499
+ * Build date: Tue Apr 08 2025
141437
141500
  *
141438
141501
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141439
141502
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141444,8 +141507,8 @@ classImpl.abstract = m_class_abstract;
141444
141507
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_iterator.js
141445
141508
  /**
141446
141509
  * DevExtreme (esm/__internal/core/utils/m_iterator.js)
141447
- * Version: 24.2.7-build-25078-1935
141448
- * Build date: Wed Mar 19 2025
141510
+ * Version: 24.2.7-build-25098-1935
141511
+ * Build date: Tue Apr 08 2025
141449
141512
  *
141450
141513
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141451
141514
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141494,8 +141557,8 @@ const reverseEach = (array, callback) => {
141494
141557
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_dependency_injector.js
141495
141558
  /**
141496
141559
  * DevExtreme (esm/__internal/core/utils/m_dependency_injector.js)
141497
- * Version: 24.2.7-build-25078-1935
141498
- * Build date: Wed Mar 19 2025
141560
+ * Version: 24.2.7-build-25098-1935
141561
+ * Build date: Tue Apr 08 2025
141499
141562
  *
141500
141563
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141501
141564
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141544,8 +141607,8 @@ function injector(object) {
141544
141607
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/dependency_injector.js
141545
141608
  /**
141546
141609
  * DevExtreme (esm/core/utils/dependency_injector.js)
141547
- * Version: 24.2.7-build-25078-1935
141548
- * Build date: Wed Mar 19 2025
141610
+ * Version: 24.2.7-build-25098-1935
141611
+ * Build date: Tue Apr 08 2025
141549
141612
  *
141550
141613
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141551
141614
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141556,8 +141619,8 @@ function injector(object) {
141556
141619
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/ldml/date.formatter.js
141557
141620
  /**
141558
141621
  * DevExtreme (esm/common/core/localization/ldml/date.formatter.js)
141559
- * Version: 24.2.7-build-25078-1935
141560
- * Build date: Wed Mar 19 2025
141622
+ * Version: 24.2.7-build-25098-1935
141623
+ * Build date: Tue Apr 08 2025
141561
141624
  *
141562
141625
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141563
141626
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141710,8 +141773,8 @@ function _extends() {
141710
141773
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/m_config.js
141711
141774
  /**
141712
141775
  * DevExtreme (esm/__internal/core/m_config.js)
141713
- * Version: 24.2.7-build-25078-1935
141714
- * Build date: Wed Mar 19 2025
141776
+ * Version: 24.2.7-build-25098-1935
141777
+ * Build date: Tue Apr 08 2025
141715
141778
  *
141716
141779
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141717
141780
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141786,8 +141849,8 @@ if ("undefined" !== typeof DevExpress && DevExpress.config) {
141786
141849
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/config.js
141787
141850
  /**
141788
141851
  * DevExtreme (esm/common/config.js)
141789
- * Version: 24.2.7-build-25078-1935
141790
- * Build date: Wed Mar 19 2025
141852
+ * Version: 24.2.7-build-25098-1935
141853
+ * Build date: Tue Apr 08 2025
141791
141854
  *
141792
141855
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141793
141856
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141798,8 +141861,8 @@ if ("undefined" !== typeof DevExpress && DevExpress.config) {
141798
141861
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/m_guid.js
141799
141862
  /**
141800
141863
  * DevExtreme (esm/__internal/core/m_guid.js)
141801
- * Version: 24.2.7-build-25078-1935
141802
- * Build date: Wed Mar 19 2025
141864
+ * Version: 24.2.7-build-25098-1935
141865
+ * Build date: Tue Apr 08 2025
141803
141866
  *
141804
141867
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141805
141868
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141841,8 +141904,8 @@ const Guid = core_class.inherit({
141841
141904
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/guid.js
141842
141905
  /**
141843
141906
  * DevExtreme (esm/common/guid.js)
141844
- * Version: 24.2.7-build-25078-1935
141845
- * Build date: Wed Mar 19 2025
141907
+ * Version: 24.2.7-build-25098-1935
141908
+ * Build date: Tue Apr 08 2025
141846
141909
  *
141847
141910
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141848
141911
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141853,8 +141916,8 @@ const Guid = core_class.inherit({
141853
141916
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/templates/m_template_engine_registry.js
141854
141917
  /**
141855
141918
  * DevExtreme (esm/__internal/core/templates/m_template_engine_registry.js)
141856
- * Version: 24.2.7-build-25078-1935
141857
- * Build date: Wed Mar 19 2025
141919
+ * Version: 24.2.7-build-25098-1935
141920
+ * Build date: Tue Apr 08 2025
141858
141921
  *
141859
141922
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141860
141923
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141883,8 +141946,8 @@ function getCurrentTemplateEngine() {
141883
141946
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/templates/template_engine_registry.js
141884
141947
  /**
141885
141948
  * DevExtreme (esm/core/templates/template_engine_registry.js)
141886
- * Version: 24.2.7-build-25078-1935
141887
- * Build date: Wed Mar 19 2025
141949
+ * Version: 24.2.7-build-25098-1935
141950
+ * Build date: Tue Apr 08 2025
141888
141951
  *
141889
141952
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141890
141953
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141894,8 +141957,8 @@ function getCurrentTemplateEngine() {
141894
141957
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/m_set_template_engine.js
141895
141958
  /**
141896
141959
  * DevExtreme (esm/__internal/core/m_set_template_engine.js)
141897
- * Version: 24.2.7-build-25078-1935
141898
- * Build date: Wed Mar 19 2025
141960
+ * Version: 24.2.7-build-25098-1935
141961
+ * Build date: Tue Apr 08 2025
141899
141962
  *
141900
141963
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141901
141964
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141905,8 +141968,8 @@ function getCurrentTemplateEngine() {
141905
141968
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/set_template_engine.js
141906
141969
  /**
141907
141970
  * DevExtreme (esm/common/set_template_engine.js)
141908
- * Version: 24.2.7-build-25078-1935
141909
- * Build date: Wed Mar 19 2025
141971
+ * Version: 24.2.7-build-25098-1935
141972
+ * Build date: Tue Apr 08 2025
141910
141973
  *
141911
141974
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141912
141975
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141917,8 +141980,8 @@ function getCurrentTemplateEngine() {
141917
141980
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common.js
141918
141981
  /**
141919
141982
  * DevExtreme (esm/common.js)
141920
- * Version: 24.2.7-build-25078-1935
141921
- * Build date: Wed Mar 19 2025
141983
+ * Version: 24.2.7-build-25098-1935
141984
+ * Build date: Tue Apr 08 2025
141922
141985
  *
141923
141986
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141924
141987
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141931,8 +141994,8 @@ function getCurrentTemplateEngine() {
141931
141994
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/config.js
141932
141995
  /**
141933
141996
  * DevExtreme (esm/core/config.js)
141934
- * Version: 24.2.7-build-25078-1935
141935
- * Build date: Wed Mar 19 2025
141997
+ * Version: 24.2.7-build-25098-1935
141998
+ * Build date: Tue Apr 08 2025
141936
141999
  *
141937
142000
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141938
142001
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141943,8 +142006,8 @@ function getCurrentTemplateEngine() {
141943
142006
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/guid.js
141944
142007
  /**
141945
142008
  * DevExtreme (esm/core/guid.js)
141946
- * Version: 24.2.7-build-25078-1935
141947
- * Build date: Wed Mar 19 2025
142009
+ * Version: 24.2.7-build-25098-1935
142010
+ * Build date: Tue Apr 08 2025
141948
142011
  *
141949
142012
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141950
142013
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141955,8 +142018,8 @@ function getCurrentTemplateEngine() {
141955
142018
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/console.js
141956
142019
  /**
141957
142020
  * DevExtreme (esm/core/utils/console.js)
141958
- * Version: 24.2.7-build-25078-1935
141959
- * Build date: Wed Mar 19 2025
142021
+ * Version: 24.2.7-build-25098-1935
142022
+ * Build date: Tue Apr 08 2025
141960
142023
  *
141961
142024
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141962
142025
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141966,8 +142029,8 @@ function getCurrentTemplateEngine() {
141966
142029
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_variable_wrapper.js
141967
142030
  /**
141968
142031
  * DevExtreme (esm/__internal/core/utils/m_variable_wrapper.js)
141969
- * Version: 24.2.7-build-25078-1935
141970
- * Build date: Wed Mar 19 2025
142032
+ * Version: 24.2.7-build-25098-1935
142033
+ * Build date: Tue Apr 08 2025
141971
142034
  *
141972
142035
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141973
142036
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141996,8 +142059,8 @@ const m_variable_wrapper_variableWrapper = dependency_injector({
141996
142059
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/variable_wrapper.js
141997
142060
  /**
141998
142061
  * DevExtreme (esm/core/utils/variable_wrapper.js)
141999
- * Version: 24.2.7-build-25078-1935
142000
- * Build date: Wed Mar 19 2025
142062
+ * Version: 24.2.7-build-25098-1935
142063
+ * Build date: Tue Apr 08 2025
142001
142064
  *
142002
142065
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142003
142066
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142008,8 +142071,8 @@ const m_variable_wrapper_variableWrapper = dependency_injector({
142008
142071
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_object.js
142009
142072
  /**
142010
142073
  * DevExtreme (esm/__internal/core/utils/m_object.js)
142011
- * Version: 24.2.7-build-25078-1935
142012
- * Build date: Wed Mar 19 2025
142074
+ * Version: 24.2.7-build-25098-1935
142075
+ * Build date: Tue Apr 08 2025
142013
142076
  *
142014
142077
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142015
142078
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142109,8 +142172,8 @@ const m_object_deepExtendArraySafe = function(target, changes, extendComplexObje
142109
142172
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/object.js
142110
142173
  /**
142111
142174
  * DevExtreme (esm/core/utils/object.js)
142112
- * Version: 24.2.7-build-25078-1935
142113
- * Build date: Wed Mar 19 2025
142175
+ * Version: 24.2.7-build-25098-1935
142176
+ * Build date: Tue Apr 08 2025
142114
142177
  *
142115
142178
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142116
142179
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142120,8 +142183,8 @@ const m_object_deepExtendArraySafe = function(target, changes, extendComplexObje
142120
142183
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_data.js
142121
142184
  /**
142122
142185
  * DevExtreme (esm/__internal/core/utils/m_data.js)
142123
- * Version: 24.2.7-build-25078-1935
142124
- * Build date: Wed Mar 19 2025
142186
+ * Version: 24.2.7-build-25098-1935
142187
+ * Build date: Tue Apr 08 2025
142125
142188
  *
142126
142189
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142127
142190
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142317,8 +142380,8 @@ const toComparable = function(value, caseSensitive) {
142317
142380
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/data.js
142318
142381
  /**
142319
142382
  * DevExtreme (esm/core/utils/data.js)
142320
- * Version: 24.2.7-build-25078-1935
142321
- * Build date: Wed Mar 19 2025
142383
+ * Version: 24.2.7-build-25098-1935
142384
+ * Build date: Tue Apr 08 2025
142322
142385
  *
142323
142386
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142324
142387
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142328,8 +142391,8 @@ const toComparable = function(value, caseSensitive) {
142328
142391
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_callbacks.js
142329
142392
  /**
142330
142393
  * DevExtreme (esm/__internal/core/utils/m_callbacks.js)
142331
- * Version: 24.2.7-build-25078-1935
142332
- * Build date: Wed Mar 19 2025
142394
+ * Version: 24.2.7-build-25098-1935
142395
+ * Build date: Tue Apr 08 2025
142333
142396
  *
142334
142397
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142335
142398
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142424,8 +142487,8 @@ const Callbacks = function(options) {
142424
142487
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/callbacks.js
142425
142488
  /**
142426
142489
  * DevExtreme (esm/core/utils/callbacks.js)
142427
- * Version: 24.2.7-build-25078-1935
142428
- * Build date: Wed Mar 19 2025
142490
+ * Version: 24.2.7-build-25098-1935
142491
+ * Build date: Tue Apr 08 2025
142429
142492
  *
142430
142493
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142431
142494
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142436,8 +142499,8 @@ const Callbacks = function(options) {
142436
142499
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_deferred.js
142437
142500
  /**
142438
142501
  * DevExtreme (esm/__internal/core/utils/m_deferred.js)
142439
- * Version: 24.2.7-build-25078-1935
142440
- * Build date: Wed Mar 19 2025
142502
+ * Version: 24.2.7-build-25098-1935
142503
+ * Build date: Tue Apr 08 2025
142441
142504
  *
142442
142505
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142443
142506
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142602,8 +142665,8 @@ function when() {
142602
142665
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/deferred.js
142603
142666
  /**
142604
142667
  * DevExtreme (esm/core/utils/deferred.js)
142605
- * Version: 24.2.7-build-25078-1935
142606
- * Build date: Wed Mar 19 2025
142668
+ * Version: 24.2.7-build-25098-1935
142669
+ * Build date: Tue Apr 08 2025
142607
142670
  *
142608
142671
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142609
142672
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142613,8 +142676,8 @@ function when() {
142613
142676
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_common.js
142614
142677
  /**
142615
142678
  * DevExtreme (esm/__internal/core/utils/m_common.js)
142616
- * Version: 24.2.7-build-25078-1935
142617
- * Build date: Wed Mar 19 2025
142679
+ * Version: 24.2.7-build-25098-1935
142680
+ * Build date: Tue Apr 08 2025
142618
142681
  *
142619
142682
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142620
142683
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142909,8 +142972,8 @@ const equalByValue = function(value1, value2) {
142909
142972
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/common.js
142910
142973
  /**
142911
142974
  * DevExtreme (esm/core/utils/common.js)
142912
- * Version: 24.2.7-build-25078-1935
142913
- * Build date: Wed Mar 19 2025
142975
+ * Version: 24.2.7-build-25098-1935
142976
+ * Build date: Tue Apr 08 2025
142914
142977
  *
142915
142978
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142916
142979
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142920,8 +142983,8 @@ const equalByValue = function(value1, value2) {
142920
142983
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_math.js
142921
142984
  /**
142922
142985
  * DevExtreme (esm/__internal/core/utils/m_math.js)
142923
- * Version: 24.2.7-build-25078-1935
142924
- * Build date: Wed Mar 19 2025
142986
+ * Version: 24.2.7-build-25098-1935
142987
+ * Build date: Tue Apr 08 2025
142925
142988
  *
142926
142989
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142927
142990
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -143090,8 +143153,8 @@ function roundFloatPart(value) {
143090
143153
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/math.js
143091
143154
  /**
143092
143155
  * DevExtreme (esm/core/utils/math.js)
143093
- * Version: 24.2.7-build-25078-1935
143094
- * Build date: Wed Mar 19 2025
143156
+ * Version: 24.2.7-build-25098-1935
143157
+ * Build date: Tue Apr 08 2025
143095
143158
  *
143096
143159
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
143097
143160
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -143101,8 +143164,8 @@ function roundFloatPart(value) {
143101
143164
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/utils.js
143102
143165
  /**
143103
143166
  * DevExtreme (esm/common/core/localization/utils.js)
143104
- * Version: 24.2.7-build-25078-1935
143105
- * Build date: Wed Mar 19 2025
143167
+ * Version: 24.2.7-build-25098-1935
143168
+ * Build date: Tue Apr 08 2025
143106
143169
  *
143107
143170
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
143108
143171
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -143129,8 +143192,8 @@ function toFixed(value, precision) {
143129
143192
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/ldml/number.js
143130
143193
  /**
143131
143194
  * DevExtreme (esm/common/core/localization/ldml/number.js)
143132
- * Version: 24.2.7-build-25078-1935
143133
- * Build date: Wed Mar 19 2025
143195
+ * Version: 24.2.7-build-25098-1935
143196
+ * Build date: Tue Apr 08 2025
143134
143197
  *
143135
143198
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
143136
143199
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -143371,8 +143434,8 @@ function getFormat(formatter) {
143371
143434
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/currency.js
143372
143435
  /**
143373
143436
  * DevExtreme (esm/common/core/localization/currency.js)
143374
- * Version: 24.2.7-build-25078-1935
143375
- * Build date: Wed Mar 19 2025
143437
+ * Version: 24.2.7-build-25098-1935
143438
+ * Build date: Tue Apr 08 2025
143376
143439
  *
143377
143440
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
143378
143441
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -143404,8 +143467,8 @@ function getFormat(formatter) {
143404
143467
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/cldr-data/parent_locales.js
143405
143468
  /**
143406
143469
  * DevExtreme (esm/common/core/localization/cldr-data/parent_locales.js)
143407
- * Version: 24.2.7-build-25078-1935
143408
- * Build date: Wed Mar 19 2025
143470
+ * Version: 24.2.7-build-25098-1935
143471
+ * Build date: Tue Apr 08 2025
143409
143472
  *
143410
143473
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
143411
143474
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -143590,8 +143653,8 @@ function getFormat(formatter) {
143590
143653
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/parentLocale.js
143591
143654
  /**
143592
143655
  * DevExtreme (esm/common/core/localization/parentLocale.js)
143593
- * Version: 24.2.7-build-25078-1935
143594
- * Build date: Wed Mar 19 2025
143656
+ * Version: 24.2.7-build-25098-1935
143657
+ * Build date: Tue Apr 08 2025
143595
143658
  *
143596
143659
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
143597
143660
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -143608,8 +143671,8 @@ const PARENT_LOCALE_SEPARATOR = "-";
143608
143671
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/core.js
143609
143672
  /**
143610
143673
  * DevExtreme (esm/common/core/localization/core.js)
143611
- * Version: 24.2.7-build-25078-1935
143612
- * Build date: Wed Mar 19 2025
143674
+ * Version: 24.2.7-build-25098-1935
143675
+ * Build date: Tue Apr 08 2025
143613
143676
  *
143614
143677
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
143615
143678
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -143650,8 +143713,8 @@ const DEFAULT_LOCALE = "en";
143650
143713
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/open_xml_currency_format.js
143651
143714
  /**
143652
143715
  * DevExtreme (esm/common/core/localization/open_xml_currency_format.js)
143653
- * Version: 24.2.7-build-25078-1935
143654
- * Build date: Wed Mar 19 2025
143716
+ * Version: 24.2.7-build-25098-1935
143717
+ * Build date: Tue Apr 08 2025
143655
143718
  *
143656
143719
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
143657
143720
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -143693,8 +143756,8 @@ const DEFAULT_LOCALE = "en";
143693
143756
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/cldr-data/accounting_formats.js
143694
143757
  /**
143695
143758
  * DevExtreme (esm/common/core/localization/cldr-data/accounting_formats.js)
143696
- * Version: 24.2.7-build-25078-1935
143697
- * Build date: Wed Mar 19 2025
143759
+ * Version: 24.2.7-build-25098-1935
143760
+ * Build date: Tue Apr 08 2025
143698
143761
  *
143699
143762
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
143700
143763
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -144280,8 +144343,8 @@ const DEFAULT_LOCALE = "en";
144280
144343
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/intl/number.js
144281
144344
  /**
144282
144345
  * DevExtreme (esm/common/core/localization/intl/number.js)
144283
- * Version: 24.2.7-build-25078-1935
144284
- * Build date: Wed Mar 19 2025
144346
+ * Version: 24.2.7-build-25098-1935
144347
+ * Build date: Tue Apr 08 2025
144285
144348
  *
144286
144349
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
144287
144350
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -144401,8 +144464,8 @@ const getCurrencyFormatter = currency => new Intl.NumberFormat(core.locale(), {
144401
144464
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/number.js
144402
144465
  /**
144403
144466
  * DevExtreme (esm/common/core/localization/number.js)
144404
- * Version: 24.2.7-build-25078-1935
144405
- * Build date: Wed Mar 19 2025
144467
+ * Version: 24.2.7-build-25098-1935
144468
+ * Build date: Tue Apr 08 2025
144406
144469
  *
144407
144470
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
144408
144471
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -144707,8 +144770,8 @@ if (hasIntl) {
144707
144770
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/ldml/date.format.js
144708
144771
  /**
144709
144772
  * DevExtreme (esm/common/core/localization/ldml/date.format.js)
144710
- * Version: 24.2.7-build-25078-1935
144711
- * Build date: Wed Mar 19 2025
144773
+ * Version: 24.2.7-build-25098-1935
144774
+ * Build date: Tue Apr 08 2025
144712
144775
  *
144713
144776
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
144714
144777
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -144905,8 +144968,8 @@ const date_format_getFormat = function(formatter) {
144905
144968
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/ldml/date.parser.js
144906
144969
  /**
144907
144970
  * DevExtreme (esm/common/core/localization/ldml/date.parser.js)
144908
- * Version: 24.2.7-build-25078-1935
144909
- * Build date: Wed Mar 19 2025
144971
+ * Version: 24.2.7-build-25098-1935
144972
+ * Build date: Tue Apr 08 2025
144910
144973
  *
144911
144974
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
144912
144975
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -145224,8 +145287,8 @@ const getParser = function(format, dateParts) {
145224
145287
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/default_date_names.js
145225
145288
  /**
145226
145289
  * DevExtreme (esm/common/core/localization/default_date_names.js)
145227
- * Version: 24.2.7-build-25078-1935
145228
- * Build date: Wed Mar 19 2025
145290
+ * Version: 24.2.7-build-25098-1935
145291
+ * Build date: Tue Apr 08 2025
145229
145292
  *
145230
145293
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
145231
145294
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -145261,8 +145324,8 @@ const cutCaptions = (captions, format) => {
145261
145324
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/cldr-data/first_day_of_week_data.js
145262
145325
  /**
145263
145326
  * DevExtreme (esm/common/core/localization/cldr-data/first_day_of_week_data.js)
145264
- * Version: 24.2.7-build-25078-1935
145265
- * Build date: Wed Mar 19 2025
145327
+ * Version: 24.2.7-build-25098-1935
145328
+ * Build date: Tue Apr 08 2025
145266
145329
  *
145267
145330
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
145268
145331
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -145461,8 +145524,8 @@ const cutCaptions = (captions, format) => {
145461
145524
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/intl/date.js
145462
145525
  /**
145463
145526
  * DevExtreme (esm/common/core/localization/intl/date.js)
145464
- * Version: 24.2.7-build-25078-1935
145465
- * Build date: Wed Mar 19 2025
145527
+ * Version: 24.2.7-build-25098-1935
145528
+ * Build date: Tue Apr 08 2025
145466
145529
  *
145467
145530
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
145468
145531
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -145779,8 +145842,8 @@ const monthNameStrategies = {
145779
145842
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/date.js
145780
145843
  /**
145781
145844
  * DevExtreme (esm/common/core/localization/date.js)
145782
- * Version: 24.2.7-build-25078-1935
145783
- * Build date: Wed Mar 19 2025
145845
+ * Version: 24.2.7-build-25098-1935
145846
+ * Build date: Tue Apr 08 2025
145784
145847
  *
145785
145848
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
145786
145849
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/