devexpress-richedit 25.1.2-beta → 25.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/gulpfile.js +1 -1
- package/bin/index-custom.js +1 -1
- package/bin/localization-builder.js +1 -1
- package/bin/nspell-index.js +1 -1
- package/bin/nspell.webpack.config.js +1 -1
- package/bin/webpack-externals.js +1 -1
- package/bin/webpack.config.js +1 -1
- package/dist/dx.richedit.css +1 -1
- package/dist/dx.richedit.d.ts +1 -2
- package/dist/dx.richedit.js +1243 -1208
- package/dist/dx.richedit.min.js +2 -2
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/lib/client/client-rich-edit.js +2 -2
- package/lib/client/commands/commands.js +0 -3
- package/lib/client/model-api/character-properties.js +13 -17
- package/lib/client/model-api/document.js +2 -0
- package/lib/client/model-api/images/images.js +1 -1
- package/lib/client/public/commands/enum.d.ts +1 -2
- package/lib/client/public/commands/enum.js +0 -1
- package/lib/client/public/options.d.ts +1 -0
- package/lib/client/utils/focus-helper.js +22 -5
- package/lib/common/canvas/canvas-manager.js +1 -1
- package/lib/common/canvas/canvas-size-info.d.ts +1 -0
- package/lib/common/canvas/canvas-size-info.js +2 -2
- package/lib/common/canvas/renderes/view-manager.js +4 -3
- package/lib/common/commands/client-command.d.ts +1 -2
- package/lib/common/commands/client-command.js +0 -1
- package/lib/common/commands/command-manager.js +0 -2
- package/lib/common/commands/document/print-document-on-client-command.d.ts +2 -0
- package/lib/common/commands/document/print-document-on-client-command.js +46 -18
- package/lib/common/commands/layout/apply-style-command.d.ts +2 -2
- package/lib/common/commands/layout/apply-style-command.js +3 -4
- package/lib/common/commands/toc/set-paragraph-level-command.js +1 -1
- package/lib/common/input-controller.js +1 -1
- package/lib/common/layout/document-layout.js +4 -1
- package/lib/common/layout-formatter/row/word-holder.js +1 -1
- package/lib/common/model/borders/border-info.js +1 -1
- package/lib/common/model/caches/images.d.ts +4 -1
- package/lib/common/model/caches/images.js +6 -2
- package/lib/common/model/character/character-properties.d.ts +1 -1
- package/lib/common/model/character/character-properties.js +14 -2
- package/lib/common/model/fields/field.d.ts +1 -1
- package/lib/common/model/fields/field.js +4 -3
- package/lib/common/model/fields/tree-creator.js +1 -1
- package/lib/common/model/history/items/character-properties-history-items.d.ts +2 -1
- package/lib/common/model/history/items/character-properties-history-items.js +3 -2
- package/lib/common/model/manipulators/character-properties-manipulator.js +2 -2
- package/lib/common/model/manipulators/i-properties-manipulator.d.ts +1 -1
- package/lib/common/model/manipulators/picture-manipulator/picture-manipulator.js +2 -2
- package/lib/common/model/options/fonts.d.ts +1 -1
- package/lib/common/ui/ruler/controls/ruler.js +3 -7
- package/lib/common/ui/ruler/controls/vertical-line.js +2 -1
- package/package.json +3 -3
- package/lib/common/commands/layout/toggle-allow-zoom-command.d.ts +0 -7
- package/lib/common/commands/layout/toggle-allow-zoom-command.js +0 -17
package/dist/dx.richedit.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* DevExpress WebRichEdit (dx.richedit.js)
|
3
|
-
* Version: 25.1.
|
3
|
+
* Version: 25.1.3
|
4
4
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
5
5
|
* License: https://www.devexpress.com/Support/EULAs
|
6
6
|
*/
|
@@ -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
|
-
|
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.
|
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 {
|
@@ -16431,6 +16444,8 @@ class CacheImageInfo {
|
|
16431
16444
|
static get emptyPictureSize() { return new geometry_size.Size(CacheImageInfo.emptyPicDimension, CacheImageInfo.emptyPicDimension); }
|
16432
16445
|
get isLoaded() { return this._referenceInfo ? this._referenceInfo._isLoaded : this._isLoaded; }
|
16433
16446
|
set isLoaded(val) { this._isLoaded = val; }
|
16447
|
+
get isSizeDefined() { return this._referenceInfo ? this._referenceInfo._isSizeDefined : this._isSizeDefined; }
|
16448
|
+
set isSizeDefined(val) { this._isSizeDefined = val; }
|
16434
16449
|
get size() { return this._referenceInfo ? this._referenceInfo._size : this._size; }
|
16435
16450
|
set size(val) { this._size = val; }
|
16436
16451
|
get currId() { return this.actualId !== undefined ? this.actualId : this.tmpId; }
|
@@ -16443,15 +16458,17 @@ class CacheImageInfo {
|
|
16443
16458
|
this._base64 = undefined;
|
16444
16459
|
this._size = undefined;
|
16445
16460
|
this._isLoaded = undefined;
|
16461
|
+
this._isSizeDefined = undefined;
|
16446
16462
|
this.file = undefined;
|
16447
16463
|
}
|
16448
|
-
constructor(base64, actualId, tmpId, imageUrl, file, referenceInfo, size, isLoaded) {
|
16464
|
+
constructor(base64, actualId, tmpId, imageUrl, file, referenceInfo, size, isLoaded, isActualSize) {
|
16449
16465
|
this._base64 = base64 !== undefined ? utils_base64.Base64Utils.normalizeToDataUrl(base64, "image/png") : undefined;
|
16450
16466
|
this.actualId = actualId;
|
16451
16467
|
this.tmpId = tmpId;
|
16452
16468
|
this._referenceInfo = referenceInfo;
|
16453
16469
|
this._size = size ? size : CacheImageInfo.emptyPictureSize;
|
16454
16470
|
this._isLoaded = isLoaded !== undefined ? isLoaded : false;
|
16471
|
+
this._isSizeDefined = isActualSize ? isActualSize : !!size;
|
16455
16472
|
this.imageUrl = imageUrl;
|
16456
16473
|
this.file = file;
|
16457
16474
|
}
|
@@ -16465,7 +16482,7 @@ class CacheImageInfo {
|
|
16465
16482
|
this.size.equals(obj.size);
|
16466
16483
|
}
|
16467
16484
|
clone() {
|
16468
|
-
return new CacheImageInfo(this._base64, this.actualId, this.tmpId, this.imageUrl, this.file, this._referenceInfo, this._size, this._isLoaded);
|
16485
|
+
return new CacheImageInfo(this._base64, this.actualId, this.tmpId, this.imageUrl, this.file, this._referenceInfo, this._size, this._isLoaded, this._isSizeDefined);
|
16469
16486
|
}
|
16470
16487
|
shouldMakeImagePdfCompatible() {
|
16471
16488
|
if ((0,common.isDefined)(this._convertedBase64))
|
@@ -22966,15 +22983,16 @@ class Field {
|
|
22966
22983
|
return newInterval.start = Field.correctIntervalDueToFieldsCaseSelectionCollapsed(subDocument.fields, newInterval.start);
|
22967
22984
|
const indexesInterval = Field.correctIntervalDueToFieldsWithoutUiChecks(subDocument, newInterval);
|
22968
22985
|
utils_list.ListUtils.forEach(fields, (field) => {
|
22969
|
-
if (field.getResultInterval().equals(newInterval) && !this.
|
22986
|
+
if (field.getResultInterval().equals(newInterval) && !this.isResizableObjectSelected(subDocument, newInterval))
|
22970
22987
|
newInterval.expand(field.getAllFieldInterval());
|
22971
22988
|
}, indexesInterval.start, indexesInterval.end);
|
22972
22989
|
}
|
22973
|
-
static
|
22990
|
+
static isResizableObjectSelected(subDocument, interval) {
|
22974
22991
|
if (interval.length !== 1)
|
22975
22992
|
return false;
|
22976
22993
|
const run = subDocument.getRunByPosition(interval.start);
|
22977
|
-
|
22994
|
+
const runType = run && run.getType();
|
22995
|
+
return runType == RunType.AnchoredPictureRun || runType == RunType.AnchoredTextBoxRun || runType == RunType.InlinePictureRun;
|
22978
22996
|
}
|
22979
22997
|
static correctWhenPositionInStartCode(fields, position) {
|
22980
22998
|
if (fields.length < 1)
|
@@ -34176,7 +34194,7 @@ class FieldsWaitingForUpdate {
|
|
34176
34194
|
}
|
34177
34195
|
if (!fieldParser.update(response)) {
|
34178
34196
|
someFieldInCurrentInfoNotUpdated = true;
|
34179
|
-
info.parsers.
|
34197
|
+
info.parsers.unshift(fieldParser);
|
34180
34198
|
}
|
34181
34199
|
else
|
34182
34200
|
fieldParser.destructor();
|
@@ -36105,7 +36123,7 @@ function convertToCharacterPropertiesApi(properties, colorProvider) {
|
|
36105
36123
|
return value;
|
36106
36124
|
}
|
36107
36125
|
function convertFromCharacterPropertiesApi(properties, fontInfoCache, parameterIndex, setRestAsUndefined, propsCoreTemplate) {
|
36108
|
-
var _a, _b, _c, _d, _e, _f, _g, _h
|
36126
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
36109
36127
|
properties = ApiParametersChecker.check(properties, parameterIndex, false, [
|
36110
36128
|
ApiParametersChecker.objectDescriptor('properties', 'CharacterProperties', (val) => val)
|
36111
36129
|
]);
|
@@ -36125,31 +36143,27 @@ function convertFromCharacterPropertiesApi(properties, fontInfoCache, parameterI
|
|
36125
36143
|
propsCoreTemplate.fontItalic = (_d = ApiParametersChecker.check(properties.italic, parameterIndex, true, [
|
36126
36144
|
ApiParametersChecker.booleanDescriptor('properties.italic', (val) => val)
|
36127
36145
|
])) !== null && _d !== void 0 ? _d : propsCoreTemplate.fontItalic;
|
36128
|
-
|
36129
|
-
ApiParametersChecker.stringDescriptor('properties.fontName', (
|
36130
|
-
|
36131
|
-
|
36132
|
-
|
36133
|
-
return fontInfo;
|
36134
|
-
}, false)
|
36135
|
-
])) !== null && _e !== void 0 ? _e : propsCoreTemplate.fontInfo;
|
36136
|
-
propsCoreTemplate.fontSize = (_f = ApiParametersChecker.check(properties.size, parameterIndex, true, [
|
36146
|
+
const fontInfo = ApiParametersChecker.check(properties.fontName, parameterIndex, true, [
|
36147
|
+
ApiParametersChecker.stringDescriptor('properties.fontName', (value) => fontInfoCache.getItemByName(value), false)
|
36148
|
+
]);
|
36149
|
+
propsCoreTemplate.fontInfo = fontInfo === undefined ? propsCoreTemplate.fontInfo : fontInfo !== null && fontInfo !== void 0 ? fontInfo : fontInfoCache.addFont(properties.fontName, properties.fontName);
|
36150
|
+
propsCoreTemplate.fontSize = (_e = ApiParametersChecker.check(properties.size, parameterIndex, true, [
|
36137
36151
|
ApiParametersChecker.numberDescriptor('properties.size', (val) => val, 0, 601)
|
36138
|
-
])) !== null &&
|
36139
|
-
propsCoreTemplate.hidden = (
|
36152
|
+
])) !== null && _e !== void 0 ? _e : propsCoreTemplate.fontSize;
|
36153
|
+
propsCoreTemplate.hidden = (_f = ApiParametersChecker.check(properties.hidden, parameterIndex, true, [
|
36140
36154
|
ApiParametersChecker.booleanDescriptor('properties.hidden', (val) => val)
|
36141
|
-
])) !== null &&
|
36155
|
+
])) !== null && _f !== void 0 ? _f : propsCoreTemplate.hidden;
|
36142
36156
|
const shadigInfoColor = ApiParametersChecker.check(properties.backColor, parameterIndex, true, ModelParametersChecker.colorDescriptors('properties.backColor'));
|
36143
36157
|
propsCoreTemplate.shadingInfo = shadigInfoColor === undefined ? propsCoreTemplate.shadingInfo :
|
36144
36158
|
ShadingInfo.createByColor(color_model_info_ColorModelInfo.makeByColor(shadigInfoColor));
|
36145
|
-
propsCoreTemplate.script = (
|
36159
|
+
propsCoreTemplate.script = (_g = ApiParametersChecker.check(properties.script, parameterIndex, true, [
|
36146
36160
|
ApiParametersChecker.enumDescriptor('properties.script', (val) => val, CharacterPropertiesScriptApi, 'CharacterPropertiesScript')
|
36147
|
-
])) !== null &&
|
36161
|
+
])) !== null && _g !== void 0 ? _g : propsCoreTemplate.script;
|
36148
36162
|
const underlineColor = ApiParametersChecker.check(properties.underlineColor, parameterIndex, true, ModelParametersChecker.colorDescriptors('properties.underlineColor'));
|
36149
36163
|
propsCoreTemplate.underlineColor = underlineColor === undefined ? propsCoreTemplate.underlineColor : color_model_info_ColorModelInfo.makeByColor(underlineColor);
|
36150
|
-
propsCoreTemplate.underlineWordsOnly = (
|
36164
|
+
propsCoreTemplate.underlineWordsOnly = (_h = ApiParametersChecker.check(properties.underlineWordsOnly, parameterIndex, true, [
|
36151
36165
|
ApiParametersChecker.booleanDescriptor('properties.underlineWordsOnly', (val) => val)
|
36152
|
-
])) !== null &&
|
36166
|
+
])) !== null && _h !== void 0 ? _h : propsCoreTemplate.underlineWordsOnly;
|
36153
36167
|
const strikeout = ApiParametersChecker.check(properties.strikeout, parameterIndex, true, [
|
36154
36168
|
ApiParametersChecker.booleanDescriptor('properties.strikeout', (val) => val)
|
36155
36169
|
]);
|
@@ -40510,7 +40524,7 @@ class CharacterPropertiesUseValueManipulator {
|
|
40510
40524
|
constructor(manipulator) {
|
40511
40525
|
this.manipulator = manipulator;
|
40512
40526
|
}
|
40513
|
-
setValue(subDocument, interval, newValue) {
|
40527
|
+
setValue(subDocument, interval, newValue, keepCustomFormatting = false) {
|
40514
40528
|
var oldState = new HistoryItemIntervalState();
|
40515
40529
|
if (!ControlOptions.isEnabled(subDocument.documentModel.options.characterFormatting))
|
40516
40530
|
return oldState;
|
@@ -40520,7 +40534,7 @@ class CharacterPropertiesUseValueManipulator {
|
|
40520
40534
|
var run = iterator.currentRun;
|
40521
40535
|
oldState.register(new HistoryItemIntervalStateObject(iterator.currentInterval(), run.maskedCharacterProperties.getUseValueFull()));
|
40522
40536
|
var properties = run.maskedCharacterProperties.clone();
|
40523
|
-
properties.setUseValueFull(newValue);
|
40537
|
+
properties.setUseValueFull(newValue, keepCustomFormatting);
|
40524
40538
|
run.setCharacterProperties(properties);
|
40525
40539
|
run.onCharacterPropertiesChanged();
|
40526
40540
|
}
|
@@ -43204,7 +43218,7 @@ class PictureManipulator extends RunsBaseManipulator {
|
|
43204
43218
|
this.history.addTransaction(() => {
|
43205
43219
|
this.modelManipulator.range.removeInterval(new SubDocumentInterval(subDocument, interval), true, false);
|
43206
43220
|
const newInfo = new InlinePictureInfo(pictureRun.size.clone(), new Shape(), -1, pictureRun.info.containerProperties, pictureRun.info.nonVisualDrawingProperties);
|
43207
|
-
this.modelManipulator.picture.insertInlinePictureViaHistory(new SubDocumentPosition(subDocument, interval.start), charPropsBundle, newInfo);
|
43221
|
+
this.modelManipulator.picture.insertInlinePictureViaHistory(new SubDocumentPosition(subDocument, interval.start), charPropsBundle, newInfo, new ImageLoadingOptions(!pictureRun.cacheInfo.isSizeDefined));
|
43208
43222
|
});
|
43209
43223
|
}
|
43210
43224
|
}
|
@@ -43219,7 +43233,7 @@ class PictureManipulator extends RunsBaseManipulator {
|
|
43219
43233
|
anchorInfo.zOrder = this.modelManipulator.floatingObject.zOrder.getNewZOrder(subDocument);
|
43220
43234
|
this.modelManipulator.range.removeInterval(new SubDocumentInterval(subDocument, interval), true, false);
|
43221
43235
|
const newInfo = new AnchorPictureInfo(pictureRun.size.clone(), new Shape(), anchorInfo, pictureRun.info.containerProperties, pictureRun.info.nonVisualDrawingProperties);
|
43222
|
-
this.modelManipulator.picture.insertAnchoredPictureViaHistory(new SubDocumentPosition(subDocument, interval.start), charPropsBundle, newInfo, new ImageLoadingOptions(
|
43236
|
+
this.modelManipulator.picture.insertAnchoredPictureViaHistory(new SubDocumentPosition(subDocument, interval.start), charPropsBundle, newInfo, new ImageLoadingOptions(!pictureRun.cacheInfo.isSizeDefined));
|
43223
43237
|
run = subDocument.getRunByPosition(interval.start);
|
43224
43238
|
}
|
43225
43239
|
let anchoredRun = run.getType() == RunType.AnchoredPictureRun ? run : run;
|
@@ -70761,10 +70775,104 @@ var SelectionBatchUpdateEvents;
|
|
70761
70775
|
SelectionBatchUpdateEvents[SelectionBatchUpdateEvents["MisspelledSelectionChanged"] = 8] = "MisspelledSelectionChanged";
|
70762
70776
|
})(SelectionBatchUpdateEvents || (SelectionBatchUpdateEvents = {}));
|
70763
70777
|
|
70778
|
+
;// CONCATENATED MODULE: ./src/common/utils/mixed-size.ts
|
70779
|
+
|
70780
|
+
class MixedSize {
|
70781
|
+
constructor() {
|
70782
|
+
this._UISizePart = 0;
|
70783
|
+
this._layoutSizePart = 0;
|
70784
|
+
this._scale = 1;
|
70785
|
+
this._scaleIsSpecified = false;
|
70786
|
+
}
|
70787
|
+
static fromLayout(value) {
|
70788
|
+
return new MixedSize().addLayoutSize(value);
|
70789
|
+
}
|
70790
|
+
static fromUI(value) {
|
70791
|
+
return new MixedSize().addUISize(value);
|
70792
|
+
}
|
70793
|
+
get UISize() {
|
70794
|
+
this.checkScaleIsSpecified();
|
70795
|
+
if (!(0,common.isDefined)(this._UISize))
|
70796
|
+
this._UISize = this._layoutSizePart * this._scale + this._UISizePart;
|
70797
|
+
return this._UISize;
|
70798
|
+
}
|
70799
|
+
get LayoutSize() {
|
70800
|
+
this.checkScaleIsSpecified();
|
70801
|
+
if (!(0,common.isDefined)(this._layoutSize))
|
70802
|
+
this._layoutSize = this._layoutSizePart + this._UISizePart / this._scale;
|
70803
|
+
return this._layoutSize;
|
70804
|
+
}
|
70805
|
+
get UISizePart() {
|
70806
|
+
return this._UISizePart;
|
70807
|
+
}
|
70808
|
+
set UISizePart(value) {
|
70809
|
+
this._UISizePart = value;
|
70810
|
+
this.onSizeChanged();
|
70811
|
+
}
|
70812
|
+
get LayoutSizePart() {
|
70813
|
+
return this._layoutSizePart;
|
70814
|
+
}
|
70815
|
+
set LayoutSizePart(value) {
|
70816
|
+
this._layoutSizePart = value;
|
70817
|
+
this.onSizeChanged();
|
70818
|
+
}
|
70819
|
+
onSizeChanged() {
|
70820
|
+
this._UISize = null;
|
70821
|
+
this._layoutSize = null;
|
70822
|
+
}
|
70823
|
+
addUISize(value) {
|
70824
|
+
this.UISizePart += value;
|
70825
|
+
return this;
|
70826
|
+
}
|
70827
|
+
addLayoutSize(value) {
|
70828
|
+
this.LayoutSizePart += value;
|
70829
|
+
return this;
|
70830
|
+
}
|
70831
|
+
addSize(value) {
|
70832
|
+
this.checkSizeHasSameScale(value);
|
70833
|
+
this.addLayoutSize(value._layoutSizePart);
|
70834
|
+
this.addUISize(value._UISizePart);
|
70835
|
+
return this;
|
70836
|
+
}
|
70837
|
+
subtractUISize(value) {
|
70838
|
+
this.UISizePart -= value;
|
70839
|
+
return this;
|
70840
|
+
}
|
70841
|
+
subtractLayoutSize(value) {
|
70842
|
+
this.LayoutSizePart -= value;
|
70843
|
+
return this;
|
70844
|
+
}
|
70845
|
+
subtractSize(value) {
|
70846
|
+
this.checkSizeHasSameScale(value);
|
70847
|
+
this.subtractLayoutSize(value._layoutSizePart);
|
70848
|
+
this.subtractUISize(value._UISizePart);
|
70849
|
+
return this;
|
70850
|
+
}
|
70851
|
+
checkSizeHasSameScale(size) {
|
70852
|
+
if (size._scaleIsSpecified && size._scale !== this._scale)
|
70853
|
+
throw new Error("The size has a different scale and cannot be added.");
|
70854
|
+
}
|
70855
|
+
checkScaleIsSpecified() {
|
70856
|
+
if (!this._scaleIsSpecified)
|
70857
|
+
console.warn("MixedSize is used without specifying the scale.");
|
70858
|
+
}
|
70859
|
+
useScale(value) {
|
70860
|
+
this._scale = value;
|
70861
|
+
this._scaleIsSpecified = true;
|
70862
|
+
return this;
|
70863
|
+
}
|
70864
|
+
clear() {
|
70865
|
+
this.UISizePart = 0;
|
70866
|
+
this.LayoutSizePart = 0;
|
70867
|
+
return this;
|
70868
|
+
}
|
70869
|
+
}
|
70870
|
+
|
70764
70871
|
;// CONCATENATED MODULE: ./src/common/layout/document-layout.ts
|
70765
70872
|
|
70766
70873
|
|
70767
70874
|
|
70875
|
+
|
70768
70876
|
class ModelPositionHolder {
|
70769
70877
|
constructor(pos, posManager) {
|
70770
70878
|
this.pos = posManager.registerPosition(pos);
|
@@ -70830,7 +70938,9 @@ class DocumentLayout {
|
|
70830
70938
|
return this.pages.find((page) => !!page.mainSubDocumentPageAreas[subDocumentId] || !!page.otherPageAreas[subDocumentId]);
|
70831
70939
|
}
|
70832
70940
|
findPageIndexByOffsetY(offsetY, sizeInfo) {
|
70833
|
-
|
70941
|
+
const getPageOffsetY = (p) => MixedSize.fromLayout(sizeInfo.getPageOffsetY(p)).useScale(sizeInfo.zoomLevel).UISize;
|
70942
|
+
const normedInterpolationIndex = search.SearchUtils.normedInterpolationIndexOf(this.pages, getPageOffsetY, offsetY);
|
70943
|
+
return Math.max(0, normedInterpolationIndex);
|
70834
70944
|
}
|
70835
70945
|
}
|
70836
70946
|
|
@@ -84850,7 +84960,7 @@ class ImagesApi {
|
|
84850
84960
|
applyVerticalPosition(verticalPosition, anchorInfo);
|
84851
84961
|
const anchorPictureInfo = new AnchorPictureInfo(new PictureSize(true, 0, cacheInfo, new geometry_size.Size(100, 100)), shape, anchorInfo, new NonVisualDrawingObjectInfo(), new NonVisualDrawingObjectInfo());
|
84852
84962
|
anchorPictureInfo.containerProperties.description = options.description;
|
84853
|
-
this._processor.modelManager.modelManipulator.picture.insertAnchoredPictureViaHistory(new SubDocumentPosition(this._subDocument, position), inputPos.charPropsBundle, anchorPictureInfo,
|
84963
|
+
this._processor.modelManager.modelManipulator.picture.insertAnchoredPictureViaHistory(new SubDocumentPosition(this._subDocument, position), inputPos.charPropsBundle, anchorPictureInfo, ImageLoadingOptions.initByActualSize(size ? new geometry_size.Size(size.width, size.height) : undefined, (_picInterval, _cacheInfo) => setTimeout(() => {
|
84854
84964
|
callback(getFloatingImageApiFromRun(this._processor, this._subDocument, this._subDocument.getRunAndIndexesByPosition(position)));
|
84855
84965
|
}, 0)));
|
84856
84966
|
this._processor.endUpdate();
|
@@ -85880,6 +85990,191 @@ class sub_documents_collection_SubDocumentCollection extends Collection {
|
|
85880
85990
|
}
|
85881
85991
|
}
|
85882
85992
|
|
85993
|
+
;// CONCATENATED MODULE: ./src/common/model/fonts/google-fonts.ts
|
85994
|
+
|
85995
|
+
|
85996
|
+
|
85997
|
+
|
85998
|
+
|
85999
|
+
class GoogleFontsApi {
|
86000
|
+
constructor(controlFontsCache, fonts) {
|
86001
|
+
this.fontFamilyToFontInfo = {};
|
86002
|
+
this.fonts = fonts;
|
86003
|
+
this.controlFontsCache = controlFontsCache;
|
86004
|
+
const params = this.fonts.map(font => {
|
86005
|
+
const fontFamily = font.getFontFamilies()[0];
|
86006
|
+
this.fontFamilyToFontInfo[fontFamily] = font;
|
86007
|
+
return `${fontFamily.replace(' ', '+')}:regular,bold,italic,bolditalic`;
|
86008
|
+
}).join('|');
|
86009
|
+
this.uri = `https://fonts.googleapis.com/css?family=${params}`;
|
86010
|
+
}
|
86011
|
+
loadControlFonts(callback) {
|
86012
|
+
const notLoaded = () => callback([]);
|
86013
|
+
const xhr = new XMLHttpRequest();
|
86014
|
+
xhr.onload = (_e) => {
|
86015
|
+
const responce = xhr.response;
|
86016
|
+
if (xhr.status >= 400 || !responce)
|
86017
|
+
notLoaded();
|
86018
|
+
else
|
86019
|
+
callback(this.parseResponce(responce));
|
86020
|
+
};
|
86021
|
+
xhr.onerror = () => notLoaded();
|
86022
|
+
xhr.open("GET", this.uri, true);
|
86023
|
+
xhr.responseType = "text";
|
86024
|
+
xhr.send();
|
86025
|
+
}
|
86026
|
+
parseResponce(responce) {
|
86027
|
+
const result = [];
|
86028
|
+
let regexpResult;
|
86029
|
+
const regexp = /@font-face\s*\{([\s\S]*?)\}/gm;
|
86030
|
+
while (regexpResult = regexp.exec(responce)) {
|
86031
|
+
const fontInfo = regexpResult[1];
|
86032
|
+
const fontFamily = fontInfo.match(/font-family:\s*'(\w+\s*\w*)';/);
|
86033
|
+
if (fontFamily && fontFamily[1]) {
|
86034
|
+
const url = GoogleFontsApi.parseSrc(fontInfo.match(/src:\s*(.+);/));
|
86035
|
+
const fontStyle = fontInfo.match(/font-style:\s*(\w+);/);
|
86036
|
+
const fontWeight = fontInfo.match(/font-weight:\s*(.+);/);
|
86037
|
+
const unicodeRange = fontInfo.match(/unicode-range:\s*(.+);/);
|
86038
|
+
const desc = new FontFaceDescriptors();
|
86039
|
+
if (fontStyle && fontStyle[1])
|
86040
|
+
desc.style = fontStyle[1];
|
86041
|
+
if (fontWeight && fontWeight[1])
|
86042
|
+
desc.weight = fontWeight[1];
|
86043
|
+
if (unicodeRange && unicodeRange[1])
|
86044
|
+
desc.unicodeRange = unicodeRange[1];
|
86045
|
+
const controlFont = this.controlFontsCache.addFont(new ControlFont(fontFamily[1], desc));
|
86046
|
+
if (url && utils_list.ListUtils.allOf(controlFont.sourceUrls, s => s != url)) {
|
86047
|
+
controlFont.sourceUrls.unshift(url);
|
86048
|
+
const fontInfo = this.fontFamilyToFontInfo[controlFont.fontFamily];
|
86049
|
+
const controlFontType = new class_flag.Flag();
|
86050
|
+
controlFontType.set(ControlFontType.Bold, controlFont.descriptors.msWordBold());
|
86051
|
+
controlFontType.set(ControlFontType.Italic, controlFont.descriptors.msWordItalic());
|
86052
|
+
fontInfo.controlFontMap[controlFontType.getValue()] = controlFont.cacheKey;
|
86053
|
+
result.push(controlFont);
|
86054
|
+
}
|
86055
|
+
}
|
86056
|
+
}
|
86057
|
+
return result;
|
86058
|
+
}
|
86059
|
+
static parseSrc(matchSrc) {
|
86060
|
+
if (matchSrc && matchSrc[1])
|
86061
|
+
for (let src of matchSrc[1].split(',')) {
|
86062
|
+
const matchUrl = src.match(/url\((.+)\)\s*format\('(\w+)'\)/);
|
86063
|
+
if (matchUrl)
|
86064
|
+
return matchUrl[1];
|
86065
|
+
}
|
86066
|
+
return null;
|
86067
|
+
}
|
86068
|
+
}
|
86069
|
+
|
86070
|
+
;// CONCATENATED MODULE: ./src/common/model/creator/cache.ts
|
86071
|
+
|
86072
|
+
|
86073
|
+
class ModelCacheFiller {
|
86074
|
+
constructor(model, fontsSettings) {
|
86075
|
+
this.model = model;
|
86076
|
+
this.fontsSettings = fontsSettings;
|
86077
|
+
}
|
86078
|
+
fillCache() {
|
86079
|
+
this.makeFontMap();
|
86080
|
+
this.replaceCharProperties(this.model, "defaultCharacterProperties");
|
86081
|
+
this.model.characterStyles.forEach(style => this.replaceCharProperties(style, "maskedCharacterProperties"));
|
86082
|
+
this.model.paragraphStyles.forEach(style => this.replaceCharProperties(style, "maskedCharacterProperties"));
|
86083
|
+
this.model.tableStyles.forEach(style => {
|
86084
|
+
this.replaceCharProperties(style.baseConditionalStyle, 'maskedCharacterProperties');
|
86085
|
+
number/* NumberMapUtils */.j.forEach(style.conditionalStyles, style => this.replaceCharProperties(style, 'maskedCharacterProperties'));
|
86086
|
+
});
|
86087
|
+
number/* NumberMapUtils */.j.forEach(this.model.subDocuments, sd => this.replaceInModelSubDocument(sd));
|
86088
|
+
}
|
86089
|
+
makeFontMap() {
|
86090
|
+
const fontInfoCache = this.model.cache.fontInfoCache;
|
86091
|
+
const fontsSettings = this.fontsSettings;
|
86092
|
+
this.fontMap = Object.create(null);
|
86093
|
+
fontInfoCache.getAllFonts().forEach(font => this.fontMap[font.name] = fontsSettings.getPermittedFont(fontInfoCache, font));
|
86094
|
+
}
|
86095
|
+
replaceCharProperties(object, propKey) {
|
86096
|
+
const props = object[propKey];
|
86097
|
+
props.fontInfo = props.fontInfo ? this.fontMap[props.fontInfo.name] : this.model.defaultCharacterProperties.fontInfo;
|
86098
|
+
if (props instanceof MaskedCharacterProperties)
|
86099
|
+
object[propKey] = this.model.cache.maskedCharacterPropertiesCache.getItem(props);
|
86100
|
+
else
|
86101
|
+
object[propKey] = this.model.cache.mergedCharacterPropertiesCache.getItem(props);
|
86102
|
+
}
|
86103
|
+
replaceInModelSubDocument(sd) {
|
86104
|
+
sd.paragraphs.forEach(p => p.resetParagraphMergedProperties());
|
86105
|
+
sd.chunks.forEach(chunk => {
|
86106
|
+
chunk.textRuns.forEach(run => {
|
86107
|
+
this.replaceCharProperties(run, 'maskedCharacterProperties');
|
86108
|
+
run.resetCharacterMergedProperties();
|
86109
|
+
});
|
86110
|
+
});
|
86111
|
+
}
|
86112
|
+
}
|
86113
|
+
|
86114
|
+
;// CONCATENATED MODULE: ./src/common/model/creator/font-corrector.ts
|
86115
|
+
|
86116
|
+
|
86117
|
+
|
86118
|
+
|
86119
|
+
|
86120
|
+
|
86121
|
+
|
86122
|
+
class FontCorrector {
|
86123
|
+
get fontInfoCache() {
|
86124
|
+
return this.model.cache.fontInfoCache;
|
86125
|
+
}
|
86126
|
+
get controlFontsCache() {
|
86127
|
+
return this.model.cache.controlFontsCache;
|
86128
|
+
}
|
86129
|
+
constructor(modelManipulator, model, fonts) {
|
86130
|
+
this.modelManipulator = modelManipulator;
|
86131
|
+
this.model = model;
|
86132
|
+
this.fonts = fonts;
|
86133
|
+
}
|
86134
|
+
correct() {
|
86135
|
+
this.addAndLoad();
|
86136
|
+
new ModelCacheFiller(this.model, this.fonts).fillCache();
|
86137
|
+
this.removeRedundant();
|
86138
|
+
this.modelManipulator.raiseFontListChanged(this.fontInfoCache);
|
86139
|
+
}
|
86140
|
+
addAndLoad() {
|
86141
|
+
this.fonts.fonts.forEach(font => {
|
86142
|
+
let newFont = this.fontInfoCache.getItemByName(font.name);
|
86143
|
+
if (!newFont)
|
86144
|
+
newFont = this.fontInfoCache.addFont(font.name, font.fontFamily);
|
86145
|
+
else
|
86146
|
+
newFont.cssString = FontInfoCache.correctCssString(font.fontFamily);
|
86147
|
+
const addControlFont = (uri, desc) => {
|
86148
|
+
const controlFont = this.controlFontsCache.addFont(new ControlFont(font.fontFamily, desc));
|
86149
|
+
controlFont.sourceUrls.unshift(uri);
|
86150
|
+
const controlFontType = new class_flag.Flag();
|
86151
|
+
controlFontType.set(ControlFontType.Bold, controlFont.descriptors.msWordBold());
|
86152
|
+
controlFontType.set(ControlFontType.Italic, controlFont.descriptors.msWordItalic());
|
86153
|
+
newFont.controlFontMap[controlFontType.getValue()] = controlFont.cacheKey;
|
86154
|
+
};
|
86155
|
+
if (font.regularFontUri)
|
86156
|
+
addControlFont(font.regularFontUri, FontFaceDescriptors.create({}));
|
86157
|
+
if (font.boldFontUri)
|
86158
|
+
addControlFont(font.boldFontUri, FontFaceDescriptors.create({ weight: 'bold' }));
|
86159
|
+
if (font.italicFontUri)
|
86160
|
+
addControlFont(font.italicFontUri, FontFaceDescriptors.create({ style: 'italic' }));
|
86161
|
+
if (font.boldItalicFontUri)
|
86162
|
+
addControlFont(font.boldItalicFontUri, FontFaceDescriptors.create({ weight: 'bold', style: 'italic' }));
|
86163
|
+
if (font.googleFontsResponse)
|
86164
|
+
new GoogleFontsApi(this.controlFontsCache, [newFont]).parseResponce(font.googleFontsResponse);
|
86165
|
+
else if (font.useGoogleFonts)
|
86166
|
+
new GoogleFontsApi(this.controlFontsCache, [newFont]).loadControlFonts(_createdFonts => { });
|
86167
|
+
});
|
86168
|
+
}
|
86169
|
+
removeRedundant() {
|
86170
|
+
if (this.fonts.limitedFonts) {
|
86171
|
+
const map = {};
|
86172
|
+
this.fonts.fonts.forEach(f => map[f.name] = f);
|
86173
|
+
this.fontInfoCache.removeItems(font => !map[font.name]);
|
86174
|
+
}
|
86175
|
+
}
|
86176
|
+
}
|
86177
|
+
|
85883
86178
|
;// CONCATENATED MODULE: ./src/client/model-api/document.ts
|
85884
86179
|
|
85885
86180
|
|
@@ -85890,6 +86185,7 @@ class sub_documents_collection_SubDocumentCollection extends Collection {
|
|
85890
86185
|
|
85891
86186
|
|
85892
86187
|
|
86188
|
+
|
85893
86189
|
class RichEditDocumentApi {
|
85894
86190
|
constructor(processor) {
|
85895
86191
|
this._processor = processor;
|
@@ -85988,6 +86284,7 @@ class RichEditDocumentApi {
|
|
85988
86284
|
this._processor.modelManager.model.defaultCharacterProperties =
|
85989
86285
|
this._processor.modelManager.model.cache.maskedCharacterPropertiesCache.getItem(propertiesCore);
|
85990
86286
|
number/* NumberMapUtils */.j.forEach(this._processor.modelManager.model.subDocuments, (sd) => sd.resetMergedFormattingCache(ResetFormattingCacheType.All));
|
86287
|
+
new FontCorrector(this._processor.modelManager.modelManipulator, this._processor.modelManager.model, this._processor.modelManager.richOptions.fonts).correct();
|
85991
86288
|
this._processor.layoutFormatterManager.restartManager.restartAllLayout();
|
85992
86289
|
this._processor.endUpdate();
|
85993
86290
|
}
|
@@ -86418,7 +86715,6 @@ var RichEditClientCommand;
|
|
86418
86715
|
RichEditClientCommand[RichEditClientCommand["GetHtml"] = 458] = "GetHtml";
|
86419
86716
|
RichEditClientCommand[RichEditClientCommand["CreateEmptyIfField"] = 459] = "CreateEmptyIfField";
|
86420
86717
|
RichEditClientCommand[RichEditClientCommand["ChangeZoomLevel"] = 460] = "ChangeZoomLevel";
|
86421
|
-
RichEditClientCommand[RichEditClientCommand["ToggleAllowZoom"] = 461] = "ToggleAllowZoom";
|
86422
86718
|
})(RichEditClientCommand || (RichEditClientCommand = {}));
|
86423
86719
|
|
86424
86720
|
;// CONCATENATED MODULE: ./src/common/interfaces/i-rich-edit-core.ts
|
@@ -96092,7 +96388,7 @@ class WordHolderInfo {
|
|
96092
96388
|
}
|
96093
96389
|
if (res == null)
|
96094
96390
|
return false;
|
96095
|
-
if (this.rowFormatter.row.isEmpty()) {
|
96391
|
+
if (this.rowFormatter.row.isEmpty() || this.rowFormatter.row.containsSpacesOnly()) {
|
96096
96392
|
if (this.rowFormatter.rowSizesManager.rowFormattingInfo.isFloatingIntersectRow) {
|
96097
96393
|
this.rowFormatter.rowSizesManager.rowFormattingInfo.findNextYPosWhatHasNeededSpace(res.requiredWidth);
|
96098
96394
|
return this.pushBoxes();
|
@@ -108108,99 +108404,6 @@ class DimensionInfo {
|
|
108108
108404
|
}
|
108109
108405
|
}
|
108110
108406
|
|
108111
|
-
;// CONCATENATED MODULE: ./src/common/utils/mixed-size.ts
|
108112
|
-
|
108113
|
-
class MixedSize {
|
108114
|
-
constructor() {
|
108115
|
-
this._UISizePart = 0;
|
108116
|
-
this._layoutSizePart = 0;
|
108117
|
-
this._scale = 1;
|
108118
|
-
this._scaleIsSpecified = false;
|
108119
|
-
}
|
108120
|
-
static fromLayout(value) {
|
108121
|
-
return new MixedSize().addLayoutSize(value);
|
108122
|
-
}
|
108123
|
-
static fromUI(value) {
|
108124
|
-
return new MixedSize().addUISize(value);
|
108125
|
-
}
|
108126
|
-
get UISize() {
|
108127
|
-
this.checkScaleIsSpecified();
|
108128
|
-
if (!(0,common.isDefined)(this._UISize))
|
108129
|
-
this._UISize = this._layoutSizePart * this._scale + this._UISizePart;
|
108130
|
-
return this._UISize;
|
108131
|
-
}
|
108132
|
-
get LayoutSize() {
|
108133
|
-
this.checkScaleIsSpecified();
|
108134
|
-
if (!(0,common.isDefined)(this._layoutSize))
|
108135
|
-
this._layoutSize = this._layoutSizePart + this._UISizePart / this._scale;
|
108136
|
-
return this._layoutSize;
|
108137
|
-
}
|
108138
|
-
get UISizePart() {
|
108139
|
-
return this._UISizePart;
|
108140
|
-
}
|
108141
|
-
set UISizePart(value) {
|
108142
|
-
this._UISizePart = value;
|
108143
|
-
this.onSizeChanged();
|
108144
|
-
}
|
108145
|
-
get LayoutSizePart() {
|
108146
|
-
return this._layoutSizePart;
|
108147
|
-
}
|
108148
|
-
set LayoutSizePart(value) {
|
108149
|
-
this._layoutSizePart = value;
|
108150
|
-
this.onSizeChanged();
|
108151
|
-
}
|
108152
|
-
onSizeChanged() {
|
108153
|
-
this._UISize = null;
|
108154
|
-
this._layoutSize = null;
|
108155
|
-
}
|
108156
|
-
addUISize(value) {
|
108157
|
-
this.UISizePart += value;
|
108158
|
-
return this;
|
108159
|
-
}
|
108160
|
-
addLayoutSize(value) {
|
108161
|
-
this.LayoutSizePart += value;
|
108162
|
-
return this;
|
108163
|
-
}
|
108164
|
-
addSize(value) {
|
108165
|
-
this.checkSizeHasSameScale(value);
|
108166
|
-
this.addLayoutSize(value._layoutSizePart);
|
108167
|
-
this.addUISize(value._UISizePart);
|
108168
|
-
return this;
|
108169
|
-
}
|
108170
|
-
subtractUISize(value) {
|
108171
|
-
this.UISizePart -= value;
|
108172
|
-
return this;
|
108173
|
-
}
|
108174
|
-
subtractLayoutSize(value) {
|
108175
|
-
this.LayoutSizePart -= value;
|
108176
|
-
return this;
|
108177
|
-
}
|
108178
|
-
subtractSize(value) {
|
108179
|
-
this.checkSizeHasSameScale(value);
|
108180
|
-
this.subtractLayoutSize(value._layoutSizePart);
|
108181
|
-
this.subtractUISize(value._UISizePart);
|
108182
|
-
return this;
|
108183
|
-
}
|
108184
|
-
checkSizeHasSameScale(size) {
|
108185
|
-
if (size._scaleIsSpecified && size._scale !== this._scale)
|
108186
|
-
throw new Error("The size has a different scale and cannot be added.");
|
108187
|
-
}
|
108188
|
-
checkScaleIsSpecified() {
|
108189
|
-
if (!this._scaleIsSpecified)
|
108190
|
-
console.warn("MixedSize is used without specifying the scale.");
|
108191
|
-
}
|
108192
|
-
useScale(value) {
|
108193
|
-
this._scale = value;
|
108194
|
-
this._scaleIsSpecified = true;
|
108195
|
-
return this;
|
108196
|
-
}
|
108197
|
-
clear() {
|
108198
|
-
this.UISizePart = 0;
|
108199
|
-
this.LayoutSizePart = 0;
|
108200
|
-
return this;
|
108201
|
-
}
|
108202
|
-
}
|
108203
|
-
|
108204
108407
|
;// CONCATENATED MODULE: ./src/common/canvas/canvas-manager.ts
|
108205
108408
|
|
108206
108409
|
|
@@ -108458,7 +108661,7 @@ class CanvasManager extends batch_updatable/* BatchUpdatableObject */.IS {
|
|
108458
108661
|
const canvasX = MixedSize.fromUI(dom.DomUtils.getAbsolutePositionX(canvas));
|
108459
108662
|
const canvasY = MixedSize.fromUI(dom.DomUtils.getAbsolutePositionY(canvas));
|
108460
108663
|
const offsetY = MixedSize.fromUI(canvas.scrollTop).addSize(clientY).subtractSize(canvasY).useScale(scaleY);
|
108461
|
-
const pageIndex = this.viewManager.layout.findPageIndexByOffsetY(offsetY.LayoutSize, this.sizes);
|
108664
|
+
const pageIndex = this.viewManager.layout.findPageIndexByOffsetY(offsetY.LayoutSize * scaleY, this.sizes);
|
108462
108665
|
const visibleAreaWidth = MixedSize.fromUI(this.sizes.getVisibleAreaWidth(false));
|
108463
108666
|
const visibleAreaHeight = MixedSize.fromUI(this.sizes.getVisibleAreaHeight(false));
|
108464
108667
|
if (checkScroll) {
|
@@ -108806,9 +109009,9 @@ class CanvasSizeInfo {
|
|
108806
109009
|
this.setVisibleAreaSize(SizeUtils.getClientWidth(canvas), SizeUtils.getClientHeight(canvas));
|
108807
109010
|
}
|
108808
109011
|
getPageOffsetY(layoutPage) {
|
108809
|
-
|
108810
|
-
return pageOffsetY * this.zoomLevelHolder.zoomLevel;
|
109012
|
+
return layoutPage.y + (this.topSpacing + layoutPage.index * this.betweenPageSpacing);
|
108811
109013
|
}
|
109014
|
+
get zoomLevel() { return this.zoomLevelHolder.zoomLevel; }
|
108812
109015
|
setVisibleAreaSize(width, height) {
|
108813
109016
|
this.visibleAreaSize.width = width;
|
108814
109017
|
this.visibleAreaSize.height = height;
|
@@ -110112,6 +110315,7 @@ class ZoomLevelChange {
|
|
110112
110315
|
|
110113
110316
|
|
110114
110317
|
|
110318
|
+
|
110115
110319
|
|
110116
110320
|
|
110117
110321
|
class ViewManager {
|
@@ -110199,9 +110403,9 @@ class ViewManager {
|
|
110199
110403
|
const pageInfo = layoutSelection.selectionInfo.pageInfos[pageIndex];
|
110200
110404
|
const item = pageInfo.oldItems[0];
|
110201
110405
|
const layoutPage = this.layout.pages[pageIndex];
|
110202
|
-
const x = layoutPage.x + this.cache[pageIndex].page.offsetLeft + item.x;
|
110203
|
-
const y = this.sizes.getPageOffsetY(layoutPage) + item.y;
|
110204
|
-
this.inputController.setPosition(x, y);
|
110406
|
+
const x = MixedSize.fromLayout(layoutPage.x + this.cache[pageIndex].page.offsetLeft + item.x).useScale(this.zoomLevel);
|
110407
|
+
const y = MixedSize.fromLayout(this.sizes.getPageOffsetY(layoutPage) + item.y).useScale(this.zoomLevel);
|
110408
|
+
this.inputController.setPosition(x.UISize, y.UISize);
|
110205
110409
|
}
|
110206
110410
|
}
|
110207
110411
|
NotifySearchSelectionLayoutChanged() {
|
@@ -111562,7 +111766,7 @@ class IFrameInputEditor extends InputEditorBase {
|
|
111562
111766
|
const propChar = HtmlConverter.getSizeSignificantRules(this.control.inputPosition.getMergedCharacterPropertiesRaw()).join(";");
|
111563
111767
|
this.editableDocument.body.style.cssText = "padding: 0px; margin: 0px; overflow: hidden; color: transparent; " + propChar;
|
111564
111768
|
this.editableDocument.body.style.textIndent = currentTextIndent;
|
111565
|
-
if (browser.Browser.Firefox) {
|
111769
|
+
if (browser.Browser.Firefox && browser.Browser.Version <= 137) {
|
111566
111770
|
this.editableDocument.body.style.zoom = this.control.viewManager.zoomLevel;
|
111567
111771
|
}
|
111568
111772
|
let layoutX = layoutPosition.getLayoutX(this.control.measurer, DocumentLayoutDetailsLevel.Row);
|
@@ -112824,6 +113028,7 @@ class RulerMultiControl {
|
|
112824
113028
|
|
112825
113029
|
|
112826
113030
|
|
113031
|
+
|
112827
113032
|
const TABLE_COLUMN_SEPARATOR_RULER_LINE_CLASS_NAME = " table";
|
112828
113033
|
var SnapTo;
|
112829
113034
|
(function (SnapTo) {
|
@@ -112856,7 +113061,7 @@ class RulerVerticalLineControl {
|
|
112856
113061
|
dom.DomUtils.addClassName(this.rootElement, TABLE_COLUMN_SEPARATOR_RULER_LINE_CLASS_NAME);
|
112857
113062
|
else
|
112858
113063
|
dom.DomUtils.removeClassName(this.rootElement, TABLE_COLUMN_SEPARATOR_RULER_LINE_CLASS_NAME);
|
112859
|
-
this.rootElement.style.height = this.canvas
|
113064
|
+
this.rootElement.style.height = SizeUtils.getClientHeight(this.canvas) + "px";
|
112860
113065
|
this.rootElement.style.top = this.canvas.offsetTop + "px";
|
112861
113066
|
this.rulerControlLeft = this.rulerControlElement.offsetLeft;
|
112862
113067
|
this.rulerControlWidth = this.rulerControlElement.offsetWidth;
|
@@ -113916,13 +114121,9 @@ class RulerControl extends RulerBase {
|
|
113916
114121
|
}
|
113917
114122
|
adjust() {
|
113918
114123
|
const viewWidth = this.controls.canvas.clientWidth;
|
113919
|
-
|
113920
|
-
|
113921
|
-
|
113922
|
-
const paddingLeft = dom.DomUtils.pxToInt(dom.DomUtils.getCurrentStyle(this.controls.canvas).paddingLeft);
|
113923
|
-
const pageAreaBorderWidth = (this.controls.canvas.scrollWidth - paddingLeft - this.pageWidth) / 2;
|
113924
|
-
this.initialMarginLeftElement = paddingLeft + pageAreaBorderWidth - RULLER_NUMBER_CORRECTION;
|
113925
|
-
}
|
114124
|
+
const paddingLeft = dom.DomUtils.pxToInt(dom.DomUtils.getCurrentStyle(this.controls.canvas).paddingLeft);
|
114125
|
+
const minValue = paddingLeft - RULLER_NUMBER_CORRECTION;
|
114126
|
+
this.initialMarginLeftElement = Math.max((viewWidth - this.pageWidth - RULLER_NUMBER_CORRECTION * 2) / 2, minValue);
|
113926
114127
|
this.rootElement.style.left = this.calculateLeftOffset();
|
113927
114128
|
this.setPaddings();
|
113928
114129
|
this.canHandleScroll = this.controls.canvas.scrollWidth > this.controls.canvas.offsetWidth;
|
@@ -117934,7 +118135,6 @@ var ViewTabCommandId;
|
|
117934
118135
|
ViewTabCommandId[ViewTabCommandId["ToggleShowHorizontalRuler"] = 94] = "ToggleShowHorizontalRuler";
|
117935
118136
|
ViewTabCommandId[ViewTabCommandId["ToggleFullScreen"] = 98] = "ToggleFullScreen";
|
117936
118137
|
ViewTabCommandId[ViewTabCommandId["ChangeZoomLevel"] = 460] = "ChangeZoomLevel";
|
117937
|
-
ViewTabCommandId[ViewTabCommandId["ToggleAllowZoom"] = 461] = "ToggleAllowZoom";
|
117938
118138
|
})(ViewTabCommandId || (ViewTabCommandId = {}));
|
117939
118139
|
var HeaderAndFooterTabCommandId;
|
117940
118140
|
(function (HeaderAndFooterTabCommandId) {
|
@@ -123009,6 +123209,7 @@ function createInnerItems(items) {
|
|
123009
123209
|
}
|
123010
123210
|
|
123011
123211
|
;// CONCATENATED MODULE: ./src/client/utils/focus-helper.ts
|
123212
|
+
var focus_helper_a;
|
123012
123213
|
class FocusHelper {
|
123013
123214
|
static preventFocusOnClick(element) {
|
123014
123215
|
return new FocusBlocker(element);
|
@@ -123021,23 +123222,24 @@ class FocusBlocker {
|
|
123021
123222
|
this.addEventListeners(target);
|
123022
123223
|
}
|
123023
123224
|
addEventListeners(element) {
|
123024
|
-
element.addEventListener("
|
123225
|
+
element.addEventListener("mousedown", this.onPointerDownBinded);
|
123025
123226
|
}
|
123026
123227
|
removeEventListeners(element) {
|
123027
|
-
element.removeEventListener("
|
123228
|
+
element.removeEventListener("mousedown", this.onPointerDownBinded);
|
123028
123229
|
}
|
123029
123230
|
onPointerDown(event) {
|
123030
123231
|
for (const element of event.composedPath()) {
|
123031
|
-
if (!(element instanceof HTMLElement))
|
123032
|
-
continue;
|
123033
123232
|
if (element === this.target) {
|
123034
123233
|
event.preventDefault();
|
123035
123234
|
break;
|
123036
123235
|
}
|
123037
|
-
if (
|
123236
|
+
if (element instanceof Element && this.isFocusableElement(element))
|
123038
123237
|
break;
|
123039
123238
|
}
|
123040
123239
|
}
|
123240
|
+
isFocusableElement(element) {
|
123241
|
+
return element.matches(FocusBlocker.focusableSelector);
|
123242
|
+
}
|
123041
123243
|
dispose() {
|
123042
123244
|
if (this.target) {
|
123043
123245
|
this.removeEventListeners(this.target);
|
@@ -123045,6 +123247,21 @@ class FocusBlocker {
|
|
123045
123247
|
}
|
123046
123248
|
}
|
123047
123249
|
}
|
123250
|
+
focus_helper_a = FocusBlocker;
|
123251
|
+
FocusBlocker.focusableSelectors = [
|
123252
|
+
'a[href]',
|
123253
|
+
'area[href]',
|
123254
|
+
'input',
|
123255
|
+
'select',
|
123256
|
+
'textarea',
|
123257
|
+
'button',
|
123258
|
+
'iframe',
|
123259
|
+
'object',
|
123260
|
+
'embed',
|
123261
|
+
'[tabindex]:not([tabindex="-1"])',
|
123262
|
+
'[contenteditable]:not([contenteditable="false"])'
|
123263
|
+
];
|
123264
|
+
FocusBlocker.focusableSelector = focus_helper_a.focusableSelectors.join(',');
|
123048
123265
|
|
123049
123266
|
;// CONCATENATED MODULE: ./src/client/bars/ribbon.ts
|
123050
123267
|
|
@@ -128563,8 +128780,18 @@ class PrintDocumentOnClient extends CommandBase {
|
|
128563
128780
|
return true;
|
128564
128781
|
}
|
128565
128782
|
printCore(htmlPrinting, printWindow, closePrintDialogWithHtmlPreview, needSwitchViewType, needToggleHiddenSymbols) {
|
128566
|
-
if (htmlPrinting)
|
128567
|
-
this.generatePrintDocument(printWindow
|
128783
|
+
if (htmlPrinting) {
|
128784
|
+
this.generatePrintDocument(printWindow.document);
|
128785
|
+
printWindow.focus();
|
128786
|
+
const interval = setInterval(() => {
|
128787
|
+
if (printWindow.document.readyState == 'complete') {
|
128788
|
+
printWindow.print();
|
128789
|
+
if (closePrintDialogWithHtmlPreview && !browser.Browser.AndroidMobilePlatform)
|
128790
|
+
printWindow.close();
|
128791
|
+
clearInterval(interval);
|
128792
|
+
}
|
128793
|
+
}, 100);
|
128794
|
+
}
|
128568
128795
|
else {
|
128569
128796
|
pdfExport(this.control, (blob, _stream) => {
|
128570
128797
|
if (window.navigator.msSaveOrOpenBlob && !browser.Browser.Edge)
|
@@ -128579,12 +128806,27 @@ class PrintDocumentOnClient extends CommandBase {
|
|
128579
128806
|
this.control.commandManager.getCommand(RichEditClientCommand.ToggleShowWhitespace).execute(this.control.commandManager.isPublicApiCall);
|
128580
128807
|
this.control.commandManager.isPrintingProcessing = false;
|
128581
128808
|
}
|
128582
|
-
generatePrintDocument(
|
128809
|
+
generatePrintDocument(document) {
|
128583
128810
|
const height = this.control.layout.pages[0].height;
|
128584
128811
|
const width = this.control.layout.pages[0].width;
|
128585
|
-
let
|
128586
|
-
|
128812
|
+
let fontLink = "";
|
128813
|
+
let divsToLoadFonts = "";
|
128814
|
+
const googleFonts = this.getGoogleFonts();
|
128815
|
+
if (googleFonts.length > 0) {
|
128816
|
+
fontLink = this.createGoogleFontStyleLink(googleFonts);
|
128817
|
+
divsToLoadFonts = googleFonts.reduce((prev, curr) => {
|
128818
|
+
const fontStyles = [`font-family:${curr}`, 'font-weight:bold', 'font-style:italic'];
|
128819
|
+
const result = [];
|
128820
|
+
for (let i = 1; i <= fontStyles.length; i++)
|
128821
|
+
result.push(`<div style="font-size:1pt;position:absolute;top:-1000px;${fontStyles.slice(0, i).join(';')}">${curr}</div>`);
|
128822
|
+
return prev ? [prev, ...result].join('\n') : result.join('\n');
|
128823
|
+
}, null);
|
128824
|
+
}
|
128825
|
+
document.documentElement.innerHTML =
|
128826
|
+
`<!DOCTYPE html>
|
128827
|
+
<html moznomarginboxes mozdisallowselectionprint>
|
128587
128828
|
<head>
|
128829
|
+
${fontLink}
|
128588
128830
|
<style ${this._nonce ? `nonce="${this._nonce}"` : ''}>
|
128589
128831
|
html, body {
|
128590
128832
|
margin: 0;
|
@@ -128603,22 +128845,25 @@ class PrintDocumentOnClient extends CommandBase {
|
|
128603
128845
|
</style>
|
128604
128846
|
</head>
|
128605
128847
|
<body>
|
128848
|
+
${divsToLoadFonts}
|
128606
128849
|
</body>
|
128607
|
-
|
128608
|
-
printWindow.document.write(printWindowContent);
|
128609
|
-
printWindow.document.close();
|
128850
|
+
</html>`;
|
128610
128851
|
this.generatePrintContent().forEach((child) => {
|
128611
|
-
|
128852
|
+
document.body.appendChild(child);
|
128612
128853
|
});
|
128613
|
-
|
128614
|
-
|
128615
|
-
|
128616
|
-
|
128617
|
-
|
128618
|
-
|
128619
|
-
|
128620
|
-
|
128621
|
-
|
128854
|
+
}
|
128855
|
+
getGoogleFonts() {
|
128856
|
+
return this.control.modelManager.richOptions.fonts.fonts.reduce((res, f) => {
|
128857
|
+
if (f.useGoogleFonts)
|
128858
|
+
res.push(f.fontFamily);
|
128859
|
+
return res;
|
128860
|
+
}, []);
|
128861
|
+
}
|
128862
|
+
createGoogleFontStyleLink(fontFamilies) {
|
128863
|
+
const url = new URL('https://fonts.googleapis.com/css');
|
128864
|
+
url.searchParams.append('family', fontFamilies.join('|'));
|
128865
|
+
url.searchParams.append('display', 'auto');
|
128866
|
+
return `<link href="${url.toString()}" rel="stylesheet" />`;
|
128622
128867
|
}
|
128623
128868
|
generatePrintContent() {
|
128624
128869
|
const layout = this.control.layout;
|
@@ -130111,7 +130356,7 @@ class ApplyStyleCommand extends CommandBase {
|
|
130111
130356
|
paragraphStyle = StylesManager.getPresetParagraphStyleByName(styleName).clone();
|
130112
130357
|
isPresetStyle = true;
|
130113
130358
|
}
|
130114
|
-
this.applyParagraphStyle(subDocumentInterval, paragraphStyle, isPresetStyle, parameter.
|
130359
|
+
this.applyParagraphStyle(subDocumentInterval, paragraphStyle, isPresetStyle, parameter.keepCustomFormatting);
|
130115
130360
|
}
|
130116
130361
|
else if (!StylesManager.isParagraphStyle(parameter.styleName) && state.characterStyleChangeEnabled) {
|
130117
130362
|
const styleName = StylesManager.getStyleNameWithoutPrefix(parameter.styleName);
|
@@ -130146,7 +130391,7 @@ class ApplyStyleCommand extends CommandBase {
|
|
130146
130391
|
this.modelManipulator.style.applyCharacterStyle(subDocumentInterval, characterStyle, false);
|
130147
130392
|
}
|
130148
130393
|
}
|
130149
|
-
applyParagraphStyle(subDocumentInterval, style, isPresetStyle,
|
130394
|
+
applyParagraphStyle(subDocumentInterval, style, isPresetStyle, keepCustomFormatting = false) {
|
130150
130395
|
const count = this.calculateAffectedParagraphCount(subDocumentInterval);
|
130151
130396
|
if (count > 0 && ControlOptions.isEnabled(this.control.modelManager.richOptions.control.paragraphStyle)) {
|
130152
130397
|
const { interval, subDocument } = subDocumentInterval;
|
@@ -130159,8 +130404,7 @@ class ApplyStyleCommand extends CommandBase {
|
|
130159
130404
|
style = isPresetStyle ? modelManipulator.model.stylesManager.addParagraphStyle(style) : style;
|
130160
130405
|
this.history.addAndRedo(new ApplyParagraphStyleHistoryItem(modelManipulator, paragraphSubDocumentInterval, style));
|
130161
130406
|
this.history.addAndRedo(new ParagraphUseValueHistoryItem(modelManipulator, paragraphSubDocumentInterval, 0));
|
130162
|
-
|
130163
|
-
this.history.addAndRedo(new FontUseValueHistoryItem(modelManipulator, paragraphSubDocumentInterval, 0));
|
130407
|
+
this.history.addAndRedo(new FontUseValueHistoryItem(modelManipulator, paragraphSubDocumentInterval, 0, keepCustomFormatting));
|
130164
130408
|
this.history.addAndRedo(new AddParagraphToListHistoryItem(modelManipulator, subDocument, paragraphIndex, NumberingList.NumberingListNotSettedIndex, -1));
|
130165
130409
|
}
|
130166
130410
|
}
|
@@ -130200,25 +130444,6 @@ class ApplyStyleCommand extends CommandBase {
|
|
130200
130444
|
}
|
130201
130445
|
}
|
130202
130446
|
|
130203
|
-
;// CONCATENATED MODULE: ./src/common/commands/layout/toggle-allow-zoom-command.ts
|
130204
|
-
|
130205
|
-
|
130206
|
-
class ToggleAllowZoomCommand extends CommandBase {
|
130207
|
-
getState() {
|
130208
|
-
return new SimpleCommandState(this.isEnabled(), this.control.viewManager.allowZoom);
|
130209
|
-
}
|
130210
|
-
executeCore(_state, options) {
|
130211
|
-
const allowZoom = this.control.viewManager.allowZoom;
|
130212
|
-
if (options.param === allowZoom)
|
130213
|
-
return false;
|
130214
|
-
this.control.viewManager.allowZoom = !allowZoom;
|
130215
|
-
return true;
|
130216
|
-
}
|
130217
|
-
isEnabledInReadOnlyMode() {
|
130218
|
-
return true;
|
130219
|
-
}
|
130220
|
-
}
|
130221
|
-
|
130222
130447
|
;// CONCATENATED MODULE: ./src/common/commands/layout/change-zoom-level-command.ts
|
130223
130448
|
|
130224
130449
|
|
@@ -136748,7 +136973,7 @@ class SetParagraphLevelCommandBase extends CommandBase {
|
|
136748
136973
|
if (!paragraphStyle)
|
136749
136974
|
paragraphStyle = StylesManager.getPresetParagraphStyleByName(styleName);
|
136750
136975
|
if (paragraphStyle) {
|
136751
|
-
const commandOptions = new CommandSimpleOptions(this.control, { styleName: StylesManager.paragraphPrefix + styleName,
|
136976
|
+
const commandOptions = new CommandSimpleOptions(this.control, { styleName: StylesManager.paragraphPrefix + styleName, keepCustomFormatting: true });
|
136752
136977
|
this.commandManager.getCommand(RichEditClientCommand.ChangeStyle).execute(this.commandManager.isPublicApiCall, commandOptions);
|
136753
136978
|
}
|
136754
136979
|
else {
|
@@ -137011,7 +137236,6 @@ class UndoCommand extends CommandBase {
|
|
137011
137236
|
|
137012
137237
|
|
137013
137238
|
|
137014
|
-
|
137015
137239
|
|
137016
137240
|
|
137017
137241
|
class CommandManager {
|
@@ -137397,7 +137621,6 @@ class CommandManager {
|
|
137397
137621
|
this.createCommand(control, RichEditClientCommand.SwitchToSimpleView, SwitchToSimpleViewCommand);
|
137398
137622
|
this.createCommand(control, RichEditClientCommand.SwitchToPrintLayoutView, SwitchToPrintLayoutViewCommand);
|
137399
137623
|
this.createCommand(control, RichEditClientCommand.ChangeZoomLevel, ChangeZoomLevelCommand);
|
137400
|
-
this.createCommand(control, RichEditClientCommand.ToggleAllowZoom, ToggleAllowZoomCommand);
|
137401
137624
|
this.createCommand(control, RichEditClientCommand.ShowErrorLoadPictureMessage, ShowLoadPictureErrorDialogCommand);
|
137402
137625
|
this.assingCommand(RichEditClientCommand.PrintDocumentOnClient, new PrintDocumentOnClient(control, printNonce));
|
137403
137626
|
}
|
@@ -137825,191 +138048,6 @@ class MailMergeCommandParameters {
|
|
137825
138048
|
}
|
137826
138049
|
}
|
137827
138050
|
|
137828
|
-
;// CONCATENATED MODULE: ./src/common/model/fonts/google-fonts.ts
|
137829
|
-
|
137830
|
-
|
137831
|
-
|
137832
|
-
|
137833
|
-
|
137834
|
-
class GoogleFontsApi {
|
137835
|
-
constructor(controlFontsCache, fonts) {
|
137836
|
-
this.fontFamilyToFontInfo = {};
|
137837
|
-
this.fonts = fonts;
|
137838
|
-
this.controlFontsCache = controlFontsCache;
|
137839
|
-
const params = this.fonts.map(font => {
|
137840
|
-
const fontFamily = font.getFontFamilies()[0];
|
137841
|
-
this.fontFamilyToFontInfo[fontFamily] = font;
|
137842
|
-
return `${fontFamily.replace(' ', '+')}:regular,bold,italic,bolditalic`;
|
137843
|
-
}).join('|');
|
137844
|
-
this.uri = `https://fonts.googleapis.com/css?family=${params}`;
|
137845
|
-
}
|
137846
|
-
loadControlFonts(callback) {
|
137847
|
-
const notLoaded = () => callback([]);
|
137848
|
-
const xhr = new XMLHttpRequest();
|
137849
|
-
xhr.onload = (_e) => {
|
137850
|
-
const responce = xhr.response;
|
137851
|
-
if (xhr.status >= 400 || !responce)
|
137852
|
-
notLoaded();
|
137853
|
-
else
|
137854
|
-
callback(this.parseResponce(responce));
|
137855
|
-
};
|
137856
|
-
xhr.onerror = () => notLoaded();
|
137857
|
-
xhr.open("GET", this.uri, true);
|
137858
|
-
xhr.responseType = "text";
|
137859
|
-
xhr.send();
|
137860
|
-
}
|
137861
|
-
parseResponce(responce) {
|
137862
|
-
const result = [];
|
137863
|
-
let regexpResult;
|
137864
|
-
const regexp = /@font-face\s*\{([\s\S]*?)\}/gm;
|
137865
|
-
while (regexpResult = regexp.exec(responce)) {
|
137866
|
-
const fontInfo = regexpResult[1];
|
137867
|
-
const fontFamily = fontInfo.match(/font-family:\s*'(\w+\s*\w*)';/);
|
137868
|
-
if (fontFamily && fontFamily[1]) {
|
137869
|
-
const url = GoogleFontsApi.parseSrc(fontInfo.match(/src:\s*(.+);/));
|
137870
|
-
const fontStyle = fontInfo.match(/font-style:\s*(\w+);/);
|
137871
|
-
const fontWeight = fontInfo.match(/font-weight:\s*(.+);/);
|
137872
|
-
const unicodeRange = fontInfo.match(/unicode-range:\s*(.+);/);
|
137873
|
-
const desc = new FontFaceDescriptors();
|
137874
|
-
if (fontStyle && fontStyle[1])
|
137875
|
-
desc.style = fontStyle[1];
|
137876
|
-
if (fontWeight && fontWeight[1])
|
137877
|
-
desc.weight = fontWeight[1];
|
137878
|
-
if (unicodeRange && unicodeRange[1])
|
137879
|
-
desc.unicodeRange = unicodeRange[1];
|
137880
|
-
const controlFont = this.controlFontsCache.addFont(new ControlFont(fontFamily[1], desc));
|
137881
|
-
if (url && utils_list.ListUtils.allOf(controlFont.sourceUrls, s => s != url)) {
|
137882
|
-
controlFont.sourceUrls.unshift(url);
|
137883
|
-
const fontInfo = this.fontFamilyToFontInfo[controlFont.fontFamily];
|
137884
|
-
const controlFontType = new class_flag.Flag();
|
137885
|
-
controlFontType.set(ControlFontType.Bold, controlFont.descriptors.msWordBold());
|
137886
|
-
controlFontType.set(ControlFontType.Italic, controlFont.descriptors.msWordItalic());
|
137887
|
-
fontInfo.controlFontMap[controlFontType.getValue()] = controlFont.cacheKey;
|
137888
|
-
result.push(controlFont);
|
137889
|
-
}
|
137890
|
-
}
|
137891
|
-
}
|
137892
|
-
return result;
|
137893
|
-
}
|
137894
|
-
static parseSrc(matchSrc) {
|
137895
|
-
if (matchSrc && matchSrc[1])
|
137896
|
-
for (let src of matchSrc[1].split(',')) {
|
137897
|
-
const matchUrl = src.match(/url\((.+)\)\s*format\('(\w+)'\)/);
|
137898
|
-
if (matchUrl)
|
137899
|
-
return matchUrl[1];
|
137900
|
-
}
|
137901
|
-
return null;
|
137902
|
-
}
|
137903
|
-
}
|
137904
|
-
|
137905
|
-
;// CONCATENATED MODULE: ./src/common/model/creator/cache.ts
|
137906
|
-
|
137907
|
-
|
137908
|
-
class ModelCacheFiller {
|
137909
|
-
constructor(model, fontsSettings) {
|
137910
|
-
this.model = model;
|
137911
|
-
this.fontsSettings = fontsSettings;
|
137912
|
-
}
|
137913
|
-
fillCache() {
|
137914
|
-
this.makeFontMap();
|
137915
|
-
this.replaceCharProperties(this.model, "defaultCharacterProperties");
|
137916
|
-
this.model.characterStyles.forEach(style => this.replaceCharProperties(style, "maskedCharacterProperties"));
|
137917
|
-
this.model.paragraphStyles.forEach(style => this.replaceCharProperties(style, "maskedCharacterProperties"));
|
137918
|
-
this.model.tableStyles.forEach(style => {
|
137919
|
-
this.replaceCharProperties(style.baseConditionalStyle, 'maskedCharacterProperties');
|
137920
|
-
number/* NumberMapUtils */.j.forEach(style.conditionalStyles, style => this.replaceCharProperties(style, 'maskedCharacterProperties'));
|
137921
|
-
});
|
137922
|
-
number/* NumberMapUtils */.j.forEach(this.model.subDocuments, sd => this.replaceInModelSubDocument(sd));
|
137923
|
-
}
|
137924
|
-
makeFontMap() {
|
137925
|
-
const fontInfoCache = this.model.cache.fontInfoCache;
|
137926
|
-
const fontsSettings = this.fontsSettings;
|
137927
|
-
this.fontMap = Object.create(null);
|
137928
|
-
fontInfoCache.getAllFonts().forEach(font => this.fontMap[font.name] = fontsSettings.getPermittedFont(fontInfoCache, font));
|
137929
|
-
}
|
137930
|
-
replaceCharProperties(object, propKey) {
|
137931
|
-
const props = object[propKey];
|
137932
|
-
props.fontInfo = props.fontInfo ? this.fontMap[props.fontInfo.name] : this.model.defaultCharacterProperties.fontInfo;
|
137933
|
-
if (props instanceof MaskedCharacterProperties)
|
137934
|
-
object[propKey] = this.model.cache.maskedCharacterPropertiesCache.getItem(props);
|
137935
|
-
else
|
137936
|
-
object[propKey] = this.model.cache.mergedCharacterPropertiesCache.getItem(props);
|
137937
|
-
}
|
137938
|
-
replaceInModelSubDocument(sd) {
|
137939
|
-
sd.paragraphs.forEach(p => p.resetParagraphMergedProperties());
|
137940
|
-
sd.chunks.forEach(chunk => {
|
137941
|
-
chunk.textRuns.forEach(run => {
|
137942
|
-
this.replaceCharProperties(run, 'maskedCharacterProperties');
|
137943
|
-
run.resetCharacterMergedProperties();
|
137944
|
-
});
|
137945
|
-
});
|
137946
|
-
}
|
137947
|
-
}
|
137948
|
-
|
137949
|
-
;// CONCATENATED MODULE: ./src/common/model/creator/font-corrector.ts
|
137950
|
-
|
137951
|
-
|
137952
|
-
|
137953
|
-
|
137954
|
-
|
137955
|
-
|
137956
|
-
|
137957
|
-
class FontCorrector {
|
137958
|
-
get fontInfoCache() {
|
137959
|
-
return this.model.cache.fontInfoCache;
|
137960
|
-
}
|
137961
|
-
get controlFontsCache() {
|
137962
|
-
return this.model.cache.controlFontsCache;
|
137963
|
-
}
|
137964
|
-
constructor(modelManipulator, model, fonts) {
|
137965
|
-
this.modelManipulator = modelManipulator;
|
137966
|
-
this.model = model;
|
137967
|
-
this.fonts = fonts;
|
137968
|
-
}
|
137969
|
-
correct() {
|
137970
|
-
this.addAndLoad();
|
137971
|
-
new ModelCacheFiller(this.model, this.fonts).fillCache();
|
137972
|
-
this.removeRedundant();
|
137973
|
-
this.modelManipulator.raiseFontListChanged(this.fontInfoCache);
|
137974
|
-
}
|
137975
|
-
addAndLoad() {
|
137976
|
-
this.fonts.fonts.forEach(font => {
|
137977
|
-
let newFont = this.fontInfoCache.getItemByName(font.name);
|
137978
|
-
if (!newFont)
|
137979
|
-
newFont = this.fontInfoCache.addFont(font.name, font.fontFamily);
|
137980
|
-
else
|
137981
|
-
newFont.cssString = FontInfoCache.correctCssString(font.fontFamily);
|
137982
|
-
const addControlFont = (uri, desc) => {
|
137983
|
-
const controlFont = this.controlFontsCache.addFont(new ControlFont(font.fontFamily, desc));
|
137984
|
-
controlFont.sourceUrls.unshift(uri);
|
137985
|
-
const controlFontType = new class_flag.Flag();
|
137986
|
-
controlFontType.set(ControlFontType.Bold, controlFont.descriptors.msWordBold());
|
137987
|
-
controlFontType.set(ControlFontType.Italic, controlFont.descriptors.msWordItalic());
|
137988
|
-
newFont.controlFontMap[controlFontType.getValue()] = controlFont.cacheKey;
|
137989
|
-
};
|
137990
|
-
if (font.regularFontUri)
|
137991
|
-
addControlFont(font.regularFontUri, FontFaceDescriptors.create({}));
|
137992
|
-
if (font.boldFontUri)
|
137993
|
-
addControlFont(font.boldFontUri, FontFaceDescriptors.create({ weight: 'bold' }));
|
137994
|
-
if (font.italicFontUri)
|
137995
|
-
addControlFont(font.italicFontUri, FontFaceDescriptors.create({ style: 'italic' }));
|
137996
|
-
if (font.boldItalicFontUri)
|
137997
|
-
addControlFont(font.boldItalicFontUri, FontFaceDescriptors.create({ weight: 'bold', style: 'italic' }));
|
137998
|
-
if (font.googleFontsResponse)
|
137999
|
-
new GoogleFontsApi(this.controlFontsCache, [newFont]).parseResponce(font.googleFontsResponse);
|
138000
|
-
else if (font.useGoogleFonts)
|
138001
|
-
new GoogleFontsApi(this.controlFontsCache, [newFont]).loadControlFonts(_createdFonts => { });
|
138002
|
-
});
|
138003
|
-
}
|
138004
|
-
removeRedundant() {
|
138005
|
-
if (this.fonts.limitedFonts) {
|
138006
|
-
const map = {};
|
138007
|
-
this.fonts.fonts.forEach(f => map[f.name] = f);
|
138008
|
-
this.fontInfoCache.removeItems(font => !map[font.name]);
|
138009
|
-
}
|
138010
|
-
}
|
138011
|
-
}
|
138012
|
-
|
138013
138051
|
;// CONCATENATED MODULE: ./src/client/commands/new-document-command.ts
|
138014
138052
|
|
138015
138053
|
|
@@ -141426,8 +141464,8 @@ class DialogManager {
|
|
141426
141464
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_type.js
|
141427
141465
|
/**
|
141428
141466
|
* DevExtreme (esm/__internal/core/utils/m_type.js)
|
141429
|
-
* Version: 25.1.
|
141430
|
-
* Build date: Wed
|
141467
|
+
* Version: 25.1.3
|
141468
|
+
* Build date: Wed Jun 25 2025
|
141431
141469
|
*
|
141432
141470
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141433
141471
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -141529,8 +141567,8 @@ const isEvent = function(object) {
|
|
141529
141567
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/type.js
|
141530
141568
|
/**
|
141531
141569
|
* DevExtreme (esm/core/utils/type.js)
|
141532
|
-
* Version: 25.1.
|
141533
|
-
* Build date: Wed
|
141570
|
+
* Version: 25.1.3
|
141571
|
+
* Build date: Wed Jun 25 2025
|
141534
141572
|
*
|
141535
141573
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141536
141574
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -141540,8 +141578,8 @@ const isEvent = function(object) {
|
|
141540
141578
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_extend.js
|
141541
141579
|
/**
|
141542
141580
|
* DevExtreme (esm/__internal/core/utils/m_extend.js)
|
141543
|
-
* Version: 25.1.
|
141544
|
-
* Build date: Wed
|
141581
|
+
* Version: 25.1.3
|
141582
|
+
* Build date: Wed Jun 25 2025
|
141545
141583
|
*
|
141546
141584
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141547
141585
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -141599,8 +141637,8 @@ const extend = function(target) {
|
|
141599
141637
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/extend.js
|
141600
141638
|
/**
|
141601
141639
|
* DevExtreme (esm/core/utils/extend.js)
|
141602
|
-
* Version: 25.1.
|
141603
|
-
* Build date: Wed
|
141640
|
+
* Version: 25.1.3
|
141641
|
+
* Build date: Wed Jun 25 2025
|
141604
141642
|
*
|
141605
141643
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141606
141644
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -141610,8 +141648,8 @@ const extend = function(target) {
|
|
141610
141648
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_string.js
|
141611
141649
|
/**
|
141612
141650
|
* DevExtreme (esm/__internal/core/utils/m_string.js)
|
141613
|
-
* Version: 25.1.
|
141614
|
-
* Build date: Wed
|
141651
|
+
* Version: 25.1.3
|
141652
|
+
* Build date: Wed Jun 25 2025
|
141615
141653
|
*
|
141616
141654
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141617
141655
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -141686,8 +141724,8 @@ const isEmpty = function() {
|
|
141686
141724
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/string.js
|
141687
141725
|
/**
|
141688
141726
|
* DevExtreme (esm/core/utils/string.js)
|
141689
|
-
* Version: 25.1.
|
141690
|
-
* Build date: Wed
|
141727
|
+
* Version: 25.1.3
|
141728
|
+
* Build date: Wed Jun 25 2025
|
141691
141729
|
*
|
141692
141730
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141693
141731
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -141697,20 +141735,20 @@ const isEmpty = function() {
|
|
141697
141735
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/version.js
|
141698
141736
|
/**
|
141699
141737
|
* DevExtreme (esm/core/version.js)
|
141700
|
-
* Version: 25.1.
|
141701
|
-
* Build date: Wed
|
141738
|
+
* Version: 25.1.3
|
141739
|
+
* Build date: Wed Jun 25 2025
|
141702
141740
|
*
|
141703
141741
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141704
141742
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
141705
141743
|
*/
|
141706
|
-
const version = "25.1.
|
141707
|
-
const fullVersion = "25.1.
|
141744
|
+
const version = "25.1.3";
|
141745
|
+
const fullVersion = "25.1.3";
|
141708
141746
|
|
141709
141747
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_console.js
|
141710
141748
|
/**
|
141711
141749
|
* DevExtreme (esm/__internal/core/utils/m_console.js)
|
141712
|
-
* Version: 25.1.
|
141713
|
-
* Build date: Wed
|
141750
|
+
* Version: 25.1.3
|
141751
|
+
* Build date: Wed Jun 25 2025
|
141714
141752
|
*
|
141715
141753
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141716
141754
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -141750,8 +141788,8 @@ const debug = function() {
|
|
141750
141788
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_error.js
|
141751
141789
|
/**
|
141752
141790
|
* DevExtreme (esm/__internal/core/utils/m_error.js)
|
141753
|
-
* Version: 25.1.
|
141754
|
-
* Build date: Wed
|
141791
|
+
* Version: 25.1.3
|
141792
|
+
* Build date: Wed Jun 25 2025
|
141755
141793
|
*
|
141756
141794
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141757
141795
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -141822,8 +141860,8 @@ function error(baseErrors, errors) {
|
|
141822
141860
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/error.js
|
141823
141861
|
/**
|
141824
141862
|
* DevExtreme (esm/core/utils/error.js)
|
141825
|
-
* Version: 25.1.
|
141826
|
-
* Build date: Wed
|
141863
|
+
* Version: 25.1.3
|
141864
|
+
* Build date: Wed Jun 25 2025
|
141827
141865
|
*
|
141828
141866
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141829
141867
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -141834,8 +141872,8 @@ function error(baseErrors, errors) {
|
|
141834
141872
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/m_errors.js
|
141835
141873
|
/**
|
141836
141874
|
* DevExtreme (esm/__internal/core/m_errors.js)
|
141837
|
-
* Version: 25.1.
|
141838
|
-
* Build date: Wed
|
141875
|
+
* Version: 25.1.3
|
141876
|
+
* Build date: Wed Jun 25 2025
|
141839
141877
|
*
|
141840
141878
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141841
141879
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -141902,8 +141940,8 @@ function error(baseErrors, errors) {
|
|
141902
141940
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/errors.js
|
141903
141941
|
/**
|
141904
141942
|
* DevExtreme (esm/core/errors.js)
|
141905
|
-
* Version: 25.1.
|
141906
|
-
* Build date: Wed
|
141943
|
+
* Version: 25.1.3
|
141944
|
+
* Build date: Wed Jun 25 2025
|
141907
141945
|
*
|
141908
141946
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141909
141947
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -141914,8 +141952,8 @@ function error(baseErrors, errors) {
|
|
141914
141952
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/m_class.js
|
141915
141953
|
/**
|
141916
141954
|
* DevExtreme (esm/__internal/core/m_class.js)
|
141917
|
-
* Version: 25.1.
|
141918
|
-
* Build date: Wed
|
141955
|
+
* Version: 25.1.3
|
141956
|
+
* Build date: Wed Jun 25 2025
|
141919
141957
|
*
|
141920
141958
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141921
141959
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142048,8 +142086,8 @@ classImpl.abstract = m_class_abstract;
|
|
142048
142086
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/class.js
|
142049
142087
|
/**
|
142050
142088
|
* DevExtreme (esm/core/class.js)
|
142051
|
-
* Version: 25.1.
|
142052
|
-
* Build date: Wed
|
142089
|
+
* Version: 25.1.3
|
142090
|
+
* Build date: Wed Jun 25 2025
|
142053
142091
|
*
|
142054
142092
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142055
142093
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142060,8 +142098,8 @@ classImpl.abstract = m_class_abstract;
|
|
142060
142098
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_iterator.js
|
142061
142099
|
/**
|
142062
142100
|
* DevExtreme (esm/__internal/core/utils/m_iterator.js)
|
142063
|
-
* Version: 25.1.
|
142064
|
-
* Build date: Wed
|
142101
|
+
* Version: 25.1.3
|
142102
|
+
* Build date: Wed Jun 25 2025
|
142065
142103
|
*
|
142066
142104
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142067
142105
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142110,8 +142148,8 @@ const reverseEach = (array, callback) => {
|
|
142110
142148
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_dependency_injector.js
|
142111
142149
|
/**
|
142112
142150
|
* DevExtreme (esm/__internal/core/utils/m_dependency_injector.js)
|
142113
|
-
* Version: 25.1.
|
142114
|
-
* Build date: Wed
|
142151
|
+
* Version: 25.1.3
|
142152
|
+
* Build date: Wed Jun 25 2025
|
142115
142153
|
*
|
142116
142154
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142117
142155
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142160,8 +142198,8 @@ function injector(object) {
|
|
142160
142198
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/dependency_injector.js
|
142161
142199
|
/**
|
142162
142200
|
* DevExtreme (esm/core/utils/dependency_injector.js)
|
142163
|
-
* Version: 25.1.
|
142164
|
-
* Build date: Wed
|
142201
|
+
* Version: 25.1.3
|
142202
|
+
* Build date: Wed Jun 25 2025
|
142165
142203
|
*
|
142166
142204
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142167
142205
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142172,8 +142210,8 @@ function injector(object) {
|
|
142172
142210
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/ldml/date.formatter.js
|
142173
142211
|
/**
|
142174
142212
|
* DevExtreme (esm/common/core/localization/ldml/date.formatter.js)
|
142175
|
-
* Version: 25.1.
|
142176
|
-
* Build date: Wed
|
142213
|
+
* Version: 25.1.3
|
142214
|
+
* Build date: Wed Jun 25 2025
|
142177
142215
|
*
|
142178
142216
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142179
142217
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142326,8 +142364,8 @@ function _extends() {
|
|
142326
142364
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/m_config.js
|
142327
142365
|
/**
|
142328
142366
|
* DevExtreme (esm/__internal/core/m_config.js)
|
142329
|
-
* Version: 25.1.
|
142330
|
-
* Build date: Wed
|
142367
|
+
* Version: 25.1.3
|
142368
|
+
* Build date: Wed Jun 25 2025
|
142331
142369
|
*
|
142332
142370
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142333
142371
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142402,8 +142440,8 @@ if ("undefined" !== typeof DevExpress && DevExpress.config) {
|
|
142402
142440
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/config.js
|
142403
142441
|
/**
|
142404
142442
|
* DevExtreme (esm/common/config.js)
|
142405
|
-
* Version: 25.1.
|
142406
|
-
* Build date: Wed
|
142443
|
+
* Version: 25.1.3
|
142444
|
+
* Build date: Wed Jun 25 2025
|
142407
142445
|
*
|
142408
142446
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142409
142447
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142414,8 +142452,8 @@ if ("undefined" !== typeof DevExpress && DevExpress.config) {
|
|
142414
142452
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/m_guid.js
|
142415
142453
|
/**
|
142416
142454
|
* DevExtreme (esm/__internal/core/m_guid.js)
|
142417
|
-
* Version: 25.1.
|
142418
|
-
* Build date: Wed
|
142455
|
+
* Version: 25.1.3
|
142456
|
+
* Build date: Wed Jun 25 2025
|
142419
142457
|
*
|
142420
142458
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142421
142459
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142457,8 +142495,8 @@ const Guid = core_class.inherit({
|
|
142457
142495
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/guid.js
|
142458
142496
|
/**
|
142459
142497
|
* DevExtreme (esm/common/guid.js)
|
142460
|
-
* Version: 25.1.
|
142461
|
-
* Build date: Wed
|
142498
|
+
* Version: 25.1.3
|
142499
|
+
* Build date: Wed Jun 25 2025
|
142462
142500
|
*
|
142463
142501
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142464
142502
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142469,8 +142507,8 @@ const Guid = core_class.inherit({
|
|
142469
142507
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/templates/m_template_engine_registry.js
|
142470
142508
|
/**
|
142471
142509
|
* DevExtreme (esm/__internal/core/templates/m_template_engine_registry.js)
|
142472
|
-
* Version: 25.1.
|
142473
|
-
* Build date: Wed
|
142510
|
+
* Version: 25.1.3
|
142511
|
+
* Build date: Wed Jun 25 2025
|
142474
142512
|
*
|
142475
142513
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142476
142514
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142499,8 +142537,8 @@ function getCurrentTemplateEngine() {
|
|
142499
142537
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/templates/template_engine_registry.js
|
142500
142538
|
/**
|
142501
142539
|
* DevExtreme (esm/core/templates/template_engine_registry.js)
|
142502
|
-
* Version: 25.1.
|
142503
|
-
* Build date: Wed
|
142540
|
+
* Version: 25.1.3
|
142541
|
+
* Build date: Wed Jun 25 2025
|
142504
142542
|
*
|
142505
142543
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142506
142544
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142510,8 +142548,8 @@ function getCurrentTemplateEngine() {
|
|
142510
142548
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/m_set_template_engine.js
|
142511
142549
|
/**
|
142512
142550
|
* DevExtreme (esm/__internal/core/m_set_template_engine.js)
|
142513
|
-
* Version: 25.1.
|
142514
|
-
* Build date: Wed
|
142551
|
+
* Version: 25.1.3
|
142552
|
+
* Build date: Wed Jun 25 2025
|
142515
142553
|
*
|
142516
142554
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142517
142555
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142521,8 +142559,8 @@ function getCurrentTemplateEngine() {
|
|
142521
142559
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/set_template_engine.js
|
142522
142560
|
/**
|
142523
142561
|
* DevExtreme (esm/common/set_template_engine.js)
|
142524
|
-
* Version: 25.1.
|
142525
|
-
* Build date: Wed
|
142562
|
+
* Version: 25.1.3
|
142563
|
+
* Build date: Wed Jun 25 2025
|
142526
142564
|
*
|
142527
142565
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142528
142566
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142533,8 +142571,8 @@ function getCurrentTemplateEngine() {
|
|
142533
142571
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common.js
|
142534
142572
|
/**
|
142535
142573
|
* DevExtreme (esm/common.js)
|
142536
|
-
* Version: 25.1.
|
142537
|
-
* Build date: Wed
|
142574
|
+
* Version: 25.1.3
|
142575
|
+
* Build date: Wed Jun 25 2025
|
142538
142576
|
*
|
142539
142577
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142540
142578
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142547,8 +142585,8 @@ function getCurrentTemplateEngine() {
|
|
142547
142585
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/config.js
|
142548
142586
|
/**
|
142549
142587
|
* DevExtreme (esm/core/config.js)
|
142550
|
-
* Version: 25.1.
|
142551
|
-
* Build date: Wed
|
142588
|
+
* Version: 25.1.3
|
142589
|
+
* Build date: Wed Jun 25 2025
|
142552
142590
|
*
|
142553
142591
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142554
142592
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142559,8 +142597,8 @@ function getCurrentTemplateEngine() {
|
|
142559
142597
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/guid.js
|
142560
142598
|
/**
|
142561
142599
|
* DevExtreme (esm/core/guid.js)
|
142562
|
-
* Version: 25.1.
|
142563
|
-
* Build date: Wed
|
142600
|
+
* Version: 25.1.3
|
142601
|
+
* Build date: Wed Jun 25 2025
|
142564
142602
|
*
|
142565
142603
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142566
142604
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142571,8 +142609,8 @@ function getCurrentTemplateEngine() {
|
|
142571
142609
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/console.js
|
142572
142610
|
/**
|
142573
142611
|
* DevExtreme (esm/core/utils/console.js)
|
142574
|
-
* Version: 25.1.
|
142575
|
-
* Build date: Wed
|
142612
|
+
* Version: 25.1.3
|
142613
|
+
* Build date: Wed Jun 25 2025
|
142576
142614
|
*
|
142577
142615
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142578
142616
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142582,8 +142620,8 @@ function getCurrentTemplateEngine() {
|
|
142582
142620
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_variable_wrapper.js
|
142583
142621
|
/**
|
142584
142622
|
* DevExtreme (esm/__internal/core/utils/m_variable_wrapper.js)
|
142585
|
-
* Version: 25.1.
|
142586
|
-
* Build date: Wed
|
142623
|
+
* Version: 25.1.3
|
142624
|
+
* Build date: Wed Jun 25 2025
|
142587
142625
|
*
|
142588
142626
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142589
142627
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142612,8 +142650,8 @@ const m_variable_wrapper_variableWrapper = dependency_injector({
|
|
142612
142650
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/variable_wrapper.js
|
142613
142651
|
/**
|
142614
142652
|
* DevExtreme (esm/core/utils/variable_wrapper.js)
|
142615
|
-
* Version: 25.1.
|
142616
|
-
* Build date: Wed
|
142653
|
+
* Version: 25.1.3
|
142654
|
+
* Build date: Wed Jun 25 2025
|
142617
142655
|
*
|
142618
142656
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142619
142657
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142624,8 +142662,8 @@ const m_variable_wrapper_variableWrapper = dependency_injector({
|
|
142624
142662
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_object.js
|
142625
142663
|
/**
|
142626
142664
|
* DevExtreme (esm/__internal/core/utils/m_object.js)
|
142627
|
-
* Version: 25.1.
|
142628
|
-
* Build date: Wed
|
142665
|
+
* Version: 25.1.3
|
142666
|
+
* Build date: Wed Jun 25 2025
|
142629
142667
|
*
|
142630
142668
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142631
142669
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142725,8 +142763,8 @@ const m_object_deepExtendArraySafe = function(target, changes, extendComplexObje
|
|
142725
142763
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/object.js
|
142726
142764
|
/**
|
142727
142765
|
* DevExtreme (esm/core/utils/object.js)
|
142728
|
-
* Version: 25.1.
|
142729
|
-
* Build date: Wed
|
142766
|
+
* Version: 25.1.3
|
142767
|
+
* Build date: Wed Jun 25 2025
|
142730
142768
|
*
|
142731
142769
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142732
142770
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142736,8 +142774,8 @@ const m_object_deepExtendArraySafe = function(target, changes, extendComplexObje
|
|
142736
142774
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_data.js
|
142737
142775
|
/**
|
142738
142776
|
* DevExtreme (esm/__internal/core/utils/m_data.js)
|
142739
|
-
* Version: 25.1.
|
142740
|
-
* Build date: Wed
|
142777
|
+
* Version: 25.1.3
|
142778
|
+
* Build date: Wed Jun 25 2025
|
142741
142779
|
*
|
142742
142780
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142743
142781
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142933,8 +142971,8 @@ const toComparable = function(value, caseSensitive) {
|
|
142933
142971
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/data.js
|
142934
142972
|
/**
|
142935
142973
|
* DevExtreme (esm/core/utils/data.js)
|
142936
|
-
* Version: 25.1.
|
142937
|
-
* Build date: Wed
|
142974
|
+
* Version: 25.1.3
|
142975
|
+
* Build date: Wed Jun 25 2025
|
142938
142976
|
*
|
142939
142977
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142940
142978
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142944,8 +142982,8 @@ const toComparable = function(value, caseSensitive) {
|
|
142944
142982
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_callbacks.js
|
142945
142983
|
/**
|
142946
142984
|
* DevExtreme (esm/__internal/core/utils/m_callbacks.js)
|
142947
|
-
* Version: 25.1.
|
142948
|
-
* Build date: Wed
|
142985
|
+
* Version: 25.1.3
|
142986
|
+
* Build date: Wed Jun 25 2025
|
142949
142987
|
*
|
142950
142988
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142951
142989
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -143040,8 +143078,8 @@ const Callbacks = function(options) {
|
|
143040
143078
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/callbacks.js
|
143041
143079
|
/**
|
143042
143080
|
* DevExtreme (esm/core/utils/callbacks.js)
|
143043
|
-
* Version: 25.1.
|
143044
|
-
* Build date: Wed
|
143081
|
+
* Version: 25.1.3
|
143082
|
+
* Build date: Wed Jun 25 2025
|
143045
143083
|
*
|
143046
143084
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
143047
143085
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -143052,8 +143090,8 @@ const Callbacks = function(options) {
|
|
143052
143090
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_deferred.js
|
143053
143091
|
/**
|
143054
143092
|
* DevExtreme (esm/__internal/core/utils/m_deferred.js)
|
143055
|
-
* Version: 25.1.
|
143056
|
-
* Build date: Wed
|
143093
|
+
* Version: 25.1.3
|
143094
|
+
* Build date: Wed Jun 25 2025
|
143057
143095
|
*
|
143058
143096
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
143059
143097
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -143218,8 +143256,8 @@ function when() {
|
|
143218
143256
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/deferred.js
|
143219
143257
|
/**
|
143220
143258
|
* DevExtreme (esm/core/utils/deferred.js)
|
143221
|
-
* Version: 25.1.
|
143222
|
-
* Build date: Wed
|
143259
|
+
* Version: 25.1.3
|
143260
|
+
* Build date: Wed Jun 25 2025
|
143223
143261
|
*
|
143224
143262
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
143225
143263
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -143229,8 +143267,8 @@ function when() {
|
|
143229
143267
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_common.js
|
143230
143268
|
/**
|
143231
143269
|
* DevExtreme (esm/__internal/core/utils/m_common.js)
|
143232
|
-
* Version: 25.1.
|
143233
|
-
* Build date: Wed
|
143270
|
+
* Version: 25.1.3
|
143271
|
+
* Build date: Wed Jun 25 2025
|
143234
143272
|
*
|
143235
143273
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
143236
143274
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -143525,8 +143563,8 @@ const equalByValue = function(value1, value2) {
|
|
143525
143563
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/common.js
|
143526
143564
|
/**
|
143527
143565
|
* DevExtreme (esm/core/utils/common.js)
|
143528
|
-
* Version: 25.1.
|
143529
|
-
* Build date: Wed
|
143566
|
+
* Version: 25.1.3
|
143567
|
+
* Build date: Wed Jun 25 2025
|
143530
143568
|
*
|
143531
143569
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
143532
143570
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -143536,8 +143574,8 @@ const equalByValue = function(value1, value2) {
|
|
143536
143574
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_math.js
|
143537
143575
|
/**
|
143538
143576
|
* DevExtreme (esm/__internal/core/utils/m_math.js)
|
143539
|
-
* Version: 25.1.
|
143540
|
-
* Build date: Wed
|
143577
|
+
* Version: 25.1.3
|
143578
|
+
* Build date: Wed Jun 25 2025
|
143541
143579
|
*
|
143542
143580
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
143543
143581
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -143706,8 +143744,8 @@ function roundFloatPart(value) {
|
|
143706
143744
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/math.js
|
143707
143745
|
/**
|
143708
143746
|
* DevExtreme (esm/core/utils/math.js)
|
143709
|
-
* Version: 25.1.
|
143710
|
-
* Build date: Wed
|
143747
|
+
* Version: 25.1.3
|
143748
|
+
* Build date: Wed Jun 25 2025
|
143711
143749
|
*
|
143712
143750
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
143713
143751
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -143717,8 +143755,8 @@ function roundFloatPart(value) {
|
|
143717
143755
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/utils.js
|
143718
143756
|
/**
|
143719
143757
|
* DevExtreme (esm/common/core/localization/utils.js)
|
143720
|
-
* Version: 25.1.
|
143721
|
-
* Build date: Wed
|
143758
|
+
* Version: 25.1.3
|
143759
|
+
* Build date: Wed Jun 25 2025
|
143722
143760
|
*
|
143723
143761
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
143724
143762
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -143745,8 +143783,8 @@ function toFixed(value, precision) {
|
|
143745
143783
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/ldml/number.js
|
143746
143784
|
/**
|
143747
143785
|
* DevExtreme (esm/common/core/localization/ldml/number.js)
|
143748
|
-
* Version: 25.1.
|
143749
|
-
* Build date: Wed
|
143786
|
+
* Version: 25.1.3
|
143787
|
+
* Build date: Wed Jun 25 2025
|
143750
143788
|
*
|
143751
143789
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
143752
143790
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -143987,8 +144025,8 @@ function getFormat(formatter) {
|
|
143987
144025
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/currency.js
|
143988
144026
|
/**
|
143989
144027
|
* DevExtreme (esm/common/core/localization/currency.js)
|
143990
|
-
* Version: 25.1.
|
143991
|
-
* Build date: Wed
|
144028
|
+
* Version: 25.1.3
|
144029
|
+
* Build date: Wed Jun 25 2025
|
143992
144030
|
*
|
143993
144031
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
143994
144032
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -144020,8 +144058,8 @@ function getFormat(formatter) {
|
|
144020
144058
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/cldr-data/parent_locales.js
|
144021
144059
|
/**
|
144022
144060
|
* DevExtreme (esm/common/core/localization/cldr-data/parent_locales.js)
|
144023
|
-
* Version: 25.1.
|
144024
|
-
* Build date: Wed
|
144061
|
+
* Version: 25.1.3
|
144062
|
+
* Build date: Wed Jun 25 2025
|
144025
144063
|
*
|
144026
144064
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
144027
144065
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -144206,8 +144244,8 @@ function getFormat(formatter) {
|
|
144206
144244
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/parentLocale.js
|
144207
144245
|
/**
|
144208
144246
|
* DevExtreme (esm/common/core/localization/parentLocale.js)
|
144209
|
-
* Version: 25.1.
|
144210
|
-
* Build date: Wed
|
144247
|
+
* Version: 25.1.3
|
144248
|
+
* Build date: Wed Jun 25 2025
|
144211
144249
|
*
|
144212
144250
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
144213
144251
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -144224,8 +144262,8 @@ const PARENT_LOCALE_SEPARATOR = "-";
|
|
144224
144262
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/core.js
|
144225
144263
|
/**
|
144226
144264
|
* DevExtreme (esm/common/core/localization/core.js)
|
144227
|
-
* Version: 25.1.
|
144228
|
-
* Build date: Wed
|
144265
|
+
* Version: 25.1.3
|
144266
|
+
* Build date: Wed Jun 25 2025
|
144229
144267
|
*
|
144230
144268
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
144231
144269
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -144266,8 +144304,8 @@ const DEFAULT_LOCALE = "en";
|
|
144266
144304
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/open_xml_currency_format.js
|
144267
144305
|
/**
|
144268
144306
|
* DevExtreme (esm/common/core/localization/open_xml_currency_format.js)
|
144269
|
-
* Version: 25.1.
|
144270
|
-
* Build date: Wed
|
144307
|
+
* Version: 25.1.3
|
144308
|
+
* Build date: Wed Jun 25 2025
|
144271
144309
|
*
|
144272
144310
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
144273
144311
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -144309,8 +144347,8 @@ const DEFAULT_LOCALE = "en";
|
|
144309
144347
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/cldr-data/accounting_formats.js
|
144310
144348
|
/**
|
144311
144349
|
* DevExtreme (esm/common/core/localization/cldr-data/accounting_formats.js)
|
144312
|
-
* Version: 25.1.
|
144313
|
-
* Build date: Wed
|
144350
|
+
* Version: 25.1.3
|
144351
|
+
* Build date: Wed Jun 25 2025
|
144314
144352
|
*
|
144315
144353
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
144316
144354
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -144896,8 +144934,8 @@ const DEFAULT_LOCALE = "en";
|
|
144896
144934
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/intl/number.js
|
144897
144935
|
/**
|
144898
144936
|
* DevExtreme (esm/common/core/localization/intl/number.js)
|
144899
|
-
* Version: 25.1.
|
144900
|
-
* Build date: Wed
|
144937
|
+
* Version: 25.1.3
|
144938
|
+
* Build date: Wed Jun 25 2025
|
144901
144939
|
*
|
144902
144940
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
144903
144941
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -145018,8 +145056,8 @@ const getCurrencyFormatter = currency => new Intl.NumberFormat(core.locale(), {
|
|
145018
145056
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/number.js
|
145019
145057
|
/**
|
145020
145058
|
* DevExtreme (esm/common/core/localization/number.js)
|
145021
|
-
* Version: 25.1.
|
145022
|
-
* Build date: Wed
|
145059
|
+
* Version: 25.1.3
|
145060
|
+
* Build date: Wed Jun 25 2025
|
145023
145061
|
*
|
145024
145062
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
145025
145063
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -145326,8 +145364,8 @@ if (hasIntl) {
|
|
145326
145364
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/ldml/date.format.js
|
145327
145365
|
/**
|
145328
145366
|
* DevExtreme (esm/common/core/localization/ldml/date.format.js)
|
145329
|
-
* Version: 25.1.
|
145330
|
-
* Build date: Wed
|
145367
|
+
* Version: 25.1.3
|
145368
|
+
* Build date: Wed Jun 25 2025
|
145331
145369
|
*
|
145332
145370
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
145333
145371
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -145524,8 +145562,8 @@ const date_format_getFormat = function(formatter) {
|
|
145524
145562
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/ldml/date.parser.js
|
145525
145563
|
/**
|
145526
145564
|
* DevExtreme (esm/common/core/localization/ldml/date.parser.js)
|
145527
|
-
* Version: 25.1.
|
145528
|
-
* Build date: Wed
|
145565
|
+
* Version: 25.1.3
|
145566
|
+
* Build date: Wed Jun 25 2025
|
145529
145567
|
*
|
145530
145568
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
145531
145569
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -145843,8 +145881,8 @@ const getParser = function(format, dateParts) {
|
|
145843
145881
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/default_date_names.js
|
145844
145882
|
/**
|
145845
145883
|
* DevExtreme (esm/common/core/localization/default_date_names.js)
|
145846
|
-
* Version: 25.1.
|
145847
|
-
* Build date: Wed
|
145884
|
+
* Version: 25.1.3
|
145885
|
+
* Build date: Wed Jun 25 2025
|
145848
145886
|
*
|
145849
145887
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
145850
145888
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -145880,8 +145918,8 @@ const cutCaptions = (captions, format) => {
|
|
145880
145918
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/cldr-data/first_day_of_week_data.js
|
145881
145919
|
/**
|
145882
145920
|
* DevExtreme (esm/common/core/localization/cldr-data/first_day_of_week_data.js)
|
145883
|
-
* Version: 25.1.
|
145884
|
-
* Build date: Wed
|
145921
|
+
* Version: 25.1.3
|
145922
|
+
* Build date: Wed Jun 25 2025
|
145885
145923
|
*
|
145886
145924
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
145887
145925
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -146080,8 +146118,8 @@ const cutCaptions = (captions, format) => {
|
|
146080
146118
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/intl/date.js
|
146081
146119
|
/**
|
146082
146120
|
* DevExtreme (esm/common/core/localization/intl/date.js)
|
146083
|
-
* Version: 25.1.
|
146084
|
-
* Build date: Wed
|
146121
|
+
* Version: 25.1.3
|
146122
|
+
* Build date: Wed Jun 25 2025
|
146085
146123
|
*
|
146086
146124
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
146087
146125
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -146398,8 +146436,8 @@ const monthNameStrategies = {
|
|
146398
146436
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/date.js
|
146399
146437
|
/**
|
146400
146438
|
* DevExtreme (esm/common/core/localization/date.js)
|
146401
|
-
* Version: 25.1.
|
146402
|
-
* Build date: Wed
|
146439
|
+
* Version: 25.1.3
|
146440
|
+
* Build date: Wed Jun 25 2025
|
146403
146441
|
*
|
146404
146442
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
146405
146443
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -147641,7 +147679,7 @@ class ClientRichEdit {
|
|
147641
147679
|
this.contextMenuSettings = settings.contextMenuSettings;
|
147642
147680
|
this.fullScreenHelper = new FullScreenHelper(element);
|
147643
147681
|
if (true)
|
147644
|
-
external_DevExpress_config_default()(JSON.parse(atob('
|
147682
|
+
external_DevExpress_config_default()(JSON.parse(atob('eyJsaWNlbnNlS2V5IjoiZXdvZ0lDSm1iM0p0WVhRaU9pQXhMQW9nSUNKcGJuUmxjbTVoYkZWellXZGxTV1FpT2lBaVZqSlJjRkZ0U2xaWVYzazJUbVY0YTNFNVdHczVieUlLZlE9PS5EMTNKeDFkWmJlWFE0bGVWQ05XZnk5U2FLeWFHbmxMOE1xYkF2YzloQ3FVZTlBajJWYzJUS2RaU01RR05xVkVkSjMrTWZQKzQrQTBqMFhCSGxEczdEV2xpWFlNK01EMEVCaEJVQ0JTVzVmeWRGSzhyOGpEMDRzV2ZKYS9CTDRFTGdLOWZpZz09In0=')));
|
147645
147683
|
this.prepareElement(element, settings);
|
147646
147684
|
this.initDefaultFontsAndStyles();
|
147647
147685
|
this.initBars(settings.ribbon, settings.fonts);
|
@@ -148787,9 +148825,6 @@ function executeApiCommandCore(commandManager, commandId, parameter) {
|
|
148787
148825
|
break;
|
148788
148826
|
}
|
148789
148827
|
;
|
148790
|
-
case ViewTabCommandId.ToggleAllowZoom:
|
148791
|
-
parameter = undefined;
|
148792
|
-
break;
|
148793
148828
|
case HeaderAndFooterTabCommandId.GoToPageHeader:
|
148794
148829
|
parameter = undefined;
|
148795
148830
|
break;
|