@jnrs/lingshu-smart 2.2.17 → 2.2.19
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 +15 -6
- package/dist/components/index.js +1938 -25942
- package/dist/index-dTS3WIch.js +24123 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +15 -25
- package/dist/types/app.types.d.ts +2 -0
- package/dist/utils/index.d.ts +1 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
# @jnrs/lingshu-smart
|
|
2
2
|
|
|
3
3
|
## ✨ 介绍
|
|
4
|
+
|
|
4
5
|
巨能前端 2D 数字孪生库,灵枢智造。
|
|
6
|
+
|
|
5
7
|
- 2D 数字孪生编辑器、运行看板
|
|
6
8
|
|
|
7
9
|
## 💻 技术栈
|
|
10
|
+
|
|
8
11
|
TypeScript、Vue3 生态、LeaferJs
|
|
9
12
|
|
|
10
13
|
## 🧩 安装教程
|
|
14
|
+
|
|
11
15
|
```shell
|
|
12
16
|
pnpm add @jnrs/lingshu-smart
|
|
13
17
|
```
|
|
14
18
|
|
|
15
19
|
## 🔍 使用示例
|
|
20
|
+
|
|
16
21
|
```typescript
|
|
17
22
|
import type { *** } from '@jnrs/lingshu-smart'
|
|
18
23
|
import { LingshuSmartEditor } from '@jnrs/lingshu-smart/components'
|
|
@@ -21,13 +26,15 @@ import { LingshuSmartEditor } from '@jnrs/lingshu-smart/components'
|
|
|
21
26
|
## 📋 API
|
|
22
27
|
|
|
23
28
|
#### @jnrs/lingshu-smart/components 模块
|
|
29
|
+
|
|
24
30
|
Vue 组件
|
|
25
|
-
- LingshuSmartEditor 编辑器组件
|
|
26
31
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
|
30
|
-
|
|
32
|
+
- LingshuSmartEditor 编辑器组件
|
|
33
|
+
|
|
34
|
+
| 属性名 | 描述 | 类型 | 默认值 |
|
|
35
|
+
| ------- | -------- | --------------- | ------ |
|
|
36
|
+
| actions | 事件处理 | `EditorActions` | {} |
|
|
37
|
+
|
|
31
38
|
```
|
|
32
39
|
interface EditorActions {
|
|
33
40
|
/**
|
|
@@ -51,4 +58,6 @@ interface EditorActions {
|
|
|
51
58
|
*/
|
|
52
59
|
handleExit?: () => void
|
|
53
60
|
}
|
|
54
|
-
```
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
详细文档请查看 `AGENTIC.md`
|