@tmagic/editor 1.0.0-beta.13 → 1.0.0-beta.14

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 (91) hide show
  1. package/coverage/clover.xml +646 -550
  2. package/coverage/coverage-final.json +19 -18
  3. package/coverage/lcov-report/index.html +55 -55
  4. package/coverage/lcov-report/src/Editor.vue.html +1 -1
  5. package/coverage/lcov-report/{layouts/sidebar/LayerMenu.vue.html → src/components/ContentMenu.vue.html} +137 -95
  6. package/coverage/lcov-report/src/components/Icon.vue.html +5 -5
  7. package/coverage/lcov-report/src/components/ScrollViewer.vue.html +1 -1
  8. package/coverage/lcov-report/src/components/ToolButton.vue.html +180 -63
  9. package/coverage/lcov-report/src/components/index.html +34 -19
  10. package/coverage/lcov-report/src/index.html +1 -1
  11. package/coverage/lcov-report/src/layouts/AddPageBox.vue.html +1 -1
  12. package/coverage/lcov-report/src/layouts/Framework.vue.html +13 -13
  13. package/coverage/lcov-report/src/layouts/NavMenu.vue.html +1 -1
  14. package/coverage/lcov-report/src/layouts/PropsPanel.vue.html +1 -1
  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 +78 -12
  18. package/coverage/lcov-report/src/layouts/sidebar/LayerMenu.vue.html +149 -92
  19. package/coverage/lcov-report/src/layouts/sidebar/LayerPanel.vue.html +43 -121
  20. package/coverage/lcov-report/src/layouts/sidebar/Sidebar.vue.html +1 -1
  21. package/coverage/lcov-report/src/layouts/sidebar/index.html +40 -40
  22. package/coverage/lcov-report/src/layouts/workspace/PageBar.vue.html +99 -12
  23. package/coverage/lcov-report/src/layouts/workspace/Stage.vue.html +86 -95
  24. package/coverage/lcov-report/src/layouts/workspace/ViewerMenu.vue.html +208 -97
  25. package/coverage/lcov-report/src/layouts/workspace/Workspace.vue.html +3 -3
  26. package/coverage/lcov-report/src/layouts/workspace/index.html +35 -35
  27. package/coverage/lcov-report/src/services/BaseService.ts.html +11 -11
  28. package/coverage/lcov-report/src/services/componentList.ts.html +1 -1
  29. package/coverage/lcov-report/src/services/editor.ts.html +102 -9
  30. package/coverage/lcov-report/src/services/events.ts.html +1 -1
  31. package/coverage/lcov-report/src/services/history.ts.html +29 -8
  32. package/coverage/lcov-report/src/services/index.html +25 -25
  33. package/coverage/lcov-report/src/services/props.ts.html +4 -7
  34. package/coverage/lcov-report/src/services/ui.ts.html +1 -1
  35. package/coverage/lcov-report/src/type.ts.html +8 -14
  36. package/coverage/lcov-report/src/utils/compose.ts.html +4 -4
  37. package/coverage/lcov-report/src/utils/config.ts.html +1 -1
  38. package/coverage/lcov-report/src/utils/editor.ts.html +2 -2
  39. package/coverage/lcov-report/src/utils/index.html +1 -1
  40. package/coverage/lcov-report/src/utils/index.ts.html +1 -1
  41. package/coverage/lcov-report/src/utils/logger.ts.html +1 -1
  42. package/coverage/lcov-report/src/utils/props.ts.html +59 -2
  43. package/coverage/lcov-report/src/utils/scroll-viewer.ts.html +1 -1
  44. package/coverage/lcov-report/src/utils/undo-redo.ts.html +1 -1
  45. package/coverage/lcov.info +1623 -1354
  46. package/dist/style.css +39 -18
  47. package/dist/tmagic-editor.es.js +598 -412
  48. package/dist/tmagic-editor.es.js.map +1 -1
  49. package/dist/tmagic-editor.umd.js +595 -408
  50. package/dist/tmagic-editor.umd.js.map +1 -1
  51. package/dist/types/src/Editor.vue.d.ts +1 -1
  52. package/dist/types/src/components/ToolButton.vue.d.ts +12 -1
  53. package/dist/types/src/index.d.ts +1 -0
  54. package/dist/types/src/layouts/sidebar/ComponentListPanel.vue.d.ts +1 -0
  55. package/dist/types/src/layouts/workspace/PageBar.vue.d.ts +2 -0
  56. package/dist/types/src/services/history.d.ts +1 -0
  57. package/dist/types/src/services/props.d.ts +2 -2
  58. package/dist/types/src/type.d.ts +6 -8
  59. package/dist/types/src/utils/polyfills.d.ts +0 -0
  60. package/package.json +8 -7
  61. package/src/components/ContentMenu.vue +107 -0
  62. package/src/components/ToolButton.vue +66 -27
  63. package/src/index.ts +2 -0
  64. package/src/layouts/Framework.vue +6 -6
  65. package/src/layouts/sidebar/ComponentListPanel.vue +23 -1
  66. package/src/layouts/sidebar/LayerMenu.vue +91 -72
  67. package/src/layouts/sidebar/LayerPanel.vue +23 -49
  68. package/src/layouts/workspace/PageBar.vue +35 -6
  69. package/src/layouts/workspace/Stage.vue +41 -44
  70. package/src/layouts/workspace/ViewerMenu.vue +104 -67
  71. package/src/layouts/workspace/Workspace.vue +2 -2
  72. package/src/services/editor.ts +32 -1
  73. package/src/services/history.ts +7 -0
  74. package/src/services/props.ts +2 -3
  75. package/src/theme/common/var.scss +1 -0
  76. package/src/theme/component-list-panel.scss +2 -0
  77. package/src/theme/content-menu.scss +33 -26
  78. package/src/theme/layer-panel.scss +1 -1
  79. package/src/theme/page-bar.scss +22 -1
  80. package/src/type.ts +6 -8
  81. package/src/utils/editor.ts +1 -1
  82. package/src/utils/polyfills.ts +22 -0
  83. package/src/utils/props.ts +19 -0
  84. package/coverage/lcov-report/Icon.vue.html +0 -172
  85. package/coverage/lcov-report/ToolButton.vue.html +0 -655
  86. package/coverage/lcov-report/layouts/sidebar/index.html +0 -116
  87. package/coverage/lcov-report/utils/index.html +0 -116
  88. package/coverage/lcov-report/utils/undo-redo.ts.html +0 -313
  89. package/dist/types/src/layouts/sidebar/LayerPanel.vue.d.ts +0 -980
  90. package/dist/types/src/layouts/workspace/Stage.vue.d.ts +0 -188
  91. package/dist/types/src/layouts/workspace/ViewerMenu.vue.d.ts +0 -18
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1650600901210" clover="3.2.0">
3
- <project timestamp="1650600901210" name="All files">
4
- <metrics statements="1318" coveredstatements="853" conditionals="1074" coveredconditionals="335" methods="359" coveredmethods="212" elements="2751" coveredelements="1400" complexity="0" loc="1318" ncloc="1318" packages="7" files="33" classes="33"/>
2
+ <coverage generated="1651914273131" clover="3.2.0">
3
+ <project timestamp="1651914273131" name="All files">
4
+ <metrics statements="1411" coveredstatements="894" conditionals="1179" coveredconditionals="335" methods="390" coveredmethods="221" elements="2980" coveredelements="1450" complexity="0" loc="1411" ncloc="1411" packages="7" files="34" classes="34"/>
5
5
  <package name="src">
6
6
  <metrics statements="65" coveredstatements="62" conditionals="14" coveredconditionals="11" methods="27" coveredmethods="24"/>
7
7
  <file name="Editor.vue" path="/root/magic/tmagic-editor/packages/editor/src/Editor.vue">
@@ -64,26 +64,59 @@
64
64
  </file>
65
65
  <file name="type.ts" path="/root/magic/tmagic-editor/packages/editor/src/type.ts">
66
66
  <metrics statements="10" coveredstatements="10" conditionals="6" coveredconditionals="6" methods="3" coveredmethods="3"/>
67
- <line num="240" count="8" type="cond" truecount="2" falsecount="0"/>
68
- <line num="241" count="8" type="stmt"/>
69
- <line num="242" count="8" type="stmt"/>
70
- <line num="246" count="8" type="cond" truecount="2" falsecount="0"/>
67
+ <line num="238" count="8" type="cond" truecount="2" falsecount="0"/>
68
+ <line num="239" count="8" type="stmt"/>
69
+ <line num="240" count="8" type="stmt"/>
70
+ <line num="244" count="8" type="cond" truecount="2" falsecount="0"/>
71
+ <line num="245" count="8" type="stmt"/>
72
+ <line num="246" count="8" type="stmt"/>
71
73
  <line num="247" count="8" type="stmt"/>
72
74
  <line num="248" count="8" type="stmt"/>
73
- <line num="249" count="8" type="stmt"/>
74
- <line num="250" count="8" type="stmt"/>
75
- <line num="253" count="8" type="cond" truecount="2" falsecount="0"/>
76
- <line num="254" count="8" type="stmt"/>
75
+ <line num="251" count="8" type="cond" truecount="2" falsecount="0"/>
76
+ <line num="252" count="8" type="stmt"/>
77
77
  </file>
78
78
  </package>
79
79
  <package name="src.components">
80
- <metrics statements="71" coveredstatements="63" conditionals="113" coveredconditionals="55" methods="27" coveredmethods="20"/>
80
+ <metrics statements="111" coveredstatements="79" conditionals="144" coveredconditionals="59" methods="38" coveredmethods="23"/>
81
+ <file name="ContentMenu.vue" path="/root/magic/tmagic-editor/packages/editor/src/components/ContentMenu.vue">
82
+ <metrics statements="30" coveredstatements="12" conditionals="23" coveredconditionals="0" methods="8" coveredmethods="2"/>
83
+ <line num="20" count="2" type="stmt"/>
84
+ <line num="24" count="2" type="stmt"/>
85
+ <line num="26" count="2" type="stmt"/>
86
+ <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"/>
93
+ <line num="47" count="0" type="stmt"/>
94
+ <line num="50" count="6" type="stmt"/>
95
+ <line num="51" count="6" type="stmt"/>
96
+ <line num="54" count="0" type="cond" truecount="0" falsecount="8"/>
97
+ <line num="55" count="0" type="stmt"/>
98
+ <line num="57" count="0" type="stmt"/>
99
+ <line num="63" count="6" type="stmt"/>
100
+ <line num="73" count="0" type="stmt"/>
101
+ <line num="75" count="0" type="stmt"/>
102
+ <line num="76" count="0" type="cond" truecount="0" falsecount="6"/>
103
+ <line num="78" count="0" type="stmt"/>
104
+ <line num="79" count="0" type="cond" truecount="0" falsecount="1"/>
105
+ <line num="80" count="0" type="stmt"/>
106
+ <line num="83" count="0" type="stmt"/>
107
+ <line num="91" count="0" type="stmt"/>
108
+ <line num="92" count="0" type="cond" truecount="0" falsecount="7"/>
109
+ <line num="93" count="0" type="stmt"/>
110
+ <line num="96" count="0" type="stmt"/>
111
+ <line num="97" count="0" type="cond" truecount="0" falsecount="1"/>
112
+ <line num="98" count="0" type="stmt"/>
113
+ </file>
81
114
  <file name="Icon.vue" path="/root/magic/tmagic-editor/packages/editor/src/components/Icon.vue">
82
115
  <metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
83
- <line num="9" count="2" type="stmt"/>
84
- <line num="10" count="2" type="stmt"/>
85
- <line num="12" count="2" type="stmt"/>
86
- <line num="24" count="6" type="stmt"/>
116
+ <line num="9" count="4" type="stmt"/>
117
+ <line num="10" count="4" type="stmt"/>
118
+ <line num="12" count="4" type="stmt"/>
119
+ <line num="24" count="22" type="stmt"/>
87
120
  </file>
88
121
  <file name="ScrollViewer.vue" path="/root/magic/tmagic-editor/packages/editor/src/components/ScrollViewer.vue">
89
122
  <metrics statements="15" coveredstatements="13" conditionals="5" coveredconditionals="4" methods="6" coveredmethods="4"/>
@@ -104,63 +137,73 @@
104
137
  <line num="56" count="2" type="stmt"/>
105
138
  </file>
106
139
  <file name="ToolButton.vue" path="/root/magic/tmagic-editor/packages/editor/src/components/ToolButton.vue">
