backend-plus 2.7.0 → 2.7.2

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.
@@ -1742,8 +1742,8 @@ myOwn.dialogDownload = function dialogDownload(grid){
1742
1742
  var sheet2name=grid.def.name!=="metadata"?"metadata":"meta-data";
1743
1743
  var dataSheet = {
1744
1744
  name: sheet1name,
1745
- freezeRows: 1,
1746
- freezeColumns: grid.def.primaryKey?.length ?? 0,
1745
+ freezeRows: my.config.config?.['unfreeze-excel-rows'] ? 0 : 1,
1746
+ freezeColumns: my.config.config?.['unfreeze-excel-columns'] ? 0 : (grid.def.primaryKey?.length ?? 0),
1747
1747
  autoWidthMax: 40,
1748
1748
  rows: tableRowsXLS(grid.depotsToDisplay, fieldsDef2Export)
1749
1749
  };
@@ -509,6 +509,8 @@ export interface AppConfigClientSetup // front-end config
509
509
  "minimum-scale"?:string
510
510
  "maximum-scale"?:string
511
511
  "user-scalable"?:string
512
+ "unfreeze-excel-rows"?:boolean
513
+ "unfreeze-excel-columns"?:boolean
512
514
  }
513
515
  export interface AppConfig {
514
516
  package: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "backend-plus",
3
3
  "description": "Backend for the anti Pareto rule",
4
- "version": "2.7.0",
4
+ "version": "2.7.2",
5
5
  "author": "Codenautas <codenautas@googlegroups.com>",
6
6
  "license": "MIT",
7
7
  "repository": "codenautas/backend-plus",
@@ -73,7 +73,7 @@
73
73
  "sql-tools": "^0.1.7",
74
74
  "stack-trace": "^1.0.0",
75
75
  "tab-plus": "^0.1.8",
76
- "type-store": "^0.6.0",
76
+ "type-store": "^0.6.1",
77
77
  "typed-controls": "^0.12.7",
78
78
  "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz",
79
79
  "xlsx-now": "^0.2.1"