@tmagic/editor 1.0.0-beta.15 → 1.0.0-beta.16
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 +28 -22
- package/coverage/coverage-final.json +2 -1
- package/coverage/lcov-report/index.html +15 -15
- 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 +3 -3
- 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 +23 -140
- package/coverage/lcov-report/{undo-redo.ts.html → src/layouts/sidebar/TabPane.vue.html} +94 -118
- package/coverage/lcov-report/src/layouts/sidebar/index.html +31 -16
- 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 +2 -2
- 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.info +56 -48
- package/dist/style.css +3 -0
- package/dist/tmagic-editor.es.js +185 -124
- package/dist/tmagic-editor.es.js.map +1 -1
- package/dist/tmagic-editor.umd.js +186 -125
- package/dist/tmagic-editor.umd.js.map +1 -1
- package/dist/types/src/fields/UISelect.vue.d.ts +4 -1
- package/dist/types/src/layouts/CodeEditor.vue.d.ts +13 -4
- package/dist/types/src/layouts/sidebar/Sidebar.vue.d.ts +2 -3
- package/dist/types/src/layouts/sidebar/TabPane.vue.d.ts +14 -0
- package/package.json +7 -7
- package/src/components/ToolButton.vue +2 -2
- package/src/fields/UISelect.vue +14 -6
- package/src/layouts/CodeEditor.vue +20 -10
- package/src/layouts/sidebar/Sidebar.vue +13 -52
- package/src/layouts/sidebar/TabPane.vue +68 -0
- package/src/services/editor.ts +1 -1
- package/src/theme/props-panel.scss +4 -0
package/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1652445757627" clover="3.2.0">
|
|
3
|
+
<project timestamp="1652445757627" name="All files">
|
|
4
|
+
<metrics statements="1414" coveredstatements="897" conditionals="1175" coveredconditionals="332" methods="390" coveredmethods="221" elements="2979" coveredelements="1450" complexity="0" loc="1414" ncloc="1414" packages="7" files="35" classes="35"/>
|
|
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="/data/magic/tmagic-editor/packages/editor/src/Editor.vue">
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
</file>
|
|
298
298
|
</package>
|
|
299
299
|
<package name="src.layouts.sidebar">
|
|
300
|
-
<metrics statements="
|
|
300
|
+
<metrics statements="156" coveredstatements="80" conditionals="234" coveredconditionals="40" methods="55" coveredmethods="24"/>
|
|
301
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"/>
|
|
@@ -442,26 +442,32 @@
|
|
|
442
442
|
<line num="225" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
443
443
|
</file>
|
|
444
444
|
<file name="Sidebar.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/sidebar/Sidebar.vue">
|
|
445
|
-
<metrics statements="
|
|
446
|
-
<line num="
|
|
445
|
+
<metrics statements="9" coveredstatements="8" conditionals="10" coveredconditionals="6" methods="4" coveredmethods="3"/>
|
|
446
|
+
<line num="14" count="1" type="stmt"/>
|
|
447
|
+
<line num="18" count="1" type="stmt"/>
|
|
448
|
+
<line num="20" count="1" type="stmt"/>
|
|
449
|
+
<line num="28" count="1" type="stmt"/>
|
|
450
|
+
<line num="33" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
451
|
+
<line num="35" count="1" type="stmt"/>
|
|
452
|
+
<line num="36" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
453
|
+
<line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
454
|
+
<line num="42" count="1" type="stmt"/>
|
|
455
|
+
</file>
|
|
456
|
+
<file name="TabPane.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/sidebar/TabPane.vue">
|
|
457
|
+
<metrics statements="13" coveredstatements="11" conditionals="4" coveredconditionals="2" methods="2" coveredmethods="2"/>
|
|
458
|
+
<line num="19" count="1" type="stmt"/>
|
|
459
|
+
<line num="20" count="1" type="stmt"/>
|
|
447
460
|
<line num="22" count="1" type="stmt"/>
|
|
448
|
-
<line num="
|
|
449
|
-
<line num="
|
|
461
|
+
<line num="25" count="1" type="stmt"/>
|
|
462
|
+
<line num="26" count="1" type="stmt"/>
|
|
450
463
|
<line num="28" count="1" type="stmt"/>
|
|
451
|
-
<line num="
|
|
452
|
-
<line num="
|
|
453
|
-
<line num="
|
|
454
|
-
<line num="
|
|
455
|
-
<line num="46" count="1" type="
|
|
456
|
-
<line num="
|
|
457
|
-
<line num="
|
|
458
|
-
<line num="56" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
459
|
-
<line num="57" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
460
|
-
<line num="58" count="0" type="stmt"/>
|
|
461
|
-
<line num="61" count="2" type="cond" truecount="2" falsecount="1"/>
|
|
462
|
-
<line num="63" count="1" type="stmt"/>
|
|
463
|
-
<line num="71" count="1" type="stmt"/>
|
|
464
|
-
<line num="79" count="0" type="stmt"/>
|
|
464
|
+
<line num="38" count="2" type="stmt"/>
|
|
465
|
+
<line num="40" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
466
|
+
<line num="41" count="0" type="stmt"/>
|
|
467
|
+
<line num="44" count="2" type="cond" truecount="2" falsecount="1"/>
|
|
468
|
+
<line num="46" count="1" type="stmt"/>
|
|
469
|
+
<line num="54" count="1" type="stmt"/>
|
|
470
|
+
<line num="62" count="0" type="stmt"/>
|
|
465
471
|
</file>
|
|
466
472
|
</package>
|
|
467
473
|
<package name="src.layouts.workspace">
|