@leankylin-sheet/core 4.0.61 → 4.0.63
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/README.md +19 -19
- package/dist/index.esm.js +9 -8
- package/dist/index.js +9 -8
- package/dist/settings.d.ts +2 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
# @leankylin-sheet/core
|
|
2
|
-
|
|
3
|
-
LeankylinSheet is a drop-in javascript spreadsheet library that provides rich features like Excel and Google Sheets
|
|
4
|
-
|
|
5
|
-
See our repo [leankylin-sheet](http://114.55.85.79:19999/leankylin-front/leankylin-sheet) for more information.
|
|
6
|
-
|
|
7
|
-
## Install
|
|
8
|
-
|
|
9
|
-
Using npm:
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
$ npm install --save @leankylin-sheet/core
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
or using yarn:
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
$ yarn add @leankylin-sheet/core
|
|
19
|
-
```
|
|
1
|
+
# @leankylin-sheet/core
|
|
2
|
+
|
|
3
|
+
LeankylinSheet is a drop-in javascript spreadsheet library that provides rich features like Excel and Google Sheets
|
|
4
|
+
|
|
5
|
+
See our repo [leankylin-sheet](http://114.55.85.79:19999/leankylin-front/leankylin-sheet) for more information.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
Using npm:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
$ npm install --save @leankylin-sheet/core
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
or using yarn:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
$ yarn add @leankylin-sheet/core
|
|
19
|
+
```
|
package/dist/index.esm.js
CHANGED
|
@@ -33798,13 +33798,13 @@ var make_ssf = function make_ssf(SSF) {
|
|
|
33798
33798
|
return general_fmt_num_base;
|
|
33799
33799
|
}();
|
|
33800
33800
|
SSF._general_num = general_fmt_num;
|
|
33801
|
-
/*
|
|
33802
|
-
"General" rules:
|
|
33803
|
-
- text is passed through ("@")
|
|
33804
|
-
- booleans are rendered as TRUE/FALSE
|
|
33805
|
-
- "up to 11 characters" displayed for numbers
|
|
33806
|
-
- Default date format (code 14) used for Dates
|
|
33807
|
-
TODO: technically the display depends on the width of the cell
|
|
33801
|
+
/*
|
|
33802
|
+
"General" rules:
|
|
33803
|
+
- text is passed through ("@")
|
|
33804
|
+
- booleans are rendered as TRUE/FALSE
|
|
33805
|
+
- "up to 11 characters" displayed for numbers
|
|
33806
|
+
- Default date format (code 14) used for Dates
|
|
33807
|
+
TODO: technically the display depends on the width of the cell
|
|
33808
33808
|
*/
|
|
33809
33809
|
function general_fmt(v, opts) {
|
|
33810
33810
|
switch (_typeof(v)) {
|
|
@@ -56328,7 +56328,8 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
56328
56328
|
});
|
|
56329
56329
|
|
|
56330
56330
|
var defaultSettings = {
|
|
56331
|
-
|
|
56331
|
+
renderTopToolbar: undefined,
|
|
56332
|
+
renderBottomToolbar: undefined,
|
|
56332
56333
|
headerBgColor: "#fff",
|
|
56333
56334
|
toolbarRightRender: undefined,
|
|
56334
56335
|
onClickContentEditable: undefined,
|
package/dist/index.js
CHANGED
|
@@ -33808,13 +33808,13 @@ var make_ssf = function make_ssf(SSF) {
|
|
|
33808
33808
|
return general_fmt_num_base;
|
|
33809
33809
|
}();
|
|
33810
33810
|
SSF._general_num = general_fmt_num;
|
|
33811
|
-
/*
|
|
33812
|
-
"General" rules:
|
|
33813
|
-
- text is passed through ("@")
|
|
33814
|
-
- booleans are rendered as TRUE/FALSE
|
|
33815
|
-
- "up to 11 characters" displayed for numbers
|
|
33816
|
-
- Default date format (code 14) used for Dates
|
|
33817
|
-
TODO: technically the display depends on the width of the cell
|
|
33811
|
+
/*
|
|
33812
|
+
"General" rules:
|
|
33813
|
+
- text is passed through ("@")
|
|
33814
|
+
- booleans are rendered as TRUE/FALSE
|
|
33815
|
+
- "up to 11 characters" displayed for numbers
|
|
33816
|
+
- Default date format (code 14) used for Dates
|
|
33817
|
+
TODO: technically the display depends on the width of the cell
|
|
33818
33818
|
*/
|
|
33819
33819
|
function general_fmt(v, opts) {
|
|
33820
33820
|
switch (_typeof(v)) {
|
|
@@ -56338,7 +56338,8 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
56338
56338
|
});
|
|
56339
56339
|
|
|
56340
56340
|
var defaultSettings = {
|
|
56341
|
-
|
|
56341
|
+
renderTopToolbar: undefined,
|
|
56342
|
+
renderBottomToolbar: undefined,
|
|
56342
56343
|
headerBgColor: "#fff",
|
|
56343
56344
|
toolbarRightRender: undefined,
|
|
56344
56345
|
onClickContentEditable: undefined,
|
package/dist/settings.d.ts
CHANGED
|
@@ -89,7 +89,8 @@ export type Hooks = {
|
|
|
89
89
|
export type Settings = {
|
|
90
90
|
headerBgColor?: string;
|
|
91
91
|
toolbarRightRender?: any;
|
|
92
|
-
|
|
92
|
+
renderBottomToolbar?: any;
|
|
93
|
+
renderTopToolbar?: any;
|
|
93
94
|
onClickContentEditable?: any;
|
|
94
95
|
renderCustomColor?: any;
|
|
95
96
|
renderFormulaHint?: any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leankylin-sheet/core",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.63",
|
|
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": "4.0.
|
|
16
|
+
"@leankylin-sheet/formula-parser": "4.0.63",
|
|
17
17
|
"dayjs": "^1.11.0",
|
|
18
18
|
"immer": "^9.0.12",
|
|
19
19
|
"lodash": "^4.17.21",
|