devexpress-richedit 24.2.8-build-25135-0103 → 24.2.8-build-25149-0115

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.
@@ -9486,6 +9486,219 @@ class ShadingInfo {
9486
9486
  }
9487
9487
  }
9488
9488
 
9489
+ // EXTERNAL MODULE: ./node_modules/@devexpress/utils/lib/utils/comparers.js
9490
+ var comparers = __webpack_require__(4170);
9491
+ ;// CONCATENATED MODULE: ./src/common/model/history/base/history-item.ts
9492
+
9493
+ class history_item_HistoryItem {
9494
+ canBeMerged() {
9495
+ return false;
9496
+ }
9497
+ constructor(modelManipulator) {
9498
+ this.uniqueId = -1;
9499
+ this.modelManipulator = modelManipulator;
9500
+ }
9501
+ changeModified() {
9502
+ return true;
9503
+ }
9504
+ }
9505
+ class CompositionHistoryItem extends history_item_HistoryItem {
9506
+ canBeMerged() {
9507
+ return true;
9508
+ }
9509
+ constructor() {
9510
+ super(null);
9511
+ this.historyItems = [];
9512
+ }
9513
+ changeModified() {
9514
+ var item;
9515
+ for (var i = 0; item = this.historyItems[i]; i++) {
9516
+ if (item.changeModified())
9517
+ return true;
9518
+ }
9519
+ return false;
9520
+ }
9521
+ redo() {
9522
+ var item;
9523
+ for (var i = 0; item = this.historyItems[i]; i++)
9524
+ item.redo();
9525
+ }
9526
+ undo() {
9527
+ var item;
9528
+ for (var i = this.historyItems.length - 1; item = this.historyItems[i]; i--)
9529
+ item.undo();
9530
+ }
9531
+ add(historyItem) {
9532
+ if (historyItem == null)
9533
+ throw new Error(lib_errors/* Errors */.D.ValueCannotBeNull);
9534
+ this.historyItems.push(historyItem);
9535
+ }
9536
+ }
9537
+
9538
+ ;// CONCATENATED MODULE: ./src/common/model/history/base/interval-based-history-item.ts
9539
+
9540
+ class interval_based_history_item_IntervalBasedHistoryItem extends history_item_HistoryItem {
9541
+ get boundSubDocument() { return this.subDocInterval.subDocument; }
9542
+ get interval() { return this.subDocInterval.interval; }
9543
+ constructor(modelManipulator, subDocInterval) {
9544
+ super(modelManipulator);
9545
+ this.subDocInterval = subDocInterval;
9546
+ }
9547
+ }
9548
+
9549
+ ;// CONCATENATED MODULE: ./src/common/model/history/items/character-properties-history-items.ts
9550
+
9551
+
9552
+ class FontUseValueHistoryItem extends interval_based_history_item_IntervalBasedHistoryItem {
9553
+ constructor(modelManipulator, subDocInterval, newValue, keepCustomFormatting = false) {
9554
+ super(modelManipulator, subDocInterval);
9555
+ this.newValue = newValue;
9556
+ this.keepCustomFormatting = keepCustomFormatting;
9557
+ }
9558
+ redo() {
9559
+ this.oldState = this.modelManipulator.characterProperties.useValue.setValue(this.boundSubDocument, this.interval, this.newValue, this.keepCustomFormatting);
9560
+ }
9561
+ undo() {
9562
+ this.modelManipulator.characterProperties.useValue.restoreValue(this.boundSubDocument, this.oldState);
9563
+ }
9564
+ }
9565
+ class CharacterPropertiesHistoryItem extends interval_based_history_item_IntervalBasedHistoryItem {
9566
+ constructor(modelManipulator, subDocInterval, newValue) {
9567
+ super(modelManipulator, subDocInterval);
9568
+ this.newValue = newValue;
9569
+ }
9570
+ redo() {
9571
+ this.oldState = this.modelManipulator.characterProperties.setValue(this.boundSubDocument, this.interval, this.newValue);
9572
+ }
9573
+ undo() {
9574
+ this.modelManipulator.characterProperties.restoreValue(this.boundSubDocument, this.oldState);
9575
+ }
9576
+ }
9577
+ class CharacterPropertiesHistoryItemBase extends interval_based_history_item_IntervalBasedHistoryItem {
9578
+ constructor(modelManipulator, subDocInterval, newValue, newUse) {
9579
+ super(modelManipulator, subDocInterval);
9580
+ this.newValue = newValue;
9581
+ this.newUse = newUse;
9582
+ }
9583
+ redo() {
9584
+ this.oldState = this.getPropertiesManipulator().setValue(this.boundSubDocument, this.interval, this.newValue, this.newUse);
9585
+ }
9586
+ undo() {
9587
+ this.getPropertiesManipulator().restoreValue(this.boundSubDocument, this.oldState);
9588
+ }
9589
+ getPropertiesManipulator() {
9590
+ throw new Error(lib_errors/* Errors */.D.NotImplemented);
9591
+ }
9592
+ }
9593
+ class FontBoldHistoryItem extends CharacterPropertiesHistoryItemBase {
9594
+ getPropertiesManipulator() {
9595
+ return this.modelManipulator.characterProperties.fontBold;
9596
+ }
9597
+ }
9598
+ class FontCapsHistoryItem extends CharacterPropertiesHistoryItemBase {
9599
+ getPropertiesManipulator() {
9600
+ return this.modelManipulator.characterProperties.fontCaps;
9601
+ }
9602
+ }
9603
+ class FontSmallCapsHistoryItem extends CharacterPropertiesHistoryItemBase {
9604
+ getPropertiesManipulator() {
9605
+ return this.modelManipulator.characterProperties.fontSmallCaps;
9606
+ }
9607
+ }
9608
+ class FontUnderlineTypeHistoryItem extends CharacterPropertiesHistoryItemBase {
9609
+ getPropertiesManipulator() {
9610
+ return this.modelManipulator.characterProperties.fontUnderlineType;
9611
+ }
9612
+ }
9613
+ class FontTextColorHistoryItem extends CharacterPropertiesHistoryItemBase {
9614
+ getPropertiesManipulator() {
9615
+ return this.modelManipulator.characterProperties.textColor;
9616
+ }
9617
+ }
9618
+ class FontShadingInfoHistoryItem extends CharacterPropertiesHistoryItemBase {
9619
+ getPropertiesManipulator() {
9620
+ return this.modelManipulator.characterProperties.shadingInfo;
9621
+ }
9622
+ }
9623
+ class FontHiddenHistoryItem extends CharacterPropertiesHistoryItemBase {
9624
+ getPropertiesManipulator() {
9625
+ return this.modelManipulator.characterProperties.fontHidden;
9626
+ }
9627
+ }
9628
+ class FontItalicHistoryItem extends CharacterPropertiesHistoryItemBase {
9629
+ getPropertiesManipulator() {
9630
+ return this.modelManipulator.characterProperties.fontItalic;
9631
+ }
9632
+ }
9633
+ class FontNameHistoryItem extends CharacterPropertiesHistoryItemBase {
9634
+ getPropertiesManipulator() {
9635
+ return this.modelManipulator.characterProperties.fontName;
9636
+ }
9637
+ }
9638
+ class FontScriptHistoryItem extends CharacterPropertiesHistoryItemBase {
9639
+ getPropertiesManipulator() {
9640
+ return this.modelManipulator.characterProperties.script;
9641
+ }
9642
+ }
9643
+ class FontSizeHistoryItem extends CharacterPropertiesHistoryItemBase {
9644
+ getPropertiesManipulator() {
9645
+ return this.modelManipulator.characterProperties.fontSize;
9646
+ }
9647
+ }
9648
+ class FontStrikeoutTypeHistoryItem extends CharacterPropertiesHistoryItemBase {
9649
+ getPropertiesManipulator() {
9650
+ return this.modelManipulator.characterProperties.fontStrikeoutType;
9651
+ }
9652
+ }
9653
+ class FontStrikeoutWordsOnlyHistoryItem extends CharacterPropertiesHistoryItemBase {
9654
+ getPropertiesManipulator() {
9655
+ return this.modelManipulator.characterProperties.fontStrikeoutWordsOnly;
9656
+ }
9657
+ }
9658
+ class FontStrikeoutColorHistoryItem extends CharacterPropertiesHistoryItemBase {
9659
+ getPropertiesManipulator() {
9660
+ return this.modelManipulator.characterProperties.fontStrikeoutColor;
9661
+ }
9662
+ }
9663
+ class FontUnderlineColorHistoryItem extends CharacterPropertiesHistoryItemBase {
9664
+ getPropertiesManipulator() {
9665
+ return this.modelManipulator.characterProperties.fontUnderlineColor;
9666
+ }
9667
+ }
9668
+ class FontHighlightColorHistoryItem extends CharacterPropertiesHistoryItemBase {
9669
+ getPropertiesManipulator() {
9670
+ return this.modelManipulator.characterProperties.fontHighlightColor;
9671
+ }
9672
+ }
9673
+ class FontUnderlineWordsOnlyHistoryItem extends CharacterPropertiesHistoryItemBase {
9674
+ getPropertiesManipulator() {
9675
+ return this.modelManipulator.characterProperties.fontUnderlineWordsOnly;
9676
+ }
9677
+ }
9678
+ class FontNoProofHistoryItem extends CharacterPropertiesHistoryItemBase {
9679
+ getPropertiesManipulator() {
9680
+ return this.modelManipulator.characterProperties.fontNoProof;
9681
+ }
9682
+ }
9683
+ class FontLangInfoHistoryItem extends CharacterPropertiesHistoryItemBase {
9684
+ getPropertiesManipulator() {
9685
+ return this.modelManipulator.characterProperties.langInfo;
9686
+ }
9687
+ }
9688
+ class FontCompositeFontInfoHistoryItem extends CharacterPropertiesHistoryItemBase {
9689
+ getPropertiesManipulator() {
9690
+ return this.modelManipulator.characterProperties.compositeFontInfo;
9691
+ }
9692
+ }
9693
+ class ResetCharacterPropertiesUseValuesHistoryItem extends (/* unused pure expression or super */ null && (IntervalBasedHistoryItem)) {
9694
+ redo() {
9695
+ this.state = this.modelManipulator.characterProperties.useValue.setValue(this.boundSubDocument, this.interval, 0);
9696
+ }
9697
+ undo() {
9698
+ this.modelManipulator.characterProperties.useValue.restoreValue(this.boundSubDocument, this.state);
9699
+ }
9700
+ }
9701
+
9489
9702
  ;// CONCATENATED MODULE: ./src/common/model/character/enums.ts
9490
9703
  var CharacterPropertiesMask;
