@tmagic/editor 1.0.0-rc.1 → 1.0.0-rc.4

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 (69) hide show
  1. package/coverage/clover.xml +476 -443
  2. package/coverage/coverage-final.json +10 -10
  3. package/coverage/lcov-report/index.html +55 -55
  4. package/coverage/lcov-report/src/Editor.vue.html +36 -9
  5. package/coverage/lcov-report/src/components/ContentMenu.vue.html +11 -11
  6. package/coverage/lcov-report/src/components/Icon.vue.html +2 -2
  7. package/coverage/lcov-report/src/components/ScrollViewer.vue.html +1 -1
  8. package/coverage/lcov-report/src/components/ToolButton.vue.html +25 -25
  9. package/coverage/lcov-report/src/components/index.html +5 -5
  10. package/coverage/lcov-report/src/index.html +14 -14
  11. package/coverage/lcov-report/src/layouts/AddPageBox.vue.html +1 -1
  12. package/coverage/lcov-report/src/layouts/Framework.vue.html +48 -9
  13. package/coverage/lcov-report/src/layouts/NavMenu.vue.html +1 -1
  14. package/coverage/lcov-report/src/layouts/PropsPanel.vue.html +2 -2
  15. package/coverage/lcov-report/src/layouts/Resizer.vue.html +1 -1
  16. package/coverage/lcov-report/src/layouts/index.html +15 -15
  17. package/coverage/lcov-report/src/layouts/sidebar/ComponentListPanel.vue.html +1 -1
  18. package/coverage/lcov-report/src/layouts/sidebar/LayerMenu.vue.html +17 -17
  19. package/coverage/lcov-report/src/layouts/sidebar/LayerPanel.vue.html +1 -1
  20. package/coverage/lcov-report/src/layouts/sidebar/Sidebar.vue.html +1 -1
  21. package/coverage/lcov-report/src/layouts/sidebar/TabPane.vue.html +2 -2
  22. package/coverage/lcov-report/src/layouts/sidebar/index.html +19 -19
  23. package/coverage/lcov-report/src/layouts/workspace/PageBar.vue.html +1 -1
  24. package/coverage/lcov-report/src/layouts/workspace/Stage.vue.html +13 -4
  25. package/coverage/lcov-report/src/layouts/workspace/ViewerMenu.vue.html +69 -33
  26. package/coverage/lcov-report/src/layouts/workspace/Workspace.vue.html +73 -10
  27. package/coverage/lcov-report/src/layouts/workspace/index.html +32 -32
  28. package/coverage/lcov-report/src/services/BaseService.ts.html +2 -2
  29. package/coverage/lcov-report/src/services/componentList.ts.html +1 -1
  30. package/coverage/lcov-report/src/services/editor.ts.html +100 -10
  31. package/coverage/lcov-report/src/services/events.ts.html +1 -1
  32. package/coverage/lcov-report/src/services/history.ts.html +1 -1
  33. package/coverage/lcov-report/src/services/index.html +15 -15
  34. package/coverage/lcov-report/src/services/props.ts.html +1 -1
  35. package/coverage/lcov-report/src/services/ui.ts.html +1 -1
  36. package/coverage/lcov-report/src/type.ts.html +1 -1
  37. package/coverage/lcov-report/src/utils/compose.ts.html +1 -1
  38. package/coverage/lcov-report/src/utils/config.ts.html +1 -1
  39. package/coverage/lcov-report/src/utils/editor.ts.html +1 -1
  40. package/coverage/lcov-report/src/utils/index.html +1 -1
  41. package/coverage/lcov-report/src/utils/index.ts.html +1 -1
  42. package/coverage/lcov-report/src/utils/logger.ts.html +1 -1
  43. package/coverage/lcov-report/src/utils/props.ts.html +1 -1
  44. package/coverage/lcov-report/src/utils/scroll-viewer.ts.html +1 -1
  45. package/coverage/lcov-report/src/utils/undo-redo.ts.html +1 -1
  46. package/coverage/lcov.info +1203 -1065
  47. package/dist/style.css +3 -3
  48. package/dist/tmagic-editor.es.js +86 -1233
  49. package/dist/tmagic-editor.es.js.map +1 -1
  50. package/dist/tmagic-editor.umd.js +87 -1234
  51. package/dist/tmagic-editor.umd.js.map +1 -1
  52. package/dist/types/src/Editor.vue.d.ts +14 -0
  53. package/dist/types/src/layouts/Framework.vue.d.ts +15 -3
  54. package/dist/types/src/layouts/workspace/Workspace.vue.d.ts +5 -1
  55. package/dist/types/src/services/BaseService.d.ts +1 -1
  56. package/package.json +16 -8
  57. package/src/Editor.vue +10 -1
  58. package/src/components/ContentMenu.vue +1 -1
  59. package/src/layouts/CodeEditor.vue +1 -4
  60. package/src/layouts/Framework.vue +14 -1
  61. package/src/layouts/PropsPanel.vue +1 -1
  62. package/src/layouts/sidebar/TabPane.vue +1 -1
  63. package/src/layouts/workspace/Stage.vue +3 -0
  64. package/src/layouts/workspace/ViewerMenu.vue +14 -2
  65. package/src/layouts/workspace/Workspace.vue +21 -0
  66. package/src/services/BaseService.ts +1 -1
  67. package/src/services/editor.ts +31 -1
  68. package/src/theme/props-panel.scss +6 -4
  69. package/src/utils/polyfills.ts +5 -19
@@ -1,13 +1,12 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1652866958234" clover="3.2.0">
3
- <project timestamp="1652866958234" name="All files">
4
- <metrics statements="1428" coveredstatements="902" conditionals="1183" coveredconditionals="336" methods="391" coveredmethods="222" elements="3002" coveredelements="1460" complexity="0" loc="1428" ncloc="1428" packages="7" files="35" classes="35"/>
2
+ <coverage generated="1653969680936" clover="3.2.0">
3
+ <project timestamp="1653969680936" name="All files">
4
+ <metrics statements="1461" coveredstatements="900" conditionals="1276" coveredconditionals="326" methods="397" coveredmethods="207" elements="3134" coveredelements="1433" complexity="0" loc="1461" ncloc="1461" packages="7" files="35" classes="35"/>
5
5
  <package name="src">
6
- <metrics statements="65" coveredstatements="62" conditionals="14" coveredconditionals="11" methods="27" coveredmethods="24"/>
6
+ <metrics statements="66" coveredstatements="63" conditionals="14" coveredconditionals="11" methods="28" coveredmethods="25"/>
7
7
  <file name="Editor.vue" path="/data/magic/tmagic-editor/packages/editor/src/Editor.vue">
8
- <metrics statements="55" coveredstatements="52" conditionals="8" coveredconditionals="5" methods="24" coveredmethods="21"/>
9
- <line num="39" count="1" type="stmt"/>
10
- <line num="47" count="1" type="stmt"/>
8
+ <metrics statements="56" coveredstatements="53" conditionals="8" coveredconditionals="5" methods="25" coveredmethods="22"/>
9
+ <line num="40" count="1" type="stmt"/>
11
10
  <line num="48" count="1" type="stmt"/>
12
11
  <line num="49" count="1" type="stmt"/>
13
12
  <line num="50" count="1" type="stmt"/>
@@ -18,49 +17,51 @@
18
17
  <line num="55" count="1" type="stmt"/>
19
18
  <line num="56" count="1" type="stmt"/>
20
19
  <line num="57" count="1" type="stmt"/>
21
- <line num="60" count="1" type="stmt"/>
22
- <line num="75" count="0" type="stmt"/>
23
- <line num="82" count="1" type="stmt"/>
24
- <line num="93" count="1" type="stmt"/>
25
- <line num="107" count="1" type="stmt"/>
26
- <line num="113" count="1" type="stmt"/>
27
- <line num="119" count="1" type="stmt"/>
28
- <line num="143" count="1" type="stmt"/>
29
- <line num="144" count="1" type="stmt"/>
30
- <line num="145" count="1" type="cond" truecount="2" falsecount="0"/>
31
- <line num="146" count="1" type="cond" truecount="1" falsecount="1"/>
32
- <line num="147" count="1" type="stmt"/>
33
- <line num="151" count="1" type="stmt"/>
20
+ <line num="58" count="1" type="stmt"/>
21
+ <line num="61" count="1" type="stmt"/>
22
+ <line num="76" count="0" type="stmt"/>
23
+ <line num="83" count="1" type="stmt"/>
24
+ <line num="94" count="1" type="stmt"/>
25
+ <line num="111" count="1" type="stmt"/>
26
+ <line num="117" count="1" type="stmt"/>
27
+ <line num="123" count="1" type="stmt"/>
28
+ <line num="146" count="1" type="stmt"/>
34
29
  <line num="152" count="1" type="stmt"/>
35
30
  <line num="153" count="1" type="stmt"/>
36
- <line num="159" count="1" type="stmt"/>
31
+ <line num="154" count="1" type="cond" truecount="2" falsecount="0"/>
32
+ <line num="155" count="1" type="cond" truecount="1" falsecount="1"/>
33
+ <line num="156" count="1" type="stmt"/>
37
34
  <line num="160" count="1" type="stmt"/>
38
35
  <line num="161" count="1" type="stmt"/>
39
- <line num="167" count="1" type="stmt"/>
36
+ <line num="162" count="1" type="stmt"/>
40
37
  <line num="168" count="1" type="stmt"/>
41
38
  <line num="169" count="1" type="stmt"/>
42
- <line num="175" count="1" type="stmt"/>
39
+ <line num="170" count="1" type="stmt"/>
43
40
  <line num="176" count="1" type="stmt"/>
44
41
  <line num="177" count="1" type="stmt"/>
45
- <line num="183" count="1" type="stmt"/>
42
+ <line num="178" count="1" type="stmt"/>
46
43
  <line num="184" count="1" type="stmt"/>
44
+ <line num="185" count="1" type="stmt"/>
47
45
  <line num="186" count="1" type="stmt"/>
48
- <line num="187" count="1" type="stmt"/>
49
- <line num="189" count="1" type="stmt"/>
50
- <line num="190" count="0" type="stmt"/>
51
- <line num="191" count="0" type="stmt"/>
52
- <line num="194" count="1" type="stmt"/>
46
+ <line num="192" count="1" type="stmt"/>
47
+ <line num="193" count="1" type="stmt"/>
53
48
  <line num="195" count="1" type="stmt"/>
