@mx-sose-front/mx-sose-graph 1.2.7 → 1.2.9

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 (154) hide show
  1. package/dist/index.d.ts +3 -5259
  2. package/dist/index.esm.js +88 -61
  3. package/dist/index.esm.js.map +1 -1
  4. package/dist/index.umd.js +1 -1
  5. package/dist/index.umd.js.map +1 -1
  6. package/dist/src/components/Common/index.d.ts +3 -0
  7. package/dist/src/components/Common/index.d.ts.map +1 -0
  8. package/dist/src/components/ContextMenu/ContextMenu.vue.d.ts +55 -0
  9. package/dist/src/components/ContextMenu/ContextMenu.vue.d.ts.map +1 -0
  10. package/dist/src/components/Diagram/StrategicTaxonomyDiagram.vue.d.ts +21 -0
  11. package/dist/src/components/Diagram/StrategicTaxonomyDiagram.vue.d.ts.map +1 -0
  12. package/dist/src/components/DiagramListTooltip/DiagramListTooltip.vue.d.ts +32 -0
  13. package/dist/src/components/DiagramListTooltip/DiagramListTooltip.vue.d.ts.map +1 -0
  14. package/dist/src/components/Edge/Edge.vue.d.ts +36 -0
  15. package/dist/src/components/Edge/Edge.vue.d.ts.map +1 -0
  16. package/dist/src/components/Gantt/Gantt.vue.d.ts +17 -0
  17. package/dist/src/components/Gantt/Gantt.vue.d.ts.map +1 -0
  18. package/dist/src/components/GanttContextMenu/GanttContextMenu.vue.d.ts +37 -0
  19. package/dist/src/components/GanttContextMenu/GanttContextMenu.vue.d.ts.map +1 -0
  20. package/dist/src/components/InteractionLayer.vue.d.ts +28 -0
  21. package/dist/src/components/InteractionLayer.vue.d.ts.map +1 -0
  22. package/dist/src/components/LineStyle/ConnectionLine.vue.d.ts +30 -0
  23. package/dist/src/components/LineStyle/ConnectionLine.vue.d.ts.map +1 -0
  24. package/dist/src/components/LineStyle/LineStyleMarker.vue.d.ts +15 -0
  25. package/dist/src/components/LineStyle/LineStyleMarker.vue.d.ts.map +1 -0
  26. package/dist/src/components/Matrix/Matrix.vue.d.ts +9 -0
  27. package/dist/src/components/Matrix/Matrix.vue.d.ts.map +1 -0
  28. package/dist/src/components/Matrix/index.d.ts +34 -0
  29. package/dist/src/components/Matrix/index.d.ts.map +1 -0
  30. package/dist/src/components/MatrixContextMenu/MatrixContextMenu.vue.d.ts +31 -0
  31. package/dist/src/components/MatrixContextMenu/MatrixContextMenu.vue.d.ts.map +1 -0
  32. package/dist/src/components/NameEditor/NameEditor.vue.d.ts +30 -0
  33. package/dist/src/components/NameEditor/NameEditor.vue.d.ts.map +1 -0
  34. package/dist/src/components/Pin/Pin.vue.d.ts +25 -0
  35. package/dist/src/components/Pin/Pin.vue.d.ts.map +1 -0
  36. package/dist/src/components/Pin/Port.vue.d.ts +23 -0
  37. package/dist/src/components/Pin/Port.vue.d.ts.map +1 -0
  38. package/dist/src/components/SelectionBox/SelectionBox.vue.d.ts +30 -0
  39. package/dist/src/components/SelectionBox/SelectionBox.vue.d.ts.map +1 -0
  40. package/dist/src/components/Shape/Action.vue.d.ts +25 -0
  41. package/dist/src/components/Shape/Action.vue.d.ts.map +1 -0
  42. package/dist/src/components/Shape/ActivityAction.vue.d.ts +25 -0
  43. package/dist/src/components/Shape/ActivityAction.vue.d.ts.map +1 -0
  44. package/dist/src/components/Shape/Block.vue.d.ts +25 -0
  45. package/dist/src/components/Shape/Block.vue.d.ts.map +1 -0
  46. package/dist/src/components/Shape/ConceptualRole.vue.d.ts +25 -0
  47. package/dist/src/components/Shape/ConceptualRole.vue.d.ts.map +1 -0
  48. package/dist/src/components/Shape/Diagram.vue.d.ts +25 -0
  49. package/dist/src/components/Shape/Diagram.vue.d.ts.map +1 -0
  50. package/dist/src/components/Shape/DividingLine.vue.d.ts +36 -0
  51. package/dist/src/components/Shape/DividingLine.vue.d.ts.map +1 -0
  52. package/dist/src/components/Shape/DogEar.vue.d.ts +25 -0
  53. package/dist/src/components/Shape/DogEar.vue.d.ts.map +1 -0
  54. package/dist/src/components/Shape/Package.vue.d.ts +25 -0
  55. package/dist/src/components/Shape/Package.vue.d.ts.map +1 -0
  56. package/dist/src/components/Table/Table.vue.d.ts +20 -0
  57. package/dist/src/components/Table/Table.vue.d.ts.map +1 -0
  58. package/dist/src/constants/edgeShapeKeys.d.ts +46 -0
  59. package/dist/src/constants/edgeShapeKeys.d.ts.map +1 -0
  60. package/dist/src/constants/index.d.ts +668 -0
  61. package/dist/src/constants/index.d.ts.map +1 -0
  62. package/dist/src/hooks/index.d.ts +6 -0
  63. package/dist/src/hooks/index.d.ts.map +1 -0
  64. package/dist/src/hooks/useChartRowSelection.d.ts +89 -0
  65. package/dist/src/hooks/useChartRowSelection.d.ts.map +1 -0
  66. package/dist/src/hooks/useHighlight.d.ts +82 -0
  67. package/dist/src/hooks/useHighlight.d.ts.map +1 -0
  68. package/dist/src/hooks/useNameEdit.d.ts +76 -0
  69. package/dist/src/hooks/useNameEdit.d.ts.map +1 -0
  70. package/dist/src/hooks/useResize.d.ts +65 -0
  71. package/dist/src/hooks/useResize.d.ts.map +1 -0
  72. package/dist/src/hooks/useVirtualScroll.d.ts +110 -0
  73. package/dist/src/hooks/useVirtualScroll.d.ts.map +1 -0
  74. package/dist/src/index.d.ts +18 -0
  75. package/dist/src/index.d.ts.map +1 -0
  76. package/dist/src/render/shape-registry.d.ts +9 -0
  77. package/dist/src/render/shape-registry.d.ts.map +1 -0
  78. package/dist/src/render/shape-renderer.d.ts +12 -0
  79. package/dist/src/render/shape-renderer.d.ts.map +1 -0
  80. package/dist/src/store/eventBus.d.ts +10 -0
  81. package/dist/src/store/eventBus.d.ts.map +1 -0
  82. package/dist/src/store/graphStore.d.ts +4644 -0
  83. package/dist/src/store/graphStore.d.ts.map +1 -0
  84. package/dist/src/store/index.d.ts +3 -0
  85. package/dist/src/store/index.d.ts.map +1 -0
  86. package/dist/src/types/index.d.ts +279 -0
  87. package/dist/src/types/index.d.ts.map +1 -0
  88. package/dist/src/types/interactionLayer.d.ts +23 -0
  89. package/dist/src/types/interactionLayer.d.ts.map +1 -0
  90. package/dist/src/utils/autoExpandParent.d.ts +38 -0
  91. package/dist/src/utils/autoExpandParent.d.ts.map +1 -0
  92. package/dist/src/utils/batchAutoExpand.d.ts +12 -0
  93. package/dist/src/utils/batchAutoExpand.d.ts.map +1 -0
  94. package/dist/src/utils/colorUtils.d.ts +38 -0
  95. package/dist/src/utils/colorUtils.d.ts.map +1 -0
  96. package/dist/src/utils/compartment.d.ts +92 -0
  97. package/dist/src/utils/compartment.d.ts.map +1 -0
  98. package/dist/src/utils/containers.d.ts +119 -0
  99. package/dist/src/utils/containers.d.ts.map +1 -0
  100. package/dist/src/utils/contextMenuUtils.d.ts +108 -0
  101. package/dist/src/utils/contextMenuUtils.d.ts.map +1 -0
  102. package/dist/src/utils/dateUtils.d.ts +77 -0
  103. package/dist/src/utils/dateUtils.d.ts.map +1 -0
  104. package/dist/src/utils/diagram.d.ts +289 -0
  105. package/dist/src/utils/diagram.d.ts.map +1 -0
  106. package/dist/src/utils/dom.d.ts +2 -0
  107. package/dist/src/utils/dom.d.ts.map +1 -0
  108. package/dist/src/utils/drag.d.ts +65 -0
  109. package/dist/src/utils/drag.d.ts.map +1 -0
  110. package/dist/src/utils/edgeUtils.d.ts +326 -0
  111. package/dist/src/utils/edgeUtils.d.ts.map +1 -0
  112. package/dist/src/utils/edgeWorker.d.ts +182 -0
  113. package/dist/src/utils/edgeWorker.d.ts.map +1 -0
  114. package/dist/src/utils/geom.d.ts +103 -0
  115. package/dist/src/utils/geom.d.ts.map +1 -0
  116. package/dist/src/utils/graphDragService.d.ts +62 -0
  117. package/dist/src/utils/graphDragService.d.ts.map +1 -0
  118. package/dist/src/utils/hittest.d.ts +27 -0
  119. package/dist/src/utils/hittest.d.ts.map +1 -0
  120. package/dist/src/utils/iconLoader.d.ts +16 -0
  121. package/dist/src/utils/iconLoader.d.ts.map +1 -0
  122. package/dist/src/utils/index.d.ts +8 -0
  123. package/dist/src/utils/index.d.ts.map +1 -0
  124. package/dist/src/utils/keyboardUtils.d.ts +25 -0
  125. package/dist/src/utils/keyboardUtils.d.ts.map +1 -0
  126. package/dist/src/utils/license-guard.d.ts +10 -0
  127. package/dist/src/utils/license-guard.d.ts.map +1 -0
  128. package/dist/src/utils/packageOutline.d.ts +32 -0
  129. package/dist/src/utils/packageOutline.d.ts.map +1 -0
  130. package/dist/src/utils/pinUtils.d.ts +79 -0
  131. package/dist/src/utils/pinUtils.d.ts.map +1 -0
  132. package/dist/src/utils/policy.d.ts +44 -0
  133. package/dist/src/utils/policy.d.ts.map +1 -0
  134. package/dist/src/utils/rafThrottle.d.ts +63 -0
  135. package/dist/src/utils/rafThrottle.d.ts.map +1 -0
  136. package/dist/src/utils/shapeOps/shapeOps.d.ts +21 -0
  137. package/dist/src/utils/shapeOps/shapeOps.d.ts.map +1 -0
  138. package/dist/src/utils/viewportCulling.d.ts +73 -0
  139. package/dist/src/utils/viewportCulling.d.ts.map +1 -0
  140. package/dist/src/utils/workerManager.d.ts +86 -0
  141. package/dist/src/utils/workerManager.d.ts.map +1 -0
  142. package/dist/src/utils/zorder.d.ts +4 -0
  143. package/dist/src/utils/zorder.d.ts.map +1 -0
  144. package/dist/src/view/graph.vue.d.ts +180 -0
  145. package/dist/src/view/graph.vue.d.ts.map +1 -0
  146. package/dist/style.css +1 -1
  147. package/package.json +1 -1
  148. package/src/components/ContextMenu/ContextMenu.vue +2 -2
  149. package/src/store/graphStore.ts +0 -4
  150. package/src/utils/edgeUtils.ts +77 -63
  151. package/src/utils/workerManager.ts +4 -1
  152. package/src/view/graph.vue +2 -2
  153. package/src/vite-env.d.ts +2 -2
  154. package/dist/assets/edgeWorker-b57ca007.js +0 -2
