@tmagic/editor 1.8.0-beta.23 → 1.8.0-beta.24
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/es/fields/CodeSelectCol.vue_vue_type_script_setup_true_lang.js +5 -4
- package/dist/es/fields/DataSourceFieldSelect/Index.vue_vue_type_script_setup_true_lang.js +5 -4
- package/dist/es/fields/DataSourceFields.vue_vue_type_script_setup_true_lang.js +10 -6
- package/dist/es/fields/DataSourceMethodSelect.vue_vue_type_script_setup_true_name_true_lang.js +6 -4
- package/dist/es/fields/DataSourceMethods.vue_vue_type_script_setup_true_lang.js +4 -1
- package/dist/es/fields/DataSourceMocks.vue_vue_type_script_setup_true_lang.js +6 -4
- package/dist/es/fields/EventSelect.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/es/fields/KeyValue.vue_vue_type_script_setup_true_lang.js +4 -2
- package/dist/es/hooks/use-compare-form.js +1 -2
- package/dist/es/index.js +2 -2
- package/dist/es/plugin.js +9 -1
- package/dist/es/services/editor.js +43 -37
- package/dist/es/services/props.js +1 -1
- package/dist/es/utils/event.js +1 -1
- package/dist/es/utils/props.js +1 -29
- package/dist/tmagic-editor.umd.cjs +373 -368
- package/package.json +8 -8
- package/src/fields/CodeSelectCol.vue +4 -2
- package/src/fields/DataSourceFieldSelect/Index.vue +5 -3
- package/src/fields/DataSourceFields.vue +6 -0
- package/src/fields/DataSourceMethodSelect.vue +4 -1
- package/src/fields/DataSourceMethods.vue +11 -2
- package/src/fields/DataSourceMocks.vue +10 -1
- package/src/fields/EventSelect.vue +3 -3
- package/src/fields/KeyValue.vue +4 -3
- package/src/hooks/use-compare-form.ts +1 -4
- package/src/plugin.ts +9 -1
- package/src/services/editor.ts +53 -85
- package/src/type.ts +23 -0
- package/src/utils/event.ts +2 -2
- package/src/utils/props.ts +0 -32
- package/types/index.d.ts +38 -60
package/src/utils/event.ts
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
-
import type { EventOption, Id, MComponent, MContainer } from '@tmagic/core';
|
|
19
|
+
import type { EventOption, Id, MComponent, MContainer, MNode } from '@tmagic/core';
|
|
20
20
|
import type { CascaderOption } from '@tmagic/form';
|
|
21
21
|
import { DATA_SOURCE_FIELDS_CHANGE_EVENT_PREFIX, traverseNode } from '@tmagic/utils';
|
|
22
22
|
|
|
@@ -56,7 +56,7 @@ export const getEventNameOptions = (
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
if (src === 'component') {
|
|
59
|
-
const sourceNode = editorService.getNodeById(formValue.id);
|
|
59
|
+
const sourceNode = editorService.getNodeById(formValue.id) || (formValue as MNode);
|
|
60
60
|
let events: EventOption[] | CascaderOption[] = eventsService.getEvent(formValue.type, { node: sourceNode }) || [];
|
|
61
61
|
|
|
62
62
|
if (formValue.type === 'page-fragment-container' && formValue.pageFragmentId) {
|
package/src/utils/props.ts
CHANGED
|
@@ -73,7 +73,6 @@ export const getCondOpOptionsByFieldType = (type: string) => {
|
|
|
73
73
|
|
|
74
74
|
export const styleTabConfig: TabPaneConfig = {
|
|
75
75
|
title: '样式',
|
|
76
|
-
lazy: true,
|
|
77
76
|
display: ({ services }: any) => !(services?.uiService?.get('showStylePanel') ?? true),
|
|
78
77
|
items: [
|
|
79
78
|
{
|
|
@@ -146,7 +145,6 @@ export const styleTabConfig: TabPaneConfig = {
|
|
|
146
145
|
|
|
147
146
|
export const eventTabConfig: TabPaneConfig = {
|
|
148
147
|
title: '事件',
|
|
149
|
-
lazy: true,
|
|
150
148
|
items: [
|
|
151
149
|
{
|
|
152
150
|
name: 'events',
|
|
@@ -160,7 +158,6 @@ export const eventTabConfig: TabPaneConfig = {
|
|
|
160
158
|
|
|
161
159
|
export const advancedTabConfig: TabPaneConfig = {
|
|
162
160
|
title: '高级',
|
|
163
|
-
lazy: true,
|
|
164
161
|
items: [
|
|
165
162
|
{
|
|
166
163
|
name: NODE_DISABLE_CODE_BLOCK_KEY,
|
|
@@ -360,32 +357,3 @@ export const fillConfig = (
|
|
|
360
357
|
|
|
361
358
|
return [tabConfig];
|
|
362
359
|
};
|
|
363
|
-
|
|
364
|
-
/**
|
|
365
|
-
* 将属性表单配置中「样式」tab-pane 的 `display` 强制置为 `true`。
|
|
366
|
-
*
|
|
367
|
-
* `propsService.getPropsConfig` 返回的样式 tab 默认带有
|
|
368
|
-
* `display: ({ services }) => !(services?.uiService?.get('showStylePanel') ?? true)`,
|
|
369
|
-
* 在对比 / 只读展示场景(CompareForm / ViewForm)下并不需要跟随 uiService 状态隐藏,
|
|
370
|
-
* 这里统一放开,保证样式 tab 始终可见。
|
|
371
|
-
*
|
|
372
|
-
* @param formConfig 组件属性表单配置
|
|
373
|
-
* @returns 处理后的表单配置(不修改入参,返回浅拷贝)
|
|
374
|
-
*/
|
|
375
|
-
export const removeStyleDisplayConfig = (formConfig: FormConfig): FormConfig =>
|
|
376
|
-
formConfig.map((item) => {
|
|
377
|
-
if (!('type' in item)) return item;
|
|
378
|
-
if (item?.type !== 'tab' || !Array.isArray(item.items)) return item;
|
|
379
|
-
|
|
380
|
-
return {
|
|
381
|
-
...item,
|
|
382
|
-
items: item.items.map((tabPane) => {
|
|
383
|
-
if (tabPane?.title !== '样式' || !Array.isArray(tabPane.items)) return tabPane;
|
|
384
|
-
|
|
385
|
-
return {
|
|
386
|
-
...tabPane,
|
|
387
|
-
display: true,
|
|
388
|
-
};
|
|
389
|
-
}),
|
|
390
|
-
};
|
|
391
|
-
});
|
package/types/index.d.ts
CHANGED
|
@@ -578,6 +578,11 @@ declare class Editor extends BaseService {
|
|
|
578
578
|
* 普通操作不会读取它,调用前由 *AndGetHistoryId 重置为 null。
|
|
579
579
|
*/
|
|
580
580
|
private lastPushedHistoryId;
|
|
581
|
+
/**
|
|
582
|
+
* 上一次 doAdd 的插入记忆:nodeId 为插入的节点,selectedId 为当时的选中节点。
|
|
583
|
+
* 仅在选中节点未变化时复用(连续 add / doNotSelect / 批量粘贴),选中变化后自动失效,无需手动清理。
|
|
584
|
+
*/
|
|
585
|
+
private lastAdded;
|
|
581
586
|
constructor();
|
|
582
587
|
/**
|
|
583
588
|
* 设置当前指点节点配置
|
|
@@ -646,18 +651,15 @@ declare class Editor extends BaseService {
|
|
|
646
651
|
*/
|
|
647
652
|
multiSelect(ids: Id[]): void;
|
|
648
653
|
selectRoot(): void;
|
|
649
|
-
doAdd(node: MNode, parent: MContainer): Promise<MNode>;
|
|
654
|
+
doAdd(node: MNode, parent: MContainer, _options?: DslOpOptions): Promise<MNode>;
|
|
650
655
|
/**
|
|
651
656
|
* 向指点容器添加组件节点
|
|
652
657
|
* @param addConfig 将要添加的组件节点配置
|
|
653
658
|
* @param parent 要添加到的容器组件节点配置,如果不设置,默认为当前选中的组件的父节点
|
|
654
|
-
* @param options
|
|
655
|
-
* @param options.doNotSelect 添加后是否不更新当前选中节点(默认 false,添加后会选中新增的节点)
|
|
656
|
-
* @param options.doNotSwitchPage 添加后是否不切换当前页面(默认 false;新增页面 / 跨页新增时为 true 会跳过会引发页面切换的选中操作)
|
|
657
|
-
* @param options.doNotPushHistory 是否不写入历史记录(默认 false)
|
|
659
|
+
* @param options 可选配置,见 {@link DslOpOptions}
|
|
658
660
|
* @returns 添加后的节点
|
|
659
661
|
*/
|
|
660
|
-
add(addNode: AddMNode | MNode[], parent?: MContainer | null,
|
|
662
|
+
add(addNode: AddMNode | MNode[], parent?: MContainer | null, options?: DslOpOptions): Promise<MNode | MNode[]>;
|
|
661
663
|
doRemove(node: MNode, { doNotSelect, doNotSwitchPage }?: DslOpOptions): Promise<void>;
|
|
662
664
|
/**
|
|
663
665
|
* 删除组件
|
|
@@ -667,12 +669,8 @@ declare class Editor extends BaseService {
|
|
|
667
669
|
* @param options.doNotSwitchPage 删除后是否不切换当前页面(默认 false;删除页面 / 页面片段时为 true 会跳过自动切换到首个剩余页面)
|
|
668
670
|
* @param options.doNotPushHistory 是否不写入历史记录(默认 false)
|
|
669
671
|
*/
|
|
670
|
-
remove(nodeOrNodeList: MNode | MNode[],
|
|
671
|
-
doUpdate(config: MNode,
|
|
672
|
-
changeRecords?: ChangeRecord[];
|
|
673
|
-
historySource?: HistoryOpSource;
|
|
674
|
-
replace?: boolean;
|
|
675
|
-
}): Promise<{
|
|
672
|
+
remove(nodeOrNodeList: MNode | MNode[], options?: DslOpOptions): Promise<void>;
|
|
673
|
+
doUpdate(config: MNode, data?: UpdateOptions): Promise<{
|
|
676
674
|
newNode: MNode;
|
|
677
675
|
oldNode: MNode;
|
|
678
676
|
changeRecords?: ChangeRecord[];
|
|
@@ -681,35 +679,10 @@ declare class Editor extends BaseService {
|
|
|
681
679
|
* 更新节点
|
|
682
680
|
* update后会触发依赖收集,收集完后会掉stage.update方法
|
|
683
681
|
* @param config 新的节点配置,配置中需要有id信息
|
|
684
|
-
* @param data
|
|
685
|
-
* @param data.changeRecords 单节点 form 端变更记录(多节点场景下被忽略,使用 changeRecordList)
|
|
686
|
-
* @param data.changeRecordList 多节点 form 端变更记录列表,按 config 数组同序对应每个节点;优先级高于 changeRecords
|
|
687
|
-
* @param data.doNotPushHistory 是否不写入历史记录(默认 false)
|
|
688
|
-
* @param data.historyDescription 入栈时附带的人类可读描述,用于历史面板展示(不影响 undo/redo 行为)
|
|
689
|
-
* @param data.replace 是否整节点替换:为 true 时跳过 mergeWith / toggleFixedPosition / setChildrenLayout,直接用传入配置覆盖(默认 false)
|
|
682
|
+
* @param data 额外数据,见 {@link UpdateOptions}
|
|
690
683
|
* @returns 更新后的节点配置
|
|
691
684
|
*/
|
|
692
|
-
update(config: MNode | MNode[], data?:
|
|
693
|
-
changeRecords?: ChangeRecord[];
|
|
694
|
-
changeRecordList?: ChangeRecord[][];
|
|
695
|
-
doNotPushHistory?: boolean;
|
|
696
|
-
historyDescription?: string;
|
|
697
|
-
historySource?: HistoryOpSource;
|
|
698
|
-
/**
|
|
699
|
-
* 为 true 时不做深合并等变换,直接用传入配置整节点替换现有节点。
|
|
700
|
-
* 适用于源码编辑、历史整节点快照回放等「完整 DSL」场景;默认 false(局部属性更新走 merge)。
|
|
701
|
-
*/
|
|
702
|
-
replace?: boolean;
|
|
703
|
-
/**
|
|
704
|
-
* 属性面板提交时携带的校验错误信息,在写入历史记录之前落库,
|
|
705
|
-
* 使历史快照与本次变更对齐,从而 undo/redo 能正确还原错误标记。
|
|
706
|
-
*/
|
|
707
|
-
invalidInfo?: {
|
|
708
|
-
id: Id;
|
|
709
|
-
source: NodeInvalidSource;
|
|
710
|
-
error?: string;
|
|
711
|
-
};
|
|
712
|
-
}): Promise<MNode | MNode[]>;
|
|
685
|
+
update(config: MNode | MNode[], data?: UpdateOptions): Promise<MNode | MNode[]>;
|
|
713
686
|
/**
|
|
714
687
|
* 将id为id1的组件移动到id为id2的组件位置上,例如:[1,2,3,4] -> sort(1,3) -> [2,1,3,4]
|
|
715
688
|
* @param id1 组件ID
|
|
@@ -791,14 +764,7 @@ declare class Editor extends BaseService {
|
|
|
791
764
|
/** 等价于 {@link remove},并额外返回本次写入历史记录的 uuid 列表(未入栈时 historyIds 为 `[]`)。 */
|
|
792
765
|
removeAndGetHistoryId(nodeOrNodeList: MNode | MNode[], options?: DslOpOptions): Promise<DslOpWithHistoryIdsResult<void>>;
|
|
793
766
|
/** 等价于 {@link update},并额外返回本次写入历史记录的 uuid 列表(未入栈时 historyIds 为 `[]`)。 */
|
|
794
|
-
updateAndGetHistoryId(config: MNode | MNode[], data?:
|
|
795
|
-
changeRecords?: ChangeRecord[];
|
|
796
|
-
changeRecordList?: ChangeRecord[][];
|
|
797
|
-
doNotPushHistory?: boolean;
|
|
798
|
-
historyDescription?: string;
|
|
799
|
-
historySource?: HistoryOpSource;
|
|
800
|
-
replace?: boolean;
|
|
801
|
-
}): Promise<DslOpWithHistoryIdsResult<MNode | MNode[]>>;
|
|
767
|
+
updateAndGetHistoryId(config: MNode | MNode[], data?: UpdateOptions): Promise<DslOpWithHistoryIdsResult<MNode | MNode[]>>;
|
|
802
768
|
/** 等价于 {@link moveLayer},并额外返回本次写入历史记录的 uuid 列表(未入栈时 historyIds 为 `[]`)。 */
|
|
803
769
|
moveLayerAndGetHistoryId(offset: number | LayerOffset, options?: DslOpOptions): Promise<DslOpWithHistoryIdsResult<void>>;
|
|
804
770
|
/** 等价于 {@link moveToContainer},并额外返回本次写入历史记录的 uuid 列表(未入栈时 historyIds 为 `[]`)。 */
|
|
@@ -2736,6 +2702,30 @@ interface DslOpOptions extends HistoryOpOptions {
|
|
|
2736
2702
|
doNotSelect?: boolean;
|
|
2737
2703
|
doNotSwitchPage?: boolean;
|
|
2738
2704
|
}
|
|
2705
|
+
/**
|
|
2706
|
+
* {@link EditorService.update} / {@link EditorService.doUpdate} 的额外数据
|
|
2707
|
+
* - changeRecords: 单节点 form 端变更记录(多节点场景下被忽略,使用 changeRecordList)
|
|
2708
|
+
* - changeRecordList: 多节点 form 端变更记录列表,按 config 数组同序对应每个节点;优先级高于 changeRecords
|
|
2709
|
+
* - replace: 为 true 时跳过 mergeWith / toggleFixedPosition / setChildrenLayout,直接用传入配置整节点替换
|
|
2710
|
+
* - invalidInfo: 属性面板提交时携带的校验错误信息,在写入历史记录之前落库
|
|
2711
|
+
*/
|
|
2712
|
+
interface UpdateOptions extends HistoryOpOptionsWithChangeRecords {
|
|
2713
|
+
changeRecordList?: ChangeRecord[][];
|
|
2714
|
+
/**
|
|
2715
|
+
* 为 true 时不做深合并等变换,直接用传入配置整节点替换现有节点。
|
|
2716
|
+
* 适用于源码编辑、历史整节点快照回放等「完整 DSL」场景;默认 false(局部属性更新走 merge)。
|
|
2717
|
+
*/
|
|
2718
|
+
replace?: boolean;
|
|
2719
|
+
/**
|
|
2720
|
+
* 属性面板提交时携带的校验错误信息,在写入历史记录之前落库,
|
|
2721
|
+
* 使历史快照与本次变更对齐,从而 undo/redo 能正确还原错误标记。
|
|
2722
|
+
*/
|
|
2723
|
+
invalidInfo?: {
|
|
2724
|
+
id: Id;
|
|
2725
|
+
source: NodeInvalidSource;
|
|
2726
|
+
error?: string;
|
|
2727
|
+
};
|
|
2728
|
+
}
|
|
2739
2729
|
/** 差异对话框的入参 */
|
|
2740
2730
|
interface DiffDialogPayload {
|
|
2741
2731
|
/** 表单类别 */
|
|
@@ -3075,18 +3065,6 @@ declare const fillConfig: (config?: FormConfig, { labelWidth, disabledDataSource
|
|
|
3075
3065
|
disabledDataSource?: boolean;
|
|
3076
3066
|
disabledCodeBlock?: boolean;
|
|
3077
3067
|
}) => FormConfig;
|
|
3078
|
-
/**
|
|
3079
|
-
* 将属性表单配置中「样式」tab-pane 的 `display` 强制置为 `true`。
|
|
3080
|
-
*
|
|
3081
|
-
* `propsService.getPropsConfig` 返回的样式 tab 默认带有
|
|
3082
|
-
* `display: ({ services }) => !(services?.uiService?.get('showStylePanel') ?? true)`,
|
|
3083
|
-
* 在对比 / 只读展示场景(CompareForm / ViewForm)下并不需要跟随 uiService 状态隐藏,
|
|
3084
|
-
* 这里统一放开,保证样式 tab 始终可见。
|
|
3085
|
-
*
|
|
3086
|
-
* @param formConfig 组件属性表单配置
|
|
3087
|
-
* @returns 处理后的表单配置(不修改入参,返回浅拷贝)
|
|
3088
|
-
*/
|
|
3089
|
-
declare const removeStyleDisplayConfig: (formConfig: FormConfig) => FormConfig;
|
|
3090
3068
|
//#endregion
|
|
3091
3069
|
//#region temp/packages/editor/src/utils/code-block.d.ts
|
|
3092
3070
|
/**
|
|
@@ -6902,4 +6880,4 @@ declare const _default$43: {
|
|
|
6902
6880
|
install: (app: App, opt?: Partial<EditorInstallOptions | DesignPluginOptions | FormInstallOptions>) => void;
|
|
6903
6881
|
};
|
|
6904
6882
|
//#endregion
|
|
6905
|
-
export { ALL_COND_OPS, AddMNode, AddPrefixToObject, AsyncAfterHook, AsyncBeforeHook, AsyncHookPlugin, AsyncMethodName, BaseStepValue, BeforeAdd, CODE_DRAFT_STORAGE_KEY, COPY_CODE_STORAGE_KEY, COPY_DS_STORAGE_KEY, COPY_STORAGE_KEY, CanDropInFunction, CanDropInScene, _default as CodeBlockEditor, _default$1 as CodeBlockList, _default$2 as CodeBlockListPanel, CodeBlockListPanelSlots, CodeBlockListSlots, CodeBlockStepValue, CodeDeleteErrorType, CodeDslItem, CodeParamStatement, CodeRelation, _default$3 as CodeSelect, _default$4 as CodeSelectCol, CodeState, ColumnLayout, CombineInfo, CompareCategory, _default$5 as CompareForm, CompareFormBaseProps, CompareFormLoadConfig, CompareFormLoadConfigContext, ComponentGroup, ComponentGroupState, ComponentItem, _default$6 as ComponentListPanel, ComponentListPanelSlots, _default$7 as CondOpSelect, ConfirmAndRevertOptions, _default$8 as ContentMenu, ContentMenuTarget, ContentMenuType, CustomContentMenuFunction, CustomDiffFormOptions, DEFAULT_LEFT_COLUMN_WIDTH, DEFAULT_RIGHT_COLUMN_WIDTH, _default$9 as DataSourceAddButton, _default$10 as DataSourceConfigPanel, _default$11 as DataSourceFieldSelect, _default$12 as DataSourceFields, _default$13 as DataSourceInput, DataSourceListSlots, _default$14 as DataSourceMethodSelect, _default$15 as DataSourceMethods, _default$16 as DataSourceMocks, _default$17 as DataSourceSelect, DataSourceStepValue, DatasourceTypeOption, DepTargetType, DiffDialogPayload, _default$18 as DisplayConds, DragClassification, DragType, DslOpOptions, DslOpWithHistoryIdsResult, EVENT_NAME_VALUE_SEPARATOR, EditorChangeEvent, EditorChangeEventHistoryMeta, EditorChangeItem, EditorEvents, EditorInstallOptions, EditorNodeInfo, EditorSlots, EditorUpdateChangeItem, EventBus, EventBusEvent, EventNameOption, EventNameSelectOption, _default$19 as EventSelect, Fixed2Other, _default$20 as FloatingBox, FrameworkSlots, GetCodeBlockFormConfigOptions, GetColumnWidth, GetConfig, H_GUIDE_LINE_STORAGE_KEY, HistoryBucketConfig, _default$21 as HistoryDiffDialog, HistoryEvents, HistoryGroup, _default$22 as HistoryListBucket, _default$23 as HistoryListBucketTab, HistoryListExtraTab, HistoryOpOptions, HistoryOpOptionsWithChangeRecords, HistoryOpSource, HistoryOpType, HistoryPersistOptions, HistoryRowDescriptor, HistoryState, HistoryStepEntry, HistoryStepType, HistorySteps, _default$24 as Icon, IdleTask, IdleTaskEvents, IsExpandableFunction, KeyBindingCacheItem, KeyBindingCommand, KeyBindingItem, _default$25 as KeyValue, Keys, LEFT_COLUMN_WIDTH_STORAGE_KEY, _default$26 as LayerNodeContent, LayerNodeSlots, LayerNodeStatus, LayerOffset, _default$27 as LayerPanel, LayerPanelSlots, Layout, _default$28 as LayoutContainer, _default$28 as SplitView, ListState, MIN_CENTER_COLUMN_WIDTH, MIN_LEFT_COLUMN_WIDTH, MIN_RIGHT_COLUMN_WIDTH, MenuBarData, MenuButton, MenuComponent, MenuItem, NodeInvalidInfo, NodeInvalidSource, type OnDrag, PROPS_PANEL_WIDTH_STORAGE_KEY, PageBarSortOptions, _default$29 as PageFragmentSelect, PartSortableOptions, PastePosition, PersistedHistoryState, PropsFormConfigFunction, _default$30 as PropsFormPanel, PropsFormValueFunction, _default$31 as PropsPanel, PropsPanelSlots, PropsState, RIGHT_COLUMN_WIDTH_STORAGE_KEY, _default$32 as Resizer, ScrollViewer, ScrollViewerEvent, ScrollViewerSlots, SerializedUndoRedo, Services, SetColumnWidth, SideBarData, SideComponent, SideItem, SideItemKey, SidebarSlots, StageCore, StageOptions, StageOverlayState, StageRect, StageSlots, StepDiffItem, StepExtra, StepValue, StoreState, StoreStateKey, _default$33 as StyleSetter, SyncAfterHook, SyncBeforeHook, SyncHookPlugin, _default$34 as TMagicCodeEditor, _default$35 as TMagicEditor, _default$36 as ToolButton, _default$37 as Tree, _default$38 as TreeNode, TreeNodeData, type TypeMatchValidateContext, UI_SELECT_MODE_EVENT_NAME, UiState, UndoRedo, UseCompareFormReturn, UseHistoryRevertOptions, V_GUIDE_LINE_STORAGE_KEY, ValidateDataSourceFieldSelectOptions, _default$39 as ViewForm, WorkspaceSlots, advancedTabConfig, arrayOptions, beforePaste, booleanOptions, buildChangeRecords, calcAlignCenterStyle, calcLayerTargetIndex, calcMoveStyle, canUsePluginMethods, change2Fixed, classifyDragSources, _default$40 as codeBlockService, collectEventNameOptionValues, collectRelatedNodes, _default$41 as componentListService, confirmHistoryAction, createStackStep, _default$42 as dataSourceService, debug, _default$43 as default, defaultIsExpandable, _default$44 as depService, describeRevertStep, describeStepForRevert, deserializeStacks, designPlugin, detectStackOpType, detectTargetId, detectTargetName, displayTabConfig, editorNodeMergeCustomizer, _default$45 as editorService, editorTypeMatchRules, eqOptions, error, eventTabConfig, _default$46 as eventsService, fillConfig, fixNodeLeft, fixNodePosition, formPlugin, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getCodeBlockFormConfig, getCompActionAllowedValues, getCompActionOptions, getCondOpOptionsByFieldType, getDefaultConfig, getDisplayField, getEditorConfig, getEventNameAllowedValues, getEventNameOptions, getFieldType, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getLastPushedHistoryIds, getNodeIndex, getOrCreateStack, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, _default$47 as historyService, idbDelete, idbGet, idbSet, info, isEventNameCheckStrictly, isGlobalFlat, isIncludeDataSource, isIndexedDBSupported, _default$48 as keybindingService, _default$49 as loadMonaco, log, markStackSaved, mergeSteps, moveItemsInContainer, normalizeCompActionValue, numberOptions, openIndexedDB, _default$50 as propsService,
|
|
6883
|
+
export { ALL_COND_OPS, AddMNode, AddPrefixToObject, AsyncAfterHook, AsyncBeforeHook, AsyncHookPlugin, AsyncMethodName, BaseStepValue, BeforeAdd, CODE_DRAFT_STORAGE_KEY, COPY_CODE_STORAGE_KEY, COPY_DS_STORAGE_KEY, COPY_STORAGE_KEY, CanDropInFunction, CanDropInScene, _default as CodeBlockEditor, _default$1 as CodeBlockList, _default$2 as CodeBlockListPanel, CodeBlockListPanelSlots, CodeBlockListSlots, CodeBlockStepValue, CodeDeleteErrorType, CodeDslItem, CodeParamStatement, CodeRelation, _default$3 as CodeSelect, _default$4 as CodeSelectCol, CodeState, ColumnLayout, CombineInfo, CompareCategory, _default$5 as CompareForm, CompareFormBaseProps, CompareFormLoadConfig, CompareFormLoadConfigContext, ComponentGroup, ComponentGroupState, ComponentItem, _default$6 as ComponentListPanel, ComponentListPanelSlots, _default$7 as CondOpSelect, ConfirmAndRevertOptions, _default$8 as ContentMenu, ContentMenuTarget, ContentMenuType, CustomContentMenuFunction, CustomDiffFormOptions, DEFAULT_LEFT_COLUMN_WIDTH, DEFAULT_RIGHT_COLUMN_WIDTH, _default$9 as DataSourceAddButton, _default$10 as DataSourceConfigPanel, _default$11 as DataSourceFieldSelect, _default$12 as DataSourceFields, _default$13 as DataSourceInput, DataSourceListSlots, _default$14 as DataSourceMethodSelect, _default$15 as DataSourceMethods, _default$16 as DataSourceMocks, _default$17 as DataSourceSelect, DataSourceStepValue, DatasourceTypeOption, DepTargetType, DiffDialogPayload, _default$18 as DisplayConds, DragClassification, DragType, DslOpOptions, DslOpWithHistoryIdsResult, EVENT_NAME_VALUE_SEPARATOR, EditorChangeEvent, EditorChangeEventHistoryMeta, EditorChangeItem, EditorEvents, EditorInstallOptions, EditorNodeInfo, EditorSlots, EditorUpdateChangeItem, EventBus, EventBusEvent, EventNameOption, EventNameSelectOption, _default$19 as EventSelect, Fixed2Other, _default$20 as FloatingBox, FrameworkSlots, GetCodeBlockFormConfigOptions, GetColumnWidth, GetConfig, H_GUIDE_LINE_STORAGE_KEY, HistoryBucketConfig, _default$21 as HistoryDiffDialog, HistoryEvents, HistoryGroup, _default$22 as HistoryListBucket, _default$23 as HistoryListBucketTab, HistoryListExtraTab, HistoryOpOptions, HistoryOpOptionsWithChangeRecords, HistoryOpSource, HistoryOpType, HistoryPersistOptions, HistoryRowDescriptor, HistoryState, HistoryStepEntry, HistoryStepType, HistorySteps, _default$24 as Icon, IdleTask, IdleTaskEvents, IsExpandableFunction, KeyBindingCacheItem, KeyBindingCommand, KeyBindingItem, _default$25 as KeyValue, Keys, LEFT_COLUMN_WIDTH_STORAGE_KEY, _default$26 as LayerNodeContent, LayerNodeSlots, LayerNodeStatus, LayerOffset, _default$27 as LayerPanel, LayerPanelSlots, Layout, _default$28 as LayoutContainer, _default$28 as SplitView, ListState, MIN_CENTER_COLUMN_WIDTH, MIN_LEFT_COLUMN_WIDTH, MIN_RIGHT_COLUMN_WIDTH, MenuBarData, MenuButton, MenuComponent, MenuItem, NodeInvalidInfo, NodeInvalidSource, type OnDrag, PROPS_PANEL_WIDTH_STORAGE_KEY, PageBarSortOptions, _default$29 as PageFragmentSelect, PartSortableOptions, PastePosition, PersistedHistoryState, PropsFormConfigFunction, _default$30 as PropsFormPanel, PropsFormValueFunction, _default$31 as PropsPanel, PropsPanelSlots, PropsState, RIGHT_COLUMN_WIDTH_STORAGE_KEY, _default$32 as Resizer, ScrollViewer, ScrollViewerEvent, ScrollViewerSlots, SerializedUndoRedo, Services, SetColumnWidth, SideBarData, SideComponent, SideItem, SideItemKey, SidebarSlots, StageCore, StageOptions, StageOverlayState, StageRect, StageSlots, StepDiffItem, StepExtra, StepValue, StoreState, StoreStateKey, _default$33 as StyleSetter, SyncAfterHook, SyncBeforeHook, SyncHookPlugin, _default$34 as TMagicCodeEditor, _default$35 as TMagicEditor, _default$36 as ToolButton, _default$37 as Tree, _default$38 as TreeNode, TreeNodeData, type TypeMatchValidateContext, UI_SELECT_MODE_EVENT_NAME, UiState, UndoRedo, UpdateOptions, UseCompareFormReturn, UseHistoryRevertOptions, V_GUIDE_LINE_STORAGE_KEY, ValidateDataSourceFieldSelectOptions, _default$39 as ViewForm, WorkspaceSlots, advancedTabConfig, arrayOptions, beforePaste, booleanOptions, buildChangeRecords, calcAlignCenterStyle, calcLayerTargetIndex, calcMoveStyle, canUsePluginMethods, change2Fixed, classifyDragSources, _default$40 as codeBlockService, collectEventNameOptionValues, collectRelatedNodes, _default$41 as componentListService, confirmHistoryAction, createStackStep, _default$42 as dataSourceService, debug, _default$43 as default, defaultIsExpandable, _default$44 as depService, describeRevertStep, describeStepForRevert, deserializeStacks, designPlugin, detectStackOpType, detectTargetId, detectTargetName, displayTabConfig, editorNodeMergeCustomizer, _default$45 as editorService, editorTypeMatchRules, eqOptions, error, eventTabConfig, _default$46 as eventsService, fillConfig, fixNodeLeft, fixNodePosition, formPlugin, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getCodeBlockFormConfig, getCompActionAllowedValues, getCompActionOptions, getCondOpOptionsByFieldType, getDefaultConfig, getDisplayField, getEditorConfig, getEventNameAllowedValues, getEventNameOptions, getFieldType, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getLastPushedHistoryIds, getNodeIndex, getOrCreateStack, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, _default$47 as historyService, idbDelete, idbGet, idbSet, info, isEventNameCheckStrictly, isGlobalFlat, isIncludeDataSource, isIndexedDBSupported, _default$48 as keybindingService, _default$49 as loadMonaco, log, markStackSaved, mergeSteps, moveItemsInContainer, normalizeCompActionValue, numberOptions, openIndexedDB, _default$50 as propsService, resolveFieldByPath, resolveSelectedNode, serializeConfig, serializeStacks, setChildrenLayout, setEditorConfig, setLayout, _default$51 as stageOverlayService, _default$52 as storageService, styleTabConfig, tablePlugin, toggleFixedPosition, _default$53 as uiService, undoFloor, updateStatus, useCodeBlockEdit, useCompareForm, useEditorContentHeight, useFilter, useFloatBox, useGetSo, useHistoryRevert, useNextFloatBoxPosition, useNodeStatus, useServices, useStage, useWindowRect, validateDataSourceFieldSelectValue, warn };
|