@leankylin-sheet/core 5.2.65 → 5.2.66

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
@@ -57279,6 +57279,7 @@ var defaultSettings = {
57279
57279
  config: {},
57280
57280
  devicePixelRatio: 0,
57281
57281
  allowEdit: true,
57282
+ disabledMoveSheet: false,
57282
57283
  lang: null,
57283
57284
  forceCalculation: false,
57284
57285
  rowHeaderWidth: 46,
package/dist/index.js CHANGED
@@ -57289,6 +57289,7 @@ var defaultSettings = {
57289
57289
  config: {},
57290
57290
  devicePixelRatio: 0,
57291
57291
  allowEdit: true,
57292
+ disabledMoveSheet: false,
57292
57293
  lang: null,
57293
57294
  forceCalculation: false,
57294
57295
  rowHeaderWidth: 46,
@@ -9,6 +9,7 @@ export type Hooks = {
9
9
  direction?: "lefttop" | "rightbottom";
10
10
  id: string;
11
11
  }) => void;
12
+ onMoveSheet?: (draggingId: string, beforeSheetId?: string) => void;
12
13
  onCopySheet?: (oldSheetId: string, newSheetId: string) => void;
13
14
  onCopySheetBefore?: (oldSheetId: any, sheetData: any) => any;
14
15
  onCopySheetCheck?: (oldSheetId: string, sheet: Sheet) => boolean | Promise<boolean>;
@@ -118,6 +119,7 @@ export type Settings = {
118
119
  row?: number;
119
120
  addRows?: number;
120
121
  allowEdit?: boolean;
122
+ disabledMoveSheet?: boolean;
121
123
  showToolbar?: boolean;
122
124
  showFormulaBar?: boolean;
123
125
  showSheetTabs?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leankylin-sheet/core",
3
- "version": "5.2.65",
3
+ "version": "5.2.66",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "typings": "dist/index.d.ts",
@@ -13,7 +13,7 @@
13
13
  "build": "father-build"
14
14
  },
15
15
  "dependencies": {
16
- "@leankylin-sheet/formula-parser": "5.2.65",
16
+ "@leankylin-sheet/formula-parser": "5.2.66",
17
17
  "dayjs": "^1.11.0",
18
18
  "immer": "^9.0.12",
19
19
  "lodash": "^4.17.21",