@tmagic/editor 1.5.0-beta.15 → 1.5.0-beta.16
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/tmagic-editor.js +4 -18
- package/dist/tmagic-editor.umd.cjs +6 -21
- package/package.json +7 -7
- package/src/initService.ts +4 -3
- package/src/utils/editor.ts +1 -17
- package/types/index.d.ts +4 -3
package/dist/tmagic-editor.js
CHANGED
|
@@ -15,7 +15,7 @@ import { emmetHTML, emmetCSS } from 'emmet-monaco-es';
|
|
|
15
15
|
import * as monaco from 'monaco-editor';
|
|
16
16
|
import { HookCodeType, HookType, NODE_CONDS_KEY, Target, Watcher, NodeType, ActionType, DepTargetType, DEFAULT_EVENTS, DEFAULT_METHODS, createCodeBlockTarget, createDataSourceTarget, createDataSourceMethodTarget, createDataSourceCondTarget } from '@tmagic/core';
|
|
17
17
|
export { DepTargetType } from '@tmagic/core';
|
|
18
|
-
import { isPage, isPageFragment, isPop, getNodePath, isNumber, getElById, calcValueByFontsize,
|
|
18
|
+
import { isPage, isPageFragment, isPop, getNodePath, isNumber, getElById, calcValueByFontsize, isValueIncludeDataSource, toLine, guid, getValueByKeyPath, setValueByKeyPath, getNodeInfo, dataSourceTemplateRegExp, getKeysArray, DATA_SOURCE_FIELDS_SELECT_VALUE_PREFIX, getKeys, convertToNumber, getIdFromEl, traverseNode, getDefaultValueFromFields, DATA_SOURCE_FIELDS_CHANGE_EVENT_PREFIX, removeClassName, addClassName, removeClassNameByClassName, getNodes } from '@tmagic/utils';
|
|
19
19
|
export * from '@tmagic/utils';
|
|
20
20
|
import VanillaMoveable from 'moveable';
|
|
21
21
|
import StageCore__default, { isFixed, GuidesType, getOffset, RenderType, CONTAINER_HIGHLIGHT_CLASS_NAME, ContainerHighlightType } from '@tmagic/stage';
|
|
@@ -1162,21 +1162,6 @@ const moveItemsInContainer = (sourceIndices, parent, targetIndex) => {
|
|
|
1162
1162
|
}
|
|
1163
1163
|
}
|
|
1164
1164
|
};
|
|
1165
|
-
const isValueIncludeDataSource = (value) => {
|
|
1166
|
-
if (typeof value === "string" && /\$\{([\s\S]+?)\}/.test(value)) {
|
|
1167
|
-
return true;
|
|
1168
|
-
}
|
|
1169
|
-
if (Array.isArray(value) && `${value[0]}`.startsWith(DATA_SOURCE_FIELDS_SELECT_VALUE_PREFIX)) {
|
|
1170
|
-
return true;
|
|
1171
|
-
}
|
|
1172
|
-
if (value?.isBindDataSource && value.dataSourceId) {
|
|
1173
|
-
return true;
|
|
1174
|
-
}
|
|
1175
|
-
if (value?.isBindDataSourceField && value.dataSourceId) {
|
|
1176
|
-
return true;
|
|
1177
|
-
}
|
|
1178
|
-
return false;
|
|
1179
|
-
};
|
|
1180
1165
|
const isIncludeDataSourceByDiffAddResult = (diffResult) => {
|
|
1181
1166
|
for (const value of Object.values(diffResult)) {
|
|
1182
1167
|
const result = isValueIncludeDataSource(value);
|
|
@@ -12668,7 +12653,8 @@ const initServiceEvents = (props, emit, { editorService, codeBlockService, dataS
|
|
|
12668
12653
|
for (const record of changeRecords) {
|
|
12669
12654
|
if (!record.propPath || new RegExp(`${NODE_CONDS_KEY}.(\\d)+.cond`).test(record.propPath) || new RegExp(`${NODE_CONDS_KEY}.(\\d)+.cond.(\\d)+.value`).test(record.propPath) || record.propPath === NODE_CONDS_KEY || isValueIncludeDataSource(record.value)) {
|
|
12670
12655
|
needRecollectNodes.push(newNode);
|
|
12671
|
-
|
|
12656
|
+
} else {
|
|
12657
|
+
normalNodes.push(newNode);
|
|
12672
12658
|
}
|
|
12673
12659
|
}
|
|
12674
12660
|
} else if (isIncludeDataSource(newNode, oldNode)) {
|
|
@@ -13032,4 +13018,4 @@ const index = {
|
|
|
13032
13018
|
}
|
|
13033
13019
|
};
|
|
13034
13020
|
|
|
13035
|
-
export { CODE_DRAFT_STORAGE_KEY, COPY_CODE_STORAGE_KEY, COPY_DS_STORAGE_KEY, COPY_STORAGE_KEY, _sfc_main$L as CodeBlockEditor, _sfc_main$l as CodeBlockList, _sfc_main$k as CodeBlockListPanel, CodeDeleteErrorType, _sfc_main$U as CodeSelect, _sfc_main$S as CodeSelectCol, ColumnLayout, _sfc_main$b as ComponentListPanel, _sfc_main$R as CondOpSelect, _sfc_main$g as ContentMenu, _sfc_main$j as DataSourceConfigPanel, _sfc_main$N as DataSourceFieldSelect, _sfc_main$P as DataSourceFields, _sfc_main$M as DataSourceInput, _sfc_main$J as DataSourceMethodSelect, _sfc_main$K as DataSourceMethods, _sfc_main$I as DataSourceMocks, _sfc_main$H as DataSourceSelect, _sfc_main$G as DisplayConds, DragType, _sfc_main$F as EventSelect, Fixed2Other, _sfc_main$Q as FloatingBox, H_GUIDE_LINE_STORAGE_KEY, _sfc_main$Y as Icon, IdleTask, KeyBindingCommand, _sfc_main$D as KeyValue, Keys, LayerOffset, _sfc_main$c as LayerPanel, Layout, _sfc_main$z as LayoutContainer, _sfc_main$C as PageFragmentSelect, _sfc_main$p as PropsPanel, _sfc_main$A as Resizer, ScrollViewer, SideItemKey, _sfc_main$z as SplitView, _sfc_main$X as TMagicCodeEditor, _sfc_main as TMagicEditor, _sfc_main$y as ToolButton, _sfc_main$m as Tree, _sfc_main$n as TreeNode, UI_SELECT_MODE_EVENT_NAME, UndoRedo, V_GUIDE_LINE_STORAGE_KEY, advancedTabConfig, arrayOptions, beforePaste, change2Fixed, codeBlockService, dataSourceService, debug, index as default, depService, displayTabConfig, editorService, eqOptions, error, eventTabConfig, eventsService, fillConfig$1 as fillConfig, fixNodeLeft, fixNodePosition, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getDefaultConfig, getDisplayField, getEditorConfig, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getNodeIndex, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, historyService, info, isIncludeDataSource,
|
|
13021
|
+
export { CODE_DRAFT_STORAGE_KEY, COPY_CODE_STORAGE_KEY, COPY_DS_STORAGE_KEY, COPY_STORAGE_KEY, _sfc_main$L as CodeBlockEditor, _sfc_main$l as CodeBlockList, _sfc_main$k as CodeBlockListPanel, CodeDeleteErrorType, _sfc_main$U as CodeSelect, _sfc_main$S as CodeSelectCol, ColumnLayout, _sfc_main$b as ComponentListPanel, _sfc_main$R as CondOpSelect, _sfc_main$g as ContentMenu, _sfc_main$j as DataSourceConfigPanel, _sfc_main$N as DataSourceFieldSelect, _sfc_main$P as DataSourceFields, _sfc_main$M as DataSourceInput, _sfc_main$J as DataSourceMethodSelect, _sfc_main$K as DataSourceMethods, _sfc_main$I as DataSourceMocks, _sfc_main$H as DataSourceSelect, _sfc_main$G as DisplayConds, DragType, _sfc_main$F as EventSelect, Fixed2Other, _sfc_main$Q as FloatingBox, H_GUIDE_LINE_STORAGE_KEY, _sfc_main$Y as Icon, IdleTask, KeyBindingCommand, _sfc_main$D as KeyValue, Keys, LayerOffset, _sfc_main$c as LayerPanel, Layout, _sfc_main$z as LayoutContainer, _sfc_main$C as PageFragmentSelect, _sfc_main$p as PropsPanel, _sfc_main$A as Resizer, ScrollViewer, SideItemKey, _sfc_main$z as SplitView, _sfc_main$X as TMagicCodeEditor, _sfc_main as TMagicEditor, _sfc_main$y as ToolButton, _sfc_main$m as Tree, _sfc_main$n as TreeNode, UI_SELECT_MODE_EVENT_NAME, UndoRedo, V_GUIDE_LINE_STORAGE_KEY, advancedTabConfig, arrayOptions, beforePaste, change2Fixed, codeBlockService, dataSourceService, debug, index as default, depService, displayTabConfig, editorService, eqOptions, error, eventTabConfig, eventsService, fillConfig$1 as fillConfig, fixNodeLeft, fixNodePosition, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getDefaultConfig, getDisplayField, getEditorConfig, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getNodeIndex, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, historyService, info, isIncludeDataSource, log, moveItemsInContainer, numberOptions, propsService, removeDataSourceFieldPrefix, serializeConfig, setChildrenLayout, setEditorConfig, setLayout, stageOverlayService, storageService, styleTabConfig, uiService, updateStatus, useCodeBlockEdit, useEditorContentHeight, useFilter, useFloatBox, useGetSo, useNextFloatBoxPosition, useNodeStatus$1 as useNodeStatus, useStage, useWindowRect, warn };
|
|
@@ -1158,24 +1158,9 @@
|
|
|
1158
1158
|
}
|
|
1159
1159
|
}
|
|
1160
1160
|
};
|
|
1161
|
-
const isValueIncludeDataSource = (value) => {
|
|
1162
|
-
if (typeof value === "string" && /\$\{([\s\S]+?)\}/.test(value)) {
|
|
1163
|
-
return true;
|
|
1164
|
-
}
|
|
1165
|
-
if (Array.isArray(value) && `${value[0]}`.startsWith(utils.DATA_SOURCE_FIELDS_SELECT_VALUE_PREFIX)) {
|
|
1166
|
-
return true;
|
|
1167
|
-
}
|
|
1168
|
-
if (value?.isBindDataSource && value.dataSourceId) {
|
|
1169
|
-
return true;
|
|
1170
|
-
}
|
|
1171
|
-
if (value?.isBindDataSourceField && value.dataSourceId) {
|
|
1172
|
-
return true;
|
|
1173
|
-
}
|
|
1174
|
-
return false;
|
|
1175
|
-
};
|
|
1176
1161
|
const isIncludeDataSourceByDiffAddResult = (diffResult) => {
|
|
1177
1162
|
for (const value of Object.values(diffResult)) {
|
|
1178
|
-
const result = isValueIncludeDataSource(value);
|
|
1163
|
+
const result = utils.isValueIncludeDataSource(value);
|
|
1179
1164
|
if (result) {
|
|
1180
1165
|
return true;
|
|
1181
1166
|
}
|
|
@@ -1187,10 +1172,10 @@
|
|
|
1187
1172
|
};
|
|
1188
1173
|
const isIncludeDataSourceByDiffUpdatedResult = (diffResult, oldNode) => {
|
|
1189
1174
|
for (const [key, value] of Object.entries(diffResult)) {
|
|
1190
|
-
if (isValueIncludeDataSource(value)) {
|
|
1175
|
+
if (utils.isValueIncludeDataSource(value)) {
|
|
1191
1176
|
return true;
|
|
1192
1177
|
}
|
|
1193
|
-
if (isValueIncludeDataSource(oldNode[key])) {
|
|
1178
|
+
if (utils.isValueIncludeDataSource(oldNode[key])) {
|
|
1194
1179
|
return true;
|
|
1195
1180
|
}
|
|
1196
1181
|
if (lodashEs.isObject(value)) {
|
|
@@ -12662,9 +12647,10 @@
|
|
|
12662
12647
|
data.forEach(({ newNode, oldNode, changeRecords }) => {
|
|
12663
12648
|
if (changeRecords?.length) {
|
|
12664
12649
|
for (const record of changeRecords) {
|
|
12665
|
-
if (!record.propPath || new RegExp(`${core.NODE_CONDS_KEY}.(\\d)+.cond`).test(record.propPath) || new RegExp(`${core.NODE_CONDS_KEY}.(\\d)+.cond.(\\d)+.value`).test(record.propPath) || record.propPath === core.NODE_CONDS_KEY || isValueIncludeDataSource(record.value)) {
|
|
12650
|
+
if (!record.propPath || new RegExp(`${core.NODE_CONDS_KEY}.(\\d)+.cond`).test(record.propPath) || new RegExp(`${core.NODE_CONDS_KEY}.(\\d)+.cond.(\\d)+.value`).test(record.propPath) || record.propPath === core.NODE_CONDS_KEY || utils.isValueIncludeDataSource(record.value)) {
|
|
12666
12651
|
needRecollectNodes.push(newNode);
|
|
12667
|
-
|
|
12652
|
+
} else {
|
|
12653
|
+
normalNodes.push(newNode);
|
|
12668
12654
|
}
|
|
12669
12655
|
}
|
|
12670
12656
|
} else if (isIncludeDataSource(newNode, oldNode)) {
|
|
@@ -13125,7 +13111,6 @@
|
|
|
13125
13111
|
exports.historyService = historyService;
|
|
13126
13112
|
exports.info = info;
|
|
13127
13113
|
exports.isIncludeDataSource = isIncludeDataSource;
|
|
13128
|
-
exports.isValueIncludeDataSource = isValueIncludeDataSource;
|
|
13129
13114
|
exports.log = log;
|
|
13130
13115
|
exports.moveItemsInContainer = moveItemsInContainer;
|
|
13131
13116
|
exports.numberOptions = numberOptions;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.5.0-beta.
|
|
2
|
+
"version": "1.5.0-beta.16",
|
|
3
3
|
"name": "@tmagic/editor",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": [
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
"moveable": "^0.53.0",
|
|
59
59
|
"serialize-javascript": "^6.0.0",
|
|
60
60
|
"sortablejs": "^1.15.2",
|
|
61
|
-
"@tmagic/design": "1.5.0-beta.
|
|
62
|
-
"@tmagic/form": "1.5.0-beta.
|
|
63
|
-
"@tmagic/stage": "1.5.0-beta.
|
|
64
|
-
"@tmagic/
|
|
65
|
-
"@tmagic/
|
|
61
|
+
"@tmagic/design": "1.5.0-beta.16",
|
|
62
|
+
"@tmagic/form": "1.5.0-beta.16",
|
|
63
|
+
"@tmagic/stage": "1.5.0-beta.16",
|
|
64
|
+
"@tmagic/utils": "1.5.0-beta.16",
|
|
65
|
+
"@tmagic/table": "1.5.0-beta.16"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@types/events": "^3.0.0",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"monaco-editor": "^0.48.0",
|
|
84
84
|
"typescript": "*",
|
|
85
85
|
"vue": ">=3.5.0",
|
|
86
|
-
"@tmagic/core": "1.5.0-beta.
|
|
86
|
+
"@tmagic/core": "1.5.0-beta.16"
|
|
87
87
|
},
|
|
88
88
|
"peerDependenciesMeta": {
|
|
89
89
|
"typescript": {
|
package/src/initService.ts
CHANGED
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
Target,
|
|
22
22
|
} from '@tmagic/core';
|
|
23
23
|
import { ChangeRecord } from '@tmagic/form';
|
|
24
|
-
import { getNodes, isPage, traverseNode } from '@tmagic/utils';
|
|
24
|
+
import { getNodes, isPage, isValueIncludeDataSource, traverseNode } from '@tmagic/utils';
|
|
25
25
|
|
|
26
26
|
import PropsPanel from './layouts/PropsPanel.vue';
|
|
27
|
-
import { isIncludeDataSource
|
|
27
|
+
import { isIncludeDataSource } from './utils/editor';
|
|
28
28
|
import { EditorProps } from './editorProps';
|
|
29
29
|
import { Services } from './type';
|
|
30
30
|
|
|
@@ -418,7 +418,8 @@ export const initServiceEvents = (
|
|
|
418
418
|
isValueIncludeDataSource(record.value)
|
|
419
419
|
) {
|
|
420
420
|
needRecollectNodes.push(newNode);
|
|
421
|
-
|
|
421
|
+
} else {
|
|
422
|
+
normalNodes.push(newNode);
|
|
422
423
|
}
|
|
423
424
|
}
|
|
424
425
|
} else if (isIncludeDataSource(newNode, oldNode)) {
|
package/src/utils/editor.ts
CHANGED
|
@@ -25,13 +25,13 @@ import { NODE_CONDS_KEY, NodeType } from '@tmagic/core';
|
|
|
25
25
|
import type StageCore from '@tmagic/stage';
|
|
26
26
|
import {
|
|
27
27
|
calcValueByFontsize,
|
|
28
|
-
DATA_SOURCE_FIELDS_SELECT_VALUE_PREFIX,
|
|
29
28
|
getElById,
|
|
30
29
|
getNodePath,
|
|
31
30
|
isNumber,
|
|
32
31
|
isPage,
|
|
33
32
|
isPageFragment,
|
|
34
33
|
isPop,
|
|
34
|
+
isValueIncludeDataSource,
|
|
35
35
|
} from '@tmagic/utils';
|
|
36
36
|
|
|
37
37
|
import { Layout } from '@editor/type';
|
|
@@ -302,22 +302,6 @@ export const moveItemsInContainer = (sourceIndices: number[], parent: MContainer
|
|
|
302
302
|
}
|
|
303
303
|
};
|
|
304
304
|
|
|
305
|
-
export const isValueIncludeDataSource = (value: any) => {
|
|
306
|
-
if (typeof value === 'string' && /\$\{([\s\S]+?)\}/.test(value)) {
|
|
307
|
-
return true;
|
|
308
|
-
}
|
|
309
|
-
if (Array.isArray(value) && `${value[0]}`.startsWith(DATA_SOURCE_FIELDS_SELECT_VALUE_PREFIX)) {
|
|
310
|
-
return true;
|
|
311
|
-
}
|
|
312
|
-
if (value?.isBindDataSource && value.dataSourceId) {
|
|
313
|
-
return true;
|
|
314
|
-
}
|
|
315
|
-
if (value?.isBindDataSourceField && value.dataSourceId) {
|
|
316
|
-
return true;
|
|
317
|
-
}
|
|
318
|
-
return false;
|
|
319
|
-
};
|
|
320
|
-
|
|
321
305
|
const isIncludeDataSourceByDiffAddResult = (diffResult: any) => {
|
|
322
306
|
for (const value of Object.values(diffResult)) {
|
|
323
307
|
const result = isValueIncludeDataSource(value);
|
package/types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { Component, ComputedRef, Ref, App } from 'vue';
|
|
3
|
-
import { DesignPluginOptions } from '@tmagic/design';
|
|
3
|
+
import { TMagicMessageBox, TMagicMessage, DesignPluginOptions } from '@tmagic/design';
|
|
4
4
|
export * from '@tmagic/design';
|
|
5
5
|
export { default as designPlugin } from '@tmagic/design';
|
|
6
6
|
import { TableColumnConfig as TableColumnConfig$1, FormConfig as FormConfig$1, ChangeRecord as ChangeRecord$1, FormItem as FormItem$1, FilterFunction as FilterFunction$1, FormState as FormState$1, ChildConfig as ChildConfig$1, Input as Input$1, TabPaneConfig as TabPaneConfig$1, CascaderOption as CascaderOption$1, ContainerChangeEventData as ContainerChangeEventData$1, FieldProps, FormValue as FormValue$1, FormInstallOptions } from '@tmagic/form';
|
|
@@ -1509,6 +1509,8 @@ type FormState = {
|
|
|
1509
1509
|
setField: (prop: string, field: any) => void;
|
|
1510
1510
|
getField: (prop: string) => any;
|
|
1511
1511
|
deleteField: (prop: string) => any;
|
|
1512
|
+
$messageBox: TMagicMessageBox;
|
|
1513
|
+
$message: TMagicMessage;
|
|
1512
1514
|
[key: string]: any;
|
|
1513
1515
|
};
|
|
1514
1516
|
/**
|
|
@@ -2295,7 +2297,6 @@ declare const fixNodePosition: (config: MNode, parent: MContainer, stage: StageC
|
|
|
2295
2297
|
} | undefined;
|
|
2296
2298
|
declare const serializeConfig: (config: any) => string;
|
|
2297
2299
|
declare const moveItemsInContainer: (sourceIndices: number[], parent: MContainer, targetIndex: number) => void;
|
|
2298
|
-
declare const isValueIncludeDataSource: (value: any) => boolean;
|
|
2299
2300
|
declare const isIncludeDataSource: (node: MNode, oldNode: MNode) => boolean;
|
|
2300
2301
|
|
|
2301
2302
|
/**
|
|
@@ -4780,4 +4781,4 @@ declare const _default: {
|
|
|
4780
4781
|
install: (app: App, opt?: Partial<EditorInstallOptions | DesignPluginOptions | FormInstallOptions>) => void;
|
|
4781
4782
|
};
|
|
4782
4783
|
|
|
4783
|
-
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$7 as CodeBlockEditor, _default$g as CodeBlockList, _default$f as CodeBlockListPanel, type CodeBlockListPanelSlots, type CodeBlockListSlots, CodeDeleteErrorType, type CodeDslItem, type CodeParamStatement, type CodeRelation, _default$r as CodeSelect, _default$q as CodeSelectCol, type CodeSelectColConfig, type CodeState, ColumnLayout, type CombineInfo, type ComponentGroup, type ComponentGroupState, type ComponentItem, _default$t as ComponentListPanel, type ComponentListPanelSlots, _default$1 as CondOpSelect, type CondOpSelectConfig, _default$b as ContentMenu, _default$e as DataSourceConfigPanel, _default$j as DataSourceFieldSelect, type DataSourceFieldSelectConfig, _default$p as DataSourceFields, _default$m as DataSourceInput, type DataSourceListSlots, _default$k as DataSourceMethodSelect, type DataSourceMethodSelectConfig, _default$n as DataSourceMethods, _default$o as DataSourceMocks, _default$l as DataSourceSelect, type DatasourceTypeOption, _default$2 as DisplayConds, DragType, type EditorInstallOptions, type EditorNodeInfo, type EventBus, type EventBusEvent, _default$i as EventSelect, type EventSelectConfig, Fixed2Other, _default$6 as FloatingBox, type FrameworkSlots, type GetColumnWidth, type GetConfig, H_GUIDE_LINE_STORAGE_KEY, type HistoryState, _default$a as Icon, IdleTask, type IdleTaskEvents, type KeyBindingCacheItem, KeyBindingCommand, type KeyBindingItem, _default$h as KeyValue, Keys, type LayerNodeSlots, type LayerNodeStatus, LayerOffset, _default$s as LayerPanel, type LayerPanelSlots, Layout, _default$9 as LayoutContainer, type ListState, type MenuBarData, type MenuButton, type MenuComponent, type MenuItem, type PageBarSortOptions, _default$3 as PageFragmentSelect, type PageFragmentSelectConfig, type PartSortableOptions, type PastePosition, type PropsFormConfigFunction, type PropsFormValueFunction, _default$d as PropsPanel, type PropsPanelSlots, type PropsState, _default$8 as Resizer, ScrollViewer, type ScrollViewerEvent, type Services, type SetColumnWidth, type SideBarData, type SideComponent, type SideItem, SideItemKey, type SidebarSlots, _default$9 as SplitView, type StageOptions, type StageOverlayState, type StageRect, type StepValue, type StoreState, type StoreStateKey, type SyncAfterHook, type SyncBeforeHook, type SyncHookPlugin, _default$u as TMagicCodeEditor, _default$v as TMagicEditor, _default$c as ToolButton, _default$5 as Tree, _default$4 as TreeNode, type TreeNodeData, UI_SELECT_MODE_EVENT_NAME, type UiState, UndoRedo, V_GUIDE_LINE_STORAGE_KEY, type WorkspaceSlots, advancedTabConfig, arrayOptions, beforePaste, change2Fixed, _default$F as codeBlockService, _default$E as dataSourceService, debug, _default as default, _default$D as depService, displayTabConfig, _default$C as editorService, eqOptions, error, eventTabConfig, _default$B as eventsService, fillConfig, fixNodeLeft, fixNodePosition, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getDefaultConfig, getDisplayField, getEditorConfig, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getNodeIndex, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, _default$A as historyService, info, isIncludeDataSource,
|
|
4784
|
+
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$7 as CodeBlockEditor, _default$g as CodeBlockList, _default$f as CodeBlockListPanel, type CodeBlockListPanelSlots, type CodeBlockListSlots, CodeDeleteErrorType, type CodeDslItem, type CodeParamStatement, type CodeRelation, _default$r as CodeSelect, _default$q as CodeSelectCol, type CodeSelectColConfig, type CodeState, ColumnLayout, type CombineInfo, type ComponentGroup, type ComponentGroupState, type ComponentItem, _default$t as ComponentListPanel, type ComponentListPanelSlots, _default$1 as CondOpSelect, type CondOpSelectConfig, _default$b as ContentMenu, _default$e as DataSourceConfigPanel, _default$j as DataSourceFieldSelect, type DataSourceFieldSelectConfig, _default$p as DataSourceFields, _default$m as DataSourceInput, type DataSourceListSlots, _default$k as DataSourceMethodSelect, type DataSourceMethodSelectConfig, _default$n as DataSourceMethods, _default$o as DataSourceMocks, _default$l as DataSourceSelect, type DatasourceTypeOption, _default$2 as DisplayConds, DragType, type EditorInstallOptions, type EditorNodeInfo, type EventBus, type EventBusEvent, _default$i as EventSelect, type EventSelectConfig, Fixed2Other, _default$6 as FloatingBox, type FrameworkSlots, type GetColumnWidth, type GetConfig, H_GUIDE_LINE_STORAGE_KEY, type HistoryState, _default$a as Icon, IdleTask, type IdleTaskEvents, type KeyBindingCacheItem, KeyBindingCommand, type KeyBindingItem, _default$h as KeyValue, Keys, type LayerNodeSlots, type LayerNodeStatus, LayerOffset, _default$s as LayerPanel, type LayerPanelSlots, Layout, _default$9 as LayoutContainer, type ListState, type MenuBarData, type MenuButton, type MenuComponent, type MenuItem, type PageBarSortOptions, _default$3 as PageFragmentSelect, type PageFragmentSelectConfig, type PartSortableOptions, type PastePosition, type PropsFormConfigFunction, type PropsFormValueFunction, _default$d as PropsPanel, type PropsPanelSlots, type PropsState, _default$8 as Resizer, ScrollViewer, type ScrollViewerEvent, type Services, type SetColumnWidth, type SideBarData, type SideComponent, type SideItem, SideItemKey, type SidebarSlots, _default$9 as SplitView, type StageOptions, type StageOverlayState, type StageRect, type StepValue, type StoreState, type StoreStateKey, type SyncAfterHook, type SyncBeforeHook, type SyncHookPlugin, _default$u as TMagicCodeEditor, _default$v as TMagicEditor, _default$c as ToolButton, _default$5 as Tree, _default$4 as TreeNode, type TreeNodeData, UI_SELECT_MODE_EVENT_NAME, type UiState, UndoRedo, V_GUIDE_LINE_STORAGE_KEY, type WorkspaceSlots, advancedTabConfig, arrayOptions, beforePaste, change2Fixed, _default$F as codeBlockService, _default$E as dataSourceService, debug, _default as default, _default$D as depService, displayTabConfig, _default$C as editorService, eqOptions, error, eventTabConfig, _default$B as eventsService, fillConfig, fixNodeLeft, fixNodePosition, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getDefaultConfig, getDisplayField, getEditorConfig, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getNodeIndex, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, _default$A as historyService, info, isIncludeDataSource, log, moveItemsInContainer, numberOptions, _default$z as propsService, removeDataSourceFieldPrefix, serializeConfig, setChildrenLayout, setEditorConfig, setLayout, _default$y as stageOverlayService, _default$x as storageService, styleTabConfig, _default$w as uiService, updateStatus, useCodeBlockEdit, useEditorContentHeight, useFilter, useFloatBox, useGetSo, useNextFloatBoxPosition, useNodeStatus, useStage, useWindowRect, warn };
|