@progress/kendo-spreadsheet-common 1.2.1 → 1.2.2-develop.1

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
@@ -19731,6 +19731,11 @@ class BorderChangeCommand extends Command {
19731
19731
  }
19732
19732
  exec() {
19733
19733
  let self = this;
19734
+
19735
+ if (!self._type) {
19736
+ return;
19737
+ }
19738
+
19734
19739
  self.getState();
19735
19740
  self._batch(function(){
19736
19741
  self[self._type](self._style);
@@ -23550,20 +23555,20 @@ class SpreadsheetWidget extends Widget {
23550
23555
  } else if (controlKey && key === keys.U) {
23551
23556
  this._handleTypographicalEmphasis('underline');
23552
23557
  } else if (e.altKey && key === keys.H) {
23553
- this._view.tabstrip?.select(0);
23558
+ this._view.tabstrip?.select("home");
23554
23559
  e.preventDefault();
23555
23560
  return;
23556
23561
  } else if (e.altKey && key === keys.N) {
23557
- this._view.tabstrip?.select(1);
23562
+ this._view.tabstrip?.select("insert");
23558
23563
  e.preventDefault();
23559
23564
  return;
23560
23565
  } else if (e.altKey && key === keys.A) {
23561
- this._view.tabstrip?.select(2);
23566
+ this._view.tabstrip?.select("data");
23562
23567
  e.preventDefault();
23563
23568
  return;
23564
23569
  } else if (key === keys.F10) {
23565
23570
  e.preventDefault();
23566
- this._view.tabstrip?.wrapper?.find(".k-tabstrip-content.k-active .k-toolbar [tabindex=0]").trigger("focus");
23571
+ this._view.tabstrip?.focus();
23567
23572
  }
23568
23573
  }
23569
23574
 
package/dist/index.js CHANGED
@@ -19732,6 +19732,11 @@
19732
19732
  }
19733
19733
  exec() {
19734
19734
  let self = this;
19735
+
19736
+ if (!self._type) {
19737
+ return;
19738
+ }
19739
+
19735
19740
  self.getState();
19736
19741
  self._batch(function(){
19737
19742
  self[self._type](self._style);
@@ -23551,20 +23556,20 @@
23551
23556
  } else if (controlKey && key === keys.U) {
23552
23557
  this._handleTypographicalEmphasis('underline');
23553
23558
  } else if (e.altKey && key === keys.H) {
23554
- this._view.tabstrip?.select(0);
23559
+ this._view.tabstrip?.select("home");
23555
23560
  e.preventDefault();
23556
23561
  return;
23557
23562
  } else if (e.altKey && key === keys.N) {
23558
- this._view.tabstrip?.select(1);
23563
+ this._view.tabstrip?.select("insert");
23559
23564
  e.preventDefault();
23560
23565
  return;
23561
23566
  } else if (e.altKey && key === keys.A) {
23562
- this._view.tabstrip?.select(2);
23567
+ this._view.tabstrip?.select("data");
23563
23568
  e.preventDefault();
23564
23569
  return;
23565
23570
  } else if (key === keys.F10) {
23566
23571
  e.preventDefault();
23567
- this._view.tabstrip?.wrapper?.find(".k-tabstrip-content.k-active .k-toolbar [tabindex=0]").trigger("focus");
23572
+ this._view.tabstrip?.focus();
23568
23573
  }
23569
23574
  }
23570
23575
 
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.2.1",
4
+ "version": "1.2.2-develop.1",
5
5
  "keywords": [
6
6
  "Kendo UI"
7
7
  ],