@leankylin-sheet/core 4.0.57 → 4.0.58
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 +8 -7
- package/dist/index.js +8 -7
- package/dist/settings.d.ts +1 -0
- 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)) {
|
|
@@ -56222,6 +56222,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
56222
56222
|
});
|
|
56223
56223
|
|
|
56224
56224
|
var defaultSettings = {
|
|
56225
|
+
renderSubToolbar: undefined,
|
|
56225
56226
|
headerBgColor: "#fff",
|
|
56226
56227
|
toolbarRightRender: undefined,
|
|
56227
56228
|
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)) {
|
|
@@ -56232,6 +56232,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
56232
56232
|
});
|
|
56233
56233
|
|
|
56234
56234
|
var defaultSettings = {
|
|
56235
|
+
renderSubToolbar: undefined,
|
|
56235
56236
|
headerBgColor: "#fff",
|
|
56236
56237
|
toolbarRightRender: undefined,
|
|
56237
56238
|
onClickContentEditable: undefined,
|
package/dist/settings.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leankylin-sheet/core",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.58",
|
|
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.58",
|
|
17
17
|
"dayjs": "^1.11.0",
|
|
18
18
|
"immer": "^9.0.12",
|
|
19
19
|
"lodash": "^4.17.21",
|