54
- <line num="202" count="1" type="stmt"/>
49
+ <line num="196" count="1" type="stmt"/>
50
+ <line num="198" count="1" type="stmt"/>
51
+ <line num="199" count="0" type="stmt"/>
52
+ <line num="200" count="0" type="stmt"/>
55
53
  <line num="203" count="1" type="stmt"/>
56
- <line num="204" count="1" type="cond" truecount="1" falsecount="1"/>
57
- <line num="210" count="1" type="stmt"/>
54
+ <line num="204" count="1" type="stmt"/>
58
55
  <line num="211" count="1" type="stmt"/>
59
- <line num="212" count="1" type="cond" truecount="1" falsecount="1"/>
60
- <line num="218" count="1" type="stmt"/>
56
+ <line num="212" count="1" type="stmt"/>
57
+ <line num="213" count="1" type="cond" truecount="1" falsecount="1"/>
58
+ <line num="219" count="1" type="stmt"/>
61
59
  <line num="220" count="1" type="stmt"/>
60
+ <line num="221" count="1" type="cond" truecount="1" falsecount="1"/>
61
+ <line num="227" count="1" type="stmt"/>
62
62
  <line num="229" count="1" type="stmt"/>
63
- <line num="231" count="1" type="stmt"/>
63
+ <line num="238" count="1" type="stmt"/>
64
+ <line num="240" count="1" type="stmt"/>
64
65
  </file>
65
66
  <file name="type.ts" path="/data/magic/tmagic-editor/packages/editor/src/type.ts">
66
67
  <metrics statements="10" coveredstatements="10" conditionals="6" coveredconditionals="6" methods="3" coveredmethods="3"/>
@@ -77,26 +78,26 @@
77
78
  </file>
78
79
  </package>
79
80
  <package name="src.components">
80
- <metrics statements="111" coveredstatements="79" conditionals="144" coveredconditionals="59" methods="38" coveredmethods="23"/>
81
+ <metrics statements="111" coveredstatements="79" conditionals="144" coveredconditionals="58" methods="38" coveredmethods="23"/>
81
82
  <file name="ContentMenu.vue" path="/data/magic/tmagic-editor/packages/editor/src/components/ContentMenu.vue">
82
83
  <metrics statements="30" coveredstatements="12" conditionals="23" coveredconditionals="0" methods="8" coveredmethods="2"/>
83
84
  <line num="20" count="2" type="stmt"/>
84
85
  <line num="24" count="2" type="stmt"/>
85
86
  <line num="26" count="2" type="stmt"/>
86
87
  <line num="32" count="0" type="stmt"/>
87
- <line num="37" count="6" type="stmt"/>
88
- <line num="38" count="6" type="stmt"/>
89
- <line num="39" count="6" type="stmt"/>
90
- <line num="40" count="6" type="stmt"/>
91
- <line num="41" count="6" type="stmt"/>
92
- <line num="46" count="6" type="stmt"/>
88
+ <line num="37" count="3" type="stmt"/>
89
+ <line num="38" count="3" type="stmt"/>
90
+ <line num="39" count="3" type="stmt"/>
91
+ <line num="40" count="3" type="stmt"/>
92
+ <line num="41" count="3" type="stmt"/>
93
+ <line num="46" count="3" type="stmt"/>
93
94
  <line num="47" count="0" type="stmt"/>
94
- <line num="50" count="6" type="stmt"/>
95
- <line num="51" count="6" type="stmt"/>
95
+ <line num="50" count="3" type="stmt"/>
96
+ <line num="51" count="3" type="stmt"/>
96
97
  <line num="54" count="0" type="cond" truecount="0" falsecount="8"/>
97
98
  <line num="55" count="0" type="stmt"/>
98
99
  <line num="57" count="0" type="stmt"/>
99
- <line num="63" count="6" type="stmt"/>
100
+ <line num="63" count="3" type="stmt"/>
100
101
  <line num="73" count="0" type="stmt"/>
101
102
  <line num="75" count="0" type="stmt"/>
102
103
  <line num="76" count="0" type="cond" truecount="0" falsecount="6"/>
@@ -116,7 +117,7 @@
116
117
  <line num="9" count="4" type="stmt"/>
117
118
  <line num="10" count="4" type="stmt"/>
118
119
  <line num="12" count="4" type="stmt"/>
119
- <line num="24" count="22" type="stmt"/>
120
+ <line num="24" count="12" type="stmt"/>
120
121
  </file>
121
122
  <file name="ScrollViewer.vue" path="/data/magic/tmagic-editor/packages/editor/src/components/ScrollViewer.vue">
122
123
  <metrics statements="15" coveredstatements="13" conditionals="5" coveredconditionals="4" methods="6" coveredmethods="4"/>
@@ -137,23 +138,23 @@
137
138
  <line num="56" count="2" type="stmt"/>
138
139
  </file>
139
140
  <file name="ToolButton.vue" path="/data/magic/tmagic-editor/packages/editor/src/components/ToolButton.vue">
140
- <metrics statements="62" coveredstatements="50" conditionals="116" coveredconditionals="55" methods="23" coveredmethods="16"/>
141
+ <metrics statements="62" coveredstatements="50" conditionals="116" coveredconditionals="54" methods="23" coveredmethods="16"/>
141
142
  <line num="54" count="4" type="stmt"/>
142
143
  <line num="55" count="4" type="stmt"/>
143
144
  <line num="57" count="4" type="stmt"/>
144
145
  <line num="59" count="4" type="stmt"/>
145
146
  <line num="62" count="4" type="stmt"/>
146
147
  <line num="69" count="1" type="stmt"/>
147
- <line num="82" count="45" type="stmt"/>
148
- <line num="83" count="45" type="cond" truecount="4" falsecount="0"/>
149
- <line num="85" count="45" type="cond" truecount="0" falsecount="8"/>
150
- <line num="86" count="45" type="cond" truecount="0" falsecount="8"/>
151
- <line num="87" count="45" type="cond" truecount="0" falsecount="8"/>
152
- <line num="89" count="45" type="cond" truecount="3" falsecount="1"/>
153
- <line num="90" count="45" type="cond" truecount="3" falsecount="1"/>
154
- <line num="92" count="45" type="stmt"/>
155
- <line num="93" count="49" type="cond" truecount="1" falsecount="0"/>
156
- <line num="94" count="43" type="stmt"/>
148
+ <line num="82" count="18" type="stmt"/>
149
+ <line num="83" count="18" type="cond" truecount="3" falsecount="1"/>
150
+ <line num="85" count="18" type="cond" truecount="0" falsecount="8"/>
151
+ <line num="86" count="18" type="cond" truecount="0" falsecount="8"/>
152
+ <line num="87" count="18" type="cond" truecount="0" falsecount="8"/>
153
+ <line num="89" count="18" type="cond" truecount="3" falsecount="1"/>
154
+ <line num="90" count="18" type="cond" truecount="3" falsecount="1"/>
155
+ <line num="92" count="18" type="stmt"/>
156
+ <line num="93" count="22" type="cond" truecount="1" falsecount="0"/>
157
+ <line num="94" count="16" type="stmt"/>
157
158
  <line num="96" count="6" type="cond" truecount="6" falsecount="4"/>
158
159
  <line num="98" count="0" type="stmt"/>
159
160
  <line num="102" count="0" type="stmt"/>
@@ -173,22 +174,22 @@
173
174
  <line num="151" count="0" type="stmt"/>
174
175
  <line num="155" count="0" type="cond" truecount="0" falsecount="4"/>
175
176
  <line num="158" count="1" type="stmt"/>
176
- <line num="165" count="45" type="stmt"/>
177
- <line num="166" count="34" type="cond" truecount="0" falsecount="1"/>
178
- <line num="167" count="34" type="cond" truecount="0" falsecount="1"/>
179
- <line num="168" count="34" type="cond" truecount="1" falsecount="0"/>
177
+ <line num="165" count="18" type="stmt"/>
178
+ <line num="166" count="18" type="cond" truecount="0" falsecount="1"/>
179
+ <line num="167" count="18" type="cond" truecount="0" falsecount="1"/>
180
+ <line num="168" count="18" type="cond" truecount="1" falsecount="0"/>
180
181
  <line num="169" count="3" type="stmt"/>
181
- <line num="171" count="31" type="stmt"/>
182
- <line num="174" count="45" type="stmt"/>
182
+ <line num="171" count="15" type="stmt"/>
183
+ <line num="174" count="18" type="stmt"/>
183
184
  <line num="175" count="5" type="cond" truecount="0" falsecount="1"/>
184
185
  <line num="176" count="5" type="cond" truecount="3" falsecount="0"/>
185
186
  <line num="177" count="5" type="cond" truecount="3" falsecount="1"/>
186
- <line num="181" count="45" type="stmt"/>
187
- <line num="189" count="49" type="cond" truecount="0" falsecount="1"/>
188
- <line num="190" count="49" type="cond" truecount="0" falsecount="1"/>
189
- <line num="191" count="49" type="cond" truecount="1" falsecount="0"/>
190
- <line num="192" count="22" type="stmt"/>
191
- <line num="194" count="27" type="cond" truecount="4" falsecount="0"/>
187
+ <line num="181" count="18" type="stmt"/>
188
+ <line num="189" count="22" type="cond" truecount="0" falsecount="1"/>
189
+ <line num="190" count="22" type="cond" truecount="0" falsecount="1"/>
190
+ <line num="191" count="22" type="cond" truecount="1" falsecount="0"/>
191
+ <line num="192" count="1" type="stmt"/>
192
+ <line num="194" count="21" type="cond" truecount="4" falsecount="0"/>
192
193
  <line num="201" count="2" type="cond" truecount="1" falsecount="0"/>
193
194
  <line num="202" count="1" type="stmt"/>
194
195
  <line num="207" count="5" type="cond" truecount="0" falsecount="1"/>
@@ -203,7 +204,7 @@
203
204
  </file>
204
205
  </package>
205
206
  <package name="src.layouts">
206
- <metrics statements="77" coveredstatements="52" conditionals="75" coveredconditionals="25" methods="22" coveredmethods="14"/>
207
+ <metrics statements="78" coveredstatements="52" conditionals="75" coveredconditionals="25" methods="23" coveredmethods="14"/>
207
208
  <file name="AddPageBox.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/AddPageBox.vue">
208
209
  <metrics statements="10" coveredstatements="5" conditionals="3" coveredconditionals="0" methods="2" coveredmethods="0"/>