@@ -0,0 +1,25 @@
1
+ import { Shape } from '../../types';
2
+
3
+ interface Props {
4
+ shape: Shape;
5
+ }
6
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "shape-click": (shape: Shape, event: MouseEvent) => void;
8
+ "keywords-click": (shape: Shape, event: MouseEvent) => void;
9
+ "name-click": (shape: Shape, event: MouseEvent) => void;
10
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
11
+ "onShape-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
12
+ "onKeywords-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
13
+ "onName-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
15
+ export default _default;
16
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
+ type __VLS_TypePropsToRuntimeProps<T> = {
18
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
19
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
+ } : {
21
+ type: import('vue').PropType<T[K]>;
22
+ required: true;
23
+ };
24
+ };
25
+ //# sourceMappingURL=Block.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Block.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Shape/Block.vue"],"names":[],"mappings":"AAyCA;AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAcxC,UAAU,KAAK;IACb,KAAK,EAAE,KAAK,CAAA;CACb;;;;;;;;;;AAsaD,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { Shape } from '../../types';
2
+
3
+ interface Props {
4
+ shape: Shape;
5
+ }
6
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "shape-click": (shape: Shape, event: MouseEvent) => void;
8
+ "image-click": (shape: Shape, event: MouseEvent) => void;
9
+ "name-click": (shape: Shape, event: MouseEvent) => void;
10
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
11
+ "onShape-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
12
+ "onName-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
13
+ "onImage-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
15
+ export default _default;
16
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
+ type __VLS_TypePropsToRuntimeProps<T> = {
18
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
19
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
+ } : {
21
+ type: import('vue').PropType<T[K]>;
22
+ required: true;
23
+ };
24
+ };
25
+ //# sourceMappingURL=ConceptualRole.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConceptualRole.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Shape/ConceptualRole.vue"],"names":[],"mappings":"AAsCA;AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAQxC,UAAU,KAAK;IACb,KAAK,EAAE,KAAK,CAAA;CACb;;;;;;;;;;AAuRD,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { Shape } from '../../types';
2
+
3
+ interface Props {
4
+ shape: Shape;
5
+ }
6
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "shape-click": (shape: Shape, event: MouseEvent) => void;
8
+ "image-click": (shape: Shape, event: MouseEvent) => void;
9
+ "name-click": (shape: Shape, event: MouseEvent) => void;
10
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
11
+ "onShape-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
12
+ "onName-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
13
+ "onImage-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
15
+ export default _default;
16
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
+ type __VLS_TypePropsToRuntimeProps<T> = {
18
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
19
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
+ } : {
21
+ type: import('vue').PropType<T[K]>;
22
+ required: true;
23
+ };
24
+ };
25
+ //# sourceMappingURL=Diagram.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Diagram.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Shape/Diagram.vue"],"names":[],"mappings":"AAgDA;AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAQxC,UAAU,KAAK;IACb,KAAK,EAAE,KAAK,CAAA;CACb;;;;;;;;;;AAgSD,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { Shape } from '../../types';
2
+
3
+ interface Props {
4
+ shape: Shape;
5
+ upperHeight?: number;
6
+ }
7
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ "shape-click": (shape: Shape, event: MouseEvent) => void;
9
+ "keywords-click": (shape: Shape, event: MouseEvent) => void;
10
+ "name-click": (shape: Shape, event: MouseEvent) => void;
11
+ "update:keywords": (value: string, shape: Shape) => void;
12
+ "compartment-metrics": (payload: {
13
+ headerH: number;
14
+ contentH: number;
15
+ }, shape: Shape) => void;
16
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
17
+ "onShape-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
18
+ "onKeywords-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
19
+ "onName-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
20
+ "onUpdate:keywords"?: ((value: string, shape: Shape) => any) | undefined;
21
+ "onCompartment-metrics"?: ((payload: {
22
+ headerH: number;
23
+ contentH: number;
24
+ }, shape: Shape) => any) | undefined;
25
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
26
+ export default _default;
27
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
+ type __VLS_TypePropsToRuntimeProps<T> = {
29
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
30
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
+ } : {
32
+ type: import('vue').PropType<T[K]>;
33
+ required: true;
34
+ };
35
+ };
36
+ //# sourceMappingURL=DividingLine.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DividingLine.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Shape/DividingLine.vue"],"names":[],"mappings":"AAqEA;AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAWxC,UAAU,KAAK;IACb,KAAK,EAAE,KAAK,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;;;;;;;;;;;;;;;;;;;;AA0vBD,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { Shape } from '../../types';
2
+
3
+ interface Props {
4
+ shape: Shape;
5
+ }
6
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "shape-click": (shape: Shape, event: MouseEvent) => void;
8
+ "keywords-click": (shape: Shape, event: MouseEvent) => void;
9
+ "name-click": (shape: Shape, event: MouseEvent) => void;
10
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
11
+ "onShape-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
12
+ "onKeywords-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
13
+ "onName-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
15
+ export default _default;
16
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
+ type __VLS_TypePropsToRuntimeProps<T> = {
18
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
19
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
+ } : {
21
+ type: import('vue').PropType<T[K]>;
22
+ required: true;
23
+ };
24
+ };
25
+ //# sourceMappingURL=DogEar.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DogEar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Shape/DogEar.vue"],"names":[],"mappings":"AAwDA;AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAQxC,UAAU,KAAK;IACb,KAAK,EAAE,KAAK,CAAA;CACb;;;;;;;;;;AA+VD,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { Shape } from '../../types';
2
+
3
+ interface Props {
4
+ shape: Shape;
5
+ }
6
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "shape-click": (shape: Shape, event: MouseEvent) => void;
8
+ "keywords-click": (shape: Shape, event: MouseEvent) => void;
9
+ "name-click": (shape: Shape, event: MouseEvent) => void;
10
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
11
+ "onShape-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
12
+ "onKeywords-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
13
+ "onName-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
15
+ export default _default;
16
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
+ type __VLS_TypePropsToRuntimeProps<T> = {
18
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
19
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
+ } : {
21
+ type: import('vue').PropType<T[K]>;
22
+ required: true;
23
+ };
24
+ };
25
+ //# sourceMappingURL=Package.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Package.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Shape/Package.vue"],"names":[],"mappings":"AAoEA;AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAWxC,UAAU,KAAK;IAAG,KAAK,EAAE,KAAK,CAAA;CAAE;;;;;;;;;;AAogBhC,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { Shape } from '../../types';
2
+
3
+ /**
4
+ * 组件入参
5
+ */
6
+ interface Props {
7
+ shape: Shape;
8
+ }
9
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
10
+ export default _default;
11
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
+ type __VLS_TypePropsToRuntimeProps<T> = {
13
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
14
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
15
+ } : {
16
+ type: import('vue').PropType<T[K]>;
17
+ required: true;
18
+ };
19
+ };
20
+ //# sourceMappingURL=Table.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Table.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/Table.vue"],"names":[],"mappings":"AAyOA;AAGA,OAAO,KAAK,EAAE,KAAK,EAA0B,MAAM,aAAa,CAAC;AAOjE;;GAEG;AACH,UAAU,KAAK;IACb,KAAK,EAAE,KAAK,CAAC;CACd;;AA+/CD,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -0,0 +1,46 @@
1
+ /**
2
+ * 边类型常量定义
3
+ * 集中管理所有组件中用到的边类型shapeKey集合,便于统一维护和修改
4
+ */
5
+ export declare const EDGE_TYPE: {
6
+ /** 定向聚合:带菱形起点和空心箭头终点 */
7
+ DIRECTED_AGGREGATION: string;
8
+ /** 聚合:带菱形起点 */
9
+ AGGREGATION: string;
10
+ /** 定向组成:带实心菱形起点和空心箭头终点 */
11
+ DIRECTED_COMPOSITION: string;
12
+ /** 组成:带实心菱形起点 */
13
+ COMPOSITION: string;
14
+ /** 泛化:带空心三角形箭头 */
15
+ GENERALIZATION: string;
16
+ /** 默认关联 */
17
+ ASSOCIATION: string;
18
+ /** 定向关联:带空心箭头终点的实线 */
19
+ DIRECTED_ASSOCIATION: string;
20
+ };
21
+ /**
22
+ * 虚线样式的边类型集合
23
+ * 适用于需要使用虚线显示的边,如流程、依赖关系等
24
+ */
25
+ export declare const DASHED_EDGE_SHAPES: string[];
26
+ /**
27
+ * 需要显示keywords和lineName的边类型集合
28
+ * 与DASHED_EDGE_SHAPES保持一致,便于统一管理
29
+ */
30
+ export declare const EDGES_WITH_KEYWORDS: string[];
31
+ /**
32
+ * 带箭头的边类型集合
33
+ * 包含所有虚线边类型和具有方向性的聚合/组成关系,以及定向关联
34
+ */
35
+ export declare const EDGES_WITH_ARROWHEADS: string[];
36
+ /**
37
+ * 带菱形起点标记的边类型集合
38
+ * 适用于聚合和组成关系类型的边
39
+ */
40
+ export declare const DIAMOND_MARKER_SHAPES: string[];
41
+ /**
42
+ * 需要特殊终点处理的边类型集合
43
+ * 如泛化关系等需要特殊调整终点位置的类型
44
+ */
45
+ export declare const SPECIAL_END_POINT_SHAPES: string[];
46
+ //# sourceMappingURL=edgeShapeKeys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edgeShapeKeys.d.ts","sourceRoot":"","sources":["../../../src/constants/edgeShapeKeys.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,eAAO,MAAM,SAAS;IACpB,wBAAwB;;IAExB,eAAe;;IAEf,0BAA0B;;IAE1B,iBAAiB;;IAEjB,kBAAkB;;IAElB,WAAW;;IAEX,sBAAsB;;CAEvB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,UAgC9B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,UAgC/B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,UAKjC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,UAKjC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,wBAAwB,UAEpC,CAAC"}