excel-collab 0.0.3-beta.5 → 0.0.3
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/LICENSE +21 -21
- package/README.md +89 -89
- package/lib/{Chart-vrcvvr-b.mjs → Chart-B5P7BSgJ.mjs} +3 -3
- package/lib/{Chart-vrcvvr-b.mjs.map → Chart-B5P7BSgJ.mjs.map} +1 -1
- package/lib/{Chart-B4T-xvIs.js → Chart-ChBHO6oN.js} +3 -3
- package/lib/{Chart-B4T-xvIs.js.map → Chart-ChBHO6oN.js.map} +1 -1
- package/lib/excel.js +1 -1
- package/lib/excel.mjs +1 -1
- package/lib/{index-pY4_l5kt.js → index-CqBqm-fX.js} +94 -94
- package/lib/index-CqBqm-fX.js.map +1 -0
- package/lib/{index-CzArC7F2.mjs → index-DoNF8xMt.mjs} +2426 -2426
- package/lib/index-DoNF8xMt.mjs.map +1 -0
- package/lib/src/i18n/lang/en.json.d.ts +110 -110
- package/lib/src/i18n/lang/zh.json.d.ts +110 -110
- package/lib/style.css +1 -1
- package/lib/worker-CtkVt1CM.js.map +1 -1
- package/lib/worker-Db-VGgf_.mjs.map +1 -1
- package/package.json +3 -2
- package/lib/index-CzArC7F2.mjs.map +0 -1
- package/lib/index-pY4_l5kt.js.map +0 -1
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2020 Steve Xu
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 Steve Xu
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
# Online Collaboration Excel
|
|
2
|
-
|
|
3
|
-
[](https://github.com/nusr/excel/actions/workflows/main.yml)
|
|
4
|
-
[](https://codecov.io/gh/nusr/excel)
|
|
5
|
-

|
|
6
|
-

|
|
7
|
-
|
|
8
|
-
[online demo](https://nusr.github.io/excel/)
|
|
9
|
-
|
|
10
|
-

|
|
11
|
-
|
|
12
|
-
## Install
|
|
13
|
-
|
|
14
|
-
```bash
|
|
15
|
-
npm i --save excel-collab
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## Examples
|
|
19
|
-
|
|
20
|
-
[Simple Example](https://github.com/nusr/excel/tree/main/examples/simple)
|
|
21
|
-
|
|
22
|
-
[Custom Example](https://github.com/nusr/excel/tree/main/examples/custom)
|
|
23
|
-
|
|
24
|
-
[Collaboration Example](https://github.com/nusr/excel/tree/main/examples/collaboration)
|
|
25
|
-
|
|
26
|
-
## Unit Test
|
|
27
|
-
|
|
28
|
-
```bash
|
|
29
|
-
npm run test
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
## E2E Test
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
pnpm exec playwright install
|
|
36
|
-
npm run e2e
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
## Supported Features
|
|
40
|
-
|
|
41
|
-
- [x] Online Collaboration
|
|
42
|
-
- [x] Create File
|
|
43
|
-
- [x] Change File Name
|
|
44
|
-
- [x] Web Worker parse formulas
|
|
45
|
-
- [x] OffScreenCanvas Render
|
|
46
|
-
- [x] Undo
|
|
47
|
-
- [x] Redo
|
|
48
|
-
- [x] Copy
|
|
49
|
-
- [x] Cut
|
|
50
|
-
- [x] Paste
|
|
51
|
-
- [x] Formulas
|
|
52
|
-
- [x] Font Family
|
|
53
|
-
- [x] Font Size
|
|
54
|
-
- [x] Font Color
|
|
55
|
-
- [x] Fill Color
|
|
56
|
-
- [x] Bold
|
|
57
|
-
- [x] Italic
|
|
58
|
-
- [x] Strike
|
|
59
|
-
- [x] Underline
|
|
60
|
-
- [x] Border
|
|
61
|
-
- [x] Text Vertical Align
|
|
62
|
-
- [x] Text Horizontal Align
|
|
63
|
-
- [x] Text Wrapping
|
|
64
|
-
- [x] Number Format
|
|
65
|
-
- [x] AutoFilter
|
|
66
|
-
- [x] Merge Cells
|
|
67
|
-
- [x] Chart
|
|
68
|
-
- [x] Floating Picture
|
|
69
|
-
- [x] Define Name
|
|
70
|
-
- [x] Insert Row
|
|
71
|
-
- [x] Insert Column
|
|
72
|
-
- [x] Delete Row
|
|
73
|
-
- [x] Delete Column
|
|
74
|
-
- [x] Hide Row
|
|
75
|
-
- [x] Hide Column
|
|
76
|
-
- [x] Row Height
|
|
77
|
-
- [x] Column Width
|
|
78
|
-
- [x] Insert Sheet
|
|
79
|
-
- [x] Delete Sheet
|
|
80
|
-
- [x] Rename Sheet
|
|
81
|
-
- [x] Hide Sheet
|
|
82
|
-
- [x] Unhide Sheet
|
|
83
|
-
- [x] Import XLSX
|
|
84
|
-
- [x] Export XLSX
|
|
85
|
-
- [x] Import CSV
|
|
86
|
-
- [x] Export CSV
|
|
87
|
-
- [x] Dark Mode
|
|
88
|
-
- [x] I18N
|
|
89
|
-
|
|
1
|
+
# Online Collaboration Excel
|
|
2
|
+
|
|
3
|
+
[](https://github.com/nusr/excel/actions/workflows/main.yml)
|
|
4
|
+
[](https://codecov.io/gh/nusr/excel)
|
|
5
|
+

|
|
6
|
+

|
|
7
|
+
|
|
8
|
+
[online demo](https://nusr.github.io/excel/)
|
|
9
|
+
|
|
10
|
+

|
|
11
|
+
|
|
12
|
+
## Install
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm i --save excel-collab
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Examples
|
|
19
|
+
|
|
20
|
+
[Simple Example](https://github.com/nusr/excel/tree/main/examples/simple)
|
|
21
|
+
|
|
22
|
+
[Custom Example](https://github.com/nusr/excel/tree/main/examples/custom)
|
|
23
|
+
|
|
24
|
+
[Collaboration Example](https://github.com/nusr/excel/tree/main/examples/collaboration)
|
|
25
|
+
|
|
26
|
+
## Unit Test
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
npm run test
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## E2E Test
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
pnpm exec playwright install
|
|
36
|
+
npm run e2e
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Supported Features
|
|
40
|
+
|
|
41
|
+
- [x] Online Collaboration
|
|
42
|
+
- [x] Create File
|
|
43
|
+
- [x] Change File Name
|
|
44
|
+
- [x] Web Worker parse formulas
|
|
45
|
+
- [x] OffScreenCanvas Render
|
|
46
|
+
- [x] Undo
|
|
47
|
+
- [x] Redo
|
|
48
|
+
- [x] Copy
|
|
49
|
+
- [x] Cut
|
|
50
|
+
- [x] Paste
|
|
51
|
+
- [x] Formulas
|
|
52
|
+
- [x] Font Family
|
|
53
|
+
- [x] Font Size
|
|
54
|
+
- [x] Font Color
|
|
55
|
+
- [x] Fill Color
|
|
56
|
+
- [x] Bold
|
|
57
|
+
- [x] Italic
|
|
58
|
+
- [x] Strike
|
|
59
|
+
- [x] Underline
|
|
60
|
+
- [x] Border
|
|
61
|
+
- [x] Text Vertical Align
|
|
62
|
+
- [x] Text Horizontal Align
|
|
63
|
+
- [x] Text Wrapping
|
|
64
|
+
- [x] Number Format
|
|
65
|
+
- [x] AutoFilter
|
|
66
|
+
- [x] Merge Cells
|
|
67
|
+
- [x] Chart
|
|
68
|
+
- [x] Floating Picture
|
|
69
|
+
- [x] Define Name
|
|
70
|
+
- [x] Insert Row
|
|
71
|
+
- [x] Insert Column
|
|
72
|
+
- [x] Delete Row
|
|
73
|
+
- [x] Delete Column
|
|
74
|
+
- [x] Hide Row
|
|
75
|
+
- [x] Hide Column
|
|
76
|
+
- [x] Row Height
|
|
77
|
+
- [x] Column Width
|
|
78
|
+
- [x] Insert Sheet
|
|
79
|
+
- [x] Delete Sheet
|
|
80
|
+
- [x] Rename Sheet
|
|
81
|
+
- [x] Hide Sheet
|
|
82
|
+
- [x] Unhide Sheet
|
|
83
|
+
- [x] Import XLSX
|
|
84
|
+
- [x] Export XLSX
|
|
85
|
+
- [x] Import CSV
|
|
86
|
+
- [x] Export CSV
|
|
87
|
+
- [x] Dark Mode
|
|
88
|
+
- [x] I18N
|
|
89
|
+
|
|
90
90
|
## Supported Formulas
|
|
91
91
|
|
|
92
92
|
### Math
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var go = Object.defineProperty;
|
|
2
2
|
var po = (i, t, e) => t in i ? go(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
3
3
|
var k = (i, t, e) => po(i, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
-
import { j as bt } from "./index-
|
|
4
|
+
import { j as bt } from "./index-DoNF8xMt.mjs";
|
|
5
5
|
import { memo as _n, useRef as qi, useEffect as Gi } from "react";
|
|
6
6
|
import { a as Zi, p as mo, C as Ji, d as Qi } from "./worker-Db-VGgf_.mjs";
|
|
7
7
|
/*!
|
|
@@ -8626,7 +8626,7 @@ class xn extends Ze {
|
|
|
8626
8626
|
}
|
|
8627
8627
|
}
|
|
8628
8628
|
k(xn, "id", "timeseries"), k(xn, "defaults", Ze.defaults);
|
|
8629
|
-
const oh = "
|
|
8629
|
+
const oh = "_chart_14rmf_1", rh = {
|
|
8630
8630
|
chart: oh
|
|
8631
8631
|
};
|
|
8632
8632
|
ii.register(
|
|
@@ -8788,4 +8788,4 @@ mh.displayName = "Chart";
|
|
|
8788
8788
|
export {
|
|
8789
8789
|
mh as default
|
|
8790
8790
|
};
|
|
8791
|
-
//# sourceMappingURL=Chart-
|
|
8791
|
+
//# sourceMappingURL=Chart-B5P7BSgJ.mjs.map
|