107
- <metrics statements="52" coveredstatements="46" conditionals="108" coveredconditionals="51" methods="20" coveredmethods="15"/>
108
- <line num="41" count="2" type="stmt"/>
109
- <line num="42" count="2" type="stmt"/>
110
- <line num="44" count="2" type="stmt"/>
111
- <line num="46" count="2" type="stmt"/>
112
- <line num="49" count="2" type="stmt"/>
113
- <line num="56" count="1" type="stmt"/>
114
- <line num="64" count="12" type="stmt"/>
115
- <line num="65" count="12" type="cond" truecount="3" falsecount="1"/>
116
- <line num="67" count="12" type="cond" truecount="0" falsecount="8"/>
117
- <line num="68" count="12" type="cond" truecount="0" falsecount="8"/>
118
- <line num="69" count="12" type="cond" truecount="0" falsecount="8"/>
119
- <line num="71" count="12" type="cond" truecount="3" falsecount="1"/>
120
- <line num="72" count="12" type="cond" truecount="3" falsecount="1"/>
121
- <line num="74" count="12" type="stmt"/>
122
- <line num="75" count="12" type="cond" truecount="1" falsecount="0"/>
123
- <line num="76" count="6" type="stmt"/>
124
- <line num="78" count="6" type="cond" truecount="6" falsecount="4"/>
125
- <line num="80" count="0" type="stmt"/>
126
- <line num="84" count="0" type="stmt"/>
127
- <line num="88" count="1" type="stmt"/>
128
- <line num="92" count="1" type="cond" truecount="6" falsecount="2"/>
129
- <line num="93" count="1" type="cond" truecount="6" falsecount="2"/>
130
- <line num="96" count="1" type="stmt"/>
131
- <line num="100" count="1" type="cond" truecount="3" falsecount="1"/>
132
- <line num="101" count="1" type="cond" truecount="3" falsecount="1"/>
133
- <line num="104" count="1" type="stmt"/>
134
- <line num="108" count="1" type="cond" truecount="3" falsecount="1"/>
135
- <line num="109" count="1" type="cond" truecount="3" falsecount="1"/>
136
- <line num="112" count="1" type="stmt"/>
137
- <line num="119" count="1" type="stmt"/>
138
- <line num="126" count="0" type="stmt"/>
139
- <line num="130" count="0" type="cond" truecount="0" falsecount="4"/>
140
- <line num="133" count="0" type="stmt"/>
141
- <line num="137" count="0" type="cond" truecount="0" falsecount="4"/>
142
- <line num="140" count="1" type="stmt"/>
143
- <line num="147" count="12" type="stmt"/>
144
- <line num="148" count="8" type="cond" truecount="0" falsecount="1"/>
145
- <line num="149" count="8" type="cond" truecount="0" falsecount="1"/>
146
- <line num="150" count="8" type="cond" truecount="1" falsecount="0"/>
147
- <line num="151" count="3" type="stmt"/>
148
- <line num="153" count="5" type="stmt"/>
149
- <line num="156" count="12" type="stmt"/>
150
- <line num="164" count="12" type="cond" truecount="0" falsecount="1"/>
151
- <line num="165" count="12" type="cond" truecount="0" falsecount="1"/>
152
- <line num="166" count="12" type="cond" truecount="1" falsecount="0"/>
153
- <line num="167" count="1" type="stmt"/>
154
- <line num="169" count="11" type="cond" truecount="4" falsecount="0"/>
155
- <line num="176" count="2" type="cond" truecount="1" falsecount="0"/>
156
- <line num="177" count="1" type="stmt"/>
157
- <line num="182" count="5" type="cond" truecount="0" falsecount="1"/>
158
- <line num="183" count="5" type="cond" truecount="1" falsecount="0"/>
159
- <line num="184" count="5" type="cond" truecount="3" falsecount="1"/>
140
+ <metrics statements="62" coveredstatements="50" conditionals="116" coveredconditionals="55" methods="23" coveredmethods="16"/>
141
+ <line num="54" count="4" type="stmt"/>
142
+ <line num="55" count="4" type="stmt"/>
143
+ <line num="57" count="4" type="stmt"/>
144
+ <line num="59" count="4" type="stmt"/>
145
+ <line num="62" count="4" type="stmt"/>
146
+ <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="45" type="cond" truecount="1" falsecount="0"/>
156
+ <line num="94" count="39" type="stmt"/>
157
+ <line num="96" count="6" type="cond" truecount="6" falsecount="4"/>
158
+ <line num="98" count="0" type="stmt"/>
159
+ <line num="102" count="0" type="stmt"/>
160
+ <line num="106" count="1" type="stmt"/>
161
+ <line num="110" count="1" type="cond" truecount="6" falsecount="2"/>
162
+ <line num="111" count="1" type="cond" truecount="6" falsecount="2"/>
163
+ <line num="114" count="1" type="stmt"/>
164
+ <line num="118" count="1" type="cond" truecount="3" falsecount="1"/>
165
+ <line num="119" count="1" type="cond" truecount="3" falsecount="1"/>
166
+ <line num="122" count="1" type="stmt"/>
167
+ <line num="126" count="1" type="cond" truecount="3" falsecount="1"/>
168
+ <line num="127" count="1" type="cond" truecount="3" falsecount="1"/>
169
+ <line num="130" count="1" type="stmt"/>
170
+ <line num="137" count="1" type="stmt"/>
171
+ <line num="144" count="0" type="stmt"/>
172
+ <line num="148" count="0" type="cond" truecount="0" falsecount="4"/>
173
+ <line num="151" count="0" type="stmt"/>
174
+ <line num="155" count="0" type="cond" truecount="0" falsecount="4"/>
175
+ <line num="158" count="1" type="stmt"/>
176
+ <line num="165" count="45" type="stmt"/>
177
+ <line num="166" count="30" type="cond" truecount="0" falsecount="1"/>
178
+ <line num="167" count="30" type="cond" truecount="0" falsecount="1"/>
179
+ <line num="168" count="30" type="cond" truecount="1" falsecount="0"/>
180
+ <line num="169" count="3" type="stmt"/>
181
+ <line num="171" count="27" type="stmt"/>
182
+ <line num="174" count="45" type="stmt"/>
183
+ <line num="175" count="5" type="cond" truecount="0" falsecount="1"/>
184
+ <line num="176" count="5" type="cond" truecount="3" falsecount="0"/>
185
+ <line num="177" count="5" type="cond" truecount="3" falsecount="1"/>
186
+ <line num="181" count="45" type="stmt"/>
187
+ <line num="189" count="45" type="cond" truecount="0" falsecount="1"/>
188
+ <line num="190" count="45" type="cond" truecount="0" falsecount="1"/>
189
+ <line num="191" count="45" type="cond" truecount="1" falsecount="0"/>
190
+ <line num="192" count="22" type="stmt"/>
191
+ <line num="194" count="23" type="cond" truecount="4" falsecount="0"/>
192
+ <line num="201" count="2" type="cond" truecount="1" falsecount="0"/>
193
+ <line num="202" count="1" type="stmt"/>
194
+ <line num="207" count="5" type="cond" truecount="0" falsecount="1"/>
195
+ <line num="208" count="5" type="cond" truecount="1" falsecount="0"/>
196
+ <line num="209" count="5" type="stmt"/>
197
+ <line num="214" count="0" type="cond" truecount="0" falsecount="1"/>
198
+ <line num="215" count="0" type="cond" truecount="0" falsecount="1"/>
199
+ <line num="216" count="0" type="stmt"/>
200
+ <line num="221" count="0" type="cond" truecount="0" falsecount="1"/>
201
+ <line num="222" count="0" type="cond" truecount="0" falsecount="1"/>
202
+ <line num="223" count="0" type="stmt"/>
160
203
  </file>
161
204
  </package>
162
205
  <package name="src.layouts">
163
- <metrics statements="76" coveredstatements="51" conditionals="71" coveredconditionals="26" methods="21" coveredmethods="14"/>
206
+ <metrics statements="76" coveredstatements="51" conditionals="69" coveredconditionals="21" methods="21" coveredmethods="13"/>
164
207
  <file name="AddPageBox.vue" path="/root/magic/tmagic-editor/packages/editor/src/layouts/AddPageBox.vue">
165
208
  <metrics statements="10" coveredstatements="5" conditionals="3" coveredconditionals="0" methods="2" coveredmethods="0"/>
166
209
  <line num="15" count="1" type="stmt"/>
@@ -175,15 +218,15 @@
175
218
  <line num="35" count="0" type="stmt"/>
176
219
  </file>
177
220
  <file name="Framework.vue" path="/root/magic/tmagic-editor/packages/editor/src/layouts/Framework.vue">
178
- <metrics statements="13" coveredstatements="10" conditionals="26" coveredconditionals="16" methods="6" coveredmethods="5"/>
221
+ <metrics statements="13" coveredstatements="10" conditionals="24" coveredconditionals="11" methods="6" coveredmethods="4"/>
179
222
  <line num="36" count="1" type="stmt"/>
180
223
  <line num="42" count="1" type="stmt"/>
181
224
  <line num="43" count="1" type="stmt"/>
182
225
  <line num="45" count="1" type="stmt"/>
183
- <line num="52" count="1" type="stmt"/>
184
- <line num="54" count="1" type="cond" truecount="3" falsecount="1"/>
226
+ <line num="52" count="1" type="cond" truecount="1" falsecount="1"/>
227
+ <line num="54" count="1" type="cond" truecount="0" falsecount="4"/>
185
228
  <line num="56" count="1" type="stmt"/>
186
- <line num="58" count="1" type="cond" truecount="7" falsecount="3"/>
229
+ <line num="58" count="1" type="cond" truecount="4" falsecount="2"/>
187
230
  <line num="59" count="1" type="cond" truecount="3" falsecount="1"/>
188
231
  <line num="60" count="1" type="cond" truecount="3" falsecount="1"/>
189
232
  <line num="63" count="0" type="stmt"/>
@@ -254,40 +297,64 @@
254
297
  </file>
255
298
  </package>
256
299
  <package name="src.layouts.sidebar">
257
- <metrics statements="137" coveredstatements="68" conditionals="182" coveredconditionals="43" methods="44" coveredmethods="23"/>
300
+ <metrics statements="153" coveredstatements="77" conditionals="238" coveredconditionals="43" methods="55" coveredmethods="24"/>
258
301
  <file name="ComponentListPanel.vue" path="/root/magic/tmagic-editor/packages/editor/src/layouts/sidebar/ComponentListPanel.vue">
259
- <metrics statements="14" coveredstatements="10" conditionals="14" coveredconditionals="6" methods="7" coveredmethods="3"/>
260
- <line num="29" count="1" type="stmt"/>
261
- <line num="31" count="1" type="stmt"/>
262
- <line num="34" count="1" type="stmt"/>
263
- <line num="40" count="1" type="stmt"/>
264
- <line num="41" count="1" type="stmt"/>
302
+ <metrics statements="19" coveredstatements="11" conditionals="17" coveredconditionals="6" methods="8" coveredmethods="3"/>
303
+ <line num="36" count="1" type="stmt"/>
304
+ <line num="37" count="1" type="stmt"/>
305
+ <line num="39" count="1" type="stmt"/>
265
306
  <line num="42" count="1" type="stmt"/>
266
- <line num="43" count="1" type="cond" truecount="3" falsecount="1"/>
267
- <line num="45" count="0" type="stmt"/>
268
307
  <line num="48" count="1" type="stmt"/>
269
- <line num="49" count="1" type="cond" truecount="3" falsecount="1"/>
270
- <line num="51" count="0" type="stmt"/>
271
- <line num="54" count="1" type="stmt"/>
272
- <line num="59" count="0" type="cond" truecount="0" falsecount="2"/>
273
- <line num="60" count="0" type="cond" truecount="0" falsecount="4"/>
308
+ <line num="49" count="1" type="stmt"/>
309
+ <line num="50" count="1" type="stmt"/>
310
+ <line num="51" count="1" type="cond" truecount="3" falsecount="1"/>
311
+ <line num="53" count="0" type="stmt"/>
312
+ <line num="56" count="1" type="stmt"/>
313
+ <line num="57" count="1" type="cond" truecount="3" falsecount="1"/>
314
+ <line num="59" count="0" type="stmt"/>
315
+ <line num="62" count="1" type="stmt"/>
316
+ <line num="67" count="0" type="cond" truecount="0" falsecount="2"/>
317
+ <line num="68" count="0" type="cond" truecount="0" falsecount="4"/>
318
+ <line num="75" count="0" type="cond" truecount="0" falsecount="2"/>
319
+ <line num="76" count="0" type="cond" truecount="0" falsecount="1"/>
320
+ <line num="77" count="0" type="stmt"/>
321
+ <line num="78" count="0" type="stmt"/>
274
322
  </file>
