@mx-sose-front/mx-sose-graph 1.1.9 → 1.2.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/dist/index.d.ts +362 -2
- package/dist/index.esm.js +1090 -688
- 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/Matrix/Matrix.vue +45 -65
- package/src/components/Table/Table.vue +849 -626
- package/src/constants/index.ts +23 -9
- 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/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-/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-/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-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/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-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-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/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//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//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/350/247/206/350/247/222@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/350/247/206/350/247/222@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//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/dist/index.d.ts
CHANGED
|
@@ -28,6 +28,14 @@ export declare interface Bounds {
|
|
|
28
28
|
height?: number | undefined;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
declare interface ColumnHeaderCell {
|
|
32
|
+
columnNodeId: string;
|
|
33
|
+
rowNodeId: string;
|
|
34
|
+
value: string;
|
|
35
|
+
relations: Relation[];
|
|
36
|
+
operable: boolean;
|
|
37
|
+
}
|
|
38
|
+
|
|
31
39
|
export declare interface Comparent {
|
|
32
40
|
keywords: string;
|
|
33
41
|
keywordsBounds?: string;
|
|
@@ -372,6 +380,14 @@ declare interface locationChart {
|
|
|
372
380
|
modelIcon: string;
|
|
373
381
|
}
|
|
374
382
|
|
|
383
|
+
declare interface Matrix {
|
|
384
|
+
rowTree: TreeNode[];
|
|
385
|
+
columnTree: TreeNode[];
|
|
386
|
+
crossData: ColumnHeaderCell[];
|
|
387
|
+
relationModelIcon: string;
|
|
388
|
+
relationModelName: string;
|
|
389
|
+
}
|
|
390
|
+
|
|
375
391
|
/**
|
|
376
392
|
* 可选的安装参数:允许使用方主动把 pinia 传进来
|
|
377
393
|
*/
|
|
@@ -398,6 +414,12 @@ declare type Padding = number | {
|
|
|
398
414
|
left: number;
|
|
399
415
|
};
|
|
400
416
|
|
|
417
|
+
declare interface Relation {
|
|
418
|
+
relationId: string;
|
|
419
|
+
relationType: string;
|
|
420
|
+
type: string;
|
|
421
|
+
}
|
|
422
|
+
|
|
401
423
|
declare interface scenarioMenu {
|
|
402
424
|
[key: string]: any;
|
|
403
425
|
}
|
|
@@ -492,6 +514,26 @@ export declare interface TaggedValueLabel {
|
|
|
492
514
|
nameStyle?: string;
|
|
493
515
|
}
|
|
494
516
|
|
|
517
|
+
declare interface TreeNode {
|
|
518
|
+
id: string;
|
|
519
|
+
nodeName: string;
|
|
520
|
+
modelName: string;
|
|
521
|
+
nodeType: string;
|
|
522
|
+
modelTypeName?: null;
|
|
523
|
+
elementId?: string | null;
|
|
524
|
+
parentId?: null | string;
|
|
525
|
+
isChildren?: boolean;
|
|
526
|
+
isLeaf?: boolean;
|
|
527
|
+
children?: TreeNode[];
|
|
528
|
+
expanded?: boolean;
|
|
529
|
+
isReName?: boolean;
|
|
530
|
+
isChart: boolean;
|
|
531
|
+
isCreate?: boolean;
|
|
532
|
+
isCanvas?: string;
|
|
533
|
+
icon?: string;
|
|
534
|
+
modelRelationld?: string;
|
|
535
|
+
}
|
|
536
|
+
|
|
495
537
|
export declare const useGraphStore: StoreDefinition<"graph", Pick<{
|
|
496
538
|
shapes: Ref<{
|
|
497
539
|
id: string;
|
|
@@ -1670,6 +1712,111 @@ canDropOnCanvas: Ref<boolean, boolean>;
|
|
|
1670
1712
|
canOperate: Ref<boolean, boolean>;
|
|
1671
1713
|
cutShapeIds: Ref<Set<string> & Omit<Set<string>, keyof Set<any>>, Set<string> | (Set<string> & Omit<Set<string>, keyof Set<any>>)>;
|
|
1672
1714
|
copiedShapesCount: Ref<number, number>;
|
|
1715
|
+
matrixData: Ref<{
|
|
1716
|
+
rowTree: {
|
|
1717
|
+
id: string;
|
|
1718
|
+
nodeName: string;
|
|
1719
|
+
modelName: string;
|
|
1720
|
+
nodeType: string;
|
|
1721
|
+
modelTypeName?: null | undefined;
|
|
1722
|
+
elementId?: string | null | undefined;
|
|
1723
|
+
parentId?: string | null | undefined;
|
|
1724
|
+
isChildren?: boolean | undefined;
|
|
1725
|
+
isLeaf?: boolean | undefined;
|
|
1726
|
+
children?: any[] | undefined;
|
|
1727
|
+
expanded?: boolean | undefined;
|
|
1728
|
+
isReName?: boolean | undefined;
|
|
1729
|
+
isChart: boolean;
|
|
1730
|
+
isCreate?: boolean | undefined;
|
|
1731
|
+
isCanvas?: string | undefined;
|
|
1732
|
+
icon?: string | undefined;
|
|
1733
|
+
modelRelationld?: string | undefined;
|
|
1734
|
+
}[];
|
|
1735
|
+
columnTree: {
|
|
1736
|
+
id: string;
|
|
1737
|
+
nodeName: string;
|
|
1738
|
+
modelName: string;
|
|
1739
|
+
nodeType: string;
|
|
1740
|
+
modelTypeName?: null | undefined;
|
|
1741
|
+
elementId?: string | null | undefined;
|
|
1742
|
+
parentId?: string | null | undefined;
|
|
1743
|
+
isChildren?: boolean | undefined;
|
|
1744
|
+
isLeaf?: boolean | undefined;
|
|
1745
|
+
children?: any[] | undefined;
|
|
1746
|
+
expanded?: boolean | undefined;
|
|
1747
|
+
isReName?: boolean | undefined;
|
|
1748
|
+
isChart: boolean;
|
|
1749
|
+
isCreate?: boolean | undefined;
|
|
1750
|
+
isCanvas?: string | undefined;
|
|
1751
|
+
icon?: string | undefined;
|
|
1752
|
+
modelRelationld?: string | undefined;
|
|
1753
|
+
}[];
|
|
1754
|
+
crossData: {
|
|
1755
|
+
columnNodeId: string;
|
|
1756
|
+
rowNodeId: string;
|
|
1757
|
+
value: string;
|
|
1758
|
+
relations: {
|
|
1759
|
+
relationId: string;
|
|
1760
|
+
relationType: string;
|
|
1761
|
+
type: string;
|
|
1762
|
+
}[];
|
|
1763
|
+
operable: boolean;
|
|
1764
|
+
}[];
|
|
1765
|
+
relationModelIcon: string;
|
|
1766
|
+
relationModelName: string;
|
|
1767
|
+
}, Matrix | {
|
|
1768
|
+
rowTree: {
|
|
1769
|
+
id: string;
|
|
1770
|
+
nodeName: string;
|
|
1771
|
+
modelName: string;
|
|
1772
|
+
nodeType: string;
|
|
1773
|
+
modelTypeName?: null | undefined;
|
|
1774
|
+
elementId?: string | null | undefined;
|
|
1775
|
+
parentId?: string | null | undefined;
|
|
1776
|
+
isChildren?: boolean | undefined;
|
|
1777
|
+
isLeaf?: boolean | undefined;
|
|
1778
|
+
children?: any[] | undefined;
|
|
1779
|
+
expanded?: boolean | undefined;
|
|
1780
|
+
isReName?: boolean | undefined;
|
|
1781
|
+
isChart: boolean;
|
|
1782
|
+
isCreate?: boolean | undefined;
|
|
1783
|
+
isCanvas?: string | undefined;
|
|
1784
|
+
icon?: string | undefined;
|
|
1785
|
+
modelRelationld?: string | undefined;
|
|
1786
|
+
}[];
|
|
1787
|
+
columnTree: {
|
|
1788
|
+
id: string;
|
|
1789
|
+
nodeName: string;
|
|
1790
|
+
modelName: string;
|
|
1791
|
+
nodeType: string;
|
|
1792
|
+
modelTypeName?: null | undefined;
|
|
1793
|
+
elementId?: string | null | undefined;
|
|
1794
|
+
parentId?: string | null | undefined;
|
|
1795
|
+
isChildren?: boolean | undefined;
|
|
1796
|
+
isLeaf?: boolean | undefined;
|
|
1797
|
+
children?: any[] | undefined;
|
|
1798
|
+
expanded?: boolean | undefined;
|
|
1799
|
+
isReName?: boolean | undefined;
|
|
1800
|
+
isChart: boolean;
|
|
1801
|
+
isCreate?: boolean | undefined;
|
|
1802
|
+
isCanvas?: string | undefined;
|
|
1803
|
+
icon?: string | undefined;
|
|
1804
|
+
modelRelationld?: string | undefined;
|
|
1805
|
+
}[];
|
|
1806
|
+
crossData: {
|
|
1807
|
+
columnNodeId: string;
|
|
1808
|
+
rowNodeId: string;
|
|
1809
|
+
value: string;
|
|
1810
|
+
relations: {
|
|
1811
|
+
relationId: string;
|
|
1812
|
+
relationType: string;
|
|
1813
|
+
type: string;
|
|
1814
|
+
}[];
|
|
1815
|
+
operable: boolean;
|
|
1816
|
+
}[];
|
|
1817
|
+
relationModelIcon: string;
|
|
1818
|
+
relationModelName: string;
|
|
1819
|
+
}>;
|
|
1673
1820
|
taggedValueLabels: Ref<string[], string[]>;
|
|
1674
1821
|
packagesTypes: Ref<string[], string[]>;
|
|
1675
1822
|
classMetaTypes: Ref<string[], string[]>;
|
|
@@ -1932,7 +2079,8 @@ setIsMouseInGraphView: (isIn: boolean) => void;
|
|
|
1932
2079
|
setCutShapeIds: (ids: string[]) => void;
|
|
1933
2080
|
clearCutShapeIds: () => void;
|
|
1934
2081
|
setCopiedShapesCount: (count: number) => void;
|
|
1935
|
-
|
|
2082
|
+
setMatrixData: (payload: Matrix) => void;
|
|
2083
|
+
}, "taggedValueLabels" | "shapes" | "pendingNestedIds" | "selectedShape" | "diagramTitle" | "isDragging" | "draggingShapeId" | "dragOffset" | "diagrams" | "selectedIds" | "hoverContainerId" | "hoverNestable" | "currentDiagramId" | "canDropOnCanvas" | "canOperate" | "cutShapeIds" | "copiedShapesCount" | "matrixData" | "packagesTypes" | "classMetaTypes" | "ownerRequiredShapeKeys" | "pinsTypes" | "portsTypes" | "scales" | "activeDiagramId" | "museInGraphView" | "connectMode" | "externalCreatingId">, Pick<{
|
|
1936
2084
|
shapes: Ref<{
|
|
1937
2085
|
id: string;
|
|
1938
2086
|
diagramId: string;
|
|
@@ -3110,6 +3258,111 @@ canDropOnCanvas: Ref<boolean, boolean>;
|
|
|
3110
3258
|
canOperate: Ref<boolean, boolean>;
|
|
3111
3259
|
cutShapeIds: Ref<Set<string> & Omit<Set<string>, keyof Set<any>>, Set<string> | (Set<string> & Omit<Set<string>, keyof Set<any>>)>;
|
|
3112
3260
|
copiedShapesCount: Ref<number, number>;
|
|
3261
|
+
matrixData: Ref<{
|
|
3262
|
+
rowTree: {
|
|
3263
|
+
id: string;
|
|
3264
|
+
nodeName: string;
|
|
3265
|
+
modelName: string;
|
|
3266
|
+
nodeType: string;
|
|
3267
|
+
modelTypeName?: null | undefined;
|
|
3268
|
+
elementId?: string | null | undefined;
|
|
3269
|
+
parentId?: string | null | undefined;
|
|
3270
|
+
isChildren?: boolean | undefined;
|
|
3271
|
+
isLeaf?: boolean | undefined;
|
|
3272
|
+
children?: any[] | undefined;
|
|
3273
|
+
expanded?: boolean | undefined;
|
|
3274
|
+
isReName?: boolean | undefined;
|
|
3275
|
+
isChart: boolean;
|
|
3276
|
+
isCreate?: boolean | undefined;
|
|
3277
|
+
isCanvas?: string | undefined;
|
|
3278
|
+
icon?: string | undefined;
|
|
3279
|
+
modelRelationld?: string | undefined;
|
|
3280
|
+
}[];
|
|
3281
|
+
columnTree: {
|
|
3282
|
+
id: string;
|
|
3283
|
+
nodeName: string;
|
|
3284
|
+
modelName: string;
|
|
3285
|
+
nodeType: string;
|
|
3286
|
+
modelTypeName?: null | undefined;
|
|
3287
|
+
elementId?: string | null | undefined;
|
|
3288
|
+
parentId?: string | null | undefined;
|
|
3289
|
+
isChildren?: boolean | undefined;
|
|
3290
|
+
isLeaf?: boolean | undefined;
|
|
3291
|
+
children?: any[] | undefined;
|
|
3292
|
+
expanded?: boolean | undefined;
|
|
3293
|
+
isReName?: boolean | undefined;
|
|
3294
|
+
isChart: boolean;
|
|
3295
|
+
isCreate?: boolean | undefined;
|
|
3296
|
+
isCanvas?: string | undefined;
|
|
3297
|
+
icon?: string | undefined;
|
|
3298
|
+
modelRelationld?: string | undefined;
|
|
3299
|
+
}[];
|
|
3300
|
+
crossData: {
|
|
3301
|
+
columnNodeId: string;
|
|
3302
|
+
rowNodeId: string;
|
|
3303
|
+
value: string;
|
|
3304
|
+
relations: {
|
|
3305
|
+
relationId: string;
|
|
3306
|
+
relationType: string;
|
|
3307
|
+
type: string;
|
|
3308
|
+
}[];
|
|
3309
|
+
operable: boolean;
|
|
3310
|
+
}[];
|
|
3311
|
+
relationModelIcon: string;
|
|
3312
|
+
relationModelName: string;
|
|
3313
|
+
}, Matrix | {
|
|
3314
|
+
rowTree: {
|
|
3315
|
+
id: string;
|
|
3316
|
+
nodeName: string;
|
|
3317
|
+
modelName: string;
|
|
3318
|
+
nodeType: string;
|
|
3319
|
+
modelTypeName?: null | undefined;
|
|
3320
|
+
elementId?: string | null | undefined;
|
|
3321
|
+
parentId?: string | null | undefined;
|
|
3322
|
+
isChildren?: boolean | undefined;
|
|
3323
|
+
isLeaf?: boolean | undefined;
|
|
3324
|
+
children?: any[] | undefined;
|
|
3325
|
+
expanded?: boolean | undefined;
|
|
3326
|
+
isReName?: boolean | undefined;
|
|
3327
|
+
isChart: boolean;
|
|
3328
|
+
isCreate?: boolean | undefined;
|
|
3329
|
+
isCanvas?: string | undefined;
|
|
3330
|
+
icon?: string | undefined;
|
|
3331
|
+
modelRelationld?: string | undefined;
|
|
3332
|
+
}[];
|
|
3333
|
+
columnTree: {
|
|
3334
|
+
id: string;
|
|
3335
|
+
nodeName: string;
|
|
3336
|
+
modelName: string;
|
|
3337
|
+
nodeType: string;
|
|
3338
|
+
modelTypeName?: null | undefined;
|
|
3339
|
+
elementId?: string | null | undefined;
|
|
3340
|
+
parentId?: string | null | undefined;
|
|
3341
|
+
isChildren?: boolean | undefined;
|
|
3342
|
+
isLeaf?: boolean | undefined;
|
|
3343
|
+
children?: any[] | undefined;
|
|
3344
|
+
expanded?: boolean | undefined;
|
|
3345
|
+
isReName?: boolean | undefined;
|
|
3346
|
+
isChart: boolean;
|
|
3347
|
+
isCreate?: boolean | undefined;
|
|
3348
|
+
isCanvas?: string | undefined;
|
|
3349
|
+
icon?: string | undefined;
|
|
3350
|
+
modelRelationld?: string | undefined;
|
|
3351
|
+
}[];
|
|
3352
|
+
crossData: {
|
|
3353
|
+
columnNodeId: string;
|
|
3354
|
+
rowNodeId: string;
|
|
3355
|
+
value: string;
|
|
3356
|
+
relations: {
|
|
3357
|
+
relationId: string;
|
|
3358
|
+
relationType: string;
|
|
3359
|
+
type: string;
|
|
3360
|
+
}[];
|
|
3361
|
+
operable: boolean;
|
|
3362
|
+
}[];
|
|
3363
|
+
relationModelIcon: string;
|
|
3364
|
+
relationModelName: string;
|
|
3365
|
+
}>;
|
|
3113
3366
|
taggedValueLabels: Ref<string[], string[]>;
|
|
3114
3367
|
packagesTypes: Ref<string[], string[]>;
|
|
3115
3368
|
classMetaTypes: Ref<string[], string[]>;
|
|
@@ -3372,6 +3625,7 @@ setIsMouseInGraphView: (isIn: boolean) => void;
|
|
|
3372
3625
|
setCutShapeIds: (ids: string[]) => void;
|
|
3373
3626
|
clearCutShapeIds: () => void;
|
|
3374
3627
|
setCopiedShapesCount: (count: number) => void;
|
|
3628
|
+
setMatrixData: (payload: Matrix) => void;
|
|
3375
3629
|
}, "shapeCount" | "hasSelectedShape" | "parentChildMap" | "shapeMap" | "edgesByNodeId" | "marqueeShapes" | "ghostShadow" | "currentScale" | "visibleShapes">, Pick<{
|
|
3376
3630
|
shapes: Ref<{
|
|
3377
3631
|
id: string;
|
|
@@ -4550,6 +4804,111 @@ canDropOnCanvas: Ref<boolean, boolean>;
|
|
|
4550
4804
|
canOperate: Ref<boolean, boolean>;
|
|
4551
4805
|
cutShapeIds: Ref<Set<string> & Omit<Set<string>, keyof Set<any>>, Set<string> | (Set<string> & Omit<Set<string>, keyof Set<any>>)>;
|
|
4552
4806
|
copiedShapesCount: Ref<number, number>;
|
|
4807
|
+
matrixData: Ref<{
|
|
4808
|
+
rowTree: {
|
|
4809
|
+
id: string;
|
|
4810
|
+
nodeName: string;
|
|
4811
|
+
modelName: string;
|
|
4812
|
+
nodeType: string;
|
|
4813
|
+
modelTypeName?: null | undefined;
|
|
4814
|
+
elementId?: string | null | undefined;
|
|
4815
|
+
parentId?: string | null | undefined;
|
|
4816
|
+
isChildren?: boolean | undefined;
|
|
4817
|
+
isLeaf?: boolean | undefined;
|
|
4818
|
+
children?: any[] | undefined;
|
|
4819
|
+
expanded?: boolean | undefined;
|
|
4820
|
+
isReName?: boolean | undefined;
|
|
4821
|
+
isChart: boolean;
|
|
4822
|
+
isCreate?: boolean | undefined;
|
|
4823
|
+
isCanvas?: string | undefined;
|
|
4824
|
+
icon?: string | undefined;
|
|
4825
|
+
modelRelationld?: string | undefined;
|
|
4826
|
+
}[];
|
|
4827
|
+
columnTree: {
|
|
4828
|
+
id: string;
|
|
4829
|
+
nodeName: string;
|
|
4830
|
+
modelName: string;
|
|
4831
|
+
nodeType: string;
|
|
4832
|
+
modelTypeName?: null | undefined;
|
|
4833
|
+
elementId?: string | null | undefined;
|
|
4834
|
+
parentId?: string | null | undefined;
|
|
4835
|
+
isChildren?: boolean | undefined;
|
|
4836
|
+
isLeaf?: boolean | undefined;
|
|
4837
|
+
children?: any[] | undefined;
|
|
4838
|
+
expanded?: boolean | undefined;
|
|
4839
|
+
isReName?: boolean | undefined;
|
|
4840
|
+
isChart: boolean;
|
|
4841
|
+
isCreate?: boolean | undefined;
|
|
4842
|
+
isCanvas?: string | undefined;
|
|
4843
|
+
icon?: string | undefined;
|
|
4844
|
+
modelRelationld?: string | undefined;
|
|
4845
|
+
}[];
|
|
4846
|
+
crossData: {
|
|
4847
|
+
columnNodeId: string;
|
|
4848
|
+
rowNodeId: string;
|
|
4849
|
+
value: string;
|
|
4850
|
+
relations: {
|
|
4851
|
+
relationId: string;
|
|
4852
|
+
relationType: string;
|
|
4853
|
+
type: string;
|
|
4854
|
+
}[];
|
|
4855
|
+
operable: boolean;
|
|
4856
|
+
}[];
|
|
4857
|
+
relationModelIcon: string;
|
|
4858
|
+
relationModelName: string;
|
|
4859
|
+
}, Matrix | {
|
|
4860
|
+
rowTree: {
|
|
4861
|
+
id: string;
|
|
4862
|
+
nodeName: string;
|
|
4863
|
+
modelName: string;
|
|
4864
|
+
nodeType: string;
|
|
4865
|
+
modelTypeName?: null | undefined;
|
|
4866
|
+
elementId?: string | null | undefined;
|
|
4867
|
+
parentId?: string | null | undefined;
|
|
4868
|
+
isChildren?: boolean | undefined;
|
|
4869
|
+
isLeaf?: boolean | undefined;
|
|
4870
|
+
children?: any[] | undefined;
|
|
4871
|
+
expanded?: boolean | undefined;
|
|
4872
|
+
isReName?: boolean | undefined;
|
|
4873
|
+
isChart: boolean;
|
|
4874
|
+
isCreate?: boolean | undefined;
|
|
4875
|
+
isCanvas?: string | undefined;
|
|
4876
|
+
icon?: string | undefined;
|
|
4877
|
+
modelRelationld?: string | undefined;
|
|
4878
|
+
}[];
|
|
4879
|
+
columnTree: {
|
|
4880
|
+
id: string;
|
|
4881
|
+
nodeName: string;
|
|
4882
|
+
modelName: string;
|
|
4883
|
+
nodeType: string;
|
|
4884
|
+
modelTypeName?: null | undefined;
|
|
4885
|
+
elementId?: string | null | undefined;
|
|
4886
|
+
parentId?: string | null | undefined;
|
|
4887
|
+
isChildren?: boolean | undefined;
|
|
4888
|
+
isLeaf?: boolean | undefined;
|
|
4889
|
+
children?: any[] | undefined;
|
|
4890
|
+
expanded?: boolean | undefined;
|
|
4891
|
+
isReName?: boolean | undefined;
|
|
4892
|
+
isChart: boolean;
|
|
4893
|
+
isCreate?: boolean | undefined;
|
|
4894
|
+
isCanvas?: string | undefined;
|
|
4895
|
+
icon?: string | undefined;
|
|
4896
|
+
modelRelationld?: string | undefined;
|
|
4897
|
+
}[];
|
|
4898
|
+
crossData: {
|
|
4899
|
+
columnNodeId: string;
|
|
4900
|
+
rowNodeId: string;
|
|
4901
|
+
value: string;
|
|
4902
|
+
relations: {
|
|
4903
|
+
relationId: string;
|
|
4904
|
+
relationType: string;
|
|
4905
|
+
type: string;
|
|
4906
|
+
}[];
|
|
4907
|
+
operable: boolean;
|
|
4908
|
+
}[];
|
|
4909
|
+
relationModelIcon: string;
|
|
4910
|
+
relationModelName: string;
|
|
4911
|
+
}>;
|
|
4553
4912
|
taggedValueLabels: Ref<string[], string[]>;
|
|
4554
4913
|
packagesTypes: Ref<string[], string[]>;
|
|
4555
4914
|
classMetaTypes: Ref<string[], string[]>;
|
|
@@ -4812,7 +5171,8 @@ setIsMouseInGraphView: (isIn: boolean) => void;
|
|
|
4812
5171
|
setCutShapeIds: (ids: string[]) => void;
|
|
4813
5172
|
clearCutShapeIds: () => void;
|
|
4814
5173
|
setCopiedShapesCount: (count: number) => void;
|
|
4815
|
-
|
|
5174
|
+
setMatrixData: (payload: Matrix) => void;
|
|
5175
|
+
}, "addShape" | "removeShape" | "updateShape" | "selectShape" | "setTitle" | "updateShapes" | "clearAll" | "startDragShape" | "startDrag" | "moveDraggedShape" | "endDragShape" | "getShapes" | "addDiagram" | "setCurrentDiagramId" | "selectMany" | "clearSelection" | "selectAll" | "removeSelected" | "finalCheckCanNest" | "setHoverState" | "initializeAllEdgeEndpoints" | "endResizeShape" | "getScale" | "setScale" | "setActiveDiagramId" | "setConnectMode" | "getConnectMode" | "expandParentAndEmitSizeUpdateByChild" | "setIsMouseInGraphView" | "setCutShapeIds" | "clearCutShapeIds" | "setCopiedShapesCount" | "setMatrixData">>;
|
|
4816
5176
|
|
|
4817
5177
|
declare interface Waypoint {
|
|
4818
5178
|
x: number;
|