@progress/kendo-spreadsheet-common 1.2.8 → 1.2.9-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
@@ -22938,9 +22938,13 @@ class Workbook extends Observable {
22938
22938
  let data = self.toJSON();
22939
22939
 
22940
22940
  if (!options.applyProtection) {
22941
- data.sheets.forEach(({ rows }) =>
22942
- rows.forEach(({ cells }) =>
22943
- cells.forEach(cell => delete cell.enable)));
22941
+ data.sheets.forEach(({ rows }) => {
22942
+ rows.forEach(({ cells }) => {
22943
+ if (rows.cells) {
22944
+ cells.forEach(cell => delete cell.enable);
22945
+ }
22946
+ });
22947
+ });
22944
22948
  }
22945
22949
 
22946
22950
  if (self.trigger("excelExport", { workbook: data })) {
package/dist/index.js CHANGED
@@ -22939,9 +22939,13 @@
22939
22939
  let data = self.toJSON();
22940
22940
 
22941
22941
  if (!options.applyProtection) {
22942
- data.sheets.forEach(({ rows }) =>
22943
- rows.forEach(({ cells }) =>
22944
- cells.forEach(cell => delete cell.enable)));
22942
+ data.sheets.forEach(({ rows }) => {
22943
+ rows.forEach(({ cells }) => {
22944
+ if (rows.cells) {
22945
+ cells.forEach(cell => delete cell.enable);
22946
+ }
22947
+ });
22948
+ });
22945
22949
  }
22946
22950
 
22947
22951
  if (self.trigger("excelExport", { workbook: data })) {
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.8",
4
+ "version": "1.2.9-develop.1",
5
5
  "keywords": [
6
6
  "Kendo UI"
7
7
  ],
@@ -17,8 +17,13 @@
17
17
  "lint": "eslint src",
18
18
  "lintfix": "eslint src --fix",
19
19
  "test": "jest",
20
- "e2e": "jest --config ./jest.e2e.config.json",
21
- "e2e:visual": "jest --config ./jest.e2e.visual.config.json",
20
+ "serve": "http-server . -p 8765 -c-1 --cors -a 127.0.0.1",
21
+ "e2e": "node tools/run-e2e-tests.js",
22
+ "e2e:functional": "TEST_FILE=e2e/functional.test.js node tools/run-e2e-tests.js",
23
+ "e2e:kb-interaction": "TEST_FILE=e2e/kb-interaction.test.js node tools/run-e2e-tests.js",
24
+ "e2e:objectat": "TEST_FILE=e2e/objectat.test.js node tools/run-e2e-tests.js",
25
+ "e2e:smoke": "TEST_FILE=e2e/smoke.test.js node tools/run-e2e-tests.js",
26
+ "e2e:visual": "node tools/run-e2e-tests.js jest.e2e.visual.config.json",
22
27
  "prepare": "husky install"
23
28
  },
24
29
  "peerDependencies": {
@@ -31,7 +36,7 @@
31
36
  "@babel/eslint-parser": "^7.27.0",
32
37
  "@commitlint/cli": "^17.3.0",
33
38
  "@commitlint/config-conventional": "^17.3.0",
34
- "@progress/kendo-e2e": "^4.0.0",
39
+ "@progress/kendo-e2e": "^4.14.0",
35
40
  "@progress/kendo-intl": "^3.1.1",
36
41
  "@telerik/dx-metrics": "^2.1.8",
37
42
  "@types/jest": "^29.0.0",
@@ -40,6 +45,7 @@
40
45
  "escodegen": "^2.1.0",
41
46
  "eslint": "^9.3.0",
42
47
  "eslint-plugin-jest": "^28.11.0",
48
+ "http-server": "^14.1.1",
43
49
  "husky": "^8.0.2",
44
50
  "jest-cli": "^29.0.0",
45
51
  "jest-environment-jsdom": "^29.5.0",