devexpress-richedit 25.1.2-beta → 25.1.4-build-25191-0102
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 +1374 -1304
- 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/commands/mail-merge-command.js +3 -2
- package/lib/client/commands/open-document-command.js +4 -0
- package/lib/client/formats/docx/export/exporters/relations/base.js +2 -2
- package/lib/client/formats/docx/import/destination/numbering/numberings-destination.js +1 -1
- package/lib/client/formats/docx/import/destination/runs/text-destination.js +1 -1
- 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/image-enums.js +1 -0
- package/lib/client/model-api/images/images.js +1 -1
- package/lib/client/model-api/table/enums.js +4 -0
- package/lib/client/public/commands/enum.d.ts +1 -2
- package/lib/client/public/commands/enum.js +1 -1
- package/lib/client/public/options.d.ts +1 -0
- package/lib/client/public/ribbon/item-ids.js +1 -0
- package/lib/client/public/rich-edit.d.ts +5 -5
- package/lib/client/ribbon/toolbar-items/index.d.ts +1 -1
- package/lib/client/ribbon/toolbar-items/toolbar-item-template-creators/index.d.ts +7 -7
- package/lib/client/utils/focus-helper.js +22 -5
- package/lib/common/canvas/canvas-manager.js +1 -1
- package/lib/common/canvas/canvas-scroll-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/dialogs/dialog-layout-options-command.js +0 -3
- 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/floating-objects/floating-object-drag-drop-change-position-command.js +0 -3
- 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/layout/toggle-show-hidden-symbols-command.js +0 -3
- package/lib/common/commands/toc/set-paragraph-level-command.js +1 -1
- package/lib/common/formats/html/export/html-export.d.ts +8 -0
- package/lib/common/formats/html/export/html-export.js +49 -26
- package/lib/common/formats/html/import/containers/runs.d.ts +2 -1
- package/lib/common/formats/html/import/containers/runs.js +2 -1
- package/lib/common/formats/html/import/html-importer.d.ts +0 -1
- package/lib/common/formats/html/import/html-importer.js +2 -3
- package/lib/common/formats/html/import/html-model-inserter.js +4 -0
- package/lib/common/formats/html/import/importers/list-base.js +2 -1
- package/lib/common/formats/rtf/utils/list-level-display-text-helper.js +2 -2
- package/lib/common/input-controller.js +2 -2
- package/lib/common/layout/document-layout.js +4 -1
- package/lib/common/layout/main-structures/layout-row.d.ts +1 -2
- package/lib/common/layout/main-structures/layout-row.js +0 -1
- package/lib/common/layout-formatter/row/result.js +1 -1
- package/lib/common/layout-formatter/row/size-engine/row-formatting-info.d.ts +1 -0
- package/lib/common/layout-formatter/row/size-engine/row-formatting-info.js +2 -2
- package/lib/common/layout-formatter/row/size-engine/row-sizes-manager.d.ts +2 -0
- package/lib/common/layout-formatter/row/size-engine/row-sizes-manager.js +2 -0
- package/lib/common/layout-formatter/row/states.js +1 -1
- package/lib/common/layout-formatter/row/tab-info.d.ts +2 -1
- package/lib/common/layout-formatter/row/tab-info.js +40 -40
- 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/parsers/field-code-parser-doc-variable.d.ts +1 -1
- package/lib/common/model/fields/parsers/field-code-parser.d.ts +1 -1
- 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/model/paragraph/paragraph-style.d.ts +1 -0
- package/lib/common/model/paragraph/paragraph-style.js +3 -0
- package/lib/common/scroll/canvas-states.d.ts +4 -4
- package/lib/common/scroll/model-states.d.ts +5 -5
- 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/client/formats/docx/import/destination/field/field-data-destination.d.ts +0 -0
- package/lib/client/formats/docx/import/destination/field/field-data-destination.js +0 -0
- package/lib/client/formats/docx/import/destination/field/form-field-destination.d.ts +0 -0
- package/lib/client/formats/docx/import/destination/field/form-field-destination.js +0 -0
- package/lib/client/formats/docx/import/destination/paragraph-properties/paragraph-mark-run-properties-destination.d.ts +0 -0
- package/lib/client/formats/docx/import/destination/paragraph-properties/paragraph-mark-run-properties-destination.js +0 -0
- 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/lib/common/formats/rtf/import/properties-normalization/tmp.d.ts +0 -0
- package/lib/common/formats/rtf/import/properties-normalization/tmp.js +0 -0
- package/lib/common/layout-formatter/box/generator/multi-dimension-iterator.d.ts +0 -0
- package/lib/common/layout-formatter/box/generator/multi-dimension-iterator.js +0 -0
- package/lib/common/layout-formatter/table/layout-row-index-helper.d.ts +0 -0
- package/lib/common/layout-formatter/table/layout-row-index-helper.js +0 -0
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.4
|
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))
|
@@ -19599,6 +19616,8 @@ class StyleBase {
|
|
19599
19616
|
|
19600
19617
|
|
19601
19618
|
|
19619
|
+
|
19620
|
+
|
19602
19621
|
class ParagraphStyle extends StyleBase {
|
19603
19622
|
constructor(styleName, localizedName, deleted, hidden, semihidden, isDefault, maskedCharacterProperties, maskedParagraphProperties, tabs, autoUpdate, numberingListIndex, listLevelIndex, base64EncodedImage, id) {
|
19604
19623
|
super(styleName, localizedName, deleted, hidden, semihidden, isDefault, base64EncodedImage, id);
|
@@ -19710,6 +19729,7 @@ class TabInfoBase {
|
|
19710
19729
|
this.deleted = deleted;
|
19711
19730
|
this.isDefault = isDefault;
|
19712
19731
|
}
|
19732
|
+
get isLeftAlignment() { return utils_enum/* EnumUtils */.Y.isAnyOf(this.alignment, TabAlign.Left, TabAlign.Numbering); }
|
19713
19733
|
equals(obj) {
|
19714
19734
|
if (!obj)
|
19715
19735
|
return false;
|
@@ -22966,15 +22986,16 @@ class Field {
|
|
22966
22986
|
return newInterval.start = Field.correctIntervalDueToFieldsCaseSelectionCollapsed(subDocument.fields, newInterval.start);
|
22967
22987
|
const indexesInterval = Field.correctIntervalDueToFieldsWithoutUiChecks(subDocument, newInterval);
|
22968
22988
|
utils_list.ListUtils.forEach(fields, (field) => {
|
22969
|
-
if (field.getResultInterval().equals(newInterval) && !this.
|
22989
|
+
if (field.getResultInterval().equals(newInterval) && !this.isResizableObjectSelected(subDocument, newInterval))
|
22970
22990
|
newInterval.expand(field.getAllFieldInterval());
|
22971
22991
|
}, indexesInterval.start, indexesInterval.end);
|
22972
22992
|
}
|
22973
|
-
static
|
22993
|
+
static isResizableObjectSelected(subDocument, interval) {
|
22974
22994
|
if (interval.length !== 1)
|
22975
22995
|
return false;
|
22976
22996
|
const run = subDocument.getRunByPosition(interval.start);
|
22977
|
-
|
22997
|
+
const runType = run && run.getType();
|
22998
|
+
return runType == RunType.AnchoredPictureRun || runType == RunType.AnchoredTextBoxRun || runType == RunType.InlinePictureRun;
|
22978
22999
|
}
|
22979
23000
|
static correctWhenPositionInStartCode(fields, position) {
|
22980
23001
|
if (fields.length < 1)
|
@@ -34176,7 +34197,7 @@ class FieldsWaitingForUpdate {
|
|
34176
34197
|
}
|
34177
34198
|
if (!fieldParser.update(response)) {
|
34178
34199
|
someFieldInCurrentInfoNotUpdated = true;
|
34179
|
-
info.parsers.
|
34200
|
+
info.parsers.unshift(fieldParser);
|
34180
34201
|
}
|
34181
34202
|
else
|
34182
34203
|
fieldParser.destructor();
|
@@ -36105,7 +36126,7 @@ function convertToCharacterPropertiesApi(properties, colorProvider) {
|
|
36105
36126
|
return value;
|
36106
36127
|
}
|
36107
36128
|
function convertFromCharacterPropertiesApi(properties, fontInfoCache, parameterIndex, setRestAsUndefined, propsCoreTemplate) {
|
36108
|
-
var _a, _b, _c, _d, _e, _f, _g, _h
|
36129
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
36109
36130
|
properties = ApiParametersChecker.check(properties, parameterIndex, false, [
|
36110
36131
|
ApiParametersChecker.objectDescriptor('properties', 'CharacterProperties', (val) => val)
|
36111
36132
|
]);
|
@@ -36125,31 +36146,27 @@ function convertFromCharacterPropertiesApi(properties, fontInfoCache, parameterI
|
|
36125
36146
|
propsCoreTemplate.fontItalic = (_d = ApiParametersChecker.check(properties.italic, parameterIndex, true, [
|
36126
36147
|
ApiParametersChecker.booleanDescriptor('properties.italic', (val) => val)
|
36127
36148
|
])) !== 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, [
|
36149
|
+
const fontInfo = ApiParametersChecker.check(properties.fontName, parameterIndex, true, [
|
36150
|
+
ApiParametersChecker.stringDescriptor('properties.fontName', (value) => fontInfoCache.getItemByName(value), false)
|
36151
|
+
]);
|
36152
|
+
propsCoreTemplate.fontInfo = fontInfo === undefined ? propsCoreTemplate.fontInfo : fontInfo !== null && fontInfo !== void 0 ? fontInfo : fontInfoCache.addFont(properties.fontName, properties.fontName);
|
36153
|
+
propsCoreTemplate.fontSize = (_e = ApiParametersChecker.check(properties.size, parameterIndex, true, [
|
36137
36154
|
ApiParametersChecker.numberDescriptor('properties.size', (val) => val, 0, 601)
|
36138
|
-
])) !== null &&
|
36139
|
-
propsCoreTemplate.hidden = (
|
36155
|
+
])) !== null && _e !== void 0 ? _e : propsCoreTemplate.fontSize;
|
36156
|
+
propsCoreTemplate.hidden = (_f = ApiParametersChecker.check(properties.hidden, parameterIndex, true, [
|
36140
36157
|
ApiParametersChecker.booleanDescriptor('properties.hidden', (val) => val)
|
36141
|
-
])) !== null &&
|
36158
|
+
])) !== null && _f !== void 0 ? _f : propsCoreTemplate.hidden;
|
36142
36159
|
const shadigInfoColor = ApiParametersChecker.check(properties.backColor, parameterIndex, true, ModelParametersChecker.colorDescriptors('properties.backColor'));
|
36143
36160
|
propsCoreTemplate.shadingInfo = shadigInfoColor === undefined ? propsCoreTemplate.shadingInfo :
|
36144
36161
|
ShadingInfo.createByColor(color_model_info_ColorModelInfo.makeByColor(shadigInfoColor));
|
36145
|
-
propsCoreTemplate.script = (
|
36162
|
+
propsCoreTemplate.script = (_g = ApiParametersChecker.check(properties.script, parameterIndex, true, [
|
36146
36163
|
ApiParametersChecker.enumDescriptor('properties.script', (val) => val, CharacterPropertiesScriptApi, 'CharacterPropertiesScript')
|
36147
|
-
])) !== null &&
|
36164
|
+
])) !== null && _g !== void 0 ? _g : propsCoreTemplate.script;
|
36148
36165
|
const underlineColor = ApiParametersChecker.check(properties.underlineColor, parameterIndex, true, ModelParametersChecker.colorDescriptors('properties.underlineColor'));
|
36149
36166
|
propsCoreTemplate.underlineColor = underlineColor === undefined ? propsCoreTemplate.underlineColor : color_model_info_ColorModelInfo.makeByColor(underlineColor);
|
36150
|
-
propsCoreTemplate.underlineWordsOnly = (
|
36167
|
+
propsCoreTemplate.underlineWordsOnly = (_h = ApiParametersChecker.check(properties.underlineWordsOnly, parameterIndex, true, [
|
36151
36168
|
ApiParametersChecker.booleanDescriptor('properties.underlineWordsOnly', (val) => val)
|
36152
|
-
])) !== null &&
|
36169
|
+
])) !== null && _h !== void 0 ? _h : propsCoreTemplate.underlineWordsOnly;
|
36153
36170
|
const strikeout = ApiParametersChecker.check(properties.strikeout, parameterIndex, true, [
|
36154
36171
|
ApiParametersChecker.booleanDescriptor('properties.strikeout', (val) => val)
|
36155
36172
|
]);
|
@@ -40510,7 +40527,7 @@ class CharacterPropertiesUseValueManipulator {
|
|
40510
40527
|
constructor(manipulator) {
|
40511
40528
|
this.manipulator = manipulator;
|
40512
40529
|
}
|
40513
|
-
setValue(subDocument, interval, newValue) {
|
40530
|
+
setValue(subDocument, interval, newValue, keepCustomFormatting = false) {
|
40514
40531
|
var oldState = new HistoryItemIntervalState();
|
40515
40532
|
if (!ControlOptions.isEnabled(subDocument.documentModel.options.characterFormatting))
|
40516
40533
|
return oldState;
|
@@ -40520,7 +40537,7 @@ class CharacterPropertiesUseValueManipulator {
|
|
40520
40537
|
var run = iterator.currentRun;
|
40521
40538
|
oldState.register(new HistoryItemIntervalStateObject(iterator.currentInterval(), run.maskedCharacterProperties.getUseValueFull()));
|
40522
40539
|
var properties = run.maskedCharacterProperties.clone();
|
40523
|
-
properties.setUseValueFull(newValue);
|
40540
|
+
properties.setUseValueFull(newValue, keepCustomFormatting);
|
40524
40541
|
run.setCharacterProperties(properties);
|
40525
40542
|
run.onCharacterPropertiesChanged();
|
40526
40543
|
}
|
@@ -43204,7 +43221,7 @@ class PictureManipulator extends RunsBaseManipulator {
|
|
43204
43221
|
this.history.addTransaction(() => {
|
43205
43222
|
this.modelManipulator.range.removeInterval(new SubDocumentInterval(subDocument, interval), true, false);
|
43206
43223
|
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);
|
43224
|
+
this.modelManipulator.picture.insertInlinePictureViaHistory(new SubDocumentPosition(subDocument, interval.start), charPropsBundle, newInfo, new ImageLoadingOptions(!pictureRun.cacheInfo.isSizeDefined));
|
43208
43225
|
});
|
43209
43226
|
}
|
43210
43227
|
}
|
@@ -43219,7 +43236,7 @@ class PictureManipulator extends RunsBaseManipulator {
|
|
43219
43236
|
anchorInfo.zOrder = this.modelManipulator.floatingObject.zOrder.getNewZOrder(subDocument);
|
43220
43237
|
this.modelManipulator.range.removeInterval(new SubDocumentInterval(subDocument, interval), true, false);
|
43221
43238
|
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(
|
43239
|
+
this.modelManipulator.picture.insertAnchoredPictureViaHistory(new SubDocumentPosition(subDocument, interval.start), charPropsBundle, newInfo, new ImageLoadingOptions(!pictureRun.cacheInfo.isSizeDefined));
|
43223
43240
|
run = subDocument.getRunByPosition(interval.start);
|
43224
43241
|
}
|
43225
43242
|
let anchoredRun = run.getType() == RunType.AnchoredPictureRun ? run : run;
|
@@ -54152,8 +54169,8 @@ class ListLevelDisplayTextHelper {
|
|
54152
54169
|
static getTextRange(placeholderIndices, startPlaceHolderIndex, text) {
|
54153
54170
|
var index = placeholderIndices[startPlaceHolderIndex] + 1;
|
54154
54171
|
var result = text.substr(index, placeholderIndices[startPlaceHolderIndex + 1] - index);
|
54155
|
-
result = result.replace(
|
54156
|
-
result = result.replace(
|
54172
|
+
result = result.replace(/{/g, "{{");
|
54173
|
+
result = result.replace(/}/g, "}}");
|
54157
54174
|
return result;
|
54158
54175
|
}
|
54159
54176
|
}
|
@@ -65678,13 +65695,14 @@ class ImportedTextRunInfo extends RunInfo {
|
|
65678
65695
|
}
|
65679
65696
|
ImportedTextRunInfo.tabRegex = new RegExp(RichUtils.specialCharacters.NonBreakingSpace + "{1,}", "gi");
|
65680
65697
|
class ImportedParagraphListInfo {
|
65681
|
-
constructor(listIndex, listLevel, listFormat, listType, displayFormatString, maskedCharacterProperties) {
|
65698
|
+
constructor(listIndex, listLevel, listFormat, listType, displayFormatString, maskedCharacterProperties, newStart = 1) {
|
65682
65699
|
this.listIndex = listIndex;
|
65683
65700
|
this.listLevel = listLevel;
|
65684
65701
|
this.listFormat = listFormat;
|
65685
65702
|
this.listType = listType;
|
65686
65703
|
this.displayFormatString = displayFormatString;
|
65687
65704
|
this.maskedCharacterProperties = maskedCharacterProperties;
|
65705
|
+
this.newStart = newStart;
|
65688
65706
|
}
|
65689
65707
|
}
|
65690
65708
|
class ImportedParagraphRunInfo extends RunInfo {
|
@@ -66062,6 +66080,10 @@ class HtmlModelInserter {
|
|
66062
66080
|
if (listInfo.displayFormatString) {
|
66063
66081
|
modelManipulator.numberingList.listLevelProperties.displayFormatString.setValue(model, false, targetListIndex, listLevelIndex, listInfo.displayFormatString);
|
66064
66082
|
}
|
66083
|
+
if (listInfo.newStart) {
|
66084
|
+
modelManipulator.numberingList.setIOverrideListLevelNewStart(numberingListIndex, listLevelIndex, listInfo.newStart);
|
66085
|
+
modelManipulator.numberingList.setIOverrideListLevelOverrideStart(numberingListIndex, listLevelIndex, true);
|
66086
|
+
}
|
66065
66087
|
if (listInfo.maskedCharacterProperties) {
|
66066
66088
|
listLevel.setCharacterProperties(listInfo.maskedCharacterProperties);
|
66067
66089
|
listLevel.onCharacterPropertiesChanged();
|
@@ -66639,7 +66661,8 @@ class HtmlListTagImporterBase extends HtmlTagImporterBase {
|
|
66639
66661
|
}
|
66640
66662
|
const listFormat = ParagraphListPropertiesUtils.getListType(this.element);
|
66641
66663
|
const displayFormat = ParagraphListPropertiesUtils.importDisplayFormatStringByParentListFormat(listFormat, parentList === null || parentList === void 0 ? void 0 : parentList.listFormat, listLevel);
|
66642
|
-
|
66664
|
+
const startIndex = parseInt(this.element.getAttribute('start'));
|
66665
|
+
this.importer.listInfos.push(new ImportedParagraphListInfo(listIndex, listLevel, listFormat, listFormat == NumberingFormat.Bullet ? numbering_list_NumberingType.Bullet : numbering_list_NumberingType.MultiLevel, displayFormat, null, startIndex));
|
66643
66666
|
}
|
66644
66667
|
isImportChildren() {
|
66645
66668
|
return true;
|
@@ -67734,7 +67757,6 @@ class HtmlImporter {
|
|
67734
67757
|
;
|
67735
67758
|
get currElementChildren() { return utils_list.ListUtils.last(this.levelInfo).childElements; }
|
67736
67759
|
;
|
67737
|
-
get prevLevelInfo() { return this.levelInfo[this.levelInfo.length - 2]; }
|
67738
67760
|
get currLevelInfo() { return utils_list.ListUtils.last(this.levelInfo); }
|
67739
67761
|
get currListItemLevelInfo() { return utils_list.ListUtils.reverseElementBy(this.levelInfo, (levelInfo) => { var _a; return ((_a = levelInfo.tagImporter) === null || _a === void 0 ? void 0 : _a.elementTag()) === 'LI'; }); }
|
67740
67762
|
get currListInfo() {
|
@@ -67967,7 +67989,7 @@ class HtmlImporter {
|
|
67967
67989
|
html = html.replace(/<o:[pP][^>]*>\s*<\/o:[pP]>/gi, '');
|
67968
67990
|
html = html.replace(/<o:[pP][^>]*>.*?<\/o:[pP]>/gi, ' ');
|
67969
67991
|
html = html.replace(/<st1:.*?>/gi, '');
|
67970
|
-
html = html.replace(
|
67992
|
+
html = html.replace(/<!--[\s\S]*?(-->|$)/g, '');
|
67971
67993
|
html = html.replace(/\s*style="\s*"/gi, '');
|
67972
67994
|
html = html.replace(/style=""/ig, "");
|
67973
67995
|
html = html.replace(/style=''/ig, "");
|
@@ -68008,7 +68030,7 @@ class HtmlImporter {
|
|
68008
68030
|
html = html.replace(/\n/gi, RichUtils.specialCharacters.LineBreak);
|
68009
68031
|
html = html.replace(/(<\/(?!(p)+)(\s*[^>]*)?>)<\/td>/gi, '$1<p> </p></td>');
|
68010
68032
|
html = html.replace(/(<\/(?!(p)+)(\s*[^>]*)?>)<\/th>/gi, '$1<p> </p></th>');
|
68011
|
-
html = html.replace(/<script
|
68033
|
+
html = html.replace(/<script\b[^>]*>[\s\S]*?(<\/script\b[^>]*>|$)/gi, '');
|
68012
68034
|
html = html.replace(/<u>([\s\S]*?)<\/u>/gi, '<span style="text-decoration: underline">$1</span>');
|
68013
68035
|
html = html.replace(/<s>([\s\S]*?)<\/s>/gi, '<span style="text-decoration: line-through">$1</span>');
|
68014
68036
|
html = html.replace(/<\/([^\s>]+)(\s[^>]*)?><br><\/([^\s>]+)(\s[^>]*)?>/gi, '');
|
@@ -68631,7 +68653,7 @@ class HtmlExporter {
|
|
68631
68653
|
.configure((el) => {
|
68632
68654
|
el.setAttribute('border', '1');
|
68633
68655
|
el.style.cssText = 'border-width: 0px; border-collapse: collapse; border-spacing: 0px;';
|
68634
|
-
el.setAttribute('id', guidLabel.replace(
|
68656
|
+
el.setAttribute('id', guidLabel.replace(/id="/g, "").replace(/"/g, ""));
|
68635
68657
|
})
|
68636
68658
|
.startChild('tbody')
|
68637
68659
|
.startChild('tr')
|
@@ -68828,17 +68850,26 @@ class HtmlExporter {
|
|
68828
68850
|
});
|
68829
68851
|
if (!list) {
|
68830
68852
|
const parentList = (previousList === null || previousList === void 0 ? void 0 : previousList.numberingListIndex) === numberingListIndex ? previousList : null;
|
68831
|
-
list = { parentList, numberingListIndex, listLevelIndex, start, end };
|
68853
|
+
list = { parentList, numberingListIndex, listLevelIndex, start, end, intervals: [], paragraphsCount: 0 };
|
68832
68854
|
listsInInterval.push(list);
|
68833
68855
|
}
|
68856
|
+
list.paragraphsCount++;
|
68834
68857
|
previousList = list;
|
68835
|
-
|
68836
|
-
list.end = end;
|
68837
|
-
} while (list = list.parentList);
|
68858
|
+
this.updateListIntervals(list, start, end);
|
68838
68859
|
}
|
68839
68860
|
}
|
68840
68861
|
return listsInInterval;
|
68841
68862
|
}
|
68863
|
+
updateListIntervals(list, start, end) {
|
68864
|
+
list.end = end;
|
68865
|
+
const lastInterval = list.intervals.at(-1);
|
68866
|
+
if (lastInterval && lastInterval.end === start)
|
68867
|
+
lastInterval.end = end;
|
68868
|
+
else
|
68869
|
+
list.intervals.push({ start, end, listStartValue: list.paragraphsCount });
|
68870
|
+
if (list.parentList)
|
68871
|
+
this.updateListIntervals(list.parentList, start, end);
|
68872
|
+
}
|
68842
68873
|
addParentTableRecursively(model, builder, parentCell, paragraphStartPosition) {
|
68843
68874
|
const parentRow = parentCell.parentRow;
|
68844
68875
|
const parentTable = parentRow.parentTable;
|
@@ -68876,51 +68907,65 @@ class HtmlExporter {
|
|
68876
68907
|
startList(model, subDocument, interval, builder, lists, position) {
|
68877
68908
|
if (!lists.length)
|
68878
68909
|
return;
|
68879
|
-
|
68880
|
-
if (
|
68910
|
+
const listsToStart = lists.filter(list => list.intervals.some(interval => interval.start === position));
|
68911
|
+
if (!listsToStart.length && position === interval.start) {
|
68881
68912
|
const firstParagraph = subDocument.getParagraphByPosition(position);
|
68882
68913
|
if (firstParagraph.getNumberingListIndex() === lists[0].numberingListIndex)
|
68883
|
-
|
68884
|
-
}
|
68885
|
-
|
68886
|
-
const numberingList = model.numberingLists[
|
68887
|
-
const
|
68888
|
-
const
|
68889
|
-
|
68890
|
-
|
68914
|
+
listsToStart.push(lists[0]);
|
68915
|
+
}
|
68916
|
+
for (const list of listsToStart) {
|
68917
|
+
const numberingList = model.numberingLists[list.numberingListIndex];
|
68918
|
+
const level = numberingList.levels[list.listLevelIndex];
|
68919
|
+
const format = level.getListLevelProperties().format;
|
68920
|
+
const listType = numberingList.getListType();
|
68921
|
+
const levelStart = level.getNewStart();
|
68922
|
+
const intervalStart = list.intervals.find(interval => interval.start === position).listStartValue;
|
68923
|
+
const listStart = Math.max(levelStart, intervalStart);
|
68924
|
+
let listStyleType = "";
|
68925
|
+
switch (format) {
|
68891
68926
|
case NumberingFormat.Bullet:
|
68892
|
-
|
68927
|
+
listStyleType = "disc";
|
68893
68928
|
break;
|
68894
68929
|
case NumberingFormat.Decimal:
|
68895
|
-
|
68930
|
+
listStyleType = "decimal";
|
68896
68931
|
break;
|
68897
68932
|
case NumberingFormat.LowerLetter:
|
68898
|
-
|
68933
|
+
listStyleType = "lower-alpha";
|
68899
68934
|
break;
|
68900
68935
|
case NumberingFormat.UpperLetter:
|
68901
|
-
|
68936
|
+
listStyleType = "upper-alpha";
|
68902
68937
|
break;
|
68903
68938
|
case NumberingFormat.LowerRoman:
|
68904
|
-
|
68939
|
+
listStyleType = "lower-roman";
|
68905
68940
|
break;
|
68906
68941
|
case NumberingFormat.UpperRoman:
|
68907
|
-
|
68942
|
+
listStyleType = "upper-roman";
|
68908
68943
|
break;
|
68909
68944
|
default:
|
68910
68945
|
break;
|
68911
68946
|
}
|
68912
68947
|
builder
|
68913
|
-
.startChild(
|
68914
|
-
.configure((e) =>
|
68948
|
+
.startChild(listType !== numbering_list_NumberingType.Bullet ? "ol" : "ul")
|
68949
|
+
.configure((e) => {
|
68950
|
+
e.style.cssText = "list-style-type:" + listStyleType;
|
68951
|
+
if (listStart > 1)
|
68952
|
+
e.setAttribute("start", listStart.toString());
|
68953
|
+
});
|
68915
68954
|
}
|
68916
68955
|
}
|
68917
68956
|
endList(model, builder, lists, endPosition) {
|
68918
68957
|
for (let i = lists.length - 1; i >= 0; i--) {
|
68919
|
-
|
68920
|
-
|
68921
|
-
|
68922
|
-
|
68958
|
+
const list = lists[i];
|
68959
|
+
for (let j = list.intervals.length - 1; j >= 0; j--) {
|
68960
|
+
const interval = list.intervals[j];
|
68961
|
+
if (interval.end === endPosition) {
|
68962
|
+
const listType = model.numberingLists[list.numberingListIndex].getListType();
|
68963
|
+
builder.endChild(listType !== numbering_list_NumberingType.Bullet ? "ol" : "ul");
|
68964
|
+
list.intervals.splice(j, 1);
|
68965
|
+
}
|
68923
68966
|
}
|
68967
|
+
if (list.intervals.length === 0)
|
68968
|
+
lists.splice(i, 1);
|
68924
68969
|
}
|
68925
68970
|
}
|
68926
68971
|
getHtmlText(text) {
|
@@ -70761,10 +70806,104 @@ var SelectionBatchUpdateEvents;
|
|
70761
70806
|
SelectionBatchUpdateEvents[SelectionBatchUpdateEvents["MisspelledSelectionChanged"] = 8] = "MisspelledSelectionChanged";
|
70762
70807
|
})(SelectionBatchUpdateEvents || (SelectionBatchUpdateEvents = {}));
|
70763
70808
|
|
70809
|
+
;// CONCATENATED MODULE: ./src/common/utils/mixed-size.ts
|
70810
|
+
|
70811
|
+
class MixedSize {
|
70812
|
+
constructor() {
|
70813
|
+
this._UISizePart = 0;
|
70814
|
+
this._layoutSizePart = 0;
|
70815
|
+
this._scale = 1;
|
70816
|
+
this._scaleIsSpecified = false;
|
70817
|
+
}
|
70818
|
+
static fromLayout(value) {
|
70819
|
+
return new MixedSize().addLayoutSize(value);
|
70820
|
+
}
|
70821
|
+
static fromUI(value) {
|
70822
|
+
return new MixedSize().addUISize(value);
|
70823
|
+
}
|
70824
|
+
get UISize() {
|
70825
|
+
this.checkScaleIsSpecified();
|
70826
|
+
if (!(0,common.isDefined)(this._UISize))
|
70827
|
+
this._UISize = this._layoutSizePart * this._scale + this._UISizePart;
|
70828
|
+
return this._UISize;
|
70829
|
+
}
|
70830
|
+
get LayoutSize() {
|
70831
|
+
this.checkScaleIsSpecified();
|
70832
|
+
if (!(0,common.isDefined)(this._layoutSize))
|
70833
|
+
this._layoutSize = this._layoutSizePart + this._UISizePart / this._scale;
|
70834
|
+
return this._layoutSize;
|
70835
|
+
}
|
70836
|
+
get UISizePart() {
|
70837
|
+
return this._UISizePart;
|
70838
|
+
}
|
70839
|
+
set UISizePart(value) {
|
70840
|
+
this._UISizePart = value;
|
70841
|
+
this.onSizeChanged();
|
70842
|
+
}
|
70843
|
+
get LayoutSizePart() {
|
70844
|
+
return this._layoutSizePart;
|
70845
|
+
}
|
70846
|
+
set LayoutSizePart(value) {
|
70847
|
+
this._layoutSizePart = value;
|
70848
|
+
this.onSizeChanged();
|
70849
|
+
}
|
70850
|
+
onSizeChanged() {
|
70851
|
+
this._UISize = null;
|
70852
|
+
this._layoutSize = null;
|
70853
|
+
}
|
70854
|
+
addUISize(value) {
|
70855
|
+
this.UISizePart += value;
|
70856
|
+
return this;
|
70857
|
+
}
|
70858
|
+
addLayoutSize(value) {
|
70859
|
+
this.LayoutSizePart += value;
|
70860
|
+
return this;
|
70861
|
+
}
|
70862
|
+
addSize(value) {
|
70863
|
+
this.checkSizeHasSameScale(value);
|
70864
|
+
this.addLayoutSize(value._layoutSizePart);
|
70865
|
+
this.addUISize(value._UISizePart);
|
70866
|
+
return this;
|
70867
|
+
}
|
70868
|
+
subtractUISize(value) {
|
70869
|
+
this.UISizePart -= value;
|
70870
|
+
return this;
|
70871
|
+
}
|
70872
|
+
subtractLayoutSize(value) {
|
70873
|
+
this.LayoutSizePart -= value;
|
70874
|
+
return this;
|
70875
|
+
}
|
70876
|
+
subtractSize(value) {
|
70877
|
+
this.checkSizeHasSameScale(value);
|
70878
|
+
this.subtractLayoutSize(value._layoutSizePart);
|
70879
|
+
this.subtractUISize(value._UISizePart);
|
70880
|
+
return this;
|
70881
|
+
}
|
70882
|
+
checkSizeHasSameScale(size) {
|
70883
|
+
if (size._scaleIsSpecified && size._scale !== this._scale)
|
70884
|
+
throw new Error("The size has a different scale and cannot be added.");
|
70885
|
+
}
|
70886
|
+
checkScaleIsSpecified() {
|
70887
|
+
if (!this._scaleIsSpecified)
|
70888
|
+
console.warn("MixedSize is used without specifying the scale.");
|
70889
|
+
}
|
70890
|
+
useScale(value) {
|
70891
|
+
this._scale = value;
|
70892
|
+
this._scaleIsSpecified = true;
|
70893
|
+
return this;
|
70894
|
+
}
|
70895
|
+
clear() {
|
70896
|
+
this.UISizePart = 0;
|
70897
|
+
this.LayoutSizePart = 0;
|
70898
|
+
return this;
|
70899
|
+
}
|
70900
|
+
}
|
70901
|
+
|
70764
70902
|
;// CONCATENATED MODULE: ./src/common/layout/document-layout.ts
|
70765
70903
|
|
70766
70904
|
|
70767
70905
|
|
70906
|
+
|
70768
70907
|
class ModelPositionHolder {
|
70769
70908
|
constructor(pos, posManager) {
|
70770
70909
|
this.pos = posManager.registerPosition(pos);
|
@@ -70830,11 +70969,17 @@ class DocumentLayout {
|
|
70830
70969
|
return this.pages.find((page) => !!page.mainSubDocumentPageAreas[subDocumentId] || !!page.otherPageAreas[subDocumentId]);
|
70831
70970
|
}
|
70832
70971
|
findPageIndexByOffsetY(offsetY, sizeInfo) {
|
70833
|
-
|
70972
|
+
const getPageOffsetY = (p) => MixedSize.fromLayout(sizeInfo.getPageOffsetY(p)).useScale(sizeInfo.zoomLevel).UISize;
|
70973
|
+
const normedInterpolationIndex = search.SearchUtils.normedInterpolationIndexOf(this.pages, getPageOffsetY, offsetY);
|
70974
|
+
return Math.max(0, normedInterpolationIndex);
|
70834
70975
|
}
|
70835
70976
|
}
|
70836
70977
|
|
70837
70978
|
;// CONCATENATED MODULE: ./src/client/model-api/table/enums.ts
|
70979
|
+
|
70980
|
+
|
70981
|
+
|
70982
|
+
|
70838
70983
|
var BorderLineStyleApi;
|
70839
70984
|
(function (BorderLineStyleApi) {
|
70840
70985
|
BorderLineStyleApi[BorderLineStyleApi["Nil"] = -1] = "Nil";
|
@@ -79860,7 +80005,7 @@ class TextDestination extends ElementDestination {
|
|
79860
80005
|
return true;
|
79861
80006
|
}
|
79862
80007
|
replaceLineBreakOnSpace(text) {
|
79863
|
-
return text.replace(
|
80008
|
+
return text.replace(/\n/g, ' ');
|
79864
80009
|
}
|
79865
80010
|
}
|
79866
80011
|
|
@@ -82682,7 +82827,7 @@ class ListLevelFormatStringDestination extends ListLevelElementDestination {
|
|
82682
82827
|
}
|
82683
82828
|
convertFormatString(value) {
|
82684
82829
|
const regex = new RegExp(/%\d/);
|
82685
|
-
let result = value.replace(
|
82830
|
+
let result = value.replace(/{/g, '{{').replace(/}/g, '}}');
|
82686
82831
|
let match = result.match(regex);
|
82687
82832
|
if (match) {
|
82688
82833
|
do {
|
@@ -84217,6 +84362,7 @@ class ChangeRectangularObjectLockAspectRatioHistoryItem extends interval_based_h
|
|
84217
84362
|
}
|
84218
84363
|
|
84219
84364
|
;// CONCATENATED MODULE: ./src/client/model-api/images/image-enums.ts
|
84365
|
+
|
84220
84366
|
var FloatingObjectHorizontalPositionTypeApi;
|
84221
84367
|
(function (FloatingObjectHorizontalPositionTypeApi) {
|
84222
84368
|
FloatingObjectHorizontalPositionTypeApi[FloatingObjectHorizontalPositionTypeApi["Aligned"] = 0] = "Aligned";
|
@@ -84850,7 +84996,7 @@ class ImagesApi {
|
|
84850
84996
|
applyVerticalPosition(verticalPosition, anchorInfo);
|
84851
84997
|
const anchorPictureInfo = new AnchorPictureInfo(new PictureSize(true, 0, cacheInfo, new geometry_size.Size(100, 100)), shape, anchorInfo, new NonVisualDrawingObjectInfo(), new NonVisualDrawingObjectInfo());
|
84852
84998
|
anchorPictureInfo.containerProperties.description = options.description;
|
84853
|
-
this._processor.modelManager.modelManipulator.picture.insertAnchoredPictureViaHistory(new SubDocumentPosition(this._subDocument, position), inputPos.charPropsBundle, anchorPictureInfo,
|
84999
|
+
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
85000
|
callback(getFloatingImageApiFromRun(this._processor, this._subDocument, this._subDocument.getRunAndIndexesByPosition(position)));
|
84855
85001
|
}, 0)));
|
84856
85002
|
this._processor.endUpdate();
|
@@ -85880,6 +86026,191 @@ class sub_documents_collection_SubDocumentCollection extends Collection {
|
|
85880
86026
|
}
|
85881
86027
|
}
|
85882
86028
|
|
86029
|
+
;// CONCATENATED MODULE: ./src/common/model/fonts/google-fonts.ts
|
86030
|
+
|
86031
|
+
|
86032
|
+
|
86033
|
+
|
86034
|
+
|
86035
|
+
class GoogleFontsApi {
|
86036
|
+
constructor(controlFontsCache, fonts) {
|
86037
|
+
this.fontFamilyToFontInfo = {};
|
86038
|
+
this.fonts = fonts;
|
86039
|
+
this.controlFontsCache = controlFontsCache;
|
86040
|
+
const params = this.fonts.map(font => {
|
86041
|
+
const fontFamily = font.getFontFamilies()[0];
|
86042
|
+
this.fontFamilyToFontInfo[fontFamily] = font;
|
86043
|
+
return `${fontFamily.replace(' ', '+')}:regular,bold,italic,bolditalic`;
|
86044
|
+
}).join('|');
|
86045
|
+
this.uri = `https://fonts.googleapis.com/css?family=${params}`;
|
86046
|
+
}
|
86047
|
+
loadControlFonts(callback) {
|
86048
|
+
const notLoaded = () => callback([]);
|
86049
|
+
const xhr = new XMLHttpRequest();
|
86050
|
+
xhr.onload = (_e) => {
|
86051
|
+
const responce = xhr.response;
|
86052
|
+
if (xhr.status >= 400 || !responce)
|
86053
|
+
notLoaded();
|
86054
|
+
else
|
86055
|
+
callback(this.parseResponce(responce));
|
86056
|
+
};
|
86057
|
+
xhr.onerror = () => notLoaded();
|
86058
|
+
xhr.open("GET", this.uri, true);
|
86059
|
+
xhr.responseType = "text";
|
86060
|
+
xhr.send();
|
86061
|
+
}
|
86062
|
+
parseResponce(responce) {
|
86063
|
+
const result = [];
|
86064
|
+
let regexpResult;
|
86065
|
+
const regexp = /@font-face\s*\{([\s\S]*?)\}/gm;
|
86066
|
+
while (regexpResult = regexp.exec(responce)) {
|
86067
|
+
const fontInfo = regexpResult[1];
|
86068
|
+
const fontFamily = fontInfo.match(/font-family:\s*'(\w+\s*\w*)';/);
|
86069
|
+
if (fontFamily && fontFamily[1]) {
|
86070
|
+
const url = GoogleFontsApi.parseSrc(fontInfo.match(/src:\s*(.+);/));
|
86071
|
+
const fontStyle = fontInfo.match(/font-style:\s*(\w+);/);
|
86072
|
+
const fontWeight = fontInfo.match(/font-weight:\s*(.+);/);
|
86073
|
+
const unicodeRange = fontInfo.match(/unicode-range:\s*(.+);/);
|
86074
|
+
const desc = new FontFaceDescriptors();
|
86075
|
+
if (fontStyle && fontStyle[1])
|
86076
|
+
desc.style = fontStyle[1];
|
86077
|
+
if (fontWeight && fontWeight[1])
|
86078
|
+
desc.weight = fontWeight[1];
|
86079
|
+
if (unicodeRange && unicodeRange[1])
|
86080
|
+
desc.unicodeRange = unicodeRange[1];
|
86081
|
+
const controlFont = this.controlFontsCache.addFont(new ControlFont(fontFamily[1], desc));
|
86082
|
+
if (url && utils_list.ListUtils.allOf(controlFont.sourceUrls, s => s != url)) {
|
86083
|
+
controlFont.sourceUrls.unshift(url);
|
86084
|
+
const fontInfo = this.fontFamilyToFontInfo[controlFont.fontFamily];
|
86085
|
+
const controlFontType = new class_flag.Flag();
|
86086
|
+
controlFontType.set(ControlFontType.Bold, controlFont.descriptors.msWordBold());
|
86087
|
+
controlFontType.set(ControlFontType.Italic, controlFont.descriptors.msWordItalic());
|
86088
|
+
fontInfo.controlFontMap[controlFontType.getValue()] = controlFont.cacheKey;
|
86089
|
+
result.push(controlFont);
|
86090
|
+
}
|
86091
|
+
}
|
86092
|
+
}
|
86093
|
+
return result;
|
86094
|
+
}
|
86095
|
+
static parseSrc(matchSrc) {
|
86096
|
+
if (matchSrc && matchSrc[1])
|
86097
|
+
for (let src of matchSrc[1].split(',')) {
|
86098
|
+
const matchUrl = src.match(/url\((.+)\)\s*format\('(\w+)'\)/);
|
86099
|
+
if (matchUrl)
|
86100
|
+
return matchUrl[1];
|
86101
|
+
}
|
86102
|
+
return null;
|
86103
|
+
}
|
86104
|
+
}
|
86105
|
+
|
86106
|
+
;// CONCATENATED MODULE: ./src/common/model/creator/cache.ts
|
86107
|
+
|
86108
|
+
|
86109
|
+
class ModelCacheFiller {
|
86110
|
+
constructor(model, fontsSettings) {
|
86111
|
+
this.model = model;
|
86112
|
+
this.fontsSettings = fontsSettings;
|
86113
|
+
}
|
86114
|
+
fillCache() {
|
86115
|
+
this.makeFontMap();
|
86116
|
+
this.replaceCharProperties(this.model, "defaultCharacterProperties");
|
86117
|
+
this.model.characterStyles.forEach(style => this.replaceCharProperties(style, "maskedCharacterProperties"));
|
86118
|
+
this.model.paragraphStyles.forEach(style => this.replaceCharProperties(style, "maskedCharacterProperties"));
|
86119
|
+
this.model.tableStyles.forEach(style => {
|
86120
|
+
this.replaceCharProperties(style.baseConditionalStyle, 'maskedCharacterProperties');
|
86121
|
+
number/* NumberMapUtils */.j.forEach(style.conditionalStyles, style => this.replaceCharProperties(style, 'maskedCharacterProperties'));
|
86122
|
+
});
|
86123
|
+
number/* NumberMapUtils */.j.forEach(this.model.subDocuments, sd => this.replaceInModelSubDocument(sd));
|
86124
|
+
}
|
86125
|
+
makeFontMap() {
|
86126
|
+
const fontInfoCache = this.model.cache.fontInfoCache;
|
86127
|
+
const fontsSettings = this.fontsSettings;
|
86128
|
+
this.fontMap = Object.create(null);
|
86129
|
+
fontInfoCache.getAllFonts().forEach(font => this.fontMap[font.name] = fontsSettings.getPermittedFont(fontInfoCache, font));
|
86130
|
+
}
|
86131
|
+
replaceCharProperties(object, propKey) {
|
86132
|
+
const props = object[propKey];
|
86133
|
+
props.fontInfo = props.fontInfo ? this.fontMap[props.fontInfo.name] : this.model.defaultCharacterProperties.fontInfo;
|
86134
|
+
if (props instanceof MaskedCharacterProperties)
|
86135
|
+
object[propKey] = this.model.cache.maskedCharacterPropertiesCache.getItem(props);
|
86136
|
+
else
|
86137
|
+
object[propKey] = this.model.cache.mergedCharacterPropertiesCache.getItem(props);
|
86138
|
+
}
|
86139
|
+
replaceInModelSubDocument(sd) {
|
86140
|
+
sd.paragraphs.forEach(p => p.resetParagraphMergedProperties());
|
86141
|
+
sd.chunks.forEach(chunk => {
|
86142
|
+
chunk.textRuns.forEach(run => {
|
86143
|
+
this.replaceCharProperties(run, 'maskedCharacterProperties');
|
86144
|
+
run.resetCharacterMergedProperties();
|
86145
|
+
});
|
86146
|
+
});
|
86147
|
+
}
|
86148
|
+
}
|
86149
|
+
|
86150
|
+
;// CONCATENATED MODULE: ./src/common/model/creator/font-corrector.ts
|
86151
|
+
|
86152
|
+
|
86153
|
+
|
86154
|
+
|
86155
|
+
|
86156
|
+
|
86157
|
+
|
86158
|
+
class FontCorrector {
|
86159
|
+
get fontInfoCache() {
|
86160
|
+
return this.model.cache.fontInfoCache;
|
86161
|
+
}
|
86162
|
+
get controlFontsCache() {
|
86163
|
+
return this.model.cache.controlFontsCache;
|
86164
|
+
}
|
86165
|
+
constructor(modelManipulator, model, fonts) {
|
86166
|
+
this.modelManipulator = modelManipulator;
|
86167
|
+
this.model = model;
|
86168
|
+
this.fonts = fonts;
|
86169
|
+
}
|
86170
|
+
correct() {
|
86171
|
+
this.addAndLoad();
|
86172
|
+
new ModelCacheFiller(this.model, this.fonts).fillCache();
|
86173
|
+
this.removeRedundant();
|
86174
|
+
this.modelManipulator.raiseFontListChanged(this.fontInfoCache);
|
86175
|
+
}
|
86176
|
+
addAndLoad() {
|
86177
|
+
this.fonts.fonts.forEach(font => {
|
86178
|
+
let newFont = this.fontInfoCache.getItemByName(font.name);
|
86179
|
+
if (!newFont)
|
86180
|
+
newFont = this.fontInfoCache.addFont(font.name, font.fontFamily);
|
86181
|
+
else
|
86182
|
+
newFont.cssString = FontInfoCache.correctCssString(font.fontFamily);
|
86183
|
+
const addControlFont = (uri, desc) => {
|
86184
|
+
const controlFont = this.controlFontsCache.addFont(new ControlFont(font.fontFamily, desc));
|
86185
|
+
controlFont.sourceUrls.unshift(uri);
|
86186
|
+
const controlFontType = new class_flag.Flag();
|
86187
|
+
controlFontType.set(ControlFontType.Bold, controlFont.descriptors.msWordBold());
|
86188
|
+
controlFontType.set(ControlFontType.Italic, controlFont.descriptors.msWordItalic());
|
86189
|
+
newFont.controlFontMap[controlFontType.getValue()] = controlFont.cacheKey;
|
86190
|
+
};
|
86191
|
+
if (font.regularFontUri)
|
86192
|
+
addControlFont(font.regularFontUri, FontFaceDescriptors.create({}));
|
86193
|
+
if (font.boldFontUri)
|
86194
|
+
addControlFont(font.boldFontUri, FontFaceDescriptors.create({ weight: 'bold' }));
|
86195
|
+
if (font.italicFontUri)
|
86196
|
+
addControlFont(font.italicFontUri, FontFaceDescriptors.create({ style: 'italic' }));
|
86197
|
+
if (font.boldItalicFontUri)
|
86198
|
+
addControlFont(font.boldItalicFontUri, FontFaceDescriptors.create({ weight: 'bold', style: 'italic' }));
|
86199
|
+
if (font.googleFontsResponse)
|
86200
|
+
new GoogleFontsApi(this.controlFontsCache, [newFont]).parseResponce(font.googleFontsResponse);
|
86201
|
+
else if (font.useGoogleFonts)
|
86202
|
+
new GoogleFontsApi(this.controlFontsCache, [newFont]).loadControlFonts(_createdFonts => { });
|
86203
|
+
});
|
86204
|
+
}
|
86205
|
+
removeRedundant() {
|
86206
|
+
if (this.fonts.limitedFonts) {
|
86207
|
+
const map = {};
|
86208
|
+
this.fonts.fonts.forEach(f => map[f.name] = f);
|
86209
|
+
this.fontInfoCache.removeItems(font => !map[font.name]);
|
86210
|
+
}
|
86211
|
+
}
|
86212
|
+
}
|
86213
|
+
|
85883
86214
|
;// CONCATENATED MODULE: ./src/client/model-api/document.ts
|
85884
86215
|
|
85885
86216
|
|
@@ -85890,6 +86221,7 @@ class sub_documents_collection_SubDocumentCollection extends Collection {
|
|
85890
86221
|
|
85891
86222
|
|
85892
86223
|
|
86224
|
+
|
85893
86225
|
class RichEditDocumentApi {
|
85894
86226
|
constructor(processor) {
|
85895
86227
|
this._processor = processor;
|
@@ -85988,6 +86320,7 @@ class RichEditDocumentApi {
|
|
85988
86320
|
this._processor.modelManager.model.defaultCharacterProperties =
|
85989
86321
|
this._processor.modelManager.model.cache.maskedCharacterPropertiesCache.getItem(propertiesCore);
|
85990
86322
|
number/* NumberMapUtils */.j.forEach(this._processor.modelManager.model.subDocuments, (sd) => sd.resetMergedFormattingCache(ResetFormattingCacheType.All));
|
86323
|
+
new FontCorrector(this._processor.modelManager.modelManipulator, this._processor.modelManager.model, this._processor.modelManager.richOptions.fonts).correct();
|
85991
86324
|
this._processor.layoutFormatterManager.restartManager.restartAllLayout();
|
85992
86325
|
this._processor.endUpdate();
|
85993
86326
|
}
|
@@ -86418,7 +86751,6 @@ var RichEditClientCommand;
|
|
86418
86751
|
RichEditClientCommand[RichEditClientCommand["GetHtml"] = 458] = "GetHtml";
|
86419
86752
|
RichEditClientCommand[RichEditClientCommand["CreateEmptyIfField"] = 459] = "CreateEmptyIfField";
|
86420
86753
|
RichEditClientCommand[RichEditClientCommand["ChangeZoomLevel"] = 460] = "ChangeZoomLevel";
|
86421
|
-
RichEditClientCommand[RichEditClientCommand["ToggleAllowZoom"] = 461] = "ToggleAllowZoom";
|
86422
86754
|
})(RichEditClientCommand || (RichEditClientCommand = {}));
|
86423
86755
|
|
86424
86756
|
;// CONCATENATED MODULE: ./src/common/interfaces/i-rich-edit-core.ts
|
@@ -91315,9 +91647,9 @@ class RelationsBaseExporter extends ExporterBaseWithRootElement {
|
|
91315
91647
|
urlEncodeAsciiSpecialSymbols(url) {
|
91316
91648
|
if (url) {
|
91317
91649
|
if (url.indexOf(' ') >= 0)
|
91318
|
-
url = url.replace(
|
91650
|
+
url = url.replace(/ /g, '%20');
|
91319
91651
|
if (url.indexOf('\'') >= 0)
|
91320
|
-
url = url.replace(
|
91652
|
+
url = url.replace(/'/g, '%27');
|
91321
91653
|
}
|
91322
91654
|
return url;
|
91323
91655
|
}
|
@@ -92950,7 +93282,6 @@ var LayoutRowStateFlags;
|
|
92950
93282
|
LayoutRowStateFlags[LayoutRowStateFlags["DocumentEnd"] = 16] = "DocumentEnd";
|
92951
93283
|
LayoutRowStateFlags[LayoutRowStateFlags["CellTableEnd"] = 64] = "CellTableEnd";
|
92952
93284
|
LayoutRowStateFlags[LayoutRowStateFlags["PageBreakBefore"] = 128] = "PageBreakBefore";
|
92953
|
-
LayoutRowStateFlags[LayoutRowStateFlags["InfinityWidth"] = 256] = "InfinityWidth";
|
92954
93285
|
})(LayoutRowStateFlags || (LayoutRowStateFlags = {}));
|
92955
93286
|
class layout_row_LayoutRow extends rectangle.Rectangle {
|
92956
93287
|
get hasEffectToPageHeight() { return this.boxes.length != 1 || !this.boxes[0].isSectionBreakBox; }
|
@@ -94170,7 +94501,7 @@ class RowFormatterResult {
|
|
94170
94501
|
return;
|
94171
94502
|
this.rowFormatter.tabInfo.shiftBoxesAfterLastTab();
|
94172
94503
|
const dontJustifyLinesEndingInSoftLineBreak = this.rowFormatter.manager.model.compatibilitySettings.dontJustifyLinesEndingInSoftLineBreak;
|
94173
|
-
if (!this.
|
94504
|
+
if (!this.rowFormatter.rowSizesManager.isInfinityWidth)
|
94174
94505
|
BoxAligner.align(this.row, this.rowFormatter.paragraphProps.alignment, currLogicRowEndPos, this.rowBoxIndexStart, dontJustifyLinesEndingInSoftLineBreak);
|
94175
94506
|
this.rowBoxIndexStart = this.row.boxes.length;
|
94176
94507
|
}
|
@@ -95200,7 +95531,7 @@ class RowFormattingInfo {
|
|
95200
95531
|
let index = 0;
|
95201
95532
|
while (index < this.intervals.length) {
|
95202
95533
|
const interval = this.intervals[index];
|
95203
|
-
if (interval.start <= position && position < interval.end
|
95534
|
+
if (position < interval.start || interval.start <= position && position < interval.end)
|
95204
95535
|
break;
|
95205
95536
|
index++;
|
95206
95537
|
}
|
@@ -95225,7 +95556,7 @@ class RowFormattingInfo {
|
|
95225
95556
|
calcIntersectObjects(height) {
|
95226
95557
|
const initRect = new rectangle.Rectangle(this.outerHorizontalRowContentBounds.start, this.minY, this.outerHorizontalRowContentBounds.length, height);
|
95227
95558
|
return utils_list.ListUtils.reducedMap(this.boundsOfAnchoredOblectsOnThisColumn, (objInfo) => {
|
95228
|
-
if (this.tableCell !== objInfo.cell)
|
95559
|
+
if (this.tableCell !== objInfo.cell || this.isInfinityWidth)
|
95229
95560
|
return null;
|
95230
95561
|
const rect = rectangle.Rectangle.getNonCollapsedIntersection(initRect, objInfo.bounds);
|
95231
95562
|
if (!rect)
|
@@ -95528,6 +95859,8 @@ class RowSizesManager {
|
|
95528
95859
|
this.rowFormattingInfo = new RowFormattingInfo(minY, this.heightCalculator.currState.getFullRowHeight(), outerHorizontalRowContentBounds, boundsOfAnchoredOblectsOnThisColumn, tableCell);
|
95529
95860
|
this.rowFormattingInfo.calculate();
|
95530
95861
|
}
|
95862
|
+
get isInfinityWidth() { return this.rowFormattingInfo.isInfinityWidth; }
|
95863
|
+
set isInfinityWidth(value) { this.rowFormattingInfo.isInfinityWidth = value; }
|
95531
95864
|
addNumberingListBoxes() {
|
95532
95865
|
const { paragraph, result: { paragraphIndex }, numberingListCountersManager, manager: formatterManager } = this.rowFormatter;
|
95533
95866
|
const counters = numberingListCountersManager.calculateCounters(paragraphIndex);
|
@@ -95820,7 +96153,7 @@ class RowBaseFormatterState {
|
|
95820
96153
|
return;
|
95821
96154
|
if (!this.rowFormatter.rowSizesManager.addNumberingBoxes())
|
95822
96155
|
return;
|
95823
|
-
if (this.rowFormatter.tabInfo.
|
96156
|
+
if (this.rowFormatter.tabInfo.tryAddTabBox())
|
95824
96157
|
this.rowFormatter.setState(TextRowFormatterState.Base);
|
95825
96158
|
else
|
95826
96159
|
this.rowFormatter.finishRow();
|
@@ -95903,7 +96236,6 @@ class RowEndedWithPageBreakState extends RowEndedWithParagraphMarkFormatterState
|
|
95903
96236
|
|
95904
96237
|
|
95905
96238
|
|
95906
|
-
|
95907
96239
|
class RowTabInfo {
|
95908
96240
|
get row() {
|
95909
96241
|
return this.rowFormatter.row;
|
@@ -95949,52 +96281,46 @@ class RowTabInfo {
|
|
95949
96281
|
}
|
95950
96282
|
this.restart();
|
95951
96283
|
}
|
95952
|
-
|
95953
|
-
const box = this.rowFormatter.currBox;
|
96284
|
+
tryAddTabBox() {
|
95954
96285
|
this.shiftBoxesAfterLastTab();
|
95955
96286
|
let tabPosition = this.getNextCustomTabPosition(this.currInterval.startOfFreeSpace);
|
95956
|
-
const isCustomNonLeftTabPosition = tabPosition && !
|
96287
|
+
const isCustomNonLeftTabPosition = tabPosition && !tabPosition.isLeftAlignment;
|
95957
96288
|
let tabXPosRelativePage = tabPosition ? tabPosition.position : this.getNextDefaultTabPosition(this.currInterval.startOfFreeSpace);
|
95958
96289
|
if (tabXPosRelativePage > this.currInterval.end) {
|
95959
|
-
|
95960
|
-
|
95961
|
-
|
95962
|
-
|
95963
|
-
|
95964
|
-
|
95965
|
-
|
95966
|
-
tabXPosRelativePage = tabPosition ? tabPosition.position : this.getNextDefaultTabPosition(this.currInterval.startOfFreeSpace);
|
95967
|
-
}
|
96290
|
+
if (this.rowFormatter.manager.model.compatibilitySettings.compatibilityMode < CompatibilityMode.Word2013 && tabPosition && !tabPosition.isParagraphIndent) {
|
96291
|
+
const interval = this.rowFormatter.rowSizesManager.rowFormattingInfo.outerHorizontalRowContentBounds;
|
96292
|
+
interval.length = Number.MAX_SAFE_INTEGER - interval.start;
|
96293
|
+
this.rowFormatter.rowSizesManager.isInfinityWidth = true;
|
96294
|
+
this.rowFormatter.rowSizesManager.rowFormattingInfo.recalculate(interval);
|
96295
|
+
this.row.width = Number.MAX_SAFE_INTEGER;
|
96296
|
+
return this.tryAddTabBox();
|
95968
96297
|
}
|
95969
|
-
|
95970
|
-
|
95971
|
-
|
95972
|
-
|
95973
|
-
|
95974
|
-
|
95975
|
-
if (lastInterval.end < this.rowFormatter.paragraphHorizontalBounds.end) {
|
95976
|
-
if (this.rowFormatter.manager.model.compatibilitySettings.compatibilityMode < CompatibilityMode.Word2013 && tabPosition && !tabPosition.isParagraphIndent) {
|
95977
|
-
const interval = this.rowFormatter.rowSizesManager.rowFormattingInfo.outerHorizontalRowContentBounds;
|
95978
|
-
interval.length = Number.MAX_SAFE_INTEGER - interval.start;
|
95979
|
-
this.rowFormatter.rowSizesManager.rowFormattingInfo.recalculate(interval);
|
95980
|
-
this.row.width = Number.MAX_SAFE_INTEGER;
|
95981
|
-
this.row.flags.set(LayoutRowStateFlags.InfinityWidth, true);
|
95982
|
-
return this.addTabBox();
|
95983
|
-
}
|
95984
|
-
else if (tabBox.right < this.rowFormatter.paragraphHorizontalBounds.end) {
|
95985
|
-
const delta = this.rowFormatter.paragraphHorizontalBounds.end - lastInterval.end;
|
95986
|
-
let canIncrease = !isCustomNonLeftTabPosition;
|
95987
|
-
if (canIncrease && this.rowFormatter.rowSizesManager.rowFormattingInfo.isFloatingIntersectRow) {
|
95988
|
-
canIncrease = !algorithms.IntervalAlgorithms.getIntersection(new fixed.FixedInterval(lastInterval.end, delta), utils_list.ListUtils.last(this.rowFormatter.rowSizesManager.rowFormattingInfo.busyIntervals));
|
96298
|
+
else {
|
96299
|
+
let ind = this.rowFormatter.rowSizesManager.rowFormattingInfo.indexOfIntervalContainsPositon(tabXPosRelativePage);
|
96300
|
+
if (ind != this.rowFormatter.rowSizesManager.rowFormattingInfo.currIndex) {
|
96301
|
+
if (isCustomNonLeftTabPosition) {
|
96302
|
+
this.addTabBox(tabPosition, this.currInterval.end);
|
96303
|
+
return true;
|
95989
96304
|
}
|
95990
|
-
|
95991
|
-
|
95992
|
-
|
95993
|
-
this.
|
95994
|
-
return this.addTabBox();
|
96305
|
+
else {
|
96306
|
+
this.rowFormatter.rowSizesManager.finishLogicalRow(ind, this.currInterval.end);
|
96307
|
+
tabPosition = this.getNextCustomTabPosition(this.currInterval.startOfFreeSpace);
|
96308
|
+
return this.tryAddTabBox();
|
95995
96309
|
}
|
95996
96310
|
}
|
95997
96311
|
}
|
96312
|
+
const extraSpace = this.rowFormatter.paragraphHorizontalBounds.end - this.currInterval.end;
|
96313
|
+
if (extraSpace > 0) {
|
96314
|
+
let canIncrease = !isCustomNonLeftTabPosition;
|
96315
|
+
if (canIncrease && this.rowFormatter.rowSizesManager.rowFormattingInfo.isFloatingIntersectRow)
|
96316
|
+
canIncrease = !algorithms.IntervalAlgorithms.getIntersection(new fixed.FixedInterval(this.currInterval.end, extraSpace), utils_list.ListUtils.last(this.rowFormatter.rowSizesManager.rowFormattingInfo.busyIntervals));
|
96317
|
+
if (canIncrease) {
|
96318
|
+
this.currInterval.end = this.rowFormatter.paragraphHorizontalBounds.end;
|
96319
|
+
this.currInterval.avaliableWidth += extraSpace;
|
96320
|
+
this.row.width += extraSpace;
|
96321
|
+
return this.tryAddTabBox();
|
96322
|
+
}
|
96323
|
+
}
|
95998
96324
|
if (!this.row.isEmpty() && !isCustomNonLeftTabPosition)
|
95999
96325
|
return false;
|
96000
96326
|
if (this.rowFormatter.rowSizesManager.rowFormattingInfo.isFloatingIntersectRow && !isCustomNonLeftTabPosition) {
|
@@ -96002,13 +96328,20 @@ class RowTabInfo {
|
|
96002
96328
|
this.rowFormatter.rowSizesManager.restartAllRow(false);
|
96003
96329
|
while (utils_enum/* EnumUtils */.Y.isAnyOf(this.rowFormatter.currBox.getType(), LayoutBoxType.AnchorPicture, LayoutBoxType.AnchorTextBox))
|
96004
96330
|
this.rowFormatter.setBoxInfo(true);
|
96005
|
-
return this.
|
96331
|
+
return this.tryAddTabBox();
|
96006
96332
|
}
|
96007
96333
|
}
|
96334
|
+
this.addTabBox(tabPosition, tabXPosRelativePage);
|
96335
|
+
return true;
|
96336
|
+
}
|
96337
|
+
addTabBox(tabPosition, tabXPosRelativePage) {
|
96338
|
+
const box = this.rowFormatter.currBox;
|
96339
|
+
box.x = this.currInterval.startOfFreeSpace;
|
96340
|
+
box.width = (!tabPosition || tabPosition.isLeftAlignment) ? tabXPosRelativePage - box.x : 0;
|
96341
|
+
const tabBox = box.getLayoutTabBox(tabPosition ? tabPosition.leader : TabLeaderType.None);
|
96008
96342
|
this.rowFormatter.rowSizesManager.addTabBox(tabBox);
|
96009
96343
|
this.lastTabPosition = tabPosition ? tabPosition : new TabInfo(tabXPosRelativePage, TabAlign.Left, TabLeaderType.None, false, false);
|
96010
96344
|
this.lastTabBoxIndex = this.row.boxes.length - 1;
|
96011
|
-
return true;
|
96012
96345
|
}
|
96013
96346
|
calculateActualTabWidth(prevTabBox) {
|
96014
96347
|
const prevTabBoxXPos = prevTabBox.x;
|
@@ -96092,7 +96425,7 @@ class WordHolderInfo {
|
|
96092
96425
|
}
|
96093
96426
|
if (res == null)
|
96094
96427
|
return false;
|
96095
|
-
if (this.rowFormatter.row.isEmpty()) {
|
96428
|
+
if (this.rowFormatter.row.isEmpty() || this.rowFormatter.row.containsSpacesOnly()) {
|
96096
96429
|
if (this.rowFormatter.rowSizesManager.rowFormattingInfo.isFloatingIntersectRow) {
|
96097
96430
|
this.rowFormatter.rowSizesManager.rowFormattingInfo.findNextYPosWhatHasNeededSpace(res.requiredWidth);
|
96098
96431
|
return this.pushBoxes();
|
@@ -105547,7 +105880,6 @@ class SwitchTextBoxSubDocumentsStateHistoryItem extends history_item_HistoryItem
|
|
105547
105880
|
|
105548
105881
|
|
105549
105882
|
|
105550
|
-
|
105551
105883
|
class FloatingObjectMovedArgumentInner {
|
105552
105884
|
constructor(subDocumentId, newPosition, pageIntervals, pageIndex, objectX, objectY) {
|
105553
105885
|
this.newPosition = newPosition;
|
@@ -105576,7 +105908,6 @@ class FloatingObjectDragDropChangePositionCommand extends CommandBase {
|
|
105576
105908
|
this.getFloatingObjectParentSubDocument().isEditable([new fixed.FixedInterval(specialRunInfo.getPosition(), 1)]);
|
105577
105909
|
}
|
105578
105910
|
executeCore(_state, options) {
|
105579
|
-
const topInfo = this.control.viewManager.canvasManager.getScrollTopInfo();
|
105580
105911
|
const runInfo = this.activeSubDocument.getRunAndIndexesByPosition(this.selection.specialRunInfo.getPosition());
|
105581
105912
|
const oldRun = runInfo.run.clone();
|
105582
105913
|
const oldRunPos = runInfo.getAbsoluteRunPosition();
|
@@ -105591,7 +105922,6 @@ class FloatingObjectDragDropChangePositionCommand extends CommandBase {
|
|
105591
105922
|
this.changeActiveSubDocument(initialHtr, finalClickPoint);
|
105592
105923
|
this.move(oldRun, oldRunPos, initialHtr, options.endPageIndex, options.finalPoint);
|
105593
105924
|
this.history.endTransaction();
|
105594
|
-
this.selection.scrollManager.setScroll(new ScrollState().byScrollInfo.setPageInfo(topInfo));
|
105595
105925
|
return true;
|
105596
105926
|
}
|
105597
105927
|
changeActiveSubDocument(htr, point) {
|
@@ -108108,99 +108438,6 @@ class DimensionInfo {
|
|
108108
108438
|
}
|
108109
108439
|
}
|
108110
108440
|
|
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
108441
|
;// CONCATENATED MODULE: ./src/common/canvas/canvas-manager.ts
|
108205
108442
|
|
108206
108443
|
|
@@ -108458,7 +108695,7 @@ class CanvasManager extends batch_updatable/* BatchUpdatableObject */.IS {
|
|
108458
108695
|
const canvasX = MixedSize.fromUI(dom.DomUtils.getAbsolutePositionX(canvas));
|
108459
108696
|
const canvasY = MixedSize.fromUI(dom.DomUtils.getAbsolutePositionY(canvas));
|
108460
108697
|
const offsetY = MixedSize.fromUI(canvas.scrollTop).addSize(clientY).subtractSize(canvasY).useScale(scaleY);
|
108461
|
-
const pageIndex = this.viewManager.layout.findPageIndexByOffsetY(offsetY.LayoutSize, this.sizes);
|
108698
|
+
const pageIndex = this.viewManager.layout.findPageIndexByOffsetY(offsetY.LayoutSize * scaleY, this.sizes);
|
108462
108699
|
const visibleAreaWidth = MixedSize.fromUI(this.sizes.getVisibleAreaWidth(false));
|
108463
108700
|
const visibleAreaHeight = MixedSize.fromUI(this.sizes.getVisibleAreaHeight(false));
|
108464
108701
|
if (checkScroll) {
|
@@ -108747,7 +108984,7 @@ class CanvasScrollManager {
|
|
108747
108984
|
height.clear().addLayoutSize(position.page.height);
|
108748
108985
|
if (relativePosition === RelativePosition.Bottom)
|
108749
108986
|
y.subtractUISize(this.sizes.getVisibleAreaHeight(false));
|
108750
|
-
y.
|
108987
|
+
y.addLayoutSize(canvasState.getVerticalOffset(this.sizes));
|
108751
108988
|
if (relativePosition === RelativePosition.Inside) {
|
108752
108989
|
let scrollTop = this.canvas.scrollTop;
|
108753
108990
|
const scrollVisibleAreaHeight = this.sizes.getVisibleAreaHeight(false);
|
@@ -108806,9 +109043,9 @@ class CanvasSizeInfo {
|
|
108806
109043
|
this.setVisibleAreaSize(SizeUtils.getClientWidth(canvas), SizeUtils.getClientHeight(canvas));
|
108807
109044
|
}
|
108808
109045
|
getPageOffsetY(layoutPage) {
|
108809
|
-
|
108810
|
-
return pageOffsetY * this.zoomLevelHolder.zoomLevel;
|
109046
|
+
return layoutPage.y + (this.topSpacing + layoutPage.index * this.betweenPageSpacing);
|
108811
109047
|
}
|
109048
|
+
get zoomLevel() { return this.zoomLevelHolder.zoomLevel; }
|
108812
109049
|
setVisibleAreaSize(width, height) {
|
108813
109050
|
this.visibleAreaSize.width = width;
|
108814
109051
|
this.visibleAreaSize.height = height;
|
@@ -110112,6 +110349,7 @@ class ZoomLevelChange {
|
|
110112
110349
|
|
110113
110350
|
|
110114
110351
|
|
110352
|
+
|
110115
110353
|
|
110116
110354
|
|
110117
110355
|
class ViewManager {
|
@@ -110199,9 +110437,9 @@ class ViewManager {
|
|
110199
110437
|
const pageInfo = layoutSelection.selectionInfo.pageInfos[pageIndex];
|
110200
110438
|
const item = pageInfo.oldItems[0];
|
110201
110439
|
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);
|
110440
|
+
const x = MixedSize.fromLayout(layoutPage.x + this.cache[pageIndex].page.offsetLeft + item.x).useScale(this.zoomLevel);
|
110441
|
+
const y = MixedSize.fromLayout(this.sizes.getPageOffsetY(layoutPage) + item.y).useScale(this.zoomLevel);
|
110442
|
+
this.inputController.setPosition(x.UISize, y.UISize);
|
110205
110443
|
}
|
110206
110444
|
}
|
110207
110445
|
NotifySearchSelectionLayoutChanged() {
|
@@ -111562,7 +111800,7 @@ class IFrameInputEditor extends InputEditorBase {
|
|
111562
111800
|
const propChar = HtmlConverter.getSizeSignificantRules(this.control.inputPosition.getMergedCharacterPropertiesRaw()).join(";");
|
111563
111801
|
this.editableDocument.body.style.cssText = "padding: 0px; margin: 0px; overflow: hidden; color: transparent; " + propChar;
|
111564
111802
|
this.editableDocument.body.style.textIndent = currentTextIndent;
|
111565
|
-
if (browser.Browser.Firefox) {
|
111803
|
+
if (browser.Browser.Firefox && browser.Browser.Version <= 137) {
|
111566
111804
|
this.editableDocument.body.style.zoom = this.control.viewManager.zoomLevel;
|
111567
111805
|
}
|
111568
111806
|
let layoutX = layoutPosition.getLayoutX(this.control.measurer, DocumentLayoutDetailsLevel.Row);
|
@@ -111668,7 +111906,7 @@ class InputController {
|
|
111668
111906
|
}
|
111669
111907
|
static getCopyPasteHtmlContentForEditable(html, guidLabel) {
|
111670
111908
|
const builder = new HtmlBuilder();
|
111671
|
-
const id = guidLabel.replace(
|
111909
|
+
const id = guidLabel.replace(/id="/g, "").replace(/"/g, "");
|
111672
111910
|
builder
|
111673
111911
|
.startChild('a')
|
111674
111912
|
.configure((el) => {
|
@@ -112824,6 +113062,7 @@ class RulerMultiControl {
|
|
112824
113062
|
|
112825
113063
|
|
112826
113064
|
|
113065
|
+
|
112827
113066
|
const TABLE_COLUMN_SEPARATOR_RULER_LINE_CLASS_NAME = " table";
|
112828
113067
|
var SnapTo;
|
112829
113068
|
(function (SnapTo) {
|
@@ -112856,7 +113095,7 @@ class RulerVerticalLineControl {
|
|
112856
113095
|
dom.DomUtils.addClassName(this.rootElement, TABLE_COLUMN_SEPARATOR_RULER_LINE_CLASS_NAME);
|
112857
113096
|
else
|
112858
113097
|
dom.DomUtils.removeClassName(this.rootElement, TABLE_COLUMN_SEPARATOR_RULER_LINE_CLASS_NAME);
|
112859
|
-
this.rootElement.style.height = this.canvas
|
113098
|
+
this.rootElement.style.height = SizeUtils.getClientHeight(this.canvas) + "px";
|
112860
113099
|
this.rootElement.style.top = this.canvas.offsetTop + "px";
|
112861
113100
|
this.rulerControlLeft = this.rulerControlElement.offsetLeft;
|
112862
113101
|
this.rulerControlWidth = this.rulerControlElement.offsetWidth;
|
@@ -113916,13 +114155,9 @@ class RulerControl extends RulerBase {
|
|
113916
114155
|
}
|
113917
114156
|
adjust() {
|
113918
114157
|
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
|
-
}
|
114158
|
+
const paddingLeft = dom.DomUtils.pxToInt(dom.DomUtils.getCurrentStyle(this.controls.canvas).paddingLeft);
|
114159
|
+
const minValue = paddingLeft - RULLER_NUMBER_CORRECTION;
|
114160
|
+
this.initialMarginLeftElement = Math.max((viewWidth - this.pageWidth - RULLER_NUMBER_CORRECTION * 2) / 2, minValue);
|
113926
114161
|
this.rootElement.style.left = this.calculateLeftOffset();
|
113927
114162
|
this.setPaddings();
|
113928
114163
|
this.canHandleScroll = this.controls.canvas.scrollWidth > this.controls.canvas.offsetWidth;
|
@@ -117774,6 +118009,7 @@ class DxtUtils {
|
|
117774
118009
|
}
|
117775
118010
|
|
117776
118011
|
;// CONCATENATED MODULE: ./src/client/public/commands/enum.ts
|
118012
|
+
|
117777
118013
|
var FileTabCommandId;
|
117778
118014
|
(function (FileTabCommandId) {
|
117779
118015
|
FileTabCommandId[FileTabCommandId["CreateDocument"] = 412] = "CreateDocument";
|
@@ -117934,7 +118170,6 @@ var ViewTabCommandId;
|
|
117934
118170
|
ViewTabCommandId[ViewTabCommandId["ToggleShowHorizontalRuler"] = 94] = "ToggleShowHorizontalRuler";
|
117935
118171
|
ViewTabCommandId[ViewTabCommandId["ToggleFullScreen"] = 98] = "ToggleFullScreen";
|
117936
118172
|
ViewTabCommandId[ViewTabCommandId["ChangeZoomLevel"] = 460] = "ChangeZoomLevel";
|
117937
|
-
ViewTabCommandId[ViewTabCommandId["ToggleAllowZoom"] = 461] = "ToggleAllowZoom";
|
117938
118173
|
})(ViewTabCommandId || (ViewTabCommandId = {}));
|
117939
118174
|
var HeaderAndFooterTabCommandId;
|
117940
118175
|
(function (HeaderAndFooterTabCommandId) {
|
@@ -123009,6 +123244,7 @@ function createInnerItems(items) {
|
|
123009
123244
|
}
|
123010
123245
|
|
123011
123246
|
;// CONCATENATED MODULE: ./src/client/utils/focus-helper.ts
|
123247
|
+
var focus_helper_a;
|
123012
123248
|
class FocusHelper {
|
123013
123249
|
static preventFocusOnClick(element) {
|
123014
123250
|
return new FocusBlocker(element);
|
@@ -123021,23 +123257,24 @@ class FocusBlocker {
|
|
123021
123257
|
this.addEventListeners(target);
|
123022
123258
|
}
|
123023
123259
|
addEventListeners(element) {
|
123024
|
-
element.addEventListener("
|
123260
|
+
element.addEventListener("mousedown", this.onPointerDownBinded);
|
123025
123261
|
}
|
123026
123262
|
removeEventListeners(element) {
|
123027
|
-
element.removeEventListener("
|
123263
|
+
element.removeEventListener("mousedown", this.onPointerDownBinded);
|
123028
123264
|
}
|
123029
123265
|
onPointerDown(event) {
|
123030
123266
|
for (const element of event.composedPath()) {
|
123031
|
-
if (!(element instanceof HTMLElement))
|
123032
|
-
continue;
|
123033
123267
|
if (element === this.target) {
|
123034
123268
|
event.preventDefault();
|
123035
123269
|
break;
|
123036
123270
|
}
|
123037
|
-
if (
|
123271
|
+
if (element instanceof Element && this.isFocusableElement(element))
|
123038
123272
|
break;
|
123039
123273
|
}
|
123040
123274
|
}
|
123275
|
+
isFocusableElement(element) {
|
123276
|
+
return element.matches(FocusBlocker.focusableSelector);
|
123277
|
+
}
|
123041
123278
|
dispose() {
|
123042
123279
|
if (this.target) {
|
123043
123280
|
this.removeEventListeners(this.target);
|
@@ -123045,6 +123282,21 @@ class FocusBlocker {
|
|
123045
123282
|
}
|
123046
123283
|
}
|
123047
123284
|
}
|
123285
|
+
focus_helper_a = FocusBlocker;
|
123286
|
+
FocusBlocker.focusableSelectors = [
|
123287
|
+
'a[href]',
|
123288
|
+
'area[href]',
|
123289
|
+
'input',
|
123290
|
+
'select',
|
123291
|
+
'textarea',
|
123292
|
+
'button',
|
123293
|
+
'iframe',
|
123294
|
+
'object',
|
123295
|
+
'embed',
|
123296
|
+
'[tabindex]:not([tabindex="-1"])',
|
123297
|
+
'[contenteditable]:not([contenteditable="false"])'
|
123298
|
+
];
|
123299
|
+
FocusBlocker.focusableSelector = focus_helper_a.focusableSelectors.join(',');
|
123048
123300
|
|
123049
123301
|
;// CONCATENATED MODULE: ./src/client/bars/ribbon.ts
|
123050
123302
|
|
@@ -127102,7 +127354,6 @@ class DialogLayoutOptionsCommand extends ShowDialogCommandBase {
|
|
127102
127354
|
let run = subDocument.getRunByPosition(position);
|
127103
127355
|
let modelManipulator = this.modelManipulator;
|
127104
127356
|
let anchorInfoManipulator = modelManipulator.floatingObject.anchorInfo;
|
127105
|
-
const topInfo = this.control.viewManager.canvasManager.getScrollTopInfo();
|
127106
127357
|
let history = this.history;
|
127107
127358
|
history.beginTransaction();
|
127108
127359
|
let changed = false;
|
@@ -127268,8 +127519,6 @@ class DialogLayoutOptionsCommand extends ShowDialogCommandBase {
|
|
127268
127519
|
changed = true;
|
127269
127520
|
}
|
127270
127521
|
history.endTransaction();
|
127271
|
-
if (topInfo)
|
127272
|
-
this.selection.scrollManager.setScroll(new ScrollState().byScrollInfo.setPageInfo(topInfo));
|
127273
127522
|
return changed;
|
127274
127523
|
}
|
127275
127524
|
getDialogName() {
|
@@ -128563,8 +128812,18 @@ class PrintDocumentOnClient extends CommandBase {
|
|
128563
128812
|
return true;
|
128564
128813
|
}
|
128565
128814
|
printCore(htmlPrinting, printWindow, closePrintDialogWithHtmlPreview, needSwitchViewType, needToggleHiddenSymbols) {
|
128566
|
-
if (htmlPrinting)
|
128567
|
-
this.generatePrintDocument(printWindow
|
128815
|
+
if (htmlPrinting) {
|
128816
|
+
this.generatePrintDocument(printWindow.document);
|
128817
|
+
printWindow.focus();
|
128818
|
+
const interval = setInterval(() => {
|
128819
|
+
if (printWindow.document.readyState == 'complete') {
|
128820
|
+
printWindow.print();
|
128821
|
+
if (closePrintDialogWithHtmlPreview && !browser.Browser.AndroidMobilePlatform)
|
128822
|
+
printWindow.close();
|
128823
|
+
clearInterval(interval);
|
128824
|
+
}
|
128825
|
+
}, 100);
|
128826
|
+
}
|
128568
128827
|
else {
|
128569
128828
|
pdfExport(this.control, (blob, _stream) => {
|
128570
128829
|
if (window.navigator.msSaveOrOpenBlob && !browser.Browser.Edge)
|
@@ -128579,12 +128838,27 @@ class PrintDocumentOnClient extends CommandBase {
|
|
128579
128838
|
this.control.commandManager.getCommand(RichEditClientCommand.ToggleShowWhitespace).execute(this.control.commandManager.isPublicApiCall);
|
128580
128839
|
this.control.commandManager.isPrintingProcessing = false;
|
128581
128840
|
}
|
128582
|
-
generatePrintDocument(
|
128841
|
+
generatePrintDocument(document) {
|
128583
128842
|
const height = this.control.layout.pages[0].height;
|
128584
128843
|
const width = this.control.layout.pages[0].width;
|
128585
|
-
let
|
128586
|
-
|
128844
|
+
let fontLink = "";
|
128845
|
+
let divsToLoadFonts = "";
|
128846
|
+
const googleFonts = this.getGoogleFonts();
|
128847
|
+
if (googleFonts.length > 0) {
|
128848
|
+
fontLink = this.createGoogleFontStyleLink(googleFonts);
|
128849
|
+
divsToLoadFonts = googleFonts.reduce((prev, curr) => {
|
128850
|
+
const fontStyles = [`font-family:${curr}`, 'font-weight:bold', 'font-style:italic'];
|
128851
|
+
const result = [];
|
128852
|
+
for (let i = 1; i <= fontStyles.length; i++)
|
128853
|
+
result.push(`<div style="font-size:1pt;position:absolute;top:-1000px;${fontStyles.slice(0, i).join(';')}">${curr}</div>`);
|
128854
|
+
return prev ? [prev, ...result].join('\n') : result.join('\n');
|
128855
|
+
}, null);
|
128856
|
+
}
|
128857
|
+
document.documentElement.innerHTML =
|
128858
|
+
`<!DOCTYPE html>
|
128859
|
+
<html moznomarginboxes mozdisallowselectionprint>
|
128587
128860
|
<head>
|
128861
|
+
${fontLink}
|
128588
128862
|
<style ${this._nonce ? `nonce="${this._nonce}"` : ''}>
|
128589
128863
|
html, body {
|
128590
128864
|
margin: 0;
|
@@ -128603,22 +128877,25 @@ class PrintDocumentOnClient extends CommandBase {
|
|
128603
128877
|
</style>
|
128604
128878
|
</head>
|
128605
128879
|
<body>
|
128880
|
+
${divsToLoadFonts}
|
128606
128881
|
</body>
|
128607
|
-
|
128608
|
-
printWindow.document.write(printWindowContent);
|
128609
|
-
printWindow.document.close();
|
128882
|
+
</html>`;
|
128610
128883
|
this.generatePrintContent().forEach((child) => {
|
128611
|
-
|
128884
|
+
document.body.appendChild(child);
|
128612
128885
|
});
|
128613
|
-
|
128614
|
-
|
128615
|
-
|
128616
|
-
|
128617
|
-
|
128618
|
-
|
128619
|
-
|
128620
|
-
|
128621
|
-
|
128886
|
+
}
|
128887
|
+
getGoogleFonts() {
|
128888
|
+
return this.control.modelManager.richOptions.fonts.fonts.reduce((res, f) => {
|
128889
|
+
if (f.useGoogleFonts)
|
128890
|
+
res.push(f.fontFamily);
|
128891
|
+
return res;
|
128892
|
+
}, []);
|
128893
|
+
}
|
128894
|
+
createGoogleFontStyleLink(fontFamilies) {
|
128895
|
+
const url = new URL('https://fonts.googleapis.com/css');
|
128896
|
+
url.searchParams.append('family', fontFamilies.join('|'));
|
128897
|
+
url.searchParams.append('display', 'auto');
|
128898
|
+
return `<link href="${url.toString()}" rel="stylesheet" />`;
|
128622
128899
|
}
|
128623
128900
|
generatePrintContent() {
|
128624
128901
|
const layout = this.control.layout;
|
@@ -130111,7 +130388,7 @@ class ApplyStyleCommand extends CommandBase {
|
|
130111
130388
|
paragraphStyle = StylesManager.getPresetParagraphStyleByName(styleName).clone();
|
130112
130389
|
isPresetStyle = true;
|
130113
130390
|
}
|
130114
|
-
this.applyParagraphStyle(subDocumentInterval, paragraphStyle, isPresetStyle, parameter.
|
130391
|
+
this.applyParagraphStyle(subDocumentInterval, paragraphStyle, isPresetStyle, parameter.keepCustomFormatting);
|
130115
130392
|
}
|
130116
130393
|
else if (!StylesManager.isParagraphStyle(parameter.styleName) && state.characterStyleChangeEnabled) {
|
130117
130394
|
const styleName = StylesManager.getStyleNameWithoutPrefix(parameter.styleName);
|
@@ -130146,7 +130423,7 @@ class ApplyStyleCommand extends CommandBase {
|
|
130146
130423
|
this.modelManipulator.style.applyCharacterStyle(subDocumentInterval, characterStyle, false);
|
130147
130424
|
}
|
130148
130425
|
}
|
130149
|
-
applyParagraphStyle(subDocumentInterval, style, isPresetStyle,
|
130426
|
+
applyParagraphStyle(subDocumentInterval, style, isPresetStyle, keepCustomFormatting = false) {
|
130150
130427
|
const count = this.calculateAffectedParagraphCount(subDocumentInterval);
|
130151
130428
|
if (count > 0 && ControlOptions.isEnabled(this.control.modelManager.richOptions.control.paragraphStyle)) {
|
130152
130429
|
const { interval, subDocument } = subDocumentInterval;
|
@@ -130159,8 +130436,7 @@ class ApplyStyleCommand extends CommandBase {
|
|
130159
130436
|
style = isPresetStyle ? modelManipulator.model.stylesManager.addParagraphStyle(style) : style;
|
130160
130437
|
this.history.addAndRedo(new ApplyParagraphStyleHistoryItem(modelManipulator, paragraphSubDocumentInterval, style));
|
130161
130438
|
this.history.addAndRedo(new ParagraphUseValueHistoryItem(modelManipulator, paragraphSubDocumentInterval, 0));
|
130162
|
-
|
130163
|
-
this.history.addAndRedo(new FontUseValueHistoryItem(modelManipulator, paragraphSubDocumentInterval, 0));
|
130439
|
+
this.history.addAndRedo(new FontUseValueHistoryItem(modelManipulator, paragraphSubDocumentInterval, 0, keepCustomFormatting));
|
130164
130440
|
this.history.addAndRedo(new AddParagraphToListHistoryItem(modelManipulator, subDocument, paragraphIndex, NumberingList.NumberingListNotSettedIndex, -1));
|
130165
130441
|
}
|
130166
130442
|
}
|
@@ -130200,25 +130476,6 @@ class ApplyStyleCommand extends CommandBase {
|
|
130200
130476
|
}
|
130201
130477
|
}
|
130202
130478
|
|
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
130479
|
;// CONCATENATED MODULE: ./src/common/commands/layout/change-zoom-level-command.ts
|
130223
130480
|
|
130224
130481
|
|
@@ -130427,7 +130684,6 @@ class ToggleFullScreenCommand extends CommandBase {
|
|
130427
130684
|
;// CONCATENATED MODULE: ./src/common/commands/layout/toggle-show-hidden-symbols-command.ts
|
130428
130685
|
|
130429
130686
|
|
130430
|
-
|
130431
130687
|
class ToggleShowHiddenSymbolsCommand extends CommandBase {
|
130432
130688
|
getState() {
|
130433
130689
|
return new SimpleCommandState(this.isEnabled(), this.control.innerClientProperties.showHiddenSymbols);
|
@@ -130439,9 +130695,7 @@ class ToggleShowHiddenSymbolsCommand extends CommandBase {
|
|
130439
130695
|
let newValue = options.param;
|
130440
130696
|
if (newValue !== this.control.innerClientProperties.showHiddenSymbols) {
|
130441
130697
|
this.control.innerClientProperties.showHiddenSymbols = newValue;
|
130442
|
-
const topInfo = this.control.viewManager.canvasManager.getScrollTopInfo();
|
130443
130698
|
this.control.layoutFormatterManager.invalidator.onChangedAllLayout();
|
130444
|
-
this.selection.scrollManager.setScroll(new ScrollState().byScrollInfo.setPageInfo(topInfo));
|
130445
130699
|
return true;
|
130446
130700
|
}
|
130447
130701
|
return false;
|
@@ -136748,7 +137002,7 @@ class SetParagraphLevelCommandBase extends CommandBase {
|
|
136748
137002
|
if (!paragraphStyle)
|
136749
137003
|
paragraphStyle = StylesManager.getPresetParagraphStyleByName(styleName);
|
136750
137004
|
if (paragraphStyle) {
|
136751
|
-
const commandOptions = new CommandSimpleOptions(this.control, { styleName: StylesManager.paragraphPrefix + styleName,
|
137005
|
+
const commandOptions = new CommandSimpleOptions(this.control, { styleName: StylesManager.paragraphPrefix + styleName, keepCustomFormatting: true });
|
136752
137006
|
this.commandManager.getCommand(RichEditClientCommand.ChangeStyle).execute(this.commandManager.isPublicApiCall, commandOptions);
|
136753
137007
|
}
|
136754
137008
|
else {
|
@@ -137011,7 +137265,6 @@ class UndoCommand extends CommandBase {
|
|
137011
137265
|
|
137012
137266
|
|
137013
137267
|
|
137014
|
-
|
137015
137268
|
|
137016
137269
|
|
137017
137270
|
class CommandManager {
|
@@ -137397,7 +137650,6 @@ class CommandManager {
|
|
137397
137650
|
this.createCommand(control, RichEditClientCommand.SwitchToSimpleView, SwitchToSimpleViewCommand);
|
137398
137651
|
this.createCommand(control, RichEditClientCommand.SwitchToPrintLayoutView, SwitchToPrintLayoutViewCommand);
|
137399
137652
|
this.createCommand(control, RichEditClientCommand.ChangeZoomLevel, ChangeZoomLevelCommand);
|
137400
|
-
this.createCommand(control, RichEditClientCommand.ToggleAllowZoom, ToggleAllowZoomCommand);
|
137401
137653
|
this.createCommand(control, RichEditClientCommand.ShowErrorLoadPictureMessage, ShowLoadPictureErrorDialogCommand);
|
137402
137654
|
this.assingCommand(RichEditClientCommand.PrintDocumentOnClient, new PrintDocumentOnClient(control, printNonce));
|
137403
137655
|
}
|
@@ -137658,7 +137910,6 @@ class InsertPictureCommand extends CommandBase {
|
|
137658
137910
|
|
137659
137911
|
|
137660
137912
|
|
137661
|
-
|
137662
137913
|
|
137663
137914
|
|
137664
137915
|
class MailMergeCommand extends CommandBase {
|
@@ -137761,8 +138012,10 @@ class MailMergeCommand extends CommandBase {
|
|
137761
138012
|
replaceMergeFieldsInSubDocument(modelManager, record, lastProcessedPositionInMainSubDocument, subDoc) {
|
137762
138013
|
const processField = (parser) => {
|
137763
138014
|
if (parser instanceof FieldCodeParserMailMerge) {
|
138015
|
+
parser.update(null);
|
137764
138016
|
const fieldName = parser.getMergeFieldName();
|
137765
|
-
|
138017
|
+
const simpleText = this.getResultByFieldName(record, fieldName);
|
138018
|
+
return parser.getFormattedResult(simpleText);
|
137766
138019
|
}
|
137767
138020
|
return null;
|
137768
138021
|
};
|
@@ -137825,191 +138078,6 @@ class MailMergeCommandParameters {
|
|
137825
138078
|
}
|
137826
138079
|
}
|
137827
138080
|
|
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
138081
|
;// CONCATENATED MODULE: ./src/client/commands/new-document-command.ts
|
138014
138082
|
|
138015
138083
|
|
@@ -138151,6 +138219,8 @@ class OpenDocumentCommand extends CommandBase {
|
|
138151
138219
|
return false;
|
138152
138220
|
this.beforeOpen();
|
138153
138221
|
core.activeDocumentImporter.importFromFile(file, this.control.modelManager.richOptions, (documentModel, formatImagesImporter) => {
|
138222
|
+
if (core.isDisposed)
|
138223
|
+
return;
|
138154
138224
|
core.activeDocumentImporter = null;
|
138155
138225
|
this.openCore(fileName, format, documentModel, formatImagesImporter, extension);
|
138156
138226
|
if (!this.suppressUpdateFields)
|
@@ -138158,6 +138228,8 @@ class OpenDocumentCommand extends CommandBase {
|
|
138158
138228
|
if (callback)
|
138159
138229
|
callback(true, null);
|
138160
138230
|
}, (reason) => {
|
138231
|
+
if (core.isDisposed)
|
138232
|
+
return;
|
138161
138233
|
core.activeDocumentImporter = null;
|
138162
138234
|
this.control.loadingPanelManager.loadingPanel.setVisible(false);
|
138163
138235
|
NewDocumentCommand.newDocumentInner.call(this);
|
@@ -141426,8 +141498,8 @@ class DialogManager {
|
|
141426
141498
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_type.js
|
141427
141499
|
/**
|
141428
141500
|
* DevExtreme (esm/__internal/core/utils/m_type.js)
|
141429
|
-
* Version: 25.1.
|
141430
|
-
* Build date:
|
141501
|
+
* Version: 25.1.4-build-25189-0901
|
141502
|
+
* Build date: Tue Jul 08 2025
|
141431
141503
|
*
|
141432
141504
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141433
141505
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -141529,8 +141601,8 @@ const isEvent = function(object) {
|
|
141529
141601
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/type.js
|
141530
141602
|
/**
|
141531
141603
|
* DevExtreme (esm/core/utils/type.js)
|
141532
|
-
* Version: 25.1.
|
141533
|
-
* Build date:
|
141604
|
+
* Version: 25.1.4-build-25189-0901
|
141605
|
+
* Build date: Tue Jul 08 2025
|
141534
141606
|
*
|
141535
141607
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141536
141608
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -141540,8 +141612,8 @@ const isEvent = function(object) {
|
|
141540
141612
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_extend.js
|
141541
141613
|
/**
|
141542
141614
|
* DevExtreme (esm/__internal/core/utils/m_extend.js)
|
141543
|
-
* Version: 25.1.
|
141544
|
-
* Build date:
|
141615
|
+
* Version: 25.1.4-build-25189-0901
|
141616
|
+
* Build date: Tue Jul 08 2025
|
141545
141617
|
*
|
141546
141618
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141547
141619
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -141599,8 +141671,8 @@ const extend = function(target) {
|
|
141599
141671
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/extend.js
|
141600
141672
|
/**
|
141601
141673
|
* DevExtreme (esm/core/utils/extend.js)
|
141602
|
-
* Version: 25.1.
|
141603
|
-
* Build date:
|
141674
|
+
* Version: 25.1.4-build-25189-0901
|
141675
|
+
* Build date: Tue Jul 08 2025
|
141604
141676
|
*
|
141605
141677
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141606
141678
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -141610,8 +141682,8 @@ const extend = function(target) {
|
|
141610
141682
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_string.js
|
141611
141683
|
/**
|
141612
141684
|
* DevExtreme (esm/__internal/core/utils/m_string.js)
|
141613
|
-
* Version: 25.1.
|
141614
|
-
* Build date:
|
141685
|
+
* Version: 25.1.4-build-25189-0901
|
141686
|
+
* Build date: Tue Jul 08 2025
|
141615
141687
|
*
|
141616
141688
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141617
141689
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -141686,8 +141758,8 @@ const isEmpty = function() {
|
|
141686
141758
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/string.js
|
141687
141759
|
/**
|
141688
141760
|
* DevExtreme (esm/core/utils/string.js)
|
141689
|
-
* Version: 25.1.
|
141690
|
-
* Build date:
|
141761
|
+
* Version: 25.1.4-build-25189-0901
|
141762
|
+
* Build date: Tue Jul 08 2025
|
141691
141763
|
*
|
141692
141764
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141693
141765
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -141697,20 +141769,20 @@ const isEmpty = function() {
|
|
141697
141769
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/version.js
|
141698
141770
|
/**
|
141699
141771
|
* DevExtreme (esm/core/version.js)
|
141700
|
-
* Version: 25.1.
|
141701
|
-
* Build date:
|
141772
|
+
* Version: 25.1.4-build-25189-0901
|
141773
|
+
* Build date: Tue Jul 08 2025
|
141702
141774
|
*
|
141703
141775
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141704
141776
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
141705
141777
|
*/
|
141706
|
-
const version = "25.1.
|
141707
|
-
const fullVersion = "25.1.
|
141778
|
+
const version = "25.1.3";
|
141779
|
+
const fullVersion = "25.1.3.25189-0901";
|
141708
141780
|
|
141709
141781
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_console.js
|
141710
141782
|
/**
|
141711
141783
|
* DevExtreme (esm/__internal/core/utils/m_console.js)
|
141712
|
-
* Version: 25.1.
|
141713
|
-
* Build date:
|
141784
|
+
* Version: 25.1.4-build-25189-0901
|
141785
|
+
* Build date: Tue Jul 08 2025
|
141714
141786
|
*
|
141715
141787
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141716
141788
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -141750,8 +141822,8 @@ const debug = function() {
|
|
141750
141822
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_error.js
|
141751
141823
|
/**
|
141752
141824
|
* DevExtreme (esm/__internal/core/utils/m_error.js)
|
141753
|
-
* Version: 25.1.
|
141754
|
-
* Build date:
|
141825
|
+
* Version: 25.1.4-build-25189-0901
|
141826
|
+
* Build date: Tue Jul 08 2025
|
141755
141827
|
*
|
141756
141828
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141757
141829
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -141822,8 +141894,8 @@ function error(baseErrors, errors) {
|
|
141822
141894
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/error.js
|
141823
141895
|
/**
|
141824
141896
|
* DevExtreme (esm/core/utils/error.js)
|
141825
|
-
* Version: 25.1.
|
141826
|
-
* Build date:
|
141897
|
+
* Version: 25.1.4-build-25189-0901
|
141898
|
+
* Build date: Tue Jul 08 2025
|
141827
141899
|
*
|
141828
141900
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141829
141901
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -141834,8 +141906,8 @@ function error(baseErrors, errors) {
|
|
141834
141906
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/m_errors.js
|
141835
141907
|
/**
|
141836
141908
|
* DevExtreme (esm/__internal/core/m_errors.js)
|
141837
|
-
* Version: 25.1.
|
141838
|
-
* Build date:
|
141909
|
+
* Version: 25.1.4-build-25189-0901
|
141910
|
+
* Build date: Tue Jul 08 2025
|
141839
141911
|
*
|
141840
141912
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141841
141913
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -141902,8 +141974,8 @@ function error(baseErrors, errors) {
|
|
141902
141974
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/errors.js
|
141903
141975
|
/**
|
141904
141976
|
* DevExtreme (esm/core/errors.js)
|
141905
|
-
* Version: 25.1.
|
141906
|
-
* Build date:
|
141977
|
+
* Version: 25.1.4-build-25189-0901
|
141978
|
+
* Build date: Tue Jul 08 2025
|
141907
141979
|
*
|
141908
141980
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141909
141981
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -141914,8 +141986,8 @@ function error(baseErrors, errors) {
|
|
141914
141986
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/m_class.js
|
141915
141987
|
/**
|
141916
141988
|
* DevExtreme (esm/__internal/core/m_class.js)
|
141917
|
-
* Version: 25.1.
|
141918
|
-
* Build date:
|
141989
|
+
* Version: 25.1.4-build-25189-0901
|
141990
|
+
* Build date: Tue Jul 08 2025
|
141919
141991
|
*
|
141920
141992
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
141921
141993
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142048,8 +142120,8 @@ classImpl.abstract = m_class_abstract;
|
|
142048
142120
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/class.js
|
142049
142121
|
/**
|
142050
142122
|
* DevExtreme (esm/core/class.js)
|
142051
|
-
* Version: 25.1.
|
142052
|
-
* Build date:
|
142123
|
+
* Version: 25.1.4-build-25189-0901
|
142124
|
+
* Build date: Tue Jul 08 2025
|
142053
142125
|
*
|
142054
142126
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142055
142127
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142060,8 +142132,8 @@ classImpl.abstract = m_class_abstract;
|
|
142060
142132
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_iterator.js
|
142061
142133
|
/**
|
142062
142134
|
* DevExtreme (esm/__internal/core/utils/m_iterator.js)
|
142063
|
-
* Version: 25.1.
|
142064
|
-
* Build date:
|
142135
|
+
* Version: 25.1.4-build-25189-0901
|
142136
|
+
* Build date: Tue Jul 08 2025
|
142065
142137
|
*
|
142066
142138
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142067
142139
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142110,8 +142182,8 @@ const reverseEach = (array, callback) => {
|
|
142110
142182
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_dependency_injector.js
|
142111
142183
|
/**
|
142112
142184
|
* DevExtreme (esm/__internal/core/utils/m_dependency_injector.js)
|
142113
|
-
* Version: 25.1.
|
142114
|
-
* Build date:
|
142185
|
+
* Version: 25.1.4-build-25189-0901
|
142186
|
+
* Build date: Tue Jul 08 2025
|
142115
142187
|
*
|
142116
142188
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142117
142189
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142160,8 +142232,8 @@ function injector(object) {
|
|
142160
142232
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/dependency_injector.js
|
142161
142233
|
/**
|
142162
142234
|
* DevExtreme (esm/core/utils/dependency_injector.js)
|
142163
|
-
* Version: 25.1.
|
142164
|
-
* Build date:
|
142235
|
+
* Version: 25.1.4-build-25189-0901
|
142236
|
+
* Build date: Tue Jul 08 2025
|
142165
142237
|
*
|
142166
142238
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142167
142239
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142172,8 +142244,8 @@ function injector(object) {
|
|
142172
142244
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/ldml/date.formatter.js
|
142173
142245
|
/**
|
142174
142246
|
* DevExtreme (esm/common/core/localization/ldml/date.formatter.js)
|
142175
|
-
* Version: 25.1.
|
142176
|
-
* Build date:
|
142247
|
+
* Version: 25.1.4-build-25189-0901
|
142248
|
+
* Build date: Tue Jul 08 2025
|
142177
142249
|
*
|
142178
142250
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142179
142251
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142326,8 +142398,8 @@ function _extends() {
|
|
142326
142398
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/m_config.js
|
142327
142399
|
/**
|
142328
142400
|
* DevExtreme (esm/__internal/core/m_config.js)
|
142329
|
-
* Version: 25.1.
|
142330
|
-
* Build date:
|
142401
|
+
* Version: 25.1.4-build-25189-0901
|
142402
|
+
* Build date: Tue Jul 08 2025
|
142331
142403
|
*
|
142332
142404
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142333
142405
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142402,8 +142474,8 @@ if ("undefined" !== typeof DevExpress && DevExpress.config) {
|
|
142402
142474
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/config.js
|
142403
142475
|
/**
|
142404
142476
|
* DevExtreme (esm/common/config.js)
|
142405
|
-
* Version: 25.1.
|
142406
|
-
* Build date:
|
142477
|
+
* Version: 25.1.4-build-25189-0901
|
142478
|
+
* Build date: Tue Jul 08 2025
|
142407
142479
|
*
|
142408
142480
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142409
142481
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142414,8 +142486,8 @@ if ("undefined" !== typeof DevExpress && DevExpress.config) {
|
|
142414
142486
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/m_guid.js
|
142415
142487
|
/**
|
142416
142488
|
* DevExtreme (esm/__internal/core/m_guid.js)
|
142417
|
-
* Version: 25.1.
|
142418
|
-
* Build date:
|
142489
|
+
* Version: 25.1.4-build-25189-0901
|
142490
|
+
* Build date: Tue Jul 08 2025
|
142419
142491
|
*
|
142420
142492
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142421
142493
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142457,8 +142529,8 @@ const Guid = core_class.inherit({
|
|
142457
142529
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/guid.js
|
142458
142530
|
/**
|
142459
142531
|
* DevExtreme (esm/common/guid.js)
|
142460
|
-
* Version: 25.1.
|
142461
|
-
* Build date:
|
142532
|
+
* Version: 25.1.4-build-25189-0901
|
142533
|
+
* Build date: Tue Jul 08 2025
|
142462
142534
|
*
|
142463
142535
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142464
142536
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142469,8 +142541,8 @@ const Guid = core_class.inherit({
|
|
142469
142541
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/templates/m_template_engine_registry.js
|
142470
142542
|
/**
|
142471
142543
|
* DevExtreme (esm/__internal/core/templates/m_template_engine_registry.js)
|
142472
|
-
* Version: 25.1.
|
142473
|
-
* Build date:
|
142544
|
+
* Version: 25.1.4-build-25189-0901
|
142545
|
+
* Build date: Tue Jul 08 2025
|
142474
142546
|
*
|
142475
142547
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142476
142548
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142499,8 +142571,8 @@ function getCurrentTemplateEngine() {
|
|
142499
142571
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/templates/template_engine_registry.js
|
142500
142572
|
/**
|
142501
142573
|
* DevExtreme (esm/core/templates/template_engine_registry.js)
|
142502
|
-
* Version: 25.1.
|
142503
|
-
* Build date:
|
142574
|
+
* Version: 25.1.4-build-25189-0901
|
142575
|
+
* Build date: Tue Jul 08 2025
|
142504
142576
|
*
|
142505
142577
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142506
142578
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142510,8 +142582,8 @@ function getCurrentTemplateEngine() {
|
|
142510
142582
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/m_set_template_engine.js
|
142511
142583
|
/**
|
142512
142584
|
* DevExtreme (esm/__internal/core/m_set_template_engine.js)
|
142513
|
-
* Version: 25.1.
|
142514
|
-
* Build date:
|
142585
|
+
* Version: 25.1.4-build-25189-0901
|
142586
|
+
* Build date: Tue Jul 08 2025
|
142515
142587
|
*
|
142516
142588
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142517
142589
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142521,8 +142593,8 @@ function getCurrentTemplateEngine() {
|
|
142521
142593
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/set_template_engine.js
|
142522
142594
|
/**
|
142523
142595
|
* DevExtreme (esm/common/set_template_engine.js)
|
142524
|
-
* Version: 25.1.
|
142525
|
-
* Build date:
|
142596
|
+
* Version: 25.1.4-build-25189-0901
|
142597
|
+
* Build date: Tue Jul 08 2025
|
142526
142598
|
*
|
142527
142599
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142528
142600
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142533,8 +142605,8 @@ function getCurrentTemplateEngine() {
|
|
142533
142605
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common.js
|
142534
142606
|
/**
|
142535
142607
|
* DevExtreme (esm/common.js)
|
142536
|
-
* Version: 25.1.
|
142537
|
-
* Build date:
|
142608
|
+
* Version: 25.1.4-build-25189-0901
|
142609
|
+
* Build date: Tue Jul 08 2025
|
142538
142610
|
*
|
142539
142611
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142540
142612
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142547,8 +142619,8 @@ function getCurrentTemplateEngine() {
|
|
142547
142619
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/config.js
|
142548
142620
|
/**
|
142549
142621
|
* DevExtreme (esm/core/config.js)
|
142550
|
-
* Version: 25.1.
|
142551
|
-
* Build date:
|
142622
|
+
* Version: 25.1.4-build-25189-0901
|
142623
|
+
* Build date: Tue Jul 08 2025
|
142552
142624
|
*
|
142553
142625
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142554
142626
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142559,8 +142631,8 @@ function getCurrentTemplateEngine() {
|
|
142559
142631
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/guid.js
|
142560
142632
|
/**
|
142561
142633
|
* DevExtreme (esm/core/guid.js)
|
142562
|
-
* Version: 25.1.
|
142563
|
-
* Build date:
|
142634
|
+
* Version: 25.1.4-build-25189-0901
|
142635
|
+
* Build date: Tue Jul 08 2025
|
142564
142636
|
*
|
142565
142637
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142566
142638
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142571,8 +142643,8 @@ function getCurrentTemplateEngine() {
|
|
142571
142643
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/console.js
|
142572
142644
|
/**
|
142573
142645
|
* DevExtreme (esm/core/utils/console.js)
|
142574
|
-
* Version: 25.1.
|
142575
|
-
* Build date:
|
142646
|
+
* Version: 25.1.4-build-25189-0901
|
142647
|
+
* Build date: Tue Jul 08 2025
|
142576
142648
|
*
|
142577
142649
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142578
142650
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142582,8 +142654,8 @@ function getCurrentTemplateEngine() {
|
|
142582
142654
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_variable_wrapper.js
|
142583
142655
|
/**
|
142584
142656
|
* DevExtreme (esm/__internal/core/utils/m_variable_wrapper.js)
|
142585
|
-
* Version: 25.1.
|
142586
|
-
* Build date:
|
142657
|
+
* Version: 25.1.4-build-25189-0901
|
142658
|
+
* Build date: Tue Jul 08 2025
|
142587
142659
|
*
|
142588
142660
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142589
142661
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142612,8 +142684,8 @@ const m_variable_wrapper_variableWrapper = dependency_injector({
|
|
142612
142684
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/variable_wrapper.js
|
142613
142685
|
/**
|
142614
142686
|
* DevExtreme (esm/core/utils/variable_wrapper.js)
|
142615
|
-
* Version: 25.1.
|
142616
|
-
* Build date:
|
142687
|
+
* Version: 25.1.4-build-25189-0901
|
142688
|
+
* Build date: Tue Jul 08 2025
|
142617
142689
|
*
|
142618
142690
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142619
142691
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142624,8 +142696,8 @@ const m_variable_wrapper_variableWrapper = dependency_injector({
|
|
142624
142696
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_object.js
|
142625
142697
|
/**
|
142626
142698
|
* DevExtreme (esm/__internal/core/utils/m_object.js)
|
142627
|
-
* Version: 25.1.
|
142628
|
-
* Build date:
|
142699
|
+
* Version: 25.1.4-build-25189-0901
|
142700
|
+
* Build date: Tue Jul 08 2025
|
142629
142701
|
*
|
142630
142702
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142631
142703
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142725,8 +142797,8 @@ const m_object_deepExtendArraySafe = function(target, changes, extendComplexObje
|
|
142725
142797
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/object.js
|
142726
142798
|
/**
|
142727
142799
|
* DevExtreme (esm/core/utils/object.js)
|
142728
|
-
* Version: 25.1.
|
142729
|
-
* Build date:
|
142800
|
+
* Version: 25.1.4-build-25189-0901
|
142801
|
+
* Build date: Tue Jul 08 2025
|
142730
142802
|
*
|
142731
142803
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142732
142804
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142736,8 +142808,8 @@ const m_object_deepExtendArraySafe = function(target, changes, extendComplexObje
|
|
142736
142808
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_data.js
|
142737
142809
|
/**
|
142738
142810
|
* DevExtreme (esm/__internal/core/utils/m_data.js)
|
142739
|
-
* Version: 25.1.
|
142740
|
-
* Build date:
|
142811
|
+
* Version: 25.1.4-build-25189-0901
|
142812
|
+
* Build date: Tue Jul 08 2025
|
142741
142813
|
*
|
142742
142814
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142743
142815
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142933,8 +143005,8 @@ const toComparable = function(value, caseSensitive) {
|
|
142933
143005
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/data.js
|
142934
143006
|
/**
|
142935
143007
|
* DevExtreme (esm/core/utils/data.js)
|
142936
|
-
* Version: 25.1.
|
142937
|
-
* Build date:
|
143008
|
+
* Version: 25.1.4-build-25189-0901
|
143009
|
+
* Build date: Tue Jul 08 2025
|
142938
143010
|
*
|
142939
143011
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142940
143012
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -142944,8 +143016,8 @@ const toComparable = function(value, caseSensitive) {
|
|
142944
143016
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_callbacks.js
|
142945
143017
|
/**
|
142946
143018
|
* DevExtreme (esm/__internal/core/utils/m_callbacks.js)
|
142947
|
-
* Version: 25.1.
|
142948
|
-
* Build date:
|
143019
|
+
* Version: 25.1.4-build-25189-0901
|
143020
|
+
* Build date: Tue Jul 08 2025
|
142949
143021
|
*
|
142950
143022
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
142951
143023
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -143040,8 +143112,8 @@ const Callbacks = function(options) {
|
|
143040
143112
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/callbacks.js
|
143041
143113
|
/**
|
143042
143114
|
* DevExtreme (esm/core/utils/callbacks.js)
|
143043
|
-
* Version: 25.1.
|
143044
|
-
* Build date:
|
143115
|
+
* Version: 25.1.4-build-25189-0901
|
143116
|
+
* Build date: Tue Jul 08 2025
|
143045
143117
|
*
|
143046
143118
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
143047
143119
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -143052,8 +143124,8 @@ const Callbacks = function(options) {
|
|
143052
143124
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_deferred.js
|
143053
143125
|
/**
|
143054
143126
|
* DevExtreme (esm/__internal/core/utils/m_deferred.js)
|
143055
|
-
* Version: 25.1.
|
143056
|
-
* Build date:
|
143127
|
+
* Version: 25.1.4-build-25189-0901
|
143128
|
+
* Build date: Tue Jul 08 2025
|
143057
143129
|
*
|
143058
143130
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
143059
143131
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -143218,8 +143290,8 @@ function when() {
|
|
143218
143290
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/deferred.js
|
143219
143291
|
/**
|
143220
143292
|
* DevExtreme (esm/core/utils/deferred.js)
|
143221
|
-
* Version: 25.1.
|
143222
|
-
* Build date:
|
143293
|
+
* Version: 25.1.4-build-25189-0901
|
143294
|
+
* Build date: Tue Jul 08 2025
|
143223
143295
|
*
|
143224
143296
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
143225
143297
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -143229,8 +143301,8 @@ function when() {
|
|
143229
143301
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_common.js
|
143230
143302
|
/**
|
143231
143303
|
* DevExtreme (esm/__internal/core/utils/m_common.js)
|
143232
|
-
* Version: 25.1.
|
143233
|
-
* Build date:
|
143304
|
+
* Version: 25.1.4-build-25189-0901
|
143305
|
+
* Build date: Tue Jul 08 2025
|
143234
143306
|
*
|
143235
143307
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
143236
143308
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -143525,8 +143597,8 @@ const equalByValue = function(value1, value2) {
|
|
143525
143597
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/common.js
|
143526
143598
|
/**
|
143527
143599
|
* DevExtreme (esm/core/utils/common.js)
|
143528
|
-
* Version: 25.1.
|
143529
|
-
* Build date:
|
143600
|
+
* Version: 25.1.4-build-25189-0901
|
143601
|
+
* Build date: Tue Jul 08 2025
|
143530
143602
|
*
|
143531
143603
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
143532
143604
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -143536,8 +143608,8 @@ const equalByValue = function(value1, value2) {
|
|
143536
143608
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/__internal/core/utils/m_math.js
|
143537
143609
|
/**
|
143538
143610
|
* DevExtreme (esm/__internal/core/utils/m_math.js)
|
143539
|
-
* Version: 25.1.
|
143540
|
-
* Build date:
|
143611
|
+
* Version: 25.1.4-build-25189-0901
|
143612
|
+
* Build date: Tue Jul 08 2025
|
143541
143613
|
*
|
143542
143614
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
143543
143615
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -143706,8 +143778,8 @@ function roundFloatPart(value) {
|
|
143706
143778
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/core/utils/math.js
|
143707
143779
|
/**
|
143708
143780
|
* DevExtreme (esm/core/utils/math.js)
|
143709
|
-
* Version: 25.1.
|
143710
|
-
* Build date:
|
143781
|
+
* Version: 25.1.4-build-25189-0901
|
143782
|
+
* Build date: Tue Jul 08 2025
|
143711
143783
|
*
|
143712
143784
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
143713
143785
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -143717,8 +143789,8 @@ function roundFloatPart(value) {
|
|
143717
143789
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/utils.js
|
143718
143790
|
/**
|
143719
143791
|
* DevExtreme (esm/common/core/localization/utils.js)
|
143720
|
-
* Version: 25.1.
|
143721
|
-
* Build date:
|
143792
|
+
* Version: 25.1.4-build-25189-0901
|
143793
|
+
* Build date: Tue Jul 08 2025
|
143722
143794
|
*
|
143723
143795
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
143724
143796
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -143745,8 +143817,8 @@ function toFixed(value, precision) {
|
|
143745
143817
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/ldml/number.js
|
143746
143818
|
/**
|
143747
143819
|
* DevExtreme (esm/common/core/localization/ldml/number.js)
|
143748
|
-
* Version: 25.1.
|
143749
|
-
* Build date:
|
143820
|
+
* Version: 25.1.4-build-25189-0901
|
143821
|
+
* Build date: Tue Jul 08 2025
|
143750
143822
|
*
|
143751
143823
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
143752
143824
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -143987,8 +144059,8 @@ function getFormat(formatter) {
|
|
143987
144059
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/currency.js
|
143988
144060
|
/**
|
143989
144061
|
* DevExtreme (esm/common/core/localization/currency.js)
|
143990
|
-
* Version: 25.1.
|
143991
|
-
* Build date:
|
144062
|
+
* Version: 25.1.4-build-25189-0901
|
144063
|
+
* Build date: Tue Jul 08 2025
|
143992
144064
|
*
|
143993
144065
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
143994
144066
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -144020,8 +144092,8 @@ function getFormat(formatter) {
|
|
144020
144092
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/cldr-data/parent_locales.js
|
144021
144093
|
/**
|
144022
144094
|
* DevExtreme (esm/common/core/localization/cldr-data/parent_locales.js)
|
144023
|
-
* Version: 25.1.
|
144024
|
-
* Build date:
|
144095
|
+
* Version: 25.1.4-build-25189-0901
|
144096
|
+
* Build date: Tue Jul 08 2025
|
144025
144097
|
*
|
144026
144098
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
144027
144099
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -144206,8 +144278,8 @@ function getFormat(formatter) {
|
|
144206
144278
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/parentLocale.js
|
144207
144279
|
/**
|
144208
144280
|
* DevExtreme (esm/common/core/localization/parentLocale.js)
|
144209
|
-
* Version: 25.1.
|
144210
|
-
* Build date:
|
144281
|
+
* Version: 25.1.4-build-25189-0901
|
144282
|
+
* Build date: Tue Jul 08 2025
|
144211
144283
|
*
|
144212
144284
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
144213
144285
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -144224,8 +144296,8 @@ const PARENT_LOCALE_SEPARATOR = "-";
|
|
144224
144296
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/core.js
|
144225
144297
|
/**
|
144226
144298
|
* DevExtreme (esm/common/core/localization/core.js)
|
144227
|
-
* Version: 25.1.
|
144228
|
-
* Build date:
|
144299
|
+
* Version: 25.1.4-build-25189-0901
|
144300
|
+
* Build date: Tue Jul 08 2025
|
144229
144301
|
*
|
144230
144302
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
144231
144303
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -144266,8 +144338,8 @@ const DEFAULT_LOCALE = "en";
|
|
144266
144338
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/open_xml_currency_format.js
|
144267
144339
|
/**
|
144268
144340
|
* DevExtreme (esm/common/core/localization/open_xml_currency_format.js)
|
144269
|
-
* Version: 25.1.
|
144270
|
-
* Build date:
|
144341
|
+
* Version: 25.1.4-build-25189-0901
|
144342
|
+
* Build date: Tue Jul 08 2025
|
144271
144343
|
*
|
144272
144344
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
144273
144345
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -144309,8 +144381,8 @@ const DEFAULT_LOCALE = "en";
|
|
144309
144381
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/cldr-data/accounting_formats.js
|
144310
144382
|
/**
|
144311
144383
|
* DevExtreme (esm/common/core/localization/cldr-data/accounting_formats.js)
|
144312
|
-
* Version: 25.1.
|
144313
|
-
* Build date:
|
144384
|
+
* Version: 25.1.4-build-25189-0901
|
144385
|
+
* Build date: Tue Jul 08 2025
|
144314
144386
|
*
|
144315
144387
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
144316
144388
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -144896,8 +144968,8 @@ const DEFAULT_LOCALE = "en";
|
|
144896
144968
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/intl/number.js
|
144897
144969
|
/**
|
144898
144970
|
* DevExtreme (esm/common/core/localization/intl/number.js)
|
144899
|
-
* Version: 25.1.
|
144900
|
-
* Build date:
|
144971
|
+
* Version: 25.1.4-build-25189-0901
|
144972
|
+
* Build date: Tue Jul 08 2025
|
144901
144973
|
*
|
144902
144974
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
144903
144975
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -145018,8 +145090,8 @@ const getCurrencyFormatter = currency => new Intl.NumberFormat(core.locale(), {
|
|
145018
145090
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/number.js
|
145019
145091
|
/**
|
145020
145092
|
* DevExtreme (esm/common/core/localization/number.js)
|
145021
|
-
* Version: 25.1.
|
145022
|
-
* Build date:
|
145093
|
+
* Version: 25.1.4-build-25189-0901
|
145094
|
+
* Build date: Tue Jul 08 2025
|
145023
145095
|
*
|
145024
145096
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
145025
145097
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -145326,8 +145398,8 @@ if (hasIntl) {
|
|
145326
145398
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/ldml/date.format.js
|
145327
145399
|
/**
|
145328
145400
|
* DevExtreme (esm/common/core/localization/ldml/date.format.js)
|
145329
|
-
* Version: 25.1.
|
145330
|
-
* Build date:
|
145401
|
+
* Version: 25.1.4-build-25189-0901
|
145402
|
+
* Build date: Tue Jul 08 2025
|
145331
145403
|
*
|
145332
145404
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
145333
145405
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -145524,8 +145596,8 @@ const date_format_getFormat = function(formatter) {
|
|
145524
145596
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/ldml/date.parser.js
|
145525
145597
|
/**
|
145526
145598
|
* DevExtreme (esm/common/core/localization/ldml/date.parser.js)
|
145527
|
-
* Version: 25.1.
|
145528
|
-
* Build date:
|
145599
|
+
* Version: 25.1.4-build-25189-0901
|
145600
|
+
* Build date: Tue Jul 08 2025
|
145529
145601
|
*
|
145530
145602
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
145531
145603
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -145843,8 +145915,8 @@ const getParser = function(format, dateParts) {
|
|
145843
145915
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/default_date_names.js
|
145844
145916
|
/**
|
145845
145917
|
* DevExtreme (esm/common/core/localization/default_date_names.js)
|
145846
|
-
* Version: 25.1.
|
145847
|
-
* Build date:
|
145918
|
+
* Version: 25.1.4-build-25189-0901
|
145919
|
+
* Build date: Tue Jul 08 2025
|
145848
145920
|
*
|
145849
145921
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
145850
145922
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -145880,8 +145952,8 @@ const cutCaptions = (captions, format) => {
|
|
145880
145952
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/cldr-data/first_day_of_week_data.js
|
145881
145953
|
/**
|
145882
145954
|
* DevExtreme (esm/common/core/localization/cldr-data/first_day_of_week_data.js)
|
145883
|
-
* Version: 25.1.
|
145884
|
-
* Build date:
|
145955
|
+
* Version: 25.1.4-build-25189-0901
|
145956
|
+
* Build date: Tue Jul 08 2025
|
145885
145957
|
*
|
145886
145958
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
145887
145959
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -146080,8 +146152,8 @@ const cutCaptions = (captions, format) => {
|
|
146080
146152
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/intl/date.js
|
146081
146153
|
/**
|
146082
146154
|
* DevExtreme (esm/common/core/localization/intl/date.js)
|
146083
|
-
* Version: 25.1.
|
146084
|
-
* Build date:
|
146155
|
+
* Version: 25.1.4-build-25189-0901
|
146156
|
+
* Build date: Tue Jul 08 2025
|
146085
146157
|
*
|
146086
146158
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
146087
146159
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -146398,8 +146470,8 @@ const monthNameStrategies = {
|
|
146398
146470
|
;// CONCATENATED MODULE: ./node_modules/devextreme/esm/common/core/localization/date.js
|
146399
146471
|
/**
|
146400
146472
|
* DevExtreme (esm/common/core/localization/date.js)
|
146401
|
-
* Version: 25.1.
|
146402
|
-
* Build date:
|
146473
|
+
* Version: 25.1.4-build-25189-0901
|
146474
|
+
* Build date: Tue Jul 08 2025
|
146403
146475
|
*
|
146404
146476
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
146405
146477
|
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
|
@@ -147641,7 +147713,7 @@ class ClientRichEdit {
|
|
147641
147713
|
this.contextMenuSettings = settings.contextMenuSettings;
|
147642
147714
|
this.fullScreenHelper = new FullScreenHelper(element);
|
147643
147715
|
if (true)
|
147644
|
-
external_DevExpress_config_default()(JSON.parse(atob('
|
147716
|
+
external_DevExpress_config_default()(JSON.parse(atob('eyJsaWNlbnNlS2V5IjoiZXdvZ0lDSm1iM0p0WVhRaU9pQXhMQW9nSUNKcGJuUmxjbTVoYkZWellXZGxTV1FpT2lBaVZqSlJjRkZ0U2xaWVYzazJUbVY0YTNFNVdHczVieUlLZlE9PS5EMTNKeDFkWmJlWFE0bGVWQ05XZnk5U2FLeWFHbmxMOE1xYkF2YzloQ3FVZTlBajJWYzJUS2RaU01RR05xVkVkSjMrTWZQKzQrQTBqMFhCSGxEczdEV2xpWFlNK01EMEVCaEJVQ0JTVzVmeWRGSzhyOGpEMDRzV2ZKYS9CTDRFTGdLOWZpZz09In0=')));
|
147645
147717
|
this.prepareElement(element, settings);
|
147646
147718
|
this.initDefaultFontsAndStyles();
|
147647
147719
|
this.initBars(settings.ribbon, settings.fonts);
|
@@ -148787,9 +148859,6 @@ function executeApiCommandCore(commandManager, commandId, parameter) {
|
|
148787
148859
|
break;
|
148788
148860
|
}
|
148789
148861
|
;
|
148790
|
-
case ViewTabCommandId.ToggleAllowZoom:
|
148791
|
-
parameter = undefined;
|
148792
|
-
break;
|
148793
148862
|
case HeaderAndFooterTabCommandId.GoToPageHeader:
|
148794
148863
|
parameter = undefined;
|
148795
148864
|
break;
|
@@ -150359,6 +150428,7 @@ var PrintModeApi;
|
|
150359
150428
|
|
150360
150429
|
|
150361
150430
|
;// CONCATENATED MODULE: ./src/client/public/ribbon/item-ids.ts
|
150431
|
+
|
150362
150432
|
var FileTabItemId;
|
150363
150433
|
(function (FileTabItemId) {
|
150364
150434
|
FileTabItemId[FileTabItemId["CreateNewDocument"] = 412] = "CreateNewDocument";
|