@tmagic/editor 1.5.0 → 1.5.2
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 +153 -6
- package/dist/tmagic-editor.js +907 -528
- package/dist/tmagic-editor.umd.cjs +932 -552
- package/package.json +10 -10
- package/src/Editor.vue +18 -5
- package/src/components/CodeBlockEditor.vue +3 -3
- package/src/components/CodeParams.vue +2 -2
- package/src/components/ContentMenu.vue +18 -18
- package/src/components/FloatingBox.vue +3 -3
- package/src/components/Resizer.vue +4 -4
- package/src/components/ScrollBar.vue +3 -3
- package/src/components/ScrollViewer.vue +3 -3
- package/src/components/SplitView.vue +2 -2
- package/src/components/ToolButton.vue +2 -1
- package/src/editorProps.ts +3 -1
- package/src/fields/DataSourceFieldSelect/Index.vue +6 -6
- package/src/fields/DataSourceInput.vue +2 -2
- package/src/fields/DataSourceMethods.vue +2 -2
- package/src/fields/DataSourceMocks.vue +0 -1
- package/src/fields/EventSelect.vue +0 -1
- package/src/fields/KeyValue.vue +2 -2
- package/src/hooks/use-code-block-edit.ts +2 -2
- package/src/hooks/use-getso.ts +7 -7
- package/src/index.ts +2 -1
- package/src/layouts/CodeEditor.vue +2 -2
- package/src/layouts/Framework.vue +5 -8
- package/src/layouts/NavMenu.vue +2 -2
- package/src/layouts/page-bar/PageBar.vue +3 -3
- package/src/layouts/page-bar/PageBarScrollContainer.vue +3 -3
- package/src/layouts/props-panel/FormPanel.vue +123 -0
- package/src/layouts/props-panel/PropsPanel.vue +146 -0
- package/src/layouts/props-panel/use-style-panel.ts +29 -0
- package/src/layouts/sidebar/Sidebar.vue +4 -1
- package/src/layouts/sidebar/code-block/CodeBlockList.vue +12 -1
- package/src/layouts/sidebar/code-block/CodeBlockListPanel.vue +35 -4
- package/src/layouts/sidebar/code-block/useContentMenu.ts +83 -0
- package/src/layouts/sidebar/data-source/DataSourceList.vue +8 -8
- package/src/layouts/sidebar/data-source/DataSourceListPanel.vue +40 -4
- package/src/layouts/sidebar/data-source/useContentMenu.ts +81 -0
- package/src/layouts/sidebar/layer/LayerMenu.vue +7 -13
- package/src/layouts/sidebar/layer/LayerPanel.vue +11 -4
- package/src/layouts/sidebar/layer/use-click.ts +2 -2
- package/src/layouts/sidebar/layer/use-keybinding.ts +2 -2
- package/src/layouts/workspace/Workspace.vue +9 -2
- package/src/layouts/workspace/viewer/NodeListMenu.vue +3 -3
- package/src/layouts/workspace/viewer/Stage.vue +18 -6
- package/src/layouts/workspace/viewer/StageOverlay.vue +2 -2
- package/src/layouts/workspace/viewer/ViewerMenu.vue +4 -6
- package/src/services/storage.ts +2 -1
- package/src/services/ui.ts +1 -0
- package/src/theme/common/var.scss +12 -10
- package/src/theme/component-list-panel.scss +9 -7
- package/src/theme/content-menu.scss +7 -5
- package/src/theme/data-source.scss +3 -1
- package/src/theme/floating-box.scss +4 -2
- package/src/theme/framework.scss +7 -5
- package/src/theme/index.scss +4 -5
- package/src/theme/key-value.scss +2 -2
- package/src/theme/layer-panel.scss +3 -1
- package/src/theme/layout.scss +1 -1
- package/src/theme/nav-menu.scss +7 -5
- package/src/theme/page-bar.scss +17 -15
- package/src/theme/props-panel.scss +81 -1
- package/src/theme/resizer.scss +1 -1
- package/src/theme/sidebar.scss +4 -2
- package/src/theme/stage.scss +3 -1
- package/src/theme/theme.scss +28 -28
- package/src/theme/tree.scss +14 -12
- package/src/type.ts +8 -0
- package/src/utils/content-menu.ts +2 -2
- package/src/utils/props.ts +45 -3
- package/types/index.d.ts +1796 -1230
- package/src/layouts/PropsPanel.vue +0 -131
package/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
|
-
import { Component, ComputedRef, Ref, App } from 'vue';
|
|
2
|
+
import { Component, ComputedRef, Ref, ShallowRef, App } from 'vue';
|
|
3
3
|
import { TMagicMessageBox, TMagicMessage, DesignPluginOptions } from '@tmagic/design';
|
|
4
4
|
export * from '@tmagic/design';
|
|
5
5
|
export { default as designPlugin } from '@tmagic/design';
|
|
@@ -213,7 +213,7 @@ declare class CodeBlock extends export_default {
|
|
|
213
213
|
usePlugin(options: AsyncHookPlugin<AsyncMethodName$3, CodeBlock>): void;
|
|
214
214
|
}
|
|
215
215
|
type CodeBlockService = CodeBlock;
|
|
216
|
-
declare const _default$
|
|
216
|
+
declare const _default$G: CodeBlock;
|
|
217
217
|
|
|
218
218
|
declare class ComponentList extends export_default {
|
|
219
219
|
private state;
|
|
@@ -289,7 +289,7 @@ declare class DataSource extends export_default {
|
|
|
289
289
|
paste(): void;
|
|
290
290
|
}
|
|
291
291
|
type DataSourceService = DataSource;
|
|
292
|
-
declare const _default$
|
|
292
|
+
declare const _default$F: DataSource;
|
|
293
293
|
|
|
294
294
|
interface DepEvents {
|
|
295
295
|
'add-target': [target: Target];
|
|
@@ -328,7 +328,7 @@ declare class Dep extends export_default {
|
|
|
328
328
|
private enqueueTask;
|
|
329
329
|
}
|
|
330
330
|
type DepService = Dep;
|
|
331
|
-
declare const _default$
|
|
331
|
+
declare const _default$E: Dep;
|
|
332
332
|
|
|
333
333
|
interface EditorEvents {
|
|
334
334
|
'root-change': [value: StoreState['root'], preValue?: StoreState['root']];
|
|
@@ -514,7 +514,7 @@ declare class Editor extends export_default {
|
|
|
514
514
|
private selectedConfigExceptionHandler;
|
|
515
515
|
}
|
|
516
516
|
type EditorService = Editor;
|
|
517
|
-
declare const _default$
|
|
517
|
+
declare const _default$D: Editor;
|
|
518
518
|
|
|
519
519
|
declare class Events extends export_default {
|
|
520
520
|
constructor();
|
|
@@ -529,7 +529,7 @@ declare class Events extends export_default {
|
|
|
529
529
|
destroy(): void;
|
|
530
530
|
}
|
|
531
531
|
type EventsService = Events;
|
|
532
|
-
declare const _default$
|
|
532
|
+
declare const _default$C: Events;
|
|
533
533
|
|
|
534
534
|
declare class UndoRedo<T = any> {
|
|
535
535
|
private elementList;
|
|
@@ -564,7 +564,7 @@ declare class History extends export_default {
|
|
|
564
564
|
private setCanUndoRedo;
|
|
565
565
|
}
|
|
566
566
|
type HistoryService = History;
|
|
567
|
-
declare const _default$
|
|
567
|
+
declare const _default$B: History;
|
|
568
568
|
|
|
569
569
|
declare class Keybinding extends export_default {
|
|
570
570
|
ctrlKey: string;
|
|
@@ -687,7 +687,7 @@ declare class Props extends export_default {
|
|
|
687
687
|
private setRelateId;
|
|
688
688
|
}
|
|
689
689
|
type PropsService = Props;
|
|
690
|
-
declare const _default$
|
|
690
|
+
declare const _default$A: Props;
|
|
691
691
|
|
|
692
692
|
declare const canUsePluginMethods$2: {
|
|
693
693
|
async: never[];
|
|
@@ -713,7 +713,7 @@ declare class StageOverlay extends export_default {
|
|
|
713
713
|
private updateSelectStatus;
|
|
714
714
|
}
|
|
715
715
|
type StageOverlayService = StageOverlay;
|
|
716
|
-
declare const _default$
|
|
716
|
+
declare const _default$z: StageOverlay;
|
|
717
717
|
|
|
718
718
|
interface Options {
|
|
719
719
|
namespace?: string;
|
|
@@ -775,7 +775,7 @@ declare class WebStorage extends export_default {
|
|
|
775
775
|
private getValueAndProtocol;
|
|
776
776
|
}
|
|
777
777
|
type StorageService = WebStorage;
|
|
778
|
-
declare const _default$
|
|
778
|
+
declare const _default$y: WebStorage;
|
|
779
779
|
|
|
780
780
|
declare const canUsePluginMethods: {
|
|
781
781
|
async: readonly ["zoom", "calcZoom"];
|
|
@@ -788,6 +788,7 @@ declare class Ui extends export_default {
|
|
|
788
788
|
get<K extends keyof UiState>(name: K): {
|
|
789
789
|
uiSelectMode: boolean;
|
|
790
790
|
showSrc: boolean;
|
|
791
|
+
showStylePanel: boolean;
|
|
791
792
|
zoom: number;
|
|
792
793
|
stageContainerRect: {
|
|
793
794
|
width: number;
|
|
@@ -849,7 +850,7 @@ declare class Ui extends export_default {
|
|
|
849
850
|
private setStageRect;
|
|
850
851
|
}
|
|
851
852
|
type UiService = Ui;
|
|
852
|
-
declare const _default$
|
|
853
|
+
declare const _default$x: Ui;
|
|
853
854
|
|
|
854
855
|
interface FrameworkSlots {
|
|
855
856
|
header(props: {}): any;
|
|
@@ -1015,6 +1016,8 @@ interface UiState {
|
|
|
1015
1016
|
uiSelectMode: boolean;
|
|
1016
1017
|
/** 是否显示整个配置源码, true: 显示, false: 不显示,默认为false */
|
|
1017
1018
|
showSrc: boolean;
|
|
1019
|
+
/** 是否将样式配置单独一列显示, true: 显示, false: 不显示,默认为true */
|
|
1020
|
+
showStylePanel: boolean;
|
|
1018
1021
|
/** 画布显示放大倍数,默认为 1 */
|
|
1019
1022
|
zoom: number;
|
|
1020
1023
|
/** 画布容器的宽高 */
|
|
@@ -1465,6 +1468,7 @@ type AsyncHookPlugin<T extends Array<string>, C extends Record<T[number], (...ar
|
|
|
1465
1468
|
type SyncHookPlugin<T extends Array<string>, C extends Record<T[number], (...args: any) => any>> = AddPrefixToObject<PascalCasedProperties<SyncBeforeHook<T, C>>, 'before'> & AddPrefixToObject<PascalCasedProperties<SyncAfterHook<T, C>>, 'after'>;
|
|
1466
1469
|
interface EventBusEvent {
|
|
1467
1470
|
'edit-data-source': [id: string];
|
|
1471
|
+
'remove-data-source': [id: string];
|
|
1468
1472
|
'edit-code': [id: string];
|
|
1469
1473
|
}
|
|
1470
1474
|
interface EventBus extends EventEmitter$1 {
|
|
@@ -1484,6 +1488,7 @@ interface PageBarSortOptions extends PartSortableOptions {
|
|
|
1484
1488
|
/** 在onStart之前调用 */
|
|
1485
1489
|
beforeStart?: (event: SortableEvent, sortable: Sortable) => void | Promise<void>;
|
|
1486
1490
|
}
|
|
1491
|
+
type CustomContentMenuFunction = (menus: (MenuButton | MenuComponent)[], type: 'layer' | 'data-source' | 'viewer' | 'code-block') => (MenuButton | MenuComponent)[];
|
|
1487
1492
|
|
|
1488
1493
|
interface ChangeRecord {
|
|
1489
1494
|
propPath?: string;
|
|
@@ -2065,7 +2070,7 @@ type FormValue = Record<string | number, any>;
|
|
|
2065
2070
|
declare const useCodeBlockEdit: (codeBlockService?: CodeBlockService) => {
|
|
2066
2071
|
codeId: vue.Ref<string | undefined, string | undefined>;
|
|
2067
2072
|
codeConfig: vue.Ref<CodeBlockContent | undefined, CodeBlockContent | undefined>;
|
|
2068
|
-
codeBlockEditor: vue.
|
|
2073
|
+
codeBlockEditor: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
2069
2074
|
width?: number;
|
|
2070
2075
|
visible?: boolean;
|
|
2071
2076
|
} & {
|
|
@@ -2106,48 +2111,7 @@ declare const useCodeBlockEdit: (codeBlockService?: CodeBlockService) => {
|
|
|
2106
2111
|
}>, {
|
|
2107
2112
|
show(): Promise<void>;
|
|
2108
2113
|
hide(): Promise<void>;
|
|
2109
|
-
}, {}, {}, {}, {}> |
|
|
2110
|
-
width?: number;
|
|
2111
|
-
visible?: boolean;
|
|
2112
|
-
} & {
|
|
2113
|
-
content: CodeBlockContent;
|
|
2114
|
-
disabled?: boolean;
|
|
2115
|
-
isDataSource?: boolean;
|
|
2116
|
-
dataSourceType?: string;
|
|
2117
|
-
}> & Readonly<{
|
|
2118
|
-
onSubmit?: ((values: CodeBlockContent, eventData: ContainerChangeEventData) => any) | undefined;
|
|
2119
|
-
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
2120
|
-
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
2121
|
-
}>, {
|
|
2122
|
-
show(): Promise<void>;
|
|
2123
|
-
hide(): Promise<void>;
|
|
2124
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2125
|
-
submit: (values: CodeBlockContent, eventData: ContainerChangeEventData) => any;
|
|
2126
|
-
"update:width": (value: number) => any;
|
|
2127
|
-
"update:visible": (value: boolean) => any;
|
|
2128
|
-
}, vue.PublicProps, {}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
2129
|
-
P: {};
|
|
2130
|
-
B: {};
|
|
2131
|
-
D: {};
|
|
2132
|
-
C: {};
|
|
2133
|
-
M: {};
|
|
2134
|
-
Defaults: {};
|
|
2135
|
-
}, Readonly<{
|
|
2136
|
-
width?: number;
|
|
2137
|
-
visible?: boolean;
|
|
2138
|
-
} & {
|
|
2139
|
-
content: CodeBlockContent;
|
|
2140
|
-
disabled?: boolean;
|
|
2141
|
-
isDataSource?: boolean;
|
|
2142
|
-
dataSourceType?: string;
|
|
2143
|
-
}> & Readonly<{
|
|
2144
|
-
onSubmit?: ((values: CodeBlockContent, eventData: ContainerChangeEventData) => any) | undefined;
|
|
2145
|
-
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
2146
|
-
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
2147
|
-
}>, {
|
|
2148
|
-
show(): Promise<void>;
|
|
2149
|
-
hide(): Promise<void>;
|
|
2150
|
-
}, {}, {}, {}, {}> | undefined>;
|
|
2114
|
+
}, {}, {}, {}, {}> | null>>;
|
|
2151
2115
|
createCodeBlock: () => Promise<void>;
|
|
2152
2116
|
editCode: (id: string) => Promise<void>;
|
|
2153
2117
|
deleteCode: (key: string) => Promise<void>;
|
|
@@ -2188,8 +2152,8 @@ declare const useFilter: (nodeData: Ref<TreeNodeData[]>, nodeStatusMap: Ref<Map<
|
|
|
2188
2152
|
filterTextChangeHandler(text: string | string[]): void;
|
|
2189
2153
|
};
|
|
2190
2154
|
|
|
2191
|
-
declare const useGetSo: (target:
|
|
2192
|
-
|
|
2155
|
+
declare const useGetSo: (target: ShallowRef<HTMLElement | null>, emit: (evt: "change", e: OnDrag<gesto__default>) => void) => {
|
|
2156
|
+
isDragging: vue.Ref<boolean, boolean>;
|
|
2193
2157
|
};
|
|
2194
2158
|
|
|
2195
2159
|
declare const useNextFloatBoxPosition: (uiService?: UiService, parent?: Ref<HTMLDivElement | null>) => {
|
|
@@ -2460,7 +2424,7 @@ interface EditorProps {
|
|
|
2460
2424
|
/** 用于设置画布上的dom是否可以被拖入其中 */
|
|
2461
2425
|
isContainer?: (el: HTMLElement) => boolean | Promise<boolean>;
|
|
2462
2426
|
/** 用于自定义组件树与画布的右键菜单 */
|
|
2463
|
-
customContentMenu?:
|
|
2427
|
+
customContentMenu?: CustomContentMenuFunction;
|
|
2464
2428
|
extendFormState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
2465
2429
|
/** 页面顺序拖拽配置参数 */
|
|
2466
2430
|
pageBarSortOptions?: PageBarSortOptions;
|
|
@@ -2468,7 +2432,7 @@ interface EditorProps {
|
|
|
2468
2432
|
pageFilterFunction?: (page: MPage | MPageFragment, keyword: string) => boolean;
|
|
2469
2433
|
}
|
|
2470
2434
|
|
|
2471
|
-
declare function __VLS_template$
|
|
2435
|
+
declare function __VLS_template$c(): {
|
|
2472
2436
|
attrs: Partial<{}>;
|
|
2473
2437
|
slots: Readonly<FrameworkSlots & WorkspaceSlots & LayerPanelSlots & CodeBlockListPanelSlots & ComponentListPanelSlots & DataSourceListSlots & PropsPanelSlots & {
|
|
2474
2438
|
workspace(props: {
|
|
@@ -2488,8 +2452,8 @@ declare function __VLS_template$b(): {
|
|
|
2488
2452
|
refs: {};
|
|
2489
2453
|
rootEl: HTMLDivElement;
|
|
2490
2454
|
};
|
|
2491
|
-
type __VLS_TemplateResult$
|
|
2492
|
-
declare const __VLS_component$
|
|
2455
|
+
type __VLS_TemplateResult$c = ReturnType<typeof __VLS_template$c>;
|
|
2456
|
+
declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
2493
2457
|
editorService: EditorService;
|
|
2494
2458
|
historyService: HistoryService;
|
|
2495
2459
|
storageService: StorageService;
|
|
@@ -2508,11 +2472,17 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
|
|
|
2508
2472
|
$: vue.ComponentInternalInstance;
|
|
2509
2473
|
$data: {};
|
|
2510
2474
|
$props: {
|
|
2475
|
+
readonly config: FormConfig;
|
|
2476
|
+
readonly values: FormValue;
|
|
2511
2477
|
readonly disabledShowSrc?: boolean | undefined;
|
|
2478
|
+
readonly labelWidth?: string | undefined;
|
|
2479
|
+
readonly codeValueKey?: string | undefined;
|
|
2480
|
+
readonly labelPosition?: string | undefined;
|
|
2512
2481
|
readonly extendState?: ((state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
|
|
2513
|
-
readonly onMounted?: ((
|
|
2514
|
-
readonly
|
|
2515
|
-
readonly "
|
|
2482
|
+
readonly onMounted?: ((internalInstance: any) => any) | undefined;
|
|
2483
|
+
readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
2484
|
+
readonly "onSubmit-error"?: ((e: any) => any) | undefined;
|
|
2485
|
+
readonly "onForm-error"?: ((e: any) => any) | undefined;
|
|
2516
2486
|
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps;
|
|
2517
2487
|
$attrs: {
|
|
2518
2488
|
[x: string]: unknown;
|
|
@@ -2526,17 +2496,23 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
|
|
|
2526
2496
|
$root: vue.ComponentPublicInstance | null;
|
|
2527
2497
|
$parent: vue.ComponentPublicInstance | null;
|
|
2528
2498
|
$host: Element | null;
|
|
2529
|
-
$emit: ((event: "mounted",
|
|
2499
|
+
$emit: ((event: "mounted", internalInstance: any) => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData | undefined) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
|
|
2530
2500
|
$el: HTMLDivElement;
|
|
2531
2501
|
$options: vue.ComponentOptionsBase<Readonly<{
|
|
2502
|
+
config: FormConfig;
|
|
2503
|
+
values: FormValue;
|
|
2532
2504
|
disabledShowSrc?: boolean;
|
|
2505
|
+
labelWidth?: string;
|
|
2506
|
+
codeValueKey?: string;
|
|
2507
|
+
labelPosition?: string;
|
|
2533
2508
|
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2534
2509
|
}> & Readonly<{
|
|
2535
|
-
onMounted?: ((
|
|
2536
|
-
|
|
2537
|
-
"
|
|
2510
|
+
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
2511
|
+
onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
2512
|
+
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
2513
|
+
"onForm-error"?: ((e: any) => any) | undefined;
|
|
2538
2514
|
}>, {
|
|
2539
|
-
configForm: vue.
|
|
2515
|
+
configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
2540
2516
|
config: FormConfig;
|
|
2541
2517
|
initValues: Record<string, any>;
|
|
2542
2518
|
lastValues?: Record<string, any>;
|
|
@@ -2639,7 +2615,208 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
|
|
|
2639
2615
|
parentValues: Record<string, any>;
|
|
2640
2616
|
stepActive: string | number;
|
|
2641
2617
|
height: string;
|
|
2642
|
-
}> |
|
|
2618
|
+
}> | null>>;
|
|
2619
|
+
submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
|
|
2620
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2621
|
+
mounted: (internalInstance: any) => any;
|
|
2622
|
+
submit: (values: any, eventData?: ContainerChangeEventData | undefined) => any;
|
|
2623
|
+
"submit-error": (e: any) => any;
|
|
2624
|
+
"form-error": (e: any) => any;
|
|
2625
|
+
}, string, {}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & {
|
|
2626
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
2627
|
+
created?: (() => void) | (() => void)[];
|
|
2628
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
2629
|
+
mounted?: (() => void) | (() => void)[];
|
|
2630
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
2631
|
+
updated?: (() => void) | (() => void)[];
|
|
2632
|
+
activated?: (() => void) | (() => void)[];
|
|
2633
|
+
deactivated?: (() => void) | (() => void)[];
|
|
2634
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
2635
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
2636
|
+
destroyed?: (() => void) | (() => void)[];
|
|
2637
|
+
unmounted?: (() => void) | (() => void)[];
|
|
2638
|
+
renderTracked?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
2639
|
+
renderTriggered?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
2640
|
+
errorCaptured?: ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
2641
|
+
};
|
|
2642
|
+
$forceUpdate: () => void;
|
|
2643
|
+
$nextTick: typeof vue.nextTick;
|
|
2644
|
+
$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.WatchOptions): vue.WatchStopHandle;
|
|
2645
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
2646
|
+
config: FormConfig;
|
|
2647
|
+
values: FormValue;
|
|
2648
|
+
disabledShowSrc?: boolean;
|
|
2649
|
+
labelWidth?: string;
|
|
2650
|
+
codeValueKey?: string;
|
|
2651
|
+
labelPosition?: string;
|
|
2652
|
+
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2653
|
+
}> & Readonly<{
|
|
2654
|
+
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
2655
|
+
onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
2656
|
+
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
2657
|
+
"onForm-error"?: ((e: any) => any) | undefined;
|
|
2658
|
+
}>, "submit" | "configForm"> & vue.ShallowUnwrapRef<{
|
|
2659
|
+
configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
2660
|
+
config: FormConfig;
|
|
2661
|
+
initValues: Record<string, any>;
|
|
2662
|
+
lastValues?: Record<string, any>;
|
|
2663
|
+
isCompare?: boolean;
|
|
2664
|
+
parentValues?: Record<string, any>;
|
|
2665
|
+
labelWidth?: string;
|
|
2666
|
+
disabled?: boolean;
|
|
2667
|
+
height?: string;
|
|
2668
|
+
stepActive?: string | number;
|
|
2669
|
+
size?: "small" | "default" | "large";
|
|
2670
|
+
inline?: boolean;
|
|
2671
|
+
labelPosition?: string;
|
|
2672
|
+
keyProp?: string;
|
|
2673
|
+
popperClass?: string;
|
|
2674
|
+
preventSubmitDefault?: boolean;
|
|
2675
|
+
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2676
|
+
}> & Readonly<{
|
|
2677
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
2678
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
2679
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
2680
|
+
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
2681
|
+
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
2682
|
+
}>, {
|
|
2683
|
+
values: vue.Ref<FormValue, FormValue>;
|
|
2684
|
+
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
2685
|
+
formState: FormState;
|
|
2686
|
+
initialized: vue.Ref<boolean, boolean>;
|
|
2687
|
+
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
2688
|
+
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
2689
|
+
resetForm: () => void;
|
|
2690
|
+
submitForm: (native?: boolean) => Promise<any>;
|
|
2691
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2692
|
+
change: (...args: any[]) => void;
|
|
2693
|
+
error: (...args: any[]) => void;
|
|
2694
|
+
"update:stepActive": (...args: any[]) => void;
|
|
2695
|
+
"field-change": (...args: any[]) => void;
|
|
2696
|
+
"field-input": (...args: any[]) => void;
|
|
2697
|
+
}, vue.PublicProps, {
|
|
2698
|
+
disabled: boolean;
|
|
2699
|
+
labelWidth: string;
|
|
2700
|
+
inline: boolean;
|
|
2701
|
+
labelPosition: string;
|
|
2702
|
+
config: FormConfig;
|
|
2703
|
+
initValues: Record<string, any>;
|
|
2704
|
+
lastValues: Record<string, any>;
|
|
2705
|
+
isCompare: boolean;
|
|
2706
|
+
keyProp: string;
|
|
2707
|
+
parentValues: Record<string, any>;
|
|
2708
|
+
stepActive: string | number;
|
|
2709
|
+
height: string;
|
|
2710
|
+
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
2711
|
+
P: {};
|
|
2712
|
+
B: {};
|
|
2713
|
+
D: {};
|
|
2714
|
+
C: {};
|
|
2715
|
+
M: {};
|
|
2716
|
+
Defaults: {};
|
|
2717
|
+
}, Readonly<{
|
|
2718
|
+
config: FormConfig;
|
|
2719
|
+
initValues: Record<string, any>;
|
|
2720
|
+
lastValues?: Record<string, any>;
|
|
2721
|
+
isCompare?: boolean;
|
|
2722
|
+
parentValues?: Record<string, any>;
|
|
2723
|
+
labelWidth?: string;
|
|
2724
|
+
disabled?: boolean;
|
|
2725
|
+
height?: string;
|
|
2726
|
+
stepActive?: string | number;
|
|
2727
|
+
size?: "small" | "default" | "large";
|
|
2728
|
+
inline?: boolean;
|
|
2729
|
+
labelPosition?: string;
|
|
2730
|
+
keyProp?: string;
|
|
2731
|
+
popperClass?: string;
|
|
2732
|
+
preventSubmitDefault?: boolean;
|
|
2733
|
+
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2734
|
+
}> & Readonly<{
|
|
2735
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
2736
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
2737
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
2738
|
+
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
2739
|
+
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
2740
|
+
}>, {
|
|
2741
|
+
values: vue.Ref<FormValue, FormValue>;
|
|
2742
|
+
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
2743
|
+
formState: FormState;
|
|
2744
|
+
initialized: vue.Ref<boolean, boolean>;
|
|
2745
|
+
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
2746
|
+
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
2747
|
+
resetForm: () => void;
|
|
2748
|
+
submitForm: (native?: boolean) => Promise<any>;
|
|
2749
|
+
}, {}, {}, {}, {
|
|
2750
|
+
disabled: boolean;
|
|
2751
|
+
labelWidth: string;
|
|
2752
|
+
inline: boolean;
|
|
2753
|
+
labelPosition: string;
|
|
2754
|
+
config: FormConfig;
|
|
2755
|
+
initValues: Record<string, any>;
|
|
2756
|
+
lastValues: Record<string, any>;
|
|
2757
|
+
isCompare: boolean;
|
|
2758
|
+
keyProp: string;
|
|
2759
|
+
parentValues: Record<string, any>;
|
|
2760
|
+
stepActive: string | number;
|
|
2761
|
+
height: string;
|
|
2762
|
+
}> | null>>;
|
|
2763
|
+
submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
|
|
2764
|
+
}> & {} & vue.ComponentCustomProperties & {} & {
|
|
2765
|
+
$slots: Readonly<{
|
|
2766
|
+
'props-form-panel-header'(props: {}): any;
|
|
2767
|
+
}> & {
|
|
2768
|
+
'props-form-panel-header'(props: {}): any;
|
|
2769
|
+
};
|
|
2770
|
+
}) => any;
|
|
2771
|
+
"props-form-error": (e: any) => any;
|
|
2772
|
+
"props-submit-error": (e: any) => any;
|
|
2773
|
+
}, string, vue.PublicProps, Readonly<EditorProps> & Readonly<{
|
|
2774
|
+
"onUpdate:modelValue"?: ((value: MApp | null) => any) | undefined;
|
|
2775
|
+
"onProps-panel-mounted"?: ((instance: {
|
|
2776
|
+
$: vue.ComponentInternalInstance;
|
|
2777
|
+
$data: {};
|
|
2778
|
+
$props: {
|
|
2779
|
+
readonly config: FormConfig;
|
|
2780
|
+
readonly values: FormValue;
|
|
2781
|
+
readonly disabledShowSrc?: boolean | undefined;
|
|
2782
|
+
readonly labelWidth?: string | undefined;
|
|
2783
|
+
readonly codeValueKey?: string | undefined;
|
|
2784
|
+
readonly labelPosition?: string | undefined;
|
|
2785
|
+
readonly extendState?: ((state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
|
|
2786
|
+
readonly onMounted?: ((internalInstance: any) => any) | undefined;
|
|
2787
|
+
readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
2788
|
+
readonly "onSubmit-error"?: ((e: any) => any) | undefined;
|
|
2789
|
+
readonly "onForm-error"?: ((e: any) => any) | undefined;
|
|
2790
|
+
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps;
|
|
2791
|
+
$attrs: {
|
|
2792
|
+
[x: string]: unknown;
|
|
2793
|
+
};
|
|
2794
|
+
$refs: {
|
|
2795
|
+
[x: string]: unknown;
|
|
2796
|
+
};
|
|
2797
|
+
$slots: Readonly<{
|
|
2798
|
+
[name: string]: vue.Slot<any> | undefined;
|
|
2799
|
+
}>;
|
|
2800
|
+
$root: vue.ComponentPublicInstance | null;
|
|
2801
|
+
$parent: vue.ComponentPublicInstance | null;
|
|
2802
|
+
$host: Element | null;
|
|
2803
|
+
$emit: ((event: "mounted", internalInstance: any) => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData | undefined) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
|
|
2804
|
+
$el: HTMLDivElement;
|
|
2805
|
+
$options: vue.ComponentOptionsBase<Readonly<{
|
|
2806
|
+
config: FormConfig;
|
|
2807
|
+
values: FormValue;
|
|
2808
|
+
disabledShowSrc?: boolean;
|
|
2809
|
+
labelWidth?: string;
|
|
2810
|
+
codeValueKey?: string;
|
|
2811
|
+
labelPosition?: string;
|
|
2812
|
+
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2813
|
+
}> & Readonly<{
|
|
2814
|
+
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
2815
|
+
onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
2816
|
+
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
2817
|
+
"onForm-error"?: ((e: any) => any) | undefined;
|
|
2818
|
+
}>, {
|
|
2819
|
+
configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
2643
2820
|
config: FormConfig;
|
|
2644
2821
|
initValues: Record<string, any>;
|
|
2645
2822
|
lastValues?: Record<string, any>;
|
|
@@ -2742,12 +2919,13 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
|
|
|
2742
2919
|
parentValues: Record<string, any>;
|
|
2743
2920
|
stepActive: string | number;
|
|
2744
2921
|
height: string;
|
|
2745
|
-
}> |
|
|
2922
|
+
}> | null>>;
|
|
2746
2923
|
submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
|
|
2747
2924
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2748
|
-
mounted: (
|
|
2749
|
-
|
|
2750
|
-
"
|
|
2925
|
+
mounted: (internalInstance: any) => any;
|
|
2926
|
+
submit: (values: any, eventData?: ContainerChangeEventData | undefined) => any;
|
|
2927
|
+
"submit-error": (e: any) => any;
|
|
2928
|
+
"form-error": (e: any) => any;
|
|
2751
2929
|
}, string, {}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & {
|
|
2752
2930
|
beforeCreate?: (() => void) | (() => void)[];
|
|
2753
2931
|
created?: (() => void) | (() => void)[];
|
|
@@ -2769,14 +2947,20 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
|
|
|
2769
2947
|
$nextTick: typeof vue.nextTick;
|
|
2770
2948
|
$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.WatchOptions): vue.WatchStopHandle;
|
|
2771
2949
|
} & Readonly<{}> & Omit<Readonly<{
|
|
2950
|
+
config: FormConfig;
|
|
2951
|
+
values: FormValue;
|
|
2772
2952
|
disabledShowSrc?: boolean;
|
|
2953
|
+
labelWidth?: string;
|
|
2954
|
+
codeValueKey?: string;
|
|
2955
|
+
labelPosition?: string;
|
|
2773
2956
|
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
2774
2957
|
}> & Readonly<{
|
|
2775
|
-
onMounted?: ((
|
|
2776
|
-
|
|
2777
|
-
"
|
|
2958
|
+
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
2959
|
+
onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
2960
|
+
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
2961
|
+
"onForm-error"?: ((e: any) => any) | undefined;
|
|
2778
2962
|
}>, "submit" | "configForm"> & vue.ShallowUnwrapRef<{
|
|
2779
|
-
configForm: vue.
|
|
2963
|
+
configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
2780
2964
|
config: FormConfig;
|
|
2781
2965
|
initValues: Record<string, any>;
|
|
2782
2966
|
lastValues?: Record<string, any>;
|
|
@@ -2879,58 +3063,242 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
|
|
|
2879
3063
|
parentValues: Record<string, any>;
|
|
2880
3064
|
stepActive: string | number;
|
|
2881
3065
|
height: string;
|
|
2882
|
-
}> |
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
3066
|
+
}> | null>>;
|
|
3067
|
+
submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
|
|
3068
|
+
}> & {} & vue.ComponentCustomProperties & {} & {
|
|
3069
|
+
$slots: Readonly<{
|
|
3070
|
+
'props-form-panel-header'(props: {}): any;
|
|
3071
|
+
}> & {
|
|
3072
|
+
'props-form-panel-header'(props: {}): any;
|
|
3073
|
+
};
|
|
3074
|
+
}) => any) | undefined;
|
|
3075
|
+
"onProps-form-error"?: ((e: any) => any) | undefined;
|
|
3076
|
+
"onProps-submit-error"?: ((e: any) => any) | undefined;
|
|
3077
|
+
}>, {
|
|
3078
|
+
menu: MenuBarData;
|
|
3079
|
+
renderType: StageCore.RenderType;
|
|
3080
|
+
disabledMultiSelect: boolean;
|
|
3081
|
+
disabledPageFragment: boolean;
|
|
3082
|
+
codeOptions: {
|
|
3083
|
+
[key: string]: any;
|
|
3084
|
+
};
|
|
3085
|
+
disabledShowSrc: boolean;
|
|
3086
|
+
customContentMenu: CustomContentMenuFunction;
|
|
3087
|
+
layerContentMenu: (MenuButton | MenuComponent)[];
|
|
3088
|
+
isContainer: (el: HTMLElement) => boolean | Promise<boolean>;
|
|
3089
|
+
containerHighlightClassName: string;
|
|
3090
|
+
componentGroupList: ComponentGroup[];
|
|
3091
|
+
stageContentMenu: (MenuButton | MenuComponent)[];
|
|
3092
|
+
disabledStageOverlay: boolean;
|
|
3093
|
+
datasourceList: DatasourceTypeOption[];
|
|
3094
|
+
propsConfigs: Record<string, FormConfig>;
|
|
3095
|
+
propsValues: Record<string, Partial<_tmagic_schema.MNode>>;
|
|
3096
|
+
eventMethodList: Record<string, {
|
|
3097
|
+
events: _tmagic_core.EventOption[];
|
|
3098
|
+
methods: _tmagic_core.EventOption[];
|
|
3099
|
+
}>;
|
|
3100
|
+
datasourceValues: Record<string, Partial<_tmagic_schema.DataSourceSchema>>;
|
|
3101
|
+
datasourceConfigs: Record<string, FormConfig>;
|
|
3102
|
+
containerHighlightDuration: number;
|
|
3103
|
+
containerHighlightType: StageCore.ContainerHighlightType;
|
|
3104
|
+
canSelect: (el: HTMLElement) => boolean | Promise<boolean>;
|
|
3105
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3106
|
+
declare const _default$w: __VLS_WithTemplateSlots$c<typeof __VLS_component$c, __VLS_TemplateResult$c["slots"]>;
|
|
3107
|
+
|
|
3108
|
+
type __VLS_WithTemplateSlots$c<T, S> = T & {
|
|
3109
|
+
new (): {
|
|
3110
|
+
$slots: S;
|
|
3111
|
+
};
|
|
3112
|
+
};
|
|
3113
|
+
|
|
3114
|
+
type __VLS_Props$s = {
|
|
3115
|
+
initValues?: any;
|
|
3116
|
+
modifiedValues?: any;
|
|
3117
|
+
type?: 'diff';
|
|
3118
|
+
language?: string;
|
|
3119
|
+
options?: {
|
|
3120
|
+
[key: string]: any;
|
|
3121
|
+
};
|
|
3122
|
+
height?: string;
|
|
3123
|
+
autoSave?: boolean;
|
|
3124
|
+
parse?: boolean;
|
|
3125
|
+
};
|
|
3126
|
+
declare const _default$v: vue.DefineComponent<__VLS_Props$s, {
|
|
3127
|
+
values: vue.Ref<string, string>;
|
|
3128
|
+
getEditor(): monaco.editor.IStandaloneCodeEditor | monaco.editor.IStandaloneDiffEditor | null;
|
|
3129
|
+
getVsEditor(): monaco.editor.IStandaloneCodeEditor | null;
|
|
3130
|
+
getVsDiffEditor(): monaco.editor.IStandaloneDiffEditor | null;
|
|
3131
|
+
setEditorValue: (v: string | any, m: string | any) => void | undefined;
|
|
3132
|
+
getEditorValue: () => string;
|
|
3133
|
+
focus(): void;
|
|
3134
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3135
|
+
save: (...args: any[]) => void;
|
|
3136
|
+
initd: (...args: any[]) => void;
|
|
3137
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$s> & Readonly<{
|
|
3138
|
+
onSave?: ((...args: any[]) => any) | undefined;
|
|
3139
|
+
onInitd?: ((...args: any[]) => any) | undefined;
|
|
3140
|
+
}>, {
|
|
3141
|
+
options: {
|
|
3142
|
+
[key: string]: any;
|
|
3143
|
+
};
|
|
3144
|
+
initValues: any;
|
|
3145
|
+
parse: boolean;
|
|
3146
|
+
language: string;
|
|
3147
|
+
autoSave: boolean;
|
|
3148
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3149
|
+
|
|
3150
|
+
declare function __VLS_template$b(): {
|
|
3151
|
+
attrs: Partial<{}>;
|
|
3152
|
+
slots: Readonly<ComponentListPanelSlots> & ComponentListPanelSlots;
|
|
3153
|
+
refs: {};
|
|
3154
|
+
rootEl: any;
|
|
3155
|
+
};
|
|
3156
|
+
type __VLS_TemplateResult$b = ReturnType<typeof __VLS_template$b>;
|
|
3157
|
+
declare const __VLS_component$b: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
3158
|
+
declare const _default$u: __VLS_WithTemplateSlots$b<typeof __VLS_component$b, __VLS_TemplateResult$b["slots"]>;
|
|
3159
|
+
|
|
3160
|
+
type __VLS_WithTemplateSlots$b<T, S> = T & {
|
|
3161
|
+
new (): {
|
|
3162
|
+
$slots: S;
|
|
3163
|
+
};
|
|
3164
|
+
};
|
|
3165
|
+
|
|
3166
|
+
type __VLS_Props$r = {
|
|
3167
|
+
layerContentMenu: (MenuButton | MenuComponent)[];
|
|
3168
|
+
indent?: number;
|
|
3169
|
+
nextLevelIndentIncrement?: number;
|
|
3170
|
+
customContentMenu: CustomContentMenuFunction;
|
|
3171
|
+
};
|
|
3172
|
+
declare function __VLS_template$a(): {
|
|
3173
|
+
attrs: Partial<{}>;
|
|
3174
|
+
slots: Readonly<LayerPanelSlots> & LayerPanelSlots;
|
|
3175
|
+
refs: {
|
|
3176
|
+
tree: ({
|
|
3177
|
+
$: vue.ComponentInternalInstance;
|
|
3178
|
+
$data: {};
|
|
3179
|
+
$props: {
|
|
3180
|
+
readonly data: TreeNodeData[];
|
|
3181
|
+
readonly nodeStatusMap: Map<_tmagic_schema.Id, LayerNodeStatus>;
|
|
3182
|
+
readonly indent?: number | undefined;
|
|
3183
|
+
readonly nextLevelIndentIncrement?: number | undefined;
|
|
3184
|
+
readonly emptyText?: string | undefined;
|
|
3185
|
+
readonly "onNode-click"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
3186
|
+
readonly "onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
3187
|
+
readonly "onNode-dragstart"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
|
|
3188
|
+
readonly "onNode-dragleave"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
|
|
3189
|
+
readonly "onNode-dragend"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
|
|
3190
|
+
readonly "onNode-mouseenter"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
3191
|
+
readonly "onNode-dragover"?: ((event: DragEvent) => any) | undefined;
|
|
3192
|
+
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps;
|
|
3193
|
+
$attrs: {
|
|
3194
|
+
[x: string]: unknown;
|
|
3195
|
+
};
|
|
3196
|
+
$refs: {
|
|
3197
|
+
[x: string]: unknown;
|
|
3198
|
+
};
|
|
3199
|
+
$slots: Readonly<{
|
|
3200
|
+
[name: string]: vue.Slot<any> | undefined;
|
|
3201
|
+
}>;
|
|
3202
|
+
$root: vue.ComponentPublicInstance | null;
|
|
3203
|
+
$parent: vue.ComponentPublicInstance | null;
|
|
3204
|
+
$host: Element | null;
|
|
3205
|
+
$emit: ((event: "node-click", event: MouseEvent, data: TreeNodeData) => void) & ((event: "node-contextmenu", event: MouseEvent, data: TreeNodeData) => void) & ((event: "node-dragstart", event: DragEvent, data: TreeNodeData) => void) & ((event: "node-dragleave", event: DragEvent, data: TreeNodeData) => void) & ((event: "node-dragend", event: DragEvent, data: TreeNodeData) => void) & ((event: "node-mouseenter", event: MouseEvent, data: TreeNodeData) => void) & ((event: "node-dragover", event: DragEvent) => void);
|
|
3206
|
+
$el: HTMLDivElement;
|
|
3207
|
+
$options: vue.ComponentOptionsBase<Readonly<{
|
|
3208
|
+
data: TreeNodeData[];
|
|
3209
|
+
nodeStatusMap: Map<_tmagic_schema.Id, LayerNodeStatus>;
|
|
3210
|
+
indent?: number;
|
|
3211
|
+
nextLevelIndentIncrement?: number;
|
|
3212
|
+
emptyText?: string;
|
|
3213
|
+
}> & Readonly<{
|
|
3214
|
+
"onNode-click"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
3215
|
+
"onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
3216
|
+
"onNode-dragstart"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
|
|
3217
|
+
"onNode-dragleave"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
|
|
3218
|
+
"onNode-dragend"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
|
|
3219
|
+
"onNode-mouseenter"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
3220
|
+
"onNode-dragover"?: ((event: DragEvent) => any) | undefined;
|
|
3221
|
+
}>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3222
|
+
"node-click": (event: MouseEvent, data: TreeNodeData) => any;
|
|
3223
|
+
"node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
|
|
3224
|
+
"node-dragstart": (event: DragEvent, data: TreeNodeData) => any;
|
|
3225
|
+
"node-dragleave": (event: DragEvent, data: TreeNodeData) => any;
|
|
3226
|
+
"node-dragend": (event: DragEvent, data: TreeNodeData) => any;
|
|
3227
|
+
"node-mouseenter": (event: MouseEvent, data: TreeNodeData) => any;
|
|
3228
|
+
"node-dragover": (event: DragEvent) => any;
|
|
3229
|
+
}, string, {
|
|
3230
|
+
emptyText: string;
|
|
3231
|
+
indent: number;
|
|
3232
|
+
}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & {
|
|
3233
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
3234
|
+
created?: (() => void) | (() => void)[];
|
|
3235
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
3236
|
+
mounted?: (() => void) | (() => void)[];
|
|
3237
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
3238
|
+
updated?: (() => void) | (() => void)[];
|
|
3239
|
+
activated?: (() => void) | (() => void)[];
|
|
3240
|
+
deactivated?: (() => void) | (() => void)[];
|
|
3241
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
3242
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
3243
|
+
destroyed?: (() => void) | (() => void)[];
|
|
3244
|
+
unmounted?: (() => void) | (() => void)[];
|
|
3245
|
+
renderTracked?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
3246
|
+
renderTriggered?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
3247
|
+
errorCaptured?: ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
3248
|
+
};
|
|
3249
|
+
$forceUpdate: () => void;
|
|
3250
|
+
$nextTick: typeof vue.nextTick;
|
|
3251
|
+
$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.WatchOptions): vue.WatchStopHandle;
|
|
3252
|
+
} & Readonly<{
|
|
3253
|
+
emptyText: string;
|
|
3254
|
+
indent: number;
|
|
3255
|
+
}> & Omit<Readonly<{
|
|
3256
|
+
data: TreeNodeData[];
|
|
3257
|
+
nodeStatusMap: Map<_tmagic_schema.Id, LayerNodeStatus>;
|
|
3258
|
+
indent?: number;
|
|
3259
|
+
nextLevelIndentIncrement?: number;
|
|
3260
|
+
emptyText?: string;
|
|
3261
|
+
}> & Readonly<{
|
|
3262
|
+
"onNode-click"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
3263
|
+
"onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
3264
|
+
"onNode-dragstart"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
|
|
3265
|
+
"onNode-dragleave"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
|
|
3266
|
+
"onNode-dragend"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
|
|
3267
|
+
"onNode-mouseenter"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
3268
|
+
"onNode-dragover"?: ((event: DragEvent) => any) | undefined;
|
|
3269
|
+
}>, "emptyText" | "indent"> & vue.ShallowUnwrapRef<{}> & {} & vue.ComponentCustomProperties & {} & {
|
|
3270
|
+
$slots: Readonly<{
|
|
3271
|
+
'tree-node-content'(props: {
|
|
3272
|
+
data: TreeNodeData;
|
|
3273
|
+
}): any;
|
|
3274
|
+
'tree-node-label'(props: {
|
|
3275
|
+
data: TreeNodeData;
|
|
3276
|
+
}): any;
|
|
3277
|
+
'tree-node-tool'(props: {
|
|
3278
|
+
data: TreeNodeData;
|
|
3279
|
+
}): any;
|
|
3280
|
+
}> & {
|
|
3281
|
+
'tree-node-content'(props: {
|
|
3282
|
+
data: TreeNodeData;
|
|
3283
|
+
}): any;
|
|
3284
|
+
'tree-node-label'(props: {
|
|
3285
|
+
data: TreeNodeData;
|
|
3286
|
+
}): any;
|
|
3287
|
+
'tree-node-tool'(props: {
|
|
3288
|
+
data: TreeNodeData;
|
|
3289
|
+
}): any;
|
|
3290
|
+
};
|
|
3291
|
+
}) | null;
|
|
3292
|
+
menu: vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3293
|
+
layerContentMenu: (MenuButton | MenuComponent)[];
|
|
3294
|
+
customContentMenu: CustomContentMenuFunction;
|
|
3295
|
+
}> & Readonly<{
|
|
3296
|
+
"onCollapse-all"?: (() => any) | undefined;
|
|
3297
|
+
}>, {
|
|
3298
|
+
show: (e: MouseEvent) => void;
|
|
3299
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3300
|
+
"collapse-all": () => any;
|
|
3301
|
+
}, vue.PublicProps, {}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
2934
3302
|
P: {};
|
|
2935
3303
|
B: {};
|
|
2936
3304
|
D: {};
|
|
@@ -2938,658 +3306,205 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
|
|
|
2938
3306
|
M: {};
|
|
2939
3307
|
Defaults: {};
|
|
2940
3308
|
}, Readonly<{
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
lastValues?: Record<string, any>;
|
|
2944
|
-
isCompare?: boolean;
|
|
2945
|
-
parentValues?: Record<string, any>;
|
|
2946
|
-
labelWidth?: string;
|
|
2947
|
-
disabled?: boolean;
|
|
2948
|
-
height?: string;
|
|
2949
|
-
stepActive?: string | number;
|
|
2950
|
-
size?: "small" | "default" | "large";
|
|
2951
|
-
inline?: boolean;
|
|
2952
|
-
labelPosition?: string;
|
|
2953
|
-
keyProp?: string;
|
|
2954
|
-
popperClass?: string;
|
|
2955
|
-
preventSubmitDefault?: boolean;
|
|
2956
|
-
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
3309
|
+
layerContentMenu: (MenuButton | MenuComponent)[];
|
|
3310
|
+
customContentMenu: CustomContentMenuFunction;
|
|
2957
3311
|
}> & Readonly<{
|
|
2958
|
-
|
|
2959
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
2960
|
-
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
2961
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
2962
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
2963
|
-
}>, {
|
|
2964
|
-
values: vue.Ref<FormValue, FormValue>;
|
|
2965
|
-
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
2966
|
-
formState: FormState;
|
|
2967
|
-
initialized: vue.Ref<boolean, boolean>;
|
|
2968
|
-
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
2969
|
-
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
2970
|
-
resetForm: () => void;
|
|
2971
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
2972
|
-
}, {}, {}, {}, {
|
|
2973
|
-
disabled: boolean;
|
|
2974
|
-
labelWidth: string;
|
|
2975
|
-
inline: boolean;
|
|
2976
|
-
labelPosition: string;
|
|
2977
|
-
config: FormConfig;
|
|
2978
|
-
initValues: Record<string, any>;
|
|
2979
|
-
lastValues: Record<string, any>;
|
|
2980
|
-
isCompare: boolean;
|
|
2981
|
-
keyProp: string;
|
|
2982
|
-
parentValues: Record<string, any>;
|
|
2983
|
-
stepActive: string | number;
|
|
2984
|
-
height: string;
|
|
2985
|
-
}> | undefined>;
|
|
2986
|
-
submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
|
|
2987
|
-
}> & {} & vue.ComponentCustomProperties & {} & {
|
|
2988
|
-
$slots: Readonly<PropsPanelSlots> & PropsPanelSlots;
|
|
2989
|
-
}) => any;
|
|
2990
|
-
"props-form-error": (e: any) => any;
|
|
2991
|
-
"props-submit-error": (e: any) => any;
|
|
2992
|
-
}, string, vue.PublicProps, Readonly<EditorProps> & Readonly<{
|
|
2993
|
-
"onUpdate:modelValue"?: ((value: MApp | null) => any) | undefined;
|
|
2994
|
-
"onProps-panel-mounted"?: ((instance: {
|
|
2995
|
-
$: vue.ComponentInternalInstance;
|
|
2996
|
-
$data: {};
|
|
2997
|
-
$props: {
|
|
2998
|
-
readonly disabledShowSrc?: boolean | undefined;
|
|
2999
|
-
readonly extendState?: ((state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
|
|
3000
|
-
readonly onMounted?: ((...args: any[]) => any) | undefined;
|
|
3001
|
-
readonly "onSubmit-error"?: ((...args: any[]) => any) | undefined;
|
|
3002
|
-
readonly "onForm-error"?: ((...args: any[]) => any) | undefined;
|
|
3003
|
-
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps;
|
|
3004
|
-
$attrs: {
|
|
3005
|
-
[x: string]: unknown;
|
|
3006
|
-
};
|
|
3007
|
-
$refs: {
|
|
3008
|
-
[x: string]: unknown;
|
|
3009
|
-
};
|
|
3010
|
-
$slots: Readonly<{
|
|
3011
|
-
[name: string]: vue.Slot<any> | undefined;
|
|
3012
|
-
}>;
|
|
3013
|
-
$root: vue.ComponentPublicInstance | null;
|
|
3014
|
-
$parent: vue.ComponentPublicInstance | null;
|
|
3015
|
-
$host: Element | null;
|
|
3016
|
-
$emit: ((event: "mounted", ...args: any[]) => void) & ((event: "submit-error", ...args: any[]) => void) & ((event: "form-error", ...args: any[]) => void);
|
|
3017
|
-
$el: HTMLDivElement;
|
|
3018
|
-
$options: vue.ComponentOptionsBase<Readonly<{
|
|
3019
|
-
disabledShowSrc?: boolean;
|
|
3020
|
-
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
3021
|
-
}> & Readonly<{
|
|
3022
|
-
onMounted?: ((...args: any[]) => any) | undefined;
|
|
3023
|
-
"onSubmit-error"?: ((...args: any[]) => any) | undefined;
|
|
3024
|
-
"onForm-error"?: ((...args: any[]) => any) | undefined;
|
|
3025
|
-
}>, {
|
|
3026
|
-
configForm: vue.Ref<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3027
|
-
config: FormConfig;
|
|
3028
|
-
initValues: Record<string, any>;
|
|
3029
|
-
lastValues?: Record<string, any>;
|
|
3030
|
-
isCompare?: boolean;
|
|
3031
|
-
parentValues?: Record<string, any>;
|
|
3032
|
-
labelWidth?: string;
|
|
3033
|
-
disabled?: boolean;
|
|
3034
|
-
height?: string;
|
|
3035
|
-
stepActive?: string | number;
|
|
3036
|
-
size?: "small" | "default" | "large";
|
|
3037
|
-
inline?: boolean;
|
|
3038
|
-
labelPosition?: string;
|
|
3039
|
-
keyProp?: string;
|
|
3040
|
-
popperClass?: string;
|
|
3041
|
-
preventSubmitDefault?: boolean;
|
|
3042
|
-
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
3043
|
-
}> & Readonly<{
|
|
3044
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
3045
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
3046
|
-
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
3047
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3048
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
3049
|
-
}>, {
|
|
3050
|
-
values: vue.Ref<FormValue, FormValue>;
|
|
3051
|
-
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
3052
|
-
formState: FormState;
|
|
3053
|
-
initialized: vue.Ref<boolean, boolean>;
|
|
3054
|
-
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
3055
|
-
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
3056
|
-
resetForm: () => void;
|
|
3057
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
3058
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3059
|
-
change: (...args: any[]) => void;
|
|
3060
|
-
error: (...args: any[]) => void;
|
|
3061
|
-
"update:stepActive": (...args: any[]) => void;
|
|
3062
|
-
"field-change": (...args: any[]) => void;
|
|
3063
|
-
"field-input": (...args: any[]) => void;
|
|
3064
|
-
}, vue.PublicProps, {
|
|
3065
|
-
disabled: boolean;
|
|
3066
|
-
labelWidth: string;
|
|
3067
|
-
inline: boolean;
|
|
3068
|
-
labelPosition: string;
|
|
3069
|
-
config: FormConfig;
|
|
3070
|
-
initValues: Record<string, any>;
|
|
3071
|
-
lastValues: Record<string, any>;
|
|
3072
|
-
isCompare: boolean;
|
|
3073
|
-
keyProp: string;
|
|
3074
|
-
parentValues: Record<string, any>;
|
|
3075
|
-
stepActive: string | number;
|
|
3076
|
-
height: string;
|
|
3077
|
-
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
3078
|
-
P: {};
|
|
3079
|
-
B: {};
|
|
3080
|
-
D: {};
|
|
3081
|
-
C: {};
|
|
3082
|
-
M: {};
|
|
3083
|
-
Defaults: {};
|
|
3084
|
-
}, Readonly<{
|
|
3085
|
-
config: FormConfig;
|
|
3086
|
-
initValues: Record<string, any>;
|
|
3087
|
-
lastValues?: Record<string, any>;
|
|
3088
|
-
isCompare?: boolean;
|
|
3089
|
-
parentValues?: Record<string, any>;
|
|
3090
|
-
labelWidth?: string;
|
|
3091
|
-
disabled?: boolean;
|
|
3092
|
-
height?: string;
|
|
3093
|
-
stepActive?: string | number;
|
|
3094
|
-
size?: "small" | "default" | "large";
|
|
3095
|
-
inline?: boolean;
|
|
3096
|
-
labelPosition?: string;
|
|
3097
|
-
keyProp?: string;
|
|
3098
|
-
popperClass?: string;
|
|
3099
|
-
preventSubmitDefault?: boolean;
|
|
3100
|
-
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
3101
|
-
}> & Readonly<{
|
|
3102
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
3103
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
3104
|
-
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
3105
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3106
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
3107
|
-
}>, {
|
|
3108
|
-
values: vue.Ref<FormValue, FormValue>;
|
|
3109
|
-
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
3110
|
-
formState: FormState;
|
|
3111
|
-
initialized: vue.Ref<boolean, boolean>;
|
|
3112
|
-
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
3113
|
-
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
3114
|
-
resetForm: () => void;
|
|
3115
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
3116
|
-
}, {}, {}, {}, {
|
|
3117
|
-
disabled: boolean;
|
|
3118
|
-
labelWidth: string;
|
|
3119
|
-
inline: boolean;
|
|
3120
|
-
labelPosition: string;
|
|
3121
|
-
config: FormConfig;
|
|
3122
|
-
initValues: Record<string, any>;
|
|
3123
|
-
lastValues: Record<string, any>;
|
|
3124
|
-
isCompare: boolean;
|
|
3125
|
-
keyProp: string;
|
|
3126
|
-
parentValues: Record<string, any>;
|
|
3127
|
-
stepActive: string | number;
|
|
3128
|
-
height: string;
|
|
3129
|
-
}> | undefined, vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3130
|
-
config: FormConfig;
|
|
3131
|
-
initValues: Record<string, any>;
|
|
3132
|
-
lastValues?: Record<string, any>;
|
|
3133
|
-
isCompare?: boolean;
|
|
3134
|
-
parentValues?: Record<string, any>;
|
|
3135
|
-
labelWidth?: string;
|
|
3136
|
-
disabled?: boolean;
|
|
3137
|
-
height?: string;
|
|
3138
|
-
stepActive?: string | number;
|
|
3139
|
-
size?: "small" | "default" | "large";
|
|
3140
|
-
inline?: boolean;
|
|
3141
|
-
labelPosition?: string;
|
|
3142
|
-
keyProp?: string;
|
|
3143
|
-
popperClass?: string;
|
|
3144
|
-
preventSubmitDefault?: boolean;
|
|
3145
|
-
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
3146
|
-
}> & Readonly<{
|
|
3147
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
3148
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
3149
|
-
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
3150
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3151
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
3152
|
-
}>, {
|
|
3153
|
-
values: vue.Ref<FormValue, FormValue>;
|
|
3154
|
-
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
3155
|
-
formState: FormState;
|
|
3156
|
-
initialized: vue.Ref<boolean, boolean>;
|
|
3157
|
-
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
3158
|
-
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
3159
|
-
resetForm: () => void;
|
|
3160
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
3161
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3162
|
-
change: (...args: any[]) => void;
|
|
3163
|
-
error: (...args: any[]) => void;
|
|
3164
|
-
"update:stepActive": (...args: any[]) => void;
|
|
3165
|
-
"field-change": (...args: any[]) => void;
|
|
3166
|
-
"field-input": (...args: any[]) => void;
|
|
3167
|
-
}, vue.PublicProps, {
|
|
3168
|
-
disabled: boolean;
|
|
3169
|
-
labelWidth: string;
|
|
3170
|
-
inline: boolean;
|
|
3171
|
-
labelPosition: string;
|
|
3172
|
-
config: FormConfig;
|
|
3173
|
-
initValues: Record<string, any>;
|
|
3174
|
-
lastValues: Record<string, any>;
|
|
3175
|
-
isCompare: boolean;
|
|
3176
|
-
keyProp: string;
|
|
3177
|
-
parentValues: Record<string, any>;
|
|
3178
|
-
stepActive: string | number;
|
|
3179
|
-
height: string;
|
|
3180
|
-
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
3181
|
-
P: {};
|
|
3182
|
-
B: {};
|
|
3183
|
-
D: {};
|
|
3184
|
-
C: {};
|
|
3185
|
-
M: {};
|
|
3186
|
-
Defaults: {};
|
|
3187
|
-
}, Readonly<{
|
|
3188
|
-
config: FormConfig;
|
|
3189
|
-
initValues: Record<string, any>;
|
|
3190
|
-
lastValues?: Record<string, any>;
|
|
3191
|
-
isCompare?: boolean;
|
|
3192
|
-
parentValues?: Record<string, any>;
|
|
3193
|
-
labelWidth?: string;
|
|
3194
|
-
disabled?: boolean;
|
|
3195
|
-
height?: string;
|
|
3196
|
-
stepActive?: string | number;
|
|
3197
|
-
size?: "small" | "default" | "large";
|
|
3198
|
-
inline?: boolean;
|
|
3199
|
-
labelPosition?: string;
|
|
3200
|
-
keyProp?: string;
|
|
3201
|
-
popperClass?: string;
|
|
3202
|
-
preventSubmitDefault?: boolean;
|
|
3203
|
-
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
3204
|
-
}> & Readonly<{
|
|
3205
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
3206
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
3207
|
-
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
3208
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3209
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
3210
|
-
}>, {
|
|
3211
|
-
values: vue.Ref<FormValue, FormValue>;
|
|
3212
|
-
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
3213
|
-
formState: FormState;
|
|
3214
|
-
initialized: vue.Ref<boolean, boolean>;
|
|
3215
|
-
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
3216
|
-
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
3217
|
-
resetForm: () => void;
|
|
3218
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
3219
|
-
}, {}, {}, {}, {
|
|
3220
|
-
disabled: boolean;
|
|
3221
|
-
labelWidth: string;
|
|
3222
|
-
inline: boolean;
|
|
3223
|
-
labelPosition: string;
|
|
3224
|
-
config: FormConfig;
|
|
3225
|
-
initValues: Record<string, any>;
|
|
3226
|
-
lastValues: Record<string, any>;
|
|
3227
|
-
isCompare: boolean;
|
|
3228
|
-
keyProp: string;
|
|
3229
|
-
parentValues: Record<string, any>;
|
|
3230
|
-
stepActive: string | number;
|
|
3231
|
-
height: string;
|
|
3232
|
-
}> | undefined>;
|
|
3233
|
-
submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
|
|
3234
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3235
|
-
mounted: (...args: any[]) => void;
|
|
3236
|
-
"submit-error": (...args: any[]) => void;
|
|
3237
|
-
"form-error": (...args: any[]) => void;
|
|
3238
|
-
}, string, {}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & {
|
|
3239
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
3240
|
-
created?: (() => void) | (() => void)[];
|
|
3241
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
3242
|
-
mounted?: (() => void) | (() => void)[];
|
|
3243
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
3244
|
-
updated?: (() => void) | (() => void)[];
|
|
3245
|
-
activated?: (() => void) | (() => void)[];
|
|
3246
|
-
deactivated?: (() => void) | (() => void)[];
|
|
3247
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
3248
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
3249
|
-
destroyed?: (() => void) | (() => void)[];
|
|
3250
|
-
unmounted?: (() => void) | (() => void)[];
|
|
3251
|
-
renderTracked?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
3252
|
-
renderTriggered?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
3253
|
-
errorCaptured?: ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
3254
|
-
};
|
|
3255
|
-
$forceUpdate: () => void;
|
|
3256
|
-
$nextTick: typeof vue.nextTick;
|
|
3257
|
-
$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.WatchOptions): vue.WatchStopHandle;
|
|
3258
|
-
} & Readonly<{}> & Omit<Readonly<{
|
|
3259
|
-
disabledShowSrc?: boolean;
|
|
3260
|
-
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
3261
|
-
}> & Readonly<{
|
|
3262
|
-
onMounted?: ((...args: any[]) => any) | undefined;
|
|
3263
|
-
"onSubmit-error"?: ((...args: any[]) => any) | undefined;
|
|
3264
|
-
"onForm-error"?: ((...args: any[]) => any) | undefined;
|
|
3265
|
-
}>, "submit" | "configForm"> & vue.ShallowUnwrapRef<{
|
|
3266
|
-
configForm: vue.Ref<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3267
|
-
config: FormConfig;
|
|
3268
|
-
initValues: Record<string, any>;
|
|
3269
|
-
lastValues?: Record<string, any>;
|
|
3270
|
-
isCompare?: boolean;
|
|
3271
|
-
parentValues?: Record<string, any>;
|
|
3272
|
-
labelWidth?: string;
|
|
3273
|
-
disabled?: boolean;
|
|
3274
|
-
height?: string;
|
|
3275
|
-
stepActive?: string | number;
|
|
3276
|
-
size?: "small" | "default" | "large";
|
|
3277
|
-
inline?: boolean;
|
|
3278
|
-
labelPosition?: string;
|
|
3279
|
-
keyProp?: string;
|
|
3280
|
-
popperClass?: string;
|
|
3281
|
-
preventSubmitDefault?: boolean;
|
|
3282
|
-
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
3283
|
-
}> & Readonly<{
|
|
3284
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
3285
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
3286
|
-
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
3287
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3288
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
3289
|
-
}>, {
|
|
3290
|
-
values: vue.Ref<FormValue, FormValue>;
|
|
3291
|
-
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
3292
|
-
formState: FormState;
|
|
3293
|
-
initialized: vue.Ref<boolean, boolean>;
|
|
3294
|
-
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
3295
|
-
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
3296
|
-
resetForm: () => void;
|
|
3297
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
3298
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3299
|
-
change: (...args: any[]) => void;
|
|
3300
|
-
error: (...args: any[]) => void;
|
|
3301
|
-
"update:stepActive": (...args: any[]) => void;
|
|
3302
|
-
"field-change": (...args: any[]) => void;
|
|
3303
|
-
"field-input": (...args: any[]) => void;
|
|
3304
|
-
}, vue.PublicProps, {
|
|
3305
|
-
disabled: boolean;
|
|
3306
|
-
labelWidth: string;
|
|
3307
|
-
inline: boolean;
|
|
3308
|
-
labelPosition: string;
|
|
3309
|
-
config: FormConfig;
|
|
3310
|
-
initValues: Record<string, any>;
|
|
3311
|
-
lastValues: Record<string, any>;
|
|
3312
|
-
isCompare: boolean;
|
|
3313
|
-
keyProp: string;
|
|
3314
|
-
parentValues: Record<string, any>;
|
|
3315
|
-
stepActive: string | number;
|
|
3316
|
-
height: string;
|
|
3317
|
-
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
3318
|
-
P: {};
|
|
3319
|
-
B: {};
|
|
3320
|
-
D: {};
|
|
3321
|
-
C: {};
|
|
3322
|
-
M: {};
|
|
3323
|
-
Defaults: {};
|
|
3324
|
-
}, Readonly<{
|
|
3325
|
-
config: FormConfig;
|
|
3326
|
-
initValues: Record<string, any>;
|
|
3327
|
-
lastValues?: Record<string, any>;
|
|
3328
|
-
isCompare?: boolean;
|
|
3329
|
-
parentValues?: Record<string, any>;
|
|
3330
|
-
labelWidth?: string;
|
|
3331
|
-
disabled?: boolean;
|
|
3332
|
-
height?: string;
|
|
3333
|
-
stepActive?: string | number;
|
|
3334
|
-
size?: "small" | "default" | "large";
|
|
3335
|
-
inline?: boolean;
|
|
3336
|
-
labelPosition?: string;
|
|
3337
|
-
keyProp?: string;
|
|
3338
|
-
popperClass?: string;
|
|
3339
|
-
preventSubmitDefault?: boolean;
|
|
3340
|
-
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
3341
|
-
}> & Readonly<{
|
|
3342
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
3343
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
3344
|
-
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
3345
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3346
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
3347
|
-
}>, {
|
|
3348
|
-
values: vue.Ref<FormValue, FormValue>;
|
|
3349
|
-
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
3350
|
-
formState: FormState;
|
|
3351
|
-
initialized: vue.Ref<boolean, boolean>;
|
|
3352
|
-
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
3353
|
-
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
3354
|
-
resetForm: () => void;
|
|
3355
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
3356
|
-
}, {}, {}, {}, {
|
|
3357
|
-
disabled: boolean;
|
|
3358
|
-
labelWidth: string;
|
|
3359
|
-
inline: boolean;
|
|
3360
|
-
labelPosition: string;
|
|
3361
|
-
config: FormConfig;
|
|
3362
|
-
initValues: Record<string, any>;
|
|
3363
|
-
lastValues: Record<string, any>;
|
|
3364
|
-
isCompare: boolean;
|
|
3365
|
-
keyProp: string;
|
|
3366
|
-
parentValues: Record<string, any>;
|
|
3367
|
-
stepActive: string | number;
|
|
3368
|
-
height: string;
|
|
3369
|
-
}> | undefined, vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3370
|
-
config: FormConfig;
|
|
3371
|
-
initValues: Record<string, any>;
|
|
3372
|
-
lastValues?: Record<string, any>;
|
|
3373
|
-
isCompare?: boolean;
|
|
3374
|
-
parentValues?: Record<string, any>;
|
|
3375
|
-
labelWidth?: string;
|
|
3376
|
-
disabled?: boolean;
|
|
3377
|
-
height?: string;
|
|
3378
|
-
stepActive?: string | number;
|
|
3379
|
-
size?: "small" | "default" | "large";
|
|
3380
|
-
inline?: boolean;
|
|
3381
|
-
labelPosition?: string;
|
|
3382
|
-
keyProp?: string;
|
|
3383
|
-
popperClass?: string;
|
|
3384
|
-
preventSubmitDefault?: boolean;
|
|
3385
|
-
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
3386
|
-
}> & Readonly<{
|
|
3387
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
3388
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
3389
|
-
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
3390
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3391
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
3392
|
-
}>, {
|
|
3393
|
-
values: vue.Ref<FormValue, FormValue>;
|
|
3394
|
-
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
3395
|
-
formState: FormState;
|
|
3396
|
-
initialized: vue.Ref<boolean, boolean>;
|
|
3397
|
-
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
3398
|
-
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
3399
|
-
resetForm: () => void;
|
|
3400
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
3401
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3402
|
-
change: (...args: any[]) => void;
|
|
3403
|
-
error: (...args: any[]) => void;
|
|
3404
|
-
"update:stepActive": (...args: any[]) => void;
|
|
3405
|
-
"field-change": (...args: any[]) => void;
|
|
3406
|
-
"field-input": (...args: any[]) => void;
|
|
3407
|
-
}, vue.PublicProps, {
|
|
3408
|
-
disabled: boolean;
|
|
3409
|
-
labelWidth: string;
|
|
3410
|
-
inline: boolean;
|
|
3411
|
-
labelPosition: string;
|
|
3412
|
-
config: FormConfig;
|
|
3413
|
-
initValues: Record<string, any>;
|
|
3414
|
-
lastValues: Record<string, any>;
|
|
3415
|
-
isCompare: boolean;
|
|
3416
|
-
keyProp: string;
|
|
3417
|
-
parentValues: Record<string, any>;
|
|
3418
|
-
stepActive: string | number;
|
|
3419
|
-
height: string;
|
|
3420
|
-
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
3421
|
-
P: {};
|
|
3422
|
-
B: {};
|
|
3423
|
-
D: {};
|
|
3424
|
-
C: {};
|
|
3425
|
-
M: {};
|
|
3426
|
-
Defaults: {};
|
|
3427
|
-
}, Readonly<{
|
|
3428
|
-
config: FormConfig;
|
|
3429
|
-
initValues: Record<string, any>;
|
|
3430
|
-
lastValues?: Record<string, any>;
|
|
3431
|
-
isCompare?: boolean;
|
|
3432
|
-
parentValues?: Record<string, any>;
|
|
3433
|
-
labelWidth?: string;
|
|
3434
|
-
disabled?: boolean;
|
|
3435
|
-
height?: string;
|
|
3436
|
-
stepActive?: string | number;
|
|
3437
|
-
size?: "small" | "default" | "large";
|
|
3438
|
-
inline?: boolean;
|
|
3439
|
-
labelPosition?: string;
|
|
3440
|
-
keyProp?: string;
|
|
3441
|
-
popperClass?: string;
|
|
3442
|
-
preventSubmitDefault?: boolean;
|
|
3443
|
-
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
3444
|
-
}> & Readonly<{
|
|
3445
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
3446
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
3447
|
-
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
3448
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3449
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
3312
|
+
"onCollapse-all"?: (() => any) | undefined;
|
|
3450
3313
|
}>, {
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
formState: FormState;
|
|
3454
|
-
initialized: vue.Ref<boolean, boolean>;
|
|
3455
|
-
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
3456
|
-
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
3457
|
-
resetForm: () => void;
|
|
3458
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
3459
|
-
}, {}, {}, {}, {
|
|
3460
|
-
disabled: boolean;
|
|
3461
|
-
labelWidth: string;
|
|
3462
|
-
inline: boolean;
|
|
3463
|
-
labelPosition: string;
|
|
3464
|
-
config: FormConfig;
|
|
3465
|
-
initValues: Record<string, any>;
|
|
3466
|
-
lastValues: Record<string, any>;
|
|
3467
|
-
isCompare: boolean;
|
|
3468
|
-
keyProp: string;
|
|
3469
|
-
parentValues: Record<string, any>;
|
|
3470
|
-
stepActive: string | number;
|
|
3471
|
-
height: string;
|
|
3472
|
-
}> | undefined>;
|
|
3473
|
-
submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
|
|
3474
|
-
}> & {} & vue.ComponentCustomProperties & {} & {
|
|
3475
|
-
$slots: Readonly<PropsPanelSlots> & PropsPanelSlots;
|
|
3476
|
-
}) => any) | undefined;
|
|
3477
|
-
"onProps-form-error"?: ((e: any) => any) | undefined;
|
|
3478
|
-
"onProps-submit-error"?: ((e: any) => any) | undefined;
|
|
3479
|
-
}>, {
|
|
3480
|
-
menu: MenuBarData;
|
|
3481
|
-
renderType: StageCore.RenderType;
|
|
3482
|
-
disabledMultiSelect: boolean;
|
|
3483
|
-
disabledPageFragment: boolean;
|
|
3484
|
-
codeOptions: {
|
|
3485
|
-
[key: string]: any;
|
|
3314
|
+
show: (e: MouseEvent) => void;
|
|
3315
|
+
}, {}, {}, {}, {}> | null;
|
|
3486
3316
|
};
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
stageContentMenu: (MenuButton | MenuComponent)[];
|
|
3493
|
-
disabledStageOverlay: boolean;
|
|
3494
|
-
datasourceList: DatasourceTypeOption[];
|
|
3495
|
-
propsConfigs: Record<string, FormConfig>;
|
|
3496
|
-
propsValues: Record<string, Partial<_tmagic_schema.MNode>>;
|
|
3497
|
-
eventMethodList: Record<string, {
|
|
3498
|
-
events: _tmagic_core.EventOption[];
|
|
3499
|
-
methods: _tmagic_core.EventOption[];
|
|
3500
|
-
}>;
|
|
3501
|
-
datasourceValues: Record<string, Partial<_tmagic_schema.DataSourceSchema>>;
|
|
3502
|
-
datasourceConfigs: Record<string, FormConfig>;
|
|
3503
|
-
containerHighlightDuration: number;
|
|
3504
|
-
containerHighlightType: StageCore.ContainerHighlightType;
|
|
3505
|
-
canSelect: (el: HTMLElement) => boolean | Promise<boolean>;
|
|
3506
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3507
|
-
declare const _default$v: __VLS_WithTemplateSlots$b<typeof __VLS_component$b, __VLS_TemplateResult$b["slots"]>;
|
|
3317
|
+
rootEl: any;
|
|
3318
|
+
};
|
|
3319
|
+
type __VLS_TemplateResult$a = ReturnType<typeof __VLS_template$a>;
|
|
3320
|
+
declare const __VLS_component$a: vue.DefineComponent<__VLS_Props$r, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$r> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
3321
|
+
declare const _default$t: __VLS_WithTemplateSlots$a<typeof __VLS_component$a, __VLS_TemplateResult$a["slots"]>;
|
|
3508
3322
|
|
|
3509
|
-
type __VLS_WithTemplateSlots$
|
|
3323
|
+
type __VLS_WithTemplateSlots$a<T, S> = T & {
|
|
3510
3324
|
new (): {
|
|
3511
3325
|
$slots: S;
|
|
3512
3326
|
};
|
|
3513
3327
|
};
|
|
3514
3328
|
|
|
3515
|
-
type __VLS_Props$
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
}
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3329
|
+
type __VLS_Props$q = FieldProps<{
|
|
3330
|
+
className?: string;
|
|
3331
|
+
} & FormItem$1>;
|
|
3332
|
+
declare const _default$s: vue.DefineComponent<__VLS_Props$q, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3333
|
+
change: (v: any, eventData: ContainerChangeEventData$1) => any;
|
|
3334
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$q> & Readonly<{
|
|
3335
|
+
onChange?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
|
|
3336
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3337
|
+
|
|
3338
|
+
type __VLS_Props$p = FieldProps<CodeSelectColConfig>;
|
|
3339
|
+
declare const _default$r: vue.DefineComponent<__VLS_Props$p, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3340
|
+
change: (v: any, eventData: ContainerChangeEventData$1) => any;
|
|
3341
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$p> & Readonly<{
|
|
3342
|
+
onChange?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
|
|
3343
|
+
}>, {
|
|
3344
|
+
disabled: boolean;
|
|
3345
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3346
|
+
|
|
3347
|
+
type __VLS_Props$o = FieldProps<{
|
|
3348
|
+
type: 'data-source-fields';
|
|
3349
|
+
}>;
|
|
3350
|
+
type __VLS_PublicProps$4 = {
|
|
3351
|
+
'width'?: number;
|
|
3352
|
+
'visible'?: boolean;
|
|
3353
|
+
'visible1'?: boolean;
|
|
3354
|
+
} & __VLS_Props$o;
|
|
3355
|
+
declare const _default$q: vue.DefineComponent<__VLS_PublicProps$4, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3356
|
+
change: (v: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
3357
|
+
"update:width": (value: number) => any;
|
|
3358
|
+
"update:visible": (value: boolean) => any;
|
|
3359
|
+
"update:visible1": (value: boolean) => any;
|
|
3360
|
+
}, string, vue.PublicProps, Readonly<__VLS_PublicProps$4> & Readonly<{
|
|
3361
|
+
onChange?: ((v: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
3362
|
+
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
3363
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
3364
|
+
"onUpdate:visible1"?: ((value: boolean) => any) | undefined;
|
|
3365
|
+
}>, {
|
|
3366
|
+
disabled: boolean;
|
|
3367
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3368
|
+
|
|
3369
|
+
type __VLS_Props$n = FieldProps<{
|
|
3370
|
+
type: 'data-source-mocks';
|
|
3371
|
+
}>;
|
|
3372
|
+
type __VLS_PublicProps$3 = {
|
|
3373
|
+
'width'?: number;
|
|
3374
|
+
'visible'?: boolean;
|
|
3375
|
+
} & __VLS_Props$n;
|
|
3376
|
+
declare const _default$p: vue.DefineComponent<__VLS_PublicProps$3, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3377
|
+
change: (...args: any[]) => void;
|
|
3378
|
+
"update:width": (value: number) => void;
|
|
3379
|
+
"update:visible": (value: boolean) => void;
|
|
3380
|
+
}, string, vue.PublicProps, Readonly<__VLS_PublicProps$3> & Readonly<{
|
|
3381
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
3382
|
+
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
3383
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
3384
|
+
}>, {
|
|
3385
|
+
disabled: boolean;
|
|
3386
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3387
|
+
|
|
3388
|
+
type __VLS_Props$m = FieldProps<{
|
|
3389
|
+
type: 'data-source-methods';
|
|
3390
|
+
}>;
|
|
3391
|
+
declare const _default$o: vue.DefineComponent<__VLS_Props$m, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3392
|
+
change: (...args: any[]) => void;
|
|
3393
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$m> & Readonly<{
|
|
3394
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
3395
|
+
}>, {
|
|
3396
|
+
disabled: boolean;
|
|
3397
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3398
|
+
|
|
3399
|
+
type __VLS_Props$l = FieldProps<{
|
|
3400
|
+
type: 'data-source-input';
|
|
3401
|
+
} & FormItem$1>;
|
|
3402
|
+
declare const _default$n: vue.DefineComponent<__VLS_Props$l, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3403
|
+
change: (value: string) => any;
|
|
3404
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$l> & Readonly<{
|
|
3405
|
+
onChange?: ((value: string) => any) | undefined;
|
|
3406
|
+
}>, {
|
|
3407
|
+
disabled: boolean;
|
|
3408
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
3409
|
+
|
|
3410
|
+
type __VLS_Props$k = FieldProps<DataSourceSelect>;
|
|
3411
|
+
declare const _default$m: vue.DefineComponent<__VLS_Props$k, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3412
|
+
change: (...args: any[]) => void;
|
|
3413
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$k> & Readonly<{
|
|
3414
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
3415
|
+
}>, {
|
|
3416
|
+
disabled: boolean;
|
|
3417
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3418
|
+
|
|
3419
|
+
type __VLS_Props$j = FieldProps<DataSourceMethodSelectConfig>;
|
|
3420
|
+
declare const _default$l: vue.DefineComponent<__VLS_Props$j, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3421
|
+
change: (...args: any[]) => void;
|
|
3422
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$j> & Readonly<{
|
|
3423
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
3424
|
+
}>, {
|
|
3425
|
+
disabled: boolean;
|
|
3426
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3427
|
+
|
|
3428
|
+
type __VLS_Props$i = FieldProps<DataSourceFieldSelectConfig>;
|
|
3429
|
+
declare const _default$k: vue.DefineComponent<__VLS_Props$i, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3430
|
+
change: (...args: any[]) => void;
|
|
3431
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$i> & Readonly<{
|
|
3432
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
3541
3433
|
}>, {
|
|
3542
|
-
|
|
3543
|
-
[key: string]: any;
|
|
3544
|
-
};
|
|
3545
|
-
initValues: any;
|
|
3546
|
-
parse: boolean;
|
|
3547
|
-
language: string;
|
|
3548
|
-
autoSave: boolean;
|
|
3434
|
+
disabled: boolean;
|
|
3549
3435
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3550
3436
|
|
|
3551
|
-
|
|
3437
|
+
type __VLS_Props$h = FieldProps<EventSelectConfig>;
|
|
3438
|
+
declare const _default$j: vue.DefineComponent<__VLS_Props$h, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3439
|
+
change: (v: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
3440
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$h> & Readonly<{
|
|
3441
|
+
onChange?: ((v: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
3442
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3443
|
+
|
|
3444
|
+
type __VLS_Props$g = FieldProps<{
|
|
3445
|
+
type: 'key-value';
|
|
3446
|
+
advanced?: boolean;
|
|
3447
|
+
} & FormItem$1>;
|
|
3448
|
+
declare const _default$i: vue.DefineComponent<__VLS_Props$g, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3449
|
+
change: (value: Record<string, any>) => any;
|
|
3450
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$g> & Readonly<{
|
|
3451
|
+
onChange?: ((value: Record<string, any>) => any) | undefined;
|
|
3452
|
+
}>, {
|
|
3453
|
+
disabled: boolean;
|
|
3454
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3455
|
+
|
|
3456
|
+
type __VLS_Props$f = {
|
|
3457
|
+
indent?: number;
|
|
3458
|
+
nextLevelIndentIncrement?: number;
|
|
3459
|
+
customError?: (id: Id, errorType: CodeDeleteErrorType) => any;
|
|
3460
|
+
};
|
|
3461
|
+
declare function __VLS_template$9(): {
|
|
3552
3462
|
attrs: Partial<{}>;
|
|
3553
|
-
slots: Readonly<
|
|
3463
|
+
slots: Readonly<CodeBlockListSlots> & CodeBlockListSlots;
|
|
3554
3464
|
refs: {};
|
|
3555
|
-
rootEl:
|
|
3465
|
+
rootEl: HTMLDivElement;
|
|
3556
3466
|
};
|
|
3557
|
-
type __VLS_TemplateResult$
|
|
3558
|
-
declare const __VLS_component$
|
|
3559
|
-
|
|
3467
|
+
type __VLS_TemplateResult$9 = ReturnType<typeof __VLS_template$9>;
|
|
3468
|
+
declare const __VLS_component$9: vue.DefineComponent<__VLS_Props$f, {
|
|
3469
|
+
filter: (text: string | string[]) => void;
|
|
3470
|
+
deleteCode: (id: string) => Promise<void>;
|
|
3471
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3472
|
+
"node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
|
|
3473
|
+
remove: (id: string) => any;
|
|
3474
|
+
edit: (id: string) => any;
|
|
3475
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$f> & Readonly<{
|
|
3476
|
+
"onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
3477
|
+
onRemove?: ((id: string) => any) | undefined;
|
|
3478
|
+
onEdit?: ((id: string) => any) | undefined;
|
|
3479
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3480
|
+
declare const _default$h: __VLS_WithTemplateSlots$9<typeof __VLS_component$9, __VLS_TemplateResult$9["slots"]>;
|
|
3560
3481
|
|
|
3561
|
-
type __VLS_WithTemplateSlots$
|
|
3482
|
+
type __VLS_WithTemplateSlots$9<T, S> = T & {
|
|
3562
3483
|
new (): {
|
|
3563
3484
|
$slots: S;
|
|
3564
3485
|
};
|
|
3565
3486
|
};
|
|
3566
3487
|
|
|
3567
|
-
type __VLS_Props$
|
|
3568
|
-
layerContentMenu: (MenuButton | MenuComponent)[];
|
|
3488
|
+
type __VLS_Props$e = {
|
|
3569
3489
|
indent?: number;
|
|
3570
3490
|
nextLevelIndentIncrement?: number;
|
|
3571
|
-
|
|
3491
|
+
customError?: (id: Id, errorType: CodeDeleteErrorType) => any;
|
|
3492
|
+
customContentMenu: CustomContentMenuFunction;
|
|
3572
3493
|
};
|
|
3573
|
-
declare function __VLS_template$
|
|
3494
|
+
declare function __VLS_template$8(): {
|
|
3574
3495
|
attrs: Partial<{}>;
|
|
3575
|
-
slots: Readonly<
|
|
3496
|
+
slots: Readonly<CodeBlockListPanelSlots> & CodeBlockListPanelSlots;
|
|
3576
3497
|
refs: {
|
|
3577
|
-
|
|
3498
|
+
codeBlockList: ({
|
|
3578
3499
|
$: vue.ComponentInternalInstance;
|
|
3579
3500
|
$data: {};
|
|
3580
3501
|
$props: {
|
|
3581
|
-
readonly data: TreeNodeData[];
|
|
3582
|
-
readonly nodeStatusMap: Map<_tmagic_schema.Id, LayerNodeStatus>;
|
|
3583
3502
|
readonly indent?: number | undefined;
|
|
3584
3503
|
readonly nextLevelIndentIncrement?: number | undefined;
|
|
3585
|
-
readonly
|
|
3586
|
-
readonly "onNode-click"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
3504
|
+
readonly customError?: ((id: Id, errorType: CodeDeleteErrorType) => any) | undefined;
|
|
3587
3505
|
readonly "onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
3588
|
-
readonly
|
|
3589
|
-
readonly
|
|
3590
|
-
readonly "onNode-dragend"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
|
|
3591
|
-
readonly "onNode-mouseenter"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
3592
|
-
readonly "onNode-dragover"?: ((event: DragEvent) => any) | undefined;
|
|
3506
|
+
readonly onRemove?: ((id: string) => any) | undefined;
|
|
3507
|
+
readonly onEdit?: ((id: string) => any) | undefined;
|
|
3593
3508
|
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps;
|
|
3594
3509
|
$attrs: {
|
|
3595
3510
|
[x: string]: unknown;
|
|
@@ -3603,34 +3518,24 @@ declare function __VLS_template$9(): {
|
|
|
3603
3518
|
$root: vue.ComponentPublicInstance | null;
|
|
3604
3519
|
$parent: vue.ComponentPublicInstance | null;
|
|
3605
3520
|
$host: Element | null;
|
|
3606
|
-
$emit: ((event: "node-
|
|
3521
|
+
$emit: ((event: "node-contextmenu", event: MouseEvent, data: TreeNodeData) => void) & ((event: "remove", id: string) => void) & ((event: "edit", id: string) => void);
|
|
3607
3522
|
$el: HTMLDivElement;
|
|
3608
3523
|
$options: vue.ComponentOptionsBase<Readonly<{
|
|
3609
|
-
data: TreeNodeData[];
|
|
3610
|
-
nodeStatusMap: Map<_tmagic_schema.Id, LayerNodeStatus>;
|
|
3611
3524
|
indent?: number;
|
|
3612
3525
|
nextLevelIndentIncrement?: number;
|
|
3613
|
-
|
|
3526
|
+
customError?: (id: Id, errorType: CodeDeleteErrorType) => any;
|
|
3614
3527
|
}> & Readonly<{
|
|
3615
|
-
"onNode-click"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
3616
3528
|
"onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
}
|
|
3623
|
-
"node-click": (event: MouseEvent, data: TreeNodeData) => any;
|
|
3529
|
+
onRemove?: ((id: string) => any) | undefined;
|
|
3530
|
+
onEdit?: ((id: string) => any) | undefined;
|
|
3531
|
+
}>, {
|
|
3532
|
+
filter: (text: string | string[]) => void;
|
|
3533
|
+
deleteCode: (id: string) => Promise<void>;
|
|
3534
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3624
3535
|
"node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
"node-mouseenter": (event: MouseEvent, data: TreeNodeData) => any;
|
|
3629
|
-
"node-dragover": (event: DragEvent) => any;
|
|
3630
|
-
}, string, {
|
|
3631
|
-
emptyText: string;
|
|
3632
|
-
indent: number;
|
|
3633
|
-
}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & {
|
|
3536
|
+
remove: (id: string) => any;
|
|
3537
|
+
edit: (id: string) => any;
|
|
3538
|
+
}, string, {}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & {
|
|
3634
3539
|
beforeCreate?: (() => void) | (() => void)[];
|
|
3635
3540
|
created?: (() => void) | (() => void)[];
|
|
3636
3541
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -3650,59 +3555,40 @@ declare function __VLS_template$9(): {
|
|
|
3650
3555
|
$forceUpdate: () => void;
|
|
3651
3556
|
$nextTick: typeof vue.nextTick;
|
|
3652
3557
|
$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.WatchOptions): vue.WatchStopHandle;
|
|
3653
|
-
} & Readonly<{
|
|
3654
|
-
emptyText: string;
|
|
3655
|
-
indent: number;
|
|
3656
|
-
}> & Omit<Readonly<{
|
|
3657
|
-
data: TreeNodeData[];
|
|
3658
|
-
nodeStatusMap: Map<_tmagic_schema.Id, LayerNodeStatus>;
|
|
3558
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
3659
3559
|
indent?: number;
|
|
3660
3560
|
nextLevelIndentIncrement?: number;
|
|
3661
|
-
|
|
3561
|
+
customError?: (id: Id, errorType: CodeDeleteErrorType) => any;
|
|
3662
3562
|
}> & Readonly<{
|
|
3663
|
-
"onNode-click"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
3664
3563
|
"onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
}
|
|
3671
|
-
$slots: Readonly<
|
|
3672
|
-
'tree-node-content'(props: {
|
|
3673
|
-
data: TreeNodeData;
|
|
3674
|
-
}): any;
|
|
3675
|
-
'tree-node-label'(props: {
|
|
3676
|
-
data: TreeNodeData;
|
|
3677
|
-
}): any;
|
|
3678
|
-
'tree-node-tool'(props: {
|
|
3679
|
-
data: TreeNodeData;
|
|
3680
|
-
}): any;
|
|
3681
|
-
}> & {
|
|
3682
|
-
'tree-node-content'(props: {
|
|
3683
|
-
data: TreeNodeData;
|
|
3684
|
-
}): any;
|
|
3685
|
-
'tree-node-label'(props: {
|
|
3686
|
-
data: TreeNodeData;
|
|
3687
|
-
}): any;
|
|
3688
|
-
'tree-node-tool'(props: {
|
|
3689
|
-
data: TreeNodeData;
|
|
3690
|
-
}): any;
|
|
3691
|
-
};
|
|
3564
|
+
onRemove?: ((id: string) => any) | undefined;
|
|
3565
|
+
onEdit?: ((id: string) => any) | undefined;
|
|
3566
|
+
}>, "filter" | "deleteCode"> & vue.ShallowUnwrapRef<{
|
|
3567
|
+
filter: (text: string | string[]) => void;
|
|
3568
|
+
deleteCode: (id: string) => Promise<void>;
|
|
3569
|
+
}> & {} & vue.ComponentCustomProperties & {} & {
|
|
3570
|
+
$slots: Readonly<CodeBlockListSlots> & CodeBlockListSlots;
|
|
3692
3571
|
}) | null;
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3572
|
+
codeBlockEditor: vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3573
|
+
width?: number;
|
|
3574
|
+
visible?: boolean;
|
|
3575
|
+
} & {
|
|
3576
|
+
content: _tmagic_schema.CodeBlockContent;
|
|
3577
|
+
disabled?: boolean;
|
|
3578
|
+
isDataSource?: boolean;
|
|
3579
|
+
dataSourceType?: string;
|
|
3696
3580
|
}> & Readonly<{
|
|
3697
|
-
|
|
3581
|
+
onSubmit?: ((values: _tmagic_schema.CodeBlockContent, eventData: ContainerChangeEventData) => any) | undefined;
|
|
3582
|
+
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
3583
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
3698
3584
|
}>, {
|
|
3699
|
-
show
|
|
3585
|
+
show(): Promise<void>;
|
|
3586
|
+
hide(): Promise<void>;
|
|
3700
3587
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
3588
|
+
submit: (values: _tmagic_schema.CodeBlockContent, eventData: ContainerChangeEventData) => any;
|
|
3589
|
+
"update:width": (value: number) => any;
|
|
3590
|
+
"update:visible": (value: boolean) => any;
|
|
3591
|
+
}, vue.PublicProps, {}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
3706
3592
|
P: {};
|
|
3707
3593
|
B: {};
|
|
3708
3594
|
D: {};
|
|
@@ -3710,282 +3596,1040 @@ declare function __VLS_template$9(): {
|
|
|
3710
3596
|
M: {};
|
|
3711
3597
|
Defaults: {};
|
|
3712
3598
|
}, Readonly<{
|
|
3713
|
-
|
|
3714
|
-
|
|
3599
|
+
width?: number;
|
|
3600
|
+
visible?: boolean;
|
|
3601
|
+
} & {
|
|
3602
|
+
content: _tmagic_schema.CodeBlockContent;
|
|
3603
|
+
disabled?: boolean;
|
|
3604
|
+
isDataSource?: boolean;
|
|
3605
|
+
dataSourceType?: string;
|
|
3715
3606
|
}> & Readonly<{
|
|
3716
|
-
|
|
3607
|
+
onSubmit?: ((values: _tmagic_schema.CodeBlockContent, eventData: ContainerChangeEventData) => any) | undefined;
|
|
3608
|
+
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
3609
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
3717
3610
|
}>, {
|
|
3718
|
-
show
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3611
|
+
show(): Promise<void>;
|
|
3612
|
+
hide(): Promise<void>;
|
|
3613
|
+
}, {}, {}, {}, {}> | null;
|
|
3614
|
+
menu: ({
|
|
3615
|
+
$: vue.ComponentInternalInstance;
|
|
3616
|
+
$data: {};
|
|
3617
|
+
$props: {
|
|
3618
|
+
readonly menuData?: (MenuButton | MenuComponent)[] | undefined;
|
|
3619
|
+
readonly isSubMenu?: boolean | undefined;
|
|
3620
|
+
readonly active?: (string | number) | undefined;
|
|
3621
|
+
readonly autoHide?: boolean | undefined;
|
|
3622
|
+
readonly onMouseenter?: (() => any) | undefined;
|
|
3623
|
+
readonly onShow?: (() => any) | undefined;
|
|
3624
|
+
readonly onHide?: (() => any) | undefined;
|
|
3625
|
+
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps;
|
|
3626
|
+
$attrs: {
|
|
3627
|
+
[x: string]: unknown;
|
|
3628
|
+
};
|
|
3629
|
+
$refs: {
|
|
3630
|
+
[x: string]: unknown;
|
|
3631
|
+
};
|
|
3632
|
+
$slots: Readonly<{
|
|
3633
|
+
[name: string]: vue.Slot<any> | undefined;
|
|
3634
|
+
}>;
|
|
3635
|
+
$root: vue.ComponentPublicInstance | null;
|
|
3636
|
+
$parent: vue.ComponentPublicInstance | null;
|
|
3637
|
+
$host: Element | null;
|
|
3638
|
+
$emit: ((event: "mouseenter") => void) & ((event: "show") => void) & ((event: "hide") => void);
|
|
3639
|
+
$el: any;
|
|
3640
|
+
$options: vue.ComponentOptionsBase<Readonly<{
|
|
3641
|
+
menuData?: (MenuButton | MenuComponent)[];
|
|
3642
|
+
isSubMenu?: boolean;
|
|
3643
|
+
active?: string | number;
|
|
3644
|
+
autoHide?: boolean;
|
|
3645
|
+
}> & Readonly<{
|
|
3646
|
+
onMouseenter?: (() => any) | undefined;
|
|
3647
|
+
onShow?: (() => any) | undefined;
|
|
3648
|
+
onHide?: (() => any) | undefined;
|
|
3649
|
+
}>, {
|
|
3650
|
+
menu: Readonly<vue.ShallowRef<HTMLDivElement | null>>;
|
|
3651
|
+
menuPosition: vue.Ref<{
|
|
3652
|
+
left: number;
|
|
3653
|
+
top: number;
|
|
3654
|
+
}, {
|
|
3655
|
+
left: number;
|
|
3656
|
+
top: number;
|
|
3657
|
+
} | {
|
|
3658
|
+
left: number;
|
|
3659
|
+
top: number;
|
|
3660
|
+
}>;
|
|
3661
|
+
hide: () => void;
|
|
3662
|
+
show: (e?: {
|
|
3663
|
+
clientY: number;
|
|
3664
|
+
clientX: number;
|
|
3665
|
+
}) => void;
|
|
3666
|
+
contains: (el: HTMLElement) => any;
|
|
3667
|
+
setPosition: (e: {
|
|
3668
|
+
clientY: number;
|
|
3669
|
+
clientX: number;
|
|
3670
|
+
}) => void;
|
|
3671
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3672
|
+
mouseenter: () => any;
|
|
3673
|
+
show: () => any;
|
|
3674
|
+
hide: () => any;
|
|
3675
|
+
}, string, {
|
|
3676
|
+
menuData: (MenuButton | MenuComponent)[];
|
|
3677
|
+
isSubMenu: boolean;
|
|
3678
|
+
autoHide: boolean;
|
|
3679
|
+
}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & {
|
|
3680
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
3681
|
+
created?: (() => void) | (() => void)[];
|
|
3682
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
3683
|
+
mounted?: (() => void) | (() => void)[];
|
|
3684
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
3685
|
+
updated?: (() => void) | (() => void)[];
|
|
3686
|
+
activated?: (() => void) | (() => void)[];
|
|
3687
|
+
deactivated?: (() => void) | (() => void)[];
|
|
3688
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
3689
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
3690
|
+
destroyed?: (() => void) | (() => void)[];
|
|
3691
|
+
unmounted?: (() => void) | (() => void)[];
|
|
3692
|
+
renderTracked?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
3693
|
+
renderTriggered?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
3694
|
+
errorCaptured?: ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
3695
|
+
};
|
|
3696
|
+
$forceUpdate: () => void;
|
|
3697
|
+
$nextTick: typeof vue.nextTick;
|
|
3698
|
+
$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.WatchOptions): vue.WatchStopHandle;
|
|
3699
|
+
} & Readonly<{
|
|
3700
|
+
menuData: (MenuButton | MenuComponent)[];
|
|
3701
|
+
isSubMenu: boolean;
|
|
3702
|
+
autoHide: boolean;
|
|
3703
|
+
}> & Omit<Readonly<{
|
|
3704
|
+
menuData?: (MenuButton | MenuComponent)[];
|
|
3705
|
+
isSubMenu?: boolean;
|
|
3706
|
+
active?: string | number;
|
|
3707
|
+
autoHide?: boolean;
|
|
3708
|
+
}> & Readonly<{
|
|
3709
|
+
onMouseenter?: (() => any) | undefined;
|
|
3710
|
+
onShow?: (() => any) | undefined;
|
|
3711
|
+
onHide?: (() => any) | undefined;
|
|
3712
|
+
}>, "menu" | "show" | "hide" | "contains" | "menuPosition" | "setPosition" | ("menuData" | "isSubMenu" | "autoHide")> & vue.ShallowUnwrapRef<{
|
|
3713
|
+
menu: Readonly<vue.ShallowRef<HTMLDivElement | null>>;
|
|
3714
|
+
menuPosition: vue.Ref<{
|
|
3715
|
+
left: number;
|
|
3716
|
+
top: number;
|
|
3717
|
+
}, {
|
|
3718
|
+
left: number;
|
|
3719
|
+
top: number;
|
|
3720
|
+
} | {
|
|
3721
|
+
left: number;
|
|
3722
|
+
top: number;
|
|
3723
|
+
}>;
|
|
3724
|
+
hide: () => void;
|
|
3725
|
+
show: (e?: {
|
|
3726
|
+
clientY: number;
|
|
3727
|
+
clientX: number;
|
|
3728
|
+
}) => void;
|
|
3729
|
+
contains: (el: HTMLElement) => any;
|
|
3730
|
+
setPosition: (e: {
|
|
3731
|
+
clientY: number;
|
|
3732
|
+
clientX: number;
|
|
3733
|
+
}) => void;
|
|
3734
|
+
}> & {} & vue.ComponentCustomProperties & {} & {
|
|
3735
|
+
$slots: {
|
|
3736
|
+
title?(_: {}): any;
|
|
3737
|
+
};
|
|
3738
|
+
}) | null;
|
|
3723
3739
|
};
|
|
3724
3740
|
rootEl: any;
|
|
3725
3741
|
};
|
|
3726
|
-
type __VLS_TemplateResult$
|
|
3727
|
-
declare const __VLS_component$
|
|
3728
|
-
declare const _default$
|
|
3729
|
-
|
|
3730
|
-
type __VLS_WithTemplateSlots$9<T, S> = T & {
|
|
3731
|
-
new (): {
|
|
3732
|
-
$slots: S;
|
|
3733
|
-
};
|
|
3734
|
-
};
|
|
3735
|
-
|
|
3736
|
-
type __VLS_Props$p = FieldProps<{
|
|
3737
|
-
className?: string;
|
|
3738
|
-
} & FormItem$1>;
|
|
3739
|
-
declare const _default$r: vue.DefineComponent<__VLS_Props$p, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3740
|
-
change: (v: any, eventData: ContainerChangeEventData$1) => any;
|
|
3741
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$p> & Readonly<{
|
|
3742
|
-
onChange?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
|
|
3743
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3742
|
+
type __VLS_TemplateResult$8 = ReturnType<typeof __VLS_template$8>;
|
|
3743
|
+
declare const __VLS_component$8: vue.DefineComponent<__VLS_Props$e, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$e> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
3744
|
+
declare const _default$g: __VLS_WithTemplateSlots$8<typeof __VLS_component$8, __VLS_TemplateResult$8["slots"]>;
|
|
3744
3745
|
|
|
3745
|
-
type
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
}
|
|
3749
|
-
|
|
3750
|
-
}>, {
|
|
3751
|
-
disabled: boolean;
|
|
3752
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3746
|
+
type __VLS_WithTemplateSlots$8<T, S> = T & {
|
|
3747
|
+
new (): {
|
|
3748
|
+
$slots: S;
|
|
3749
|
+
};
|
|
3750
|
+
};
|
|
3753
3751
|
|
|
3754
|
-
type __VLS_Props$
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3752
|
+
type __VLS_Props$d = {
|
|
3753
|
+
title?: string;
|
|
3754
|
+
values: any;
|
|
3755
|
+
disabled: boolean;
|
|
3756
|
+
};
|
|
3757
|
+
type __VLS_PublicProps$2 = {
|
|
3759
3758
|
'visible'?: boolean;
|
|
3760
|
-
'
|
|
3761
|
-
} & __VLS_Props$
|
|
3762
|
-
declare const _default$
|
|
3763
|
-
|
|
3759
|
+
'width'?: number;
|
|
3760
|
+
} & __VLS_Props$d;
|
|
3761
|
+
declare const _default$f: vue.DefineComponent<__VLS_PublicProps$2, {
|
|
3762
|
+
show(): void;
|
|
3763
|
+
hide(): void;
|
|
3764
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3765
|
+
submit: (v: any, eventData: ContainerChangeEventData$1) => any;
|
|
3764
3766
|
"update:width": (value: number) => any;
|
|
3765
3767
|
"update:visible": (value: boolean) => any;
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
onChange?: ((v: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
3769
|
-
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
3770
|
-
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
3771
|
-
"onUpdate:visible1"?: ((value: boolean) => any) | undefined;
|
|
3772
|
-
}>, {
|
|
3773
|
-
disabled: boolean;
|
|
3774
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3775
|
-
|
|
3776
|
-
type __VLS_Props$m = FieldProps<{
|
|
3777
|
-
type: 'data-source-mocks';
|
|
3778
|
-
}>;
|
|
3779
|
-
type __VLS_PublicProps$3 = {
|
|
3780
|
-
'width'?: number;
|
|
3781
|
-
'visible'?: boolean;
|
|
3782
|
-
} & __VLS_Props$m;
|
|
3783
|
-
declare const _default$o: vue.DefineComponent<__VLS_PublicProps$3, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3784
|
-
change: (...args: any[]) => void;
|
|
3785
|
-
"update:width": (value: number) => void;
|
|
3786
|
-
"update:visible": (value: boolean) => void;
|
|
3787
|
-
}, string, vue.PublicProps, Readonly<__VLS_PublicProps$3> & Readonly<{
|
|
3788
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
3768
|
+
}, string, vue.PublicProps, Readonly<__VLS_PublicProps$2> & Readonly<{
|
|
3769
|
+
onSubmit?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
|
|
3789
3770
|
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
3790
3771
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
3791
|
-
}>, {
|
|
3792
|
-
disabled: boolean;
|
|
3793
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3794
|
-
|
|
3795
|
-
type __VLS_Props$l = FieldProps<{
|
|
3796
|
-
type: 'data-source-methods';
|
|
3797
|
-
}>;
|
|
3798
|
-
declare const _default$n: vue.DefineComponent<__VLS_Props$l, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3799
|
-
change: (...args: any[]) => void;
|
|
3800
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$l> & Readonly<{
|
|
3801
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
3802
|
-
}>, {
|
|
3803
|
-
disabled: boolean;
|
|
3804
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3805
|
-
|
|
3806
|
-
type __VLS_Props$k = FieldProps<{
|
|
3807
|
-
type: 'data-source-input';
|
|
3808
|
-
} & FormItem$1>;
|
|
3809
|
-
declare const _default$m: vue.DefineComponent<__VLS_Props$k, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3810
|
-
change: (value: string) => any;
|
|
3811
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$k> & Readonly<{
|
|
3812
|
-
onChange?: ((value: string) => any) | undefined;
|
|
3813
|
-
}>, {
|
|
3814
|
-
disabled: boolean;
|
|
3815
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
3816
|
-
|
|
3817
|
-
type __VLS_Props$j = FieldProps<DataSourceSelect>;
|
|
3818
|
-
declare const _default$l: vue.DefineComponent<__VLS_Props$j, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3819
|
-
change: (...args: any[]) => void;
|
|
3820
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$j> & Readonly<{
|
|
3821
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
3822
|
-
}>, {
|
|
3823
|
-
disabled: boolean;
|
|
3824
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3825
|
-
|
|
3826
|
-
type __VLS_Props$i = FieldProps<DataSourceMethodSelectConfig>;
|
|
3827
|
-
declare const _default$k: vue.DefineComponent<__VLS_Props$i, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3828
|
-
change: (...args: any[]) => void;
|
|
3829
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$i> & Readonly<{
|
|
3830
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
3831
|
-
}>, {
|
|
3832
|
-
disabled: boolean;
|
|
3833
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3834
|
-
|
|
3835
|
-
type __VLS_Props$h = FieldProps<DataSourceFieldSelectConfig>;
|
|
3836
|
-
declare const _default$j: vue.DefineComponent<__VLS_Props$h, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3837
|
-
change: (...args: any[]) => void;
|
|
3838
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$h> & Readonly<{
|
|
3839
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
3840
|
-
}>, {
|
|
3841
|
-
disabled: boolean;
|
|
3842
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3843
|
-
|
|
3844
|
-
type __VLS_Props$g = FieldProps<EventSelectConfig>;
|
|
3845
|
-
declare const _default$i: vue.DefineComponent<__VLS_Props$g, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3846
|
-
change: (v: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
3847
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$g> & Readonly<{
|
|
3848
|
-
onChange?: ((v: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
3849
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3850
|
-
|
|
3851
|
-
type __VLS_Props$f = FieldProps<{
|
|
3852
|
-
type: 'key-value';
|
|
3853
|
-
advanced?: boolean;
|
|
3854
|
-
} & FormItem$1>;
|
|
3855
|
-
declare const _default$h: vue.DefineComponent<__VLS_Props$f, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3856
|
-
change: (value: Record<string, any>) => any;
|
|
3857
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$f> & Readonly<{
|
|
3858
|
-
onChange?: ((value: Record<string, any>) => any) | undefined;
|
|
3859
|
-
}>, {
|
|
3860
|
-
disabled: boolean;
|
|
3861
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3772
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
3862
3773
|
|
|
3863
|
-
type __VLS_Props$
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
customError?: (id: Id, errorType: CodeDeleteErrorType) => any;
|
|
3774
|
+
type __VLS_Props$c = {
|
|
3775
|
+
disabledShowSrc?: boolean;
|
|
3776
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
3867
3777
|
};
|
|
3868
|
-
declare function __VLS_template$
|
|
3778
|
+
declare function __VLS_template$7(): {
|
|
3869
3779
|
attrs: Partial<{}>;
|
|
3870
|
-
slots: Readonly<
|
|
3871
|
-
refs: {
|
|
3780
|
+
slots: Readonly<PropsPanelSlots> & PropsPanelSlots;
|
|
3781
|
+
refs: {
|
|
3782
|
+
propertyFormPanel: ({
|
|
3783
|
+
$: vue.ComponentInternalInstance;
|
|
3784
|
+
$data: {};
|
|
3785
|
+
$props: {
|
|
3786
|
+
readonly config: FormConfig;
|
|
3787
|
+
readonly values: FormValue$1;
|
|
3788
|
+
readonly disabledShowSrc?: boolean | undefined;
|
|
3789
|
+
readonly labelWidth?: string | undefined;
|
|
3790
|
+
readonly codeValueKey?: string | undefined;
|
|
3791
|
+
readonly labelPosition?: string | undefined;
|
|
3792
|
+
readonly extendState?: ((state: FormState$1) => Record<string, any> | Promise<Record<string, any>>) | undefined;
|
|
3793
|
+
readonly onMounted?: ((internalInstance: any) => any) | undefined;
|
|
3794
|
+
readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
3795
|
+
readonly "onSubmit-error"?: ((e: any) => any) | undefined;
|
|
3796
|
+
readonly "onForm-error"?: ((e: any) => any) | undefined;
|
|
3797
|
+
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps;
|
|
3798
|
+
$attrs: {
|
|
3799
|
+
[x: string]: unknown;
|
|
3800
|
+
};
|
|
3801
|
+
$refs: {
|
|
3802
|
+
[x: string]: unknown;
|
|
3803
|
+
};
|
|
3804
|
+
$slots: Readonly<{
|
|
3805
|
+
[name: string]: vue.Slot<any> | undefined;
|
|
3806
|
+
}>;
|
|
3807
|
+
$root: vue.ComponentPublicInstance | null;
|
|
3808
|
+
$parent: vue.ComponentPublicInstance | null;
|
|
3809
|
+
$host: Element | null;
|
|
3810
|
+
$emit: ((event: "mounted", internalInstance: any) => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData$1 | undefined) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
|
|
3811
|
+
$el: HTMLDivElement;
|
|
3812
|
+
$options: vue.ComponentOptionsBase<Readonly<{
|
|
3813
|
+
config: FormConfig;
|
|
3814
|
+
values: FormValue$1;
|
|
3815
|
+
disabledShowSrc?: boolean;
|
|
3816
|
+
labelWidth?: string;
|
|
3817
|
+
codeValueKey?: string;
|
|
3818
|
+
labelPosition?: string;
|
|
3819
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
3820
|
+
}> & Readonly<{
|
|
3821
|
+
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
3822
|
+
onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
3823
|
+
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
3824
|
+
"onForm-error"?: ((e: any) => any) | undefined;
|
|
3825
|
+
}>, {
|
|
3826
|
+
configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3827
|
+
config: FormConfig;
|
|
3828
|
+
initValues: Record<string, any>;
|
|
3829
|
+
lastValues?: Record<string, any>;
|
|
3830
|
+
isCompare?: boolean;
|
|
3831
|
+
parentValues?: Record<string, any>;
|
|
3832
|
+
labelWidth?: string;
|
|
3833
|
+
disabled?: boolean;
|
|
3834
|
+
height?: string;
|
|
3835
|
+
stepActive?: string | number;
|
|
3836
|
+
size?: "small" | "default" | "large";
|
|
3837
|
+
inline?: boolean;
|
|
3838
|
+
labelPosition?: string;
|
|
3839
|
+
keyProp?: string;
|
|
3840
|
+
popperClass?: string;
|
|
3841
|
+
preventSubmitDefault?: boolean;
|
|
3842
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
3843
|
+
}> & Readonly<{
|
|
3844
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
3845
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
3846
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
3847
|
+
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3848
|
+
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
3849
|
+
}>, {
|
|
3850
|
+
values: vue.Ref<FormValue$1, FormValue$1>;
|
|
3851
|
+
lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
|
|
3852
|
+
formState: FormState$1;
|
|
3853
|
+
initialized: vue.Ref<boolean, boolean>;
|
|
3854
|
+
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
3855
|
+
changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
|
|
3856
|
+
resetForm: () => void;
|
|
3857
|
+
submitForm: (native?: boolean) => Promise<any>;
|
|
3858
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3859
|
+
change: (...args: any[]) => void;
|
|
3860
|
+
error: (...args: any[]) => void;
|
|
3861
|
+
"update:stepActive": (...args: any[]) => void;
|
|
3862
|
+
"field-change": (...args: any[]) => void;
|
|
3863
|
+
"field-input": (...args: any[]) => void;
|
|
3864
|
+
}, vue.PublicProps, {
|
|
3865
|
+
disabled: boolean;
|
|
3866
|
+
labelWidth: string;
|
|
3867
|
+
inline: boolean;
|
|
3868
|
+
labelPosition: string;
|
|
3869
|
+
config: FormConfig;
|
|
3870
|
+
initValues: Record<string, any>;
|
|
3871
|
+
lastValues: Record<string, any>;
|
|
3872
|
+
isCompare: boolean;
|
|
3873
|
+
keyProp: string;
|
|
3874
|
+
parentValues: Record<string, any>;
|
|
3875
|
+
stepActive: string | number;
|
|
3876
|
+
height: string;
|
|
3877
|
+
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
3878
|
+
P: {};
|
|
3879
|
+
B: {};
|
|
3880
|
+
D: {};
|
|
3881
|
+
C: {};
|
|
3882
|
+
M: {};
|
|
3883
|
+
Defaults: {};
|
|
3884
|
+
}, Readonly<{
|
|
3885
|
+
config: FormConfig;
|
|
3886
|
+
initValues: Record<string, any>;
|
|
3887
|
+
lastValues?: Record<string, any>;
|
|
3888
|
+
isCompare?: boolean;
|
|
3889
|
+
parentValues?: Record<string, any>;
|
|
3890
|
+
labelWidth?: string;
|
|
3891
|
+
disabled?: boolean;
|
|
3892
|
+
height?: string;
|
|
3893
|
+
stepActive?: string | number;
|
|
3894
|
+
size?: "small" | "default" | "large";
|
|
3895
|
+
inline?: boolean;
|
|
3896
|
+
labelPosition?: string;
|
|
3897
|
+
keyProp?: string;
|
|
3898
|
+
popperClass?: string;
|
|
3899
|
+
preventSubmitDefault?: boolean;
|
|
3900
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
3901
|
+
}> & Readonly<{
|
|
3902
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
3903
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
3904
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
3905
|
+
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3906
|
+
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
3907
|
+
}>, {
|
|
3908
|
+
values: vue.Ref<FormValue$1, FormValue$1>;
|
|
3909
|
+
lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
|
|
3910
|
+
formState: FormState$1;
|
|
3911
|
+
initialized: vue.Ref<boolean, boolean>;
|
|
3912
|
+
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
3913
|
+
changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
|
|
3914
|
+
resetForm: () => void;
|
|
3915
|
+
submitForm: (native?: boolean) => Promise<any>;
|
|
3916
|
+
}, {}, {}, {}, {
|
|
3917
|
+
disabled: boolean;
|
|
3918
|
+
labelWidth: string;
|
|
3919
|
+
inline: boolean;
|
|
3920
|
+
labelPosition: string;
|
|
3921
|
+
config: FormConfig;
|
|
3922
|
+
initValues: Record<string, any>;
|
|
3923
|
+
lastValues: Record<string, any>;
|
|
3924
|
+
isCompare: boolean;
|
|
3925
|
+
keyProp: string;
|
|
3926
|
+
parentValues: Record<string, any>;
|
|
3927
|
+
stepActive: string | number;
|
|
3928
|
+
height: string;
|
|
3929
|
+
}> | null>>;
|
|
3930
|
+
submit: (v: FormValue$1, eventData: ContainerChangeEventData$1) => Promise<void>;
|
|
3931
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3932
|
+
mounted: (internalInstance: any) => any;
|
|
3933
|
+
submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
3934
|
+
"submit-error": (e: any) => any;
|
|
3935
|
+
"form-error": (e: any) => any;
|
|
3936
|
+
}, string, {}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & {
|
|
3937
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
3938
|
+
created?: (() => void) | (() => void)[];
|
|
3939
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
3940
|
+
mounted?: (() => void) | (() => void)[];
|
|
3941
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
3942
|
+
updated?: (() => void) | (() => void)[];
|
|
3943
|
+
activated?: (() => void) | (() => void)[];
|
|
3944
|
+
deactivated?: (() => void) | (() => void)[];
|
|
3945
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
3946
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
3947
|
+
destroyed?: (() => void) | (() => void)[];
|
|
3948
|
+
unmounted?: (() => void) | (() => void)[];
|
|
3949
|
+
renderTracked?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
3950
|
+
renderTriggered?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
3951
|
+
errorCaptured?: ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
3952
|
+
};
|
|
3953
|
+
$forceUpdate: () => void;
|
|
3954
|
+
$nextTick: typeof vue.nextTick;
|
|
3955
|
+
$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.WatchOptions): vue.WatchStopHandle;
|
|
3956
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
3957
|
+
config: FormConfig;
|
|
3958
|
+
values: FormValue$1;
|
|
3959
|
+
disabledShowSrc?: boolean;
|
|
3960
|
+
labelWidth?: string;
|
|
3961
|
+
codeValueKey?: string;
|
|
3962
|
+
labelPosition?: string;
|
|
3963
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
3964
|
+
}> & Readonly<{
|
|
3965
|
+
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
3966
|
+
onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
3967
|
+
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
3968
|
+
"onForm-error"?: ((e: any) => any) | undefined;
|
|
3969
|
+
}>, "submit" | "configForm"> & vue.ShallowUnwrapRef<{
|
|
3970
|
+
configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3971
|
+
config: FormConfig;
|
|
3972
|
+
initValues: Record<string, any>;
|
|
3973
|
+
lastValues?: Record<string, any>;
|
|
3974
|
+
isCompare?: boolean;
|
|
3975
|
+
parentValues?: Record<string, any>;
|
|
3976
|
+
labelWidth?: string;
|
|
3977
|
+
disabled?: boolean;
|
|
3978
|
+
height?: string;
|
|
3979
|
+
stepActive?: string | number;
|
|
3980
|
+
size?: "small" | "default" | "large";
|
|
3981
|
+
inline?: boolean;
|
|
3982
|
+
labelPosition?: string;
|
|
3983
|
+
keyProp?: string;
|
|
3984
|
+
popperClass?: string;
|
|
3985
|
+
preventSubmitDefault?: boolean;
|
|
3986
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
3987
|
+
}> & Readonly<{
|
|
3988
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
3989
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
3990
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
3991
|
+
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
3992
|
+
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
3993
|
+
}>, {
|
|
3994
|
+
values: vue.Ref<FormValue$1, FormValue$1>;
|
|
3995
|
+
lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
|
|
3996
|
+
formState: FormState$1;
|
|
3997
|
+
initialized: vue.Ref<boolean, boolean>;
|
|
3998
|
+
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
3999
|
+
changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
|
|
4000
|
+
resetForm: () => void;
|
|
4001
|
+
submitForm: (native?: boolean) => Promise<any>;
|
|
4002
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
4003
|
+
change: (...args: any[]) => void;
|
|
4004
|
+
error: (...args: any[]) => void;
|
|
4005
|
+
"update:stepActive": (...args: any[]) => void;
|
|
4006
|
+
"field-change": (...args: any[]) => void;
|
|
4007
|
+
"field-input": (...args: any[]) => void;
|
|
4008
|
+
}, vue.PublicProps, {
|
|
4009
|
+
disabled: boolean;
|
|
4010
|
+
labelWidth: string;
|
|
4011
|
+
inline: boolean;
|
|
4012
|
+
labelPosition: string;
|
|
4013
|
+
config: FormConfig;
|
|
4014
|
+
initValues: Record<string, any>;
|
|
4015
|
+
lastValues: Record<string, any>;
|
|
4016
|
+
isCompare: boolean;
|
|
4017
|
+
keyProp: string;
|
|
4018
|
+
parentValues: Record<string, any>;
|
|
4019
|
+
stepActive: string | number;
|
|
4020
|
+
height: string;
|
|
4021
|
+
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
4022
|
+
P: {};
|
|
4023
|
+
B: {};
|
|
4024
|
+
D: {};
|
|
4025
|
+
C: {};
|
|
4026
|
+
M: {};
|
|
4027
|
+
Defaults: {};
|
|
4028
|
+
}, Readonly<{
|
|
4029
|
+
config: FormConfig;
|
|
4030
|
+
initValues: Record<string, any>;
|
|
4031
|
+
lastValues?: Record<string, any>;
|
|
4032
|
+
isCompare?: boolean;
|
|
4033
|
+
parentValues?: Record<string, any>;
|
|
4034
|
+
labelWidth?: string;
|
|
4035
|
+
disabled?: boolean;
|
|
4036
|
+
height?: string;
|
|
4037
|
+
stepActive?: string | number;
|
|
4038
|
+
size?: "small" | "default" | "large";
|
|
4039
|
+
inline?: boolean;
|
|
4040
|
+
labelPosition?: string;
|
|
4041
|
+
keyProp?: string;
|
|
4042
|
+
popperClass?: string;
|
|
4043
|
+
preventSubmitDefault?: boolean;
|
|
4044
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4045
|
+
}> & Readonly<{
|
|
4046
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
4047
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
4048
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
4049
|
+
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
4050
|
+
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
4051
|
+
}>, {
|
|
4052
|
+
values: vue.Ref<FormValue$1, FormValue$1>;
|
|
4053
|
+
lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
|
|
4054
|
+
formState: FormState$1;
|
|
4055
|
+
initialized: vue.Ref<boolean, boolean>;
|
|
4056
|
+
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
4057
|
+
changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
|
|
4058
|
+
resetForm: () => void;
|
|
4059
|
+
submitForm: (native?: boolean) => Promise<any>;
|
|
4060
|
+
}, {}, {}, {}, {
|
|
4061
|
+
disabled: boolean;
|
|
4062
|
+
labelWidth: string;
|
|
4063
|
+
inline: boolean;
|
|
4064
|
+
labelPosition: string;
|
|
4065
|
+
config: FormConfig;
|
|
4066
|
+
initValues: Record<string, any>;
|
|
4067
|
+
lastValues: Record<string, any>;
|
|
4068
|
+
isCompare: boolean;
|
|
4069
|
+
keyProp: string;
|
|
4070
|
+
parentValues: Record<string, any>;
|
|
4071
|
+
stepActive: string | number;
|
|
4072
|
+
height: string;
|
|
4073
|
+
}> | null>>;
|
|
4074
|
+
submit: (v: FormValue$1, eventData: ContainerChangeEventData$1) => Promise<void>;
|
|
4075
|
+
}> & {} & vue.ComponentCustomProperties & {} & {
|
|
4076
|
+
$slots: Readonly<{
|
|
4077
|
+
'props-form-panel-header'(props: {}): any;
|
|
4078
|
+
}> & {
|
|
4079
|
+
'props-form-panel-header'(props: {}): any;
|
|
4080
|
+
};
|
|
4081
|
+
}) | null;
|
|
4082
|
+
};
|
|
3872
4083
|
rootEl: HTMLDivElement;
|
|
3873
4084
|
};
|
|
3874
|
-
type __VLS_TemplateResult$
|
|
3875
|
-
declare const __VLS_component$
|
|
3876
|
-
|
|
4085
|
+
type __VLS_TemplateResult$7 = ReturnType<typeof __VLS_template$7>;
|
|
4086
|
+
declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$c, {
|
|
4087
|
+
getFormState(): FormState$1 | undefined;
|
|
4088
|
+
submit: (v: MNode, eventData?: ContainerChangeEventData$1) => Promise<void>;
|
|
3877
4089
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
};
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
4090
|
+
mounted: (internalInstance: {
|
|
4091
|
+
$: vue.ComponentInternalInstance;
|
|
4092
|
+
$data: {};
|
|
4093
|
+
$props: {
|
|
4094
|
+
readonly config: FormConfig;
|
|
4095
|
+
readonly values: FormValue$1;
|
|
4096
|
+
readonly disabledShowSrc?: boolean | undefined;
|
|
4097
|
+
readonly labelWidth?: string | undefined;
|
|
4098
|
+
readonly codeValueKey?: string | undefined;
|
|
4099
|
+
readonly labelPosition?: string | undefined;
|
|
4100
|
+
readonly extendState?: ((state: FormState$1) => Record<string, any> | Promise<Record<string, any>>) | undefined;
|
|
4101
|
+
readonly onMounted?: ((internalInstance: any) => any) | undefined;
|
|
4102
|
+
readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
4103
|
+
readonly "onSubmit-error"?: ((e: any) => any) | undefined;
|
|
4104
|
+
readonly "onForm-error"?: ((e: any) => any) | undefined;
|
|
4105
|
+
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps;
|
|
4106
|
+
$attrs: {
|
|
4107
|
+
[x: string]: unknown;
|
|
4108
|
+
};
|
|
4109
|
+
$refs: {
|
|
4110
|
+
[x: string]: unknown;
|
|
4111
|
+
};
|
|
4112
|
+
$slots: Readonly<{
|
|
4113
|
+
[name: string]: vue.Slot<any> | undefined;
|
|
4114
|
+
}>;
|
|
4115
|
+
$root: vue.ComponentPublicInstance | null;
|
|
4116
|
+
$parent: vue.ComponentPublicInstance | null;
|
|
4117
|
+
$host: Element | null;
|
|
4118
|
+
$emit: ((event: "mounted", internalInstance: any) => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData$1 | undefined) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
|
|
4119
|
+
$el: HTMLDivElement;
|
|
4120
|
+
$options: vue.ComponentOptionsBase<Readonly<{
|
|
4121
|
+
config: FormConfig;
|
|
4122
|
+
values: FormValue$1;
|
|
4123
|
+
disabledShowSrc?: boolean;
|
|
4124
|
+
labelWidth?: string;
|
|
4125
|
+
codeValueKey?: string;
|
|
4126
|
+
labelPosition?: string;
|
|
4127
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4128
|
+
}> & Readonly<{
|
|
4129
|
+
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
4130
|
+
onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
4131
|
+
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
4132
|
+
"onForm-error"?: ((e: any) => any) | undefined;
|
|
4133
|
+
}>, {
|
|
4134
|
+
configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4135
|
+
config: FormConfig;
|
|
4136
|
+
initValues: Record<string, any>;
|
|
4137
|
+
lastValues?: Record<string, any>;
|
|
4138
|
+
isCompare?: boolean;
|
|
4139
|
+
parentValues?: Record<string, any>;
|
|
4140
|
+
labelWidth?: string;
|
|
4141
|
+
disabled?: boolean;
|
|
4142
|
+
height?: string;
|
|
4143
|
+
stepActive?: string | number;
|
|
4144
|
+
size?: "small" | "default" | "large";
|
|
4145
|
+
inline?: boolean;
|
|
4146
|
+
labelPosition?: string;
|
|
4147
|
+
keyProp?: string;
|
|
4148
|
+
popperClass?: string;
|
|
4149
|
+
preventSubmitDefault?: boolean;
|
|
4150
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4151
|
+
}> & Readonly<{
|
|
4152
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
4153
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
4154
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
4155
|
+
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
4156
|
+
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
4157
|
+
}>, {
|
|
4158
|
+
values: vue.Ref<FormValue$1, FormValue$1>;
|
|
4159
|
+
lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
|
|
4160
|
+
formState: FormState$1;
|
|
4161
|
+
initialized: vue.Ref<boolean, boolean>;
|
|
4162
|
+
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
4163
|
+
changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
|
|
4164
|
+
resetForm: () => void;
|
|
4165
|
+
submitForm: (native?: boolean) => Promise<any>;
|
|
4166
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
4167
|
+
change: (...args: any[]) => void;
|
|
4168
|
+
error: (...args: any[]) => void;
|
|
4169
|
+
"update:stepActive": (...args: any[]) => void;
|
|
4170
|
+
"field-change": (...args: any[]) => void;
|
|
4171
|
+
"field-input": (...args: any[]) => void;
|
|
4172
|
+
}, vue.PublicProps, {
|
|
4173
|
+
disabled: boolean;
|
|
4174
|
+
labelWidth: string;
|
|
4175
|
+
inline: boolean;
|
|
4176
|
+
labelPosition: string;
|
|
4177
|
+
config: FormConfig;
|
|
4178
|
+
initValues: Record<string, any>;
|
|
4179
|
+
lastValues: Record<string, any>;
|
|
4180
|
+
isCompare: boolean;
|
|
4181
|
+
keyProp: string;
|
|
4182
|
+
parentValues: Record<string, any>;
|
|
4183
|
+
stepActive: string | number;
|
|
4184
|
+
height: string;
|
|
4185
|
+
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
4186
|
+
P: {};
|
|
4187
|
+
B: {};
|
|
4188
|
+
D: {};
|
|
4189
|
+
C: {};
|
|
4190
|
+
M: {};
|
|
4191
|
+
Defaults: {};
|
|
4192
|
+
}, Readonly<{
|
|
4193
|
+
config: FormConfig;
|
|
4194
|
+
initValues: Record<string, any>;
|
|
4195
|
+
lastValues?: Record<string, any>;
|
|
4196
|
+
isCompare?: boolean;
|
|
4197
|
+
parentValues?: Record<string, any>;
|
|
4198
|
+
labelWidth?: string;
|
|
4199
|
+
disabled?: boolean;
|
|
4200
|
+
height?: string;
|
|
4201
|
+
stepActive?: string | number;
|
|
4202
|
+
size?: "small" | "default" | "large";
|
|
4203
|
+
inline?: boolean;
|
|
4204
|
+
labelPosition?: string;
|
|
4205
|
+
keyProp?: string;
|
|
4206
|
+
popperClass?: string;
|
|
4207
|
+
preventSubmitDefault?: boolean;
|
|
4208
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4209
|
+
}> & Readonly<{
|
|
4210
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
4211
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
4212
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
4213
|
+
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
4214
|
+
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
4215
|
+
}>, {
|
|
4216
|
+
values: vue.Ref<FormValue$1, FormValue$1>;
|
|
4217
|
+
lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
|
|
4218
|
+
formState: FormState$1;
|
|
4219
|
+
initialized: vue.Ref<boolean, boolean>;
|
|
4220
|
+
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
4221
|
+
changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
|
|
4222
|
+
resetForm: () => void;
|
|
4223
|
+
submitForm: (native?: boolean) => Promise<any>;
|
|
4224
|
+
}, {}, {}, {}, {
|
|
4225
|
+
disabled: boolean;
|
|
4226
|
+
labelWidth: string;
|
|
4227
|
+
inline: boolean;
|
|
4228
|
+
labelPosition: string;
|
|
4229
|
+
config: FormConfig;
|
|
4230
|
+
initValues: Record<string, any>;
|
|
4231
|
+
lastValues: Record<string, any>;
|
|
4232
|
+
isCompare: boolean;
|
|
4233
|
+
keyProp: string;
|
|
4234
|
+
parentValues: Record<string, any>;
|
|
4235
|
+
stepActive: string | number;
|
|
4236
|
+
height: string;
|
|
4237
|
+
}> | null>>;
|
|
4238
|
+
submit: (v: FormValue$1, eventData: ContainerChangeEventData$1) => Promise<void>;
|
|
4239
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
4240
|
+
mounted: (internalInstance: any) => any;
|
|
4241
|
+
submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
4242
|
+
"submit-error": (e: any) => any;
|
|
4243
|
+
"form-error": (e: any) => any;
|
|
4244
|
+
}, string, {}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & {
|
|
4245
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
4246
|
+
created?: (() => void) | (() => void)[];
|
|
4247
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
4248
|
+
mounted?: (() => void) | (() => void)[];
|
|
4249
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
4250
|
+
updated?: (() => void) | (() => void)[];
|
|
4251
|
+
activated?: (() => void) | (() => void)[];
|
|
4252
|
+
deactivated?: (() => void) | (() => void)[];
|
|
4253
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
4254
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
4255
|
+
destroyed?: (() => void) | (() => void)[];
|
|
4256
|
+
unmounted?: (() => void) | (() => void)[];
|
|
4257
|
+
renderTracked?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
4258
|
+
renderTriggered?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
4259
|
+
errorCaptured?: ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
4260
|
+
};
|
|
4261
|
+
$forceUpdate: () => void;
|
|
4262
|
+
$nextTick: typeof vue.nextTick;
|
|
4263
|
+
$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.WatchOptions): vue.WatchStopHandle;
|
|
4264
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
4265
|
+
config: FormConfig;
|
|
4266
|
+
values: FormValue$1;
|
|
4267
|
+
disabledShowSrc?: boolean;
|
|
4268
|
+
labelWidth?: string;
|
|
4269
|
+
codeValueKey?: string;
|
|
4270
|
+
labelPosition?: string;
|
|
4271
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4272
|
+
}> & Readonly<{
|
|
4273
|
+
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
4274
|
+
onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
4275
|
+
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
4276
|
+
"onForm-error"?: ((e: any) => any) | undefined;
|
|
4277
|
+
}>, "submit" | "configForm"> & vue.ShallowUnwrapRef<{
|
|
4278
|
+
configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4279
|
+
config: FormConfig;
|
|
4280
|
+
initValues: Record<string, any>;
|
|
4281
|
+
lastValues?: Record<string, any>;
|
|
4282
|
+
isCompare?: boolean;
|
|
4283
|
+
parentValues?: Record<string, any>;
|
|
4284
|
+
labelWidth?: string;
|
|
4285
|
+
disabled?: boolean;
|
|
4286
|
+
height?: string;
|
|
4287
|
+
stepActive?: string | number;
|
|
4288
|
+
size?: "small" | "default" | "large";
|
|
4289
|
+
inline?: boolean;
|
|
4290
|
+
labelPosition?: string;
|
|
4291
|
+
keyProp?: string;
|
|
4292
|
+
popperClass?: string;
|
|
4293
|
+
preventSubmitDefault?: boolean;
|
|
4294
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4295
|
+
}> & Readonly<{
|
|
4296
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
4297
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
4298
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
4299
|
+
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
4300
|
+
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
4301
|
+
}>, {
|
|
4302
|
+
values: vue.Ref<FormValue$1, FormValue$1>;
|
|
4303
|
+
lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
|
|
4304
|
+
formState: FormState$1;
|
|
4305
|
+
initialized: vue.Ref<boolean, boolean>;
|
|
4306
|
+
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
4307
|
+
changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
|
|
4308
|
+
resetForm: () => void;
|
|
4309
|
+
submitForm: (native?: boolean) => Promise<any>;
|
|
4310
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
4311
|
+
change: (...args: any[]) => void;
|
|
4312
|
+
error: (...args: any[]) => void;
|
|
4313
|
+
"update:stepActive": (...args: any[]) => void;
|
|
4314
|
+
"field-change": (...args: any[]) => void;
|
|
4315
|
+
"field-input": (...args: any[]) => void;
|
|
4316
|
+
}, vue.PublicProps, {
|
|
4317
|
+
disabled: boolean;
|
|
4318
|
+
labelWidth: string;
|
|
4319
|
+
inline: boolean;
|
|
4320
|
+
labelPosition: string;
|
|
4321
|
+
config: FormConfig;
|
|
4322
|
+
initValues: Record<string, any>;
|
|
4323
|
+
lastValues: Record<string, any>;
|
|
4324
|
+
isCompare: boolean;
|
|
4325
|
+
keyProp: string;
|
|
4326
|
+
parentValues: Record<string, any>;
|
|
4327
|
+
stepActive: string | number;
|
|
4328
|
+
height: string;
|
|
4329
|
+
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
4330
|
+
P: {};
|
|
4331
|
+
B: {};
|
|
4332
|
+
D: {};
|
|
4333
|
+
C: {};
|
|
4334
|
+
M: {};
|
|
4335
|
+
Defaults: {};
|
|
4336
|
+
}, Readonly<{
|
|
4337
|
+
config: FormConfig;
|
|
4338
|
+
initValues: Record<string, any>;
|
|
4339
|
+
lastValues?: Record<string, any>;
|
|
4340
|
+
isCompare?: boolean;
|
|
4341
|
+
parentValues?: Record<string, any>;
|
|
4342
|
+
labelWidth?: string;
|
|
4343
|
+
disabled?: boolean;
|
|
4344
|
+
height?: string;
|
|
4345
|
+
stepActive?: string | number;
|
|
4346
|
+
size?: "small" | "default" | "large";
|
|
4347
|
+
inline?: boolean;
|
|
4348
|
+
labelPosition?: string;
|
|
4349
|
+
keyProp?: string;
|
|
4350
|
+
popperClass?: string;
|
|
4351
|
+
preventSubmitDefault?: boolean;
|
|
4352
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4353
|
+
}> & Readonly<{
|
|
4354
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
4355
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
4356
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
4357
|
+
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
4358
|
+
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
4359
|
+
}>, {
|
|
4360
|
+
values: vue.Ref<FormValue$1, FormValue$1>;
|
|
4361
|
+
lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
|
|
4362
|
+
formState: FormState$1;
|
|
4363
|
+
initialized: vue.Ref<boolean, boolean>;
|
|
4364
|
+
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
4365
|
+
changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
|
|
4366
|
+
resetForm: () => void;
|
|
4367
|
+
submitForm: (native?: boolean) => Promise<any>;
|
|
4368
|
+
}, {}, {}, {}, {
|
|
4369
|
+
disabled: boolean;
|
|
4370
|
+
labelWidth: string;
|
|
4371
|
+
inline: boolean;
|
|
4372
|
+
labelPosition: string;
|
|
4373
|
+
config: FormConfig;
|
|
4374
|
+
initValues: Record<string, any>;
|
|
4375
|
+
lastValues: Record<string, any>;
|
|
4376
|
+
isCompare: boolean;
|
|
4377
|
+
keyProp: string;
|
|
4378
|
+
parentValues: Record<string, any>;
|
|
4379
|
+
stepActive: string | number;
|
|
4380
|
+
height: string;
|
|
4381
|
+
}> | null>>;
|
|
4382
|
+
submit: (v: FormValue$1, eventData: ContainerChangeEventData$1) => Promise<void>;
|
|
4383
|
+
}> & {} & vue.ComponentCustomProperties & {} & {
|
|
4384
|
+
$slots: Readonly<{
|
|
4385
|
+
'props-form-panel-header'(props: {}): any;
|
|
4386
|
+
}> & {
|
|
4387
|
+
'props-form-panel-header'(props: {}): any;
|
|
4388
|
+
};
|
|
4389
|
+
}) => any;
|
|
4390
|
+
"submit-error": (e: any) => any;
|
|
4391
|
+
"form-error": (e: any) => any;
|
|
4392
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$c> & Readonly<{
|
|
4393
|
+
onMounted?: ((internalInstance: {
|
|
4394
|
+
$: vue.ComponentInternalInstance;
|
|
4395
|
+
$data: {};
|
|
4396
|
+
$props: {
|
|
4397
|
+
readonly config: FormConfig;
|
|
4398
|
+
readonly values: FormValue$1;
|
|
4399
|
+
readonly disabledShowSrc?: boolean | undefined;
|
|
4400
|
+
readonly labelWidth?: string | undefined;
|
|
4401
|
+
readonly codeValueKey?: string | undefined;
|
|
4402
|
+
readonly labelPosition?: string | undefined;
|
|
4403
|
+
readonly extendState?: ((state: FormState$1) => Record<string, any> | Promise<Record<string, any>>) | undefined;
|
|
4404
|
+
readonly onMounted?: ((internalInstance: any) => any) | undefined;
|
|
4405
|
+
readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
4406
|
+
readonly "onSubmit-error"?: ((e: any) => any) | undefined;
|
|
4407
|
+
readonly "onForm-error"?: ((e: any) => any) | undefined;
|
|
4408
|
+
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps;
|
|
4409
|
+
$attrs: {
|
|
4410
|
+
[x: string]: unknown;
|
|
4411
|
+
};
|
|
4412
|
+
$refs: {
|
|
4413
|
+
[x: string]: unknown;
|
|
4414
|
+
};
|
|
4415
|
+
$slots: Readonly<{
|
|
4416
|
+
[name: string]: vue.Slot<any> | undefined;
|
|
4417
|
+
}>;
|
|
4418
|
+
$root: vue.ComponentPublicInstance | null;
|
|
4419
|
+
$parent: vue.ComponentPublicInstance | null;
|
|
4420
|
+
$host: Element | null;
|
|
4421
|
+
$emit: ((event: "mounted", internalInstance: any) => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData$1 | undefined) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
|
|
4422
|
+
$el: HTMLDivElement;
|
|
4423
|
+
$options: vue.ComponentOptionsBase<Readonly<{
|
|
4424
|
+
config: FormConfig;
|
|
4425
|
+
values: FormValue$1;
|
|
4426
|
+
disabledShowSrc?: boolean;
|
|
4427
|
+
labelWidth?: string;
|
|
4428
|
+
codeValueKey?: string;
|
|
4429
|
+
labelPosition?: string;
|
|
4430
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4431
|
+
}> & Readonly<{
|
|
4432
|
+
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
4433
|
+
onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
4434
|
+
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
4435
|
+
"onForm-error"?: ((e: any) => any) | undefined;
|
|
4436
|
+
}>, {
|
|
4437
|
+
configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4438
|
+
config: FormConfig;
|
|
4439
|
+
initValues: Record<string, any>;
|
|
4440
|
+
lastValues?: Record<string, any>;
|
|
4441
|
+
isCompare?: boolean;
|
|
4442
|
+
parentValues?: Record<string, any>;
|
|
4443
|
+
labelWidth?: string;
|
|
4444
|
+
disabled?: boolean;
|
|
4445
|
+
height?: string;
|
|
4446
|
+
stepActive?: string | number;
|
|
4447
|
+
size?: "small" | "default" | "large";
|
|
4448
|
+
inline?: boolean;
|
|
4449
|
+
labelPosition?: string;
|
|
4450
|
+
keyProp?: string;
|
|
4451
|
+
popperClass?: string;
|
|
4452
|
+
preventSubmitDefault?: boolean;
|
|
4453
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
3929
4454
|
}> & Readonly<{
|
|
3930
|
-
|
|
3931
|
-
|
|
4455
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
4456
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
4457
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
4458
|
+
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
4459
|
+
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
3932
4460
|
}>, {
|
|
3933
|
-
|
|
4461
|
+
values: vue.Ref<FormValue$1, FormValue$1>;
|
|
4462
|
+
lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
|
|
4463
|
+
formState: FormState$1;
|
|
4464
|
+
initialized: vue.Ref<boolean, boolean>;
|
|
4465
|
+
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
4466
|
+
changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
|
|
4467
|
+
resetForm: () => void;
|
|
4468
|
+
submitForm: (native?: boolean) => Promise<any>;
|
|
3934
4469
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
}
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
4470
|
+
change: (...args: any[]) => void;
|
|
4471
|
+
error: (...args: any[]) => void;
|
|
4472
|
+
"update:stepActive": (...args: any[]) => void;
|
|
4473
|
+
"field-change": (...args: any[]) => void;
|
|
4474
|
+
"field-input": (...args: any[]) => void;
|
|
4475
|
+
}, vue.PublicProps, {
|
|
4476
|
+
disabled: boolean;
|
|
4477
|
+
labelWidth: string;
|
|
4478
|
+
inline: boolean;
|
|
4479
|
+
labelPosition: string;
|
|
4480
|
+
config: FormConfig;
|
|
4481
|
+
initValues: Record<string, any>;
|
|
4482
|
+
lastValues: Record<string, any>;
|
|
4483
|
+
isCompare: boolean;
|
|
4484
|
+
keyProp: string;
|
|
4485
|
+
parentValues: Record<string, any>;
|
|
4486
|
+
stepActive: string | number;
|
|
4487
|
+
height: string;
|
|
4488
|
+
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
4489
|
+
P: {};
|
|
4490
|
+
B: {};
|
|
4491
|
+
D: {};
|
|
4492
|
+
C: {};
|
|
4493
|
+
M: {};
|
|
4494
|
+
Defaults: {};
|
|
4495
|
+
}, Readonly<{
|
|
4496
|
+
config: FormConfig;
|
|
4497
|
+
initValues: Record<string, any>;
|
|
4498
|
+
lastValues?: Record<string, any>;
|
|
4499
|
+
isCompare?: boolean;
|
|
4500
|
+
parentValues?: Record<string, any>;
|
|
4501
|
+
labelWidth?: string;
|
|
4502
|
+
disabled?: boolean;
|
|
4503
|
+
height?: string;
|
|
4504
|
+
stepActive?: string | number;
|
|
4505
|
+
size?: "small" | "default" | "large";
|
|
4506
|
+
inline?: boolean;
|
|
4507
|
+
labelPosition?: string;
|
|
4508
|
+
keyProp?: string;
|
|
4509
|
+
popperClass?: string;
|
|
4510
|
+
preventSubmitDefault?: boolean;
|
|
4511
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4512
|
+
}> & Readonly<{
|
|
4513
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
4514
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
4515
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
4516
|
+
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
4517
|
+
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
4518
|
+
}>, {
|
|
4519
|
+
values: vue.Ref<FormValue$1, FormValue$1>;
|
|
4520
|
+
lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
|
|
4521
|
+
formState: FormState$1;
|
|
4522
|
+
initialized: vue.Ref<boolean, boolean>;
|
|
4523
|
+
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
4524
|
+
changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
|
|
4525
|
+
resetForm: () => void;
|
|
4526
|
+
submitForm: (native?: boolean) => Promise<any>;
|
|
4527
|
+
}, {}, {}, {}, {
|
|
4528
|
+
disabled: boolean;
|
|
4529
|
+
labelWidth: string;
|
|
4530
|
+
inline: boolean;
|
|
4531
|
+
labelPosition: string;
|
|
4532
|
+
config: FormConfig;
|
|
4533
|
+
initValues: Record<string, any>;
|
|
4534
|
+
lastValues: Record<string, any>;
|
|
4535
|
+
isCompare: boolean;
|
|
4536
|
+
keyProp: string;
|
|
4537
|
+
parentValues: Record<string, any>;
|
|
4538
|
+
stepActive: string | number;
|
|
4539
|
+
height: string;
|
|
4540
|
+
}> | null>>;
|
|
4541
|
+
submit: (v: FormValue$1, eventData: ContainerChangeEventData$1) => Promise<void>;
|
|
4542
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
4543
|
+
mounted: (internalInstance: any) => any;
|
|
4544
|
+
submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
4545
|
+
"submit-error": (e: any) => any;
|
|
4546
|
+
"form-error": (e: any) => any;
|
|
4547
|
+
}, string, {}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & {
|
|
4548
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
4549
|
+
created?: (() => void) | (() => void)[];
|
|
4550
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
4551
|
+
mounted?: (() => void) | (() => void)[];
|
|
4552
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
4553
|
+
updated?: (() => void) | (() => void)[];
|
|
4554
|
+
activated?: (() => void) | (() => void)[];
|
|
4555
|
+
deactivated?: (() => void) | (() => void)[];
|
|
4556
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
4557
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
4558
|
+
destroyed?: (() => void) | (() => void)[];
|
|
4559
|
+
unmounted?: (() => void) | (() => void)[];
|
|
4560
|
+
renderTracked?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
4561
|
+
renderTriggered?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
4562
|
+
errorCaptured?: ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
4563
|
+
};
|
|
4564
|
+
$forceUpdate: () => void;
|
|
4565
|
+
$nextTick: typeof vue.nextTick;
|
|
4566
|
+
$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.WatchOptions): vue.WatchStopHandle;
|
|
4567
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
4568
|
+
config: FormConfig;
|
|
4569
|
+
values: FormValue$1;
|
|
4570
|
+
disabledShowSrc?: boolean;
|
|
4571
|
+
labelWidth?: string;
|
|
4572
|
+
codeValueKey?: string;
|
|
4573
|
+
labelPosition?: string;
|
|
4574
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4575
|
+
}> & Readonly<{
|
|
4576
|
+
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
4577
|
+
onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
4578
|
+
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
4579
|
+
"onForm-error"?: ((e: any) => any) | undefined;
|
|
4580
|
+
}>, "submit" | "configForm"> & vue.ShallowUnwrapRef<{
|
|
4581
|
+
configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4582
|
+
config: FormConfig;
|
|
4583
|
+
initValues: Record<string, any>;
|
|
4584
|
+
lastValues?: Record<string, any>;
|
|
4585
|
+
isCompare?: boolean;
|
|
4586
|
+
parentValues?: Record<string, any>;
|
|
4587
|
+
labelWidth?: string;
|
|
3974
4588
|
disabled?: boolean;
|
|
3975
|
-
|
|
3976
|
-
|
|
4589
|
+
height?: string;
|
|
4590
|
+
stepActive?: string | number;
|
|
4591
|
+
size?: "small" | "default" | "large";
|
|
4592
|
+
inline?: boolean;
|
|
4593
|
+
labelPosition?: string;
|
|
4594
|
+
keyProp?: string;
|
|
4595
|
+
popperClass?: string;
|
|
4596
|
+
preventSubmitDefault?: boolean;
|
|
4597
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
3977
4598
|
}> & Readonly<{
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
"onUpdate:
|
|
4599
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
4600
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
4601
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
4602
|
+
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
4603
|
+
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
3981
4604
|
}>, {
|
|
3982
|
-
|
|
3983
|
-
|
|
4605
|
+
values: vue.Ref<FormValue$1, FormValue$1>;
|
|
4606
|
+
lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
|
|
4607
|
+
formState: FormState$1;
|
|
4608
|
+
initialized: vue.Ref<boolean, boolean>;
|
|
4609
|
+
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
4610
|
+
changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
|
|
4611
|
+
resetForm: () => void;
|
|
4612
|
+
submitForm: (native?: boolean) => Promise<any>;
|
|
3984
4613
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
"update:
|
|
3988
|
-
|
|
4614
|
+
change: (...args: any[]) => void;
|
|
4615
|
+
error: (...args: any[]) => void;
|
|
4616
|
+
"update:stepActive": (...args: any[]) => void;
|
|
4617
|
+
"field-change": (...args: any[]) => void;
|
|
4618
|
+
"field-input": (...args: any[]) => void;
|
|
4619
|
+
}, vue.PublicProps, {
|
|
4620
|
+
disabled: boolean;
|
|
4621
|
+
labelWidth: string;
|
|
4622
|
+
inline: boolean;
|
|
4623
|
+
labelPosition: string;
|
|
4624
|
+
config: FormConfig;
|
|
4625
|
+
initValues: Record<string, any>;
|
|
4626
|
+
lastValues: Record<string, any>;
|
|
4627
|
+
isCompare: boolean;
|
|
4628
|
+
keyProp: string;
|
|
4629
|
+
parentValues: Record<string, any>;
|
|
4630
|
+
stepActive: string | number;
|
|
4631
|
+
height: string;
|
|
4632
|
+
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
3989
4633
|
P: {};
|
|
3990
4634
|
B: {};
|
|
3991
4635
|
D: {};
|
|
@@ -3993,27 +4637,63 @@ declare function __VLS_template$7(): {
|
|
|
3993
4637
|
M: {};
|
|
3994
4638
|
Defaults: {};
|
|
3995
4639
|
}, Readonly<{
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4640
|
+
config: FormConfig;
|
|
4641
|
+
initValues: Record<string, any>;
|
|
4642
|
+
lastValues?: Record<string, any>;
|
|
4643
|
+
isCompare?: boolean;
|
|
4644
|
+
parentValues?: Record<string, any>;
|
|
4645
|
+
labelWidth?: string;
|
|
4000
4646
|
disabled?: boolean;
|
|
4001
|
-
|
|
4002
|
-
|
|
4647
|
+
height?: string;
|
|
4648
|
+
stepActive?: string | number;
|
|
4649
|
+
size?: "small" | "default" | "large";
|
|
4650
|
+
inline?: boolean;
|
|
4651
|
+
labelPosition?: string;
|
|
4652
|
+
keyProp?: string;
|
|
4653
|
+
popperClass?: string;
|
|
4654
|
+
preventSubmitDefault?: boolean;
|
|
4655
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4003
4656
|
}> & Readonly<{
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
"onUpdate:
|
|
4657
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
4658
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
4659
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
4660
|
+
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
4661
|
+
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
4007
4662
|
}>, {
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4663
|
+
values: vue.Ref<FormValue$1, FormValue$1>;
|
|
4664
|
+
lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
|
|
4665
|
+
formState: FormState$1;
|
|
4666
|
+
initialized: vue.Ref<boolean, boolean>;
|
|
4667
|
+
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
4668
|
+
changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
|
|
4669
|
+
resetForm: () => void;
|
|
4670
|
+
submitForm: (native?: boolean) => Promise<any>;
|
|
4671
|
+
}, {}, {}, {}, {
|
|
4672
|
+
disabled: boolean;
|
|
4673
|
+
labelWidth: string;
|
|
4674
|
+
inline: boolean;
|
|
4675
|
+
labelPosition: string;
|
|
4676
|
+
config: FormConfig;
|
|
4677
|
+
initValues: Record<string, any>;
|
|
4678
|
+
lastValues: Record<string, any>;
|
|
4679
|
+
isCompare: boolean;
|
|
4680
|
+
keyProp: string;
|
|
4681
|
+
parentValues: Record<string, any>;
|
|
4682
|
+
stepActive: string | number;
|
|
4683
|
+
height: string;
|
|
4684
|
+
}> | null>>;
|
|
4685
|
+
submit: (v: FormValue$1, eventData: ContainerChangeEventData$1) => Promise<void>;
|
|
4686
|
+
}> & {} & vue.ComponentCustomProperties & {} & {
|
|
4687
|
+
$slots: Readonly<{
|
|
4688
|
+
'props-form-panel-header'(props: {}): any;
|
|
4689
|
+
}> & {
|
|
4690
|
+
'props-form-panel-header'(props: {}): any;
|
|
4691
|
+
};
|
|
4692
|
+
}) => any) | undefined;
|
|
4693
|
+
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
4694
|
+
"onForm-error"?: ((e: any) => any) | undefined;
|
|
4695
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
4696
|
+
declare const _default$e: __VLS_WithTemplateSlots$7<typeof __VLS_component$7, __VLS_TemplateResult$7["slots"]>;
|
|
4017
4697
|
|
|
4018
4698
|
type __VLS_WithTemplateSlots$7<T, S> = T & {
|
|
4019
4699
|
new (): {
|
|
@@ -4021,38 +4701,25 @@ type __VLS_WithTemplateSlots$7<T, S> = T & {
|
|
|
4021
4701
|
};
|
|
4022
4702
|
};
|
|
4023
4703
|
|
|
4024
|
-
type __VLS_Props$c = {
|
|
4025
|
-
title?: string;
|
|
4026
|
-
values: any;
|
|
4027
|
-
disabled: boolean;
|
|
4028
|
-
};
|
|
4029
|
-
type __VLS_PublicProps$2 = {
|
|
4030
|
-
'visible'?: boolean;
|
|
4031
|
-
'width'?: number;
|
|
4032
|
-
} & __VLS_Props$c;
|
|
4033
|
-
declare const _default$e: vue.DefineComponent<__VLS_PublicProps$2, {
|
|
4034
|
-
show(): void;
|
|
4035
|
-
hide(): void;
|
|
4036
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
4037
|
-
submit: (v: any, eventData: ContainerChangeEventData$1) => any;
|
|
4038
|
-
"update:width": (value: number) => any;
|
|
4039
|
-
"update:visible": (value: boolean) => any;
|
|
4040
|
-
}, string, vue.PublicProps, Readonly<__VLS_PublicProps$2> & Readonly<{
|
|
4041
|
-
onSubmit?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
|
|
4042
|
-
"onUpdate:width"?: ((value: number) => any) | undefined;
|
|
4043
|
-
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
4044
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
4045
|
-
|
|
4046
4704
|
type __VLS_Props$b = {
|
|
4705
|
+
config: FormConfig$1;
|
|
4706
|
+
values: FormValue$1;
|
|
4047
4707
|
disabledShowSrc?: boolean;
|
|
4708
|
+
labelWidth?: string;
|
|
4709
|
+
codeValueKey?: string;
|
|
4710
|
+
labelPosition?: string;
|
|
4048
4711
|
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4049
4712
|
};
|
|
4050
4713
|
declare function __VLS_template$6(): {
|
|
4051
4714
|
attrs: Partial<{}>;
|
|
4052
|
-
slots: Readonly<
|
|
4715
|
+
slots: Readonly<{
|
|
4716
|
+
'props-form-panel-header'(props: {}): any;
|
|
4717
|
+
}> & {
|
|
4718
|
+
'props-form-panel-header'(props: {}): any;
|
|
4719
|
+
};
|
|
4053
4720
|
refs: {
|
|
4054
4721
|
configForm: vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4055
|
-
config: FormConfig;
|
|
4722
|
+
config: FormConfig$1;
|
|
4056
4723
|
initValues: Record<string, any>;
|
|
4057
4724
|
lastValues?: Record<string, any>;
|
|
4058
4725
|
isCompare?: boolean;
|
|
@@ -4094,7 +4761,7 @@ declare function __VLS_template$6(): {
|
|
|
4094
4761
|
labelWidth: string;
|
|
4095
4762
|
inline: boolean;
|
|
4096
4763
|
labelPosition: string;
|
|
4097
|
-
config: FormConfig;
|
|
4764
|
+
config: FormConfig$1;
|
|
4098
4765
|
initValues: Record<string, any>;
|
|
4099
4766
|
lastValues: Record<string, any>;
|
|
4100
4767
|
isCompare: boolean;
|
|
@@ -4110,7 +4777,7 @@ declare function __VLS_template$6(): {
|
|
|
4110
4777
|
M: {};
|
|
4111
4778
|
Defaults: {};
|
|
4112
4779
|
}, Readonly<{
|
|
4113
|
-
config: FormConfig;
|
|
4780
|
+
config: FormConfig$1;
|
|
4114
4781
|
initValues: Record<string, any>;
|
|
4115
4782
|
lastValues?: Record<string, any>;
|
|
4116
4783
|
isCompare?: boolean;
|
|
@@ -4146,7 +4813,7 @@ declare function __VLS_template$6(): {
|
|
|
4146
4813
|
labelWidth: string;
|
|
4147
4814
|
inline: boolean;
|
|
4148
4815
|
labelPosition: string;
|
|
4149
|
-
config: FormConfig;
|
|
4816
|
+
config: FormConfig$1;
|
|
4150
4817
|
initValues: Record<string, any>;
|
|
4151
4818
|
lastValues: Record<string, any>;
|
|
4152
4819
|
isCompare: boolean;
|
|
@@ -4160,111 +4827,8 @@ declare function __VLS_template$6(): {
|
|
|
4160
4827
|
};
|
|
4161
4828
|
type __VLS_TemplateResult$6 = ReturnType<typeof __VLS_template$6>;
|
|
4162
4829
|
declare const __VLS_component$6: vue.DefineComponent<__VLS_Props$b, {
|
|
4163
|
-
configForm: vue.
|
|
4164
|
-
config: FormConfig;
|
|
4165
|
-
initValues: Record<string, any>;
|
|
4166
|
-
lastValues?: Record<string, any>;
|
|
4167
|
-
isCompare?: boolean;
|
|
4168
|
-
parentValues?: Record<string, any>;
|
|
4169
|
-
labelWidth?: string;
|
|
4170
|
-
disabled?: boolean;
|
|
4171
|
-
height?: string;
|
|
4172
|
-
stepActive?: string | number;
|
|
4173
|
-
size?: "small" | "default" | "large";
|
|
4174
|
-
inline?: boolean;
|
|
4175
|
-
labelPosition?: string;
|
|
4176
|
-
keyProp?: string;
|
|
4177
|
-
popperClass?: string;
|
|
4178
|
-
preventSubmitDefault?: boolean;
|
|
4179
|
-
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4180
|
-
}> & Readonly<{
|
|
4181
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
4182
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
4183
|
-
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
4184
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
4185
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
4186
|
-
}>, {
|
|
4187
|
-
values: vue.Ref<FormValue$1, FormValue$1>;
|
|
4188
|
-
lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
|
|
4189
|
-
formState: FormState$1;
|
|
4190
|
-
initialized: vue.Ref<boolean, boolean>;
|
|
4191
|
-
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
4192
|
-
changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
|
|
4193
|
-
resetForm: () => void;
|
|
4194
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
4195
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
4196
|
-
change: (...args: any[]) => void;
|
|
4197
|
-
error: (...args: any[]) => void;
|
|
4198
|
-
"update:stepActive": (...args: any[]) => void;
|
|
4199
|
-
"field-change": (...args: any[]) => void;
|
|
4200
|
-
"field-input": (...args: any[]) => void;
|
|
4201
|
-
}, vue.PublicProps, {
|
|
4202
|
-
disabled: boolean;
|
|
4203
|
-
labelWidth: string;
|
|
4204
|
-
inline: boolean;
|
|
4205
|
-
labelPosition: string;
|
|
4206
|
-
config: FormConfig;
|
|
4207
|
-
initValues: Record<string, any>;
|
|
4208
|
-
lastValues: Record<string, any>;
|
|
4209
|
-
isCompare: boolean;
|
|
4210
|
-
keyProp: string;
|
|
4211
|
-
parentValues: Record<string, any>;
|
|
4212
|
-
stepActive: string | number;
|
|
4213
|
-
height: string;
|
|
4214
|
-
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
4215
|
-
P: {};
|
|
4216
|
-
B: {};
|
|
4217
|
-
D: {};
|
|
4218
|
-
C: {};
|
|
4219
|
-
M: {};
|
|
4220
|
-
Defaults: {};
|
|
4221
|
-
}, Readonly<{
|
|
4222
|
-
config: FormConfig;
|
|
4223
|
-
initValues: Record<string, any>;
|
|
4224
|
-
lastValues?: Record<string, any>;
|
|
4225
|
-
isCompare?: boolean;
|
|
4226
|
-
parentValues?: Record<string, any>;
|
|
4227
|
-
labelWidth?: string;
|
|
4228
|
-
disabled?: boolean;
|
|
4229
|
-
height?: string;
|
|
4230
|
-
stepActive?: string | number;
|
|
4231
|
-
size?: "small" | "default" | "large";
|
|
4232
|
-
inline?: boolean;
|
|
4233
|
-
labelPosition?: string;
|
|
4234
|
-
keyProp?: string;
|
|
4235
|
-
popperClass?: string;
|
|
4236
|
-
preventSubmitDefault?: boolean;
|
|
4237
|
-
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4238
|
-
}> & Readonly<{
|
|
4239
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
4240
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
4241
|
-
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
4242
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
4243
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
4244
|
-
}>, {
|
|
4245
|
-
values: vue.Ref<FormValue$1, FormValue$1>;
|
|
4246
|
-
lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
|
|
4247
|
-
formState: FormState$1;
|
|
4248
|
-
initialized: vue.Ref<boolean, boolean>;
|
|
4249
|
-
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
4250
|
-
changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
|
|
4251
|
-
resetForm: () => void;
|
|
4252
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
4253
|
-
}, {}, {}, {}, {
|
|
4254
|
-
disabled: boolean;
|
|
4255
|
-
labelWidth: string;
|
|
4256
|
-
inline: boolean;
|
|
4257
|
-
labelPosition: string;
|
|
4258
|
-
config: FormConfig;
|
|
4259
|
-
initValues: Record<string, any>;
|
|
4260
|
-
lastValues: Record<string, any>;
|
|
4261
|
-
isCompare: boolean;
|
|
4262
|
-
keyProp: string;
|
|
4263
|
-
parentValues: Record<string, any>;
|
|
4264
|
-
stepActive: string | number;
|
|
4265
|
-
height: string;
|
|
4266
|
-
}> | undefined, vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4267
|
-
config: FormConfig;
|
|
4830
|
+
configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4831
|
+
config: FormConfig$1;
|
|
4268
4832
|
initValues: Record<string, any>;
|
|
4269
4833
|
lastValues?: Record<string, any>;
|
|
4270
4834
|
isCompare?: boolean;
|
|
@@ -4306,7 +4870,7 @@ declare const __VLS_component$6: vue.DefineComponent<__VLS_Props$b, {
|
|
|
4306
4870
|
labelWidth: string;
|
|
4307
4871
|
inline: boolean;
|
|
4308
4872
|
labelPosition: string;
|
|
4309
|
-
config: FormConfig;
|
|
4873
|
+
config: FormConfig$1;
|
|
4310
4874
|
initValues: Record<string, any>;
|
|
4311
4875
|
lastValues: Record<string, any>;
|
|
4312
4876
|
isCompare: boolean;
|
|
@@ -4322,7 +4886,7 @@ declare const __VLS_component$6: vue.DefineComponent<__VLS_Props$b, {
|
|
|
4322
4886
|
M: {};
|
|
4323
4887
|
Defaults: {};
|
|
4324
4888
|
}, Readonly<{
|
|
4325
|
-
config: FormConfig;
|
|
4889
|
+
config: FormConfig$1;
|
|
4326
4890
|
initValues: Record<string, any>;
|
|
4327
4891
|
lastValues?: Record<string, any>;
|
|
4328
4892
|
isCompare?: boolean;
|
|
@@ -4358,7 +4922,7 @@ declare const __VLS_component$6: vue.DefineComponent<__VLS_Props$b, {
|
|
|
4358
4922
|
labelWidth: string;
|
|
4359
4923
|
inline: boolean;
|
|
4360
4924
|
labelPosition: string;
|
|
4361
|
-
config: FormConfig;
|
|
4925
|
+
config: FormConfig$1;
|
|
4362
4926
|
initValues: Record<string, any>;
|
|
4363
4927
|
lastValues: Record<string, any>;
|
|
4364
4928
|
isCompare: boolean;
|
|
@@ -4366,16 +4930,18 @@ declare const __VLS_component$6: vue.DefineComponent<__VLS_Props$b, {
|
|
|
4366
4930
|
parentValues: Record<string, any>;
|
|
4367
4931
|
stepActive: string | number;
|
|
4368
4932
|
height: string;
|
|
4369
|
-
}> |
|
|
4933
|
+
}> | null>>;
|
|
4370
4934
|
submit: (v: FormValue$1, eventData: ContainerChangeEventData$1) => Promise<void>;
|
|
4371
4935
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
4372
|
-
mounted: (
|
|
4373
|
-
|
|
4374
|
-
"
|
|
4936
|
+
mounted: (internalInstance: any) => any;
|
|
4937
|
+
submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
4938
|
+
"submit-error": (e: any) => any;
|
|
4939
|
+
"form-error": (e: any) => any;
|
|
4375
4940
|
}, string, vue.PublicProps, Readonly<__VLS_Props$b> & Readonly<{
|
|
4376
|
-
onMounted?: ((
|
|
4377
|
-
|
|
4378
|
-
"
|
|
4941
|
+
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
4942
|
+
onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
4943
|
+
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
4944
|
+
"onForm-error"?: ((e: any) => any) | undefined;
|
|
4379
4945
|
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
4380
4946
|
declare const _default$d: __VLS_WithTemplateSlots$6<typeof __VLS_component$6, __VLS_TemplateResult$6["slots"]>;
|
|
4381
4947
|
|
|
@@ -4433,7 +4999,7 @@ declare function __VLS_template$5(): {
|
|
|
4433
4999
|
};
|
|
4434
5000
|
type __VLS_TemplateResult$5 = ReturnType<typeof __VLS_template$5>;
|
|
4435
5001
|
declare const __VLS_component$5: vue.DefineComponent<__VLS_Props$9, {
|
|
4436
|
-
menu: vue.
|
|
5002
|
+
menu: Readonly<vue.ShallowRef<HTMLDivElement | null>>;
|
|
4437
5003
|
menuPosition: vue.Ref<{
|
|
4438
5004
|
left: number;
|
|
4439
5005
|
top: number;
|
|
@@ -4603,8 +5169,8 @@ declare function __VLS_template$2(): {
|
|
|
4603
5169
|
type __VLS_TemplateResult$2 = ReturnType<typeof __VLS_template$2>;
|
|
4604
5170
|
declare const __VLS_component$2: vue.DefineComponent<__VLS_PublicProps, {
|
|
4605
5171
|
bodyHeight: vue.ComputedRef<number | "auto">;
|
|
4606
|
-
target: vue.
|
|
4607
|
-
titleEl: vue.
|
|
5172
|
+
target: Readonly<vue.ShallowRef<HTMLDivElement | null>>;
|
|
5173
|
+
titleEl: Readonly<vue.ShallowRef<HTMLDivElement | null>>;
|
|
4608
5174
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
4609
5175
|
"update:width": (value: number) => any;
|
|
4610
5176
|
"update:height": (value: number) => any;
|
|
@@ -4781,4 +5347,4 @@ declare const _default: {
|
|
|
4781
5347
|
install: (app: App, opt?: Partial<EditorInstallOptions | DesignPluginOptions | FormInstallOptions>) => void;
|
|
4782
5348
|
};
|
|
4783
5349
|
|
|
4784
|
-
export { type AddMNode, type AddPrefixToObject, type AsyncAfterHook, type AsyncBeforeHook, type AsyncHookPlugin, type BeforeAdd, CODE_DRAFT_STORAGE_KEY, COPY_CODE_STORAGE_KEY, COPY_DS_STORAGE_KEY, COPY_STORAGE_KEY, _default$7 as CodeBlockEditor, _default$
|
|
5350
|
+
export { type AddMNode, type AddPrefixToObject, type AsyncAfterHook, type AsyncBeforeHook, type AsyncHookPlugin, type BeforeAdd, CODE_DRAFT_STORAGE_KEY, COPY_CODE_STORAGE_KEY, COPY_DS_STORAGE_KEY, COPY_STORAGE_KEY, _default$7 as CodeBlockEditor, _default$h as CodeBlockList, _default$g as CodeBlockListPanel, type CodeBlockListPanelSlots, type CodeBlockListSlots, CodeDeleteErrorType, type CodeDslItem, type CodeParamStatement, type CodeRelation, _default$s as CodeSelect, _default$r as CodeSelectCol, type CodeSelectColConfig, type CodeState, ColumnLayout, type CombineInfo, type ComponentGroup, type ComponentGroupState, type ComponentItem, _default$u as ComponentListPanel, type ComponentListPanelSlots, _default$1 as CondOpSelect, type CondOpSelectConfig, _default$b as ContentMenu, type CustomContentMenuFunction, _default$f as DataSourceConfigPanel, _default$k as DataSourceFieldSelect, type DataSourceFieldSelectConfig, _default$q as DataSourceFields, _default$n as DataSourceInput, type DataSourceListSlots, _default$l as DataSourceMethodSelect, type DataSourceMethodSelectConfig, _default$o as DataSourceMethods, _default$p as DataSourceMocks, _default$m as DataSourceSelect, type DatasourceTypeOption, _default$2 as DisplayConds, DragType, type EditorInstallOptions, type EditorNodeInfo, type EventBus, type EventBusEvent, _default$j as EventSelect, type EventSelectConfig, Fixed2Other, _default$6 as FloatingBox, type FrameworkSlots, type GetColumnWidth, type GetConfig, H_GUIDE_LINE_STORAGE_KEY, type HistoryState, _default$a as Icon, IdleTask, type IdleTaskEvents, type KeyBindingCacheItem, KeyBindingCommand, type KeyBindingItem, _default$i as KeyValue, Keys, type LayerNodeSlots, type LayerNodeStatus, LayerOffset, _default$t as LayerPanel, type LayerPanelSlots, Layout, _default$9 as LayoutContainer, type ListState, type MenuBarData, type MenuButton, type MenuComponent, type MenuItem, type PageBarSortOptions, _default$3 as PageFragmentSelect, type PageFragmentSelectConfig, type PartSortableOptions, type PastePosition, type PropsFormConfigFunction, _default$d as PropsFormPanel, type PropsFormValueFunction, _default$e as PropsPanel, type PropsPanelSlots, type PropsState, _default$8 as Resizer, ScrollViewer, type ScrollViewerEvent, type Services, type SetColumnWidth, type SideBarData, type SideComponent, type SideItem, SideItemKey, type SidebarSlots, _default$9 as SplitView, type StageOptions, type StageOverlayState, type StageRect, type StepValue, type StoreState, type StoreStateKey, type SyncAfterHook, type SyncBeforeHook, type SyncHookPlugin, _default$v as TMagicCodeEditor, _default$w as TMagicEditor, _default$c as ToolButton, _default$5 as Tree, _default$4 as TreeNode, type TreeNodeData, UI_SELECT_MODE_EVENT_NAME, type UiState, UndoRedo, V_GUIDE_LINE_STORAGE_KEY, type WorkspaceSlots, advancedTabConfig, arrayOptions, beforePaste, change2Fixed, _default$G as codeBlockService, _default$F as dataSourceService, debug, _default as default, _default$E as depService, displayTabConfig, _default$D as editorService, eqOptions, error, eventTabConfig, _default$C as eventsService, fillConfig, fixNodeLeft, fixNodePosition, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getDefaultConfig, getDisplayField, getEditorConfig, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getNodeIndex, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, _default$B as historyService, info, isIncludeDataSource, log, moveItemsInContainer, numberOptions, _default$A as propsService, removeDataSourceFieldPrefix, serializeConfig, setChildrenLayout, setEditorConfig, setLayout, _default$z as stageOverlayService, _default$y as storageService, styleTabConfig, _default$x as uiService, updateStatus, useCodeBlockEdit, useEditorContentHeight, useFilter, useFloatBox, useGetSo, useNextFloatBoxPosition, useNodeStatus, useStage, useWindowRect, warn };
|