275
323
  <file name="LayerMenu.vue" path="/root/magic/tmagic-editor/packages/editor/src/layouts/sidebar/LayerMenu.vue">
276
- <metrics statements="11" coveredstatements="10" conditionals="26" coveredconditionals="18" methods="7" coveredmethods="6"/>
277
- <line num="50" count="2" type="stmt"/>
278
- <line num="56" count="2" type="stmt"/>
279
- <line num="60" count="5" type="stmt"/>
280
- <line num="61" count="5" type="stmt"/>
281
- <line num="62" count="5" type="cond" truecount="3" falsecount="1"/>
282
- <line num="64" count="5" type="stmt"/>
283
- <line num="69" count="0" type="cond" truecount="0" falsecount="4"/>
284
- <line num="72" count="1" type="cond" truecount="3" falsecount="1"/>
285
- <line num="80" count="1" type="cond" truecount="5" falsecount="1"/>
286
- <line num="84" count="1" type="cond" truecount="5" falsecount="1"/>
287
- <line num="88" count="1" type="stmt"/>
324
+ <metrics statements="30" coveredstatements="21" conditionals="64" coveredconditionals="15" methods="18" coveredmethods="9"/>
325
+ <line num="6" count="1" type="stmt"/>
326
+ <line num="7" count="1" type="stmt"/>
327
+ <line num="9" count="1" type="stmt"/>
328
+ <line num="11" count="1" type="stmt"/>
329
+ <line num="14" count="1" type="stmt"/>
330
+ <line num="18" count="1" type="stmt"/>
331
+ <line num="19" count="1" type="stmt"/>
332
+ <line num="20" count="1" type="cond" truecount="3" falsecount="1"/>
333
+ <line num="21" count="1" type="cond" truecount="2" falsecount="2"/>
334
+ <line num="22" count="1" type="cond" truecount="2" falsecount="2"/>
335
+ <line num="23" count="1" type="cond" truecount="0" falsecount="6"/>
336
+ <line num="25" count="1" type="stmt"/>
337
+ <line num="26" count="0" type="stmt"/>
338
+ <line num="31" count="0" type="cond" truecount="0" falsecount="4"/>
339
+ <line num="39" count="1" type="stmt"/>
340
+ <line num="40" count="1" type="cond" truecount="2" falsecount="3"/>
341
+ <line num="41" count="0" type="stmt"/>
342
+ <line num="47" count="0" type="cond" truecount="0" falsecount="4"/>
343
+ <line num="54" count="1" type="cond" truecount="2" falsecount="3"/>
344
+ <line num="55" count="0" type="stmt"/>
345
+ <line num="58" count="0" type="stmt"/>
346
+ <line num="73" count="1" type="stmt"/>
347
+ <line num="76" count="1" type="stmt"/>
348
+ <line num="78" count="1" type="stmt"/>
349
+ <line num="83" count="1" type="cond" truecount="2" falsecount="2"/>
350
+ <line num="90" count="1" type="stmt"/>
351
+ <line num="92" count="0" type="cond" truecount="0" falsecount="6"/>
352
+ <line num="99" count="1" type="cond" truecount="2" falsecount="0"/>
353
+ <line num="101" count="0" type="cond" truecount="0" falsecount="6"/>
354
+ <line num="107" count="0" type="cond" truecount="0" falsecount="4"/>
288
355
  </file>
289
356
  <file name="LayerPanel.vue" path="/root/magic/tmagic-editor/packages/editor/src/layouts/sidebar/LayerPanel.vue">
290
- <metrics statements="93" coveredstatements="32" conditionals="124" coveredconditionals="8" methods="24" coveredmethods="9"/>
357
+ <metrics statements="85" coveredstatements="29" conditionals="139" coveredconditionals="11" methods="23" coveredmethods="7"/>
291
358
  <line num="57" count="1" type="stmt"/>
292
359
  <line num="59" count="1" type="stmt"/>
293
360
  <line num="62" count="1" type="stmt"/>
@@ -349,38 +416,30 @@
349
416
  <line num="164" count="0" type="stmt"/>
350
417
  <line num="168" count="0" type="cond" truecount="0" falsecount="4"/>
351
418
  <line num="172" count="1" type="stmt"/>
352
- <line num="173" count="1" type="stmt"/>
419
+ <line num="178" count="1" type="stmt"/>
420
+ <line num="179" count="1" type="stmt"/>
353
421
  <line num="180" count="1" type="stmt"/>
354
422
  <line num="181" count="1" type="stmt"/>
423
+ <line num="182" count="1" type="cond" truecount="3" falsecount="1"/>
424
+ <line num="183" count="1" type="stmt"/>
355
425
  <line num="184" count="0" type="stmt"/>
356
- <line num="190" count="1" type="stmt"/>
357
- <line num="194" count="0" type="stmt"/>
358
- <line num="196" count="0" type="stmt"/>
426
+ <line num="187" count="1" type="stmt"/>
427
+ <line num="188" count="0" type="stmt"/>
428
+ <line num="191" count="1" type="stmt"/>
429
+ <line num="192" count="1" type="stmt"/>
430
+ <line num="193" count="0" type="cond" truecount="0" falsecount="10"/>
431
+ <line num="196" count="1" type="cond" truecount="3" falsecount="1"/>
359
432
  <line num="197" count="0" type="stmt"/>
360
- <line num="199" count="0" type="cond" truecount="0" falsecount="1"/>
361
- <line num="200" count="0" type="stmt"/>
362
- <line num="203" count="0" type="stmt"/>
363
- <line num="204" count="0" type="stmt"/>
364
- <line num="205" count="0" type="stmt"/>
365
- <line num="207" count="0" type="stmt"/>
366
- <line num="212" count="1" type="stmt"/>
367
- <line num="218" count="1" type="stmt"/>
368
- <line num="219" count="1" type="stmt"/>
369
- <line num="220" count="1" type="stmt"/>
370
- <line num="221" count="1" type="cond" truecount="3" falsecount="1"/>
371
- <line num="222" count="1" type="stmt"/>
433
+ <line num="198" count="0" type="cond" truecount="0" falsecount="8"/>
434
+ <line num="202" count="1" type="stmt"/>
435
+ <line num="214" count="0" type="cond" truecount="0" falsecount="5"/>
436
+ <line num="215" count="0" type="stmt"/>
437
+ <line num="216" count="0" type="stmt"/>
438
+ <line num="218" count="0" type="cond" truecount="0" falsecount="4"/>
439
+ <line num="219" count="0" type="stmt"/>
372
440
  <line num="223" count="0" type="stmt"/>
373
- <line num="226" count="1" type="stmt"/>
374
- <line num="227" count="0" type="stmt"/>
375
- <line num="230" count="1" type="stmt"/>
376
- <line num="231" count="1" type="stmt"/>
377
- <line num="232" count="0" type="cond" truecount="0" falsecount="10"/>
378
- <line num="235" count="1" type="stmt"/>
379
- <line num="243" count="0" type="cond" truecount="0" falsecount="5"/>
380
- <line num="244" count="0" type="stmt"/>
381
- <line num="245" count="0" type="stmt"/>
382
- <line num="247" count="0" type="cond" truecount="0" falsecount="4"/>
383
- <line num="248" count="0" type="stmt"/>
441
+ <line num="224" count="0" type="stmt"/>
442
+ <line num="225" count="0" type="cond" truecount="0" falsecount="4"/>
384
443
  </file>
385
444
  <file name="Sidebar.vue" path="/root/magic/tmagic-editor/packages/editor/src/layouts/sidebar/Sidebar.vue">
386
445
  <metrics statements="19" coveredstatements="16" conditionals="18" coveredconditionals="11" methods="6" coveredmethods="5"/>
@@ -406,189 +465,204 @@
406
465
  </file>
407
466
  </package>
408
467
  <package name="src.layouts.workspace">
409
- <metrics statements="235" coveredstatements="107" conditionals="406" coveredconditionals="69" methods="85" coveredmethods="28"/>
468
+ <metrics statements="250" coveredstatements="114" conditionals="422" coveredconditionals="68" methods="93" coveredmethods="34"/>
410
469
  <file name="PageBar.vue" path="/root/magic/tmagic-editor/packages/editor/src/layouts/workspace/PageBar.vue">
411
- <metrics statements="61" coveredstatements="30" conditionals="54" coveredconditionals="17" methods="17" coveredmethods="9"/>
412
- <line num="47" count="2" type="stmt"/>
413
- <line num="48" count="2" type="stmt"/>
414
- <line num="51" count="2" type="stmt"/>
415
- <line num="54" count="2" type="stmt"/>
416
- <line num="56" count="2" type="stmt"/>
417
- <line num="57" count="3" type="stmt"/>
418
- <line num="58" count="3" type="stmt"/>
419
- <line num="60" count="3" type="stmt"/>
420
- <line num="61" count="3" type="stmt"/>
421
- <line num="63" count="3" type="stmt"/>
422
- <line num="65" count="3" type="stmt"/>
423
- <line num="66" count="3" type="stmt"/>
424
- <line num="67" count="0" type="stmt"/>
425
- <line num="68" count="0" type="stmt"/>
426
- <line num="69" count="0" type="cond" truecount="0" falsecount="2"/>
427
- <line num="71" count="0" type="stmt"/>
428
- <line num="75" count="3" type="stmt"/>
429
- <line num="76" count="0" type="cond" truecount="0" falsecount="1"/>
430
- <line num="77" count="0" type="stmt"/>
431
- <line num="81" count="3" type="stmt"/>
432
- <line num="82" count="0" type="cond" truecount="0" falsecount="1"/>
433
- <line num="84" count="0" type="stmt"/>
434
- <line num="86" count="0" type="cond" truecount="0" falsecount="2"/>
435
- <line num="87" count="0" type="stmt"/>
436
- <line num="89" count="0" type="cond" truecount="0" falsecount="1"/>
437
- <line num="90" count="0" type="stmt"/>
438
- <line num="92" count="0" type="cond" truecount="0" falsecount="2"/>
470
+ <metrics statements="62" coveredstatements="31" conditionals="54" coveredconditionals="17" methods="17" coveredmethods="9"/>
471
+ <line num="61" count="2" type="stmt"/>
472
+ <line num="73" count="2" type="stmt"/>
473
+ <line num="76" count="2" type="stmt"/>
474
+ <line num="78" count="2" type="stmt"/>
475
+ <line num="80" count="2" type="stmt"/>
476
+ <line num="82" count="2" type="stmt"/>
477
+ <line num="83" count="3" type="stmt"/>
478
+ <line num="84" count="3" type="stmt"/>
479
+ <line num="86" count="3" type="stmt"/>
480
+ <line num="87" count="3" type="stmt"/>
481
+ <line num="89" count="3" type="stmt"/>
482
+ <line num="91" count="3" type="stmt"/>
483
+ <line num="92" count="3" type="stmt"/>
439
484
  <line num="93" count="0" type="stmt"/>
440
- <line num="95" count="0" type="cond" truecount="0" falsecount="1"/>
441
- <line num="96" count="0" type="stmt"/>
442
- <line num="98" count="0" type="cond" truecount="0" falsecount="2"/>
443
- <line num="99" count="0" type="stmt"/>
444
- <line num="100" count="0" type="cond" truecount="0" falsecount="1"/>
445
- <line num="101" count="0" type="stmt"/>
446
- <line num="104" count="0" type="stmt"/>
485
+ <line num="94" count="0" type="stmt"/>
486
+ <line num="95" count="0" type="cond" truecount="0" falsecount="2"/>
487
+ <line num="97" count="0" type="stmt"/>
488
+ <line num="101" count="3" type="stmt"/>
489
+ <line num="102" count="0" type="cond" truecount="0" falsecount="1"/>
490
+ <line num="103" count="0" type="stmt"/>
447
491
  <line num="107" count="3" type="stmt"/>
