@syhr/sy-graph 1.0.0 → 1.0.2-beta.0
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 +418 -0
- package/README.md +186 -23
- package/lib/graph.css +1 -0
- package/lib/sy-graph.cjs +25 -13
- package/lib/sy-graph.mjs +20023 -0
- package/lib/sy-graph.umd.js +26 -13
- package/package.json +49 -39
- package/lib/style.css +0 -1
- package/lib/sy-graph.es.js +0 -12815
package/package.json
CHANGED
|
@@ -1,33 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syhr/sy-graph",
|
|
3
|
-
"version": "1.0.0",
|
|
3
|
+
"version": "1.0.2-beta.0",
|
|
4
4
|
"author": "syhr <aiops.sieyuan@gmail.com>",
|
|
5
5
|
"description": "Planar graphic config tool based on @meta2d.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
8
|
-
"main": "./lib/sy-graph.
|
|
9
|
-
"module": "./lib/sy-graph.
|
|
10
|
-
"
|
|
8
|
+
"main": "./lib/sy-graph.cjs",
|
|
9
|
+
"module": "./lib/sy-graph.mjs",
|
|
10
|
+
"unpkg": "./lib/sy-graph.umd.js",
|
|
11
|
+
"types": "./lib/sy-graph.d.ts",
|
|
11
12
|
"exports": {
|
|
13
|
+
"./package.json": "./package.json",
|
|
12
14
|
".": {
|
|
13
|
-
"types": "./lib/
|
|
14
|
-
"import": "./lib/sy-graph.
|
|
15
|
-
"require": "./lib/sy-graph.umd.js"
|
|
15
|
+
"types": "./lib/sy-graph.d.ts",
|
|
16
|
+
"import": "./lib/sy-graph.mjs",
|
|
17
|
+
"require": "./lib/sy-graph.umd.js",
|
|
18
|
+
"browser": "./lib/sy-graph.umd.js"
|
|
16
19
|
},
|
|
17
|
-
"./
|
|
18
|
-
"
|
|
19
|
-
"require": "./lib/
|
|
20
|
+
"./style.css": {
|
|
21
|
+
"import": "./lib/graph.css",
|
|
22
|
+
"require": "./lib/graph.css"
|
|
20
23
|
},
|
|
21
|
-
"./
|
|
24
|
+
"./sy-graph.cjs": {
|
|
25
|
+
"types": "./lib/sy-graph.d.ts",
|
|
26
|
+
"require": "./lib/sy-graph.cjs"
|
|
27
|
+
}
|
|
22
28
|
},
|
|
23
29
|
"homepage": "https://github.com/syhr/sy-graph",
|
|
24
30
|
"repository": {
|
|
25
31
|
"type": "git",
|
|
26
32
|
"url": "https://github.com/syhr/sy-graph.git"
|
|
27
33
|
},
|
|
28
|
-
"bugs": {
|
|
29
|
-
"url": "https://github.com/syhr/sy-graph/issues"
|
|
30
|
-
},
|
|
31
34
|
"scripts": {
|
|
32
35
|
"dev": "vite",
|
|
33
36
|
"dev:qiankun": "vite --mode qiankun",
|
|
@@ -43,24 +46,24 @@
|
|
|
43
46
|
"clean": "rimraf lib dist node_modules/.vite",
|
|
44
47
|
"clean:lib": "rimraf lib",
|
|
45
48
|
"clean:dist": "rimraf dist",
|
|
46
|
-
"release": "standard-version &&
|
|
47
|
-
"release:major": "standard-version -r major &&
|
|
48
|
-
"release:minor": "standard-version -r minor &&
|
|
49
|
-
"release:patch": "standard-version -r patch &&
|
|
50
|
-
"changelog:update": "conventional-changelog -p angular -i CHANGELOG.md -s &&
|
|
51
|
-
"changelog:rebuild": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 &&
|
|
52
|
-
"changelog:replace": "replace 'https://
|
|
49
|
+
"release:first": "standard-version -f && pnpm changelog:replace",
|
|
50
|
+
"release:major": "standard-version -r major && pnpm changelog:replace",
|
|
51
|
+
"release:minor": "standard-version -r minor && pnpm changelog:replace",
|
|
52
|
+
"release:patch": "standard-version -r patch && pnpm changelog:replace",
|
|
53
|
+
"changelog:update": "conventional-changelog -p angular -i CHANGELOG.md -s && pnpm changelog:replace",
|
|
54
|
+
"changelog:rebuild": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && pnpm changelog:replace",
|
|
55
|
+
"changelog:replace": "replace 'https://10.17.196.142:10022/hmi-dev/cbb/cockpit-editor/commit/' '' CHANGELOG.md"
|
|
53
56
|
},
|
|
54
57
|
"dependencies": {
|
|
55
58
|
"@element-plus/icons-vue": "~2.3.2",
|
|
56
59
|
"@ffmpeg/ffmpeg": "~0.12.15",
|
|
57
60
|
"@ffmpeg/util": "~0.12.2",
|
|
58
61
|
"@meta2d/activity-diagram": "~1.0.1",
|
|
59
|
-
"@meta2d/chart-diagram": "~1.0.
|
|
62
|
+
"@meta2d/chart-diagram": "~1.0.16",
|
|
60
63
|
"@meta2d/class-diagram": "~1.0.2",
|
|
61
|
-
"@meta2d/core": "~1.0.
|
|
64
|
+
"@meta2d/core": "~1.0.97",
|
|
62
65
|
"@meta2d/flow-diagram": "~1.0.2",
|
|
63
|
-
"@meta2d/form-diagram": "~1.0.
|
|
66
|
+
"@meta2d/form-diagram": "~1.0.29",
|
|
64
67
|
"@meta2d/fta-diagram": "~1.0.1",
|
|
65
68
|
"@meta2d/le5le-charts": "~1.0.5",
|
|
66
69
|
"@meta2d/plugin-mind-collapse": "~1.0.1",
|
|
@@ -69,16 +72,17 @@
|
|
|
69
72
|
"@meta2d/svg": "~1.0.7",
|
|
70
73
|
"@meta2d/utils": "~1.0.1",
|
|
71
74
|
"@micro-zoe/micro-app": "1.0.0-rc.26",
|
|
75
|
+
"@syhr/sy-player": "~3.2.3",
|
|
72
76
|
"axios": "~1.11.0",
|
|
73
77
|
"comlink": "~4.4.2",
|
|
74
78
|
"crypto-js": "~4.2.0",
|
|
75
|
-
"dayjs": "~1.11.
|
|
79
|
+
"dayjs": "~1.11.18",
|
|
76
80
|
"dxf": "~5.2.0",
|
|
77
|
-
"dxf-json": "~0.4.0",
|
|
78
81
|
"dxf-parser": "~1.1.2",
|
|
79
82
|
"element-plus": "~2.10.7",
|
|
80
83
|
"fabric": "~4.6.0",
|
|
81
84
|
"file-saver": "~2.0.5",
|
|
85
|
+
"flv.js": "^1.6.2",
|
|
82
86
|
"gm-crypto": "~0.1.12",
|
|
83
87
|
"jszip": "~3.10.1",
|
|
84
88
|
"lodash-es": "~4.17.21",
|
|
@@ -88,22 +92,19 @@
|
|
|
88
92
|
"photoswipe": "~5.4.4",
|
|
89
93
|
"pinia": "~2.2.6",
|
|
90
94
|
"qiankun": "~2.10.16",
|
|
91
|
-
"qrcode.vue": "~3.6.0",
|
|
92
95
|
"qs": "~6.14.0",
|
|
93
96
|
"sm-crypto": "~0.3.13",
|
|
94
|
-
"vue": "~3.5.
|
|
95
|
-
"vue-clipboard3": "~2.0.0",
|
|
97
|
+
"vue": "~3.5.21",
|
|
96
98
|
"vue-draggable-plus": "~0.6.0",
|
|
97
99
|
"vue-router": "~4.5.1",
|
|
98
100
|
"vue3-colorpicker": "^2.3.0"
|
|
99
101
|
},
|
|
100
102
|
"devDependencies": {
|
|
101
|
-
"@babel/core": "~7.28.
|
|
102
|
-
"@babel/eslint-parser": "~7.28.
|
|
103
|
+
"@babel/core": "~7.28.4",
|
|
104
|
+
"@babel/eslint-parser": "~7.28.4",
|
|
103
105
|
"@iconify-json/ant-design": "~1.2.5",
|
|
104
106
|
"@iconify-json/ep": "~1.2.2",
|
|
105
|
-
"@iconify-json/tdesign": "~1.2.
|
|
106
|
-
"@iconify/json": "~2.2.371",
|
|
107
|
+
"@iconify-json/tdesign": "~1.2.9",
|
|
107
108
|
"@iconify/utils": "~2.3.0",
|
|
108
109
|
"@unocss/preset-rem-to-px": "~66.3.3",
|
|
109
110
|
"@vitejs/plugin-basic-ssl": "~2.1.0",
|
|
@@ -121,6 +122,7 @@
|
|
|
121
122
|
"picocolors": "~1.1.1",
|
|
122
123
|
"postcss": "~8.5.6",
|
|
123
124
|
"postcss-px-to-viewport-8-plugin": "~1.2.5",
|
|
125
|
+
"replace": "~1.2.2",
|
|
124
126
|
"rimraf": "~5.0.5",
|
|
125
127
|
"sass": "~1.79.6",
|
|
126
128
|
"standard-version": "~9.5.0",
|
|
@@ -131,20 +133,28 @@
|
|
|
131
133
|
"unplugin-vue-components": "~28.8.0",
|
|
132
134
|
"unplugin-vue-macros": "~2.14.5",
|
|
133
135
|
"vite": "~5.4.19",
|
|
136
|
+
"vite-plugin-css-injected-by-js": "~3.5.2",
|
|
134
137
|
"vite-plugin-eslint": "~1.8.1",
|
|
135
|
-
"vite-plugin-
|
|
136
|
-
"vite-plugin-qiankun": "~1.0.15"
|
|
137
|
-
|
|
138
|
+
"vite-plugin-lib-inject-css": "~2.2.2",
|
|
139
|
+
"vite-plugin-qiankun": "~1.0.15"
|
|
140
|
+
},
|
|
141
|
+
"peerDependencies": {
|
|
142
|
+
"element-plus": "~2.10.7",
|
|
143
|
+
"vue": "~3.5.18"
|
|
138
144
|
},
|
|
139
145
|
"files": [
|
|
140
146
|
"lib",
|
|
141
|
-
"
|
|
147
|
+
"package.json",
|
|
142
148
|
"CHANGELOG.md",
|
|
143
|
-
"
|
|
149
|
+
"README.md"
|
|
144
150
|
],
|
|
145
151
|
"keywords": [
|
|
146
152
|
"vue3",
|
|
147
153
|
"meta2d",
|
|
154
|
+
"graph",
|
|
155
|
+
"canvas",
|
|
156
|
+
"editor",
|
|
157
|
+
"diagram",
|
|
148
158
|
"sy-graph"
|
|
149
159
|
],
|
|
150
160
|
"browserslist": [
|
|
@@ -165,4 +175,4 @@
|
|
|
165
175
|
"postchangelog": "replace 'https://github.com/syhr/sy-graph/commit/' '' CHANGELOG.md"
|
|
166
176
|
}
|
|
167
177
|
}
|
|
168
|
-
}
|
|
178
|
+
}
|
package/lib/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.meta2d-editor[data-v-664781e2]{position:relative;width:100%;height:100%}.meta2d-editor[data-v-664781e2] .stage.value-map{position:absolute;top:1.04vw;right:.52vw;z-index:200}.meta2d-editor .toolbox[data-v-664781e2]{position:absolute;display:none;width:5.21vw;height:1.56vw;background:red;z-index:10000}.preview-container[data-v-c09e5d6b]{position:relative;width:100%;height:100%}.preview-container .back-btn[data-v-c09e5d6b]{position:absolute;bottom:.52vw;right:.52vw;z-index:1000}
|