9491
9704
  (function (CharacterPropertiesMask) {
@@ -9643,6 +9856,498 @@ class LangInfo {
9643
9856
  }
9644
9857
  }
9645
9858
 
9859
+ ;// CONCATENATED MODULE: ./src/common/model/character/character-property-descriptor.ts
9860
+
9861
+
9862
+
9863
+
9864
+
9865
+
9866
+
9867
+
9868
+ class CharacterPropertiesAllCapsDescriptor {
9869
+ constructor() {
9870
+ this.binaryEquals = comparers.Equals.simpleType;
9871
+ this.defaultValue = false;
9872
+ }
9873
+ setProp(props, newValue) {
9874
+ props.allCaps = newValue;
9875
+ }
9876
+ getProp(props) {
9877
+ return props.allCaps;
9878
+ }
9879
+ maskValue() {
9880
+ return CharacterPropertiesMask.UseAllCaps;
9881
+ }
9882
+ getHistoryItemConstructor() {
9883
+ return FontCapsHistoryItem;
9884
+ }
9885
+ getJSONProperty() {
9886
+ return JSONCharacterFormattingProperty.AllCaps;
9887
+ }
9888
+ }
9889
+ class CharacterPropertiesSmallCapsDescriptor {
9890
+ constructor() {
9891
+ this.binaryEquals = comparers.Equals.simpleType;
9892
+ this.defaultValue = false;
9893
+ }
9894
+ setProp(props, newValue) {
9895
+ props.smallCaps = newValue;
9896
+ }
9897
+ getProp(props) {
9898
+ return props.smallCaps;
9899
+ }
9900
+ maskValue() {
9901
+ return CharacterPropertiesMask.UseSmallCaps;
9902
+ }
9903
+ getHistoryItemConstructor() {
9904
+ return FontSmallCapsHistoryItem;
9905
+ }
9906
+ getJSONProperty() {
9907
+ return JSONCharacterFormattingProperty.SmallCaps;
9908
+ }
9909
+ }
9910
+ class CharacterPropertiesFontSizeDescriptor {
9911
+ constructor() {
9912
+ this.binaryEquals = comparers.Equals.simpleType;
9913
+ this.defaultValue = 11;
9914
+ }
9915
+ setProp(props, newValue) {
9916
+ props.fontSize = newValue;
9917
+ }
9918
+ getProp(props) {
9919
+ return props.fontSize;
9920
+ }
9921
+ maskValue() {
9922
+ return CharacterPropertiesMask.UseDoubleFontSize;
9923
+ }
9924
+ getHistoryItemConstructor() {
9925
+ return FontSizeHistoryItem;
9926
+ }
9927
+ getJSONProperty() {
9928
+ return JSONCharacterFormattingProperty.Size;
9929
+ }
9930
+ }
9931
+ class CharacterPropertiesFontBoldDescriptor {
9932
+ constructor() {
9933
+ this.binaryEquals = comparers.Equals.simpleType;
9934
+ this.defaultValue = false;
9935
+ }
9936
+ setProp(props, newValue) {
9937
+ props.fontBold = newValue;
9938
+ }
9939
+ getProp(props) {
9940
+ return props.fontBold;
9941
+ }
9942
+ maskValue() {
9943
+ return CharacterPropertiesMask.UseFontBold;
9944
+ }
9945
+ getHistoryItemConstructor() {
9946
+ return FontBoldHistoryItem;
9947
+ }
9948
+ getJSONProperty() {
9949
+ return JSONCharacterFormattingProperty.Bold;
9950
+ }
9951
+ }
9952
+ class CharacterPropertiesFontItalicDescriptor {
9953
+ constructor() {
9954
+ this.binaryEquals = comparers.Equals.simpleType;
9955
+ this.defaultValue = false;
9956
+ }
9957
+ setProp(props, newValue) {
9958
+ props.fontItalic = newValue;
9959
+ }
9960
+ getProp(props) {
9961
+ return props.fontItalic;
9962
+ }
9963
+ maskValue() {
9964
+ return CharacterPropertiesMask.UseFontItalic;
9965
+ }
9966
+ getHistoryItemConstructor() {
9967
+ return FontItalicHistoryItem;
9968
+ }
9969
+ getJSONProperty() {
9970
+ return JSONCharacterFormattingProperty.Italic;
9971
+ }
9972
+ }
9973
+ class CharacterPropertiesFontInfoDescriptor {
9974
+ constructor() {
9975
+ this.binaryEquals = comparers.Equals.object;
9976
+ this.defaultValue = undefined;
9977
+ }
9978
+ setProp(props, newValue) {
9979
+ props.fontInfo = newValue;
9980
+ }
9981
+ getProp(props) {
9982
+ return props.fontInfo;
9983
+ }
9984
+ maskValue() {
9985
+ return CharacterPropertiesMask.UseFontName;
9986
+ }
9987
+ getHistoryItemConstructor() {
9988
+ return FontNameHistoryItem;
9989
+ }
9990
+ getJSONProperty() {
9991
+ return JSONCharacterFormattingProperty.FontName;
9992
+ }
9993
+ }
9994
+ class CharacterPropertiesScriptDescriptor {
9995
+ constructor() {
9996
+ this.binaryEquals = comparers.Equals.simpleType;
9997
+ this.defaultValue = CharacterFormattingScript.Normal;
9998
+ }
9999
+ setProp(props, newValue) {
10000
+ props.script = newValue;
10001
+ }
10002
+ getProp(props) {
10003
+ return props.script;
10004
+ }
10005
+ maskValue() {
10006
+ return CharacterPropertiesMask.UseScript;
10007
+ }
10008
+ getHistoryItemConstructor() {
10009
+ return FontScriptHistoryItem;
10010
+ }
10011
+ getJSONProperty() {
10012
+ return JSONCharacterFormattingProperty.Script;
10013
+ }
10014
+ }
10015
+ class CharacterPropertiesStrikeoutTypeDescriptor {
10016
+ constructor() {
10017
+ this.binaryEquals = comparers.Equals.simpleType;
10018
+ this.defaultValue = StrikeoutType.None;
10019
+ }
10020
+ setProp(props, newValue) {
10021
+ props.fontStrikeoutType = newValue;
10022
+ }
10023
+ getProp(props) {
10024
+ return props.fontStrikeoutType;
10025
+ }
10026
+ maskValue() {
10027
+ return CharacterPropertiesMask.UseFontStrikeoutType;
10028
+ }
10029
+ getHistoryItemConstructor() {
10030
+ return FontStrikeoutTypeHistoryItem;
10031
+ }
10032
+ getJSONProperty() {
10033
+ return JSONCharacterFormattingProperty.StrikeoutType;
10034
+ }
10035
+ }
10036
+ class CharacterPropertiesUnderlineTypeDescriptor {
10037
+ constructor() {
10038
+ this.binaryEquals = comparers.Equals.simpleType;
10039
+ this.defaultValue = UnderlineType.None;
10040
+ }
10041
+ setProp(props, newValue) {
10042
+ props.fontUnderlineType = newValue;
10043
+ }
10044
+ getProp(props) {
10045
+ return props.fontUnderlineType;
10046
+ }
10047
+ maskValue() {
10048
+ return CharacterPropertiesMask.UseFontUnderlineType;
10049
+ }
10050
+ getHistoryItemConstructor() {
10051
+ return FontUnderlineTypeHistoryItem;
10052
+ }
10053
+ getJSONProperty() {
10054
+ return JSONCharacterFormattingProperty.UnderlineType;
10055
+ }
10056
+ }
10057
+ class CharacterPropertiesUnderlineWordsOnlyDescriptor {
10058
+ constructor() {
10059
+ this.binaryEquals = comparers.Equals.simpleType;
10060
+ this.defaultValue = false;
10061
+ }
10062
+ setProp(props, newValue) {
10063
+ props.underlineWordsOnly = newValue;
10064
+ }
10065
+ getProp(props) {
10066
+ return props.underlineWordsOnly;
10067
+ }
10068
+ maskValue() {
10069
+ return CharacterPropertiesMask.UseUnderlineWordsOnly;
10070
+ }
10071
+ getHistoryItemConstructor() {
10072
+ return FontUnderlineWordsOnlyHistoryItem;
10073
+ }
10074
+ getJSONProperty() {
10075
+ return JSONCharacterFormattingProperty.UnderlineWordsOnly;
10076
+ }
10077
+ }
10078
+ class CharacterPropertiesStrikeoutWordsOnlyDescriptor {
10079
+ constructor() {
10080
+ this.binaryEquals = comparers.Equals.simpleType;
10081
+ this.defaultValue = false;
10082
+ }
10083
+ setProp(props, newValue) {
10084
+ props.strikeoutWordsOnly = newValue;
10085
+ }
10086
+ getProp(props) {
10087
+ return props.strikeoutWordsOnly;
10088
+ }
10089
+ maskValue() {
10090
+ return CharacterPropertiesMask.UseStrikeoutWordsOnly;
10091
+ }
10092
+ getHistoryItemConstructor() {
10093
+ return FontStrikeoutWordsOnlyHistoryItem;
10094
+ }
10095
+ getJSONProperty() {
10096
+ return JSONCharacterFormattingProperty.StrikeoutWordsOnly;
10097
+ }
10098
+ }
10099
+ class CharacterPropertiesNoProofDescriptor {
10100
+ constructor() {
10101
+ this.binaryEquals = comparers.Equals.simpleType;
10102
+ this.defaultValue = false;
10103
+ }
10104
+ setProp(props, newValue) {
10105
+ props.noProof = newValue;
10106
+ }
10107
+ getProp(props) {
10108
+ return props.noProof;
10109
+ }
10110
+ maskValue() {
10111
+ return CharacterPropertiesMask.UseNoProof;
10112
+ }
10113
+ getHistoryItemConstructor() {
10114
+ return FontNoProofHistoryItem;
10115
+ }
10116
+ getJSONProperty() {
10117
+ return JSONCharacterFormattingProperty.NoProof;
10118
+ }
10119
+ }
10120
+ class CharacterPropertiesHiddenDescriptor {
10121
+ constructor() {
10122
+ this.binaryEquals = comparers.Equals.simpleType;
10123
+ this.defaultValue = false;
10124
+ }
10125
+ setProp(props, newValue) {
10126
+ props.hidden = newValue;
10127
+ }
10128
+ getProp(props) {
10129
+ return props.hidden;
10130
+ }
10131
+ maskValue() {
10132
+ return CharacterPropertiesMask.UseHidden;
10133
+ }
10134
+ getHistoryItemConstructor() {
10135
+ return FontHiddenHistoryItem;
10136
+ }
10137
+ getJSONProperty() {
10138
+ return JSONCharacterFormattingProperty.Hidden;
10139
+ }
10140
+ }
10141
+ class CharacterPropertiesTextColorDescriptor {
10142
+ constructor() {
10143
+ this.binaryEquals = comparers.Equals.object;
10144
+ this.defaultValue = color_model_info_ColorModelInfo.autoColor;
10145
+ }
10146
+ setProp(props, newValue) {
10147
+ props.textColor = newValue;
10148
+ }
10149
+ getProp(props) {
10150
+ return props.textColor;
10151
+ }
10152
+ maskValue() {
10153
+ return CharacterPropertiesMask.UseForeColorIndex;
10154
+ }
10155
+ getHistoryItemConstructor() {
10156
+ return FontTextColorHistoryItem;
10157
+ }
10158
+ getJSONProperty() {
10159
+ return JSONCharacterFormattingProperty.TextColor;
10160
+ }
10161
+ }
10162
+ class CharacterPropertiesShadingInfoColorDescriptor {
10163
+ constructor() {
10164
+ this.binaryEquals = comparers.Equals.object;
10165
+ this.defaultValue = ShadingInfo.noColor;
10166
+ }
10167
+ setProp(props, newValue) {
10168
+ props.shadingInfo = newValue;
10169
+ }
10170
+ getProp(props) {
10171
+ return props.shadingInfo;
10172
+ }
10173
+ maskValue() {
10174
+ return CharacterPropertiesMask.UseShadingInfoIndex;
10175
+ }
10176
+ getHistoryItemConstructor() {
10177
+ return FontShadingInfoHistoryItem;
10178
+ }
10179
+ getJSONProperty() {
10180
+ return JSONCharacterFormattingProperty.ShadingInfo;
10181
+ }
10182
+ }
10183
+ class CharacterPropertiesStrikeoutColorDescriptor {
10184
+ constructor() {
10185
+ this.binaryEquals = comparers.Equals.object;
10186
+ this.defaultValue = color_model_info_ColorModelInfo.noColor;
10187
+ }
10188
+ setProp(props, newValue) {
10189
+ props.strikeoutColor = newValue;
10190
+ }
10191
+ getProp(props) {
10192
+ return props.strikeoutColor;
10193
+ }
10194
+ maskValue() {
10195
+ return CharacterPropertiesMask.UseStrikeoutColorIndex;
10196
+ }
10197
+ getHistoryItemConstructor() {
10198
+ return FontStrikeoutColorHistoryItem;
10199
+ }
10200
+ getJSONProperty() {
10201
+ return JSONCharacterFormattingProperty.StrikeoutColor;
10202
+ }
10203
+ }
10204
+ class CharacterPropertiesUnderlineColorDescriptor {
10205
+ constructor() {
10206
+ this.binaryEquals = comparers.Equals.object;
10207
+ this.defaultValue = color_model_info_ColorModelInfo.noColor;
10208
+ }
10209
+ setProp(props, newValue) {
10210
+ props.underlineColor = newValue;
10211
+ }
10212
+ getProp(props) {
10213
+ return props.underlineColor;
10214
+ }
10215
+ maskValue() {
10216
+ return CharacterPropertiesMask.UseUnderlineColorIndex;
10217
+ }
10218
+ getHistoryItemConstructor() {
10219
+ return FontUnderlineColorHistoryItem;
10220
+ }
10221
+ getJSONProperty() {
10222
+ return JSONCharacterFormattingProperty.UnderlineColor;
10223
+ }
10224
+ }
10225
+ class CharacterPropertiesHighlightColorDescriptor {
10226
+ constructor() {
10227
+ this.binaryEquals = comparers.Equals.object;
10228
+ this.defaultValue = color_model_info_ColorModelInfo.noColor;
10229
+ }
10230
+ setProp(props, newValue) {
10231
+ props.highlightColor = newValue;
10232
+ }
10233
+ getProp(props) {
10234
+ return props.highlightColor;
10235
+ }
10236
+ maskValue() {
10237
+ return CharacterPropertiesMask.UseHighlightColorIndex;
10238
+ }
10239
+ getHistoryItemConstructor() {
10240
+ return FontHighlightColorHistoryItem;
10241
+ }
10242
+ getJSONProperty() {
10243
+ return JSONCharacterFormattingProperty.HighlightColor;
10244
+ }
10245
+ }
10246
+ class CharacterPropertiesLangInfoDescriptor {
10247
+ constructor() {
10248
+ this.binaryEquals = comparers.Equals.object;
10249
+ this.defaultValue = new LangInfo();
10250
+ }
10251
+ setProp(props, newValue) {
10252
+ props.langInfo = newValue;
10253
+ }
10254
+ getProp(props) {
10255
+ return props.langInfo;
10256
+ }
10257
+ maskValue() {
10258
+ return CharacterPropertiesMask.UseLangInfo;
10259
+ }
10260
+ getHistoryItemConstructor() {
10261
+ return FontLangInfoHistoryItem;
10262
+ }
10263
+ getJSONProperty() {
10264
+ return JSONCharacterFormattingProperty.LangInfo;
10265
+ }
10266
+ }
10267
+ class CharacterPropertiesCompositeFontInfoDescriptor {
10268
+ constructor() {
10269
+ this.binaryEquals = comparers.Equals.object;
10270
+ this.defaultValue = new CompositeFontInfo();
10271
+ }
10272
+ setProp(props, newValue) {
10273
+ props.compositeFontInfo = newValue;
10274
+ }
10275
+ getProp(props) {
10276
+ return props.compositeFontInfo;
10277
+ }
10278
+ maskValue() {
10279
+ return CharacterPropertiesMask.UseCompositeFontInfo;
10280
+ }
10281
+ getHistoryItemConstructor() {
10282
+ return FontCompositeFontInfoHistoryItem;
10283
+ }
10284
+ getJSONProperty() {
10285
+ return JSONCharacterFormattingProperty.CompositeFontInfo;
10286
+ }
10287
+ }
10288
+ class character_property_descriptor_CharacterPropertyDescriptor {
10289
+ }
10290
+ character_property_descriptor_CharacterPropertyDescriptor.allCaps = new CharacterPropertiesAllCapsDescriptor();
10291
+ character_property_descriptor_CharacterPropertyDescriptor.size = new CharacterPropertiesFontSizeDescriptor();
10292
+ character_property_descriptor_CharacterPropertyDescriptor.bold = new CharacterPropertiesFontBoldDescriptor();
10293
+ character_property_descriptor_CharacterPropertyDescriptor.italic = new CharacterPropertiesFontItalicDescriptor();
10294
+ character_property_descriptor_CharacterPropertyDescriptor.fontInfo = new CharacterPropertiesFontInfoDescriptor();
10295
+ character_property_descriptor_CharacterPropertyDescriptor.script = new CharacterPropertiesScriptDescriptor();
10296
+ character_property_descriptor_CharacterPropertyDescriptor.strikeoutType = new CharacterPropertiesStrikeoutTypeDescriptor();
10297
+ character_property_descriptor_CharacterPropertyDescriptor.underlineType = new CharacterPropertiesUnderlineTypeDescriptor();
10298
+ character_property_descriptor_CharacterPropertyDescriptor.underlineWordsOnly = new CharacterPropertiesUnderlineWordsOnlyDescriptor();
10299
+ character_property_descriptor_CharacterPropertyDescriptor.strikeoutWordsOnly = new CharacterPropertiesStrikeoutWordsOnlyDescriptor();
10300
+ character_property_descriptor_CharacterPropertyDescriptor.noProof = new CharacterPropertiesNoProofDescriptor();
10301
+ character_property_descriptor_CharacterPropertyDescriptor.hidden = new CharacterPropertiesHiddenDescriptor();
10302
+ character_property_descriptor_CharacterPropertyDescriptor.langInfo = new CharacterPropertiesLangInfoDescriptor();
10303
+ character_property_descriptor_CharacterPropertyDescriptor.compositeFontInfo = new CharacterPropertiesCompositeFontInfoDescriptor();
10304
+ character_property_descriptor_CharacterPropertyDescriptor.textColor = new CharacterPropertiesTextColorDescriptor();
10305
+ character_property_descriptor_CharacterPropertyDescriptor.shadingInfo = new CharacterPropertiesShadingInfoColorDescriptor();
10306
+ character_property_descriptor_CharacterPropertyDescriptor.highlightColor = new CharacterPropertiesHighlightColorDescriptor();
10307
+ character_property_descriptor_CharacterPropertyDescriptor.strikeoutColor = new CharacterPropertiesStrikeoutColorDescriptor();
10308
+ character_property_descriptor_CharacterPropertyDescriptor.underlineColor = new CharacterPropertiesUnderlineColorDescriptor();
10309
+ character_property_descriptor_CharacterPropertyDescriptor.smallCaps = new CharacterPropertiesSmallCapsDescriptor();
10310
+ character_property_descriptor_CharacterPropertyDescriptor.ALL_FIELDS = [
10311
+ character_property_descriptor_CharacterPropertyDescriptor.allCaps,
10312
+ character_property_descriptor_CharacterPropertyDescriptor.size,
10313
+ character_property_descriptor_CharacterPropertyDescriptor.bold,
10314
+ character_property_descriptor_CharacterPropertyDescriptor.italic,
10315
+ character_property_descriptor_CharacterPropertyDescriptor.fontInfo,
10316
+ character_property_descriptor_CharacterPropertyDescriptor.script,
10317
+ character_property_descriptor_CharacterPropertyDescriptor.strikeoutType,
10318
+ character_property_descriptor_CharacterPropertyDescriptor.underlineType,
10319
+ character_property_descriptor_CharacterPropertyDescriptor.underlineWordsOnly,
10320
+ character_property_descriptor_CharacterPropertyDescriptor.strikeoutWordsOnly,
10321
+ character_property_descriptor_CharacterPropertyDescriptor.noProof,
10322
+ character_property_descriptor_CharacterPropertyDescriptor.hidden,
10323
+ character_property_descriptor_CharacterPropertyDescriptor.langInfo,
10324
+ character_property_descriptor_CharacterPropertyDescriptor.compositeFontInfo,
10325
+ character_property_descriptor_CharacterPropertyDescriptor.textColor,
10326
+ character_property_descriptor_CharacterPropertyDescriptor.shadingInfo,
10327
+ character_property_descriptor_CharacterPropertyDescriptor.highlightColor,
10328
+ character_property_descriptor_CharacterPropertyDescriptor.strikeoutColor,
10329
+ character_property_descriptor_CharacterPropertyDescriptor.underlineColor,
10330
+ character_property_descriptor_CharacterPropertyDescriptor.smallCaps
10331
+ ];
10332
+ character_property_descriptor_CharacterPropertyDescriptor.whatNeedSetWhenCreateHyperlinkField = [
10333
+ character_property_descriptor_CharacterPropertyDescriptor.size,
10334
+ character_property_descriptor_CharacterPropertyDescriptor.bold,
10335
+ character_property_descriptor_CharacterPropertyDescriptor.italic,
10336
+ character_property_descriptor_CharacterPropertyDescriptor.fontInfo,
10337
+ character_property_descriptor_CharacterPropertyDescriptor.script,
10338
+ character_property_descriptor_CharacterPropertyDescriptor.strikeoutType,
10339
+ character_property_descriptor_CharacterPropertyDescriptor.allCaps,
10340
+ character_property_descriptor_CharacterPropertyDescriptor.underlineWordsOnly,
10341
+ character_property_descriptor_CharacterPropertyDescriptor.strikeoutWordsOnly,
10342
+ character_property_descriptor_CharacterPropertyDescriptor.noProof,
10343
+ character_property_descriptor_CharacterPropertyDescriptor.hidden,
10344
+ character_property_descriptor_CharacterPropertyDescriptor.shadingInfo,
10345
+ character_property_descriptor_CharacterPropertyDescriptor.strikeoutColor,
10346
+ character_property_descriptor_CharacterPropertyDescriptor.underlineColor,
10347
+ character_property_descriptor_CharacterPropertyDescriptor.langInfo,
10348
+ character_property_descriptor_CharacterPropertyDescriptor.smallCaps
10349
+ ];
10350
+
9646
10351
  ;// CONCATENATED MODULE: ./src/common/model/character/layout-character-properties-color-info.ts
9647
10352
  class LayoutCharacterPropertiesColorInfo {
9648
10353
  constructor(textColor, foregroundColor, strikeoutColor, underlineColor) {
@@ -9675,6 +10380,7 @@ class LayoutCharacterPropertiesColorInfo {
9675
10380
 
9676
10381
 
9677
10382
 
10383
+
9678
10384
  class CharacterProperties {
9679
10385
  constructor() {
9680
10386
  this.measurerSizes = Object.create(null);
@@ -9809,8 +10515,19 @@ class MaskedCharacterProperties extends CharacterProperties {
9809
10515
  this.useValueExt &= ~this.getHighPartUseValue(mask);
9810
10516
  }
9811
10517
  }
9812
- setUseValueFull(value) {
9813
- this.useValue = this.getLowPartUseValue(value);
10518
+ setUseValueFull(value, onlyForDefault = false) {
10519
+ const lowPartUseValue = this.getLowPartUseValue(value);
10520
+ if (onlyForDefault) {
10521
+ character_property_descriptor_CharacterPropertyDescriptor.ALL_FIELDS.forEach((desc) => {
10522
+ const prop = desc.getProp(this);
10523
+ const mask = desc.maskValue();
10524
+ if (desc.binaryEquals(prop, desc.defaultValue))
10525
+ this.setUseValue(mask, !!(mask & lowPartUseValue));
10526
+ });
10527
+ }
10528
+ else {
10529
+ this.useValue = lowPartUseValue;
10530
+ }
9814
10531
  this.useValueExt = this.getHighPartUseValue(value);
9815
10532
  }
9816
10533
  getLowPartUseValue(value) {
@@ -10224,7 +10941,7 @@ class LayoutBorder extends BorderBase {
10224
10941
 
10225
10942
  class BorderInfo {
10226
10943
  constructor() {
10227
- this.style = BorderLineStyle.None;
10944
+ this.style = BorderLineStyle.Nil;
10228
10945
  this.color = ColorModelInfoCache.defaultItem;
10229
10946
  this.width = 0;
10230
10947
  this.offset = 0;
@@ -10274,66 +10991,6 @@ class BorderInfo {
10274
10991
  }
10275
10992
  }
10276
10993
 
10277
- // EXTERNAL MODULE: ./node_modules/@devexpress/utils/lib/utils/comparers.js
10278
- var comparers = __webpack_require__(4170);
10279
- ;// CONCATENATED MODULE: ./src/common/model/history/base/history-item.ts
10280
-
10281
- class history_item_HistoryItem {
10282
- canBeMerged() {
10283
- return false;
10284
- }
10285
- constructor(modelManipulator) {
10286
- this.uniqueId = -1;
10287
- this.modelManipulator = modelManipulator;
10288
- }
10289
- changeModified() {
10290
- return true;
10291
- }
10292
- }
10293
- class CompositionHistoryItem extends history_item_HistoryItem {
10294
- canBeMerged() {
10295
- return true;
10296
- }
10297
- constructor() {
10298
- super(null);
10299
- this.historyItems = [];
10300
- }
10301
- changeModified() {
10302
- var item;
10303
- for (var i = 0; item = this.historyItems[i]; i++) {
10304
- if (item.changeModified())
10305
- return true;
10306
- }
10307
- return false;
10308
- }
10309
- redo() {
10310
- var item;
10311
- for (var i = 0; item = this.historyItems[i]; i++)
10312
- item.redo();
10313
- }
10314
- undo() {
10315
- var item;
10316
- for (var i = this.historyItems.length - 1; item = this.historyItems[i]; i--)
10317
- item.undo();
10318
- }
10319
- add(historyItem) {
10320
- if (historyItem == null)
10321
- throw new Error(lib_errors/* Errors */.D.ValueCannotBeNull);
10322
- this.historyItems.push(historyItem);
10323
- }
10324
- }
10325
-
10326
- ;// CONCATENATED MODULE: ./src/common/model/history/base/interval-based-history-item.ts
10327
-
10328
- class interval_based_history_item_IntervalBasedHistoryItem extends history_item_HistoryItem {
10329
- get boundSubDocument() { return this.subDocInterval.subDocument; }
10330
- get interval() { return this.subDocInterval.interval; }
10331
- constructor(modelManipulator, subDocInterval) {
10332
- super(modelManipulator);
10333
- this.subDocInterval = subDocInterval;
10334
- }
10335
- }
10336
-
10337
10994
  ;// CONCATENATED MODULE: ./src/common/model/history/items/paragraph-properties-history-items.ts
10338
10995
 
10339
10996
 
@@ -11503,650 +12160,6 @@ class LineSpacingUnit {
11503
12160
  }
11504
12161
  }
11505
12162
 
11506
- ;// CONCATENATED MODULE: ./src/common/model/history/items/character-properties-history-items.ts
11507
-
11508
-
11509
- class FontUseValueHistoryItem extends interval_based_history_item_IntervalBasedHistoryItem {
11510
- constructor(modelManipulator, subDocInterval, newValue) {
11511
- super(modelManipulator, subDocInterval);
11512
- this.newValue = newValue;
11513
- }
11514
- redo() {
11515
- this.oldState = this.modelManipulator.characterProperties.useValue.setValue(this.boundSubDocument, this.interval, this.newValue);
11516
- }
11517
- undo() {
11518
- this.modelManipulator.characterProperties.useValue.restoreValue(this.boundSubDocument, this.oldState);
11519
- }
11520
- }
11521
- class CharacterPropertiesHistoryItem extends interval_based_history_item_IntervalBasedHistoryItem {
11522
- constructor(modelManipulator, subDocInterval, newValue) {
11523
- super(modelManipulator, subDocInterval);
11524
- this.newValue = newValue;
11525
- }
11526
- redo() {
11527
- this.oldState = this.modelManipulator.characterProperties.setValue(this.boundSubDocument, this.interval, this.newValue);
11528
- }
11529
- undo() {
11530
- this.modelManipulator.characterProperties.restoreValue(this.boundSubDocument, this.oldState);
11531
- }
11532
- }
11533
- class CharacterPropertiesHistoryItemBase extends interval_based_history_item_IntervalBasedHistoryItem {
11534
- constructor(modelManipulator, subDocInterval, newValue, newUse) {
11535
- super(modelManipulator, subDocInterval);
11536
- this.newValue = newValue;
11537
- this.newUse = newUse;
11538
- }
11539
- redo() {
11540
- this.oldState = this.getPropertiesManipulator().setValue(this.boundSubDocument, this.interval, this.newValue, this.newUse);
11541
- }
11542
- undo() {
11543
- this.getPropertiesManipulator().restoreValue(this.boundSubDocument, this.oldState);
11544
- }
11545
- getPropertiesManipulator() {
11546
- throw new Error(lib_errors/* Errors */.D.NotImplemented);
11547
- }
11548
- }
11549
- class FontBoldHistoryItem extends CharacterPropertiesHistoryItemBase {
11550
- getPropertiesManipulator() {
11551
- return this.modelManipulator.characterProperties.fontBold;
11552
- }
11553
- }
11554
- class FontCapsHistoryItem extends CharacterPropertiesHistoryItemBase {
11555
- getPropertiesManipulator() {
11556
- return this.modelManipulator.characterProperties.fontCaps;
11557
- }
11558
- }
11559
- class FontSmallCapsHistoryItem extends CharacterPropertiesHistoryItemBase {
11560
- getPropertiesManipulator() {
11561
- return this.modelManipulator.characterProperties.fontSmallCaps;
11562
- }
11563
- }
11564
- class FontUnderlineTypeHistoryItem extends CharacterPropertiesHistoryItemBase {
11565
- getPropertiesManipulator() {
11566
- return this.modelManipulator.characterProperties.fontUnderlineType;
11567
- }
11568
- }
11569
- class FontTextColorHistoryItem extends CharacterPropertiesHistoryItemBase {
11570
- getPropertiesManipulator() {
11571
- return this.modelManipulator.characterProperties.textColor;
11572
- }
11573
- }
11574
- class FontShadingInfoHistoryItem extends CharacterPropertiesHistoryItemBase {
11575
- getPropertiesManipulator() {
11576
- return this.modelManipulator.characterProperties.shadingInfo;
11577
- }
11578
- }
11579
- class FontHiddenHistoryItem extends CharacterPropertiesHistoryItemBase {
11580
- getPropertiesManipulator() {
11581
- return this.modelManipulator.characterProperties.fontHidden;
11582
- }
11583
- }
11584
- class FontItalicHistoryItem extends CharacterPropertiesHistoryItemBase {
11585
- getPropertiesManipulator() {
11586
- return this.modelManipulator.characterProperties.fontItalic;
11587
- }
11588
- }
11589
- class FontNameHistoryItem extends CharacterPropertiesHistoryItemBase {
11590
- getPropertiesManipulator() {
11591
- return this.modelManipulator.characterProperties.fontName;
11592
- }
11593
- }
11594
- class FontScriptHistoryItem extends CharacterPropertiesHistoryItemBase {
11595
- getPropertiesManipulator() {
11596
- return this.modelManipulator.characterProperties.script;
11597
- }
11598
- }
11599
- class FontSizeHistoryItem extends CharacterPropertiesHistoryItemBase {
11600
- getPropertiesManipulator() {
11601
- return this.modelManipulator.characterProperties.fontSize;
11602
- }
11603
- }
11604
- class FontStrikeoutTypeHistoryItem extends CharacterPropertiesHistoryItemBase {
11605
- getPropertiesManipulator() {
11606
- return this.modelManipulator.characterProperties.fontStrikeoutType;
11607
- }
11608
- }
11609
- class FontStrikeoutWordsOnlyHistoryItem extends CharacterPropertiesHistoryItemBase {
11610
- getPropertiesManipulator() {
11611
- return this.modelManipulator.characterProperties.fontStrikeoutWordsOnly;
11612
- }
11613
- }
11614
- class FontStrikeoutColorHistoryItem extends CharacterPropertiesHistoryItemBase {
11615
- getPropertiesManipulator() {
11616
- return this.modelManipulator.characterProperties.fontStrikeoutColor;
11617
- }
11618
- }
11619
- class FontUnderlineColorHistoryItem extends CharacterPropertiesHistoryItemBase {
11620
- getPropertiesManipulator() {
11621
- return this.modelManipulator.characterProperties.fontUnderlineColor;
11622
- }
11623
- }
11624
- class FontHighlightColorHistoryItem extends CharacterPropertiesHistoryItemBase {
11625
- getPropertiesManipulator() {
11626
- return this.modelManipulator.characterProperties.fontHighlightColor;
11627
- }
11628
- }
11629
- class FontUnderlineWordsOnlyHistoryItem extends CharacterPropertiesHistoryItemBase {
11630
- getPropertiesManipulator() {
11631
- return this.modelManipulator.characterProperties.fontUnderlineWordsOnly;
11632
- }
11633
- }
11634
- class FontNoProofHistoryItem extends CharacterPropertiesHistoryItemBase {
11635
- getPropertiesManipulator() {
11636
- return this.modelManipulator.characterProperties.fontNoProof;
11637
- }
11638
- }
11639
- class FontLangInfoHistoryItem extends CharacterPropertiesHistoryItemBase {
11640
- getPropertiesManipulator() {
11641
- return this.modelManipulator.characterProperties.langInfo;
11642
- }
11643
- }
11644
- class FontCompositeFontInfoHistoryItem extends CharacterPropertiesHistoryItemBase {
11645
- getPropertiesManipulator() {
11646
- return this.modelManipulator.characterProperties.compositeFontInfo;
11647
- }
11648
- }
11649
- class ResetCharacterPropertiesUseValuesHistoryItem extends (/* unused pure expression or super */ null && (IntervalBasedHistoryItem)) {
11650
- redo() {
11651
- this.state = this.modelManipulator.characterProperties.useValue.setValue(this.boundSubDocument, this.interval, 0);
11652
- }
11653
- undo() {
11654
- this.modelManipulator.characterProperties.useValue.restoreValue(this.boundSubDocument, this.state);
11655
- }
11656
- }
11657
-
11658
- ;// CONCATENATED MODULE: ./src/common/model/character/character-property-descriptor.ts
11659
-
11660
-
11661
-
11662
-
11663
-
11664
-
11665
-
11666
-
11667
- class CharacterPropertiesAllCapsDescriptor {
11668
- constructor() {
11669
- this.binaryEquals = comparers.Equals.simpleType;
11670
- this.defaultValue = false;
11671
- }
11672
- setProp(props, newValue) {
11673
- props.allCaps = newValue;
11674
- }
11675
- getProp(props) {
11676
- return props.allCaps;
11677
- }
11678
- maskValue() {
11679
- return CharacterPropertiesMask.UseAllCaps;
11680
- }
11681
- getHistoryItemConstructor() {
11682
- return FontCapsHistoryItem;
11683
- }
11684
- getJSONProperty() {
11685
- return JSONCharacterFormattingProperty.AllCaps;
11686
- }
11687
- }
11688
- class CharacterPropertiesSmallCapsDescriptor {
11689
- constructor() {
11690
- this.binaryEquals = comparers.Equals.simpleType;
11691
- this.defaultValue = false;
11692
- }
11693
- setProp(props, newValue) {
11694
- props.smallCaps = newValue;
11695
- }
11696
- getProp(props) {
11697
- return props.smallCaps;
11698
- }
11699
- maskValue() {
11700
- return CharacterPropertiesMask.UseSmallCaps;
11701
- }
11702
- getHistoryItemConstructor() {
11703
- return FontSmallCapsHistoryItem;
11704
- }
11705
- getJSONProperty() {
11706
- return JSONCharacterFormattingProperty.SmallCaps;
11707
- }
11708
- }
11709
- class CharacterPropertiesFontSizeDescriptor {
11710
- constructor() {
11711
- this.binaryEquals = comparers.Equals.simpleType;
11712
- this.defaultValue = 11;
11713
- }
11714
- setProp(props, newValue) {
11715
- props.fontSize = newValue;
11716
- }
11717
- getProp(props) {
11718
- return props.fontSize;
11719
- }
11720
- maskValue() {
11721
- return CharacterPropertiesMask.UseDoubleFontSize;
11722
- }
11723
- getHistoryItemConstructor() {
11724
- return FontSizeHistoryItem;
11725
- }
11726
- getJSONProperty() {
11727
- return JSONCharacterFormattingProperty.Size;
11728
- }
11729
- }
11730
- class CharacterPropertiesFontBoldDescriptor {
11731
- constructor() {
11732
- this.binaryEquals = comparers.Equals.simpleType;
11733
- this.defaultValue = false;
11734
- }
11735
- setProp(props, newValue) {
11736
- props.fontBold = newValue;
11737
- }
11738
- getProp(props) {
11739
- return props.fontBold;
11740
- }
11741
- maskValue() {
11742
- return CharacterPropertiesMask.UseFontBold;
11743
- }
11744
- getHistoryItemConstructor() {
11745
- return FontBoldHistoryItem;
11746
- }
11747
- getJSONProperty() {
11748
- return JSONCharacterFormattingProperty.Bold;
11749
- }
11750
- }
11751
- class CharacterPropertiesFontItalicDescriptor {
11752
- constructor() {
11753
- this.binaryEquals = comparers.Equals.simpleType;
11754
- this.defaultValue = false;
11755
- }
11756
- setProp(props, newValue) {
11757
- props.fontItalic = newValue;
11758
- }
11759
- getProp(props) {
11760
- return props.fontItalic;
11761
- }
11762
- maskValue() {
11763
- return CharacterPropertiesMask.UseFontItalic;
11764
- }
11765
- getHistoryItemConstructor() {
11766
- return FontItalicHistoryItem;
11767
- }
11768
- getJSONProperty() {
11769
- return JSONCharacterFormattingProperty.Italic;
11770
- }
11771
- }
11772
- class CharacterPropertiesFontInfoDescriptor {
11773
- constructor() {
11774
- this.binaryEquals = comparers.Equals.object;
11775
- this.defaultValue = undefined;
11776
- }
11777
- setProp(props, newValue) {
11778
- props.fontInfo = newValue;
11779
- }
11780
- getProp(props) {
11781
- return props.fontInfo;
11782
- }
11783
- maskValue() {
11784
- return CharacterPropertiesMask.UseFontName;
11785
- }
11786
- getHistoryItemConstructor() {
11787
- return FontNameHistoryItem;
11788
- }
11789
- getJSONProperty() {
11790
- return JSONCharacterFormattingProperty.FontName;
11791
- }
11792
- }
11793
- class CharacterPropertiesScriptDescriptor {
11794
- constructor() {
11795
- this.binaryEquals = comparers.Equals.simpleType;
11796
- this.defaultValue = CharacterFormattingScript.Normal;
11797
- }
11798
- setProp(props, newValue) {
11799
- props.script = newValue;
11800
- }
11801
- getProp(props) {
11802
- return props.script;
11803
- }
11804
- maskValue() {
11805
- return CharacterPropertiesMask.UseScript;
11806
- }
11807
- getHistoryItemConstructor() {
11808
- return FontScriptHistoryItem;
11809
- }
11810
- getJSONProperty() {
11811
- return JSONCharacterFormattingProperty.Script;
11812
- }
11813
- }
11814
- class CharacterPropertiesStrikeoutTypeDescriptor {
11815
- constructor() {
11816
- this.binaryEquals = comparers.Equals.simpleType;
11817
- this.defaultValue = StrikeoutType.None;
11818
- }
11819
- setProp(props, newValue) {
11820
- props.fontStrikeoutType = newValue;
11821
- }
11822
- getProp(props) {
11823
- return props.fontStrikeoutType;
11824
- }
11825
- maskValue() {
11826
- return CharacterPropertiesMask.UseFontStrikeoutType;
11827
- }
11828
- getHistoryItemConstructor() {
11829
- return FontStrikeoutTypeHistoryItem;
11830
- }
11831
- getJSONProperty() {
11832
- return JSONCharacterFormattingProperty.StrikeoutType;
11833
- }
11834
- }
11835
- class CharacterPropertiesUnderlineTypeDescriptor {
11836
- constructor() {
11837
- this.binaryEquals = comparers.Equals.simpleType;
11838
- this.defaultValue = UnderlineType.None;
11839
- }
11840
- setProp(props, newValue) {
11841
- props.fontUnderlineType = newValue;
11842
- }
11843
- getProp(props) {
11844
- return props.fontUnderlineType;
11845
- }
11846
- maskValue() {
11847
- return CharacterPropertiesMask.UseFontUnderlineType;
11848
- }
11849
- getHistoryItemConstructor() {
11850
- return FontUnderlineTypeHistoryItem;
11851
- }
11852
- getJSONProperty() {
11853
- return JSONCharacterFormattingProperty.UnderlineType;
11854
- }
11855
- }
11856
- class CharacterPropertiesUnderlineWordsOnlyDescriptor {
11857
- constructor() {
11858
- this.binaryEquals = comparers.Equals.simpleType;
11859
- this.defaultValue = false;
11860
- }
11861
- setProp(props, newValue) {
11862
- props.underlineWordsOnly = newValue;
11863
- }
11864
- getProp(props) {
11865
- return props.underlineWordsOnly;
11866
- }
11867
- maskValue() {
11868
- return CharacterPropertiesMask.UseUnderlineWordsOnly;
11869
- }
11870
- getHistoryItemConstructor() {
11871
- return FontUnderlineWordsOnlyHistoryItem;
11872
- }
11873
- getJSONProperty() {
11874
- return JSONCharacterFormattingProperty.UnderlineWordsOnly;
11875
- }
11876
- }
11877
- class CharacterPropertiesStrikeoutWordsOnlyDescriptor {
11878
- constructor() {
11879
- this.binaryEquals = comparers.Equals.simpleType;
11880
- this.defaultValue = false;
11881
- }
11882
- setProp(props, newValue) {
11883
- props.strikeoutWordsOnly = newValue;
11884
- }
11885
- getProp(props) {
11886
- return props.strikeoutWordsOnly;
11887
- }
11888
- maskValue() {
11889
- return CharacterPropertiesMask.UseStrikeoutWordsOnly;
11890
- }
11891
- getHistoryItemConstructor() {
11892
- return FontStrikeoutWordsOnlyHistoryItem;
11893
- }
11894
- getJSONProperty() {
11895
- return JSONCharacterFormattingProperty.StrikeoutWordsOnly;
11896
- }
11897
- }
11898
- class CharacterPropertiesNoProofDescriptor {
11899
- constructor() {
11900
- this.binaryEquals = comparers.Equals.simpleType;
11901
- this.defaultValue = false;
11902
- }
11903
- setProp(props, newValue) {
11904
- props.noProof = newValue;
11905
- }
11906
- getProp(props) {
11907
- return props.noProof;
11908
- }
11909
- maskValue() {
11910
- return CharacterPropertiesMask.UseNoProof;
11911
- }
11912
- getHistoryItemConstructor() {
11913
- return FontNoProofHistoryItem;
11914
- }
11915
- getJSONProperty() {
11916
- return JSONCharacterFormattingProperty.NoProof;
11917
- }
11918
- }
11919
- class CharacterPropertiesHiddenDescriptor {
11920
- constructor() {
11921
- this.binaryEquals = comparers.Equals.simpleType;
11922
- this.defaultValue = false;
11923
- }
11924
- setProp(props, newValue) {
11925
- props.hidden = newValue;
11926
- }
11927
- getProp(props) {
11928
- return props.hidden;
11929
- }
11930
- maskValue() {
11931
- return CharacterPropertiesMask.UseHidden;
11932
- }
11933
- getHistoryItemConstructor() {
11934
- return FontHiddenHistoryItem;
11935
- }
11936
- getJSONProperty() {
11937
- return JSONCharacterFormattingProperty.Hidden;
11938
- }
11939
- }
11940
- class CharacterPropertiesTextColorDescriptor {
11941
- constructor() {
11942
- this.binaryEquals = comparers.Equals.object;
11943
- this.defaultValue = color_model_info_ColorModelInfo.autoColor;
11944
- }
11945
- setProp(props, newValue) {
11946
- props.textColor = newValue;
11947
- }
11948
- getProp(props) {
11949
- return props.textColor;
11950
- }
11951
- maskValue() {
11952
- return CharacterPropertiesMask.UseForeColorIndex;
11953
- }
11954
- getHistoryItemConstructor() {
11955
- return FontTextColorHistoryItem;
11956
- }
11957
- getJSONProperty() {
11958
- return JSONCharacterFormattingProperty.TextColor;
11959
- }
11960
- }
11961
- class CharacterPropertiesShadingInfoColorDescriptor {
11962
- constructor() {
11963
- this.binaryEquals = comparers.Equals.object;
11964
- this.defaultValue = ShadingInfo.noColor;
11965
- }
11966
- setProp(props, newValue) {
11967
- props.shadingInfo = newValue;
11968
- }
11969
- getProp(props) {
11970
- return props.shadingInfo;
11971
- }
11972
- maskValue() {
11973
- return CharacterPropertiesMask.UseShadingInfoIndex;
11974
- }
11975
- getHistoryItemConstructor() {
11976
- return FontShadingInfoHistoryItem;
11977
- }
11978
- getJSONProperty() {
11979
- return JSONCharacterFormattingProperty.ShadingInfo;
11980
- }
11981
- }
11982
- class CharacterPropertiesStrikeoutColorDescriptor {
11983
- constructor() {
11984
- this.binaryEquals = comparers.Equals.object;
11985
- this.defaultValue = color_model_info_ColorModelInfo.noColor;
11986
- }
11987
- setProp(props, newValue) {
11988
- props.strikeoutColor = newValue;
11989
- }
11990
- getProp(props) {
11991
- return props.strikeoutColor;
11992
- }
11993
- maskValue() {
11994
- return CharacterPropertiesMask.UseStrikeoutColorIndex;
11995
- }
11996
- getHistoryItemConstructor() {
11997
- return FontStrikeoutColorHistoryItem;
11998
- }
11999
- getJSONProperty() {
12000
- return JSONCharacterFormattingProperty.StrikeoutColor;
12001
- }
12002
- }
12003
- class CharacterPropertiesUnderlineColorDescriptor {
12004
- constructor() {
12005
- this.binaryEquals = comparers.Equals.object;
12006
- this.defaultValue = color_model_info_ColorModelInfo.noColor;
12007
- }
12008
- setProp(props, newValue) {
12009
- props.underlineColor = newValue;
12010
- }
12011
- getProp(props) {
12012
- return props.underlineColor;
12013
- }
12014
- maskValue() {
12015
- return CharacterPropertiesMask.UseUnderlineColorIndex;
12016
- }
12017
- getHistoryItemConstructor() {
12018
- return FontUnderlineColorHistoryItem;
12019
- }
12020
- getJSONProperty() {
12021
- return JSONCharacterFormattingProperty.UnderlineColor;
12022
- }
12023
- }
12024
- class CharacterPropertiesHighlightColorDescriptor {
12025
- constructor() {
12026
- this.binaryEquals = comparers.Equals.object;
12027
- this.defaultValue = color_model_info_ColorModelInfo.noColor;
12028
- }
12029
- setProp(props, newValue) {
12030
- props.highlightColor = newValue;
12031
- }
12032
- getProp(props) {
12033
- return props.highlightColor;
12034
- }
12035
- maskValue() {
12036
- return CharacterPropertiesMask.UseHighlightColorIndex;
12037
- }
12038
- getHistoryItemConstructor() {
12039
- return FontHighlightColorHistoryItem;
12040
- }
12041
- getJSONProperty() {
12042
- return JSONCharacterFormattingProperty.HighlightColor;
12043
- }
12044
- }
12045
- class CharacterPropertiesLangInfoDescriptor {
12046
- constructor() {
12047
- this.binaryEquals = comparers.Equals.object;
12048
- this.defaultValue = new LangInfo();
12049
- }
12050
- setProp(props, newValue) {
12051
- props.langInfo = newValue;
12052
- }
12053
- getProp(props) {
12054
- return props.langInfo;
12055
- }
12056
- maskValue() {
12057
- return CharacterPropertiesMask.UseLangInfo;
12058
- }
12059
- getHistoryItemConstructor() {
12060
- return FontLangInfoHistoryItem;
12061
- }
12062
- getJSONProperty() {
12063
- return JSONCharacterFormattingProperty.LangInfo;
12064
- }
12065
- }
12066
- class CharacterPropertiesCompositeFontInfoDescriptor {
12067
- constructor() {
12068
- this.binaryEquals = comparers.Equals.object;
12069
- this.defaultValue = new CompositeFontInfo();
12070
- }
12071
- setProp(props, newValue) {
12072
- props.compositeFontInfo = newValue;
12073
- }
12074
- getProp(props) {
12075
- return props.compositeFontInfo;
12076
- }
12077
- maskValue() {
12078
- return CharacterPropertiesMask.UseCompositeFontInfo;
12079
- }
12080
- getHistoryItemConstructor() {
12081
- return FontCompositeFontInfoHistoryItem;
12082
- }
12083
- getJSONProperty() {
12084
- return JSONCharacterFormattingProperty.CompositeFontInfo;
12085
- }
12086
- }
12087
- class character_property_descriptor_CharacterPropertyDescriptor {
12088
- }
12089
- character_property_descriptor_CharacterPropertyDescriptor.allCaps = new CharacterPropertiesAllCapsDescriptor();
12090
- character_property_descriptor_CharacterPropertyDescriptor.size = new CharacterPropertiesFontSizeDescriptor();
12091
- character_property_descriptor_CharacterPropertyDescriptor.bold = new CharacterPropertiesFontBoldDescriptor();
12092
- character_property_descriptor_CharacterPropertyDescriptor.italic = new CharacterPropertiesFontItalicDescriptor();
12093
- character_property_descriptor_CharacterPropertyDescriptor.fontInfo = new CharacterPropertiesFontInfoDescriptor();
12094
- character_property_descriptor_CharacterPropertyDescriptor.script = new CharacterPropertiesScriptDescriptor();
12095
- character_property_descriptor_CharacterPropertyDescriptor.strikeoutType = new CharacterPropertiesStrikeoutTypeDescriptor();
12096
- character_property_descriptor_CharacterPropertyDescriptor.underlineType = new CharacterPropertiesUnderlineTypeDescriptor();
12097
- character_property_descriptor_CharacterPropertyDescriptor.underlineWordsOnly = new CharacterPropertiesUnderlineWordsOnlyDescriptor();
12098
- character_property_descriptor_CharacterPropertyDescriptor.strikeoutWordsOnly = new CharacterPropertiesStrikeoutWordsOnlyDescriptor();
12099
- character_property_descriptor_CharacterPropertyDescriptor.noProof = new CharacterPropertiesNoProofDescriptor();
12100
- character_property_descriptor_CharacterPropertyDescriptor.hidden = new CharacterPropertiesHiddenDescriptor();
12101
- character_property_descriptor_CharacterPropertyDescriptor.langInfo = new CharacterPropertiesLangInfoDescriptor();
12102
- character_property_descriptor_CharacterPropertyDescriptor.compositeFontInfo = new CharacterPropertiesCompositeFontInfoDescriptor();
12103
- character_property_descriptor_CharacterPropertyDescriptor.textColor = new CharacterPropertiesTextColorDescriptor();
12104
- character_property_descriptor_CharacterPropertyDescriptor.shadingInfo = new CharacterPropertiesShadingInfoColorDescriptor();
12105
- character_property_descriptor_CharacterPropertyDescriptor.highlightColor = new CharacterPropertiesHighlightColorDescriptor();
12106
- character_property_descriptor_CharacterPropertyDescriptor.strikeoutColor = new CharacterPropertiesStrikeoutColorDescriptor();
12107
- character_property_descriptor_CharacterPropertyDescriptor.underlineColor = new CharacterPropertiesUnderlineColorDescriptor();
12108
- character_property_descriptor_CharacterPropertyDescriptor.smallCaps = new CharacterPropertiesSmallCapsDescriptor();
12109
- character_property_descriptor_CharacterPropertyDescriptor.ALL_FIELDS = [
12110
- character_property_descriptor_CharacterPropertyDescriptor.allCaps,
12111
- character_property_descriptor_CharacterPropertyDescriptor.size,
12112
- character_property_descriptor_CharacterPropertyDescriptor.bold,
12113
- character_property_descriptor_CharacterPropertyDescriptor.italic,
12114
- character_property_descriptor_CharacterPropertyDescriptor.fontInfo,
12115
- character_property_descriptor_CharacterPropertyDescriptor.script,
12116
- character_property_descriptor_CharacterPropertyDescriptor.strikeoutType,
12117
- character_property_descriptor_CharacterPropertyDescriptor.underlineType,
12118
- character_property_descriptor_CharacterPropertyDescriptor.underlineWordsOnly,
12119
- character_property_descriptor_CharacterPropertyDescriptor.strikeoutWordsOnly,
12120
- character_property_descriptor_CharacterPropertyDescriptor.noProof,
12121
- character_property_descriptor_CharacterPropertyDescriptor.hidden,
12122
- character_property_descriptor_CharacterPropertyDescriptor.langInfo,
12123
- character_property_descriptor_CharacterPropertyDescriptor.compositeFontInfo,
12124
- character_property_descriptor_CharacterPropertyDescriptor.textColor,
12125
- character_property_descriptor_CharacterPropertyDescriptor.shadingInfo,
12126
- character_property_descriptor_CharacterPropertyDescriptor.highlightColor,
12127
- character_property_descriptor_CharacterPropertyDescriptor.strikeoutColor,
12128
- character_property_descriptor_CharacterPropertyDescriptor.underlineColor,
12129
- character_property_descriptor_CharacterPropertyDescriptor.smallCaps
12130
- ];
12131
- character_property_descriptor_CharacterPropertyDescriptor.whatNeedSetWhenCreateHyperlinkField = [
12132
- character_property_descriptor_CharacterPropertyDescriptor.size,
12133
- character_property_descriptor_CharacterPropertyDescriptor.bold,
12134
- character_property_descriptor_CharacterPropertyDescriptor.italic,
12135
- character_property_descriptor_CharacterPropertyDescriptor.fontInfo,
12136
- character_property_descriptor_CharacterPropertyDescriptor.script,
12137
- character_property_descriptor_CharacterPropertyDescriptor.strikeoutType,
12138
- character_property_descriptor_CharacterPropertyDescriptor.allCaps,
12139
- character_property_descriptor_CharacterPropertyDescriptor.underlineWordsOnly,
12140
- character_property_descriptor_CharacterPropertyDescriptor.strikeoutWordsOnly,
12141
- character_property_descriptor_CharacterPropertyDescriptor.noProof,
12142
- character_property_descriptor_CharacterPropertyDescriptor.hidden,
12143
- character_property_descriptor_CharacterPropertyDescriptor.shadingInfo,
12144
- character_property_descriptor_CharacterPropertyDescriptor.strikeoutColor,
12145
- character_property_descriptor_CharacterPropertyDescriptor.underlineColor,
12146
- character_property_descriptor_CharacterPropertyDescriptor.langInfo,
12147
- character_property_descriptor_CharacterPropertyDescriptor.smallCaps
12148
- ];
12149
-
12150
12163
  ;// CONCATENATED MODULE: ./src/common/model/borders/table-border-base.ts
12151
12164
 
12152
12165
  class TableBordersBase {
@@ -40497,7 +40510,7 @@ class CharacterPropertiesUseValueManipulator {
40497
40510
  constructor(manipulator) {
40498
40511
  this.manipulator = manipulator;
40499
40512
  }
40500
- setValue(subDocument, interval, newValue) {
40513
+ setValue(subDocument, interval, newValue, keepCustomFormatting = false) {
40501
40514
  var oldState = new HistoryItemIntervalState();
40502
40515
  if (!ControlOptions.isEnabled(subDocument.documentModel.options.characterFormatting))
40503
40516
  return oldState;
@@ -40507,7 +40520,7 @@ class CharacterPropertiesUseValueManipulator {
40507
40520
  var run = iterator.currentRun;
40508
40521
  oldState.register(new HistoryItemIntervalStateObject(iterator.currentInterval(), run.maskedCharacterProperties.getUseValueFull()));
40509
40522
  var properties = run.maskedCharacterProperties.clone();
40510
- properties.setUseValueFull(newValue);
40523
+ properties.setUseValueFull(newValue, keepCustomFormatting);
40511
40524
  run.setCharacterProperties(properties);
40512
40525
  run.onCharacterPropertiesChanged();
40513
40526
  }
@@ -112528,6 +112541,7 @@ class RulerMultiControl {
112528
112541
 
112529
112542
 
112530
112543
 
112544
+
112531
112545
  const TABLE_COLUMN_SEPARATOR_RULER_LINE_CLASS_NAME = " table";
112532
112546
  var SnapTo;
112533
112547
  (function (SnapTo) {
@@ -112560,7 +112574,7 @@ class RulerVerticalLineControl {
112560
112574
  dom.DomUtils.addClassName(this.rootElement, TABLE_COLUMN_SEPARATOR_RULER_LINE_CLASS_NAME);
112561
112575
  else
112562
112576
  dom.DomUtils.removeClassName(this.rootElement, TABLE_COLUMN_SEPARATOR_RULER_LINE_CLASS_NAME);
112563
- this.rootElement.style.height = this.canvas.clientHeight + "px";
112577
+ this.rootElement.style.height = SizeUtils.getClientHeight(this.canvas) + "px";
112564
112578
  this.rootElement.style.top = this.canvas.offsetTop + "px";
112565
112579
  this.rulerControlLeft = this.rulerControlElement.offsetLeft;
112566
112580
  this.rulerControlWidth = this.rulerControlElement.offsetWidth;
@@ -113551,13 +113565,9 @@ class RulerControl extends RulerBase {
113551
113565
  }
113552
113566
  adjust() {
113553
113567
  const viewWidth = this.controls.canvas.clientWidth;
113554
- if (viewWidth > this.controls.ruler.pageWidth)
113555
- this.initialMarginLeftElement = (viewWidth - this.pageWidth - RULLER_NUMBER_CORRECTION * 2) / 2;
113556
- else {
113557
- const paddingLeft = dom.DomUtils.pxToInt(dom.DomUtils.getCurrentStyle(this.controls.canvas).paddingLeft);
113558
- const pageAreaBorderWidth = (this.controls.canvas.scrollWidth - paddingLeft - this.pageWidth) / 2;
113559
- this.initialMarginLeftElement = paddingLeft + pageAreaBorderWidth - RULLER_NUMBER_CORRECTION;
113560
- }
113568
+ const paddingLeft = dom.DomUtils.pxToInt(dom.DomUtils.getCurrentStyle(this.controls.canvas).paddingLeft);
113569
+ const minValue = paddingLeft - RULLER_NUMBER_CORRECTION;
113570
+ this.initialMarginLeftElement = Math.max((viewWidth - this.pageWidth - RULLER_NUMBER_CORRECTION * 2) / 2, minValue);
113561
113571
  this.rootElement.style.left = this.calculateLeftOffset();
113562
113572
  this.setPaddings();
113563
113573
  this.canHandleScroll = this.controls.canvas.scrollWidth > this.controls.canvas.offsetWidth;
@@ -122591,6 +122601,7 @@ function createInnerItems(items) {
122591
122601
  }
122592
122602
 
122593
122603
  ;// CONCATENATED MODULE: ./src/client/utils/focus-helper.ts
122604
+ var focus_helper_a;
122594
122605
  class FocusHelper {
122595
122606
  static preventFocusOnClick(element) {
122596
122607
  return new FocusBlocker(element);
@@ -122603,23 +122614,24 @@ class FocusBlocker {
122603
122614
  this.addEventListeners(target);
122604
122615
  }
122605
122616
  addEventListeners(element) {
122606
- element.addEventListener("pointerdown", this.onPointerDownBinded);
122617
+ element.addEventListener("mousedown", this.onPointerDownBinded);
122607
122618
  }
122608
122619
  removeEventListeners(element) {
122609
- element.removeEventListener("pointerdown", this.onPointerDownBinded);
122620
+ element.removeEventListener("mousedown", this.onPointerDownBinded);
122610
122621
  }
122611
122622
  onPointerDown(event) {
122612
122623
  for (const element of event.composedPath()) {
122613
- if (!(element instanceof HTMLElement))
122614
- continue;
122615
122624
  if (element === this.target) {
122616
122625
  event.preventDefault();
122617
122626
  break;
122618
122627
  }
122619
- if (!this.target.contains(element) || element.tabIndex > -1)
122628
+ if (element instanceof Element && this.isFocusableElement(element))
122620
122629
  break;
122621
122630
  }
122622
122631
  }
122632
+ isFocusableElement(element) {
122633
+ return element.matches(FocusBlocker.focusableSelector);
122634
+ }
122623
122635
  dispose() {
122624
122636
  if (this.target) {
122625
122637
  this.removeEventListeners(this.target);
@@ -122627,6 +122639,21 @@ class FocusBlocker {
122627
122639
  }
122628
122640
  }
122629
122641
  }
122642
+ focus_helper_a = FocusBlocker;
122643
+ FocusBlocker.focusableSelectors = [
122644
+ 'a[href]',
122645
+ 'area[href]',
122646
+ 'input',
122647
+ 'select',
122648
+ 'textarea',
122649
+ 'button',
122650
+ 'iframe',
122651
+ 'object',
122652
+ 'embed',
122653
+ '[tabindex]:not([tabindex="-1"])',
122654
+ '[contenteditable]:not([contenteditable="false"])'
122655
+ ];
122656
+ FocusBlocker.focusableSelector = focus_helper_a.focusableSelectors.join(',');
122630
122657
 
122631
122658
  ;// CONCATENATED MODULE: ./src/client/bars/ribbon.ts
122632
122659
 
@@ -129693,7 +129720,7 @@ class ApplyStyleCommand extends CommandBase {
129693
129720
  paragraphStyle = StylesManager.getPresetParagraphStyleByName(styleName).clone();
129694
129721
  isPresetStyle = true;
129695
129722
  }
129696
- this.applyParagraphStyle(subDocumentInterval, paragraphStyle, isPresetStyle, parameter.keepDirectFormatting);
129723
+ this.applyParagraphStyle(subDocumentInterval, paragraphStyle, isPresetStyle, parameter.keepCustomFormatting);
129697
129724
  }
129698
129725
  else if (!StylesManager.isParagraphStyle(parameter.styleName) && state.characterStyleChangeEnabled) {
129699
129726
  const styleName = StylesManager.getStyleNameWithoutPrefix(parameter.styleName);
@@ -129728,7 +129755,7 @@ class ApplyStyleCommand extends CommandBase {
129728
129755
  this.modelManipulator.style.applyCharacterStyle(subDocumentInterval, characterStyle, false);
129729
129756
  }
129730
129757
  }
129731
- applyParagraphStyle(subDocumentInterval, style, isPresetStyle, keepDirectFormatting = false) {
129758
+ applyParagraphStyle(subDocumentInterval, style, isPresetStyle, keepCustomFormatting = false) {
129732
129759
  const count = this.calculateAffectedParagraphCount(subDocumentInterval);
129733
129760
  if (count > 0 && ControlOptions.isEnabled(this.control.modelManager.richOptions.control.paragraphStyle)) {
129734
129761
  const { interval, subDocument } = subDocumentInterval;
@@ -129741,8 +129768,7 @@ class ApplyStyleCommand extends CommandBase {
129741
129768
  style = isPresetStyle ? modelManipulator.model.stylesManager.addParagraphStyle(style) : style;
129742
129769
  this.history.addAndRedo(new ApplyParagraphStyleHistoryItem(modelManipulator, paragraphSubDocumentInterval, style));
129743
129770
  this.history.addAndRedo(new ParagraphUseValueHistoryItem(modelManipulator, paragraphSubDocumentInterval, 0));
129744
- if (!keepDirectFormatting)
129745
- this.history.addAndRedo(new FontUseValueHistoryItem(modelManipulator, paragraphSubDocumentInterval, 0));
129771
+ this.history.addAndRedo(new FontUseValueHistoryItem(modelManipulator, paragraphSubDocumentInterval, 0, keepCustomFormatting));
129746
129772
  this.history.addAndRedo(new AddParagraphToListHistoryItem(modelManipulator, subDocument, paragraphIndex, NumberingList.NumberingListNotSettedIndex, -1));
129747
129773
  }
129748
129774
  }
@@ -136279,7 +136305,7 @@ class SetParagraphLevelCommandBase extends CommandBase {
136279
136305
  if (!paragraphStyle)
136280
136306
  paragraphStyle = StylesManager.getPresetParagraphStyleByName(styleName);
136281
136307
  if (paragraphStyle) {
136282
- const commandOptions = new CommandSimpleOptions(this.control, { styleName: StylesManager.paragraphPrefix + styleName, keepDirectFormatting: true });
136308
+ const commandOptions = new CommandSimpleOptions(this.control, { styleName: StylesManager.paragraphPrefix + styleName, keepCustomFormatting: true });
136283
136309
  this.commandManager.getCommand(RichEditClientCommand.ChangeStyle).execute(this.commandManager.isPublicApiCall, commandOptions);
136284
136310
  }
136285
136311
  else {
@@ -140953,8 +140979,8 @@ class DialogManager {
140953
140979
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_type.js
140954
140980
  /**
140955
140981
  * DevExtreme (esm/__internal/core/utils/m_type.js)
140956
- * Version: 24.2.8-build-25133-1935
140957
- * Build date: Tue May 13 2025
140982
+ * Version: 24.2.8-build-25148-1935
140983
+ * Build date: Wed May 28 2025
140958
140984
  *
140959
140985
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
140960
140986
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141056,8 +141082,8 @@ const isEvent = function(object) {
141056
141082
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/type.js
141057
141083
  /**
141058
141084
  * DevExtreme (esm/core/utils/type.js)
141059
- * Version: 24.2.8-build-25133-1935
141060
- * Build date: Tue May 13 2025
141085
+ * Version: 24.2.8-build-25148-1935
141086
+ * Build date: Wed May 28 2025
141061
141087
  *
141062
141088
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141063
141089
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141067,8 +141093,8 @@ const isEvent = function(object) {
141067
141093
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_extend.js
141068
141094
  /**
141069
141095
  * DevExtreme (esm/__internal/core/utils/m_extend.js)
141070
- * Version: 24.2.8-build-25133-1935
141071
- * Build date: Tue May 13 2025
141096
+ * Version: 24.2.8-build-25148-1935
141097
+ * Build date: Wed May 28 2025
141072
141098
  *
141073
141099
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141074
141100
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141126,8 +141152,8 @@ const extend = function(target) {
141126
141152
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/extend.js
141127
141153
  /**
141128
141154
  * DevExtreme (esm/core/utils/extend.js)
141129
- * Version: 24.2.8-build-25133-1935
141130
- * Build date: Tue May 13 2025
141155
+ * Version: 24.2.8-build-25148-1935
141156
+ * Build date: Wed May 28 2025
141131
141157
  *
141132
141158
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141133
141159
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141137,8 +141163,8 @@ const extend = function(target) {
141137
141163
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_string.js
141138
141164
  /**
141139
141165
  * DevExtreme (esm/__internal/core/utils/m_string.js)
141140
- * Version: 24.2.8-build-25133-1935
141141
- * Build date: Tue May 13 2025
141166
+ * Version: 24.2.8-build-25148-1935
141167
+ * Build date: Wed May 28 2025
141142
141168
  *
141143
141169
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141144
141170
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141213,8 +141239,8 @@ const isEmpty = function() {
141213
141239
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/string.js
141214
141240
  /**
141215
141241
  * DevExtreme (esm/core/utils/string.js)
141216
- * Version: 24.2.8-build-25133-1935
141217
- * Build date: Tue May 13 2025
141242
+ * Version: 24.2.8-build-25148-1935
141243
+ * Build date: Wed May 28 2025
141218
141244
  *
141219
141245
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141220
141246
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141224,20 +141250,20 @@ const isEmpty = function() {
141224
141250
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/version.js
141225
141251
  /**
141226
141252
  * DevExtreme (esm/core/version.js)
141227
- * Version: 24.2.8-build-25133-1935
141228
- * Build date: Tue May 13 2025
141253
+ * Version: 24.2.8-build-25148-1935
141254
+ * Build date: Wed May 28 2025
141229
141255
  *
141230
141256
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141231
141257
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
141232
141258
  */
141233
141259
  const version = "24.2.7";
141234
- const fullVersion = "24.2.7.25133-1935";
141260
+ const fullVersion = "24.2.7.25148-1935";
141235
141261
 
141236
141262
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_console.js
141237
141263
  /**
141238
141264
  * DevExtreme (esm/__internal/core/utils/m_console.js)
141239
- * Version: 24.2.8-build-25133-1935
141240
- * Build date: Tue May 13 2025
141265
+ * Version: 24.2.8-build-25148-1935
141266
+ * Build date: Wed May 28 2025
141241
141267
  *
141242
141268
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141243
141269
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141277,8 +141303,8 @@ const debug = function() {
141277
141303
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_error.js
141278
141304
  /**
141279
141305
  * DevExtreme (esm/__internal/core/utils/m_error.js)
141280
- * Version: 24.2.8-build-25133-1935
141281
- * Build date: Tue May 13 2025
141306
+ * Version: 24.2.8-build-25148-1935
141307
+ * Build date: Wed May 28 2025
141282
141308
  *
141283
141309
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141284
141310
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141349,8 +141375,8 @@ function error(baseErrors, errors) {
141349
141375
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/error.js
141350
141376
  /**
141351
141377
  * DevExtreme (esm/core/utils/error.js)
141352
- * Version: 24.2.8-build-25133-1935
141353
- * Build date: Tue May 13 2025
141378
+ * Version: 24.2.8-build-25148-1935
141379
+ * Build date: Wed May 28 2025
141354
141380
  *
141355
141381
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141356
141382
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141361,8 +141387,8 @@ function error(baseErrors, errors) {
141361
141387
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/m_errors.js
141362
141388
  /**
141363
141389
  * DevExtreme (esm/__internal/core/m_errors.js)
141364
- * Version: 24.2.8-build-25133-1935
141365
- * Build date: Tue May 13 2025
141390
+ * Version: 24.2.8-build-25148-1935
141391
+ * Build date: Wed May 28 2025
141366
141392
  *
141367
141393
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141368
141394
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141428,8 +141454,8 @@ function error(baseErrors, errors) {
141428
141454
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/errors.js
141429
141455
  /**
141430
141456
  * DevExtreme (esm/core/errors.js)
141431
- * Version: 24.2.8-build-25133-1935
141432
- * Build date: Tue May 13 2025
141457
+ * Version: 24.2.8-build-25148-1935
141458
+ * Build date: Wed May 28 2025
141433
141459
  *
141434
141460
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141435
141461
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141440,8 +141466,8 @@ function error(baseErrors, errors) {
141440
141466
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/m_class.js
141441
141467
  /**
141442
141468
  * DevExtreme (esm/__internal/core/m_class.js)
141443
- * Version: 24.2.8-build-25133-1935
141444
- * Build date: Tue May 13 2025
141469
+ * Version: 24.2.8-build-25148-1935
141470
+ * Build date: Wed May 28 2025
141445
141471
  *
141446
141472
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141447
141473
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141574,8 +141600,8 @@ classImpl.abstract = m_class_abstract;
141574
141600
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/class.js
141575
141601
  /**
141576
141602
  * DevExtreme (esm/core/class.js)
141577
- * Version: 24.2.8-build-25133-1935
141578
- * Build date: Tue May 13 2025
141603
+ * Version: 24.2.8-build-25148-1935
141604
+ * Build date: Wed May 28 2025
141579
141605
  *
141580
141606
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141581
141607
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141586,8 +141612,8 @@ classImpl.abstract = m_class_abstract;
141586
141612
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_iterator.js
141587
141613
  /**
141588
141614
  * DevExtreme (esm/__internal/core/utils/m_iterator.js)
141589
- * Version: 24.2.8-build-25133-1935
141590
- * Build date: Tue May 13 2025
141615
+ * Version: 24.2.8-build-25148-1935
141616
+ * Build date: Wed May 28 2025
141591
141617
  *
141592
141618
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141593
141619
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141636,8 +141662,8 @@ const reverseEach = (array, callback) => {
141636
141662
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_dependency_injector.js
141637
141663
  /**
141638
141664
  * DevExtreme (esm/__internal/core/utils/m_dependency_injector.js)
141639
- * Version: 24.2.8-build-25133-1935
141640
- * Build date: Tue May 13 2025
141665
+ * Version: 24.2.8-build-25148-1935
141666
+ * Build date: Wed May 28 2025
141641
141667
  *
141642
141668
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141643
141669
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141686,8 +141712,8 @@ function injector(object) {
141686
141712
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/dependency_injector.js
141687
141713
  /**
141688
141714
  * DevExtreme (esm/core/utils/dependency_injector.js)
141689
- * Version: 24.2.8-build-25133-1935
141690
- * Build date: Tue May 13 2025
141715
+ * Version: 24.2.8-build-25148-1935
141716
+ * Build date: Wed May 28 2025
141691
141717
  *
141692
141718
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141693
141719
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141698,8 +141724,8 @@ function injector(object) {
141698
141724
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/ldml/date.formatter.js
141699
141725
  /**
141700
141726
  * DevExtreme (esm/common/core/localization/ldml/date.formatter.js)
141701
- * Version: 24.2.8-build-25133-1935
141702
- * Build date: Tue May 13 2025
141727
+ * Version: 24.2.8-build-25148-1935
141728
+ * Build date: Wed May 28 2025
141703
141729
  *
141704
141730
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141705
141731
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141852,8 +141878,8 @@ function _extends() {
141852
141878
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/m_config.js
141853
141879
  /**
141854
141880
  * DevExtreme (esm/__internal/core/m_config.js)
141855
- * Version: 24.2.8-build-25133-1935
141856
- * Build date: Tue May 13 2025
141881
+ * Version: 24.2.8-build-25148-1935
141882
+ * Build date: Wed May 28 2025
141857
141883
  *
141858
141884
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141859
141885
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141928,8 +141954,8 @@ if ("undefined" !== typeof DevExpress && DevExpress.config) {
141928
141954
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/config.js
141929
141955
  /**
141930
141956
  * DevExtreme (esm/common/config.js)
141931
- * Version: 24.2.8-build-25133-1935
141932
- * Build date: Tue May 13 2025
141957
+ * Version: 24.2.8-build-25148-1935
141958
+ * Build date: Wed May 28 2025
141933
141959
  *
141934
141960
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141935
141961
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141940,8 +141966,8 @@ if ("undefined" !== typeof DevExpress && DevExpress.config) {
141940
141966
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/m_guid.js
141941
141967
  /**
141942
141968
  * DevExtreme (esm/__internal/core/m_guid.js)
141943
- * Version: 24.2.8-build-25133-1935
141944
- * Build date: Tue May 13 2025
141969
+ * Version: 24.2.8-build-25148-1935
141970
+ * Build date: Wed May 28 2025
141945
141971
  *
141946
141972
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141947
141973
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141983,8 +142009,8 @@ const Guid = core_class.inherit({
141983
142009
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/guid.js
141984
142010
  /**
141985
142011
  * DevExtreme (esm/common/guid.js)
141986
- * Version: 24.2.8-build-25133-1935
141987
- * Build date: Tue May 13 2025
142012
+ * Version: 24.2.8-build-25148-1935
142013
+ * Build date: Wed May 28 2025
141988
142014
  *
141989
142015
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
141990
142016
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -141995,8 +142021,8 @@ const Guid = core_class.inherit({
141995
142021
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/templates/m_template_engine_registry.js
141996
142022
  /**
141997
142023
  * DevExtreme (esm/__internal/core/templates/m_template_engine_registry.js)
141998
- * Version: 24.2.8-build-25133-1935
141999
- * Build date: Tue May 13 2025
142024
+ * Version: 24.2.8-build-25148-1935
142025
+ * Build date: Wed May 28 2025
142000
142026
  *
142001
142027
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142002
142028
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142025,8 +142051,8 @@ function getCurrentTemplateEngine() {
142025
142051
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/templates/template_engine_registry.js
142026
142052
  /**
142027
142053
  * DevExtreme (esm/core/templates/template_engine_registry.js)
142028
- * Version: 24.2.8-build-25133-1935
142029
- * Build date: Tue May 13 2025
142054
+ * Version: 24.2.8-build-25148-1935
142055
+ * Build date: Wed May 28 2025
142030
142056
  *
142031
142057
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142032
142058
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142036,8 +142062,8 @@ function getCurrentTemplateEngine() {
142036
142062
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/m_set_template_engine.js
142037
142063
  /**
142038
142064
  * DevExtreme (esm/__internal/core/m_set_template_engine.js)
142039
- * Version: 24.2.8-build-25133-1935
142040
- * Build date: Tue May 13 2025
142065
+ * Version: 24.2.8-build-25148-1935
142066
+ * Build date: Wed May 28 2025
142041
142067
  *
142042
142068
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142043
142069
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142047,8 +142073,8 @@ function getCurrentTemplateEngine() {
142047
142073
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/set_template_engine.js
142048
142074
  /**
142049
142075
  * DevExtreme (esm/common/set_template_engine.js)
142050
- * Version: 24.2.8-build-25133-1935
142051
- * Build date: Tue May 13 2025
142076
+ * Version: 24.2.8-build-25148-1935
142077
+ * Build date: Wed May 28 2025
142052
142078
  *
142053
142079
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142054
142080
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142059,8 +142085,8 @@ function getCurrentTemplateEngine() {
142059
142085
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common.js
142060
142086
  /**
142061
142087
  * DevExtreme (esm/common.js)
142062
- * Version: 24.2.8-build-25133-1935
142063
- * Build date: Tue May 13 2025
142088
+ * Version: 24.2.8-build-25148-1935
142089
+ * Build date: Wed May 28 2025
142064
142090
  *
142065
142091
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142066
142092
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142073,8 +142099,8 @@ function getCurrentTemplateEngine() {
142073
142099
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/config.js
142074
142100
  /**
142075
142101
  * DevExtreme (esm/core/config.js)
142076
- * Version: 24.2.8-build-25133-1935
142077
- * Build date: Tue May 13 2025
142102
+ * Version: 24.2.8-build-25148-1935
142103
+ * Build date: Wed May 28 2025
142078
142104
  *
142079
142105
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142080
142106
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142085,8 +142111,8 @@ function getCurrentTemplateEngine() {
142085
142111
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/guid.js
142086
142112
  /**
142087
142113
  * DevExtreme (esm/core/guid.js)
142088
- * Version: 24.2.8-build-25133-1935
142089
- * Build date: Tue May 13 2025
142114
+ * Version: 24.2.8-build-25148-1935
142115
+ * Build date: Wed May 28 2025
142090
142116
  *
142091
142117
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142092
142118
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142097,8 +142123,8 @@ function getCurrentTemplateEngine() {
142097
142123
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/console.js
142098
142124
  /**
142099
142125
  * DevExtreme (esm/core/utils/console.js)
142100
- * Version: 24.2.8-build-25133-1935
142101
- * Build date: Tue May 13 2025
142126
+ * Version: 24.2.8-build-25148-1935
142127
+ * Build date: Wed May 28 2025
142102
142128
  *
142103
142129
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142104
142130
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142108,8 +142134,8 @@ function getCurrentTemplateEngine() {
142108
142134
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_variable_wrapper.js
142109
142135
  /**
142110
142136
  * DevExtreme (esm/__internal/core/utils/m_variable_wrapper.js)
142111
- * Version: 24.2.8-build-25133-1935
142112
- * Build date: Tue May 13 2025
142137
+ * Version: 24.2.8-build-25148-1935
142138
+ * Build date: Wed May 28 2025
142113
142139
  *
142114
142140
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142115
142141
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142138,8 +142164,8 @@ const m_variable_wrapper_variableWrapper = dependency_injector({
142138
142164
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/variable_wrapper.js
142139
142165
  /**
142140
142166
  * DevExtreme (esm/core/utils/variable_wrapper.js)
142141
- * Version: 24.2.8-build-25133-1935
142142
- * Build date: Tue May 13 2025
142167
+ * Version: 24.2.8-build-25148-1935
142168
+ * Build date: Wed May 28 2025
142143
142169
  *
142144
142170
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142145
142171
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142150,8 +142176,8 @@ const m_variable_wrapper_variableWrapper = dependency_injector({
142150
142176
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_object.js
142151
142177
  /**
142152
142178
  * DevExtreme (esm/__internal/core/utils/m_object.js)
142153
- * Version: 24.2.8-build-25133-1935
142154
- * Build date: Tue May 13 2025
142179
+ * Version: 24.2.8-build-25148-1935
142180
+ * Build date: Wed May 28 2025
142155
142181
  *
142156
142182
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142157
142183
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142251,8 +142277,8 @@ const m_object_deepExtendArraySafe = function(target, changes, extendComplexObje
142251
142277
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/object.js
142252
142278
  /**
142253
142279
  * DevExtreme (esm/core/utils/object.js)
142254
- * Version: 24.2.8-build-25133-1935
142255
- * Build date: Tue May 13 2025
142280
+ * Version: 24.2.8-build-25148-1935
142281
+ * Build date: Wed May 28 2025
142256
142282
  *
142257
142283
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142258
142284
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142262,8 +142288,8 @@ const m_object_deepExtendArraySafe = function(target, changes, extendComplexObje
142262
142288
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_data.js
142263
142289
  /**
142264
142290
  * DevExtreme (esm/__internal/core/utils/m_data.js)
142265
- * Version: 24.2.8-build-25133-1935
142266
- * Build date: Tue May 13 2025
142291
+ * Version: 24.2.8-build-25148-1935
142292
+ * Build date: Wed May 28 2025
142267
142293
  *
142268
142294
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142269
142295
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142459,8 +142485,8 @@ const toComparable = function(value, caseSensitive) {
142459
142485
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/data.js
142460
142486
  /**
142461
142487
  * DevExtreme (esm/core/utils/data.js)
142462
- * Version: 24.2.8-build-25133-1935
142463
- * Build date: Tue May 13 2025
142488
+ * Version: 24.2.8-build-25148-1935
142489
+ * Build date: Wed May 28 2025
142464
142490
  *
142465
142491
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142466
142492
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142470,8 +142496,8 @@ const toComparable = function(value, caseSensitive) {
142470
142496
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_callbacks.js
142471
142497
  /**
142472
142498
  * DevExtreme (esm/__internal/core/utils/m_callbacks.js)
142473
- * Version: 24.2.8-build-25133-1935
142474
- * Build date: Tue May 13 2025
142499
+ * Version: 24.2.8-build-25148-1935
142500
+ * Build date: Wed May 28 2025
142475
142501
  *
142476
142502
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142477
142503
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142566,8 +142592,8 @@ const Callbacks = function(options) {
142566
142592
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/callbacks.js
142567
142593
  /**
142568
142594
  * DevExtreme (esm/core/utils/callbacks.js)
142569
- * Version: 24.2.8-build-25133-1935
142570
- * Build date: Tue May 13 2025
142595
+ * Version: 24.2.8-build-25148-1935
142596
+ * Build date: Wed May 28 2025
142571
142597
  *
142572
142598
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142573
142599
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142578,8 +142604,8 @@ const Callbacks = function(options) {
142578
142604
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_deferred.js
142579
142605
  /**
142580
142606
  * DevExtreme (esm/__internal/core/utils/m_deferred.js)
142581
- * Version: 24.2.8-build-25133-1935
142582
- * Build date: Tue May 13 2025
142607
+ * Version: 24.2.8-build-25148-1935
142608
+ * Build date: Wed May 28 2025
142583
142609
  *
142584
142610
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142585
142611
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142744,8 +142770,8 @@ function when() {
142744
142770
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/deferred.js
142745
142771
  /**
142746
142772
  * DevExtreme (esm/core/utils/deferred.js)
142747
- * Version: 24.2.8-build-25133-1935
142748
- * Build date: Tue May 13 2025
142773
+ * Version: 24.2.8-build-25148-1935
142774
+ * Build date: Wed May 28 2025
142749
142775
  *
142750
142776
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142751
142777
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -142755,8 +142781,8 @@ function when() {
142755
142781
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_common.js
142756
142782
  /**
142757
142783
  * DevExtreme (esm/__internal/core/utils/m_common.js)
142758
- * Version: 24.2.8-build-25133-1935
142759
- * Build date: Tue May 13 2025
142784
+ * Version: 24.2.8-build-25148-1935
142785
+ * Build date: Wed May 28 2025
142760
142786
  *
142761
142787
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
142762
142788
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -143051,8 +143077,8 @@ const equalByValue = function(value1, value2) {
143051
143077
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/common.js
143052
143078
  /**
143053
143079
  * DevExtreme (esm/core/utils/common.js)
143054
- * Version: 24.2.8-build-25133-1935
143055
- * Build date: Tue May 13 2025
143080
+ * Version: 24.2.8-build-25148-1935
143081
+ * Build date: Wed May 28 2025
143056
143082
  *
143057
143083
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
143058
143084
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -143062,8 +143088,8 @@ const equalByValue = function(value1, value2) {
143062
143088
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_math.js
143063
143089
  /**
143064
143090
  * DevExtreme (esm/__internal/core/utils/m_math.js)
143065
- * Version: 24.2.8-build-25133-1935
143066
- * Build date: Tue May 13 2025
143091
+ * Version: 24.2.8-build-25148-1935
143092
+ * Build date: Wed May 28 2025
143067
143093
  *
143068
143094
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
143069
143095
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -143232,8 +143258,8 @@ function roundFloatPart(value) {
143232
143258
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/math.js
143233
143259
  /**
143234
143260
  * DevExtreme (esm/core/utils/math.js)
143235
- * Version: 24.2.8-build-25133-1935
143236
- * Build date: Tue May 13 2025
143261
+ * Version: 24.2.8-build-25148-1935
143262
+ * Build date: Wed May 28 2025
143237
143263
  *
143238
143264
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
143239
143265
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -143243,8 +143269,8 @@ function roundFloatPart(value) {
143243
143269
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/utils.js
143244
143270
  /**
143245
143271
  * DevExtreme (esm/common/core/localization/utils.js)
143246
- * Version: 24.2.8-build-25133-1935
143247
- * Build date: Tue May 13 2025
143272
+ * Version: 24.2.8-build-25148-1935
143273
+ * Build date: Wed May 28 2025
143248
143274
  *
143249
143275
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
143250
143276
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -143271,8 +143297,8 @@ function toFixed(value, precision) {
143271
143297
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/ldml/number.js
143272
143298
  /**
143273
143299
  * DevExtreme (esm/common/core/localization/ldml/number.js)
143274
- * Version: 24.2.8-build-25133-1935
143275
- * Build date: Tue May 13 2025
143300
+ * Version: 24.2.8-build-25148-1935
143301
+ * Build date: Wed May 28 2025
143276
143302
  *
143277
143303
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
143278
143304
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -143513,8 +143539,8 @@ function getFormat(formatter) {
143513
143539
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/currency.js
143514
143540
  /**
143515
143541
  * DevExtreme (esm/common/core/localization/currency.js)
143516
- * Version: 24.2.8-build-25133-1935
143517
- * Build date: Tue May 13 2025
143542
+ * Version: 24.2.8-build-25148-1935
143543
+ * Build date: Wed May 28 2025
143518
143544
  *
143519
143545
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
143520
143546
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -143546,8 +143572,8 @@ function getFormat(formatter) {
143546
143572
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/cldr-data/parent_locales.js
143547
143573
  /**
143548
143574
  * DevExtreme (esm/common/core/localization/cldr-data/parent_locales.js)
143549
- * Version: 24.2.8-build-25133-1935
143550
- * Build date: Tue May 13 2025
143575
+ * Version: 24.2.8-build-25148-1935
143576
+ * Build date: Wed May 28 2025
143551
143577
  *
143552
143578
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
143553
143579
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -143732,8 +143758,8 @@ function getFormat(formatter) {
143732
143758
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/parentLocale.js
143733
143759
  /**
143734
143760
  * DevExtreme (esm/common/core/localization/parentLocale.js)
143735
- * Version: 24.2.8-build-25133-1935
143736
- * Build date: Tue May 13 2025
143761
+ * Version: 24.2.8-build-25148-1935
143762
+ * Build date: Wed May 28 2025
143737
143763
  *
143738
143764
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
143739
143765
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -143750,8 +143776,8 @@ const PARENT_LOCALE_SEPARATOR = "-";
143750
143776
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/core.js
143751
143777
  /**
143752
143778
  * DevExtreme (esm/common/core/localization/core.js)
143753
- * Version: 24.2.8-build-25133-1935
143754
- * Build date: Tue May 13 2025
143779
+ * Version: 24.2.8-build-25148-1935
143780
+ * Build date: Wed May 28 2025
143755
143781
  *
143756
143782
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
143757
143783
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -143792,8 +143818,8 @@ const DEFAULT_LOCALE = "en";
143792
143818
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/open_xml_currency_format.js
143793
143819
  /**
143794
143820
  * DevExtreme (esm/common/core/localization/open_xml_currency_format.js)
143795
- * Version: 24.2.8-build-25133-1935
143796
- * Build date: Tue May 13 2025
143821
+ * Version: 24.2.8-build-25148-1935
143822
+ * Build date: Wed May 28 2025
143797
143823
  *
143798
143824
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
143799
143825
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -143835,8 +143861,8 @@ const DEFAULT_LOCALE = "en";
143835
143861
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/cldr-data/accounting_formats.js
143836
143862
  /**
143837
143863
  * DevExtreme (esm/common/core/localization/cldr-data/accounting_formats.js)
143838
- * Version: 24.2.8-build-25133-1935
143839
- * Build date: Tue May 13 2025
143864
+ * Version: 24.2.8-build-25148-1935
143865
+ * Build date: Wed May 28 2025
143840
143866
  *
143841
143867
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
143842
143868
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -144422,8 +144448,8 @@ const DEFAULT_LOCALE = "en";
144422
144448
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/intl/number.js
144423
144449
  /**
144424
144450
  * DevExtreme (esm/common/core/localization/intl/number.js)
144425
- * Version: 24.2.8-build-25133-1935
144426
- * Build date: Tue May 13 2025
144451
+ * Version: 24.2.8-build-25148-1935
144452
+ * Build date: Wed May 28 2025
144427
144453
  *
144428
144454
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
144429
144455
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -144543,8 +144569,8 @@ const getCurrencyFormatter = currency => new Intl.NumberFormat(core.locale(), {
144543
144569
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/number.js
144544
144570
  /**
144545
144571
  * DevExtreme (esm/common/core/localization/number.js)
144546
- * Version: 24.2.8-build-25133-1935
144547
- * Build date: Tue May 13 2025
144572
+ * Version: 24.2.8-build-25148-1935
144573
+ * Build date: Wed May 28 2025
144548
144574
  *
144549
144575
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
144550
144576
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -144849,8 +144875,8 @@ if (hasIntl) {
144849
144875
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/ldml/date.format.js
144850
144876
  /**
144851
144877
  * DevExtreme (esm/common/core/localization/ldml/date.format.js)
144852
- * Version: 24.2.8-build-25133-1935
144853
- * Build date: Tue May 13 2025
144878
+ * Version: 24.2.8-build-25148-1935
144879
+ * Build date: Wed May 28 2025
144854
144880
  *
144855
144881
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
144856
144882
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -145047,8 +145073,8 @@ const date_format_getFormat = function(formatter) {
145047
145073
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/ldml/date.parser.js
145048
145074
  /**
145049
145075
  * DevExtreme (esm/common/core/localization/ldml/date.parser.js)
145050
- * Version: 24.2.8-build-25133-1935
145051
- * Build date: Tue May 13 2025
145076
+ * Version: 24.2.8-build-25148-1935
145077
+ * Build date: Wed May 28 2025
145052
145078
  *
145053
145079
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
145054
145080
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -145366,8 +145392,8 @@ const getParser = function(format, dateParts) {
145366
145392
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/default_date_names.js
145367
145393
  /**
145368
145394
  * DevExtreme (esm/common/core/localization/default_date_names.js)
145369
- * Version: 24.2.8-build-25133-1935
145370
- * Build date: Tue May 13 2025
145395
+ * Version: 24.2.8-build-25148-1935
145396
+ * Build date: Wed May 28 2025
145371
145397
  *
145372
145398
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
145373
145399
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -145403,8 +145429,8 @@ const cutCaptions = (captions, format) => {
145403
145429
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/cldr-data/first_day_of_week_data.js
145404
145430
  /**
145405
145431
  * DevExtreme (esm/common/core/localization/cldr-data/first_day_of_week_data.js)
145406
- * Version: 24.2.8-build-25133-1935
145407
- * Build date: Tue May 13 2025
145432
+ * Version: 24.2.8-build-25148-1935
145433
+ * Build date: Wed May 28 2025
145408
145434
  *
145409
145435
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
145410
145436
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -145603,8 +145629,8 @@ const cutCaptions = (captions, format) => {
145603
145629
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/intl/date.js
145604
145630
  /**
145605
145631
  * DevExtreme (esm/common/core/localization/intl/date.js)
145606
- * Version: 24.2.8-build-25133-1935
145607
- * Build date: Tue May 13 2025
145632
+ * Version: 24.2.8-build-25148-1935
145633
+ * Build date: Wed May 28 2025
145608
145634
  *
145609
145635
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
145610
145636
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
@@ -145921,8 +145947,8 @@ const monthNameStrategies = {
145921
145947
  ;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/date.js
145922
145948
  /**
145923
145949
  * DevExtreme (esm/common/core/localization/date.js)
145924
- * Version: 24.2.8-build-25133-1935
145925
- * Build date: Tue May 13 2025
145950
+ * Version: 24.2.8-build-25148-1935
145951
+ * Build date: Wed May 28 2025
145926
145952
  *
145927
145953
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
145928
145954
  * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/