448
- <line num="108" count="3" type="cond" truecount="2" falsecount="0"/>
449
- <line num="111" count="3" type="stmt"/>
450
- <line num="112" count="0" type="stmt"/>
451
- <line num="115" count="3" type="stmt"/>
452
- <line num="116" count="3" type="cond" truecount="3" falsecount="1"/>
453
- <line num="117" count="0" type="cond" truecount="0" falsecount="2"/>
454
- <line num="118" count="0" type="stmt"/>
492
+ <line num="108" count="0" type="cond" truecount="0" falsecount="1"/>
493
+ <line num="110" count="0" type="stmt"/>
494
+ <line num="112" count="0" type="cond" truecount="0" falsecount="2"/>
495
+ <line num="113" count="0" type="stmt"/>
496
+ <line num="115" count="0" type="cond" truecount="0" falsecount="1"/>
497
+ <line num="116" count="0" type="stmt"/>
498
+ <line num="118" count="0" type="cond" truecount="0" falsecount="2"/>
455
499
  <line num="119" count="0" type="stmt"/>
456
- <line num="120" count="0" type="cond" truecount="0" falsecount="2"/>
457
- <line num="121" count="0" type="stmt"/>
458
- <line num="123" count="0" type="stmt"/>
459
- <line num="129" count="3" type="stmt"/>
460
- <line num="140" count="2" type="stmt"/>
461
- <line num="144" count="3" type="stmt"/>
462
- <line num="145" count="3" type="cond" truecount="3" falsecount="1"/>
463
- <line num="147" count="3" type="cond" truecount="3" falsecount="1"/>
464
- <line num="149" count="3" type="stmt"/>
465
- <line num="153" count="3" type="cond" truecount="3" falsecount="1"/>
466
- <line num="156" count="1" type="cond" truecount="3" falsecount="1"/>
467
- <line num="160" count="1" type="cond" truecount="0" falsecount="1"/>
468
- <line num="161" count="1" type="stmt"/>
469
- <line num="165" count="1" type="stmt"/>
470
- <line num="169" count="0" type="cond" truecount="0" falsecount="6"/>
471
- <line num="170" count="0" type="cond" truecount="0" falsecount="4"/>
472
- <line num="177" count="0" type="cond" truecount="0" falsecount="4"/>
500
+ <line num="121" count="0" type="cond" truecount="0" falsecount="1"/>
501
+ <line num="122" count="0" type="stmt"/>
502
+ <line num="124" count="0" type="cond" truecount="0" falsecount="2"/>
503
+ <line num="125" count="0" type="stmt"/>
504
+ <line num="126" count="0" type="cond" truecount="0" falsecount="1"/>
505
+ <line num="127" count="0" type="stmt"/>
506
+ <line num="130" count="0" type="stmt"/>
507
+ <line num="133" count="3" type="stmt"/>
508
+ <line num="134" count="3" type="cond" truecount="2" falsecount="0"/>
509
+ <line num="137" count="3" type="stmt"/>
510
+ <line num="138" count="0" type="stmt"/>
511
+ <line num="141" count="3" type="stmt"/>
512
+ <line num="142" count="3" type="cond" truecount="3" falsecount="1"/>
513
+ <line num="143" count="0" type="cond" truecount="0" falsecount="2"/>
514
+ <line num="144" count="0" type="stmt"/>
515
+ <line num="145" count="0" type="stmt"/>
516
+ <line num="146" count="0" type="cond" truecount="0" falsecount="2"/>
517
+ <line num="147" count="0" type="stmt"/>
518
+ <line num="149" count="0" type="stmt"/>
519
+ <line num="155" count="3" type="stmt"/>
520
+ <line num="166" count="2" type="stmt"/>
521
+ <line num="170" count="3" type="stmt"/>
522
+ <line num="171" count="3" type="cond" truecount="3" falsecount="1"/>
523
+ <line num="173" count="3" type="cond" truecount="3" falsecount="1"/>
524
+ <line num="175" count="3" type="stmt"/>
525
+ <line num="182" count="3" type="cond" truecount="3" falsecount="1"/>
526
+ <line num="185" count="1" type="cond" truecount="3" falsecount="1"/>
527
+ <line num="189" count="1" type="cond" truecount="0" falsecount="1"/>
528
+ <line num="190" count="1" type="stmt"/>
529
+ <line num="194" count="1" type="stmt"/>
530
+ <line num="198" count="0" type="cond" truecount="0" falsecount="6"/>
531
+ <line num="199" count="0" type="cond" truecount="0" falsecount="4"/>
532
+ <line num="206" count="0" type="cond" truecount="0" falsecount="4"/>
473
533
  </file>
474
534
  <file name="Stage.vue" path="/root/magic/tmagic-editor/packages/editor/src/layouts/workspace/Stage.vue">
475
- <metrics statements="77" coveredstatements="36" conditionals="159" coveredconditionals="23" methods="28" coveredmethods="9"/>
476
- <line num="22" count="2" type="stmt"/>
477
- <line num="35" count="2" type="stmt"/>
478
- <line num="39" count="2" type="stmt"/>
535
+ <metrics statements="80" coveredstatements="32" conditionals="175" coveredconditionals="25" methods="27" coveredmethods="7"/>
536
+ <line num="24" count="2" type="stmt"/>
537
+ <line num="37" count="2" type="stmt"/>
479
538
  <line num="41" count="2" type="stmt"/>
539
+ <line num="43" count="2" type="stmt"/>
480
540
  <line num="44" count="2" type="stmt"/>
481
541
  <line num="46" count="2" type="stmt"/>
482
- <line num="47" count="2" type="stmt"/>
483
542
  <line num="48" count="2" type="stmt"/>
484
- <line num="54" count="2" type="stmt"/>
485
- <line num="55" count="2" type="stmt"/>
486
- <line num="58" count="0" type="stmt"/>
487
- <line num="64" count="2" type="stmt"/>
488
- <line num="69" count="0" type="stmt"/>
489
- <line num="71" count="0" type="cond" truecount="0" falsecount="4"/>
490
- <line num="72" count="0" type="stmt"/>
491
- <line num="73" count="0" type="cond" truecount="0" falsecount="1"/>
492
- <line num="74" count="0" type="stmt"/>
493
- <line num="76" count="0" type="stmt"/>
494
- <line num="85" count="2" type="stmt"/>
495
- <line num="102" count="0" type="stmt"/>
496
- <line num="107" count="2" type="stmt"/>
497
- <line num="114" count="2" type="stmt"/>
498
- <line num="116" count="2" type="stmt"/>
499
- <line num="117" count="2" type="stmt"/>
500
- <line num="119" count="2" type="cond" truecount="4" falsecount="0"/>
501
- <line num="120" count="2" type="cond" truecount="0" falsecount="4"/>
502
- <line num="121" count="2" type="cond" truecount="4" falsecount="0"/>
503
- <line num="122" count="2" type="cond" truecount="0" falsecount="4"/>
504
- <line num="123" count="2" type="cond" truecount="4" falsecount="0"/>
505
- <line num="124" count="2" type="cond" truecount="0" falsecount="4"/>
506
- <line num="126" count="2" type="stmt"/>
507
- <line num="127" count="2" type="stmt"/>
508
- <line num="129" count="2" type="stmt"/>
509
- <line num="130" count="4" type="cond" truecount="0" falsecount="1"/>
510
- <line num="132" count="4" type="cond" truecount="1" falsecount="0"/>
511
- <line num="133" count="2" type="cond" truecount="5" falsecount="0"/>
512
- <line num="135" count="1" type="stmt"/>
513
- <line num="140" count="0" type="stmt"/>
514
- <line num="142" count="0" type="cond" truecount="0" falsecount="4"/>
515
- <line num="143" count="0" type="stmt"/>
516
- <line num="144" count="0" type="stmt"/>
517
- <line num="147" count="0" type="stmt"/>
518
- <line num="152" count="0" type="cond" truecount="0" falsecount="4"/>
519
- <line num="154" count="0" type="cond" truecount="0" falsecount="4"/>
520
- <line num="156" count="0" type="cond" truecount="0" falsecount="4"/>
521
- <line num="157" count="0" type="cond" truecount="0" falsecount="4"/>
522
- <line num="160" count="0" type="cond" truecount="0" falsecount="4"/>
523
- <line num="161" count="0" type="cond" truecount="0" falsecount="4"/>
524
- <line num="164" count="0" type="cond" truecount="0" falsecount="4"/>
543
+ <line num="65" count="0" type="stmt"/>
544
+ <line num="70" count="2" type="stmt"/>
545
+ <line num="77" count="2" type="stmt"/>
546
+ <line num="79" count="2" type="stmt"/>
547
+ <line num="80" count="2" type="stmt"/>
548
+ <line num="81" count="2" type="stmt"/>
549
+ <line num="83" count="2" type="cond" truecount="4" falsecount="0"/>
550
+ <line num="84" count="2" type="cond" truecount="0" falsecount="4"/>
551
+ <line num="85" count="2" type="cond" truecount="4" falsecount="0"/>
552
+ <line num="86" count="2" type="cond" truecount="0" falsecount="4"/>
553
+ <line num="87" count="2" type="cond" truecount="6" falsecount="0"/>
554
+ <line num="88" count="2" type="cond" truecount="0" falsecount="4"/>
555
+ <line num="90" count="2" type="stmt"/>
556
+ <line num="91" count="2" type="stmt"/>
557
+ <line num="93" count="2" type="stmt"/>
558
+ <line num="94" count="4" type="cond" truecount="0" falsecount="1"/>
559
+ <line num="96" count="4" type="cond" truecount="1" falsecount="0"/>
560
+ <line num="97" count="2" type="cond" truecount="5" falsecount="0"/>
561
+ <line num="99" count="1" type="stmt"/>
562
+ <line num="104" count="0" type="stmt"/>
563
+ <line num="106" count="0" type="cond" truecount="0" falsecount="4"/>
564
+ <line num="107" count="0" type="stmt"/>
565
+ <line num="108" count="0" type="stmt"/>
566
+ <line num="111" count="0" type="stmt"/>
567
+ <line num="116" count="0" type="cond" truecount="0" falsecount="4"/>
568
+ <line num="118" count="0" type="cond" truecount="0" falsecount="4"/>
569
+ <line num="120" count="0" type="cond" truecount="0" falsecount="4"/>
570
+ <line num="121" count="0" type="cond" truecount="0" falsecount="4"/>
571
+ <line num="124" count="0" type="cond" truecount="0" falsecount="4"/>
572
+ <line num="125" count="0" type="cond" truecount="0" falsecount="4"/>
573
+ <line num="128" count="0" type="cond" truecount="0" falsecount="4"/>
574
+ <line num="129" count="0" type="cond" truecount="0" falsecount="4"/>
575
+ <line num="132" count="0" type="cond" truecount="0" falsecount="4"/>
576
+ <line num="133" count="0" type="cond" truecount="0" falsecount="4"/>
577
+ <line num="136" count="0" type="cond" truecount="0" falsecount="4"/>
578
+ <line num="137" count="0" type="cond" truecount="0" falsecount="4"/>
579
+ <line num="140" count="0" type="cond" truecount="0" falsecount="5"/>
580
+ <line num="141" count="0" type="cond" truecount="0" falsecount="4"/>
581
+ <line num="142" count="0" type="stmt"/>
582
+ <line num="144" count="0" type="cond" truecount="0" falsecount="6"/>
583
+ <line num="145" count="0" type="cond" truecount="0" falsecount="14"/>
584
+ <line num="146" count="0" type="stmt"/>
585
+ <line num="147" count="0" type="cond" truecount="0" falsecount="6"/>
586
+ <line num="152" count="2" type="stmt"/>
587
+ <line num="153" count="0" type="cond" truecount="0" falsecount="3"/>
588
+ <line num="154" count="0" type="stmt"/>
589
+ <line num="157" count="2" type="stmt"/>
590
+ <line num="158" count="0" type="cond" truecount="0" falsecount="3"/>
591
+ <line num="159" count="0" type="stmt"/>
592
+ <line num="163" count="2" type="stmt"/>
593
+ <line num="164" count="0" type="stmt"/>
525
594
  <line num="165" count="0" type="cond" truecount="0" falsecount="4"/>
526
- <line num="168" count="0" type="cond" truecount="0" falsecount="4"/>
527
- <line num="169" count="0" type="cond" truecount="0" falsecount="4"/>
528
- <line num="172" count="0" type="cond" truecount="0" falsecount="4"/>
529
- <line num="173" count="0" type="cond" truecount="0" falsecount="4"/>
530
- <line num="176" count="0" type="cond" truecount="0" falsecount="5"/>
595
+ <line num="172" count="2" type="stmt"/>
596
+ <line num="173" count="2" type="cond" truecount="5" falsecount="1"/>
597
+ <line num="176" count="2" type="stmt"/>
531
598
  <line num="177" count="0" type="cond" truecount="0" falsecount="4"/>
532
599
  <line num="178" count="0" type="stmt"/>