209
210
  <line num="15" count="1" type="stmt"/>
@@ -218,20 +219,21 @@
218
219
  <line num="35" count="0" type="stmt"/>
219
220
  </file>
220
221
  <file name="Framework.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/Framework.vue">
221
- <metrics statements="13" coveredstatements="10" conditionals="24" coveredconditionals="11" methods="6" coveredmethods="4"/>
222
- <line num="36" count="1" type="stmt"/>
222
+ <metrics statements="14" coveredstatements="10" conditionals="24" coveredconditionals="11" methods="7" coveredmethods="4"/>
223
223
  <line num="42" count="1" type="stmt"/>
224
- <line num="43" count="1" type="stmt"/>
225
- <line num="45" count="1" type="stmt"/>
226
- <line num="52" count="1" type="cond" truecount="1" falsecount="1"/>
227
- <line num="54" count="1" type="cond" truecount="0" falsecount="4"/>
228
- <line num="56" count="1" type="stmt"/>
229
- <line num="58" count="1" type="cond" truecount="4" falsecount="2"/>
230
- <line num="59" count="1" type="cond" truecount="3" falsecount="1"/>
231
- <line num="60" count="1" type="cond" truecount="3" falsecount="1"/>
232
- <line num="63" count="0" type="stmt"/>
233
- <line num="65" count="0" type="cond" truecount="0" falsecount="4"/>
234
- <line num="67" count="0" type="stmt"/>
224
+ <line num="48" count="1" type="stmt"/>
225
+ <line num="49" count="1" type="stmt"/>
226
+ <line num="51" count="1" type="stmt"/>
227
+ <line num="60" count="0" type="stmt"/>
228
+ <line num="65" count="1" type="cond" truecount="1" falsecount="1"/>
229
+ <line num="67" count="1" type="cond" truecount="0" falsecount="4"/>
230
+ <line num="69" count="1" type="stmt"/>
231
+ <line num="71" count="1" type="cond" truecount="4" falsecount="2"/>
232
+ <line num="72" count="1" type="cond" truecount="3" falsecount="1"/>
233
+ <line num="73" count="1" type="cond" truecount="3" falsecount="1"/>
234
+ <line num="76" count="0" type="stmt"/>
235
+ <line num="78" count="0" type="cond" truecount="0" falsecount="4"/>
236
+ <line num="80" count="0" type="stmt"/>
235
237
  </file>
236
238
  <file name="NavMenu.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/NavMenu.vue">
237
239
  <metrics statements="8" coveredstatements="7" conditionals="4" coveredconditionals="3" methods="4" coveredmethods="3"/>
@@ -298,7 +300,7 @@
298
300
  </file>
299
301
  </package>
300
302
  <package name="src.layouts.sidebar">
301
- <metrics statements="156" coveredstatements="80" conditionals="234" coveredconditionals="40" methods="55" coveredmethods="24"/>
303
+ <metrics statements="156" coveredstatements="77" conditionals="234" coveredconditionals="32" methods="55" coveredmethods="19"/>
302
304
  <file name="ComponentListPanel.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/sidebar/ComponentListPanel.vue">
303
305
  <metrics statements="19" coveredstatements="11" conditionals="17" coveredconditionals="6" methods="8" coveredmethods="3"/>
304
306
  <line num="36" count="1" type="stmt"/>
@@ -322,7 +324,7 @@
322
324
  <line num="78" count="0" type="stmt"/>
323
325
  </file>
324
326
  <file name="LayerMenu.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/sidebar/LayerMenu.vue">
325
- <metrics statements="30" coveredstatements="21" conditionals="64" coveredconditionals="15" methods="18" coveredmethods="9"/>
327
+ <metrics statements="30" coveredstatements="18" conditionals="64" coveredconditionals="7" methods="18" coveredmethods="4"/>
326
328
  <line num="6" count="1" type="stmt"/>
327
329
  <line num="7" count="1" type="stmt"/>
328
330
  <line num="9" count="1" type="stmt"/>
@@ -331,8 +333,8 @@
331
333
  <line num="18" count="1" type="stmt"/>
332
334
  <line num="19" count="1" type="stmt"/>
333
335
  <line num="20" count="1" type="cond" truecount="3" falsecount="1"/>
334
- <line num="21" count="1" type="cond" truecount="2" falsecount="2"/>
335
- <line num="22" count="1" type="cond" truecount="2" falsecount="2"/>
336
+ <line num="21" count="1" type="cond" truecount="0" falsecount="4"/>
337
+ <line num="22" count="1" type="cond" truecount="0" falsecount="4"/>
336
338
  <line num="23" count="1" type="cond" truecount="0" falsecount="6"/>
337
339
  <line num="25" count="1" type="stmt"/>
338
340
  <line num="26" count="0" type="stmt"/>
@@ -347,10 +349,10 @@
347
349
  <line num="73" count="1" type="stmt"/>
348
350
  <line num="76" count="1" type="stmt"/>
349
351
  <line num="78" count="1" type="stmt"/>
350
- <line num="83" count="1" type="cond" truecount="2" falsecount="2"/>
351
- <line num="90" count="1" type="stmt"/>
352
+ <line num="83" count="0" type="cond" truecount="0" falsecount="4"/>
353
+ <line num="90" count="0" type="stmt"/>
352
354
  <line num="92" count="0" type="cond" truecount="0" falsecount="6"/>
353
- <line num="99" count="1" type="cond" truecount="2" falsecount="0"/>
355
+ <line num="99" count="0" type="cond" truecount="0" falsecount="2"/>
354
356
  <line num="101" count="0" type="cond" truecount="0" falsecount="6"/>
355
357
  <line num="107" count="0" type="cond" truecount="0" falsecount="4"/>
356
358
  </file>
@@ -472,7 +474,7 @@
472
474
  </file>
473
475
  </package>
474
476
  <package name="src.layouts.workspace">
475
- <metrics statements="250" coveredstatements="114" conditionals="422" coveredconditionals="68" methods="93" coveredmethods="34"/>
477
+ <metrics statements="269" coveredstatements="107" conditionals="506" coveredconditionals="64" methods="97" coveredmethods="23"/>
476
478
  <file name="PageBar.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/workspace/PageBar.vue">
477
479
  <metrics statements="62" coveredstatements="31" conditionals="54" coveredconditionals="17" methods="17" coveredmethods="9"/>
478
480
  <line num="61" count="2" type="stmt"/>
@@ -539,7 +541,7 @@
539
541
  <line num="206" count="0" type="cond" truecount="0" falsecount="4"/>
540
542
  </file>
541
543
  <file name="Stage.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/workspace/Stage.vue">
542
- <metrics statements="80" coveredstatements="32" conditionals="175" coveredconditionals="25" methods="27" coveredmethods="7"/>
544
+ <metrics statements="80" coveredstatements="32" conditionals="177" coveredconditionals="25" methods="27" coveredmethods="7"/>
543
545
  <line num="24" count="2" type="stmt"/>
544
546
  <line num="37" count="2" type="stmt"/>
545
547
  <line num="41" count="2" type="stmt"/>
@@ -547,82 +549,82 @@
547
549
  <line num="44" count="2" type="stmt"/>
548
550
  <line num="46" count="2" type="stmt"/>
549
551
  <line num="48" count="2" type="stmt"/>
550
- <line num="65" count="0" type="stmt"/>
551
- <line num="70" count="2" type="stmt"/>
552
- <line num="77" count="2" type="stmt"/>
553
- <line num="79" count="2" type="stmt"/>
552
+ <line num="66" count="0" type="stmt"/>
553
+ <line num="71" count="2" type="stmt"/>
554
+ <line num="78" count="2" type="stmt"/>
554
555
  <line num="80" count="2" type="stmt"/>
555
556
  <line num="81" count="2" type="stmt"/>
556
- <line num="83" count="2" type="cond" truecount="4" falsecount="0"/>
557
- <line num="84" count="2" type="cond" truecount="0" falsecount="4"/>
558
- <line num="85" count="2" type="cond" truecount="4" falsecount="0"/>
559
- <line num="86" count="2" type="cond" truecount="0" falsecount="4"/>
560
- <line num="87" count="2" type="cond" truecount="6" falsecount="0"/>
561
- <line num="88" count="2" type="cond" truecount="0" falsecount="4"/>
562
- <line num="90" count="2" type="stmt"/>
557
+ <line num="82" count="2" type="stmt"/>
558
+ <line num="84" count="2" type="cond" truecount="4" falsecount="0"/>
559
+ <line num="85" count="2" type="cond" truecount="0" falsecount="4"/>
560
+ <line num="86" count="2" type="cond" truecount="4" falsecount="0"/>
561
+ <line num="87" count="2" type="cond" truecount="0" falsecount="4"/>
562
+ <line num="88" count="2" type="cond" truecount="6" falsecount="0"/>
563
+ <line num="89" count="2" type="cond" truecount="0" falsecount="4"/>
563
564
  <line num="91" count="2" type="stmt"/>
564
- <line num="93" count="2" type="stmt"/>
565
- <line num="94" count="4" type="cond" truecount="0" falsecount="1"/>
566
- <line num="96" count="4" type="cond" truecount="1" falsecount="0"/>
567
- <line num="97" count="2" type="cond" truecount="5" falsecount="0"/>
568
- <line num="99" count="1" type="stmt"/>
569
- <line num="104" count="0" type="stmt"/>
570
- <line num="106" count="0" type="cond" truecount="0" falsecount="4"/>
571
- <line num="107" count="0" type="stmt"/>
572
- <line num="108" count="0" type="stmt"/>
573
- <line num="111" count="0" type="stmt"/>
574
- <line num="116" count="0" type="cond" truecount="0" falsecount="4"/>
565
+ <line num="92" count="2" type="stmt"/>
566
+ <line num="94" count="2" type="stmt"/>
567
+ <line num="95" count="4" type="cond" truecount="0" falsecount="1"/>
568
+ <line num="97" count="4" type="cond" truecount="1" falsecount="0"/>
569
+ <line num="98" count="2" type="cond" truecount="5" falsecount="0"/>
570
+ <line num="100" count="1" type="stmt"/>
571
+ <line num="106" count="0" type="stmt"/>
572
+ <line num="108" count="0" type="cond" truecount="0" falsecount="4"/>
573
+ <line num="109" count="0" type="stmt"/>
574
+ <line num="110" count="0" type="stmt"/>
575
+ <line num="113" count="0" type="stmt"/>
575
576
  <line num="118" count="0" type="cond" truecount="0" falsecount="4"/>
