@tmagic/editor 1.5.21 → 1.5.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/style.css +16 -11
- package/dist/tmagic-editor.js +1596 -344
- package/dist/tmagic-editor.umd.cjs +1592 -340
- package/package.json +15 -15
- package/src/Editor.vue +5 -0
- package/src/components/CodeBlockEditor.vue +3 -3
- package/src/editorProps.ts +6 -0
- package/src/fields/DataSourceFieldSelect/Index.vue +8 -3
- package/src/fields/DataSourceFields.vue +1 -1
- package/src/fields/DataSourceInput.vue +12 -3
- package/src/fields/DataSourceMethods.vue +1 -1
- package/src/fields/EventSelect.vue +34 -19
- package/src/fields/StyleSetter/pro/Position.vue +10 -2
- package/src/hooks/use-filter.ts +6 -4
- package/src/hooks/use-stage.ts +1 -0
- package/src/index.ts +3 -0
- package/src/initService.ts +81 -11
- package/src/layouts/CodeEditor.vue +36 -10
- package/src/layouts/page-bar/PageBarScrollContainer.vue +2 -1
- package/src/layouts/props-panel/FormPanel.vue +6 -1
- package/src/layouts/props-panel/PropsPanel.vue +6 -0
- package/src/layouts/sidebar/Sidebar.vue +14 -2
- package/src/layouts/workspace/viewer/Stage.vue +21 -32
- package/src/layouts/workspace/viewer/StageOverlay.vue +25 -6
- package/src/services/BaseService.ts +17 -8
- package/src/services/keybinding.ts +12 -0
- package/src/services/props.ts +25 -1
- package/src/services/stageOverlay.ts +1 -1
- package/src/theme/code-editor.scss +7 -2
- package/src/theme/props-panel.scss +10 -0
- package/src/theme/stage.scss +6 -11
- package/src/type.ts +17 -0
- package/src/utils/props.ts +54 -19
- package/types/index.d.ts +395 -457
package/types/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as vue from 'vue';
|
|
2
1
|
import { Component, ComputedRef, Ref, ShallowRef, App } from 'vue';
|
|
3
|
-
import {
|
|
2
|
+
import { DesignPluginOptions } from '@tmagic/design';
|
|
4
3
|
export * from '@tmagic/design';
|
|
5
4
|
export { default as designPlugin } from '@tmagic/design';
|
|
6
5
|
import { TableColumnConfig, FormConfig, ChangeRecord as ChangeRecord$1, TabPaneConfig, CascaderOption, FormState, FieldProps, CodeSelectConfig, ContainerChangeEventData as ContainerChangeEventData$1, CodeSelectColConfig, DataSourceFieldsConfig, DataSourceMocksConfig, DataSourceMethodsConfig, DataSourceInputConfig, DataSourceSelect, DataSourceMethodSelectConfig, DataSourceFieldSelectConfig, EventSelectConfig, KeyValueConfig, FormValue, PageFragmentSelectConfig, DisplayCondsConfig, CondOpSelectConfig, FormInstallOptions } from '@tmagic/form';
|
|
@@ -16,18 +15,18 @@ import * as StageCore from '@tmagic/stage';
|
|
|
16
15
|
import StageCore__default, { ContainerHighlightType, MoveableOptions, CustomizeMoveableOptionsCallbackConfig, UpdateDragEl, RenderType, GuidesOptions } from '@tmagic/stage';
|
|
17
16
|
export * from '@tmagic/stage';
|
|
18
17
|
export { default as StageCore } from '@tmagic/stage';
|
|
18
|
+
import * as monaco from 'monaco-editor';
|
|
19
19
|
import * as _tmagic_schema from '@tmagic/schema';
|
|
20
20
|
import { StyleSchema } from '@tmagic/schema';
|
|
21
|
+
import * as _vue_reactivity from '@vue/reactivity';
|
|
21
22
|
export * from '@tmagic/table';
|
|
22
23
|
export { default as tablePlugin } from '@tmagic/table';
|
|
23
24
|
export * from '@tmagic/utils';
|
|
24
25
|
import * as gesto from 'gesto';
|
|
25
26
|
import gesto__default, { OnDrag } from 'gesto';
|
|
26
27
|
export { OnDrag } from 'gesto';
|
|
27
|
-
import * as
|
|
28
|
+
import * as _vue_runtime_core from '@vue/runtime-core';
|
|
28
29
|
import * as _tmagic_form_schema from '@tmagic/form-schema';
|
|
29
|
-
import * as monaco from 'monaco-editor';
|
|
30
|
-
import { Close } from '@element-plus/icons-vue';
|
|
31
30
|
|
|
32
31
|
/**
|
|
33
32
|
* 提供两种方式对Class进行扩展
|
|
@@ -90,6 +89,7 @@ declare class export_default extends EventEmitter {
|
|
|
90
89
|
*/
|
|
91
90
|
use(options: Record<string, Function>): void;
|
|
92
91
|
usePlugin(options: Record<string, Function>): void;
|
|
92
|
+
removePlugin(options: Record<string, Function>): void;
|
|
93
93
|
removeAllPlugins(): void;
|
|
94
94
|
private doTask;
|
|
95
95
|
}
|
|
@@ -629,6 +629,10 @@ type SyncMethodName$2 = Writable<(typeof canUsePluginMethods$3)['sync']>;
|
|
|
629
629
|
declare class Props extends export_default {
|
|
630
630
|
private state;
|
|
631
631
|
constructor();
|
|
632
|
+
setDisabledDataSource(disabled: boolean): void;
|
|
633
|
+
setDisabledCodeBlock(disabled: boolean): void;
|
|
634
|
+
getDisabledDataSource(): boolean;
|
|
635
|
+
getDisabledCodeBlock(): boolean;
|
|
632
636
|
setPropsConfigs(configs: Record<string, FormConfig | PropsFormConfigFunction>): void;
|
|
633
637
|
fillConfig(config: FormConfig, labelWidth?: string): Promise<FormConfig>;
|
|
634
638
|
setPropsConfig(type: string, config: FormConfig | PropsFormConfigFunction): Promise<void>;
|
|
@@ -802,7 +806,7 @@ type AsyncMethodName = Writable<(typeof canUsePluginMethods)['async']>;
|
|
|
802
806
|
declare class Ui extends export_default {
|
|
803
807
|
constructor();
|
|
804
808
|
set<K extends keyof UiState, T extends UiState[K]>(name: K, value: T): void;
|
|
805
|
-
get<K extends keyof UiState>(name: K):
|
|
809
|
+
get<K extends keyof UiState>(name: K): _vue_reactivity.ShallowReactive<UiState>[K];
|
|
806
810
|
zoom(zoom: number): Promise<void>;
|
|
807
811
|
calcZoom(): Promise<number>;
|
|
808
812
|
resetState(): void;
|
|
@@ -895,6 +899,8 @@ type BeforeAdd = (config: MNode, parent: MContainer) => Promise<MNode> | MNode;
|
|
|
895
899
|
type GetConfig = (config: FormConfig) => Promise<FormConfig> | FormConfig;
|
|
896
900
|
interface EditorInstallOptions {
|
|
897
901
|
parseDSL: <T = any>(dsl: string) => T;
|
|
902
|
+
customCreateMonacoEditor: (monaco: typeof monaco, codeEditorEl: HTMLElement, options: monaco.editor.IStandaloneEditorConstructionOptions) => monaco.editor.IStandaloneCodeEditor;
|
|
903
|
+
customCreateMonacoDiffEditor: (monaco: typeof monaco, codeEditorEl: HTMLElement, options: monaco.editor.IStandaloneEditorConstructionOptions) => monaco.editor.IStandaloneDiffEditor;
|
|
898
904
|
[key: string]: any;
|
|
899
905
|
}
|
|
900
906
|
interface Services {
|
|
@@ -926,6 +932,7 @@ interface StageOptions {
|
|
|
926
932
|
renderType?: RenderType;
|
|
927
933
|
guidesOptions?: Partial<GuidesOptions>;
|
|
928
934
|
disabledMultiSelect?: boolean;
|
|
935
|
+
disabledRule?: boolean;
|
|
929
936
|
zoom?: number;
|
|
930
937
|
}
|
|
931
938
|
interface StoreState {
|
|
@@ -947,6 +954,10 @@ interface PropsState {
|
|
|
947
954
|
propsConfigMap: Record<string, FormConfig>;
|
|
948
955
|
propsValueMap: Record<string, Partial<MNode>>;
|
|
949
956
|
relateIdMap: Record<Id, Id>;
|
|
957
|
+
/** 禁用数据源 */
|
|
958
|
+
disabledDataSource: boolean;
|
|
959
|
+
/** 禁用代码块 */
|
|
960
|
+
disabledCodeBlock: boolean;
|
|
950
961
|
}
|
|
951
962
|
interface StageOverlayState {
|
|
952
963
|
wrapDiv: HTMLDivElement;
|
|
@@ -1395,9 +1406,9 @@ interface ContainerChangeEventData {
|
|
|
1395
1406
|
}
|
|
1396
1407
|
|
|
1397
1408
|
declare const useCodeBlockEdit: (codeBlockService: Services["codeBlockService"]) => {
|
|
1398
|
-
codeId:
|
|
1399
|
-
codeConfig:
|
|
1400
|
-
codeBlockEditor: Readonly<
|
|
1409
|
+
codeId: _vue_reactivity.Ref<string | undefined, string | undefined>;
|
|
1410
|
+
codeConfig: _vue_reactivity.Ref<CodeBlockContent | undefined, CodeBlockContent | undefined>;
|
|
1411
|
+
codeBlockEditor: Readonly<_vue_reactivity.ShallowRef<_vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1401
1412
|
content: CodeBlockContent;
|
|
1402
1413
|
disabled?: boolean;
|
|
1403
1414
|
isDataSource?: boolean;
|
|
@@ -1407,20 +1418,20 @@ declare const useCodeBlockEdit: (codeBlockService: Services["codeBlockService"])
|
|
|
1407
1418
|
visible?: boolean;
|
|
1408
1419
|
}> & Readonly<{
|
|
1409
1420
|
onClose?: (() => any) | undefined;
|
|
1410
|
-
onOpen?: (() => any) | undefined;
|
|
1411
1421
|
onSubmit?: ((values: CodeBlockContent, eventData: ContainerChangeEventData) => any) | undefined;
|
|
1422
|
+
onOpen?: (() => any) | undefined;
|
|
1412
1423
|
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
1413
1424
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
1414
1425
|
}>, {
|
|
1415
1426
|
show(): Promise<void>;
|
|
1416
1427
|
hide(): Promise<void>;
|
|
1417
|
-
}, {}, {}, {},
|
|
1428
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1418
1429
|
close: () => any;
|
|
1419
|
-
open: () => any;
|
|
1420
1430
|
submit: (values: CodeBlockContent, eventData: ContainerChangeEventData) => any;
|
|
1431
|
+
open: () => any;
|
|
1421
1432
|
"update:width": (value: number) => any;
|
|
1422
1433
|
"update:visible": (value: boolean) => any;
|
|
1423
|
-
},
|
|
1434
|
+
}, _vue_runtime_core.PublicProps, {}, false, {}, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, {}, any, _vue_runtime_core.ComponentProvideOptions, {
|
|
1424
1435
|
P: {};
|
|
1425
1436
|
B: {};
|
|
1426
1437
|
D: {};
|
|
@@ -1437,8 +1448,8 @@ declare const useCodeBlockEdit: (codeBlockService: Services["codeBlockService"])
|
|
|
1437
1448
|
visible?: boolean;
|
|
1438
1449
|
}> & Readonly<{
|
|
1439
1450
|
onClose?: (() => any) | undefined;
|
|
1440
|
-
onOpen?: (() => any) | undefined;
|
|
1441
1451
|
onSubmit?: ((values: CodeBlockContent, eventData: ContainerChangeEventData) => any) | undefined;
|
|
1452
|
+
onOpen?: (() => any) | undefined;
|
|
1442
1453
|
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
1443
1454
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
1444
1455
|
}>, {
|
|
@@ -1461,7 +1472,7 @@ interface State {
|
|
|
1461
1472
|
declare const useFloatBox: (slideKeys: ComputedRef<string[]>) => {
|
|
1462
1473
|
dragstartHandler: (e: DragEvent) => void;
|
|
1463
1474
|
dragendHandler: (key: string, e: DragEvent) => void;
|
|
1464
|
-
floatBoxStates:
|
|
1475
|
+
floatBoxStates: _vue_reactivity.Ref<{
|
|
1465
1476
|
[x: string]: State;
|
|
1466
1477
|
}, {
|
|
1467
1478
|
[x: string]: State;
|
|
@@ -1477,7 +1488,7 @@ declare const useWindowRect: () => {
|
|
|
1477
1488
|
};
|
|
1478
1489
|
|
|
1479
1490
|
declare const useEditorContentHeight: () => {
|
|
1480
|
-
height:
|
|
1491
|
+
height: _vue_reactivity.Ref<number, number>;
|
|
1481
1492
|
};
|
|
1482
1493
|
|
|
1483
1494
|
declare const useFilter: (nodeData: Ref<TreeNodeData[]>, nodeStatusMap: Ref<Map<Id, LayerNodeStatus> | undefined>, filterNodeMethod: (value: string, data: MNode) => boolean) => {
|
|
@@ -1486,7 +1497,7 @@ declare const useFilter: (nodeData: Ref<TreeNodeData[]>, nodeStatusMap: Ref<Map<
|
|
|
1486
1497
|
};
|
|
1487
1498
|
|
|
1488
1499
|
declare const useGetSo: (target: ShallowRef<HTMLElement | null>, emit: (evt: "change", e: OnDrag<gesto__default>) => void) => {
|
|
1489
|
-
isDragging:
|
|
1500
|
+
isDragging: _vue_reactivity.Ref<boolean, boolean>;
|
|
1490
1501
|
};
|
|
1491
1502
|
|
|
1492
1503
|
declare const useNextFloatBoxPosition: (uiService: Services["uiService"], parent?: Ref<HTMLDivElement | null>) => {
|
|
@@ -1504,7 +1515,7 @@ declare const useNextFloatBoxPosition: (uiService: Services["uiService"], parent
|
|
|
1504
1515
|
};
|
|
1505
1516
|
|
|
1506
1517
|
declare const useNodeStatus: (nodeData: ComputedRef<TreeNodeData[]>) => {
|
|
1507
|
-
nodeStatusMap:
|
|
1518
|
+
nodeStatusMap: _vue_reactivity.Ref<Map<Id, {
|
|
1508
1519
|
visible: boolean;
|
|
1509
1520
|
expand: boolean;
|
|
1510
1521
|
selected: boolean;
|
|
@@ -1543,7 +1554,11 @@ declare const displayTabConfig: TabPaneConfig;
|
|
|
1543
1554
|
* @param config 组件属性配置
|
|
1544
1555
|
* @returns Object
|
|
1545
1556
|
*/
|
|
1546
|
-
declare const fillConfig: (config?: FormConfig, labelWidth
|
|
1557
|
+
declare const fillConfig: (config?: FormConfig, { labelWidth, disabledDataSource, disabledCodeBlock, }?: {
|
|
1558
|
+
labelWidth?: string;
|
|
1559
|
+
disabledDataSource?: boolean;
|
|
1560
|
+
disabledCodeBlock?: boolean;
|
|
1561
|
+
}) => FormConfig;
|
|
1547
1562
|
|
|
1548
1563
|
declare const log: (...args: any[]) => void;
|
|
1549
1564
|
declare const info: (...args: any[]) => void;
|
|
@@ -1763,6 +1778,10 @@ interface EditorProps {
|
|
|
1763
1778
|
disabledStageOverlay?: boolean;
|
|
1764
1779
|
/** 禁用属性配置面板右下角显示源码的按钮 */
|
|
1765
1780
|
disabledShowSrc?: boolean;
|
|
1781
|
+
/** 禁用数据源 */
|
|
1782
|
+
disabledDataSource?: boolean;
|
|
1783
|
+
/** 禁用代码块 */
|
|
1784
|
+
disabledCodeBlock?: boolean;
|
|
1766
1785
|
/** 已选组件、代码编辑、数据源缩进配置 */
|
|
1767
1786
|
treeIndent?: number;
|
|
1768
1787
|
/** 已选组件、代码编辑、数据源子节点缩进增量配置 */
|
|
@@ -1785,7 +1804,7 @@ interface EditorProps {
|
|
|
1785
1804
|
}
|
|
1786
1805
|
|
|
1787
1806
|
type __VLS_Slots$c = EditorSlots;
|
|
1788
|
-
declare const __VLS_component$c:
|
|
1807
|
+
declare const __VLS_component$c: _vue_runtime_core.DefineComponent<EditorProps, {
|
|
1789
1808
|
editorService: EditorService;
|
|
1790
1809
|
historyService: HistoryService;
|
|
1791
1810
|
storageService: StorageService;
|
|
@@ -1798,10 +1817,10 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
1798
1817
|
dataSourceService: DataSourceService;
|
|
1799
1818
|
keybindingService: KeybindingService;
|
|
1800
1819
|
stageOverlayService: StageOverlayService;
|
|
1801
|
-
}, {}, {}, {},
|
|
1820
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1802
1821
|
"update:modelValue": (value: MApp | null) => any;
|
|
1803
1822
|
"props-panel-mounted": (instance: {
|
|
1804
|
-
$:
|
|
1823
|
+
$: _vue_runtime_core.ComponentInternalInstance;
|
|
1805
1824
|
$data: {};
|
|
1806
1825
|
$props: {
|
|
1807
1826
|
readonly config: _tmagic_form_schema.FormConfig;
|
|
@@ -1811,11 +1830,12 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
1811
1830
|
readonly codeValueKey?: string | undefined;
|
|
1812
1831
|
readonly labelPosition?: string | undefined;
|
|
1813
1832
|
readonly extendState?: ((_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
|
|
1814
|
-
readonly onMounted?: ((internalInstance: any) => any) | undefined;
|
|
1815
1833
|
readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
1834
|
+
readonly onMounted?: ((internalInstance: any) => any) | undefined;
|
|
1835
|
+
readonly onUnmounted?: (() => any) | undefined;
|
|
1816
1836
|
readonly "onSubmit-error"?: ((e: any) => any) | undefined;
|
|
1817
1837
|
readonly "onForm-error"?: ((e: any) => any) | undefined;
|
|
1818
|
-
} &
|
|
1838
|
+
} & _vue_runtime_core.VNodeProps & _vue_runtime_core.AllowedComponentProps & _vue_runtime_core.ComponentCustomProps;
|
|
1819
1839
|
$attrs: {
|
|
1820
1840
|
[x: string]: unknown;
|
|
1821
1841
|
};
|
|
@@ -1823,14 +1843,14 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
1823
1843
|
[x: string]: unknown;
|
|
1824
1844
|
};
|
|
1825
1845
|
$slots: Readonly<{
|
|
1826
|
-
[name: string]:
|
|
1846
|
+
[name: string]: _vue_runtime_core.Slot<any> | undefined;
|
|
1827
1847
|
}>;
|
|
1828
|
-
$root:
|
|
1829
|
-
$parent:
|
|
1848
|
+
$root: _vue_runtime_core.ComponentPublicInstance | null;
|
|
1849
|
+
$parent: _vue_runtime_core.ComponentPublicInstance | null;
|
|
1830
1850
|
$host: Element | null;
|
|
1831
|
-
$emit: ((event: "
|
|
1851
|
+
$emit: ((event: "submit", values: any, eventData?: ContainerChangeEventData | undefined) => void) & ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
|
|
1832
1852
|
$el: any;
|
|
1833
|
-
$options:
|
|
1853
|
+
$options: _vue_runtime_core.ComponentOptionsBase<Readonly<{
|
|
1834
1854
|
config: _tmagic_form_schema.FormConfig;
|
|
1835
1855
|
values: _tmagic_form_schema.FormValue;
|
|
1836
1856
|
disabledShowSrc?: boolean;
|
|
@@ -1839,12 +1859,13 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
1839
1859
|
labelPosition?: string;
|
|
1840
1860
|
extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1841
1861
|
}> & Readonly<{
|
|
1842
|
-
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
1843
1862
|
onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
1863
|
+
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
1864
|
+
onUnmounted?: (() => any) | undefined;
|
|
1844
1865
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
1845
1866
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
1846
1867
|
}>, {
|
|
1847
|
-
configForm: Readonly<
|
|
1868
|
+
configForm: Readonly<_vue_reactivity.ShallowRef<_vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1848
1869
|
config: _tmagic_form_schema.FormConfig;
|
|
1849
1870
|
initValues: Record<string, any>;
|
|
1850
1871
|
lastValues?: Record<string, any>;
|
|
@@ -1868,21 +1889,21 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
1868
1889
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1869
1890
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1870
1891
|
}>, {
|
|
1871
|
-
values:
|
|
1872
|
-
lastValuesProcessed:
|
|
1892
|
+
values: _vue_reactivity.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
|
|
1893
|
+
lastValuesProcessed: _vue_reactivity.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
|
|
1873
1894
|
formState: _tmagic_form_schema.FormState;
|
|
1874
|
-
initialized:
|
|
1875
|
-
changeRecords:
|
|
1895
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
1896
|
+
changeRecords: _vue_reactivity.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
1876
1897
|
changeHandler: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => void;
|
|
1877
1898
|
resetForm: () => void;
|
|
1878
1899
|
submitForm: (native?: boolean) => Promise<any>;
|
|
1879
|
-
}, {}, {}, {},
|
|
1900
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1880
1901
|
change: (...args: any[]) => void;
|
|
1881
1902
|
error: (...args: any[]) => void;
|
|
1882
1903
|
"update:stepActive": (...args: any[]) => void;
|
|
1883
1904
|
"field-change": (...args: any[]) => void;
|
|
1884
1905
|
"field-input": (...args: any[]) => void;
|
|
1885
|
-
},
|
|
1906
|
+
}, _vue_runtime_core.PublicProps, {
|
|
1886
1907
|
disabled: boolean;
|
|
1887
1908
|
labelWidth: string;
|
|
1888
1909
|
inline: boolean;
|
|
@@ -1895,7 +1916,7 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
1895
1916
|
keyProp: string;
|
|
1896
1917
|
parentValues: Record<string, any>;
|
|
1897
1918
|
stepActive: string | number;
|
|
1898
|
-
}, false, {}, {},
|
|
1919
|
+
}, false, {}, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, {}, any, _vue_runtime_core.ComponentProvideOptions, {
|
|
1899
1920
|
P: {};
|
|
1900
1921
|
B: {};
|
|
1901
1922
|
D: {};
|
|
@@ -1926,11 +1947,11 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
1926
1947
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1927
1948
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1928
1949
|
}>, {
|
|
1929
|
-
values:
|
|
1930
|
-
lastValuesProcessed:
|
|
1950
|
+
values: _vue_reactivity.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
|
|
1951
|
+
lastValuesProcessed: _vue_reactivity.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
|
|
1931
1952
|
formState: _tmagic_form_schema.FormState;
|
|
1932
|
-
initialized:
|
|
1933
|
-
changeRecords:
|
|
1953
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
1954
|
+
changeRecords: _vue_reactivity.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
1934
1955
|
changeHandler: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => void;
|
|
1935
1956
|
resetForm: () => void;
|
|
1936
1957
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -1949,12 +1970,13 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
1949
1970
|
stepActive: string | number;
|
|
1950
1971
|
}> | null>>;
|
|
1951
1972
|
submit: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => Promise<void>;
|
|
1952
|
-
}, {}, {}, {},
|
|
1953
|
-
mounted: (internalInstance: any) => any;
|
|
1973
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1954
1974
|
submit: (values: any, eventData?: ContainerChangeEventData | undefined) => any;
|
|
1975
|
+
mounted: (internalInstance: any) => any;
|
|
1976
|
+
unmounted: () => any;
|
|
1955
1977
|
"submit-error": (e: any) => any;
|
|
1956
1978
|
"form-error": (e: any) => any;
|
|
1957
|
-
}, string, {}, {}, string, {},
|
|
1979
|
+
}, string, {}, {}, string, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, _vue_runtime_core.ComponentProvideOptions> & {
|
|
1958
1980
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1959
1981
|
created?: (() => void) | (() => void)[];
|
|
1960
1982
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -1967,13 +1989,13 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
1967
1989
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
1968
1990
|
destroyed?: (() => void) | (() => void)[];
|
|
1969
1991
|
unmounted?: (() => void) | (() => void)[];
|
|
1970
|
-
renderTracked?: ((e:
|
|
1971
|
-
renderTriggered?: ((e:
|
|
1972
|
-
errorCaptured?: ((err: unknown, instance:
|
|
1992
|
+
renderTracked?: ((e: _vue_reactivity.DebuggerEvent) => void) | ((e: _vue_reactivity.DebuggerEvent) => void)[];
|
|
1993
|
+
renderTriggered?: ((e: _vue_reactivity.DebuggerEvent) => void) | ((e: _vue_reactivity.DebuggerEvent) => void)[];
|
|
1994
|
+
errorCaptured?: ((err: unknown, instance: _vue_runtime_core.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: _vue_runtime_core.ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1973
1995
|
};
|
|
1974
1996
|
$forceUpdate: () => void;
|
|
1975
|
-
$nextTick: typeof
|
|
1976
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, _vue_reactivity.OnCleanup]) => any : (...args: [any, any, _vue_reactivity.OnCleanup]) => any, options?:
|
|
1997
|
+
$nextTick: typeof _vue_runtime_core.nextTick;
|
|
1998
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, _vue_reactivity.OnCleanup]) => any : (...args: [any, any, _vue_reactivity.OnCleanup]) => any, options?: _vue_runtime_core.WatchOptions): _vue_reactivity.WatchStopHandle;
|
|
1977
1999
|
} & Readonly<{}> & Omit<Readonly<{
|
|
1978
2000
|
config: _tmagic_form_schema.FormConfig;
|
|
1979
2001
|
values: _tmagic_form_schema.FormValue;
|
|
@@ -1983,12 +2005,13 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
1983
2005
|
labelPosition?: string;
|
|
1984
2006
|
extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1985
2007
|
}> & Readonly<{
|
|
1986
|
-
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
1987
2008
|
onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
2009
|
+
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
2010
|
+
onUnmounted?: (() => any) | undefined;
|
|
1988
2011
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
1989
2012
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
1990
|
-
}>, "submit" | "configForm"> &
|
|
1991
|
-
configForm: Readonly<
|
|
2013
|
+
}>, "submit" | "configForm"> & _vue_reactivity.ShallowUnwrapRef<{
|
|
2014
|
+
configForm: Readonly<_vue_reactivity.ShallowRef<_vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1992
2015
|
config: _tmagic_form_schema.FormConfig;
|
|
1993
2016
|
initValues: Record<string, any>;
|
|
1994
2017
|
lastValues?: Record<string, any>;
|
|
@@ -2012,21 +2035,21 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
2012
2035
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
2013
2036
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
2014
2037
|
}>, {
|
|
2015
|
-
values:
|
|
2016
|
-
lastValuesProcessed:
|
|
2038
|
+
values: _vue_reactivity.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
|
|
2039
|
+
lastValuesProcessed: _vue_reactivity.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
|
|
2017
2040
|
formState: _tmagic_form_schema.FormState;
|
|
2018
|
-
initialized:
|
|
2019
|
-
changeRecords:
|
|
2041
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
2042
|
+
changeRecords: _vue_reactivity.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
2020
2043
|
changeHandler: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => void;
|
|
2021
2044
|
resetForm: () => void;
|
|
2022
2045
|
submitForm: (native?: boolean) => Promise<any>;
|
|
2023
|
-
}, {}, {}, {},
|
|
2046
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2024
2047
|
change: (...args: any[]) => void;
|
|
2025
2048
|
error: (...args: any[]) => void;
|
|
2026
2049
|
"update:stepActive": (...args: any[]) => void;
|
|
2027
2050
|
"field-change": (...args: any[]) => void;
|
|
2028
2051
|
"field-input": (...args: any[]) => void;
|
|
2029
|
-
},
|
|
2052
|
+
}, _vue_runtime_core.PublicProps, {
|
|
2030
2053
|
disabled: boolean;
|
|
2031
2054
|
labelWidth: string;
|
|
2032
2055
|
inline: boolean;
|
|
@@ -2039,7 +2062,7 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
2039
2062
|
keyProp: string;
|
|
2040
2063
|
parentValues: Record<string, any>;
|
|
2041
2064
|
stepActive: string | number;
|
|
2042
|
-
}, false, {}, {},
|
|
2065
|
+
}, false, {}, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, {}, any, _vue_runtime_core.ComponentProvideOptions, {
|
|
2043
2066
|
P: {};
|
|
2044
2067
|
B: {};
|
|
2045
2068
|
D: {};
|
|
@@ -2070,11 +2093,11 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
2070
2093
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
2071
2094
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
2072
2095
|
}>, {
|
|
2073
|
-
values:
|
|
2074
|
-
lastValuesProcessed:
|
|
2096
|
+
values: _vue_reactivity.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
|
|
2097
|
+
lastValuesProcessed: _vue_reactivity.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
|
|
2075
2098
|
formState: _tmagic_form_schema.FormState;
|
|
2076
|
-
initialized:
|
|
2077
|
-
changeRecords:
|
|
2099
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
2100
|
+
changeRecords: _vue_reactivity.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
2078
2101
|
changeHandler: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => void;
|
|
2079
2102
|
resetForm: () => void;
|
|
2080
2103
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -2093,17 +2116,18 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
2093
2116
|
stepActive: string | number;
|
|
2094
2117
|
}> | null>>;
|
|
2095
2118
|
submit: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => Promise<void>;
|
|
2096
|
-
}> & {} &
|
|
2119
|
+
}> & {} & _vue_runtime_core.ComponentCustomProperties & {} & {
|
|
2097
2120
|
$slots: {
|
|
2098
2121
|
'props-form-panel-header'(_props: {}): any;
|
|
2099
2122
|
};
|
|
2100
2123
|
}) => any;
|
|
2124
|
+
"props-panel-unmounted": () => any;
|
|
2101
2125
|
"props-form-error": (e: any) => any;
|
|
2102
2126
|
"props-submit-error": (e: any) => any;
|
|
2103
|
-
}, string,
|
|
2127
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<EditorProps> & Readonly<{
|
|
2104
2128
|
"onUpdate:modelValue"?: ((value: MApp | null) => any) | undefined;
|
|
2105
2129
|
"onProps-panel-mounted"?: ((instance: {
|
|
2106
|
-
$:
|
|
2130
|
+
$: _vue_runtime_core.ComponentInternalInstance;
|
|
2107
2131
|
$data: {};
|
|
2108
2132
|
$props: {
|
|
2109
2133
|
readonly config: _tmagic_form_schema.FormConfig;
|
|
@@ -2113,11 +2137,12 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
2113
2137
|
readonly codeValueKey?: string | undefined;
|
|
2114
2138
|
readonly labelPosition?: string | undefined;
|
|
2115
2139
|
readonly extendState?: ((_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
|
|
2116
|
-
readonly onMounted?: ((internalInstance: any) => any) | undefined;
|
|
2117
2140
|
readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
2141
|
+
readonly onMounted?: ((internalInstance: any) => any) | undefined;
|
|
2142
|
+
readonly onUnmounted?: (() => any) | undefined;
|
|
2118
2143
|
readonly "onSubmit-error"?: ((e: any) => any) | undefined;
|
|
2119
2144
|
readonly "onForm-error"?: ((e: any) => any) | undefined;
|
|
2120
|
-
} &
|
|
2145
|
+
} & _vue_runtime_core.VNodeProps & _vue_runtime_core.AllowedComponentProps & _vue_runtime_core.ComponentCustomProps;
|
|
2121
2146
|
$attrs: {
|
|
2122
2147
|
[x: string]: unknown;
|
|
2123
2148
|
};
|
|
@@ -2125,14 +2150,14 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
2125
2150
|
[x: string]: unknown;
|
|
2126
2151
|
};
|
|
2127
2152
|
$slots: Readonly<{
|
|
2128
|
-
[name: string]:
|
|
2153
|
+
[name: string]: _vue_runtime_core.Slot<any> | undefined;
|
|
2129
2154
|
}>;
|
|
2130
|
-
$root:
|
|
2131
|
-
$parent:
|
|
2155
|
+
$root: _vue_runtime_core.ComponentPublicInstance | null;
|
|
2156
|
+
$parent: _vue_runtime_core.ComponentPublicInstance | null;
|
|
2132
2157
|
$host: Element | null;
|
|
2133
|
-
$emit: ((event: "
|
|
2158
|
+
$emit: ((event: "submit", values: any, eventData?: ContainerChangeEventData | undefined) => void) & ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
|
|
2134
2159
|
$el: any;
|
|
2135
|
-
$options:
|
|
2160
|
+
$options: _vue_runtime_core.ComponentOptionsBase<Readonly<{
|
|
2136
2161
|
config: _tmagic_form_schema.FormConfig;
|
|
2137
2162
|
values: _tmagic_form_schema.FormValue;
|
|
2138
2163
|
disabledShowSrc?: boolean;
|
|
@@ -2141,12 +2166,13 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
2141
2166
|
labelPosition?: string;
|
|
2142
2167
|
extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2143
2168
|
}> & Readonly<{
|
|
2144
|
-
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
2145
2169
|
onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
2170
|
+
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
2171
|
+
onUnmounted?: (() => any) | undefined;
|
|
2146
2172
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
2147
2173
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
2148
2174
|
}>, {
|
|
2149
|
-
configForm: Readonly<
|
|
2175
|
+
configForm: Readonly<_vue_reactivity.ShallowRef<_vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
2150
2176
|
config: _tmagic_form_schema.FormConfig;
|
|
2151
2177
|
initValues: Record<string, any>;
|
|
2152
2178
|
lastValues?: Record<string, any>;
|
|
@@ -2170,21 +2196,21 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
2170
2196
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
2171
2197
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
2172
2198
|
}>, {
|
|
2173
|
-
values:
|
|
2174
|
-
lastValuesProcessed:
|
|
2199
|
+
values: _vue_reactivity.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
|
|
2200
|
+
lastValuesProcessed: _vue_reactivity.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
|
|
2175
2201
|
formState: _tmagic_form_schema.FormState;
|
|
2176
|
-
initialized:
|
|
2177
|
-
changeRecords:
|
|
2202
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
2203
|
+
changeRecords: _vue_reactivity.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
2178
2204
|
changeHandler: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => void;
|
|
2179
2205
|
resetForm: () => void;
|
|
2180
2206
|
submitForm: (native?: boolean) => Promise<any>;
|
|
2181
|
-
}, {}, {}, {},
|
|
2207
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2182
2208
|
change: (...args: any[]) => void;
|
|
2183
2209
|
error: (...args: any[]) => void;
|
|
2184
2210
|
"update:stepActive": (...args: any[]) => void;
|
|
2185
2211
|
"field-change": (...args: any[]) => void;
|
|
2186
2212
|
"field-input": (...args: any[]) => void;
|
|
2187
|
-
},
|
|
2213
|
+
}, _vue_runtime_core.PublicProps, {
|
|
2188
2214
|
disabled: boolean;
|
|
2189
2215
|
labelWidth: string;
|
|
2190
2216
|
inline: boolean;
|
|
@@ -2197,7 +2223,7 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
2197
2223
|
keyProp: string;
|
|
2198
2224
|
parentValues: Record<string, any>;
|
|
2199
2225
|
stepActive: string | number;
|
|
2200
|
-
}, false, {}, {},
|
|
2226
|
+
}, false, {}, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, {}, any, _vue_runtime_core.ComponentProvideOptions, {
|
|
2201
2227
|
P: {};
|
|
2202
2228
|
B: {};
|
|
2203
2229
|
D: {};
|
|
@@ -2228,11 +2254,11 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
2228
2254
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
2229
2255
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
2230
2256
|
}>, {
|
|
2231
|
-
values:
|
|
2232
|
-
lastValuesProcessed:
|
|
2257
|
+
values: _vue_reactivity.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
|
|
2258
|
+
lastValuesProcessed: _vue_reactivity.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
|
|
2233
2259
|
formState: _tmagic_form_schema.FormState;
|
|
2234
|
-
initialized:
|
|
2235
|
-
changeRecords:
|
|
2260
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
2261
|
+
changeRecords: _vue_reactivity.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
2236
2262
|
changeHandler: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => void;
|
|
2237
2263
|
resetForm: () => void;
|
|
2238
2264
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -2251,12 +2277,13 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
2251
2277
|
stepActive: string | number;
|
|
2252
2278
|
}> | null>>;
|
|
2253
2279
|
submit: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => Promise<void>;
|
|
2254
|
-
}, {}, {}, {},
|
|
2255
|
-
mounted: (internalInstance: any) => any;
|
|
2280
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2256
2281
|
submit: (values: any, eventData?: ContainerChangeEventData | undefined) => any;
|
|
2282
|
+
mounted: (internalInstance: any) => any;
|
|
2283
|
+
unmounted: () => any;
|
|
2257
2284
|
"submit-error": (e: any) => any;
|
|
2258
2285
|
"form-error": (e: any) => any;
|
|
2259
|
-
}, string, {}, {}, string, {},
|
|
2286
|
+
}, string, {}, {}, string, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, _vue_runtime_core.ComponentProvideOptions> & {
|
|
2260
2287
|
beforeCreate?: (() => void) | (() => void)[];
|
|
2261
2288
|
created?: (() => void) | (() => void)[];
|
|
2262
2289
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -2269,13 +2296,13 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
2269
2296
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
2270
2297
|
destroyed?: (() => void) | (() => void)[];
|
|
2271
2298
|
unmounted?: (() => void) | (() => void)[];
|
|
2272
|
-
renderTracked?: ((e:
|
|
2273
|
-
renderTriggered?: ((e:
|
|
2274
|
-
errorCaptured?: ((err: unknown, instance:
|
|
2299
|
+
renderTracked?: ((e: _vue_reactivity.DebuggerEvent) => void) | ((e: _vue_reactivity.DebuggerEvent) => void)[];
|
|
2300
|
+
renderTriggered?: ((e: _vue_reactivity.DebuggerEvent) => void) | ((e: _vue_reactivity.DebuggerEvent) => void)[];
|
|
2301
|
+
errorCaptured?: ((err: unknown, instance: _vue_runtime_core.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: _vue_runtime_core.ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
2275
2302
|
};
|
|
2276
2303
|
$forceUpdate: () => void;
|
|
2277
|
-
$nextTick: typeof
|
|
2278
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, _vue_reactivity.OnCleanup]) => any : (...args: [any, any, _vue_reactivity.OnCleanup]) => any, options?:
|
|
2304
|
+
$nextTick: typeof _vue_runtime_core.nextTick;
|
|
2305
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, _vue_reactivity.OnCleanup]) => any : (...args: [any, any, _vue_reactivity.OnCleanup]) => any, options?: _vue_runtime_core.WatchOptions): _vue_reactivity.WatchStopHandle;
|
|
2279
2306
|
} & Readonly<{}> & Omit<Readonly<{
|
|
2280
2307
|
config: _tmagic_form_schema.FormConfig;
|
|
2281
2308
|
values: _tmagic_form_schema.FormValue;
|
|
@@ -2285,12 +2312,13 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
2285
2312
|
labelPosition?: string;
|
|
2286
2313
|
extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2287
2314
|
}> & Readonly<{
|
|
2288
|
-
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
2289
2315
|
onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
2316
|
+
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
2317
|
+
onUnmounted?: (() => any) | undefined;
|
|
2290
2318
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
2291
2319
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
2292
|
-
}>, "submit" | "configForm"> &
|
|
2293
|
-
configForm: Readonly<
|
|
2320
|
+
}>, "submit" | "configForm"> & _vue_reactivity.ShallowUnwrapRef<{
|
|
2321
|
+
configForm: Readonly<_vue_reactivity.ShallowRef<_vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
2294
2322
|
config: _tmagic_form_schema.FormConfig;
|
|
2295
2323
|
initValues: Record<string, any>;
|
|
2296
2324
|
lastValues?: Record<string, any>;
|
|
@@ -2314,21 +2342,21 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
2314
2342
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
2315
2343
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
2316
2344
|
}>, {
|
|
2317
|
-
values:
|
|
2318
|
-
lastValuesProcessed:
|
|
2345
|
+
values: _vue_reactivity.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
|
|
2346
|
+
lastValuesProcessed: _vue_reactivity.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
|
|
2319
2347
|
formState: _tmagic_form_schema.FormState;
|
|
2320
|
-
initialized:
|
|
2321
|
-
changeRecords:
|
|
2348
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
2349
|
+
changeRecords: _vue_reactivity.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
2322
2350
|
changeHandler: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => void;
|
|
2323
2351
|
resetForm: () => void;
|
|
2324
2352
|
submitForm: (native?: boolean) => Promise<any>;
|
|
2325
|
-
}, {}, {}, {},
|
|
2353
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2326
2354
|
change: (...args: any[]) => void;
|
|
2327
2355
|
error: (...args: any[]) => void;
|
|
2328
2356
|
"update:stepActive": (...args: any[]) => void;
|
|
2329
2357
|
"field-change": (...args: any[]) => void;
|
|
2330
2358
|
"field-input": (...args: any[]) => void;
|
|
2331
|
-
},
|
|
2359
|
+
}, _vue_runtime_core.PublicProps, {
|
|
2332
2360
|
disabled: boolean;
|
|
2333
2361
|
labelWidth: string;
|
|
2334
2362
|
inline: boolean;
|
|
@@ -2341,7 +2369,7 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
2341
2369
|
keyProp: string;
|
|
2342
2370
|
parentValues: Record<string, any>;
|
|
2343
2371
|
stepActive: string | number;
|
|
2344
|
-
}, false, {}, {},
|
|
2372
|
+
}, false, {}, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, {}, any, _vue_runtime_core.ComponentProvideOptions, {
|
|
2345
2373
|
P: {};
|
|
2346
2374
|
B: {};
|
|
2347
2375
|
D: {};
|
|
@@ -2372,11 +2400,11 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
2372
2400
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
2373
2401
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
2374
2402
|
}>, {
|
|
2375
|
-
values:
|
|
2376
|
-
lastValuesProcessed:
|
|
2403
|
+
values: _vue_reactivity.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
|
|
2404
|
+
lastValuesProcessed: _vue_reactivity.Ref<_tmagic_form_schema.FormValue, _tmagic_form_schema.FormValue>;
|
|
2377
2405
|
formState: _tmagic_form_schema.FormState;
|
|
2378
|
-
initialized:
|
|
2379
|
-
changeRecords:
|
|
2406
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
2407
|
+
changeRecords: _vue_reactivity.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
2380
2408
|
changeHandler: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => void;
|
|
2381
2409
|
resetForm: () => void;
|
|
2382
2410
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -2395,11 +2423,12 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
2395
2423
|
stepActive: string | number;
|
|
2396
2424
|
}> | null>>;
|
|
2397
2425
|
submit: (v: _tmagic_form_schema.FormValue, eventData: ContainerChangeEventData) => Promise<void>;
|
|
2398
|
-
}> & {} &
|
|
2426
|
+
}> & {} & _vue_runtime_core.ComponentCustomProperties & {} & {
|
|
2399
2427
|
$slots: {
|
|
2400
2428
|
'props-form-panel-header'(_props: {}): any;
|
|
2401
2429
|
};
|
|
2402
2430
|
}) => any) | undefined;
|
|
2431
|
+
"onProps-panel-unmounted"?: (() => any) | undefined;
|
|
2403
2432
|
"onProps-form-error"?: ((e: any) => any) | undefined;
|
|
2404
2433
|
"onProps-submit-error"?: ((e: any) => any) | undefined;
|
|
2405
2434
|
}>, {
|
|
@@ -2408,6 +2437,8 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
2408
2437
|
[key: string]: any;
|
|
2409
2438
|
};
|
|
2410
2439
|
renderType: StageCore.RenderType;
|
|
2440
|
+
disabledDataSource: boolean;
|
|
2441
|
+
disabledCodeBlock: boolean;
|
|
2411
2442
|
disabledMultiSelect: boolean;
|
|
2412
2443
|
disabledPageFragment: boolean;
|
|
2413
2444
|
disabledShowSrc: boolean;
|
|
@@ -2430,7 +2461,7 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
2430
2461
|
containerHighlightDuration: number;
|
|
2431
2462
|
containerHighlightType: StageCore.ContainerHighlightType;
|
|
2432
2463
|
canSelect: (el: HTMLElement) => boolean | Promise<boolean>;
|
|
2433
|
-
}, {}, {}, {}, string,
|
|
2464
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2434
2465
|
declare const _default$x: __VLS_WithSlots$c<typeof __VLS_component$c, __VLS_Slots$c>;
|
|
2435
2466
|
|
|
2436
2467
|
type __VLS_WithSlots$c<T, S> = T & {
|
|
@@ -2444,39 +2475,37 @@ type __VLS_Props$t = {
|
|
|
2444
2475
|
modifiedValues?: any;
|
|
2445
2476
|
type?: 'diff';
|
|
2446
2477
|
language?: string;
|
|
2447
|
-
options?:
|
|
2448
|
-
[key: string]: any;
|
|
2449
|
-
};
|
|
2478
|
+
options?: monaco.editor.IStandaloneEditorConstructionOptions;
|
|
2450
2479
|
height?: string;
|
|
2451
2480
|
autoSave?: boolean;
|
|
2452
2481
|
parse?: boolean;
|
|
2482
|
+
disabledFullScreen?: boolean;
|
|
2453
2483
|
};
|
|
2454
|
-
declare const _default$w:
|
|
2455
|
-
values:
|
|
2484
|
+
declare const _default$w: _vue_runtime_core.DefineComponent<__VLS_Props$t, {
|
|
2485
|
+
values: _vue_reactivity.Ref<string, string>;
|
|
2456
2486
|
getEditor(): monaco.editor.IStandaloneCodeEditor | monaco.editor.IStandaloneDiffEditor | null;
|
|
2457
2487
|
getVsEditor(): monaco.editor.IStandaloneCodeEditor | null;
|
|
2458
2488
|
getVsDiffEditor(): monaco.editor.IStandaloneDiffEditor | null;
|
|
2459
2489
|
setEditorValue: (v: string | any, m: string | any) => void | undefined;
|
|
2460
2490
|
getEditorValue: () => string;
|
|
2461
2491
|
focus(): void;
|
|
2462
|
-
}, {}, {}, {},
|
|
2492
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2463
2493
|
save: (...args: any[]) => void;
|
|
2464
2494
|
initd: (...args: any[]) => void;
|
|
2465
|
-
}, string,
|
|
2495
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$t> & Readonly<{
|
|
2466
2496
|
onSave?: ((...args: any[]) => any) | undefined;
|
|
2467
2497
|
onInitd?: ((...args: any[]) => any) | undefined;
|
|
2468
2498
|
}>, {
|
|
2469
|
-
options:
|
|
2470
|
-
[key: string]: any;
|
|
2471
|
-
};
|
|
2499
|
+
options: monaco.editor.IStandaloneEditorConstructionOptions;
|
|
2472
2500
|
language: string;
|
|
2473
2501
|
parse: boolean;
|
|
2474
2502
|
initValues: any;
|
|
2475
2503
|
autoSave: boolean;
|
|
2476
|
-
|
|
2504
|
+
disabledFullScreen: boolean;
|
|
2505
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2477
2506
|
|
|
2478
2507
|
type __VLS_Slots$b = ComponentListPanelSlots;
|
|
2479
|
-
declare const __VLS_component$b:
|
|
2508
|
+
declare const __VLS_component$b: _vue_runtime_core.DefineComponent<{}, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {}, string, _vue_runtime_core.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, true, {}, any>;
|
|
2480
2509
|
declare const _default$v: __VLS_WithSlots$b<typeof __VLS_component$b, __VLS_Slots$b>;
|
|
2481
2510
|
|
|
2482
2511
|
type __VLS_WithSlots$b<T, S> = T & {
|
|
@@ -2492,7 +2521,7 @@ type __VLS_Props$s = {
|
|
|
2492
2521
|
nextLevelIndentIncrement?: number;
|
|
2493
2522
|
customContentMenu: CustomContentMenuFunction;
|
|
2494
2523
|
};
|
|
2495
|
-
declare const __VLS_component$a:
|
|
2524
|
+
declare const __VLS_component$a: _vue_runtime_core.DefineComponent<__VLS_Props$s, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$s> & Readonly<{}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2496
2525
|
declare const _default$u: __VLS_WithSlots$a<typeof __VLS_component$a, __VLS_Slots$a>;
|
|
2497
2526
|
|
|
2498
2527
|
type __VLS_WithSlots$a<T, S> = T & {
|
|
@@ -2502,20 +2531,20 @@ type __VLS_WithSlots$a<T, S> = T & {
|
|
|
2502
2531
|
};
|
|
2503
2532
|
|
|
2504
2533
|
type __VLS_Props$r = FieldProps<CodeSelectConfig>;
|
|
2505
|
-
declare const _default$t:
|
|
2534
|
+
declare const _default$t: _vue_runtime_core.DefineComponent<__VLS_Props$r, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2506
2535
|
change: (v: any, eventData: ContainerChangeEventData$1) => any;
|
|
2507
|
-
}, string,
|
|
2536
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$r> & Readonly<{
|
|
2508
2537
|
onChange?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
|
|
2509
|
-
}>, {}, {}, {}, {}, string,
|
|
2538
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2510
2539
|
|
|
2511
2540
|
type __VLS_Props$q = FieldProps<CodeSelectColConfig>;
|
|
2512
|
-
declare const _default$s:
|
|
2541
|
+
declare const _default$s: _vue_runtime_core.DefineComponent<__VLS_Props$q, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2513
2542
|
change: (v: any, eventData: ContainerChangeEventData$1) => any;
|
|
2514
|
-
}, string,
|
|
2543
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$q> & Readonly<{
|
|
2515
2544
|
onChange?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
|
|
2516
2545
|
}>, {
|
|
2517
2546
|
disabled: boolean;
|
|
2518
|
-
}, {}, {}, {}, string,
|
|
2547
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2519
2548
|
|
|
2520
2549
|
type __VLS_Props$p = FieldProps<DataSourceFieldsConfig>;
|
|
2521
2550
|
type __VLS_PublicProps$4 = __VLS_Props$p & {
|
|
@@ -2523,97 +2552,97 @@ type __VLS_PublicProps$4 = __VLS_Props$p & {
|
|
|
2523
2552
|
'visible'?: boolean;
|
|
2524
2553
|
'visible1'?: boolean;
|
|
2525
2554
|
};
|
|
2526
|
-
declare const _default$r:
|
|
2555
|
+
declare const _default$r: _vue_runtime_core.DefineComponent<__VLS_PublicProps$4, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2527
2556
|
change: (v: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
2528
2557
|
"update:width": (value: number) => any;
|
|
2529
2558
|
"update:visible": (value: boolean) => any;
|
|
2530
2559
|
"update:visible1": (value: boolean) => any;
|
|
2531
|
-
}, string,
|
|
2560
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_PublicProps$4> & Readonly<{
|
|
2532
2561
|
onChange?: ((v: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
2533
2562
|
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
2534
2563
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
2535
2564
|
"onUpdate:visible1"?: ((value: boolean) => any) | undefined;
|
|
2536
2565
|
}>, {
|
|
2537
2566
|
disabled: boolean;
|
|
2538
|
-
}, {}, {}, {}, string,
|
|
2567
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2539
2568
|
|
|
2540
2569
|
type __VLS_Props$o = FieldProps<DataSourceMocksConfig>;
|
|
2541
2570
|
type __VLS_PublicProps$3 = __VLS_Props$o & {
|
|
2542
2571
|
'width'?: number;
|
|
2543
2572
|
'visible'?: boolean;
|
|
2544
2573
|
};
|
|
2545
|
-
declare const _default$q:
|
|
2574
|
+
declare const _default$q: _vue_runtime_core.DefineComponent<__VLS_PublicProps$3, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2546
2575
|
change: (...args: any[]) => void;
|
|
2547
2576
|
"update:width": (value: number) => void;
|
|
2548
2577
|
"update:visible": (value: boolean) => void;
|
|
2549
|
-
}, string,
|
|
2578
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_PublicProps$3> & Readonly<{
|
|
2550
2579
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2551
2580
|
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
2552
2581
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
2553
2582
|
}>, {
|
|
2554
2583
|
disabled: boolean;
|
|
2555
|
-
}, {}, {}, {}, string,
|
|
2584
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2556
2585
|
|
|
2557
2586
|
type __VLS_Props$n = FieldProps<DataSourceMethodsConfig>;
|
|
2558
|
-
declare const _default$p:
|
|
2587
|
+
declare const _default$p: _vue_runtime_core.DefineComponent<__VLS_Props$n, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2559
2588
|
change: (...args: any[]) => void;
|
|
2560
|
-
}, string,
|
|
2589
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$n> & Readonly<{
|
|
2561
2590
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2562
2591
|
}>, {
|
|
2563
2592
|
disabled: boolean;
|
|
2564
|
-
}, {}, {}, {}, string,
|
|
2593
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2565
2594
|
|
|
2566
2595
|
type __VLS_Props$m = FieldProps<DataSourceInputConfig>;
|
|
2567
|
-
declare const _default$o:
|
|
2596
|
+
declare const _default$o: _vue_runtime_core.DefineComponent<__VLS_Props$m, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2568
2597
|
change: (value: string) => any;
|
|
2569
|
-
}, string,
|
|
2598
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$m> & Readonly<{
|
|
2570
2599
|
onChange?: ((value: string) => any) | undefined;
|
|
2571
2600
|
}>, {
|
|
2572
2601
|
disabled: boolean;
|
|
2573
|
-
}, {}, {}, {}, string,
|
|
2602
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2574
2603
|
|
|
2575
2604
|
type __VLS_Props$l = FieldProps<DataSourceSelect>;
|
|
2576
|
-
declare const _default$n:
|
|
2605
|
+
declare const _default$n: _vue_runtime_core.DefineComponent<__VLS_Props$l, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2577
2606
|
change: (...args: any[]) => void;
|
|
2578
|
-
}, string,
|
|
2607
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$l> & Readonly<{
|
|
2579
2608
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2580
2609
|
}>, {
|
|
2581
2610
|
disabled: boolean;
|
|
2582
|
-
}, {}, {}, {}, string,
|
|
2611
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2583
2612
|
|
|
2584
2613
|
type __VLS_Props$k = FieldProps<DataSourceMethodSelectConfig>;
|
|
2585
|
-
declare const _default$m:
|
|
2614
|
+
declare const _default$m: _vue_runtime_core.DefineComponent<__VLS_Props$k, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2586
2615
|
change: (...args: any[]) => void;
|
|
2587
|
-
}, string,
|
|
2616
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$k> & Readonly<{
|
|
2588
2617
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2589
2618
|
}>, {
|
|
2590
2619
|
disabled: boolean;
|
|
2591
|
-
}, {}, {}, {}, string,
|
|
2620
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2592
2621
|
|
|
2593
2622
|
type __VLS_Props$j = FieldProps<DataSourceFieldSelectConfig>;
|
|
2594
|
-
declare const _default$l:
|
|
2623
|
+
declare const _default$l: _vue_runtime_core.DefineComponent<__VLS_Props$j, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2595
2624
|
change: (...args: any[]) => void;
|
|
2596
|
-
}, string,
|
|
2625
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$j> & Readonly<{
|
|
2597
2626
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2598
2627
|
}>, {
|
|
2599
2628
|
disabled: boolean;
|
|
2600
|
-
}, {}, {}, {}, string,
|
|
2629
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2601
2630
|
|
|
2602
2631
|
type __VLS_Props$i = FieldProps<EventSelectConfig>;
|
|
2603
|
-
declare const _default$k:
|
|
2632
|
+
declare const _default$k: _vue_runtime_core.DefineComponent<__VLS_Props$i, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2604
2633
|
change: (v: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
2605
|
-
}, string,
|
|
2634
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$i> & Readonly<{
|
|
2606
2635
|
onChange?: ((v: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
2607
|
-
}>, {}, {}, {}, {}, string,
|
|
2636
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2608
2637
|
|
|
2609
2638
|
type __VLS_Props$h = FieldProps<KeyValueConfig>;
|
|
2610
|
-
declare const _default$j:
|
|
2639
|
+
declare const _default$j: _vue_runtime_core.DefineComponent<__VLS_Props$h, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2611
2640
|
change: (value: Record<string, any>) => any;
|
|
2612
|
-
}, string,
|
|
2641
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$h> & Readonly<{
|
|
2613
2642
|
onChange?: ((value: Record<string, any>) => any) | undefined;
|
|
2614
2643
|
}>, {
|
|
2615
2644
|
disabled: boolean;
|
|
2616
|
-
}, {}, {}, {}, string,
|
|
2645
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2617
2646
|
|
|
2618
2647
|
type __VLS_Slots$9 = CodeBlockListSlots;
|
|
2619
2648
|
type __VLS_Props$g = {
|
|
@@ -2621,8 +2650,8 @@ type __VLS_Props$g = {
|
|
|
2621
2650
|
nextLevelIndentIncrement?: number;
|
|
2622
2651
|
customError?: (_id: Id, _errorType: CodeDeleteErrorType) => any;
|
|
2623
2652
|
};
|
|
2624
|
-
declare const __VLS_component$9:
|
|
2625
|
-
nodeStatusMap:
|
|
2653
|
+
declare const __VLS_component$9: _vue_runtime_core.DefineComponent<__VLS_Props$g, {
|
|
2654
|
+
nodeStatusMap: _vue_reactivity.Ref<Map<Id, {
|
|
2626
2655
|
visible: boolean;
|
|
2627
2656
|
expand: boolean;
|
|
2628
2657
|
selected: boolean;
|
|
@@ -2635,15 +2664,15 @@ declare const __VLS_component$9: vue.DefineComponent<__VLS_Props$g, {
|
|
|
2635
2664
|
}> & Omit<Map<Id, LayerNodeStatus>, keyof Map<any, any>>)>;
|
|
2636
2665
|
filter: (text: string | string[]) => void;
|
|
2637
2666
|
deleteCode: (id: string) => Promise<void>;
|
|
2638
|
-
}, {}, {}, {},
|
|
2667
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2639
2668
|
"node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
|
|
2640
2669
|
remove: (id: string) => any;
|
|
2641
2670
|
edit: (id: string) => any;
|
|
2642
|
-
}, string,
|
|
2671
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$g> & Readonly<{
|
|
2643
2672
|
"onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
2644
2673
|
onRemove?: ((id: string) => any) | undefined;
|
|
2645
2674
|
onEdit?: ((id: string) => any) | undefined;
|
|
2646
|
-
}>, {}, {}, {}, {}, string,
|
|
2675
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2647
2676
|
declare const _default$i: __VLS_WithSlots$9<typeof __VLS_component$9, __VLS_Slots$9>;
|
|
2648
2677
|
|
|
2649
2678
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -2659,7 +2688,7 @@ type __VLS_Props$f = {
|
|
|
2659
2688
|
customError?: (_id: Id, _errorType: CodeDeleteErrorType) => any;
|
|
2660
2689
|
customContentMenu: CustomContentMenuFunction;
|
|
2661
2690
|
};
|
|
2662
|
-
declare const __VLS_component$8:
|
|
2691
|
+
declare const __VLS_component$8: _vue_runtime_core.DefineComponent<__VLS_Props$f, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$f> & Readonly<{}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2663
2692
|
declare const _default$h: __VLS_WithSlots$8<typeof __VLS_component$8, __VLS_Slots$8>;
|
|
2664
2693
|
|
|
2665
2694
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -2677,34 +2706,34 @@ type __VLS_PublicProps$2 = __VLS_Props$e & {
|
|
|
2677
2706
|
'visible'?: boolean;
|
|
2678
2707
|
'width'?: number;
|
|
2679
2708
|
};
|
|
2680
|
-
declare const _default$g:
|
|
2709
|
+
declare const _default$g: _vue_runtime_core.DefineComponent<__VLS_PublicProps$2, {
|
|
2681
2710
|
show(): void;
|
|
2682
2711
|
hide(): void;
|
|
2683
|
-
}, {}, {}, {},
|
|
2712
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2684
2713
|
close: () => any;
|
|
2685
|
-
open: (id: string) => any;
|
|
2686
2714
|
submit: (v: any, eventData: ContainerChangeEventData$1) => any;
|
|
2715
|
+
open: (id: string) => any;
|
|
2687
2716
|
"update:width": (value: number) => any;
|
|
2688
2717
|
"update:visible": (value: boolean) => any;
|
|
2689
|
-
}, string,
|
|
2718
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_PublicProps$2> & Readonly<{
|
|
2690
2719
|
onClose?: (() => any) | undefined;
|
|
2691
|
-
onOpen?: ((id: string) => any) | undefined;
|
|
2692
2720
|
onSubmit?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
|
|
2721
|
+
onOpen?: ((id: string) => any) | undefined;
|
|
2693
2722
|
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
2694
2723
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
2695
|
-
}>, {}, {}, {}, {}, string,
|
|
2724
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2696
2725
|
|
|
2697
2726
|
type __VLS_Slots$7 = PropsPanelSlots;
|
|
2698
2727
|
type __VLS_Props$d = {
|
|
2699
2728
|
disabledShowSrc?: boolean;
|
|
2700
2729
|
extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2701
2730
|
};
|
|
2702
|
-
declare const __VLS_component$7:
|
|
2731
|
+
declare const __VLS_component$7: _vue_runtime_core.DefineComponent<__VLS_Props$d, {
|
|
2703
2732
|
getFormState(): FormState | undefined;
|
|
2704
2733
|
submit: (v: MNode, eventData?: ContainerChangeEventData$1) => Promise<void>;
|
|
2705
|
-
}, {}, {}, {},
|
|
2734
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2706
2735
|
mounted: (internalInstance: {
|
|
2707
|
-
$:
|
|
2736
|
+
$: _vue_runtime_core.ComponentInternalInstance;
|
|
2708
2737
|
$data: {};
|
|
2709
2738
|
$props: {
|
|
2710
2739
|
readonly config: _tmagic_form_schema.FormConfig;
|
|
@@ -2714,11 +2743,12 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
2714
2743
|
readonly codeValueKey?: string | undefined;
|
|
2715
2744
|
readonly labelPosition?: string | undefined;
|
|
2716
2745
|
readonly extendState?: ((_state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
|
|
2717
|
-
readonly onMounted?: ((internalInstance: any) => any) | undefined;
|
|
2718
2746
|
readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
2747
|
+
readonly onMounted?: ((internalInstance: any) => any) | undefined;
|
|
2748
|
+
readonly onUnmounted?: (() => any) | undefined;
|
|
2719
2749
|
readonly "onSubmit-error"?: ((e: any) => any) | undefined;
|
|
2720
2750
|
readonly "onForm-error"?: ((e: any) => any) | undefined;
|
|
2721
|
-
} &
|
|
2751
|
+
} & _vue_runtime_core.VNodeProps & _vue_runtime_core.AllowedComponentProps & _vue_runtime_core.ComponentCustomProps;
|
|
2722
2752
|
$attrs: {
|
|
2723
2753
|
[x: string]: unknown;
|
|
2724
2754
|
};
|
|
@@ -2726,14 +2756,14 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
2726
2756
|
[x: string]: unknown;
|
|
2727
2757
|
};
|
|
2728
2758
|
$slots: Readonly<{
|
|
2729
|
-
[name: string]:
|
|
2759
|
+
[name: string]: _vue_runtime_core.Slot<any> | undefined;
|
|
2730
2760
|
}>;
|
|
2731
|
-
$root:
|
|
2732
|
-
$parent:
|
|
2761
|
+
$root: _vue_runtime_core.ComponentPublicInstance | null;
|
|
2762
|
+
$parent: _vue_runtime_core.ComponentPublicInstance | null;
|
|
2733
2763
|
$host: Element | null;
|
|
2734
|
-
$emit: ((event: "
|
|
2764
|
+
$emit: ((event: "submit", values: any, eventData?: ContainerChangeEventData$1 | undefined) => void) & ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
|
|
2735
2765
|
$el: any;
|
|
2736
|
-
$options:
|
|
2766
|
+
$options: _vue_runtime_core.ComponentOptionsBase<Readonly<{
|
|
2737
2767
|
config: _tmagic_form_schema.FormConfig;
|
|
2738
2768
|
values: FormValue;
|
|
2739
2769
|
disabledShowSrc?: boolean;
|
|
@@ -2742,12 +2772,13 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
2742
2772
|
labelPosition?: string;
|
|
2743
2773
|
extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2744
2774
|
}> & Readonly<{
|
|
2745
|
-
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
2746
2775
|
onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
2776
|
+
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
2777
|
+
onUnmounted?: (() => any) | undefined;
|
|
2747
2778
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
2748
2779
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
2749
2780
|
}>, {
|
|
2750
|
-
configForm: Readonly<
|
|
2781
|
+
configForm: Readonly<_vue_reactivity.ShallowRef<_vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
2751
2782
|
config: _tmagic_form_schema.FormConfig;
|
|
2752
2783
|
initValues: Record<string, any>;
|
|
2753
2784
|
lastValues?: Record<string, any>;
|
|
@@ -2771,21 +2802,21 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
2771
2802
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
2772
2803
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
2773
2804
|
}>, {
|
|
2774
|
-
values:
|
|
2775
|
-
lastValuesProcessed:
|
|
2805
|
+
values: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
2806
|
+
lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
2776
2807
|
formState: FormState;
|
|
2777
|
-
initialized:
|
|
2778
|
-
changeRecords:
|
|
2808
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
2809
|
+
changeRecords: _vue_reactivity.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
2779
2810
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
|
|
2780
2811
|
resetForm: () => void;
|
|
2781
2812
|
submitForm: (native?: boolean) => Promise<any>;
|
|
2782
|
-
}, {}, {}, {},
|
|
2813
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2783
2814
|
change: (...args: any[]) => void;
|
|
2784
2815
|
error: (...args: any[]) => void;
|
|
2785
2816
|
"update:stepActive": (...args: any[]) => void;
|
|
2786
2817
|
"field-change": (...args: any[]) => void;
|
|
2787
2818
|
"field-input": (...args: any[]) => void;
|
|
2788
|
-
},
|
|
2819
|
+
}, _vue_runtime_core.PublicProps, {
|
|
2789
2820
|
disabled: boolean;
|
|
2790
2821
|
labelWidth: string;
|
|
2791
2822
|
inline: boolean;
|
|
@@ -2798,7 +2829,7 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
2798
2829
|
keyProp: string;
|
|
2799
2830
|
parentValues: Record<string, any>;
|
|
2800
2831
|
stepActive: string | number;
|
|
2801
|
-
}, false, {}, {},
|
|
2832
|
+
}, false, {}, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, {}, any, _vue_runtime_core.ComponentProvideOptions, {
|
|
2802
2833
|
P: {};
|
|
2803
2834
|
B: {};
|
|
2804
2835
|
D: {};
|
|
@@ -2829,11 +2860,11 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
2829
2860
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
2830
2861
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
2831
2862
|
}>, {
|
|
2832
|
-
values:
|
|
2833
|
-
lastValuesProcessed:
|
|
2863
|
+
values: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
2864
|
+
lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
2834
2865
|
formState: FormState;
|
|
2835
|
-
initialized:
|
|
2836
|
-
changeRecords:
|
|
2866
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
2867
|
+
changeRecords: _vue_reactivity.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
2837
2868
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
|
|
2838
2869
|
resetForm: () => void;
|
|
2839
2870
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -2852,12 +2883,13 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
2852
2883
|
stepActive: string | number;
|
|
2853
2884
|
}> | null>>;
|
|
2854
2885
|
submit: (v: FormValue, eventData: ContainerChangeEventData$1) => Promise<void>;
|
|
2855
|
-
}, {}, {}, {},
|
|
2856
|
-
mounted: (internalInstance: any) => any;
|
|
2886
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2857
2887
|
submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
2888
|
+
mounted: (internalInstance: any) => any;
|
|
2889
|
+
unmounted: () => any;
|
|
2858
2890
|
"submit-error": (e: any) => any;
|
|
2859
2891
|
"form-error": (e: any) => any;
|
|
2860
|
-
}, string, {}, {}, string, {},
|
|
2892
|
+
}, string, {}, {}, string, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, _vue_runtime_core.ComponentProvideOptions> & {
|
|
2861
2893
|
beforeCreate?: (() => void) | (() => void)[];
|
|
2862
2894
|
created?: (() => void) | (() => void)[];
|
|
2863
2895
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -2870,13 +2902,13 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
2870
2902
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
2871
2903
|
destroyed?: (() => void) | (() => void)[];
|
|
2872
2904
|
unmounted?: (() => void) | (() => void)[];
|
|
2873
|
-
renderTracked?: ((e:
|
|
2874
|
-
renderTriggered?: ((e:
|
|
2875
|
-
errorCaptured?: ((err: unknown, instance:
|
|
2905
|
+
renderTracked?: ((e: _vue_reactivity.DebuggerEvent) => void) | ((e: _vue_reactivity.DebuggerEvent) => void)[];
|
|
2906
|
+
renderTriggered?: ((e: _vue_reactivity.DebuggerEvent) => void) | ((e: _vue_reactivity.DebuggerEvent) => void)[];
|
|
2907
|
+
errorCaptured?: ((err: unknown, instance: _vue_runtime_core.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: _vue_runtime_core.ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
2876
2908
|
};
|
|
2877
2909
|
$forceUpdate: () => void;
|
|
2878
|
-
$nextTick: typeof
|
|
2879
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, _vue_reactivity.OnCleanup]) => any : (...args: [any, any, _vue_reactivity.OnCleanup]) => any, options?:
|
|
2910
|
+
$nextTick: typeof _vue_runtime_core.nextTick;
|
|
2911
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, _vue_reactivity.OnCleanup]) => any : (...args: [any, any, _vue_reactivity.OnCleanup]) => any, options?: _vue_runtime_core.WatchOptions): _vue_reactivity.WatchStopHandle;
|
|
2880
2912
|
} & Readonly<{}> & Omit<Readonly<{
|
|
2881
2913
|
config: _tmagic_form_schema.FormConfig;
|
|
2882
2914
|
values: FormValue;
|
|
@@ -2886,12 +2918,13 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
2886
2918
|
labelPosition?: string;
|
|
2887
2919
|
extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2888
2920
|
}> & Readonly<{
|
|
2889
|
-
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
2890
2921
|
onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
2922
|
+
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
2923
|
+
onUnmounted?: (() => any) | undefined;
|
|
2891
2924
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
2892
2925
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
2893
|
-
}>, "submit" | "configForm"> &
|
|
2894
|
-
configForm: Readonly<
|
|
2926
|
+
}>, "submit" | "configForm"> & _vue_reactivity.ShallowUnwrapRef<{
|
|
2927
|
+
configForm: Readonly<_vue_reactivity.ShallowRef<_vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
2895
2928
|
config: _tmagic_form_schema.FormConfig;
|
|
2896
2929
|
initValues: Record<string, any>;
|
|
2897
2930
|
lastValues?: Record<string, any>;
|
|
@@ -2915,21 +2948,21 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
2915
2948
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
2916
2949
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
2917
2950
|
}>, {
|
|
2918
|
-
values:
|
|
2919
|
-
lastValuesProcessed:
|
|
2951
|
+
values: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
2952
|
+
lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
2920
2953
|
formState: FormState;
|
|
2921
|
-
initialized:
|
|
2922
|
-
changeRecords:
|
|
2954
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
2955
|
+
changeRecords: _vue_reactivity.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
2923
2956
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
|
|
2924
2957
|
resetForm: () => void;
|
|
2925
2958
|
submitForm: (native?: boolean) => Promise<any>;
|
|
2926
|
-
}, {}, {}, {},
|
|
2959
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2927
2960
|
change: (...args: any[]) => void;
|
|
2928
2961
|
error: (...args: any[]) => void;
|
|
2929
2962
|
"update:stepActive": (...args: any[]) => void;
|
|
2930
2963
|
"field-change": (...args: any[]) => void;
|
|
2931
2964
|
"field-input": (...args: any[]) => void;
|
|
2932
|
-
},
|
|
2965
|
+
}, _vue_runtime_core.PublicProps, {
|
|
2933
2966
|
disabled: boolean;
|
|
2934
2967
|
labelWidth: string;
|
|
2935
2968
|
inline: boolean;
|
|
@@ -2942,7 +2975,7 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
2942
2975
|
keyProp: string;
|
|
2943
2976
|
parentValues: Record<string, any>;
|
|
2944
2977
|
stepActive: string | number;
|
|
2945
|
-
}, false, {}, {},
|
|
2978
|
+
}, false, {}, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, {}, any, _vue_runtime_core.ComponentProvideOptions, {
|
|
2946
2979
|
P: {};
|
|
2947
2980
|
B: {};
|
|
2948
2981
|
D: {};
|
|
@@ -2973,11 +3006,11 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
2973
3006
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
2974
3007
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
2975
3008
|
}>, {
|
|
2976
|
-
values:
|
|
2977
|
-
lastValuesProcessed:
|
|
3009
|
+
values: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
3010
|
+
lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
2978
3011
|
formState: FormState;
|
|
2979
|
-
initialized:
|
|
2980
|
-
changeRecords:
|
|
3012
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
3013
|
+
changeRecords: _vue_reactivity.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
2981
3014
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
|
|
2982
3015
|
resetForm: () => void;
|
|
2983
3016
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -2996,16 +3029,17 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
2996
3029
|
stepActive: string | number;
|
|
2997
3030
|
}> | null>>;
|
|
2998
3031
|
submit: (v: FormValue, eventData: ContainerChangeEventData$1) => Promise<void>;
|
|
2999
|
-
}> & {} &
|
|
3032
|
+
}> & {} & _vue_runtime_core.ComponentCustomProperties & {} & {
|
|
3000
3033
|
$slots: {
|
|
3001
3034
|
'props-form-panel-header'(_props: {}): any;
|
|
3002
3035
|
};
|
|
3003
3036
|
}) => any;
|
|
3037
|
+
unmounted: () => any;
|
|
3004
3038
|
"submit-error": (e: any) => any;
|
|
3005
3039
|
"form-error": (e: any) => any;
|
|
3006
|
-
}, string,
|
|
3040
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$d> & Readonly<{
|
|
3007
3041
|
onMounted?: ((internalInstance: {
|
|
3008
|
-
$:
|
|
3042
|
+
$: _vue_runtime_core.ComponentInternalInstance;
|
|
3009
3043
|
$data: {};
|
|
3010
3044
|
$props: {
|
|
3011
3045
|
readonly config: _tmagic_form_schema.FormConfig;
|
|
@@ -3015,11 +3049,12 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
3015
3049
|
readonly codeValueKey?: string | undefined;
|
|
3016
3050
|
readonly labelPosition?: string | undefined;
|
|
3017
3051
|
readonly extendState?: ((_state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
|
|
3018
|
-
readonly onMounted?: ((internalInstance: any) => any) | undefined;
|
|
3019
3052
|
readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
3053
|
+
readonly onMounted?: ((internalInstance: any) => any) | undefined;
|
|
3054
|
+
readonly onUnmounted?: (() => any) | undefined;
|
|
3020
3055
|
readonly "onSubmit-error"?: ((e: any) => any) | undefined;
|
|
3021
3056
|
readonly "onForm-error"?: ((e: any) => any) | undefined;
|
|
3022
|
-
} &
|
|
3057
|
+
} & _vue_runtime_core.VNodeProps & _vue_runtime_core.AllowedComponentProps & _vue_runtime_core.ComponentCustomProps;
|
|
3023
3058
|
$attrs: {
|
|
3024
3059
|
[x: string]: unknown;
|
|
3025
3060
|
};
|
|
@@ -3027,14 +3062,14 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
3027
3062
|
[x: string]: unknown;
|
|
3028
3063
|
};
|
|
3029
3064
|
$slots: Readonly<{
|
|
3030
|
-
[name: string]:
|
|
3065
|
+
[name: string]: _vue_runtime_core.Slot<any> | undefined;
|
|
3031
3066
|
}>;
|
|
3032
|
-
$root:
|
|
3033
|
-
$parent:
|
|
3067
|
+
$root: _vue_runtime_core.ComponentPublicInstance | null;
|
|
3068
|
+
$parent: _vue_runtime_core.ComponentPublicInstance | null;
|
|
3034
3069
|
$host: Element | null;
|
|
3035
|
-
$emit: ((event: "
|
|
3070
|
+
$emit: ((event: "submit", values: any, eventData?: ContainerChangeEventData$1 | undefined) => void) & ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
|
|
3036
3071
|
$el: any;
|
|
3037
|
-
$options:
|
|
3072
|
+
$options: _vue_runtime_core.ComponentOptionsBase<Readonly<{
|
|
3038
3073
|
config: _tmagic_form_schema.FormConfig;
|
|
3039
3074
|
values: FormValue;
|
|
3040
3075
|
disabledShowSrc?: boolean;
|
|
@@ -3043,12 +3078,13 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
3043
3078
|
labelPosition?: string;
|
|
3044
3079
|
extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
3045
3080
|
}> & Readonly<{
|
|
3046
|
-
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
3047
3081
|
onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
3082
|
+
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
3083
|
+
onUnmounted?: (() => any) | undefined;
|
|
3048
3084
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
3049
3085
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
3050
3086
|
}>, {
|
|
3051
|
-
configForm: Readonly<
|
|
3087
|
+
configForm: Readonly<_vue_reactivity.ShallowRef<_vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3052
3088
|
config: _tmagic_form_schema.FormConfig;
|
|
3053
3089
|
initValues: Record<string, any>;
|
|
3054
3090
|
lastValues?: Record<string, any>;
|
|
@@ -3072,21 +3108,21 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
3072
3108
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3073
3109
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
3074
3110
|
}>, {
|
|
3075
|
-
values:
|
|
3076
|
-
lastValuesProcessed:
|
|
3111
|
+
values: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
3112
|
+
lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
3077
3113
|
formState: FormState;
|
|
3078
|
-
initialized:
|
|
3079
|
-
changeRecords:
|
|
3114
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
3115
|
+
changeRecords: _vue_reactivity.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
3080
3116
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
|
|
3081
3117
|
resetForm: () => void;
|
|
3082
3118
|
submitForm: (native?: boolean) => Promise<any>;
|
|
3083
|
-
}, {}, {}, {},
|
|
3119
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
3084
3120
|
change: (...args: any[]) => void;
|
|
3085
3121
|
error: (...args: any[]) => void;
|
|
3086
3122
|
"update:stepActive": (...args: any[]) => void;
|
|
3087
3123
|
"field-change": (...args: any[]) => void;
|
|
3088
3124
|
"field-input": (...args: any[]) => void;
|
|
3089
|
-
},
|
|
3125
|
+
}, _vue_runtime_core.PublicProps, {
|
|
3090
3126
|
disabled: boolean;
|
|
3091
3127
|
labelWidth: string;
|
|
3092
3128
|
inline: boolean;
|
|
@@ -3099,7 +3135,7 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
3099
3135
|
keyProp: string;
|
|
3100
3136
|
parentValues: Record<string, any>;
|
|
3101
3137
|
stepActive: string | number;
|
|
3102
|
-
}, false, {}, {},
|
|
3138
|
+
}, false, {}, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, {}, any, _vue_runtime_core.ComponentProvideOptions, {
|
|
3103
3139
|
P: {};
|
|
3104
3140
|
B: {};
|
|
3105
3141
|
D: {};
|
|
@@ -3130,11 +3166,11 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
3130
3166
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3131
3167
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
3132
3168
|
}>, {
|
|
3133
|
-
values:
|
|
3134
|
-
lastValuesProcessed:
|
|
3169
|
+
values: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
3170
|
+
lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
3135
3171
|
formState: FormState;
|
|
3136
|
-
initialized:
|
|
3137
|
-
changeRecords:
|
|
3172
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
3173
|
+
changeRecords: _vue_reactivity.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
3138
3174
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
|
|
3139
3175
|
resetForm: () => void;
|
|
3140
3176
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -3153,12 +3189,13 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
3153
3189
|
stepActive: string | number;
|
|
3154
3190
|
}> | null>>;
|
|
3155
3191
|
submit: (v: FormValue, eventData: ContainerChangeEventData$1) => Promise<void>;
|
|
3156
|
-
}, {}, {}, {},
|
|
3157
|
-
mounted: (internalInstance: any) => any;
|
|
3192
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
3158
3193
|
submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
3194
|
+
mounted: (internalInstance: any) => any;
|
|
3195
|
+
unmounted: () => any;
|
|
3159
3196
|
"submit-error": (e: any) => any;
|
|
3160
3197
|
"form-error": (e: any) => any;
|
|
3161
|
-
}, string, {}, {}, string, {},
|
|
3198
|
+
}, string, {}, {}, string, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, _vue_runtime_core.ComponentProvideOptions> & {
|
|
3162
3199
|
beforeCreate?: (() => void) | (() => void)[];
|
|
3163
3200
|
created?: (() => void) | (() => void)[];
|
|
3164
3201
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -3171,13 +3208,13 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
3171
3208
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
3172
3209
|
destroyed?: (() => void) | (() => void)[];
|
|
3173
3210
|
unmounted?: (() => void) | (() => void)[];
|
|
3174
|
-
renderTracked?: ((e:
|
|
3175
|
-
renderTriggered?: ((e:
|
|
3176
|
-
errorCaptured?: ((err: unknown, instance:
|
|
3211
|
+
renderTracked?: ((e: _vue_reactivity.DebuggerEvent) => void) | ((e: _vue_reactivity.DebuggerEvent) => void)[];
|
|
3212
|
+
renderTriggered?: ((e: _vue_reactivity.DebuggerEvent) => void) | ((e: _vue_reactivity.DebuggerEvent) => void)[];
|
|
3213
|
+
errorCaptured?: ((err: unknown, instance: _vue_runtime_core.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: _vue_runtime_core.ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
3177
3214
|
};
|
|
3178
3215
|
$forceUpdate: () => void;
|
|
3179
|
-
$nextTick: typeof
|
|
3180
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, _vue_reactivity.OnCleanup]) => any : (...args: [any, any, _vue_reactivity.OnCleanup]) => any, options?:
|
|
3216
|
+
$nextTick: typeof _vue_runtime_core.nextTick;
|
|
3217
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, _vue_reactivity.OnCleanup]) => any : (...args: [any, any, _vue_reactivity.OnCleanup]) => any, options?: _vue_runtime_core.WatchOptions): _vue_reactivity.WatchStopHandle;
|
|
3181
3218
|
} & Readonly<{}> & Omit<Readonly<{
|
|
3182
3219
|
config: _tmagic_form_schema.FormConfig;
|
|
3183
3220
|
values: FormValue;
|
|
@@ -3187,12 +3224,13 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
3187
3224
|
labelPosition?: string;
|
|
3188
3225
|
extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
3189
3226
|
}> & Readonly<{
|
|
3190
|
-
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
3191
3227
|
onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
3228
|
+
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
3229
|
+
onUnmounted?: (() => any) | undefined;
|
|
3192
3230
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
3193
3231
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
3194
|
-
}>, "submit" | "configForm"> &
|
|
3195
|
-
configForm: Readonly<
|
|
3232
|
+
}>, "submit" | "configForm"> & _vue_reactivity.ShallowUnwrapRef<{
|
|
3233
|
+
configForm: Readonly<_vue_reactivity.ShallowRef<_vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3196
3234
|
config: _tmagic_form_schema.FormConfig;
|
|
3197
3235
|
initValues: Record<string, any>;
|
|
3198
3236
|
lastValues?: Record<string, any>;
|
|
@@ -3216,21 +3254,21 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
3216
3254
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3217
3255
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
3218
3256
|
}>, {
|
|
3219
|
-
values:
|
|
3220
|
-
lastValuesProcessed:
|
|
3257
|
+
values: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
3258
|
+
lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
3221
3259
|
formState: FormState;
|
|
3222
|
-
initialized:
|
|
3223
|
-
changeRecords:
|
|
3260
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
3261
|
+
changeRecords: _vue_reactivity.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
3224
3262
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
|
|
3225
3263
|
resetForm: () => void;
|
|
3226
3264
|
submitForm: (native?: boolean) => Promise<any>;
|
|
3227
|
-
}, {}, {}, {},
|
|
3265
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
3228
3266
|
change: (...args: any[]) => void;
|
|
3229
3267
|
error: (...args: any[]) => void;
|
|
3230
3268
|
"update:stepActive": (...args: any[]) => void;
|
|
3231
3269
|
"field-change": (...args: any[]) => void;
|
|
3232
3270
|
"field-input": (...args: any[]) => void;
|
|
3233
|
-
},
|
|
3271
|
+
}, _vue_runtime_core.PublicProps, {
|
|
3234
3272
|
disabled: boolean;
|
|
3235
3273
|
labelWidth: string;
|
|
3236
3274
|
inline: boolean;
|
|
@@ -3243,7 +3281,7 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
3243
3281
|
keyProp: string;
|
|
3244
3282
|
parentValues: Record<string, any>;
|
|
3245
3283
|
stepActive: string | number;
|
|
3246
|
-
}, false, {}, {},
|
|
3284
|
+
}, false, {}, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, {}, any, _vue_runtime_core.ComponentProvideOptions, {
|
|
3247
3285
|
P: {};
|
|
3248
3286
|
B: {};
|
|
3249
3287
|
D: {};
|
|
@@ -3274,11 +3312,11 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
3274
3312
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3275
3313
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
3276
3314
|
}>, {
|
|
3277
|
-
values:
|
|
3278
|
-
lastValuesProcessed:
|
|
3315
|
+
values: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
3316
|
+
lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
3279
3317
|
formState: FormState;
|
|
3280
|
-
initialized:
|
|
3281
|
-
changeRecords:
|
|
3318
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
3319
|
+
changeRecords: _vue_reactivity.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
3282
3320
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
|
|
3283
3321
|
resetForm: () => void;
|
|
3284
3322
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -3297,14 +3335,15 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
|
3297
3335
|
stepActive: string | number;
|
|
3298
3336
|
}> | null>>;
|
|
3299
3337
|
submit: (v: FormValue, eventData: ContainerChangeEventData$1) => Promise<void>;
|
|
3300
|
-
}> & {} &
|
|
3338
|
+
}> & {} & _vue_runtime_core.ComponentCustomProperties & {} & {
|
|
3301
3339
|
$slots: {
|
|
3302
3340
|
'props-form-panel-header'(_props: {}): any;
|
|
3303
3341
|
};
|
|
3304
3342
|
}) => any) | undefined;
|
|
3343
|
+
onUnmounted?: (() => any) | undefined;
|
|
3305
3344
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
3306
3345
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
3307
|
-
}>, {}, {}, {}, {}, string,
|
|
3346
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3308
3347
|
declare const _default$f: __VLS_WithSlots$7<typeof __VLS_component$7, __VLS_Slots$7>;
|
|
3309
3348
|
|
|
3310
3349
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -3325,8 +3364,8 @@ type __VLS_Props$c = {
|
|
|
3325
3364
|
labelPosition?: string;
|
|
3326
3365
|
extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
3327
3366
|
};
|
|
3328
|
-
declare const __VLS_component$6:
|
|
3329
|
-
configForm: Readonly<
|
|
3367
|
+
declare const __VLS_component$6: _vue_runtime_core.DefineComponent<__VLS_Props$c, {
|
|
3368
|
+
configForm: Readonly<_vue_reactivity.ShallowRef<_vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3330
3369
|
config: FormConfig;
|
|
3331
3370
|
initValues: Record<string, any>;
|
|
3332
3371
|
lastValues?: Record<string, any>;
|
|
@@ -3350,21 +3389,21 @@ declare const __VLS_component$6: vue.DefineComponent<__VLS_Props$c, {
|
|
|
3350
3389
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3351
3390
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
3352
3391
|
}>, {
|
|
3353
|
-
values:
|
|
3354
|
-
lastValuesProcessed:
|
|
3392
|
+
values: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
3393
|
+
lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
3355
3394
|
formState: FormState;
|
|
3356
|
-
initialized:
|
|
3357
|
-
changeRecords:
|
|
3395
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
3396
|
+
changeRecords: _vue_reactivity.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
3358
3397
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
|
|
3359
3398
|
resetForm: () => void;
|
|
3360
3399
|
submitForm: (native?: boolean) => Promise<any>;
|
|
3361
|
-
}, {}, {}, {},
|
|
3400
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
3362
3401
|
change: (...args: any[]) => void;
|
|
3363
3402
|
error: (...args: any[]) => void;
|
|
3364
3403
|
"update:stepActive": (...args: any[]) => void;
|
|
3365
3404
|
"field-change": (...args: any[]) => void;
|
|
3366
3405
|
"field-input": (...args: any[]) => void;
|
|
3367
|
-
},
|
|
3406
|
+
}, _vue_runtime_core.PublicProps, {
|
|
3368
3407
|
disabled: boolean;
|
|
3369
3408
|
labelWidth: string;
|
|
3370
3409
|
inline: boolean;
|
|
@@ -3377,7 +3416,7 @@ declare const __VLS_component$6: vue.DefineComponent<__VLS_Props$c, {
|
|
|
3377
3416
|
keyProp: string;
|
|
3378
3417
|
parentValues: Record<string, any>;
|
|
3379
3418
|
stepActive: string | number;
|
|
3380
|
-
}, false, {}, {},
|
|
3419
|
+
}, false, {}, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, {}, any, _vue_runtime_core.ComponentProvideOptions, {
|
|
3381
3420
|
P: {};
|
|
3382
3421
|
B: {};
|
|
3383
3422
|
D: {};
|
|
@@ -3408,11 +3447,11 @@ declare const __VLS_component$6: vue.DefineComponent<__VLS_Props$c, {
|
|
|
3408
3447
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3409
3448
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
3410
3449
|
}>, {
|
|
3411
|
-
values:
|
|
3412
|
-
lastValuesProcessed:
|
|
3450
|
+
values: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
3451
|
+
lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
3413
3452
|
formState: FormState;
|
|
3414
|
-
initialized:
|
|
3415
|
-
changeRecords:
|
|
3453
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
3454
|
+
changeRecords: _vue_reactivity.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
3416
3455
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData$1) => void;
|
|
3417
3456
|
resetForm: () => void;
|
|
3418
3457
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -3431,17 +3470,19 @@ declare const __VLS_component$6: vue.DefineComponent<__VLS_Props$c, {
|
|
|
3431
3470
|
stepActive: string | number;
|
|
3432
3471
|
}> | null>>;
|
|
3433
3472
|
submit: (v: FormValue, eventData: ContainerChangeEventData$1) => Promise<void>;
|
|
3434
|
-
}, {}, {}, {},
|
|
3435
|
-
mounted: (internalInstance: any) => any;
|
|
3473
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
3436
3474
|
submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
3475
|
+
mounted: (internalInstance: any) => any;
|
|
3476
|
+
unmounted: () => any;
|
|
3437
3477
|
"submit-error": (e: any) => any;
|
|
3438
3478
|
"form-error": (e: any) => any;
|
|
3439
|
-
}, string,
|
|
3440
|
-
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
3479
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$c> & Readonly<{
|
|
3441
3480
|
onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
3481
|
+
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
3482
|
+
onUnmounted?: (() => any) | undefined;
|
|
3442
3483
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
3443
3484
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
3444
|
-
}>, {}, {}, {}, {}, string,
|
|
3485
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3445
3486
|
declare const _default$e: __VLS_WithSlots$6<typeof __VLS_component$6, __VLS_Slots$6>;
|
|
3446
3487
|
|
|
3447
3488
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -3454,10 +3495,10 @@ type __VLS_Props$b = {
|
|
|
3454
3495
|
data?: MenuButton | MenuComponent;
|
|
3455
3496
|
eventType?: 'mousedown' | 'mouseup' | 'click';
|
|
3456
3497
|
};
|
|
3457
|
-
declare const _default$d:
|
|
3498
|
+
declare const _default$d: _vue_runtime_core.DefineComponent<__VLS_Props$b, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$b> & Readonly<{}>, {
|
|
3458
3499
|
data: MenuButton | MenuComponent;
|
|
3459
3500
|
eventType: "mousedown" | "mouseup" | "click";
|
|
3460
|
-
}, {}, {}, {}, string,
|
|
3501
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3461
3502
|
|
|
3462
3503
|
type __VLS_Props$a = {
|
|
3463
3504
|
menuData?: (MenuButton | MenuComponent)[];
|
|
@@ -3465,46 +3506,12 @@ type __VLS_Props$a = {
|
|
|
3465
3506
|
active?: string | number;
|
|
3466
3507
|
autoHide?: boolean;
|
|
3467
3508
|
};
|
|
3468
|
-
declare
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
}>;
|
|
3475
|
-
declare const hide: () => void;
|
|
3476
|
-
declare const clickHandler: (event: MouseEvent) => void;
|
|
3477
|
-
declare const showSubMenu: (item: MenuButton | MenuComponent, index: number) => void;
|
|
3478
|
-
declare const mouseenterHandler: () => void;
|
|
3479
|
-
declare const __VLS_ctx$3: InstanceType<__VLS_PickNotAny<typeof __VLS_self$3, new () => {}>>;
|
|
3480
|
-
declare var __VLS_5$1: {};
|
|
3481
|
-
type __VLS_Slots$5 = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx$3.$slots> & {
|
|
3482
|
-
title?: (props: typeof __VLS_5$1) => any;
|
|
3483
|
-
}>;
|
|
3484
|
-
declare const __VLS_self$3: vue.DefineComponent<__VLS_Props$a, {
|
|
3485
|
-
ToolButton: typeof _default$d;
|
|
3486
|
-
visible: typeof visible$1;
|
|
3487
|
-
subMenuData: typeof subMenuData;
|
|
3488
|
-
menuStyle: typeof menuStyle;
|
|
3489
|
-
hide: typeof hide;
|
|
3490
|
-
clickHandler: typeof clickHandler;
|
|
3491
|
-
showSubMenu: typeof showSubMenu;
|
|
3492
|
-
mouseenterHandler: typeof mouseenterHandler;
|
|
3493
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3494
|
-
mouseenter: () => any;
|
|
3495
|
-
show: () => any;
|
|
3496
|
-
hide: () => any;
|
|
3497
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$a> & Readonly<{
|
|
3498
|
-
onMouseenter?: (() => any) | undefined;
|
|
3499
|
-
onShow?: (() => any) | undefined;
|
|
3500
|
-
onHide?: (() => any) | undefined;
|
|
3501
|
-
}>, {
|
|
3502
|
-
menuData: (MenuButton | MenuComponent)[];
|
|
3503
|
-
isSubMenu: boolean;
|
|
3504
|
-
autoHide: boolean;
|
|
3505
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
3506
|
-
declare const __VLS_component$5: vue.DefineComponent<__VLS_Props$a, {
|
|
3507
|
-
menu: Readonly<vue.ShallowRef<HTMLDivElement | null>>;
|
|
3509
|
+
declare var __VLS_6$1: {};
|
|
3510
|
+
type __VLS_Slots$5 = {} & {
|
|
3511
|
+
title?: (props: typeof __VLS_6$1) => any;
|
|
3512
|
+
};
|
|
3513
|
+
declare const __VLS_component$5: _vue_runtime_core.DefineComponent<__VLS_Props$a, {
|
|
3514
|
+
menu: Readonly<_vue_reactivity.ShallowRef<HTMLDivElement | null>>;
|
|
3508
3515
|
menuPosition: Ref<{
|
|
3509
3516
|
left: number;
|
|
3510
3517
|
top: number;
|
|
@@ -3525,11 +3532,11 @@ declare const __VLS_component$5: vue.DefineComponent<__VLS_Props$a, {
|
|
|
3525
3532
|
clientY: number;
|
|
3526
3533
|
clientX: number;
|
|
3527
3534
|
}) => void;
|
|
3528
|
-
}, {}, {}, {},
|
|
3535
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
3529
3536
|
mouseenter: () => any;
|
|
3530
3537
|
show: () => any;
|
|
3531
3538
|
hide: () => any;
|
|
3532
|
-
}, string,
|
|
3539
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$a> & Readonly<{
|
|
3533
3540
|
onMouseenter?: (() => any) | undefined;
|
|
3534
3541
|
onShow?: (() => any) | undefined;
|
|
3535
3542
|
onHide?: (() => any) | undefined;
|
|
@@ -3537,7 +3544,7 @@ declare const __VLS_component$5: vue.DefineComponent<__VLS_Props$a, {
|
|
|
3537
3544
|
menuData: (MenuButton | MenuComponent)[];
|
|
3538
3545
|
isSubMenu: boolean;
|
|
3539
3546
|
autoHide: boolean;
|
|
3540
|
-
}, {}, {}, {}, string,
|
|
3547
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3541
3548
|
declare const _default$c: __VLS_WithSlots$5<typeof __VLS_component$5, __VLS_Slots$5>;
|
|
3542
3549
|
|
|
3543
3550
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -3549,33 +3556,7 @@ type __VLS_WithSlots$5<T, S> = T & {
|
|
|
3549
3556
|
type __VLS_Props$9 = {
|
|
3550
3557
|
icon?: any;
|
|
3551
3558
|
};
|
|
3552
|
-
declare const _default$b:
|
|
3553
|
-
|
|
3554
|
-
declare const isDragging: vue.Ref<boolean, boolean>;
|
|
3555
|
-
declare const __VLS_ctx$2: InstanceType<__VLS_PickNotAny<typeof __VLS_self$2, new () => {}>>;
|
|
3556
|
-
declare var __VLS_1$1: {};
|
|
3557
|
-
type __VLS_Slots$4 = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx$2.$slots> & {
|
|
3558
|
-
default?: (props: typeof __VLS_1$1) => any;
|
|
3559
|
-
}>;
|
|
3560
|
-
declare const __VLS_self$2: vue.DefineComponent<{}, {
|
|
3561
|
-
isDragging: typeof isDragging;
|
|
3562
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3563
|
-
change: (e: OnDrag<gesto.default>) => any;
|
|
3564
|
-
}, string, vue.PublicProps, Readonly<{}> & Readonly<{
|
|
3565
|
-
onChange?: ((e: OnDrag<gesto.default>) => any) | undefined;
|
|
3566
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
3567
|
-
declare const __VLS_component$4: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3568
|
-
change: (e: OnDrag<gesto.default>) => any;
|
|
3569
|
-
}, string, vue.PublicProps, Readonly<{}> & Readonly<{
|
|
3570
|
-
onChange?: ((e: OnDrag<gesto.default>) => any) | undefined;
|
|
3571
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
3572
|
-
declare const _default$a: __VLS_WithSlots$4<typeof __VLS_component$4, __VLS_Slots$4>;
|
|
3573
|
-
|
|
3574
|
-
type __VLS_WithSlots$4<T, S> = T & {
|
|
3575
|
-
new (): {
|
|
3576
|
-
$slots: S;
|
|
3577
|
-
};
|
|
3578
|
-
};
|
|
3559
|
+
declare const _default$b: _vue_runtime_core.DefineComponent<__VLS_Props$9, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$9> & Readonly<{}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3579
3560
|
|
|
3580
3561
|
type __VLS_Props$8 = {
|
|
3581
3562
|
width?: number;
|
|
@@ -3588,49 +3569,23 @@ type __VLS_Props$8 = {
|
|
|
3588
3569
|
rightClass?: string;
|
|
3589
3570
|
centerClass?: string;
|
|
3590
3571
|
};
|
|
3591
|
-
declare
|
|
3592
|
-
declare const hasRight: vue.ComputedRef<boolean>;
|
|
3593
|
-
declare const center: vue.Ref<number, number>;
|
|
3594
|
-
declare const changeLeft: ({ deltaX }: OnDrag) => void;
|
|
3595
|
-
declare const changeRight: ({ deltaX }: OnDrag) => void;
|
|
3596
|
-
declare const __VLS_ctx$1: InstanceType<__VLS_PickNotAny<typeof __VLS_self$1, new () => {}>>;
|
|
3597
|
-
declare var __VLS_1: {};
|
|
3572
|
+
declare var __VLS_1$1: {};
|
|
3598
3573
|
declare var __VLS_10: {};
|
|
3599
3574
|
declare var __VLS_19: {};
|
|
3600
|
-
type __VLS_Slots$
|
|
3601
|
-
left?: (props: typeof __VLS_1) => any;
|
|
3575
|
+
type __VLS_Slots$4 = {} & {
|
|
3576
|
+
left?: (props: typeof __VLS_1$1) => any;
|
|
3602
3577
|
} & {
|
|
3603
3578
|
center?: (props: typeof __VLS_10) => any;
|
|
3604
3579
|
} & {
|
|
3605
3580
|
right?: (props: typeof __VLS_19) => any;
|
|
3606
|
-
}
|
|
3607
|
-
declare const
|
|
3608
|
-
Resizer: typeof _default$a;
|
|
3609
|
-
hasLeft: typeof hasLeft;
|
|
3610
|
-
hasRight: typeof hasRight;
|
|
3611
|
-
center: typeof center;
|
|
3612
|
-
changeLeft: typeof changeLeft;
|
|
3613
|
-
changeRight: typeof changeRight;
|
|
3614
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3615
|
-
change: (...args: any[]) => void;
|
|
3616
|
-
"update:left": (...args: any[]) => void;
|
|
3617
|
-
"update:right": (...args: any[]) => void;
|
|
3618
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$8> & Readonly<{
|
|
3619
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
3620
|
-
"onUpdate:left"?: ((...args: any[]) => any) | undefined;
|
|
3621
|
-
"onUpdate:right"?: ((...args: any[]) => any) | undefined;
|
|
3622
|
-
}>, {
|
|
3623
|
-
minLeft: number;
|
|
3624
|
-
minRight: number;
|
|
3625
|
-
minCenter: number;
|
|
3626
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
3627
|
-
declare const __VLS_component$3: vue.DefineComponent<__VLS_Props$8, {
|
|
3581
|
+
};
|
|
3582
|
+
declare const __VLS_component$4: _vue_runtime_core.DefineComponent<__VLS_Props$8, {
|
|
3628
3583
|
updateWidth(): void;
|
|
3629
|
-
}, {}, {}, {},
|
|
3584
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
3630
3585
|
change: (...args: any[]) => void;
|
|
3631
3586
|
"update:left": (...args: any[]) => void;
|
|
3632
3587
|
"update:right": (...args: any[]) => void;
|
|
3633
|
-
}, string,
|
|
3588
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$8> & Readonly<{
|
|
3634
3589
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
3635
3590
|
"onUpdate:left"?: ((...args: any[]) => any) | undefined;
|
|
3636
3591
|
"onUpdate:right"?: ((...args: any[]) => any) | undefined;
|
|
@@ -3638,7 +3593,24 @@ declare const __VLS_component$3: vue.DefineComponent<__VLS_Props$8, {
|
|
|
3638
3593
|
minLeft: number;
|
|
3639
3594
|
minRight: number;
|
|
3640
3595
|
minCenter: number;
|
|
3641
|
-
}, {}, {}, {}, string,
|
|
3596
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3597
|
+
declare const _default$a: __VLS_WithSlots$4<typeof __VLS_component$4, __VLS_Slots$4>;
|
|
3598
|
+
|
|
3599
|
+
type __VLS_WithSlots$4<T, S> = T & {
|
|
3600
|
+
new (): {
|
|
3601
|
+
$slots: S;
|
|
3602
|
+
};
|
|
3603
|
+
};
|
|
3604
|
+
|
|
3605
|
+
declare var __VLS_1: {};
|
|
3606
|
+
type __VLS_Slots$3 = {} & {
|
|
3607
|
+
default?: (props: typeof __VLS_1) => any;
|
|
3608
|
+
};
|
|
3609
|
+
declare const __VLS_component$3: _vue_runtime_core.DefineComponent<{}, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
3610
|
+
change: (e: OnDrag<gesto.default>) => any;
|
|
3611
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<{}> & Readonly<{
|
|
3612
|
+
onChange?: ((e: OnDrag<gesto.default>) => any) | undefined;
|
|
3613
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, true, {}, any>;
|
|
3642
3614
|
declare const _default$9: __VLS_WithSlots$3<typeof __VLS_component$3, __VLS_Slots$3>;
|
|
3643
3615
|
|
|
3644
3616
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -3657,94 +3629,60 @@ type __VLS_PublicProps$1 = __VLS_Props$7 & {
|
|
|
3657
3629
|
'width'?: number;
|
|
3658
3630
|
'visible'?: boolean;
|
|
3659
3631
|
};
|
|
3660
|
-
declare const _default$8:
|
|
3632
|
+
declare const _default$8: _vue_runtime_core.DefineComponent<__VLS_PublicProps$1, {
|
|
3661
3633
|
show(): Promise<void>;
|
|
3662
3634
|
hide(): Promise<void>;
|
|
3663
|
-
}, {}, {}, {},
|
|
3635
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
3664
3636
|
close: () => any;
|
|
3665
|
-
open: () => any;
|
|
3666
3637
|
submit: (values: CodeBlockContent, eventData: ContainerChangeEventData$1) => any;
|
|
3638
|
+
open: () => any;
|
|
3667
3639
|
"update:width": (value: number) => any;
|
|
3668
3640
|
"update:visible": (value: boolean) => any;
|
|
3669
|
-
}, string,
|
|
3641
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_PublicProps$1> & Readonly<{
|
|
3670
3642
|
onClose?: (() => any) | undefined;
|
|
3671
|
-
onOpen?: (() => any) | undefined;
|
|
3672
3643
|
onSubmit?: ((values: CodeBlockContent, eventData: ContainerChangeEventData$1) => any) | undefined;
|
|
3644
|
+
onOpen?: (() => any) | undefined;
|
|
3673
3645
|
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
3674
3646
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
3675
|
-
}>, {}, {}, {}, {}, string,
|
|
3647
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3676
3648
|
|
|
3677
3649
|
interface Position {
|
|
3678
3650
|
left: number;
|
|
3679
3651
|
top: number;
|
|
3680
3652
|
}
|
|
3681
|
-
declare const visible: vue.ModelRef<boolean, string, boolean, boolean>;
|
|
3682
3653
|
type __VLS_Props$6 = {
|
|
3683
3654
|
position?: Position;
|
|
3684
3655
|
title?: string;
|
|
3685
3656
|
beforeClose?: (_done: (_cancel?: boolean) => void) => void;
|
|
3686
3657
|
};
|
|
3687
|
-
declare const curZIndex: vue.Ref<number, number>;
|
|
3688
|
-
declare const bodyHeight: vue.ComputedRef<number | "auto">;
|
|
3689
|
-
declare const style: vue.ComputedRef<{
|
|
3690
|
-
left: string;
|
|
3691
|
-
top: string;
|
|
3692
|
-
width: string;
|
|
3693
|
-
height: string;
|
|
3694
|
-
}>;
|
|
3695
|
-
declare const closeHandler: () => void;
|
|
3696
|
-
declare const nextZIndex: () => void;
|
|
3697
3658
|
type __VLS_PublicProps = __VLS_Props$6 & {
|
|
3698
3659
|
'width'?: number;
|
|
3699
3660
|
'height'?: number;
|
|
3700
3661
|
'visible'?: boolean;
|
|
3701
3662
|
};
|
|
3702
|
-
declare
|
|
3703
|
-
declare var
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
title?: (props: typeof __VLS_5) => any;
|
|
3663
|
+
declare var __VLS_6: {};
|
|
3664
|
+
declare var __VLS_20: {};
|
|
3665
|
+
type __VLS_Slots$2 = {} & {
|
|
3666
|
+
title?: (props: typeof __VLS_6) => any;
|
|
3707
3667
|
} & {
|
|
3708
|
-
body?: (props: typeof
|
|
3709
|
-
}
|
|
3710
|
-
declare const
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
curZIndex: typeof curZIndex;
|
|
3716
|
-
bodyHeight: typeof bodyHeight;
|
|
3717
|
-
style: typeof style;
|
|
3718
|
-
closeHandler: typeof closeHandler;
|
|
3719
|
-
nextZIndex: typeof nextZIndex;
|
|
3720
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3721
|
-
"update:width": (value: number) => any;
|
|
3722
|
-
"update:height": (value: number) => any;
|
|
3723
|
-
"update:visible": (value: boolean) => any;
|
|
3724
|
-
}, string, vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
3725
|
-
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
3726
|
-
"onUpdate:height"?: ((value: number) => any) | undefined;
|
|
3727
|
-
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
3728
|
-
}>, {
|
|
3729
|
-
title: string;
|
|
3730
|
-
position: Position;
|
|
3731
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
3732
|
-
declare const __VLS_component$2: vue.DefineComponent<__VLS_PublicProps, {
|
|
3733
|
-
bodyHeight: vue.ComputedRef<number | "auto">;
|
|
3734
|
-
target: Readonly<vue.ShallowRef<HTMLDivElement | null>>;
|
|
3735
|
-
titleEl: Readonly<vue.ShallowRef<HTMLDivElement | null>>;
|
|
3736
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3668
|
+
body?: (props: typeof __VLS_20) => any;
|
|
3669
|
+
};
|
|
3670
|
+
declare const __VLS_component$2: _vue_runtime_core.DefineComponent<__VLS_PublicProps, {
|
|
3671
|
+
bodyHeight: _vue_reactivity.ComputedRef<number | "auto">;
|
|
3672
|
+
target: Readonly<_vue_reactivity.ShallowRef<HTMLDivElement | null>>;
|
|
3673
|
+
titleEl: Readonly<_vue_reactivity.ShallowRef<HTMLDivElement | null>>;
|
|
3674
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
3737
3675
|
"update:width": (value: number) => any;
|
|
3738
3676
|
"update:height": (value: number) => any;
|
|
3739
3677
|
"update:visible": (value: boolean) => any;
|
|
3740
|
-
}, string,
|
|
3678
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
3741
3679
|
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
3742
3680
|
"onUpdate:height"?: ((value: number) => any) | undefined;
|
|
3743
3681
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
3744
3682
|
}>, {
|
|
3745
3683
|
title: string;
|
|
3746
3684
|
position: Position;
|
|
3747
|
-
}, {}, {}, {}, string,
|
|
3685
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3748
3686
|
declare const _default$7: __VLS_WithSlots$2<typeof __VLS_component$2, __VLS_Slots$2>;
|
|
3749
3687
|
|
|
3750
3688
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -3771,7 +3709,7 @@ type __VLS_Props$5 = {
|
|
|
3771
3709
|
nextLevelIndentIncrement?: number;
|
|
3772
3710
|
emptyText?: string;
|
|
3773
3711
|
};
|
|
3774
|
-
declare const __VLS_component$1:
|
|
3712
|
+
declare const __VLS_component$1: _vue_runtime_core.DefineComponent<__VLS_Props$5, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
3775
3713
|
"node-click": (event: MouseEvent, data: TreeNodeData) => any;
|
|
3776
3714
|
"node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
|
|
3777
3715
|
"node-dragstart": (event: DragEvent, data: TreeNodeData) => any;
|
|
@@ -3779,7 +3717,7 @@ declare const __VLS_component$1: vue.DefineComponent<__VLS_Props$5, {}, {}, {},
|
|
|
3779
3717
|
"node-dragend": (event: DragEvent, data: TreeNodeData) => any;
|
|
3780
3718
|
"node-mouseenter": (event: MouseEvent, data: TreeNodeData) => any;
|
|
3781
3719
|
"node-dragover": (event: DragEvent) => any;
|
|
3782
|
-
}, string,
|
|
3720
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$5> & Readonly<{
|
|
3783
3721
|
"onNode-click"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
3784
3722
|
"onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
3785
3723
|
"onNode-dragstart"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
|
|
@@ -3790,7 +3728,7 @@ declare const __VLS_component$1: vue.DefineComponent<__VLS_Props$5, {}, {}, {},
|
|
|
3790
3728
|
}>, {
|
|
3791
3729
|
emptyText: string;
|
|
3792
3730
|
indent: number;
|
|
3793
|
-
}, {}, {}, {}, string,
|
|
3731
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3794
3732
|
declare const _default$6: __VLS_WithSlots$1<typeof __VLS_component$1, __VLS_Slots$1>;
|
|
3795
3733
|
|
|
3796
3734
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -3818,14 +3756,14 @@ type __VLS_Props$4 = {
|
|
|
3818
3756
|
indent?: number;
|
|
3819
3757
|
nextLevelIndentIncrement?: number;
|
|
3820
3758
|
};
|
|
3821
|
-
declare const __VLS_component:
|
|
3759
|
+
declare const __VLS_component: _vue_runtime_core.DefineComponent<__VLS_Props$4, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
3822
3760
|
"node-click": (event: MouseEvent, data: TreeNodeData) => any;
|
|
3823
3761
|
"node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
|
|
3824
3762
|
"node-dragstart": (event: DragEvent, data: TreeNodeData) => any;
|
|
3825
3763
|
"node-dragleave": (event: DragEvent, data: TreeNodeData) => any;
|
|
3826
3764
|
"node-dragend": (event: DragEvent, data: TreeNodeData) => any;
|
|
3827
3765
|
"node-mouseenter": (event: MouseEvent, data: TreeNodeData) => any;
|
|
3828
|
-
}, string,
|
|
3766
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$4> & Readonly<{
|
|
3829
3767
|
"onNode-click"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
3830
3768
|
"onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
3831
3769
|
"onNode-dragstart"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
|
|
@@ -3836,7 +3774,7 @@ declare const __VLS_component: vue.DefineComponent<__VLS_Props$4, {}, {}, {}, {}
|
|
|
3836
3774
|
indent: number;
|
|
3837
3775
|
parentsId: Id[];
|
|
3838
3776
|
nextLevelIndentIncrement: number;
|
|
3839
|
-
}, {}, {}, {}, string,
|
|
3777
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3840
3778
|
declare const _default$5: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
3841
3779
|
|
|
3842
3780
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -3846,40 +3784,40 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
3846
3784
|
};
|
|
3847
3785
|
|
|
3848
3786
|
type __VLS_Props$3 = FieldProps<PageFragmentSelectConfig>;
|
|
3849
|
-
declare const _default$4:
|
|
3787
|
+
declare const _default$4: _vue_runtime_core.DefineComponent<__VLS_Props$3, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
3850
3788
|
change: (...args: any[]) => void;
|
|
3851
|
-
}, string,
|
|
3789
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$3> & Readonly<{
|
|
3852
3790
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
3853
3791
|
}>, {
|
|
3854
3792
|
disabled: boolean;
|
|
3855
|
-
}, {}, {}, {}, string,
|
|
3793
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3856
3794
|
|
|
3857
3795
|
type __VLS_Props$2 = FieldProps<DisplayCondsConfig>;
|
|
3858
|
-
declare const _default$3:
|
|
3796
|
+
declare const _default$3: _vue_runtime_core.DefineComponent<__VLS_Props$2, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
3859
3797
|
change: (value: DisplayCond[], eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
3860
|
-
}, string,
|
|
3798
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$2> & Readonly<{
|
|
3861
3799
|
onChange?: ((value: DisplayCond[], eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
3862
3800
|
}>, {
|
|
3863
3801
|
disabled: boolean;
|
|
3864
|
-
}, {}, {}, {}, string,
|
|
3802
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3865
3803
|
|
|
3866
3804
|
type __VLS_Props$1 = FieldProps<CondOpSelectConfig>;
|
|
3867
|
-
declare const _default$2:
|
|
3805
|
+
declare const _default$2: _vue_runtime_core.DefineComponent<__VLS_Props$1, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
3868
3806
|
change: (value: string) => any;
|
|
3869
|
-
}, string,
|
|
3807
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$1> & Readonly<{
|
|
3870
3808
|
onChange?: ((value: string) => any) | undefined;
|
|
3871
|
-
}>, {}, {}, {}, {}, string,
|
|
3809
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3872
3810
|
|
|
3873
3811
|
type __VLS_Props = FieldProps<StyleSchema>;
|
|
3874
|
-
declare const _default$1:
|
|
3812
|
+
declare const _default$1: _vue_runtime_core.DefineComponent<__VLS_Props, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
3875
3813
|
change: (v: any, eventData: ContainerChangeEventData$1) => any;
|
|
3876
|
-
}, string,
|
|
3814
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
3877
3815
|
onChange?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
|
|
3878
|
-
}>, {}, {}, {}, {}, string,
|
|
3816
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
3879
3817
|
|
|
3880
3818
|
declare const _default: {
|
|
3881
3819
|
install: (app: App, opt?: Partial<EditorInstallOptions | DesignPluginOptions | FormInstallOptions>) => void;
|
|
3882
3820
|
};
|
|
3883
3821
|
|
|
3884
|
-
export { CODE_DRAFT_STORAGE_KEY, COPY_CODE_STORAGE_KEY, COPY_DS_STORAGE_KEY, COPY_STORAGE_KEY, _default$8 as CodeBlockEditor, _default$i as CodeBlockList, _default$h as CodeBlockListPanel, CodeDeleteErrorType, _default$t as CodeSelect, _default$s as CodeSelectCol, ColumnLayout, _default$v as ComponentListPanel, _default$2 as CondOpSelect, _default$c as ContentMenu, DEFAULT_LEFT_COLUMN_WIDTH, DEFAULT_RIGHT_COLUMN_WIDTH, _default$g as DataSourceConfigPanel, _default$l as DataSourceFieldSelect, _default$r as DataSourceFields, _default$o as DataSourceInput, _default$m as DataSourceMethodSelect, _default$p as DataSourceMethods, _default$q as DataSourceMocks, _default$n as DataSourceSelect, _default$3 as DisplayConds, DragType, _default$k as EventSelect, Fixed2Other, _default$7 as FloatingBox, H_GUIDE_LINE_STORAGE_KEY, _default$b as Icon, IdleTask, KeyBindingCommand, _default$j as KeyValue, Keys, LEFT_COLUMN_WIDTH_STORAGE_KEY, LayerOffset, _default$u as LayerPanel, Layout, _default$
|
|
3822
|
+
export { CODE_DRAFT_STORAGE_KEY, COPY_CODE_STORAGE_KEY, COPY_DS_STORAGE_KEY, COPY_STORAGE_KEY, _default$8 as CodeBlockEditor, _default$i as CodeBlockList, _default$h as CodeBlockListPanel, CodeDeleteErrorType, _default$t as CodeSelect, _default$s as CodeSelectCol, ColumnLayout, _default$v as ComponentListPanel, _default$2 as CondOpSelect, _default$c as ContentMenu, DEFAULT_LEFT_COLUMN_WIDTH, DEFAULT_RIGHT_COLUMN_WIDTH, _default$g as DataSourceConfigPanel, _default$l as DataSourceFieldSelect, _default$r as DataSourceFields, _default$o as DataSourceInput, _default$m as DataSourceMethodSelect, _default$p as DataSourceMethods, _default$q as DataSourceMocks, _default$n as DataSourceSelect, _default$3 as DisplayConds, DragType, _default$k as EventSelect, Fixed2Other, _default$7 as FloatingBox, H_GUIDE_LINE_STORAGE_KEY, _default$b as Icon, IdleTask, KeyBindingCommand, _default$j as KeyValue, Keys, LEFT_COLUMN_WIDTH_STORAGE_KEY, LayerOffset, _default$u as LayerPanel, Layout, _default$a as LayoutContainer, MIN_CENTER_COLUMN_WIDTH, MIN_LEFT_COLUMN_WIDTH, MIN_RIGHT_COLUMN_WIDTH, PROPS_PANEL_WIDTH_STORAGE_KEY, _default$4 as PageFragmentSelect, _default$e as PropsFormPanel, _default$f as PropsPanel, RIGHT_COLUMN_WIDTH_STORAGE_KEY, _default$9 as Resizer, ScrollViewer, SideItemKey, _default$a as SplitView, _default$1 as StyleSetter, _default$w as TMagicCodeEditor, _default$x as TMagicEditor, _default$d as ToolButton, _default$6 as Tree, _default$5 as TreeNode, UI_SELECT_MODE_EVENT_NAME, UndoRedo, V_GUIDE_LINE_STORAGE_KEY, advancedTabConfig, arrayOptions, beforePaste, change2Fixed, _default$H as codeBlockService, _default$G as dataSourceService, debug, _default as default, _default$F as depService, displayTabConfig, _default$E as editorService, eqOptions, error, eventTabConfig, _default$D as eventsService, fillConfig, fixNodeLeft, fixNodePosition, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getDefaultConfig, getDisplayField, getEditorConfig, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getNodeIndex, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, _default$C as historyService, info, isIncludeDataSource, log, moveItemsInContainer, numberOptions, _default$B as propsService, removeDataSourceFieldPrefix, serializeConfig, setChildrenLayout, setEditorConfig, setLayout, _default$A as stageOverlayService, _default$z as storageService, styleTabConfig, _default$y as uiService, updateStatus, useCodeBlockEdit, useEditorContentHeight, useFilter, useFloatBox, useGetSo, useNextFloatBoxPosition, useNodeStatus, useServices, useStage, useWindowRect, warn };
|
|
3885
3823
|
export type { AddMNode, AddPrefixToObject, AsyncAfterHook, AsyncBeforeHook, AsyncHookPlugin, BeforeAdd, CodeBlockListPanelSlots, CodeBlockListSlots, CodeDslItem, CodeParamStatement, CodeRelation, CodeState, CombineInfo, ComponentGroup, ComponentGroupState, ComponentItem, ComponentListPanelSlots, CustomContentMenuFunction, DataSourceListSlots, DatasourceTypeOption, EditorInstallOptions, EditorNodeInfo, EditorSlots, EventBus, EventBusEvent, FrameworkSlots, GetColumnWidth, GetConfig, HistoryState, IdleTaskEvents, KeyBindingCacheItem, KeyBindingItem, LayerNodeSlots, LayerNodeStatus, LayerPanelSlots, ListState, MenuBarData, MenuButton, MenuComponent, MenuItem, PageBarSortOptions, PartSortableOptions, PastePosition, PropsFormConfigFunction, PropsFormValueFunction, PropsPanelSlots, PropsState, ScrollViewerEvent, Services, SetColumnWidth, SideBarData, SideComponent, SideItem, SidebarSlots, StageOptions, StageOverlayState, StageRect, StepValue, StoreState, StoreStateKey, SyncAfterHook, SyncBeforeHook, SyncHookPlugin, TreeNodeData, UiState, WorkspaceSlots };
|