533
- <line num="180" count="0" type="cond" truecount="0" falsecount="6"/>
534
- <line num="181" count="0" type="cond" truecount="0" falsecount="14"/>
535
- <line num="182" count="0" type="stmt"/>
536
- <line num="183" count="0" type="cond" truecount="0" falsecount="6"/>
537
- <line num="188" count="2" type="stmt"/>
538
- <line num="189" count="0" type="cond" truecount="0" falsecount="3"/>
600
+ <line num="179" count="0" type="cond" truecount="0" falsecount="4"/>
601
+ <line num="182" count="2" type="stmt"/>
539
602
  <line num="190" count="0" type="stmt"/>
540
- <line num="193" count="2" type="stmt"/>
541
- <line num="194" count="0" type="cond" truecount="0" falsecount="3"/>
603
+ <line num="191" count="0" type="cond" truecount="0" falsecount="4"/>
542
604
  <line num="195" count="0" type="stmt"/>
543
- <line num="199" count="2" type="stmt"/>
544
- <line num="200" count="0" type="stmt"/>
545
- <line num="201" count="0" type="cond" truecount="0" falsecount="4"/>
546
- <line num="208" count="2" type="stmt"/>
547
- <line num="209" count="2" type="cond" truecount="5" falsecount="1"/>
548
- <line num="212" count="2" type="stmt"/>
549
- <line num="213" count="0" type="cond" truecount="0" falsecount="4"/>
550
- <line num="214" count="0" type="stmt"/>
551
- <line num="215" count="0" type="cond" truecount="0" falsecount="4"/>
552
- <line num="218" count="2" type="stmt"/>
605
+ <line num="196" count="0" type="cond" truecount="0" falsecount="1"/>
606
+ <line num="197" count="0" type="stmt"/>
607
+ <line num="202" count="0" type="stmt"/>
608
+ <line num="203" count="0" type="cond" truecount="0" falsecount="5"/>
609
+ <line num="205" count="0" type="stmt"/>
610
+ <line num="206" count="0" type="cond" truecount="0" falsecount="4"/>
611
+ <line num="208" count="0" type="stmt"/>
612
+ <line num="209" count="0" type="stmt"/>
613
+ <line num="210" count="0" type="cond" truecount="0" falsecount="1"/>
614
+ <line num="211" count="0" type="stmt"/>
615
+ <line num="218" count="0" type="cond" truecount="0" falsecount="4"/>
553
616
  </file>
554
617
  <file name="ViewerMenu.vue" path="/root/magic/tmagic-editor/packages/editor/src/layouts/workspace/ViewerMenu.vue">
555
- <metrics statements="36" coveredstatements="22" conditionals="85" coveredconditionals="22" methods="16" coveredmethods="7"/>
556
- <line num="25" count="2" type="stmt"/>
557
- <line num="27" count="2" type="stmt"/>
618
+ <metrics statements="47" coveredstatements="32" conditionals="85" coveredconditionals="19" methods="25" coveredmethods="15"/>
619
+ <line num="6" count="2" type="stmt"/>
620
+ <line num="7" count="2" type="stmt"/>
621
+ <line num="9" count="2" type="stmt"/>
622
+ <line num="12" count="2" type="stmt"/>
623
+ <line num="13" count="2" type="stmt"/>
624
+ <line num="14" count="2" type="stmt"/>
625
+ <line num="16" count="2" type="stmt"/>
626
+ <line num="19" count="2" type="stmt"/>
627
+ <line num="20" count="2" type="stmt"/>
628
+ <line num="21" count="2" type="cond" truecount="4" falsecount="0"/>
629
+ <line num="22" count="2" type="stmt"/>
630
+ <line num="23" count="2" type="stmt"/>
631
+ <line num="24" count="2" type="stmt"/>
632
+ <line num="26" count="2" type="cond" truecount="4" falsecount="0"/>
633
+ <line num="27" count="2" type="cond" truecount="4" falsecount="0"/>
634
+ <line num="28" count="2" type="cond" truecount="3" falsecount="1"/>
558
635
  <line num="30" count="2" type="stmt"/>
559
636
  <line num="31" count="2" type="stmt"/>
560
- <line num="33" count="2" type="stmt"/>
561
- <line num="36" count="2" type="stmt"/>
637
+ <line num="32" count="2" type="cond" truecount="2" falsecount="0"/>
638
+ <line num="35" count="2" type="stmt"/>
562
639
  <line num="37" count="2" type="stmt"/>
563
- <line num="38" count="2" type="cond" truecount="4" falsecount="0"/>
564
- <line num="39" count="2" type="stmt"/>
565
- <line num="40" count="2" type="stmt"/>
566
- <line num="41" count="2" type="stmt"/>
567
- <line num="43" count="2" type="cond" truecount="4" falsecount="0"/>
568
- <line num="44" count="2" type="cond" truecount="4" falsecount="0"/>
569
- <line num="46" count="2" type="stmt"/>
640
+ <line num="38" count="2" type="cond" truecount="2" falsecount="1"/>
641
+ <line num="39" count="0" type="stmt"/>
642
+ <line num="40" count="0" type="stmt"/>
570
643
  <line num="47" count="2" type="stmt"/>
571
- <line num="48" count="2" type="cond" truecount="2" falsecount="0"/>
572
- <line num="51" count="2" type="stmt"/>
573
644
  <line num="53" count="2" type="stmt"/>
574
- <line num="54" count="2" type="cond" truecount="2" falsecount="1"/>
575
- <line num="55" count="0" type="stmt"/>
576
- <line num="56" count="0" type="stmt"/>
577
- <line num="63" count="2" type="stmt"/>
578
- <line num="67" count="2" type="cond" truecount="3" falsecount="1"/>
579
- <line num="68" count="2" type="cond" truecount="3" falsecount="1"/>
645
+ <line num="55" count="0" type="cond" truecount="0" falsecount="6"/>
646
+ <line num="63" count="0" type="cond" truecount="0" falsecount="6"/>
647
+ <line num="64" count="0" type="stmt"/>
648
+ <line num="70" count="2" type="stmt"/>
580
649
  <line num="72" count="0" type="cond" truecount="0" falsecount="6"/>
581
- <line num="76" count="0" type="cond" truecount="0" falsecount="6"/>
582
- <line num="77" count="0" type="stmt"/>
583
- <line num="81" count="0" type="cond" truecount="0" falsecount="6"/>
584
- <line num="82" count="0" type="cond" truecount="0" falsecount="6"/>
585
- <line num="83" count="0" type="cond" truecount="0" falsecount="4"/>
586
- <line num="87" count="0" type="cond" truecount="0" falsecount="6"/>
587
- <line num="91" count="0" type="cond" truecount="0" falsecount="4"/>
588
- <line num="95" count="0" type="cond" truecount="0" falsecount="4"/>
589
- <line num="99" count="0" type="cond" truecount="0" falsecount="4"/>
590
- <line num="103" count="0" type="cond" truecount="0" falsecount="4"/>
591
- <line num="107" count="0" type="cond" truecount="0" falsecount="4"/>
650
+ <line num="73" count="0" type="cond" truecount="0" falsecount="6"/>
651
+ <line num="74" count="0" type="cond" truecount="0" falsecount="4"/>
652
+ <line num="80" count="2" type="stmt"/>
653
+ <line num="86" count="2" type="stmt"/>
654
+ <line num="88" count="0" type="cond" truecount="0" falsecount="4"/>
655
+ <line num="95" count="2" type="stmt"/>
656
+ <line num="97" count="0" type="cond" truecount="0" falsecount="4"/>
657
+ <line num="103" count="2" type="stmt"/>
658
+ <line num="105" count="0" type="cond" truecount="0" falsecount="4"/>
659
+ <line num="111" count="2" type="stmt"/>
660
+ <line num="113" count="0" type="cond" truecount="0" falsecount="4"/>
661
+ <line num="119" count="2" type="stmt"/>
662
+ <line num="125" count="2" type="stmt"/>
663
+ <line num="127" count="0" type="cond" truecount="0" falsecount="6"/>
664
+ <line num="138" count="0" type="cond" truecount="0" falsecount="4"/>
665
+ <line num="144" count="0" type="cond" truecount="0" falsecount="4"/>
592
666
  </file>
593
667
  <file name="Workspace.vue" path="/root/magic/tmagic-editor/packages/editor/src/layouts/workspace/Workspace.vue">
594
668
  <metrics statements="61" coveredstatements="19" conditionals="108" coveredconditionals="7" methods="24" coveredmethods="3"/>
@@ -656,12 +730,12 @@
656
730
  </file>
657
731
  </package>
658
732
  <package name="src.services">
659
- <metrics statements="442" coveredstatements="338" conditionals="181" coveredconditionals="85" methods="90" coveredmethods="67"/>
733
+ <metrics statements="464" coveredstatements="347" conditionals="185" coveredconditionals="87" methods="91" coveredmethods="67"/>
660
734
  <file name="BaseService.ts" path="/root/magic/tmagic-editor/packages/editor/src/services/BaseService.ts">
661
735
  <metrics statements="58" coveredstatements="49" conditionals="12" coveredconditionals="6" methods="14" coveredmethods="11"/>
662
736
  <line num="19" count="6" type="stmt"/>
663
737
  <line num="21" count="6" type="stmt"/>
664
- <line num="23" count="170" type="stmt"/>
738
+ <line num="23" count="180" type="stmt"/>
665
739
  <line num="25" count="6" type="stmt"/>
666
740
  <line num="27" count="6" type="stmt"/>
667
741
  <line num="35" count="86" type="stmt"/>
@@ -687,15 +761,15 @@
687
761
  <line num="118" count="25" type="stmt"/>
688
762
  <line num="121" count="25" type="stmt"/>
689
763
  <line num="123" count="25" type="stmt"/>
690
- <line num="124" count="85" type="stmt"/>
691
- <line num="126" count="85" type="stmt"/>
692
- <line num="128" count="85" type="stmt"/>
693
- <line num="129" count="85" type="stmt"/>
694
- <line num="131" count="85" type="stmt"/>
695
- <line num="132" count="85" type="stmt"/>
696
- <line num="133" count="85" type="stmt"/>
697
- <line num="135" count="85" type="stmt"/>
698
- <line num="136" count="85" type="stmt"/>
764
+ <line num="124" count="90" type="stmt"/>
765
+ <line num="126" count="90" type="stmt"/>
766
+ <line num="128" count="90" type="stmt"/>
767
+ <line num="129" count="90" type="stmt"/>
768
+ <line num="131" count="90" type="stmt"/>
769
+ <line num="132" count="90" type="stmt"/>
770
+ <line num="133" count="90" type="stmt"/>
771
+ <line num="135" count="90" type="stmt"/>
772
+ <line num="136" count="90" type="stmt"/>
699
773
  <line num="138" count="86" type="cond" truecount="1" falsecount="0"/>
700
774
  <line num="139" count="48" type="stmt"/>
701
775
  <line num="144" count="38" type="stmt"/>
@@ -729,7 +803,7 @@
729
803
  <line num="48" count="1" type="stmt"/>
730
804
  </file>
731
805
  <file name="editor.ts" path="/root/magic/tmagic-editor/packages/editor/src/services/editor.ts">
732
- <metrics statements="242" coveredstatements="196" conditionals="113" coveredconditionals="68" methods="35" coveredmethods="28"/>
806
+ <metrics statements="260" coveredstatements="205" conditionals="117" coveredconditionals="70" methods="35" coveredmethods="28"/>
733
807
  <line num="19" count="5" type="stmt"/>
734
808
  <line num="20" count="5" type="stmt"/>
735
809
  <line num="21" count="5" type="stmt"/>
@@ -743,235 +817,253 @@
743
817
  <line num="44" count="5" type="stmt"/>
744
818
  <line num="47" count="5" type="stmt"/>
745
819
  <line num="49" count="5" type="stmt"/>
