@univerjs/uniscript 0.2.1 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +15 -10
- package/lib/locale/vi-VN.json +17 -0
- package/lib/locale/zh-TW.json +17 -0
- package/lib/types/locale/vi-VN.d.ts +4 -0
- package/lib/types/locale/zh-TW.d.ts +4 -0
- package/package.json +15 -15
package/README.md
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
# @univerjs/uniscript
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
3
|
+
## Package Overview
|
4
|
+
|
5
|
+
| Package Name | UMD Namespace | Version | License | Downloads | Contains CSS | Contains i18n locales |
|
6
|
+
| --- | --- | --- | --- | --- | :---: | :---: |
|
7
|
+
| `@univerjs/uniscript` | `UniveUniscript` | [![][npm-version-shield]][npm-version-link] | ![][npm-license-shield] | ![][npm-downloads-shield] | ⭕️ | ⭕️ |
|
7
8
|
|
8
9
|
## Introduction
|
9
10
|
|
@@ -13,13 +14,11 @@
|
|
13
14
|
|
14
15
|
Users can write business logic in the code editor to meet more flexible business requirements. For instance, as shown in the illustration, users can write a Uniscript to read identity card numbers from a selected area and validate their legality, and mark the background of invalid identity card numbers with red.
|
15
16
|
|
16
|
-
|
17
|
-
The Uniscript is currently in the experimental stage, and it is not recommended to use it in production environments. You can refer to the [Roadmap](https://univer.ai/guides/sheet/roadmap) to understand the iteration plan of Uniscript.
|
18
|
-
:::
|
17
|
+
> [!CAUTION]
|
18
|
+
> The Uniscript is currently in the experimental stage, and it is not recommended to use it in production environments. You can refer to the [Roadmap](https://univer.ai/guides/sheet/roadmap) to understand the iteration plan of Uniscript.
|
19
19
|
|
20
|
-
|
21
|
-
Indeed, Uniscript's Domain-Specific Language (DSL) is a set of Facade APIs that encapsulate the internal implementation details of Univer. This API is defined [here](https://univer.ai/guides/sheet/facade/facade).
|
22
|
-
:::
|
20
|
+
> [!TIP]
|
21
|
+
> Indeed, Uniscript's Domain-Specific Language (DSL) is a set of Facade APIs that encapsulate the internal implementation details of Univer. This API is defined [here](https://univer.ai/guides/sheet/facade/facade).
|
23
22
|
|
24
23
|
## Usage
|
25
24
|
|
@@ -54,3 +53,9 @@ export class YourModule {
|
|
54
53
|
}
|
55
54
|
}
|
56
55
|
```
|
56
|
+
|
57
|
+
<!-- Links -->
|
58
|
+
[npm-version-shield]: https://img.shields.io/npm/v/@univerjs/uniscript?style=flat-square
|
59
|
+
[npm-version-link]: https://npmjs.com/package/@univerjs/uniscript
|
60
|
+
[npm-license-shield]: https://img.shields.io/npm/l/@univerjs/uniscript?style=flat-square
|
61
|
+
[npm-downloads-shield]: https://img.shields.io/npm/dm/@univerjs/uniscript?style=flat-square
|
@@ -0,0 +1,17 @@
|
|
1
|
+
{
|
2
|
+
"script-panel": {
|
3
|
+
"title": "Uniscript",
|
4
|
+
"tooltip": {
|
5
|
+
"menu-button": "Mở/Thu gọn bảng điều khiển Uniscript"
|
6
|
+
},
|
7
|
+
"panel": {
|
8
|
+
"execute": "Thực thi Uniscript"
|
9
|
+
}
|
10
|
+
},
|
11
|
+
"uniscript": {
|
12
|
+
"message": {
|
13
|
+
"success": "Thực thi thành công",
|
14
|
+
"failed": "Thực thi thất bại"
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@univerjs/uniscript",
|
3
|
-
"version": "0.2.
|
3
|
+
"version": "0.2.3",
|
4
4
|
"private": false,
|
5
5
|
"description": "UI component library for building exceptional Univer.",
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
@@ -54,15 +54,15 @@
|
|
54
54
|
"monaco-editor": ">=0.44.0",
|
55
55
|
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
|
56
56
|
"rxjs": ">=7.0.0",
|
57
|
-
"@univerjs/core": "0.2.
|
58
|
-
"@univerjs/design": "0.2.
|
59
|
-
"@univerjs/
|
60
|
-
"@univerjs/
|
61
|
-
"@univerjs/sheets-ui": "0.2.
|
62
|
-
"@univerjs/ui": "0.2.
|
57
|
+
"@univerjs/core": "0.2.3",
|
58
|
+
"@univerjs/design": "0.2.3",
|
59
|
+
"@univerjs/sheets": "0.2.3",
|
60
|
+
"@univerjs/facade": "0.2.3",
|
61
|
+
"@univerjs/sheets-ui": "0.2.3",
|
62
|
+
"@univerjs/ui": "0.2.3"
|
63
63
|
},
|
64
64
|
"dependencies": {
|
65
|
-
"@univerjs/protocol": "0.1.38-alpha.
|
65
|
+
"@univerjs/protocol": "0.1.38-alpha.18"
|
66
66
|
},
|
67
67
|
"devDependencies": {
|
68
68
|
"@types/react": "^18.3.3",
|
@@ -73,13 +73,13 @@
|
|
73
73
|
"typescript": "^5.5.3",
|
74
74
|
"vite": "^5.3.3",
|
75
75
|
"vitest": "^1.6.0",
|
76
|
-
"@univerjs/core": "0.2.
|
77
|
-
"@univerjs/
|
78
|
-
"@univerjs/
|
79
|
-
"@univerjs/
|
80
|
-
"@univerjs/sheets-ui": "0.2.
|
81
|
-
"@univerjs/ui": "0.2.
|
82
|
-
"@univerjs/
|
76
|
+
"@univerjs/core": "0.2.3",
|
77
|
+
"@univerjs/shared": "0.2.3",
|
78
|
+
"@univerjs/design": "0.2.3",
|
79
|
+
"@univerjs/sheets": "0.2.3",
|
80
|
+
"@univerjs/sheets-ui": "0.2.3",
|
81
|
+
"@univerjs/ui": "0.2.3",
|
82
|
+
"@univerjs/facade": "0.2.3"
|
83
83
|
},
|
84
84
|
"univerSpace": {
|
85
85
|
".": {
|