@tmagic/editor 1.0.0-beta.7 → 1.0.0-beta.8
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 +5432 -0
- package/dist/style.css +10 -0
- package/dist/tmagic-editor.es.js +2 -0
- package/dist/tmagic-editor.es.js.map +1 -1
- package/dist/tmagic-editor.umd.js +2 -0
- package/dist/tmagic-editor.umd.js.map +1 -1
- package/package.json +9 -8
- package/src/layouts/PropsPanel.vue +1 -0
- package/src/services/editor.ts +2 -0
- package/src/theme/props-panel.scss +14 -0
|
@@ -977,6 +977,7 @@
|
|
|
977
977
|
parent.items.splice(index2, 0, ...parent.items.splice(index1, 1));
|
|
978
978
|
await this.update(parent);
|
|
979
979
|
await this.select(node);
|
|
980
|
+
this.get("stage")?.update({ config: lodashEs.cloneDeep(node), root: this.get("root") });
|
|
980
981
|
this.addModifiedNodeId(parent.id);
|
|
981
982
|
this.pushHistoryState();
|
|
982
983
|
}
|
|
@@ -3020,6 +3021,7 @@
|
|
|
3020
3021
|
const _component_m_form = vue.resolveComponent("m-form");
|
|
3021
3022
|
return vue.openBlock(), vue.createBlock(_component_m_form, {
|
|
3022
3023
|
class: "m-editor-props-panel",
|
|
3024
|
+
"popper-class": "m-editor-props-panel-popper",
|
|
3023
3025
|
ref: "configForm",
|
|
3024
3026
|
size: "small",
|
|
3025
3027
|
"init-values": _ctx.values,
|