devexpress-richedit 22.2.2-beta → 22.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/gulpfile.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (gulpfile.js)
3
- * Version: 22.2.2
3
+ * Version: 22.2.3
4
4
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (index-custom.js)
3
- * Version: 22.2.2
3
+ * Version: 22.2.3
4
4
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (localization-builder.js)
3
- * Version: 22.2.2
3
+ * Version: 22.2.3
4
4
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (nspell-index.js)
3
- * Version: 22.2.2
3
+ * Version: 22.2.3
4
4
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (nspell.webpack.config.js)
3
- * Version: 22.2.2
3
+ * Version: 22.2.3
4
4
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (webpack-externals.js)
3
- * Version: 22.2.2
3
+ * Version: 22.2.3
4
4
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (webpack.config.js)
3
- * Version: 22.2.2
3
+ * Version: 22.2.3
4
4
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -1802,13 +1802,22 @@
1802
1802
  padding-left: 8px; }
1803
1803
 
1804
1804
  .dx-ribbon[class*="material"] .dx-menu-base.dx-ribbon-item :not(.dx-submenu) .dx-menu-item .dx-menu-item-content .dx-menu-item-text {
1805
- font-size: 14px;
1806
1805
  text-transform: uppercase;
1807
1806
  font-weight: 500; }
1808
1807
 
1809
1808
  .dx-ribbon[class*="material"] .dx-dropdowneditor.dx-editor-filled::after {
1810
1809
  border-bottom-color: transparent; }
1811
1810
 
1811
+ .dx-ribbon[class*="material"] .dx-menu-item-content {
1812
+ display: flex;
1813
+ align-items: center; }
1814
+
1815
+ .dx-ribbon[class*="material"][class*="compact"] .dx-menu-base .dx-icon {
1816
+ font-size: 16px; }
1817
+
1818
+ .dx-ribbon[class*="material"]:not([class*="compact"]) .dx-menu-base .dx-icon {
1819
+ font-size: 18px; }
1820
+
1812
1821
  .dx-ribbon .dx-menu-base.dx-ribbon-item.dx-showTextInMenu :not(.dx-submenu) .dx-menu-item .dx-menu-item-content .dx-menu-item-text, .dx-ribbon .dx-menu-base.dx-ribbon-item.dx-showTextInMenu :not(.dx-submenu) .dx-menu-item .dx-menu-item-content .dx-menu-item-popout:before {
1813
1822
  display: none; }
