devexpress-richedit 21.2.4 → 21.2.5-build-22014-0103

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/bin/gulpfile.js +2 -2
  2. package/bin/index-custom.js +2 -2
  3. package/bin/localization-builder.js +2 -2
  4. package/bin/nspell-index.js +2 -2
  5. package/bin/nspell.webpack.config.js +2 -2
  6. package/bin/webpack-externals.js +2 -2
  7. package/bin/webpack.config.js +2 -2
  8. package/dist/dx.richedit.d.ts +6 -2
  9. package/dist/dx.richedit.js +5987 -5584
  10. package/dist/dx.richedit.min.js +5 -5
  11. package/dist/pdfkit.js +6 -6
  12. package/dist/pdfkit.min.js +2 -2
  13. package/index.d.ts +2 -2
  14. package/index.js +2 -2
  15. package/lib/base/canvas/renderes/common/document-renderer.js +3 -1
  16. package/lib/base/commands/dialogs/dialog-font-command.d.ts +1 -0
  17. package/lib/base/commands/dialogs/dialog-font-command.js +4 -0
  18. package/lib/base/commands/dialogs/dialog-paragraph-properties-command.d.ts +3 -0
  19. package/lib/base/commands/dialogs/dialog-paragraph-properties-command.js +21 -10
  20. package/lib/base/commands/document/print-document-on-client-command.d.ts +1 -0
  21. package/lib/base/commands/document/print-document-on-client-command.js +25 -17
  22. package/lib/base/commands/layout/clear-formatting-command.js +1 -0
  23. package/lib/base/commands/text/clipboard-commands.d.ts +32 -8
  24. package/lib/base/commands/text/clipboard-commands.js +170 -41
  25. package/lib/base/rich-utils/debug/chrome-dev-tools-custom-formatters/model/character-properties.js +3 -1
  26. package/lib/base/server-dispatcher-response-processor.js +1 -1
  27. package/lib/client/client-rich-edit.d.ts +1 -7
  28. package/lib/client/client-rich-edit.js +6 -82
  29. package/lib/client/commands/commands.js +2 -3
  30. package/lib/client/commands/mail-merge-command.d.ts +1 -0
  31. package/lib/client/commands/mail-merge-command.js +5 -2
  32. package/lib/client/commands/new-document-command.js +1 -1
  33. package/lib/client/commands/open-document-command.js +1 -1
  34. package/lib/client/i-rich-constructor-settings.d.ts +1 -0
  35. package/lib/client/public/commands/enum.d.ts +0 -1
  36. package/lib/client/public/commands/enum.js +0 -1
  37. package/lib/client/public/options.d.ts +1 -0
  38. package/lib/client/settings.js +2 -0
  39. package/lib/client/ui/full-screen-helper.d.ts +15 -0
  40. package/lib/client/ui/full-screen-helper.js +96 -0
  41. package/lib/core/layout-formatter/box/box-wraps-holder.js +2 -5
  42. package/lib/core/layout-formatter/floating/position-calculators/base-calculator.js +2 -1
  43. package/lib/core/layout-formatter/floating/position-calculators/horizontal.js +1 -2
  44. package/lib/core/layout-formatter/table/info/table-info.js +1 -2
  45. package/lib/core/model/character/character-properties-helper.js +1 -0
  46. package/lib/core/model/character/character-properties.d.ts +10 -1
  47. package/lib/core/model/character/character-properties.js +52 -8
  48. package/lib/core/model/character/character-property-descriptor.d.ts +10 -0
  49. package/lib/core/model/character/character-property-descriptor.js +26 -0
  50. package/lib/core/model/character/enums.d.ts +2 -1
  51. package/lib/core/model/character/enums.js +2 -1
  52. package/lib/core/model/creator/creator.js +2 -2
  53. package/lib/core/model/document-model.d.ts +3 -0
  54. package/lib/core/model/document-model.js +22 -4
  55. package/lib/core/model/fields/parsers/field-code-parser-hyperlink.js +2 -1
  56. package/lib/core/model/floating-objects/anchor-info.js +1 -1
  57. package/lib/core/model/history/items/character-properties-history-items.d.ts +3 -0
  58. package/lib/core/model/history/items/character-properties-history-items.js +11 -0
  59. package/lib/core/model/history/items/list-level-character-properties-history-items.d.ts +3 -0
  60. package/lib/core/model/history/items/list-level-character-properties-history-items.js +11 -0
  61. package/lib/core/model/json/command-request.js +2 -0
  62. package/lib/core/model/json/enums/json-character-enums.d.ts +2 -1
  63. package/lib/core/model/json/enums/json-character-enums.js +1 -0
  64. package/lib/core/model/json/importers/json-masked-character-properties-converter.js +4 -2
  65. package/lib/core/model/manipulators/character-properties-manipulator.d.ts +1 -0
  66. package/lib/core/model/manipulators/character-properties-manipulator.js +4 -3
  67. package/lib/core/model/manipulators/document-properties-manipulator.js +1 -0
  68. package/lib/core/model/manipulators/numbering-lists/list-level-character-properties-manipulator.d.ts +1 -0
  69. package/lib/core/model/manipulators/numbering-lists/list-level-character-properties-manipulator.js +1 -0
  70. package/lib/core/model/options/fields.d.ts +1 -0
  71. package/lib/core/model/options/fields.js +4 -0
  72. package/lib/core/model/paragraph/paragraph.js +1 -1
  73. package/lib/core/model/properties-merger/character-properties-merger.js +3 -3
  74. package/lib/core/model/tables/properties-mergers/table-style-character-properties-merger.d.ts +4 -0
  75. package/lib/core/model/tables/properties-mergers/table-style-character-properties-merger.js +15 -1
  76. package/lib/core/rich-utils/html-converter.js +2 -0
  77. package/lib/document-processor/processor.js +1 -1
  78. package/lib/docx/export/exporters/base/character-properties.d.ts +1 -0
  79. package/lib/docx/export/exporters/base/character-properties.js +6 -0
  80. package/lib/docx/export/exporters/base/styles/table-style.js +1 -1
  81. package/lib/docx/import/destination/character-properties/properties/small-caps-destination.d.ts +8 -0
  82. package/lib/docx/import/destination/character-properties/properties/small-caps-destination.js +24 -0
  83. package/lib/docx/import/destination/character-properties/run-properties-base-destination.js +2 -0
  84. package/lib/docx/import/destination/drawing/shape-properties-destination.d.ts +1 -0
  85. package/lib/docx/import/destination/drawing/shape-properties-destination.js +16 -1
  86. package/lib/docx/import/destination/settings/compat-settings-destination.d.ts +2 -0
  87. package/lib/docx/import/destination/settings/compat-settings-destination.js +6 -0
  88. package/lib/docx/import/importer.js +2 -0
  89. package/lib/docx/import/importers/styles-importer.js +1 -1
  90. package/lib/html/import/html-model-inserter.js +1 -1
  91. package/lib/model-api/character-properties.d.ts +2 -0
  92. package/lib/model-api/character-properties.js +19 -15
  93. package/lib/rtf/export/exporters/rtf-character-properties-exporter.js +2 -0
  94. package/lib/rtf/import/destination/fields/code-field-destination.d.ts +1 -3
  95. package/lib/rtf/import/destination/fields/code-field-destination.js +4 -17
  96. package/lib/rtf/import/destination/fields/result-field-destination.d.ts +1 -0
  97. package/lib/rtf/import/destination/fields/result-field-destination.js +4 -3
  98. package/lib/rtf/import/destination/numbering-list/destination-old-paragraph-numbering-base.js +1 -1
  99. package/lib/rtf/import/destination/numbering-list/destination-old-paragraph-numbering.js +1 -2
  100. package/lib/rtf/import/destination/numbering-list/list-level-text-destination.d.ts +1 -0
  101. package/lib/rtf/import/destination/numbering-list/list-level-text-destination.js +4 -0
  102. package/lib/rtf/import/destination/numbering-list/list-table-destination.js +1 -2
  103. package/lib/rtf/import/destination/sub-document/default-destination.js +18 -17
  104. package/lib/rtf/import/destination/sub-document/destination-sub-document.d.ts +1 -0
  105. package/lib/rtf/import/destination/sub-document/destination-sub-document.js +4 -0
  106. package/lib/rtf/import/importers/character-importer.d.ts +2 -2
  107. package/lib/rtf/import/importers/character-importer.js +4 -1
  108. package/lib/rtf/import/importers/field-importer.d.ts +4 -1
  109. package/lib/rtf/import/importers/field-importer.js +28 -14
  110. package/lib/rtf/import/keyword-tables/character-properties.js +1 -0
  111. package/lib/rtf/import/model/fields/rtf-field-info.d.ts +4 -1
  112. package/lib/rtf/import/model/fields/rtf-field-info.js +4 -4
  113. package/lib/rtf/import/model/numbering-lists/rtf-old-list-level-info.js +1 -2
  114. package/lib/rtf/import/rtf-importer.js +1 -1
  115. package/lib/rtf/translation-table/rtf-export-sr.d.ts +1 -0
  116. package/lib/rtf/translation-table/rtf-export-sr.js +1 -0
  117. package/package.json +2 -2