746
- <line num="60" count="5" type="stmt"/>
747
- <line num="88" count="103" type="stmt"/>
748
- <line num="89" count="103" type="stmt"/>
749
- <line num="91" count="103" type="cond" truecount="1" falsecount="0"/>
750
- <line num="92" count="21" type="stmt"/>
751
- <line num="102" count="218" type="stmt"/>
752
- <line num="111" count="55" type="stmt"/>
753
- <line num="112" count="55" type="cond" truecount="0" falsecount="1"/>
754
- <line num="114" count="55" type="cond" truecount="0" falsecount="1"/>
755
- <line num="115" count="0" type="stmt"/>
756
- <line num="118" count="55" type="stmt"/>
757
- <line num="120" count="55" type="cond" truecount="1" falsecount="0"/>
758
- <line num="122" count="46" type="stmt"/>
759
- <line num="123" count="46" type="stmt"/>
820
+ <line num="61" count="5" type="stmt"/>
821
+ <line num="90" count="103" type="stmt"/>
822
+ <line num="91" count="103" type="stmt"/>
823
+ <line num="93" count="103" type="cond" truecount="1" falsecount="0"/>
824
+ <line num="94" count="21" type="cond" truecount="1" falsecount="1"/>
825
+ <line num="95" count="21" type="stmt"/>
826
+ <line num="105" count="218" type="stmt"/>
827
+ <line num="114" count="55" type="stmt"/>
828
+ <line num="115" count="55" type="cond" truecount="0" falsecount="1"/>
829
+ <line num="117" count="55" type="cond" truecount="0" falsecount="1"/>
830
+ <line num="118" count="0" type="stmt"/>
831
+ <line num="121" count="55" type="stmt"/>
832
+ <line num="123" count="55" type="cond" truecount="1" falsecount="0"/>
760
833
  <line num="125" count="46" type="stmt"/>
761
834
  <line num="126" count="46" type="stmt"/>
762
835
  <line num="128" count="46" type="stmt"/>
763
- <line num="129" count="120" type="cond" truecount="1" falsecount="0"/>
764
- <line num="130" count="46" type="stmt"/>
836
+ <line num="129" count="46" type="stmt"/>
765
837
  <line num="131" count="46" type="stmt"/>
766
- <line num="135" count="46" type="stmt"/>
767
- <line num="144" count="11" type="stmt"/>
768
- <line num="145" count="11" type="stmt"/>
769
- <line num="154" count="3" type="cond" truecount="0" falsecount="1"/>
770
- <line num="155" count="3" type="stmt"/>
771
- <line num="156" count="3" type="stmt"/>
772
- <line num="163" count="24" type="cond" truecount="3" falsecount="1"/>
773
- <line num="165" count="24" type="cond" truecount="1" falsecount="0"/>
774
- <line num="166" count="13" type="stmt"/>
775
- <line num="170" count="11" type="cond" truecount="1" falsecount="0"/>
776
- <line num="171" count="8" type="stmt"/>
777
- <line num="174" count="3" type="stmt"/>
778
- <line num="183" count="26" type="stmt"/>
779
- <line num="184" count="24" type="stmt"/>
780
- <line num="185" count="24" type="cond" truecount="1" falsecount="1"/>
781
- <line num="186" count="24" type="cond" truecount="1" falsecount="1"/>
838
+ <line num="132" count="120" type="cond" truecount="1" falsecount="0"/>
839
+ <line num="133" count="46" type="stmt"/>
840
+ <line num="134" count="46" type="stmt"/>
841
+ <line num="138" count="46" type="stmt"/>
842
+ <line num="147" count="11" type="stmt"/>
843
+ <line num="148" count="11" type="stmt"/>
844
+ <line num="157" count="3" type="cond" truecount="0" falsecount="1"/>
845
+ <line num="158" count="3" type="stmt"/>
846
+ <line num="159" count="3" type="stmt"/>
847
+ <line num="166" count="24" type="cond" truecount="3" falsecount="1"/>
848
+ <line num="168" count="24" type="cond" truecount="1" falsecount="0"/>
849
+ <line num="169" count="13" type="stmt"/>
850
+ <line num="173" count="11" type="cond" truecount="1" falsecount="0"/>
851
+ <line num="174" count="8" type="stmt"/>
852
+ <line num="177" count="3" type="stmt"/>
853
+ <line num="186" count="26" type="stmt"/>
854
+ <line num="187" count="24" type="stmt"/>
782
855
  <line num="188" count="24" type="cond" truecount="1" falsecount="1"/>
783
- <line num="189" count="24" type="stmt"/>
784
- <line num="191" count="0" type="stmt"/>
785
- <line num="193" count="24" type="stmt"/>
786
- <line num="197" count="0" type="stmt"/>
787
- <line num="199" count="0" type="cond" truecount="0" falsecount="4"/>
788
- <line num="201" count="0" type="stmt"/>
789
- <line num="203" count="0" type="cond" truecount="0" falsecount="1"/>
790
- <line num="205" count="0" type="stmt"/>
791
- <line num="207" count="0" type="cond" truecount="0" falsecount="2"/>
792
- <line num="209" count="0" type="stmt"/>
793
- <line num="210" count="0" type="stmt"/>
794
- <line num="212" count="0" type="stmt"/>
856
+ <line num="189" count="24" type="cond" truecount="1" falsecount="1"/>
857
+ <line num="191" count="24" type="cond" truecount="1" falsecount="1"/>
858
+ <line num="192" count="24" type="stmt"/>
859
+ <line num="194" count="0" type="stmt"/>
860
+ <line num="197" count="24" type="stmt"/>
861
+ <line num="199" count="24" type="stmt"/>
862
+ <line num="203" count="0" type="stmt"/>
863
+ <line num="205" count="0" type="cond" truecount="0" falsecount="4"/>
864
+ <line num="207" count="0" type="stmt"/>
865
+ <line num="209" count="0" type="cond" truecount="0" falsecount="1"/>
866
+ <line num="211" count="0" type="stmt"/>
867
+ <line num="213" count="0" type="cond" truecount="0" falsecount="2"/>
868
+ <line num="215" count="0" type="stmt"/>
795
869
  <line num="216" count="0" type="stmt"/>
796
- <line num="217" count="0" type="stmt"/>
797
- <line num="219" count="0" type="stmt"/>
798
- <line num="221" count="0" type="cond" truecount="0" falsecount="2"/>
870
+ <line num="218" count="0" type="stmt"/>
871
+ <line num="222" count="0" type="stmt"/>
799
872
  <line num="223" count="0" type="stmt"/>
800
- <line num="224" count="0" type="stmt"/>
801
- <line num="226" count="0" type="stmt"/>
802
- <line num="235" count="0" type="stmt"/>
803
- <line num="236" count="0" type="stmt"/>
804
- <line num="237" count="0" type="cond" truecount="0" falsecount="1"/>
805
- <line num="238" count="0" type="stmt"/>
806
- <line num="248" count="6" type="stmt"/>
807
- <line num="249" count="6" type="stmt"/>
808
- <line num="253" count="6" type="cond" truecount="2" falsecount="0"/>
809
- <line num="254" count="2" type="stmt"/>
810
- <line num="256" count="4" type="cond" truecount="4" falsecount="0"/>
811
- <line num="257" count="1" type="stmt"/>
812
- <line num="258" count="3" type="cond" truecount="2" falsecount="0"/>
813
- <line num="259" count="2" type="stmt"/>
814
- <line num="261" count="1" type="stmt"/>
815
- <line num="264" count="6" type="cond" truecount="0" falsecount="1"/>
816
- <line num="266" count="6" type="stmt"/>
817
- <line num="267" count="6" type="stmt"/>
818
- <line num="274" count="6" type="cond" truecount="4" falsecount="0"/>
819
- <line num="275" count="1" type="stmt"/>
820
- <line num="278" count="5" type="stmt"/>
821
- <line num="280" count="5" type="stmt"/>
822
- <line num="282" count="5" type="stmt"/>
823
- <line num="284" count="5" type="stmt"/>
824
- <line num="286" count="5" type="stmt"/>
825
- <line num="287" count="5" type="cond" truecount="1" falsecount="0"/>
826
- <line num="288" count="3" type="stmt"/>
873
+ <line num="225" count="0" type="stmt"/>
874
+ <line num="227" count="0" type="cond" truecount="0" falsecount="2"/>
875
+ <line num="229" count="0" type="stmt"/>
876
+ <line num="230" count="0" type="stmt"/>
877
+ <line num="232" count="0" type="stmt"/>
878
+ <line num="241" count="0" type="stmt"/>
879
+ <line num="242" count="0" type="stmt"/>
880
+ <line num="243" count="0" type="cond" truecount="0" falsecount="1"/>
881
+ <line num="244" count="0" type="stmt"/>
882
+ <line num="254" count="6" type="stmt"/>
883
+ <line num="255" count="6" type="stmt"/>
884
+ <line num="258" count="6" type="stmt"/>
885
+ <line num="260" count="6" type="cond" truecount="2" falsecount="0"/>
886
+ <line num="261" count="2" type="stmt"/>
887
+ <line num="263" count="4" type="cond" truecount="4" falsecount="0"/>
888
+ <line num="264" count="1" type="stmt"/>
889
+ <line num="265" count="3" type="cond" truecount="2" falsecount="0"/>
890
+ <line num="266" count="2" type="stmt"/>
891
+ <line num="268" count="1" type="stmt"/>
892
+ <line num="271" count="6" type="cond" truecount="0" falsecount="1"/>
893
+ <line num="273" count="6" type="stmt"/>
894
+ <line num="274" count="6" type="stmt"/>
895
+ <line num="281" count="6" type="cond" truecount="4" falsecount="0"/>
896
+ <line num="282" count="1" type="stmt"/>
897
+ <line num="285" count="5" type="stmt"/>
898
+ <line num="287" count="5" type="stmt"/>
899
+ <line num="289" count="5" type="stmt"/>
827
900
  <line num="291" count="5" type="stmt"/>
828
901
  <line num="293" count="5" type="stmt"/>
829
- <line num="302" count="4" type="cond" truecount="0" falsecount="1"/>
830
- <line num="304" count="4" type="stmt"/>
831
- <line num="306" count="4" type="cond" truecount="0" falsecount="1"/>
832
- <line num="308" count="4" type="stmt"/>
833
- <line num="310" count="4" type="cond" truecount="3" falsecount="0"/>
834
- <line num="312" count="3" type="stmt"/>
835
- <line num="314" count="3" type="cond" truecount="2" falsecount="1"/>
836
- <line num="316" count="3" type="stmt"/>
837
- <line num="317" count="3" type="stmt"/>
838
- <line num="318" count="3" type="stmt"/>
839
- <line num="320" count="3" type="cond" truecount="2" falsecount="0"/>
840
- <line num="321" count="1" type="cond" truecount="1" falsecount="0"/>
841
- <line num="322" count="1" type="stmt"/>
842
- <line num="323" count="1" type="stmt"/>
843
- <line num="326" count="2" type="stmt"/>
844
- <line num="327" count="2" type="stmt"/>
902
+ <line num="294" count="5" type="cond" truecount="1" falsecount="0"/>
903
+ <line num="295" count="3" type="stmt"/>
904
+ <line num="298" count="5" type="stmt"/>
905
+ <line num="300" count="5" type="cond" truecount="1" falsecount="0"/>
906
+ <line num="301" count="2" type="stmt"/>
907
+ <line num="304" count="5" type="stmt"/>
908
+ <line num="306" count="5" type="stmt"/>
909
+ <line num="315" count="4" type="cond" truecount="0" falsecount="1"/>
910
+ <line num="317" count="4" type="stmt"/>
911
+ <line num="319" count="4" type="cond" truecount="0" falsecount="1"/>
912
+ <line num="321" count="4" type="stmt"/>
913
+ <line num="323" count="4" type="cond" truecount="3" falsecount="0"/>
914
+ <line num="325" count="3" type="stmt"/>
915
+ <line num="327" count="3" type="cond" truecount="2" falsecount="1"/>
916
+ <line num="329" count="3" type="stmt"/>
845
917
  <line num="330" count="3" type="stmt"/>
846
918
  <line num="331" count="3" type="stmt"/>