576
577
  <line num="120" count="0" type="cond" truecount="0" falsecount="4"/>
577
- <line num="121" count="0" type="cond" truecount="0" falsecount="4"/>
578
- <line num="124" count="0" type="cond" truecount="0" falsecount="4"/>
579
- <line num="125" count="0" type="cond" truecount="0" falsecount="4"/>
580
- <line num="128" count="0" type="cond" truecount="0" falsecount="4"/>
581
- <line num="129" count="0" type="cond" truecount="0" falsecount="4"/>
582
- <line num="132" count="0" type="cond" truecount="0" falsecount="4"/>
583
- <line num="133" count="0" type="cond" truecount="0" falsecount="4"/>
584
- <line num="136" count="0" type="cond" truecount="0" falsecount="4"/>
585
- <line num="137" count="0" type="cond" truecount="0" falsecount="4"/>
586
- <line num="140" count="0" type="cond" truecount="0" falsecount="5"/>
587
- <line num="141" count="0" type="cond" truecount="0" falsecount="4"/>
588
- <line num="142" count="0" type="stmt"/>
589
- <line num="144" count="0" type="cond" truecount="0" falsecount="6"/>
590
- <line num="145" count="0" type="cond" truecount="0" falsecount="14"/>
591
- <line num="146" count="0" type="stmt"/>
592
- <line num="147" count="0" type="cond" truecount="0" falsecount="6"/>
593
- <line num="152" count="2" type="stmt"/>
594
- <line num="153" count="0" type="cond" truecount="0" falsecount="3"/>
595
- <line num="154" count="0" type="stmt"/>
596
- <line num="157" count="2" type="stmt"/>
597
- <line num="158" count="0" type="cond" truecount="0" falsecount="3"/>
598
- <line num="159" count="0" type="stmt"/>
599
- <line num="163" count="2" type="stmt"/>
600
- <line num="164" count="0" type="stmt"/>
601
- <line num="165" count="0" type="cond" truecount="0" falsecount="4"/>
602
- <line num="172" count="2" type="stmt"/>
603
- <line num="173" count="2" type="cond" truecount="5" falsecount="1"/>
604
- <line num="176" count="2" type="stmt"/>
605
- <line num="177" count="0" type="cond" truecount="0" falsecount="4"/>
606
- <line num="178" count="0" type="stmt"/>
578
+ <line num="122" count="0" type="cond" truecount="0" falsecount="4"/>
579
+ <line num="123" count="0" type="cond" truecount="0" falsecount="4"/>
580
+ <line num="126" count="0" type="cond" truecount="0" falsecount="4"/>
581
+ <line num="127" count="0" type="cond" truecount="0" falsecount="4"/>
582
+ <line num="130" count="0" type="cond" truecount="0" falsecount="4"/>
583
+ <line num="131" count="0" type="cond" truecount="0" falsecount="4"/>
584
+ <line num="134" count="0" type="cond" truecount="0" falsecount="4"/>
585
+ <line num="135" count="0" type="cond" truecount="0" falsecount="4"/>
586
+ <line num="138" count="0" type="cond" truecount="0" falsecount="4"/>
587
+ <line num="139" count="0" type="cond" truecount="0" falsecount="4"/>
588
+ <line num="142" count="0" type="cond" truecount="0" falsecount="5"/>
589
+ <line num="143" count="0" type="cond" truecount="0" falsecount="4"/>
590
+ <line num="144" count="0" type="stmt"/>
591
+ <line num="146" count="0" type="cond" truecount="0" falsecount="6"/>
592
+ <line num="147" count="0" type="cond" truecount="0" falsecount="14"/>
593
+ <line num="148" count="0" type="stmt"/>
594
+ <line num="149" count="0" type="cond" truecount="0" falsecount="6"/>
595
+ <line num="154" count="2" type="stmt"/>
596
+ <line num="155" count="0" type="cond" truecount="0" falsecount="3"/>
597
+ <line num="156" count="0" type="stmt"/>
598
+ <line num="159" count="2" type="stmt"/>
599
+ <line num="160" count="0" type="cond" truecount="0" falsecount="3"/>
600
+ <line num="161" count="0" type="stmt"/>
601
+ <line num="165" count="2" type="stmt"/>
602
+ <line num="166" count="0" type="stmt"/>
603
+ <line num="167" count="0" type="cond" truecount="0" falsecount="4"/>
604
+ <line num="174" count="2" type="stmt"/>
605
+ <line num="175" count="2" type="cond" truecount="5" falsecount="1"/>
606
+ <line num="178" count="2" type="stmt"/>
607
607
  <line num="179" count="0" type="cond" truecount="0" falsecount="4"/>
608
- <line num="182" count="2" type="stmt"/>
609
- <line num="190" count="0" type="stmt"/>
610
- <line num="191" count="0" type="cond" truecount="0" falsecount="4"/>
611
- <line num="195" count="0" type="stmt"/>
612
- <line num="196" count="0" type="cond" truecount="0" falsecount="1"/>
608
+ <line num="180" count="0" type="stmt"/>
609
+ <line num="181" count="0" type="cond" truecount="0" falsecount="4"/>
610
+ <line num="184" count="2" type="stmt"/>
611
+ <line num="192" count="0" type="stmt"/>
612
+ <line num="193" count="0" type="cond" truecount="0" falsecount="4"/>
613
613
  <line num="197" count="0" type="stmt"/>
614
- <line num="202" count="0" type="stmt"/>
615
- <line num="203" count="0" type="cond" truecount="0" falsecount="5"/>
616
- <line num="205" count="0" type="stmt"/>
617
- <line num="206" count="0" type="cond" truecount="0" falsecount="4"/>
618
- <line num="208" count="0" type="stmt"/>
619
- <line num="209" count="0" type="stmt"/>
620
- <line num="210" count="0" type="cond" truecount="0" falsecount="1"/>
614
+ <line num="198" count="0" type="cond" truecount="0" falsecount="1"/>
615
+ <line num="199" count="0" type="stmt"/>
616
+ <line num="204" count="0" type="stmt"/>
617
+ <line num="205" count="0" type="cond" truecount="0" falsecount="5"/>
618
+ <line num="207" count="0" type="stmt"/>
619
+ <line num="208" count="0" type="cond" truecount="0" falsecount="4"/>
620
+ <line num="210" count="0" type="stmt"/>
621
621
  <line num="211" count="0" type="stmt"/>
622
- <line num="218" count="0" type="cond" truecount="0" falsecount="4"/>
622
+ <line num="212" count="0" type="cond" truecount="0" falsecount="1"/>
623
+ <line num="213" count="0" type="stmt"/>
624
+ <line num="221" count="0" type="cond" truecount="0" falsecount="4"/>
623
625
  </file>
624
626
  <file name="ViewerMenu.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/workspace/ViewerMenu.vue">
625
- <metrics statements="47" coveredstatements="32" conditionals="85" coveredconditionals="19" methods="25" coveredmethods="15"/>
627
+ <metrics statements="55" coveredstatements="23" conditionals="140" coveredconditionals="12" methods="25" coveredmethods="4"/>
626
628
  <line num="6" count="2" type="stmt"/>
627
629
  <line num="7" count="2" type="stmt"/>
628
630
  <line num="9" count="2" type="stmt"/>
@@ -636,9 +638,9 @@
636
638
  <line num="22" count="2" type="stmt"/>
637
639
  <line num="23" count="2" type="stmt"/>
638
640
  <line num="24" count="2" type="stmt"/>
639
- <line num="26" count="2" type="cond" truecount="4" falsecount="0"/>
641
+ <line num="26" count="2" type="cond" truecount="0" falsecount="4"/>
640
642
  <line num="27" count="2" type="cond" truecount="4" falsecount="0"/>
641
- <line num="28" count="2" type="cond" truecount="3" falsecount="1"/>
643
+ <line num="28" count="2" type="cond" truecount="0" falsecount="4"/>
642
644
  <line num="30" count="2" type="stmt"/>
643
645
  <line num="31" count="2" type="stmt"/>
644
646
  <line num="32" count="2" type="cond" truecount="2" falsecount="0"/>
@@ -648,64 +650,72 @@
648
650
  <line num="39" count="0" type="stmt"/>
649
651
  <line num="40" count="0" type="stmt"/>
650
652
  <line num="47" count="2" type="stmt"/>
651
- <line num="53" count="2" type="stmt"/>
653
+ <line num="53" count="0" type="stmt"/>
652
654
  <line num="55" count="0" type="cond" truecount="0" falsecount="6"/>
653
655
  <line num="63" count="0" type="cond" truecount="0" falsecount="6"/>
654
656
  <line num="64" count="0" type="stmt"/>
655
- <line num="70" count="2" type="stmt"/>
656
- <line num="72" count="0" type="cond" truecount="0" falsecount="6"/>
657
- <line num="73" count="0" type="cond" truecount="0" falsecount="6"/>
657
+ <line num="70" count="0" type="stmt"/>
658
+ <line num="72" count="0" type="cond" truecount="0" falsecount="4"/>
658
659
  <line num="74" count="0" type="cond" truecount="0" falsecount="4"/>
