@tmagic/editor 1.7.14-beta.1 → 1.7.14-beta.3
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/ToolButton.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/es/layouts/CodeEditor.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/es/layouts/NavMenu.vue_vue_type_script_setup_true_lang.js +11 -11
- package/dist/es/layouts/NavMenuColumn.js +5 -0
- package/dist/es/layouts/NavMenuColumn.vue_vue_type_script_setup_true_lang.js +201 -0
- package/dist/es/services/editor.js +88 -31
- package/dist/es/services/storage.js +5 -5
- package/dist/es/style.css +51 -0
- package/dist/es/utils/keybinding-config.js +19 -19
- package/dist/style.css +51 -0
- package/dist/tmagic-editor.umd.cjs +353 -93
- package/package.json +8 -8
- package/src/components/ToolButton.vue +7 -1
- package/src/layouts/CodeEditor.vue +18 -10
- package/src/layouts/NavMenu.vue +9 -4
- package/src/layouts/NavMenuColumn.vue +252 -0
- package/src/services/editor.ts +132 -40
- package/src/theme/nav-menu.scss +61 -0
- package/src/type.ts +42 -0
- package/src/utils/undo-redo.ts +2 -0
- package/types/index.d.ts +456 -437
package/types/index.d.ts
CHANGED
|
@@ -1,22 +1,15 @@
|
|
|
1
1
|
import formPlugin, { CascaderOption, ChangeRecord, CodeSelectColConfig, CodeSelectConfig, CondOpSelectConfig, ContainerChangeEventData, DataSourceFieldSelectConfig, DataSourceFieldsConfig, DataSourceInputConfig, DataSourceMethodSelectConfig, DataSourceMethodsConfig, DataSourceMocksConfig, DataSourceSelect, DisplayCondsConfig, EventSelectConfig, FieldProps, FormConfig, FormInstallOptions, FormState, FormValue, KeyValueConfig, PageFragmentSelectConfig, TabPaneConfig, TableColumnConfig, TypeFunction } from "@tmagic/form";
|
|
2
2
|
import tablePlugin from "@tmagic/table";
|
|
3
|
-
import * as _$_tmagic_stage0 from "@tmagic/stage";
|
|
4
3
|
import StageCore, { CanDropIn, ContainerHighlightType, CustomizeMoveableOptions, GuidesOptions, RenderType, UpdateDragEl, default as StageCore$1 } from "@tmagic/stage";
|
|
5
4
|
import designPlugin, { ButtonProps, DesignPluginOptions } from "@tmagic/design";
|
|
6
|
-
import * as _$gesto from "gesto";
|
|
7
5
|
import Gesto, { OnDrag, OnDrag as OnDrag$1 } from "gesto";
|
|
8
|
-
import * as _$_tmagic_core0 from "@tmagic/core";
|
|
9
6
|
import { CodeBlockContent, CodeBlockDSL, DataSchema, DataSourceFieldType, DataSourceSchema, DepData, DepExtendedData, DepTargetType, DepTargetType as DepTargetType$1, DisplayCond, EventOption, Id, MApp, MContainer, MNode, MPage, MPageFragment, NodeType, Target, TargetOptions } from "@tmagic/core";
|
|
10
|
-
import * as _$monaco_editor0 from "monaco-editor";
|
|
11
7
|
import { App, Component, ComputedRef, Ref, ShallowRef } from "vue";
|
|
12
8
|
import EventEmitter, { EventEmitter as EventEmitter$1 } from "events";
|
|
9
|
+
import * as Monaco from "monaco-editor";
|
|
13
10
|
import Sortable, { Options, SortableEvent } from "sortablejs";
|
|
14
11
|
import { PascalCasedProperties, Writable } from "type-fest";
|
|
15
|
-
import * as _$_tmagic_schema0 from "@tmagic/schema";
|
|
16
12
|
import { StyleSchema } from "@tmagic/schema";
|
|
17
|
-
import * as _$_vue_reactivity0 from "@vue/reactivity";
|
|
18
|
-
import * as _$_tmagic_form_schema0 from "@tmagic/form-schema";
|
|
19
|
-
import * as _$_vue_runtime_core0 from "@vue/runtime-core";
|
|
20
13
|
export * from "@tmagic/form";
|
|
21
14
|
export * from "@tmagic/table";
|
|
22
15
|
export * from "@tmagic/stage";
|
|
@@ -263,11 +256,11 @@ declare class DataSource extends export_default {
|
|
|
263
256
|
type: string;
|
|
264
257
|
title?: string;
|
|
265
258
|
description?: string;
|
|
266
|
-
fields:
|
|
267
|
-
methods:
|
|
268
|
-
mocks?:
|
|
269
|
-
events:
|
|
270
|
-
disabledInitInJsEngine?: (
|
|
259
|
+
fields: import("@tmagic/schema").DataSchema[];
|
|
260
|
+
methods: import("@tmagic/schema").CodeBlockContent[];
|
|
261
|
+
mocks?: import("@tmagic/schema").MockSchema[];
|
|
262
|
+
events: import("@tmagic/schema").EventConfig[];
|
|
263
|
+
disabledInitInJsEngine?: (import("@tmagic/schema").JsEngine | string)[];
|
|
271
264
|
};
|
|
272
265
|
update(config: DataSourceSchema, {
|
|
273
266
|
changeRecords
|
|
@@ -412,21 +405,29 @@ declare class Editor extends export_default {
|
|
|
412
405
|
* 向指点容器添加组件节点
|
|
413
406
|
* @param addConfig 将要添加的组件节点配置
|
|
414
407
|
* @param parent 要添加到的容器组件节点配置,如果不设置,默认为当前选中的组件的父节点
|
|
408
|
+
* @param options 可选配置
|
|
409
|
+
* @param options.doNotSelect 添加后是否不更新当前选中节点(默认 false,添加后会选中新增的节点)
|
|
415
410
|
* @returns 添加后的节点
|
|
416
411
|
*/
|
|
417
|
-
add(addNode: AddMNode | MNode[], parent?: MContainer | null
|
|
418
|
-
|
|
412
|
+
add(addNode: AddMNode | MNode[], parent?: MContainer | null, options?: {
|
|
413
|
+
doNotSelect?: boolean;
|
|
414
|
+
}): Promise<MNode | MNode[]>;
|
|
415
|
+
doRemove(node: MNode, options?: {
|
|
416
|
+
doNotSelect?: boolean;
|
|
417
|
+
}): Promise<void>;
|
|
419
418
|
/**
|
|
420
419
|
* 删除组件
|
|
421
|
-
* @param {Object} node
|
|
420
|
+
* @param {Object} node 要删除的节点或节点集合
|
|
421
|
+
* @param options 可选配置
|
|
422
|
+
* @param options.doNotSelect 删除后是否不更新当前选中节点(默认 false,删除后会选中父节点或首个页面)
|
|
422
423
|
*/
|
|
423
|
-
remove(nodeOrNodeList: MNode | MNode[]
|
|
424
|
+
remove(nodeOrNodeList: MNode | MNode[], options?: {
|
|
425
|
+
doNotSelect?: boolean;
|
|
426
|
+
}): Promise<void>;
|
|
424
427
|
doUpdate(config: MNode, {
|
|
425
|
-
changeRecords
|
|
426
|
-
selectedAfterUpdate
|
|
428
|
+
changeRecords
|
|
427
429
|
}?: {
|
|
428
430
|
changeRecords?: ChangeRecord[];
|
|
429
|
-
selectedAfterUpdate?: boolean;
|
|
430
431
|
}): Promise<{
|
|
431
432
|
newNode: MNode;
|
|
432
433
|
oldNode: MNode;
|
|
@@ -440,15 +441,18 @@ declare class Editor extends export_default {
|
|
|
440
441
|
*/
|
|
441
442
|
update(config: MNode | MNode[], data?: {
|
|
442
443
|
changeRecords?: ChangeRecord[];
|
|
443
|
-
selectedAfterUpdate?: boolean;
|
|
444
444
|
}): Promise<MNode | MNode[]>;
|
|
445
445
|
/**
|
|
446
446
|
* 将id为id1的组件移动到id为id2的组件位置上,例如:[1,2,3,4] -> sort(1,3) -> [2,1,3,4]
|
|
447
447
|
* @param id1 组件ID
|
|
448
448
|
* @param id2 组件ID
|
|
449
|
+
* @param options 可选配置
|
|
450
|
+
* @param options.doNotSelect 排序后是否不更新当前选中节点(默认 false)
|
|
449
451
|
* @returns void
|
|
450
452
|
*/
|
|
451
|
-
sort(id1: Id, id2: Id
|
|
453
|
+
sort(id1: Id, id2: Id, options?: {
|
|
454
|
+
doNotSelect?: boolean;
|
|
455
|
+
}): Promise<void>;
|
|
452
456
|
/**
|
|
453
457
|
* 将组件节点配置存储到localStorage中
|
|
454
458
|
* @param config 组件节点配置
|
|
@@ -464,17 +468,26 @@ declare class Editor extends export_default {
|
|
|
464
468
|
/**
|
|
465
469
|
* 从localStorage中获取节点,然后添加到当前容器中
|
|
466
470
|
* @param position 粘贴的坐标
|
|
471
|
+
* @param collectorOptions 可选的依赖收集器配置
|
|
472
|
+
* @param options 可选配置
|
|
473
|
+
* @param options.doNotSelect 粘贴后是否不更新当前选中节点(默认 false)
|
|
467
474
|
* @returns 添加后的组件节点配置
|
|
468
475
|
*/
|
|
469
|
-
paste(position?: PastePosition, collectorOptions?: TargetOptions
|
|
476
|
+
paste(position?: PastePosition, collectorOptions?: TargetOptions, options?: {
|
|
477
|
+
doNotSelect?: boolean;
|
|
478
|
+
}): Promise<MNode | MNode[] | void>;
|
|
470
479
|
doPaste(config: MNode[], position?: PastePosition): Promise<MNode[]>;
|
|
471
480
|
doAlignCenter(config: MNode): Promise<MNode>;
|
|
472
481
|
/**
|
|
473
482
|
* 将指点节点设置居中
|
|
474
483
|
* @param config 组件节点配置
|
|
484
|
+
* @param options 可选配置
|
|
485
|
+
* @param options.doNotSelect 居中后是否不更新当前选中节点(默认 false)
|
|
475
486
|
* @returns 当前组件节点配置
|
|
476
487
|
*/
|
|
477
|
-
alignCenter(config: MNode | MNode[]
|
|
488
|
+
alignCenter(config: MNode | MNode[], options?: {
|
|
489
|
+
doNotSelect?: boolean;
|
|
490
|
+
}): Promise<MNode | MNode[]>;
|
|
478
491
|
/**
|
|
479
492
|
* 移动当前选中节点位置
|
|
480
493
|
* @param offset 偏移量
|
|
@@ -484,8 +497,12 @@ declare class Editor extends export_default {
|
|
|
484
497
|
* 移动到指定容器中
|
|
485
498
|
* @param config 需要移动的节点
|
|
486
499
|
* @param targetId 容器ID
|
|
500
|
+
* @param options 可选配置
|
|
501
|
+
* @param options.doNotSelect 移动后是否不更新当前选中节点(默认 false)
|
|
487
502
|
*/
|
|
488
|
-
moveToContainer(config: MNode, targetId: Id
|
|
503
|
+
moveToContainer(config: MNode, targetId: Id, options?: {
|
|
504
|
+
doNotSelect?: boolean;
|
|
505
|
+
}): Promise<MNode | undefined>;
|
|
489
506
|
dragTo(config: MNode | MNode[], targetParent: MContainer, targetIndex: number): Promise<void>;
|
|
490
507
|
/**
|
|
491
508
|
* 撤销当前操作
|
|
@@ -560,8 +577,8 @@ declare class UndoRedo<T = any> {
|
|
|
560
577
|
//#region temp/packages/editor/src/services/history.d.ts
|
|
561
578
|
declare class History extends export_default {
|
|
562
579
|
state: {
|
|
563
|
-
pageId?:
|
|
564
|
-
pageSteps: Record<
|
|
580
|
+
pageId?: import("@tmagic/schema").Id | undefined;
|
|
581
|
+
pageSteps: Record<import("@tmagic/schema").Id, UndoRedo<StepValue>>;
|
|
565
582
|
canRedo: boolean;
|
|
566
583
|
canUndo: boolean;
|
|
567
584
|
};
|
|
@@ -817,7 +834,7 @@ type AsyncMethodName$1 = Writable<(typeof canUsePluginMethods$1)['async']>;
|
|
|
817
834
|
declare class Ui extends export_default {
|
|
818
835
|
constructor();
|
|
819
836
|
set<K extends keyof UiState, T extends UiState[K]>(name: K, value: T): void;
|
|
820
|
-
get<K extends keyof UiState>(name: K):
|
|
837
|
+
get<K extends keyof UiState>(name: K): import("@vue/reactivity").ShallowReactive<UiState>[K];
|
|
821
838
|
zoom(zoom: number): Promise<void>;
|
|
822
839
|
calcZoom(): Promise<number>;
|
|
823
840
|
resetState(): void;
|
|
@@ -919,12 +936,12 @@ type BeforeAdd = (config: MNode, parent: MContainer) => Promise<MNode> | MNode;
|
|
|
919
936
|
type GetConfig = (config: FormConfig) => Promise<FormConfig> | FormConfig;
|
|
920
937
|
interface EditorInstallOptions {
|
|
921
938
|
parseDSL: <T = any>(dsl: string) => T;
|
|
922
|
-
customCreateMonacoEditor: (monaco: typeof
|
|
939
|
+
customCreateMonacoEditor: (monaco: typeof import('monaco-editor'), codeEditorEl: HTMLElement, options: Monaco.editor.IStandaloneEditorConstructionOptions & {
|
|
923
940
|
editorCustomType?: string;
|
|
924
|
-
}) => Promise<
|
|
925
|
-
customCreateMonacoDiffEditor: (monaco: typeof
|
|
941
|
+
}) => Promise<Monaco.editor.IStandaloneCodeEditor> | Monaco.editor.IStandaloneCodeEditor;
|
|
942
|
+
customCreateMonacoDiffEditor: (monaco: typeof import('monaco-editor'), codeEditorEl: HTMLElement, options: Monaco.editor.IStandaloneEditorConstructionOptions & {
|
|
926
943
|
editorCustomType?: string;
|
|
927
|
-
}) => Promise<
|
|
944
|
+
}) => Promise<Monaco.editor.IStandaloneDiffEditor> | Monaco.editor.IStandaloneDiffEditor;
|
|
928
945
|
[key: string]: any;
|
|
929
946
|
}
|
|
930
947
|
interface Services {
|
|
@@ -1505,13 +1522,13 @@ interface ContainerChangeEventData$1 {
|
|
|
1505
1522
|
//#endregion
|
|
1506
1523
|
//#region temp/packages/editor/src/hooks/use-code-block-edit.d.ts
|
|
1507
1524
|
declare const useCodeBlockEdit: (codeBlockService: Services["codeBlockService"]) => {
|
|
1508
|
-
codeId:
|
|
1509
|
-
codeConfig:
|
|
1525
|
+
codeId: import("@vue/reactivity").Ref<string | undefined, string | undefined>;
|
|
1526
|
+
codeConfig: import("@vue/reactivity").Ref<(Omit<CodeBlockContent, "content"> & {
|
|
1510
1527
|
content: string;
|
|
1511
1528
|
}) | undefined, (Omit<CodeBlockContent, "content"> & {
|
|
1512
1529
|
content: string;
|
|
1513
1530
|
}) | undefined>;
|
|
1514
|
-
codeBlockEditor: Readonly<
|
|
1531
|
+
codeBlockEditor: Readonly<import("@vue/reactivity").ShallowRef<import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1515
1532
|
content: Omit<CodeBlockContent, "content"> & {
|
|
1516
1533
|
content: string;
|
|
1517
1534
|
};
|
|
@@ -1530,13 +1547,13 @@ declare const useCodeBlockEdit: (codeBlockService: Services["codeBlockService"])
|
|
|
1530
1547
|
}>, {
|
|
1531
1548
|
show(): Promise<void>;
|
|
1532
1549
|
hide(): Promise<void>;
|
|
1533
|
-
}, {}, {}, {},
|
|
1550
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1534
1551
|
close: () => any;
|
|
1535
1552
|
submit: (values: CodeBlockContent, eventData: ContainerChangeEventData$1) => any;
|
|
1536
1553
|
open: () => any;
|
|
1537
1554
|
"update:width": (value: number) => any;
|
|
1538
1555
|
"update:visible": (value: boolean) => any;
|
|
1539
|
-
},
|
|
1556
|
+
}, import("@vue/runtime-core").PublicProps, {}, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
|
|
1540
1557
|
P: {};
|
|
1541
1558
|
B: {};
|
|
1542
1559
|
D: {};
|
|
@@ -1581,7 +1598,7 @@ interface State {
|
|
|
1581
1598
|
declare const useFloatBox: (slideKeys: ComputedRef<string[]>) => {
|
|
1582
1599
|
dragstartHandler: (e: DragEvent) => void;
|
|
1583
1600
|
dragendHandler: (key: string, e: DragEvent) => void;
|
|
1584
|
-
floatBoxStates:
|
|
1601
|
+
floatBoxStates: import("@vue/reactivity").Ref<{
|
|
1585
1602
|
[x: string]: State;
|
|
1586
1603
|
}, {
|
|
1587
1604
|
[x: string]: State;
|
|
@@ -1599,7 +1616,7 @@ declare const useWindowRect: () => {
|
|
|
1599
1616
|
//#endregion
|
|
1600
1617
|
//#region temp/packages/editor/src/hooks/use-editor-content-height.d.ts
|
|
1601
1618
|
declare const useEditorContentHeight: () => {
|
|
1602
|
-
height:
|
|
1619
|
+
height: import("@vue/reactivity").Ref<number, number>;
|
|
1603
1620
|
};
|
|
1604
1621
|
//#endregion
|
|
1605
1622
|
//#region temp/packages/editor/src/hooks/use-filter.d.ts
|
|
@@ -1610,7 +1627,7 @@ declare const useFilter: (nodeData: Ref<TreeNodeData[]>, nodeStatusMap: Ref<Map<
|
|
|
1610
1627
|
//#endregion
|
|
1611
1628
|
//#region temp/packages/editor/src/hooks/use-getso.d.ts
|
|
1612
1629
|
declare const useGetSo: (target: ShallowRef<HTMLElement | null>, emit: (evt: "change", e: OnDrag$1<Gesto>) => void) => {
|
|
1613
|
-
isDragging:
|
|
1630
|
+
isDragging: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
1614
1631
|
};
|
|
1615
1632
|
//#endregion
|
|
1616
1633
|
//#region temp/packages/editor/src/hooks/use-next-float-box-position.d.ts
|
|
@@ -1630,7 +1647,7 @@ declare const useNextFloatBoxPosition: (uiService: Services["uiService"], parent
|
|
|
1630
1647
|
//#endregion
|
|
1631
1648
|
//#region temp/packages/editor/src/hooks/use-node-status.d.ts
|
|
1632
1649
|
declare const useNodeStatus: (nodeData: ComputedRef<TreeNodeData[]>) => {
|
|
1633
|
-
nodeStatusMap:
|
|
1650
|
+
nodeStatusMap: import("@vue/reactivity").Ref<Map<Id, {
|
|
1634
1651
|
visible: boolean;
|
|
1635
1652
|
expand: boolean;
|
|
1636
1653
|
selected: boolean;
|
|
@@ -1722,14 +1739,14 @@ declare const getNodeIndex: (id: Id, parent: MContainer | MApp) => number;
|
|
|
1722
1739
|
declare const getRelativeStyle: (style?: Record<string, any>) => Record<string, any>;
|
|
1723
1740
|
declare const getInitPositionStyle: (style: Record<string, any> | undefined, layout: Layout) => Record<string, any>;
|
|
1724
1741
|
declare const setChildrenLayout: (node: MContainer, layout: Layout) => MContainer;
|
|
1725
|
-
declare const setLayout: (node: MNode, layout: Layout) =>
|
|
1742
|
+
declare const setLayout: (node: MNode, layout: Layout) => import("@tmagic/schema").MComponent | undefined;
|
|
1726
1743
|
declare const change2Fixed: (node: MNode, root: MApp) => {
|
|
1727
1744
|
[key: string]: any;
|
|
1728
1745
|
};
|
|
1729
1746
|
declare const Fixed2Other: (node: MNode, root: MApp, getLayout: (parent: MNode, node?: MNode) => Promise<Layout>) => Promise<Record<string, any>>;
|
|
1730
1747
|
declare const getGuideLineFromCache: (key: string) => number[];
|
|
1731
1748
|
declare const fixNodeLeft: (config: MNode, parent: MContainer, doc?: Document) => any;
|
|
1732
|
-
declare const fixNodePosition: (config: MNode, parent: MContainer, stage: StageCore$1 | null) =>
|
|
1749
|
+
declare const fixNodePosition: (config: MNode, parent: MContainer, stage: StageCore$1 | null) => import("@tmagic/schema").StyleSchema | undefined;
|
|
1733
1750
|
declare const serializeConfig: (config: any) => string;
|
|
1734
1751
|
declare const moveItemsInContainer: (sourceIndices: number[], parent: MContainer, targetIndex: number) => void;
|
|
1735
1752
|
declare const isIncludeDataSource: (node: MNode, oldNode: MNode) => boolean;
|
|
@@ -1929,7 +1946,7 @@ declare const H_GUIDE_LINE_STORAGE_KEY = "$MagicStageHorizontalGuidelinesData";
|
|
|
1929
1946
|
declare const V_GUIDE_LINE_STORAGE_KEY = "$MagicStageVerticalGuidelinesData";
|
|
1930
1947
|
//#endregion
|
|
1931
1948
|
//#region temp/packages/editor/src/utils/monaco-editor.d.ts
|
|
1932
|
-
declare const _default$41: () => Promise<typeof
|
|
1949
|
+
declare const _default$41: () => Promise<typeof import("monaco-editor")>;
|
|
1933
1950
|
//#endregion
|
|
1934
1951
|
//#region temp/packages/editor/src/editorProps.d.ts
|
|
1935
1952
|
interface EditorProps {
|
|
@@ -2046,46 +2063,46 @@ interface EditorProps {
|
|
|
2046
2063
|
//#endregion
|
|
2047
2064
|
//#region temp/packages/editor/src/Editor.vue.d.ts
|
|
2048
2065
|
type __VLS_Slots$12 = EditorSlots;
|
|
2049
|
-
declare const __VLS_base$12:
|
|
2066
|
+
declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorProps, Services, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
2050
2067
|
"update:modelValue": (value: MApp | null) => any;
|
|
2051
2068
|
"layer-node-dblclick": (event: MouseEvent, data: TreeNodeData) => any;
|
|
2052
2069
|
"props-panel-mounted": (instance: {
|
|
2053
|
-
$:
|
|
2070
|
+
$: import("@vue/runtime-core").ComponentInternalInstance;
|
|
2054
2071
|
$data: {};
|
|
2055
2072
|
$props: {
|
|
2056
|
-
readonly config:
|
|
2057
|
-
readonly values:
|
|
2073
|
+
readonly config: import("@tmagic/form-schema").FormConfig;
|
|
2074
|
+
readonly values: import("@tmagic/form-schema").FormValue;
|
|
2058
2075
|
readonly disabledShowSrc?: boolean | undefined;
|
|
2059
2076
|
readonly labelWidth?: string | undefined;
|
|
2060
2077
|
readonly codeValueKey?: string | undefined;
|
|
2061
2078
|
readonly labelPosition?: string | undefined;
|
|
2062
|
-
readonly extendState?: ((_state:
|
|
2079
|
+
readonly extendState?: ((_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
|
|
2063
2080
|
readonly onMounted?: ((internalInstance: any) => any) | undefined;
|
|
2064
2081
|
readonly onUnmounted?: (() => any) | undefined;
|
|
2065
2082
|
readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
2066
2083
|
readonly "onSubmit-error"?: ((e: any) => any) | undefined;
|
|
2067
2084
|
readonly "onForm-error"?: ((e: any) => any) | undefined;
|
|
2068
|
-
} &
|
|
2069
|
-
$attrs:
|
|
2085
|
+
} & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps;
|
|
2086
|
+
$attrs: import("@vue/runtime-core").Attrs;
|
|
2070
2087
|
$refs: {
|
|
2071
2088
|
[x: string]: unknown;
|
|
2072
2089
|
};
|
|
2073
2090
|
$slots: Readonly<{
|
|
2074
|
-
[name: string]:
|
|
2091
|
+
[name: string]: import("@vue/runtime-core").Slot<any> | undefined;
|
|
2075
2092
|
}>;
|
|
2076
|
-
$root:
|
|
2077
|
-
$parent:
|
|
2093
|
+
$root: import("@vue/runtime-core").ComponentPublicInstance | null;
|
|
2094
|
+
$parent: import("@vue/runtime-core").ComponentPublicInstance | null;
|
|
2078
2095
|
$host: Element | null;
|
|
2079
2096
|
$emit: ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData$1 | undefined) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
|
|
2080
2097
|
$el: any;
|
|
2081
|
-
$options:
|
|
2082
|
-
config:
|
|
2083
|
-
values:
|
|
2098
|
+
$options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<{
|
|
2099
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
2100
|
+
values: import("@tmagic/form-schema").FormValue;
|
|
2084
2101
|
disabledShowSrc?: boolean;
|
|
2085
2102
|
labelWidth?: string;
|
|
2086
2103
|
codeValueKey?: string;
|
|
2087
2104
|
labelPosition?: string;
|
|
2088
|
-
extendState?: (_state:
|
|
2105
|
+
extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2089
2106
|
}> & Readonly<{
|
|
2090
2107
|
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
2091
2108
|
onUnmounted?: (() => any) | undefined;
|
|
@@ -2093,8 +2110,8 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2093
2110
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
2094
2111
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
2095
2112
|
}>, {
|
|
2096
|
-
configForm: Readonly<
|
|
2097
|
-
config:
|
|
2113
|
+
configForm: Readonly<import("@vue/reactivity").ShallowRef<import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
2114
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
2098
2115
|
initValues: Record<string, any>;
|
|
2099
2116
|
lastValues?: Record<string, any>;
|
|
2100
2117
|
isCompare?: boolean;
|
|
@@ -2109,7 +2126,7 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2109
2126
|
keyProp?: string;
|
|
2110
2127
|
popperClass?: string;
|
|
2111
2128
|
preventSubmitDefault?: boolean;
|
|
2112
|
-
extendState?: (_state:
|
|
2129
|
+
extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2113
2130
|
}> & Readonly<{
|
|
2114
2131
|
onError?: ((...args: any[]) => any) | undefined;
|
|
2115
2132
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -2117,27 +2134,27 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2117
2134
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
2118
2135
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
2119
2136
|
}>, {
|
|
2120
|
-
values:
|
|
2121
|
-
lastValuesProcessed:
|
|
2122
|
-
formState:
|
|
2123
|
-
initialized:
|
|
2124
|
-
changeRecords:
|
|
2125
|
-
changeHandler: (v:
|
|
2137
|
+
values: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
|
|
2138
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
|
|
2139
|
+
formState: import("@tmagic/form-schema").FormState;
|
|
2140
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
2141
|
+
changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
|
|
2142
|
+
changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
|
|
2126
2143
|
resetForm: () => void;
|
|
2127
2144
|
submitForm: (native?: boolean) => Promise<any>;
|
|
2128
|
-
getTextByName: (name: string, config?:
|
|
2129
|
-
}, {}, {}, {},
|
|
2145
|
+
getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
|
|
2146
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
2130
2147
|
error: (...args: any[]) => void;
|
|
2131
2148
|
change: (...args: any[]) => void;
|
|
2132
2149
|
"field-input": (...args: any[]) => void;
|
|
2133
2150
|
"field-change": (...args: any[]) => void;
|
|
2134
2151
|
"update:stepActive": (...args: any[]) => void;
|
|
2135
|
-
},
|
|
2152
|
+
}, import("@vue/runtime-core").PublicProps, {
|
|
2136
2153
|
disabled: boolean;
|
|
2137
2154
|
labelWidth: string;
|
|
2138
2155
|
inline: boolean;
|
|
2139
2156
|
labelPosition: string;
|
|
2140
|
-
config:
|
|
2157
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
2141
2158
|
height: string;
|
|
2142
2159
|
initValues: Record<string, any>;
|
|
2143
2160
|
lastValues: Record<string, any>;
|
|
@@ -2145,7 +2162,7 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2145
2162
|
keyProp: string;
|
|
2146
2163
|
parentValues: Record<string, any>;
|
|
2147
2164
|
stepActive: string | number;
|
|
2148
|
-
}, false, {}, {},
|
|
2165
|
+
}, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
|
|
2149
2166
|
P: {};
|
|
2150
2167
|
B: {};
|
|
2151
2168
|
D: {};
|
|
@@ -2153,7 +2170,7 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2153
2170
|
M: {};
|
|
2154
2171
|
Defaults: {};
|
|
2155
2172
|
}, Readonly<{
|
|
2156
|
-
config:
|
|
2173
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
2157
2174
|
initValues: Record<string, any>;
|
|
2158
2175
|
lastValues?: Record<string, any>;
|
|
2159
2176
|
isCompare?: boolean;
|
|
@@ -2168,7 +2185,7 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2168
2185
|
keyProp?: string;
|
|
2169
2186
|
popperClass?: string;
|
|
2170
2187
|
preventSubmitDefault?: boolean;
|
|
2171
|
-
extendState?: (_state:
|
|
2188
|
+
extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2172
2189
|
}> & Readonly<{
|
|
2173
2190
|
onError?: ((...args: any[]) => any) | undefined;
|
|
2174
2191
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -2176,21 +2193,21 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2176
2193
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
2177
2194
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
2178
2195
|
}>, {
|
|
2179
|
-
values:
|
|
2180
|
-
lastValuesProcessed:
|
|
2181
|
-
formState:
|
|
2182
|
-
initialized:
|
|
2183
|
-
changeRecords:
|
|
2184
|
-
changeHandler: (v:
|
|
2196
|
+
values: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
|
|
2197
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
|
|
2198
|
+
formState: import("@tmagic/form-schema").FormState;
|
|
2199
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
2200
|
+
changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
|
|
2201
|
+
changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
|
|
2185
2202
|
resetForm: () => void;
|
|
2186
2203
|
submitForm: (native?: boolean) => Promise<any>;
|
|
2187
|
-
getTextByName: (name: string, config?:
|
|
2204
|
+
getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
|
|
2188
2205
|
}, {}, {}, {}, {
|
|
2189
2206
|
disabled: boolean;
|
|
2190
2207
|
labelWidth: string;
|
|
2191
2208
|
inline: boolean;
|
|
2192
2209
|
labelPosition: string;
|
|
2193
|
-
config:
|
|
2210
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
2194
2211
|
height: string;
|
|
2195
2212
|
initValues: Record<string, any>;
|
|
2196
2213
|
lastValues: Record<string, any>;
|
|
@@ -2199,14 +2216,14 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2199
2216
|
parentValues: Record<string, any>;
|
|
2200
2217
|
stepActive: string | number;
|
|
2201
2218
|
}> | null>>;
|
|
2202
|
-
submit: (v:
|
|
2203
|
-
}, {}, {}, {},
|
|
2219
|
+
submit: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => Promise<void>;
|
|
2220
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
2204
2221
|
mounted: (internalInstance: any) => any;
|
|
2205
2222
|
unmounted: () => any;
|
|
2206
2223
|
submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
2207
2224
|
"submit-error": (e: any) => any;
|
|
2208
2225
|
"form-error": (e: any) => any;
|
|
2209
|
-
}, string, {}, {}, string, {},
|
|
2226
|
+
}, string, {}, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
|
|
2210
2227
|
beforeCreate?: (() => void) | (() => void)[];
|
|
2211
2228
|
created?: (() => void) | (() => void)[];
|
|
2212
2229
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -2219,21 +2236,21 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2219
2236
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
2220
2237
|
destroyed?: (() => void) | (() => void)[];
|
|
2221
2238
|
unmounted?: (() => void) | (() => void)[];
|
|
2222
|
-
renderTracked?: ((e:
|
|
2223
|
-
renderTriggered?: ((e:
|
|
2224
|
-
errorCaptured?: ((err: unknown, instance:
|
|
2239
|
+
renderTracked?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
|
|
2240
|
+
renderTriggered?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
|
|
2241
|
+
errorCaptured?: ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
2225
2242
|
};
|
|
2226
2243
|
$forceUpdate: () => void;
|
|
2227
|
-
$nextTick: typeof
|
|
2228
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends ((...args: any) => infer R) ? (...args: [R, R,
|
|
2244
|
+
$nextTick: typeof import("@vue/runtime-core").nextTick;
|
|
2245
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends ((...args: any) => infer R) ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("@vue/runtime-core").WatchOptions): import("@vue/reactivity").WatchStopHandle;
|
|
2229
2246
|
} & Readonly<{}> & Omit<Readonly<{
|
|
2230
|
-
config:
|
|
2231
|
-
values:
|
|
2247
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
2248
|
+
values: import("@tmagic/form-schema").FormValue;
|
|
2232
2249
|
disabledShowSrc?: boolean;
|
|
2233
2250
|
labelWidth?: string;
|
|
2234
2251
|
codeValueKey?: string;
|
|
2235
2252
|
labelPosition?: string;
|
|
2236
|
-
extendState?: (_state:
|
|
2253
|
+
extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2237
2254
|
}> & Readonly<{
|
|
2238
2255
|
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
2239
2256
|
onUnmounted?: (() => any) | undefined;
|
|
@@ -2241,8 +2258,8 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2241
2258
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
2242
2259
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
2243
2260
|
}>, "submit" | "configForm"> & {
|
|
2244
|
-
configForm:
|
|
2245
|
-
config:
|
|
2261
|
+
configForm: import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
2262
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
2246
2263
|
initValues: Record<string, any>;
|
|
2247
2264
|
lastValues?: Record<string, any>;
|
|
2248
2265
|
isCompare?: boolean;
|
|
@@ -2257,7 +2274,7 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2257
2274
|
keyProp?: string;
|
|
2258
2275
|
popperClass?: string;
|
|
2259
2276
|
preventSubmitDefault?: boolean;
|
|
2260
|
-
extendState?: (_state:
|
|
2277
|
+
extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2261
2278
|
}> & Readonly<{
|
|
2262
2279
|
onError?: ((...args: any[]) => any) | undefined;
|
|
2263
2280
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -2265,27 +2282,27 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2265
2282
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
2266
2283
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
2267
2284
|
}>, {
|
|
2268
|
-
values:
|
|
2269
|
-
lastValuesProcessed:
|
|
2270
|
-
formState:
|
|
2271
|
-
initialized:
|
|
2272
|
-
changeRecords:
|
|
2273
|
-
changeHandler: (v:
|
|
2285
|
+
values: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
|
|
2286
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
|
|
2287
|
+
formState: import("@tmagic/form-schema").FormState;
|
|
2288
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
2289
|
+
changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
|
|
2290
|
+
changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
|
|
2274
2291
|
resetForm: () => void;
|
|
2275
2292
|
submitForm: (native?: boolean) => Promise<any>;
|
|
2276
|
-
getTextByName: (name: string, config?:
|
|
2277
|
-
}, {}, {}, {},
|
|
2293
|
+
getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
|
|
2294
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
2278
2295
|
error: (...args: any[]) => void;
|
|
2279
2296
|
change: (...args: any[]) => void;
|
|
2280
2297
|
"field-input": (...args: any[]) => void;
|
|
2281
2298
|
"field-change": (...args: any[]) => void;
|
|
2282
2299
|
"update:stepActive": (...args: any[]) => void;
|
|
2283
|
-
},
|
|
2300
|
+
}, import("@vue/runtime-core").PublicProps, {
|
|
2284
2301
|
disabled: boolean;
|
|
2285
2302
|
labelWidth: string;
|
|
2286
2303
|
inline: boolean;
|
|
2287
2304
|
labelPosition: string;
|
|
2288
|
-
config:
|
|
2305
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
2289
2306
|
height: string;
|
|
2290
2307
|
initValues: Record<string, any>;
|
|
2291
2308
|
lastValues: Record<string, any>;
|
|
@@ -2293,7 +2310,7 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2293
2310
|
keyProp: string;
|
|
2294
2311
|
parentValues: Record<string, any>;
|
|
2295
2312
|
stepActive: string | number;
|
|
2296
|
-
}, false, {}, {},
|
|
2313
|
+
}, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
|
|
2297
2314
|
P: {};
|
|
2298
2315
|
B: {};
|
|
2299
2316
|
D: {};
|
|
@@ -2301,7 +2318,7 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2301
2318
|
M: {};
|
|
2302
2319
|
Defaults: {};
|
|
2303
2320
|
}, Readonly<{
|
|
2304
|
-
config:
|
|
2321
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
2305
2322
|
initValues: Record<string, any>;
|
|
2306
2323
|
lastValues?: Record<string, any>;
|
|
2307
2324
|
isCompare?: boolean;
|
|
@@ -2316,7 +2333,7 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2316
2333
|
keyProp?: string;
|
|
2317
2334
|
popperClass?: string;
|
|
2318
2335
|
preventSubmitDefault?: boolean;
|
|
2319
|
-
extendState?: (_state:
|
|
2336
|
+
extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2320
2337
|
}> & Readonly<{
|
|
2321
2338
|
onError?: ((...args: any[]) => any) | undefined;
|
|
2322
2339
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -2324,21 +2341,21 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2324
2341
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
2325
2342
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
2326
2343
|
}>, {
|
|
2327
|
-
values:
|
|
2328
|
-
lastValuesProcessed:
|
|
2329
|
-
formState:
|
|
2330
|
-
initialized:
|
|
2331
|
-
changeRecords:
|
|
2332
|
-
changeHandler: (v:
|
|
2344
|
+
values: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
|
|
2345
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
|
|
2346
|
+
formState: import("@tmagic/form-schema").FormState;
|
|
2347
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
2348
|
+
changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
|
|
2349
|
+
changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
|
|
2333
2350
|
resetForm: () => void;
|
|
2334
2351
|
submitForm: (native?: boolean) => Promise<any>;
|
|
2335
|
-
getTextByName: (name: string, config?:
|
|
2352
|
+
getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
|
|
2336
2353
|
}, {}, {}, {}, {
|
|
2337
2354
|
disabled: boolean;
|
|
2338
2355
|
labelWidth: string;
|
|
2339
2356
|
inline: boolean;
|
|
2340
2357
|
labelPosition: string;
|
|
2341
|
-
config:
|
|
2358
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
2342
2359
|
height: string;
|
|
2343
2360
|
initValues: Record<string, any>;
|
|
2344
2361
|
lastValues: Record<string, any>;
|
|
@@ -2347,8 +2364,8 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2347
2364
|
parentValues: Record<string, any>;
|
|
2348
2365
|
stepActive: string | number;
|
|
2349
2366
|
}> | null;
|
|
2350
|
-
submit: (v:
|
|
2351
|
-
} & {} &
|
|
2367
|
+
submit: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => Promise<void>;
|
|
2368
|
+
} & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
|
|
2352
2369
|
$slots: {
|
|
2353
2370
|
'props-form-panel-header'(_props: {}): any;
|
|
2354
2371
|
};
|
|
@@ -2356,46 +2373,46 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2356
2373
|
"props-panel-unmounted": () => any;
|
|
2357
2374
|
"props-form-error": (e: any) => any;
|
|
2358
2375
|
"props-submit-error": (e: any) => any;
|
|
2359
|
-
}, string,
|
|
2376
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<EditorProps> & Readonly<{
|
|
2360
2377
|
"onUpdate:modelValue"?: ((value: MApp | null) => any) | undefined;
|
|
2361
2378
|
"onLayer-node-dblclick"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
2362
2379
|
"onProps-panel-mounted"?: ((instance: {
|
|
2363
|
-
$:
|
|
2380
|
+
$: import("@vue/runtime-core").ComponentInternalInstance;
|
|
2364
2381
|
$data: {};
|
|
2365
2382
|
$props: {
|
|
2366
|
-
readonly config:
|
|
2367
|
-
readonly values:
|
|
2383
|
+
readonly config: import("@tmagic/form-schema").FormConfig;
|
|
2384
|
+
readonly values: import("@tmagic/form-schema").FormValue;
|
|
2368
2385
|
readonly disabledShowSrc?: boolean | undefined;
|
|
2369
2386
|
readonly labelWidth?: string | undefined;
|
|
2370
2387
|
readonly codeValueKey?: string | undefined;
|
|
2371
2388
|
readonly labelPosition?: string | undefined;
|
|
2372
|
-
readonly extendState?: ((_state:
|
|
2389
|
+
readonly extendState?: ((_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
|
|
2373
2390
|
readonly onMounted?: ((internalInstance: any) => any) | undefined;
|
|
2374
2391
|
readonly onUnmounted?: (() => any) | undefined;
|
|
2375
2392
|
readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
2376
2393
|
readonly "onSubmit-error"?: ((e: any) => any) | undefined;
|
|
2377
2394
|
readonly "onForm-error"?: ((e: any) => any) | undefined;
|
|
2378
|
-
} &
|
|
2379
|
-
$attrs:
|
|
2395
|
+
} & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps;
|
|
2396
|
+
$attrs: import("@vue/runtime-core").Attrs;
|
|
2380
2397
|
$refs: {
|
|
2381
2398
|
[x: string]: unknown;
|
|
2382
2399
|
};
|
|
2383
2400
|
$slots: Readonly<{
|
|
2384
|
-
[name: string]:
|
|
2401
|
+
[name: string]: import("@vue/runtime-core").Slot<any> | undefined;
|
|
2385
2402
|
}>;
|
|
2386
|
-
$root:
|
|
2387
|
-
$parent:
|
|
2403
|
+
$root: import("@vue/runtime-core").ComponentPublicInstance | null;
|
|
2404
|
+
$parent: import("@vue/runtime-core").ComponentPublicInstance | null;
|
|
2388
2405
|
$host: Element | null;
|
|
2389
2406
|
$emit: ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData$1 | undefined) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
|
|
2390
2407
|
$el: any;
|
|
2391
|
-
$options:
|
|
2392
|
-
config:
|
|
2393
|
-
values:
|
|
2408
|
+
$options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<{
|
|
2409
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
2410
|
+
values: import("@tmagic/form-schema").FormValue;
|
|
2394
2411
|
disabledShowSrc?: boolean;
|
|
2395
2412
|
labelWidth?: string;
|
|
2396
2413
|
codeValueKey?: string;
|
|
2397
2414
|
labelPosition?: string;
|
|
2398
|
-
extendState?: (_state:
|
|
2415
|
+
extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2399
2416
|
}> & Readonly<{
|
|
2400
2417
|
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
2401
2418
|
onUnmounted?: (() => any) | undefined;
|
|
@@ -2403,8 +2420,8 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2403
2420
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
2404
2421
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
2405
2422
|
}>, {
|
|
2406
|
-
configForm: Readonly<
|
|
2407
|
-
config:
|
|
2423
|
+
configForm: Readonly<import("@vue/reactivity").ShallowRef<import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
2424
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
2408
2425
|
initValues: Record<string, any>;
|
|
2409
2426
|
lastValues?: Record<string, any>;
|
|
2410
2427
|
isCompare?: boolean;
|
|
@@ -2419,7 +2436,7 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2419
2436
|
keyProp?: string;
|
|
2420
2437
|
popperClass?: string;
|
|
2421
2438
|
preventSubmitDefault?: boolean;
|
|
2422
|
-
extendState?: (_state:
|
|
2439
|
+
extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2423
2440
|
}> & Readonly<{
|
|
2424
2441
|
onError?: ((...args: any[]) => any) | undefined;
|
|
2425
2442
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -2427,27 +2444,27 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2427
2444
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
2428
2445
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
2429
2446
|
}>, {
|
|
2430
|
-
values:
|
|
2431
|
-
lastValuesProcessed:
|
|
2432
|
-
formState:
|
|
2433
|
-
initialized:
|
|
2434
|
-
changeRecords:
|
|
2435
|
-
changeHandler: (v:
|
|
2447
|
+
values: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
|
|
2448
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
|
|
2449
|
+
formState: import("@tmagic/form-schema").FormState;
|
|
2450
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
2451
|
+
changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
|
|
2452
|
+
changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
|
|
2436
2453
|
resetForm: () => void;
|
|
2437
2454
|
submitForm: (native?: boolean) => Promise<any>;
|
|
2438
|
-
getTextByName: (name: string, config?:
|
|
2439
|
-
}, {}, {}, {},
|
|
2455
|
+
getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
|
|
2456
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
2440
2457
|
error: (...args: any[]) => void;
|
|
2441
2458
|
change: (...args: any[]) => void;
|
|
2442
2459
|
"field-input": (...args: any[]) => void;
|
|
2443
2460
|
"field-change": (...args: any[]) => void;
|
|
2444
2461
|
"update:stepActive": (...args: any[]) => void;
|
|
2445
|
-
},
|
|
2462
|
+
}, import("@vue/runtime-core").PublicProps, {
|
|
2446
2463
|
disabled: boolean;
|
|
2447
2464
|
labelWidth: string;
|
|
2448
2465
|
inline: boolean;
|
|
2449
2466
|
labelPosition: string;
|
|
2450
|
-
config:
|
|
2467
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
2451
2468
|
height: string;
|
|
2452
2469
|
initValues: Record<string, any>;
|
|
2453
2470
|
lastValues: Record<string, any>;
|
|
@@ -2455,7 +2472,7 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2455
2472
|
keyProp: string;
|
|
2456
2473
|
parentValues: Record<string, any>;
|
|
2457
2474
|
stepActive: string | number;
|
|
2458
|
-
}, false, {}, {},
|
|
2475
|
+
}, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
|
|
2459
2476
|
P: {};
|
|
2460
2477
|
B: {};
|
|
2461
2478
|
D: {};
|
|
@@ -2463,7 +2480,7 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2463
2480
|
M: {};
|
|
2464
2481
|
Defaults: {};
|
|
2465
2482
|
}, Readonly<{
|
|
2466
|
-
config:
|
|
2483
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
2467
2484
|
initValues: Record<string, any>;
|
|
2468
2485
|
lastValues?: Record<string, any>;
|
|
2469
2486
|
isCompare?: boolean;
|
|
@@ -2478,7 +2495,7 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2478
2495
|
keyProp?: string;
|
|
2479
2496
|
popperClass?: string;
|
|
2480
2497
|
preventSubmitDefault?: boolean;
|
|
2481
|
-
extendState?: (_state:
|
|
2498
|
+
extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2482
2499
|
}> & Readonly<{
|
|
2483
2500
|
onError?: ((...args: any[]) => any) | undefined;
|
|
2484
2501
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -2486,21 +2503,21 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2486
2503
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
2487
2504
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
2488
2505
|
}>, {
|
|
2489
|
-
values:
|
|
2490
|
-
lastValuesProcessed:
|
|
2491
|
-
formState:
|
|
2492
|
-
initialized:
|
|
2493
|
-
changeRecords:
|
|
2494
|
-
changeHandler: (v:
|
|
2506
|
+
values: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
|
|
2507
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
|
|
2508
|
+
formState: import("@tmagic/form-schema").FormState;
|
|
2509
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
2510
|
+
changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
|
|
2511
|
+
changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
|
|
2495
2512
|
resetForm: () => void;
|
|
2496
2513
|
submitForm: (native?: boolean) => Promise<any>;
|
|
2497
|
-
getTextByName: (name: string, config?:
|
|
2514
|
+
getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
|
|
2498
2515
|
}, {}, {}, {}, {
|
|
2499
2516
|
disabled: boolean;
|
|
2500
2517
|
labelWidth: string;
|
|
2501
2518
|
inline: boolean;
|
|
2502
2519
|
labelPosition: string;
|
|
2503
|
-
config:
|
|
2520
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
2504
2521
|
height: string;
|
|
2505
2522
|
initValues: Record<string, any>;
|
|
2506
2523
|
lastValues: Record<string, any>;
|
|
@@ -2509,14 +2526,14 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2509
2526
|
parentValues: Record<string, any>;
|
|
2510
2527
|
stepActive: string | number;
|
|
2511
2528
|
}> | null>>;
|
|
2512
|
-
submit: (v:
|
|
2513
|
-
}, {}, {}, {},
|
|
2529
|
+
submit: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => Promise<void>;
|
|
2530
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
2514
2531
|
mounted: (internalInstance: any) => any;
|
|
2515
2532
|
unmounted: () => any;
|
|
2516
2533
|
submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
2517
2534
|
"submit-error": (e: any) => any;
|
|
2518
2535
|
"form-error": (e: any) => any;
|
|
2519
|
-
}, string, {}, {}, string, {},
|
|
2536
|
+
}, string, {}, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
|
|
2520
2537
|
beforeCreate?: (() => void) | (() => void)[];
|
|
2521
2538
|
created?: (() => void) | (() => void)[];
|
|
2522
2539
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -2529,21 +2546,21 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2529
2546
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
2530
2547
|
destroyed?: (() => void) | (() => void)[];
|
|
2531
2548
|
unmounted?: (() => void) | (() => void)[];
|
|
2532
|
-
renderTracked?: ((e:
|
|
2533
|
-
renderTriggered?: ((e:
|
|
2534
|
-
errorCaptured?: ((err: unknown, instance:
|
|
2549
|
+
renderTracked?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
|
|
2550
|
+
renderTriggered?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
|
|
2551
|
+
errorCaptured?: ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
2535
2552
|
};
|
|
2536
2553
|
$forceUpdate: () => void;
|
|
2537
|
-
$nextTick: typeof
|
|
2538
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends ((...args: any) => infer R) ? (...args: [R, R,
|
|
2554
|
+
$nextTick: typeof import("@vue/runtime-core").nextTick;
|
|
2555
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends ((...args: any) => infer R) ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("@vue/runtime-core").WatchOptions): import("@vue/reactivity").WatchStopHandle;
|
|
2539
2556
|
} & Readonly<{}> & Omit<Readonly<{
|
|
2540
|
-
config:
|
|
2541
|
-
values:
|
|
2557
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
2558
|
+
values: import("@tmagic/form-schema").FormValue;
|
|
2542
2559
|
disabledShowSrc?: boolean;
|
|
2543
2560
|
labelWidth?: string;
|
|
2544
2561
|
codeValueKey?: string;
|
|
2545
2562
|
labelPosition?: string;
|
|
2546
|
-
extendState?: (_state:
|
|
2563
|
+
extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2547
2564
|
}> & Readonly<{
|
|
2548
2565
|
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
2549
2566
|
onUnmounted?: (() => any) | undefined;
|
|
@@ -2551,8 +2568,8 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2551
2568
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
2552
2569
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
2553
2570
|
}>, "submit" | "configForm"> & {
|
|
2554
|
-
configForm:
|
|
2555
|
-
config:
|
|
2571
|
+
configForm: import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
2572
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
2556
2573
|
initValues: Record<string, any>;
|
|
2557
2574
|
lastValues?: Record<string, any>;
|
|
2558
2575
|
isCompare?: boolean;
|
|
@@ -2567,7 +2584,7 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2567
2584
|
keyProp?: string;
|
|
2568
2585
|
popperClass?: string;
|
|
2569
2586
|
preventSubmitDefault?: boolean;
|
|
2570
|
-
extendState?: (_state:
|
|
2587
|
+
extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2571
2588
|
}> & Readonly<{
|
|
2572
2589
|
onError?: ((...args: any[]) => any) | undefined;
|
|
2573
2590
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -2575,27 +2592,27 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2575
2592
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
2576
2593
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
2577
2594
|
}>, {
|
|
2578
|
-
values:
|
|
2579
|
-
lastValuesProcessed:
|
|
2580
|
-
formState:
|
|
2581
|
-
initialized:
|
|
2582
|
-
changeRecords:
|
|
2583
|
-
changeHandler: (v:
|
|
2595
|
+
values: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
|
|
2596
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
|
|
2597
|
+
formState: import("@tmagic/form-schema").FormState;
|
|
2598
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
2599
|
+
changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
|
|
2600
|
+
changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
|
|
2584
2601
|
resetForm: () => void;
|
|
2585
2602
|
submitForm: (native?: boolean) => Promise<any>;
|
|
2586
|
-
getTextByName: (name: string, config?:
|
|
2587
|
-
}, {}, {}, {},
|
|
2603
|
+
getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
|
|
2604
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
2588
2605
|
error: (...args: any[]) => void;
|
|
2589
2606
|
change: (...args: any[]) => void;
|
|
2590
2607
|
"field-input": (...args: any[]) => void;
|
|
2591
2608
|
"field-change": (...args: any[]) => void;
|
|
2592
2609
|
"update:stepActive": (...args: any[]) => void;
|
|
2593
|
-
},
|
|
2610
|
+
}, import("@vue/runtime-core").PublicProps, {
|
|
2594
2611
|
disabled: boolean;
|
|
2595
2612
|
labelWidth: string;
|
|
2596
2613
|
inline: boolean;
|
|
2597
2614
|
labelPosition: string;
|
|
2598
|
-
config:
|
|
2615
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
2599
2616
|
height: string;
|
|
2600
2617
|
initValues: Record<string, any>;
|
|
2601
2618
|
lastValues: Record<string, any>;
|
|
@@ -2603,7 +2620,7 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2603
2620
|
keyProp: string;
|
|
2604
2621
|
parentValues: Record<string, any>;
|
|
2605
2622
|
stepActive: string | number;
|
|
2606
|
-
}, false, {}, {},
|
|
2623
|
+
}, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
|
|
2607
2624
|
P: {};
|
|
2608
2625
|
B: {};
|
|
2609
2626
|
D: {};
|
|
@@ -2611,7 +2628,7 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2611
2628
|
M: {};
|
|
2612
2629
|
Defaults: {};
|
|
2613
2630
|
}, Readonly<{
|
|
2614
|
-
config:
|
|
2631
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
2615
2632
|
initValues: Record<string, any>;
|
|
2616
2633
|
lastValues?: Record<string, any>;
|
|
2617
2634
|
isCompare?: boolean;
|
|
@@ -2626,7 +2643,7 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2626
2643
|
keyProp?: string;
|
|
2627
2644
|
popperClass?: string;
|
|
2628
2645
|
preventSubmitDefault?: boolean;
|
|
2629
|
-
extendState?: (_state:
|
|
2646
|
+
extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2630
2647
|
}> & Readonly<{
|
|
2631
2648
|
onError?: ((...args: any[]) => any) | undefined;
|
|
2632
2649
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -2634,21 +2651,21 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2634
2651
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
2635
2652
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
2636
2653
|
}>, {
|
|
2637
|
-
values:
|
|
2638
|
-
lastValuesProcessed:
|
|
2639
|
-
formState:
|
|
2640
|
-
initialized:
|
|
2641
|
-
changeRecords:
|
|
2642
|
-
changeHandler: (v:
|
|
2654
|
+
values: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
|
|
2655
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
|
|
2656
|
+
formState: import("@tmagic/form-schema").FormState;
|
|
2657
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
2658
|
+
changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
|
|
2659
|
+
changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
|
|
2643
2660
|
resetForm: () => void;
|
|
2644
2661
|
submitForm: (native?: boolean) => Promise<any>;
|
|
2645
|
-
getTextByName: (name: string, config?:
|
|
2662
|
+
getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
|
|
2646
2663
|
}, {}, {}, {}, {
|
|
2647
2664
|
disabled: boolean;
|
|
2648
2665
|
labelWidth: string;
|
|
2649
2666
|
inline: boolean;
|
|
2650
2667
|
labelPosition: string;
|
|
2651
|
-
config:
|
|
2668
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
2652
2669
|
height: string;
|
|
2653
2670
|
initValues: Record<string, any>;
|
|
2654
2671
|
lastValues: Record<string, any>;
|
|
@@ -2657,8 +2674,8 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2657
2674
|
parentValues: Record<string, any>;
|
|
2658
2675
|
stepActive: string | number;
|
|
2659
2676
|
}> | null;
|
|
2660
|
-
submit: (v:
|
|
2661
|
-
} & {} &
|
|
2677
|
+
submit: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => Promise<void>;
|
|
2678
|
+
} & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
|
|
2662
2679
|
$slots: {
|
|
2663
2680
|
'props-form-panel-header'(_props: {}): any;
|
|
2664
2681
|
};
|
|
@@ -2671,7 +2688,7 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2671
2688
|
codeOptions: {
|
|
2672
2689
|
[key: string]: any;
|
|
2673
2690
|
};
|
|
2674
|
-
renderType:
|
|
2691
|
+
renderType: import("@tmagic/stage").RenderType;
|
|
2675
2692
|
disabledDataSource: boolean;
|
|
2676
2693
|
disabledCodeBlock: boolean;
|
|
2677
2694
|
disabledMultiSelect: boolean;
|
|
@@ -2686,18 +2703,18 @@ declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent<EditorProps, S
|
|
|
2686
2703
|
stageContentMenu: (MenuButton | MenuComponent)[];
|
|
2687
2704
|
disabledStageOverlay: boolean;
|
|
2688
2705
|
datasourceList: DatasourceTypeOption[];
|
|
2689
|
-
propsConfigs: Record<string,
|
|
2690
|
-
propsValues: Record<string, Partial<
|
|
2706
|
+
propsConfigs: Record<string, import("@tmagic/form-schema").FormConfig>;
|
|
2707
|
+
propsValues: Record<string, Partial<import("@tmagic/schema").MNode>>;
|
|
2691
2708
|
eventMethodList: Record<string, {
|
|
2692
|
-
events:
|
|
2693
|
-
methods:
|
|
2709
|
+
events: import("@tmagic/core").EventOption[];
|
|
2710
|
+
methods: import("@tmagic/core").EventOption[];
|
|
2694
2711
|
}>;
|
|
2695
|
-
datasourceValues: Record<string, Partial<
|
|
2696
|
-
datasourceConfigs: Record<string,
|
|
2712
|
+
datasourceValues: Record<string, Partial<import("@tmagic/schema").DataSourceSchema>>;
|
|
2713
|
+
datasourceConfigs: Record<string, import("@tmagic/form-schema").FormConfig>;
|
|
2697
2714
|
containerHighlightDuration: number;
|
|
2698
|
-
containerHighlightType:
|
|
2715
|
+
containerHighlightType: import("@tmagic/stage").ContainerHighlightType;
|
|
2699
2716
|
canSelect: (el: HTMLElement) => boolean | Promise<boolean>;
|
|
2700
|
-
}, {}, {}, {}, string,
|
|
2717
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
2701
2718
|
declare const __VLS_export$33: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
|
|
2702
2719
|
declare const _default$30: typeof __VLS_export$33;
|
|
2703
2720
|
type __VLS_WithSlots$12<T, S> = T & {
|
|
@@ -2712,7 +2729,7 @@ type __VLS_Props$30 = {
|
|
|
2712
2729
|
modifiedValues?: any;
|
|
2713
2730
|
type?: 'diff';
|
|
2714
2731
|
language?: string;
|
|
2715
|
-
options?:
|
|
2732
|
+
options?: Monaco.editor.IStandaloneEditorConstructionOptions;
|
|
2716
2733
|
height?: string;
|
|
2717
2734
|
autoSave?: boolean;
|
|
2718
2735
|
parse?: boolean;
|
|
@@ -2723,33 +2740,33 @@ type __VLS_Props$30 = {
|
|
|
2723
2740
|
};
|
|
2724
2741
|
editorCustomType?: string;
|
|
2725
2742
|
};
|
|
2726
|
-
declare const __VLS_export$32:
|
|
2727
|
-
values:
|
|
2728
|
-
getEditor():
|
|
2729
|
-
getVsEditor():
|
|
2730
|
-
getVsDiffEditor():
|
|
2743
|
+
declare const __VLS_export$32: import("@vue/runtime-core").DefineComponent<__VLS_Props$30, {
|
|
2744
|
+
values: import("@vue/reactivity").Ref<string, string>;
|
|
2745
|
+
getEditor(): Monaco.editor.IStandaloneCodeEditor | Monaco.editor.IStandaloneDiffEditor | null;
|
|
2746
|
+
getVsEditor(): Monaco.editor.IStandaloneCodeEditor | null;
|
|
2747
|
+
getVsDiffEditor(): Monaco.editor.IStandaloneDiffEditor | null;
|
|
2731
2748
|
setEditorValue: (v: string | any, m: string | any) => void;
|
|
2732
2749
|
getEditorValue: () => string;
|
|
2733
2750
|
focus(): void;
|
|
2734
|
-
}, {}, {}, {},
|
|
2751
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
2735
2752
|
save: (...args: any[]) => void;
|
|
2736
2753
|
initd: (...args: any[]) => void;
|
|
2737
|
-
}, string,
|
|
2754
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$30> & Readonly<{
|
|
2738
2755
|
onSave?: ((...args: any[]) => any) | undefined;
|
|
2739
2756
|
onInitd?: ((...args: any[]) => any) | undefined;
|
|
2740
2757
|
}>, {
|
|
2741
|
-
options:
|
|
2758
|
+
options: Monaco.editor.IStandaloneEditorConstructionOptions;
|
|
2742
2759
|
language: string;
|
|
2743
2760
|
parse: boolean;
|
|
2744
2761
|
initValues: any;
|
|
2745
2762
|
autoSave: boolean;
|
|
2746
2763
|
disabledFullScreen: boolean;
|
|
2747
|
-
}, {}, {}, {}, string,
|
|
2764
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
2748
2765
|
declare const _default$29: typeof __VLS_export$32;
|
|
2749
2766
|
//#endregion
|
|
2750
2767
|
//#region temp/packages/editor/src/layouts/sidebar/ComponentListPanel.vue.d.ts
|
|
2751
2768
|
type __VLS_Slots$11 = ComponentListPanelSlots;
|
|
2752
|
-
declare const __VLS_base$11:
|
|
2769
|
+
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>;
|
|
2753
2770
|
declare const __VLS_export$31: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
|
|
2754
2771
|
declare const _default$5: typeof __VLS_export$31;
|
|
2755
2772
|
type __VLS_WithSlots$11<T, S> = T & {
|
|
@@ -2769,11 +2786,11 @@ type __VLS_Props$29 = {
|
|
|
2769
2786
|
canDropIn?: CanDropInFunction; /** 组件树节点双击前的钩子函数,返回 false 则阻止默认的双击行为 */
|
|
2770
2787
|
beforeNodeDblclick?: (_event: MouseEvent, _data: TreeNodeData) => Promise<boolean | void> | boolean | void;
|
|
2771
2788
|
};
|
|
2772
|
-
declare const __VLS_base$10:
|
|
2789
|
+
declare const __VLS_base$10: import("@vue/runtime-core").DefineComponent<__VLS_Props$29, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
2773
2790
|
"node-dblclick": (event: MouseEvent, data: TreeNodeData) => any;
|
|
2774
|
-
}, string,
|
|
2791
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$29> & Readonly<{
|
|
2775
2792
|
"onNode-dblclick"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
2776
|
-
}>, {}, {}, {}, {}, string,
|
|
2793
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
2777
2794
|
declare const __VLS_export$30: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
|
|
2778
2795
|
declare const _default$22: typeof __VLS_export$30;
|
|
2779
2796
|
type __VLS_WithSlots$10<T, S> = T & {
|
|
@@ -2784,22 +2801,22 @@ type __VLS_WithSlots$10<T, S> = T & {
|
|
|
2784
2801
|
//#endregion
|
|
2785
2802
|
//#region temp/packages/editor/src/fields/CodeSelect.vue.d.ts
|
|
2786
2803
|
type __VLS_Props$28 = FieldProps<CodeSelectConfig>;
|
|
2787
|
-
declare const __VLS_export$29:
|
|
2804
|
+
declare const __VLS_export$29: import("@vue/runtime-core").DefineComponent<__VLS_Props$28, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
2788
2805
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
2789
|
-
}, string,
|
|
2806
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$28> & Readonly<{
|
|
2790
2807
|
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
2791
|
-
}>, {}, {}, {}, {}, string,
|
|
2808
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
2792
2809
|
declare const _default$3: typeof __VLS_export$29;
|
|
2793
2810
|
//#endregion
|
|
2794
2811
|
//#region temp/packages/editor/src/fields/CodeSelectCol.vue.d.ts
|
|
2795
2812
|
type __VLS_Props$27 = FieldProps<CodeSelectColConfig>;
|
|
2796
|
-
declare const __VLS_export$28:
|
|
2813
|
+
declare const __VLS_export$28: import("@vue/runtime-core").DefineComponent<__VLS_Props$27, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
2797
2814
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
2798
|
-
}, string,
|
|
2815
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$27> & Readonly<{
|
|
2799
2816
|
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
2800
2817
|
}>, {
|
|
2801
2818
|
disabled: boolean;
|
|
2802
|
-
}, {}, {}, {}, string,
|
|
2819
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
2803
2820
|
declare const _default$4: typeof __VLS_export$28;
|
|
2804
2821
|
//#endregion
|
|
2805
2822
|
//#region temp/packages/editor/src/fields/DataSourceFields.vue.d.ts
|
|
@@ -2810,19 +2827,19 @@ type __VLS_ModelProps$4 = {
|
|
|
2810
2827
|
'visible1'?: boolean;
|
|
2811
2828
|
};
|
|
2812
2829
|
type __VLS_PublicProps$4 = __VLS_Props$26 & __VLS_ModelProps$4;
|
|
2813
|
-
declare const __VLS_export$27:
|
|
2830
|
+
declare const __VLS_export$27: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps$4, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
2814
2831
|
change: (v: any, eventData?: ContainerChangeEventData | undefined) => any;
|
|
2815
2832
|
"update:width": (value: number) => any;
|
|
2816
2833
|
"update:visible": (value: boolean) => any;
|
|
2817
2834
|
"update:visible1": (value: boolean) => any;
|
|
2818
|
-
}, string,
|
|
2835
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_PublicProps$4> & Readonly<{
|
|
2819
2836
|
onChange?: ((v: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
2820
2837
|
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
2821
2838
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
2822
2839
|
"onUpdate:visible1"?: ((value: boolean) => any) | undefined;
|
|
2823
2840
|
}>, {
|
|
2824
2841
|
disabled: boolean;
|
|
2825
|
-
}, {}, {}, {}, string,
|
|
2842
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
2826
2843
|
declare const _default$11: typeof __VLS_export$27;
|
|
2827
2844
|
//#endregion
|
|
2828
2845
|
//#region temp/packages/editor/src/fields/DataSourceMocks.vue.d.ts
|
|
@@ -2832,92 +2849,92 @@ type __VLS_ModelProps$3 = {
|
|
|
2832
2849
|
'visible'?: boolean;
|
|
2833
2850
|
};
|
|
2834
2851
|
type __VLS_PublicProps$3 = __VLS_Props$25 & __VLS_ModelProps$3;
|
|
2835
|
-
declare const __VLS_export$26:
|
|
2852
|
+
declare const __VLS_export$26: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps$3, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
2836
2853
|
change: (...args: any[]) => void;
|
|
2837
2854
|
"update:width": (value: number) => void;
|
|
2838
2855
|
"update:visible": (value: boolean) => void;
|
|
2839
|
-
}, string,
|
|
2856
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_PublicProps$3> & Readonly<{
|
|
2840
2857
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2841
2858
|
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
2842
2859
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
2843
2860
|
}>, {
|
|
2844
2861
|
disabled: boolean;
|
|
2845
|
-
}, {}, {}, {}, string,
|
|
2862
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
2846
2863
|
declare const _default$15: typeof __VLS_export$26;
|
|
2847
2864
|
//#endregion
|
|
2848
2865
|
//#region temp/packages/editor/src/fields/DataSourceMethods.vue.d.ts
|
|
2849
2866
|
type __VLS_Props$24 = FieldProps<DataSourceMethodsConfig>;
|
|
2850
|
-
declare const __VLS_export$25:
|
|
2867
|
+
declare const __VLS_export$25: import("@vue/runtime-core").DefineComponent<__VLS_Props$24, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
2851
2868
|
change: (...args: any[]) => void;
|
|
2852
|
-
}, string,
|
|
2869
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$24> & Readonly<{
|
|
2853
2870
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2854
2871
|
}>, {
|
|
2855
2872
|
disabled: boolean;
|
|
2856
|
-
}, {}, {}, {}, string,
|
|
2873
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
2857
2874
|
declare const _default$14: typeof __VLS_export$25;
|
|
2858
2875
|
//#endregion
|
|
2859
2876
|
//#region temp/packages/editor/src/fields/DataSourceInput.vue.d.ts
|
|
2860
2877
|
type __VLS_Props$23 = FieldProps<DataSourceInputConfig>;
|
|
2861
|
-
declare const __VLS_export$24:
|
|
2878
|
+
declare const __VLS_export$24: import("@vue/runtime-core").DefineComponent<__VLS_Props$23, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
2862
2879
|
change: (value: string) => any;
|
|
2863
|
-
}, string,
|
|
2880
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$23> & Readonly<{
|
|
2864
2881
|
onChange?: ((value: string) => any) | undefined;
|
|
2865
2882
|
}>, {
|
|
2866
2883
|
disabled: boolean;
|
|
2867
|
-
}, {}, {}, {}, string,
|
|
2884
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
2868
2885
|
declare const _default$12: typeof __VLS_export$24;
|
|
2869
2886
|
//#endregion
|
|
2870
2887
|
//#region temp/packages/editor/src/fields/DataSourceSelect.vue.d.ts
|
|
2871
2888
|
type __VLS_Props$22 = FieldProps<DataSourceSelect>;
|
|
2872
|
-
declare const __VLS_export$23:
|
|
2889
|
+
declare const __VLS_export$23: import("@vue/runtime-core").DefineComponent<__VLS_Props$22, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
2873
2890
|
change: (...args: any[]) => void;
|
|
2874
|
-
}, string,
|
|
2891
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$22> & Readonly<{
|
|
2875
2892
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2876
2893
|
}>, {
|
|
2877
2894
|
disabled: boolean;
|
|
2878
|
-
}, {}, {}, {}, string,
|
|
2895
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
2879
2896
|
declare const _default$16: typeof __VLS_export$23;
|
|
2880
2897
|
//#endregion
|
|
2881
2898
|
//#region temp/packages/editor/src/fields/DataSourceMethodSelect.vue.d.ts
|
|
2882
2899
|
type __VLS_Props$21 = FieldProps<DataSourceMethodSelectConfig>;
|
|
2883
|
-
declare const __VLS_export$22:
|
|
2900
|
+
declare const __VLS_export$22: import("@vue/runtime-core").DefineComponent<__VLS_Props$21, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
2884
2901
|
change: (...args: any[]) => void;
|
|
2885
|
-
}, string,
|
|
2902
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$21> & Readonly<{
|
|
2886
2903
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2887
2904
|
}>, {
|
|
2888
2905
|
disabled: boolean;
|
|
2889
|
-
}, {}, {}, {}, string,
|
|
2906
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
2890
2907
|
declare const _default$13: typeof __VLS_export$22;
|
|
2891
2908
|
//#endregion
|
|
2892
2909
|
//#region temp/packages/editor/src/fields/DataSourceFieldSelect/Index.vue.d.ts
|
|
2893
2910
|
type __VLS_Props$20 = FieldProps<DataSourceFieldSelectConfig>;
|
|
2894
|
-
declare const __VLS_export$21:
|
|
2911
|
+
declare const __VLS_export$21: import("@vue/runtime-core").DefineComponent<__VLS_Props$20, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
2895
2912
|
change: (...args: any[]) => void;
|
|
2896
|
-
}, string,
|
|
2913
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$20> & Readonly<{
|
|
2897
2914
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2898
2915
|
}>, {
|
|
2899
2916
|
disabled: boolean;
|
|
2900
|
-
}, {}, {}, {}, string,
|
|
2917
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
2901
2918
|
declare const _default$10: typeof __VLS_export$21;
|
|
2902
2919
|
//#endregion
|
|
2903
2920
|
//#region temp/packages/editor/src/fields/EventSelect.vue.d.ts
|
|
2904
2921
|
type __VLS_Props$19 = FieldProps<EventSelectConfig>;
|
|
2905
|
-
declare const __VLS_export$20:
|
|
2922
|
+
declare const __VLS_export$20: import("@vue/runtime-core").DefineComponent<__VLS_Props$19, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
2906
2923
|
change: (v: any, eventData?: ContainerChangeEventData | undefined) => any;
|
|
2907
|
-
}, string,
|
|
2924
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$19> & Readonly<{
|
|
2908
2925
|
onChange?: ((v: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
2909
|
-
}>, {}, {}, {}, {}, string,
|
|
2926
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
2910
2927
|
declare const _default$18: typeof __VLS_export$20;
|
|
2911
2928
|
//#endregion
|
|
2912
2929
|
//#region temp/packages/editor/src/fields/KeyValue.vue.d.ts
|
|
2913
2930
|
type __VLS_Props$18 = FieldProps<KeyValueConfig>;
|
|
2914
|
-
declare const __VLS_export$19:
|
|
2931
|
+
declare const __VLS_export$19: import("@vue/runtime-core").DefineComponent<__VLS_Props$18, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
2915
2932
|
change: (value: Record<string, any>) => any;
|
|
2916
|
-
}, string,
|
|
2933
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$18> & Readonly<{
|
|
2917
2934
|
onChange?: ((value: Record<string, any>) => any) | undefined;
|
|
2918
2935
|
}>, {
|
|
2919
2936
|
disabled: boolean;
|
|
2920
|
-
}, {}, {}, {}, string,
|
|
2937
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
2921
2938
|
declare const _default$21: typeof __VLS_export$19;
|
|
2922
2939
|
//#endregion
|
|
2923
2940
|
//#region temp/packages/editor/src/layouts/sidebar/code-block/CodeBlockList.vue.d.ts
|
|
@@ -2927,8 +2944,8 @@ type __VLS_Props$17 = {
|
|
|
2927
2944
|
nextLevelIndentIncrement?: number;
|
|
2928
2945
|
customError?: (_id: Id, _errorType: CodeDeleteErrorType) => any;
|
|
2929
2946
|
};
|
|
2930
|
-
declare const __VLS_base$9:
|
|
2931
|
-
nodeStatusMap:
|
|
2947
|
+
declare const __VLS_base$9: import("@vue/runtime-core").DefineComponent<__VLS_Props$17, {
|
|
2948
|
+
nodeStatusMap: import("@vue/reactivity").Ref<Map<Id, {
|
|
2932
2949
|
visible: boolean;
|
|
2933
2950
|
expand: boolean;
|
|
2934
2951
|
selected: boolean;
|
|
@@ -2941,15 +2958,15 @@ declare const __VLS_base$9: _$_vue_runtime_core0.DefineComponent<__VLS_Props$17,
|
|
|
2941
2958
|
}> & Omit<Map<Id, LayerNodeStatus>, keyof Map<any, any>>)>;
|
|
2942
2959
|
filter: (text: string | string[]) => void;
|
|
2943
2960
|
deleteCode: (id: string) => Promise<void>;
|
|
2944
|
-
}, {}, {}, {},
|
|
2961
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
2945
2962
|
remove: (id: string) => any;
|
|
2946
2963
|
edit: (id: string) => any;
|
|
2947
2964
|
"node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
|
|
2948
|
-
}, string,
|
|
2965
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$17> & Readonly<{
|
|
2949
2966
|
onRemove?: ((id: string) => any) | undefined;
|
|
2950
2967
|
onEdit?: ((id: string) => any) | undefined;
|
|
2951
2968
|
"onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
2952
|
-
}>, {}, {}, {}, {}, string,
|
|
2969
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
2953
2970
|
declare const __VLS_export$18: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
|
|
2954
2971
|
declare const _default$1: typeof __VLS_export$18;
|
|
2955
2972
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -2966,7 +2983,7 @@ type __VLS_Props$16 = {
|
|
|
2966
2983
|
customError?: (_id: Id, _errorType: CodeDeleteErrorType) => any;
|
|
2967
2984
|
customContentMenu: CustomContentMenuFunction;
|
|
2968
2985
|
};
|
|
2969
|
-
declare const __VLS_base$8:
|
|
2986
|
+
declare const __VLS_base$8: import("@vue/runtime-core").DefineComponent<__VLS_Props$16, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$16> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
2970
2987
|
declare const __VLS_export$17: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
|
|
2971
2988
|
declare const _default$2: typeof __VLS_export$17;
|
|
2972
2989
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -2986,22 +3003,22 @@ type __VLS_ModelProps$2 = {
|
|
|
2986
3003
|
'width'?: number;
|
|
2987
3004
|
};
|
|
2988
3005
|
type __VLS_PublicProps$2 = __VLS_Props$15 & __VLS_ModelProps$2;
|
|
2989
|
-
declare const __VLS_export$16:
|
|
3006
|
+
declare const __VLS_export$16: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps$2, {
|
|
2990
3007
|
show(): void;
|
|
2991
3008
|
hide(): void;
|
|
2992
|
-
}, {}, {}, {},
|
|
3009
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
2993
3010
|
close: () => any;
|
|
2994
3011
|
submit: (v: any, eventData: ContainerChangeEventData) => any;
|
|
2995
3012
|
open: (id: string) => any;
|
|
2996
3013
|
"update:width": (value: number) => any;
|
|
2997
3014
|
"update:visible": (value: boolean) => any;
|
|
2998
|
-
}, string,
|
|
3015
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_PublicProps$2> & Readonly<{
|
|
2999
3016
|
onClose?: (() => any) | undefined;
|
|
3000
3017
|
onSubmit?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
3001
3018
|
onOpen?: ((id: string) => any) | undefined;
|
|
3002
3019
|
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
3003
3020
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
3004
|
-
}>, {}, {}, {}, {}, string,
|
|
3021
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
3005
3022
|
declare const _default$9: typeof __VLS_export$16;
|
|
3006
3023
|
//#endregion
|
|
3007
3024
|
//#region temp/packages/editor/src/layouts/sidebar/data-source/DataSourceAddButton.vue.d.ts
|
|
@@ -3013,11 +3030,11 @@ type __VLS_Props$14 = {
|
|
|
3013
3030
|
addButtonConfig?: ButtonProps;
|
|
3014
3031
|
addButtonText?: string;
|
|
3015
3032
|
};
|
|
3016
|
-
declare const __VLS_export$15:
|
|
3033
|
+
declare const __VLS_export$15: import("@vue/runtime-core").DefineComponent<__VLS_Props$14, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
3017
3034
|
add: (type: string) => any;
|
|
3018
|
-
}, string,
|
|
3035
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$14> & Readonly<{
|
|
3019
3036
|
onAdd?: ((type: string) => any) | undefined;
|
|
3020
|
-
}>, {}, {}, {}, {}, string,
|
|
3037
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
3021
3038
|
declare const _default$8: typeof __VLS_export$15;
|
|
3022
3039
|
//#endregion
|
|
3023
3040
|
//#region temp/packages/editor/src/layouts/props-panel/PropsPanel.vue.d.ts
|
|
@@ -3026,15 +3043,15 @@ type __VLS_Props$13 = {
|
|
|
3026
3043
|
disabledShowSrc?: boolean;
|
|
3027
3044
|
extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
3028
3045
|
};
|
|
3029
|
-
declare const __VLS_base$7:
|
|
3046
|
+
declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Props$13, {
|
|
3030
3047
|
getFormState(): FormState | undefined;
|
|
3031
3048
|
submit: (v: MNode, eventData?: ContainerChangeEventData) => Promise<void>;
|
|
3032
|
-
}, {}, {}, {},
|
|
3049
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
3033
3050
|
mounted: (internalInstance: {
|
|
3034
|
-
$:
|
|
3051
|
+
$: import("@vue/runtime-core").ComponentInternalInstance;
|
|
3035
3052
|
$data: {};
|
|
3036
3053
|
$props: {
|
|
3037
|
-
readonly config:
|
|
3054
|
+
readonly config: import("@tmagic/form-schema").FormConfig;
|
|
3038
3055
|
readonly values: FormValue;
|
|
3039
3056
|
readonly disabledShowSrc?: boolean | undefined;
|
|
3040
3057
|
readonly labelWidth?: string | undefined;
|
|
@@ -3046,21 +3063,21 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3046
3063
|
readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
3047
3064
|
readonly "onSubmit-error"?: ((e: any) => any) | undefined;
|
|
3048
3065
|
readonly "onForm-error"?: ((e: any) => any) | undefined;
|
|
3049
|
-
} &
|
|
3050
|
-
$attrs:
|
|
3066
|
+
} & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps;
|
|
3067
|
+
$attrs: import("@vue/runtime-core").Attrs;
|
|
3051
3068
|
$refs: {
|
|
3052
3069
|
[x: string]: unknown;
|
|
3053
3070
|
};
|
|
3054
3071
|
$slots: Readonly<{
|
|
3055
|
-
[name: string]:
|
|
3072
|
+
[name: string]: import("@vue/runtime-core").Slot<any> | undefined;
|
|
3056
3073
|
}>;
|
|
3057
|
-
$root:
|
|
3058
|
-
$parent:
|
|
3074
|
+
$root: import("@vue/runtime-core").ComponentPublicInstance | null;
|
|
3075
|
+
$parent: import("@vue/runtime-core").ComponentPublicInstance | null;
|
|
3059
3076
|
$host: Element | null;
|
|
3060
3077
|
$emit: ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData | undefined) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
|
|
3061
3078
|
$el: any;
|
|
3062
|
-
$options:
|
|
3063
|
-
config:
|
|
3079
|
+
$options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<{
|
|
3080
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
3064
3081
|
values: FormValue;
|
|
3065
3082
|
disabledShowSrc?: boolean;
|
|
3066
3083
|
labelWidth?: string;
|
|
@@ -3074,8 +3091,8 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3074
3091
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
3075
3092
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
3076
3093
|
}>, {
|
|
3077
|
-
configForm: Readonly<
|
|
3078
|
-
config:
|
|
3094
|
+
configForm: Readonly<import("@vue/reactivity").ShallowRef<import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3095
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
3079
3096
|
initValues: Record<string, any>;
|
|
3080
3097
|
lastValues?: Record<string, any>;
|
|
3081
3098
|
isCompare?: boolean;
|
|
@@ -3098,27 +3115,27 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3098
3115
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3099
3116
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
3100
3117
|
}>, {
|
|
3101
|
-
values:
|
|
3102
|
-
lastValuesProcessed:
|
|
3118
|
+
values: import("@vue/reactivity").Ref<FormValue, FormValue>;
|
|
3119
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
|
|
3103
3120
|
formState: FormState;
|
|
3104
|
-
initialized:
|
|
3105
|
-
changeRecords:
|
|
3121
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
3122
|
+
changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
|
|
3106
3123
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
3107
3124
|
resetForm: () => void;
|
|
3108
3125
|
submitForm: (native?: boolean) => Promise<any>;
|
|
3109
|
-
getTextByName: (name: string, config?:
|
|
3110
|
-
}, {}, {}, {},
|
|
3126
|
+
getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
|
|
3127
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
3111
3128
|
error: (...args: any[]) => void;
|
|
3112
3129
|
change: (...args: any[]) => void;
|
|
3113
3130
|
"field-input": (...args: any[]) => void;
|
|
3114
3131
|
"field-change": (...args: any[]) => void;
|
|
3115
3132
|
"update:stepActive": (...args: any[]) => void;
|
|
3116
|
-
},
|
|
3133
|
+
}, import("@vue/runtime-core").PublicProps, {
|
|
3117
3134
|
disabled: boolean;
|
|
3118
3135
|
labelWidth: string;
|
|
3119
3136
|
inline: boolean;
|
|
3120
3137
|
labelPosition: string;
|
|
3121
|
-
config:
|
|
3138
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
3122
3139
|
height: string;
|
|
3123
3140
|
initValues: Record<string, any>;
|
|
3124
3141
|
lastValues: Record<string, any>;
|
|
@@ -3126,7 +3143,7 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3126
3143
|
keyProp: string;
|
|
3127
3144
|
parentValues: Record<string, any>;
|
|
3128
3145
|
stepActive: string | number;
|
|
3129
|
-
}, false, {}, {},
|
|
3146
|
+
}, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
|
|
3130
3147
|
P: {};
|
|
3131
3148
|
B: {};
|
|
3132
3149
|
D: {};
|
|
@@ -3134,7 +3151,7 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3134
3151
|
M: {};
|
|
3135
3152
|
Defaults: {};
|
|
3136
3153
|
}, Readonly<{
|
|
3137
|
-
config:
|
|
3154
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
3138
3155
|
initValues: Record<string, any>;
|
|
3139
3156
|
lastValues?: Record<string, any>;
|
|
3140
3157
|
isCompare?: boolean;
|
|
@@ -3157,21 +3174,21 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3157
3174
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3158
3175
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
3159
3176
|
}>, {
|
|
3160
|
-
values:
|
|
3161
|
-
lastValuesProcessed:
|
|
3177
|
+
values: import("@vue/reactivity").Ref<FormValue, FormValue>;
|
|
3178
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
|
|
3162
3179
|
formState: FormState;
|
|
3163
|
-
initialized:
|
|
3164
|
-
changeRecords:
|
|
3180
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
3181
|
+
changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
|
|
3165
3182
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
3166
3183
|
resetForm: () => void;
|
|
3167
3184
|
submitForm: (native?: boolean) => Promise<any>;
|
|
3168
|
-
getTextByName: (name: string, config?:
|
|
3185
|
+
getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
|
|
3169
3186
|
}, {}, {}, {}, {
|
|
3170
3187
|
disabled: boolean;
|
|
3171
3188
|
labelWidth: string;
|
|
3172
3189
|
inline: boolean;
|
|
3173
3190
|
labelPosition: string;
|
|
3174
|
-
config:
|
|
3191
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
3175
3192
|
height: string;
|
|
3176
3193
|
initValues: Record<string, any>;
|
|
3177
3194
|
lastValues: Record<string, any>;
|
|
@@ -3181,13 +3198,13 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3181
3198
|
stepActive: string | number;
|
|
3182
3199
|
}> | null>>;
|
|
3183
3200
|
submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
|
|
3184
|
-
}, {}, {}, {},
|
|
3201
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
3185
3202
|
mounted: (internalInstance: any) => any;
|
|
3186
3203
|
unmounted: () => any;
|
|
3187
3204
|
submit: (values: any, eventData?: ContainerChangeEventData | undefined) => any;
|
|
3188
3205
|
"submit-error": (e: any) => any;
|
|
3189
3206
|
"form-error": (e: any) => any;
|
|
3190
|
-
}, string, {}, {}, string, {},
|
|
3207
|
+
}, string, {}, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
|
|
3191
3208
|
beforeCreate?: (() => void) | (() => void)[];
|
|
3192
3209
|
created?: (() => void) | (() => void)[];
|
|
3193
3210
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -3200,15 +3217,15 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3200
3217
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
3201
3218
|
destroyed?: (() => void) | (() => void)[];
|
|
3202
3219
|
unmounted?: (() => void) | (() => void)[];
|
|
3203
|
-
renderTracked?: ((e:
|
|
3204
|
-
renderTriggered?: ((e:
|
|
3205
|
-
errorCaptured?: ((err: unknown, instance:
|
|
3220
|
+
renderTracked?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
|
|
3221
|
+
renderTriggered?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
|
|
3222
|
+
errorCaptured?: ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
3206
3223
|
};
|
|
3207
3224
|
$forceUpdate: () => void;
|
|
3208
|
-
$nextTick: typeof
|
|
3209
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends ((...args: any) => infer R) ? (...args: [R, R,
|
|
3225
|
+
$nextTick: typeof import("@vue/runtime-core").nextTick;
|
|
3226
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends ((...args: any) => infer R) ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("@vue/runtime-core").WatchOptions): import("@vue/reactivity").WatchStopHandle;
|
|
3210
3227
|
} & Readonly<{}> & Omit<Readonly<{
|
|
3211
|
-
config:
|
|
3228
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
3212
3229
|
values: FormValue;
|
|
3213
3230
|
disabledShowSrc?: boolean;
|
|
3214
3231
|
labelWidth?: string;
|
|
@@ -3222,8 +3239,8 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3222
3239
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
3223
3240
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
3224
3241
|
}>, "submit" | "configForm"> & {
|
|
3225
|
-
configForm:
|
|
3226
|
-
config:
|
|
3242
|
+
configForm: import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3243
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
3227
3244
|
initValues: Record<string, any>;
|
|
3228
3245
|
lastValues?: Record<string, any>;
|
|
3229
3246
|
isCompare?: boolean;
|
|
@@ -3246,27 +3263,27 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3246
3263
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3247
3264
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
3248
3265
|
}>, {
|
|
3249
|
-
values:
|
|
3250
|
-
lastValuesProcessed:
|
|
3266
|
+
values: import("@vue/reactivity").Ref<FormValue, FormValue>;
|
|
3267
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
|
|
3251
3268
|
formState: FormState;
|
|
3252
|
-
initialized:
|
|
3253
|
-
changeRecords:
|
|
3269
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
3270
|
+
changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
|
|
3254
3271
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
3255
3272
|
resetForm: () => void;
|
|
3256
3273
|
submitForm: (native?: boolean) => Promise<any>;
|
|
3257
|
-
getTextByName: (name: string, config?:
|
|
3258
|
-
}, {}, {}, {},
|
|
3274
|
+
getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
|
|
3275
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
3259
3276
|
error: (...args: any[]) => void;
|
|
3260
3277
|
change: (...args: any[]) => void;
|
|
3261
3278
|
"field-input": (...args: any[]) => void;
|
|
3262
3279
|
"field-change": (...args: any[]) => void;
|
|
3263
3280
|
"update:stepActive": (...args: any[]) => void;
|
|
3264
|
-
},
|
|
3281
|
+
}, import("@vue/runtime-core").PublicProps, {
|
|
3265
3282
|
disabled: boolean;
|
|
3266
3283
|
labelWidth: string;
|
|
3267
3284
|
inline: boolean;
|
|
3268
3285
|
labelPosition: string;
|
|
3269
|
-
config:
|
|
3286
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
3270
3287
|
height: string;
|
|
3271
3288
|
initValues: Record<string, any>;
|
|
3272
3289
|
lastValues: Record<string, any>;
|
|
@@ -3274,7 +3291,7 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3274
3291
|
keyProp: string;
|
|
3275
3292
|
parentValues: Record<string, any>;
|
|
3276
3293
|
stepActive: string | number;
|
|
3277
|
-
}, false, {}, {},
|
|
3294
|
+
}, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
|
|
3278
3295
|
P: {};
|
|
3279
3296
|
B: {};
|
|
3280
3297
|
D: {};
|
|
@@ -3282,7 +3299,7 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3282
3299
|
M: {};
|
|
3283
3300
|
Defaults: {};
|
|
3284
3301
|
}, Readonly<{
|
|
3285
|
-
config:
|
|
3302
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
3286
3303
|
initValues: Record<string, any>;
|
|
3287
3304
|
lastValues?: Record<string, any>;
|
|
3288
3305
|
isCompare?: boolean;
|
|
@@ -3305,21 +3322,21 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3305
3322
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3306
3323
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
3307
3324
|
}>, {
|
|
3308
|
-
values:
|
|
3309
|
-
lastValuesProcessed:
|
|
3325
|
+
values: import("@vue/reactivity").Ref<FormValue, FormValue>;
|
|
3326
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
|
|
3310
3327
|
formState: FormState;
|
|
3311
|
-
initialized:
|
|
3312
|
-
changeRecords:
|
|
3328
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
3329
|
+
changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
|
|
3313
3330
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
3314
3331
|
resetForm: () => void;
|
|
3315
3332
|
submitForm: (native?: boolean) => Promise<any>;
|
|
3316
|
-
getTextByName: (name: string, config?:
|
|
3333
|
+
getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
|
|
3317
3334
|
}, {}, {}, {}, {
|
|
3318
3335
|
disabled: boolean;
|
|
3319
3336
|
labelWidth: string;
|
|
3320
3337
|
inline: boolean;
|
|
3321
3338
|
labelPosition: string;
|
|
3322
|
-
config:
|
|
3339
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
3323
3340
|
height: string;
|
|
3324
3341
|
initValues: Record<string, any>;
|
|
3325
3342
|
lastValues: Record<string, any>;
|
|
@@ -3329,7 +3346,7 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3329
3346
|
stepActive: string | number;
|
|
3330
3347
|
}> | null;
|
|
3331
3348
|
submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
|
|
3332
|
-
} & {} &
|
|
3349
|
+
} & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
|
|
3333
3350
|
$slots: {
|
|
3334
3351
|
'props-form-panel-header'(_props: {}): any;
|
|
3335
3352
|
};
|
|
@@ -3337,12 +3354,12 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3337
3354
|
unmounted: () => any;
|
|
3338
3355
|
"submit-error": (e: any) => any;
|
|
3339
3356
|
"form-error": (e: any) => any;
|
|
3340
|
-
}, string,
|
|
3357
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$13> & Readonly<{
|
|
3341
3358
|
onMounted?: ((internalInstance: {
|
|
3342
|
-
$:
|
|
3359
|
+
$: import("@vue/runtime-core").ComponentInternalInstance;
|
|
3343
3360
|
$data: {};
|
|
3344
3361
|
$props: {
|
|
3345
|
-
readonly config:
|
|
3362
|
+
readonly config: import("@tmagic/form-schema").FormConfig;
|
|
3346
3363
|
readonly values: FormValue;
|
|
3347
3364
|
readonly disabledShowSrc?: boolean | undefined;
|
|
3348
3365
|
readonly labelWidth?: string | undefined;
|
|
@@ -3354,21 +3371,21 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3354
3371
|
readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
3355
3372
|
readonly "onSubmit-error"?: ((e: any) => any) | undefined;
|
|
3356
3373
|
readonly "onForm-error"?: ((e: any) => any) | undefined;
|
|
3357
|
-
} &
|
|
3358
|
-
$attrs:
|
|
3374
|
+
} & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps;
|
|
3375
|
+
$attrs: import("@vue/runtime-core").Attrs;
|
|
3359
3376
|
$refs: {
|
|
3360
3377
|
[x: string]: unknown;
|
|
3361
3378
|
};
|
|
3362
3379
|
$slots: Readonly<{
|
|
3363
|
-
[name: string]:
|
|
3380
|
+
[name: string]: import("@vue/runtime-core").Slot<any> | undefined;
|
|
3364
3381
|
}>;
|
|
3365
|
-
$root:
|
|
3366
|
-
$parent:
|
|
3382
|
+
$root: import("@vue/runtime-core").ComponentPublicInstance | null;
|
|
3383
|
+
$parent: import("@vue/runtime-core").ComponentPublicInstance | null;
|
|
3367
3384
|
$host: Element | null;
|
|
3368
3385
|
$emit: ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData | undefined) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
|
|
3369
3386
|
$el: any;
|
|
3370
|
-
$options:
|
|
3371
|
-
config:
|
|
3387
|
+
$options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<{
|
|
3388
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
3372
3389
|
values: FormValue;
|
|
3373
3390
|
disabledShowSrc?: boolean;
|
|
3374
3391
|
labelWidth?: string;
|
|
@@ -3382,8 +3399,8 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3382
3399
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
3383
3400
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
3384
3401
|
}>, {
|
|
3385
|
-
configForm: Readonly<
|
|
3386
|
-
config:
|
|
3402
|
+
configForm: Readonly<import("@vue/reactivity").ShallowRef<import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3403
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
3387
3404
|
initValues: Record<string, any>;
|
|
3388
3405
|
lastValues?: Record<string, any>;
|
|
3389
3406
|
isCompare?: boolean;
|
|
@@ -3406,27 +3423,27 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3406
3423
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3407
3424
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
3408
3425
|
}>, {
|
|
3409
|
-
values:
|
|
3410
|
-
lastValuesProcessed:
|
|
3426
|
+
values: import("@vue/reactivity").Ref<FormValue, FormValue>;
|
|
3427
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
|
|
3411
3428
|
formState: FormState;
|
|
3412
|
-
initialized:
|
|
3413
|
-
changeRecords:
|
|
3429
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
3430
|
+
changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
|
|
3414
3431
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
3415
3432
|
resetForm: () => void;
|
|
3416
3433
|
submitForm: (native?: boolean) => Promise<any>;
|
|
3417
|
-
getTextByName: (name: string, config?:
|
|
3418
|
-
}, {}, {}, {},
|
|
3434
|
+
getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
|
|
3435
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
3419
3436
|
error: (...args: any[]) => void;
|
|
3420
3437
|
change: (...args: any[]) => void;
|
|
3421
3438
|
"field-input": (...args: any[]) => void;
|
|
3422
3439
|
"field-change": (...args: any[]) => void;
|
|
3423
3440
|
"update:stepActive": (...args: any[]) => void;
|
|
3424
|
-
},
|
|
3441
|
+
}, import("@vue/runtime-core").PublicProps, {
|
|
3425
3442
|
disabled: boolean;
|
|
3426
3443
|
labelWidth: string;
|
|
3427
3444
|
inline: boolean;
|
|
3428
3445
|
labelPosition: string;
|
|
3429
|
-
config:
|
|
3446
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
3430
3447
|
height: string;
|
|
3431
3448
|
initValues: Record<string, any>;
|
|
3432
3449
|
lastValues: Record<string, any>;
|
|
@@ -3434,7 +3451,7 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3434
3451
|
keyProp: string;
|
|
3435
3452
|
parentValues: Record<string, any>;
|
|
3436
3453
|
stepActive: string | number;
|
|
3437
|
-
}, false, {}, {},
|
|
3454
|
+
}, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
|
|
3438
3455
|
P: {};
|
|
3439
3456
|
B: {};
|
|
3440
3457
|
D: {};
|
|
@@ -3442,7 +3459,7 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3442
3459
|
M: {};
|
|
3443
3460
|
Defaults: {};
|
|
3444
3461
|
}, Readonly<{
|
|
3445
|
-
config:
|
|
3462
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
3446
3463
|
initValues: Record<string, any>;
|
|
3447
3464
|
lastValues?: Record<string, any>;
|
|
3448
3465
|
isCompare?: boolean;
|
|
@@ -3465,21 +3482,21 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3465
3482
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3466
3483
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
3467
3484
|
}>, {
|
|
3468
|
-
values:
|
|
3469
|
-
lastValuesProcessed:
|
|
3485
|
+
values: import("@vue/reactivity").Ref<FormValue, FormValue>;
|
|
3486
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
|
|
3470
3487
|
formState: FormState;
|
|
3471
|
-
initialized:
|
|
3472
|
-
changeRecords:
|
|
3488
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
3489
|
+
changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
|
|
3473
3490
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
3474
3491
|
resetForm: () => void;
|
|
3475
3492
|
submitForm: (native?: boolean) => Promise<any>;
|
|
3476
|
-
getTextByName: (name: string, config?:
|
|
3493
|
+
getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
|
|
3477
3494
|
}, {}, {}, {}, {
|
|
3478
3495
|
disabled: boolean;
|
|
3479
3496
|
labelWidth: string;
|
|
3480
3497
|
inline: boolean;
|
|
3481
3498
|
labelPosition: string;
|
|
3482
|
-
config:
|
|
3499
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
3483
3500
|
height: string;
|
|
3484
3501
|
initValues: Record<string, any>;
|
|
3485
3502
|
lastValues: Record<string, any>;
|
|
@@ -3489,13 +3506,13 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3489
3506
|
stepActive: string | number;
|
|
3490
3507
|
}> | null>>;
|
|
3491
3508
|
submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
|
|
3492
|
-
}, {}, {}, {},
|
|
3509
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
3493
3510
|
mounted: (internalInstance: any) => any;
|
|
3494
3511
|
unmounted: () => any;
|
|
3495
3512
|
submit: (values: any, eventData?: ContainerChangeEventData | undefined) => any;
|
|
3496
3513
|
"submit-error": (e: any) => any;
|
|
3497
3514
|
"form-error": (e: any) => any;
|
|
3498
|
-
}, string, {}, {}, string, {},
|
|
3515
|
+
}, string, {}, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
|
|
3499
3516
|
beforeCreate?: (() => void) | (() => void)[];
|
|
3500
3517
|
created?: (() => void) | (() => void)[];
|
|
3501
3518
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -3508,15 +3525,15 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3508
3525
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
3509
3526
|
destroyed?: (() => void) | (() => void)[];
|
|
3510
3527
|
unmounted?: (() => void) | (() => void)[];
|
|
3511
|
-
renderTracked?: ((e:
|
|
3512
|
-
renderTriggered?: ((e:
|
|
3513
|
-
errorCaptured?: ((err: unknown, instance:
|
|
3528
|
+
renderTracked?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
|
|
3529
|
+
renderTriggered?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
|
|
3530
|
+
errorCaptured?: ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
3514
3531
|
};
|
|
3515
3532
|
$forceUpdate: () => void;
|
|
3516
|
-
$nextTick: typeof
|
|
3517
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends ((...args: any) => infer R) ? (...args: [R, R,
|
|
3533
|
+
$nextTick: typeof import("@vue/runtime-core").nextTick;
|
|
3534
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends ((...args: any) => infer R) ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("@vue/runtime-core").WatchOptions): import("@vue/reactivity").WatchStopHandle;
|
|
3518
3535
|
} & Readonly<{}> & Omit<Readonly<{
|
|
3519
|
-
config:
|
|
3536
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
3520
3537
|
values: FormValue;
|
|
3521
3538
|
disabledShowSrc?: boolean;
|
|
3522
3539
|
labelWidth?: string;
|
|
@@ -3530,8 +3547,8 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3530
3547
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
3531
3548
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
3532
3549
|
}>, "submit" | "configForm"> & {
|
|
3533
|
-
configForm:
|
|
3534
|
-
config:
|
|
3550
|
+
configForm: import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3551
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
3535
3552
|
initValues: Record<string, any>;
|
|
3536
3553
|
lastValues?: Record<string, any>;
|
|
3537
3554
|
isCompare?: boolean;
|
|
@@ -3554,27 +3571,27 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3554
3571
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3555
3572
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
3556
3573
|
}>, {
|
|
3557
|
-
values:
|
|
3558
|
-
lastValuesProcessed:
|
|
3574
|
+
values: import("@vue/reactivity").Ref<FormValue, FormValue>;
|
|
3575
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
|
|
3559
3576
|
formState: FormState;
|
|
3560
|
-
initialized:
|
|
3561
|
-
changeRecords:
|
|
3577
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
3578
|
+
changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
|
|
3562
3579
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
3563
3580
|
resetForm: () => void;
|
|
3564
3581
|
submitForm: (native?: boolean) => Promise<any>;
|
|
3565
|
-
getTextByName: (name: string, config?:
|
|
3566
|
-
}, {}, {}, {},
|
|
3582
|
+
getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
|
|
3583
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
3567
3584
|
error: (...args: any[]) => void;
|
|
3568
3585
|
change: (...args: any[]) => void;
|
|
3569
3586
|
"field-input": (...args: any[]) => void;
|
|
3570
3587
|
"field-change": (...args: any[]) => void;
|
|
3571
3588
|
"update:stepActive": (...args: any[]) => void;
|
|
3572
|
-
},
|
|
3589
|
+
}, import("@vue/runtime-core").PublicProps, {
|
|
3573
3590
|
disabled: boolean;
|
|
3574
3591
|
labelWidth: string;
|
|
3575
3592
|
inline: boolean;
|
|
3576
3593
|
labelPosition: string;
|
|
3577
|
-
config:
|
|
3594
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
3578
3595
|
height: string;
|
|
3579
3596
|
initValues: Record<string, any>;
|
|
3580
3597
|
lastValues: Record<string, any>;
|
|
@@ -3582,7 +3599,7 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3582
3599
|
keyProp: string;
|
|
3583
3600
|
parentValues: Record<string, any>;
|
|
3584
3601
|
stepActive: string | number;
|
|
3585
|
-
}, false, {}, {},
|
|
3602
|
+
}, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
|
|
3586
3603
|
P: {};
|
|
3587
3604
|
B: {};
|
|
3588
3605
|
D: {};
|
|
@@ -3590,7 +3607,7 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3590
3607
|
M: {};
|
|
3591
3608
|
Defaults: {};
|
|
3592
3609
|
}, Readonly<{
|
|
3593
|
-
config:
|
|
3610
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
3594
3611
|
initValues: Record<string, any>;
|
|
3595
3612
|
lastValues?: Record<string, any>;
|
|
3596
3613
|
isCompare?: boolean;
|
|
@@ -3613,21 +3630,21 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3613
3630
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3614
3631
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
3615
3632
|
}>, {
|
|
3616
|
-
values:
|
|
3617
|
-
lastValuesProcessed:
|
|
3633
|
+
values: import("@vue/reactivity").Ref<FormValue, FormValue>;
|
|
3634
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
|
|
3618
3635
|
formState: FormState;
|
|
3619
|
-
initialized:
|
|
3620
|
-
changeRecords:
|
|
3636
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
3637
|
+
changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
|
|
3621
3638
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
3622
3639
|
resetForm: () => void;
|
|
3623
3640
|
submitForm: (native?: boolean) => Promise<any>;
|
|
3624
|
-
getTextByName: (name: string, config?:
|
|
3641
|
+
getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
|
|
3625
3642
|
}, {}, {}, {}, {
|
|
3626
3643
|
disabled: boolean;
|
|
3627
3644
|
labelWidth: string;
|
|
3628
3645
|
inline: boolean;
|
|
3629
3646
|
labelPosition: string;
|
|
3630
|
-
config:
|
|
3647
|
+
config: import("@tmagic/form-schema").FormConfig;
|
|
3631
3648
|
height: string;
|
|
3632
3649
|
initValues: Record<string, any>;
|
|
3633
3650
|
lastValues: Record<string, any>;
|
|
@@ -3637,7 +3654,7 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3637
3654
|
stepActive: string | number;
|
|
3638
3655
|
}> | null;
|
|
3639
3656
|
submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
|
|
3640
|
-
} & {} &
|
|
3657
|
+
} & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
|
|
3641
3658
|
$slots: {
|
|
3642
3659
|
'props-form-panel-header'(_props: {}): any;
|
|
3643
3660
|
};
|
|
@@ -3645,7 +3662,7 @@ declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13,
|
|
|
3645
3662
|
onUnmounted?: (() => any) | undefined;
|
|
3646
3663
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
3647
3664
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
3648
|
-
}>, {}, {}, {}, {}, string,
|
|
3665
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
3649
3666
|
declare const __VLS_export$14: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
|
|
3650
3667
|
declare const _default$26: typeof __VLS_export$14;
|
|
3651
3668
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -3667,8 +3684,8 @@ type __VLS_Props$12 = {
|
|
|
3667
3684
|
labelPosition?: string;
|
|
3668
3685
|
extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
3669
3686
|
};
|
|
3670
|
-
declare const __VLS_base$6:
|
|
3671
|
-
configForm: Readonly<
|
|
3687
|
+
declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Props$12, {
|
|
3688
|
+
configForm: Readonly<import("@vue/reactivity").ShallowRef<import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3672
3689
|
config: FormConfig;
|
|
3673
3690
|
initValues: Record<string, any>;
|
|
3674
3691
|
lastValues?: Record<string, any>;
|
|
@@ -3692,22 +3709,22 @@ declare const __VLS_base$6: _$_vue_runtime_core0.DefineComponent<__VLS_Props$12,
|
|
|
3692
3709
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3693
3710
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
3694
3711
|
}>, {
|
|
3695
|
-
values:
|
|
3696
|
-
lastValuesProcessed:
|
|
3712
|
+
values: import("@vue/reactivity").Ref<FormValue, FormValue>;
|
|
3713
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
|
|
3697
3714
|
formState: FormState;
|
|
3698
|
-
initialized:
|
|
3699
|
-
changeRecords:
|
|
3715
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
3716
|
+
changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
|
|
3700
3717
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
3701
3718
|
resetForm: () => void;
|
|
3702
3719
|
submitForm: (native?: boolean) => Promise<any>;
|
|
3703
3720
|
getTextByName: (name: string, config?: FormConfig) => string | undefined;
|
|
3704
|
-
}, {}, {}, {},
|
|
3721
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
3705
3722
|
error: (...args: any[]) => void;
|
|
3706
3723
|
change: (...args: any[]) => void;
|
|
3707
3724
|
"field-input": (...args: any[]) => void;
|
|
3708
3725
|
"field-change": (...args: any[]) => void;
|
|
3709
3726
|
"update:stepActive": (...args: any[]) => void;
|
|
3710
|
-
},
|
|
3727
|
+
}, import("@vue/runtime-core").PublicProps, {
|
|
3711
3728
|
disabled: boolean;
|
|
3712
3729
|
labelWidth: string;
|
|
3713
3730
|
inline: boolean;
|
|
@@ -3720,7 +3737,7 @@ declare const __VLS_base$6: _$_vue_runtime_core0.DefineComponent<__VLS_Props$12,
|
|
|
3720
3737
|
keyProp: string;
|
|
3721
3738
|
parentValues: Record<string, any>;
|
|
3722
3739
|
stepActive: string | number;
|
|
3723
|
-
}, false, {}, {},
|
|
3740
|
+
}, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
|
|
3724
3741
|
P: {};
|
|
3725
3742
|
B: {};
|
|
3726
3743
|
D: {};
|
|
@@ -3751,11 +3768,11 @@ declare const __VLS_base$6: _$_vue_runtime_core0.DefineComponent<__VLS_Props$12,
|
|
|
3751
3768
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3752
3769
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
3753
3770
|
}>, {
|
|
3754
|
-
values:
|
|
3755
|
-
lastValuesProcessed:
|
|
3771
|
+
values: import("@vue/reactivity").Ref<FormValue, FormValue>;
|
|
3772
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
|
|
3756
3773
|
formState: FormState;
|
|
3757
|
-
initialized:
|
|
3758
|
-
changeRecords:
|
|
3774
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
3775
|
+
changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
|
|
3759
3776
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
3760
3777
|
resetForm: () => void;
|
|
3761
3778
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -3775,19 +3792,19 @@ declare const __VLS_base$6: _$_vue_runtime_core0.DefineComponent<__VLS_Props$12,
|
|
|
3775
3792
|
stepActive: string | number;
|
|
3776
3793
|
}> | null>>;
|
|
3777
3794
|
submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
|
|
3778
|
-
}, {}, {}, {},
|
|
3795
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
3779
3796
|
mounted: (internalInstance: any) => any;
|
|
3780
3797
|
unmounted: () => any;
|
|
3781
3798
|
submit: (values: any, eventData?: ContainerChangeEventData | undefined) => any;
|
|
3782
3799
|
"submit-error": (e: any) => any;
|
|
3783
3800
|
"form-error": (e: any) => any;
|
|
3784
|
-
}, string,
|
|
3801
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$12> & Readonly<{
|
|
3785
3802
|
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
3786
3803
|
onUnmounted?: (() => any) | undefined;
|
|
3787
3804
|
onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
3788
3805
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
3789
3806
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
3790
|
-
}>, {}, {}, {}, {}, string,
|
|
3807
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
3791
3808
|
declare const __VLS_export$13: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
|
|
3792
3809
|
declare const _default$25: typeof __VLS_export$13;
|
|
3793
3810
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -3801,10 +3818,12 @@ type __VLS_Props$11 = {
|
|
|
3801
3818
|
data?: MenuButton | MenuComponent;
|
|
3802
3819
|
eventType?: 'mousedown' | 'mouseup' | 'click';
|
|
3803
3820
|
};
|
|
3804
|
-
declare const __VLS_export$12:
|
|
3821
|
+
declare const __VLS_export$12: import("@vue/runtime-core").DefineComponent<__VLS_Props$11, {
|
|
3822
|
+
getElRef: () => Readonly<import("@vue/reactivity").ShallowRef<HTMLDivElement | null>>;
|
|
3823
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$11> & Readonly<{}>, {
|
|
3805
3824
|
data: MenuButton | MenuComponent;
|
|
3806
3825
|
eventType: "mousedown" | "mouseup" | "click";
|
|
3807
|
-
}, {}, {}, {}, string,
|
|
3826
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
3808
3827
|
declare const _default$31: typeof __VLS_export$12;
|
|
3809
3828
|
//#endregion
|
|
3810
3829
|
//#region temp/packages/editor/src/components/ContentMenu.vue.d.ts
|
|
@@ -3818,8 +3837,8 @@ declare var __VLS_7$1: {};
|
|
|
3818
3837
|
type __VLS_Slots$5 = {} & {
|
|
3819
3838
|
title?: (props: typeof __VLS_7$1) => any;
|
|
3820
3839
|
};
|
|
3821
|
-
declare const __VLS_base$5:
|
|
3822
|
-
menu: Readonly<
|
|
3840
|
+
declare const __VLS_base$5: import("@vue/runtime-core").DefineComponent<__VLS_Props$10, {
|
|
3841
|
+
menu: Readonly<import("@vue/reactivity").ShallowRef<HTMLDivElement | null>>;
|
|
3823
3842
|
menuPosition: Ref<{
|
|
3824
3843
|
left: number;
|
|
3825
3844
|
top: number;
|
|
@@ -3840,11 +3859,11 @@ declare const __VLS_base$5: _$_vue_runtime_core0.DefineComponent<__VLS_Props$10,
|
|
|
3840
3859
|
clientY: number;
|
|
3841
3860
|
clientX: number;
|
|
3842
3861
|
}) => void;
|
|
3843
|
-
}, {}, {}, {},
|
|
3862
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
3844
3863
|
mouseenter: () => any;
|
|
3845
3864
|
show: () => any;
|
|
3846
3865
|
hide: () => any;
|
|
3847
|
-
}, string,
|
|
3866
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$10> & Readonly<{
|
|
3848
3867
|
onMouseenter?: (() => any) | undefined;
|
|
3849
3868
|
onShow?: (() => any) | undefined;
|
|
3850
3869
|
onHide?: (() => any) | undefined;
|
|
@@ -3852,7 +3871,7 @@ declare const __VLS_base$5: _$_vue_runtime_core0.DefineComponent<__VLS_Props$10,
|
|
|
3852
3871
|
menuData: (MenuButton | MenuComponent)[];
|
|
3853
3872
|
isSubMenu: boolean;
|
|
3854
3873
|
autoHide: boolean;
|
|
3855
|
-
}, {}, {}, {}, string,
|
|
3874
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
3856
3875
|
declare const __VLS_export$11: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
|
|
3857
3876
|
declare const _default$7: typeof __VLS_export$11;
|
|
3858
3877
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -3865,7 +3884,7 @@ type __VLS_WithSlots$5<T, S> = T & {
|
|
|
3865
3884
|
type __VLS_Props$9 = {
|
|
3866
3885
|
icon?: any;
|
|
3867
3886
|
};
|
|
3868
|
-
declare const __VLS_export$10:
|
|
3887
|
+
declare const __VLS_export$10: import("@vue/runtime-core").DefineComponent<__VLS_Props$9, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$9> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
3869
3888
|
declare const _default$20: typeof __VLS_export$10;
|
|
3870
3889
|
//#endregion
|
|
3871
3890
|
//#region temp/packages/editor/src/components/SplitView.vue.d.ts
|
|
@@ -3888,13 +3907,13 @@ type __VLS_Slots$4 = {} & {
|
|
|
3888
3907
|
} & {
|
|
3889
3908
|
right?: (props: typeof __VLS_19) => any;
|
|
3890
3909
|
};
|
|
3891
|
-
declare const __VLS_base$4:
|
|
3910
|
+
declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Props$8, {
|
|
3892
3911
|
updateWidth(): void;
|
|
3893
|
-
}, {}, {}, {},
|
|
3912
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
3894
3913
|
change: (...args: any[]) => void;
|
|
3895
3914
|
"update:left": (...args: any[]) => void;
|
|
3896
3915
|
"update:right": (...args: any[]) => void;
|
|
3897
|
-
}, string,
|
|
3916
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$8> & Readonly<{
|
|
3898
3917
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
3899
3918
|
"onUpdate:left"?: ((...args: any[]) => any) | undefined;
|
|
3900
3919
|
"onUpdate:right"?: ((...args: any[]) => any) | undefined;
|
|
@@ -3902,7 +3921,7 @@ declare const __VLS_base$4: _$_vue_runtime_core0.DefineComponent<__VLS_Props$8,
|
|
|
3902
3921
|
minLeft: number;
|
|
3903
3922
|
minRight: number;
|
|
3904
3923
|
minCenter: number;
|
|
3905
|
-
}, {}, {}, {}, string,
|
|
3924
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
3906
3925
|
declare const __VLS_export$9: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
|
|
3907
3926
|
declare const _default$23: typeof __VLS_export$9;
|
|
3908
3927
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -3916,11 +3935,11 @@ declare var __VLS_1: {};
|
|
|
3916
3935
|
type __VLS_Slots$3 = {} & {
|
|
3917
3936
|
default?: (props: typeof __VLS_1) => any;
|
|
3918
3937
|
};
|
|
3919
|
-
declare const __VLS_base$3:
|
|
3920
|
-
change: (e: OnDrag$1<
|
|
3921
|
-
}, string,
|
|
3922
|
-
onChange?: ((e: OnDrag$1<
|
|
3923
|
-
}>, {}, {}, {}, {}, string,
|
|
3938
|
+
declare const __VLS_base$3: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
3939
|
+
change: (e: OnDrag$1<import("gesto").default>) => any;
|
|
3940
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{
|
|
3941
|
+
onChange?: ((e: OnDrag$1<import("gesto").default>) => any) | undefined;
|
|
3942
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
|
|
3924
3943
|
declare const __VLS_export$8: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
|
|
3925
3944
|
declare const _default$27: typeof __VLS_export$8;
|
|
3926
3945
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -3943,22 +3962,22 @@ type __VLS_ModelProps$1 = {
|
|
|
3943
3962
|
'visible'?: boolean;
|
|
3944
3963
|
};
|
|
3945
3964
|
type __VLS_PublicProps$1 = __VLS_Props$7 & __VLS_ModelProps$1;
|
|
3946
|
-
declare const __VLS_export$7:
|
|
3965
|
+
declare const __VLS_export$7: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps$1, {
|
|
3947
3966
|
show(): Promise<void>;
|
|
3948
3967
|
hide(): Promise<void>;
|
|
3949
|
-
}, {}, {}, {},
|
|
3968
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
3950
3969
|
close: () => any;
|
|
3951
3970
|
submit: (values: CodeBlockContent, eventData: ContainerChangeEventData) => any;
|
|
3952
3971
|
open: () => any;
|
|
3953
3972
|
"update:width": (value: number) => any;
|
|
3954
3973
|
"update:visible": (value: boolean) => any;
|
|
3955
|
-
}, string,
|
|
3974
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_PublicProps$1> & Readonly<{
|
|
3956
3975
|
onClose?: (() => any) | undefined;
|
|
3957
3976
|
onSubmit?: ((values: CodeBlockContent, eventData: ContainerChangeEventData) => any) | undefined;
|
|
3958
3977
|
onOpen?: (() => any) | undefined;
|
|
3959
3978
|
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
3960
3979
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
3961
|
-
}>, {}, {}, {}, {}, string,
|
|
3980
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
3962
3981
|
declare const _default: typeof __VLS_export$7;
|
|
3963
3982
|
//#endregion
|
|
3964
3983
|
//#region temp/packages/editor/src/components/FloatingBox.vue.d.ts
|
|
@@ -3983,22 +4002,22 @@ type __VLS_Slots$2 = {} & {
|
|
|
3983
4002
|
} & {
|
|
3984
4003
|
body?: (props: typeof __VLS_22) => any;
|
|
3985
4004
|
};
|
|
3986
|
-
declare const __VLS_base$2:
|
|
3987
|
-
bodyHeight:
|
|
3988
|
-
target: Readonly<
|
|
3989
|
-
titleEl: Readonly<
|
|
3990
|
-
}, {}, {}, {},
|
|
4005
|
+
declare const __VLS_base$2: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps, {
|
|
4006
|
+
bodyHeight: import("@vue/reactivity").ComputedRef<number | "auto">;
|
|
4007
|
+
target: Readonly<import("@vue/reactivity").ShallowRef<HTMLDivElement | null>>;
|
|
4008
|
+
titleEl: Readonly<import("@vue/reactivity").ShallowRef<HTMLDivElement | null>>;
|
|
4009
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
3991
4010
|
"update:width": (value: number) => any;
|
|
3992
4011
|
"update:height": (value: number) => any;
|
|
3993
4012
|
"update:visible": (value: boolean) => any;
|
|
3994
|
-
}, string,
|
|
4013
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
3995
4014
|
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
3996
4015
|
"onUpdate:height"?: ((value: number) => any) | undefined;
|
|
3997
4016
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
3998
4017
|
}>, {
|
|
3999
4018
|
title: string;
|
|
4000
4019
|
position: Position;
|
|
4001
|
-
}, {}, {}, {}, string,
|
|
4020
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
4002
4021
|
declare const __VLS_export$6: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
4003
4022
|
declare const _default$19: typeof __VLS_export$6;
|
|
4004
4023
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -4027,7 +4046,7 @@ type __VLS_Props$5 = {
|
|
|
4027
4046
|
emptyText?: string; /** 自定义判断节点是否可展开(即是否要展示为拥有子节点的形态)的函数 */
|
|
4028
4047
|
isExpandable?: IsExpandableFunction;
|
|
4029
4048
|
};
|
|
4030
|
-
declare const __VLS_base$1:
|
|
4049
|
+
declare const __VLS_base$1: import("@vue/runtime-core").DefineComponent<__VLS_Props$5, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
4031
4050
|
"node-dragstart": (event: DragEvent, data: TreeNodeData) => any;
|
|
4032
4051
|
"node-dragleave": (event: DragEvent, data: TreeNodeData) => any;
|
|
4033
4052
|
"node-dragend": (event: DragEvent, data: TreeNodeData) => any;
|
|
@@ -4036,7 +4055,7 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$5,
|
|
|
4036
4055
|
"node-click": (event: MouseEvent, data: TreeNodeData) => any;
|
|
4037
4056
|
"node-dblclick": (event: MouseEvent, data: TreeNodeData) => any;
|
|
4038
4057
|
"node-dragover": (event: DragEvent) => any;
|
|
4039
|
-
}, string,
|
|
4058
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$5> & Readonly<{
|
|
4040
4059
|
"onNode-dragstart"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
|
|
4041
4060
|
"onNode-dragleave"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
|
|
4042
4061
|
"onNode-dragend"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
|
|
@@ -4048,7 +4067,7 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$5,
|
|
|
4048
4067
|
}>, {
|
|
4049
4068
|
emptyText: string;
|
|
4050
4069
|
indent: number;
|
|
4051
|
-
}, {}, {}, {}, string,
|
|
4070
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
4052
4071
|
declare const __VLS_export$5: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
4053
4072
|
declare const _default$32: typeof __VLS_export$5;
|
|
4054
4073
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -4078,7 +4097,7 @@ type __VLS_Props$4 = {
|
|
|
4078
4097
|
nextLevelIndentIncrement?: number; /** 自定义判断节点是否可展开(即是否要展示为拥有子节点的形态)的函数 */
|
|
4079
4098
|
isExpandable?: IsExpandableFunction;
|
|
4080
4099
|
};
|
|
4081
|
-
declare const __VLS_base:
|
|
4100
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Props$4, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
4082
4101
|
"node-dragstart": (event: DragEvent, data: TreeNodeData) => any;
|
|
4083
4102
|
"node-dragleave": (event: DragEvent, data: TreeNodeData) => any;
|
|
4084
4103
|
"node-dragend": (event: DragEvent, data: TreeNodeData) => any;
|
|
@@ -4086,7 +4105,7 @@ declare const __VLS_base: _$_vue_runtime_core0.DefineComponent<__VLS_Props$4, {}
|
|
|
4086
4105
|
"node-mouseenter": (event: MouseEvent, data: TreeNodeData) => any;
|
|
4087
4106
|
"node-click": (event: MouseEvent, data: TreeNodeData) => any;
|
|
4088
4107
|
"node-dblclick": (event: MouseEvent, data: TreeNodeData) => any;
|
|
4089
|
-
}, string,
|
|
4108
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$4> & Readonly<{
|
|
4090
4109
|
"onNode-dragstart"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
|
|
4091
4110
|
"onNode-dragleave"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
|
|
4092
4111
|
"onNode-dragend"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
|
|
@@ -4099,7 +4118,7 @@ declare const __VLS_base: _$_vue_runtime_core0.DefineComponent<__VLS_Props$4, {}
|
|
|
4099
4118
|
parentsId: Id[];
|
|
4100
4119
|
nextLevelIndentIncrement: number;
|
|
4101
4120
|
isExpandable: IsExpandableFunction;
|
|
4102
|
-
}, {}, {}, {}, string,
|
|
4121
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
4103
4122
|
declare const __VLS_export$4: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
4104
4123
|
declare const _default$33: typeof __VLS_export$4;
|
|
4105
4124
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -4110,42 +4129,42 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
4110
4129
|
//#endregion
|
|
4111
4130
|
//#region temp/packages/editor/src/fields/PageFragmentSelect.vue.d.ts
|
|
4112
4131
|
type __VLS_Props$3 = FieldProps<PageFragmentSelectConfig>;
|
|
4113
|
-
declare const __VLS_export$3:
|
|
4132
|
+
declare const __VLS_export$3: import("@vue/runtime-core").DefineComponent<__VLS_Props$3, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
4114
4133
|
change: (...args: any[]) => void;
|
|
4115
|
-
}, string,
|
|
4134
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$3> & Readonly<{
|
|
4116
4135
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
4117
4136
|
}>, {
|
|
4118
4137
|
disabled: boolean;
|
|
4119
|
-
}, {}, {}, {}, string,
|
|
4138
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
4120
4139
|
declare const _default$24: typeof __VLS_export$3;
|
|
4121
4140
|
//#endregion
|
|
4122
4141
|
//#region temp/packages/editor/src/fields/DisplayConds.vue.d.ts
|
|
4123
4142
|
type __VLS_Props$2 = FieldProps<DisplayCondsConfig>;
|
|
4124
|
-
declare const __VLS_export$2:
|
|
4143
|
+
declare const __VLS_export$2: import("@vue/runtime-core").DefineComponent<__VLS_Props$2, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
4125
4144
|
change: (value: DisplayCond[], eventData?: ContainerChangeEventData | undefined) => any;
|
|
4126
|
-
}, string,
|
|
4145
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$2> & Readonly<{
|
|
4127
4146
|
onChange?: ((value: DisplayCond[], eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
4128
4147
|
}>, {
|
|
4129
4148
|
disabled: boolean;
|
|
4130
|
-
}, {}, {}, {}, string,
|
|
4149
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
4131
4150
|
declare const _default$17: typeof __VLS_export$2;
|
|
4132
4151
|
//#endregion
|
|
4133
4152
|
//#region temp/packages/editor/src/fields/CondOpSelect.vue.d.ts
|
|
4134
4153
|
type __VLS_Props$1 = FieldProps<CondOpSelectConfig>;
|
|
4135
|
-
declare const __VLS_export$1:
|
|
4154
|
+
declare const __VLS_export$1: import("@vue/runtime-core").DefineComponent<__VLS_Props$1, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
4136
4155
|
change: (value: string) => any;
|
|
4137
|
-
}, string,
|
|
4156
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$1> & Readonly<{
|
|
4138
4157
|
onChange?: ((value: string) => any) | undefined;
|
|
4139
|
-
}>, {}, {}, {}, {}, string,
|
|
4158
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
4140
4159
|
declare const _default$6: typeof __VLS_export$1;
|
|
4141
4160
|
//#endregion
|
|
4142
4161
|
//#region temp/packages/editor/src/fields/StyleSetter/Index.vue.d.ts
|
|
4143
4162
|
type __VLS_Props = FieldProps<StyleSchema>;
|
|
4144
|
-
declare const __VLS_export:
|
|
4163
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
4145
4164
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
4146
|
-
}, string,
|
|
4165
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
4147
4166
|
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
4148
|
-
}>, {}, {}, {}, {}, string,
|
|
4167
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
4149
4168
|
declare const _default$28: typeof __VLS_export;
|
|
4150
4169
|
//#endregion
|
|
4151
4170
|
//#region temp/packages/editor/src/plugin.d.ts
|