847
- <line num="333" count="3" type="stmt"/>
848
- <line num="342" count="11" type="cond" truecount="1" falsecount="0"/>
849
- <line num="344" count="10" type="stmt"/>
850
- <line num="346" count="10" type="cond" truecount="1" falsecount="0"/>
851
- <line num="348" count="9" type="stmt"/>
852
- <line num="350" count="9" type="stmt"/>
853
- <line num="352" count="9" type="stmt"/>
854
- <line num="353" count="47" type="cond" truecount="1" falsecount="0"/>
855
- <line num="354" count="3" type="stmt"/>
856
- <line num="358" count="9" type="cond" truecount="1" falsecount="0"/>
857
- <line num="360" count="8" type="cond" truecount="0" falsecount="1"/>
858
- <line num="361" count="0" type="stmt"/>
859
- <line num="362" count="0" type="stmt"/>
860
- <line num="365" count="8" type="stmt"/>
861
- <line num="366" count="8" type="cond" truecount="0" falsecount="1"/>
862
- <line num="368" count="8" type="stmt"/>
863
- <line num="369" count="8" type="stmt"/>
864
- <line num="371" count="8" type="cond" truecount="3" falsecount="1"/>
865
- <line num="373" count="8" type="stmt"/>
866
- <line num="374" count="8" type="stmt"/>
867
- <line num="375" count="8" type="cond" truecount="1" falsecount="0"/>
868
- <line num="376" count="1" type="stmt"/>
869
- <line num="379" count="8" type="stmt"/>
870
- <line num="381" count="8" type="cond" truecount="1" falsecount="0"/>
871
- <line num="382" count="4" type="stmt"/>
872
- <line num="385" count="8" type="stmt"/>
873
- <line num="387" count="8" type="cond" truecount="1" falsecount="0"/>
874
- <line num="388" count="4" type="stmt"/>
875
- <line num="391" count="8" type="stmt"/>
876
- <line num="392" count="8" type="stmt"/>
919
+ <line num="333" count="3" type="cond" truecount="2" falsecount="0"/>
920
+ <line num="334" count="1" type="stmt"/>
921
+ <line num="336" count="1" type="cond" truecount="1" falsecount="1"/>
922
+ <line num="337" count="1" type="stmt"/>
923
+ <line num="338" count="1" type="stmt"/>
924
+ <line num="340" count="0" type="stmt"/>
925
+ <line num="341" count="0" type="stmt"/>
926
+ <line num="342" count="0" type="stmt"/>
927
+ <line num="343" count="0" type="stmt"/>
928
+ <line num="344" count="0" type="stmt"/>
929
+ <line num="345" count="0" type="stmt"/>
930
+ <line num="346" count="0" type="stmt"/>
931
+ <line num="348" count="0" type="stmt"/>
932
+ <line num="350" count="0" type="stmt"/>
933
+ <line num="353" count="2" type="stmt"/>
934
+ <line num="354" count="2" type="stmt"/>
935
+ <line num="357" count="3" type="stmt"/>
936
+ <line num="358" count="3" type="stmt"/>
937
+ <line num="360" count="3" type="stmt"/>
938
+ <line num="362" count="3" type="stmt"/>
939
+ <line num="371" count="11" type="cond" truecount="1" falsecount="0"/>
940
+ <line num="373" count="10" type="stmt"/>
941
+ <line num="375" count="10" type="cond" truecount="1" falsecount="0"/>
942
+ <line num="377" count="9" type="stmt"/>
943
+ <line num="379" count="9" type="stmt"/>
944
+ <line num="381" count="9" type="stmt"/>
945
+ <line num="382" count="47" type="cond" truecount="1" falsecount="0"/>
946
+ <line num="383" count="3" type="stmt"/>
947
+ <line num="387" count="9" type="cond" truecount="1" falsecount="0"/>
948
+ <line num="389" count="8" type="cond" truecount="0" falsecount="1"/>
949
+ <line num="390" count="0" type="stmt"/>
950
+ <line num="391" count="0" type="stmt"/>
877
951
  <line num="394" count="8" type="stmt"/>
878
- <line num="404" count="1" type="stmt"/>
952
+ <line num="395" count="8" type="cond" truecount="0" falsecount="1"/>
953
+ <line num="397" count="8" type="stmt"/>
954
+ <line num="398" count="8" type="stmt"/>
955
+ <line num="400" count="8" type="cond" truecount="3" falsecount="1"/>
956
+ <line num="402" count="8" type="stmt"/>
957
+ <line num="403" count="8" type="stmt"/>
958
+ <line num="404" count="8" type="cond" truecount="1" falsecount="0"/>
879
959
  <line num="405" count="1" type="stmt"/>
880
- <line num="406" count="1" type="stmt"/>
881
- <line num="408" count="1" type="cond" truecount="0" falsecount="1"/>
882
- <line num="409" count="2" type="stmt"/>
883
- <line num="411" count="1" type="stmt"/>
884
- <line num="413" count="1" type="stmt"/>
885
- <line num="414" count="1" type="stmt"/>
886
- <line num="416" count="1" type="stmt"/>
887
- <line num="418" count="1" type="stmt"/>
888
- <line num="419" count="1" type="stmt"/>
889
- <line num="428" count="1" type="stmt"/>
890
- <line num="437" count="2" type="stmt"/>
891
- <line num="439" count="2" type="stmt"/>
892
- <line num="440" count="2" type="cond" truecount="1" falsecount="0"/>
893
- <line num="441" count="1" type="stmt"/>
960
+ <line num="408" count="8" type="stmt"/>
961
+ <line num="410" count="8" type="cond" truecount="1" falsecount="0"/>
962
+ <line num="411" count="4" type="stmt"/>
963
+ <line num="414" count="8" type="stmt"/>
964
+ <line num="416" count="8" type="cond" truecount="1" falsecount="0"/>
965
+ <line num="417" count="4" type="stmt"/>
966
+ <line num="420" count="8" type="stmt"/>
967
+ <line num="421" count="8" type="stmt"/>
968
+ <line num="423" count="8" type="stmt"/>
969
+ <line num="425" count="8" type="stmt"/>
970
+ <line num="435" count="1" type="stmt"/>
971
+ <line num="436" count="1" type="stmt"/>
972
+ <line num="437" count="1" type="stmt"/>
973
+ <line num="439" count="1" type="cond" truecount="0" falsecount="1"/>
974
+ <line num="440" count="2" type="stmt"/>
975
+ <line num="442" count="1" type="stmt"/>
894
976
  <line num="444" count="1" type="stmt"/>
895
- <line num="446" count="1" type="stmt"/>
896
- <line num="448" count="0" type="stmt"/>
897
- <line num="449" count="0" type="stmt"/>
898
- <line num="452" count="1" type="stmt"/>
899
- <line num="453" count="1" type="cond" truecount="1" falsecount="0"/>
900
- <line num="454" count="1" type="stmt"/>
901
- <line num="460" count="1" type="stmt"/>
902
- <line num="469" count="1" type="stmt"/>
903
- <line num="470" count="1" type="stmt"/>
904
- <line num="471" count="1" type="stmt"/>
905
- <line num="472" count="1" type="cond" truecount="0" falsecount="1"/>
906
- <line num="473" count="0" type="stmt"/>
907
- <line num="476" count="1" type="cond" truecount="3" falsecount="0"/>
977
+ <line num="445" count="1" type="stmt"/>
978
+ <line num="447" count="1" type="stmt"/>
979
+ <line num="449" count="1" type="stmt"/>
980
+ <line num="450" count="1" type="stmt"/>
981
+ <line num="459" count="1" type="stmt"/>
982
+ <line num="468" count="2" type="stmt"/>
983
+ <line num="470" count="2" type="stmt"/>
984
+ <line num="471" count="2" type="cond" truecount="1" falsecount="0"/>
985
+ <line num="472" count="1" type="stmt"/>
986
+ <line num="475" count="1" type="stmt"/>
908
987
  <line num="477" count="1" type="stmt"/>
909
- <line num="480" count="1" type="stmt"/>
910
- <line num="481" count="1" type="stmt"/>
911
- <line num="482" count="1" type="stmt"/>
988
+ <line num="479" count="0" type="stmt"/>
989
+ <line num="480" count="0" type="stmt"/>
912
990
  <line num="483" count="1" type="stmt"/>
991
+ <line num="484" count="1" type="cond" truecount="1" falsecount="0"/>
913
992
  <line num="485" count="1" type="stmt"/>
914
- <line num="493" count="1" type="stmt"/>
915
- <line num="494" count="1" type="stmt"/>
916
- <line num="495" count="1" type="cond" truecount="1" falsecount="1"/>
917
- <line num="496" count="1" type="stmt"/>
918
- <line num="498" count="1" type="cond" truecount="1" falsecount="1"/>
919
- <line num="499" count="0" type="stmt"/>
920
- <line num="500" count="1" type="cond" truecount="1" falsecount="1"/>
921
- <line num="501" count="0" type="stmt"/>
922
- <line num="503" count="1" type="stmt"/>
923
- <line num="506" count="1" type="stmt"/>
993
+ <line num="491" count="1" type="stmt"/>
994
+ <line num="500" count="1" type="stmt"/>
995
+ <line num="501" count="1" type="stmt"/>
996
+ <line num="502" count="1" type="stmt"/>
997
+ <line num="503" count="1" type="cond" truecount="0" falsecount="1"/>
998
+ <line num="504" count="0" type="stmt"/>
999
+ <line num="507" count="1" type="cond" truecount="3" falsecount="0"/>
1000
+ <line num="508" count="1" type="stmt"/>
1001
+ <line num="511" count="1" type="stmt"/>
1002
+ <line num="512" count="1" type="stmt"/>
1003
+ <line num="513" count="1" type="stmt"/>
924
1004
  <line num="514" count="1" type="stmt"/>
925
- <line num="515" count="1" type="stmt"/>
926
1005
  <line num="516" count="1" type="stmt"/>
927
1006
  <line num="524" count="1" type="stmt"/>
928
1007
  <line num="525" count="1" type="stmt"/>
929
- <line num="526" count="1" type="stmt"/>
1008
+ <line num="526" count="1" type="cond" truecount="1" falsecount="1"/>
1009
+ <line num="527" count="1" type="stmt"/>
1010
+ <line num="529" count="1" type="cond" truecount="1" falsecount="1"/>
930
1011
  <line num="530" count="0" type="stmt"/>
