devexpress-aspnetcore-spreadsheet 23.1.2-beta → 23.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress AspNetCore Spreadsheet (dx-localization-builder.js)
3
- * Version: 23.1.2
3
+ * Version: 23.1.3
4
4
  * Copyright (c) 2012 - 2023 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 AspNetCore Spreadsheet (dx-aspnetcore-spreadsheet.js)
3
- * Version: 23.1.2
3
+ * Version: 23.1.3
4
4
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -27128,6 +27128,7 @@ window.ASPxClientSpreadsheetCustomCommandExecutedEventArgs = ASPxClientSpreadshe
27128
27128
  this.getScrollHelper().processDocumentResponse(response);
27129
27129
  this.renderPivotTablesAutoFilterImages(response[ASPxClientSpreadsheet.ResponseStringKeys.PivotTableAutofilters]);
27130
27130
  this.renderAutoFilterImages(response.autoFilters);
27131
+ this.getTileHelper().onAfterProcessDocumentRespone(response.ri);
27131
27132
  },
27132
27133
  preparePaneManager: function(response) {
27133
27134
  this.getRenderHelper().hideFreezeBorders();
@@ -37975,6 +37976,10 @@ ASPxClientSpreadsheet.ServerCommands = (function() {
37975
37976
 
37976
37977
  this.afterChildControlsCreated(visibleRange);
37977
37978
  },
37979
+ onAfterProcessDocumentRespone: function(requestId) {
37980
+ if(ASPx.IsExists(requestId))
37981
+ this.invalidateVisibleRangesWaitingForLoadByRequestId(requestId);
37982
+ },
37978
37983
 
37979
37984
  // Remove tiles
37980
37985
  removeExpiredTiles: function(expiredTiles) {
@@ -38440,7 +38445,8 @@ ASPxClientSpreadsheet.ServerCommands = (function() {
38440
38445
  var inc = isRightDir ? 1 : -1;
38441
38446
  cellIndex += boundIndexInfo.partLength * inc;
38442
38447
  tileIndex += inc;
38443
-
38448
+ if(cellIndex < 0 || tileIndex < 0)
38449
+ return 0;
38444
38450
  var defaultTileInfo = this.getDefaultTileInfo(),
38445
38451
  totalSizeName = isCol ? "totalWidth" : "totalHeight",
38446
38452
  diff = minSize - boundIndexInfo.partTotalSize,
@@ -38758,6 +38764,9 @@ ASPxClientSpreadsheet.ServerCommands = (function() {
38758
38764
  }
38759
38765
  this.visibleRangesWaitingForLoad = newRanges;
38760
38766
  },
38767
+ invalidateVisibleRangesWaitingForLoadByRequestId: function(requestId) {
38768
+ this.visibleRangesWaitingForLoad = this.visibleRangesWaitingForLoad.filter(function(r) { return r.requestId !== requestId; });
38769
+ },
38761
38770
  requestIdsAreEqual: function(serverRequestId, rangeRequestId) {
38762
38771
  return serverRequestId && rangeRequestId && serverRequestId === rangeRequestId;
38763
38772
  },
@@ -58094,7 +58103,8 @@ Object.defineProperty(ASPxClientSpreadsheet, 'Functions', {
58094
58103
  if(formOptions.items.hasOwnProperty(key)) {
58095
58104
  var item = formOptions.items[key];
58096
58105
  item.editorOptions = item.editorOptions || {};
58097
- item.editorOptions.valueChangeEvent = 'keyup';
58106
+ if(!item.editorOptions.valueChangeEvent)
58107
+ item.editorOptions.valueChangeEvent = 'keyup';
58098
58108
  }
58099
58109
  }
58100
58110
  }
@@ -60165,10 +60175,13 @@ Object.defineProperty(ASPxClientSpreadsheet, 'Functions', {
60165
60175
  }],
60166
60176
  editorOptions: {
60167
60177
  placeholder: 'http://',
60178
+ valueChangeEvent: 'input',
60168
60179
  onValueChanged: function(e) {
60169
- this.GetDialogHelper().checkImageExisting(e.value, this.onImageLoad.aspxBind(this), this.onImageError.aspxBind(this));
60180
+ window.clearTimeout(this.imgSrcChangedTimer);
60181
+ this.imgSrcChangedTimer = window.setTimeout(function() {
60182
+ this.GetDialogHelper().checkImageExisting(e.value, this.onImageLoad.aspxBind(this), this.onImageError.aspxBind(this));
60183
+ }.aspxBind(this), 300);
60170
60184
  }.aspxBind(this)
60171
-
60172
60185
  }
60173
60186
  },
60174
60187
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devexpress-aspnetcore-spreadsheet",
3
- "version": "23.1.2-beta",
3
+ "version": "23.1.3",
4
4
  "homepage": "https://www.devexpress.com/",
5
5
  "bugs": "https://www.devexpress.com/support/",
6
6
  "author": "Developer Express Inc.",
@@ -11,7 +11,7 @@
11
11
  "localization": "node bin/localization-builder.js localization-source localization"
12
12
  },
13
13
  "peerDependencies": {
14
- "devextreme": "23.1.2-beta"
14
+ "devextreme": "23.1.3"
15
15
  },
16
16
  "keywords": [
17
17
  "spreadsheet",