@tmagic/editor 1.5.22 → 1.6.0-beta.0
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/LICENSE +1 -1
- package/dist/style.css +2 -9
- package/dist/tmagic-editor.js +3662 -1728
- package/dist/tmagic-editor.umd.cjs +3655 -1721
- package/package.json +10 -10
- package/src/Editor.vue +5 -0
- package/src/editorProps.ts +2 -3
- package/src/fields/DataSourceFields.vue +1 -1
- package/src/fields/DataSourceMethods.vue +1 -1
- package/src/hooks/index.ts +1 -1
- package/src/hooks/use-filter.ts +6 -4
- package/src/hooks/use-stage.ts +1 -0
- package/src/index.ts +1 -1
- package/src/initService.ts +64 -11
- package/src/layouts/page-bar/PageBarScrollContainer.vue +2 -1
- package/src/layouts/props-panel/FormPanel.vue +6 -1
- package/src/layouts/props-panel/PropsPanel.vue +6 -0
- package/src/layouts/workspace/viewer/Stage.vue +4 -29
- package/src/layouts/workspace/viewer/StageOverlay.vue +25 -6
- package/src/services/BaseService.ts +18 -9
- package/src/services/codeBlock.ts +1 -1
- package/src/services/componentList.ts +1 -1
- package/src/services/dep.ts +1 -1
- package/src/services/editor.ts +1 -1
- package/src/services/events.ts +1 -1
- package/src/services/history.ts +1 -1
- package/src/services/keybinding.ts +12 -0
- package/src/services/props.ts +1 -1
- package/src/services/stageOverlay.ts +1 -1
- package/src/services/ui.ts +1 -1
- package/src/theme/stage.scss +6 -11
- package/src/type.ts +4 -4
- package/src/utils/config.ts +1 -1
- package/src/utils/editor.ts +1 -1
- package/src/utils/index.ts +1 -1
- package/src/utils/logger.ts +1 -1
- package/src/utils/props.ts +16 -2
- package/src/utils/undo-redo.ts +1 -1
- package/types/index.d.ts +65 -145
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Tencent is pleased to support the open source community by making TMagicEditor available.
|
|
2
2
|
|
|
3
|
-
Copyright (C)
|
|
3
|
+
Copyright (C) 2025 Tencent. All rights reserved.
|
|
4
4
|
|
|
5
5
|
TMagicEditor is licensed under the Apache License Version 2.0 except for the third-party components listed below.
|
|
6
6
|
|
package/dist/style.css
CHANGED
|
@@ -1121,22 +1121,15 @@ fieldset.m-fieldset .m-form-tip {
|
|
|
1121
1121
|
width: 100%;
|
|
1122
1122
|
height: 100%;
|
|
1123
1123
|
background-color: #fff;
|
|
1124
|
-
display: flex;
|
|
1125
1124
|
z-index: 20;
|
|
1126
|
-
overflow: auto;
|
|
1127
|
-
}
|
|
1128
|
-
|
|
1129
|
-
.m-editor-stage-overlay-container {
|
|
1130
|
-
position: relative;
|
|
1131
|
-
flex-shrink: 0;
|
|
1132
|
-
margin: auto;
|
|
1133
|
-
box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
|
|
1134
1125
|
}
|
|
1135
1126
|
|
|
1136
1127
|
.m-editor-stage-overlay-close.tmagic-design-icon {
|
|
1137
1128
|
position: fixed;
|
|
1138
1129
|
right: 20px;
|
|
1139
1130
|
top: 10px;
|
|
1131
|
+
cursor: pointer;
|
|
1132
|
+
z-index: 1;
|
|
1140
1133
|
}
|
|
1141
1134
|
|
|
1142
1135
|
.m-editor-stage-float-button {
|