@tmagic/editor 1.1.0-beta.2 → 1.1.0-beta.5
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 +1 -1
- package/dist/tmagic-editor.es.js +78 -65
- package/dist/tmagic-editor.es.js.map +1 -1
- package/dist/tmagic-editor.umd.js +75 -63
- package/dist/tmagic-editor.umd.js.map +1 -1
- package/dist/types/src/services/props.d.ts +20 -2
- package/dist/types/src/type.d.ts +1 -0
- package/dist/types/src/utils/props.d.ts +0 -20
- package/package.json +7 -7
- package/src/components/ScrollViewer.vue +1 -1
- package/src/layouts/sidebar/ComponentListPanel.vue +4 -15
- package/src/layouts/sidebar/LayerPanel.vue +11 -2
- package/src/layouts/workspace/Stage.vue +2 -0
- package/src/services/BaseService.ts +4 -9
- package/src/services/editor.ts +8 -8
- package/src/services/props.ts +46 -7
- package/src/services/ui.ts +8 -2
- package/src/theme/framework.scss +1 -1
- package/src/theme/stage.scss +2 -2
- package/src/type.ts +1 -0
- package/src/utils/editor.ts +2 -1
- package/src/utils/props.ts +0 -22
package/dist/style.css
CHANGED
|
@@ -551,9 +551,9 @@
|
|
|
551
551
|
height: 100%;
|
|
552
552
|
z-index: 0;
|
|
553
553
|
position: relative;
|
|
554
|
-
border: 1px solid #d9dbdd;
|
|
555
554
|
transition: transform 0.3s;
|
|
556
555
|
box-sizing: content-box;
|
|
556
|
+
box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
|
|
557
557
|
}
|
|
558
558
|
.m-editor-stage-container::-webkit-scrollbar {
|
|
559
559
|
width: 0 !important;
|
package/dist/tmagic-editor.es.js
CHANGED
|
@@ -3,9 +3,9 @@ import serialize from 'serialize-javascript';
|
|
|
3
3
|
import { Delete, Pointer, Close, Plus, Edit, ArrowDown, Grid, ScaleToOriginal, ZoomOut, ZoomIn, Right, Back, Files, DocumentCopy, Coin, ArrowLeftBold, ArrowRightBold, CaretBottom, Top, Bottom } from '@element-plus/icons-vue';
|
|
4
4
|
import { throttle, cloneDeep, mergeWith, random } from 'lodash-es';
|
|
5
5
|
import * as monaco from 'monaco-editor';
|
|
6
|
-
import StageCore, {
|
|
6
|
+
import StageCore, { GuidesType, getOffset, calcValueByFontsize, CONTAINER_HIGHLIGHT_CLASS } from '@tmagic/stage';
|
|
7
7
|
import { NodeType } from '@tmagic/schema';
|
|
8
|
-
import { toLine, isPop, getNodePath, isNumber, isPage, removeClassNameByClassName
|
|
8
|
+
import { toLine, isPop, getNodePath, isNumber, isPage, removeClassNameByClassName } from '@tmagic/utils';
|
|
9
9
|
import { EventEmitter } from 'events';
|
|
10
10
|
import { DEFAULT_EVENTS, DEFAULT_METHODS } from '@tmagic/core';
|
|
11
11
|
import Gesto from 'gesto';
|
|
@@ -461,17 +461,12 @@ const doAction = async (args, scope, sourceMethod, beforeMethodName, afterMethod
|
|
|
461
461
|
try {
|
|
462
462
|
let beforeArgs = args;
|
|
463
463
|
for (const beforeMethod of scope.pluginOptionsList[beforeMethodName]) {
|
|
464
|
-
|
|
465
|
-
if (isError(
|
|
466
|
-
throw
|
|
467
|
-
if (!Array.isArray(
|
|
468
|
-
|
|
464
|
+
beforeArgs = await beforeMethod(...beforeArgs) || [];
|
|
465
|
+
if (isError(beforeArgs))
|
|
466
|
+
throw beforeArgs;
|
|
467
|
+
if (!Array.isArray(beforeArgs)) {
|
|
468
|
+
beforeArgs = [beforeArgs];
|
|
469
469
|
}
|
|
470
|
-
beforeArgs = beforeArgs.map((v, index) => {
|
|
471
|
-
if (typeof beforeReturnValue[index] === "undefined")
|
|
472
|
-
return v;
|
|
473
|
-
return beforeReturnValue[index];
|
|
474
|
-
});
|
|
475
470
|
}
|
|
476
471
|
let returnValue = await fn(beforeArgs, sourceMethod.bind(scope));
|
|
477
472
|
for (const afterMethod of scope.pluginOptionsList[afterMethodName]) {
|
|
@@ -627,7 +622,15 @@ var historyService = new History();
|
|
|
627
622
|
|
|
628
623
|
class Props extends BaseService {
|
|
629
624
|
constructor() {
|
|
630
|
-
super([
|
|
625
|
+
super([
|
|
626
|
+
"setPropsConfig",
|
|
627
|
+
"getPropsConfig",
|
|
628
|
+
"setPropsValue",
|
|
629
|
+
"getPropsValue",
|
|
630
|
+
"createId",
|
|
631
|
+
"setNewItemId",
|
|
632
|
+
"getDefaultPropsValue"
|
|
633
|
+
]);
|
|
631
634
|
this.state = reactive({
|
|
632
635
|
propsConfigMap: {},
|
|
633
636
|
propsValueMap: {}
|
|
@@ -656,7 +659,7 @@ class Props extends BaseService {
|
|
|
656
659
|
setPropsValue(type, value) {
|
|
657
660
|
this.state.propsValueMap[type] = value;
|
|
658
661
|
}
|
|
659
|
-
async getPropsValue(type, defaultValue = {}) {
|
|
662
|
+
async getPropsValue(type, { inputEvent, ...defaultValue } = {}) {
|
|
660
663
|
if (type === "area") {
|
|
661
664
|
const value = await this.getPropsValue("button");
|
|
662
665
|
value.className = "action-area";
|
|
@@ -666,10 +669,17 @@ class Props extends BaseService {
|
|
|
666
669
|
}
|
|
667
670
|
return value;
|
|
668
671
|
}
|
|
669
|
-
const data =
|
|
670
|
-
|
|
672
|
+
const [id, defaultPropsValue, data] = await Promise.all([
|
|
673
|
+
this.createId(type),
|
|
674
|
+
this.getDefaultPropsValue(type),
|
|
675
|
+
this.setNewItemId(cloneDeep({
|
|
676
|
+
type,
|
|
677
|
+
...defaultValue
|
|
678
|
+
}))
|
|
679
|
+
]);
|
|
671
680
|
return {
|
|
672
|
-
|
|
681
|
+
id,
|
|
682
|
+
...defaultPropsValue,
|
|
673
683
|
...mergeWith(cloneDeep(this.state.propsValueMap[type] || {}), data)
|
|
674
684
|
};
|
|
675
685
|
}
|
|
@@ -687,6 +697,20 @@ class Props extends BaseService {
|
|
|
687
697
|
await this.setNewItemId(item, config);
|
|
688
698
|
}
|
|
689
699
|
}
|
|
700
|
+
return config;
|
|
701
|
+
}
|
|
702
|
+
async getDefaultPropsValue(type) {
|
|
703
|
+
return ["page", "container"].includes(type) ? {
|
|
704
|
+
type,
|
|
705
|
+
layout: "absolute",
|
|
706
|
+
style: {},
|
|
707
|
+
name: type,
|
|
708
|
+
items: []
|
|
709
|
+
} : {
|
|
710
|
+
type,
|
|
711
|
+
style: {},
|
|
712
|
+
name: type
|
|
713
|
+
};
|
|
690
714
|
}
|
|
691
715
|
}
|
|
692
716
|
const updatePopId = (oldId, popId, pageConfig) => {
|
|
@@ -861,23 +885,13 @@ const fixNodeLeft = (config, parent, doc) => {
|
|
|
861
885
|
return config.style?.left;
|
|
862
886
|
const el = doc.getElementById(`${config.id}`);
|
|
863
887
|
const parentEl = doc.getElementById(`${parent.id}`);
|
|
864
|
-
|
|
888
|
+
const left = Number(config.style?.left) || 0;
|
|
889
|
+
if (el && parentEl && el.offsetWidth + left > parentEl.offsetWidth) {
|
|
865
890
|
return parentEl.offsetWidth - el.offsetWidth;
|
|
866
891
|
}
|
|
867
892
|
return config.style.left;
|
|
868
893
|
};
|
|
869
894
|
|
|
870
|
-
const log = (...args) => {
|
|
871
|
-
};
|
|
872
|
-
const info = (...args) => {
|
|
873
|
-
};
|
|
874
|
-
const warn = (...args) => {
|
|
875
|
-
};
|
|
876
|
-
const debug = (...args) => {
|
|
877
|
-
};
|
|
878
|
-
const error = (...args) => {
|
|
879
|
-
};
|
|
880
|
-
|
|
881
895
|
class Editor$1 extends BaseService {
|
|
882
896
|
constructor() {
|
|
883
897
|
super([
|
|
@@ -1015,7 +1029,7 @@ class Editor$1 extends BaseService {
|
|
|
1015
1029
|
this.set("highlightNode", node);
|
|
1016
1030
|
}
|
|
1017
1031
|
async add(addNode, parent) {
|
|
1018
|
-
const { type, ...config2 } = addNode;
|
|
1032
|
+
const { type, inputEvent, ...config2 } = addNode;
|
|
1019
1033
|
const curNode = this.get("node");
|
|
1020
1034
|
let parentNode;
|
|
1021
1035
|
const isPage2 = type === NodeType.PAGE;
|
|
@@ -1039,7 +1053,7 @@ class Editor$1 extends BaseService {
|
|
|
1039
1053
|
parentNode?.items?.push(newNode);
|
|
1040
1054
|
const stage = this.get("stage");
|
|
1041
1055
|
const root = this.get("root");
|
|
1042
|
-
await stage?.add({ config: cloneDeep(newNode), root: cloneDeep(root) });
|
|
1056
|
+
await stage?.add({ config: cloneDeep(newNode), parent: cloneDeep(parentNode), root: cloneDeep(root) });
|
|
1043
1057
|
if (layout === Layout.ABSOLUTE) {
|
|
1044
1058
|
const fixedLeft = fixNodeLeft(newNode, parentNode, stage?.renderer.contentWindow?.document);
|
|
1045
1059
|
if (typeof fixedLeft !== "undefined") {
|
|
@@ -1052,9 +1066,10 @@ class Editor$1 extends BaseService {
|
|
|
1052
1066
|
if (!isPage2) {
|
|
1053
1067
|
this.pushHistoryState();
|
|
1054
1068
|
}
|
|
1055
|
-
stage?.select(newNode.id);
|
|
1056
1069
|
if (isPage2) {
|
|
1057
1070
|
this.state.pageLength += 1;
|
|
1071
|
+
} else {
|
|
1072
|
+
stage?.select(newNode.id);
|
|
1058
1073
|
}
|
|
1059
1074
|
this.emit("add", newNode);
|
|
1060
1075
|
return newNode;
|
|
@@ -1172,7 +1187,7 @@ class Editor$1 extends BaseService {
|
|
|
1172
1187
|
console.error(e);
|
|
1173
1188
|
return;
|
|
1174
1189
|
}
|
|
1175
|
-
await propsService.setNewItemId(config, this.get("root"));
|
|
1190
|
+
config = await propsService.setNewItemId(config, this.get("root"));
|
|
1176
1191
|
if (config.style) {
|
|
1177
1192
|
config.style = {
|
|
1178
1193
|
...config.style,
|
|
@@ -1196,8 +1211,8 @@ class Editor$1 extends BaseService {
|
|
|
1196
1211
|
const stage = this.get("stage");
|
|
1197
1212
|
const doc = stage?.renderer.contentWindow?.document;
|
|
1198
1213
|
if (doc) {
|
|
1199
|
-
const parentEl = doc.getElementById(`${parent.id}`);
|
|
1200
1214
|
const el = doc.getElementById(`${node.id}`);
|
|
1215
|
+
const parentEl = el?.offsetParent;
|
|
1201
1216
|
if (parentEl && el) {
|
|
1202
1217
|
node.style.left = (parentEl.clientWidth - el.clientWidth) / 2;
|
|
1203
1218
|
}
|
|
@@ -1610,18 +1625,16 @@ const fillConfig = (config = []) => [
|
|
|
1610
1625
|
}
|
|
1611
1626
|
];
|
|
1612
1627
|
const DEFAULT_CONFIG = fillConfig([]);
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
style: {},
|
|
1624
|
-
name: type
|
|
1628
|
+
|
|
1629
|
+
const log = (...args) => {
|
|
1630
|
+
};
|
|
1631
|
+
const info = (...args) => {
|
|
1632
|
+
};
|
|
1633
|
+
const warn = (...args) => {
|
|
1634
|
+
};
|
|
1635
|
+
const debug = (...args) => {
|
|
1636
|
+
};
|
|
1637
|
+
const error = (...args) => {
|
|
1625
1638
|
};
|
|
1626
1639
|
|
|
1627
1640
|
const _sfc_main$i = defineComponent({
|
|
@@ -2289,20 +2302,9 @@ const _sfc_main$b = defineComponent({
|
|
|
2289
2302
|
}
|
|
2290
2303
|
return;
|
|
2291
2304
|
}
|
|
2292
|
-
if (timeout)
|
|
2305
|
+
if (timeout || !stage.value)
|
|
2293
2306
|
return;
|
|
2294
|
-
timeout =
|
|
2295
|
-
if (!stageOptions || !stage.value)
|
|
2296
|
-
return;
|
|
2297
|
-
const doc = stage.value.renderer.contentWindow?.document;
|
|
2298
|
-
const els = stage.value.getElementsFromPoint(e);
|
|
2299
|
-
for (const el of els) {
|
|
2300
|
-
if (doc && !el.id.startsWith(GHOST_EL_ID_PREFIX) && await stageOptions.isContainer(el)) {
|
|
2301
|
-
addClassName(el, doc, stageOptions?.containerHighlightClassName);
|
|
2302
|
-
break;
|
|
2303
|
-
}
|
|
2304
|
-
}
|
|
2305
|
-
}, stageOptions?.containerHighlightDuration);
|
|
2307
|
+
timeout = stage.value.getAddContainerHighlightClassNameTimeout(e);
|
|
2306
2308
|
}
|
|
2307
2309
|
};
|
|
2308
2310
|
}
|
|
@@ -2630,9 +2632,17 @@ const useDrop = (tree, editorService) => ({
|
|
|
2630
2632
|
return true;
|
|
2631
2633
|
return false;
|
|
2632
2634
|
},
|
|
2633
|
-
handleDragEnd() {
|
|
2635
|
+
async handleDragEnd(e) {
|
|
2634
2636
|
if (!tree.value)
|
|
2635
2637
|
return;
|
|
2638
|
+
const { data: node } = e;
|
|
2639
|
+
const parent = editorService?.getParentById(node.id, false);
|
|
2640
|
+
const layout = await editorService?.getLayout(parent);
|
|
2641
|
+
node.style.position = layout;
|
|
2642
|
+
if (layout === Layout.RELATIVE) {
|
|
2643
|
+
node.style.top = 0;
|
|
2644
|
+
node.style.left = 0;
|
|
2645
|
+
}
|
|
2636
2646
|
const { data } = tree.value;
|
|
2637
2647
|
const [page] = data;
|
|
2638
2648
|
editorService?.update(page);
|
|
@@ -3363,7 +3373,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
3363
3373
|
el,
|
|
3364
3374
|
style: computed(() => `
|
|
3365
3375
|
width: ${props.width}px;
|
|
3366
|
-
height: ${
|
|
3376
|
+
height: ${props.height}px;
|
|
3367
3377
|
position: absolute;
|
|
3368
3378
|
margin-top: 30px;
|
|
3369
3379
|
`)
|
|
@@ -3694,6 +3704,7 @@ const _sfc_main$2 = defineComponent({
|
|
|
3694
3704
|
top,
|
|
3695
3705
|
left
|
|
3696
3706
|
};
|
|
3707
|
+
config.inputEvent = e;
|
|
3697
3708
|
services?.editorService.add(config, parent);
|
|
3698
3709
|
}
|
|
3699
3710
|
}
|
|
@@ -3986,10 +3997,12 @@ class Ui extends BaseService {
|
|
|
3986
3997
|
const { height, width } = stageContainerRect;
|
|
3987
3998
|
if (!width || !height)
|
|
3988
3999
|
return 1;
|
|
3989
|
-
|
|
4000
|
+
const stageWidth = stageRect.width + 30;
|
|
4001
|
+
const stageHeight = stageRect.height + 30;
|
|
4002
|
+
if (width > stageWidth && height > stageHeight) {
|
|
3990
4003
|
return 1;
|
|
3991
4004
|
}
|
|
3992
|
-
return Math.min((width -
|
|
4005
|
+
return Math.min((width - 60) / stageWidth || 1, (height - 80) / stageHeight || 1);
|
|
3993
4006
|
}
|
|
3994
4007
|
}
|
|
3995
4008
|
var uiService = new Ui();
|
|
@@ -4203,7 +4216,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4203
4216
|
}
|
|
4204
4217
|
var Editor = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
4205
4218
|
|
|
4206
|
-
var index$1 = /* #__PURE__ */ (() => ".m-editor-nav-menu {\n display: flex;\n z-index: 5;\n -webkit-box-pack: justify;\n justify-content: space-between;\n -webkit-box-align: center;\n align-items: center;\n background-color: #ffffff;\n font-size: 19.2px;\n color: #070303;\n font-weight: 400;\n box-sizing: border-box;\n margin: 0px;\n flex: 0 0 35px;\n border-bottom: 1px solid #d8dee8;\n}\n.m-editor-nav-menu > div {\n display: flex;\n height: 100%;\n z-index: 1;\n align-items: center;\n}\n.m-editor-nav-menu .menu-center {\n justify-content: center;\n}\n.m-editor-nav-menu .menu-right {\n justify-content: flex-end;\n}\n.m-editor-nav-menu .menu-item {\n flex-direction: row;\n -webkit-box-align: center;\n align-items: center;\n vertical-align: middle;\n font-size: 14px;\n line-height: 1;\n height: 100%;\n color: rgba(255, 255, 255, 0.7);\n box-sizing: inherit;\n z-index: 1;\n display: flex !important;\n transition: all 0.3s ease 0s;\n border-bottom: 2px solid transparent;\n margin: 0;\n}\n.m-editor-nav-menu .menu-item .is-disabled {\n opacity: 0.5;\n}\n.m-editor-nav-menu .menu-item .is-text {\n padding: 5px;\n}\n.m-editor-nav-menu .menu-item .is-text,\n.m-editor-nav-menu .menu-item i {\n color: #070303;\n}\n.m-editor-nav-menu .menu-item .icon {\n display: flex;\n -webkit-box-align: center;\n align-items: center;\n height: 100%;\n padding: 0px 8px;\n}\n.m-editor-nav-menu .menu-item .menu-item-text {\n color: #070303;\n}\n.m-editor {\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n.m-editor-content {\n width: 100%;\n height: calc(100% - 35px);\n display: flex;\n justify-self: space-between;\n}\n.m-editor-framework-center {\n position: relative;\n transform: translateZ(0);\n flex: 1;\n}\n.m-editor-framework-left {\n background-color: #ffffff;\n}\n.m-editor-framework-center .el-scrollbar__view {\n height: 100%;\n min-height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.m-editor-empty-panel {\n display: flex;\n flex: 1;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n height: calc(100% - 32px);\n}\n.m-editor-empty-content {\n display: flex;\n justify-content: space-evenly;\n flex-direction: row;\n width: 100%;\n}\n.m-editor-empty-button {\n border: 3px solid rgba(0, 0, 0, 0.2);\n padding: 10px 40px;\n color: rgba(0, 0, 0, 0.6);\n cursor: pointer;\n}\n.m-editor-empty-button i {\n height: 180px;\n line-height: 180px;\n font-size: 100px;\n}\n.m-editor-empty-button p {\n text-align: center;\n font-size: 20px;\n margin-top: 5px;\n}\n.m-editor-empty-button:hover {\n border-color: #2882e0;\n color: #2882e0;\n}\n.m-editor-sidebar {\n height: 100%;\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header {\n background: #2882e0;\n border: 0;\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header.is-left {\n width: 40px;\n margin-right: 0;\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header .el-tabs__nav-wrap {\n margin: 0;\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header .el-tabs__nav {\n border: 0;\n border-radius: 0;\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header .tab-label {\n margin-left: 2px;\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header .el-tabs__item.is-left {\n line-height: 15px;\n border: 0;\n height: auto;\n padding: 8px;\n color: rgb(255, 255, 255);\n box-sizing: border-box;\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header .el-tabs__item.is-left.is-left.is-active {\n background: #ffffff;\n border: 0;\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header .el-tabs__item.is-left.is-left.is-active i {\n color: #353140;\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header .el-tabs__item.is-left.is-left.is-active .magic-editor-tab-panel-title {\n color: #353140;\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header .el-tabs__item.is-left.is-left:first-child {\n border-right: 0;\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header i {\n font-size: 25px;\n color: rgba(255, 255, 255, 0.6);\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header i:hover {\n color: rgb(255, 255, 255);\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header .magic-editor-tab-panel-title {\n font-size: 12px;\n white-space: normal;\n}\n.m-editor-sidebar .el-scrollbar {\n height: 100%;\n}\n.m-editor-sidebar .el-tree {\n min-height: 100%;\n}\n.m-editor-sidebar .fold-icon {\n position: absolute;\n bottom: 8px;\n left: 0px;\n width: 45px;\n padding-left: 8px;\n color: #fff;\n font-size: 32px;\n opacity: 0.8;\n cursor: pointer;\n}\n.m-editor-sidebar .fold-icon:hover {\n background: rgba(0, 0, 0, 0.2);\n}\n.m-editor-sidebar .el-tabs__content,\n.m-editor-sidebar .el-tab-pane {\n height: 100%;\n}\n.magic-editor-layer-panel {\n background: #ffffff;\n}\n.magic-editor-layer-panel .search-input {\n background: #ffffff;\n color: #bbbbbb;\n padding: 10px;\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1;\n}\n.magic-editor-layer-panel .search-input .el-input__suffix {\n padding: 10px 5px;\n}\n.magic-editor-layer-panel .node-content {\n flex: 1;\n display: flex;\n width: 100%;\n}\n.magic-editor-layer-panel .node-content > div {\n width: 8px;\n}\n.magic-editor-layer-panel .node-content > span {\n width: calc(100% - 68px);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.magic-editor-layer-panel .node-content > i {\n margin-right: 10px;\n font-size: 20px;\n}\n.magic-editor-layer-panel .node-content > i.lock {\n color: #bbb;\n}\n.magic-editor-layer-panel,\n.magic-editor-layer-panel .el-tree {\n background-color: #ffffff;\n color: #313a40;\n}\n.magic-editor-layer-panel .el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {\n background-color: #2882e0;\n color: #fff;\n}\n.magic-editor-layer-panel .cus-tree-node {\n width: 100%;\n overflow: hidden;\n}\n.magic-editor-layer-panel .cus-tree-node-hover {\n background-color: #f3f5f9;\n width: 100%;\n}\n.magic-editor-layer-panel .el-tree-node:focus > .el-tree-node__content {\n background-color: #2882e0;\n color: #fff;\n}\n.ui-tree-tip {\n width: 100%;\n height: 25px;\n margin-left: 10px;\n background: #ffffff;\n font-style: italic;\n color: #555554;\n position: absolute;\n top: 40px;\n left: 0;\n z-index: 1;\n}\n.ui-component-panel {\n height: 100%;\n border-top: 0 !important;\n margin-top: 50px;\n background-color: #ffffff;\n}\n.ui-component-panel .search-input {\n background: #f8fbff;\n color: #bbbbbb;\n padding: 10px;\n position: absolute;\n top: 0;\n left: 0;\n box-sizing: border-box;\n z-index: 1;\n}\n.ui-component-panel .search-input .el-input__prefix {\n padding: 10px;\n}\n.ui-component-panel .search-input .el-input__suffix {\n padding: 10px 5px;\n}\n.ui-component-panel .el-collapse-item > div:first-of-type {\n border-bottom: 1px solid #d9dbdd;\n margin-bottom: 10px;\n}\n.ui-component-panel .el-collapse-item__header {\n background: #ffffff;\n color: #070303;\n height: 25px;\n line-height: 25px;\n padding-left: 10px;\n font-size: 12px;\n}\n.ui-component-panel .el-collapse-item__header i {\n margin-right: 5px;\n font-size: 14px;\n}\n.ui-component-panel .el-collapse-item__wrap {\n background: #ffffff;\n border-bottom: 0;\n}\n.ui-component-panel .el-collapse-item__wrap .el-collapse-item__content {\n padding: 10px;\n display: flex;\n flex-wrap: wrap;\n}\n.ui-component-panel .el-collapse-item__wrap .component-item {\n display: flex;\n overflow: hidden;\n text-overflow: ellipsis;\n margin: 5px 10px;\n box-sizing: border-box;\n color: #070303;\n flex-direction: column;\n width: 42px;\n cursor: pointer;\n}\n.ui-component-panel .el-collapse-item__wrap .component-item i {\n font-size: 20px;\n background: #fff;\n height: 40px;\n width: 40px;\n line-height: 40px;\n border-radius: 5px;\n color: #909090;\n border: 1px solid #d9dbdd;\n display: flex;\n justify-content: space-evenly;\n align-items: center;\n margin-bottom: 5px;\n}\n.ui-component-panel .el-collapse-item__wrap .component-item i:hover {\n background: #2882e0;\n color: #fff;\n border-color: #4e8be1;\n}\n.ui-component-panel .el-collapse-item__wrap .component-item span {\n font-size: 12px;\n text-align: center;\n}\n.ui-component-panel .el-collapse-item__wrap .component-item .el-tooltip {\n width: 50px;\n height: 30px;\n line-height: 15px;\n display: block;\n white-space: normal;\n margin: 0;\n}\n.m-editor-resizer {\n border-left: 1px solid transparent;\n border-right: 1px solid transparent;\n width: 8px;\n margin: 0 -5px;\n height: 100%;\n opacity: 0.9;\n background: padding-box #d8dee8;\n box-sizing: border-box;\n cursor: col-resize;\n z-index: 1;\n}\n.m-editor-resizer:hover {\n border-color: #d8dee8;\n}\n.m-editor-resizer .icon-container {\n visibility: hidden;\n opacity: 0;\n transition: opacity 0.4s;\n width: 20px;\n height: 120px;\n line-height: 120px;\n text-align: center;\n background: #d8dee8;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n cursor: pointer;\n}\n.m-editor-resizer .icon-container.position-left {\n transform: translate(calc(-100% - 4px), -50%);\n}\n.m-editor-resizer .icon-container.position-right {\n transform: translate(calc(100% + 4px), -50%);\n}\n.m-editor-resizer .icon {\n color: #fff;\n font-size: 18px;\n}\n.magic-editor-resizer:hover .icon-container {\n visibility: visible;\n opacity: 1;\n}\n.m-editor-workspace {\n height: 100%;\n width: 100%;\n user-select: none;\n}\n.m-editor-workspace:focus-visible {\n outline: 0;\n}\n.m-editor-page-bar {\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 32px;\n line-height: 32px;\n color: #070303;\n background-color: #f3f3f3;\n border-top: 1px solid #d9dbdd;\n z-index: 2;\n overflow: hidden;\n}\n.m-editor-page-bar-items {\n display: flex;\n transition: transform 0.3s;\n}\n.m-editor-page-bar-item {\n padding: 0 10px;\n cursor: pointer;\n border-right: 1px solid #d9dbdd;\n display: flex;\n justify-items: center;\n align-items: center;\n background-color: #f3f3f3;\n white-space: nowrap;\n}\n.m-editor-page-bar-item.active {\n background-color: #fff;\n cursor: text;\n}\n.m-editor-page-bar-item.active .m-editor-page-bar-menu-icon {\n cursor: pointer;\n}\n.m-editor-page-bar-item-icon {\n position: relative;\n z-index: 1;\n}\n.m-editor-page-bar-item-title {\n max-width: 150px;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n.page-bar-popover.el-popper.el-popover {\n padding: 10px 0;\n}\n.page-bar-popover .menu-item {\n cursor: pointer;\n transition: all 0.2s ease 0s;\n padding: 5px 14px;\n}\n.page-bar-popover .menu-item .el-button--text,\n.page-bar-popover .menu-item i {\n color: #070303;\n}\n.page-bar-popover .menu-item:hover {\n background-color: #f3f5f9;\n}\n.m-editor-props-panel {\n padding: 0 10px;\n}\n.m-editor-props-panel.small .el-form-item__label {\n font-size: 12px;\n}\n.m-editor-props-panel.small .m-fieldset legend {\n font-size: 12px;\n}\n.m-editor-props-panel.small .el-tabs__item {\n font-size: 12px;\n}\n.m-editor-props-panel .el-input__wrapper {\n border-radius: 0;\n}\n.m-editor-props-panel-popper.small span,\n.m-editor-props-panel-popper.small a,\n.m-editor-props-panel-popper.small p {\n font-size: 12px;\n}\n.magic-editor-content-menu {\n position: fixed;\n font-size: 12px;\n background: #fff;\n box-shadow: 0 2px 8px 2px rgba(68, 73, 77, 0.16);\n z-index: 9999;\n transform-origin: 0% 0%;\n font-weight: 600;\n padding: 4px 0px;\n overflow: auto;\n max-height: 100%;\n}\n.magic-editor-content-menu .menu-item {\n color: #333;\n display: flex;\n -webkit-box-align: center;\n align-items: center;\n cursor: pointer;\n min-width: 140px;\n transition: all 0.2s ease 0s;\n padding: 5px 14px;\n border-left: 2px solid transparent;\n}\n.magic-editor-content-menu .menu-item .el-button {\n width: 100%;\n justify-content: flex-start;\n}\n.magic-editor-content-menu .menu-item .el-button--text,\n.magic-editor-content-menu .menu-item i {\n color: #070303;\n}\n.magic-editor-content-menu .menu-item.divider {\n padding: 0 14px;\n}\n.magic-editor-content-menu .menu-item.divider .el-divider {\n margin: 0;\n}\n.magic-editor-content-menu .menu-item:hover {\n background-color: #f3f5f9;\n}\n.m-editor-stage {\n position: relative;\n width: 100%;\n height: calc(100% - 32px);\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.m-editor-stage-container {\n width: 100%;\n height: 100%;\n z-index: 0;\n position: relative;\n border: 1px solid #d9dbdd;\n transition: transform 0.3s;\n box-sizing: content-box;\n}\n.m-editor-stage-container::-webkit-scrollbar {\n width: 0 !important;\n}\n.magic-code-editor {\n width: 100%;\n}\n.magic-code-editor .margin {\n margin: 0;\n}")();
|
|
4219
|
+
var index$1 = /* #__PURE__ */ (() => ".m-editor-nav-menu {\n display: flex;\n z-index: 5;\n -webkit-box-pack: justify;\n justify-content: space-between;\n -webkit-box-align: center;\n align-items: center;\n background-color: #ffffff;\n font-size: 19.2px;\n color: #070303;\n font-weight: 400;\n box-sizing: border-box;\n margin: 0px;\n flex: 0 0 35px;\n border-bottom: 1px solid #d8dee8;\n}\n.m-editor-nav-menu > div {\n display: flex;\n height: 100%;\n z-index: 1;\n align-items: center;\n}\n.m-editor-nav-menu .menu-center {\n justify-content: center;\n}\n.m-editor-nav-menu .menu-right {\n justify-content: flex-end;\n}\n.m-editor-nav-menu .menu-item {\n flex-direction: row;\n -webkit-box-align: center;\n align-items: center;\n vertical-align: middle;\n font-size: 14px;\n line-height: 1;\n height: 100%;\n color: rgba(255, 255, 255, 0.7);\n box-sizing: inherit;\n z-index: 1;\n display: flex !important;\n transition: all 0.3s ease 0s;\n border-bottom: 2px solid transparent;\n margin: 0;\n}\n.m-editor-nav-menu .menu-item .is-disabled {\n opacity: 0.5;\n}\n.m-editor-nav-menu .menu-item .is-text {\n padding: 5px;\n}\n.m-editor-nav-menu .menu-item .is-text,\n.m-editor-nav-menu .menu-item i {\n color: #070303;\n}\n.m-editor-nav-menu .menu-item .icon {\n display: flex;\n -webkit-box-align: center;\n align-items: center;\n height: 100%;\n padding: 0px 8px;\n}\n.m-editor-nav-menu .menu-item .menu-item-text {\n color: #070303;\n}\n.m-editor {\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n.m-editor-content {\n width: 100%;\n height: calc(100% - 35px);\n display: flex;\n justify-self: space-between;\n}\n.m-editor-framework-center {\n position: relative;\n transform: translateZ(0);\n flex: 1;\n}\n.m-editor-framework-left {\n background-color: #ffffff;\n}\n.m-editor-framework-center .el-scrollbar__view {\n height: 100%;\n min-height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.m-editor-empty-panel {\n display: flex;\n flex: 1;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n height: calc(100% - 32px);\n}\n.m-editor-empty-content {\n display: flex;\n justify-content: space-evenly;\n flex-direction: row;\n width: 100%;\n}\n.m-editor-empty-button {\n border: 3px solid rgba(0, 0, 0, 0.2);\n padding: 10px 40px;\n color: rgba(0, 0, 0, 0.6);\n cursor: pointer;\n}\n.m-editor-empty-button i {\n height: 180px;\n line-height: 180px;\n font-size: 100px;\n}\n.m-editor-empty-button p {\n text-align: center;\n font-size: 20px;\n margin-top: 5px;\n}\n.m-editor-empty-button:hover {\n border-color: #2882e0;\n color: #2882e0;\n}\n.m-editor-sidebar {\n height: 100%;\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header {\n background: #2882e0;\n border: 0;\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header.is-left {\n width: 40px;\n margin-right: 0;\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header .el-tabs__nav-wrap {\n margin: 0;\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header .el-tabs__nav {\n border: 0;\n border-radius: 0;\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header .tab-label {\n margin-left: 2px;\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header .el-tabs__item.is-left {\n line-height: 15px;\n border: 0;\n height: auto;\n padding: 8px;\n color: rgb(255, 255, 255);\n box-sizing: border-box;\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header .el-tabs__item.is-left.is-left.is-active {\n background: #ffffff;\n border: 0;\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header .el-tabs__item.is-left.is-left.is-active i {\n color: #353140;\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header .el-tabs__item.is-left.is-left.is-active .magic-editor-tab-panel-title {\n color: #353140;\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header .el-tabs__item.is-left.is-left:first-child {\n border-right: 0;\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header i {\n font-size: 25px;\n color: rgba(255, 255, 255, 0.6);\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header i:hover {\n color: rgb(255, 255, 255);\n}\n.m-editor-sidebar.el-tabs--left .el-tabs__header .magic-editor-tab-panel-title {\n font-size: 12px;\n white-space: normal;\n}\n.m-editor-sidebar .el-scrollbar {\n height: 100%;\n}\n.m-editor-sidebar .el-tree {\n min-height: 100%;\n}\n.m-editor-sidebar .fold-icon {\n position: absolute;\n bottom: 8px;\n left: 0px;\n width: 45px;\n padding-left: 8px;\n color: #fff;\n font-size: 32px;\n opacity: 0.8;\n cursor: pointer;\n}\n.m-editor-sidebar .fold-icon:hover {\n background: rgba(0, 0, 0, 0.2);\n}\n.m-editor-sidebar .el-tabs__content,\n.m-editor-sidebar .el-tab-pane {\n height: 100%;\n}\n.magic-editor-layer-panel {\n background: #ffffff;\n}\n.magic-editor-layer-panel .search-input {\n background: #ffffff;\n color: #bbbbbb;\n padding: 10px;\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1;\n}\n.magic-editor-layer-panel .search-input .el-input__suffix {\n padding: 10px 5px;\n}\n.magic-editor-layer-panel .node-content {\n flex: 1;\n display: flex;\n width: 100%;\n}\n.magic-editor-layer-panel .node-content > div {\n width: 8px;\n}\n.magic-editor-layer-panel .node-content > span {\n width: calc(100% - 68px);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.magic-editor-layer-panel .node-content > i {\n margin-right: 10px;\n font-size: 20px;\n}\n.magic-editor-layer-panel .node-content > i.lock {\n color: #bbb;\n}\n.magic-editor-layer-panel,\n.magic-editor-layer-panel .el-tree {\n background-color: #ffffff;\n color: #313a40;\n}\n.magic-editor-layer-panel .el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {\n background-color: #2882e0;\n color: #fff;\n}\n.magic-editor-layer-panel .cus-tree-node {\n width: 100%;\n overflow: hidden;\n}\n.magic-editor-layer-panel .cus-tree-node-hover {\n background-color: #f3f5f9;\n width: 100%;\n}\n.magic-editor-layer-panel .el-tree-node:focus > .el-tree-node__content {\n background-color: #2882e0;\n color: #fff;\n}\n.ui-tree-tip {\n width: 100%;\n height: 25px;\n margin-left: 10px;\n background: #ffffff;\n font-style: italic;\n color: #555554;\n position: absolute;\n top: 40px;\n left: 0;\n z-index: 1;\n}\n.ui-component-panel {\n height: 100%;\n border-top: 0 !important;\n margin-top: 50px;\n background-color: #ffffff;\n}\n.ui-component-panel .search-input {\n background: #f8fbff;\n color: #bbbbbb;\n padding: 10px;\n position: absolute;\n top: 0;\n left: 0;\n box-sizing: border-box;\n z-index: 1;\n}\n.ui-component-panel .search-input .el-input__prefix {\n padding: 10px;\n}\n.ui-component-panel .search-input .el-input__suffix {\n padding: 10px 5px;\n}\n.ui-component-panel .el-collapse-item > div:first-of-type {\n border-bottom: 1px solid #d9dbdd;\n margin-bottom: 10px;\n}\n.ui-component-panel .el-collapse-item__header {\n background: #ffffff;\n color: #070303;\n height: 25px;\n line-height: 25px;\n padding-left: 10px;\n font-size: 12px;\n}\n.ui-component-panel .el-collapse-item__header i {\n margin-right: 5px;\n font-size: 14px;\n}\n.ui-component-panel .el-collapse-item__wrap {\n background: #ffffff;\n border-bottom: 0;\n}\n.ui-component-panel .el-collapse-item__wrap .el-collapse-item__content {\n padding: 10px;\n display: flex;\n flex-wrap: wrap;\n}\n.ui-component-panel .el-collapse-item__wrap .component-item {\n display: flex;\n overflow: hidden;\n text-overflow: ellipsis;\n margin: 5px 10px;\n box-sizing: border-box;\n color: #070303;\n flex-direction: column;\n width: 42px;\n cursor: pointer;\n}\n.ui-component-panel .el-collapse-item__wrap .component-item i {\n font-size: 20px;\n background: #fff;\n height: 40px;\n width: 40px;\n line-height: 40px;\n border-radius: 5px;\n color: #909090;\n border: 1px solid #d9dbdd;\n display: flex;\n justify-content: space-evenly;\n align-items: center;\n margin-bottom: 5px;\n}\n.ui-component-panel .el-collapse-item__wrap .component-item i:hover {\n background: #2882e0;\n color: #fff;\n border-color: #4e8be1;\n}\n.ui-component-panel .el-collapse-item__wrap .component-item span {\n font-size: 12px;\n text-align: center;\n}\n.ui-component-panel .el-collapse-item__wrap .component-item .el-tooltip {\n width: 50px;\n height: 30px;\n line-height: 15px;\n display: block;\n white-space: normal;\n margin: 0;\n}\n.m-editor-resizer {\n border-left: 1px solid transparent;\n border-right: 1px solid transparent;\n width: 8px;\n margin: 0 -5px;\n height: 100%;\n opacity: 0.9;\n background: padding-box #d8dee8;\n box-sizing: border-box;\n cursor: col-resize;\n z-index: 1;\n}\n.m-editor-resizer:hover {\n border-color: #d8dee8;\n}\n.m-editor-resizer .icon-container {\n visibility: hidden;\n opacity: 0;\n transition: opacity 0.4s;\n width: 20px;\n height: 120px;\n line-height: 120px;\n text-align: center;\n background: #d8dee8;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n cursor: pointer;\n}\n.m-editor-resizer .icon-container.position-left {\n transform: translate(calc(-100% - 4px), -50%);\n}\n.m-editor-resizer .icon-container.position-right {\n transform: translate(calc(100% + 4px), -50%);\n}\n.m-editor-resizer .icon {\n color: #fff;\n font-size: 18px;\n}\n.magic-editor-resizer:hover .icon-container {\n visibility: visible;\n opacity: 1;\n}\n.m-editor-workspace {\n height: 100%;\n width: 100%;\n user-select: none;\n}\n.m-editor-workspace:focus-visible {\n outline: 0;\n}\n.m-editor-page-bar {\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 32px;\n line-height: 32px;\n color: #070303;\n background-color: #f3f3f3;\n border-top: 1px solid #d9dbdd;\n z-index: 2;\n overflow: hidden;\n}\n.m-editor-page-bar-items {\n display: flex;\n transition: transform 0.3s;\n}\n.m-editor-page-bar-item {\n padding: 0 10px;\n cursor: pointer;\n border-right: 1px solid #d9dbdd;\n display: flex;\n justify-items: center;\n align-items: center;\n background-color: #f3f3f3;\n white-space: nowrap;\n}\n.m-editor-page-bar-item.active {\n background-color: #fff;\n cursor: text;\n}\n.m-editor-page-bar-item.active .m-editor-page-bar-menu-icon {\n cursor: pointer;\n}\n.m-editor-page-bar-item-icon {\n position: relative;\n z-index: 1;\n}\n.m-editor-page-bar-item-title {\n max-width: 150px;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n.page-bar-popover.el-popper.el-popover {\n padding: 10px 0;\n}\n.page-bar-popover .menu-item {\n cursor: pointer;\n transition: all 0.2s ease 0s;\n padding: 5px 14px;\n}\n.page-bar-popover .menu-item .el-button--text,\n.page-bar-popover .menu-item i {\n color: #070303;\n}\n.page-bar-popover .menu-item:hover {\n background-color: #f3f5f9;\n}\n.m-editor-props-panel {\n padding: 0 10px;\n}\n.m-editor-props-panel.small .el-form-item__label {\n font-size: 12px;\n}\n.m-editor-props-panel.small .m-fieldset legend {\n font-size: 12px;\n}\n.m-editor-props-panel.small .el-tabs__item {\n font-size: 12px;\n}\n.m-editor-props-panel .el-input__wrapper {\n border-radius: 0;\n}\n.m-editor-props-panel-popper.small span,\n.m-editor-props-panel-popper.small a,\n.m-editor-props-panel-popper.small p {\n font-size: 12px;\n}\n.magic-editor-content-menu {\n position: fixed;\n font-size: 12px;\n background: #fff;\n box-shadow: 0 2px 8px 2px rgba(68, 73, 77, 0.16);\n z-index: 9999;\n transform-origin: 0% 0%;\n font-weight: 600;\n padding: 4px 0px;\n overflow: auto;\n max-height: 100%;\n}\n.magic-editor-content-menu .menu-item {\n color: #333;\n display: flex;\n -webkit-box-align: center;\n align-items: center;\n cursor: pointer;\n min-width: 140px;\n transition: all 0.2s ease 0s;\n padding: 5px 14px;\n border-left: 2px solid transparent;\n}\n.magic-editor-content-menu .menu-item .el-button {\n width: 100%;\n justify-content: flex-start;\n}\n.magic-editor-content-menu .menu-item .el-button--text,\n.magic-editor-content-menu .menu-item i {\n color: #070303;\n}\n.magic-editor-content-menu .menu-item.divider {\n padding: 0 14px;\n}\n.magic-editor-content-menu .menu-item.divider .el-divider {\n margin: 0;\n}\n.magic-editor-content-menu .menu-item:hover {\n background-color: #f3f5f9;\n}\n.m-editor-stage {\n position: relative;\n width: 100%;\n height: calc(100% - 32px);\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.m-editor-stage-container {\n width: 100%;\n height: 100%;\n z-index: 0;\n position: relative;\n transition: transform 0.3s;\n box-sizing: content-box;\n box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;\n}\n.m-editor-stage-container::-webkit-scrollbar {\n width: 0 !important;\n}\n.magic-code-editor {\n width: 100%;\n}\n.magic-code-editor .margin {\n margin: 0;\n}")();
|
|
4207
4220
|
|
|
4208
4221
|
const defaultInstallOpt = {};
|
|
4209
4222
|
var index = {
|
|
@@ -4219,5 +4232,5 @@ var index = {
|
|
|
4219
4232
|
}
|
|
4220
4233
|
};
|
|
4221
4234
|
|
|
4222
|
-
export { COPY_STORAGE_KEY, ComponentListPanel, DEFAULT_CONFIG, Fixed2Other, H_GUIDE_LINE_STORAGE_KEY, Keys, LayerOffset, LayerPanel, Layout, PropsPanel, CodeEditor as TMagicCodeEditor, Editor as TMagicEditor, ToolButton, V_GUIDE_LINE_STORAGE_KEY, change2Fixed, debug, index as default, editorService, error, eventsService, fillConfig, fixNodeLeft, generatePageName, generatePageNameByApp, getConfig,
|
|
4235
|
+
export { COPY_STORAGE_KEY, ComponentListPanel, DEFAULT_CONFIG, Fixed2Other, H_GUIDE_LINE_STORAGE_KEY, Keys, LayerOffset, LayerPanel, Layout, PropsPanel, CodeEditor as TMagicCodeEditor, Editor as TMagicEditor, ToolButton, V_GUIDE_LINE_STORAGE_KEY, change2Fixed, debug, index as default, editorService, error, eventsService, fillConfig, fixNodeLeft, generatePageName, generatePageNameByApp, getConfig, getGuideLineFromCache, getInitPositionStyle, getNodeIndex, getPageList, getPageNameList, getRelativeStyle, historyService, info, isFixed, log, propsService, setConfig, setLayout, uiService, warn };
|
|
4223
4236
|
//# sourceMappingURL=tmagic-editor.es.js.map
|