@tmagic/editor 1.8.0-beta.12 → 1.8.0-beta.13
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/components/CodeBlockEditor.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/components/CompareForm.vue_vue_type_script_setup_true_lang.js +13 -121
- package/dist/es/components/ViewForm.js +5 -0
- package/dist/es/components/ViewForm.vue_vue_type_script_setup_true_lang.js +58 -0
- package/dist/es/hooks/use-compare-form.js +119 -0
- package/dist/es/index.js +6 -4
- package/dist/es/services/codeBlock.js +1 -1
- package/dist/es/services/history.js +1 -1
- package/dist/es/services/props.js +1 -1
- package/dist/es/services/storage.js +1 -1
- package/dist/es/utils/props.js +26 -1
- package/dist/tmagic-editor.umd.cjs +618 -566
- package/package.json +7 -7
- package/src/components/CompareForm.vue +15 -202
- package/src/components/ViewForm.vue +55 -0
- package/src/hooks/index.ts +1 -0
- package/src/hooks/use-compare-form.ts +187 -0
- package/src/index.ts +1 -0
- package/src/type.ts +52 -0
- package/src/utils/props.ts +29 -0
- package/types/index.d.ts +227 -169
package/types/index.d.ts
CHANGED
|
@@ -302,7 +302,7 @@ declare class CodeBlock extends BaseService {
|
|
|
302
302
|
private applyHistoryStep;
|
|
303
303
|
}
|
|
304
304
|
type CodeBlockService = CodeBlock;
|
|
305
|
-
declare const _default$
|
|
305
|
+
declare const _default$40: CodeBlock;
|
|
306
306
|
//#endregion
|
|
307
307
|
//#region temp/packages/editor/src/services/componentList.d.ts
|
|
308
308
|
declare class ComponentList extends BaseService {
|
|
@@ -317,7 +317,7 @@ declare class ComponentList extends BaseService {
|
|
|
317
317
|
destroy(): void;
|
|
318
318
|
}
|
|
319
319
|
type ComponentListService = ComponentList;
|
|
320
|
-
declare const _default$
|
|
320
|
+
declare const _default$41: ComponentList;
|
|
321
321
|
//#endregion
|
|
322
322
|
//#region temp/packages/editor/src/services/dataSource.d.ts
|
|
323
323
|
interface State$2 {
|
|
@@ -501,7 +501,7 @@ declare class DataSource extends BaseService {
|
|
|
501
501
|
private applyHistoryStep;
|
|
502
502
|
}
|
|
503
503
|
type DataSourceService = DataSource;
|
|
504
|
-
declare const _default$
|
|
504
|
+
declare const _default$42: DataSource;
|
|
505
505
|
//#endregion
|
|
506
506
|
//#region temp/packages/editor/src/services/dep.d.ts
|
|
507
507
|
interface DepEvents {
|
|
@@ -554,7 +554,7 @@ declare class Dep extends BaseService {
|
|
|
554
554
|
private enqueueTask;
|
|
555
555
|
}
|
|
556
556
|
type DepService = Dep;
|
|
557
|
-
declare const _default$
|
|
557
|
+
declare const _default$44: Dep;
|
|
558
558
|
//#endregion
|
|
559
559
|
//#region temp/packages/editor/src/services/editor.d.ts
|
|
560
560
|
declare class Editor extends BaseService {
|
|
@@ -968,7 +968,7 @@ declare class Editor extends BaseService {
|
|
|
968
968
|
private selectedConfigExceptionHandler;
|
|
969
969
|
}
|
|
970
970
|
type EditorService = Editor;
|
|
971
|
-
declare const _default$
|
|
971
|
+
declare const _default$45: Editor;
|
|
972
972
|
//#endregion
|
|
973
973
|
//#region temp/packages/editor/src/services/events.d.ts
|
|
974
974
|
declare const canUsePluginMethods$6: {
|
|
@@ -990,7 +990,7 @@ declare class Events extends BaseService {
|
|
|
990
990
|
usePlugin(options: AsyncHookPlugin<AsyncMethodName$3, Events> & SyncHookPlugin<SyncMethodName$4, Events>): void;
|
|
991
991
|
}
|
|
992
992
|
type EventsService = Events;
|
|
993
|
-
declare const _default$
|
|
993
|
+
declare const _default$46: Events;
|
|
994
994
|
//#endregion
|
|
995
995
|
//#region temp/packages/editor/src/utils/undo-redo.d.ts
|
|
996
996
|
/**
|
|
@@ -1306,7 +1306,7 @@ declare class History extends BaseService {
|
|
|
1306
1306
|
private resolveDbName;
|
|
1307
1307
|
}
|
|
1308
1308
|
type HistoryService = History;
|
|
1309
|
-
declare const _default$
|
|
1309
|
+
declare const _default$47: History;
|
|
1310
1310
|
//#endregion
|
|
1311
1311
|
//#region temp/packages/editor/src/services/keybinding.d.ts
|
|
1312
1312
|
declare class Keybinding extends BaseService {
|
|
@@ -1345,7 +1345,7 @@ declare class Keybinding extends BaseService {
|
|
|
1345
1345
|
private getKeyconKeys;
|
|
1346
1346
|
}
|
|
1347
1347
|
type KeybindingService = Keybinding;
|
|
1348
|
-
declare const _default$
|
|
1348
|
+
declare const _default$48: Keybinding;
|
|
1349
1349
|
//#endregion
|
|
1350
1350
|
//#region temp/packages/editor/src/services/props.d.ts
|
|
1351
1351
|
declare const canUsePluginMethods$4: {
|
|
@@ -1445,7 +1445,7 @@ declare class Props extends BaseService {
|
|
|
1445
1445
|
private setRelateId;
|
|
1446
1446
|
}
|
|
1447
1447
|
type PropsService = Props;
|
|
1448
|
-
declare const _default$
|
|
1448
|
+
declare const _default$50: Props;
|
|
1449
1449
|
//#endregion
|
|
1450
1450
|
//#region temp/packages/editor/src/services/stageOverlay.d.ts
|
|
1451
1451
|
declare const canUsePluginMethods$3: {
|
|
@@ -1472,7 +1472,7 @@ declare class StageOverlay extends BaseService {
|
|
|
1472
1472
|
private updateSelectStatus;
|
|
1473
1473
|
}
|
|
1474
1474
|
type StageOverlayService = StageOverlay;
|
|
1475
|
-
declare const _default$
|
|
1475
|
+
declare const _default$51: StageOverlay;
|
|
1476
1476
|
//#endregion
|
|
1477
1477
|
//#region temp/packages/editor/src/services/storage.d.ts
|
|
1478
1478
|
interface Options$1 {
|
|
@@ -1535,7 +1535,7 @@ declare class WebStorage extends BaseService {
|
|
|
1535
1535
|
private getValueAndProtocol;
|
|
1536
1536
|
}
|
|
1537
1537
|
type StorageService = WebStorage;
|
|
1538
|
-
declare const _default$
|
|
1538
|
+
declare const _default$52: WebStorage;
|
|
1539
1539
|
//#endregion
|
|
1540
1540
|
//#region temp/packages/editor/src/services/ui.d.ts
|
|
1541
1541
|
declare const canUsePluginMethods$1: {
|
|
@@ -1555,7 +1555,7 @@ declare class Ui extends BaseService {
|
|
|
1555
1555
|
private setStageRect;
|
|
1556
1556
|
}
|
|
1557
1557
|
type UiService = Ui;
|
|
1558
|
-
declare const _default$
|
|
1558
|
+
declare const _default$53: Ui;
|
|
1559
1559
|
//#endregion
|
|
1560
1560
|
//#region temp/packages/editor/src/type.d.ts
|
|
1561
1561
|
type EditorSlots = FrameworkSlots & WorkspaceSlots & SidebarSlots & PropsPanelSlots & {
|
|
@@ -2002,6 +2002,57 @@ interface CompareFormLoadConfigContext {
|
|
|
2002
2002
|
* 可通过 `ctx.defaultLoadConfig()` 复用默认结果再做二次加工。
|
|
2003
2003
|
*/
|
|
2004
2004
|
type CompareFormLoadConfig = (ctx: CompareFormLoadConfigContext) => FormConfig | Promise<FormConfig>;
|
|
2005
|
+
/**
|
|
2006
|
+
* CompareForm / ViewForm 共用的基础 props。
|
|
2007
|
+
* 两者都基于同一套「按 category 加载 FormConfig + 注入 services/stage」的逻辑(见 useCompareForm),
|
|
2008
|
+
* 差异仅在于是否做新旧值对比。这里抽出公共字段避免重复定义。
|
|
2009
|
+
*/
|
|
2010
|
+
interface CompareFormBaseProps {
|
|
2011
|
+
/** 当前值(对比场景下为修改后的值) */
|
|
2012
|
+
value: Partial<MNode> | Partial<DataSourceSchema> | Partial<CodeBlockContent> | Record<string, any>;
|
|
2013
|
+
/**
|
|
2014
|
+
* 类型说明:
|
|
2015
|
+
* - `category` 为 `node` 时,`type` 为节点组件的类型,例如 'text'、'button'、'page'、'container' 等
|
|
2016
|
+
* - `category` 为 `data-source` 时,`type` 为数据源类型,例如 'base'、'http'
|
|
2017
|
+
* - `category` 为 `code-block` 时,`type` 可不传
|
|
2018
|
+
*/
|
|
2019
|
+
type?: string;
|
|
2020
|
+
/** 表单配置类别,决定从哪里取 FormConfig */
|
|
2021
|
+
category?: CompareCategory;
|
|
2022
|
+
/** 数据源代码块场景下的数据源类型(base/http),用于代码块表单中"执行时机"展示 */
|
|
2023
|
+
dataSourceType?: string;
|
|
2024
|
+
labelWidth?: string;
|
|
2025
|
+
/**
|
|
2026
|
+
* 外层容器高度。设置后表单内容超出时会在组件内部出现滚动条,
|
|
2027
|
+
* 避免 dialog / 面板使用方需要自行处理滚动。可传任意 CSS 长度,例如 `60vh` / `400px` / `100%`。
|
|
2028
|
+
*/
|
|
2029
|
+
height?: string;
|
|
2030
|
+
/**
|
|
2031
|
+
* 用户自定义注入到 MForm.formState 的扩展字段,与 Editor 顶层的 `extendFormState`、
|
|
2032
|
+
* PropsPanel 的 `extend-state` 语义一致。表单 item 的 `display` / `disabled` 等
|
|
2033
|
+
* filterFunction 经常依赖这里注入的字段(如 stage、自定义业务上下文等),
|
|
2034
|
+
* 因此在对比 / 展示场景下也需要透传,避免出现 `formState.xxx is undefined` 的运行时错误。
|
|
2035
|
+
*/
|
|
2036
|
+
extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2037
|
+
/**
|
|
2038
|
+
* 外部透传的基础 formState(通常来自 PropsPanel 主属性表单)。
|
|
2039
|
+
* 组件会提取其中的扩展字段覆盖到自己的 formState,保证 filterFunction 上下文一致。
|
|
2040
|
+
*/
|
|
2041
|
+
baseFormState?: FormState;
|
|
2042
|
+
/**
|
|
2043
|
+
* 表单内组件的尺寸(透传给 MForm 的 `size`),可选 'large' | 'default' | 'small'。
|
|
2044
|
+
* 缺省时使用 MForm 内置默认尺寸。
|
|
2045
|
+
*/
|
|
2046
|
+
size?: FieldSize;
|
|
2047
|
+
/**
|
|
2048
|
+
* 自定义 FormConfig 加载逻辑。传入后将接管内置的按 `category`(node/data-source/code-block)
|
|
2049
|
+
* 取配置逻辑,调用方可根据业务自行返回(或异步返回)表单配置。可通过
|
|
2050
|
+
* `ctx.defaultLoadConfig()` 复用默认结果再做二次加工。
|
|
2051
|
+
*/
|
|
2052
|
+
loadConfig?: CompareFormLoadConfig;
|
|
2053
|
+
/** 编辑器服务集合,由调用方传入(不再通过 inject('services') 获取)。 */
|
|
2054
|
+
services?: Services;
|
|
2055
|
+
}
|
|
2005
2056
|
declare enum SideItemKey {
|
|
2006
2057
|
COMPONENT_LIST = "component-list",
|
|
2007
2058
|
LAYER = "layer",
|
|
@@ -2856,6 +2907,27 @@ declare const useCodeBlockEdit: (codeBlockService: Services["codeBlockService"])
|
|
|
2856
2907
|
submitCodeBlockHandler: (values: CodeBlockContent, eventData?: ContainerChangeEventData) => Promise<void>;
|
|
2857
2908
|
};
|
|
2858
2909
|
//#endregion
|
|
2910
|
+
//#region temp/packages/editor/src/hooks/use-compare-form.d.ts
|
|
2911
|
+
interface UseCompareFormReturn {
|
|
2912
|
+
config: Ref<FormConfig>;
|
|
2913
|
+
currentValues: ComputedRef<FormValue>;
|
|
2914
|
+
wrapperStyle: ComputedRef<Record<string, string> | undefined>;
|
|
2915
|
+
mergedExtendState: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2916
|
+
loadConfig: () => Promise<void>;
|
|
2917
|
+
formRef: Readonly<Ref<InstanceType<typeof MForm> | null>>;
|
|
2918
|
+
normalizeCodeBlockValue: (v: Partial<CodeBlockContent> | Record<string, any> | undefined) => Record<string, any>;
|
|
2919
|
+
}
|
|
2920
|
+
/**
|
|
2921
|
+
* CompareForm / ViewForm 共用逻辑:
|
|
2922
|
+
* - 按 `category`(node / data-source / code-block) 加载 FormConfig(支持自定义 `loadConfig`);
|
|
2923
|
+
* - 代码块 `content` 归一化为字符串;
|
|
2924
|
+
* - 外层容器固定高度 + 内部滚动的 `wrapperStyle`;
|
|
2925
|
+
* - 将 services / stage 注入 MForm.formState,保证 filterFunction 上下文一致。
|
|
2926
|
+
*
|
|
2927
|
+
* 两个组件的差异仅在于是否做新旧值对比,这部分逻辑保留在各自组件中。
|
|
2928
|
+
*/
|
|
2929
|
+
declare const useCompareForm: (props: CompareFormBaseProps) => UseCompareFormReturn;
|
|
2930
|
+
//#endregion
|
|
2859
2931
|
//#region temp/packages/editor/src/hooks/use-stage.d.ts
|
|
2860
2932
|
declare const useStage: (stageOptions: StageOptions) => StageCore$1;
|
|
2861
2933
|
//#endregion
|
|
@@ -2977,6 +3049,18 @@ declare const fillConfig: (config?: FormConfig, {
|
|
|
2977
3049
|
disabledDataSource?: boolean;
|
|
2978
3050
|
disabledCodeBlock?: boolean;
|
|
2979
3051
|
}) => FormConfig;
|
|
3052
|
+
/**
|
|
3053
|
+
* 将属性表单配置中「样式」tab-pane 的 `display` 强制置为 `true`。
|
|
3054
|
+
*
|
|
3055
|
+
* `propsService.getPropsConfig` 返回的样式 tab 默认带有
|
|
3056
|
+
* `display: ({ services }) => !(services?.uiService?.get('showStylePanel') ?? true)`,
|
|
3057
|
+
* 在对比 / 只读展示场景(CompareForm / ViewForm)下并不需要跟随 uiService 状态隐藏,
|
|
3058
|
+
* 这里统一放开,保证样式 tab 始终可见。
|
|
3059
|
+
*
|
|
3060
|
+
* @param formConfig 组件属性表单配置
|
|
3061
|
+
* @returns 处理后的表单配置(不修改入参,返回浅拷贝)
|
|
3062
|
+
*/
|
|
3063
|
+
declare const removeStyleDisplayConfig: (formConfig: FormConfig) => FormConfig;
|
|
2980
3064
|
/**
|
|
2981
3065
|
* validatePropsForm 参数
|
|
2982
3066
|
*/
|
|
@@ -3505,7 +3589,7 @@ declare const getCompActionAllowedValues: (config?: {
|
|
|
3505
3589
|
}) => Set<string> | null;
|
|
3506
3590
|
//#endregion
|
|
3507
3591
|
//#region temp/packages/editor/src/utils/monaco-editor.d.ts
|
|
3508
|
-
declare const _default$
|
|
3592
|
+
declare const _default$49: () => Promise<typeof import("monaco-editor")>;
|
|
3509
3593
|
//#endregion
|
|
3510
3594
|
//#region temp/packages/form/src/schema.d.ts
|
|
3511
3595
|
interface ChangeRecord$1 {
|
|
@@ -4638,8 +4722,8 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
|
|
|
4638
4722
|
containerHighlightType: import("@tmagic/stage").ContainerHighlightType;
|
|
4639
4723
|
canSelect: (el: HTMLElement) => boolean | Promise<boolean>;
|
|
4640
4724
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
4641
|
-
declare const __VLS_export$
|
|
4642
|
-
declare const _default$35: typeof __VLS_export$
|
|
4725
|
+
declare const __VLS_export$39: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
|
|
4726
|
+
declare const _default$35: typeof __VLS_export$39;
|
|
4643
4727
|
type __VLS_WithSlots$12<T, S> = T & {
|
|
4644
4728
|
new (): {
|
|
4645
4729
|
$slots: S;
|
|
@@ -4647,7 +4731,7 @@ type __VLS_WithSlots$12<T, S> = T & {
|
|
|
4647
4731
|
};
|
|
4648
4732
|
//#endregion
|
|
4649
4733
|
//#region temp/packages/editor/src/layouts/CodeEditor.vue.d.ts
|
|
4650
|
-
type __VLS_Props$
|
|
4734
|
+
type __VLS_Props$34 = {
|
|
4651
4735
|
initValues?: any;
|
|
4652
4736
|
modifiedValues?: any;
|
|
4653
4737
|
type?: 'diff';
|
|
@@ -4663,7 +4747,7 @@ type __VLS_Props$33 = {
|
|
|
4663
4747
|
};
|
|
4664
4748
|
editorCustomType?: string;
|
|
4665
4749
|
};
|
|
4666
|
-
declare const __VLS_export$
|
|
4750
|
+
declare const __VLS_export$38: import("@vue/runtime-core").DefineComponent<__VLS_Props$34, {
|
|
4667
4751
|
values: import("@vue/reactivity").Ref<string, string>;
|
|
4668
4752
|
getEditor(): Monaco.editor.IStandaloneCodeEditor | Monaco.editor.IStandaloneDiffEditor | null;
|
|
4669
4753
|
getVsEditor(): Monaco.editor.IStandaloneCodeEditor | null;
|
|
@@ -4674,7 +4758,7 @@ declare const __VLS_export$37: import("@vue/runtime-core").DefineComponent<__VLS
|
|
|
4674
4758
|
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
4675
4759
|
save: (...args: any[]) => void;
|
|
4676
4760
|
initd: (...args: any[]) => void;
|
|
4677
|
-
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$
|
|
4761
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$34> & Readonly<{
|
|
4678
4762
|
onSave?: ((...args: any[]) => any) | undefined;
|
|
4679
4763
|
onInitd?: ((...args: any[]) => any) | undefined;
|
|
4680
4764
|
}>, {
|
|
@@ -4685,13 +4769,13 @@ declare const __VLS_export$37: import("@vue/runtime-core").DefineComponent<__VLS
|
|
|
4685
4769
|
autoSave: boolean;
|
|
4686
4770
|
disabledFullScreen: boolean;
|
|
4687
4771
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
4688
|
-
declare const _default$34: typeof __VLS_export$
|
|
4772
|
+
declare const _default$34: typeof __VLS_export$38;
|
|
4689
4773
|
//#endregion
|
|
4690
4774
|
//#region temp/packages/editor/src/layouts/sidebar/ComponentListPanel.vue.d.ts
|
|
4691
4775
|
type __VLS_Slots$11 = ComponentListPanelSlots;
|
|
4692
4776
|
declare const __VLS_base$11: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
|
|
4693
|
-
declare const __VLS_export$
|
|
4694
|
-
declare const _default$6: typeof __VLS_export$
|
|
4777
|
+
declare const __VLS_export$37: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
|
|
4778
|
+
declare const _default$6: typeof __VLS_export$37;
|
|
4695
4779
|
type __VLS_WithSlots$11<T, S> = T & {
|
|
4696
4780
|
new (): {
|
|
4697
4781
|
$slots: S;
|
|
@@ -4700,7 +4784,7 @@ type __VLS_WithSlots$11<T, S> = T & {
|
|
|
4700
4784
|
//#endregion
|
|
4701
4785
|
//#region temp/packages/editor/src/layouts/sidebar/layer/LayerPanel.vue.d.ts
|
|
4702
4786
|
type __VLS_Slots$10 = LayerPanelSlots;
|
|
4703
|
-
type __VLS_Props$
|
|
4787
|
+
type __VLS_Props$33 = {
|
|
4704
4788
|
layerContentMenu: (MenuButton | MenuComponent)[];
|
|
4705
4789
|
indent?: number;
|
|
4706
4790
|
nextLevelIndentIncrement?: number;
|
|
@@ -4709,13 +4793,13 @@ type __VLS_Props$32 = {
|
|
|
4709
4793
|
canDropIn?: CanDropInFunction; /** 组件树节点双击前的钩子函数,返回 false 则阻止默认的双击行为 */
|
|
4710
4794
|
beforeNodeDblclick?: (_event: MouseEvent, _data: TreeNodeData) => Promise<boolean | void> | boolean | void;
|
|
4711
4795
|
};
|
|
4712
|
-
declare const __VLS_base$10: import("@vue/runtime-core").DefineComponent<__VLS_Props$
|
|
4796
|
+
declare const __VLS_base$10: import("@vue/runtime-core").DefineComponent<__VLS_Props$33, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
4713
4797
|
"node-dblclick": (event: MouseEvent, data: TreeNodeData) => any;
|
|
4714
|
-
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$
|
|
4798
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$33> & Readonly<{
|
|
4715
4799
|
"onNode-dblclick"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
4716
4800
|
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
4717
|
-
declare const __VLS_export$
|
|
4718
|
-
declare const _default$27: typeof __VLS_export$
|
|
4801
|
+
declare const __VLS_export$36: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
|
|
4802
|
+
declare const _default$27: typeof __VLS_export$36;
|
|
4719
4803
|
type __VLS_WithSlots$10<T, S> = T & {
|
|
4720
4804
|
new (): {
|
|
4721
4805
|
$slots: S;
|
|
@@ -4723,41 +4807,41 @@ type __VLS_WithSlots$10<T, S> = T & {
|
|
|
4723
4807
|
};
|
|
4724
4808
|
//#endregion
|
|
4725
4809
|
//#region temp/packages/editor/src/layouts/sidebar/layer/LayerNodeContent.vue.d.ts
|
|
4726
|
-
type __VLS_Props$
|
|
4810
|
+
type __VLS_Props$32 = {
|
|
4727
4811
|
data: TreeNodeData;
|
|
4728
4812
|
};
|
|
4729
|
-
declare const __VLS_export$
|
|
4730
|
-
declare const _default$26: typeof __VLS_export$
|
|
4813
|
+
declare const __VLS_export$35: import("@vue/runtime-core").DefineComponent<__VLS_Props$32, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$32> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
4814
|
+
declare const _default$26: typeof __VLS_export$35;
|
|
4731
4815
|
//#endregion
|
|
4732
4816
|
//#region temp/packages/editor/src/fields/CodeSelect.vue.d.ts
|
|
4733
|
-
type __VLS_Props$
|
|
4734
|
-
declare const __VLS_export$
|
|
4817
|
+
type __VLS_Props$31 = FieldProps<CodeSelectConfig>;
|
|
4818
|
+
declare const __VLS_export$34: import("@vue/runtime-core").DefineComponent<__VLS_Props$31, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
4735
4819
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
4736
|
-
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$
|
|
4820
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$31> & Readonly<{
|
|
4737
4821
|
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
4738
4822
|
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
4739
|
-
declare const _default$3: typeof __VLS_export$
|
|
4823
|
+
declare const _default$3: typeof __VLS_export$34;
|
|
4740
4824
|
//#endregion
|
|
4741
4825
|
//#region temp/packages/editor/src/fields/CodeSelectCol.vue.d.ts
|
|
4742
|
-
type __VLS_Props$
|
|
4743
|
-
declare const __VLS_export$
|
|
4826
|
+
type __VLS_Props$30 = FieldProps<CodeSelectColConfig>;
|
|
4827
|
+
declare const __VLS_export$33: import("@vue/runtime-core").DefineComponent<__VLS_Props$30, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
4744
4828
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
4745
|
-
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$
|
|
4829
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$30> & Readonly<{
|
|
4746
4830
|
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
4747
4831
|
}>, {
|
|
4748
4832
|
disabled: boolean;
|
|
4749
4833
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
4750
|
-
declare const _default$4: typeof __VLS_export$
|
|
4834
|
+
declare const _default$4: typeof __VLS_export$33;
|
|
4751
4835
|
//#endregion
|
|
4752
4836
|
//#region temp/packages/editor/src/fields/DataSourceFields.vue.d.ts
|
|
4753
|
-
type __VLS_Props$
|
|
4837
|
+
type __VLS_Props$29 = FieldProps<DataSourceFieldsConfig>;
|
|
4754
4838
|
type __VLS_ModelProps$4 = {
|
|
4755
4839
|
'width'?: number;
|
|
4756
4840
|
'visible'?: boolean;
|
|
4757
4841
|
'visible1'?: boolean;
|
|
4758
4842
|
};
|
|
4759
|
-
type __VLS_PublicProps$4 = __VLS_Props$
|
|
4760
|
-
declare const __VLS_export$
|
|
4843
|
+
type __VLS_PublicProps$4 = __VLS_Props$29 & __VLS_ModelProps$4;
|
|
4844
|
+
declare const __VLS_export$32: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps$4, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
4761
4845
|
change: (v: any, eventData?: ContainerChangeEventData | undefined) => any;
|
|
4762
4846
|
"update:visible": (value: boolean) => any;
|
|
4763
4847
|
"update:width": (value: number) => any;
|
|
@@ -4770,16 +4854,16 @@ declare const __VLS_export$31: import("@vue/runtime-core").DefineComponent<__VLS
|
|
|
4770
4854
|
}>, {
|
|
4771
4855
|
disabled: boolean;
|
|
4772
4856
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
4773
|
-
declare const _default$12: typeof __VLS_export$
|
|
4857
|
+
declare const _default$12: typeof __VLS_export$32;
|
|
4774
4858
|
//#endregion
|
|
4775
4859
|
//#region temp/packages/editor/src/fields/DataSourceMocks.vue.d.ts
|
|
4776
|
-
type __VLS_Props$
|
|
4860
|
+
type __VLS_Props$28 = FieldProps<DataSourceMocksConfig>;
|
|
4777
4861
|
type __VLS_ModelProps$3 = {
|
|
4778
4862
|
'width'?: number;
|
|
4779
4863
|
'visible'?: boolean;
|
|
4780
4864
|
};
|
|
4781
|
-
type __VLS_PublicProps$3 = __VLS_Props$
|
|
4782
|
-
declare const __VLS_export$
|
|
4865
|
+
type __VLS_PublicProps$3 = __VLS_Props$28 & __VLS_ModelProps$3;
|
|
4866
|
+
declare const __VLS_export$31: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps$3, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
4783
4867
|
"update:visible": (value: boolean) => any;
|
|
4784
4868
|
"update:width": (value: number) => any;
|
|
4785
4869
|
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_PublicProps$3> & Readonly<{
|
|
@@ -4788,91 +4872,91 @@ declare const __VLS_export$30: import("@vue/runtime-core").DefineComponent<__VLS
|
|
|
4788
4872
|
}>, {
|
|
4789
4873
|
disabled: boolean;
|
|
4790
4874
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
4791
|
-
declare const _default$16: typeof __VLS_export$
|
|
4875
|
+
declare const _default$16: typeof __VLS_export$31;
|
|
4792
4876
|
//#endregion
|
|
4793
4877
|
//#region temp/packages/editor/src/fields/DataSourceMethods.vue.d.ts
|
|
4794
|
-
type __VLS_Props$
|
|
4795
|
-
declare const __VLS_export$
|
|
4878
|
+
type __VLS_Props$27 = FieldProps<DataSourceMethodsConfig>;
|
|
4879
|
+
declare const __VLS_export$30: import("@vue/runtime-core").DefineComponent<__VLS_Props$27, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
4796
4880
|
change: (...args: any[]) => void;
|
|
4797
|
-
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$
|
|
4881
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$27> & Readonly<{
|
|
4798
4882
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
4799
4883
|
}>, {
|
|
4800
4884
|
disabled: boolean;
|
|
4801
4885
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
4802
|
-
declare const _default$15: typeof __VLS_export$
|
|
4886
|
+
declare const _default$15: typeof __VLS_export$30;
|
|
4803
4887
|
//#endregion
|
|
4804
4888
|
//#region temp/packages/editor/src/fields/DataSourceInput.vue.d.ts
|
|
4805
|
-
type __VLS_Props$
|
|
4806
|
-
declare const __VLS_export$
|
|
4889
|
+
type __VLS_Props$26 = FieldProps<DataSourceInputConfig>;
|
|
4890
|
+
declare const __VLS_export$29: import("@vue/runtime-core").DefineComponent<__VLS_Props$26, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
4807
4891
|
change: (value: string) => any;
|
|
4808
|
-
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$
|
|
4892
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$26> & Readonly<{
|
|
4809
4893
|
onChange?: ((value: string) => any) | undefined;
|
|
4810
4894
|
}>, {
|
|
4811
4895
|
disabled: boolean;
|
|
4812
4896
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
4813
|
-
declare const _default$13: typeof __VLS_export$
|
|
4897
|
+
declare const _default$13: typeof __VLS_export$29;
|
|
4814
4898
|
//#endregion
|
|
4815
4899
|
//#region temp/packages/editor/src/fields/DataSourceSelect.vue.d.ts
|
|
4816
|
-
type __VLS_Props$
|
|
4817
|
-
declare const __VLS_export$
|
|
4900
|
+
type __VLS_Props$25 = FieldProps<DataSourceSelect>;
|
|
4901
|
+
declare const __VLS_export$28: import("@vue/runtime-core").DefineComponent<__VLS_Props$25, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
4818
4902
|
change: (...args: any[]) => void;
|
|
4819
|
-
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$
|
|
4903
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$25> & Readonly<{
|
|
4820
4904
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
4821
4905
|
}>, {
|
|
4822
4906
|
disabled: boolean;
|
|
4823
4907
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
4824
|
-
declare const _default$17: typeof __VLS_export$
|
|
4908
|
+
declare const _default$17: typeof __VLS_export$28;
|
|
4825
4909
|
//#endregion
|
|
4826
4910
|
//#region temp/packages/editor/src/fields/DataSourceMethodSelect.vue.d.ts
|
|
4827
|
-
type __VLS_Props$
|
|
4828
|
-
declare const __VLS_export$
|
|
4911
|
+
type __VLS_Props$24 = FieldProps<DataSourceMethodSelectConfig>;
|
|
4912
|
+
declare const __VLS_export$27: import("@vue/runtime-core").DefineComponent<__VLS_Props$24, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
4829
4913
|
change: (...args: any[]) => void;
|
|
4830
|
-
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$
|
|
4914
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$24> & Readonly<{
|
|
4831
4915
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
4832
4916
|
}>, {
|
|
4833
4917
|
disabled: boolean;
|
|
4834
4918
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
4835
|
-
declare const _default$14: typeof __VLS_export$
|
|
4919
|
+
declare const _default$14: typeof __VLS_export$27;
|
|
4836
4920
|
//#endregion
|
|
4837
4921
|
//#region temp/packages/editor/src/fields/DataSourceFieldSelect/Index.vue.d.ts
|
|
4838
|
-
type __VLS_Props$
|
|
4839
|
-
declare const __VLS_export$
|
|
4922
|
+
type __VLS_Props$23 = FieldProps<DataSourceFieldSelectConfig>;
|
|
4923
|
+
declare const __VLS_export$26: import("@vue/runtime-core").DefineComponent<__VLS_Props$23, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
4840
4924
|
change: (...args: any[]) => void;
|
|
4841
|
-
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$
|
|
4925
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$23> & Readonly<{
|
|
4842
4926
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
4843
4927
|
}>, {
|
|
4844
4928
|
disabled: boolean;
|
|
4845
4929
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
4846
|
-
declare const _default$11: typeof __VLS_export$
|
|
4930
|
+
declare const _default$11: typeof __VLS_export$26;
|
|
4847
4931
|
//#endregion
|
|
4848
4932
|
//#region temp/packages/editor/src/fields/EventSelect.vue.d.ts
|
|
4849
|
-
type __VLS_Props$
|
|
4850
|
-
declare const __VLS_export$
|
|
4933
|
+
type __VLS_Props$22 = FieldProps<EventSelectConfig>;
|
|
4934
|
+
declare const __VLS_export$25: import("@vue/runtime-core").DefineComponent<__VLS_Props$22, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
4851
4935
|
change: (v: any, eventData?: ContainerChangeEventData | undefined) => any;
|
|
4852
|
-
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$
|
|
4936
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$22> & Readonly<{
|
|
4853
4937
|
onChange?: ((v: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
4854
4938
|
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
4855
|
-
declare const _default$19: typeof __VLS_export$
|
|
4939
|
+
declare const _default$19: typeof __VLS_export$25;
|
|
4856
4940
|
//#endregion
|
|
4857
4941
|
//#region temp/packages/editor/src/fields/KeyValue.vue.d.ts
|
|
4858
|
-
type __VLS_Props$
|
|
4859
|
-
declare const __VLS_export$
|
|
4942
|
+
type __VLS_Props$21 = FieldProps<KeyValueConfig>;
|
|
4943
|
+
declare const __VLS_export$24: import("@vue/runtime-core").DefineComponent<__VLS_Props$21, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
4860
4944
|
change: (value: Record<string, any>) => any;
|
|
4861
|
-
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$
|
|
4945
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$21> & Readonly<{
|
|
4862
4946
|
onChange?: ((value: Record<string, any>) => any) | undefined;
|
|
4863
4947
|
}>, {
|
|
4864
4948
|
disabled: boolean;
|
|
4865
4949
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
4866
|
-
declare const _default$25: typeof __VLS_export$
|
|
4950
|
+
declare const _default$25: typeof __VLS_export$24;
|
|
4867
4951
|
//#endregion
|
|
4868
4952
|
//#region temp/packages/editor/src/layouts/sidebar/code-block/CodeBlockList.vue.d.ts
|
|
4869
4953
|
type __VLS_Slots$9 = CodeBlockListSlots;
|
|
4870
|
-
type __VLS_Props$
|
|
4954
|
+
type __VLS_Props$20 = {
|
|
4871
4955
|
indent?: number;
|
|
4872
4956
|
nextLevelIndentIncrement?: number;
|
|
4873
4957
|
customError?: (_id: Id, _errorType: CodeDeleteErrorType) => any;
|
|
4874
4958
|
};
|
|
4875
|
-
declare const __VLS_base$9: import("@vue/runtime-core").DefineComponent<__VLS_Props$
|
|
4959
|
+
declare const __VLS_base$9: import("@vue/runtime-core").DefineComponent<__VLS_Props$20, {
|
|
4876
4960
|
nodeStatusMap: import("@vue/reactivity").Ref<Map<Id, {
|
|
4877
4961
|
visible: boolean;
|
|
4878
4962
|
expand: boolean;
|
|
@@ -4896,15 +4980,15 @@ declare const __VLS_base$9: import("@vue/runtime-core").DefineComponent<__VLS_Pr
|
|
|
4896
4980
|
}) => any;
|
|
4897
4981
|
edit: (id: string) => any;
|
|
4898
4982
|
"node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
|
|
4899
|
-
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$
|
|
4983
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$20> & Readonly<{
|
|
4900
4984
|
onRemove?: ((id: string, args_1: {
|
|
4901
4985
|
historySource?: HistoryOpSource;
|
|
4902
4986
|
}) => any) | undefined;
|
|
4903
4987
|
onEdit?: ((id: string) => any) | undefined;
|
|
4904
4988
|
"onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
4905
4989
|
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
4906
|
-
declare const __VLS_export$
|
|
4907
|
-
declare const _default$1: typeof __VLS_export$
|
|
4990
|
+
declare const __VLS_export$23: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
|
|
4991
|
+
declare const _default$1: typeof __VLS_export$23;
|
|
4908
4992
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
4909
4993
|
new (): {
|
|
4910
4994
|
$slots: S;
|
|
@@ -4913,15 +4997,15 @@ type __VLS_WithSlots$9<T, S> = T & {
|
|
|
4913
4997
|
//#endregion
|
|
4914
4998
|
//#region temp/packages/editor/src/layouts/sidebar/code-block/CodeBlockListPanel.vue.d.ts
|
|
4915
4999
|
type __VLS_Slots$8 = CodeBlockListPanelSlots;
|
|
4916
|
-
type __VLS_Props$
|
|
5000
|
+
type __VLS_Props$19 = {
|
|
4917
5001
|
indent?: number;
|
|
4918
5002
|
nextLevelIndentIncrement?: number;
|
|
4919
5003
|
customError?: (_id: Id, _errorType: CodeDeleteErrorType) => any;
|
|
4920
5004
|
customContentMenu: CustomContentMenuFunction;
|
|
4921
5005
|
};
|
|
4922
|
-
declare const __VLS_base$8: import("@vue/runtime-core").DefineComponent<__VLS_Props$
|
|
4923
|
-
declare const __VLS_export$
|
|
4924
|
-
declare const _default$2: typeof __VLS_export$
|
|
5006
|
+
declare const __VLS_base$8: import("@vue/runtime-core").DefineComponent<__VLS_Props$19, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$19> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
5007
|
+
declare const __VLS_export$22: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
|
|
5008
|
+
declare const _default$2: typeof __VLS_export$22;
|
|
4925
5009
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
4926
5010
|
new (): {
|
|
4927
5011
|
$slots: S;
|
|
@@ -4929,7 +5013,7 @@ type __VLS_WithSlots$8<T, S> = T & {
|
|
|
4929
5013
|
};
|
|
4930
5014
|
//#endregion
|
|
4931
5015
|
//#region temp/packages/editor/src/layouts/sidebar/data-source/DataSourceConfigPanel.vue.d.ts
|
|
4932
|
-
type __VLS_Props$
|
|
5016
|
+
type __VLS_Props$18 = {
|
|
4933
5017
|
title?: string;
|
|
4934
5018
|
values: any;
|
|
4935
5019
|
disabled: boolean; /** 打开后需要直接定位并打开的方法名,传入时默认激活「方法定义」tab */
|
|
@@ -4940,8 +5024,8 @@ type __VLS_ModelProps$2 = {
|
|
|
4940
5024
|
'visible'?: boolean;
|
|
4941
5025
|
'width'?: number;
|
|
4942
5026
|
};
|
|
4943
|
-
type __VLS_PublicProps$2 = __VLS_Props$
|
|
4944
|
-
declare const __VLS_export$
|
|
5027
|
+
type __VLS_PublicProps$2 = __VLS_Props$18 & __VLS_ModelProps$2;
|
|
5028
|
+
declare const __VLS_export$21: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps$2, {
|
|
4945
5029
|
show(): void;
|
|
4946
5030
|
hide(): void;
|
|
4947
5031
|
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
@@ -4957,10 +5041,10 @@ declare const __VLS_export$20: import("@vue/runtime-core").DefineComponent<__VLS
|
|
|
4957
5041
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
4958
5042
|
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
4959
5043
|
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
4960
|
-
declare const _default$10: typeof __VLS_export$
|
|
5044
|
+
declare const _default$10: typeof __VLS_export$21;
|
|
4961
5045
|
//#endregion
|
|
4962
5046
|
//#region temp/packages/editor/src/layouts/sidebar/data-source/DataSourceAddButton.vue.d.ts
|
|
4963
|
-
type __VLS_Props$
|
|
5047
|
+
type __VLS_Props$17 = {
|
|
4964
5048
|
datasourceTypeList: {
|
|
4965
5049
|
text: string;
|
|
4966
5050
|
type: string;
|
|
@@ -4968,20 +5052,20 @@ type __VLS_Props$16 = {
|
|
|
4968
5052
|
addButtonConfig?: ButtonProps;
|
|
4969
5053
|
addButtonText?: string;
|
|
4970
5054
|
};
|
|
4971
|
-
declare const __VLS_export$
|
|
5055
|
+
declare const __VLS_export$20: import("@vue/runtime-core").DefineComponent<__VLS_Props$17, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
4972
5056
|
add: (type: string) => any;
|
|
4973
|
-
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$
|
|
5057
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$17> & Readonly<{
|
|
4974
5058
|
onAdd?: ((type: string) => any) | undefined;
|
|
4975
5059
|
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
4976
|
-
declare const _default$9: typeof __VLS_export$
|
|
5060
|
+
declare const _default$9: typeof __VLS_export$20;
|
|
4977
5061
|
//#endregion
|
|
4978
5062
|
//#region temp/packages/editor/src/layouts/props-panel/PropsPanel.vue.d.ts
|
|
4979
5063
|
type __VLS_Slots$7 = PropsPanelSlots;
|
|
4980
|
-
type __VLS_Props$
|
|
5064
|
+
type __VLS_Props$16 = {
|
|
4981
5065
|
disabledShowSrc?: boolean;
|
|
4982
5066
|
extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
4983
5067
|
};
|
|
4984
|
-
declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Props$
|
|
5068
|
+
declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Props$16, {
|
|
4985
5069
|
getFormState(): FormState | undefined;
|
|
4986
5070
|
submit: (v: MNode, eventData?: ContainerChangeEventData, error?: any, source?: NodeInvalidSource) => Promise<void>;
|
|
4987
5071
|
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
@@ -5454,7 +5538,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
|
|
|
5454
5538
|
unmounted: () => any;
|
|
5455
5539
|
"submit-error": (e: any) => any;
|
|
5456
5540
|
"form-error": (e: any) => any;
|
|
5457
|
-
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$
|
|
5541
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$16> & Readonly<{
|
|
5458
5542
|
onMounted?: ((internalInstance: {
|
|
5459
5543
|
$: import("@vue/runtime-core").ComponentInternalInstance;
|
|
5460
5544
|
$data: {};
|
|
@@ -5925,8 +6009,8 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
|
|
|
5925
6009
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
5926
6010
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
5927
6011
|
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
5928
|
-
declare const __VLS_export$
|
|
5929
|
-
declare const _default$31: typeof __VLS_export$
|
|
6012
|
+
declare const __VLS_export$19: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
|
|
6013
|
+
declare const _default$31: typeof __VLS_export$19;
|
|
5930
6014
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
5931
6015
|
new (): {
|
|
5932
6016
|
$slots: S;
|
|
@@ -5937,7 +6021,7 @@ type __VLS_WithSlots$7<T, S> = T & {
|
|
|
5937
6021
|
type __VLS_Slots$6 = {
|
|
5938
6022
|
'props-form-panel-header'(_props: {}): any;
|
|
5939
6023
|
};
|
|
5940
|
-
type __VLS_Props$
|
|
6024
|
+
type __VLS_Props$15 = {
|
|
5941
6025
|
config: FormConfig;
|
|
5942
6026
|
values: FormValue;
|
|
5943
6027
|
disabledShowSrc?: boolean;
|
|
@@ -5946,7 +6030,7 @@ type __VLS_Props$14 = {
|
|
|
5946
6030
|
labelPosition?: string;
|
|
5947
6031
|
extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
5948
6032
|
};
|
|
5949
|
-
declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Props$
|
|
6033
|
+
declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Props$15, {
|
|
5950
6034
|
configForm: Readonly<import("@vue/reactivity").ShallowRef<({
|
|
5951
6035
|
$: import("@vue/runtime-core").ComponentInternalInstance;
|
|
5952
6036
|
$data: {};
|
|
@@ -6141,15 +6225,15 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
|
|
|
6141
6225
|
submit: (values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any;
|
|
6142
6226
|
"submit-error": (e: any) => any;
|
|
6143
6227
|
"form-error": (e: any) => any;
|
|
6144
|
-
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$
|
|
6228
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$15> & Readonly<{
|
|
6145
6229
|
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
6146
6230
|
onUnmounted?: (() => any) | undefined;
|
|
6147
6231
|
onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
|
|
6148
6232
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
6149
6233
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
6150
6234
|
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
6151
|
-
declare const __VLS_export$
|
|
6152
|
-
declare const _default$30: typeof __VLS_export$
|
|
6235
|
+
declare const __VLS_export$18: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
|
|
6236
|
+
declare const _default$30: typeof __VLS_export$18;
|
|
6153
6237
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
6154
6238
|
new (): {
|
|
6155
6239
|
$slots: S;
|
|
@@ -6157,20 +6241,20 @@ type __VLS_WithSlots$6<T, S> = T & {
|
|
|
6157
6241
|
};
|
|
6158
6242
|
//#endregion
|
|
6159
6243
|
//#region temp/packages/editor/src/components/ToolButton.vue.d.ts
|
|
6160
|
-
type __VLS_Props$
|
|
6244
|
+
type __VLS_Props$14 = {
|
|
6161
6245
|
data?: MenuButton | MenuComponent;
|
|
6162
6246
|
eventType?: 'mousedown' | 'mouseup' | 'click';
|
|
6163
6247
|
};
|
|
6164
|
-
declare const __VLS_export$
|
|
6248
|
+
declare const __VLS_export$17: import("@vue/runtime-core").DefineComponent<__VLS_Props$14, {
|
|
6165
6249
|
getElRef: () => Readonly<import("@vue/reactivity").ShallowRef<HTMLDivElement | null>>;
|
|
6166
|
-
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$
|
|
6250
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$14> & Readonly<{}>, {
|
|
6167
6251
|
data: MenuButton | MenuComponent;
|
|
6168
6252
|
eventType: "mousedown" | "mouseup" | "click";
|
|
6169
6253
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
6170
|
-
declare const _default$36: typeof __VLS_export$
|
|
6254
|
+
declare const _default$36: typeof __VLS_export$17;
|
|
6171
6255
|
//#endregion
|
|
6172
6256
|
//#region temp/packages/editor/src/components/ContentMenu.vue.d.ts
|
|
6173
|
-
type __VLS_Props$
|
|
6257
|
+
type __VLS_Props$13 = {
|
|
6174
6258
|
menuData?: (MenuButton | MenuComponent)[];
|
|
6175
6259
|
isSubMenu?: boolean;
|
|
6176
6260
|
active?: string | number;
|
|
@@ -6180,7 +6264,7 @@ declare var __VLS_7$1: {};
|
|
|
6180
6264
|
type __VLS_Slots$5 = {} & {
|
|
6181
6265
|
title?: (props: typeof __VLS_7$1) => any;
|
|
6182
6266
|
};
|
|
6183
|
-
declare const __VLS_base$5: import("@vue/runtime-core").DefineComponent<__VLS_Props$
|
|
6267
|
+
declare const __VLS_base$5: import("@vue/runtime-core").DefineComponent<__VLS_Props$13, {
|
|
6184
6268
|
menu: Readonly<import("@vue/reactivity").ShallowRef<HTMLDivElement | null>>;
|
|
6185
6269
|
menuPosition: Ref<{
|
|
6186
6270
|
left: number;
|
|
@@ -6206,7 +6290,7 @@ declare const __VLS_base$5: import("@vue/runtime-core").DefineComponent<__VLS_Pr
|
|
|
6206
6290
|
mouseenter: () => any;
|
|
6207
6291
|
show: () => any;
|
|
6208
6292
|
hide: () => any;
|
|
6209
|
-
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$
|
|
6293
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$13> & Readonly<{
|
|
6210
6294
|
onMouseenter?: (() => any) | undefined;
|
|
6211
6295
|
onShow?: (() => any) | undefined;
|
|
6212
6296
|
onHide?: (() => any) | undefined;
|
|
@@ -6215,8 +6299,8 @@ declare const __VLS_base$5: import("@vue/runtime-core").DefineComponent<__VLS_Pr
|
|
|
6215
6299
|
isSubMenu: boolean;
|
|
6216
6300
|
autoHide: boolean;
|
|
6217
6301
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
6218
|
-
declare const __VLS_export$
|
|
6219
|
-
declare const _default$8: typeof __VLS_export$
|
|
6302
|
+
declare const __VLS_export$16: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
|
|
6303
|
+
declare const _default$8: typeof __VLS_export$16;
|
|
6220
6304
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
6221
6305
|
new (): {
|
|
6222
6306
|
$slots: S;
|
|
@@ -6224,14 +6308,14 @@ type __VLS_WithSlots$5<T, S> = T & {
|
|
|
6224
6308
|
};
|
|
6225
6309
|
//#endregion
|
|
6226
6310
|
//#region temp/packages/editor/src/components/Icon.vue.d.ts
|
|
6227
|
-
type __VLS_Props$
|
|
6311
|
+
type __VLS_Props$12 = {
|
|
6228
6312
|
icon?: any;
|
|
6229
6313
|
};
|
|
6230
|
-
declare const __VLS_export$
|
|
6231
|
-
declare const _default$24: typeof __VLS_export$
|
|
6314
|
+
declare const __VLS_export$15: import("@vue/runtime-core").DefineComponent<__VLS_Props$12, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$12> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
6315
|
+
declare const _default$24: typeof __VLS_export$15;
|
|
6232
6316
|
//#endregion
|
|
6233
6317
|
//#region temp/packages/editor/src/components/SplitView.vue.d.ts
|
|
6234
|
-
type __VLS_Props$
|
|
6318
|
+
type __VLS_Props$11 = {
|
|
6235
6319
|
width?: number;
|
|
6236
6320
|
left?: number;
|
|
6237
6321
|
right?: number;
|
|
@@ -6250,13 +6334,13 @@ type __VLS_Slots$4 = {} & {
|
|
|
6250
6334
|
} & {
|
|
6251
6335
|
right?: (props: typeof __VLS_19) => any;
|
|
6252
6336
|
};
|
|
6253
|
-
declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Props$
|
|
6337
|
+
declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Props$11, {
|
|
6254
6338
|
updateWidth(): void;
|
|
6255
6339
|
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
6256
6340
|
change: (...args: any[]) => void;
|
|
6257
6341
|
"update:left": (...args: any[]) => void;
|
|
6258
6342
|
"update:right": (...args: any[]) => void;
|
|
6259
|
-
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$
|
|
6343
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$11> & Readonly<{
|
|
6260
6344
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
6261
6345
|
"onUpdate:left"?: ((...args: any[]) => any) | undefined;
|
|
6262
6346
|
"onUpdate:right"?: ((...args: any[]) => any) | undefined;
|
|
@@ -6265,8 +6349,8 @@ declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Pr
|
|
|
6265
6349
|
minRight: number;
|
|
6266
6350
|
minCenter: number;
|
|
6267
6351
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
6268
|
-
declare const __VLS_export$
|
|
6269
|
-
declare const _default$28: typeof __VLS_export$
|
|
6352
|
+
declare const __VLS_export$14: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
|
|
6353
|
+
declare const _default$28: typeof __VLS_export$14;
|
|
6270
6354
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
6271
6355
|
new (): {
|
|
6272
6356
|
$slots: S;
|
|
@@ -6283,8 +6367,8 @@ declare const __VLS_base$3: import("@vue/runtime-core").DefineComponent<{}, {},
|
|
|
6283
6367
|
}, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{
|
|
6284
6368
|
onChange?: ((e: OnDrag$1<import("gesto").default>) => any) | undefined;
|
|
6285
6369
|
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
|
|
6286
|
-
declare const __VLS_export$
|
|
6287
|
-
declare const _default$32: typeof __VLS_export$
|
|
6370
|
+
declare const __VLS_export$13: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
|
|
6371
|
+
declare const _default$32: typeof __VLS_export$13;
|
|
6288
6372
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
6289
6373
|
new (): {
|
|
6290
6374
|
$slots: S;
|
|
@@ -6292,7 +6376,7 @@ type __VLS_WithSlots$3<T, S> = T & {
|
|
|
6292
6376
|
};
|
|
6293
6377
|
//#endregion
|
|
6294
6378
|
//#region temp/packages/editor/src/components/CodeBlockEditor.vue.d.ts
|
|
6295
|
-
type __VLS_Props$
|
|
6379
|
+
type __VLS_Props$10 = {
|
|
6296
6380
|
content: Omit<CodeBlockContent, 'content'> & {
|
|
6297
6381
|
content: string;
|
|
6298
6382
|
};
|
|
@@ -6304,8 +6388,8 @@ type __VLS_ModelProps$1 = {
|
|
|
6304
6388
|
'width'?: number;
|
|
6305
6389
|
'visible'?: boolean;
|
|
6306
6390
|
};
|
|
6307
|
-
type __VLS_PublicProps$1 = __VLS_Props$
|
|
6308
|
-
declare const __VLS_export$
|
|
6391
|
+
type __VLS_PublicProps$1 = __VLS_Props$10 & __VLS_ModelProps$1;
|
|
6392
|
+
declare const __VLS_export$12: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps$1, {
|
|
6309
6393
|
show(): Promise<void>;
|
|
6310
6394
|
hide(): Promise<void>;
|
|
6311
6395
|
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
@@ -6321,63 +6405,37 @@ declare const __VLS_export$11: import("@vue/runtime-core").DefineComponent<__VLS
|
|
|
6321
6405
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
6322
6406
|
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
6323
6407
|
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
6324
|
-
declare const _default: typeof __VLS_export$
|
|
6408
|
+
declare const _default: typeof __VLS_export$12;
|
|
6325
6409
|
//#endregion
|
|
6326
6410
|
//#region temp/packages/editor/src/components/CompareForm.vue.d.ts
|
|
6327
|
-
type __VLS_Props$
|
|
6328
|
-
/**
|
|
6329
|
-
lastValue?: Partial<MNode> | Partial<DataSourceSchema> | Partial<CodeBlockContent> | Record<string, any>;
|
|
6330
|
-
/**
|
|
6331
|
-
* 类型说明:
|
|
6332
|
-
* - `category` 为 `node` 时,`type` 为节点组件的类型,例如 'text'、'button'、'page'、'container' 等
|
|
6333
|
-
* - `category` 为 `data-source` 时,`type` 为数据源类型,例如 'base'、'http'
|
|
6334
|
-
* - `category` 为 `code-block` 时,`type` 可不传
|
|
6335
|
-
*/
|
|
6336
|
-
type?: string; /** 表单配置类别,决定从哪里取 FormConfig */
|
|
6337
|
-
category?: CompareCategory; /** 数据源代码块场景下的数据源类型(base/http),用于代码块表单中"执行时机"展示 */
|
|
6338
|
-
dataSourceType?: string;
|
|
6339
|
-
labelWidth?: string;
|
|
6340
|
-
/**
|
|
6341
|
-
* 外层容器高度。设置后表单内容超出时会在 CompareForm 内部出现滚动条,
|
|
6342
|
-
* 避免 dialog / 面板使用方需要自行处理滚动。可传任意 CSS 长度,例如 `60vh` / `400px` / `100%`。
|
|
6343
|
-
*/
|
|
6344
|
-
height?: string;
|
|
6345
|
-
/**
|
|
6346
|
-
* 用户自定义注入到 MForm.formState 的扩展字段,与 Editor 顶层的 `extendFormState`、
|
|
6347
|
-
* PropsPanel 的 `extend-state` 语义一致。表单 item 的 `display` / `disabled` 等
|
|
6348
|
-
* filterFunction 经常依赖这里注入的字段(如 stage、自定义业务上下文等),
|
|
6349
|
-
* 因此在差异对比场景下也需要透传,避免出现 `formState.xxx is undefined` 的运行时错误。
|
|
6350
|
-
*/
|
|
6351
|
-
extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
6352
|
-
/**
|
|
6353
|
-
* 外部透传的基础 formState(通常来自 PropsPanel 主属性表单)。
|
|
6354
|
-
* CompareForm 会提取其中的扩展字段覆盖到自己的 formState,保证 filterFunction 上下文一致。
|
|
6355
|
-
*/
|
|
6356
|
-
baseFormState?: FormState; /** 需要走 self diff 的字段类型(例如 mod-cond)。 */
|
|
6411
|
+
type __VLS_Props$9 = CompareFormBaseProps & {
|
|
6412
|
+
/** 用于对比的旧值(修改前的值) */lastValue?: CompareFormBaseProps['value']; /** 需要走 self diff 的字段类型(例如 mod-cond)。 */
|
|
6357
6413
|
selfDiffFieldTypes?: string[];
|
|
6358
|
-
|
|
6359
|
-
|
|
6360
|
-
|
|
6361
|
-
|
|
6362
|
-
|
|
6363
|
-
|
|
6364
|
-
|
|
6365
|
-
|
|
6366
|
-
|
|
6367
|
-
|
|
6368
|
-
|
|
6369
|
-
|
|
6414
|
+
};
|
|
6415
|
+
declare const __VLS_export$11: import("@vue/runtime-core").DefineComponent<__VLS_Props$9, {
|
|
6416
|
+
form: ShallowRef<InstanceType<typeof MForm> | null>;
|
|
6417
|
+
config: Ref<FormConfig>;
|
|
6418
|
+
reload: () => Promise<void>;
|
|
6419
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$9> & Readonly<{}>, {
|
|
6420
|
+
labelWidth: string;
|
|
6421
|
+
category: CompareCategory;
|
|
6422
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
6423
|
+
declare const _default$5: typeof __VLS_export$11;
|
|
6424
|
+
//#endregion
|
|
6425
|
+
//#region temp/packages/editor/src/components/ViewForm.vue.d.ts
|
|
6426
|
+
type __VLS_Props$8 = CompareFormBaseProps & {
|
|
6427
|
+
/** 是否禁用表单(默认只读展示)。 */disabled?: boolean;
|
|
6370
6428
|
};
|
|
6371
6429
|
declare const __VLS_export$10: import("@vue/runtime-core").DefineComponent<__VLS_Props$8, {
|
|
6372
6430
|
form: ShallowRef<InstanceType<typeof MForm> | null>;
|
|
6373
6431
|
config: Ref<FormConfig>;
|
|
6374
6432
|
reload: () => Promise<void>;
|
|
6375
6433
|
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$8> & Readonly<{}>, {
|
|
6434
|
+
disabled: boolean;
|
|
6376
6435
|
labelWidth: string;
|
|
6377
|
-
extendState: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
6378
6436
|
category: CompareCategory;
|
|
6379
6437
|
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
6380
|
-
declare const _default$
|
|
6438
|
+
declare const _default$39: typeof __VLS_export$10;
|
|
6381
6439
|
//#endregion
|
|
6382
6440
|
//#region temp/packages/editor/src/layouts/history-list/composables.d.ts
|
|
6383
6441
|
/**
|
|
@@ -6765,8 +6823,8 @@ declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Pr
|
|
|
6765
6823
|
declare const _default$33: typeof __VLS_export;
|
|
6766
6824
|
//#endregion
|
|
6767
6825
|
//#region temp/packages/editor/src/plugin.d.ts
|
|
6768
|
-
declare const _default$
|
|
6826
|
+
declare const _default$43: {
|
|
6769
6827
|
install: (app: App, opt?: Partial<EditorInstallOptions | DesignPluginOptions | FormInstallOptions>) => void;
|
|
6770
6828
|
};
|
|
6771
6829
|
//#endregion
|
|
6772
|
-
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, 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, 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, UseHistoryRevertOptions, V_GUIDE_LINE_STORAGE_KEY, ValidatePropsFormOptions, WorkspaceSlots, advancedTabConfig, arrayOptions, beforePaste, booleanOptions, buildChangeRecords, calcAlignCenterStyle, calcLayerTargetIndex, calcMoveStyle, canUsePluginMethods, change2Fixed, classifyDragSources, _default$
|
|
6830
|
+
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, 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, ValidatePropsFormOptions, _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$1 as 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, isIncludeDataSource, isIndexedDBSupported, _default$48 as keybindingService, _default$49 as loadMonaco, log, markStackSaved, mergeSteps, moveItemsInContainer, normalizeCompActionValue, numberOptions, openIndexedDB, _default$50 as propsService, removeStyleDisplayConfig, 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, validatePropsForm, warn };
|