@mx-sose-front/mx-sose-graph 1.1.9 → 1.2.2
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/dist/index.d.ts +362 -2
- package/dist/index.esm.js +1869 -1099
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Gantt/Gantt.vue +2 -0
- package/src/components/Matrix/Matrix.vue +131 -76
- package/src/components/MatrixContextMenu/MatrixContextMenu.vue +235 -0
- package/src/components/Shape/DividingLine.vue +80 -64
- package/src/components/Table/Table.vue +851 -626
- package/src/constants/edgeShapeKeys.ts +4 -2
- package/src/constants/index.ts +41 -19
- package/src/hooks/useChartRowSelection.ts +37 -6
- package/src/statics/icons/childIcons/AV-1/346/246/202/350/277/260/344/270/216/346/221/230/350/246/201/344/277/241/346/201/257/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/AV-1/346/246/202/350/277/260/346/221/230/350/246/201/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/AV-2/351/233/206/346/210/220/345/255/227/345/205/270/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/AV-2/351/233/206/346/210/220/345/255/227/345/205/270/350/241/250@3x.png +0 -0
- package/src/statics/icons/childIcons/CV-1/346/204/277/346/231/257/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/CV-1/346/204/277/346/231/257/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/CV-2/350/203/275/345/212/233/345/210/206/347/261/273/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/CV-2/350/203/275/345/212/233/345/210/206/347/261/273/345/233/276@3x-2.png +0 -0
- package/src/statics/icons/childIcons/CV-2/350/203/275/345/212/233/345/210/206/347/261/273/345/233/276@3x-3.png +0 -0
- package/src/statics/icons/childIcons/CV-2/350/203/275/345/212/233/345/210/206/347/261/273/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/CV-3/350/203/275/345/212/233/345/210/206/346/256/265/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/CV-3/350/203/275/345/212/233/351/230/266/346/256/265/347/224/230/347/211/271/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/CV-4/350/203/275/345/212/233/344/276/235/350/265/226/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/CV-4/350/203/275/345/212/233/344/276/235/350/265/226/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/CV-5/350/203/275/345/212/233/345/210/260/347/273/204/347/273/207/347/232/204/345/274/200/345/217/221/346/230/240/345/260/204/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/CV-5/350/203/275/345/212/233/345/210/260/347/273/204/347/273/207/347/232/204/346/230/240/345/260/204/347/237/251/351/230/265@3x.png +0 -0
- package/src/statics/icons/childIcons/CV-6/350/203/275/345/212/233/345/210/260/344/270/232/345/212/241/346/264/273/345/212/250/346/230/240/345/260/204/347/237/251/351/230/265@3x.png +0 -0
- package/src/statics/icons/childIcons/CV-6/350/203/275/345/212/233/345/210/260/344/275/234/346/210/230/346/264/273/345/212/250/347/232/204/346/230/240/345/260/204/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/CV-7/350/203/275/345/212/233/345/210/260/346/234/215/345/212/241/346/230/240/345/260/204/347/237/251/351/230/265@3x.png +0 -0
- package/src/statics/icons/childIcons/CV-7/350/203/275/345/212/233/345/210/260/346/234/215/345/212/241/347/232/204/346/230/240/345/260/204/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/DIV-1/346/246/202/345/277/265/346/225/260/346/215/256/346/250/241/345/236/213/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/DIV-1/346/246/202/345/277/265/346/225/260/346/215/256/346/250/241/345/236/213/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/DIV-2/351/200/273/350/276/221/346/225/260/346/215/256/346/250/241/345/236/213/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/DIV-2/351/200/273/350/276/221/346/225/260/346/215/256/346/250/241/345/236/213/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/DIV-3/347/211/251/347/220/206/346/225/260/346/215/256/346/250/241/345/236/213/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/DIV-3/347/211/251/347/220/206/346/225/260/346/215/256/346/250/241/345/236/213/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/OV-1/350/207/252/347/224/261/345/210/206/347/261/273/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/OV-1/351/253/230/347/272/247/344/275/234/346/210/230/346/246/202/345/277/265/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/OV-1/351/253/230/347/272/247/344/275/234/346/210/230/346/246/202/345/277/265/345/233/276/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/OV-2/344/275/234/346/210/230/350/265/204/346/272/220/346/265/201/345/206/205/351/203/250/346/217/217/350/277/260/345/233/276@3x-2.png +0 -0
- package/src/statics/icons/childIcons/OV-2/344/275/234/346/210/230/350/265/204/346/272/220/346/265/201/345/206/205/351/203/250/346/217/217/350/277/260/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/OV-2/344/275/234/346/210/230/350/265/204/346/272/220/346/265/201/346/217/217/350/277/260/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/OV-2/344/275/234/346/210/230/350/265/204/346/272/220/346/265/201/346/217/217/350/277/260/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/OV-3/344/275/234/346/210/230/350/265/204/346/272/220/346/265/201/347/237/251/351/230/265@3x.png +0 -0
- package/src/statics/icons/childIcons/OV-3/344/275/234/346/210/230/350/265/204/346/272/220/346/265/201/347/237/251/351/230/265/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/OV-3/345/237/272/347/241/200/350/247/222/350/211/262/344/275/234/346/210/230/350/265/204/346/272/220/346/265/201/347/237/251/351/230/265@3x.png +0 -0
- package/src/statics/icons/childIcons/OV-4/347/273/204/347/273/207/345/205/263/347/263/273/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/OV-4/347/273/204/347/273/207/345/205/263/347/263/273/345/233/276/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/OV-5a/344/275/234/346/210/230/346/264/273/345/212/250/345/210/206/350/247/243/346/240/221/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/OV-5a/344/275/234/346/210/230/346/264/273/345/212/250/345/210/206/350/247/243/346/240/221/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/OV-5b/344/275/234/346/210/230/346/264/273/345/212/250/346/250/241/345/236/213/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/OV-5b/344/275/234/346/210/230/346/264/273/345/212/250/346/250/241/345/236/213/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/OV-6a/344/275/234/346/210/230/350/247/204/345/210/231/346/250/241/345/236/213/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/OV-6a/344/275/234/346/210/230/350/265/204/346/272/220/345/217/202/346/225/260/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/OV-6b/347/212/266/346/200/201/350/275/254/346/215/242/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/OV-6b/347/212/266/346/200/201/350/275/254/346/215/242/346/250/241/345/236/213/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/OV-6c/344/272/213/344/273/266/350/277/275/350/270/252/346/217/217/350/277/260/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/OV-6c/344/275/234/346/210/230/344/272/213/344/273/266/350/267/237/350/270/252/346/217/217/350/277/260/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/PV-1/351/241/271/347/233/256/347/273/204/345/220/210/345/205/263/347/263/273/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/PV-1/351/241/271/347/233/256/347/273/204/345/220/210/345/205/263/347/263/273/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/PV-2/351/241/271/347/233/256/346/227/266/351/227/264/350/277/233/345/272/246/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/PV-2/351/241/271/347/233/256/346/227/266/351/227/264/350/277/233/345/272/246/347/224/230/347/211/271/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/PV-3/351/241/271/347/233/256/344/270/216/350/203/275/345/212/233/346/230/240/345/260/204/347/237/251/351/230/265@3x.png +0 -0
- package/src/statics/icons/childIcons/PV-3/351/241/271/347/233/256/344/270/216/350/203/275/345/212/233/347/232/204/346/230/240/345/260/204/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-1 /347/263/273/347/273/237/346/216/245/345/217/243/345/206/205/351/203/250/346/217/217/350/277/260/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-1 /347/263/273/347/273/237/346/216/245/345/217/243/346/217/217/350/277/260/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-10a /347/263/273/347/273/237/345/217/202/346/225/260/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-10a /347/263/273/347/273/237/350/247/204/345/210/231/346/250/241/345/236/213/350/241/250@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-10a/347/263/273/347/273/237/350/247/204/345/210/231/346/250/241/345/236/213/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-10b /347/263/273/347/273/237/347/212/266/346/200/201/350/275/254/346/215/242/346/217/217/350/277/260/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-10b/347/263/273/347/273/237/347/212/266/346/200/201/350/275/254/346/215/242/346/217/217/350/277/260/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-10c /347/263/273/347/273/237/344/272/213/344/273/266/350/267/237/350/270/252/346/217/217/350/277/260/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-10c/347/263/273/347/273/237/344/272/213/344/273/266/342/200/224/350/277/275/350/270/252/346/217/217/350/277/260/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-10c/347/263/273/347/273/237/344/272/213/344/273/266/344/270/200/350/277/275/350/270/252/346/217/217/350/277/260/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-1/347/263/273/347/273/237/346/216/245/345/217/243/346/217/217/350/277/260/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-2 /347/263/273/347/273/237/345/206/205/351/203/250/350/265/204/346/272/220/346/265/201/345/212/250/346/217/217/350/277/260/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-2 /347/263/273/347/273/237/350/265/204/346/272/220/346/265/201/345/212/250/346/217/217/350/277/260/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-2/347/263/273/347/273/237/350/265/204/346/272/220/346/265/201/346/217/217/350/277/260/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-3 /347/263/273/347/273/237 - /347/263/273/347/273/237/347/237/251/351/230/265@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-3/347/263/273/347/273/237/342/200/224/347/263/273/347/273/237/347/237/251/351/230/265/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-4 /347/263/273/347/273/237/345/212/237/350/203/275/346/217/217/350/277/260/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-4 /347/263/273/347/273/237/345/212/237/350/203/275/346/265/201/347/250/213/346/217/217/350/277/260/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-4/347/263/273/347/273/237/345/212/237/350/203/275/346/217/217/350/277/260/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-5a /344/270/232/345/212/241/346/264/273/345/212/250/345/210/260/347/263/273/347/273/237/345/212/237/350/203/275/347/232/204/345/217/257/350/277/275/346/272/257/346/200/247/347/237/251/351/230/265@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-5a/344/275/234/346/210/230/346/264/273/345/212/250/345/210/260/347/263/273/347/273/237/345/212/237/350/203/275/345/217/257/350/277/275/350/270/252/347/237/251/351/230/265/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-5b /344/270/232/345/212/241/346/264/273/345/212/250/345/210/260/347/263/273/347/273/237/347/232/204/345/217/257/350/277/275/346/272/257/346/200/247/347/237/251/351/230/265@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-5b/344/275/234/346/210/230/346/264/273/345/212/250/345/210/260/347/263/273/347/273/237/345/217/257/350/277/275/350/270/252/347/237/251/351/230/265/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-6 /347/263/273/347/273/237/350/265/204/346/272/220/346/265/201/345/212/250/347/237/251/351/230/265@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-6/347/263/273/347/273/237/350/265/204/346/272/220/346/265/201/347/237/251/351/230/265/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-7 /347/263/273/347/273/237/345/256/236/351/231/205/345/272/246/351/207/217/347/237/251/351/230/265@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-7/347/263/273/347/273/237/345/272/246/351/207/217/347/237/251/351/230/265/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-8 /347/263/273/347/273/237/346/274/224/350/277/233/346/217/217/350/277/260/347/224/230/347/211/271/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-8/347/263/273/347/273/237/346/274/224/350/277/233/346/217/217/350/277/260/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-9 /347/263/273/347/273/237/346/212/200/346/234/257/344/270/216/346/212/200/350/203/275/351/242/204/346/265/213/350/241/250@3x.png +0 -0
- package/src/statics/icons/childIcons/SV-9/347/263/273/347/273/237/346/212/200/346/234/257/344/270/216/346/212/200/350/203/275/351/242/204/346/265/213/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/StdV-1 /346/240/207/345/207/206/351/205/215/347/275/256/350/241/250@3x.png +0 -0
- package/src/statics/icons/childIcons/StdV-1/346/240/207/345/207/206/351/205/215/347/275/256/346/226/207/344/273/266/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/StdV-2 /346/240/207/345/207/206/351/242/204/346/265/213/350/241/250@3x.png +0 -0
- package/src/statics/icons/childIcons/StdV-2/346/240/207/345/207/206/351/242/204/346/265/213/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-10a /346/234/215/345/212/241/345/217/202/346/225/260/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-10a/346/234/215/345/212/241/350/247/204/345/210/231/346/250/241/345/236/213/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-10b /346/234/215/345/212/241/347/212/266/346/200/201/350/275/254/346/215/242/346/217/217/350/277/260/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-10b/346/234/215/345/212/241/347/212/266/346/200/201/350/275/254/346/215/242/346/217/217/350/277/260/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-10c /346/234/215/345/212/241/344/272/213/344/273/266/350/267/237/350/270/252/346/217/217/350/277/260/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-10c/346/234/215/345/212/241/344/272/213/344/273/266-/350/277/275/350/270/252/346/217/217/350/277/260/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-10c/346/234/215/345/212/241/344/272/213/344/273/266/342/200/224/350/277/275/350/270/252/346/217/217/350/277/260/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-1/346/234/215/345/212/241/344/270/212/344/270/213/346/226/207/346/217/217/350/277/260/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-1/346/234/215/345/212/241/350/203/214/346/231/257/346/250/241/345/236/213/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-2 /346/234/215/345/212/241/350/265/204/346/272/220/346/265/201/345/206/205/351/203/250/346/217/217/350/277/260/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-2 /346/234/215/345/212/241/350/265/204/346/272/220/346/265/201/346/217/217/350/277/260/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-2/346/234/215/345/212/241/350/265/204/346/272/220/346/265/201/346/217/217/350/277/260/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-3a /347/263/273/347/273/237 -/346/234/215/345/212/241/347/237/251/351/230/265@3x-2.png +0 -0
- package/src/statics/icons/childIcons/SvcV-3a /347/263/273/347/273/237 -/346/234/215/345/212/241/347/237/251/351/230/265@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-3a/347/263/273/347/273/237-/346/234/215/345/212/241/347/237/251/351/230/265/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-3a/347/263/273/347/273/237/342/200/224/346/234/215/345/212/241/347/237/251/351/230/265/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-3b /346/234/215/345/212/241 -/346/234/215/345/212/241/347/237/251/351/230/265@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-3b/346/234/215/345/212/241-/346/234/215/345/212/241/347/237/251/351/230/265/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-3b/346/234/215/345/212/241/342/200/224/346/234/215/345/212/241/347/237/251/351/230/265/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-4 /346/234/215/345/212/241/345/212/237/350/203/275/346/217/217/350/277/260/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-4 /346/234/215/345/212/241/345/212/237/350/203/275/346/265/201/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-4/346/234/215/345/212/241/345/212/237/350/203/275/346/217/217/350/277/260/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-5 /346/234/215/345/212/241/345/210/260/344/270/232/345/212/241/346/264/273/345/212/250/345/217/257/350/277/275/346/272/257/346/200/247/347/237/251/351/230/265@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-5/344/275/234/346/210/230/346/264/273/345/212/250/345/210/260/346/234/215/345/212/241/345/217/257/350/277/275/350/270/252/347/237/251/351/230/265/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-6 /346/234/215/345/212/241/350/265/204/346/272/220/346/265/201/347/237/251/351/230/265@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-6/346/234/215/345/212/241/350/265/204/346/272/220/346/265/201/347/237/251/351/230/265/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-7 /346/234/215/345/212/241/345/205/270/345/236/213/345/272/246/351/207/217/347/237/251/351/230/265@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-7/346/234/215/345/212/241/345/272/246/351/207/217/347/237/251/351/230/265/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-8 /346/234/215/345/212/241/346/274/224/350/277/233/347/224/230/347/211/271/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-8/346/234/215/345/212/241/346/274/224/350/277/233/346/217/217/350/277/260/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-9 /346/234/215/345/212/241/346/212/200/346/234/257/344/270/216/346/212/200/350/203/275/351/242/204/346/265/213/350/241/250@3x.png +0 -0
- package/src/statics/icons/childIcons/SvcV-9/346/234/215/345/212/241/346/212/200/346/234/257/344/270/216/346/212/200/350/203/275/351/242/204/346/265/213/345/214/205@3x.png +0 -0
- package/src/statics/icons/childIcons/set@3x.png +0 -0
- package/src/statics/icons/childIcons//344/270/232/345/212/241/345/261/202@3x.png +0 -0
- package/src/statics/icons/childIcons//344/270/232/345/212/241/346/211/247/350/241/214/350/200/205/344/270/216/350/203/275/345/212/233/346/230/240/345/260/204/347/237/251/351/230/265@3x.png +0 -0
- package/src/statics/icons/childIcons//344/270/232/345/212/241/347/273/223/346/236/204/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons//344/270/232/345/212/241/347/274/223/350/247/243/346/216/252/346/226/275@3x.png +0 -0
- package/src/statics/icons/childIcons//344/272/272/345/221/230/345/261/202@3x.png +0 -0
- package/src/statics/icons/childIcons//344/272/272/345/221/230/347/272/246/346/235/237/345/256/232/344/271/211/345/233/276@3x.png +0 -0
- package/src/statics/icons/childIcons//344/275/223/347/263/273/346/236/266/346/236/204@3x.png +0 -0
- package/src/statics/icons/childIcons//344/275/234/346/210/230/350/247/206/350/247/222@3x.png +0 -0
- package/src/statics/icons/childIcons//345/205/250/346/231/257/350/247/206/350/247/222@3x.png +0 -0
- package/src/statics/icons/childIcons//345/205/254/345/217/270@3x.png +0 -0
- package/src/statics/icons/childIcons//345/215/217/350/256/256@3x.png +0 -0
- package/src/statics/icons/childIcons//345/215/217/350/256/256/345/261/202@3x.png +0 -0
- package/src/statics/icons/childIcons//345/215/217/350/256/256/346/240/210@3x.png +0 -0
- package/src/statics/icons/childIcons//345/256/211/345/205/250/345/261/202@3x.png +0 -0
- package/src/statics/icons/childIcons//345/256/236/351/231/205/346/210/230/347/225/245/351/230/266/346/256/265/344/270/216/350/203/275/345/212/233/346/230/240/345/260/204/347/237/251/351/230/265@3x.png +0 -0
- package/src/statics/icons/childIcons//345/256/236/351/231/205/350/265/204/346/272/220/345/205/263/347/263/273@3x.png +0 -0
- package/src/statics/icons/childIcons//345/256/236/351/231/205/350/265/204/346/272/220/345/261/202@3x.png +0 -0
- package/src/statics/icons/childIcons//346/210/230/347/225/245/345/261/202@3x.png +0 -0
- package/src/statics/icons/childIcons//346/224/257/346/214/201@3x.png +0 -0
- package/src/statics/icons/childIcons//346/225/260/346/215/256/344/277/241/346/201/257/350/247/206/350/247/222@3x.png +0 -0
- package/src/statics/icons/childIcons//346/234/215/345/212/241/345/261/202@3x.png +0 -0
- package/src/statics/icons/childIcons//346/234/215/345/212/241/350/247/206/350/247/222@3x.png +0 -0
- package/src/statics/icons/childIcons//346/234/215/345/212/241/350/277/236/351/200/232/347/237/251/351/230/265@3x.png +0 -0
- package/src/statics/icons/childIcons//346/234/215/345/212/241/350/277/236/351/200/232/350/241/250@3x.png +0 -0
- package/src/statics/icons/childIcons//346/240/207/345/207/206@3x.png +0 -0
- package/src/statics/icons/childIcons//346/240/207/345/207/206/345/261/202@3x.png +0 -0
- package/src/statics/icons/childIcons//346/240/207/345/207/206/350/247/206/350/247/222@3x.png +0 -0
- package/src/statics/icons/childIcons//346/240/207/345/207/206/350/267/257/347/272/277/350/241/250@3x.png +0 -0
- package/src/statics/icons/childIcons//346/240/207/345/207/206/350/277/275/346/272/257/350/241/250@3x.png +0 -0
- package/src/statics/icons/childIcons//347/212/266/346/200/201/346/214/207/346/240/207@3x.png +0 -0
- package/src/statics/icons/childIcons//347/263/273/347/273/237/350/247/206/350/247/222@3x.png +0 -0
- package/src/statics/icons/childIcons//350/203/275/345/212/233/350/247/206/350/247/222@3x.png +0 -0
- package/src/statics/icons/childIcons//350/265/204/346/272/220/345/261/202@3x.png +0 -0
- package/src/statics/icons/childIcons//351/200/202/347/224/250/350/203/275/345/212/233@3x.png +0 -0
- package/src/statics/icons/childIcons//351/241/271/347/233/256/345/261/202@3x.png +0 -0
- package/src/statics/icons/childIcons//351/241/271/347/233/256/350/247/206/350/247/222@3x.png +0 -0
- package/src/store/graphStore.ts +21 -1
- package/src/types/index.ts +1 -0
- package/src/utils/keyboardUtils.ts +13 -0
- /package/src/statics/icons/childIcons/{role@3x.png → Role@3x.png} +0 -0
- /package/src/statics/icons/childIcons//347/233/270/346/257/{224@3x (1).png" → 224@3x.png"} +0 -0
|
@@ -55,7 +55,8 @@ export const DASHED_EDGE_SHAPES = [
|
|
|
55
55
|
'Protects',
|
|
56
56
|
'MapsToCapability',
|
|
57
57
|
'ActualResourceRelationship',
|
|
58
|
-
'ProjectSequence'
|
|
58
|
+
'ProjectSequence',
|
|
59
|
+
'Supports'
|
|
59
60
|
];
|
|
60
61
|
|
|
61
62
|
/**
|
|
@@ -92,7 +93,8 @@ export const EDGES_WITH_KEYWORDS = [
|
|
|
92
93
|
'Protects',
|
|
93
94
|
'MapsToCapability',
|
|
94
95
|
'ActualResourceRelationship',
|
|
95
|
-
'ProjectSequence'
|
|
96
|
+
'ProjectSequence',
|
|
97
|
+
'Supports'
|
|
96
98
|
];
|
|
97
99
|
|
|
98
100
|
/**
|
package/src/constants/index.ts
CHANGED
|
@@ -74,6 +74,7 @@ export const EdgeKeyMap = {
|
|
|
74
74
|
'ResourceConnector': 'Edge',//资源连接器
|
|
75
75
|
'CompetenceToConduct': 'Edge',//开展工作能力
|
|
76
76
|
'ResponsibleFor': 'Edge',//负责
|
|
77
|
+
'Supports': 'Edge',//支持
|
|
77
78
|
} as const
|
|
78
79
|
|
|
79
80
|
// Diagram 类型 (shapeType: 'diagram') - 用于组件渲染映射
|
|
@@ -110,7 +111,6 @@ export const DiagramKeyMap = {
|
|
|
110
111
|
'OperationalActivitiesToCapabilitiesMappingMatrix': 'StrategicTaxonomyDiagram', //业务活动与能力映射矩阵
|
|
111
112
|
'OperationalPerformersToCapabilitiesMappingMatrix': 'StrategicTaxonomyDiagram', //业务执行者与能力映射矩阵
|
|
112
113
|
'ServicesTaxonomyDiagram': 'StrategicTaxonomyDiagram', //服务概念图
|
|
113
|
-
'ServicesTaxonomyTable': 'StrategicTaxonomyDiagram', //服务概念表
|
|
114
114
|
'ServicesStructureDiagram': 'StrategicTaxonomyDiagram', //服务结构图
|
|
115
115
|
'ServicesConnectivityDiagram': 'StrategicTaxonomyDiagram', //服务连通图
|
|
116
116
|
'ServicesConnectivityMatrixDiagram': 'StrategicTaxonomyDiagram', //服务连通矩阵图
|
|
@@ -170,14 +170,10 @@ export const DiagramKeyMap = {
|
|
|
170
170
|
'ProjectsProcessesDiagram': 'StrategicTaxonomyDiagram', //项目流程图
|
|
171
171
|
'ProjectsProcessesFlowDiagram': 'StrategicTaxonomyDiagram', //项目内部流程图
|
|
172
172
|
'ActualProjectMilestoneSummaryTable': 'StrategicTaxonomyDiagram', //实际项目里程碑摘要表
|
|
173
|
-
'ProjectsRoadmapDiagram': 'StrategicTaxonomyDiagram', //项目路线图
|
|
174
|
-
'ActualProjectsToCapabilitiesMappingMatrix': 'StrategicTaxonomyDiagram', //实际项目与能力映射矩阵
|
|
175
173
|
'ActualResponsibleResourcesToActualProjectsMappingMatrix': 'StrategicTaxonomyDiagram', //实际负责资源与实际项目映射矩阵
|
|
176
174
|
'ProjectActivitiesToCapabilitiesMappingMatrix': 'StrategicTaxonomyDiagram', //项目活动到能力映射矩阵
|
|
177
175
|
'StandardsTaxonomyDiagram': 'StrategicTaxonomyDiagram', //标准概念图
|
|
178
|
-
'StandardsTaxonomyTable': 'StrategicTaxonomyDiagram', //标准概念表
|
|
179
176
|
'StandardsStructureDiagram': 'StrategicTaxonomyDiagram', //标准结构图
|
|
180
|
-
'StandardsRoadmapDiagram': 'StrategicTaxonomyDiagram', //标准路线图
|
|
181
177
|
'StandardsTraceabilityDiagram': 'StrategicTaxonomyDiagram', //标准可追溯图
|
|
182
178
|
'ActualResourcesTaxonomyMatrix': 'StrategicTaxonomyDiagram', //实际资源概念矩阵
|
|
183
179
|
'ActualResourcesStructureDiagram': 'StrategicTaxonomyDiagram', //实际资源结构图
|
|
@@ -225,31 +221,56 @@ export const DiagramKeyMap = {
|
|
|
225
221
|
// Gantt 类型 (shapeType: 'gantt') - 甘特图组件渲染映射
|
|
226
222
|
export const GanttKeyMap = {
|
|
227
223
|
'ActualStrategicPhasesGanttChart': 'Gantt', //实际战略阶段甘特图
|
|
224
|
+
'ProjectsRoadmapDiagram': 'Gantt', //项目路线图
|
|
228
225
|
|
|
229
226
|
// dodaf
|
|
230
|
-
'
|
|
227
|
+
'CV3CapabilityPhasingChart': 'Gantt', //CV-3能力阶段甘特图
|
|
231
228
|
'PV2ProjectTimelinesDiagram': 'Gantt', //PV-2项目时间进度甘特图
|
|
232
229
|
'SvcV8ServicesEvolutionDescriptionDiagram': 'Gantt', //SvcV-8 服务演进甘特图
|
|
233
230
|
'SV8SystemsEvolutionDescriptionDiagram': 'Gantt', //SV-8 系统演进描述甘特图
|
|
231
|
+
'PV2ProjectTimelinesChart': 'Gantt', //PV-2项目时间进度甘特图
|
|
234
232
|
} as const
|
|
233
|
+
|
|
235
234
|
//Table 类型 (shapeType: 'table') - 表格组件渲染映射
|
|
236
235
|
export const TableKeyMap = {
|
|
237
236
|
'StrategicTaxonomyTable': 'Table', //战略概念表
|
|
238
237
|
'OperationalTaxonomyTable': 'Table', //业务概念表
|
|
239
238
|
'StrategicActualStrategicPhaseTaxonomyTable': 'Table', //战略实际战略阶段分类表
|
|
239
|
+
'ServicesTaxonomyTable': 'Table', //服务概念表
|
|
240
|
+
'StandardsRoadmapTable': 'Table', //标准路线图
|
|
241
|
+
'PersonnelTaxonomyTable': 'Table', //人员概念表
|
|
242
|
+
'ResourcesTaxonomyTable': 'Table', //资源概念表
|
|
243
|
+
'SecurityTaxonomyTable': 'Table', //安全概念表
|
|
244
|
+
'ProjectsTaxonomyTable': 'Table', //项目概念表
|
|
245
|
+
'ActualProjectMilestoneSummaryTable': 'Table', //实际项目里程碑汇总表
|
|
246
|
+
'StandardsTraceabilityTable': 'Table', //标准追溯表
|
|
247
|
+
'ResourcesConnectivityTable': 'Table', //资源连通表
|
|
248
|
+
'StandardsTaxonomyTable': 'Table', //标准概念表
|
|
249
|
+
|
|
240
250
|
// dodaf
|
|
241
251
|
'AV2IntegratedDictionaryTable': 'Table', //AV-2集成字典表
|
|
242
|
-
'OV6aOperationalRulesModelDiagram': 'Table', //OV-6a作战规则模型图
|
|
243
252
|
'SvcV9ServicesTechnologyandSkillsForecastTable': 'Table', //SvcV-9 服务技术与技能预测表
|
|
244
253
|
'StdV1StandardsProfileTable': 'Table', //StdV-1 标准配置表
|
|
245
254
|
'StdV2StandardsForecastTable': 'Table', //StdV-2 标准预测表
|
|
246
|
-
'
|
|
255
|
+
'SV9SystemsTechologyAndSkillsForecastTable': 'Table', //SV-9 系统技术与技能预测表
|
|
247
256
|
'SV10aSystemsRulesModelTable': 'Table', //SV-10a 系统规则模型表
|
|
248
257
|
} as const
|
|
258
|
+
|
|
249
259
|
//Matrix 类型 (shapeType: 'matrix') - 矩阵组件渲染映射
|
|
250
260
|
export const MatrixKeyMap = {
|
|
251
|
-
'
|
|
252
|
-
|
|
261
|
+
'StrategicConnectivityMatrix': 'Matrix', //战略概念矩阵
|
|
262
|
+
'OperationalActivitiesToCapabilitiesMappingMatrix': 'Matrix', //业务活动到能力映射矩阵
|
|
263
|
+
'OperationalPerformersToCapabilitiesMappingMatrix': 'Matrix', //业务执行者到能力映射矩阵
|
|
264
|
+
'ServicesToCapabilitiesMappingMatrix': 'Matrix', //服务到能力映射矩阵
|
|
265
|
+
'ServicesToOperationalActivitiesMappingMatrix': 'Matrix', //服务到业务活动映射矩阵
|
|
266
|
+
'FunctionsToOperationalActivitiesMappingMatrix': 'Matrix', //功能到业务活动映射矩阵
|
|
267
|
+
'ResourcesToCapabilitiesMappingMatrix': 'Matrix', //资源到能力映射矩阵
|
|
268
|
+
'ResourcesToOperationalActivitiesMappingMatrix': 'Matrix', //资源到业务活动映射矩阵
|
|
269
|
+
'RisksToAssetsMappingMatrix': 'Matrix', //风险到资产映射矩阵
|
|
270
|
+
'SecurityControlsToRisksMappingMatrix': 'Matrix', //安全控制到风险映射矩阵
|
|
271
|
+
'ProjectActivitiesToCapabilitiesMappingMatrix': 'Matrix', //项目活动到能力映射矩阵
|
|
272
|
+
'ActualProjectsToCapabilitiesMappingMatrix': 'Matrix', //实际项目与能力的映射矩阵
|
|
273
|
+
'ActualStrategicPhasesToCapabilitiesMappingMatrix': 'Matrix', //实际战略阶段与能力映射矩阵
|
|
253
274
|
// dodaf
|
|
254
275
|
'CV5CapabilityToOrganizationDeploymentMapping': 'Matrix', //CV-5能力到组织的映射矩阵
|
|
255
276
|
'CV6CapabilityToOperationalActivitiesMappingMatrix': 'Matrix', //CV-6能力到业务活动映射矩阵
|
|
@@ -263,7 +284,7 @@ export const MatrixKeyMap = {
|
|
|
263
284
|
'SvcV6ServicesResourceFlowMatrix': 'Matrix', //SvcV-6 服务资源流矩阵
|
|
264
285
|
'SvcV7ServicesTypicalMeasuresMatrix': 'Matrix', //SvcV-7 服务典型度量矩阵
|
|
265
286
|
'SV3SystemsSystemsMatrix': 'Matrix', //SV-3 系统 - 系统矩阵
|
|
266
|
-
'
|
|
287
|
+
'SV5aOperationalActivityToSystemsFunctionMatrix': 'Matrix', //SV-5a 业务活动到系统功能的可追溯性矩阵
|
|
267
288
|
'SV5bOperationalActivityToSystemsTarceabilityMatrix': 'Matrix', //SV-5b 业务活动到系统的可追溯性矩阵
|
|
268
289
|
'SV6SystemsResourceFlowMatrix': 'Matrix', //SV-6 系统资源流动矩阵
|
|
269
290
|
'SV7SystemsActualMeasuresMatrix': 'Matrix', //SV-7 系统实际度量矩阵
|
|
@@ -487,6 +508,10 @@ export const ShapeKeyMap = {
|
|
|
487
508
|
'ResourceParameter': 'Block', //资源参数
|
|
488
509
|
'ResourceRole': 'Block', //资源角色
|
|
489
510
|
'ResourceSignal': 'Block', //资源信号
|
|
511
|
+
'Standard': 'Block', //标准
|
|
512
|
+
'Protocol': 'Block', //协议
|
|
513
|
+
'ProtocolStack': 'Block', //协议栈
|
|
514
|
+
'ProtocolLayer': 'Block', //协议层
|
|
490
515
|
|
|
491
516
|
// DividingLine 类型
|
|
492
517
|
'EnterpriseGoal': 'DividingLine', //企业目标
|
|
@@ -534,12 +559,10 @@ export const ShapeKeyMap = {
|
|
|
534
559
|
'StrategicActualStrategicPhaseTaxonomyTable': 'Diagram', //战略实际战略阶段分类表
|
|
535
560
|
'StrategicActualDeploymentDiagram': 'Diagram', //战略实际部署图
|
|
536
561
|
'StrategicConnectivityMatrixTable': 'Diagram', //战略连通矩阵表
|
|
537
|
-
'ActualStrategicPhasesToCapabilitiesMappingMatrix': 'Diagram', //实际战略阶段与能力映射矩阵
|
|
538
562
|
'OperationalConnectivityTable': 'Diagram', //业务连通表
|
|
539
563
|
'OperationalActivitiesToCapabilitiesMappingMatrix': 'Diagram', //业务活动与能力映射矩阵
|
|
540
564
|
'OperationalPerformersToCapabilitiesMappingMatrix': 'Diagram', //业务执行者与能力映射矩阵
|
|
541
565
|
'ServicesTaxonomyDiagram': 'Diagram', //服务概念图
|
|
542
|
-
'ServicesTaxonomyTable': 'Diagram', //服务概念表
|
|
543
566
|
'ServicesStructureDiagram': 'Diagram', //服务结构图
|
|
544
567
|
'ServicesConnectivityDiagram': 'Diagram', //服务连通图
|
|
545
568
|
'ServicesConnectivityMatrixDiagram': 'Diagram', //服务连通矩阵图
|
|
@@ -571,7 +594,6 @@ export const ShapeKeyMap = {
|
|
|
571
594
|
'ResourcesTaxonomyTable': 'Diagram', //资源概念表
|
|
572
595
|
'ResourcesStructureDiagram': 'Diagram', //资源结构图
|
|
573
596
|
'ResourcesConnectivityDiagram': 'Diagram', //资源连通图
|
|
574
|
-
'ResourcesConnectivityTable': 'Diagram', //资源连通表
|
|
575
597
|
'ResourcesInternalConnectivityDiagram': 'Diagram', //资源内部连通图
|
|
576
598
|
'ResourcesProcessesDiagram': 'Diagram', //资源流程图
|
|
577
599
|
'ResourcesProcessesFlowDiagram': 'Diagram', //资源内部流程图
|
|
@@ -599,19 +621,19 @@ export const ShapeKeyMap = {
|
|
|
599
621
|
'ProjectsProcessesDiagram': 'Diagram', //项目流程图
|
|
600
622
|
'ProjectsProcessesFlowDiagram': 'Diagram', //项目内部流程图
|
|
601
623
|
'ActualProjectMilestoneSummaryTable': 'Diagram', //实际项目里程碑汇总表
|
|
602
|
-
'ProjectsRoadmapDiagram': 'Diagram', //项目路线图
|
|
603
|
-
'ActualProjectsToCapabilitiesMappingMatrix': 'Diagram', //实际项目与能力映射矩阵
|
|
604
624
|
'ActualResponsibleResourcesToActualProjectsMappingMatrix': 'Diagram', //实际资源与实际项目对应关系矩阵
|
|
605
625
|
'ProjectActivitiesToCapabilitiesMappingMatrix': 'Diagram', //项目活动与能力映射矩阵
|
|
606
626
|
'StandardsTaxonomyDiagram': 'Diagram', //标准概念图
|
|
607
|
-
'StandardsTaxonomyTable': 'Diagram', //标准概念表
|
|
608
627
|
'StandardsStructureDiagram': 'Diagram', //标准结构图
|
|
609
|
-
'StandardsRoadmapDiagram': 'Diagram', //标准路线图
|
|
610
628
|
'StandardsTraceabilityDiagram': 'Diagram', //标准追溯图
|
|
611
629
|
'ActualResourcesTaxonomyMatrix': 'Diagram', //实际资源概念矩阵
|
|
612
630
|
'ActualResourcesStructureDiagram': 'Diagram', //实际资源结构图
|
|
613
631
|
'ActualResourcesConnectivityDiagram': 'Diagram', //实际资源连通图
|
|
614
632
|
'ActualStrategicPhasesGanttChart': 'Diagram', //实际战略阶段甘特图
|
|
633
|
+
'OperationalTaxonomyTable': 'Diagram', //业务概念表
|
|
634
|
+
'StandardsTaxonomyTable': 'Diagram', //标准概念表
|
|
635
|
+
'ServicesTaxonomyTable': 'Diagram', //服务概念表
|
|
636
|
+
'StandardsRoadmapTable': 'Diagram', //标准路线图
|
|
615
637
|
|
|
616
638
|
// DODAF Diagram 类型
|
|
617
639
|
'AV1OverviewAndSummaryInformationDiagram': 'Diagram', //AV-1概述摘要图
|
|
@@ -668,7 +690,7 @@ export const ShapeKeyMap = {
|
|
|
668
690
|
'StdV1StandardsProfileTable': 'Diagram', //StdV-1 标准配置表
|
|
669
691
|
'StdV2StandardsForecastTable': 'Diagram', //StdV-2 标准预测表
|
|
670
692
|
'SV3SystemsSystemsMatrix': 'Diagram', //SV-3 系统 - 系统矩阵
|
|
671
|
-
'
|
|
693
|
+
'SV5aOperationalActivityToSystemsFunctionMatrix': 'Diagram', //SV-5a 业务活动到系统功能的可追溯性矩阵
|
|
672
694
|
'SV5bOperationalActivityToSystemsTarceabilityMatrix': 'Diagram', //SV-5b 业务活动到系统的可追溯性矩阵
|
|
673
695
|
'SV6SystemsResourceFlowMatrix': 'Diagram', //SV-6 系统资源流动矩阵
|
|
674
696
|
'SV7SystemsActualMeasuresMatrix': 'Diagram', //SV-7 系统实际度量矩阵
|
|
@@ -21,6 +21,10 @@ interface RemoveContext {
|
|
|
21
21
|
selectedIndices: number[]
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
interface AddSuccessContext {
|
|
25
|
+
modelId?: string | null
|
|
26
|
+
}
|
|
27
|
+
|
|
24
28
|
/**
|
|
25
29
|
* 行选择 Hook 配置项
|
|
26
30
|
*/
|
|
@@ -82,6 +86,7 @@ export function useChartRowSelection<T extends ChartRowItem>({
|
|
|
82
86
|
const showContextMenu = ref(false)
|
|
83
87
|
const contextMenuPosition = ref({ x: 0, y: 0 })
|
|
84
88
|
const contextMenuTargetItem = ref<T | null>(null)
|
|
89
|
+
const pendingAddSelection = ref<AddSuccessContext | null>(null)
|
|
85
90
|
|
|
86
91
|
/**
|
|
87
92
|
* 缓存本次“移除”的上下文
|
|
@@ -393,19 +398,45 @@ export function useChartRowSelection<T extends ChartRowItem>({
|
|
|
393
398
|
* 选中最后一行
|
|
394
399
|
* 用于新增成功后的默认回选
|
|
395
400
|
*/
|
|
396
|
-
function selectLastRow() {
|
|
401
|
+
function selectLastRow(payload?: AddSuccessContext | string) {
|
|
397
402
|
const list = items.value
|
|
398
403
|
if (!list.length) {
|
|
399
|
-
|
|
400
|
-
|
|
404
|
+
pendingAddSelection.value =
|
|
405
|
+
typeof payload === 'string' ? { modelId: payload } : payload ?? null
|
|
401
406
|
return
|
|
402
407
|
}
|
|
403
408
|
|
|
404
|
-
const
|
|
405
|
-
|
|
406
|
-
|
|
409
|
+
const targetModelId =
|
|
410
|
+
typeof payload === 'string'
|
|
411
|
+
? payload
|
|
412
|
+
: payload?.modelId || null
|
|
413
|
+
|
|
414
|
+
const targetItem = targetModelId
|
|
415
|
+
? list.find(item => item.modelId === targetModelId)
|
|
416
|
+
: null
|
|
417
|
+
|
|
418
|
+
if (targetModelId && !targetItem) {
|
|
419
|
+
pendingAddSelection.value =
|
|
420
|
+
typeof payload === 'string' ? { modelId: payload } : payload ?? null
|
|
421
|
+
return
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
pendingAddSelection.value = null
|
|
425
|
+
const nextSelected = targetItem || list[list.length - 1]
|
|
426
|
+
selectedRowIds.value = new Set([nextSelected.id])
|
|
427
|
+
lastSelectedId.value = nextSelected.id
|
|
428
|
+
// 默认选中新建行时,同步触发行点击链路,确保属性面板也刷新到当前行。
|
|
429
|
+
eventBus.emit('chart-row-click', nextSelected)
|
|
407
430
|
}
|
|
408
431
|
|
|
432
|
+
watch(
|
|
433
|
+
() => items.value.map(item => `${item.id}:${item.modelId}`).join('|'),
|
|
434
|
+
() => {
|
|
435
|
+
if (!pendingAddSelection.value) return
|
|
436
|
+
selectLastRow(pendingAddSelection.value)
|
|
437
|
+
}
|
|
438
|
+
)
|
|
439
|
+
|
|
409
440
|
/**
|
|
410
441
|
* 同步“单行选中”状态
|
|
411
442
|
* 供属性面板等只关心单选对象的模块使用
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|