@progress/kendo-spreadsheet-common 1.0.0-develop.14 → 1.0.0-develop.16

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/dist/index-esm.js CHANGED
@@ -23018,7 +23018,7 @@ class View extends Observable {
23018
23018
 
23019
23019
  selectClipboardContents() {
23020
23020
  if (!this.isClipboardDeactivated) {
23021
- this.clipboard.focus();
23021
+ this.clipboard.focus({ preventScroll: true });
23022
23022
  selectElementContents(this.clipboard);
23023
23023
  }
23024
23024
  }
@@ -24960,14 +24960,14 @@ class OpenCommand extends Command {
24960
24960
  }
24961
24961
 
24962
24962
  let workbook = this.options.workbook;
24963
- workbook.fromFile(this.options.file).then(function(){
24964
- let errors = workbook.excelImportErrors;
24965
- if (errors && errors.length) {
24966
- workbook._view.openDialog("importError", {
24967
- errors: errors
24968
- });
24969
- }
24970
- });
24963
+ workbook.fromFile(this.options.file);
24964
+
24965
+ let errors = workbook.excelImportErrors;
24966
+ if (errors && errors.length) {
24967
+ workbook._view.openDialog("importError", {
24968
+ errors: errors
24969
+ });
24970
+ }
24971
24971
  }
24972
24972
  }
24973
24973
 
package/dist/index.js CHANGED
@@ -23019,7 +23019,7 @@
23019
23019
 
23020
23020
  selectClipboardContents() {
23021
23021
  if (!this.isClipboardDeactivated) {
23022
- this.clipboard.focus();
23022
+ this.clipboard.focus({ preventScroll: true });
23023
23023
  selectElementContents(this.clipboard);
23024
23024
  }
23025
23025
  }
@@ -24961,14 +24961,14 @@
24961
24961
  }
24962
24962
 
24963
24963
  let workbook = this.options.workbook;
24964
- workbook.fromFile(this.options.file).then(function(){
24965
- let errors = workbook.excelImportErrors;
24966
- if (errors && errors.length) {
24967
- workbook._view.openDialog("importError", {
24968
- errors: errors
24969
- });
24970
- }
24971
- });
24964
+ workbook.fromFile(this.options.file);
24965
+
24966
+ let errors = workbook.excelImportErrors;
24967
+ if (errors && errors.length) {
24968
+ workbook._view.openDialog("importError", {
24969
+ errors: errors
24970
+ });
24971
+ }
24972
24972
  }
24973
24973
  }
24974
24974
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-spreadsheet-common",
3
3
  "description": "Kendo UI platform-independent Spreadsheet library",
4
- "version": "1.0.0-develop.14",
4
+ "version": "1.0.0-develop.16",
5
5
  "keywords": [
6
6
  "Kendo UI"
7
7
  ],