package/bin/gulpfile.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (gulpfile.js)
3
- * Version: 21.2.4
4
- * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
3
+ * Version: 21.2.5
4
+ * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
7
7
  const path = require('path');
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (index-custom.js)
3
- * Version: 21.2.4
4
- * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
3
+ * Version: 21.2.5
4
+ * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
7
7
  "use strict";
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (localization-builder.js)
3
- * Version: 21.2.4
4
- * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
3
+ * Version: 21.2.5
4
+ * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
7
7
  const jsHeader =
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (nspell-index.js)
3
- * Version: 21.2.4
4
- * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
3
+ * Version: 21.2.5
4
+ * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
7
7
  import * as nspellImport from 'nspell';
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (nspell.webpack.config.js)
3
- * Version: 21.2.4
4
- * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
3
+ * Version: 21.2.5
4
+ * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
7
7
  const path = require('path');
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (webpack-externals.js)
3
- * Version: 21.2.4
4
- * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
3
+ * Version: 21.2.5
4
+ * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
7
7
  const jsZipExternals = {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (webpack.config.js)
3
- * Version: 21.2.4
4
- * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
3
+ * Version: 21.2.5
4
+ * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
7
7
  const path = require('path');
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (client.d.ts)
3
- * Version: 21.2.4
4
- * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
3
+ * Version: 21.2.5
4
+ * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
7
7
  declare module DevExpress.RichEdit {
@@ -735,6 +735,7 @@ declare module DevExpress.RichEdit {
735
735
  script: CharacterPropertiesScript;
736
736
  allCaps: boolean;
737
737
  hidden: boolean;
738
+ smallCaps: boolean;
738
739
  }
739
740
  export interface ICharacterProperties {
740
741
  fontName?: string;
@@ -751,6 +752,7 @@ declare module DevExpress.RichEdit {
751
752
  script?: CharacterPropertiesScript;
752
753
  allCaps?: boolean;
753
754
  hidden?: boolean;
755
+ smallCaps?: boolean;
754
756
  }
755
757
  export class ParagraphProperties {
756
758
  alignment: ParagraphAlignment;
@@ -1919,6 +1921,7 @@ declare module DevExpress.RichEdit {
1919
1921
  customPanel: undefined | ICustomLoadingPanel;
1920
1922
  }
1921
1923
  export class CommandState {
1924
+ readonly visible: boolean;
1922
1925
  readonly enabled: boolean;
1923
1926
  readonly value?: any;
1924
1927
  }
@@ -1953,6 +1956,7 @@ declare module DevExpress.RichEdit {
1953
1956
  defaultTimeFormat?: string;
1954
1957
  defaultDateFormat?: string;
1955
1958
  openHyperlinkOnClick?: boolean;
1959
+ keepHyperlinkResultForInvalidReference?: boolean;
1956
1960
  createHyperlinkTooltip?: (hyperlinkTooltip: string, hint: string) => string;
1957
1961
  }
1958
1962
  export interface ISimpleViewSettings {