@tmagic/editor 1.5.0-beta.11 → 1.5.0-beta.12
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/dist/style.css +15 -11
- package/dist/tmagic-editor.js +285 -281
- package/dist/tmagic-editor.umd.cjs +281 -277
- package/package.json +7 -7
- package/src/Editor.vue +1 -0
- package/src/initService.ts +94 -70
- package/src/layouts/Framework.vue +1 -0
- package/src/layouts/page-bar/AddButton.vue +29 -9
- package/src/layouts/page-bar/PageBar.vue +25 -61
- package/src/layouts/page-bar/PageBarScrollContainer.vue +45 -84
- package/src/layouts/page-bar/PageList.vue +1 -1
- package/src/layouts/page-bar/Search.vue +64 -0
- package/src/layouts/workspace/viewer/Stage.vue +11 -0
- package/src/services/dep.ts +5 -2
- package/src/services/editor.ts +20 -40
- package/src/theme/page-bar.scss +19 -12
- package/src/type.ts +2 -1
- package/src/utils/idle-task.ts +3 -2
- package/types/index.d.ts +3 -2
- package/src/layouts/page-bar/SwitchTypeButton.vue +0 -45
package/dist/style.css
CHANGED
|
@@ -702,18 +702,11 @@ fieldset.m-fieldset .m-form-tip {
|
|
|
702
702
|
bottom: 0;
|
|
703
703
|
left: 0;
|
|
704
704
|
width: 100%;
|
|
705
|
+
user-select: none;
|
|
705
706
|
}
|
|
706
|
-
.m-editor-page-bar-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
top: 1px;
|
|
710
|
-
border-radius: 3px 3px 0 0;
|
|
711
|
-
border: 1px solid #d9dbdd;
|
|
712
|
-
border-bottom: 1px solid transparent;
|
|
713
|
-
padding: 5px 10px;
|
|
714
|
-
}
|
|
715
|
-
.m-editor-page-bar-tabs .tmagic-design-button.m-editor-page-bar-switch-type-button.active {
|
|
716
|
-
background-color: #f3f3f3;
|
|
707
|
+
.m-editor-page-bar-item-icon .icon-active {
|
|
708
|
+
font-weight: bold;
|
|
709
|
+
color: #2882e0;
|
|
717
710
|
}
|
|
718
711
|
.m-editor-page-list-item {
|
|
719
712
|
display: flex;
|
|
@@ -784,6 +777,17 @@ fieldset.m-fieldset .m-form-tip {
|
|
|
784
777
|
.page-bar-popover .menu-item:hover {
|
|
785
778
|
background-color: #f3f5f9;
|
|
786
779
|
}
|
|
780
|
+
.m-editor-page-bar-search-panel {
|
|
781
|
+
position: absolute;
|
|
782
|
+
bottom: 32px;
|
|
783
|
+
border: 1px solid #d9dbdd;
|
|
784
|
+
padding: 6px 10px;
|
|
785
|
+
width: 100%;
|
|
786
|
+
box-sizing: border-box;
|
|
787
|
+
}
|
|
788
|
+
.m-editor-page-bar-search-panel .tmagic-design-form-item {
|
|
789
|
+
margin-bottom: 0;
|
|
790
|
+
}
|
|
787
791
|
.m-editor-props-panel {
|
|
788
792
|
padding: 0 10px 50px 10px;
|
|
789
793
|
}
|