1814
1823
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (client.d.ts)
3
- * Version: 22.2.2
3
+ * Version: 22.2.3
4
4
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (dx.richedit.js)
3
- * Version: 22.2.2
3
+ * Version: 22.2.3
4
4
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -10723,8 +10723,9 @@ var DocumentRenderer = (function () {
10723
10723
  var needUnderline = !noNeedUnderlineAndStrikeout && (charProps.fontUnderlineType != enums_2.UnderlineType.None) && (box.getType() != layout_box_1.LayoutBoxType.Space || !charProps.underlineWordsOnly);
10724
10724
  var needStrikeout = !noNeedUnderlineAndStrikeout && (charProps.fontStrikeoutType != enums_2.StrikeoutType.None) && (box.getType() != layout_box_1.LayoutBoxType.Space || !charProps.strikeoutWordsOnly);
10725
10725
  var noStrikeoutAndUnderline = (needStrikeout && needUnderline) || (needStrikeout && strikeoutColor != color_1.ColorHelper.AUTOMATIC_COLOR) || (needUnderline && underlineColor != color_1.ColorHelper.AUTOMATIC_COLOR);
10726
- var commonStyles = html_converter_1.HtmlConverter.getCssRules(charProps, textColor, box.renderIsWordBox(), noStrikeoutAndUnderline, true);
10726
+ var commonStyles;
10727
10727
  if (noStrikeoutAndUnderline) {
10728
+ commonStyles = html_converter_1.HtmlConverter.getCssRules(charProps, textColor, box.renderIsWordBox(), noStrikeoutAndUnderline, true);
10728
10729
  boxStyles = boxStyles.concat(html_converter_1.HtmlConverter.getSizeSignificantRules(charProps));
10729
10730
  boxStyles.push(html_converter_1.HtmlConverter.getForeColorRule(textColor));
10730
10731
  var needColor = strikeoutColor != color_1.ColorHelper.AUTOMATIC_COLOR ||
@@ -10741,7 +10742,7 @@ var DocumentRenderer = (function () {
10741
10742
  }
10742
10743
  }
10743
10744
  else
10744
- boxStyles = boxStyles.concat(commonStyles);
10745
+ boxStyles = boxStyles.concat(html_converter_1.HtmlConverter.getCssRules(charProps, textColor, box.renderIsWordBox(), noNeedUnderlineAndStrikeout, true));
10745
10746
  var boxClass = "";
10746
10747
  switch (box.getType()) {
10747
10748
  case layout_box_1.LayoutBoxType.Text:
@@ -101767,24 +101768,38 @@ var number_1 = __webpack_require__(11);
101767
101768
  var ListIdProviderBase = (function () {
101768
101769
  function ListIdProviderBase(documentModel) {
101769
101770
  this.documentModel = documentModel;
101771
+ this.lastId = 0;
101770
101772
  }
101773
+ ListIdProviderBase.prototype.getMap = function () {
101774
+ if (!this.map) {
101775
+ this.map = {};
101776
+ for (var i = 0, list; list = this.getLists()[i]; i++)
101777
+ this.map[list.innerId] = true;
101778
+ }
101779
+ return this.map;
101780
+ };
101781
+ ListIdProviderBase.prototype.getNextId = function () {
101782
+ var map = this.getMap();
101783
+ do {
101784
+ this.lastId++;
101785
+ } while (map[this.lastId]);
101786
+ map[this.lastId] = true;
101787
+ return this.lastId;
101788
+ };
101771
101789
  return ListIdProviderBase;
101772
101790
  }());
101773
101791
  exports.ListIdProviderBase = ListIdProviderBase;
101774
101792
  var NumberingListIdProvider = (function (_super) {
101775
101793
  tslib_1.__extends(NumberingListIdProvider, _super);
101776
101794
  function NumberingListIdProvider() {
101777
- var _this = _super !== null && _super.apply(this, arguments) || this;
101778
- _this.lastId = 0;
101779
- return _this;
101795
+ return _super !== null && _super.apply(this, arguments) || this;
101780
101796
  }
101781
- NumberingListIdProvider.prototype.getNextId = function () {
101782
- this.lastId++;
101783
- return this.lastId;
101797
+ NumberingListIdProvider.prototype.getLists = function () {
101798
+ return this.documentModel.numberingLists;
101784
101799
  };
101785
101800
  NumberingListIdProvider.prototype.clone = function (model) {
101786
101801
  var result = new NumberingListIdProvider(model);
101787
- result.lastId = this.lastId;
101802
+ result.map = number_1.NumberMapUtils.shallowCopy(this.map);
101788
101803
  return result;
101789
101804
  };
101790
101805
  return NumberingListIdProvider;
@@ -101793,25 +101808,10 @@ exports.NumberingListIdProvider = NumberingListIdProvider;
101793
101808
  var AbstractNumberingListIdProvider = (function (_super) {
101794
101809
  tslib_1.__extends(AbstractNumberingListIdProvider, _super);
101795
101810
  function AbstractNumberingListIdProvider() {
101796
- var _this = _super !== null && _super.apply(this, arguments) || this;
101797
- _this.lastId = 0;
101798
- return _this;
101811
+ return _super !== null && _super.apply(this, arguments) || this;
101799
101812
  }
101800
- AbstractNumberingListIdProvider.prototype.getMap = function () {
101801
- if (!this.map) {
101802
- this.map = {};
101803
- for (var i = 0, list; list = this.documentModel.abstractNumberingLists[i]; i++)
101804
- this.map[list.innerId] = true;
101805
- }
101806
- return this.map;
101807
- };
101808
- AbstractNumberingListIdProvider.prototype.getNextId = function () {
101809
- var map = this.getMap();
101810
- do {
101811
- this.lastId++;
101812
- } while (map[this.lastId]);
101813
- map[this.lastId] = true;
101814
- return this.lastId;
101813
+ AbstractNumberingListIdProvider.prototype.getLists = function () {
101814
+ return this.documentModel.abstractNumberingLists;
101815
101815
  };
101816
101816
  AbstractNumberingListIdProvider.prototype.clone = function (model) {
101817
101817
  var result = new AbstractNumberingListIdProvider(model);
@@ -146668,7 +146668,7 @@ var UrlAutoCorrectProvider = (function (_super) {
146668
146668
  tslib_1.__extends(UrlAutoCorrectProvider, _super);
146669
146669
  function UrlAutoCorrectProvider() {
146670
146670
  var _this = _super !== null && _super.apply(this, arguments) || this;
146671
- _this.urlRegex = /^(?:[a-z][\w-]+:(?:\/{1,3}([^./]*:[^./]*@){0,1})|www\d{0,3}[.]|ftp[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\([^\s<>]*\))+(?:\([^\s<>]*\)|[^\s`!()\[\]{};:'"".,<>?«»“”‘’])$/i;
146671
+ _this.urlRegex = /^(?:[a-z][\w-]+:(?:\/{1,3}([^./]*:[^./]*@){0,1})|www\d{0,3}[.]|ftp[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?=((?:[^\s()<>]+|\([^\s<>]*\))+(?:\([^\s<>]*\)|[^\s`!()\[\]{};:'"".,<>?«»“”‘’])))\2$/i;
146672
146672
  _this.emailRegex = /^(mailto:)?[-\w!#$%&'*+/=?^_`{|}~]+(?:\.[-\w!#$%&'*+/=?^_`{|}~]+)*@(?:\w+([-\w]*\w)\.)[\w]+$/;
146673
146673
  _this.localRegex = /^(([a-zA-Z][:][\\])|(\\\\))(((?![<>:"\\|?*]).)+((?![ .])\\)?)*$/;
146674
146674
  return _this;