659
- <line num="80" count="2" type="stmt"/>
660
- <line num="86" count="2" type="stmt"/>
661
- <line num="88" count="0" type="cond" truecount="0" falsecount="4"/>
662
- <line num="95" count="2" type="stmt"/>
663
- <line num="97" count="0" type="cond" truecount="0" falsecount="4"/>
664
- <line num="103" count="2" type="stmt"/>
665
- <line num="105" count="0" type="cond" truecount="0" falsecount="4"/>
666
- <line num="111" count="2" type="stmt"/>
667
- <line num="113" count="0" type="cond" truecount="0" falsecount="4"/>
668
- <line num="119" count="2" type="stmt"/>
669
- <line num="125" count="2" type="stmt"/>
670
- <line num="127" count="0" type="cond" truecount="0" falsecount="6"/>
671
- <line num="138" count="0" type="cond" truecount="0" falsecount="4"/>
672
- <line num="144" count="0" type="cond" truecount="0" falsecount="4"/>
660
+ <line num="75" count="0" type="cond" truecount="0" falsecount="8"/>
661
+ <line num="76" count="0" type="cond" truecount="0" falsecount="12"/>
662
+ <line num="77" count="0" type="cond" truecount="0" falsecount="12"/>
663
+ <line num="79" count="0" type="cond" truecount="0" falsecount="7"/>
664
+ <line num="80" count="0" type="cond" truecount="0" falsecount="4"/>
665
+ <line num="81" count="0" type="cond" truecount="0" falsecount="4"/>
666
+ <line num="82" count="0" type="cond" truecount="0" falsecount="6"/>
667
+ <line num="83" count="0" type="cond" truecount="0" falsecount="6"/>
668
+ <line num="86" count="0" type="cond" truecount="0" falsecount="4"/>
669
+ <line num="92" count="0" type="stmt"/>
670
+ <line num="98" count="0" type="stmt"/>
671
+ <line num="100" count="0" type="cond" truecount="0" falsecount="4"/>
672
+ <line num="107" count="0" type="stmt"/>
673
+ <line num="109" count="0" type="cond" truecount="0" falsecount="4"/>
674
+ <line num="115" count="0" type="stmt"/>
675
+ <line num="117" count="0" type="cond" truecount="0" falsecount="4"/>
676
+ <line num="123" count="0" type="stmt"/>
677
+ <line num="125" count="0" type="cond" truecount="0" falsecount="4"/>
678
+ <line num="131" count="0" type="stmt"/>
679
+ <line num="137" count="0" type="stmt"/>
680
+ <line num="139" count="0" type="cond" truecount="0" falsecount="6"/>
681
+ <line num="150" count="0" type="cond" truecount="0" falsecount="4"/>
682
+ <line num="156" count="0" type="cond" truecount="0" falsecount="4"/>
673
683
  </file>
674
684
  <file name="Workspace.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/workspace/Workspace.vue">
675
- <metrics statements="61" coveredstatements="19" conditionals="108" coveredconditionals="7" methods="24" coveredmethods="3"/>
676
- <line num="21" count="1" type="stmt"/>
685
+ <metrics statements="72" coveredstatements="21" conditionals="135" coveredconditionals="10" methods="28" coveredmethods="3"/>
677
686
  <line num="22" count="1" type="stmt"/>
678
- <line num="27" count="1" type="stmt"/>
679
- <line num="31" count="1" type="stmt"/>
687
+ <line num="23" count="1" type="stmt"/>
688
+ <line num="28" count="1" type="stmt"/>
680
689
  <line num="32" count="1" type="stmt"/>
681
- <line num="34" count="1" type="stmt"/>
682
- <line num="59" count="1" type="stmt"/>
683
- <line num="60" count="1" type="stmt"/>
684
- <line num="61" count="1" type="cond" truecount="0" falsecount="4"/>
685
- <line num="64" count="1" type="stmt"/>
686
- <line num="65" count="0" type="cond" truecount="0" falsecount="4"/>
687
- <line num="68" count="1" type="stmt"/>
688
- <line num="69" count="1" type="cond" truecount="3" falsecount="1"/>
689
- <line num="71" count="1" type="stmt"/>
690
- <line num="73" count="1" type="stmt"/>
691
- <line num="75" count="1" type="cond" truecount="1" falsecount="1"/>
692
- <line num="77" count="1" type="stmt"/>
693
- <line num="79" count="0" type="stmt"/>
694
- <line num="80" count="0" type="cond" truecount="0" falsecount="3"/>
695
- <line num="81" count="0" type="cond" truecount="0" falsecount="4"/>
696
- <line num="84" count="0" type="stmt"/>
697
- <line num="85" count="0" type="cond" truecount="0" falsecount="6"/>
698
- <line num="88" count="0" type="stmt"/>
699
- <line num="89" count="0" type="cond" truecount="0" falsecount="6"/>
700
- <line num="92" count="0" type="stmt"/>
701
- <line num="93" count="0" type="cond" truecount="0" falsecount="3"/>
702
- <line num="94" count="0" type="cond" truecount="0" falsecount="4"/>
703
- <line num="95" count="0" type="cond" truecount="0" falsecount="4"/>
704
- <line num="98" count="0" type="stmt"/>
705
- <line num="99" count="0" type="cond" truecount="0" falsecount="4"/>
706
- <line num="102" count="0" type="stmt"/>
707
- <line num="103" count="0" type="cond" truecount="0" falsecount="4"/>
708
- <line num="106" count="0" type="stmt"/>
690
+ <line num="33" count="1" type="stmt"/>
691
+ <line num="35" count="1" type="stmt"/>
692
+ <line num="61" count="1" type="stmt"/>
693
+ <line num="62" count="1" type="stmt"/>
694
+ <line num="63" count="1" type="cond" truecount="0" falsecount="4"/>
695
+ <line num="66" count="1" type="stmt"/>
696
+ <line num="67" count="0" type="cond" truecount="0" falsecount="4"/>
697
+ <line num="70" count="1" type="stmt"/>
698
+ <line num="71" count="0" type="cond" truecount="0" falsecount="4"/>
699
+ <line num="74" count="1" type="stmt"/>
700
+ <line num="75" count="1" type="cond" truecount="3" falsecount="1"/>
701
+ <line num="76" count="1" type="cond" truecount="3" falsecount="1"/>
702
+ <line num="78" count="1" type="stmt"/>
703
+ <line num="80" count="1" type="stmt"/>
704
+ <line num="82" count="1" type="cond" truecount="1" falsecount="1"/>
705
+ <line num="84" count="1" type="stmt"/>
706
+ <line num="86" count="0" type="stmt"/>
707
+ <line num="87" count="0" type="cond" truecount="0" falsecount="3"/>
708
+ <line num="88" count="0" type="cond" truecount="0" falsecount="4"/>
709
+ <line num="91" count="0" type="stmt"/>
710
+ <line num="92" count="0" type="cond" truecount="0" falsecount="3"/>
711
+ <line num="93" count="0" type="cond" truecount="0" falsecount="4"/>
712
+ <line num="96" count="0" type="stmt"/>
713
+ <line num="97" count="0" type="cond" truecount="0" falsecount="6"/>
714
+ <line num="100" count="0" type="stmt"/>
715
+ <line num="101" count="0" type="cond" truecount="0" falsecount="6"/>
716
+ <line num="104" count="0" type="stmt"/>
717
+ <line num="105" count="0" type="cond" truecount="0" falsecount="3"/>
718
+ <line num="106" count="0" type="cond" truecount="0" falsecount="4"/>
709
719
  <line num="107" count="0" type="cond" truecount="0" falsecount="4"/>
710
720
  <line num="110" count="0" type="stmt"/>
711
721
  <line num="111" count="0" type="cond" truecount="0" falsecount="4"/>
@@ -729,15 +739,26 @@
729
739
  <line num="147" count="0" type="cond" truecount="0" falsecount="4"/>
730
740
  <line num="150" count="0" type="stmt"/>
731
741
  <line num="151" count="0" type="cond" truecount="0" falsecount="4"/>
732
- <line num="155" count="1" type="stmt"/>
733
- <line num="156" count="0" type="cond" truecount="0" falsecount="4"/>
734
- <line num="157" count="0" type="stmt"/>
735
- <line num="160" count="1" type="stmt"/>
736
- <line num="163" count="1" type="cond" truecount="3" falsecount="1"/>
742
+ <line num="154" count="0" type="stmt"/>
743
+ <line num="155" count="0" type="cond" truecount="0" falsecount="4"/>
744
+ <line num="158" count="0" type="stmt"/>
745
+ <line num="159" count="0" type="cond" truecount="0" falsecount="4"/>
746
+ <line num="162" count="0" type="stmt"/>
747
+ <line num="163" count="0" type="cond" truecount="0" falsecount="4"/>
748
+ <line num="166" count="0" type="stmt"/>
749
+ <line num="167" count="0" type="cond" truecount="0" falsecount="4"/>
750
+ <line num="170" count="0" type="stmt"/>
751
+ <line num="171" count="0" type="cond" truecount="0" falsecount="4"/>
752
+ <line num="175" count="1" type="stmt"/>
753
+ <line num="176" count="0" type="cond" truecount="0" falsecount="4"/>
754
+ <line num="177" count="0" type="cond" truecount="0" falsecount="4"/>
755
+ <line num="178" count="0" type="stmt"/>
756
+ <line num="181" count="1" type="stmt"/>
757
+ <line num="184" count="1" type="cond" truecount="3" falsecount="1"/>
737
758
  </file>
738
759
  </package>
739
760
  <package name="src.services">
740
- <metrics statements="477" coveredstatements="351" conditionals="187" coveredconditionals="87" methods="91" coveredmethods="67"/>
761
+ <metrics statements="489" coveredstatements="358" conditionals="196" coveredconditionals="90" methods="91" coveredmethods="67"/>
741
762
  <file name="BaseService.ts" path="/data/magic/tmagic-editor/packages/editor/src/services/BaseService.ts">
742
763
  <metrics statements="58" coveredstatements="49" conditionals="12" coveredconditionals="6" methods="14" coveredmethods="11"/>
743
764
  <line num="19" count="6" type="stmt"/>
@@ -810,7 +831,7 @@
810
831
  <line num="48" count="1" type="stmt"/>
811
832
  </file>
812
833
  <file name="editor.ts" path="/data/magic/tmagic-editor/packages/editor/src/services/editor.ts">
813
- <metrics statements="260" coveredstatements="205" conditionals="117" coveredconditionals="70" methods="35" coveredmethods="28"/>
834
+ <metrics statements="272" coveredstatements="212" conditionals="126" coveredconditionals="73" methods="35" coveredmethods="28"/>
814
835
  <line num="19" count="5" type="stmt"/>
815
836
  <line num="20" count="5" type="stmt"/>
816
837
  <line num="21" count="5" type="stmt"/>
@@ -820,257 +841,269 @@
820
841
  <line num="29" count="5" type="stmt"/>
821
842
  <line num="31" count="5" type="stmt"/>
822
843
  <line num="32" count="5" type="stmt"/>
823
- <line num="42" count="5" type="stmt"/>
824
- <line num="44" count="5" type="stmt"/>
825
- <line num="47" count="5" type="stmt"/>
826
- <line num="49" count="5" type="stmt"/>
827
- <line num="61" count="5" type="stmt"/>
828
- <line num="90" count="103" type="stmt"/>
844
+ <line num="43" count="5" type="stmt"/>
845
+ <line num="45" count="5" type="stmt"/>
846
+ <line num="48" count="5" type="stmt"/>
847
+ <line num="50" count="5" type="stmt"/>
848
+ <line num="62" count="5" type="stmt"/>
829
849
  <line num="91" count="103" type="stmt"/>
