@tmagic/editor 1.5.7 → 1.5.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/dist/style.css +17 -0
- package/dist/tmagic-editor.js +463 -470
- package/dist/tmagic-editor.umd.cjs +471 -469
- package/package.json +7 -7
- package/src/components/CodeBlockEditor.vue +4 -4
- package/src/components/FloatingBox.vue +4 -4
- package/src/components/ToolButton.vue +6 -4
- package/src/components/TreeNode.vue +2 -2
- package/src/fields/CodeSelect.vue +6 -6
- package/src/fields/CodeSelectCol.vue +5 -4
- package/src/fields/CondOpSelect.vue +5 -4
- package/src/fields/DataSourceFieldSelect/FieldSelect.vue +6 -5
- package/src/fields/DataSourceFieldSelect/Index.vue +4 -3
- package/src/fields/DataSourceFields.vue +3 -3
- package/src/fields/DataSourceInput.vue +4 -4
- package/src/fields/DataSourceMethodSelect.vue +8 -9
- package/src/fields/DataSourceMocks.vue +3 -3
- package/src/fields/DataSourceSelect.vue +6 -5
- package/src/fields/DisplayConds.vue +4 -4
- package/src/fields/EventSelect.vue +17 -23
- package/src/fields/PageFragmentSelect.vue +6 -5
- package/src/fields/UISelect.vue +16 -19
- package/src/hooks/index.ts +1 -0
- package/src/hooks/use-code-block-edit.ts +5 -10
- package/src/hooks/use-data-source-edit.ts +6 -6
- package/src/hooks/use-editor-content-height.ts +5 -5
- package/src/hooks/use-float-box.ts +5 -5
- package/src/hooks/use-next-float-box-position.ts +9 -9
- package/src/hooks/use-services.ts +13 -0
- package/src/hooks/use-stage.ts +2 -6
- package/src/layouts/AddPageBox.vue +3 -7
- package/src/layouts/Framework.vue +27 -27
- package/src/layouts/NavMenu.vue +16 -16
- package/src/layouts/page-bar/AddButton.vue +4 -7
- package/src/layouts/page-bar/PageBar.vue +10 -10
- package/src/layouts/page-bar/PageBarScrollContainer.vue +7 -8
- package/src/layouts/page-bar/PageList.vue +6 -8
- package/src/layouts/props-panel/FormPanel.vue +6 -4
- package/src/layouts/props-panel/PropsPanel.vue +39 -49
- package/src/layouts/props-panel/use-style-panel.ts +35 -19
- package/src/layouts/sidebar/ComponentListPanel.vue +5 -5
- package/src/layouts/sidebar/Sidebar.vue +15 -9
- package/src/layouts/sidebar/code-block/CodeBlockList.vue +13 -18
- package/src/layouts/sidebar/code-block/CodeBlockListPanel.vue +4 -3
- package/src/layouts/sidebar/code-block/useContentMenu.ts +3 -3
- package/src/layouts/sidebar/data-source/DataSourceConfigPanel.vue +5 -5
- package/src/layouts/sidebar/data-source/DataSourceList.vue +13 -17
- package/src/layouts/sidebar/data-source/DataSourceListPanel.vue +6 -12
- package/src/layouts/sidebar/data-source/useContentMenu.ts +3 -3
- package/src/layouts/sidebar/layer/LayerMenu.vue +11 -8
- package/src/layouts/sidebar/layer/LayerNodeTool.vue +2 -6
- package/src/layouts/sidebar/layer/LayerPanel.vue +6 -12
- package/src/layouts/sidebar/layer/use-click.ts +16 -15
- package/src/layouts/sidebar/layer/use-drag.ts +6 -6
- package/src/layouts/sidebar/layer/use-keybinding.ts +6 -8
- package/src/layouts/sidebar/layer/use-node-status.ts +16 -7
- package/src/layouts/workspace/Breadcrumb.vue +8 -9
- package/src/layouts/workspace/Workspace.vue +4 -10
- package/src/layouts/workspace/viewer/NodeListMenu.vue +9 -8
- package/src/layouts/workspace/viewer/Stage.vue +24 -24
- package/src/layouts/workspace/viewer/StageOverlay.vue +15 -16
- package/src/layouts/workspace/viewer/ViewerMenu.vue +15 -14
- package/src/services/dep.ts +23 -8
- package/src/services/ui.ts +6 -2
- package/src/theme/common/var.scss +1 -0
- package/src/theme/sidebar.scss +20 -1
- package/src/type.ts +3 -9
- package/src/utils/const.ts +11 -0
- package/src/utils/content-menu.ts +28 -30
- package/src/utils/idle-task.ts +11 -0
- package/src/utils/index.ts +1 -0
- package/types/index.d.ts +28 -10
package/src/type.ts
CHANGED
|
@@ -321,9 +321,9 @@ export interface MenuButton {
|
|
|
321
321
|
/** Vue组件或url */
|
|
322
322
|
icon?: string | Component<{}, {}, any>;
|
|
323
323
|
/** 是否置灰,默认为false */
|
|
324
|
-
disabled?: boolean | ((data
|
|
324
|
+
disabled?: boolean | ((data: Services) => boolean);
|
|
325
325
|
/** 是否显示,默认为true */
|
|
326
|
-
display?: boolean | ((data
|
|
326
|
+
display?: boolean | ((data: Services) => boolean);
|
|
327
327
|
/** type为button/dropdown时点击运行的方法 */
|
|
328
328
|
handler?: (data: Services, event: MouseEvent) => Promise<any> | any;
|
|
329
329
|
className?: string;
|
|
@@ -344,7 +344,7 @@ export interface MenuComponent {
|
|
|
344
344
|
slots?: Record<string, any>;
|
|
345
345
|
/** 是否显示,默认为true */
|
|
346
346
|
className?: string;
|
|
347
|
-
display?: boolean | ((data
|
|
347
|
+
display?: boolean | ((data: Services) => Promise<boolean> | boolean);
|
|
348
348
|
[key: string]: any;
|
|
349
349
|
}
|
|
350
350
|
|
|
@@ -473,9 +473,6 @@ export enum Keys {
|
|
|
473
473
|
ESCAPE = 'Space',
|
|
474
474
|
}
|
|
475
475
|
|
|
476
|
-
export const H_GUIDE_LINE_STORAGE_KEY = '$MagicStageHorizontalGuidelinesData';
|
|
477
|
-
export const V_GUIDE_LINE_STORAGE_KEY = '$MagicStageVerticalGuidelinesData';
|
|
478
|
-
|
|
479
476
|
export interface ScrollViewerEvent {
|
|
480
477
|
scrollLeft: number;
|
|
481
478
|
scrollTop: number;
|
|
@@ -721,9 +718,6 @@ export enum DragType {
|
|
|
721
718
|
LAYER_TREE = 'layer-tree',
|
|
722
719
|
}
|
|
723
720
|
|
|
724
|
-
/** 当uiService.get('uiSelectMode')为true,点击组件(包括任何形式,组件树/画布)时触发的事件名 */
|
|
725
|
-
export const UI_SELECT_MODE_EVENT_NAME = 'ui-select';
|
|
726
|
-
|
|
727
721
|
export interface TreeNodeData {
|
|
728
722
|
id: Id;
|
|
729
723
|
name?: string;
|
package/src/utils/const.ts
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
|
+
/** 当uiService.get('uiSelectMode')为true,点击组件(包括任何形式,组件树/画布)时触发的事件名 */
|
|
2
|
+
export const UI_SELECT_MODE_EVENT_NAME = 'ui-select';
|
|
3
|
+
|
|
1
4
|
export const LEFT_COLUMN_WIDTH_STORAGE_KEY = '$MagicEditorLeftColumnWidthData';
|
|
2
5
|
export const RIGHT_COLUMN_WIDTH_STORAGE_KEY = '$MagicEditorRightColumnWidthData';
|
|
6
|
+
export const PROPS_PANEL_WIDTH_STORAGE_KEY = '$MagicEditorPropsPanelWidthData';
|
|
3
7
|
|
|
4
8
|
export const DEFAULT_LEFT_COLUMN_WIDTH = 310;
|
|
5
9
|
export const DEFAULT_RIGHT_COLUMN_WIDTH = 480;
|
|
10
|
+
|
|
11
|
+
export const MIN_LEFT_COLUMN_WIDTH = 200;
|
|
12
|
+
export const MIN_CENTER_COLUMN_WIDTH = 400;
|
|
13
|
+
export const MIN_RIGHT_COLUMN_WIDTH = 300;
|
|
14
|
+
|
|
15
|
+
export const H_GUIDE_LINE_STORAGE_KEY = '$MagicStageHorizontalGuidelinesData';
|
|
16
|
+
export const V_GUIDE_LINE_STORAGE_KEY = '$MagicStageVerticalGuidelinesData';
|
|
@@ -13,13 +13,13 @@ export const useDeleteMenu = (): MenuButton => ({
|
|
|
13
13
|
type: 'button',
|
|
14
14
|
text: '删除',
|
|
15
15
|
icon: Delete,
|
|
16
|
-
display: (
|
|
17
|
-
const node =
|
|
16
|
+
display: ({ editorService }) => {
|
|
17
|
+
const node = editorService.get('node');
|
|
18
18
|
return node?.type !== NodeType.ROOT && !isPage(node) && !isPageFragment(node);
|
|
19
19
|
},
|
|
20
|
-
handler: (
|
|
21
|
-
const nodes =
|
|
22
|
-
nodes &&
|
|
20
|
+
handler: ({ editorService }) => {
|
|
21
|
+
const nodes = editorService.get('nodes');
|
|
22
|
+
nodes && editorService.remove(nodes);
|
|
23
23
|
},
|
|
24
24
|
});
|
|
25
25
|
|
|
@@ -27,9 +27,9 @@ export const useCopyMenu = (): MenuButton => ({
|
|
|
27
27
|
type: 'button',
|
|
28
28
|
text: '复制',
|
|
29
29
|
icon: markRaw(CopyDocument),
|
|
30
|
-
handler: (
|
|
31
|
-
const nodes =
|
|
32
|
-
nodes &&
|
|
30
|
+
handler: ({ editorService }) => {
|
|
31
|
+
const nodes = editorService?.get('nodes');
|
|
32
|
+
nodes && editorService?.copy(nodes);
|
|
33
33
|
},
|
|
34
34
|
});
|
|
35
35
|
|
|
@@ -37,57 +37,55 @@ export const usePasteMenu = (menu?: ShallowRef<InstanceType<typeof ContentMenu>
|
|
|
37
37
|
type: 'button',
|
|
38
38
|
text: '粘贴',
|
|
39
39
|
icon: markRaw(DocumentCopy),
|
|
40
|
-
display: (
|
|
41
|
-
handler: (
|
|
42
|
-
const nodes =
|
|
40
|
+
display: ({ storageService }) => !!storageService.getItem(COPY_STORAGE_KEY),
|
|
41
|
+
handler: ({ editorService, uiService }) => {
|
|
42
|
+
const nodes = editorService?.get('nodes');
|
|
43
43
|
if (!nodes || nodes.length === 0) return;
|
|
44
44
|
|
|
45
45
|
if (menu?.value?.$el) {
|
|
46
|
-
const stage =
|
|
46
|
+
const stage = editorService.get('stage');
|
|
47
47
|
const rect = menu.value.$el.getBoundingClientRect();
|
|
48
48
|
const parentRect = stage?.container?.getBoundingClientRect();
|
|
49
49
|
const initialLeft =
|
|
50
50
|
calcValueByFontsize(stage?.renderer?.getDocument(), (rect.left || 0) - (parentRect?.left || 0)) /
|
|
51
|
-
|
|
51
|
+
uiService.get('zoom');
|
|
52
52
|
const initialTop =
|
|
53
53
|
calcValueByFontsize(stage?.renderer?.getDocument(), (rect.top || 0) - (parentRect?.top || 0)) /
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
uiService.get('zoom');
|
|
55
|
+
editorService.paste({ left: initialLeft, top: initialTop });
|
|
56
56
|
} else {
|
|
57
|
-
|
|
57
|
+
editorService.paste();
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
});
|
|
61
61
|
|
|
62
|
-
const moveTo = (id: Id,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
const nodes = services.editorService.get('nodes') || [];
|
|
66
|
-
const parent = services.editorService.getNodeById(id) as MContainer;
|
|
62
|
+
const moveTo = (id: Id, { editorService }: Services) => {
|
|
63
|
+
const nodes = editorService.get('nodes') || [];
|
|
64
|
+
const parent = editorService.getNodeById(id) as MContainer;
|
|
67
65
|
|
|
68
66
|
if (!parent) return;
|
|
69
67
|
|
|
70
|
-
|
|
71
|
-
|
|
68
|
+
editorService.add(nodes, parent);
|
|
69
|
+
editorService.remove(nodes);
|
|
72
70
|
};
|
|
73
71
|
|
|
74
|
-
export const useMoveToMenu = (
|
|
75
|
-
const root = computed(() =>
|
|
72
|
+
export const useMoveToMenu = ({ editorService }: Services): MenuButton => {
|
|
73
|
+
const root = computed(() => editorService.get('root'));
|
|
76
74
|
|
|
77
75
|
return {
|
|
78
76
|
type: 'button',
|
|
79
77
|
text: '移动至',
|
|
80
|
-
display: (
|
|
81
|
-
const node =
|
|
82
|
-
const pageLength =
|
|
78
|
+
display: ({ editorService }) => {
|
|
79
|
+
const node = editorService.get('node');
|
|
80
|
+
const pageLength = editorService.get('pageLength');
|
|
83
81
|
return !isPage(node) && pageLength > 1;
|
|
84
82
|
},
|
|
85
83
|
items: (root.value?.items || [])
|
|
86
|
-
.filter((page) => page.id !==
|
|
84
|
+
.filter((page) => page.id !== editorService.get('page')?.id)
|
|
87
85
|
.map((page) => ({
|
|
88
86
|
text: `${page.name}(${page.id})`,
|
|
89
87
|
type: 'button',
|
|
90
|
-
handler: (services
|
|
88
|
+
handler: (services: Services) => {
|
|
91
89
|
moveTo(page.id, services);
|
|
92
90
|
},
|
|
93
91
|
})),
|
package/src/utils/idle-task.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { EventEmitter } from 'events';
|
|
|
3
3
|
export interface IdleTaskEvents {
|
|
4
4
|
finish: [];
|
|
5
5
|
'hight-level-finish': [];
|
|
6
|
+
'update-task-length': [{ length: number; hightLevelLength: number }];
|
|
6
7
|
}
|
|
7
8
|
|
|
8
9
|
type TaskList<T> = {
|
|
@@ -55,6 +56,11 @@ export class IdleTask<T = any> extends EventEmitter {
|
|
|
55
56
|
this.hightLevelTaskList = [];
|
|
56
57
|
this.taskList = [];
|
|
57
58
|
this.taskHandle = null;
|
|
59
|
+
|
|
60
|
+
this.emit('update-task-length', {
|
|
61
|
+
length: this.taskList.length + this.hightLevelTaskList.length,
|
|
62
|
+
hightLevelLength: this.hightLevelTaskList.length,
|
|
63
|
+
});
|
|
58
64
|
}
|
|
59
65
|
|
|
60
66
|
public on<Name extends keyof IdleTaskEvents, Param extends IdleTaskEvents[Name]>(
|
|
@@ -117,5 +123,10 @@ export class IdleTask<T = any> extends EventEmitter {
|
|
|
117
123
|
|
|
118
124
|
this.emit('finish');
|
|
119
125
|
}
|
|
126
|
+
|
|
127
|
+
this.emit('update-task-length', {
|
|
128
|
+
length: taskList.length + hightLevelTaskList.length,
|
|
129
|
+
hightLevelLength: hightLevelTaskList.length,
|
|
130
|
+
});
|
|
120
131
|
}
|
|
121
132
|
}
|
package/src/utils/index.ts
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -301,11 +301,14 @@ interface DepEvents {
|
|
|
301
301
|
}
|
|
302
302
|
interface State$1 {
|
|
303
303
|
collecting: boolean;
|
|
304
|
+
taskLength: number;
|
|
304
305
|
}
|
|
305
306
|
type StateKey = keyof State$1;
|
|
306
307
|
declare class Dep extends export_default {
|
|
307
308
|
private state;
|
|
309
|
+
private idleTask;
|
|
308
310
|
private watcher;
|
|
311
|
+
constructor();
|
|
309
312
|
set<K extends StateKey, T extends State$1[K]>(name: K, value: T): void;
|
|
310
313
|
get<K extends StateKey>(name: K): State$1[K];
|
|
311
314
|
removeTargets(type?: string): void;
|
|
@@ -1049,9 +1052,9 @@ interface MenuButton {
|
|
|
1049
1052
|
/** Vue组件或url */
|
|
1050
1053
|
icon?: string | Component<{}, {}, any>;
|
|
1051
1054
|
/** 是否置灰,默认为false */
|
|
1052
|
-
disabled?: boolean | ((data
|
|
1055
|
+
disabled?: boolean | ((data: Services) => boolean);
|
|
1053
1056
|
/** 是否显示,默认为true */
|
|
1054
|
-
display?: boolean | ((data
|
|
1057
|
+
display?: boolean | ((data: Services) => boolean);
|
|
1055
1058
|
/** type为button/dropdown时点击运行的方法 */
|
|
1056
1059
|
handler?: (data: Services, event: MouseEvent) => Promise<any> | any;
|
|
1057
1060
|
className?: string;
|
|
@@ -1071,7 +1074,7 @@ interface MenuComponent {
|
|
|
1071
1074
|
slots?: Record<string, any>;
|
|
1072
1075
|
/** 是否显示,默认为true */
|
|
1073
1076
|
className?: string;
|
|
1074
|
-
display?: boolean | ((data
|
|
1077
|
+
display?: boolean | ((data: Services) => Promise<boolean> | boolean);
|
|
1075
1078
|
[key: string]: any;
|
|
1076
1079
|
}
|
|
1077
1080
|
/**
|
|
@@ -1173,8 +1176,6 @@ declare enum Layout {
|
|
|
1173
1176
|
declare enum Keys {
|
|
1174
1177
|
ESCAPE = "Space"
|
|
1175
1178
|
}
|
|
1176
|
-
declare const H_GUIDE_LINE_STORAGE_KEY = "$MagicStageHorizontalGuidelinesData";
|
|
1177
|
-
declare const V_GUIDE_LINE_STORAGE_KEY = "$MagicStageVerticalGuidelinesData";
|
|
1178
1179
|
interface ScrollViewerEvent {
|
|
1179
1180
|
scrollLeft: number;
|
|
1180
1181
|
scrollTop: number;
|
|
@@ -1390,8 +1391,6 @@ declare enum DragType {
|
|
|
1390
1391
|
/** 拖动组件树节点 */
|
|
1391
1392
|
LAYER_TREE = "layer-tree"
|
|
1392
1393
|
}
|
|
1393
|
-
/** 当uiService.get('uiSelectMode')为true,点击组件(包括任何形式,组件树/画布)时触发的事件名 */
|
|
1394
|
-
declare const UI_SELECT_MODE_EVENT_NAME = "ui-select";
|
|
1395
1394
|
interface TreeNodeData {
|
|
1396
1395
|
id: Id;
|
|
1397
1396
|
name?: string;
|
|
@@ -2022,7 +2021,7 @@ type ChildConfig = FormItem | TabConfig | RowConfig | FieldsetConfig | PanelConf
|
|
|
2022
2021
|
type FormConfig = ChildConfig[];
|
|
2023
2022
|
type FormValue = Record<string | number, any>;
|
|
2024
2023
|
|
|
2025
|
-
declare const useCodeBlockEdit: (codeBlockService
|
|
2024
|
+
declare const useCodeBlockEdit: (codeBlockService: Services["codeBlockService"]) => {
|
|
2026
2025
|
codeId: vue.Ref<string | undefined, string | undefined>;
|
|
2027
2026
|
codeConfig: vue.Ref<CodeBlockContent | undefined, CodeBlockContent | undefined>;
|
|
2028
2027
|
codeBlockEditor: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
@@ -3109,7 +3108,7 @@ declare const useGetSo: (target: ShallowRef<HTMLElement | null>, emit: (evt: "ch
|
|
|
3109
3108
|
isDragging: vue.Ref<boolean, boolean>;
|
|
3110
3109
|
};
|
|
3111
3110
|
|
|
3112
|
-
declare const useNextFloatBoxPosition: (uiService
|
|
3111
|
+
declare const useNextFloatBoxPosition: (uiService: Services["uiService"], parent?: Ref<HTMLDivElement | null>) => {
|
|
3113
3112
|
boxPosition: Ref<{
|
|
3114
3113
|
left: number;
|
|
3115
3114
|
top: number;
|
|
@@ -3137,6 +3136,8 @@ declare const useNodeStatus: (nodeData: ComputedRef<TreeNodeData[]>) => {
|
|
|
3137
3136
|
}> & Omit<Map<Id, LayerNodeStatus>, keyof Map<any, any>>)>;
|
|
3138
3137
|
};
|
|
3139
3138
|
|
|
3139
|
+
declare const useServices: () => Services;
|
|
3140
|
+
|
|
3140
3141
|
declare const setEditorConfig: (option: EditorInstallOptions) => void;
|
|
3141
3142
|
declare const getEditorConfig: <K extends keyof EditorInstallOptions>(key: K) => EditorInstallOptions[K];
|
|
3142
3143
|
|
|
@@ -3246,6 +3247,10 @@ declare const removeDataSourceFieldPrefix: (id?: string) => string;
|
|
|
3246
3247
|
interface IdleTaskEvents {
|
|
3247
3248
|
finish: [];
|
|
3248
3249
|
'hight-level-finish': [];
|
|
3250
|
+
'update-task-length': [{
|
|
3251
|
+
length: number;
|
|
3252
|
+
hightLevelLength: number;
|
|
3253
|
+
}];
|
|
3249
3254
|
}
|
|
3250
3255
|
declare class IdleTask<T = any> extends EventEmitter {
|
|
3251
3256
|
private taskList;
|
|
@@ -3298,6 +3303,19 @@ declare class ScrollViewer extends EventEmitter {
|
|
|
3298
3303
|
|
|
3299
3304
|
declare const updateStatus: (nodeStatusMap: Map<Id, LayerNodeStatus>, id: Id, status: Partial<LayerNodeStatus>) => void;
|
|
3300
3305
|
|
|
3306
|
+
/** 当uiService.get('uiSelectMode')为true,点击组件(包括任何形式,组件树/画布)时触发的事件名 */
|
|
3307
|
+
declare const UI_SELECT_MODE_EVENT_NAME = "ui-select";
|
|
3308
|
+
declare const LEFT_COLUMN_WIDTH_STORAGE_KEY = "$MagicEditorLeftColumnWidthData";
|
|
3309
|
+
declare const RIGHT_COLUMN_WIDTH_STORAGE_KEY = "$MagicEditorRightColumnWidthData";
|
|
3310
|
+
declare const PROPS_PANEL_WIDTH_STORAGE_KEY = "$MagicEditorPropsPanelWidthData";
|
|
3311
|
+
declare const DEFAULT_LEFT_COLUMN_WIDTH = 310;
|
|
3312
|
+
declare const DEFAULT_RIGHT_COLUMN_WIDTH = 480;
|
|
3313
|
+
declare const MIN_LEFT_COLUMN_WIDTH = 200;
|
|
3314
|
+
declare const MIN_CENTER_COLUMN_WIDTH = 400;
|
|
3315
|
+
declare const MIN_RIGHT_COLUMN_WIDTH = 300;
|
|
3316
|
+
declare const H_GUIDE_LINE_STORAGE_KEY = "$MagicStageHorizontalGuidelinesData";
|
|
3317
|
+
declare const V_GUIDE_LINE_STORAGE_KEY = "$MagicStageVerticalGuidelinesData";
|
|
3318
|
+
|
|
3301
3319
|
interface EditorProps {
|
|
3302
3320
|
/** 页面初始值 */
|
|
3303
3321
|
modelValue?: MApp;
|
|
@@ -13359,4 +13377,4 @@ declare const _default: {
|
|
|
13359
13377
|
install: (app: App, opt?: Partial<EditorInstallOptions | DesignPluginOptions | FormInstallOptions>) => void;
|
|
13360
13378
|
};
|
|
13361
13379
|
|
|
13362
|
-
export { type AddMNode, type AddPrefixToObject, type AsyncAfterHook, type AsyncBeforeHook, type AsyncHookPlugin, type BeforeAdd, CODE_DRAFT_STORAGE_KEY, COPY_CODE_STORAGE_KEY, COPY_DS_STORAGE_KEY, COPY_STORAGE_KEY, _default$8 as CodeBlockEditor, _default$i as CodeBlockList, _default$h as CodeBlockListPanel, type CodeBlockListPanelSlots, type CodeBlockListSlots, CodeDeleteErrorType, type CodeDslItem, type CodeParamStatement, type CodeRelation, _default$t as CodeSelect, _default$s as CodeSelectCol, type CodeSelectColConfig, type CodeState, ColumnLayout, type CombineInfo, type ComponentGroup, type ComponentGroupState, type ComponentItem, _default$v as ComponentListPanel, type ComponentListPanelSlots, _default$2 as CondOpSelect, type CondOpSelectConfig, _default$c as ContentMenu, type CustomContentMenuFunction, _default$g as DataSourceConfigPanel, _default$l as DataSourceFieldSelect, type DataSourceFieldSelectConfig, _default$r as DataSourceFields, _default$o as DataSourceInput, type DataSourceListSlots, _default$m as DataSourceMethodSelect, type DataSourceMethodSelectConfig, _default$p as DataSourceMethods, _default$q as DataSourceMocks, _default$n as DataSourceSelect, type DatasourceTypeOption, _default$3 as DisplayConds, DragType, type EditorInstallOptions, type EditorNodeInfo, type EventBus, type EventBusEvent, _default$k as EventSelect, type EventSelectConfig, Fixed2Other, _default$7 as FloatingBox, type FrameworkSlots, type GetColumnWidth, type GetConfig, H_GUIDE_LINE_STORAGE_KEY, type HistoryState, _default$b as Icon, IdleTask, type IdleTaskEvents, type KeyBindingCacheItem, KeyBindingCommand, type KeyBindingItem, _default$j as KeyValue, Keys, type LayerNodeSlots, type LayerNodeStatus, LayerOffset, _default$u as LayerPanel, type LayerPanelSlots, Layout, _default$a as LayoutContainer, type ListState, type MenuBarData, type MenuButton, type MenuComponent, type MenuItem, type PageBarSortOptions, _default$4 as PageFragmentSelect, type PageFragmentSelectConfig, type PartSortableOptions, type PastePosition, type PropsFormConfigFunction, _default$e as PropsFormPanel, type PropsFormValueFunction, _default$f as PropsPanel, type PropsPanelSlots, type PropsState, _default$9 as Resizer, ScrollViewer, type ScrollViewerEvent, type Services, type SetColumnWidth, type SideBarData, type SideComponent, type SideItem, SideItemKey, type SidebarSlots, _default$a as SplitView, type StageOptions, type StageOverlayState, type StageRect, type StepValue, type StoreState, type StoreStateKey, _default$1 as StyleSetter, type SyncAfterHook, type SyncBeforeHook, type SyncHookPlugin, _default$w as TMagicCodeEditor, _default$x as TMagicEditor, _default$d as ToolButton, _default$6 as Tree, _default$5 as TreeNode, type TreeNodeData, UI_SELECT_MODE_EVENT_NAME, type UiState, UndoRedo, V_GUIDE_LINE_STORAGE_KEY, type WorkspaceSlots, advancedTabConfig, arrayOptions, beforePaste, change2Fixed, _default$H as codeBlockService, _default$G as dataSourceService, debug, _default as default, _default$F as depService, displayTabConfig, _default$E as editorService, eqOptions, error, eventTabConfig, _default$D as eventsService, fillConfig, fixNodeLeft, fixNodePosition, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getDefaultConfig, getDisplayField, getEditorConfig, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getNodeIndex, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, _default$C as historyService, info, isIncludeDataSource, log, moveItemsInContainer, numberOptions, _default$B as propsService, removeDataSourceFieldPrefix, serializeConfig, setChildrenLayout, setEditorConfig, setLayout, _default$A as stageOverlayService, _default$z as storageService, styleTabConfig, _default$y as uiService, updateStatus, useCodeBlockEdit, useEditorContentHeight, useFilter, useFloatBox, useGetSo, useNextFloatBoxPosition, useNodeStatus, useStage, useWindowRect, warn };
|
|
13380
|
+
export { type AddMNode, type AddPrefixToObject, type AsyncAfterHook, type AsyncBeforeHook, type AsyncHookPlugin, type BeforeAdd, CODE_DRAFT_STORAGE_KEY, COPY_CODE_STORAGE_KEY, COPY_DS_STORAGE_KEY, COPY_STORAGE_KEY, _default$8 as CodeBlockEditor, _default$i as CodeBlockList, _default$h as CodeBlockListPanel, type CodeBlockListPanelSlots, type CodeBlockListSlots, CodeDeleteErrorType, type CodeDslItem, type CodeParamStatement, type CodeRelation, _default$t as CodeSelect, _default$s as CodeSelectCol, type CodeSelectColConfig, type CodeState, ColumnLayout, type CombineInfo, type ComponentGroup, type ComponentGroupState, type ComponentItem, _default$v as ComponentListPanel, type ComponentListPanelSlots, _default$2 as CondOpSelect, type CondOpSelectConfig, _default$c as ContentMenu, type CustomContentMenuFunction, DEFAULT_LEFT_COLUMN_WIDTH, DEFAULT_RIGHT_COLUMN_WIDTH, _default$g as DataSourceConfigPanel, _default$l as DataSourceFieldSelect, type DataSourceFieldSelectConfig, _default$r as DataSourceFields, _default$o as DataSourceInput, type DataSourceListSlots, _default$m as DataSourceMethodSelect, type DataSourceMethodSelectConfig, _default$p as DataSourceMethods, _default$q as DataSourceMocks, _default$n as DataSourceSelect, type DatasourceTypeOption, _default$3 as DisplayConds, DragType, type EditorInstallOptions, type EditorNodeInfo, type EventBus, type EventBusEvent, _default$k as EventSelect, type EventSelectConfig, Fixed2Other, _default$7 as FloatingBox, type FrameworkSlots, type GetColumnWidth, type GetConfig, H_GUIDE_LINE_STORAGE_KEY, type HistoryState, _default$b as Icon, IdleTask, type IdleTaskEvents, type KeyBindingCacheItem, KeyBindingCommand, type KeyBindingItem, _default$j as KeyValue, Keys, LEFT_COLUMN_WIDTH_STORAGE_KEY, type LayerNodeSlots, type LayerNodeStatus, LayerOffset, _default$u as LayerPanel, type LayerPanelSlots, Layout, _default$a as LayoutContainer, type ListState, MIN_CENTER_COLUMN_WIDTH, MIN_LEFT_COLUMN_WIDTH, MIN_RIGHT_COLUMN_WIDTH, type MenuBarData, type MenuButton, type MenuComponent, type MenuItem, PROPS_PANEL_WIDTH_STORAGE_KEY, type PageBarSortOptions, _default$4 as PageFragmentSelect, type PageFragmentSelectConfig, type PartSortableOptions, type PastePosition, type PropsFormConfigFunction, _default$e as PropsFormPanel, type PropsFormValueFunction, _default$f as PropsPanel, type PropsPanelSlots, type PropsState, RIGHT_COLUMN_WIDTH_STORAGE_KEY, _default$9 as Resizer, ScrollViewer, type ScrollViewerEvent, type Services, type SetColumnWidth, type SideBarData, type SideComponent, type SideItem, SideItemKey, type SidebarSlots, _default$a as SplitView, type StageOptions, type StageOverlayState, type StageRect, type StepValue, type StoreState, type StoreStateKey, _default$1 as StyleSetter, type SyncAfterHook, type SyncBeforeHook, type SyncHookPlugin, _default$w as TMagicCodeEditor, _default$x as TMagicEditor, _default$d as ToolButton, _default$6 as Tree, _default$5 as TreeNode, type TreeNodeData, UI_SELECT_MODE_EVENT_NAME, type UiState, UndoRedo, V_GUIDE_LINE_STORAGE_KEY, type WorkspaceSlots, advancedTabConfig, arrayOptions, beforePaste, change2Fixed, _default$H as codeBlockService, _default$G as dataSourceService, debug, _default as default, _default$F as depService, displayTabConfig, _default$E as editorService, eqOptions, error, eventTabConfig, _default$D as eventsService, fillConfig, fixNodeLeft, fixNodePosition, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getDefaultConfig, getDisplayField, getEditorConfig, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getNodeIndex, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, _default$C as historyService, info, isIncludeDataSource, log, moveItemsInContainer, numberOptions, _default$B as propsService, removeDataSourceFieldPrefix, serializeConfig, setChildrenLayout, setEditorConfig, setLayout, _default$A as stageOverlayService, _default$z as storageService, styleTabConfig, _default$y as uiService, updateStatus, useCodeBlockEdit, useEditorContentHeight, useFilter, useFloatBox, useGetSo, useNextFloatBoxPosition, useNodeStatus, useServices, useStage, useWindowRect, warn };
|