@mx-sose-front/mx-sose-graph 1.1.8 → 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.
Files changed (180) hide show
  1. package/dist/assets/edgeWorker-b57ca007.js +2 -0
  2. package/dist/assets/edgeWorker-b57ca007.js.map +1 -0
  3. package/dist/index.d.ts +994 -31
  4. package/dist/index.esm.js +9541 -5145
  5. package/dist/index.esm.js.map +1 -1
  6. package/dist/index.umd.js +1 -1
  7. package/dist/index.umd.js.map +1 -1
  8. package/dist/style.css +1 -1
  9. package/package.json +1 -1
  10. package/src/components/Common/Tree.vue +451 -0
  11. package/src/components/Common/index.ts +2 -0
  12. package/src/components/DiagramListTooltip/DiagramListTooltip.vue +1 -2
  13. package/src/components/Edge/Edge.vue +172 -169
  14. package/src/components/Gantt/Gantt.vue +1544 -0
  15. package/src/components/GanttContextMenu/GanttContextMenu.vue +304 -0
  16. package/src/components/InteractionLayer.vue +343 -147
  17. package/src/components/Matrix/Matrix.vue +808 -0
  18. package/src/components/Matrix/index.ts +168 -0
  19. package/src/components/Shape/ConceptualRole.vue +2 -34
  20. package/src/components/Table/Table.vue +1193 -0
  21. package/src/constants/edgeShapeKeys.ts +8 -5
  22. package/src/constants/index.ts +279 -51
  23. package/src/hooks/index.ts +2 -0
  24. package/src/hooks/useChartRowSelection.ts +456 -0
  25. package/src/hooks/useResize.ts +2 -2
  26. package/src/hooks/useVirtualScroll.ts +258 -0
  27. package/src/index.ts +1 -1
  28. package/src/render/shape-renderer.ts +62 -2
  29. 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
  30. 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
  31. 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
  32. 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
  33. package/src/statics/icons/childIcons/CV-1/346/204/277/346/231/257/345/214/205@3x.png +0 -0
  34. package/src/statics/icons/childIcons/CV-1/346/204/277/346/231/257/345/233/276@3x.png +0 -0
  35. 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
  36. 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
  37. 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
  38. 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
  39. 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
  40. 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
  41. 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
  42. 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
  43. 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
  44. 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
  45. 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
  46. 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
  47. 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
  48. 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
  49. 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
  50. 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
  51. 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
  52. 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
  53. 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
  54. 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
  55. 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
  56. 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
  57. 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
  58. 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
  59. 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
  60. 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
  61. 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
  62. 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
  63. 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
  64. 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
  65. 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
  66. 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
  67. 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
  68. 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
  69. 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
  70. 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
  71. 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
  72. 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
  73. 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
  74. 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
  75. 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
  76. 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
  77. 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
  78. 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
  79. 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
  80. 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
  81. 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
  82. 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
  83. 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
  84. 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
  85. 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
  86. 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
  87. 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
  88. 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
  89. 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
  90. 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
  91. 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
  92. 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
  93. 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
  94. 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
  95. 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
  96. 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
  97. 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
  98. 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
  99. 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
  100. 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
  101. 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
  102. 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
  103. 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
  104. 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
  105. 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
  106. 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
  107. 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
  108. 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
  109. 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
  110. 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
  111. 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
  112. 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
  113. 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
  114. 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
  115. 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
  116. 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
  117. 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
  118. 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
  119. 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
  120. 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
  121. 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
  122. 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
  123. 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
  124. 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
  125. 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
  126. 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
  127. 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
  128. 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
  129. 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
  130. 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
  131. 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
  132. 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
  133. 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
  134. 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
  135. 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
  136. 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
  137. 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
  138. 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
  139. 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
  140. 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
  141. 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
  142. package/src/statics/icons/childIcons//344/275/223/347/263/273/346/236/266/346/236/204@3x.png +0 -0
  143. package/src/statics/icons/childIcons//344/275/234/346/210/230/350/247/206/350/247/222@3x.png +0 -0
  144. package/src/statics/icons/childIcons//345/205/250/346/231/257/350/247/206/350/247/222@3x.png +0 -0
  145. package/src/statics/icons/childIcons//345/205/254/345/217/270@3x.png +0 -0
  146. package/src/statics/icons/childIcons//345/215/217/350/256/256@3x.png +0 -0
  147. package/src/statics/icons/childIcons//345/215/217/350/256/256/345/261/202@3x.png +0 -0
  148. package/src/statics/icons/childIcons//345/215/217/350/256/256/346/240/210@3x.png +0 -0
  149. package/src/statics/icons/childIcons//345/221/275/344/273/244@3x.png +0 -0
  150. package/src/statics/icons/childIcons//346/210/230/347/225/245/346/246/202/345/277/265/350/241/250@3x.png +0 -0
  151. package/src/statics/icons/childIcons//346/216/247/345/210/266@3x.png +0 -0
  152. package/src/statics/icons/childIcons//346/224/257/346/214/201@3x.png +0 -0
  153. 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
  154. package/src/statics/icons/childIcons//346/234/215/345/212/241/350/247/206/350/247/222@3x.png +0 -0
  155. package/src/statics/icons/childIcons//346/240/207/345/207/206@3x.png +0 -0
  156. package/src/statics/icons/childIcons//346/240/207/345/207/206/350/247/206/350/247/222@3x.png +0 -0
  157. package/src/statics/icons/childIcons//347/263/273/347/273/237/350/247/206/350/247/222@3x.png +0 -0
  158. package/src/statics/icons/childIcons//350/203/275/345/212/233/350/247/206/350/247/222@3x.png +0 -0
  159. package/src/statics/icons/childIcons//351/241/271/347/233/256/350/247/206/350/247/222@3x.png +0 -0
  160. package/src/statics/icons/createMenu/down.png +0 -0
  161. package/src/statics/icons/createMenu/remove.png +0 -0
  162. package/src/statics/icons/createMenu/up.png +0 -0
  163. package/src/store/graphStore.ts +238 -45
  164. package/src/types/index.ts +87 -4
  165. package/src/utils/batchAutoExpand.ts +9 -10
  166. package/src/utils/containers.ts +72 -17
  167. package/src/utils/contextMenuUtils.ts +7 -7
  168. package/src/utils/dateUtils.ts +160 -0
  169. package/src/utils/diagram.ts +10 -8
  170. package/src/utils/drag.ts +6 -5
  171. package/src/utils/edgeUtils.ts +344 -427
  172. package/src/utils/edgeWorker.ts +471 -0
  173. package/src/utils/hittest.ts +37 -38
  174. package/src/utils/index.ts +3 -0
  175. package/src/utils/keyboardUtils.ts +5 -5
  176. package/src/utils/packageOutline.ts +96 -0
  177. package/src/utils/rafThrottle.ts +162 -0
  178. package/src/utils/workerManager.ts +335 -0
  179. package/src/view/graph.vue +47 -33
  180. /package/src/statics/icons/childIcons//346/210/230/347/225/{245@3x.png" → 245/345/261/202@3x.png"} +0 -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;
