ygzyant 0.1.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.
@@ -0,0 +1 @@
1
+ .editor-root[data-v-7d252921]{position:absolute;inset:0;display:flex;flex-direction:column;background:#f5f5f5;color:#333;overflow:hidden}.topbar[data-v-7d252921]{height:48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e0e0e0;padding:0 16px;background:#fff;box-shadow:0 1px 4px #0000000d;z-index:10}.left-actions[data-v-7d252921],.right-actions[data-v-7d252921]{display:flex;align-items:center;gap:16px}.zoom-display[data-v-7d252921]{min-width:60px;cursor:default!important;color:#606266!important;background:#fff!important;border-color:#dcdfe6!important}.topbar .divider[data-v-7d252921]{width:1px;height:20px;background:#e0e0e0;margin:0 8px}.workspace[data-v-7d252921]{flex:1;display:flex;min-height:0;background:#f0f2f5}.left-panel[data-v-7d252921]{width:240px;border-right:1px solid #e0e0e0;background:#fff;display:flex;flex-direction:column;padding:0;position:relative}.stencil-container[data-v-7d252921]{flex:1;position:relative;width:100%;height:100%;background-color:#fcfcfc}[data-v-7d252921] .x6-widget-stencil{background-color:#fff;border:none}[data-v-7d252921] .x6-widget-stencil-title{display:none}[data-v-7d252921] .x6-widget-stencil-search{padding:12px 16px;background-color:#fff;border-bottom:1px solid #f0f0f0;position:relative}[data-v-7d252921] .x6-widget-stencil-search input{width:100%;height:32px;padding:0 12px 0 30px;border:1px solid #dcdfe6;border-radius:4px;outline:none;font-size:13px;transition:all .2s;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23909399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");background-repeat:no-repeat;background-position:8px center}[data-v-7d252921] .x6-widget-stencil-search input:focus{border-color:#409eff;box-shadow:0 0 0 2px #409eff1a}[data-v-7d252921] .x6-widget-stencil-search input::placeholder{color:#c0c4cc}[data-v-7d252921] .x6-widget-stencil-group-title{background-color:#f5f7fa;color:#606266;font-weight:600;padding:10px 16px;font-size:12px;border-top:1px solid #ebeef5;border-bottom:1px solid #ebeef5;cursor:pointer;display:flex;align-items:center;justify-content:space-between}[data-v-7d252921] .x6-widget-stencil-group-title:first-child{border-top:none}.context-menu[data-v-7d252921]{position:fixed;z-index:1000;background:#fff;border:1px solid #e4e7ed;box-shadow:0 2px 12px #0000001a;border-radius:4px;padding:5px 0;min-width:120px}.menu-item[data-v-7d252921]{padding:8px 16px;font-size:13px;color:#606266;cursor:pointer;transition:background-color .2s}.menu-item[data-v-7d252921]:hover{background-color:#f5f7fa;color:#409eff}[data-v-7d252921] .x6-widget-stencil-group-title:hover{background-color:#eff3f8;color:#409eff}[data-v-7d252921] .x6-widget-stencil-group-content{background-color:#fff;border-bottom:none}[data-v-7d252921] .x6-widget-stencil-content{scrollbar-width:thin;scrollbar-color:#dcdfe6 transparent}[data-v-7d252921] .x6-widget-stencil-content::-webkit-scrollbar{width:6px;height:6px}[data-v-7d252921] .x6-widget-stencil-content::-webkit-scrollbar-thumb{background:#dcdfe6;border-radius:3px}[data-v-7d252921] .x6-widget-stencil-content::-webkit-scrollbar-track{background:transparent}.center-panel[data-v-7d252921]{flex:1;position:relative;min-width:0;background:#f5f5f5;display:flex;flex-direction:column}.ruler-horizontal[data-v-7d252921]{position:absolute;left:20px;right:0;top:0;height:20px;z-index:2;pointer-events:none;background:#f5f5f5;border-bottom:1px solid #e0e0e0}.canvas-wrap[data-v-7d252921]{position:absolute;inset:0;display:flex}.ruler-vertical[data-v-7d252921]{width:20px;height:100%;position:relative;z-index:2;pointer-events:none;background:#f5f5f5;border-right:1px solid #e0e0e0}.graph-container[data-v-7d252921]{flex:1;height:100%;background:#fcfcfc;position:relative;overflow:hidden}[data-v-7d252921] .scroller{scrollbar-width:none}[data-v-7d252921] .scroller::-webkit-scrollbar{display:none}.minimap-container[data-v-7d252921]{position:absolute;right:16px;bottom:16px;box-shadow:0 2px 10px #00000026;border:1px solid #d9d9d9;background:#fff;border-radius:4px;z-index:10;overflow:hidden}.right-panel[data-v-7d252921]{width:260px;border-left:1px solid #e0e0e0;background:#fff;display:flex;flex-direction:column}.panel-title[data-v-7d252921]{font-weight:600;font-size:14px;padding:12px 16px;border-bottom:1px solid #f0f0f0;background:#fafafa;color:#333}[data-v-7d252921] .x6-node:hover .x6-port-body{visibility:visible!important}
package/package.json ADDED
@@ -0,0 +1,61 @@
1
+ {
2
+ "name": "ygzyant",
3
+ "private": false,
4
+ "version": "0.1.0",
5
+ "type": "module",
6
+ "files": [
7
+ "lib"
8
+ ],
9
+ "main": "./lib/ygzyant-editor.es.js",
10
+ "module": "./lib/ygzyant-editor.es.js",
11
+ "exports": {
12
+ ".": {
13
+ "import": "./lib/ygzyant-editor.es.js"
14
+ },
15
+ "./style.css": "./lib/ygzyant.css"
16
+ },
17
+ "sideEffects": [
18
+ "**/*.css"
19
+ ],
20
+ "scripts": {
21
+ "dev": "vite",
22
+ "build": "vite build --mode lib",
23
+ "build:demo": "vite build",
24
+ "preview": "vite preview"
25
+ },
26
+ "dependencies": {},
27
+ "peerDependencies": {
28
+ "@antv/x6": "^2.19.2",
29
+ "@antv/x6-plugin-clipboard": "^2.1.6",
30
+ "@antv/x6-plugin-dnd": "^2.1.1",
31
+ "@antv/x6-plugin-export": "^2.1.6",
32
+ "@antv/x6-plugin-history": "^2.2.4",
33
+ "@antv/x6-plugin-keyboard": "^2.2.3",
34
+ "@antv/x6-plugin-minimap": "^2.0.7",
35
+ "@antv/x6-plugin-scroller": "^2.0.10",
36
+ "@antv/x6-plugin-selection": "^2.2.2",
37
+ "@antv/x6-plugin-snapline": "^2.1.7",
38
+ "@antv/x6-plugin-stencil": "^2.1.5",
39
+ "@antv/x6-plugin-transform": "^2.1.8",
40
+ "element-plus": "^2.13.3",
41
+ "vue": "^3.5.25"
42
+ },
43
+ "devDependencies": {
44
+ "@vitejs/plugin-vue": "^6.0.2",
45
+ "vite": "^7.3.1",
46
+ "@antv/x6": "^2.19.2",
47
+ "@antv/x6-plugin-clipboard": "^2.1.6",
48
+ "@antv/x6-plugin-dnd": "^2.1.1",
49
+ "@antv/x6-plugin-export": "^2.1.6",
50
+ "@antv/x6-plugin-history": "^2.2.4",
51
+ "@antv/x6-plugin-keyboard": "^2.2.3",
52
+ "@antv/x6-plugin-minimap": "^2.0.7",
53
+ "@antv/x6-plugin-scroller": "^2.0.10",
54
+ "@antv/x6-plugin-selection": "^2.2.2",
55
+ "@antv/x6-plugin-snapline": "^2.1.7",
56
+ "@antv/x6-plugin-stencil": "^2.1.5",
57
+ "@antv/x6-plugin-transform": "^2.1.8",
58
+ "element-plus": "^2.13.3",
59
+ "vue": "^3.5.25"
60
+ }
61
+ }