830
- <line num="93" count="103" type="cond" truecount="1" falsecount="0"/>
831
- <line num="94" count="21" type="cond" truecount="1" falsecount="1"/>
832
- <line num="95" count="21" type="stmt"/>
833
- <line num="105" count="218" type="stmt"/>
834
- <line num="114" count="55" type="stmt"/>
835
- <line num="115" count="55" type="cond" truecount="0" falsecount="1"/>
836
- <line num="117" count="55" type="cond" truecount="0" falsecount="1"/>
837
- <line num="118" count="0" type="stmt"/>
838
- <line num="121" count="55" type="stmt"/>
839
- <line num="123" count="55" type="cond" truecount="1" falsecount="0"/>
840
- <line num="125" count="46" type="stmt"/>
850
+ <line num="92" count="103" type="stmt"/>
851
+ <line num="94" count="103" type="cond" truecount="1" falsecount="0"/>
852
+ <line num="95" count="21" type="cond" truecount="1" falsecount="1"/>
853
+ <line num="96" count="21" type="stmt"/>
854
+ <line num="106" count="242" type="stmt"/>
855
+ <line num="115" count="55" type="stmt"/>
856
+ <line num="116" count="55" type="cond" truecount="0" falsecount="1"/>
857
+ <line num="118" count="55" type="cond" truecount="0" falsecount="1"/>
858
+ <line num="119" count="0" type="stmt"/>
859
+ <line num="122" count="55" type="stmt"/>
860
+ <line num="124" count="55" type="cond" truecount="1" falsecount="0"/>
841
861
  <line num="126" count="46" type="stmt"/>
842
- <line num="128" count="46" type="stmt"/>
862
+ <line num="127" count="46" type="stmt"/>
843
863
  <line num="129" count="46" type="stmt"/>
844
- <line num="131" count="46" type="stmt"/>
845
- <line num="132" count="120" type="cond" truecount="1" falsecount="0"/>
846
- <line num="133" count="46" type="stmt"/>
864
+ <line num="130" count="46" type="stmt"/>
865
+ <line num="132" count="46" type="stmt"/>
866
+ <line num="133" count="120" type="cond" truecount="1" falsecount="0"/>
847
867
  <line num="134" count="46" type="stmt"/>
848
- <line num="138" count="46" type="stmt"/>
849
- <line num="147" count="11" type="stmt"/>
868
+ <line num="135" count="46" type="stmt"/>
869
+ <line num="139" count="46" type="stmt"/>
850
870
  <line num="148" count="11" type="stmt"/>
851
- <line num="157" count="3" type="cond" truecount="0" falsecount="1"/>
852
- <line num="158" count="3" type="stmt"/>
871
+ <line num="149" count="11" type="stmt"/>
872
+ <line num="158" count="3" type="cond" truecount="0" falsecount="1"/>
853
873
  <line num="159" count="3" type="stmt"/>
854
- <line num="166" count="24" type="cond" truecount="3" falsecount="1"/>
855
- <line num="168" count="24" type="cond" truecount="1" falsecount="0"/>
856
- <line num="169" count="13" type="stmt"/>
857
- <line num="173" count="11" type="cond" truecount="1" falsecount="0"/>
858
- <line num="174" count="8" type="stmt"/>
859
- <line num="177" count="3" type="stmt"/>
860
- <line num="186" count="26" type="stmt"/>
861
- <line num="187" count="24" type="stmt"/>
862
- <line num="188" count="24" type="cond" truecount="1" falsecount="1"/>
874
+ <line num="160" count="3" type="stmt"/>
875
+ <line num="167" count="24" type="cond" truecount="3" falsecount="1"/>
876
+ <line num="169" count="24" type="cond" truecount="1" falsecount="0"/>
877
+ <line num="170" count="13" type="stmt"/>
878
+ <line num="174" count="11" type="cond" truecount="1" falsecount="0"/>
879
+ <line num="175" count="8" type="stmt"/>
880
+ <line num="178" count="3" type="stmt"/>
881
+ <line num="187" count="26" type="stmt"/>
882
+ <line num="188" count="24" type="stmt"/>
863
883
  <line num="189" count="24" type="cond" truecount="1" falsecount="1"/>
864
- <line num="191" count="24" type="cond" truecount="1" falsecount="1"/>
865
- <line num="192" count="24" type="stmt"/>
866
- <line num="194" count="0" type="stmt"/>
867
- <line num="197" count="24" type="stmt"/>
884
+ <line num="190" count="24" type="cond" truecount="1" falsecount="1"/>
885
+ <line num="192" count="24" type="cond" truecount="1" falsecount="1"/>
886
+ <line num="193" count="24" type="stmt"/>
887
+ <line num="195" count="0" type="stmt"/>
888
+ <line num="198" count="24" type="cond" truecount="1" falsecount="0"/>
868
889
  <line num="199" count="24" type="stmt"/>
869
- <line num="203" count="0" type="stmt"/>
870
- <line num="205" count="0" type="cond" truecount="0" falsecount="4"/>
871
- <line num="207" count="0" type="stmt"/>
872
- <line num="209" count="0" type="cond" truecount="0" falsecount="1"/>
873
- <line num="211" count="0" type="stmt"/>
874
- <line num="213" count="0" type="cond" truecount="0" falsecount="2"/>
875
- <line num="215" count="0" type="stmt"/>
876
- <line num="216" count="0" type="stmt"/>
890
+ <line num="212" count="24" type="stmt"/>
891
+ <line num="214" count="24" type="stmt"/>
877
892
  <line num="218" count="0" type="stmt"/>
893
+ <line num="220" count="0" type="cond" truecount="0" falsecount="4"/>
878
894
  <line num="222" count="0" type="stmt"/>
879
- <line num="223" count="0" type="stmt"/>
880
- <line num="225" count="0" type="stmt"/>
881
- <line num="227" count="0" type="cond" truecount="0" falsecount="2"/>
882
- <line num="229" count="0" type="stmt"/>
895
+ <line num="224" count="0" type="cond" truecount="0" falsecount="1"/>
896
+ <line num="226" count="0" type="stmt"/>
897
+ <line num="228" count="0" type="cond" truecount="0" falsecount="2"/>
883
898
  <line num="230" count="0" type="stmt"/>
884
- <line num="232" count="0" type="stmt"/>
885
- <line num="241" count="0" type="stmt"/>
886
- <line num="242" count="0" type="stmt"/>
887
- <line num="243" count="0" type="cond" truecount="0" falsecount="1"/>
899
+ <line num="231" count="0" type="stmt"/>
900
+ <line num="233" count="0" type="stmt"/>
901
+ <line num="237" count="0" type="stmt"/>
902
+ <line num="238" count="0" type="stmt"/>
903
+ <line num="240" count="0" type="stmt"/>
904
+ <line num="242" count="0" type="cond" truecount="0" falsecount="2"/>
888
905
  <line num="244" count="0" type="stmt"/>
889
- <line num="254" count="6" type="stmt"/>
890
- <line num="255" count="6" type="stmt"/>
891
- <line num="258" count="6" type="stmt"/>
892
- <line num="260" count="6" type="cond" truecount="2" falsecount="0"/>
893
- <line num="261" count="2" type="stmt"/>
894
- <line num="263" count="4" type="cond" truecount="4" falsecount="0"/>
895
- <line num="264" count="1" type="stmt"/>
896
- <line num="265" count="3" type="cond" truecount="2" falsecount="0"/>
897
- <line num="266" count="2" type="stmt"/>
898
- <line num="268" count="1" type="stmt"/>
899
- <line num="271" count="6" type="cond" truecount="0" falsecount="1"/>
906
+ <line num="245" count="0" type="stmt"/>
907
+ <line num="247" count="0" type="stmt"/>
908
+ <line num="256" count="0" type="stmt"/>
909
+ <line num="257" count="0" type="stmt"/>
910
+ <line num="258" count="0" type="cond" truecount="0" falsecount="1"/>
911
+ <line num="259" count="0" type="stmt"/>
912
+ <line num="269" count="6" type="stmt"/>
913
+ <line num="270" count="6" type="stmt"/>
900
914
  <line num="273" count="6" type="stmt"/>
901
- <line num="274" count="6" type="stmt"/>
902
- <line num="281" count="6" type="cond" truecount="4" falsecount="0"/>
903
- <line num="282" count="1" type="stmt"/>
904
- <line num="285" count="5" type="stmt"/>
905
- <line num="287" count="5" type="stmt"/>
906
- <line num="289" count="5" type="stmt"/>
907
- <line num="291" count="5" type="stmt"/>
908
- <line num="293" count="5" type="stmt"/>
909
- <line num="294" count="5" type="cond" truecount="1" falsecount="0"/>
910
- <line num="295" count="3" type="stmt"/>
911
- <line num="298" count="5" type="stmt"/>
912
- <line num="300" count="5" type="cond" truecount="1" falsecount="0"/>
913
- <line num="301" count="2" type="stmt"/>
915
+ <line num="275" count="6" type="cond" truecount="2" falsecount="0"/>
916
+ <line num="276" count="2" type="stmt"/>
917
+ <line num="278" count="4" type="cond" truecount="4" falsecount="0"/>
918
+ <line num="279" count="1" type="stmt"/>
919
+ <line num="280" count="3" type="cond" truecount="2" falsecount="0"/>
920
+ <line num="281" count="2" type="stmt"/>
921
+ <line num="283" count="1" type="stmt"/>
922
+ <line num="286" count="6" type="cond" truecount="0" falsecount="1"/>
923
+ <line num="288" count="6" type="stmt"/>
924
+ <line num="289" count="6" type="stmt"/>
925
+ <line num="296" count="6" type="cond" truecount="4" falsecount="0"/>
926
+ <line num="297" count="1" type="stmt"/>
927
+ <line num="300" count="5" type="stmt"/>
928
+ <line num="302" count="5" type="stmt"/>
914
929
  <line num="304" count="5" type="stmt"/>
915
930
  <line num="306" count="5" type="stmt"/>