@@ -158,6 +166,36 @@ declare class EventBus {
158
166
 
159
167
  export declare const eventBus: EventBus;
160
168
 
169
+ export declare interface GanttColumn {
170
+ id?: number;
171
+ propertyId?: number;
172
+ projectId?: string;
173
+ modelId?: string;
174
+ configId: string;
175
+ name: string;
176
+ isShow: boolean;
177
+ isReadonly: boolean;
178
+ }
179
+
180
+ export declare interface GanttContainsModel {
181
+ projectId: string;
182
+ ownerId: string;
183
+ type: string;
184
+ name: string;
185
+ isChart: boolean;
186
+ icon: string;
187
+ }
188
+
189
+ export declare interface GanttData {
190
+ id: string;
191
+ modelId: string;
192
+ ganttOrTableModelId: string;
193
+ projectId: string;
194
+ type: string;
195
+ sort: string;
196
+ [key: string]: any;
197
+ }
198
+
161
199
  export declare interface GraphEvents {
162
200
  onShapeClick?: (node: Shape, event: MouseEvent) => void;
163
201
  onShapeDoubleClick?: (node: Shape, event: MouseEvent) => void;
@@ -342,6 +380,14 @@ declare interface locationChart {
342
380
  modelIcon: string;
343
381
  }
344
382
 
383
+ declare interface Matrix {
384
+ rowTree: TreeNode[];
385
+ columnTree: TreeNode[];
386
+ crossData: ColumnHeaderCell[];
387
+ relationModelIcon: string;
388
+ relationModelName: string;
389
+ }
390
+
345
391
  /**
346
392
  * 可选的安装参数:允许使用方主动把 pinia 传进来
347
393
  */
@@ -368,6 +414,12 @@ declare type Padding = number | {
368
414
  left: number;
369
415
  };
370
416
 
417
+ declare interface Relation {
418
+ relationId: string;
419
+ relationType: string;
420
+ type: string;
421
+ }
422
+
371
423
  declare interface scenarioMenu {
372
424
  [key: string]: any;
373
425
  }
@@ -386,7 +438,7 @@ export declare interface Shape {
386
438
  diagramId: string;
387
439
  parenShapeId: string;
388
440
  shapeKey: string;
389
- shapeType: 'shape' | 'edge' | 'pin' | 'diagram';
441
+ shapeType: 'shape' | 'edge' | 'pin' | 'diagram' | 'gantt' | 'table' | 'matrix';
390
442
  bounds: Bounds;
391
443
  style?: Style;
392
444
  keywords: string;
@@ -421,6 +473,9 @@ export declare interface Shape {
421
473
  targetCreateModel?: string;
422
474
  sourceModelId?: string;
423
475
  isMovableComparents: boolean;
476
+ ganttData?: GanttData[];
477
+ attributeColumns?: GanttColumn[];
478
+ ganttContainsModels?: GanttContainsModel[];
424
479
  }
425
480
 
426
481
  declare type ShapeOp = "add" | "update" | "delete" | "upsert" | "replace";
@@ -459,13 +514,33 @@ export declare interface TaggedValueLabel {
459
514
  nameStyle?: string;
460
515
  }
461
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
+
462
537
  export declare const useGraphStore: StoreDefinition<"graph", Pick<{
463
538
  shapes: Ref<{
464
539
  id: string;
465
540
  diagramId: string;
466
541
  parenShapeId: string;
467
542
  shapeKey: string;
468
- shapeType: "shape" | "edge" | "pin" | "diagram";
543
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
469
544
  bounds: {
470
545
  x?: number | undefined;
471
546
  y?: number | undefined;
@@ -625,12 +700,39 @@ modelTypePropertyId: string;
625
700
  targetCreateModel?: string | undefined;
626
701
  sourceModelId?: string | undefined;
627
702
  isMovableComparents: boolean;
703
+ ganttData?: {
704
+ [x: string]: any;
705
+ id: string;
706
+ modelId: string;
707
+ ganttOrTableModelId: string;
708
+ projectId: string;
709
+ type: string;
710
+ sort: string;
711
+ }[] | undefined;
712
+ attributeColumns?: {
713
+ id?: number | undefined;
714
+ propertyId?: number | undefined;
715
+ projectId?: string | undefined;
716
+ modelId?: string | undefined;
717
+ configId: string;
718
+ name: string;
719
+ isShow: boolean;
720
+ isReadonly: boolean;
721
+ }[] | undefined;
722
+ ganttContainsModels?: {
723
+ projectId: string;
724
+ ownerId: string;
725
+ type: string;
726
+ name: string;
727
+ isChart: boolean;
728
+ icon: string;
729
+ }[] | undefined;
628
730
  }[], Shape[] | {
629
731
  id: string;
630
732
  diagramId: string;
631
733
  parenShapeId: string;
632
734
  shapeKey: string;
633
- shapeType: "shape" | "edge" | "pin" | "diagram";
735
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
634
736
  bounds: {
635
737
  x?: number | undefined;
636
738
  y?: number | undefined;
@@ -790,6 +892,33 @@ modelTypePropertyId: string;
790
892
  targetCreateModel?: string | undefined;
791
893
  sourceModelId?: string | undefined;
792
894
  isMovableComparents: boolean;
895
+ ganttData?: {
896
+ [x: string]: any;
897
+ id: string;
898
+ modelId: string;
899
+ ganttOrTableModelId: string;
900
+ projectId: string;
901
+ type: string;
902
+ sort: string;
903
+ }[] | undefined;
904
+ attributeColumns?: {
905
+ id?: number | undefined;
906
+ propertyId?: number | undefined;
907
+ projectId?: string | undefined;
908
+ modelId?: string | undefined;
909
+ configId: string;
910
+ name: string;
911
+ isShow: boolean;
912
+ isReadonly: boolean;
913
+ }[] | undefined;
914
+ ganttContainsModels?: {
915
+ projectId: string;
916
+ ownerId: string;
917
+ type: string;
918
+ name: string;
919
+ isChart: boolean;
920
+ icon: string;
921
+ }[] | undefined;
793
922
  }[]>;
794
923
  pendingNestedIds: Ref<string[], string[]>;
795
924
  selectedShape: Ref<{
@@ -797,7 +926,7 @@ id: string;
797
926
  diagramId: string;
798
927
  parenShapeId: string;
799
928
  shapeKey: string;
800
- shapeType: "shape" | "edge" | "pin" | "diagram";
929
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
801
930
  bounds: {
802
931
  x?: number | undefined;
803
932
  y?: number | undefined;
@@ -957,12 +1086,39 @@ modelTypePropertyId: string;
957
1086
  targetCreateModel?: string | undefined;
958
1087
  sourceModelId?: string | undefined;
959
1088
  isMovableComparents: boolean;
1089
+ ganttData?: {
1090
+ [x: string]: any;
1091
+ id: string;
1092
+ modelId: string;
1093
+ ganttOrTableModelId: string;
1094
+ projectId: string;
1095
+ type: string;
1096
+ sort: string;
1097
+ }[] | undefined;
1098
+ attributeColumns?: {
1099
+ id?: number | undefined;
1100
+ propertyId?: number | undefined;
1101
+ projectId?: string | undefined;
1102
+ modelId?: string | undefined;
1103
+ configId: string;
1104
+ name: string;
1105
+ isShow: boolean;
1106
+ isReadonly: boolean;
1107
+ }[] | undefined;
1108
+ ganttContainsModels?: {
1109
+ projectId: string;
1110
+ ownerId: string;
1111
+ type: string;
1112
+ name: string;
1113
+ isChart: boolean;
1114
+ icon: string;
1115
+ }[] | undefined;
960
1116
  } | null, Shape | {
961
1117
  id: string;
962
1118
  diagramId: string;
963
1119
  parenShapeId: string;
964
1120
  shapeKey: string;
965
- shapeType: "shape" | "edge" | "pin" | "diagram";
1121
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
966
1122
  bounds: {
967
1123
  x?: number | undefined;
968
1124
  y?: number | undefined;
@@ -1122,6 +1278,33 @@ modelTypePropertyId: string;
1122
1278
  targetCreateModel?: string | undefined;
1123
1279
  sourceModelId?: string | undefined;
1124
1280
  isMovableComparents: boolean;
1281
+ ganttData?: {
1282
+ [x: string]: any;
1283
+ id: string;
1284
+ modelId: string;
1285
+ ganttOrTableModelId: string;
1286
+ projectId: string;
1287
+ type: string;
1288
+ sort: string;
1289
+ }[] | undefined;
1290
+ attributeColumns?: {
1291
+ id?: number | undefined;
1292
+ propertyId?: number | undefined;
1293
+ projectId?: string | undefined;
1294
+ modelId?: string | undefined;
1295
+ configId: string;
1296
+ name: string;
1297
+ isShow: boolean;
1298
+ isReadonly: boolean;
1299
+ }[] | undefined;
1300
+ ganttContainsModels?: {
1301
+ projectId: string;
1302
+ ownerId: string;
1303
+ type: string;
1304
+ name: string;
1305
+ isChart: boolean;
1306
+ icon: string;
1307
+ }[] | undefined;
1125
1308
  } | null>;
1126
1309
  diagramTitle: Ref<string, string>;
1127
1310
  isDragging: Ref<boolean, boolean>;
@@ -1141,7 +1324,7 @@ id: string;
1141
1324
  diagramId: string;
1142
1325
  parenShapeId: string;
1143
1326
  shapeKey: string;
1144
- shapeType: "shape" | "edge" | "pin" | "diagram";
1327
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
1145
1328
  bounds: {
1146
1329
  x?: number | undefined;
1147
1330
  y?: number | undefined;
@@ -1301,12 +1484,39 @@ modelTypePropertyId: string;
1301
1484
  targetCreateModel?: string | undefined;
1302
1485
  sourceModelId?: string | undefined;
1303
1486
  isMovableComparents: boolean;
1487
+ ganttData?: {
1488
+ [x: string]: any;
1489
+ id: string;
1490
+ modelId: string;
1491
+ ganttOrTableModelId: string;
1492
+ projectId: string;
1493
+ type: string;
1494
+ sort: string;
1495
+ }[] | undefined;
1496
+ attributeColumns?: {
1497
+ id?: number | undefined;
1498
+ propertyId?: number | undefined;
1499
+ projectId?: string | undefined;
1500
+ modelId?: string | undefined;
1501
+ configId: string;
1502
+ name: string;
1503
+ isShow: boolean;
1504
+ isReadonly: boolean;
1505
+ }[] | undefined;
1506
+ ganttContainsModels?: {
1507
+ projectId: string;
1508
+ ownerId: string;
1509
+ type: string;
1510
+ name: string;
1511
+ isChart: boolean;
1512
+ icon: string;
1513
+ }[] | undefined;
1304
1514
  }[], Shape[] | {
1305
1515
  id: string;
1306
1516
  diagramId: string;
1307
1517
  parenShapeId: string;
1308
1518
  shapeKey: string;
1309
- shapeType: "shape" | "edge" | "pin" | "diagram";
1519
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
1310
1520
  bounds: {
1311
1521
  x?: number | undefined;
1312
1522
  y?: number | undefined;
@@ -1466,6 +1676,33 @@ modelTypePropertyId: string;
1466
1676
  targetCreateModel?: string | undefined;
1467
1677
  sourceModelId?: string | undefined;
1468
1678
  isMovableComparents: boolean;
1679
+ ganttData?: {
1680
+ [x: string]: any;
1681
+ id: string;
1682
+ modelId: string;
1683
+ ganttOrTableModelId: string;
1684
+ projectId: string;
1685
+ type: string;
1686
+ sort: string;
1687
+ }[] | undefined;
1688
+ attributeColumns?: {
1689
+ id?: number | undefined;
1690
+ propertyId?: number | undefined;
1691
+ projectId?: string | undefined;
1692
+ modelId?: string | undefined;
1693
+ configId: string;
1694
+ name: string;
1695
+ isShow: boolean;
1696
+ isReadonly: boolean;
1697
+ }[] | undefined;
1698
+ ganttContainsModels?: {
1699
+ projectId: string;
1700
+ ownerId: string;
1701
+ type: string;
1702
+ name: string;
1703
+ isChart: boolean;
1704
+ icon: string;
1705
+ }[] | undefined;
1469
1706
  }[]>;
1470
1707
  selectedIds: Ref<string[], string[]>;
1471
1708
  hoverContainerId: Ref<string | null, string | null>;
@@ -1475,6 +1712,111 @@ canDropOnCanvas: Ref<boolean, boolean>;
1475
1712
  canOperate: Ref<boolean, boolean>;
1476
1713
  cutShapeIds: Ref<Set<string> & Omit<Set<string>, keyof Set<any>>, Set<string> | (Set<string> & Omit<Set<string>, keyof Set<any>>)>;
1477
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
+ }>;
1478
1820
  taggedValueLabels: Ref<string[], string[]>;
1479
1821
  packagesTypes: Ref<string[], string[]>;
1480
1822
  classMetaTypes: Ref<string[], string[]>;
@@ -1485,6 +1827,7 @@ shapeCount: ComputedRef<number>;
1485
1827
  hasSelectedShape: ComputedRef<boolean>;
1486
1828
  parentChildMap: ComputedRef<Map<string, string[]>>;
1487
1829
  shapeMap: ComputedRef<Map<string, Shape>>;
1830
+ edgesByNodeId: ComputedRef<Map<string, Shape[]>>;
1488
1831
  marqueeShapes: ComputedRef<Shape[]>;
1489
1832
  ghostShadow: ComputedRef<Shape[]>;
1490
1833
  scales: Ref<Record<string, number>, Record<string, number>>;
@@ -1526,7 +1869,7 @@ id: string;
1526
1869
  diagramId: string;
1527
1870
  parenShapeId: string;
1528
1871
  shapeKey: string;
1529
- shapeType: "shape" | "edge" | "pin" | "diagram";
1872
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
1530
1873
  bounds: {
1531
1874
  x?: number | undefined;
1532
1875
  y?: number | undefined;
@@ -1686,6 +2029,33 @@ modelTypePropertyId: string;
1686
2029
  targetCreateModel?: string | undefined;
1687
2030
  sourceModelId?: string | undefined;
1688
2031
  isMovableComparents: boolean;
2032
+ ganttData?: {
2033
+ [x: string]: any;
2034
+ id: string;
2035
+ modelId: string;
2036
+ ganttOrTableModelId: string;
2037
+ projectId: string;
2038
+ type: string;
2039
+ sort: string;
2040
+ }[] | undefined;
2041
+ attributeColumns?: {
2042
+ id?: number | undefined;
2043
+ propertyId?: number | undefined;
2044
+ projectId?: string | undefined;
2045
+ modelId?: string | undefined;
2046
+ configId: string;
2047
+ name: string;
2048
+ isShow: boolean;
2049
+ isReadonly: boolean;
2050
+ }[] | undefined;
2051
+ ganttContainsModels?: {
2052
+ projectId: string;
2053
+ ownerId: string;
2054
+ type: string;
2055
+ name: string;
2056
+ isChart: boolean;
2057
+ icon: string;
2058
+ }[] | undefined;
1689
2059
  }[];
1690
2060
  addDiagram: (diagram: Shape) => void;
1691
2061
  setCurrentDiagramId: (id: string | null) => void;
@@ -1695,8 +2065,8 @@ selectAll: () => void;
1695
2065
  removeSelected: () => void;
1696
2066
  finalCheckCanNest: (childId: string, parentId: string | null) => Promise<boolean>;
1697
2067
  setHoverState: (id: string | null, nestable: boolean | null) => void;
1698
- initializeAllEdgeEndpoints: () => void;
1699
- endResizeShape: (id: string) => void;
2068
+ initializeAllEdgeEndpoints: () => Promise<void>;
2069
+ endResizeShape: (id: string) => Promise<void>;
1700
2070
  getScale: (diagramId?: string | null) => number;
1701
2071
  setScale: (newScale: number, diagramId?: string | null) => void;
1702
2072
  setActiveDiagramId: (id: string | null) => void;
@@ -1709,13 +2079,14 @@ setIsMouseInGraphView: (isIn: boolean) => void;
1709
2079
  setCutShapeIds: (ids: string[]) => void;
1710
2080
  clearCutShapeIds: () => void;
1711
2081
  setCopiedShapesCount: (count: number) => void;
1712
- }, "taggedValueLabels" | "shapes" | "selectedShape" | "pendingNestedIds" | "diagramTitle" | "isDragging" | "draggingShapeId" | "dragOffset" | "diagrams" | "selectedIds" | "hoverContainerId" | "hoverNestable" | "currentDiagramId" | "canDropOnCanvas" | "canOperate" | "cutShapeIds" | "copiedShapesCount" | "packagesTypes" | "classMetaTypes" | "ownerRequiredShapeKeys" | "pinsTypes" | "portsTypes" | "scales" | "activeDiagramId" | "museInGraphView" | "connectMode" | "externalCreatingId">, Pick<{
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<{
1713
2084
  shapes: Ref<{
1714
2085
  id: string;
1715
2086
  diagramId: string;
1716
2087
  parenShapeId: string;
1717
2088
  shapeKey: string;
1718
- shapeType: "shape" | "edge" | "pin" | "diagram";
2089
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
1719
2090
  bounds: {
1720
2091
  x?: number | undefined;
1721
2092
  y?: number | undefined;
@@ -1875,12 +2246,39 @@ modelTypePropertyId: string;
1875
2246
  targetCreateModel?: string | undefined;
1876
2247
  sourceModelId?: string | undefined;
1877
2248
  isMovableComparents: boolean;
2249
+ ganttData?: {
2250
+ [x: string]: any;
2251
+ id: string;
2252
+ modelId: string;
2253
+ ganttOrTableModelId: string;
2254
+ projectId: string;
2255
+ type: string;
2256
+ sort: string;
2257
+ }[] | undefined;
2258
+ attributeColumns?: {
2259
+ id?: number | undefined;
2260
+ propertyId?: number | undefined;
2261
+ projectId?: string | undefined;
2262
+ modelId?: string | undefined;
2263
+ configId: string;
2264
+ name: string;
2265
+ isShow: boolean;
2266
+ isReadonly: boolean;
2267
+ }[] | undefined;
2268
+ ganttContainsModels?: {
2269
+ projectId: string;
2270
+ ownerId: string;
2271
+ type: string;
2272
+ name: string;
2273
+ isChart: boolean;
2274
+ icon: string;
2275
+ }[] | undefined;
1878
2276
  }[], Shape[] | {
1879
2277
  id: string;
1880
2278
  diagramId: string;
1881
2279
  parenShapeId: string;
1882
2280
  shapeKey: string;
1883
- shapeType: "shape" | "edge" | "pin" | "diagram";
2281
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
1884
2282
  bounds: {
1885
2283
  x?: number | undefined;
1886
2284
  y?: number | undefined;
@@ -2040,6 +2438,33 @@ modelTypePropertyId: string;
2040
2438
  targetCreateModel?: string | undefined;
2041
2439
  sourceModelId?: string | undefined;
2042
2440
  isMovableComparents: boolean;
2441
+ ganttData?: {
2442
+ [x: string]: any;
2443
+ id: string;
2444
+ modelId: string;
2445
+ ganttOrTableModelId: string;
2446
+ projectId: string;
2447
+ type: string;
2448
+ sort: string;
2449
+ }[] | undefined;
2450
+ attributeColumns?: {
2451
+ id?: number | undefined;
2452
+ propertyId?: number | undefined;
2453
+ projectId?: string | undefined;
2454
+ modelId?: string | undefined;
2455
+ configId: string;
2456
+ name: string;
2457
+ isShow: boolean;
2458
+ isReadonly: boolean;
2459
+ }[] | undefined;
2460
+ ganttContainsModels?: {
2461
+ projectId: string;
2462
+ ownerId: string;
2463
+ type: string;
2464
+ name: string;
2465
+ isChart: boolean;
2466
+ icon: string;
2467
+ }[] | undefined;
2043
2468
  }[]>;
2044
2469
  pendingNestedIds: Ref<string[], string[]>;
2045
2470
  selectedShape: Ref<{
@@ -2047,7 +2472,7 @@ id: string;
2047
2472
  diagramId: string;
2048
2473
  parenShapeId: string;
2049
2474
  shapeKey: string;
2050
- shapeType: "shape" | "edge" | "pin" | "diagram";
2475
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
2051
2476
  bounds: {
2052
2477
  x?: number | undefined;
2053
2478
  y?: number | undefined;
@@ -2207,12 +2632,39 @@ modelTypePropertyId: string;
2207
2632
  targetCreateModel?: string | undefined;
2208
2633
  sourceModelId?: string | undefined;
2209
2634
  isMovableComparents: boolean;
2635
+ ganttData?: {
2636
+ [x: string]: any;
2637
+ id: string;
2638
+ modelId: string;
2639
+ ganttOrTableModelId: string;
2640
+ projectId: string;
2641
+ type: string;
2642
+ sort: string;
2643
+ }[] | undefined;
2644
+ attributeColumns?: {
2645
+ id?: number | undefined;
2646
+ propertyId?: number | undefined;
2647
+ projectId?: string | undefined;
2648
+ modelId?: string | undefined;
2649
+ configId: string;
2650
+ name: string;
2651
+ isShow: boolean;
2652
+ isReadonly: boolean;
2653
+ }[] | undefined;
2654
+ ganttContainsModels?: {
2655
+ projectId: string;
2656
+ ownerId: string;
2657
+ type: string;
2658
+ name: string;
2659
+ isChart: boolean;
2660
+ icon: string;
2661
+ }[] | undefined;
2210
2662
  } | null, Shape | {
2211
2663
  id: string;
2212
2664
  diagramId: string;
2213
2665
  parenShapeId: string;
2214
2666
  shapeKey: string;
2215
- shapeType: "shape" | "edge" | "pin" | "diagram";
2667
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
2216
2668
  bounds: {
2217
2669
  x?: number | undefined;
2218
2670
  y?: number | undefined;
@@ -2372,6 +2824,33 @@ modelTypePropertyId: string;
2372
2824
  targetCreateModel?: string | undefined;
2373
2825
  sourceModelId?: string | undefined;
2374
2826
  isMovableComparents: boolean;
2827
+ ganttData?: {
2828
+ [x: string]: any;
2829
+ id: string;
2830
+ modelId: string;
2831
+ ganttOrTableModelId: string;
2832
+ projectId: string;
2833
+ type: string;
2834
+ sort: string;
2835
+ }[] | undefined;
2836
+ attributeColumns?: {
2837
+ id?: number | undefined;
2838
+ propertyId?: number | undefined;
2839
+ projectId?: string | undefined;
2840
+ modelId?: string | undefined;
2841
+ configId: string;
2842
+ name: string;
2843
+ isShow: boolean;
2844
+ isReadonly: boolean;
2845
+ }[] | undefined;
2846
+ ganttContainsModels?: {
2847
+ projectId: string;
2848
+ ownerId: string;
2849
+ type: string;
2850
+ name: string;
2851
+ isChart: boolean;
2852
+ icon: string;
2853
+ }[] | undefined;
2375
2854
  } | null>;
2376
2855
  diagramTitle: Ref<string, string>;
2377
2856
  isDragging: Ref<boolean, boolean>;
@@ -2391,7 +2870,7 @@ id: string;
2391
2870
  diagramId: string;
2392
2871
  parenShapeId: string;
2393
2872
  shapeKey: string;
2394
- shapeType: "shape" | "edge" | "pin" | "diagram";
2873
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
2395
2874
  bounds: {
2396
2875
  x?: number | undefined;
2397
2876
  y?: number | undefined;
@@ -2551,12 +3030,39 @@ modelTypePropertyId: string;
2551
3030
  targetCreateModel?: string | undefined;
2552
3031
  sourceModelId?: string | undefined;
2553
3032
  isMovableComparents: boolean;
3033
+ ganttData?: {
3034
+ [x: string]: any;
3035
+ id: string;
3036
+ modelId: string;
3037
+ ganttOrTableModelId: string;
3038
+ projectId: string;
3039
+ type: string;
3040
+ sort: string;
3041
+ }[] | undefined;
3042
+ attributeColumns?: {
3043
+ id?: number | undefined;
3044
+ propertyId?: number | undefined;
3045
+ projectId?: string | undefined;
3046
+ modelId?: string | undefined;
3047
+ configId: string;
3048
+ name: string;
3049
+ isShow: boolean;
3050
+ isReadonly: boolean;
3051
+ }[] | undefined;
3052
+ ganttContainsModels?: {
3053
+ projectId: string;
3054
+ ownerId: string;
3055
+ type: string;
3056
+ name: string;
3057
+ isChart: boolean;
3058
+ icon: string;
3059
+ }[] | undefined;
2554
3060
  }[], Shape[] | {
2555
3061
  id: string;
2556
3062
  diagramId: string;
2557
3063
  parenShapeId: string;
2558
3064
  shapeKey: string;
2559
- shapeType: "shape" | "edge" | "pin" | "diagram";
3065
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
2560
3066
  bounds: {
2561
3067
  x?: number | undefined;
2562
3068
  y?: number | undefined;
@@ -2716,6 +3222,33 @@ modelTypePropertyId: string;
2716
3222
  targetCreateModel?: string | undefined;
2717
3223
  sourceModelId?: string | undefined;
2718
3224
  isMovableComparents: boolean;
3225
+ ganttData?: {
3226
+ [x: string]: any;
3227
+ id: string;
3228
+ modelId: string;
3229
+ ganttOrTableModelId: string;
3230
+ projectId: string;
3231
+ type: string;
3232
+ sort: string;
3233
+ }[] | undefined;
3234
+ attributeColumns?: {
3235
+ id?: number | undefined;
3236
+ propertyId?: number | undefined;
3237
+ projectId?: string | undefined;
3238
+ modelId?: string | undefined;
3239
+ configId: string;
3240
+ name: string;
3241
+ isShow: boolean;
3242
+ isReadonly: boolean;
3243
+ }[] | undefined;
3244
+ ganttContainsModels?: {
3245
+ projectId: string;
3246
+ ownerId: string;
3247
+ type: string;
3248
+ name: string;
3249
+ isChart: boolean;
3250
+ icon: string;
3251
+ }[] | undefined;
2719
3252
  }[]>;
2720
3253
  selectedIds: Ref<string[], string[]>;
2721
3254
  hoverContainerId: Ref<string | null, string | null>;
@@ -2725,6 +3258,111 @@ canDropOnCanvas: Ref<boolean, boolean>;
2725
3258
  canOperate: Ref<boolean, boolean>;
2726
3259
  cutShapeIds: Ref<Set<string> & Omit<Set<string>, keyof Set<any>>, Set<string> | (Set<string> & Omit<Set<string>, keyof Set<any>>)>;
2727
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
+ }>;
2728
3366
  taggedValueLabels: Ref<string[], string[]>;
2729
3367
  packagesTypes: Ref<string[], string[]>;
2730
3368
  classMetaTypes: Ref<string[], string[]>;
@@ -2735,6 +3373,7 @@ shapeCount: ComputedRef<number>;
2735
3373
  hasSelectedShape: ComputedRef<boolean>;
2736
3374
  parentChildMap: ComputedRef<Map<string, string[]>>;
2737
3375
  shapeMap: ComputedRef<Map<string, Shape>>;
3376
+ edgesByNodeId: ComputedRef<Map<string, Shape[]>>;
2738
3377
  marqueeShapes: ComputedRef<Shape[]>;
2739
3378
  ghostShadow: ComputedRef<Shape[]>;
2740
3379
  scales: Ref<Record<string, number>, Record<string, number>>;
@@ -2776,7 +3415,7 @@ id: string;
2776
3415
  diagramId: string;
2777
3416
  parenShapeId: string;
2778
3417
  shapeKey: string;
2779
- shapeType: "shape" | "edge" | "pin" | "diagram";
3418
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
2780
3419
  bounds: {
2781
3420
  x?: number | undefined;
2782
3421
  y?: number | undefined;
@@ -2936,6 +3575,33 @@ modelTypePropertyId: string;
2936
3575
  targetCreateModel?: string | undefined;
2937
3576
  sourceModelId?: string | undefined;
2938
3577
  isMovableComparents: boolean;
3578
+ ganttData?: {
3579
+ [x: string]: any;
3580
+ id: string;
3581
+ modelId: string;
3582
+ ganttOrTableModelId: string;
3583
+ projectId: string;
3584
+ type: string;
3585
+ sort: string;
3586
+ }[] | undefined;
3587
+ attributeColumns?: {
3588
+ id?: number | undefined;
3589
+ propertyId?: number | undefined;
3590
+ projectId?: string | undefined;
3591
+ modelId?: string | undefined;
3592
+ configId: string;
3593
+ name: string;
3594
+ isShow: boolean;
3595
+ isReadonly: boolean;
3596
+ }[] | undefined;
3597
+ ganttContainsModels?: {
3598
+ projectId: string;
3599
+ ownerId: string;
3600
+ type: string;
3601
+ name: string;
3602
+ isChart: boolean;
3603
+ icon: string;
3604
+ }[] | undefined;
2939
3605
  }[];
2940
3606
  addDiagram: (diagram: Shape) => void;
2941
3607
  setCurrentDiagramId: (id: string | null) => void;
@@ -2945,8 +3611,8 @@ selectAll: () => void;
2945
3611
  removeSelected: () => void;
2946
3612
  finalCheckCanNest: (childId: string, parentId: string | null) => Promise<boolean>;
2947
3613
  setHoverState: (id: string | null, nestable: boolean | null) => void;
2948
- initializeAllEdgeEndpoints: () => void;
2949
- endResizeShape: (id: string) => void;
3614
+ initializeAllEdgeEndpoints: () => Promise<void>;
3615
+ endResizeShape: (id: string) => Promise<void>;
2950
3616
  getScale: (diagramId?: string | null) => number;
2951
3617
  setScale: (newScale: number, diagramId?: string | null) => void;
2952
3618
  setActiveDiagramId: (id: string | null) => void;
@@ -2959,13 +3625,14 @@ setIsMouseInGraphView: (isIn: boolean) => void;
2959
3625
  setCutShapeIds: (ids: string[]) => void;
2960
3626
  clearCutShapeIds: () => void;
2961
3627
  setCopiedShapesCount: (count: number) => void;
2962
- }, "shapeCount" | "hasSelectedShape" | "parentChildMap" | "shapeMap" | "marqueeShapes" | "ghostShadow" | "currentScale" | "visibleShapes">, Pick<{
3628
+ setMatrixData: (payload: Matrix) => void;
3629
+ }, "shapeCount" | "hasSelectedShape" | "parentChildMap" | "shapeMap" | "edgesByNodeId" | "marqueeShapes" | "ghostShadow" | "currentScale" | "visibleShapes">, Pick<{
2963
3630
  shapes: Ref<{
2964
3631
  id: string;
2965
3632
  diagramId: string;
2966
3633
  parenShapeId: string;
2967
3634
  shapeKey: string;
2968
- shapeType: "shape" | "edge" | "pin" | "diagram";
3635
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
2969
3636
  bounds: {
2970
3637
  x?: number | undefined;
2971
3638
  y?: number | undefined;
@@ -3125,12 +3792,39 @@ modelTypePropertyId: string;
3125
3792
  targetCreateModel?: string | undefined;
3126
3793
  sourceModelId?: string | undefined;
3127
3794
  isMovableComparents: boolean;
3795
+ ganttData?: {
3796
+ [x: string]: any;
3797
+ id: string;
3798
+ modelId: string;
3799
+ ganttOrTableModelId: string;
3800
+ projectId: string;
3801
+ type: string;
3802
+ sort: string;
3803
+ }[] | undefined;
3804
+ attributeColumns?: {
3805
+ id?: number | undefined;
3806
+ propertyId?: number | undefined;
3807
+ projectId?: string | undefined;
3808
+ modelId?: string | undefined;
3809
+ configId: string;
3810
+ name: string;
3811
+ isShow: boolean;
3812
+ isReadonly: boolean;
3813
+ }[] | undefined;
3814
+ ganttContainsModels?: {
3815
+ projectId: string;
3816
+ ownerId: string;
3817
+ type: string;
3818
+ name: string;
3819
+ isChart: boolean;
3820
+ icon: string;
3821
+ }[] | undefined;
3128
3822
  }[], Shape[] | {
3129
3823
  id: string;
3130
3824
  diagramId: string;
3131
3825
  parenShapeId: string;
3132
3826
  shapeKey: string;
3133
- shapeType: "shape" | "edge" | "pin" | "diagram";
3827
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
3134
3828
  bounds: {
3135
3829
  x?: number | undefined;
3136
3830
  y?: number | undefined;
@@ -3290,6 +3984,33 @@ modelTypePropertyId: string;
3290
3984
  targetCreateModel?: string | undefined;
3291
3985
  sourceModelId?: string | undefined;
3292
3986
  isMovableComparents: boolean;
3987
+ ganttData?: {
3988
+ [x: string]: any;
3989
+ id: string;
3990
+ modelId: string;
3991
+ ganttOrTableModelId: string;
3992
+ projectId: string;
3993
+ type: string;
3994
+ sort: string;
3995
+ }[] | undefined;
3996
+ attributeColumns?: {
3997
+ id?: number | undefined;
3998
+ propertyId?: number | undefined;
3999
+ projectId?: string | undefined;
4000
+ modelId?: string | undefined;
4001
+ configId: string;
4002
+ name: string;
4003
+ isShow: boolean;
4004
+ isReadonly: boolean;
4005
+ }[] | undefined;
4006
+ ganttContainsModels?: {
4007
+ projectId: string;
4008
+ ownerId: string;
4009
+ type: string;
4010
+ name: string;
4011
+ isChart: boolean;
4012
+ icon: string;
4013
+ }[] | undefined;
3293
4014
  }[]>;
3294
4015
  pendingNestedIds: Ref<string[], string[]>;
3295
4016
  selectedShape: Ref<{
@@ -3297,7 +4018,7 @@ id: string;
3297
4018
  diagramId: string;
3298
4019
  parenShapeId: string;
3299
4020
  shapeKey: string;
3300
- shapeType: "shape" | "edge" | "pin" | "diagram";
4021
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
3301
4022
  bounds: {
3302
4023
  x?: number | undefined;
3303
4024
  y?: number | undefined;
@@ -3457,12 +4178,39 @@ modelTypePropertyId: string;
3457
4178
  targetCreateModel?: string | undefined;
3458
4179
  sourceModelId?: string | undefined;
3459
4180
  isMovableComparents: boolean;
4181
+ ganttData?: {
4182
+ [x: string]: any;
4183
+ id: string;
4184
+ modelId: string;
4185
+ ganttOrTableModelId: string;
4186
+ projectId: string;
4187
+ type: string;
4188
+ sort: string;
4189
+ }[] | undefined;
4190
+ attributeColumns?: {
4191
+ id?: number | undefined;
4192
+ propertyId?: number | undefined;
4193
+ projectId?: string | undefined;
4194
+ modelId?: string | undefined;
4195
+ configId: string;
4196
+ name: string;
4197
+ isShow: boolean;
4198
+ isReadonly: boolean;
4199
+ }[] | undefined;
4200
+ ganttContainsModels?: {
4201
+ projectId: string;
4202
+ ownerId: string;
4203
+ type: string;
4204
+ name: string;
4205
+ isChart: boolean;
4206
+ icon: string;
4207
+ }[] | undefined;
3460
4208
  } | null, Shape | {
3461
4209
  id: string;
3462
4210
  diagramId: string;
3463
4211
  parenShapeId: string;
3464
4212
  shapeKey: string;
3465
- shapeType: "shape" | "edge" | "pin" | "diagram";
4213
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
3466
4214
  bounds: {
3467
4215
  x?: number | undefined;
3468
4216
  y?: number | undefined;
@@ -3622,6 +4370,33 @@ modelTypePropertyId: string;
3622
4370
  targetCreateModel?: string | undefined;
3623
4371
  sourceModelId?: string | undefined;
3624
4372
  isMovableComparents: boolean;
4373
+ ganttData?: {
4374
+ [x: string]: any;
4375
+ id: string;
4376
+ modelId: string;
4377
+ ganttOrTableModelId: string;
4378
+ projectId: string;
4379
+ type: string;
4380
+ sort: string;
4381
+ }[] | undefined;
4382
+ attributeColumns?: {
4383
+ id?: number | undefined;
4384
+ propertyId?: number | undefined;
4385
+ projectId?: string | undefined;
4386
+ modelId?: string | undefined;
4387
+ configId: string;
4388
+ name: string;
4389
+ isShow: boolean;
4390
+ isReadonly: boolean;
4391
+ }[] | undefined;
4392
+ ganttContainsModels?: {
4393
+ projectId: string;
4394
+ ownerId: string;
4395
+ type: string;
4396
+ name: string;
4397
+ isChart: boolean;
4398
+ icon: string;
4399
+ }[] | undefined;
3625
4400
  } | null>;
3626
4401
  diagramTitle: Ref<string, string>;
3627
4402
  isDragging: Ref<boolean, boolean>;
@@ -3641,7 +4416,7 @@ id: string;
3641
4416
  diagramId: string;
3642
4417
  parenShapeId: string;
3643
4418
  shapeKey: string;
3644
- shapeType: "shape" | "edge" | "pin" | "diagram";
4419
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
3645
4420
  bounds: {
3646
4421
  x?: number | undefined;
3647
4422
  y?: number | undefined;
@@ -3801,12 +4576,39 @@ modelTypePropertyId: string;
3801
4576
  targetCreateModel?: string | undefined;
3802
4577
  sourceModelId?: string | undefined;
3803
4578
  isMovableComparents: boolean;
4579
+ ganttData?: {
4580
+ [x: string]: any;
4581
+ id: string;
4582
+ modelId: string;
4583
+ ganttOrTableModelId: string;
4584
+ projectId: string;
4585
+ type: string;
4586
+ sort: string;
4587
+ }[] | undefined;
4588
+ attributeColumns?: {
4589
+ id?: number | undefined;
4590
+ propertyId?: number | undefined;
4591
+ projectId?: string | undefined;
4592
+ modelId?: string | undefined;
4593
+ configId: string;
4594
+ name: string;
4595
+ isShow: boolean;
4596
+ isReadonly: boolean;
4597
+ }[] | undefined;
4598
+ ganttContainsModels?: {
4599
+ projectId: string;
4600
+ ownerId: string;
4601
+ type: string;
4602
+ name: string;
4603
+ isChart: boolean;
4604
+ icon: string;
4605
+ }[] | undefined;
3804
4606
  }[], Shape[] | {
3805
4607
  id: string;
3806
4608
  diagramId: string;
3807
4609
  parenShapeId: string;
3808
4610
  shapeKey: string;
3809
- shapeType: "shape" | "edge" | "pin" | "diagram";
4611
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
3810
4612
  bounds: {
3811
4613
  x?: number | undefined;
3812
4614
  y?: number | undefined;
@@ -3966,6 +4768,33 @@ modelTypePropertyId: string;
3966
4768
  targetCreateModel?: string | undefined;
3967
4769
  sourceModelId?: string | undefined;
3968
4770
  isMovableComparents: boolean;
4771
+ ganttData?: {
4772
+ [x: string]: any;
4773
+ id: string;
4774
+ modelId: string;
4775
+ ganttOrTableModelId: string;
4776
+ projectId: string;
4777
+ type: string;
4778
+ sort: string;
4779
+ }[] | undefined;
4780
+ attributeColumns?: {
4781
+ id?: number | undefined;
4782
+ propertyId?: number | undefined;
4783
+ projectId?: string | undefined;
4784
+ modelId?: string | undefined;
4785
+ configId: string;
4786
+ name: string;
4787
+ isShow: boolean;
4788
+ isReadonly: boolean;
4789
+ }[] | undefined;
4790
+ ganttContainsModels?: {
4791
+ projectId: string;
4792
+ ownerId: string;
4793
+ type: string;
4794
+ name: string;
4795
+ isChart: boolean;
4796
+ icon: string;
4797
+ }[] | undefined;
3969
4798
  }[]>;
3970
4799
  selectedIds: Ref<string[], string[]>;
3971
4800
  hoverContainerId: Ref<string | null, string | null>;
@@ -3975,6 +4804,111 @@ canDropOnCanvas: Ref<boolean, boolean>;
3975
4804
  canOperate: Ref<boolean, boolean>;
3976
4805
  cutShapeIds: Ref<Set<string> & Omit<Set<string>, keyof Set<any>>, Set<string> | (Set<string> & Omit<Set<string>, keyof Set<any>>)>;
3977
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
+ }>;
3978
4912
  taggedValueLabels: Ref<string[], string[]>;
3979
4913
  packagesTypes: Ref<string[], string[]>;
3980
4914
  classMetaTypes: Ref<string[], string[]>;
@@ -3985,6 +4919,7 @@ shapeCount: ComputedRef<number>;
3985
4919
  hasSelectedShape: ComputedRef<boolean>;
3986
4920
  parentChildMap: ComputedRef<Map<string, string[]>>;
3987
4921
  shapeMap: ComputedRef<Map<string, Shape>>;
4922
+ edgesByNodeId: ComputedRef<Map<string, Shape[]>>;
3988
4923
  marqueeShapes: ComputedRef<Shape[]>;
3989
4924
  ghostShadow: ComputedRef<Shape[]>;
3990
4925
  scales: Ref<Record<string, number>, Record<string, number>>;
@@ -4026,7 +4961,7 @@ id: string;
4026
4961
  diagramId: string;
4027
4962
  parenShapeId: string;
4028
4963
  shapeKey: string;
4029
- shapeType: "shape" | "edge" | "pin" | "diagram";
4964
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
4030
4965
  bounds: {
4031
4966
  x?: number | undefined;
4032
4967
  y?: number | undefined;
@@ -4186,6 +5121,33 @@ modelTypePropertyId: string;
4186
5121
  targetCreateModel?: string | undefined;
4187
5122
  sourceModelId?: string | undefined;
4188
5123
  isMovableComparents: boolean;
5124
+ ganttData?: {
5125
+ [x: string]: any;
5126
+ id: string;
5127
+ modelId: string;
5128
+ ganttOrTableModelId: string;
5129
+ projectId: string;
5130
+ type: string;
5131
+ sort: string;
5132
+ }[] | undefined;
5133
+ attributeColumns?: {
5134
+ id?: number | undefined;
5135
+ propertyId?: number | undefined;
5136
+ projectId?: string | undefined;
5137
+ modelId?: string | undefined;
5138
+ configId: string;
5139
+ name: string;
5140
+ isShow: boolean;
5141
+ isReadonly: boolean;
5142
+ }[] | undefined;
5143
+ ganttContainsModels?: {
5144
+ projectId: string;
5145
+ ownerId: string;
5146
+ type: string;
5147
+ name: string;
5148
+ isChart: boolean;
5149
+ icon: string;
5150
+ }[] | undefined;
4189
5151
  }[];
4190
5152
  addDiagram: (diagram: Shape) => void;
4191
5153
  setCurrentDiagramId: (id: string | null) => void;
@@ -4195,8 +5157,8 @@ selectAll: () => void;
4195
5157
  removeSelected: () => void;
4196
5158
  finalCheckCanNest: (childId: string, parentId: string | null) => Promise<boolean>;
4197
5159
  setHoverState: (id: string | null, nestable: boolean | null) => void;
4198
- initializeAllEdgeEndpoints: () => void;
4199
- endResizeShape: (id: string) => void;
5160
+ initializeAllEdgeEndpoints: () => Promise<void>;
5161
+ endResizeShape: (id: string) => Promise<void>;
4200
5162
  getScale: (diagramId?: string | null) => number;
4201
5163
  setScale: (newScale: number, diagramId?: string | null) => void;
4202
5164
  setActiveDiagramId: (id: string | null) => void;
@@ -4209,7 +5171,8 @@ setIsMouseInGraphView: (isIn: boolean) => void;
4209
5171
  setCutShapeIds: (ids: string[]) => void;
4210
5172
  clearCutShapeIds: () => void;
4211
5173
  setCopiedShapesCount: (count: number) => void;
4212
- }, "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">>;
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">>;
4213
5176
 
4214
5177
  declare interface Waypoint {
4215
5178
  x: number;