@jnrs/lingshu-smart 1.0.1

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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 JNRS Tech Co., Ltd.
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,28 @@
1
+ # @jnrs/lingshu-smart
2
+
3
+ ## ✨ 介绍
4
+ 巨能前端数字孪生库,灵枢智造。
5
+ - 2D 数字孪生编辑器、运行看板
6
+ - 3D 数字孪生编辑器、运行看板
7
+
8
+ ## 💻 技术栈
9
+ TypeScript、Vue3 生态、LeaferJs、ThreeJs
10
+
11
+ ## 🧩 安装教程
12
+ ```shell
13
+ pnpm add @jnrs/lingshu-smart
14
+ ```
15
+
16
+ ## 🔍 使用示例
17
+ ```typescript
18
+ import type { *** } from '@jnrs/lingshu-smart'
19
+ ```
20
+
21
+ ## 📋 API
22
+
23
+ #### @jnrs/lingshu-smart 模块
24
+ 接口
25
+ - ***
26
+
27
+ 函数
28
+ - ***
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+
@@ -0,0 +1 @@
1
+ export type * from './types';
package/dist/index.js ADDED
@@ -0,0 +1,4 @@
1
+ console.log(
2
+ "%c✨ 欢迎使用 @jnrs/lingshu-smart",
3
+ 'background: #42B883; color: #39495C; font-weight: bold; padding: 4px 8px; border-radius: 4px; font-family: "Helvetica Neue", sans-serif;'
4
+ );
@@ -0,0 +1,15 @@
1
+ declare const _default: {
2
+ main: {
3
+ title: string;
4
+ };
5
+ login: {
6
+ title: string;
7
+ formTitle: string;
8
+ formAccount: string;
9
+ formPassword: string;
10
+ formBtn: string;
11
+ greeting: string;
12
+ };
13
+ layout: {};
14
+ };
15
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const i18n: import('vue-i18n').I18n<{}, {}, {}, string, false>;
2
+ export default i18n;
@@ -0,0 +1,3 @@
1
+ import { default as zhCn } from './zhCn';
2
+ import { default as en } from './en';
3
+ export { zhCn, en };
@@ -0,0 +1,31 @@
1
+ const e = {
2
+ main: {
3
+ title: "信息化管理系统模板"
4
+ },
5
+ login: {
6
+ title: "信息化管理系统模板",
7
+ formTitle: "登录",
8
+ formAccount: "请输入账号",
9
+ formPassword: "请输入密码",
10
+ formBtn: "登 录",
11
+ greeting: "欢迎使用"
12
+ },
13
+ layout: {}
14
+ }, t = {
15
+ main: {
16
+ title: "Management System"
17
+ },
18
+ login: {
19
+ title: "Management System",
20
+ formTitle: "Login",
21
+ formAccount: "Please enter your account",
22
+ formPassword: "Please enter your password",
23
+ formBtn: "Log In",
24
+ greeting: "Welcome"
25
+ },
26
+ layout: {}
27
+ };
28
+ export {
29
+ t as en,
30
+ e as zhCn
31
+ };
@@ -0,0 +1,15 @@
1
+ declare const _default: {
2
+ main: {
3
+ title: string;
4
+ };
5
+ login: {
6
+ title: string;
7
+ formTitle: string;
8
+ formAccount: string;
9
+ formPassword: string;
10
+ formBtn: string;
11
+ greeting: string;
12
+ };
13
+ layout: {};
14
+ };
15
+ export default _default;
@@ -0,0 +1 @@
1
+ export {};
package/package.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "@jnrs/lingshu-smart",
3
+ "version": "1.0.1",
4
+ "description": "数字孪生,灵枢智造",
5
+ "keywords": [
6
+ "jnrs",
7
+ "lingshu-smart"
8
+ ],
9
+ "author": "Talia-Tan",
10
+ "license": "MIT",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://gitee.com/jnrs_git/jnrs-monorepo-frontend.git"
14
+ },
15
+ "publishConfig": {
16
+ "access": "public"
17
+ },
18
+ "type": "module",
19
+ "types": "dist/index.d.ts",
20
+ "sideEffects": true,
21
+ "files": [
22
+ "dist",
23
+ "README.md",
24
+ "LICENSE"
25
+ ],
26
+ "exports": {
27
+ ".": {
28
+ "import": "./dist/index.js",
29
+ "types": "./dist/index.d.ts"
30
+ },
31
+ "./locales": {
32
+ "import": "./dist/locales/index.js",
33
+ "types": "./dist/locales/index.d.ts"
34
+ },
35
+ "./components": {
36
+ "import": "./dist/components/index.js",
37
+ "types": "./dist/components/index.d.ts"
38
+ }
39
+ },
40
+ "peerDependencies": {
41
+ "@vueuse/core": "^14.1.0",
42
+ "element-plus": "^2.11.9",
43
+ "@element-plus/icons-vue": "^2.3.2",
44
+ "pinia": "^3.0.3",
45
+ "pinia-plugin-persistedstate": "^4.7.1",
46
+ "vue": "^3.5.22",
47
+ "vue-i18n": "^9.14.5",
48
+ "@jnrs/shared": "1.1.8"
49
+ },
50
+ "devDependencies": {
51
+ "@vitejs/plugin-vue": "^6.0.1",
52
+ "rimraf": "^6.0.1",
53
+ "typescript": "^5.9.3",
54
+ "vite": "^7.1.7",
55
+ "vite-plugin-css-injected-by-js": "^3.5.2",
56
+ "vite-plugin-dts": "^4.5.4",
57
+ "vue-tsc": "^3.1.0"
58
+ },
59
+ "scripts": {
60
+ "dev": "vite build --watch",
61
+ "build": "vue-tsc --build && vite build",
62
+ "release": "node ./scripts/release.mjs",
63
+ "type-check": "vue-tsc --build"
64
+ }
65
+ }