@tmagic/editor 1.0.0-rc.5 → 1.0.0-rc.6
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 +189 -167
- package/coverage/coverage-final.json +6 -6
- package/coverage/lcov-report/index.html +42 -42
- package/coverage/lcov-report/src/Editor.vue.html +48 -9
- package/coverage/lcov-report/src/components/ContentMenu.vue.html +135 -36
- 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 +1 -1
- package/coverage/lcov-report/src/components/index.html +18 -18
- package/coverage/lcov-report/src/index.html +15 -15
- 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 +15 -6
- 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/TabPane.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/sidebar/index.html +11 -11
- 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 +15 -6
- package/coverage/lcov-report/src/layouts/workspace/Workspace.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/workspace/index.html +11 -11
- 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 +3 -3
- 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 +4 -4
- 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 +21 -9
- package/coverage/lcov-report/src/utils/index.html +12 -12
- 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.info +495 -448
- package/dist/tmagic-editor.es.js +68 -28
- package/dist/tmagic-editor.es.js.map +1 -1
- package/dist/tmagic-editor.umd.js +69 -29
- package/dist/tmagic-editor.umd.js.map +1 -1
- package/dist/types/src/Editor.vue.d.ts +19 -1
- package/package.json +7 -7
- package/src/Editor.vue +14 -1
- package/src/components/ContentMenu.vue +58 -25
- package/src/layouts/sidebar/LayerMenu.vue +3 -0
- package/src/layouts/workspace/ViewerMenu.vue +3 -0
- package/src/services/editor.ts +2 -2
- package/src/services/props.ts +3 -3
package/coverage/clover.xml
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1654500468235" clover="3.2.0">
|
|
3
|
+
<project timestamp="1654500468235" name="All files">
|
|
4
|
+
<metrics statements="1483" coveredstatements="910" conditionals="1293" coveredconditionals="326" methods="401" coveredmethods="209" elements="3177" coveredelements="1445" complexity="0" loc="1483" ncloc="1483" packages="7" files="35" classes="35"/>
|
|
5
5
|
<package name="src">
|
|
6
|
-
<metrics statements="
|
|
6
|
+
<metrics statements="70" coveredstatements="67" conditionals="14" coveredconditionals="11" methods="30" coveredmethods="27"/>
|
|
7
7
|
<file name="Editor.vue" path="/data/magic/tmagic-editor/packages/editor/src/Editor.vue">
|
|
8
|
-
<metrics statements="
|
|
8
|
+
<metrics statements="60" coveredstatements="57" conditionals="8" coveredconditionals="5" methods="27" coveredmethods="24"/>
|
|
9
9
|
<line num="40" count="1" type="stmt"/>
|
|
10
10
|
<line num="48" count="1" type="stmt"/>
|
|
11
11
|
<line num="49" count="1" type="stmt"/>
|
|
@@ -21,47 +21,51 @@
|
|
|
21
21
|
<line num="61" count="1" type="stmt"/>
|
|
22
22
|
<line num="76" count="0" type="stmt"/>
|
|
23
23
|
<line num="83" count="1" type="stmt"/>
|
|
24
|
-
<line num="
|
|
25
|
-
<line num="
|
|
26
|
-
<line num="
|
|
27
|
-
<line num="
|
|
28
|
-
<line num="
|
|
29
|
-
<line num="
|
|
30
|
-
<line num="153" count="1" type="stmt"/>
|
|
31
|
-
<line num="154" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
32
|
-
<line num="155" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
24
|
+
<line num="93" count="1" type="stmt"/>
|
|
25
|
+
<line num="98" count="1" type="stmt"/>
|
|
26
|
+
<line num="104" count="1" type="stmt"/>
|
|
27
|
+
<line num="121" count="1" type="stmt"/>
|
|
28
|
+
<line num="127" count="1" type="stmt"/>
|
|
29
|
+
<line num="133" count="1" type="stmt"/>
|
|
33
30
|
<line num="156" count="1" type="stmt"/>
|
|
34
|
-
<line num="160" count="1" type="stmt"/>
|
|
35
|
-
<line num="161" count="1" type="stmt"/>
|
|
36
31
|
<line num="162" count="1" type="stmt"/>
|
|
37
|
-
<line num="
|
|
38
|
-
<line num="
|
|
32
|
+
<line num="163" count="1" type="stmt"/>
|
|
33
|
+
<line num="164" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
34
|
+
<line num="165" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
35
|
+
<line num="166" count="1" type="stmt"/>
|
|
39
36
|
<line num="170" count="1" type="stmt"/>
|
|
40
|
-
<line num="
|
|
41
|
-
<line num="
|
|
37
|
+
<line num="171" count="1" type="stmt"/>
|
|
38
|
+
<line num="172" count="1" type="stmt"/>
|
|
42
39
|
<line num="178" count="1" type="stmt"/>
|
|
43
|
-
<line num="
|
|
44
|
-
<line num="
|
|
40
|
+
<line num="179" count="1" type="stmt"/>
|
|
41
|
+
<line num="180" count="1" type="stmt"/>
|
|
45
42
|
<line num="186" count="1" type="stmt"/>
|
|
46
|
-
<line num="
|
|
47
|
-
<line num="
|
|
43
|
+
<line num="187" count="1" type="stmt"/>
|
|
44
|
+
<line num="188" count="1" type="stmt"/>
|
|
45
|
+
<line num="194" count="1" type="stmt"/>
|
|
48
46
|
<line num="195" count="1" type="stmt"/>
|
|
49
47
|
<line num="196" count="1" type="stmt"/>
|
|
50
|
-
<line num="
|
|
51
|
-
<line num="199" count="0" type="stmt"/>
|
|
52
|
-
<line num="200" count="0" type="stmt"/>
|
|
48
|
+
<line num="202" count="1" type="stmt"/>
|
|
53
49
|
<line num="203" count="1" type="stmt"/>
|
|
54
|
-
<line num="
|
|
55
|
-
<line num="
|
|
56
|
-
<line num="
|
|
57
|
-
<line num="
|
|
58
|
-
<line num="
|
|
59
|
-
<line num="
|
|
60
|
-
<line num="
|
|
61
|
-
<line num="
|
|
50
|
+
<line num="205" count="1" type="stmt"/>
|
|
51
|
+
<line num="206" count="1" type="stmt"/>
|
|
52
|
+
<line num="208" count="1" type="stmt"/>
|
|
53
|
+
<line num="209" count="0" type="stmt"/>
|
|
54
|
+
<line num="210" count="0" type="stmt"/>
|
|
55
|
+
<line num="213" count="1" type="stmt"/>
|
|
56
|
+
<line num="214" count="1" type="stmt"/>
|
|
57
|
+
<line num="221" count="1" type="stmt"/>
|
|
58
|
+
<line num="222" count="1" type="stmt"/>
|
|
59
|
+
<line num="223" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
62
60
|
<line num="229" count="1" type="stmt"/>
|
|
63
|
-
<line num="
|
|
64
|
-
<line num="
|
|
61
|
+
<line num="230" count="1" type="stmt"/>
|
|
62
|
+
<line num="231" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
63
|
+
<line num="237" count="1" type="stmt"/>
|
|
64
|
+
<line num="239" count="1" type="stmt"/>
|
|
65
|
+
<line num="248" count="1" type="stmt"/>
|
|
66
|
+
<line num="250" count="1" type="stmt"/>
|
|
67
|
+
<line num="251" count="1" type="stmt"/>
|
|
68
|
+
<line num="253" count="1" type="stmt"/>
|
|
65
69
|
</file>
|
|
66
70
|
<file name="type.ts" path="/data/magic/tmagic-editor/packages/editor/src/type.ts">
|
|
67
71
|
<metrics statements="10" coveredstatements="10" conditionals="6" coveredconditionals="6" methods="3" coveredmethods="3"/>
|
|
@@ -78,39 +82,53 @@
|
|
|
78
82
|
</file>
|
|
79
83
|
</package>
|
|
80
84
|
<package name="src.components">
|
|
81
|
-
<metrics statements="
|
|
85
|
+
<metrics statements="125" coveredstatements="83" conditionals="161" coveredconditionals="58" methods="40" coveredmethods="23"/>
|
|
82
86
|
<file name="ContentMenu.vue" path="/data/magic/tmagic-editor/packages/editor/src/components/ContentMenu.vue">
|
|
83
|
-
<metrics statements="
|
|
84
|
-
<line num="20" count="2" type="stmt"/>
|
|
85
|
-
<line num="24" count="2" type="stmt"/>
|
|
87
|
+
<metrics statements="44" coveredstatements="16" conditionals="40" coveredconditionals="0" methods="10" coveredmethods="2"/>
|
|
86
88
|
<line num="26" count="2" type="stmt"/>
|
|
87
|
-
<line num="
|
|
88
|
-
<line num="
|
|
89
|
-
<line num="38" count="
|
|
90
|
-
<line num="
|
|
91
|
-
<line num="40" count="3" type="stmt"/>
|
|
92
|
-
<line num="41" count="3" type="stmt"/>
|
|
93
|
-
<line num="46" count="3" type="stmt"/>
|
|
94
|
-
<line num="47" count="0" type="stmt"/>
|
|
89
|
+
<line num="30" count="2" type="stmt"/>
|
|
90
|
+
<line num="32" count="2" type="stmt"/>
|
|
91
|
+
<line num="38" count="0" type="stmt"/>
|
|
92
|
+
<line num="49" count="3" type="stmt"/>
|
|
95
93
|
<line num="50" count="3" type="stmt"/>
|
|
96
94
|
<line num="51" count="3" type="stmt"/>
|
|
97
|
-
<line num="
|
|
98
|
-
<line num="
|
|
99
|
-
<line num="
|
|
100
|
-
<line num="
|
|
101
|
-
<line num="
|
|
102
|
-
<line num="
|
|
103
|
-
<line num="
|
|
104
|
-
<line num="
|
|
105
|
-
<line num="
|
|
106
|
-
<line num="
|
|
107
|
-
<line num="
|
|
108
|
-
<line num="
|
|
109
|
-
<line num="
|
|
110
|
-
<line num="
|
|
111
|
-
<line num="
|
|
112
|
-
<line num="
|
|
113
|
-
<line num="
|
|
95
|
+
<line num="52" count="3" type="stmt"/>
|
|
96
|
+
<line num="53" count="3" type="stmt"/>
|
|
97
|
+
<line num="54" count="3" type="stmt"/>
|
|
98
|
+
<line num="59" count="3" type="stmt"/>
|
|
99
|
+
<line num="60" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
100
|
+
<line num="62" count="0" type="stmt"/>
|
|
101
|
+
<line num="63" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
102
|
+
<line num="65" count="0" type="stmt"/>
|
|
103
|
+
<line num="68" count="3" type="stmt"/>
|
|
104
|
+
<line num="69" count="0" type="stmt"/>
|
|
105
|
+
<line num="70" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
106
|
+
<line num="71" count="0" type="stmt"/>
|
|
107
|
+
<line num="73" count="0" type="cond" truecount="0" falsecount="15"/>
|
|
108
|
+
<line num="74" count="0" type="stmt"/>
|
|
109
|
+
<line num="76" count="0" type="stmt"/>
|
|
110
|
+
<line num="79" count="3" type="stmt"/>
|
|
111
|
+
<line num="80" count="3" type="cond" truecount="0" falsecount="1"/>
|
|
112
|
+
<line num="82" count="3" type="stmt"/>
|
|
113
|
+
<line num="85" count="3" type="stmt"/>
|
|
114
|
+
<line num="86" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
115
|
+
<line num="88" count="0" type="stmt"/>
|
|
116
|
+
<line num="91" count="3" type="stmt"/>
|
|
117
|
+
<line num="102" count="0" type="stmt"/>
|
|
118
|
+
<line num="103" count="0" type="stmt"/>
|
|
119
|
+
<line num="105" count="0" type="stmt"/>
|
|
120
|
+
<line num="106" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
121
|
+
<line num="108" count="0" type="stmt"/>
|
|
122
|
+
<line num="109" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
123
|
+
<line num="110" count="0" type="stmt"/>
|
|
124
|
+
<line num="113" count="0" type="stmt"/>
|
|
125
|
+
<line num="118" count="0" type="stmt"/>
|
|
126
|
+
<line num="124" count="0" type="stmt"/>
|
|
127
|
+
<line num="125" count="0" type="cond" truecount="0" falsecount="7"/>
|
|
128
|
+
<line num="126" count="0" type="stmt"/>
|
|
129
|
+
<line num="129" count="0" type="stmt"/>
|
|
130
|
+
<line num="130" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
131
|
+
<line num="131" count="0" type="stmt"/>
|
|
114
132
|
</file>
|
|
115
133
|
<file name="Icon.vue" path="/data/magic/tmagic-editor/packages/editor/src/components/Icon.vue">
|
|
116
134
|
<metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
@@ -300,7 +318,7 @@
|
|
|
300
318
|
</file>
|
|
301
319
|
</package>
|
|
302
320
|
<package name="src.layouts.sidebar">
|
|
303
|
-
<metrics statements="
|
|
321
|
+
<metrics statements="157" coveredstatements="78" conditionals="234" coveredconditionals="32" methods="55" coveredmethods="19"/>
|
|
304
322
|
<file name="ComponentListPanel.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/sidebar/ComponentListPanel.vue">
|
|
305
323
|
<metrics statements="19" coveredstatements="11" conditionals="17" coveredconditionals="6" methods="8" coveredmethods="3"/>
|
|
306
324
|
<line num="36" count="1" type="stmt"/>
|
|
@@ -324,7 +342,7 @@
|
|
|
324
342
|
<line num="78" count="0" type="stmt"/>
|
|
325
343
|
</file>
|
|
326
344
|
<file name="LayerMenu.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/sidebar/LayerMenu.vue">
|
|
327
|
-
<metrics statements="
|
|
345
|
+
<metrics statements="31" coveredstatements="19" conditionals="64" coveredconditionals="7" methods="18" coveredmethods="4"/>
|
|
328
346
|
<line num="6" count="1" type="stmt"/>
|
|
329
347
|
<line num="7" count="1" type="stmt"/>
|
|
330
348
|
<line num="9" count="1" type="stmt"/>
|
|
@@ -337,24 +355,25 @@
|
|
|
337
355
|
<line num="22" count="1" type="cond" truecount="0" falsecount="4"/>
|
|
338
356
|
<line num="23" count="1" type="cond" truecount="0" falsecount="6"/>
|
|
339
357
|
<line num="25" count="1" type="stmt"/>
|
|
340
|
-
<line num="
|
|
341
|
-
<line num="
|
|
342
|
-
<line num="
|
|
343
|
-
<line num="
|
|
344
|
-
<line num="
|
|
345
|
-
<line num="
|
|
346
|
-
<line num="
|
|
347
|
-
<line num="
|
|
348
|
-
<line num="
|
|
349
|
-
<line num="
|
|
350
|
-
<line num="
|
|
358
|
+
<line num="27" count="1" type="stmt"/>
|
|
359
|
+
<line num="28" count="0" type="stmt"/>
|
|
360
|
+
<line num="33" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
361
|
+
<line num="41" count="1" type="stmt"/>
|
|
362
|
+
<line num="42" count="1" type="cond" truecount="2" falsecount="3"/>
|
|
363
|
+
<line num="43" count="0" type="stmt"/>
|
|
364
|
+
<line num="49" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
365
|
+
<line num="56" count="1" type="cond" truecount="2" falsecount="3"/>
|
|
366
|
+
<line num="57" count="0" type="stmt"/>
|
|
367
|
+
<line num="60" count="0" type="stmt"/>
|
|
368
|
+
<line num="75" count="1" type="stmt"/>
|
|
351
369
|
<line num="78" count="1" type="stmt"/>
|
|
352
|
-
<line num="
|
|
353
|
-
<line num="
|
|
354
|
-
<line num="92" count="0" type="
|
|
355
|
-
<line num="
|
|
356
|
-
<line num="101" count="0" type="cond" truecount="0" falsecount="
|
|
357
|
-
<line num="
|
|
370
|
+
<line num="80" count="1" type="stmt"/>
|
|
371
|
+
<line num="85" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
372
|
+
<line num="92" count="0" type="stmt"/>
|
|
373
|
+
<line num="94" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
374
|
+
<line num="101" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
375
|
+
<line num="103" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
376
|
+
<line num="110" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
358
377
|
</file>
|
|
359
378
|
<file name="LayerPanel.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/sidebar/LayerPanel.vue">
|
|
360
379
|
<metrics statements="85" coveredstatements="29" conditionals="139" coveredconditionals="11" methods="23" coveredmethods="7"/>
|
|
@@ -474,7 +493,7 @@
|
|
|
474
493
|
</file>
|
|
475
494
|
</package>
|
|
476
495
|
<package name="src.layouts.workspace">
|
|
477
|
-
<metrics statements="
|
|
496
|
+
<metrics statements="270" coveredstatements="108" conditionals="506" coveredconditionals="64" methods="97" coveredmethods="23"/>
|
|
478
497
|
<file name="PageBar.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/workspace/PageBar.vue">
|
|
479
498
|
<metrics statements="62" coveredstatements="31" conditionals="54" coveredconditionals="17" methods="17" coveredmethods="9"/>
|
|
480
499
|
<line num="61" count="2" type="stmt"/>
|
|
@@ -624,7 +643,7 @@
|
|
|
624
643
|
<line num="221" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
625
644
|
</file>
|
|
626
645
|
<file name="ViewerMenu.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/workspace/ViewerMenu.vue">
|
|
627
|
-
<metrics statements="
|
|
646
|
+
<metrics statements="56" coveredstatements="24" conditionals="140" coveredconditionals="12" methods="25" coveredmethods="4"/>
|
|
628
647
|
<line num="6" count="2" type="stmt"/>
|
|
629
648
|
<line num="7" count="2" type="stmt"/>
|
|
630
649
|
<line num="9" count="2" type="stmt"/>
|
|
@@ -642,44 +661,45 @@
|
|
|
642
661
|
<line num="27" count="2" type="cond" truecount="4" falsecount="0"/>
|
|
643
662
|
<line num="28" count="2" type="cond" truecount="0" falsecount="4"/>
|
|
644
663
|
<line num="30" count="2" type="stmt"/>
|
|
645
|
-
<line num="
|
|
646
|
-
<line num="
|
|
647
|
-
<line num="
|
|
664
|
+
<line num="32" count="2" type="stmt"/>
|
|
665
|
+
<line num="33" count="2" type="stmt"/>
|
|
666
|
+
<line num="34" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
648
667
|
<line num="37" count="2" type="stmt"/>
|
|
649
|
-
<line num="
|
|
650
|
-
<line num="
|
|
651
|
-
<line num="
|
|
652
|
-
<line num="
|
|
653
|
-
<line num="
|
|
654
|
-
<line num="55" count="0" type="
|
|
655
|
-
<line num="
|
|
656
|
-
<line num="
|
|
657
|
-
<line num="
|
|
658
|
-
<line num="72" count="0" type="
|
|
668
|
+
<line num="39" count="2" type="stmt"/>
|
|
669
|
+
<line num="40" count="2" type="cond" truecount="2" falsecount="1"/>
|
|
670
|
+
<line num="41" count="0" type="stmt"/>
|
|
671
|
+
<line num="42" count="0" type="stmt"/>
|
|
672
|
+
<line num="49" count="2" type="stmt"/>
|
|
673
|
+
<line num="55" count="0" type="stmt"/>
|
|
674
|
+
<line num="57" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
675
|
+
<line num="65" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
676
|
+
<line num="66" count="0" type="stmt"/>
|
|
677
|
+
<line num="72" count="0" type="stmt"/>
|
|
659
678
|
<line num="74" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
660
|
-
<line num="
|
|
661
|
-
<line num="
|
|
662
|
-
<line num="
|
|
663
|
-
<line num="79" count="0" type="cond" truecount="0" falsecount="
|
|
664
|
-
<line num="
|
|
665
|
-
<line num="
|
|
666
|
-
<line num="
|
|
667
|
-
<line num="
|
|
668
|
-
<line num="
|
|
669
|
-
<line num="
|
|
670
|
-
<line num="
|
|
671
|
-
<line num="100" count="0" type="
|
|
672
|
-
<line num="
|
|
673
|
-
<line num="109" count="0" type="
|
|
674
|
-
<line num="
|
|
675
|
-
<line num="117" count="0" type="
|
|
676
|
-
<line num="
|
|
677
|
-
<line num="125" count="0" type="
|
|
678
|
-
<line num="
|
|
679
|
-
<line num="
|
|
680
|
-
<line num="139" count="0" type="
|
|
681
|
-
<line num="
|
|
682
|
-
<line num="
|
|
679
|
+
<line num="76" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
680
|
+
<line num="77" count="0" type="cond" truecount="0" falsecount="8"/>
|
|
681
|
+
<line num="78" count="0" type="cond" truecount="0" falsecount="12"/>
|
|
682
|
+
<line num="79" count="0" type="cond" truecount="0" falsecount="12"/>
|
|
683
|
+
<line num="81" count="0" type="cond" truecount="0" falsecount="7"/>
|
|
684
|
+
<line num="82" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
685
|
+
<line num="83" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
686
|
+
<line num="84" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
687
|
+
<line num="85" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
688
|
+
<line num="88" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
689
|
+
<line num="94" count="0" type="stmt"/>
|
|
690
|
+
<line num="100" count="0" type="stmt"/>
|
|
691
|
+
<line num="102" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
692
|
+
<line num="109" count="0" type="stmt"/>
|
|
693
|
+
<line num="111" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
694
|
+
<line num="117" count="0" type="stmt"/>
|
|
695
|
+
<line num="119" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
696
|
+
<line num="125" count="0" type="stmt"/>
|
|
697
|
+
<line num="127" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
698
|
+
<line num="133" count="0" type="stmt"/>
|
|
699
|
+
<line num="139" count="0" type="stmt"/>
|
|
700
|
+
<line num="141" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
701
|
+
<line num="152" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
702
|
+
<line num="159" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
683
703
|
</file>
|
|
684
704
|
<file name="Workspace.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/workspace/Workspace.vue">
|
|
685
705
|
<metrics statements="72" coveredstatements="21" conditionals="135" coveredconditionals="10" methods="28" coveredmethods="3"/>
|
|
@@ -1271,7 +1291,7 @@
|
|
|
1271
1291
|
</file>
|
|
1272
1292
|
</package>
|
|
1273
1293
|
<package name="src.utils">
|
|
1274
|
-
<metrics statements="
|
|
1294
|
+
<metrics statements="294" coveredstatements="164" conditionals="107" coveredconditionals="46" methods="65" coveredmethods="36"/>
|
|
1275
1295
|
<file name="compose.ts" path="/data/magic/tmagic-editor/packages/editor/src/utils/compose.ts">
|
|
1276
1296
|
<metrics statements="15" coveredstatements="13" conditionals="7" coveredconditionals="3" methods="3" coveredmethods="3"/>
|
|
1277
1297
|
<line num="5" count="6" type="stmt"/>
|
|
@@ -1299,7 +1319,7 @@
|
|
|
1299
1319
|
<line num="29" count="2" type="stmt"/>
|
|
1300
1320
|
</file>
|
|
1301
1321
|
<file name="editor.ts" path="/data/magic/tmagic-editor/packages/editor/src/utils/editor.ts">
|
|
1302
|
-
<metrics statements="
|
|
1322
|
+
<metrics statements="98" coveredstatements="75" conditionals="59" coveredconditionals="36" methods="23" coveredmethods="22"/>
|
|
1303
1323
|
<line num="19" count="8" type="stmt"/>
|
|
1304
1324
|
<line num="22" count="8" type="stmt"/>
|
|
1305
1325
|
<line num="24" count="8" type="stmt"/>
|
|
@@ -1348,54 +1368,56 @@
|
|
|
1348
1368
|
<line num="143" count="8" type="stmt"/>
|
|
1349
1369
|
<line num="144" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
1350
1370
|
<line num="145" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
1351
|
-
<line num="147" count="3" type="cond" truecount="2" falsecount="
|
|
1352
|
-
<line num="149" count="0" type="
|
|
1353
|
-
<line num="
|
|
1354
|
-
<line num="152" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1371
|
+
<line num="147" count="3" type="cond" truecount="2" falsecount="2"/>
|
|
1372
|
+
<line num="149" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1373
|
+
<line num="150" count="0" type="stmt"/>
|
|
1355
1374
|
<line num="153" count="0" type="stmt"/>
|
|
1356
|
-
<line num="155" count="0" type="
|
|
1357
|
-
<line num="
|
|
1358
|
-
<line num="
|
|
1359
|
-
<line num="
|
|
1360
|
-
<line num="
|
|
1375
|
+
<line num="155" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1376
|
+
<line num="156" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1377
|
+
<line num="157" count="0" type="stmt"/>
|
|
1378
|
+
<line num="159" count="0" type="stmt"/>
|
|
1379
|
+
<line num="162" count="0" type="stmt"/>
|
|
1380
|
+
<line num="165" count="8" type="stmt"/>
|
|
1381
|
+
<line num="166" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
1361
1382
|
<line num="167" count="3" type="stmt"/>
|
|
1362
|
-
<line num="170" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
1363
1383
|
<line num="171" count="3" type="stmt"/>
|
|
1364
|
-
<line num="174" count="
|
|
1365
|
-
<line num="
|
|
1366
|
-
<line num="178" count="
|
|
1367
|
-
<line num="
|
|
1368
|
-
<line num="
|
|
1369
|
-
<line num="
|
|
1370
|
-
<line num="
|
|
1371
|
-
<line num="
|
|
1372
|
-
<line num="
|
|
1373
|
-
<line num="190" count="0" type="stmt"/>
|
|
1384
|
+
<line num="174" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
1385
|
+
<line num="175" count="3" type="stmt"/>
|
|
1386
|
+
<line num="178" count="0" type="stmt"/>
|
|
1387
|
+
<line num="181" count="8" type="stmt"/>
|
|
1388
|
+
<line num="182" count="1" type="stmt"/>
|
|
1389
|
+
<line num="183" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1390
|
+
<line num="185" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1391
|
+
<line num="188" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1392
|
+
<line num="190" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1374
1393
|
<line num="191" count="0" type="stmt"/>
|
|
1375
|
-
<line num="
|
|
1376
|
-
<line num="
|
|
1394
|
+
<line num="193" count="0" type="stmt"/>
|
|
1395
|
+
<line num="194" count="0" type="stmt"/>
|
|
1396
|
+
<line num="195" count="0" type="stmt"/>
|
|
1377
1397
|
<line num="198" count="1" type="stmt"/>
|
|
1378
|
-
<line num="
|
|
1379
|
-
<line num="
|
|
1380
|
-
<line num="
|
|
1381
|
-
<line num="
|
|
1382
|
-
<line num="209" count="
|
|
1398
|
+
<line num="201" count="8" type="stmt"/>
|
|
1399
|
+
<line num="202" count="1" type="stmt"/>
|
|
1400
|
+
<line num="203" count="1" type="stmt"/>
|
|
1401
|
+
<line num="208" count="1" type="stmt"/>
|
|
1402
|
+
<line num="209" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1403
|
+
<line num="210" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1383
1404
|
<line num="213" count="1" type="stmt"/>
|
|
1384
|
-
<line num="
|
|
1385
|
-
<line num="
|
|
1386
|
-
<line num="
|
|
1387
|
-
<line num="
|
|
1388
|
-
<line num="
|
|
1389
|
-
<line num="
|
|
1390
|
-
<line num="
|
|
1391
|
-
<line num="
|
|
1392
|
-
<line num="
|
|
1393
|
-
<line num="
|
|
1394
|
-
<line num="
|
|
1395
|
-
<line num="
|
|
1396
|
-
<line num="
|
|
1397
|
-
<line num="
|
|
1398
|
-
<line num="
|
|
1405
|
+
<line num="217" count="1" type="stmt"/>
|
|
1406
|
+
<line num="220" count="8" type="stmt"/>
|
|
1407
|
+
<line num="225" count="1" type="stmt"/>
|
|
1408
|
+
<line num="226" count="1" type="stmt"/>
|
|
1409
|
+
<line num="227" count="1" type="stmt"/>
|
|
1410
|
+
<line num="234" count="1" type="stmt"/>
|
|
1411
|
+
<line num="235" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
1412
|
+
<line num="236" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
1413
|
+
<line num="239" count="1" type="stmt"/>
|
|
1414
|
+
<line num="240" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
1415
|
+
<line num="241" count="0" type="stmt"/>
|
|
1416
|
+
<line num="244" count="1" type="stmt"/>
|
|
1417
|
+
<line num="245" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
1418
|
+
<line num="246" count="1" type="stmt"/>
|
|
1419
|
+
<line num="251" count="1" type="stmt"/>
|
|
1420
|
+
<line num="254" count="0" type="stmt"/>
|
|
1399
1421
|
</file>
|
|
1400
1422
|
<file name="index.ts" path="/data/magic/tmagic-editor/packages/editor/src/utils/index.ts">
|
|
1401
1423
|
<metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|