916
- <line num="315" count="4" type="cond" truecount="0" falsecount="1"/>
917
- <line num="317" count="4" type="stmt"/>
918
- <line num="319" count="4" type="cond" truecount="0" falsecount="1"/>
919
- <line num="321" count="4" type="stmt"/>
920
- <line num="323" count="4" type="cond" truecount="3" falsecount="0"/>
921
- <line num="325" count="3" type="stmt"/>
922
- <line num="327" count="3" type="cond" truecount="2" falsecount="1"/>
923
- <line num="329" count="3" type="stmt"/>
924
- <line num="330" count="3" type="stmt"/>
925
- <line num="331" count="3" type="stmt"/>
926
- <line num="333" count="3" type="cond" truecount="2" falsecount="0"/>
927
- <line num="334" count="1" type="stmt"/>
928
- <line num="336" count="1" type="cond" truecount="1" falsecount="1"/>
929
- <line num="337" count="1" type="stmt"/>
930
- <line num="338" count="1" type="stmt"/>
931
- <line num="340" count="0" type="stmt"/>
932
- <line num="341" count="0" type="stmt"/>
933
- <line num="342" count="0" type="stmt"/>
934
- <line num="343" count="0" type="stmt"/>
935
- <line num="344" count="0" type="stmt"/>
936
- <line num="345" count="0" type="stmt"/>
937
- <line num="346" count="0" type="stmt"/>
938
- <line num="348" count="0" type="stmt"/>
939
- <line num="350" count="0" type="stmt"/>
940
- <line num="353" count="2" type="stmt"/>
941
- <line num="354" count="2" type="stmt"/>
942
- <line num="357" count="3" type="stmt"/>
943
- <line num="358" count="3" type="stmt"/>
944
- <line num="360" count="3" type="stmt"/>
945
- <line num="362" count="3" type="stmt"/>
946
- <line num="371" count="11" type="cond" truecount="1" falsecount="0"/>
947
- <line num="373" count="10" type="stmt"/>
948
- <line num="375" count="10" type="cond" truecount="1" falsecount="0"/>
949
- <line num="377" count="9" type="stmt"/>
950
- <line num="379" count="9" type="stmt"/>
951
- <line num="381" count="9" type="stmt"/>
952
- <line num="382" count="47" type="cond" truecount="1" falsecount="0"/>
953
- <line num="383" count="3" type="stmt"/>
954
- <line num="387" count="9" type="cond" truecount="1" falsecount="0"/>
955
- <line num="389" count="8" type="cond" truecount="0" falsecount="1"/>
956
- <line num="390" count="0" type="stmt"/>
957
- <line num="391" count="0" type="stmt"/>
958
- <line num="394" count="8" type="stmt"/>
959
- <line num="395" count="8" type="cond" truecount="0" falsecount="1"/>
960
- <line num="397" count="8" type="stmt"/>
961
- <line num="398" count="8" type="stmt"/>
962
- <line num="400" count="8" type="cond" truecount="3" falsecount="1"/>
963
- <line num="402" count="8" type="stmt"/>
964
- <line num="403" count="8" type="stmt"/>
965
- <line num="404" count="8" type="cond" truecount="1" falsecount="0"/>
966
- <line num="405" count="1" type="stmt"/>
967
- <line num="408" count="8" type="stmt"/>
968
- <line num="410" count="8" type="cond" truecount="1" falsecount="0"/>
969
- <line num="411" count="4" type="stmt"/>
970
- <line num="414" count="8" type="stmt"/>
971
- <line num="416" count="8" type="cond" truecount="1" falsecount="0"/>
972
- <line num="417" count="4" type="stmt"/>
973
- <line num="420" count="8" type="stmt"/>
974
- <line num="421" count="8" type="stmt"/>
931
+ <line num="308" count="5" type="stmt"/>
932
+ <line num="309" count="5" type="cond" truecount="1" falsecount="0"/>
933
+ <line num="310" count="3" type="stmt"/>
934
+ <line num="313" count="5" type="stmt"/>
935
+ <line num="315" count="5" type="cond" truecount="1" falsecount="0"/>
936
+ <line num="316" count="2" type="stmt"/>
937
+ <line num="319" count="5" type="stmt"/>
938
+ <line num="321" count="5" type="stmt"/>
939
+ <line num="330" count="4" type="cond" truecount="0" falsecount="1"/>
940
+ <line num="332" count="4" type="stmt"/>
941
+ <line num="334" count="4" type="cond" truecount="0" falsecount="1"/>
942
+ <line num="336" count="4" type="stmt"/>
943
+ <line num="338" count="4" type="cond" truecount="3" falsecount="0"/>
944
+ <line num="340" count="3" type="stmt"/>
945
+ <line num="342" count="3" type="cond" truecount="2" falsecount="1"/>
946
+ <line num="344" count="3" type="stmt"/>
947
+ <line num="345" count="3" type="stmt"/>
948
+ <line num="346" count="3" type="stmt"/>
949
+ <line num="348" count="3" type="cond" truecount="2" falsecount="0"/>
950
+ <line num="349" count="1" type="stmt"/>
951
+ <line num="351" count="1" type="cond" truecount="1" falsecount="1"/>
952
+ <line num="352" count="1" type="stmt"/>
953
+ <line num="353" count="1" type="stmt"/>
954
+ <line num="355" count="0" type="stmt"/>
955
+ <line num="356" count="0" type="stmt"/>
956
+ <line num="357" count="0" type="stmt"/>
957
+ <line num="358" count="0" type="stmt"/>
958
+ <line num="359" count="0" type="stmt"/>
959
+ <line num="360" count="0" type="stmt"/>
960
+ <line num="361" count="0" type="stmt"/>
961
+ <line num="363" count="0" type="stmt"/>
962
+ <line num="365" count="0" type="stmt"/>
963
+ <line num="368" count="2" type="stmt"/>
964
+ <line num="369" count="2" type="stmt"/>
965
+ <line num="372" count="3" type="stmt"/>
966
+ <line num="373" count="3" type="stmt"/>
967
+ <line num="375" count="3" type="stmt"/>
968
+ <line num="377" count="3" type="stmt"/>
969
+ <line num="386" count="11" type="cond" truecount="1" falsecount="0"/>
970
+ <line num="388" count="10" type="stmt"/>
971
+ <line num="390" count="10" type="cond" truecount="1" falsecount="0"/>
972
+ <line num="392" count="9" type="stmt"/>
973
+ <line num="394" count="9" type="stmt"/>
974
+ <line num="396" count="9" type="stmt"/>
975
+ <line num="397" count="47" type="cond" truecount="1" falsecount="0"/>
976
+ <line num="398" count="3" type="stmt"/>
977
+ <line num="402" count="9" type="cond" truecount="1" falsecount="0"/>
978
+ <line num="404" count="8" type="cond" truecount="0" falsecount="1"/>
979
+ <line num="405" count="0" type="stmt"/>
980
+ <line num="406" count="0" type="stmt"/>
981
+ <line num="409" count="8" type="stmt"/>
982
+ <line num="410" count="8" type="cond" truecount="0" falsecount="1"/>
983
+ <line num="412" count="8" type="stmt"/>
984
+ <line num="413" count="8" type="stmt"/>
985
+ <line num="415" count="8" type="cond" truecount="3" falsecount="1"/>
986
+ <line num="417" count="8" type="stmt"/>
987
+ <line num="418" count="8" type="stmt"/>
988
+ <line num="419" count="8" type="cond" truecount="1" falsecount="0"/>
989
+ <line num="420" count="1" type="stmt"/>
975
990
  <line num="423" count="8" type="stmt"/>
976
- <line num="425" count="8" type="stmt"/>
977
- <line num="435" count="1" type="stmt"/>
978
- <line num="436" count="1" type="stmt"/>
979
- <line num="437" count="1" type="stmt"/>
980
- <line num="439" count="1" type="cond" truecount="0" falsecount="1"/>
981
- <line num="440" count="2" type="stmt"/>
982
- <line num="442" count="1" type="stmt"/>
983
- <line num="444" count="1" type="stmt"/>
984
- <line num="445" count="1" type="stmt"/>
985
- <line num="447" count="1" type="stmt"/>
986
- <line num="449" count="1" type="stmt"/>
991
+ <line num="425" count="8" type="cond" truecount="1" falsecount="0"/>
992
+ <line num="426" count="4" type="stmt"/>
993
+ <line num="429" count="8" type="stmt"/>
994
+ <line num="431" count="8" type="cond" truecount="1" falsecount="0"/>
995
+ <line num="432" count="4" type="stmt"/>
996
+ <line num="435" count="8" type="stmt"/>
997
+ <line num="436" count="8" type="stmt"/>
998
+ <line num="438" count="8" type="stmt"/>
999
+ <line num="440" count="8" type="stmt"/>
987
1000
  <line num="450" count="1" type="stmt"/>
1001
+ <line num="451" count="1" type="stmt"/>
1002
+ <line num="452" count="1" type="stmt"/>
1003
+ <line num="454" count="1" type="cond" truecount="0" falsecount="1"/>
1004
+ <line num="455" count="2" type="stmt"/>
1005
+ <line num="457" count="1" type="stmt"/>
988
1006
  <line num="459" count="1" type="stmt"/>
989
- <line num="468" count="2" type="stmt"/>
990
- <line num="470" count="2" type="stmt"/>
991
- <line num="471" count="2" type="cond" truecount="1" falsecount="0"/>
992
- <line num="472" count="1" type="stmt"/>
993
- <line num="475" count="1" type="stmt"/>
994
- <line num="477" count="1" type="stmt"/>
995
- <line num="479" count="0" type="stmt"/>
996
- <line num="480" count="0" type="stmt"/>
997
- <line num="483" count="1" type="stmt"/>
998
- <line num="484" count="1" type="cond" truecount="1" falsecount="0"/>
999
- <line num="485" count="1" type="stmt"/>
1000
- <line num="491" count="1" type="stmt"/>
1007
+ <line num="460" count="1" type="stmt"/>
1008
+ <line num="462" count="1" type="stmt"/>
1009
+ <line num="464" count="1" type="stmt"/>
1010
+ <line num="465" count="1" type="stmt"/>
1011
+ <line num="474" count="1" type="stmt"/>
1012
+ <line num="483" count="2" type="stmt"/>
1013
+ <line num="485" count="2" type="stmt"/>
1014
+ <line num="486" count="2" type="cond" truecount="1" falsecount="0"/>
1015
+ <line num="487" count="1" type="stmt"/>
1016
+ <line num="490" count="1" type="stmt"/>
1017
+ <line num="492" count="1" type="stmt"/>
1018
+ <line num="494" count="0" type="stmt"/>
1019
+ <line num="495" count="0" type="stmt"/>
1020
+ <line num="498" count="1" type="stmt"/>
1021
+ <line num="499" count="1" type="cond" truecount="1" falsecount="0"/>
1001
1022
  <line num="500" count="1" type="stmt"/>
