@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.
Files changed (39) hide show
  1. package/LICENSE +1 -1
  2. package/dist/style.css +2 -9
  3. package/dist/tmagic-editor.js +3662 -1728
  4. package/dist/tmagic-editor.umd.cjs +3655 -1721
  5. package/package.json +10 -10
  6. package/src/Editor.vue +5 -0
  7. package/src/editorProps.ts +2 -3
  8. package/src/fields/DataSourceFields.vue +1 -1
  9. package/src/fields/DataSourceMethods.vue +1 -1
  10. package/src/hooks/index.ts +1 -1
  11. package/src/hooks/use-filter.ts +6 -4
  12. package/src/hooks/use-stage.ts +1 -0
  13. package/src/index.ts +1 -1
  14. package/src/initService.ts +64 -11
  15. package/src/layouts/page-bar/PageBarScrollContainer.vue +2 -1
  16. package/src/layouts/props-panel/FormPanel.vue +6 -1
  17. package/src/layouts/props-panel/PropsPanel.vue +6 -0
  18. package/src/layouts/workspace/viewer/Stage.vue +4 -29
  19. package/src/layouts/workspace/viewer/StageOverlay.vue +25 -6
  20. package/src/services/BaseService.ts +18 -9
  21. package/src/services/codeBlock.ts +1 -1
  22. package/src/services/componentList.ts +1 -1
  23. package/src/services/dep.ts +1 -1
  24. package/src/services/editor.ts +1 -1
  25. package/src/services/events.ts +1 -1
  26. package/src/services/history.ts +1 -1
  27. package/src/services/keybinding.ts +12 -0
  28. package/src/services/props.ts +1 -1
  29. package/src/services/stageOverlay.ts +1 -1
  30. package/src/services/ui.ts +1 -1
  31. package/src/theme/stage.scss +6 -11
  32. package/src/type.ts +4 -4
  33. package/src/utils/config.ts +1 -1
  34. package/src/utils/editor.ts +1 -1
  35. package/src/utils/index.ts +1 -1
  36. package/src/utils/logger.ts +1 -1
  37. package/src/utils/props.ts +16 -2
  38. package/src/utils/undo-redo.ts +1 -1
  39. 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) 2023 THL A29 Limited, a Tencent company. All rights reserved.
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 {