@tmagic/editor 1.0.0-beta.14 → 1.0.0-beta.15
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.
- package/coverage/clover.xml +46 -46
- package/coverage/coverage-final.json +34 -34
- package/coverage/lcov-report/index.html +1 -1
- package/coverage/lcov-report/src/Editor.vue.html +1 -1
- package/coverage/lcov-report/src/components/ContentMenu.vue.html +1 -1
- package/coverage/lcov-report/src/components/Icon.vue.html +1 -1
- package/coverage/lcov-report/src/components/ScrollViewer.vue.html +1 -1
- package/coverage/lcov-report/src/components/ToolButton.vue.html +13 -13
- package/coverage/lcov-report/src/components/index.html +1 -1
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/layouts/AddPageBox.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/Framework.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/NavMenu.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/PropsPanel.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/Resizer.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/index.html +1 -1
- package/coverage/lcov-report/src/layouts/sidebar/ComponentListPanel.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/sidebar/LayerMenu.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/sidebar/LayerPanel.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/sidebar/Sidebar.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/sidebar/index.html +1 -1
- package/coverage/lcov-report/src/layouts/workspace/PageBar.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/workspace/Stage.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/workspace/ViewerMenu.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/workspace/Workspace.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/workspace/index.html +1 -1
- package/coverage/lcov-report/src/services/BaseService.ts.html +1 -1
- package/coverage/lcov-report/src/services/componentList.ts.html +1 -1
- package/coverage/lcov-report/src/services/editor.ts.html +1 -1
- package/coverage/lcov-report/src/services/events.ts.html +1 -1
- package/coverage/lcov-report/src/services/history.ts.html +1 -1
- package/coverage/lcov-report/src/services/index.html +1 -1
- package/coverage/lcov-report/src/services/props.ts.html +1 -1
- package/coverage/lcov-report/src/services/ui.ts.html +1 -1
- package/coverage/lcov-report/src/type.ts.html +1 -1
- package/coverage/lcov-report/src/utils/compose.ts.html +1 -1
- package/coverage/lcov-report/src/utils/config.ts.html +1 -1
- package/coverage/lcov-report/src/utils/editor.ts.html +1 -1
- package/coverage/lcov-report/src/utils/index.html +1 -1
- package/coverage/lcov-report/src/utils/index.ts.html +1 -1
- package/coverage/lcov-report/src/utils/logger.ts.html +1 -1
- package/coverage/lcov-report/src/utils/props.ts.html +1 -1
- package/coverage/lcov-report/src/utils/scroll-viewer.ts.html +1 -1
- package/coverage/lcov-report/src/utils/undo-redo.ts.html +1 -1
- package/coverage/lcov-report/undo-redo.ts.html +313 -0
- package/coverage/lcov.info +17 -17
- package/dist/style.css +5 -2
- package/dist/tmagic-editor.es.js +2 -2
- package/dist/tmagic-editor.es.js.map +1 -1
- package/dist/tmagic-editor.umd.js +2 -2
- package/dist/tmagic-editor.umd.js.map +1 -1
- package/package.json +14 -10
- package/src/components/ToolButton.vue +2 -2
- package/src/theme/nav-menu.scss +6 -2
package/coverage/clover.xml
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
2
|
+
<coverage generated="1652265440935" clover="3.2.0">
|
|
3
|
+
<project timestamp="1652265440935" name="All files">
|
|
4
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
|
-
<file name="Editor.vue" path="/
|
|
7
|
+
<file name="Editor.vue" path="/data/magic/tmagic-editor/packages/editor/src/Editor.vue">
|
|
8
8
|
<metrics statements="55" coveredstatements="52" conditionals="8" coveredconditionals="5" methods="24" coveredmethods="21"/>
|
|
9
9
|
<line num="39" count="1" type="stmt"/>
|
|
10
10
|
<line num="47" count="1" type="stmt"/>
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
<line num="229" count="1" type="stmt"/>
|
|
63
63
|
<line num="231" count="1" type="stmt"/>
|
|
64
64
|
</file>
|
|
65
|
-
<file name="type.ts" path="/
|
|
65
|
+
<file name="type.ts" path="/data/magic/tmagic-editor/packages/editor/src/type.ts">
|
|
66
66
|
<metrics statements="10" coveredstatements="10" conditionals="6" coveredconditionals="6" methods="3" coveredmethods="3"/>
|
|
67
67
|
<line num="238" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
68
68
|
<line num="239" count="8" type="stmt"/>
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
</package>
|
|
79
79
|
<package name="src.components">
|
|
80
80
|
<metrics statements="111" coveredstatements="79" conditionals="144" coveredconditionals="59" methods="38" coveredmethods="23"/>
|
|
81
|
-
<file name="ContentMenu.vue" path="/
|
|
81
|
+
<file name="ContentMenu.vue" path="/data/magic/tmagic-editor/packages/editor/src/components/ContentMenu.vue">
|
|
82
82
|
<metrics statements="30" coveredstatements="12" conditionals="23" coveredconditionals="0" methods="8" coveredmethods="2"/>
|
|
83
83
|
<line num="20" count="2" type="stmt"/>
|
|
84
84
|
<line num="24" count="2" type="stmt"/>
|
|
@@ -111,14 +111,14 @@
|
|
|
111
111
|
<line num="97" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
112
112
|
<line num="98" count="0" type="stmt"/>
|
|
113
113
|
</file>
|
|
114
|
-
<file name="Icon.vue" path="/
|
|
114
|
+
<file name="Icon.vue" path="/data/magic/tmagic-editor/packages/editor/src/components/Icon.vue">
|
|
115
115
|
<metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
116
116
|
<line num="9" count="4" type="stmt"/>
|
|
117
117
|
<line num="10" count="4" type="stmt"/>
|
|
118
118
|
<line num="12" count="4" type="stmt"/>
|
|
119
119
|
<line num="24" count="22" type="stmt"/>
|
|
120
120
|
</file>
|
|
121
|
-
<file name="ScrollViewer.vue" path="/
|
|
121
|
+
<file name="ScrollViewer.vue" path="/data/magic/tmagic-editor/packages/editor/src/components/ScrollViewer.vue">
|
|
122
122
|
<metrics statements="15" coveredstatements="13" conditionals="5" coveredconditionals="4" methods="6" coveredmethods="4"/>
|
|
123
123
|
<line num="10" count="2" type="stmt"/>
|
|
124
124
|
<line num="12" count="2" type="stmt"/>
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
<line num="51" count="2" type="stmt"/>
|
|
137
137
|
<line num="56" count="2" type="stmt"/>
|
|
138
138
|
</file>
|
|
139
|
-
<file name="ToolButton.vue" path="/
|
|
139
|
+
<file name="ToolButton.vue" path="/data/magic/tmagic-editor/packages/editor/src/components/ToolButton.vue">
|
|
140
140
|
<metrics statements="62" coveredstatements="50" conditionals="116" coveredconditionals="55" methods="23" coveredmethods="16"/>
|
|
141
141
|
<line num="54" count="4" type="stmt"/>
|
|
142
142
|
<line num="55" count="4" type="stmt"/>
|
|
@@ -152,8 +152,8 @@
|
|
|
152
152
|
<line num="89" count="45" type="cond" truecount="3" falsecount="1"/>
|
|
153
153
|
<line num="90" count="45" type="cond" truecount="3" falsecount="1"/>
|
|
154
154
|
<line num="92" count="45" type="stmt"/>
|
|
155
|
-
<line num="93" count="
|
|
156
|
-
<line num="94" count="
|
|
155
|
+
<line num="93" count="49" type="cond" truecount="1" falsecount="0"/>
|
|
156
|
+
<line num="94" count="43" type="stmt"/>
|
|
157
157
|
<line num="96" count="6" type="cond" truecount="6" falsecount="4"/>
|
|
158
158
|
<line num="98" count="0" type="stmt"/>
|
|
159
159
|
<line num="102" count="0" type="stmt"/>
|
|
@@ -174,21 +174,21 @@
|
|
|
174
174
|
<line num="155" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
175
175
|
<line num="158" count="1" type="stmt"/>
|
|
176
176
|
<line num="165" count="45" type="stmt"/>
|
|
177
|
-
<line num="166" count="
|
|
178
|
-
<line num="167" count="
|
|
179
|
-
<line num="168" count="
|
|
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"/>
|
|
180
180
|
<line num="169" count="3" type="stmt"/>
|
|
181
|
-
<line num="171" count="
|
|
181
|
+
<line num="171" count="31" type="stmt"/>
|
|
182
182
|
<line num="174" count="45" type="stmt"/>
|
|
183
183
|
<line num="175" count="5" type="cond" truecount="0" falsecount="1"/>
|
|
184
184
|
<line num="176" count="5" type="cond" truecount="3" falsecount="0"/>
|
|
185
185
|
<line num="177" count="5" type="cond" truecount="3" falsecount="1"/>
|
|
186
186
|
<line num="181" count="45" type="stmt"/>
|
|
187
|
-
<line num="189" count="
|
|
188
|
-
<line num="190" count="
|
|
189
|
-
<line num="191" count="
|
|
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
190
|
<line num="192" count="22" type="stmt"/>
|
|
191
|
-
<line num="194" count="
|
|
191
|
+
<line num="194" count="27" type="cond" truecount="4" falsecount="0"/>
|
|
192
192
|
<line num="201" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
193
193
|
<line num="202" count="1" type="stmt"/>
|
|
194
194
|
<line num="207" count="5" type="cond" truecount="0" falsecount="1"/>
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
</package>
|
|
205
205
|
<package name="src.layouts">
|
|
206
206
|
<metrics statements="76" coveredstatements="51" conditionals="69" coveredconditionals="21" methods="21" coveredmethods="13"/>
|
|
207
|
-
<file name="AddPageBox.vue" path="/
|
|
207
|
+
<file name="AddPageBox.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/AddPageBox.vue">
|
|
208
208
|
<metrics statements="10" coveredstatements="5" conditionals="3" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
209
209
|
<line num="15" count="1" type="stmt"/>
|
|
210
210
|
<line num="16" count="1" type="stmt"/>
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
<line num="33" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
218
218
|
<line num="35" count="0" type="stmt"/>
|
|
219
219
|
</file>
|
|
220
|
-
<file name="Framework.vue" path="/
|
|
220
|
+
<file name="Framework.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/Framework.vue">
|
|
221
221
|
<metrics statements="13" coveredstatements="10" conditionals="24" coveredconditionals="11" methods="6" coveredmethods="4"/>
|
|
222
222
|
<line num="36" count="1" type="stmt"/>
|
|
223
223
|
<line num="42" count="1" type="stmt"/>
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
<line num="65" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
234
234
|
<line num="67" count="0" type="stmt"/>
|
|
235
235
|
</file>
|
|
236
|
-
<file name="NavMenu.vue" path="/
|
|
236
|
+
<file name="NavMenu.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/NavMenu.vue">
|
|
237
237
|
<metrics statements="8" coveredstatements="7" conditionals="4" coveredconditionals="3" methods="4" coveredmethods="3"/>
|
|
238
238
|
<line num="10" count="1" type="stmt"/>
|
|
239
239
|
<line num="12" count="1" type="stmt"/>
|
|
@@ -244,7 +244,7 @@
|
|
|
244
244
|
<line num="35" count="1" type="stmt"/>
|
|
245
245
|
<line num="37" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
246
246
|
</file>
|
|
247
|
-
<file name="PropsPanel.vue" path="/
|
|
247
|
+
<file name="PropsPanel.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/PropsPanel.vue">
|
|
248
248
|
<metrics statements="27" coveredstatements="19" conditionals="27" coveredconditionals="7" methods="5" coveredmethods="4"/>
|
|
249
249
|
<line num="14" count="1" type="stmt"/>
|
|
250
250
|
<line num="15" count="1" type="stmt"/>
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
<line num="65" count="0" type="stmt"/>
|
|
275
275
|
<line num="66" count="0" type="stmt"/>
|
|
276
276
|
</file>
|
|
277
|
-
<file name="Resizer.vue" path="/
|
|
277
|
+
<file name="Resizer.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/Resizer.vue">
|
|
278
278
|
<metrics statements="18" coveredstatements="10" conditionals="11" coveredconditionals="0" methods="4" coveredmethods="2"/>
|
|
279
279
|
<line num="8" count="1" type="stmt"/>
|
|
280
280
|
<line num="9" count="1" type="stmt"/>
|
|
@@ -298,7 +298,7 @@
|
|
|
298
298
|
</package>
|
|
299
299
|
<package name="src.layouts.sidebar">
|
|
300
300
|
<metrics statements="153" coveredstatements="77" conditionals="238" coveredconditionals="43" methods="55" coveredmethods="24"/>
|
|
301
|
-
<file name="ComponentListPanel.vue" path="/
|
|
301
|
+
<file name="ComponentListPanel.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/sidebar/ComponentListPanel.vue">
|
|
302
302
|
<metrics statements="19" coveredstatements="11" conditionals="17" coveredconditionals="6" methods="8" coveredmethods="3"/>
|
|
303
303
|
<line num="36" count="1" type="stmt"/>
|
|
304
304
|
<line num="37" count="1" type="stmt"/>
|
|
@@ -320,7 +320,7 @@
|
|
|
320
320
|
<line num="77" count="0" type="stmt"/>
|
|
321
321
|
<line num="78" count="0" type="stmt"/>
|
|
322
322
|
</file>
|
|
323
|
-
<file name="LayerMenu.vue" path="/
|
|
323
|
+
<file name="LayerMenu.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/sidebar/LayerMenu.vue">
|
|
324
324
|
<metrics statements="30" coveredstatements="21" conditionals="64" coveredconditionals="15" methods="18" coveredmethods="9"/>
|
|
325
325
|
<line num="6" count="1" type="stmt"/>
|
|
326
326
|
<line num="7" count="1" type="stmt"/>
|
|
@@ -353,7 +353,7 @@
|
|
|
353
353
|
<line num="101" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
354
354
|
<line num="107" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
355
355
|
</file>
|
|
356
|
-
<file name="LayerPanel.vue" path="/
|
|
356
|
+
<file name="LayerPanel.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/sidebar/LayerPanel.vue">
|
|
357
357
|
<metrics statements="85" coveredstatements="29" conditionals="139" coveredconditionals="11" methods="23" coveredmethods="7"/>
|
|
358
358
|
<line num="57" count="1" type="stmt"/>
|
|
359
359
|
<line num="59" count="1" type="stmt"/>
|
|
@@ -441,7 +441,7 @@
|
|
|
441
441
|
<line num="224" count="0" type="stmt"/>
|
|
442
442
|
<line num="225" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
443
443
|
</file>
|
|
444
|
-
<file name="Sidebar.vue" path="/
|
|
444
|
+
<file name="Sidebar.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/sidebar/Sidebar.vue">
|
|
445
445
|
<metrics statements="19" coveredstatements="16" conditionals="18" coveredconditionals="11" methods="6" coveredmethods="5"/>
|
|
446
446
|
<line num="21" count="1" type="stmt"/>
|
|
447
447
|
<line num="22" count="1" type="stmt"/>
|
|
@@ -466,7 +466,7 @@
|
|
|
466
466
|
</package>
|
|
467
467
|
<package name="src.layouts.workspace">
|
|
468
468
|
<metrics statements="250" coveredstatements="114" conditionals="422" coveredconditionals="68" methods="93" coveredmethods="34"/>
|
|
469
|
-
<file name="PageBar.vue" path="/
|
|
469
|
+
<file name="PageBar.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/workspace/PageBar.vue">
|
|
470
470
|
<metrics statements="62" coveredstatements="31" conditionals="54" coveredconditionals="17" methods="17" coveredmethods="9"/>
|
|
471
471
|
<line num="61" count="2" type="stmt"/>
|
|
472
472
|
<line num="73" count="2" type="stmt"/>
|
|
@@ -531,7 +531,7 @@
|
|
|
531
531
|
<line num="199" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
532
532
|
<line num="206" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
533
533
|
</file>
|
|
534
|
-
<file name="Stage.vue" path="/
|
|
534
|
+
<file name="Stage.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/workspace/Stage.vue">
|
|
535
535
|
<metrics statements="80" coveredstatements="32" conditionals="175" coveredconditionals="25" methods="27" coveredmethods="7"/>
|
|
536
536
|
<line num="24" count="2" type="stmt"/>
|
|
537
537
|
<line num="37" count="2" type="stmt"/>
|
|
@@ -614,7 +614,7 @@
|
|
|
614
614
|
<line num="211" count="0" type="stmt"/>
|
|
615
615
|
<line num="218" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
616
616
|
</file>
|
|
617
|
-
<file name="ViewerMenu.vue" path="/
|
|
617
|
+
<file name="ViewerMenu.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/workspace/ViewerMenu.vue">
|
|
618
618
|
<metrics statements="47" coveredstatements="32" conditionals="85" coveredconditionals="19" methods="25" coveredmethods="15"/>
|
|
619
619
|
<line num="6" count="2" type="stmt"/>
|
|
620
620
|
<line num="7" count="2" type="stmt"/>
|
|
@@ -664,7 +664,7 @@
|
|
|
664
664
|
<line num="138" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
665
665
|
<line num="144" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
666
666
|
</file>
|
|
667
|
-
<file name="Workspace.vue" path="/
|
|
667
|
+
<file name="Workspace.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/workspace/Workspace.vue">
|
|
668
668
|
<metrics statements="61" coveredstatements="19" conditionals="108" coveredconditionals="7" methods="24" coveredmethods="3"/>
|
|
669
669
|
<line num="21" count="1" type="stmt"/>
|
|
670
670
|
<line num="22" count="1" type="stmt"/>
|
|
@@ -731,7 +731,7 @@
|
|
|
731
731
|
</package>
|
|
732
732
|
<package name="src.services">
|
|
733
733
|
<metrics statements="464" coveredstatements="347" conditionals="185" coveredconditionals="87" methods="91" coveredmethods="67"/>
|
|
734
|
-
<file name="BaseService.ts" path="/
|
|
734
|
+
<file name="BaseService.ts" path="/data/magic/tmagic-editor/packages/editor/src/services/BaseService.ts">
|
|
735
735
|
<metrics statements="58" coveredstatements="49" conditionals="12" coveredconditionals="6" methods="14" coveredmethods="11"/>
|
|
736
736
|
<line num="19" count="6" type="stmt"/>
|
|
737
737
|
<line num="21" count="6" type="stmt"/>
|
|
@@ -792,7 +792,7 @@
|
|
|
792
792
|
<line num="182" count="38" type="stmt"/>
|
|
793
793
|
<line num="184" count="38" type="stmt"/>
|
|
794
794
|
</file>
|
|
795
|
-
<file name="componentList.ts" path="/
|
|
795
|
+
<file name="componentList.ts" path="/data/magic/tmagic-editor/packages/editor/src/services/componentList.ts">
|
|
796
796
|
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
|
|
797
797
|
<line num="19" count="1" type="stmt"/>
|
|
798
798
|
<line num="23" count="1" type="stmt"/>
|
|
@@ -802,7 +802,7 @@
|
|
|
802
802
|
<line num="42" count="1" type="stmt"/>
|
|
803
803
|
<line num="48" count="1" type="stmt"/>
|
|
804
804
|
</file>
|
|
805
|
-
<file name="editor.ts" path="/
|
|
805
|
+
<file name="editor.ts" path="/data/magic/tmagic-editor/packages/editor/src/services/editor.ts">
|
|
806
806
|
<metrics statements="260" coveredstatements="205" conditionals="117" coveredconditionals="70" methods="35" coveredmethods="28"/>
|
|
807
807
|
<line num="19" count="5" type="stmt"/>
|
|
808
808
|
<line num="20" count="5" type="stmt"/>
|
|
@@ -1065,7 +1065,7 @@
|
|
|
1065
1065
|
<line num="654" count="24" type="stmt"/>
|
|
1066
1066
|
<line num="664" count="5" type="stmt"/>
|
|
1067
1067
|
</file>
|
|
1068
|
-
<file name="events.ts" path="/
|
|
1068
|
+
<file name="events.ts" path="/data/magic/tmagic-editor/packages/editor/src/services/events.ts">
|
|
1069
1069
|
<metrics statements="24" coveredstatements="20" conditionals="10" coveredconditionals="4" methods="12" coveredmethods="10"/>
|
|
1070
1070
|
<line num="19" count="6" type="stmt"/>
|
|
1071
1071
|
<line num="20" count="6" type="stmt"/>
|
|
@@ -1092,7 +1092,7 @@
|
|
|
1092
1092
|
<line num="76" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
1093
1093
|
<line num="82" count="6" type="stmt"/>
|
|
1094
1094
|
</file>
|
|
1095
|
-
<file name="history.ts" path="/
|
|
1095
|
+
<file name="history.ts" path="/data/magic/tmagic-editor/packages/editor/src/services/history.ts">
|
|
1096
1096
|
<metrics statements="44" coveredstatements="34" conditionals="10" coveredconditionals="5" methods="10" coveredmethods="7"/>
|
|
1097
1097
|
<line num="19" count="5" type="stmt"/>
|
|
1098
1098
|
<line num="23" count="5" type="stmt"/>
|
|
@@ -1139,7 +1139,7 @@
|
|
|
1139
1139
|
<line num="125" count="40" type="cond" truecount="2" falsecount="0"/>
|
|
1140
1140
|
<line num="131" count="5" type="stmt"/>
|
|
1141
1141
|
</file>
|
|
1142
|
-
<file name="props.ts" path="/
|
|
1142
|
+
<file name="props.ts" path="/data/magic/tmagic-editor/packages/editor/src/services/props.ts">
|
|
1143
1143
|
<metrics statements="26" coveredstatements="13" conditionals="10" coveredconditionals="2" methods="9" coveredmethods="4"/>
|
|
1144
1144
|
<line num="19" count="5" type="stmt"/>
|
|
1145
1145
|
<line num="20" count="5" type="stmt"/>
|
|
@@ -1168,7 +1168,7 @@
|
|
|
1168
1168
|
<line num="101" count="6" type="stmt"/>
|
|
1169
1169
|
<line num="110" count="5" type="stmt"/>
|
|
1170
1170
|
</file>
|
|
1171
|
-
<file name="ui.ts" path="/
|
|
1171
|
+
<file name="ui.ts" path="/data/magic/tmagic-editor/packages/editor/src/services/ui.ts">
|
|
1172
1172
|
<metrics statements="45" coveredstatements="19" conditionals="26" coveredconditionals="0" methods="8" coveredmethods="4"/>
|
|
1173
1173
|
<line num="19" count="3" type="stmt"/>
|
|
1174
1174
|
<line num="23" count="3" type="stmt"/>
|
|
@@ -1219,7 +1219,7 @@
|
|
|
1219
1219
|
</package>
|
|
1220
1220
|
<package name="src.utils">
|
|
1221
1221
|
<metrics statements="292" coveredstatements="164" conditionals="107" coveredconditionals="46" methods="65" coveredmethods="36"/>
|
|
1222
|
-
<file name="compose.ts" path="/
|
|
1222
|
+
<file name="compose.ts" path="/data/magic/tmagic-editor/packages/editor/src/utils/compose.ts">
|
|
1223
1223
|
<metrics statements="15" coveredstatements="13" conditionals="7" coveredconditionals="3" methods="3" coveredmethods="3"/>
|
|
1224
1224
|
<line num="5" count="6" type="stmt"/>
|
|
1225
1225
|
<line num="6" count="90" type="cond" truecount="0" falsecount="1"/>
|
|
@@ -1237,7 +1237,7 @@
|
|
|
1237
1237
|
<line num="27" count="85" type="stmt"/>
|
|
1238
1238
|
<line num="29" count="0" type="stmt"/>
|
|
1239
1239
|
</file>
|
|
1240
|
-
<file name="config.ts" path="/
|
|
1240
|
+
<file name="config.ts" path="/data/magic/tmagic-editor/packages/editor/src/utils/config.ts">
|
|
1241
1241
|
<metrics statements="5" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
1242
1242
|
<line num="21" count="2" type="stmt"/>
|
|
1243
1243
|
<line num="23" count="2" type="stmt"/>
|
|
@@ -1245,7 +1245,7 @@
|
|
|
1245
1245
|
<line num="27" count="2" type="stmt"/>
|
|
1246
1246
|
<line num="29" count="2" type="stmt"/>
|
|
1247
1247
|
</file>
|
|
1248
|
-
<file name="editor.ts" path="/
|
|
1248
|
+
<file name="editor.ts" path="/data/magic/tmagic-editor/packages/editor/src/utils/editor.ts">
|
|
1249
1249
|
<metrics statements="96" coveredstatements="75" conditionals="59" coveredconditionals="36" methods="23" coveredmethods="22"/>
|
|
1250
1250
|
<line num="19" count="8" type="stmt"/>
|
|
1251
1251
|
<line num="22" count="8" type="stmt"/>
|
|
@@ -1344,14 +1344,14 @@
|
|
|
1344
1344
|
<line num="247" count="1" type="stmt"/>
|
|
1345
1345
|
<line num="250" count="0" type="stmt"/>
|
|
1346
1346
|
</file>
|
|
1347
|
-
<file name="index.ts" path="/
|
|
1347
|
+
<file name="index.ts" path="/data/magic/tmagic-editor/packages/editor/src/utils/index.ts">
|
|
1348
1348
|
<metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1349
1349
|
<line num="19" count="2" type="stmt"/>
|
|
1350
1350
|
<line num="20" count="2" type="stmt"/>
|
|
1351
1351
|
<line num="21" count="2" type="stmt"/>
|
|
1352
1352
|
<line num="22" count="2" type="stmt"/>
|
|
1353
1353
|
</file>
|
|
1354
|
-
<file name="logger.ts" path="/
|
|
1354
|
+
<file name="logger.ts" path="/data/magic/tmagic-editor/packages/editor/src/utils/logger.ts">
|
|
1355
1355
|
<metrics statements="15" coveredstatements="6" conditionals="5" coveredconditionals="0" methods="5" coveredmethods="1"/>
|
|
1356
1356
|
<line num="19" count="3" type="stmt"/>
|
|
1357
1357
|
<line num="20" count="102" type="cond" truecount="0" falsecount="1"/>
|
|
@@ -1369,7 +1369,7 @@
|
|
|
1369
1369
|
<line num="44" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1370
1370
|
<line num="45" count="0" type="stmt"/>
|
|
1371
1371
|
</file>
|
|
1372
|
-
<file name="props.ts" path="/
|
|
1372
|
+
<file name="props.ts" path="/data/magic/tmagic-editor/packages/editor/src/utils/props.ts">
|
|
1373
1373
|
<metrics statements="12" coveredstatements="6" conditionals="6" coveredconditionals="1" methods="8" coveredmethods="2"/>
|
|
1374
1374
|
<line num="21" count="5" type="stmt"/>
|
|
1375
1375
|
<line num="22" count="5" type="stmt"/>
|
|
@@ -1384,7 +1384,7 @@
|
|
|
1384
1384
|
<line num="225" count="5" type="stmt"/>
|
|
1385
1385
|
<line num="232" count="7" type="stmt"/>
|
|
1386
1386
|
</file>
|
|
1387
|
-
<file name="scroll-viewer.ts" path="/
|
|
1387
|
+
<file name="scroll-viewer.ts" path="/data/magic/tmagic-editor/packages/editor/src/utils/scroll-viewer.ts">
|
|
1388
1388
|
<metrics statements="121" coveredstatements="32" conditionals="23" coveredconditionals="0" methods="17" coveredmethods="1"/>
|
|
1389
1389
|
<line num="1" count="2" type="stmt"/>
|
|
1390
1390
|
<line num="9" count="2" type="stmt"/>
|
|
@@ -1508,7 +1508,7 @@
|
|
|
1508
1508
|
<line num="213" count="0" type="stmt"/>
|
|
1509
1509
|
<line num="214" count="0" type="stmt"/>
|
|
1510
1510
|
</file>
|
|
1511
|
-
<file name="undo-redo.ts" path="/
|
|
1511
|
+
<file name="undo-redo.ts" path="/data/magic/tmagic-editor/packages/editor/src/utils/undo-redo.ts">
|
|
1512
1512
|
<metrics statements="24" coveredstatements="24" conditionals="7" coveredconditionals="6" methods="7" coveredmethods="7"/>
|
|
1513
1513
|
<line num="19" count="6" type="stmt"/>
|
|
1514
1514
|
<line num="21" count="6" type="stmt"/>
|