@mx-sose-front/mx-sose-graph 1.2.6 → 1.2.8

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 (152) hide show
  1. package/dist/index.d.ts +3 -5259
  2. package/dist/index.esm.js +19 -4
  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 +2 -2
  150. package/src/utils/workerManager.ts +4 -1
  151. package/src/vite-env.d.ts +2 -2
  152. package/dist/assets/edgeWorker-b57ca007.js +0 -2
@@ -0,0 +1,4644 @@
1
+ import { Ref } from 'vue';
2
+ import { Shape, Matrix } from '../types';
3
+ import { ShapeOp } from '../utils/shapeOps/shapeOps';
4
+
5
+ export declare const useGraphStore: import('pinia').StoreDefinition<"graph", Pick<{
6
+ shapes: Ref<{
7
+ id: string;
8
+ diagramId: string;
9
+ parenShapeId: string;
10
+ shapeKey: string;
11
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
12
+ bounds: {
13
+ x?: number | undefined;
14
+ y?: number | undefined;
15
+ width?: number | undefined;
16
+ height?: number | undefined;
17
+ };
18
+ style?: {
19
+ fontSize?: number | undefined;
20
+ fontFamily?: string | undefined;
21
+ fontWeight?: string | undefined;
22
+ color?: string | undefined;
23
+ backgroundColor?: string | undefined;
24
+ borderColor?: string | undefined;
25
+ borderWidth?: number | undefined;
26
+ borderRadius?: number | undefined;
27
+ padding?: number | {
28
+ top: number;
29
+ right: number;
30
+ bottom: number;
31
+ left: number;
32
+ } | undefined;
33
+ margin?: number | undefined;
34
+ zIndex?: number | undefined;
35
+ canvasBorderWidth?: number | undefined;
36
+ canvasBorderColor?: string | undefined;
37
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
38
+ canvasNameFontSize?: number | undefined;
39
+ canvasNameFontFamily?: string | undefined;
40
+ canvasNameFontColor?: string | undefined;
41
+ gradientLeftColor?: string | undefined;
42
+ gradientRightColor?: string | undefined;
43
+ textAnchor?: string | undefined;
44
+ dominantBaseline?: string | undefined;
45
+ } | undefined;
46
+ keywords: string;
47
+ keywordsBounds?: {
48
+ x?: number | undefined;
49
+ y?: number | undefined;
50
+ width?: number | undefined;
51
+ height?: number | undefined;
52
+ } | undefined;
53
+ keywordsStyle?: {
54
+ fontSize?: number | undefined;
55
+ fontFamily?: string | undefined;
56
+ fontWeight?: string | undefined;
57
+ color?: string | undefined;
58
+ backgroundColor?: string | undefined;
59
+ borderColor?: string | undefined;
60
+ borderWidth?: number | undefined;
61
+ borderRadius?: number | undefined;
62
+ padding?: number | {
63
+ top: number;
64
+ right: number;
65
+ bottom: number;
66
+ left: number;
67
+ } | undefined;
68
+ margin?: number | undefined;
69
+ zIndex?: number | undefined;
70
+ canvasBorderWidth?: number | undefined;
71
+ canvasBorderColor?: string | undefined;
72
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
73
+ canvasNameFontSize?: number | undefined;
74
+ canvasNameFontFamily?: string | undefined;
75
+ canvasNameFontColor?: string | undefined;
76
+ gradientLeftColor?: string | undefined;
77
+ gradientRightColor?: string | undefined;
78
+ textAnchor?: string | undefined;
79
+ dominantBaseline?: string | undefined;
80
+ } | undefined;
81
+ icon?: string | undefined;
82
+ modelId: string;
83
+ modelName: string;
84
+ names: string;
85
+ name: string;
86
+ nameBounds?: {
87
+ x?: number | undefined;
88
+ y?: number | undefined;
89
+ width?: number | undefined;
90
+ height?: number | undefined;
91
+ } | undefined;
92
+ nameStyle?: {
93
+ fontSize?: number | undefined;
94
+ fontFamily?: string | undefined;
95
+ fontWeight?: string | undefined;
96
+ color?: string | undefined;
97
+ backgroundColor?: string | undefined;
98
+ borderColor?: string | undefined;
99
+ borderWidth?: number | undefined;
100
+ borderRadius?: number | undefined;
101
+ padding?: number | {
102
+ top: number;
103
+ right: number;
104
+ bottom: number;
105
+ left: number;
106
+ } | undefined;
107
+ margin?: number | undefined;
108
+ zIndex?: number | undefined;
109
+ canvasBorderWidth?: number | undefined;
110
+ canvasBorderColor?: string | undefined;
111
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
112
+ canvasNameFontSize?: number | undefined;
113
+ canvasNameFontFamily?: string | undefined;
114
+ canvasNameFontColor?: string | undefined;
115
+ gradientLeftColor?: string | undefined;
116
+ gradientRightColor?: string | undefined;
117
+ textAnchor?: string | undefined;
118
+ dominantBaseline?: string | undefined;
119
+ } | undefined;
120
+ direction?: string | undefined;
121
+ sourceId?: string | undefined;
122
+ targetId?: string | undefined;
123
+ waypointId?: string | undefined;
124
+ waypoints?: {
125
+ x: number;
126
+ y: number;
127
+ }[] | undefined;
128
+ showKeywords: boolean;
129
+ showIcon: boolean;
130
+ showName: boolean;
131
+ showTaggedValues: boolean;
132
+ showComparents: boolean;
133
+ taggedValueLabels?: {
134
+ id: string;
135
+ modelId: string;
136
+ modelName: string;
137
+ names: string;
138
+ name: string;
139
+ nameBounds?: string | undefined;
140
+ nameStyle?: string | undefined;
141
+ }[] | undefined;
142
+ comparents?: {
143
+ bounds: {
144
+ x?: number | undefined;
145
+ y?: number | undefined;
146
+ width?: number | undefined;
147
+ height?: number | undefined;
148
+ };
149
+ modelId: string;
150
+ modelName: string;
151
+ comparentShapes: any[];
152
+ }[] | undefined;
153
+ meta?: any;
154
+ scenarioMenus?: {
155
+ [x: string]: any;
156
+ code: string;
157
+ name: string;
158
+ icon: string;
159
+ sourceModels: string[];
160
+ targetCreateModel: string;
161
+ targetModels: string[];
162
+ }[] | undefined;
163
+ inert?: boolean | undefined;
164
+ isCut?: boolean | undefined;
165
+ sourceModels?: string[] | undefined;
166
+ targetModels?: string[] | undefined;
167
+ modelTypePropertyId: string;
168
+ targetCreateModel?: string | undefined;
169
+ sourceModelId?: string | undefined;
170
+ isMovableComparents: boolean;
171
+ ganttData?: {
172
+ [x: string]: any;
173
+ id: string;
174
+ modelId: string;
175
+ ganttOrTableModelId: string;
176
+ projectId: string;
177
+ type: string;
178
+ sort: string;
179
+ }[] | undefined;
180
+ attributeColumns?: {
181
+ id?: number | undefined;
182
+ propertyId?: number | undefined;
183
+ projectId?: string | undefined;
184
+ modelId?: string | undefined;
185
+ configId: string;
186
+ name: string;
187
+ isShow: boolean;
188
+ isReadonly: boolean;
189
+ }[] | undefined;
190
+ ganttContainsModels?: {
191
+ projectId: string;
192
+ ownerId: string;
193
+ type: string;
194
+ name: string;
195
+ isChart: boolean;
196
+ icon: string;
197
+ }[] | undefined;
198
+ }[], Shape[] | {
199
+ id: string;
200
+ diagramId: string;
201
+ parenShapeId: string;
202
+ shapeKey: string;
203
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
204
+ bounds: {
205
+ x?: number | undefined;
206
+ y?: number | undefined;
207
+ width?: number | undefined;
208
+ height?: number | undefined;
209
+ };
210
+ style?: {
211
+ fontSize?: number | undefined;
212
+ fontFamily?: string | undefined;
213
+ fontWeight?: string | undefined;
214
+ color?: string | undefined;
215
+ backgroundColor?: string | undefined;
216
+ borderColor?: string | undefined;
217
+ borderWidth?: number | undefined;
218
+ borderRadius?: number | undefined;
219
+ padding?: number | {
220
+ top: number;
221
+ right: number;
222
+ bottom: number;
223
+ left: number;
224
+ } | undefined;
225
+ margin?: number | undefined;
226
+ zIndex?: number | undefined;
227
+ canvasBorderWidth?: number | undefined;
228
+ canvasBorderColor?: string | undefined;
229
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
230
+ canvasNameFontSize?: number | undefined;
231
+ canvasNameFontFamily?: string | undefined;
232
+ canvasNameFontColor?: string | undefined;
233
+ gradientLeftColor?: string | undefined;
234
+ gradientRightColor?: string | undefined;
235
+ textAnchor?: string | undefined;
236
+ dominantBaseline?: string | undefined;
237
+ } | undefined;
238
+ keywords: string;
239
+ keywordsBounds?: {
240
+ x?: number | undefined;
241
+ y?: number | undefined;
242
+ width?: number | undefined;
243
+ height?: number | undefined;
244
+ } | undefined;
245
+ keywordsStyle?: {
246
+ fontSize?: number | undefined;
247
+ fontFamily?: string | undefined;
248
+ fontWeight?: string | undefined;
249
+ color?: string | undefined;
250
+ backgroundColor?: string | undefined;
251
+ borderColor?: string | undefined;
252
+ borderWidth?: number | undefined;
253
+ borderRadius?: number | undefined;
254
+ padding?: number | {
255
+ top: number;
256
+ right: number;
257
+ bottom: number;
258
+ left: number;
259
+ } | undefined;
260
+ margin?: number | undefined;
261
+ zIndex?: number | undefined;
262
+ canvasBorderWidth?: number | undefined;
263
+ canvasBorderColor?: string | undefined;
264
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
265
+ canvasNameFontSize?: number | undefined;
266
+ canvasNameFontFamily?: string | undefined;
267
+ canvasNameFontColor?: string | undefined;
268
+ gradientLeftColor?: string | undefined;
269
+ gradientRightColor?: string | undefined;
270
+ textAnchor?: string | undefined;
271
+ dominantBaseline?: string | undefined;
272
+ } | undefined;
273
+ icon?: string | undefined;
274
+ modelId: string;
275
+ modelName: string;
276
+ names: string;
277
+ name: string;
278
+ nameBounds?: {
279
+ x?: number | undefined;
280
+ y?: number | undefined;
281
+ width?: number | undefined;
282
+ height?: number | undefined;
283
+ } | undefined;
284
+ nameStyle?: {
285
+ fontSize?: number | undefined;
286
+ fontFamily?: string | undefined;
287
+ fontWeight?: string | undefined;
288
+ color?: string | undefined;
289
+ backgroundColor?: string | undefined;
290
+ borderColor?: string | undefined;
291
+ borderWidth?: number | undefined;
292
+ borderRadius?: number | undefined;
293
+ padding?: number | {
294
+ top: number;
295
+ right: number;
296
+ bottom: number;
297
+ left: number;
298
+ } | undefined;
299
+ margin?: number | undefined;
300
+ zIndex?: number | undefined;
301
+ canvasBorderWidth?: number | undefined;
302
+ canvasBorderColor?: string | undefined;
303
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
304
+ canvasNameFontSize?: number | undefined;
305
+ canvasNameFontFamily?: string | undefined;
306
+ canvasNameFontColor?: string | undefined;
307
+ gradientLeftColor?: string | undefined;
308
+ gradientRightColor?: string | undefined;
309
+ textAnchor?: string | undefined;
310
+ dominantBaseline?: string | undefined;
311
+ } | undefined;
312
+ direction?: string | undefined;
313
+ sourceId?: string | undefined;
314
+ targetId?: string | undefined;
315
+ waypointId?: string | undefined;
316
+ waypoints?: {
317
+ x: number;
318
+ y: number;
319
+ }[] | undefined;
320
+ showKeywords: boolean;
321
+ showIcon: boolean;
322
+ showName: boolean;
323
+ showTaggedValues: boolean;
324
+ showComparents: boolean;
325
+ taggedValueLabels?: {
326
+ id: string;
327
+ modelId: string;
328
+ modelName: string;
329
+ names: string;
330
+ name: string;
331
+ nameBounds?: string | undefined;
332
+ nameStyle?: string | undefined;
333
+ }[] | undefined;
334
+ comparents?: {
335
+ bounds: {
336
+ x?: number | undefined;
337
+ y?: number | undefined;
338
+ width?: number | undefined;
339
+ height?: number | undefined;
340
+ };
341
+ modelId: string;
342
+ modelName: string;
343
+ comparentShapes: any[];
344
+ }[] | undefined;
345
+ meta?: any;
346
+ scenarioMenus?: {
347
+ [x: string]: any;
348
+ code: string;
349
+ name: string;
350
+ icon: string;
351
+ sourceModels: string[];
352
+ targetCreateModel: string;
353
+ targetModels: string[];
354
+ }[] | undefined;
355
+ inert?: boolean | undefined;
356
+ isCut?: boolean | undefined;
357
+ sourceModels?: string[] | undefined;
358
+ targetModels?: string[] | undefined;
359
+ modelTypePropertyId: string;
360
+ targetCreateModel?: string | undefined;
361
+ sourceModelId?: string | undefined;
362
+ isMovableComparents: boolean;
363
+ ganttData?: {
364
+ [x: string]: any;
365
+ id: string;
366
+ modelId: string;
367
+ ganttOrTableModelId: string;
368
+ projectId: string;
369
+ type: string;
370
+ sort: string;
371
+ }[] | undefined;
372
+ attributeColumns?: {
373
+ id?: number | undefined;
374
+ propertyId?: number | undefined;
375
+ projectId?: string | undefined;
376
+ modelId?: string | undefined;
377
+ configId: string;
378
+ name: string;
379
+ isShow: boolean;
380
+ isReadonly: boolean;
381
+ }[] | undefined;
382
+ ganttContainsModels?: {
383
+ projectId: string;
384
+ ownerId: string;
385
+ type: string;
386
+ name: string;
387
+ isChart: boolean;
388
+ icon: string;
389
+ }[] | undefined;
390
+ }[]>;
391
+ pendingNestedIds: Ref<string[], string[]>;
392
+ selectedShape: Ref<{
393
+ id: string;
394
+ diagramId: string;
395
+ parenShapeId: string;
396
+ shapeKey: string;
397
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
398
+ bounds: {
399
+ x?: number | undefined;
400
+ y?: number | undefined;
401
+ width?: number | undefined;
402
+ height?: number | undefined;
403
+ };
404
+ style?: {
405
+ fontSize?: number | undefined;
406
+ fontFamily?: string | undefined;
407
+ fontWeight?: string | undefined;
408
+ color?: string | undefined;
409
+ backgroundColor?: string | undefined;
410
+ borderColor?: string | undefined;
411
+ borderWidth?: number | undefined;
412
+ borderRadius?: number | undefined;
413
+ padding?: number | {
414
+ top: number;
415
+ right: number;
416
+ bottom: number;
417
+ left: number;
418
+ } | undefined;
419
+ margin?: number | undefined;
420
+ zIndex?: number | undefined;
421
+ canvasBorderWidth?: number | undefined;
422
+ canvasBorderColor?: string | undefined;
423
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
424
+ canvasNameFontSize?: number | undefined;
425
+ canvasNameFontFamily?: string | undefined;
426
+ canvasNameFontColor?: string | undefined;
427
+ gradientLeftColor?: string | undefined;
428
+ gradientRightColor?: string | undefined;
429
+ textAnchor?: string | undefined;
430
+ dominantBaseline?: string | undefined;
431
+ } | undefined;
432
+ keywords: string;
433
+ keywordsBounds?: {
434
+ x?: number | undefined;
435
+ y?: number | undefined;
436
+ width?: number | undefined;
437
+ height?: number | undefined;
438
+ } | undefined;
439
+ keywordsStyle?: {
440
+ fontSize?: number | undefined;
441
+ fontFamily?: string | undefined;
442
+ fontWeight?: string | undefined;
443
+ color?: string | undefined;
444
+ backgroundColor?: string | undefined;
445
+ borderColor?: string | undefined;
446
+ borderWidth?: number | undefined;
447
+ borderRadius?: number | undefined;
448
+ padding?: number | {
449
+ top: number;
450
+ right: number;
451
+ bottom: number;
452
+ left: number;
453
+ } | undefined;
454
+ margin?: number | undefined;
455
+ zIndex?: number | undefined;
456
+ canvasBorderWidth?: number | undefined;
457
+ canvasBorderColor?: string | undefined;
458
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
459
+ canvasNameFontSize?: number | undefined;
460
+ canvasNameFontFamily?: string | undefined;
461
+ canvasNameFontColor?: string | undefined;
462
+ gradientLeftColor?: string | undefined;
463
+ gradientRightColor?: string | undefined;
464
+ textAnchor?: string | undefined;
465
+ dominantBaseline?: string | undefined;
466
+ } | undefined;
467
+ icon?: string | undefined;
468
+ modelId: string;
469
+ modelName: string;
470
+ names: string;
471
+ name: string;
472
+ nameBounds?: {
473
+ x?: number | undefined;
474
+ y?: number | undefined;
475
+ width?: number | undefined;
476
+ height?: number | undefined;
477
+ } | undefined;
478
+ nameStyle?: {
479
+ fontSize?: number | undefined;
480
+ fontFamily?: string | undefined;
481
+ fontWeight?: string | undefined;
482
+ color?: string | undefined;
483
+ backgroundColor?: string | undefined;
484
+ borderColor?: string | undefined;
485
+ borderWidth?: number | undefined;
486
+ borderRadius?: number | undefined;
487
+ padding?: number | {
488
+ top: number;
489
+ right: number;
490
+ bottom: number;
491
+ left: number;
492
+ } | undefined;
493
+ margin?: number | undefined;
494
+ zIndex?: number | undefined;
495
+ canvasBorderWidth?: number | undefined;
496
+ canvasBorderColor?: string | undefined;
497
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
498
+ canvasNameFontSize?: number | undefined;
499
+ canvasNameFontFamily?: string | undefined;
500
+ canvasNameFontColor?: string | undefined;
501
+ gradientLeftColor?: string | undefined;
502
+ gradientRightColor?: string | undefined;
503
+ textAnchor?: string | undefined;
504
+ dominantBaseline?: string | undefined;
505
+ } | undefined;
506
+ direction?: string | undefined;
507
+ sourceId?: string | undefined;
508
+ targetId?: string | undefined;
509
+ waypointId?: string | undefined;
510
+ waypoints?: {
511
+ x: number;
512
+ y: number;
513
+ }[] | undefined;
514
+ showKeywords: boolean;
515
+ showIcon: boolean;
516
+ showName: boolean;
517
+ showTaggedValues: boolean;
518
+ showComparents: boolean;
519
+ taggedValueLabels?: {
520
+ id: string;
521
+ modelId: string;
522
+ modelName: string;
523
+ names: string;
524
+ name: string;
525
+ nameBounds?: string | undefined;
526
+ nameStyle?: string | undefined;
527
+ }[] | undefined;
528
+ comparents?: {
529
+ bounds: {
530
+ x?: number | undefined;
531
+ y?: number | undefined;
532
+ width?: number | undefined;
533
+ height?: number | undefined;
534
+ };
535
+ modelId: string;
536
+ modelName: string;
537
+ comparentShapes: any[];
538
+ }[] | undefined;
539
+ meta?: any;
540
+ scenarioMenus?: {
541
+ [x: string]: any;
542
+ code: string;
543
+ name: string;
544
+ icon: string;
545
+ sourceModels: string[];
546
+ targetCreateModel: string;
547
+ targetModels: string[];
548
+ }[] | undefined;
549
+ inert?: boolean | undefined;
550
+ isCut?: boolean | undefined;
551
+ sourceModels?: string[] | undefined;
552
+ targetModels?: string[] | undefined;
553
+ modelTypePropertyId: string;
554
+ targetCreateModel?: string | undefined;
555
+ sourceModelId?: string | undefined;
556
+ isMovableComparents: boolean;
557
+ ganttData?: {
558
+ [x: string]: any;
559
+ id: string;
560
+ modelId: string;
561
+ ganttOrTableModelId: string;
562
+ projectId: string;
563
+ type: string;
564
+ sort: string;
565
+ }[] | undefined;
566
+ attributeColumns?: {
567
+ id?: number | undefined;
568
+ propertyId?: number | undefined;
569
+ projectId?: string | undefined;
570
+ modelId?: string | undefined;
571
+ configId: string;
572
+ name: string;
573
+ isShow: boolean;
574
+ isReadonly: boolean;
575
+ }[] | undefined;
576
+ ganttContainsModels?: {
577
+ projectId: string;
578
+ ownerId: string;
579
+ type: string;
580
+ name: string;
581
+ isChart: boolean;
582
+ icon: string;
583
+ }[] | undefined;
584
+ } | null, Shape | {
585
+ id: string;
586
+ diagramId: string;
587
+ parenShapeId: string;
588
+ shapeKey: string;
589
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
590
+ bounds: {
591
+ x?: number | undefined;
592
+ y?: number | undefined;
593
+ width?: number | undefined;
594
+ height?: number | undefined;
595
+ };
596
+ style?: {
597
+ fontSize?: number | undefined;
598
+ fontFamily?: string | undefined;
599
+ fontWeight?: string | undefined;
600
+ color?: string | undefined;
601
+ backgroundColor?: string | undefined;
602
+ borderColor?: string | undefined;
603
+ borderWidth?: number | undefined;
604
+ borderRadius?: number | undefined;
605
+ padding?: number | {
606
+ top: number;
607
+ right: number;
608
+ bottom: number;
609
+ left: number;
610
+ } | undefined;
611
+ margin?: number | undefined;
612
+ zIndex?: number | undefined;
613
+ canvasBorderWidth?: number | undefined;
614
+ canvasBorderColor?: string | undefined;
615
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
616
+ canvasNameFontSize?: number | undefined;
617
+ canvasNameFontFamily?: string | undefined;
618
+ canvasNameFontColor?: string | undefined;
619
+ gradientLeftColor?: string | undefined;
620
+ gradientRightColor?: string | undefined;
621
+ textAnchor?: string | undefined;
622
+ dominantBaseline?: string | undefined;
623
+ } | undefined;
624
+ keywords: string;
625
+ keywordsBounds?: {
626
+ x?: number | undefined;
627
+ y?: number | undefined;
628
+ width?: number | undefined;
629
+ height?: number | undefined;
630
+ } | undefined;
631
+ keywordsStyle?: {
632
+ fontSize?: number | undefined;
633
+ fontFamily?: string | undefined;
634
+ fontWeight?: string | undefined;
635
+ color?: string | undefined;
636
+ backgroundColor?: string | undefined;
637
+ borderColor?: string | undefined;
638
+ borderWidth?: number | undefined;
639
+ borderRadius?: number | undefined;
640
+ padding?: number | {
641
+ top: number;
642
+ right: number;
643
+ bottom: number;
644
+ left: number;
645
+ } | undefined;
646
+ margin?: number | undefined;
647
+ zIndex?: number | undefined;
648
+ canvasBorderWidth?: number | undefined;
649
+ canvasBorderColor?: string | undefined;
650
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
651
+ canvasNameFontSize?: number | undefined;
652
+ canvasNameFontFamily?: string | undefined;
653
+ canvasNameFontColor?: string | undefined;
654
+ gradientLeftColor?: string | undefined;
655
+ gradientRightColor?: string | undefined;
656
+ textAnchor?: string | undefined;
657
+ dominantBaseline?: string | undefined;
658
+ } | undefined;
659
+ icon?: string | undefined;
660
+ modelId: string;
661
+ modelName: string;
662
+ names: string;
663
+ name: string;
664
+ nameBounds?: {
665
+ x?: number | undefined;
666
+ y?: number | undefined;
667
+ width?: number | undefined;
668
+ height?: number | undefined;
669
+ } | undefined;
670
+ nameStyle?: {
671
+ fontSize?: number | undefined;
672
+ fontFamily?: string | undefined;
673
+ fontWeight?: string | undefined;
674
+ color?: string | undefined;
675
+ backgroundColor?: string | undefined;
676
+ borderColor?: string | undefined;
677
+ borderWidth?: number | undefined;
678
+ borderRadius?: number | undefined;
679
+ padding?: number | {
680
+ top: number;
681
+ right: number;
682
+ bottom: number;
683
+ left: number;
684
+ } | undefined;
685
+ margin?: number | undefined;
686
+ zIndex?: number | undefined;
687
+ canvasBorderWidth?: number | undefined;
688
+ canvasBorderColor?: string | undefined;
689
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
690
+ canvasNameFontSize?: number | undefined;
691
+ canvasNameFontFamily?: string | undefined;
692
+ canvasNameFontColor?: string | undefined;
693
+ gradientLeftColor?: string | undefined;
694
+ gradientRightColor?: string | undefined;
695
+ textAnchor?: string | undefined;
696
+ dominantBaseline?: string | undefined;
697
+ } | undefined;
698
+ direction?: string | undefined;
699
+ sourceId?: string | undefined;
700
+ targetId?: string | undefined;
701
+ waypointId?: string | undefined;
702
+ waypoints?: {
703
+ x: number;
704
+ y: number;
705
+ }[] | undefined;
706
+ showKeywords: boolean;
707
+ showIcon: boolean;
708
+ showName: boolean;
709
+ showTaggedValues: boolean;
710
+ showComparents: boolean;
711
+ taggedValueLabels?: {
712
+ id: string;
713
+ modelId: string;
714
+ modelName: string;
715
+ names: string;
716
+ name: string;
717
+ nameBounds?: string | undefined;
718
+ nameStyle?: string | undefined;
719
+ }[] | undefined;
720
+ comparents?: {
721
+ bounds: {
722
+ x?: number | undefined;
723
+ y?: number | undefined;
724
+ width?: number | undefined;
725
+ height?: number | undefined;
726
+ };
727
+ modelId: string;
728
+ modelName: string;
729
+ comparentShapes: any[];
730
+ }[] | undefined;
731
+ meta?: any;
732
+ scenarioMenus?: {
733
+ [x: string]: any;
734
+ code: string;
735
+ name: string;
736
+ icon: string;
737
+ sourceModels: string[];
738
+ targetCreateModel: string;
739
+ targetModels: string[];
740
+ }[] | undefined;
741
+ inert?: boolean | undefined;
742
+ isCut?: boolean | undefined;
743
+ sourceModels?: string[] | undefined;
744
+ targetModels?: string[] | undefined;
745
+ modelTypePropertyId: string;
746
+ targetCreateModel?: string | undefined;
747
+ sourceModelId?: string | undefined;
748
+ isMovableComparents: boolean;
749
+ ganttData?: {
750
+ [x: string]: any;
751
+ id: string;
752
+ modelId: string;
753
+ ganttOrTableModelId: string;
754
+ projectId: string;
755
+ type: string;
756
+ sort: string;
757
+ }[] | undefined;
758
+ attributeColumns?: {
759
+ id?: number | undefined;
760
+ propertyId?: number | undefined;
761
+ projectId?: string | undefined;
762
+ modelId?: string | undefined;
763
+ configId: string;
764
+ name: string;
765
+ isShow: boolean;
766
+ isReadonly: boolean;
767
+ }[] | undefined;
768
+ ganttContainsModels?: {
769
+ projectId: string;
770
+ ownerId: string;
771
+ type: string;
772
+ name: string;
773
+ isChart: boolean;
774
+ icon: string;
775
+ }[] | undefined;
776
+ } | null>;
777
+ diagramTitle: Ref<string, string>;
778
+ isDragging: Ref<boolean, boolean>;
779
+ draggingShapeId: Ref<string | null, string | null>;
780
+ dragOffset: Ref<{
781
+ x: number;
782
+ y: number;
783
+ } | null, {
784
+ x: number;
785
+ y: number;
786
+ } | {
787
+ x: number;
788
+ y: number;
789
+ } | null>;
790
+ diagrams: Ref<{
791
+ id: string;
792
+ diagramId: string;
793
+ parenShapeId: string;
794
+ shapeKey: string;
795
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
796
+ bounds: {
797
+ x?: number | undefined;
798
+ y?: number | undefined;
799
+ width?: number | undefined;
800
+ height?: number | undefined;
801
+ };
802
+ style?: {
803
+ fontSize?: number | undefined;
804
+ fontFamily?: string | undefined;
805
+ fontWeight?: string | undefined;
806
+ color?: string | undefined;
807
+ backgroundColor?: string | undefined;
808
+ borderColor?: string | undefined;
809
+ borderWidth?: number | undefined;
810
+ borderRadius?: number | undefined;
811
+ padding?: number | {
812
+ top: number;
813
+ right: number;
814
+ bottom: number;
815
+ left: number;
816
+ } | undefined;
817
+ margin?: number | undefined;
818
+ zIndex?: number | undefined;
819
+ canvasBorderWidth?: number | undefined;
820
+ canvasBorderColor?: string | undefined;
821
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
822
+ canvasNameFontSize?: number | undefined;
823
+ canvasNameFontFamily?: string | undefined;
824
+ canvasNameFontColor?: string | undefined;
825
+ gradientLeftColor?: string | undefined;
826
+ gradientRightColor?: string | undefined;
827
+ textAnchor?: string | undefined;
828
+ dominantBaseline?: string | undefined;
829
+ } | undefined;
830
+ keywords: string;
831
+ keywordsBounds?: {
832
+ x?: number | undefined;
833
+ y?: number | undefined;
834
+ width?: number | undefined;
835
+ height?: number | undefined;
836
+ } | undefined;
837
+ keywordsStyle?: {
838
+ fontSize?: number | undefined;
839
+ fontFamily?: string | undefined;
840
+ fontWeight?: string | undefined;
841
+ color?: string | undefined;
842
+ backgroundColor?: string | undefined;
843
+ borderColor?: string | undefined;
844
+ borderWidth?: number | undefined;
845
+ borderRadius?: number | undefined;
846
+ padding?: number | {
847
+ top: number;
848
+ right: number;
849
+ bottom: number;
850
+ left: number;
851
+ } | undefined;
852
+ margin?: number | undefined;
853
+ zIndex?: number | undefined;
854
+ canvasBorderWidth?: number | undefined;
855
+ canvasBorderColor?: string | undefined;
856
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
857
+ canvasNameFontSize?: number | undefined;
858
+ canvasNameFontFamily?: string | undefined;
859
+ canvasNameFontColor?: string | undefined;
860
+ gradientLeftColor?: string | undefined;
861
+ gradientRightColor?: string | undefined;
862
+ textAnchor?: string | undefined;
863
+ dominantBaseline?: string | undefined;
864
+ } | undefined;
865
+ icon?: string | undefined;
866
+ modelId: string;
867
+ modelName: string;
868
+ names: string;
869
+ name: string;
870
+ nameBounds?: {
871
+ x?: number | undefined;
872
+ y?: number | undefined;
873
+ width?: number | undefined;
874
+ height?: number | undefined;
875
+ } | undefined;
876
+ nameStyle?: {
877
+ fontSize?: number | undefined;
878
+ fontFamily?: string | undefined;
879
+ fontWeight?: string | undefined;
880
+ color?: string | undefined;
881
+ backgroundColor?: string | undefined;
882
+ borderColor?: string | undefined;
883
+ borderWidth?: number | undefined;
884
+ borderRadius?: number | undefined;
885
+ padding?: number | {
886
+ top: number;
887
+ right: number;
888
+ bottom: number;
889
+ left: number;
890
+ } | undefined;
891
+ margin?: number | undefined;
892
+ zIndex?: number | undefined;
893
+ canvasBorderWidth?: number | undefined;
894
+ canvasBorderColor?: string | undefined;
895
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
896
+ canvasNameFontSize?: number | undefined;
897
+ canvasNameFontFamily?: string | undefined;
898
+ canvasNameFontColor?: string | undefined;
899
+ gradientLeftColor?: string | undefined;
900
+ gradientRightColor?: string | undefined;
901
+ textAnchor?: string | undefined;
902
+ dominantBaseline?: string | undefined;
903
+ } | undefined;
904
+ direction?: string | undefined;
905
+ sourceId?: string | undefined;
906
+ targetId?: string | undefined;
907
+ waypointId?: string | undefined;
908
+ waypoints?: {
909
+ x: number;
910
+ y: number;
911
+ }[] | undefined;
912
+ showKeywords: boolean;
913
+ showIcon: boolean;
914
+ showName: boolean;
915
+ showTaggedValues: boolean;
916
+ showComparents: boolean;
917
+ taggedValueLabels?: {
918
+ id: string;
919
+ modelId: string;
920
+ modelName: string;
921
+ names: string;
922
+ name: string;
923
+ nameBounds?: string | undefined;
924
+ nameStyle?: string | undefined;
925
+ }[] | undefined;
926
+ comparents?: {
927
+ bounds: {
928
+ x?: number | undefined;
929
+ y?: number | undefined;
930
+ width?: number | undefined;
931
+ height?: number | undefined;
932
+ };
933
+ modelId: string;
934
+ modelName: string;
935
+ comparentShapes: any[];
936
+ }[] | undefined;
937
+ meta?: any;
938
+ scenarioMenus?: {
939
+ [x: string]: any;
940
+ code: string;
941
+ name: string;
942
+ icon: string;
943
+ sourceModels: string[];
944
+ targetCreateModel: string;
945
+ targetModels: string[];
946
+ }[] | undefined;
947
+ inert?: boolean | undefined;
948
+ isCut?: boolean | undefined;
949
+ sourceModels?: string[] | undefined;
950
+ targetModels?: string[] | undefined;
951
+ modelTypePropertyId: string;
952
+ targetCreateModel?: string | undefined;
953
+ sourceModelId?: string | undefined;
954
+ isMovableComparents: boolean;
955
+ ganttData?: {
956
+ [x: string]: any;
957
+ id: string;
958
+ modelId: string;
959
+ ganttOrTableModelId: string;
960
+ projectId: string;
961
+ type: string;
962
+ sort: string;
963
+ }[] | undefined;
964
+ attributeColumns?: {
965
+ id?: number | undefined;
966
+ propertyId?: number | undefined;
967
+ projectId?: string | undefined;
968
+ modelId?: string | undefined;
969
+ configId: string;
970
+ name: string;
971
+ isShow: boolean;
972
+ isReadonly: boolean;
973
+ }[] | undefined;
974
+ ganttContainsModels?: {
975
+ projectId: string;
976
+ ownerId: string;
977
+ type: string;
978
+ name: string;
979
+ isChart: boolean;
980
+ icon: string;
981
+ }[] | undefined;
982
+ }[], Shape[] | {
983
+ id: string;
984
+ diagramId: string;
985
+ parenShapeId: string;
986
+ shapeKey: string;
987
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
988
+ bounds: {
989
+ x?: number | undefined;
990
+ y?: number | undefined;
991
+ width?: number | undefined;
992
+ height?: number | undefined;
993
+ };
994
+ style?: {
995
+ fontSize?: number | undefined;
996
+ fontFamily?: string | undefined;
997
+ fontWeight?: string | undefined;
998
+ color?: string | undefined;
999
+ backgroundColor?: string | undefined;
1000
+ borderColor?: string | undefined;
1001
+ borderWidth?: number | undefined;
1002
+ borderRadius?: number | undefined;
1003
+ padding?: number | {
1004
+ top: number;
1005
+ right: number;
1006
+ bottom: number;
1007
+ left: number;
1008
+ } | undefined;
1009
+ margin?: number | undefined;
1010
+ zIndex?: number | undefined;
1011
+ canvasBorderWidth?: number | undefined;
1012
+ canvasBorderColor?: string | undefined;
1013
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1014
+ canvasNameFontSize?: number | undefined;
1015
+ canvasNameFontFamily?: string | undefined;
1016
+ canvasNameFontColor?: string | undefined;
1017
+ gradientLeftColor?: string | undefined;
1018
+ gradientRightColor?: string | undefined;
1019
+ textAnchor?: string | undefined;
1020
+ dominantBaseline?: string | undefined;
1021
+ } | undefined;
1022
+ keywords: string;
1023
+ keywordsBounds?: {
1024
+ x?: number | undefined;
1025
+ y?: number | undefined;
1026
+ width?: number | undefined;
1027
+ height?: number | undefined;
1028
+ } | undefined;
1029
+ keywordsStyle?: {
1030
+ fontSize?: number | undefined;
1031
+ fontFamily?: string | undefined;
1032
+ fontWeight?: string | undefined;
1033
+ color?: string | undefined;
1034
+ backgroundColor?: string | undefined;
1035
+ borderColor?: string | undefined;
1036
+ borderWidth?: number | undefined;
1037
+ borderRadius?: number | undefined;
1038
+ padding?: number | {
1039
+ top: number;
1040
+ right: number;
1041
+ bottom: number;
1042
+ left: number;
1043
+ } | undefined;
1044
+ margin?: number | undefined;
1045
+ zIndex?: number | undefined;
1046
+ canvasBorderWidth?: number | undefined;
1047
+ canvasBorderColor?: string | undefined;
1048
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1049
+ canvasNameFontSize?: number | undefined;
1050
+ canvasNameFontFamily?: string | undefined;
1051
+ canvasNameFontColor?: string | undefined;
1052
+ gradientLeftColor?: string | undefined;
1053
+ gradientRightColor?: string | undefined;
1054
+ textAnchor?: string | undefined;
1055
+ dominantBaseline?: string | undefined;
1056
+ } | undefined;
1057
+ icon?: string | undefined;
1058
+ modelId: string;
1059
+ modelName: string;
1060
+ names: string;
1061
+ name: string;
1062
+ nameBounds?: {
1063
+ x?: number | undefined;
1064
+ y?: number | undefined;
1065
+ width?: number | undefined;
1066
+ height?: number | undefined;
1067
+ } | undefined;
1068
+ nameStyle?: {
1069
+ fontSize?: number | undefined;
1070
+ fontFamily?: string | undefined;
1071
+ fontWeight?: string | undefined;
1072
+ color?: string | undefined;
1073
+ backgroundColor?: string | undefined;
1074
+ borderColor?: string | undefined;
1075
+ borderWidth?: number | undefined;
1076
+ borderRadius?: number | undefined;
1077
+ padding?: number | {
1078
+ top: number;
1079
+ right: number;
1080
+ bottom: number;
1081
+ left: number;
1082
+ } | undefined;
1083
+ margin?: number | undefined;
1084
+ zIndex?: number | undefined;
1085
+ canvasBorderWidth?: number | undefined;
1086
+ canvasBorderColor?: string | undefined;
1087
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1088
+ canvasNameFontSize?: number | undefined;
1089
+ canvasNameFontFamily?: string | undefined;
1090
+ canvasNameFontColor?: string | undefined;
1091
+ gradientLeftColor?: string | undefined;
1092
+ gradientRightColor?: string | undefined;
1093
+ textAnchor?: string | undefined;
1094
+ dominantBaseline?: string | undefined;
1095
+ } | undefined;
1096
+ direction?: string | undefined;
1097
+ sourceId?: string | undefined;
1098
+ targetId?: string | undefined;
1099
+ waypointId?: string | undefined;
1100
+ waypoints?: {
1101
+ x: number;
1102
+ y: number;
1103
+ }[] | undefined;
1104
+ showKeywords: boolean;
1105
+ showIcon: boolean;
1106
+ showName: boolean;
1107
+ showTaggedValues: boolean;
1108
+ showComparents: boolean;
1109
+ taggedValueLabels?: {
1110
+ id: string;
1111
+ modelId: string;
1112
+ modelName: string;
1113
+ names: string;
1114
+ name: string;
1115
+ nameBounds?: string | undefined;
1116
+ nameStyle?: string | undefined;
1117
+ }[] | undefined;
1118
+ comparents?: {
1119
+ bounds: {
1120
+ x?: number | undefined;
1121
+ y?: number | undefined;
1122
+ width?: number | undefined;
1123
+ height?: number | undefined;
1124
+ };
1125
+ modelId: string;
1126
+ modelName: string;
1127
+ comparentShapes: any[];
1128
+ }[] | undefined;
1129
+ meta?: any;
1130
+ scenarioMenus?: {
1131
+ [x: string]: any;
1132
+ code: string;
1133
+ name: string;
1134
+ icon: string;
1135
+ sourceModels: string[];
1136
+ targetCreateModel: string;
1137
+ targetModels: string[];
1138
+ }[] | undefined;
1139
+ inert?: boolean | undefined;
1140
+ isCut?: boolean | undefined;
1141
+ sourceModels?: string[] | undefined;
1142
+ targetModels?: string[] | undefined;
1143
+ modelTypePropertyId: string;
1144
+ targetCreateModel?: string | undefined;
1145
+ sourceModelId?: string | undefined;
1146
+ isMovableComparents: boolean;
1147
+ ganttData?: {
1148
+ [x: string]: any;
1149
+ id: string;
1150
+ modelId: string;
1151
+ ganttOrTableModelId: string;
1152
+ projectId: string;
1153
+ type: string;
1154
+ sort: string;
1155
+ }[] | undefined;
1156
+ attributeColumns?: {
1157
+ id?: number | undefined;
1158
+ propertyId?: number | undefined;
1159
+ projectId?: string | undefined;
1160
+ modelId?: string | undefined;
1161
+ configId: string;
1162
+ name: string;
1163
+ isShow: boolean;
1164
+ isReadonly: boolean;
1165
+ }[] | undefined;
1166
+ ganttContainsModels?: {
1167
+ projectId: string;
1168
+ ownerId: string;
1169
+ type: string;
1170
+ name: string;
1171
+ isChart: boolean;
1172
+ icon: string;
1173
+ }[] | undefined;
1174
+ }[]>;
1175
+ selectedIds: Ref<string[], string[]>;
1176
+ hoverContainerId: Ref<string | null, string | null>;
1177
+ hoverNestable: Ref<boolean | null, boolean | null>;
1178
+ currentDiagramId: Ref<string | null, string | null>;
1179
+ canDropOnCanvas: Ref<boolean, boolean>;
1180
+ canOperate: Ref<boolean, boolean>;
1181
+ cutShapeIds: Ref<Set<string> & Omit<Set<string>, keyof Set<any>>, Set<string> | (Set<string> & Omit<Set<string>, keyof Set<any>>)>;
1182
+ copiedShapesCount: Ref<number, number>;
1183
+ matrixData: Ref<{
1184
+ rowTree: {
1185
+ id: string;
1186
+ nodeName: string;
1187
+ modelName: string;
1188
+ nodeType: string;
1189
+ modelTypeName?: null | undefined;
1190
+ elementId?: string | null | undefined;
1191
+ parentId?: string | null | undefined;
1192
+ isChildren?: boolean | undefined;
1193
+ isLeaf?: boolean | undefined;
1194
+ children?: any[] | undefined;
1195
+ expanded?: boolean | undefined;
1196
+ isReName?: boolean | undefined;
1197
+ isChart: boolean;
1198
+ isCreate?: boolean | undefined;
1199
+ isCanvas?: string | undefined;
1200
+ icon?: string | undefined;
1201
+ modelRelationld?: string | undefined;
1202
+ }[];
1203
+ columnTree: {
1204
+ id: string;
1205
+ nodeName: string;
1206
+ modelName: string;
1207
+ nodeType: string;
1208
+ modelTypeName?: null | undefined;
1209
+ elementId?: string | null | undefined;
1210
+ parentId?: string | null | undefined;
1211
+ isChildren?: boolean | undefined;
1212
+ isLeaf?: boolean | undefined;
1213
+ children?: any[] | undefined;
1214
+ expanded?: boolean | undefined;
1215
+ isReName?: boolean | undefined;
1216
+ isChart: boolean;
1217
+ isCreate?: boolean | undefined;
1218
+ isCanvas?: string | undefined;
1219
+ icon?: string | undefined;
1220
+ modelRelationld?: string | undefined;
1221
+ }[];
1222
+ crossData: {
1223
+ columnNodeId: string;
1224
+ rowNodeId: string;
1225
+ value: string;
1226
+ relations: {
1227
+ relationId: string;
1228
+ relationType: string;
1229
+ type: string;
1230
+ }[];
1231
+ operable: boolean;
1232
+ }[];
1233
+ relationModelIcon: string;
1234
+ relationModelName: string;
1235
+ }, Matrix | {
1236
+ rowTree: {
1237
+ id: string;
1238
+ nodeName: string;
1239
+ modelName: string;
1240
+ nodeType: string;
1241
+ modelTypeName?: null | undefined;
1242
+ elementId?: string | null | undefined;
1243
+ parentId?: string | null | undefined;
1244
+ isChildren?: boolean | undefined;
1245
+ isLeaf?: boolean | undefined;
1246
+ children?: any[] | undefined;
1247
+ expanded?: boolean | undefined;
1248
+ isReName?: boolean | undefined;
1249
+ isChart: boolean;
1250
+ isCreate?: boolean | undefined;
1251
+ isCanvas?: string | undefined;
1252
+ icon?: string | undefined;
1253
+ modelRelationld?: string | undefined;
1254
+ }[];
1255
+ columnTree: {
1256
+ id: string;
1257
+ nodeName: string;
1258
+ modelName: string;
1259
+ nodeType: string;
1260
+ modelTypeName?: null | undefined;
1261
+ elementId?: string | null | undefined;
1262
+ parentId?: string | null | undefined;
1263
+ isChildren?: boolean | undefined;
1264
+ isLeaf?: boolean | undefined;
1265
+ children?: any[] | undefined;
1266
+ expanded?: boolean | undefined;
1267
+ isReName?: boolean | undefined;
1268
+ isChart: boolean;
1269
+ isCreate?: boolean | undefined;
1270
+ isCanvas?: string | undefined;
1271
+ icon?: string | undefined;
1272
+ modelRelationld?: string | undefined;
1273
+ }[];
1274
+ crossData: {
1275
+ columnNodeId: string;
1276
+ rowNodeId: string;
1277
+ value: string;
1278
+ relations: {
1279
+ relationId: string;
1280
+ relationType: string;
1281
+ type: string;
1282
+ }[];
1283
+ operable: boolean;
1284
+ }[];
1285
+ relationModelIcon: string;
1286
+ relationModelName: string;
1287
+ }>;
1288
+ taggedValueLabels: Ref<string[], string[]>;
1289
+ packagesTypes: Ref<string[], string[]>;
1290
+ classMetaTypes: Ref<string[], string[]>;
1291
+ ownerRequiredShapeKeys: Ref<string[], string[]>;
1292
+ pinsTypes: Ref<string[], string[]>;
1293
+ portsTypes: Ref<string[], string[]>;
1294
+ shapeCount: import('vue').ComputedRef<number>;
1295
+ hasSelectedShape: import('vue').ComputedRef<boolean>;
1296
+ parentChildMap: import('vue').ComputedRef<Map<string, string[]>>;
1297
+ shapeMap: import('vue').ComputedRef<Map<string, Shape>>;
1298
+ edgesByNodeId: import('vue').ComputedRef<Map<string, Shape[]>>;
1299
+ marqueeShapes: import('vue').ComputedRef<Shape[]>;
1300
+ ghostShadow: import('vue').ComputedRef<Shape[]>;
1301
+ scales: Ref<Record<string, number>, Record<string, number>>;
1302
+ activeDiagramId: Ref<string | null, string | null>;
1303
+ currentScale: import('vue').ComputedRef<number>;
1304
+ museInGraphView: Ref<boolean, boolean>;
1305
+ connectMode: Ref<string, string>;
1306
+ addShape: (shape: Shape, options?: {
1307
+ autoExpandParent?: boolean;
1308
+ }) => void;
1309
+ removeShape: (shapeId: string) => void;
1310
+ updateShape: (shapeId: string, updates: Partial<Shape>, id?: 'id' | 'modelId') => void;
1311
+ selectShape: (shape: Shape | null) => void;
1312
+ setTitle: (title: string) => void;
1313
+ updateShapes: (payload: Shape[] | Array<string | number>, op?: ShapeOp, options?: {
1314
+ autoExpandParents?: boolean;
1315
+ }) => void;
1316
+ clearAll: () => void;
1317
+ startDragShape: (shapeId: string, pointer: {
1318
+ x: number;
1319
+ y: number;
1320
+ }) => void;
1321
+ startDrag: (ids: string[], pointer: {
1322
+ x: number;
1323
+ y: number;
1324
+ }) => void;
1325
+ moveDraggedShape: (pointer: {
1326
+ x: number;
1327
+ y: number;
1328
+ }, options?: {
1329
+ hitPointer?: {
1330
+ x: number;
1331
+ y: number;
1332
+ };
1333
+ }) => Promise<void>;
1334
+ endDragShape: (source?: string) => Promise<void>;
1335
+ getShapes: () => {
1336
+ id: string;
1337
+ diagramId: string;
1338
+ parenShapeId: string;
1339
+ shapeKey: string;
1340
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
1341
+ bounds: {
1342
+ x?: number | undefined;
1343
+ y?: number | undefined;
1344
+ width?: number | undefined;
1345
+ height?: number | undefined;
1346
+ };
1347
+ style?: {
1348
+ fontSize?: number | undefined;
1349
+ fontFamily?: string | undefined;
1350
+ fontWeight?: string | undefined;
1351
+ color?: string | undefined;
1352
+ backgroundColor?: string | undefined;
1353
+ borderColor?: string | undefined;
1354
+ borderWidth?: number | undefined;
1355
+ borderRadius?: number | undefined;
1356
+ padding?: number | {
1357
+ top: number;
1358
+ right: number;
1359
+ bottom: number;
1360
+ left: number;
1361
+ } | undefined;
1362
+ margin?: number | undefined;
1363
+ zIndex?: number | undefined;
1364
+ canvasBorderWidth?: number | undefined;
1365
+ canvasBorderColor?: string | undefined;
1366
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1367
+ canvasNameFontSize?: number | undefined;
1368
+ canvasNameFontFamily?: string | undefined;
1369
+ canvasNameFontColor?: string | undefined;
1370
+ gradientLeftColor?: string | undefined;
1371
+ gradientRightColor?: string | undefined;
1372
+ textAnchor?: string | undefined;
1373
+ dominantBaseline?: string | undefined;
1374
+ } | undefined;
1375
+ keywords: string;
1376
+ keywordsBounds?: {
1377
+ x?: number | undefined;
1378
+ y?: number | undefined;
1379
+ width?: number | undefined;
1380
+ height?: number | undefined;
1381
+ } | undefined;
1382
+ keywordsStyle?: {
1383
+ fontSize?: number | undefined;
1384
+ fontFamily?: string | undefined;
1385
+ fontWeight?: string | undefined;
1386
+ color?: string | undefined;
1387
+ backgroundColor?: string | undefined;
1388
+ borderColor?: string | undefined;
1389
+ borderWidth?: number | undefined;
1390
+ borderRadius?: number | undefined;
1391
+ padding?: number | {
1392
+ top: number;
1393
+ right: number;
1394
+ bottom: number;
1395
+ left: number;
1396
+ } | undefined;
1397
+ margin?: number | undefined;
1398
+ zIndex?: number | undefined;
1399
+ canvasBorderWidth?: number | undefined;
1400
+ canvasBorderColor?: string | undefined;
1401
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1402
+ canvasNameFontSize?: number | undefined;
1403
+ canvasNameFontFamily?: string | undefined;
1404
+ canvasNameFontColor?: string | undefined;
1405
+ gradientLeftColor?: string | undefined;
1406
+ gradientRightColor?: string | undefined;
1407
+ textAnchor?: string | undefined;
1408
+ dominantBaseline?: string | undefined;
1409
+ } | undefined;
1410
+ icon?: string | undefined;
1411
+ modelId: string;
1412
+ modelName: string;
1413
+ names: string;
1414
+ name: string;
1415
+ nameBounds?: {
1416
+ x?: number | undefined;
1417
+ y?: number | undefined;
1418
+ width?: number | undefined;
1419
+ height?: number | undefined;
1420
+ } | undefined;
1421
+ nameStyle?: {
1422
+ fontSize?: number | undefined;
1423
+ fontFamily?: string | undefined;
1424
+ fontWeight?: string | undefined;
1425
+ color?: string | undefined;
1426
+ backgroundColor?: string | undefined;
1427
+ borderColor?: string | undefined;
1428
+ borderWidth?: number | undefined;
1429
+ borderRadius?: number | undefined;
1430
+ padding?: number | {
1431
+ top: number;
1432
+ right: number;
1433
+ bottom: number;
1434
+ left: number;
1435
+ } | undefined;
1436
+ margin?: number | undefined;
1437
+ zIndex?: number | undefined;
1438
+ canvasBorderWidth?: number | undefined;
1439
+ canvasBorderColor?: string | undefined;
1440
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1441
+ canvasNameFontSize?: number | undefined;
1442
+ canvasNameFontFamily?: string | undefined;
1443
+ canvasNameFontColor?: string | undefined;
1444
+ gradientLeftColor?: string | undefined;
1445
+ gradientRightColor?: string | undefined;
1446
+ textAnchor?: string | undefined;
1447
+ dominantBaseline?: string | undefined;
1448
+ } | undefined;
1449
+ direction?: string | undefined;
1450
+ sourceId?: string | undefined;
1451
+ targetId?: string | undefined;
1452
+ waypointId?: string | undefined;
1453
+ waypoints?: {
1454
+ x: number;
1455
+ y: number;
1456
+ }[] | undefined;
1457
+ showKeywords: boolean;
1458
+ showIcon: boolean;
1459
+ showName: boolean;
1460
+ showTaggedValues: boolean;
1461
+ showComparents: boolean;
1462
+ taggedValueLabels?: {
1463
+ id: string;
1464
+ modelId: string;
1465
+ modelName: string;
1466
+ names: string;
1467
+ name: string;
1468
+ nameBounds?: string | undefined;
1469
+ nameStyle?: string | undefined;
1470
+ }[] | undefined;
1471
+ comparents?: {
1472
+ bounds: {
1473
+ x?: number | undefined;
1474
+ y?: number | undefined;
1475
+ width?: number | undefined;
1476
+ height?: number | undefined;
1477
+ };
1478
+ modelId: string;
1479
+ modelName: string;
1480
+ comparentShapes: any[];
1481
+ }[] | undefined;
1482
+ meta?: any;
1483
+ scenarioMenus?: {
1484
+ [x: string]: any;
1485
+ code: string;
1486
+ name: string;
1487
+ icon: string;
1488
+ sourceModels: string[];
1489
+ targetCreateModel: string;
1490
+ targetModels: string[];
1491
+ }[] | undefined;
1492
+ inert?: boolean | undefined;
1493
+ isCut?: boolean | undefined;
1494
+ sourceModels?: string[] | undefined;
1495
+ targetModels?: string[] | undefined;
1496
+ modelTypePropertyId: string;
1497
+ targetCreateModel?: string | undefined;
1498
+ sourceModelId?: string | undefined;
1499
+ isMovableComparents: boolean;
1500
+ ganttData?: {
1501
+ [x: string]: any;
1502
+ id: string;
1503
+ modelId: string;
1504
+ ganttOrTableModelId: string;
1505
+ projectId: string;
1506
+ type: string;
1507
+ sort: string;
1508
+ }[] | undefined;
1509
+ attributeColumns?: {
1510
+ id?: number | undefined;
1511
+ propertyId?: number | undefined;
1512
+ projectId?: string | undefined;
1513
+ modelId?: string | undefined;
1514
+ configId: string;
1515
+ name: string;
1516
+ isShow: boolean;
1517
+ isReadonly: boolean;
1518
+ }[] | undefined;
1519
+ ganttContainsModels?: {
1520
+ projectId: string;
1521
+ ownerId: string;
1522
+ type: string;
1523
+ name: string;
1524
+ isChart: boolean;
1525
+ icon: string;
1526
+ }[] | undefined;
1527
+ }[];
1528
+ addDiagram: (diagram: Shape) => void;
1529
+ setCurrentDiagramId: (id: string | null) => void;
1530
+ selectMany: (ids: string[]) => void;
1531
+ clearSelection: () => void;
1532
+ selectAll: () => void;
1533
+ removeSelected: () => void;
1534
+ finalCheckCanNest: (childId: string, parentId: string | null) => Promise<boolean>;
1535
+ setHoverState: (id: string | null, nestable: boolean | null) => void;
1536
+ initializeAllEdgeEndpoints: () => Promise<void>;
1537
+ endResizeShape: (id: string) => Promise<void>;
1538
+ getScale: (diagramId?: string | null) => number;
1539
+ setScale: (newScale: number, diagramId?: string | null) => void;
1540
+ setActiveDiagramId: (id: string | null) => void;
1541
+ setConnectMode: (mode: string) => void;
1542
+ getConnectMode: () => string;
1543
+ visibleShapes: import('vue').ComputedRef<Shape[]>;
1544
+ externalCreatingId: Ref<string | null, string | null>;
1545
+ expandParentAndEmitSizeUpdateByChild: (child: Shape) => void;
1546
+ setIsMouseInGraphView: (isIn: boolean) => void;
1547
+ setCutShapeIds: (ids: string[]) => void;
1548
+ clearCutShapeIds: () => void;
1549
+ setCopiedShapesCount: (count: number) => void;
1550
+ setMatrixData: (payload: Matrix) => void;
1551
+ }, "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<{
1552
+ shapes: Ref<{
1553
+ id: string;
1554
+ diagramId: string;
1555
+ parenShapeId: string;
1556
+ shapeKey: string;
1557
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
1558
+ bounds: {
1559
+ x?: number | undefined;
1560
+ y?: number | undefined;
1561
+ width?: number | undefined;
1562
+ height?: number | undefined;
1563
+ };
1564
+ style?: {
1565
+ fontSize?: number | undefined;
1566
+ fontFamily?: string | undefined;
1567
+ fontWeight?: string | undefined;
1568
+ color?: string | undefined;
1569
+ backgroundColor?: string | undefined;
1570
+ borderColor?: string | undefined;
1571
+ borderWidth?: number | undefined;
1572
+ borderRadius?: number | undefined;
1573
+ padding?: number | {
1574
+ top: number;
1575
+ right: number;
1576
+ bottom: number;
1577
+ left: number;
1578
+ } | undefined;
1579
+ margin?: number | undefined;
1580
+ zIndex?: number | undefined;
1581
+ canvasBorderWidth?: number | undefined;
1582
+ canvasBorderColor?: string | undefined;
1583
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1584
+ canvasNameFontSize?: number | undefined;
1585
+ canvasNameFontFamily?: string | undefined;
1586
+ canvasNameFontColor?: string | undefined;
1587
+ gradientLeftColor?: string | undefined;
1588
+ gradientRightColor?: string | undefined;
1589
+ textAnchor?: string | undefined;
1590
+ dominantBaseline?: string | undefined;
1591
+ } | undefined;
1592
+ keywords: string;
1593
+ keywordsBounds?: {
1594
+ x?: number | undefined;
1595
+ y?: number | undefined;
1596
+ width?: number | undefined;
1597
+ height?: number | undefined;
1598
+ } | undefined;
1599
+ keywordsStyle?: {
1600
+ fontSize?: number | undefined;
1601
+ fontFamily?: string | undefined;
1602
+ fontWeight?: string | undefined;
1603
+ color?: string | undefined;
1604
+ backgroundColor?: string | undefined;
1605
+ borderColor?: string | undefined;
1606
+ borderWidth?: number | undefined;
1607
+ borderRadius?: number | undefined;
1608
+ padding?: number | {
1609
+ top: number;
1610
+ right: number;
1611
+ bottom: number;
1612
+ left: number;
1613
+ } | undefined;
1614
+ margin?: number | undefined;
1615
+ zIndex?: number | undefined;
1616
+ canvasBorderWidth?: number | undefined;
1617
+ canvasBorderColor?: string | undefined;
1618
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1619
+ canvasNameFontSize?: number | undefined;
1620
+ canvasNameFontFamily?: string | undefined;
1621
+ canvasNameFontColor?: string | undefined;
1622
+ gradientLeftColor?: string | undefined;
1623
+ gradientRightColor?: string | undefined;
1624
+ textAnchor?: string | undefined;
1625
+ dominantBaseline?: string | undefined;
1626
+ } | undefined;
1627
+ icon?: string | undefined;
1628
+ modelId: string;
1629
+ modelName: string;
1630
+ names: string;
1631
+ name: string;
1632
+ nameBounds?: {
1633
+ x?: number | undefined;
1634
+ y?: number | undefined;
1635
+ width?: number | undefined;
1636
+ height?: number | undefined;
1637
+ } | undefined;
1638
+ nameStyle?: {
1639
+ fontSize?: number | undefined;
1640
+ fontFamily?: string | undefined;
1641
+ fontWeight?: string | undefined;
1642
+ color?: string | undefined;
1643
+ backgroundColor?: string | undefined;
1644
+ borderColor?: string | undefined;
1645
+ borderWidth?: number | undefined;
1646
+ borderRadius?: number | undefined;
1647
+ padding?: number | {
1648
+ top: number;
1649
+ right: number;
1650
+ bottom: number;
1651
+ left: number;
1652
+ } | undefined;
1653
+ margin?: number | undefined;
1654
+ zIndex?: number | undefined;
1655
+ canvasBorderWidth?: number | undefined;
1656
+ canvasBorderColor?: string | undefined;
1657
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1658
+ canvasNameFontSize?: number | undefined;
1659
+ canvasNameFontFamily?: string | undefined;
1660
+ canvasNameFontColor?: string | undefined;
1661
+ gradientLeftColor?: string | undefined;
1662
+ gradientRightColor?: string | undefined;
1663
+ textAnchor?: string | undefined;
1664
+ dominantBaseline?: string | undefined;
1665
+ } | undefined;
1666
+ direction?: string | undefined;
1667
+ sourceId?: string | undefined;
1668
+ targetId?: string | undefined;
1669
+ waypointId?: string | undefined;
1670
+ waypoints?: {
1671
+ x: number;
1672
+ y: number;
1673
+ }[] | undefined;
1674
+ showKeywords: boolean;
1675
+ showIcon: boolean;
1676
+ showName: boolean;
1677
+ showTaggedValues: boolean;
1678
+ showComparents: boolean;
1679
+ taggedValueLabels?: {
1680
+ id: string;
1681
+ modelId: string;
1682
+ modelName: string;
1683
+ names: string;
1684
+ name: string;
1685
+ nameBounds?: string | undefined;
1686
+ nameStyle?: string | undefined;
1687
+ }[] | undefined;
1688
+ comparents?: {
1689
+ bounds: {
1690
+ x?: number | undefined;
1691
+ y?: number | undefined;
1692
+ width?: number | undefined;
1693
+ height?: number | undefined;
1694
+ };
1695
+ modelId: string;
1696
+ modelName: string;
1697
+ comparentShapes: any[];
1698
+ }[] | undefined;
1699
+ meta?: any;
1700
+ scenarioMenus?: {
1701
+ [x: string]: any;
1702
+ code: string;
1703
+ name: string;
1704
+ icon: string;
1705
+ sourceModels: string[];
1706
+ targetCreateModel: string;
1707
+ targetModels: string[];
1708
+ }[] | undefined;
1709
+ inert?: boolean | undefined;
1710
+ isCut?: boolean | undefined;
1711
+ sourceModels?: string[] | undefined;
1712
+ targetModels?: string[] | undefined;
1713
+ modelTypePropertyId: string;
1714
+ targetCreateModel?: string | undefined;
1715
+ sourceModelId?: string | undefined;
1716
+ isMovableComparents: boolean;
1717
+ ganttData?: {
1718
+ [x: string]: any;
1719
+ id: string;
1720
+ modelId: string;
1721
+ ganttOrTableModelId: string;
1722
+ projectId: string;
1723
+ type: string;
1724
+ sort: string;
1725
+ }[] | undefined;
1726
+ attributeColumns?: {
1727
+ id?: number | undefined;
1728
+ propertyId?: number | undefined;
1729
+ projectId?: string | undefined;
1730
+ modelId?: string | undefined;
1731
+ configId: string;
1732
+ name: string;
1733
+ isShow: boolean;
1734
+ isReadonly: boolean;
1735
+ }[] | undefined;
1736
+ ganttContainsModels?: {
1737
+ projectId: string;
1738
+ ownerId: string;
1739
+ type: string;
1740
+ name: string;
1741
+ isChart: boolean;
1742
+ icon: string;
1743
+ }[] | undefined;
1744
+ }[], Shape[] | {
1745
+ id: string;
1746
+ diagramId: string;
1747
+ parenShapeId: string;
1748
+ shapeKey: string;
1749
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
1750
+ bounds: {
1751
+ x?: number | undefined;
1752
+ y?: number | undefined;
1753
+ width?: number | undefined;
1754
+ height?: number | undefined;
1755
+ };
1756
+ style?: {
1757
+ fontSize?: number | undefined;
1758
+ fontFamily?: string | undefined;
1759
+ fontWeight?: string | undefined;
1760
+ color?: string | undefined;
1761
+ backgroundColor?: string | undefined;
1762
+ borderColor?: string | undefined;
1763
+ borderWidth?: number | undefined;
1764
+ borderRadius?: number | undefined;
1765
+ padding?: number | {
1766
+ top: number;
1767
+ right: number;
1768
+ bottom: number;
1769
+ left: number;
1770
+ } | undefined;
1771
+ margin?: number | undefined;
1772
+ zIndex?: number | undefined;
1773
+ canvasBorderWidth?: number | undefined;
1774
+ canvasBorderColor?: string | undefined;
1775
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1776
+ canvasNameFontSize?: number | undefined;
1777
+ canvasNameFontFamily?: string | undefined;
1778
+ canvasNameFontColor?: string | undefined;
1779
+ gradientLeftColor?: string | undefined;
1780
+ gradientRightColor?: string | undefined;
1781
+ textAnchor?: string | undefined;
1782
+ dominantBaseline?: string | undefined;
1783
+ } | undefined;
1784
+ keywords: string;
1785
+ keywordsBounds?: {
1786
+ x?: number | undefined;
1787
+ y?: number | undefined;
1788
+ width?: number | undefined;
1789
+ height?: number | undefined;
1790
+ } | undefined;
1791
+ keywordsStyle?: {
1792
+ fontSize?: number | undefined;
1793
+ fontFamily?: string | undefined;
1794
+ fontWeight?: string | undefined;
1795
+ color?: string | undefined;
1796
+ backgroundColor?: string | undefined;
1797
+ borderColor?: string | undefined;
1798
+ borderWidth?: number | undefined;
1799
+ borderRadius?: number | undefined;
1800
+ padding?: number | {
1801
+ top: number;
1802
+ right: number;
1803
+ bottom: number;
1804
+ left: number;
1805
+ } | undefined;
1806
+ margin?: number | undefined;
1807
+ zIndex?: number | undefined;
1808
+ canvasBorderWidth?: number | undefined;
1809
+ canvasBorderColor?: string | undefined;
1810
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1811
+ canvasNameFontSize?: number | undefined;
1812
+ canvasNameFontFamily?: string | undefined;
1813
+ canvasNameFontColor?: string | undefined;
1814
+ gradientLeftColor?: string | undefined;
1815
+ gradientRightColor?: string | undefined;
1816
+ textAnchor?: string | undefined;
1817
+ dominantBaseline?: string | undefined;
1818
+ } | undefined;
1819
+ icon?: string | undefined;
1820
+ modelId: string;
1821
+ modelName: string;
1822
+ names: string;
1823
+ name: string;
1824
+ nameBounds?: {
1825
+ x?: number | undefined;
1826
+ y?: number | undefined;
1827
+ width?: number | undefined;
1828
+ height?: number | undefined;
1829
+ } | undefined;
1830
+ nameStyle?: {
1831
+ fontSize?: number | undefined;
1832
+ fontFamily?: string | undefined;
1833
+ fontWeight?: string | undefined;
1834
+ color?: string | undefined;
1835
+ backgroundColor?: string | undefined;
1836
+ borderColor?: string | undefined;
1837
+ borderWidth?: number | undefined;
1838
+ borderRadius?: number | undefined;
1839
+ padding?: number | {
1840
+ top: number;
1841
+ right: number;
1842
+ bottom: number;
1843
+ left: number;
1844
+ } | undefined;
1845
+ margin?: number | undefined;
1846
+ zIndex?: number | undefined;
1847
+ canvasBorderWidth?: number | undefined;
1848
+ canvasBorderColor?: string | undefined;
1849
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1850
+ canvasNameFontSize?: number | undefined;
1851
+ canvasNameFontFamily?: string | undefined;
1852
+ canvasNameFontColor?: string | undefined;
1853
+ gradientLeftColor?: string | undefined;
1854
+ gradientRightColor?: string | undefined;
1855
+ textAnchor?: string | undefined;
1856
+ dominantBaseline?: string | undefined;
1857
+ } | undefined;
1858
+ direction?: string | undefined;
1859
+ sourceId?: string | undefined;
1860
+ targetId?: string | undefined;
1861
+ waypointId?: string | undefined;
1862
+ waypoints?: {
1863
+ x: number;
1864
+ y: number;
1865
+ }[] | undefined;
1866
+ showKeywords: boolean;
1867
+ showIcon: boolean;
1868
+ showName: boolean;
1869
+ showTaggedValues: boolean;
1870
+ showComparents: boolean;
1871
+ taggedValueLabels?: {
1872
+ id: string;
1873
+ modelId: string;
1874
+ modelName: string;
1875
+ names: string;
1876
+ name: string;
1877
+ nameBounds?: string | undefined;
1878
+ nameStyle?: string | undefined;
1879
+ }[] | undefined;
1880
+ comparents?: {
1881
+ bounds: {
1882
+ x?: number | undefined;
1883
+ y?: number | undefined;
1884
+ width?: number | undefined;
1885
+ height?: number | undefined;
1886
+ };
1887
+ modelId: string;
1888
+ modelName: string;
1889
+ comparentShapes: any[];
1890
+ }[] | undefined;
1891
+ meta?: any;
1892
+ scenarioMenus?: {
1893
+ [x: string]: any;
1894
+ code: string;
1895
+ name: string;
1896
+ icon: string;
1897
+ sourceModels: string[];
1898
+ targetCreateModel: string;
1899
+ targetModels: string[];
1900
+ }[] | undefined;
1901
+ inert?: boolean | undefined;
1902
+ isCut?: boolean | undefined;
1903
+ sourceModels?: string[] | undefined;
1904
+ targetModels?: string[] | undefined;
1905
+ modelTypePropertyId: string;
1906
+ targetCreateModel?: string | undefined;
1907
+ sourceModelId?: string | undefined;
1908
+ isMovableComparents: boolean;
1909
+ ganttData?: {
1910
+ [x: string]: any;
1911
+ id: string;
1912
+ modelId: string;
1913
+ ganttOrTableModelId: string;
1914
+ projectId: string;
1915
+ type: string;
1916
+ sort: string;
1917
+ }[] | undefined;
1918
+ attributeColumns?: {
1919
+ id?: number | undefined;
1920
+ propertyId?: number | undefined;
1921
+ projectId?: string | undefined;
1922
+ modelId?: string | undefined;
1923
+ configId: string;
1924
+ name: string;
1925
+ isShow: boolean;
1926
+ isReadonly: boolean;
1927
+ }[] | undefined;
1928
+ ganttContainsModels?: {
1929
+ projectId: string;
1930
+ ownerId: string;
1931
+ type: string;
1932
+ name: string;
1933
+ isChart: boolean;
1934
+ icon: string;
1935
+ }[] | undefined;
1936
+ }[]>;
1937
+ pendingNestedIds: Ref<string[], string[]>;
1938
+ selectedShape: Ref<{
1939
+ id: string;
1940
+ diagramId: string;
1941
+ parenShapeId: string;
1942
+ shapeKey: string;
1943
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
1944
+ bounds: {
1945
+ x?: number | undefined;
1946
+ y?: number | undefined;
1947
+ width?: number | undefined;
1948
+ height?: number | undefined;
1949
+ };
1950
+ style?: {
1951
+ fontSize?: number | undefined;
1952
+ fontFamily?: string | undefined;
1953
+ fontWeight?: string | undefined;
1954
+ color?: string | undefined;
1955
+ backgroundColor?: string | undefined;
1956
+ borderColor?: string | undefined;
1957
+ borderWidth?: number | undefined;
1958
+ borderRadius?: number | undefined;
1959
+ padding?: number | {
1960
+ top: number;
1961
+ right: number;
1962
+ bottom: number;
1963
+ left: number;
1964
+ } | undefined;
1965
+ margin?: number | undefined;
1966
+ zIndex?: number | undefined;
1967
+ canvasBorderWidth?: number | undefined;
1968
+ canvasBorderColor?: string | undefined;
1969
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
1970
+ canvasNameFontSize?: number | undefined;
1971
+ canvasNameFontFamily?: string | undefined;
1972
+ canvasNameFontColor?: string | undefined;
1973
+ gradientLeftColor?: string | undefined;
1974
+ gradientRightColor?: string | undefined;
1975
+ textAnchor?: string | undefined;
1976
+ dominantBaseline?: string | undefined;
1977
+ } | undefined;
1978
+ keywords: string;
1979
+ keywordsBounds?: {
1980
+ x?: number | undefined;
1981
+ y?: number | undefined;
1982
+ width?: number | undefined;
1983
+ height?: number | undefined;
1984
+ } | undefined;
1985
+ keywordsStyle?: {
1986
+ fontSize?: number | undefined;
1987
+ fontFamily?: string | undefined;
1988
+ fontWeight?: string | undefined;
1989
+ color?: string | undefined;
1990
+ backgroundColor?: string | undefined;
1991
+ borderColor?: string | undefined;
1992
+ borderWidth?: number | undefined;
1993
+ borderRadius?: number | undefined;
1994
+ padding?: number | {
1995
+ top: number;
1996
+ right: number;
1997
+ bottom: number;
1998
+ left: number;
1999
+ } | undefined;
2000
+ margin?: number | undefined;
2001
+ zIndex?: number | undefined;
2002
+ canvasBorderWidth?: number | undefined;
2003
+ canvasBorderColor?: string | undefined;
2004
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2005
+ canvasNameFontSize?: number | undefined;
2006
+ canvasNameFontFamily?: string | undefined;
2007
+ canvasNameFontColor?: string | undefined;
2008
+ gradientLeftColor?: string | undefined;
2009
+ gradientRightColor?: string | undefined;
2010
+ textAnchor?: string | undefined;
2011
+ dominantBaseline?: string | undefined;
2012
+ } | undefined;
2013
+ icon?: string | undefined;
2014
+ modelId: string;
2015
+ modelName: string;
2016
+ names: string;
2017
+ name: string;
2018
+ nameBounds?: {
2019
+ x?: number | undefined;
2020
+ y?: number | undefined;
2021
+ width?: number | undefined;
2022
+ height?: number | undefined;
2023
+ } | undefined;
2024
+ nameStyle?: {
2025
+ fontSize?: number | undefined;
2026
+ fontFamily?: string | undefined;
2027
+ fontWeight?: string | undefined;
2028
+ color?: string | undefined;
2029
+ backgroundColor?: string | undefined;
2030
+ borderColor?: string | undefined;
2031
+ borderWidth?: number | undefined;
2032
+ borderRadius?: number | undefined;
2033
+ padding?: number | {
2034
+ top: number;
2035
+ right: number;
2036
+ bottom: number;
2037
+ left: number;
2038
+ } | undefined;
2039
+ margin?: number | undefined;
2040
+ zIndex?: number | undefined;
2041
+ canvasBorderWidth?: number | undefined;
2042
+ canvasBorderColor?: string | undefined;
2043
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2044
+ canvasNameFontSize?: number | undefined;
2045
+ canvasNameFontFamily?: string | undefined;
2046
+ canvasNameFontColor?: string | undefined;
2047
+ gradientLeftColor?: string | undefined;
2048
+ gradientRightColor?: string | undefined;
2049
+ textAnchor?: string | undefined;
2050
+ dominantBaseline?: string | undefined;
2051
+ } | undefined;
2052
+ direction?: string | undefined;
2053
+ sourceId?: string | undefined;
2054
+ targetId?: string | undefined;
2055
+ waypointId?: string | undefined;
2056
+ waypoints?: {
2057
+ x: number;
2058
+ y: number;
2059
+ }[] | undefined;
2060
+ showKeywords: boolean;
2061
+ showIcon: boolean;
2062
+ showName: boolean;
2063
+ showTaggedValues: boolean;
2064
+ showComparents: boolean;
2065
+ taggedValueLabels?: {
2066
+ id: string;
2067
+ modelId: string;
2068
+ modelName: string;
2069
+ names: string;
2070
+ name: string;
2071
+ nameBounds?: string | undefined;
2072
+ nameStyle?: string | undefined;
2073
+ }[] | undefined;
2074
+ comparents?: {
2075
+ bounds: {
2076
+ x?: number | undefined;
2077
+ y?: number | undefined;
2078
+ width?: number | undefined;
2079
+ height?: number | undefined;
2080
+ };
2081
+ modelId: string;
2082
+ modelName: string;
2083
+ comparentShapes: any[];
2084
+ }[] | undefined;
2085
+ meta?: any;
2086
+ scenarioMenus?: {
2087
+ [x: string]: any;
2088
+ code: string;
2089
+ name: string;
2090
+ icon: string;
2091
+ sourceModels: string[];
2092
+ targetCreateModel: string;
2093
+ targetModels: string[];
2094
+ }[] | undefined;
2095
+ inert?: boolean | undefined;
2096
+ isCut?: boolean | undefined;
2097
+ sourceModels?: string[] | undefined;
2098
+ targetModels?: string[] | undefined;
2099
+ modelTypePropertyId: string;
2100
+ targetCreateModel?: string | undefined;
2101
+ sourceModelId?: string | undefined;
2102
+ isMovableComparents: boolean;
2103
+ ganttData?: {
2104
+ [x: string]: any;
2105
+ id: string;
2106
+ modelId: string;
2107
+ ganttOrTableModelId: string;
2108
+ projectId: string;
2109
+ type: string;
2110
+ sort: string;
2111
+ }[] | undefined;
2112
+ attributeColumns?: {
2113
+ id?: number | undefined;
2114
+ propertyId?: number | undefined;
2115
+ projectId?: string | undefined;
2116
+ modelId?: string | undefined;
2117
+ configId: string;
2118
+ name: string;
2119
+ isShow: boolean;
2120
+ isReadonly: boolean;
2121
+ }[] | undefined;
2122
+ ganttContainsModels?: {
2123
+ projectId: string;
2124
+ ownerId: string;
2125
+ type: string;
2126
+ name: string;
2127
+ isChart: boolean;
2128
+ icon: string;
2129
+ }[] | undefined;
2130
+ } | null, Shape | {
2131
+ id: string;
2132
+ diagramId: string;
2133
+ parenShapeId: string;
2134
+ shapeKey: string;
2135
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
2136
+ bounds: {
2137
+ x?: number | undefined;
2138
+ y?: number | undefined;
2139
+ width?: number | undefined;
2140
+ height?: number | undefined;
2141
+ };
2142
+ style?: {
2143
+ fontSize?: number | undefined;
2144
+ fontFamily?: string | undefined;
2145
+ fontWeight?: string | undefined;
2146
+ color?: string | undefined;
2147
+ backgroundColor?: string | undefined;
2148
+ borderColor?: string | undefined;
2149
+ borderWidth?: number | undefined;
2150
+ borderRadius?: number | undefined;
2151
+ padding?: number | {
2152
+ top: number;
2153
+ right: number;
2154
+ bottom: number;
2155
+ left: number;
2156
+ } | undefined;
2157
+ margin?: number | undefined;
2158
+ zIndex?: number | undefined;
2159
+ canvasBorderWidth?: number | undefined;
2160
+ canvasBorderColor?: string | undefined;
2161
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2162
+ canvasNameFontSize?: number | undefined;
2163
+ canvasNameFontFamily?: string | undefined;
2164
+ canvasNameFontColor?: string | undefined;
2165
+ gradientLeftColor?: string | undefined;
2166
+ gradientRightColor?: string | undefined;
2167
+ textAnchor?: string | undefined;
2168
+ dominantBaseline?: string | undefined;
2169
+ } | undefined;
2170
+ keywords: string;
2171
+ keywordsBounds?: {
2172
+ x?: number | undefined;
2173
+ y?: number | undefined;
2174
+ width?: number | undefined;
2175
+ height?: number | undefined;
2176
+ } | undefined;
2177
+ keywordsStyle?: {
2178
+ fontSize?: number | undefined;
2179
+ fontFamily?: string | undefined;
2180
+ fontWeight?: string | undefined;
2181
+ color?: string | undefined;
2182
+ backgroundColor?: string | undefined;
2183
+ borderColor?: string | undefined;
2184
+ borderWidth?: number | undefined;
2185
+ borderRadius?: number | undefined;
2186
+ padding?: number | {
2187
+ top: number;
2188
+ right: number;
2189
+ bottom: number;
2190
+ left: number;
2191
+ } | undefined;
2192
+ margin?: number | undefined;
2193
+ zIndex?: number | undefined;
2194
+ canvasBorderWidth?: number | undefined;
2195
+ canvasBorderColor?: string | undefined;
2196
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2197
+ canvasNameFontSize?: number | undefined;
2198
+ canvasNameFontFamily?: string | undefined;
2199
+ canvasNameFontColor?: string | undefined;
2200
+ gradientLeftColor?: string | undefined;
2201
+ gradientRightColor?: string | undefined;
2202
+ textAnchor?: string | undefined;
2203
+ dominantBaseline?: string | undefined;
2204
+ } | undefined;
2205
+ icon?: string | undefined;
2206
+ modelId: string;
2207
+ modelName: string;
2208
+ names: string;
2209
+ name: string;
2210
+ nameBounds?: {
2211
+ x?: number | undefined;
2212
+ y?: number | undefined;
2213
+ width?: number | undefined;
2214
+ height?: number | undefined;
2215
+ } | undefined;
2216
+ nameStyle?: {
2217
+ fontSize?: number | undefined;
2218
+ fontFamily?: string | undefined;
2219
+ fontWeight?: string | undefined;
2220
+ color?: string | undefined;
2221
+ backgroundColor?: string | undefined;
2222
+ borderColor?: string | undefined;
2223
+ borderWidth?: number | undefined;
2224
+ borderRadius?: number | undefined;
2225
+ padding?: number | {
2226
+ top: number;
2227
+ right: number;
2228
+ bottom: number;
2229
+ left: number;
2230
+ } | undefined;
2231
+ margin?: number | undefined;
2232
+ zIndex?: number | undefined;
2233
+ canvasBorderWidth?: number | undefined;
2234
+ canvasBorderColor?: string | undefined;
2235
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2236
+ canvasNameFontSize?: number | undefined;
2237
+ canvasNameFontFamily?: string | undefined;
2238
+ canvasNameFontColor?: string | undefined;
2239
+ gradientLeftColor?: string | undefined;
2240
+ gradientRightColor?: string | undefined;
2241
+ textAnchor?: string | undefined;
2242
+ dominantBaseline?: string | undefined;
2243
+ } | undefined;
2244
+ direction?: string | undefined;
2245
+ sourceId?: string | undefined;
2246
+ targetId?: string | undefined;
2247
+ waypointId?: string | undefined;
2248
+ waypoints?: {
2249
+ x: number;
2250
+ y: number;
2251
+ }[] | undefined;
2252
+ showKeywords: boolean;
2253
+ showIcon: boolean;
2254
+ showName: boolean;
2255
+ showTaggedValues: boolean;
2256
+ showComparents: boolean;
2257
+ taggedValueLabels?: {
2258
+ id: string;
2259
+ modelId: string;
2260
+ modelName: string;
2261
+ names: string;
2262
+ name: string;
2263
+ nameBounds?: string | undefined;
2264
+ nameStyle?: string | undefined;
2265
+ }[] | undefined;
2266
+ comparents?: {
2267
+ bounds: {
2268
+ x?: number | undefined;
2269
+ y?: number | undefined;
2270
+ width?: number | undefined;
2271
+ height?: number | undefined;
2272
+ };
2273
+ modelId: string;
2274
+ modelName: string;
2275
+ comparentShapes: any[];
2276
+ }[] | undefined;
2277
+ meta?: any;
2278
+ scenarioMenus?: {
2279
+ [x: string]: any;
2280
+ code: string;
2281
+ name: string;
2282
+ icon: string;
2283
+ sourceModels: string[];
2284
+ targetCreateModel: string;
2285
+ targetModels: string[];
2286
+ }[] | undefined;
2287
+ inert?: boolean | undefined;
2288
+ isCut?: boolean | undefined;
2289
+ sourceModels?: string[] | undefined;
2290
+ targetModels?: string[] | undefined;
2291
+ modelTypePropertyId: string;
2292
+ targetCreateModel?: string | undefined;
2293
+ sourceModelId?: string | undefined;
2294
+ isMovableComparents: boolean;
2295
+ ganttData?: {
2296
+ [x: string]: any;
2297
+ id: string;
2298
+ modelId: string;
2299
+ ganttOrTableModelId: string;
2300
+ projectId: string;
2301
+ type: string;
2302
+ sort: string;
2303
+ }[] | undefined;
2304
+ attributeColumns?: {
2305
+ id?: number | undefined;
2306
+ propertyId?: number | undefined;
2307
+ projectId?: string | undefined;
2308
+ modelId?: string | undefined;
2309
+ configId: string;
2310
+ name: string;
2311
+ isShow: boolean;
2312
+ isReadonly: boolean;
2313
+ }[] | undefined;
2314
+ ganttContainsModels?: {
2315
+ projectId: string;
2316
+ ownerId: string;
2317
+ type: string;
2318
+ name: string;
2319
+ isChart: boolean;
2320
+ icon: string;
2321
+ }[] | undefined;
2322
+ } | null>;
2323
+ diagramTitle: Ref<string, string>;
2324
+ isDragging: Ref<boolean, boolean>;
2325
+ draggingShapeId: Ref<string | null, string | null>;
2326
+ dragOffset: Ref<{
2327
+ x: number;
2328
+ y: number;
2329
+ } | null, {
2330
+ x: number;
2331
+ y: number;
2332
+ } | {
2333
+ x: number;
2334
+ y: number;
2335
+ } | null>;
2336
+ diagrams: Ref<{
2337
+ id: string;
2338
+ diagramId: string;
2339
+ parenShapeId: string;
2340
+ shapeKey: string;
2341
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
2342
+ bounds: {
2343
+ x?: number | undefined;
2344
+ y?: number | undefined;
2345
+ width?: number | undefined;
2346
+ height?: number | undefined;
2347
+ };
2348
+ style?: {
2349
+ fontSize?: number | undefined;
2350
+ fontFamily?: string | undefined;
2351
+ fontWeight?: string | undefined;
2352
+ color?: string | undefined;
2353
+ backgroundColor?: string | undefined;
2354
+ borderColor?: string | undefined;
2355
+ borderWidth?: number | undefined;
2356
+ borderRadius?: number | undefined;
2357
+ padding?: number | {
2358
+ top: number;
2359
+ right: number;
2360
+ bottom: number;
2361
+ left: number;
2362
+ } | undefined;
2363
+ margin?: number | undefined;
2364
+ zIndex?: number | undefined;
2365
+ canvasBorderWidth?: number | undefined;
2366
+ canvasBorderColor?: string | undefined;
2367
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2368
+ canvasNameFontSize?: number | undefined;
2369
+ canvasNameFontFamily?: string | undefined;
2370
+ canvasNameFontColor?: string | undefined;
2371
+ gradientLeftColor?: string | undefined;
2372
+ gradientRightColor?: string | undefined;
2373
+ textAnchor?: string | undefined;
2374
+ dominantBaseline?: string | undefined;
2375
+ } | undefined;
2376
+ keywords: string;
2377
+ keywordsBounds?: {
2378
+ x?: number | undefined;
2379
+ y?: number | undefined;
2380
+ width?: number | undefined;
2381
+ height?: number | undefined;
2382
+ } | undefined;
2383
+ keywordsStyle?: {
2384
+ fontSize?: number | undefined;
2385
+ fontFamily?: string | undefined;
2386
+ fontWeight?: string | undefined;
2387
+ color?: string | undefined;
2388
+ backgroundColor?: string | undefined;
2389
+ borderColor?: string | undefined;
2390
+ borderWidth?: number | undefined;
2391
+ borderRadius?: number | undefined;
2392
+ padding?: number | {
2393
+ top: number;
2394
+ right: number;
2395
+ bottom: number;
2396
+ left: number;
2397
+ } | undefined;
2398
+ margin?: number | undefined;
2399
+ zIndex?: number | undefined;
2400
+ canvasBorderWidth?: number | undefined;
2401
+ canvasBorderColor?: string | undefined;
2402
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2403
+ canvasNameFontSize?: number | undefined;
2404
+ canvasNameFontFamily?: string | undefined;
2405
+ canvasNameFontColor?: string | undefined;
2406
+ gradientLeftColor?: string | undefined;
2407
+ gradientRightColor?: string | undefined;
2408
+ textAnchor?: string | undefined;
2409
+ dominantBaseline?: string | undefined;
2410
+ } | undefined;
2411
+ icon?: string | undefined;
2412
+ modelId: string;
2413
+ modelName: string;
2414
+ names: string;
2415
+ name: string;
2416
+ nameBounds?: {
2417
+ x?: number | undefined;
2418
+ y?: number | undefined;
2419
+ width?: number | undefined;
2420
+ height?: number | undefined;
2421
+ } | undefined;
2422
+ nameStyle?: {
2423
+ fontSize?: number | undefined;
2424
+ fontFamily?: string | undefined;
2425
+ fontWeight?: string | undefined;
2426
+ color?: string | undefined;
2427
+ backgroundColor?: string | undefined;
2428
+ borderColor?: string | undefined;
2429
+ borderWidth?: number | undefined;
2430
+ borderRadius?: number | undefined;
2431
+ padding?: number | {
2432
+ top: number;
2433
+ right: number;
2434
+ bottom: number;
2435
+ left: number;
2436
+ } | undefined;
2437
+ margin?: number | undefined;
2438
+ zIndex?: number | undefined;
2439
+ canvasBorderWidth?: number | undefined;
2440
+ canvasBorderColor?: string | undefined;
2441
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2442
+ canvasNameFontSize?: number | undefined;
2443
+ canvasNameFontFamily?: string | undefined;
2444
+ canvasNameFontColor?: string | undefined;
2445
+ gradientLeftColor?: string | undefined;
2446
+ gradientRightColor?: string | undefined;
2447
+ textAnchor?: string | undefined;
2448
+ dominantBaseline?: string | undefined;
2449
+ } | undefined;
2450
+ direction?: string | undefined;
2451
+ sourceId?: string | undefined;
2452
+ targetId?: string | undefined;
2453
+ waypointId?: string | undefined;
2454
+ waypoints?: {
2455
+ x: number;
2456
+ y: number;
2457
+ }[] | undefined;
2458
+ showKeywords: boolean;
2459
+ showIcon: boolean;
2460
+ showName: boolean;
2461
+ showTaggedValues: boolean;
2462
+ showComparents: boolean;
2463
+ taggedValueLabels?: {
2464
+ id: string;
2465
+ modelId: string;
2466
+ modelName: string;
2467
+ names: string;
2468
+ name: string;
2469
+ nameBounds?: string | undefined;
2470
+ nameStyle?: string | undefined;
2471
+ }[] | undefined;
2472
+ comparents?: {
2473
+ bounds: {
2474
+ x?: number | undefined;
2475
+ y?: number | undefined;
2476
+ width?: number | undefined;
2477
+ height?: number | undefined;
2478
+ };
2479
+ modelId: string;
2480
+ modelName: string;
2481
+ comparentShapes: any[];
2482
+ }[] | undefined;
2483
+ meta?: any;
2484
+ scenarioMenus?: {
2485
+ [x: string]: any;
2486
+ code: string;
2487
+ name: string;
2488
+ icon: string;
2489
+ sourceModels: string[];
2490
+ targetCreateModel: string;
2491
+ targetModels: string[];
2492
+ }[] | undefined;
2493
+ inert?: boolean | undefined;
2494
+ isCut?: boolean | undefined;
2495
+ sourceModels?: string[] | undefined;
2496
+ targetModels?: string[] | undefined;
2497
+ modelTypePropertyId: string;
2498
+ targetCreateModel?: string | undefined;
2499
+ sourceModelId?: string | undefined;
2500
+ isMovableComparents: boolean;
2501
+ ganttData?: {
2502
+ [x: string]: any;
2503
+ id: string;
2504
+ modelId: string;
2505
+ ganttOrTableModelId: string;
2506
+ projectId: string;
2507
+ type: string;
2508
+ sort: string;
2509
+ }[] | undefined;
2510
+ attributeColumns?: {
2511
+ id?: number | undefined;
2512
+ propertyId?: number | undefined;
2513
+ projectId?: string | undefined;
2514
+ modelId?: string | undefined;
2515
+ configId: string;
2516
+ name: string;
2517
+ isShow: boolean;
2518
+ isReadonly: boolean;
2519
+ }[] | undefined;
2520
+ ganttContainsModels?: {
2521
+ projectId: string;
2522
+ ownerId: string;
2523
+ type: string;
2524
+ name: string;
2525
+ isChart: boolean;
2526
+ icon: string;
2527
+ }[] | undefined;
2528
+ }[], Shape[] | {
2529
+ id: string;
2530
+ diagramId: string;
2531
+ parenShapeId: string;
2532
+ shapeKey: string;
2533
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
2534
+ bounds: {
2535
+ x?: number | undefined;
2536
+ y?: number | undefined;
2537
+ width?: number | undefined;
2538
+ height?: number | undefined;
2539
+ };
2540
+ style?: {
2541
+ fontSize?: number | undefined;
2542
+ fontFamily?: string | undefined;
2543
+ fontWeight?: string | undefined;
2544
+ color?: string | undefined;
2545
+ backgroundColor?: string | undefined;
2546
+ borderColor?: string | undefined;
2547
+ borderWidth?: number | undefined;
2548
+ borderRadius?: number | undefined;
2549
+ padding?: number | {
2550
+ top: number;
2551
+ right: number;
2552
+ bottom: number;
2553
+ left: number;
2554
+ } | undefined;
2555
+ margin?: number | undefined;
2556
+ zIndex?: number | undefined;
2557
+ canvasBorderWidth?: number | undefined;
2558
+ canvasBorderColor?: string | undefined;
2559
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2560
+ canvasNameFontSize?: number | undefined;
2561
+ canvasNameFontFamily?: string | undefined;
2562
+ canvasNameFontColor?: string | undefined;
2563
+ gradientLeftColor?: string | undefined;
2564
+ gradientRightColor?: string | undefined;
2565
+ textAnchor?: string | undefined;
2566
+ dominantBaseline?: string | undefined;
2567
+ } | undefined;
2568
+ keywords: string;
2569
+ keywordsBounds?: {
2570
+ x?: number | undefined;
2571
+ y?: number | undefined;
2572
+ width?: number | undefined;
2573
+ height?: number | undefined;
2574
+ } | undefined;
2575
+ keywordsStyle?: {
2576
+ fontSize?: number | undefined;
2577
+ fontFamily?: string | undefined;
2578
+ fontWeight?: string | undefined;
2579
+ color?: string | undefined;
2580
+ backgroundColor?: string | undefined;
2581
+ borderColor?: string | undefined;
2582
+ borderWidth?: number | undefined;
2583
+ borderRadius?: number | undefined;
2584
+ padding?: number | {
2585
+ top: number;
2586
+ right: number;
2587
+ bottom: number;
2588
+ left: number;
2589
+ } | undefined;
2590
+ margin?: number | undefined;
2591
+ zIndex?: number | undefined;
2592
+ canvasBorderWidth?: number | undefined;
2593
+ canvasBorderColor?: string | undefined;
2594
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2595
+ canvasNameFontSize?: number | undefined;
2596
+ canvasNameFontFamily?: string | undefined;
2597
+ canvasNameFontColor?: string | undefined;
2598
+ gradientLeftColor?: string | undefined;
2599
+ gradientRightColor?: string | undefined;
2600
+ textAnchor?: string | undefined;
2601
+ dominantBaseline?: string | undefined;
2602
+ } | undefined;
2603
+ icon?: string | undefined;
2604
+ modelId: string;
2605
+ modelName: string;
2606
+ names: string;
2607
+ name: string;
2608
+ nameBounds?: {
2609
+ x?: number | undefined;
2610
+ y?: number | undefined;
2611
+ width?: number | undefined;
2612
+ height?: number | undefined;
2613
+ } | undefined;
2614
+ nameStyle?: {
2615
+ fontSize?: number | undefined;
2616
+ fontFamily?: string | undefined;
2617
+ fontWeight?: string | undefined;
2618
+ color?: string | undefined;
2619
+ backgroundColor?: string | undefined;
2620
+ borderColor?: string | undefined;
2621
+ borderWidth?: number | undefined;
2622
+ borderRadius?: number | undefined;
2623
+ padding?: number | {
2624
+ top: number;
2625
+ right: number;
2626
+ bottom: number;
2627
+ left: number;
2628
+ } | undefined;
2629
+ margin?: number | undefined;
2630
+ zIndex?: number | undefined;
2631
+ canvasBorderWidth?: number | undefined;
2632
+ canvasBorderColor?: string | undefined;
2633
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2634
+ canvasNameFontSize?: number | undefined;
2635
+ canvasNameFontFamily?: string | undefined;
2636
+ canvasNameFontColor?: string | undefined;
2637
+ gradientLeftColor?: string | undefined;
2638
+ gradientRightColor?: string | undefined;
2639
+ textAnchor?: string | undefined;
2640
+ dominantBaseline?: string | undefined;
2641
+ } | undefined;
2642
+ direction?: string | undefined;
2643
+ sourceId?: string | undefined;
2644
+ targetId?: string | undefined;
2645
+ waypointId?: string | undefined;
2646
+ waypoints?: {
2647
+ x: number;
2648
+ y: number;
2649
+ }[] | undefined;
2650
+ showKeywords: boolean;
2651
+ showIcon: boolean;
2652
+ showName: boolean;
2653
+ showTaggedValues: boolean;
2654
+ showComparents: boolean;
2655
+ taggedValueLabels?: {
2656
+ id: string;
2657
+ modelId: string;
2658
+ modelName: string;
2659
+ names: string;
2660
+ name: string;
2661
+ nameBounds?: string | undefined;
2662
+ nameStyle?: string | undefined;
2663
+ }[] | undefined;
2664
+ comparents?: {
2665
+ bounds: {
2666
+ x?: number | undefined;
2667
+ y?: number | undefined;
2668
+ width?: number | undefined;
2669
+ height?: number | undefined;
2670
+ };
2671
+ modelId: string;
2672
+ modelName: string;
2673
+ comparentShapes: any[];
2674
+ }[] | undefined;
2675
+ meta?: any;
2676
+ scenarioMenus?: {
2677
+ [x: string]: any;
2678
+ code: string;
2679
+ name: string;
2680
+ icon: string;
2681
+ sourceModels: string[];
2682
+ targetCreateModel: string;
2683
+ targetModels: string[];
2684
+ }[] | undefined;
2685
+ inert?: boolean | undefined;
2686
+ isCut?: boolean | undefined;
2687
+ sourceModels?: string[] | undefined;
2688
+ targetModels?: string[] | undefined;
2689
+ modelTypePropertyId: string;
2690
+ targetCreateModel?: string | undefined;
2691
+ sourceModelId?: string | undefined;
2692
+ isMovableComparents: boolean;
2693
+ ganttData?: {
2694
+ [x: string]: any;
2695
+ id: string;
2696
+ modelId: string;
2697
+ ganttOrTableModelId: string;
2698
+ projectId: string;
2699
+ type: string;
2700
+ sort: string;
2701
+ }[] | undefined;
2702
+ attributeColumns?: {
2703
+ id?: number | undefined;
2704
+ propertyId?: number | undefined;
2705
+ projectId?: string | undefined;
2706
+ modelId?: string | undefined;
2707
+ configId: string;
2708
+ name: string;
2709
+ isShow: boolean;
2710
+ isReadonly: boolean;
2711
+ }[] | undefined;
2712
+ ganttContainsModels?: {
2713
+ projectId: string;
2714
+ ownerId: string;
2715
+ type: string;
2716
+ name: string;
2717
+ isChart: boolean;
2718
+ icon: string;
2719
+ }[] | undefined;
2720
+ }[]>;
2721
+ selectedIds: Ref<string[], string[]>;
2722
+ hoverContainerId: Ref<string | null, string | null>;
2723
+ hoverNestable: Ref<boolean | null, boolean | null>;
2724
+ currentDiagramId: Ref<string | null, string | null>;
2725
+ canDropOnCanvas: Ref<boolean, boolean>;
2726
+ canOperate: Ref<boolean, boolean>;
2727
+ cutShapeIds: Ref<Set<string> & Omit<Set<string>, keyof Set<any>>, Set<string> | (Set<string> & Omit<Set<string>, keyof Set<any>>)>;
2728
+ copiedShapesCount: Ref<number, number>;
2729
+ matrixData: Ref<{
2730
+ rowTree: {
2731
+ id: string;
2732
+ nodeName: string;
2733
+ modelName: string;
2734
+ nodeType: string;
2735
+ modelTypeName?: null | undefined;
2736
+ elementId?: string | null | undefined;
2737
+ parentId?: string | null | undefined;
2738
+ isChildren?: boolean | undefined;
2739
+ isLeaf?: boolean | undefined;
2740
+ children?: any[] | undefined;
2741
+ expanded?: boolean | undefined;
2742
+ isReName?: boolean | undefined;
2743
+ isChart: boolean;
2744
+ isCreate?: boolean | undefined;
2745
+ isCanvas?: string | undefined;
2746
+ icon?: string | undefined;
2747
+ modelRelationld?: string | undefined;
2748
+ }[];
2749
+ columnTree: {
2750
+ id: string;
2751
+ nodeName: string;
2752
+ modelName: string;
2753
+ nodeType: string;
2754
+ modelTypeName?: null | undefined;
2755
+ elementId?: string | null | undefined;
2756
+ parentId?: string | null | undefined;
2757
+ isChildren?: boolean | undefined;
2758
+ isLeaf?: boolean | undefined;
2759
+ children?: any[] | undefined;
2760
+ expanded?: boolean | undefined;
2761
+ isReName?: boolean | undefined;
2762
+ isChart: boolean;
2763
+ isCreate?: boolean | undefined;
2764
+ isCanvas?: string | undefined;
2765
+ icon?: string | undefined;
2766
+ modelRelationld?: string | undefined;
2767
+ }[];
2768
+ crossData: {
2769
+ columnNodeId: string;
2770
+ rowNodeId: string;
2771
+ value: string;
2772
+ relations: {
2773
+ relationId: string;
2774
+ relationType: string;
2775
+ type: string;
2776
+ }[];
2777
+ operable: boolean;
2778
+ }[];
2779
+ relationModelIcon: string;
2780
+ relationModelName: string;
2781
+ }, Matrix | {
2782
+ rowTree: {
2783
+ id: string;
2784
+ nodeName: string;
2785
+ modelName: string;
2786
+ nodeType: string;
2787
+ modelTypeName?: null | undefined;
2788
+ elementId?: string | null | undefined;
2789
+ parentId?: string | null | undefined;
2790
+ isChildren?: boolean | undefined;
2791
+ isLeaf?: boolean | undefined;
2792
+ children?: any[] | undefined;
2793
+ expanded?: boolean | undefined;
2794
+ isReName?: boolean | undefined;
2795
+ isChart: boolean;
2796
+ isCreate?: boolean | undefined;
2797
+ isCanvas?: string | undefined;
2798
+ icon?: string | undefined;
2799
+ modelRelationld?: string | undefined;
2800
+ }[];
2801
+ columnTree: {
2802
+ id: string;
2803
+ nodeName: string;
2804
+ modelName: string;
2805
+ nodeType: string;
2806
+ modelTypeName?: null | undefined;
2807
+ elementId?: string | null | undefined;
2808
+ parentId?: string | null | undefined;
2809
+ isChildren?: boolean | undefined;
2810
+ isLeaf?: boolean | undefined;
2811
+ children?: any[] | undefined;
2812
+ expanded?: boolean | undefined;
2813
+ isReName?: boolean | undefined;
2814
+ isChart: boolean;
2815
+ isCreate?: boolean | undefined;
2816
+ isCanvas?: string | undefined;
2817
+ icon?: string | undefined;
2818
+ modelRelationld?: string | undefined;
2819
+ }[];
2820
+ crossData: {
2821
+ columnNodeId: string;
2822
+ rowNodeId: string;
2823
+ value: string;
2824
+ relations: {
2825
+ relationId: string;
2826
+ relationType: string;
2827
+ type: string;
2828
+ }[];
2829
+ operable: boolean;
2830
+ }[];
2831
+ relationModelIcon: string;
2832
+ relationModelName: string;
2833
+ }>;
2834
+ taggedValueLabels: Ref<string[], string[]>;
2835
+ packagesTypes: Ref<string[], string[]>;
2836
+ classMetaTypes: Ref<string[], string[]>;
2837
+ ownerRequiredShapeKeys: Ref<string[], string[]>;
2838
+ pinsTypes: Ref<string[], string[]>;
2839
+ portsTypes: Ref<string[], string[]>;
2840
+ shapeCount: import('vue').ComputedRef<number>;
2841
+ hasSelectedShape: import('vue').ComputedRef<boolean>;
2842
+ parentChildMap: import('vue').ComputedRef<Map<string, string[]>>;
2843
+ shapeMap: import('vue').ComputedRef<Map<string, Shape>>;
2844
+ edgesByNodeId: import('vue').ComputedRef<Map<string, Shape[]>>;
2845
+ marqueeShapes: import('vue').ComputedRef<Shape[]>;
2846
+ ghostShadow: import('vue').ComputedRef<Shape[]>;
2847
+ scales: Ref<Record<string, number>, Record<string, number>>;
2848
+ activeDiagramId: Ref<string | null, string | null>;
2849
+ currentScale: import('vue').ComputedRef<number>;
2850
+ museInGraphView: Ref<boolean, boolean>;
2851
+ connectMode: Ref<string, string>;
2852
+ addShape: (shape: Shape, options?: {
2853
+ autoExpandParent?: boolean;
2854
+ }) => void;
2855
+ removeShape: (shapeId: string) => void;
2856
+ updateShape: (shapeId: string, updates: Partial<Shape>, id?: 'id' | 'modelId') => void;
2857
+ selectShape: (shape: Shape | null) => void;
2858
+ setTitle: (title: string) => void;
2859
+ updateShapes: (payload: Shape[] | Array<string | number>, op?: ShapeOp, options?: {
2860
+ autoExpandParents?: boolean;
2861
+ }) => void;
2862
+ clearAll: () => void;
2863
+ startDragShape: (shapeId: string, pointer: {
2864
+ x: number;
2865
+ y: number;
2866
+ }) => void;
2867
+ startDrag: (ids: string[], pointer: {
2868
+ x: number;
2869
+ y: number;
2870
+ }) => void;
2871
+ moveDraggedShape: (pointer: {
2872
+ x: number;
2873
+ y: number;
2874
+ }, options?: {
2875
+ hitPointer?: {
2876
+ x: number;
2877
+ y: number;
2878
+ };
2879
+ }) => Promise<void>;
2880
+ endDragShape: (source?: string) => Promise<void>;
2881
+ getShapes: () => {
2882
+ id: string;
2883
+ diagramId: string;
2884
+ parenShapeId: string;
2885
+ shapeKey: string;
2886
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
2887
+ bounds: {
2888
+ x?: number | undefined;
2889
+ y?: number | undefined;
2890
+ width?: number | undefined;
2891
+ height?: number | undefined;
2892
+ };
2893
+ style?: {
2894
+ fontSize?: number | undefined;
2895
+ fontFamily?: string | undefined;
2896
+ fontWeight?: string | undefined;
2897
+ color?: string | undefined;
2898
+ backgroundColor?: string | undefined;
2899
+ borderColor?: string | undefined;
2900
+ borderWidth?: number | undefined;
2901
+ borderRadius?: number | undefined;
2902
+ padding?: number | {
2903
+ top: number;
2904
+ right: number;
2905
+ bottom: number;
2906
+ left: number;
2907
+ } | undefined;
2908
+ margin?: number | undefined;
2909
+ zIndex?: number | undefined;
2910
+ canvasBorderWidth?: number | undefined;
2911
+ canvasBorderColor?: string | undefined;
2912
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2913
+ canvasNameFontSize?: number | undefined;
2914
+ canvasNameFontFamily?: string | undefined;
2915
+ canvasNameFontColor?: string | undefined;
2916
+ gradientLeftColor?: string | undefined;
2917
+ gradientRightColor?: string | undefined;
2918
+ textAnchor?: string | undefined;
2919
+ dominantBaseline?: string | undefined;
2920
+ } | undefined;
2921
+ keywords: string;
2922
+ keywordsBounds?: {
2923
+ x?: number | undefined;
2924
+ y?: number | undefined;
2925
+ width?: number | undefined;
2926
+ height?: number | undefined;
2927
+ } | undefined;
2928
+ keywordsStyle?: {
2929
+ fontSize?: number | undefined;
2930
+ fontFamily?: string | undefined;
2931
+ fontWeight?: string | undefined;
2932
+ color?: string | undefined;
2933
+ backgroundColor?: string | undefined;
2934
+ borderColor?: string | undefined;
2935
+ borderWidth?: number | undefined;
2936
+ borderRadius?: number | undefined;
2937
+ padding?: number | {
2938
+ top: number;
2939
+ right: number;
2940
+ bottom: number;
2941
+ left: number;
2942
+ } | undefined;
2943
+ margin?: number | undefined;
2944
+ zIndex?: number | undefined;
2945
+ canvasBorderWidth?: number | undefined;
2946
+ canvasBorderColor?: string | undefined;
2947
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2948
+ canvasNameFontSize?: number | undefined;
2949
+ canvasNameFontFamily?: string | undefined;
2950
+ canvasNameFontColor?: string | undefined;
2951
+ gradientLeftColor?: string | undefined;
2952
+ gradientRightColor?: string | undefined;
2953
+ textAnchor?: string | undefined;
2954
+ dominantBaseline?: string | undefined;
2955
+ } | undefined;
2956
+ icon?: string | undefined;
2957
+ modelId: string;
2958
+ modelName: string;
2959
+ names: string;
2960
+ name: string;
2961
+ nameBounds?: {
2962
+ x?: number | undefined;
2963
+ y?: number | undefined;
2964
+ width?: number | undefined;
2965
+ height?: number | undefined;
2966
+ } | undefined;
2967
+ nameStyle?: {
2968
+ fontSize?: number | undefined;
2969
+ fontFamily?: string | undefined;
2970
+ fontWeight?: string | undefined;
2971
+ color?: string | undefined;
2972
+ backgroundColor?: string | undefined;
2973
+ borderColor?: string | undefined;
2974
+ borderWidth?: number | undefined;
2975
+ borderRadius?: number | undefined;
2976
+ padding?: number | {
2977
+ top: number;
2978
+ right: number;
2979
+ bottom: number;
2980
+ left: number;
2981
+ } | undefined;
2982
+ margin?: number | undefined;
2983
+ zIndex?: number | undefined;
2984
+ canvasBorderWidth?: number | undefined;
2985
+ canvasBorderColor?: string | undefined;
2986
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
2987
+ canvasNameFontSize?: number | undefined;
2988
+ canvasNameFontFamily?: string | undefined;
2989
+ canvasNameFontColor?: string | undefined;
2990
+ gradientLeftColor?: string | undefined;
2991
+ gradientRightColor?: string | undefined;
2992
+ textAnchor?: string | undefined;
2993
+ dominantBaseline?: string | undefined;
2994
+ } | undefined;
2995
+ direction?: string | undefined;
2996
+ sourceId?: string | undefined;
2997
+ targetId?: string | undefined;
2998
+ waypointId?: string | undefined;
2999
+ waypoints?: {
3000
+ x: number;
3001
+ y: number;
3002
+ }[] | undefined;
3003
+ showKeywords: boolean;
3004
+ showIcon: boolean;
3005
+ showName: boolean;
3006
+ showTaggedValues: boolean;
3007
+ showComparents: boolean;
3008
+ taggedValueLabels?: {
3009
+ id: string;
3010
+ modelId: string;
3011
+ modelName: string;
3012
+ names: string;
3013
+ name: string;
3014
+ nameBounds?: string | undefined;
3015
+ nameStyle?: string | undefined;
3016
+ }[] | undefined;
3017
+ comparents?: {
3018
+ bounds: {
3019
+ x?: number | undefined;
3020
+ y?: number | undefined;
3021
+ width?: number | undefined;
3022
+ height?: number | undefined;
3023
+ };
3024
+ modelId: string;
3025
+ modelName: string;
3026
+ comparentShapes: any[];
3027
+ }[] | undefined;
3028
+ meta?: any;
3029
+ scenarioMenus?: {
3030
+ [x: string]: any;
3031
+ code: string;
3032
+ name: string;
3033
+ icon: string;
3034
+ sourceModels: string[];
3035
+ targetCreateModel: string;
3036
+ targetModels: string[];
3037
+ }[] | undefined;
3038
+ inert?: boolean | undefined;
3039
+ isCut?: boolean | undefined;
3040
+ sourceModels?: string[] | undefined;
3041
+ targetModels?: string[] | undefined;
3042
+ modelTypePropertyId: string;
3043
+ targetCreateModel?: string | undefined;
3044
+ sourceModelId?: string | undefined;
3045
+ isMovableComparents: boolean;
3046
+ ganttData?: {
3047
+ [x: string]: any;
3048
+ id: string;
3049
+ modelId: string;
3050
+ ganttOrTableModelId: string;
3051
+ projectId: string;
3052
+ type: string;
3053
+ sort: string;
3054
+ }[] | undefined;
3055
+ attributeColumns?: {
3056
+ id?: number | undefined;
3057
+ propertyId?: number | undefined;
3058
+ projectId?: string | undefined;
3059
+ modelId?: string | undefined;
3060
+ configId: string;
3061
+ name: string;
3062
+ isShow: boolean;
3063
+ isReadonly: boolean;
3064
+ }[] | undefined;
3065
+ ganttContainsModels?: {
3066
+ projectId: string;
3067
+ ownerId: string;
3068
+ type: string;
3069
+ name: string;
3070
+ isChart: boolean;
3071
+ icon: string;
3072
+ }[] | undefined;
3073
+ }[];
3074
+ addDiagram: (diagram: Shape) => void;
3075
+ setCurrentDiagramId: (id: string | null) => void;
3076
+ selectMany: (ids: string[]) => void;
3077
+ clearSelection: () => void;
3078
+ selectAll: () => void;
3079
+ removeSelected: () => void;
3080
+ finalCheckCanNest: (childId: string, parentId: string | null) => Promise<boolean>;
3081
+ setHoverState: (id: string | null, nestable: boolean | null) => void;
3082
+ initializeAllEdgeEndpoints: () => Promise<void>;
3083
+ endResizeShape: (id: string) => Promise<void>;
3084
+ getScale: (diagramId?: string | null) => number;
3085
+ setScale: (newScale: number, diagramId?: string | null) => void;
3086
+ setActiveDiagramId: (id: string | null) => void;
3087
+ setConnectMode: (mode: string) => void;
3088
+ getConnectMode: () => string;
3089
+ visibleShapes: import('vue').ComputedRef<Shape[]>;
3090
+ externalCreatingId: Ref<string | null, string | null>;
3091
+ expandParentAndEmitSizeUpdateByChild: (child: Shape) => void;
3092
+ setIsMouseInGraphView: (isIn: boolean) => void;
3093
+ setCutShapeIds: (ids: string[]) => void;
3094
+ clearCutShapeIds: () => void;
3095
+ setCopiedShapesCount: (count: number) => void;
3096
+ setMatrixData: (payload: Matrix) => void;
3097
+ }, "shapeCount" | "hasSelectedShape" | "parentChildMap" | "shapeMap" | "edgesByNodeId" | "marqueeShapes" | "ghostShadow" | "currentScale" | "visibleShapes">, Pick<{
3098
+ shapes: Ref<{
3099
+ id: string;
3100
+ diagramId: string;
3101
+ parenShapeId: string;
3102
+ shapeKey: string;
3103
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
3104
+ bounds: {
3105
+ x?: number | undefined;
3106
+ y?: number | undefined;
3107
+ width?: number | undefined;
3108
+ height?: number | undefined;
3109
+ };
3110
+ style?: {
3111
+ fontSize?: number | undefined;
3112
+ fontFamily?: string | undefined;
3113
+ fontWeight?: string | undefined;
3114
+ color?: string | undefined;
3115
+ backgroundColor?: string | undefined;
3116
+ borderColor?: string | undefined;
3117
+ borderWidth?: number | undefined;
3118
+ borderRadius?: number | undefined;
3119
+ padding?: number | {
3120
+ top: number;
3121
+ right: number;
3122
+ bottom: number;
3123
+ left: number;
3124
+ } | undefined;
3125
+ margin?: number | undefined;
3126
+ zIndex?: number | undefined;
3127
+ canvasBorderWidth?: number | undefined;
3128
+ canvasBorderColor?: string | undefined;
3129
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3130
+ canvasNameFontSize?: number | undefined;
3131
+ canvasNameFontFamily?: string | undefined;
3132
+ canvasNameFontColor?: string | undefined;
3133
+ gradientLeftColor?: string | undefined;
3134
+ gradientRightColor?: string | undefined;
3135
+ textAnchor?: string | undefined;
3136
+ dominantBaseline?: string | undefined;
3137
+ } | undefined;
3138
+ keywords: string;
3139
+ keywordsBounds?: {
3140
+ x?: number | undefined;
3141
+ y?: number | undefined;
3142
+ width?: number | undefined;
3143
+ height?: number | undefined;
3144
+ } | undefined;
3145
+ keywordsStyle?: {
3146
+ fontSize?: number | undefined;
3147
+ fontFamily?: string | undefined;
3148
+ fontWeight?: string | undefined;
3149
+ color?: string | undefined;
3150
+ backgroundColor?: string | undefined;
3151
+ borderColor?: string | undefined;
3152
+ borderWidth?: number | undefined;
3153
+ borderRadius?: number | undefined;
3154
+ padding?: number | {
3155
+ top: number;
3156
+ right: number;
3157
+ bottom: number;
3158
+ left: number;
3159
+ } | undefined;
3160
+ margin?: number | undefined;
3161
+ zIndex?: number | undefined;
3162
+ canvasBorderWidth?: number | undefined;
3163
+ canvasBorderColor?: string | undefined;
3164
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3165
+ canvasNameFontSize?: number | undefined;
3166
+ canvasNameFontFamily?: string | undefined;
3167
+ canvasNameFontColor?: string | undefined;
3168
+ gradientLeftColor?: string | undefined;
3169
+ gradientRightColor?: string | undefined;
3170
+ textAnchor?: string | undefined;
3171
+ dominantBaseline?: string | undefined;
3172
+ } | undefined;
3173
+ icon?: string | undefined;
3174
+ modelId: string;
3175
+ modelName: string;
3176
+ names: string;
3177
+ name: string;
3178
+ nameBounds?: {
3179
+ x?: number | undefined;
3180
+ y?: number | undefined;
3181
+ width?: number | undefined;
3182
+ height?: number | undefined;
3183
+ } | undefined;
3184
+ nameStyle?: {
3185
+ fontSize?: number | undefined;
3186
+ fontFamily?: string | undefined;
3187
+ fontWeight?: string | undefined;
3188
+ color?: string | undefined;
3189
+ backgroundColor?: string | undefined;
3190
+ borderColor?: string | undefined;
3191
+ borderWidth?: number | undefined;
3192
+ borderRadius?: number | undefined;
3193
+ padding?: number | {
3194
+ top: number;
3195
+ right: number;
3196
+ bottom: number;
3197
+ left: number;
3198
+ } | undefined;
3199
+ margin?: number | undefined;
3200
+ zIndex?: number | undefined;
3201
+ canvasBorderWidth?: number | undefined;
3202
+ canvasBorderColor?: string | undefined;
3203
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3204
+ canvasNameFontSize?: number | undefined;
3205
+ canvasNameFontFamily?: string | undefined;
3206
+ canvasNameFontColor?: string | undefined;
3207
+ gradientLeftColor?: string | undefined;
3208
+ gradientRightColor?: string | undefined;
3209
+ textAnchor?: string | undefined;
3210
+ dominantBaseline?: string | undefined;
3211
+ } | undefined;
3212
+ direction?: string | undefined;
3213
+ sourceId?: string | undefined;
3214
+ targetId?: string | undefined;
3215
+ waypointId?: string | undefined;
3216
+ waypoints?: {
3217
+ x: number;
3218
+ y: number;
3219
+ }[] | undefined;
3220
+ showKeywords: boolean;
3221
+ showIcon: boolean;
3222
+ showName: boolean;
3223
+ showTaggedValues: boolean;
3224
+ showComparents: boolean;
3225
+ taggedValueLabels?: {
3226
+ id: string;
3227
+ modelId: string;
3228
+ modelName: string;
3229
+ names: string;
3230
+ name: string;
3231
+ nameBounds?: string | undefined;
3232
+ nameStyle?: string | undefined;
3233
+ }[] | undefined;
3234
+ comparents?: {
3235
+ bounds: {
3236
+ x?: number | undefined;
3237
+ y?: number | undefined;
3238
+ width?: number | undefined;
3239
+ height?: number | undefined;
3240
+ };
3241
+ modelId: string;
3242
+ modelName: string;
3243
+ comparentShapes: any[];
3244
+ }[] | undefined;
3245
+ meta?: any;
3246
+ scenarioMenus?: {
3247
+ [x: string]: any;
3248
+ code: string;
3249
+ name: string;
3250
+ icon: string;
3251
+ sourceModels: string[];
3252
+ targetCreateModel: string;
3253
+ targetModels: string[];
3254
+ }[] | undefined;
3255
+ inert?: boolean | undefined;
3256
+ isCut?: boolean | undefined;
3257
+ sourceModels?: string[] | undefined;
3258
+ targetModels?: string[] | undefined;
3259
+ modelTypePropertyId: string;
3260
+ targetCreateModel?: string | undefined;
3261
+ sourceModelId?: string | undefined;
3262
+ isMovableComparents: boolean;
3263
+ ganttData?: {
3264
+ [x: string]: any;
3265
+ id: string;
3266
+ modelId: string;
3267
+ ganttOrTableModelId: string;
3268
+ projectId: string;
3269
+ type: string;
3270
+ sort: string;
3271
+ }[] | undefined;
3272
+ attributeColumns?: {
3273
+ id?: number | undefined;
3274
+ propertyId?: number | undefined;
3275
+ projectId?: string | undefined;
3276
+ modelId?: string | undefined;
3277
+ configId: string;
3278
+ name: string;
3279
+ isShow: boolean;
3280
+ isReadonly: boolean;
3281
+ }[] | undefined;
3282
+ ganttContainsModels?: {
3283
+ projectId: string;
3284
+ ownerId: string;
3285
+ type: string;
3286
+ name: string;
3287
+ isChart: boolean;
3288
+ icon: string;
3289
+ }[] | undefined;
3290
+ }[], Shape[] | {
3291
+ id: string;
3292
+ diagramId: string;
3293
+ parenShapeId: string;
3294
+ shapeKey: string;
3295
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
3296
+ bounds: {
3297
+ x?: number | undefined;
3298
+ y?: number | undefined;
3299
+ width?: number | undefined;
3300
+ height?: number | undefined;
3301
+ };
3302
+ style?: {
3303
+ fontSize?: number | undefined;
3304
+ fontFamily?: string | undefined;
3305
+ fontWeight?: string | undefined;
3306
+ color?: string | undefined;
3307
+ backgroundColor?: string | undefined;
3308
+ borderColor?: string | undefined;
3309
+ borderWidth?: number | undefined;
3310
+ borderRadius?: number | undefined;
3311
+ padding?: number | {
3312
+ top: number;
3313
+ right: number;
3314
+ bottom: number;
3315
+ left: number;
3316
+ } | undefined;
3317
+ margin?: number | undefined;
3318
+ zIndex?: number | undefined;
3319
+ canvasBorderWidth?: number | undefined;
3320
+ canvasBorderColor?: string | undefined;
3321
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3322
+ canvasNameFontSize?: number | undefined;
3323
+ canvasNameFontFamily?: string | undefined;
3324
+ canvasNameFontColor?: string | undefined;
3325
+ gradientLeftColor?: string | undefined;
3326
+ gradientRightColor?: string | undefined;
3327
+ textAnchor?: string | undefined;
3328
+ dominantBaseline?: string | undefined;
3329
+ } | undefined;
3330
+ keywords: string;
3331
+ keywordsBounds?: {
3332
+ x?: number | undefined;
3333
+ y?: number | undefined;
3334
+ width?: number | undefined;
3335
+ height?: number | undefined;
3336
+ } | undefined;
3337
+ keywordsStyle?: {
3338
+ fontSize?: number | undefined;
3339
+ fontFamily?: string | undefined;
3340
+ fontWeight?: string | undefined;
3341
+ color?: string | undefined;
3342
+ backgroundColor?: string | undefined;
3343
+ borderColor?: string | undefined;
3344
+ borderWidth?: number | undefined;
3345
+ borderRadius?: number | undefined;
3346
+ padding?: number | {
3347
+ top: number;
3348
+ right: number;
3349
+ bottom: number;
3350
+ left: number;
3351
+ } | undefined;
3352
+ margin?: number | undefined;
3353
+ zIndex?: number | undefined;
3354
+ canvasBorderWidth?: number | undefined;
3355
+ canvasBorderColor?: string | undefined;
3356
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3357
+ canvasNameFontSize?: number | undefined;
3358
+ canvasNameFontFamily?: string | undefined;
3359
+ canvasNameFontColor?: string | undefined;
3360
+ gradientLeftColor?: string | undefined;
3361
+ gradientRightColor?: string | undefined;
3362
+ textAnchor?: string | undefined;
3363
+ dominantBaseline?: string | undefined;
3364
+ } | undefined;
3365
+ icon?: string | undefined;
3366
+ modelId: string;
3367
+ modelName: string;
3368
+ names: string;
3369
+ name: string;
3370
+ nameBounds?: {
3371
+ x?: number | undefined;
3372
+ y?: number | undefined;
3373
+ width?: number | undefined;
3374
+ height?: number | undefined;
3375
+ } | undefined;
3376
+ nameStyle?: {
3377
+ fontSize?: number | undefined;
3378
+ fontFamily?: string | undefined;
3379
+ fontWeight?: string | undefined;
3380
+ color?: string | undefined;
3381
+ backgroundColor?: string | undefined;
3382
+ borderColor?: string | undefined;
3383
+ borderWidth?: number | undefined;
3384
+ borderRadius?: number | undefined;
3385
+ padding?: number | {
3386
+ top: number;
3387
+ right: number;
3388
+ bottom: number;
3389
+ left: number;
3390
+ } | undefined;
3391
+ margin?: number | undefined;
3392
+ zIndex?: number | undefined;
3393
+ canvasBorderWidth?: number | undefined;
3394
+ canvasBorderColor?: string | undefined;
3395
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3396
+ canvasNameFontSize?: number | undefined;
3397
+ canvasNameFontFamily?: string | undefined;
3398
+ canvasNameFontColor?: string | undefined;
3399
+ gradientLeftColor?: string | undefined;
3400
+ gradientRightColor?: string | undefined;
3401
+ textAnchor?: string | undefined;
3402
+ dominantBaseline?: string | undefined;
3403
+ } | undefined;
3404
+ direction?: string | undefined;
3405
+ sourceId?: string | undefined;
3406
+ targetId?: string | undefined;
3407
+ waypointId?: string | undefined;
3408
+ waypoints?: {
3409
+ x: number;
3410
+ y: number;
3411
+ }[] | undefined;
3412
+ showKeywords: boolean;
3413
+ showIcon: boolean;
3414
+ showName: boolean;
3415
+ showTaggedValues: boolean;
3416
+ showComparents: boolean;
3417
+ taggedValueLabels?: {
3418
+ id: string;
3419
+ modelId: string;
3420
+ modelName: string;
3421
+ names: string;
3422
+ name: string;
3423
+ nameBounds?: string | undefined;
3424
+ nameStyle?: string | undefined;
3425
+ }[] | undefined;
3426
+ comparents?: {
3427
+ bounds: {
3428
+ x?: number | undefined;
3429
+ y?: number | undefined;
3430
+ width?: number | undefined;
3431
+ height?: number | undefined;
3432
+ };
3433
+ modelId: string;
3434
+ modelName: string;
3435
+ comparentShapes: any[];
3436
+ }[] | undefined;
3437
+ meta?: any;
3438
+ scenarioMenus?: {
3439
+ [x: string]: any;
3440
+ code: string;
3441
+ name: string;
3442
+ icon: string;
3443
+ sourceModels: string[];
3444
+ targetCreateModel: string;
3445
+ targetModels: string[];
3446
+ }[] | undefined;
3447
+ inert?: boolean | undefined;
3448
+ isCut?: boolean | undefined;
3449
+ sourceModels?: string[] | undefined;
3450
+ targetModels?: string[] | undefined;
3451
+ modelTypePropertyId: string;
3452
+ targetCreateModel?: string | undefined;
3453
+ sourceModelId?: string | undefined;
3454
+ isMovableComparents: boolean;
3455
+ ganttData?: {
3456
+ [x: string]: any;
3457
+ id: string;
3458
+ modelId: string;
3459
+ ganttOrTableModelId: string;
3460
+ projectId: string;
3461
+ type: string;
3462
+ sort: string;
3463
+ }[] | undefined;
3464
+ attributeColumns?: {
3465
+ id?: number | undefined;
3466
+ propertyId?: number | undefined;
3467
+ projectId?: string | undefined;
3468
+ modelId?: string | undefined;
3469
+ configId: string;
3470
+ name: string;
3471
+ isShow: boolean;
3472
+ isReadonly: boolean;
3473
+ }[] | undefined;
3474
+ ganttContainsModels?: {
3475
+ projectId: string;
3476
+ ownerId: string;
3477
+ type: string;
3478
+ name: string;
3479
+ isChart: boolean;
3480
+ icon: string;
3481
+ }[] | undefined;
3482
+ }[]>;
3483
+ pendingNestedIds: Ref<string[], string[]>;
3484
+ selectedShape: Ref<{
3485
+ id: string;
3486
+ diagramId: string;
3487
+ parenShapeId: string;
3488
+ shapeKey: string;
3489
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
3490
+ bounds: {
3491
+ x?: number | undefined;
3492
+ y?: number | undefined;
3493
+ width?: number | undefined;
3494
+ height?: number | undefined;
3495
+ };
3496
+ style?: {
3497
+ fontSize?: number | undefined;
3498
+ fontFamily?: string | undefined;
3499
+ fontWeight?: string | undefined;
3500
+ color?: string | undefined;
3501
+ backgroundColor?: string | undefined;
3502
+ borderColor?: string | undefined;
3503
+ borderWidth?: number | undefined;
3504
+ borderRadius?: number | undefined;
3505
+ padding?: number | {
3506
+ top: number;
3507
+ right: number;
3508
+ bottom: number;
3509
+ left: number;
3510
+ } | undefined;
3511
+ margin?: number | undefined;
3512
+ zIndex?: number | undefined;
3513
+ canvasBorderWidth?: number | undefined;
3514
+ canvasBorderColor?: string | undefined;
3515
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3516
+ canvasNameFontSize?: number | undefined;
3517
+ canvasNameFontFamily?: string | undefined;
3518
+ canvasNameFontColor?: string | undefined;
3519
+ gradientLeftColor?: string | undefined;
3520
+ gradientRightColor?: string | undefined;
3521
+ textAnchor?: string | undefined;
3522
+ dominantBaseline?: string | undefined;
3523
+ } | undefined;
3524
+ keywords: string;
3525
+ keywordsBounds?: {
3526
+ x?: number | undefined;
3527
+ y?: number | undefined;
3528
+ width?: number | undefined;
3529
+ height?: number | undefined;
3530
+ } | undefined;
3531
+ keywordsStyle?: {
3532
+ fontSize?: number | undefined;
3533
+ fontFamily?: string | undefined;
3534
+ fontWeight?: string | undefined;
3535
+ color?: string | undefined;
3536
+ backgroundColor?: string | undefined;
3537
+ borderColor?: string | undefined;
3538
+ borderWidth?: number | undefined;
3539
+ borderRadius?: number | undefined;
3540
+ padding?: number | {
3541
+ top: number;
3542
+ right: number;
3543
+ bottom: number;
3544
+ left: number;
3545
+ } | undefined;
3546
+ margin?: number | undefined;
3547
+ zIndex?: number | undefined;
3548
+ canvasBorderWidth?: number | undefined;
3549
+ canvasBorderColor?: string | undefined;
3550
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3551
+ canvasNameFontSize?: number | undefined;
3552
+ canvasNameFontFamily?: string | undefined;
3553
+ canvasNameFontColor?: string | undefined;
3554
+ gradientLeftColor?: string | undefined;
3555
+ gradientRightColor?: string | undefined;
3556
+ textAnchor?: string | undefined;
3557
+ dominantBaseline?: string | undefined;
3558
+ } | undefined;
3559
+ icon?: string | undefined;
3560
+ modelId: string;
3561
+ modelName: string;
3562
+ names: string;
3563
+ name: string;
3564
+ nameBounds?: {
3565
+ x?: number | undefined;
3566
+ y?: number | undefined;
3567
+ width?: number | undefined;
3568
+ height?: number | undefined;
3569
+ } | undefined;
3570
+ nameStyle?: {
3571
+ fontSize?: number | undefined;
3572
+ fontFamily?: string | undefined;
3573
+ fontWeight?: string | undefined;
3574
+ color?: string | undefined;
3575
+ backgroundColor?: string | undefined;
3576
+ borderColor?: string | undefined;
3577
+ borderWidth?: number | undefined;
3578
+ borderRadius?: number | undefined;
3579
+ padding?: number | {
3580
+ top: number;
3581
+ right: number;
3582
+ bottom: number;
3583
+ left: number;
3584
+ } | undefined;
3585
+ margin?: number | undefined;
3586
+ zIndex?: number | undefined;
3587
+ canvasBorderWidth?: number | undefined;
3588
+ canvasBorderColor?: string | undefined;
3589
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3590
+ canvasNameFontSize?: number | undefined;
3591
+ canvasNameFontFamily?: string | undefined;
3592
+ canvasNameFontColor?: string | undefined;
3593
+ gradientLeftColor?: string | undefined;
3594
+ gradientRightColor?: string | undefined;
3595
+ textAnchor?: string | undefined;
3596
+ dominantBaseline?: string | undefined;
3597
+ } | undefined;
3598
+ direction?: string | undefined;
3599
+ sourceId?: string | undefined;
3600
+ targetId?: string | undefined;
3601
+ waypointId?: string | undefined;
3602
+ waypoints?: {
3603
+ x: number;
3604
+ y: number;
3605
+ }[] | undefined;
3606
+ showKeywords: boolean;
3607
+ showIcon: boolean;
3608
+ showName: boolean;
3609
+ showTaggedValues: boolean;
3610
+ showComparents: boolean;
3611
+ taggedValueLabels?: {
3612
+ id: string;
3613
+ modelId: string;
3614
+ modelName: string;
3615
+ names: string;
3616
+ name: string;
3617
+ nameBounds?: string | undefined;
3618
+ nameStyle?: string | undefined;
3619
+ }[] | undefined;
3620
+ comparents?: {
3621
+ bounds: {
3622
+ x?: number | undefined;
3623
+ y?: number | undefined;
3624
+ width?: number | undefined;
3625
+ height?: number | undefined;
3626
+ };
3627
+ modelId: string;
3628
+ modelName: string;
3629
+ comparentShapes: any[];
3630
+ }[] | undefined;
3631
+ meta?: any;
3632
+ scenarioMenus?: {
3633
+ [x: string]: any;
3634
+ code: string;
3635
+ name: string;
3636
+ icon: string;
3637
+ sourceModels: string[];
3638
+ targetCreateModel: string;
3639
+ targetModels: string[];
3640
+ }[] | undefined;
3641
+ inert?: boolean | undefined;
3642
+ isCut?: boolean | undefined;
3643
+ sourceModels?: string[] | undefined;
3644
+ targetModels?: string[] | undefined;
3645
+ modelTypePropertyId: string;
3646
+ targetCreateModel?: string | undefined;
3647
+ sourceModelId?: string | undefined;
3648
+ isMovableComparents: boolean;
3649
+ ganttData?: {
3650
+ [x: string]: any;
3651
+ id: string;
3652
+ modelId: string;
3653
+ ganttOrTableModelId: string;
3654
+ projectId: string;
3655
+ type: string;
3656
+ sort: string;
3657
+ }[] | undefined;
3658
+ attributeColumns?: {
3659
+ id?: number | undefined;
3660
+ propertyId?: number | undefined;
3661
+ projectId?: string | undefined;
3662
+ modelId?: string | undefined;
3663
+ configId: string;
3664
+ name: string;
3665
+ isShow: boolean;
3666
+ isReadonly: boolean;
3667
+ }[] | undefined;
3668
+ ganttContainsModels?: {
3669
+ projectId: string;
3670
+ ownerId: string;
3671
+ type: string;
3672
+ name: string;
3673
+ isChart: boolean;
3674
+ icon: string;
3675
+ }[] | undefined;
3676
+ } | null, Shape | {
3677
+ id: string;
3678
+ diagramId: string;
3679
+ parenShapeId: string;
3680
+ shapeKey: string;
3681
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
3682
+ bounds: {
3683
+ x?: number | undefined;
3684
+ y?: number | undefined;
3685
+ width?: number | undefined;
3686
+ height?: number | undefined;
3687
+ };
3688
+ style?: {
3689
+ fontSize?: number | undefined;
3690
+ fontFamily?: string | undefined;
3691
+ fontWeight?: string | undefined;
3692
+ color?: string | undefined;
3693
+ backgroundColor?: string | undefined;
3694
+ borderColor?: string | undefined;
3695
+ borderWidth?: number | undefined;
3696
+ borderRadius?: number | undefined;
3697
+ padding?: number | {
3698
+ top: number;
3699
+ right: number;
3700
+ bottom: number;
3701
+ left: number;
3702
+ } | undefined;
3703
+ margin?: number | undefined;
3704
+ zIndex?: number | undefined;
3705
+ canvasBorderWidth?: number | undefined;
3706
+ canvasBorderColor?: string | undefined;
3707
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3708
+ canvasNameFontSize?: number | undefined;
3709
+ canvasNameFontFamily?: string | undefined;
3710
+ canvasNameFontColor?: string | undefined;
3711
+ gradientLeftColor?: string | undefined;
3712
+ gradientRightColor?: string | undefined;
3713
+ textAnchor?: string | undefined;
3714
+ dominantBaseline?: string | undefined;
3715
+ } | undefined;
3716
+ keywords: string;
3717
+ keywordsBounds?: {
3718
+ x?: number | undefined;
3719
+ y?: number | undefined;
3720
+ width?: number | undefined;
3721
+ height?: number | undefined;
3722
+ } | undefined;
3723
+ keywordsStyle?: {
3724
+ fontSize?: number | undefined;
3725
+ fontFamily?: string | undefined;
3726
+ fontWeight?: string | undefined;
3727
+ color?: string | undefined;
3728
+ backgroundColor?: string | undefined;
3729
+ borderColor?: string | undefined;
3730
+ borderWidth?: number | undefined;
3731
+ borderRadius?: number | undefined;
3732
+ padding?: number | {
3733
+ top: number;
3734
+ right: number;
3735
+ bottom: number;
3736
+ left: number;
3737
+ } | undefined;
3738
+ margin?: number | undefined;
3739
+ zIndex?: number | undefined;
3740
+ canvasBorderWidth?: number | undefined;
3741
+ canvasBorderColor?: string | undefined;
3742
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3743
+ canvasNameFontSize?: number | undefined;
3744
+ canvasNameFontFamily?: string | undefined;
3745
+ canvasNameFontColor?: string | undefined;
3746
+ gradientLeftColor?: string | undefined;
3747
+ gradientRightColor?: string | undefined;
3748
+ textAnchor?: string | undefined;
3749
+ dominantBaseline?: string | undefined;
3750
+ } | undefined;
3751
+ icon?: string | undefined;
3752
+ modelId: string;
3753
+ modelName: string;
3754
+ names: string;
3755
+ name: string;
3756
+ nameBounds?: {
3757
+ x?: number | undefined;
3758
+ y?: number | undefined;
3759
+ width?: number | undefined;
3760
+ height?: number | undefined;
3761
+ } | undefined;
3762
+ nameStyle?: {
3763
+ fontSize?: number | undefined;
3764
+ fontFamily?: string | undefined;
3765
+ fontWeight?: string | undefined;
3766
+ color?: string | undefined;
3767
+ backgroundColor?: string | undefined;
3768
+ borderColor?: string | undefined;
3769
+ borderWidth?: number | undefined;
3770
+ borderRadius?: number | undefined;
3771
+ padding?: number | {
3772
+ top: number;
3773
+ right: number;
3774
+ bottom: number;
3775
+ left: number;
3776
+ } | undefined;
3777
+ margin?: number | undefined;
3778
+ zIndex?: number | undefined;
3779
+ canvasBorderWidth?: number | undefined;
3780
+ canvasBorderColor?: string | undefined;
3781
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3782
+ canvasNameFontSize?: number | undefined;
3783
+ canvasNameFontFamily?: string | undefined;
3784
+ canvasNameFontColor?: string | undefined;
3785
+ gradientLeftColor?: string | undefined;
3786
+ gradientRightColor?: string | undefined;
3787
+ textAnchor?: string | undefined;
3788
+ dominantBaseline?: string | undefined;
3789
+ } | undefined;
3790
+ direction?: string | undefined;
3791
+ sourceId?: string | undefined;
3792
+ targetId?: string | undefined;
3793
+ waypointId?: string | undefined;
3794
+ waypoints?: {
3795
+ x: number;
3796
+ y: number;
3797
+ }[] | undefined;
3798
+ showKeywords: boolean;
3799
+ showIcon: boolean;
3800
+ showName: boolean;
3801
+ showTaggedValues: boolean;
3802
+ showComparents: boolean;
3803
+ taggedValueLabels?: {
3804
+ id: string;
3805
+ modelId: string;
3806
+ modelName: string;
3807
+ names: string;
3808
+ name: string;
3809
+ nameBounds?: string | undefined;
3810
+ nameStyle?: string | undefined;
3811
+ }[] | undefined;
3812
+ comparents?: {
3813
+ bounds: {
3814
+ x?: number | undefined;
3815
+ y?: number | undefined;
3816
+ width?: number | undefined;
3817
+ height?: number | undefined;
3818
+ };
3819
+ modelId: string;
3820
+ modelName: string;
3821
+ comparentShapes: any[];
3822
+ }[] | undefined;
3823
+ meta?: any;
3824
+ scenarioMenus?: {
3825
+ [x: string]: any;
3826
+ code: string;
3827
+ name: string;
3828
+ icon: string;
3829
+ sourceModels: string[];
3830
+ targetCreateModel: string;
3831
+ targetModels: string[];
3832
+ }[] | undefined;
3833
+ inert?: boolean | undefined;
3834
+ isCut?: boolean | undefined;
3835
+ sourceModels?: string[] | undefined;
3836
+ targetModels?: string[] | undefined;
3837
+ modelTypePropertyId: string;
3838
+ targetCreateModel?: string | undefined;
3839
+ sourceModelId?: string | undefined;
3840
+ isMovableComparents: boolean;
3841
+ ganttData?: {
3842
+ [x: string]: any;
3843
+ id: string;
3844
+ modelId: string;
3845
+ ganttOrTableModelId: string;
3846
+ projectId: string;
3847
+ type: string;
3848
+ sort: string;
3849
+ }[] | undefined;
3850
+ attributeColumns?: {
3851
+ id?: number | undefined;
3852
+ propertyId?: number | undefined;
3853
+ projectId?: string | undefined;
3854
+ modelId?: string | undefined;
3855
+ configId: string;
3856
+ name: string;
3857
+ isShow: boolean;
3858
+ isReadonly: boolean;
3859
+ }[] | undefined;
3860
+ ganttContainsModels?: {
3861
+ projectId: string;
3862
+ ownerId: string;
3863
+ type: string;
3864
+ name: string;
3865
+ isChart: boolean;
3866
+ icon: string;
3867
+ }[] | undefined;
3868
+ } | null>;
3869
+ diagramTitle: Ref<string, string>;
3870
+ isDragging: Ref<boolean, boolean>;
3871
+ draggingShapeId: Ref<string | null, string | null>;
3872
+ dragOffset: Ref<{
3873
+ x: number;
3874
+ y: number;
3875
+ } | null, {
3876
+ x: number;
3877
+ y: number;
3878
+ } | {
3879
+ x: number;
3880
+ y: number;
3881
+ } | null>;
3882
+ diagrams: Ref<{
3883
+ id: string;
3884
+ diagramId: string;
3885
+ parenShapeId: string;
3886
+ shapeKey: string;
3887
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
3888
+ bounds: {
3889
+ x?: number | undefined;
3890
+ y?: number | undefined;
3891
+ width?: number | undefined;
3892
+ height?: number | undefined;
3893
+ };
3894
+ style?: {
3895
+ fontSize?: number | undefined;
3896
+ fontFamily?: string | undefined;
3897
+ fontWeight?: string | undefined;
3898
+ color?: string | undefined;
3899
+ backgroundColor?: string | undefined;
3900
+ borderColor?: string | undefined;
3901
+ borderWidth?: number | undefined;
3902
+ borderRadius?: number | undefined;
3903
+ padding?: number | {
3904
+ top: number;
3905
+ right: number;
3906
+ bottom: number;
3907
+ left: number;
3908
+ } | undefined;
3909
+ margin?: number | undefined;
3910
+ zIndex?: number | undefined;
3911
+ canvasBorderWidth?: number | undefined;
3912
+ canvasBorderColor?: string | undefined;
3913
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3914
+ canvasNameFontSize?: number | undefined;
3915
+ canvasNameFontFamily?: string | undefined;
3916
+ canvasNameFontColor?: string | undefined;
3917
+ gradientLeftColor?: string | undefined;
3918
+ gradientRightColor?: string | undefined;
3919
+ textAnchor?: string | undefined;
3920
+ dominantBaseline?: string | undefined;
3921
+ } | undefined;
3922
+ keywords: string;
3923
+ keywordsBounds?: {
3924
+ x?: number | undefined;
3925
+ y?: number | undefined;
3926
+ width?: number | undefined;
3927
+ height?: number | undefined;
3928
+ } | undefined;
3929
+ keywordsStyle?: {
3930
+ fontSize?: number | undefined;
3931
+ fontFamily?: string | undefined;
3932
+ fontWeight?: string | undefined;
3933
+ color?: string | undefined;
3934
+ backgroundColor?: string | undefined;
3935
+ borderColor?: string | undefined;
3936
+ borderWidth?: number | undefined;
3937
+ borderRadius?: number | undefined;
3938
+ padding?: number | {
3939
+ top: number;
3940
+ right: number;
3941
+ bottom: number;
3942
+ left: number;
3943
+ } | undefined;
3944
+ margin?: number | undefined;
3945
+ zIndex?: number | undefined;
3946
+ canvasBorderWidth?: number | undefined;
3947
+ canvasBorderColor?: string | undefined;
3948
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3949
+ canvasNameFontSize?: number | undefined;
3950
+ canvasNameFontFamily?: string | undefined;
3951
+ canvasNameFontColor?: string | undefined;
3952
+ gradientLeftColor?: string | undefined;
3953
+ gradientRightColor?: string | undefined;
3954
+ textAnchor?: string | undefined;
3955
+ dominantBaseline?: string | undefined;
3956
+ } | undefined;
3957
+ icon?: string | undefined;
3958
+ modelId: string;
3959
+ modelName: string;
3960
+ names: string;
3961
+ name: string;
3962
+ nameBounds?: {
3963
+ x?: number | undefined;
3964
+ y?: number | undefined;
3965
+ width?: number | undefined;
3966
+ height?: number | undefined;
3967
+ } | undefined;
3968
+ nameStyle?: {
3969
+ fontSize?: number | undefined;
3970
+ fontFamily?: string | undefined;
3971
+ fontWeight?: string | undefined;
3972
+ color?: string | undefined;
3973
+ backgroundColor?: string | undefined;
3974
+ borderColor?: string | undefined;
3975
+ borderWidth?: number | undefined;
3976
+ borderRadius?: number | undefined;
3977
+ padding?: number | {
3978
+ top: number;
3979
+ right: number;
3980
+ bottom: number;
3981
+ left: number;
3982
+ } | undefined;
3983
+ margin?: number | undefined;
3984
+ zIndex?: number | undefined;
3985
+ canvasBorderWidth?: number | undefined;
3986
+ canvasBorderColor?: string | undefined;
3987
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
3988
+ canvasNameFontSize?: number | undefined;
3989
+ canvasNameFontFamily?: string | undefined;
3990
+ canvasNameFontColor?: string | undefined;
3991
+ gradientLeftColor?: string | undefined;
3992
+ gradientRightColor?: string | undefined;
3993
+ textAnchor?: string | undefined;
3994
+ dominantBaseline?: string | undefined;
3995
+ } | undefined;
3996
+ direction?: string | undefined;
3997
+ sourceId?: string | undefined;
3998
+ targetId?: string | undefined;
3999
+ waypointId?: string | undefined;
4000
+ waypoints?: {
4001
+ x: number;
4002
+ y: number;
4003
+ }[] | undefined;
4004
+ showKeywords: boolean;
4005
+ showIcon: boolean;
4006
+ showName: boolean;
4007
+ showTaggedValues: boolean;
4008
+ showComparents: boolean;
4009
+ taggedValueLabels?: {
4010
+ id: string;
4011
+ modelId: string;
4012
+ modelName: string;
4013
+ names: string;
4014
+ name: string;
4015
+ nameBounds?: string | undefined;
4016
+ nameStyle?: string | undefined;
4017
+ }[] | undefined;
4018
+ comparents?: {
4019
+ bounds: {
4020
+ x?: number | undefined;
4021
+ y?: number | undefined;
4022
+ width?: number | undefined;
4023
+ height?: number | undefined;
4024
+ };
4025
+ modelId: string;
4026
+ modelName: string;
4027
+ comparentShapes: any[];
4028
+ }[] | undefined;
4029
+ meta?: any;
4030
+ scenarioMenus?: {
4031
+ [x: string]: any;
4032
+ code: string;
4033
+ name: string;
4034
+ icon: string;
4035
+ sourceModels: string[];
4036
+ targetCreateModel: string;
4037
+ targetModels: string[];
4038
+ }[] | undefined;
4039
+ inert?: boolean | undefined;
4040
+ isCut?: boolean | undefined;
4041
+ sourceModels?: string[] | undefined;
4042
+ targetModels?: string[] | undefined;
4043
+ modelTypePropertyId: string;
4044
+ targetCreateModel?: string | undefined;
4045
+ sourceModelId?: string | undefined;
4046
+ isMovableComparents: boolean;
4047
+ ganttData?: {
4048
+ [x: string]: any;
4049
+ id: string;
4050
+ modelId: string;
4051
+ ganttOrTableModelId: string;
4052
+ projectId: string;
4053
+ type: string;
4054
+ sort: string;
4055
+ }[] | undefined;
4056
+ attributeColumns?: {
4057
+ id?: number | undefined;
4058
+ propertyId?: number | undefined;
4059
+ projectId?: string | undefined;
4060
+ modelId?: string | undefined;
4061
+ configId: string;
4062
+ name: string;
4063
+ isShow: boolean;
4064
+ isReadonly: boolean;
4065
+ }[] | undefined;
4066
+ ganttContainsModels?: {
4067
+ projectId: string;
4068
+ ownerId: string;
4069
+ type: string;
4070
+ name: string;
4071
+ isChart: boolean;
4072
+ icon: string;
4073
+ }[] | undefined;
4074
+ }[], Shape[] | {
4075
+ id: string;
4076
+ diagramId: string;
4077
+ parenShapeId: string;
4078
+ shapeKey: string;
4079
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
4080
+ bounds: {
4081
+ x?: number | undefined;
4082
+ y?: number | undefined;
4083
+ width?: number | undefined;
4084
+ height?: number | undefined;
4085
+ };
4086
+ style?: {
4087
+ fontSize?: number | undefined;
4088
+ fontFamily?: string | undefined;
4089
+ fontWeight?: string | undefined;
4090
+ color?: string | undefined;
4091
+ backgroundColor?: string | undefined;
4092
+ borderColor?: string | undefined;
4093
+ borderWidth?: number | undefined;
4094
+ borderRadius?: number | undefined;
4095
+ padding?: number | {
4096
+ top: number;
4097
+ right: number;
4098
+ bottom: number;
4099
+ left: number;
4100
+ } | undefined;
4101
+ margin?: number | undefined;
4102
+ zIndex?: number | undefined;
4103
+ canvasBorderWidth?: number | undefined;
4104
+ canvasBorderColor?: string | undefined;
4105
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
4106
+ canvasNameFontSize?: number | undefined;
4107
+ canvasNameFontFamily?: string | undefined;
4108
+ canvasNameFontColor?: string | undefined;
4109
+ gradientLeftColor?: string | undefined;
4110
+ gradientRightColor?: string | undefined;
4111
+ textAnchor?: string | undefined;
4112
+ dominantBaseline?: string | undefined;
4113
+ } | undefined;
4114
+ keywords: string;
4115
+ keywordsBounds?: {
4116
+ x?: number | undefined;
4117
+ y?: number | undefined;
4118
+ width?: number | undefined;
4119
+ height?: number | undefined;
4120
+ } | undefined;
4121
+ keywordsStyle?: {
4122
+ fontSize?: number | undefined;
4123
+ fontFamily?: string | undefined;
4124
+ fontWeight?: string | undefined;
4125
+ color?: string | undefined;
4126
+ backgroundColor?: string | undefined;
4127
+ borderColor?: string | undefined;
4128
+ borderWidth?: number | undefined;
4129
+ borderRadius?: number | undefined;
4130
+ padding?: number | {
4131
+ top: number;
4132
+ right: number;
4133
+ bottom: number;
4134
+ left: number;
4135
+ } | undefined;
4136
+ margin?: number | undefined;
4137
+ zIndex?: number | undefined;
4138
+ canvasBorderWidth?: number | undefined;
4139
+ canvasBorderColor?: string | undefined;
4140
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
4141
+ canvasNameFontSize?: number | undefined;
4142
+ canvasNameFontFamily?: string | undefined;
4143
+ canvasNameFontColor?: string | undefined;
4144
+ gradientLeftColor?: string | undefined;
4145
+ gradientRightColor?: string | undefined;
4146
+ textAnchor?: string | undefined;
4147
+ dominantBaseline?: string | undefined;
4148
+ } | undefined;
4149
+ icon?: string | undefined;
4150
+ modelId: string;
4151
+ modelName: string;
4152
+ names: string;
4153
+ name: string;
4154
+ nameBounds?: {
4155
+ x?: number | undefined;
4156
+ y?: number | undefined;
4157
+ width?: number | undefined;
4158
+ height?: number | undefined;
4159
+ } | undefined;
4160
+ nameStyle?: {
4161
+ fontSize?: number | undefined;
4162
+ fontFamily?: string | undefined;
4163
+ fontWeight?: string | undefined;
4164
+ color?: string | undefined;
4165
+ backgroundColor?: string | undefined;
4166
+ borderColor?: string | undefined;
4167
+ borderWidth?: number | undefined;
4168
+ borderRadius?: number | undefined;
4169
+ padding?: number | {
4170
+ top: number;
4171
+ right: number;
4172
+ bottom: number;
4173
+ left: number;
4174
+ } | undefined;
4175
+ margin?: number | undefined;
4176
+ zIndex?: number | undefined;
4177
+ canvasBorderWidth?: number | undefined;
4178
+ canvasBorderColor?: string | undefined;
4179
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
4180
+ canvasNameFontSize?: number | undefined;
4181
+ canvasNameFontFamily?: string | undefined;
4182
+ canvasNameFontColor?: string | undefined;
4183
+ gradientLeftColor?: string | undefined;
4184
+ gradientRightColor?: string | undefined;
4185
+ textAnchor?: string | undefined;
4186
+ dominantBaseline?: string | undefined;
4187
+ } | undefined;
4188
+ direction?: string | undefined;
4189
+ sourceId?: string | undefined;
4190
+ targetId?: string | undefined;
4191
+ waypointId?: string | undefined;
4192
+ waypoints?: {
4193
+ x: number;
4194
+ y: number;
4195
+ }[] | undefined;
4196
+ showKeywords: boolean;
4197
+ showIcon: boolean;
4198
+ showName: boolean;
4199
+ showTaggedValues: boolean;
4200
+ showComparents: boolean;
4201
+ taggedValueLabels?: {
4202
+ id: string;
4203
+ modelId: string;
4204
+ modelName: string;
4205
+ names: string;
4206
+ name: string;
4207
+ nameBounds?: string | undefined;
4208
+ nameStyle?: string | undefined;
4209
+ }[] | undefined;
4210
+ comparents?: {
4211
+ bounds: {
4212
+ x?: number | undefined;
4213
+ y?: number | undefined;
4214
+ width?: number | undefined;
4215
+ height?: number | undefined;
4216
+ };
4217
+ modelId: string;
4218
+ modelName: string;
4219
+ comparentShapes: any[];
4220
+ }[] | undefined;
4221
+ meta?: any;
4222
+ scenarioMenus?: {
4223
+ [x: string]: any;
4224
+ code: string;
4225
+ name: string;
4226
+ icon: string;
4227
+ sourceModels: string[];
4228
+ targetCreateModel: string;
4229
+ targetModels: string[];
4230
+ }[] | undefined;
4231
+ inert?: boolean | undefined;
4232
+ isCut?: boolean | undefined;
4233
+ sourceModels?: string[] | undefined;
4234
+ targetModels?: string[] | undefined;
4235
+ modelTypePropertyId: string;
4236
+ targetCreateModel?: string | undefined;
4237
+ sourceModelId?: string | undefined;
4238
+ isMovableComparents: boolean;
4239
+ ganttData?: {
4240
+ [x: string]: any;
4241
+ id: string;
4242
+ modelId: string;
4243
+ ganttOrTableModelId: string;
4244
+ projectId: string;
4245
+ type: string;
4246
+ sort: string;
4247
+ }[] | undefined;
4248
+ attributeColumns?: {
4249
+ id?: number | undefined;
4250
+ propertyId?: number | undefined;
4251
+ projectId?: string | undefined;
4252
+ modelId?: string | undefined;
4253
+ configId: string;
4254
+ name: string;
4255
+ isShow: boolean;
4256
+ isReadonly: boolean;
4257
+ }[] | undefined;
4258
+ ganttContainsModels?: {
4259
+ projectId: string;
4260
+ ownerId: string;
4261
+ type: string;
4262
+ name: string;
4263
+ isChart: boolean;
4264
+ icon: string;
4265
+ }[] | undefined;
4266
+ }[]>;
4267
+ selectedIds: Ref<string[], string[]>;
4268
+ hoverContainerId: Ref<string | null, string | null>;
4269
+ hoverNestable: Ref<boolean | null, boolean | null>;
4270
+ currentDiagramId: Ref<string | null, string | null>;
4271
+ canDropOnCanvas: Ref<boolean, boolean>;
4272
+ canOperate: Ref<boolean, boolean>;
4273
+ cutShapeIds: Ref<Set<string> & Omit<Set<string>, keyof Set<any>>, Set<string> | (Set<string> & Omit<Set<string>, keyof Set<any>>)>;
4274
+ copiedShapesCount: Ref<number, number>;
4275
+ matrixData: Ref<{
4276
+ rowTree: {
4277
+ id: string;
4278
+ nodeName: string;
4279
+ modelName: string;
4280
+ nodeType: string;
4281
+ modelTypeName?: null | undefined;
4282
+ elementId?: string | null | undefined;
4283
+ parentId?: string | null | undefined;
4284
+ isChildren?: boolean | undefined;
4285
+ isLeaf?: boolean | undefined;
4286
+ children?: any[] | undefined;
4287
+ expanded?: boolean | undefined;
4288
+ isReName?: boolean | undefined;
4289
+ isChart: boolean;
4290
+ isCreate?: boolean | undefined;
4291
+ isCanvas?: string | undefined;
4292
+ icon?: string | undefined;
4293
+ modelRelationld?: string | undefined;
4294
+ }[];
4295
+ columnTree: {
4296
+ id: string;
4297
+ nodeName: string;
4298
+ modelName: string;
4299
+ nodeType: string;
4300
+ modelTypeName?: null | undefined;
4301
+ elementId?: string | null | undefined;
4302
+ parentId?: string | null | undefined;
4303
+ isChildren?: boolean | undefined;
4304
+ isLeaf?: boolean | undefined;
4305
+ children?: any[] | undefined;
4306
+ expanded?: boolean | undefined;
4307
+ isReName?: boolean | undefined;
4308
+ isChart: boolean;
4309
+ isCreate?: boolean | undefined;
4310
+ isCanvas?: string | undefined;
4311
+ icon?: string | undefined;
4312
+ modelRelationld?: string | undefined;
4313
+ }[];
4314
+ crossData: {
4315
+ columnNodeId: string;
4316
+ rowNodeId: string;
4317
+ value: string;
4318
+ relations: {
4319
+ relationId: string;
4320
+ relationType: string;
4321
+ type: string;
4322
+ }[];
4323
+ operable: boolean;
4324
+ }[];
4325
+ relationModelIcon: string;
4326
+ relationModelName: string;
4327
+ }, Matrix | {
4328
+ rowTree: {
4329
+ id: string;
4330
+ nodeName: string;
4331
+ modelName: string;
4332
+ nodeType: string;
4333
+ modelTypeName?: null | undefined;
4334
+ elementId?: string | null | undefined;
4335
+ parentId?: string | null | undefined;
4336
+ isChildren?: boolean | undefined;
4337
+ isLeaf?: boolean | undefined;
4338
+ children?: any[] | undefined;
4339
+ expanded?: boolean | undefined;
4340
+ isReName?: boolean | undefined;
4341
+ isChart: boolean;
4342
+ isCreate?: boolean | undefined;
4343
+ isCanvas?: string | undefined;
4344
+ icon?: string | undefined;
4345
+ modelRelationld?: string | undefined;
4346
+ }[];
4347
+ columnTree: {
4348
+ id: string;
4349
+ nodeName: string;
4350
+ modelName: string;
4351
+ nodeType: string;
4352
+ modelTypeName?: null | undefined;
4353
+ elementId?: string | null | undefined;
4354
+ parentId?: string | null | undefined;
4355
+ isChildren?: boolean | undefined;
4356
+ isLeaf?: boolean | undefined;
4357
+ children?: any[] | undefined;
4358
+ expanded?: boolean | undefined;
4359
+ isReName?: boolean | undefined;
4360
+ isChart: boolean;
4361
+ isCreate?: boolean | undefined;
4362
+ isCanvas?: string | undefined;
4363
+ icon?: string | undefined;
4364
+ modelRelationld?: string | undefined;
4365
+ }[];
4366
+ crossData: {
4367
+ columnNodeId: string;
4368
+ rowNodeId: string;
4369
+ value: string;
4370
+ relations: {
4371
+ relationId: string;
4372
+ relationType: string;
4373
+ type: string;
4374
+ }[];
4375
+ operable: boolean;
4376
+ }[];
4377
+ relationModelIcon: string;
4378
+ relationModelName: string;
4379
+ }>;
4380
+ taggedValueLabels: Ref<string[], string[]>;
4381
+ packagesTypes: Ref<string[], string[]>;
4382
+ classMetaTypes: Ref<string[], string[]>;
4383
+ ownerRequiredShapeKeys: Ref<string[], string[]>;
4384
+ pinsTypes: Ref<string[], string[]>;
4385
+ portsTypes: Ref<string[], string[]>;
4386
+ shapeCount: import('vue').ComputedRef<number>;
4387
+ hasSelectedShape: import('vue').ComputedRef<boolean>;
4388
+ parentChildMap: import('vue').ComputedRef<Map<string, string[]>>;
4389
+ shapeMap: import('vue').ComputedRef<Map<string, Shape>>;
4390
+ edgesByNodeId: import('vue').ComputedRef<Map<string, Shape[]>>;
4391
+ marqueeShapes: import('vue').ComputedRef<Shape[]>;
4392
+ ghostShadow: import('vue').ComputedRef<Shape[]>;
4393
+ scales: Ref<Record<string, number>, Record<string, number>>;
4394
+ activeDiagramId: Ref<string | null, string | null>;
4395
+ currentScale: import('vue').ComputedRef<number>;
4396
+ museInGraphView: Ref<boolean, boolean>;
4397
+ connectMode: Ref<string, string>;
4398
+ addShape: (shape: Shape, options?: {
4399
+ autoExpandParent?: boolean;
4400
+ }) => void;
4401
+ removeShape: (shapeId: string) => void;
4402
+ updateShape: (shapeId: string, updates: Partial<Shape>, id?: 'id' | 'modelId') => void;
4403
+ selectShape: (shape: Shape | null) => void;
4404
+ setTitle: (title: string) => void;
4405
+ updateShapes: (payload: Shape[] | Array<string | number>, op?: ShapeOp, options?: {
4406
+ autoExpandParents?: boolean;
4407
+ }) => void;
4408
+ clearAll: () => void;
4409
+ startDragShape: (shapeId: string, pointer: {
4410
+ x: number;
4411
+ y: number;
4412
+ }) => void;
4413
+ startDrag: (ids: string[], pointer: {
4414
+ x: number;
4415
+ y: number;
4416
+ }) => void;
4417
+ moveDraggedShape: (pointer: {
4418
+ x: number;
4419
+ y: number;
4420
+ }, options?: {
4421
+ hitPointer?: {
4422
+ x: number;
4423
+ y: number;
4424
+ };
4425
+ }) => Promise<void>;
4426
+ endDragShape: (source?: string) => Promise<void>;
4427
+ getShapes: () => {
4428
+ id: string;
4429
+ diagramId: string;
4430
+ parenShapeId: string;
4431
+ shapeKey: string;
4432
+ shapeType: "shape" | "edge" | "pin" | "diagram" | "gantt" | "table" | "matrix";
4433
+ bounds: {
4434
+ x?: number | undefined;
4435
+ y?: number | undefined;
4436
+ width?: number | undefined;
4437
+ height?: number | undefined;
4438
+ };
4439
+ style?: {
4440
+ fontSize?: number | undefined;
4441
+ fontFamily?: string | undefined;
4442
+ fontWeight?: string | undefined;
4443
+ color?: string | undefined;
4444
+ backgroundColor?: string | undefined;
4445
+ borderColor?: string | undefined;
4446
+ borderWidth?: number | undefined;
4447
+ borderRadius?: number | undefined;
4448
+ padding?: number | {
4449
+ top: number;
4450
+ right: number;
4451
+ bottom: number;
4452
+ left: number;
4453
+ } | undefined;
4454
+ margin?: number | undefined;
4455
+ zIndex?: number | undefined;
4456
+ canvasBorderWidth?: number | undefined;
4457
+ canvasBorderColor?: string | undefined;
4458
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
4459
+ canvasNameFontSize?: number | undefined;
4460
+ canvasNameFontFamily?: string | undefined;
4461
+ canvasNameFontColor?: string | undefined;
4462
+ gradientLeftColor?: string | undefined;
4463
+ gradientRightColor?: string | undefined;
4464
+ textAnchor?: string | undefined;
4465
+ dominantBaseline?: string | undefined;
4466
+ } | undefined;
4467
+ keywords: string;
4468
+ keywordsBounds?: {
4469
+ x?: number | undefined;
4470
+ y?: number | undefined;
4471
+ width?: number | undefined;
4472
+ height?: number | undefined;
4473
+ } | undefined;
4474
+ keywordsStyle?: {
4475
+ fontSize?: number | undefined;
4476
+ fontFamily?: string | undefined;
4477
+ fontWeight?: string | undefined;
4478
+ color?: string | undefined;
4479
+ backgroundColor?: string | undefined;
4480
+ borderColor?: string | undefined;
4481
+ borderWidth?: number | undefined;
4482
+ borderRadius?: number | undefined;
4483
+ padding?: number | {
4484
+ top: number;
4485
+ right: number;
4486
+ bottom: number;
4487
+ left: number;
4488
+ } | undefined;
4489
+ margin?: number | undefined;
4490
+ zIndex?: number | undefined;
4491
+ canvasBorderWidth?: number | undefined;
4492
+ canvasBorderColor?: string | undefined;
4493
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
4494
+ canvasNameFontSize?: number | undefined;
4495
+ canvasNameFontFamily?: string | undefined;
4496
+ canvasNameFontColor?: string | undefined;
4497
+ gradientLeftColor?: string | undefined;
4498
+ gradientRightColor?: string | undefined;
4499
+ textAnchor?: string | undefined;
4500
+ dominantBaseline?: string | undefined;
4501
+ } | undefined;
4502
+ icon?: string | undefined;
4503
+ modelId: string;
4504
+ modelName: string;
4505
+ names: string;
4506
+ name: string;
4507
+ nameBounds?: {
4508
+ x?: number | undefined;
4509
+ y?: number | undefined;
4510
+ width?: number | undefined;
4511
+ height?: number | undefined;
4512
+ } | undefined;
4513
+ nameStyle?: {
4514
+ fontSize?: number | undefined;
4515
+ fontFamily?: string | undefined;
4516
+ fontWeight?: string | undefined;
4517
+ color?: string | undefined;
4518
+ backgroundColor?: string | undefined;
4519
+ borderColor?: string | undefined;
4520
+ borderWidth?: number | undefined;
4521
+ borderRadius?: number | undefined;
4522
+ padding?: number | {
4523
+ top: number;
4524
+ right: number;
4525
+ bottom: number;
4526
+ left: number;
4527
+ } | undefined;
4528
+ margin?: number | undefined;
4529
+ zIndex?: number | undefined;
4530
+ canvasBorderWidth?: number | undefined;
4531
+ canvasBorderColor?: string | undefined;
4532
+ canvasBorderStyle?: "dashed" | "solid" | "dotted" | undefined;
4533
+ canvasNameFontSize?: number | undefined;
4534
+ canvasNameFontFamily?: string | undefined;
4535
+ canvasNameFontColor?: string | undefined;
4536
+ gradientLeftColor?: string | undefined;
4537
+ gradientRightColor?: string | undefined;
4538
+ textAnchor?: string | undefined;
4539
+ dominantBaseline?: string | undefined;
4540
+ } | undefined;
4541
+ direction?: string | undefined;
4542
+ sourceId?: string | undefined;
4543
+ targetId?: string | undefined;
4544
+ waypointId?: string | undefined;
4545
+ waypoints?: {
4546
+ x: number;
4547
+ y: number;
4548
+ }[] | undefined;
4549
+ showKeywords: boolean;
4550
+ showIcon: boolean;
4551
+ showName: boolean;
4552
+ showTaggedValues: boolean;
4553
+ showComparents: boolean;
4554
+ taggedValueLabels?: {
4555
+ id: string;
4556
+ modelId: string;
4557
+ modelName: string;
4558
+ names: string;
4559
+ name: string;
4560
+ nameBounds?: string | undefined;
4561
+ nameStyle?: string | undefined;
4562
+ }[] | undefined;
4563
+ comparents?: {
4564
+ bounds: {
4565
+ x?: number | undefined;
4566
+ y?: number | undefined;
4567
+ width?: number | undefined;
4568
+ height?: number | undefined;
4569
+ };
4570
+ modelId: string;
4571
+ modelName: string;
4572
+ comparentShapes: any[];
4573
+ }[] | undefined;
4574
+ meta?: any;
4575
+ scenarioMenus?: {
4576
+ [x: string]: any;
4577
+ code: string;
4578
+ name: string;
4579
+ icon: string;
4580
+ sourceModels: string[];
4581
+ targetCreateModel: string;
4582
+ targetModels: string[];
4583
+ }[] | undefined;
4584
+ inert?: boolean | undefined;
4585
+ isCut?: boolean | undefined;
4586
+ sourceModels?: string[] | undefined;
4587
+ targetModels?: string[] | undefined;
4588
+ modelTypePropertyId: string;
4589
+ targetCreateModel?: string | undefined;
4590
+ sourceModelId?: string | undefined;
4591
+ isMovableComparents: boolean;
4592
+ ganttData?: {
4593
+ [x: string]: any;
4594
+ id: string;
4595
+ modelId: string;
4596
+ ganttOrTableModelId: string;
4597
+ projectId: string;
4598
+ type: string;
4599
+ sort: string;
4600
+ }[] | undefined;
4601
+ attributeColumns?: {
4602
+ id?: number | undefined;
4603
+ propertyId?: number | undefined;
4604
+ projectId?: string | undefined;
4605
+ modelId?: string | undefined;
4606
+ configId: string;
4607
+ name: string;
4608
+ isShow: boolean;
4609
+ isReadonly: boolean;
4610
+ }[] | undefined;
4611
+ ganttContainsModels?: {
4612
+ projectId: string;
4613
+ ownerId: string;
4614
+ type: string;
4615
+ name: string;
4616
+ isChart: boolean;
4617
+ icon: string;
4618
+ }[] | undefined;
4619
+ }[];
4620
+ addDiagram: (diagram: Shape) => void;
4621
+ setCurrentDiagramId: (id: string | null) => void;
4622
+ selectMany: (ids: string[]) => void;
4623
+ clearSelection: () => void;
4624
+ selectAll: () => void;
4625
+ removeSelected: () => void;
4626
+ finalCheckCanNest: (childId: string, parentId: string | null) => Promise<boolean>;
4627
+ setHoverState: (id: string | null, nestable: boolean | null) => void;
4628
+ initializeAllEdgeEndpoints: () => Promise<void>;
4629
+ endResizeShape: (id: string) => Promise<void>;
4630
+ getScale: (diagramId?: string | null) => number;
4631
+ setScale: (newScale: number, diagramId?: string | null) => void;
4632
+ setActiveDiagramId: (id: string | null) => void;
4633
+ setConnectMode: (mode: string) => void;
4634
+ getConnectMode: () => string;
4635
+ visibleShapes: import('vue').ComputedRef<Shape[]>;
4636
+ externalCreatingId: Ref<string | null, string | null>;
4637
+ expandParentAndEmitSizeUpdateByChild: (child: Shape) => void;
4638
+ setIsMouseInGraphView: (isIn: boolean) => void;
4639
+ setCutShapeIds: (ids: string[]) => void;
4640
+ clearCutShapeIds: () => void;
4641
+ setCopiedShapesCount: (count: number) => void;
4642
+ setMatrixData: (payload: Matrix) => void;
4643
+ }, "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">>;
4644
+ //# sourceMappingURL=graphStore.d.ts.map