excel-collab 0.1.3 → 0.1.6
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/CHANGELOG.md +60 -0
- package/LICENSE +21 -0
- package/README.md +43 -0
- package/lib/{Chart-C8JMNxjK.mjs → Chart-Dhg41qXU.mjs} +2 -2
- package/lib/{Chart-C8JMNxjK.mjs.map → Chart-Dhg41qXU.mjs.map} +1 -1
- package/lib/assets/worker-D4R8R97w.js.map +1 -1
- package/lib/containers/store/context.d.ts +2 -2
- package/lib/i18n/index.d.ts +9 -6
- package/lib/i18n/locales.d.ts +115 -0
- package/lib/{index-BjaMvRnZ.mjs → index-CAhHYTGl.mjs} +15756 -14381
- package/lib/index-CAhHYTGl.mjs.map +1 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.es.js +147 -145
- package/lib/index.umd.js +141 -141
- package/lib/index.umd.js.map +1 -1
- package/lib/style.css +1 -1
- package/lib/types/components.d.ts +2 -0
- package/lib/util/constant.d.ts +2 -0
- package/package.json +19 -6
- package/lib/assets/worker-D4R8R97w.js +0 -8
- package/lib/i18n/lang/en.json.d.ts +0 -117
- package/lib/i18n/lang/zh.json.d.ts +0 -117
- package/lib/index-BjaMvRnZ.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,66 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 0.1.6 (2025-08-08)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* deploy ([9721511](https://github.com/nusr/excel/commit/9721511d02ae31deedaa2ddd41943ab44cae9b0f))
|
|
12
|
+
* i18n ([c532266](https://github.com/nusr/excel/commit/c532266049dc6913c711594b9df7f5aa30e4dd18))
|
|
13
|
+
* ts reference ([670d6ff](https://github.com/nusr/excel/commit/670d6ffdbf6ffe90223506c3eb4f00d9df501f9c))
|
|
14
|
+
* update CI ([792f099](https://github.com/nusr/excel/commit/792f09906bd9f723f819a24f191062198e61ee3b))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* add home page ([bc3be63](https://github.com/nusr/excel/commit/bc3be639ba83a01e9b0976eee738dfdb40e240c5))
|
|
20
|
+
* mono repo ([#108](https://github.com/nusr/excel/issues/108)) ([6471621](https://github.com/nusr/excel/commit/647162181aa2ca07be718a416acb5905f225e6a2))
|
|
21
|
+
* support more languages ([c486aa8](https://github.com/nusr/excel/commit/c486aa85090ce71e22866cb4a19f7fc899d8a081))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
## 0.1.5 (2025-08-08)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Bug Fixes
|
|
31
|
+
|
|
32
|
+
* deploy ([9721511](https://github.com/nusr/excel/commit/9721511d02ae31deedaa2ddd41943ab44cae9b0f))
|
|
33
|
+
* i18n ([c532266](https://github.com/nusr/excel/commit/c532266049dc6913c711594b9df7f5aa30e4dd18))
|
|
34
|
+
* ts reference ([670d6ff](https://github.com/nusr/excel/commit/670d6ffdbf6ffe90223506c3eb4f00d9df501f9c))
|
|
35
|
+
* update CI ([792f099](https://github.com/nusr/excel/commit/792f09906bd9f723f819a24f191062198e61ee3b))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Features
|
|
39
|
+
|
|
40
|
+
* add home page ([bc3be63](https://github.com/nusr/excel/commit/bc3be639ba83a01e9b0976eee738dfdb40e240c5))
|
|
41
|
+
* mono repo ([#108](https://github.com/nusr/excel/issues/108)) ([6471621](https://github.com/nusr/excel/commit/647162181aa2ca07be718a416acb5905f225e6a2))
|
|
42
|
+
* support more languages ([c486aa8](https://github.com/nusr/excel/commit/c486aa85090ce71e22866cb4a19f7fc899d8a081))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
## 0.1.4 (2025-07-25)
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### Bug Fixes
|
|
52
|
+
|
|
53
|
+
* deploy ([9721511](https://github.com/nusr/excel/commit/9721511d02ae31deedaa2ddd41943ab44cae9b0f))
|
|
54
|
+
* ts reference ([670d6ff](https://github.com/nusr/excel/commit/670d6ffdbf6ffe90223506c3eb4f00d9df501f9c))
|
|
55
|
+
* update CI ([792f099](https://github.com/nusr/excel/commit/792f09906bd9f723f819a24f191062198e61ee3b))
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
### Features
|
|
59
|
+
|
|
60
|
+
* mono repo ([#108](https://github.com/nusr/excel/issues/108)) ([6471621](https://github.com/nusr/excel/commit/647162181aa2ca07be718a416acb5905f225e6a2))
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
6
66
|
## 0.1.2 (2025-07-21)
|
|
7
67
|
|
|
8
68
|
|
package/LICENSE
ADDED
|
@@ -0,0 +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.
|
package/README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
## Installation
|
|
2
|
+
|
|
3
|
+
```bash
|
|
4
|
+
npm i --save excel-collab
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
## Quick Start
|
|
8
|
+
|
|
9
|
+
1. Create a React app
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm create vite@latest my-app -- --template react-ts
|
|
13
|
+
cd my-app
|
|
14
|
+
npm i
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
2. Install the Required Libraries
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npm i --save excel-collab
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
3. Modify the Main File
|
|
24
|
+
|
|
25
|
+
```ts src/main.tsx
|
|
26
|
+
// src/main.tsx
|
|
27
|
+
import { createRoot } from 'react-dom/client';
|
|
28
|
+
import { StrictMode } from 'react';
|
|
29
|
+
import { Excel } from 'excel-collab';
|
|
30
|
+
import 'excel-collab/style.css';
|
|
31
|
+
|
|
32
|
+
createRoot(document.getElementById('root')!).render(
|
|
33
|
+
<StrictMode>
|
|
34
|
+
<Excel style={{ height: '100vh' }} />
|
|
35
|
+
</StrictMode>,
|
|
36
|
+
);
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
4. Start the app
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
npm run dev
|
|
43
|
+
```
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as Li, p as Jn, C as Ri, j as gt, d as Ei } from "./index-
|
|
1
|
+
import { g as Li, p as Jn, C as Ri, j as gt, d as Ei } from "./index-CAhHYTGl.mjs";
|
|
2
2
|
import { memo as sn, useRef as Ii, useEffect as Fi } from "react";
|
|
3
3
|
/*!
|
|
4
4
|
* @kurkle/color v0.3.4
|
|
@@ -8896,4 +8896,4 @@ ph.displayName = "Chart";
|
|
|
8896
8896
|
export {
|
|
8897
8897
|
ph as default
|
|
8898
8898
|
};
|
|
8899
|
-
//# sourceMappingURL=Chart-
|
|
8899
|
+
//# sourceMappingURL=Chart-Dhg41qXU.mjs.map
|