1002
- <line num="501" count="1" type="stmt"/>
1003
- <line num="502" count="1" type="stmt"/>
1004
- <line num="503" count="1" type="cond" truecount="0" falsecount="1"/>
1005
- <line num="504" count="0" type="stmt"/>
1006
- <line num="507" count="1" type="cond" truecount="3" falsecount="0"/>
1007
- <line num="508" count="1" type="stmt"/>
1008
- <line num="511" count="1" type="stmt"/>
1009
- <line num="512" count="1" type="stmt"/>
1010
- <line num="513" count="1" type="stmt"/>
1011
- <line num="514" count="1" type="stmt"/>
1012
- <line num="516" count="1" type="stmt"/>
1013
- <line num="524" count="1" type="stmt"/>
1014
- <line num="525" count="1" type="stmt"/>
1015
- <line num="526" count="1" type="cond" truecount="1" falsecount="1"/>
1016
- <line num="527" count="1" type="stmt"/>
1017
- <line num="529" count="1" type="cond" truecount="1" falsecount="1"/>
1018
- <line num="530" count="0" type="stmt"/>
1023
+ <line num="506" count="1" type="cond" truecount="0" falsecount="1"/>
1024
+ <line num="507" count="0" type="stmt"/>
1025
+ <line num="510" count="1" type="stmt"/>
1026
+ <line num="519" count="1" type="stmt"/>
1027
+ <line num="520" count="1" type="stmt"/>
1028
+ <line num="521" count="1" type="stmt"/>
1029
+ <line num="522" count="1" type="cond" truecount="0" falsecount="1"/>
1030
+ <line num="523" count="0" type="stmt"/>
1031
+ <line num="526" count="1" type="cond" truecount="0" falsecount="1"/>
1032
+ <line num="528" count="1" type="stmt"/>
1033
+ <line num="529" count="1" type="stmt"/>
1019
1034
  <line num="531" count="1" type="cond" truecount="1" falsecount="1"/>
1020
1035
  <line num="532" count="0" type="stmt"/>
1021
- <line num="534" count="1" type="stmt"/>
1022
- <line num="537" count="1" type="stmt"/>
1023
- <line num="545" count="1" type="stmt"/>
1036
+ <line num="533" count="0" type="stmt"/>
1037
+ <line num="534" count="0" type="cond" truecount="0" falsecount="3"/>
1038
+ <line num="535" count="0" type="stmt"/>
1039
+ <line num="537" count="1" type="cond" truecount="4" falsecount="0"/>
1040
+ <line num="538" count="1" type="stmt"/>
1041
+ <line num="541" count="1" type="stmt"/>
1042
+ <line num="542" count="1" type="stmt"/>
1043
+ <line num="543" count="1" type="stmt"/>
1044
+ <line num="544" count="1" type="stmt"/>
1024
1045
  <line num="546" count="1" type="stmt"/>
1025
- <line num="547" count="1" type="stmt"/>
1046
+ <line num="554" count="1" type="stmt"/>
1026
1047
  <line num="555" count="1" type="stmt"/>
1027
- <line num="556" count="1" type="stmt"/>
1048
+ <line num="556" count="1" type="cond" truecount="1" falsecount="1"/>
1028
1049
  <line num="557" count="1" type="stmt"/>
1029
- <line num="561" count="0" type="stmt"/>
1030
- <line num="562" count="0" type="cond" truecount="0" falsecount="3"/>
1031
- <line num="564" count="0" type="stmt"/>
1032
- <line num="565" count="0" type="cond" truecount="0" falsecount="3"/>
1033
- <line num="567" count="0" type="cond" truecount="0" falsecount="3"/>
1034
- <line num="568" count="0" type="cond" truecount="0" falsecount="3"/>
1035
- <line num="570" count="0" type="stmt"/>
1036
- <line num="581" count="0" type="stmt"/>
1037
- <line num="582" count="0" type="stmt"/>
1038
- <line num="583" count="0" type="stmt"/>
1039
- <line num="584" count="0" type="stmt"/>
1040
- <line num="585" count="0" type="stmt"/>
1041
- <line num="589" count="0" type="stmt"/>
1042
- <line num="593" count="18" type="cond" truecount="1" falsecount="0"/>
1043
- <line num="594" count="16" type="stmt"/>
1044
- <line num="599" count="16" type="stmt"/>
1045
- <line num="600" count="16" type="cond" truecount="1" falsecount="0"/>
1046
- <line num="601" count="14" type="stmt"/>
1047
- <line num="607" count="16" type="stmt"/>
1048
- <line num="611" count="2" type="cond" truecount="0" falsecount="1"/>
1049
- <line num="613" count="2" type="stmt"/>
1050
- <line num="614" count="2" type="stmt"/>
1051
- <line num="615" count="2" type="stmt"/>
1052
- <line num="616" count="2" type="stmt"/>
1053
- <line num="617" count="0" type="cond" truecount="0" falsecount="1"/>
1054
- <line num="618" count="0" type="stmt"/>
1050
+ <line num="559" count="1" type="cond" truecount="1" falsecount="1"/>
1051
+ <line num="560" count="0" type="stmt"/>
1052
+ <line num="561" count="1" type="cond" truecount="1" falsecount="1"/>
1053
+ <line num="562" count="0" type="stmt"/>
1054
+ <line num="564" count="1" type="stmt"/>
1055
+ <line num="567" count="1" type="stmt"/>
1056
+ <line num="575" count="1" type="stmt"/>
1057
+ <line num="576" count="1" type="stmt"/>
1058
+ <line num="577" count="1" type="stmt"/>
1059
+ <line num="585" count="1" type="stmt"/>
1060
+ <line num="586" count="1" type="stmt"/>
1061
+ <line num="587" count="1" type="stmt"/>
1062
+ <line num="591" count="0" type="stmt"/>
1063
+ <line num="592" count="0" type="cond" truecount="0" falsecount="3"/>
1064
+ <line num="594" count="0" type="stmt"/>
1065
+ <line num="595" count="0" type="cond" truecount="0" falsecount="3"/>
1066
+ <line num="597" count="0" type="cond" truecount="0" falsecount="3"/>
1067
+ <line num="598" count="0" type="cond" truecount="0" falsecount="3"/>
1068
+ <line num="600" count="0" type="stmt"/>
1069
+ <line num="611" count="0" type="stmt"/>
1070
+ <line num="612" count="0" type="stmt"/>
1071
+ <line num="613" count="0" type="stmt"/>
1072
+ <line num="614" count="0" type="stmt"/>
1073
+ <line num="615" count="0" type="stmt"/>
1055
1074
  <line num="619" count="0" type="stmt"/>
1056
- <line num="624" count="9" type="stmt"/>
1057
- <line num="626" count="9" type="cond" truecount="3" falsecount="0"/>
1058
- <line num="627" count="2" type="cond" truecount="4" falsecount="0"/>
1059
- <line num="628" count="1" type="stmt"/>
1060
- <line num="629" count="1" type="cond" truecount="3" falsecount="0"/>
1061
- <line num="630" count="1" type="stmt"/>
1062
- <line num="634" count="9" type="stmt"/>
1063
- <line num="639" count="26" type="cond" truecount="4" falsecount="0"/>
1064
- <line num="640" count="15" type="stmt"/>
1065
- <line num="642" count="11" type="stmt"/>
1066
- <line num="644" count="26" type="cond" truecount="1" falsecount="0"/>
1067
- <line num="645" count="1" type="stmt"/>
1068
- <line num="648" count="25" type="stmt"/>
1069
- <line num="649" count="25" type="cond" truecount="1" falsecount="0"/>
1070
- <line num="651" count="24" type="cond" truecount="0" falsecount="1"/>
1071
- <line num="652" count="0" type="stmt"/>
1072
- <line num="654" count="24" type="stmt"/>
1073
- <line num="664" count="5" type="stmt"/>
1075
+ <line num="623" count="18" type="cond" truecount="1" falsecount="0"/>
1076
+ <line num="624" count="16" type="stmt"/>
1077
+ <line num="629" count="16" type="stmt"/>
1078
+ <line num="630" count="16" type="cond" truecount="1" falsecount="0"/>
1079
+ <line num="631" count="14" type="stmt"/>
1080
+ <line num="637" count="16" type="stmt"/>
1081
+ <line num="641" count="2" type="cond" truecount="0" falsecount="1"/>
1082
+ <line num="643" count="2" type="stmt"/>
1083
+ <line num="644" count="2" type="stmt"/>
1084
+ <line num="645" count="2" type="stmt"/>
1085
+ <line num="646" count="2" type="stmt"/>
1086
+ <line num="647" count="0" type="cond" truecount="0" falsecount="1"/>
1087
+ <line num="648" count="0" type="stmt"/>
1088
+ <line num="649" count="0" type="stmt"/>
1089
+ <line num="654" count="9" type="stmt"/>
1090
+ <line num="656" count="9" type="cond" truecount="3" falsecount="0"/>
1091
+ <line num="657" count="2" type="cond" truecount="4" falsecount="0"/>
1092
+ <line num="658" count="1" type="stmt"/>
1093
+ <line num="659" count="1" type="cond" truecount="3" falsecount="0"/>
1094
+ <line num="660" count="1" type="stmt"/>
1095
+ <line num="664" count="9" type="stmt"/>
1096
+ <line num="669" count="26" type="cond" truecount="4" falsecount="0"/>
1097
+ <line num="670" count="15" type="stmt"/>
1098
+ <line num="672" count="11" type="stmt"/>
1099
+ <line num="674" count="26" type="cond" truecount="1" falsecount="0"/>
1100
+ <line num="675" count="1" type="stmt"/>
1101
+ <line num="678" count="25" type="stmt"/>
1102
+ <line num="679" count="25" type="cond" truecount="1" falsecount="0"/>
1103
+ <line num="681" count="24" type="cond" truecount="0" falsecount="1"/>
1104
+ <line num="682" count="0" type="stmt"/>
1105
+ <line num="684" count="24" type="stmt"/>
1106
+ <line num="694" count="5" type="stmt"/>
1074
1107
  </file>
1075
1108
  <file name="events.ts" path="/data/magic/tmagic-editor/packages/editor/src/services/events.ts">
1076
1109
  <metrics statements="24" coveredstatements="20" conditionals="10" coveredconditionals="4" methods="12" coveredmethods="10"/>