931
- <line num="531" count="0" type="cond" truecount="0" falsecount="3"/>
932
- <line num="533" count="0" type="stmt"/>
933
- <line num="534" count="0" type="cond" truecount="0" falsecount="3"/>
934
- <line num="536" count="0" type="cond" truecount="0" falsecount="3"/>
935
- <line num="537" count="0" type="cond" truecount="0" falsecount="3"/>
936
- <line num="539" count="0" type="stmt"/>
937
- <line num="550" count="0" type="stmt"/>
938
- <line num="551" count="0" type="stmt"/>
939
- <line num="552" count="0" type="stmt"/>
940
- <line num="553" count="0" type="stmt"/>
941
- <line num="554" count="0" type="stmt"/>
942
- <line num="558" count="0" type="stmt"/>
943
- <line num="562" count="18" type="cond" truecount="1" falsecount="0"/>
944
- <line num="563" count="16" type="stmt"/>
945
- <line num="568" count="16" type="stmt"/>
946
- <line num="569" count="16" type="cond" truecount="1" falsecount="0"/>
947
- <line num="570" count="14" type="stmt"/>
948
- <line num="576" count="16" type="stmt"/>
949
- <line num="580" count="2" type="cond" truecount="0" falsecount="1"/>
950
- <line num="582" count="2" type="stmt"/>
951
- <line num="583" count="2" type="stmt"/>
952
- <line num="584" count="2" type="stmt"/>
953
- <line num="585" count="2" type="stmt"/>
954
- <line num="586" count="0" type="cond" truecount="0" falsecount="1"/>
955
- <line num="587" count="0" type="stmt"/>
956
- <line num="588" count="0" type="stmt"/>
957
- <line num="593" count="9" type="stmt"/>
958
- <line num="595" count="9" type="cond" truecount="3" falsecount="0"/>
959
- <line num="596" count="2" type="cond" truecount="4" falsecount="0"/>
960
- <line num="597" count="1" type="stmt"/>
961
- <line num="598" count="1" type="cond" truecount="3" falsecount="0"/>
962
- <line num="599" count="1" type="stmt"/>
963
- <line num="603" count="9" type="stmt"/>
964
- <line num="608" count="26" type="cond" truecount="4" falsecount="0"/>
965
- <line num="609" count="15" type="stmt"/>
966
- <line num="611" count="11" type="stmt"/>
967
- <line num="613" count="26" type="cond" truecount="1" falsecount="0"/>
968
- <line num="614" count="1" type="stmt"/>
969
- <line num="617" count="25" type="stmt"/>
970
- <line num="618" count="25" type="cond" truecount="1" falsecount="0"/>
971
- <line num="620" count="24" type="cond" truecount="0" falsecount="1"/>
972
- <line num="621" count="0" type="stmt"/>
973
- <line num="623" count="24" type="stmt"/>
974
- <line num="633" count="5" type="stmt"/>
1012
+ <line num="531" count="1" type="cond" truecount="1" falsecount="1"/>
1013
+ <line num="532" count="0" type="stmt"/>
1014
+ <line num="534" count="1" type="stmt"/>
1015
+ <line num="537" count="1" type="stmt"/>
1016
+ <line num="545" count="1" type="stmt"/>
1017
+ <line num="546" count="1" type="stmt"/>
1018
+ <line num="547" count="1" type="stmt"/>
1019
+ <line num="555" count="1" type="stmt"/>
1020
+ <line num="556" count="1" type="stmt"/>
1021
+ <line num="557" count="1" type="stmt"/>
1022
+ <line num="561" count="0" type="stmt"/>
1023
+ <line num="562" count="0" type="cond" truecount="0" falsecount="3"/>
1024
+ <line num="564" count="0" type="stmt"/>
1025
+ <line num="565" count="0" type="cond" truecount="0" falsecount="3"/>
1026
+ <line num="567" count="0" type="cond" truecount="0" falsecount="3"/>
1027
+ <line num="568" count="0" type="cond" truecount="0" falsecount="3"/>
1028
+ <line num="570" count="0" type="stmt"/>
1029
+ <line num="581" count="0" type="stmt"/>
1030
+ <line num="582" count="0" type="stmt"/>
1031
+ <line num="583" count="0" type="stmt"/>
1032
+ <line num="584" count="0" type="stmt"/>
1033
+ <line num="585" count="0" type="stmt"/>
1034
+ <line num="589" count="0" type="stmt"/>
1035
+ <line num="593" count="18" type="cond" truecount="1" falsecount="0"/>
1036
+ <line num="594" count="16" type="stmt"/>
1037
+ <line num="599" count="16" type="stmt"/>
1038
+ <line num="600" count="16" type="cond" truecount="1" falsecount="0"/>
1039
+ <line num="601" count="14" type="stmt"/>
1040
+ <line num="607" count="16" type="stmt"/>
1041
+ <line num="611" count="2" type="cond" truecount="0" falsecount="1"/>
1042
+ <line num="613" count="2" type="stmt"/>
1043
+ <line num="614" count="2" type="stmt"/>
1044
+ <line num="615" count="2" type="stmt"/>
1045
+ <line num="616" count="2" type="stmt"/>
1046
+ <line num="617" count="0" type="cond" truecount="0" falsecount="1"/>
1047
+ <line num="618" count="0" type="stmt"/>
1048
+ <line num="619" count="0" type="stmt"/>
1049
+ <line num="624" count="9" type="stmt"/>
1050
+ <line num="626" count="9" type="cond" truecount="3" falsecount="0"/>
1051
+ <line num="627" count="2" type="cond" truecount="4" falsecount="0"/>
1052
+ <line num="628" count="1" type="stmt"/>
1053
+ <line num="629" count="1" type="cond" truecount="3" falsecount="0"/>
1054
+ <line num="630" count="1" type="stmt"/>
1055
+ <line num="634" count="9" type="stmt"/>
1056
+ <line num="639" count="26" type="cond" truecount="4" falsecount="0"/>
1057
+ <line num="640" count="15" type="stmt"/>
1058
+ <line num="642" count="11" type="stmt"/>
1059
+ <line num="644" count="26" type="cond" truecount="1" falsecount="0"/>
1060
+ <line num="645" count="1" type="stmt"/>
1061
+ <line num="648" count="25" type="stmt"/>
1062
+ <line num="649" count="25" type="cond" truecount="1" falsecount="0"/>
1063
+ <line num="651" count="24" type="cond" truecount="0" falsecount="1"/>
1064
+ <line num="652" count="0" type="stmt"/>
1065
+ <line num="654" count="24" type="stmt"/>
1066
+ <line num="664" count="5" type="stmt"/>
975
1067
  </file>
976
1068
  <file name="events.ts" path="/root/magic/tmagic-editor/packages/editor/src/services/events.ts">
977
1069
  <metrics statements="24" coveredstatements="20" conditionals="10" coveredconditionals="4" methods="12" coveredmethods="10"/>
@@ -1001,47 +1093,51 @@
1001
1093
  <line num="82" count="6" type="stmt"/>
1002
1094
  </file>
1003
1095
  <file name="history.ts" path="/root/magic/tmagic-editor/packages/editor/src/services/history.ts">
1004
- <metrics statements="40" coveredstatements="34" conditionals="10" coveredconditionals="5" methods="9" coveredmethods="7"/>
1096
+ <metrics statements="44" coveredstatements="34" conditionals="10" coveredconditionals="5" methods="10" coveredmethods="7"/>
1005
1097
  <line num="19" count="5" type="stmt"/>
1006
1098
  <line num="23" count="5" type="stmt"/>
1007
1099
  <line num="25" count="5" type="stmt"/>
1008
1100
  <line num="41" count="5" type="stmt"/>
1009
1101
  <line num="49" count="5" type="stmt"/>
1010
1102
  <line num="51" count="5" type="stmt"/>
1011
- <line num="55" count="24" type="cond" truecount="0" falsecount="1"/>
1012
- <line num="57" count="24" type="stmt"/>
1013
- <line num="59" count="24" type="cond" truecount="1" falsecount="0"/>
1014
- <line num="60" count="3" type="stmt"/>
1015
- <line num="62" count="3" type="stmt"/>
1016
- <line num="68" count="3" type="stmt"/>
1017
- <line num="71" count="24" type="stmt"/>
1018
- <line num="75" count="0" type="stmt"/>
1019
- <line num="76" count="0" type="stmt"/>
1020
- <line num="77" count="0" type="stmt"/>
1021
- <line num="78" count="0" type="stmt"/>
1022
- <line num="82" count="14" type="stmt"/>
1023
- <line num="83" count="14" type="cond" truecount="0" falsecount="1"/>
1024
- <line num="84" count="14" type="stmt"/>
1025
- <line num="85" count="14" type="stmt"/>
1026
- <line num="86" count="14" type="stmt"/>
1027
- <line num="90" count="1" type="stmt"/>
1028
- <line num="91" count="1" type="cond" truecount="0" falsecount="1"/>
1029
- <line num="92" count="1" type="stmt"/>
1030
- <line num="93" count="1" type="stmt"/>
1031
- <line num="94" count="1" type="stmt"/>
1032
- <line num="98" count="1" type="stmt"/>
1033
- <line num="99" count="1" type="cond" truecount="0" falsecount="1"/>
1103
+ <line num="55" count="0" type="stmt"/>
1104
+ <line num="56" count="0" type="stmt"/>
1105
+ <line num="57" count="0" type="stmt"/>
1106
+ <line num="58" count="0" type="stmt"/>
1107
+ <line num="62" count="24" type="cond" truecount="0" falsecount="1"/>
1108
+ <line num="64" count="24" type="stmt"/>
1109
+ <line num="66" count="24" type="cond" truecount="1" falsecount="0"/>
1110
+ <line num="67" count="3" type="stmt"/>
1111
+ <line num="69" count="3" type="stmt"/>
1112
+ <line num="75" count="3" type="stmt"/>
1113
+ <line num="78" count="24" type="stmt"/>
1114
+ <line num="82" count="0" type="stmt"/>
1115
+ <line num="83" count="0" type="stmt"/>
1116
+ <line num="84" count="0" type="stmt"/>
1117
+ <line num="85" count="0" type="stmt"/>
1118
+ <line num="89" count="14" type="stmt"/>
1119
+ <line num="90" count="14" type="cond" truecount="0" falsecount="1"/>
1120
+ <line num="91" count="14" type="stmt"/>
1121
+ <line num="92" count="14" type="stmt"/>
1122
+ <line num="93" count="14" type="stmt"/>
1123
+ <line num="97" count="1" type="stmt"/>
1124
+ <line num="98" count="1" type="cond" truecount="0" falsecount="1"/>
1125
+ <line num="99" count="1" type="stmt"/>
1034
1126
  <line num="100" count="1" type="stmt"/>
1035
1127
  <line num="101" count="1" type="stmt"/>
1036
- <line num="102" count="1" type="stmt"/>
1037
- <line num="106" count="0" type="stmt"/>
1038
- <line num="107" count="0" type="stmt"/>
1039
- <line num="111" count="56" type="cond" truecount="0" falsecount="1"/>
1040
- <line num="112" count="56" type="stmt"/>
1041
- <line num="116" count="40" type="stmt"/>
1042
- <line num="117" count="40" type="cond" truecount="2" falsecount="0"/>
1043
- <line num="118" count="40" type="cond" truecount="2" falsecount="0"/>
1044
- <line num="124" count="5" type="stmt"/>
1128
+ <line num="105" count="1" type="stmt"/>
1129
+ <line num="106" count="1" type="cond" truecount="0" falsecount="1"/>
1130
+ <line num="107" count="1" type="stmt"/>
1131
+ <line num="108" count="1" type="stmt"/>
1132
+ <line num="109" count="1" type="stmt"/>
1133
+ <line num="113" count="0" type="stmt"/>
1134
+ <line num="114" count="0" type="stmt"/>
1135
+ <line num="118" count="56" type="cond" truecount="0" falsecount="1"/>
1136
+ <line num="119" count="56" type="stmt"/>
1137
+ <line num="123" count="40" type="stmt"/>
1138
+ <line num="124" count="40" type="cond" truecount="2" falsecount="0"/>
1139
+ <line num="125" count="40" type="cond" truecount="2" falsecount="0"/>
1140
+ <line num="131" count="5" type="stmt"/>
1045
1141
  </file>
1046
1142
  <file name="props.ts" path="/root/magic/tmagic-editor/packages/editor/src/services/props.ts">
1047
1143
  <metrics statements="26" coveredstatements="13" conditionals="10" coveredconditionals="2" methods="9" coveredmethods="4"/>
@@ -1070,7 +1166,7 @@
1070
1166
  <line num="96" count="0" type="stmt"/>
1071
1167
  <line num="98" count="0" type="stmt"/>
1072
1168
  <line num="101" count="6" type="stmt"/>
1073
- <line num="111" count="5" type="stmt"/>
1169
+ <line num="110" count="5" type="stmt"/>
1074
1170
  </file>
1075
1171
  <file name="ui.ts" path="/root/magic/tmagic-editor/packages/editor/src/services/ui.ts">
1076
1172
  <metrics statements="45" coveredstatements="19" conditionals="26" coveredconditionals="0" methods="8" coveredmethods="4"/>
@@ -1126,10 +1222,10 @@
1126
1222
  <file name="compose.ts" path="/root/magic/tmagic-editor/packages/editor/src/utils/compose.ts">
1127
1223
  <metrics statements="15" coveredstatements="13" conditionals="7" coveredconditionals="3" methods="3" coveredmethods="3"/>
1128
1224
  <line num="5" count="6" type="stmt"/>
1129
- <line num="6" count="85" type="cond" truecount="0" falsecount="1"/>
1130
- <line num="7" count="85" type="stmt"/>
1225
+ <line num="6" count="90" type="cond" truecount="0" falsecount="1"/>
1226
+ <line num="7" count="90" type="stmt"/>
1131
1227
  <line num="8" count="0" type="cond" truecount="0" falsecount="1"/>
1132
- <line num="16" count="85" type="stmt"/>
1228
+ <line num="16" count="90" type="stmt"/>
1133
1229
  <line num="18" count="85" type="stmt"/>
1134
1230
  <line num="19" count="85" type="stmt"/>
1135
1231
  <line num="21" count="85" type="cond" truecount="0" falsecount="1"/>
@@ -1281,12 +1377,12 @@
1281
1377
  <line num="30" count="7" type="cond" truecount="1" falsecount="0"/>
1282
1378
  <line num="84" count="0" type="cond" truecount="0" falsecount="2"/>
1283
1379
  <line num="94" count="0" type="cond" truecount="0" falsecount="2"/>
1284
- <line num="161" count="0" type="stmt"/>
1285
- <line num="176" count="0" type="stmt"/>
1286
- <line num="177" count="0" type="cond" truecount="0" falsecount="1"/>
1287
- <line num="179" count="0" type="stmt"/>
1288
- <line num="206" count="5" type="stmt"/>
1289
- <line num="213" count="7" type="stmt"/>
1380
+ <line num="180" count="0" type="stmt"/>
1381
+ <line num="195" count="0" type="stmt"/>
1382
+ <line num="196" count="0" type="cond" truecount="0" falsecount="1"/>
1383
+ <line num="198" count="0" type="stmt"/>
1384
+ <line num="225" count="5" type="stmt"/>
1385
+ <line num="232" count="7" type="stmt"/>
1290
1386
  </file>
1291
1387
  <file name="scroll-viewer.ts" path="/root/magic/tmagic-editor/packages/editor/src/utils/scroll-viewer.ts">
1292
1388
  <metrics statements="121" coveredstatements="32" conditionals="23" coveredconditionals="0" methods="17" coveredmethods="1"/>