@tmagic/editor 1.5.2 → 1.5.4
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 +366 -6
- package/dist/tmagic-editor.js +1749 -829
- package/dist/tmagic-editor.umd.cjs +1764 -843
- package/package.json +7 -7
- package/src/components/CodeBlockEditor.vue +3 -3
- package/src/components/CodeParams.vue +2 -2
- package/src/components/ContentMenu.vue +13 -13
- package/src/components/FloatingBox.vue +9 -9
- package/src/components/Resizer.vue +2 -2
- package/src/components/ScrollBar.vue +6 -7
- package/src/components/ScrollViewer.vue +6 -6
- package/src/components/SplitView.vue +3 -3
- package/src/fields/DataSourceInput.vue +3 -3
- package/src/fields/DataSourceMethods.vue +4 -4
- package/src/fields/DisplayConds.vue +2 -1
- package/src/fields/StyleSetter/Index.vue +69 -0
- package/src/fields/StyleSetter/components/BackgroundPosition.vue +71 -0
- package/src/fields/StyleSetter/components/Border.vue +104 -0
- package/src/fields/StyleSetter/components/Box.vue +73 -0
- package/src/fields/StyleSetter/components/Position.vue +54 -0
- package/src/fields/StyleSetter/icons/background-position/LeftBottom.vue +7 -0
- package/src/fields/StyleSetter/icons/background-position/LeftCenter.vue +7 -0
- package/src/fields/StyleSetter/icons/background-position/LeftTop.vue +12 -0
- package/src/fields/StyleSetter/icons/background-position/index.ts +3 -0
- package/src/fields/StyleSetter/icons/background-repeat/NoRepeat.vue +8 -0
- package/src/fields/StyleSetter/icons/background-repeat/Repeat.vue +31 -0
- package/src/fields/StyleSetter/icons/background-repeat/RepeatX.vue +8 -0
- package/src/fields/StyleSetter/icons/background-repeat/RepeatY.vue +8 -0
- package/src/fields/StyleSetter/icons/background-repeat/index.ts +4 -0
- package/src/fields/StyleSetter/icons/display/Block.vue +7 -0
- package/src/fields/StyleSetter/icons/display/Flex.vue +7 -0
- package/src/fields/StyleSetter/icons/display/Inline.vue +7 -0
- package/src/fields/StyleSetter/icons/display/InlineBlock.vue +7 -0
- package/src/fields/StyleSetter/icons/display/None.vue +7 -0
- package/src/fields/StyleSetter/icons/display/index.ts +5 -0
- package/src/fields/StyleSetter/icons/flex-direction/Column.vue +7 -0
- package/src/fields/StyleSetter/icons/flex-direction/ColumnReverse.vue +7 -0
- package/src/fields/StyleSetter/icons/flex-direction/Row.vue +7 -0
- package/src/fields/StyleSetter/icons/flex-direction/RowReverse.vue +7 -0
- package/src/fields/StyleSetter/icons/flex-direction/index.ts +4 -0
- package/src/fields/StyleSetter/icons/justify-content/Center.vue +5 -0
- package/src/fields/StyleSetter/icons/justify-content/FlexEnd.vue +5 -0
- package/src/fields/StyleSetter/icons/justify-content/FlexStart.vue +5 -0
- package/src/fields/StyleSetter/icons/justify-content/SpaceAround.vue +7 -0
- package/src/fields/StyleSetter/icons/justify-content/SpaceBetween.vue +5 -0
- package/src/fields/StyleSetter/icons/justify-content/index.ts +5 -0
- package/src/fields/StyleSetter/icons/text-align/Center.vue +7 -0
- package/src/fields/StyleSetter/icons/text-align/Left.vue +7 -0
- package/src/fields/StyleSetter/icons/text-align/Right.vue +7 -0
- package/src/fields/StyleSetter/icons/text-align/index.ts +3 -0
- package/src/fields/StyleSetter/pro/Background.vue +78 -0
- package/src/fields/StyleSetter/pro/Border.vue +35 -0
- package/src/fields/StyleSetter/pro/Font.vue +90 -0
- package/src/fields/StyleSetter/pro/Layout.vue +164 -0
- package/src/fields/StyleSetter/pro/Position.vue +48 -0
- package/src/fields/StyleSetter/pro/index.ts +5 -0
- package/src/hooks/use-code-block-edit.ts +5 -5
- package/src/index.ts +3 -0
- package/src/initService.ts +104 -66
- package/src/layouts/CodeEditor.vue +6 -6
- package/src/layouts/Framework.vue +5 -5
- package/src/layouts/NavMenu.vue +6 -3
- package/src/layouts/page-bar/PageBar.vue +13 -13
- package/src/layouts/page-bar/PageBarScrollContainer.vue +12 -11
- package/src/layouts/props-panel/FormPanel.vue +7 -7
- package/src/layouts/props-panel/PropsPanel.vue +36 -4
- package/src/layouts/sidebar/code-block/CodeBlockListPanel.vue +3 -3
- package/src/layouts/sidebar/layer/LayerMenu.vue +2 -2
- package/src/layouts/sidebar/layer/LayerPanel.vue +5 -4
- package/src/layouts/sidebar/layer/use-click.ts +4 -6
- package/src/layouts/workspace/viewer/NodeListMenu.vue +5 -5
- package/src/layouts/workspace/viewer/Stage.vue +13 -13
- package/src/layouts/workspace/viewer/StageOverlay.vue +2 -2
- package/src/layouts/workspace/viewer/ViewerMenu.vue +3 -3
- package/src/services/componentList.ts +2 -2
- package/src/services/dep.ts +8 -2
- package/src/services/editor.ts +2 -2
- package/src/services/stageOverlay.ts +2 -2
- package/src/services/ui.ts +2 -2
- package/src/theme/props-panel.scss +13 -0
- package/src/theme/resizer.scss +2 -2
- package/src/theme/style-setter/background.scss +113 -0
- package/src/theme/style-setter/border.scss +53 -0
- package/src/theme/style-setter/index.scss +28 -0
- package/src/theme/style-setter/layout.scss +199 -0
- package/src/theme/theme.scss +1 -0
- package/src/utils/idle-task.ts +26 -10
- package/src/utils/props.ts +52 -297
- package/types/index.d.ts +432 -170
package/types/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ import StageCore__default, { ContainerHighlightType, MoveableOptions, CustomizeM
|
|
|
17
17
|
export * from '@tmagic/stage';
|
|
18
18
|
export { default as StageCore } from '@tmagic/stage';
|
|
19
19
|
import * as _tmagic_schema from '@tmagic/schema';
|
|
20
|
+
import { StyleSchema } from '@tmagic/schema';
|
|
20
21
|
export * from '@tmagic/table';
|
|
21
22
|
export { default as tablePlugin } from '@tmagic/table';
|
|
22
23
|
export * from '@tmagic/utils';
|
|
@@ -213,7 +214,7 @@ declare class CodeBlock extends export_default {
|
|
|
213
214
|
usePlugin(options: AsyncHookPlugin<AsyncMethodName$3, CodeBlock>): void;
|
|
214
215
|
}
|
|
215
216
|
type CodeBlockService = CodeBlock;
|
|
216
|
-
declare const _default$
|
|
217
|
+
declare const _default$H: CodeBlock;
|
|
217
218
|
|
|
218
219
|
declare class ComponentList extends export_default {
|
|
219
220
|
private state;
|
|
@@ -289,12 +290,13 @@ declare class DataSource extends export_default {
|
|
|
289
290
|
paste(): void;
|
|
290
291
|
}
|
|
291
292
|
type DataSourceService = DataSource;
|
|
292
|
-
declare const _default$
|
|
293
|
+
declare const _default$G: DataSource;
|
|
293
294
|
|
|
294
295
|
interface DepEvents {
|
|
295
296
|
'add-target': [target: Target];
|
|
296
297
|
'remove-target': [id: string | number];
|
|
297
298
|
collected: [nodes: MNode[], deep: boolean];
|
|
299
|
+
'ds-collected': [nodes: MNode[], deep: boolean];
|
|
298
300
|
}
|
|
299
301
|
interface State$1 {
|
|
300
302
|
collecting: boolean;
|
|
@@ -328,7 +330,7 @@ declare class Dep extends export_default {
|
|
|
328
330
|
private enqueueTask;
|
|
329
331
|
}
|
|
330
332
|
type DepService = Dep;
|
|
331
|
-
declare const _default$
|
|
333
|
+
declare const _default$F: Dep;
|
|
332
334
|
|
|
333
335
|
interface EditorEvents {
|
|
334
336
|
'root-change': [value: StoreState['root'], preValue?: StoreState['root']];
|
|
@@ -514,7 +516,7 @@ declare class Editor extends export_default {
|
|
|
514
516
|
private selectedConfigExceptionHandler;
|
|
515
517
|
}
|
|
516
518
|
type EditorService = Editor;
|
|
517
|
-
declare const _default$
|
|
519
|
+
declare const _default$E: Editor;
|
|
518
520
|
|
|
519
521
|
declare class Events extends export_default {
|
|
520
522
|
constructor();
|
|
@@ -529,7 +531,7 @@ declare class Events extends export_default {
|
|
|
529
531
|
destroy(): void;
|
|
530
532
|
}
|
|
531
533
|
type EventsService = Events;
|
|
532
|
-
declare const _default$
|
|
534
|
+
declare const _default$D: Events;
|
|
533
535
|
|
|
534
536
|
declare class UndoRedo<T = any> {
|
|
535
537
|
private elementList;
|
|
@@ -564,7 +566,7 @@ declare class History extends export_default {
|
|
|
564
566
|
private setCanUndoRedo;
|
|
565
567
|
}
|
|
566
568
|
type HistoryService = History;
|
|
567
|
-
declare const _default$
|
|
569
|
+
declare const _default$C: History;
|
|
568
570
|
|
|
569
571
|
declare class Keybinding extends export_default {
|
|
570
572
|
ctrlKey: string;
|
|
@@ -687,7 +689,7 @@ declare class Props extends export_default {
|
|
|
687
689
|
private setRelateId;
|
|
688
690
|
}
|
|
689
691
|
type PropsService = Props;
|
|
690
|
-
declare const _default$
|
|
692
|
+
declare const _default$B: Props;
|
|
691
693
|
|
|
692
694
|
declare const canUsePluginMethods$2: {
|
|
693
695
|
async: never[];
|
|
@@ -713,7 +715,7 @@ declare class StageOverlay extends export_default {
|
|
|
713
715
|
private updateSelectStatus;
|
|
714
716
|
}
|
|
715
717
|
type StageOverlayService = StageOverlay;
|
|
716
|
-
declare const _default$
|
|
718
|
+
declare const _default$A: StageOverlay;
|
|
717
719
|
|
|
718
720
|
interface Options {
|
|
719
721
|
namespace?: string;
|
|
@@ -775,7 +777,7 @@ declare class WebStorage extends export_default {
|
|
|
775
777
|
private getValueAndProtocol;
|
|
776
778
|
}
|
|
777
779
|
type StorageService = WebStorage;
|
|
778
|
-
declare const _default$
|
|
780
|
+
declare const _default$z: WebStorage;
|
|
779
781
|
|
|
780
782
|
declare const canUsePluginMethods: {
|
|
781
783
|
async: readonly ["zoom", "calcZoom"];
|
|
@@ -785,63 +787,7 @@ type AsyncMethodName = Writable<(typeof canUsePluginMethods)['async']>;
|
|
|
785
787
|
declare class Ui extends export_default {
|
|
786
788
|
constructor();
|
|
787
789
|
set<K extends keyof UiState, T extends UiState[K]>(name: K, value: T): void;
|
|
788
|
-
get<K extends keyof UiState>(name: K):
|
|
789
|
-
uiSelectMode: boolean;
|
|
790
|
-
showSrc: boolean;
|
|
791
|
-
showStylePanel: boolean;
|
|
792
|
-
zoom: number;
|
|
793
|
-
stageContainerRect: {
|
|
794
|
-
width: number;
|
|
795
|
-
height: number;
|
|
796
|
-
};
|
|
797
|
-
stageRect: {
|
|
798
|
-
width: number | string;
|
|
799
|
-
height: number | string;
|
|
800
|
-
};
|
|
801
|
-
columnWidth: {
|
|
802
|
-
left: number;
|
|
803
|
-
center: number;
|
|
804
|
-
right: number;
|
|
805
|
-
};
|
|
806
|
-
showGuides: boolean;
|
|
807
|
-
showRule: boolean;
|
|
808
|
-
propsPanelSize: "large" | "default" | "small";
|
|
809
|
-
showAddPageButton: boolean;
|
|
810
|
-
showPageListButton: boolean;
|
|
811
|
-
hideSlideBar: boolean;
|
|
812
|
-
sideBarItems: {
|
|
813
|
-
[x: string]: any;
|
|
814
|
-
text: string;
|
|
815
|
-
tabStyle?: (string | Record<string, any>) | undefined;
|
|
816
|
-
icon?: any;
|
|
817
|
-
$key: string;
|
|
818
|
-
draggable?: boolean | undefined;
|
|
819
|
-
beforeClick?: ((config: SideComponent) => boolean | Promise<boolean>) | undefined;
|
|
820
|
-
boxComponentConfig?: {
|
|
821
|
-
component?: any;
|
|
822
|
-
props?: Record<string, any> | undefined;
|
|
823
|
-
} | undefined;
|
|
824
|
-
type: "component";
|
|
825
|
-
component: any;
|
|
826
|
-
props?: Record<string, any> | undefined;
|
|
827
|
-
listeners?: Record<string, Function> | undefined;
|
|
828
|
-
slots?: Record<string, any> | undefined;
|
|
829
|
-
className?: string | undefined;
|
|
830
|
-
display?: (boolean | ((data?: Services) => Promise<boolean> | boolean)) | undefined;
|
|
831
|
-
}[];
|
|
832
|
-
navMenuRect: {
|
|
833
|
-
left: number;
|
|
834
|
-
top: number;
|
|
835
|
-
width: number;
|
|
836
|
-
height: number;
|
|
837
|
-
};
|
|
838
|
-
frameworkRect: {
|
|
839
|
-
left: number;
|
|
840
|
-
top: number;
|
|
841
|
-
width: number;
|
|
842
|
-
height: number;
|
|
843
|
-
};
|
|
844
|
-
}[K];
|
|
790
|
+
get<K extends keyof UiState>(name: K): vue.ShallowReactive<UiState>[K];
|
|
845
791
|
zoom(zoom: number): Promise<void>;
|
|
846
792
|
calcZoom(): Promise<number>;
|
|
847
793
|
resetState(): void;
|
|
@@ -850,7 +796,7 @@ declare class Ui extends export_default {
|
|
|
850
796
|
private setStageRect;
|
|
851
797
|
}
|
|
852
798
|
type UiService = Ui;
|
|
853
|
-
declare const _default$
|
|
799
|
+
declare const _default$y: Ui;
|
|
854
800
|
|
|
855
801
|
interface FrameworkSlots {
|
|
856
802
|
header(props: {}): any;
|
|
@@ -1812,9 +1758,12 @@ interface SwitchConfig extends FormItem {
|
|
|
1812
1758
|
*/
|
|
1813
1759
|
interface RadioGroupConfig extends FormItem {
|
|
1814
1760
|
type: 'radio-group';
|
|
1761
|
+
childType?: 'default' | 'button';
|
|
1815
1762
|
options: {
|
|
1816
1763
|
value: string | number | boolean;
|
|
1817
1764
|
text: string;
|
|
1765
|
+
icon?: any;
|
|
1766
|
+
tooltip?: string;
|
|
1818
1767
|
}[];
|
|
1819
1768
|
}
|
|
1820
1769
|
/**
|
|
@@ -2012,6 +1961,7 @@ interface TableConfig extends FormItem {
|
|
|
2012
1961
|
addable?: (mForm: FormState | undefined, data: any) => boolean | 'undefined' | boolean;
|
|
2013
1962
|
/** 是否显示删除按钮 */
|
|
2014
1963
|
delete?: (model: any, index: number, values: any) => boolean | boolean;
|
|
1964
|
+
copyable?: (model: any, data: any) => boolean | boolean;
|
|
2015
1965
|
/** 是否显示导入按钮 */
|
|
2016
1966
|
importable?: (mForm: FormState | undefined, data: any) => boolean | 'undefined' | boolean;
|
|
2017
1967
|
/** 是否显示checkbox */
|
|
@@ -2045,7 +1995,9 @@ interface GroupListConfig extends FormItem {
|
|
|
2045
1995
|
addable?: (mForm: FormState | undefined, data: any) => boolean | 'undefined' | boolean;
|
|
2046
1996
|
defaultAdd?: (mForm: FormState | undefined, data: any) => any;
|
|
2047
1997
|
delete?: (model: any, index: number | string | symbol, values: any) => boolean | boolean;
|
|
1998
|
+
copyable?: FilterFunction<boolean>;
|
|
2048
1999
|
movable?: (mForm: FormState | undefined, index: number | string | symbol, model: any, groupModel: any) => boolean | boolean;
|
|
2000
|
+
moveSpecifyLocation?: boolean;
|
|
2049
2001
|
[key: string]: any;
|
|
2050
2002
|
}
|
|
2051
2003
|
interface StepItemConfig extends FormItem, ContainerCommonConfig {
|
|
@@ -2256,9 +2208,7 @@ declare const change2Fixed: (node: MNode, root: MApp) => {
|
|
|
2256
2208
|
declare const Fixed2Other: (node: MNode, root: MApp, getLayout: (parent: MNode, node?: MNode) => Promise<Layout>) => Promise<Record<string, any>>;
|
|
2257
2209
|
declare const getGuideLineFromCache: (key: string) => number[];
|
|
2258
2210
|
declare const fixNodeLeft: (config: MNode, parent: MContainer, doc?: Document) => any;
|
|
2259
|
-
declare const fixNodePosition: (config: MNode, parent: MContainer, stage: StageCore__default | null) =>
|
|
2260
|
-
[key: string]: any;
|
|
2261
|
-
} | undefined;
|
|
2211
|
+
declare const fixNodePosition: (config: MNode, parent: MContainer, stage: StageCore__default | null) => _tmagic_schema.StyleSchema | undefined;
|
|
2262
2212
|
declare const serializeConfig: (config: any) => string;
|
|
2263
2213
|
declare const moveItemsInContainer: (sourceIndices: number[], parent: MContainer, targetIndex: number) => void;
|
|
2264
2214
|
declare const isIncludeDataSource: (node: MNode, oldNode: MNode) => boolean;
|
|
@@ -2294,12 +2244,14 @@ declare const removeDataSourceFieldPrefix: (id?: string) => string;
|
|
|
2294
2244
|
|
|
2295
2245
|
interface IdleTaskEvents {
|
|
2296
2246
|
finish: [];
|
|
2247
|
+
'hight-level-finish': [];
|
|
2297
2248
|
}
|
|
2298
2249
|
declare class IdleTask<T = any> extends EventEmitter {
|
|
2299
2250
|
private taskList;
|
|
2251
|
+
private hightLevelTaskList;
|
|
2300
2252
|
private taskHandle;
|
|
2301
2253
|
constructor();
|
|
2302
|
-
enqueueTask(taskHandler: (data: T) => void, taskData: T): void;
|
|
2254
|
+
enqueueTask(taskHandler: (data: T) => void, taskData: T, isHightLevel?: boolean): void;
|
|
2303
2255
|
clearTasks(): void;
|
|
2304
2256
|
on<Name extends keyof IdleTaskEvents, Param extends IdleTaskEvents[Name]>(eventName: Name, listener: (...args: Param) => void | Promise<void>): this;
|
|
2305
2257
|
once<Name extends keyof IdleTaskEvents, Param extends IdleTaskEvents[Name]>(eventName: Name, listener: (...args: Param) => void | Promise<void>): this;
|
|
@@ -3103,7 +3055,7 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
3103
3055
|
containerHighlightType: StageCore.ContainerHighlightType;
|
|
3104
3056
|
canSelect: (el: HTMLElement) => boolean | Promise<boolean>;
|
|
3105
3057
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3106
|
-
declare const _default$
|
|
3058
|
+
declare const _default$x: __VLS_WithTemplateSlots$c<typeof __VLS_component$c, __VLS_TemplateResult$c["slots"]>;
|
|
3107
3059
|
|
|
3108
3060
|
type __VLS_WithTemplateSlots$c<T, S> = T & {
|
|
3109
3061
|
new (): {
|
|
@@ -3111,7 +3063,7 @@ type __VLS_WithTemplateSlots$c<T, S> = T & {
|
|
|
3111
3063
|
};
|
|
3112
3064
|
};
|
|
3113
3065
|
|
|
3114
|
-
type __VLS_Props$
|
|
3066
|
+
type __VLS_Props$t = {
|
|
3115
3067
|
initValues?: any;
|
|
3116
3068
|
modifiedValues?: any;
|
|
3117
3069
|
type?: 'diff';
|
|
@@ -3123,7 +3075,7 @@ type __VLS_Props$s = {
|
|
|
3123
3075
|
autoSave?: boolean;
|
|
3124
3076
|
parse?: boolean;
|
|
3125
3077
|
};
|
|
3126
|
-
declare const _default$
|
|
3078
|
+
declare const _default$w: vue.DefineComponent<__VLS_Props$t, {
|
|
3127
3079
|
values: vue.Ref<string, string>;
|
|
3128
3080
|
getEditor(): monaco.editor.IStandaloneCodeEditor | monaco.editor.IStandaloneDiffEditor | null;
|
|
3129
3081
|
getVsEditor(): monaco.editor.IStandaloneCodeEditor | null;
|
|
@@ -3134,7 +3086,7 @@ declare const _default$v: vue.DefineComponent<__VLS_Props$s, {
|
|
|
3134
3086
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3135
3087
|
save: (...args: any[]) => void;
|
|
3136
3088
|
initd: (...args: any[]) => void;
|
|
3137
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
3089
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$t> & Readonly<{
|
|
3138
3090
|
onSave?: ((...args: any[]) => any) | undefined;
|
|
3139
3091
|
onInitd?: ((...args: any[]) => any) | undefined;
|
|
3140
3092
|
}>, {
|
|
@@ -3155,7 +3107,7 @@ declare function __VLS_template$b(): {
|
|
|
3155
3107
|
};
|
|
3156
3108
|
type __VLS_TemplateResult$b = ReturnType<typeof __VLS_template$b>;
|
|
3157
3109
|
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$
|
|
3110
|
+
declare const _default$v: __VLS_WithTemplateSlots$b<typeof __VLS_component$b, __VLS_TemplateResult$b["slots"]>;
|
|
3159
3111
|
|
|
3160
3112
|
type __VLS_WithTemplateSlots$b<T, S> = T & {
|
|
3161
3113
|
new (): {
|
|
@@ -3163,7 +3115,7 @@ type __VLS_WithTemplateSlots$b<T, S> = T & {
|
|
|
3163
3115
|
};
|
|
3164
3116
|
};
|
|
3165
3117
|
|
|
3166
|
-
type __VLS_Props$
|
|
3118
|
+
type __VLS_Props$s = {
|
|
3167
3119
|
layerContentMenu: (MenuButton | MenuComponent)[];
|
|
3168
3120
|
indent?: number;
|
|
3169
3121
|
nextLevelIndentIncrement?: number;
|
|
@@ -3317,8 +3269,8 @@ declare function __VLS_template$a(): {
|
|
|
3317
3269
|
rootEl: any;
|
|
3318
3270
|
};
|
|
3319
3271
|
type __VLS_TemplateResult$a = ReturnType<typeof __VLS_template$a>;
|
|
3320
|
-
declare const __VLS_component$a: vue.DefineComponent<__VLS_Props$
|
|
3321
|
-
declare const _default$
|
|
3272
|
+
declare const __VLS_component$a: vue.DefineComponent<__VLS_Props$s, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$s> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
3273
|
+
declare const _default$u: __VLS_WithTemplateSlots$a<typeof __VLS_component$a, __VLS_TemplateResult$a["slots"]>;
|
|
3322
3274
|
|
|
3323
3275
|
type __VLS_WithTemplateSlots$a<T, S> = T & {
|
|
3324
3276
|
new (): {
|
|
@@ -3326,33 +3278,33 @@ type __VLS_WithTemplateSlots$a<T, S> = T & {
|
|
|
3326
3278
|
};
|
|
3327
3279
|
};
|
|
3328
3280
|
|
|
3329
|
-
type __VLS_Props$
|
|
3281
|
+
type __VLS_Props$r = FieldProps<{
|
|
3330
3282
|
className?: string;
|
|
3331
3283
|
} & FormItem$1>;
|
|
3332
|
-
declare const _default$
|
|
3284
|
+
declare const _default$t: vue.DefineComponent<__VLS_Props$r, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3333
3285
|
change: (v: any, eventData: ContainerChangeEventData$1) => any;
|
|
3334
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
3286
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$r> & Readonly<{
|
|
3335
3287
|
onChange?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
|
|
3336
3288
|
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3337
3289
|
|
|
3338
|
-
type __VLS_Props$
|
|
3339
|
-
declare const _default$
|
|
3290
|
+
type __VLS_Props$q = FieldProps<CodeSelectColConfig>;
|
|
3291
|
+
declare const _default$s: vue.DefineComponent<__VLS_Props$q, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3340
3292
|
change: (v: any, eventData: ContainerChangeEventData$1) => any;
|
|
3341
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
3293
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$q> & Readonly<{
|
|
3342
3294
|
onChange?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
|
|
3343
3295
|
}>, {
|
|
3344
3296
|
disabled: boolean;
|
|
3345
3297
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3346
3298
|
|
|
3347
|
-
type __VLS_Props$
|
|
3299
|
+
type __VLS_Props$p = FieldProps<{
|
|
3348
3300
|
type: 'data-source-fields';
|
|
3349
3301
|
}>;
|
|
3350
3302
|
type __VLS_PublicProps$4 = {
|
|
3351
3303
|
'width'?: number;
|
|
3352
3304
|
'visible'?: boolean;
|
|
3353
3305
|
'visible1'?: boolean;
|
|
3354
|
-
} & __VLS_Props$
|
|
3355
|
-
declare const _default$
|
|
3306
|
+
} & __VLS_Props$p;
|
|
3307
|
+
declare const _default$r: vue.DefineComponent<__VLS_PublicProps$4, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3356
3308
|
change: (v: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
3357
3309
|
"update:width": (value: number) => any;
|
|
3358
3310
|
"update:visible": (value: boolean) => any;
|
|
@@ -3366,14 +3318,14 @@ declare const _default$q: vue.DefineComponent<__VLS_PublicProps$4, {}, {}, {}, {
|
|
|
3366
3318
|
disabled: boolean;
|
|
3367
3319
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3368
3320
|
|
|
3369
|
-
type __VLS_Props$
|
|
3321
|
+
type __VLS_Props$o = FieldProps<{
|
|
3370
3322
|
type: 'data-source-mocks';
|
|
3371
3323
|
}>;
|
|
3372
3324
|
type __VLS_PublicProps$3 = {
|
|
3373
3325
|
'width'?: number;
|
|
3374
3326
|
'visible'?: boolean;
|
|
3375
|
-
} & __VLS_Props$
|
|
3376
|
-
declare const _default$
|
|
3327
|
+
} & __VLS_Props$o;
|
|
3328
|
+
declare const _default$q: vue.DefineComponent<__VLS_PublicProps$3, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3377
3329
|
change: (...args: any[]) => void;
|
|
3378
3330
|
"update:width": (value: number) => void;
|
|
3379
3331
|
"update:visible": (value: boolean) => void;
|
|
@@ -3385,75 +3337,75 @@ declare const _default$p: vue.DefineComponent<__VLS_PublicProps$3, {}, {}, {}, {
|
|
|
3385
3337
|
disabled: boolean;
|
|
3386
3338
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3387
3339
|
|
|
3388
|
-
type __VLS_Props$
|
|
3340
|
+
type __VLS_Props$n = FieldProps<{
|
|
3389
3341
|
type: 'data-source-methods';
|
|
3390
3342
|
}>;
|
|
3391
|
-
declare const _default$
|
|
3343
|
+
declare const _default$p: vue.DefineComponent<__VLS_Props$n, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3392
3344
|
change: (...args: any[]) => void;
|
|
3393
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
3345
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$n> & Readonly<{
|
|
3394
3346
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
3395
3347
|
}>, {
|
|
3396
3348
|
disabled: boolean;
|
|
3397
3349
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3398
3350
|
|
|
3399
|
-
type __VLS_Props$
|
|
3351
|
+
type __VLS_Props$m = FieldProps<{
|
|
3400
3352
|
type: 'data-source-input';
|
|
3401
3353
|
} & FormItem$1>;
|
|
3402
|
-
declare const _default$
|
|
3354
|
+
declare const _default$o: vue.DefineComponent<__VLS_Props$m, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3403
3355
|
change: (value: string) => any;
|
|
3404
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
3356
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$m> & Readonly<{
|
|
3405
3357
|
onChange?: ((value: string) => any) | undefined;
|
|
3406
3358
|
}>, {
|
|
3407
3359
|
disabled: boolean;
|
|
3408
3360
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
3409
3361
|
|
|
3410
|
-
type __VLS_Props$
|
|
3411
|
-
declare const _default$
|
|
3362
|
+
type __VLS_Props$l = FieldProps<DataSourceSelect>;
|
|
3363
|
+
declare const _default$n: vue.DefineComponent<__VLS_Props$l, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3412
3364
|
change: (...args: any[]) => void;
|
|
3413
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
3365
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$l> & Readonly<{
|
|
3414
3366
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
3415
3367
|
}>, {
|
|
3416
3368
|
disabled: boolean;
|
|
3417
3369
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3418
3370
|
|
|
3419
|
-
type __VLS_Props$
|
|
3420
|
-
declare const _default$
|
|
3371
|
+
type __VLS_Props$k = FieldProps<DataSourceMethodSelectConfig>;
|
|
3372
|
+
declare const _default$m: vue.DefineComponent<__VLS_Props$k, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3421
3373
|
change: (...args: any[]) => void;
|
|
3422
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
3374
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$k> & Readonly<{
|
|
3423
3375
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
3424
3376
|
}>, {
|
|
3425
3377
|
disabled: boolean;
|
|
3426
3378
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3427
3379
|
|
|
3428
|
-
type __VLS_Props$
|
|
3429
|
-
declare const _default$
|
|
3380
|
+
type __VLS_Props$j = FieldProps<DataSourceFieldSelectConfig>;
|
|
3381
|
+
declare const _default$l: vue.DefineComponent<__VLS_Props$j, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3430
3382
|
change: (...args: any[]) => void;
|
|
3431
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
3383
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$j> & Readonly<{
|
|
3432
3384
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
3433
3385
|
}>, {
|
|
3434
3386
|
disabled: boolean;
|
|
3435
3387
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3436
3388
|
|
|
3437
|
-
type __VLS_Props$
|
|
3438
|
-
declare const _default$
|
|
3389
|
+
type __VLS_Props$i = FieldProps<EventSelectConfig>;
|
|
3390
|
+
declare const _default$k: vue.DefineComponent<__VLS_Props$i, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3439
3391
|
change: (v: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
3440
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
3392
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$i> & Readonly<{
|
|
3441
3393
|
onChange?: ((v: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
3442
3394
|
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3443
3395
|
|
|
3444
|
-
type __VLS_Props$
|
|
3396
|
+
type __VLS_Props$h = FieldProps<{
|
|
3445
3397
|
type: 'key-value';
|
|
3446
3398
|
advanced?: boolean;
|
|
3447
3399
|
} & FormItem$1>;
|
|
3448
|
-
declare const _default$
|
|
3400
|
+
declare const _default$j: vue.DefineComponent<__VLS_Props$h, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3449
3401
|
change: (value: Record<string, any>) => any;
|
|
3450
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
3402
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$h> & Readonly<{
|
|
3451
3403
|
onChange?: ((value: Record<string, any>) => any) | undefined;
|
|
3452
3404
|
}>, {
|
|
3453
3405
|
disabled: boolean;
|
|
3454
3406
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3455
3407
|
|
|
3456
|
-
type __VLS_Props$
|
|
3408
|
+
type __VLS_Props$g = {
|
|
3457
3409
|
indent?: number;
|
|
3458
3410
|
nextLevelIndentIncrement?: number;
|
|
3459
3411
|
customError?: (id: Id, errorType: CodeDeleteErrorType) => any;
|
|
@@ -3465,19 +3417,19 @@ declare function __VLS_template$9(): {
|
|
|
3465
3417
|
rootEl: HTMLDivElement;
|
|
3466
3418
|
};
|
|
3467
3419
|
type __VLS_TemplateResult$9 = ReturnType<typeof __VLS_template$9>;
|
|
3468
|
-
declare const __VLS_component$9: vue.DefineComponent<__VLS_Props$
|
|
3420
|
+
declare const __VLS_component$9: vue.DefineComponent<__VLS_Props$g, {
|
|
3469
3421
|
filter: (text: string | string[]) => void;
|
|
3470
3422
|
deleteCode: (id: string) => Promise<void>;
|
|
3471
3423
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3472
3424
|
"node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
|
|
3473
3425
|
remove: (id: string) => any;
|
|
3474
3426
|
edit: (id: string) => any;
|
|
3475
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
3427
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$g> & Readonly<{
|
|
3476
3428
|
"onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
3477
3429
|
onRemove?: ((id: string) => any) | undefined;
|
|
3478
3430
|
onEdit?: ((id: string) => any) | undefined;
|
|
3479
3431
|
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3480
|
-
declare const _default$
|
|
3432
|
+
declare const _default$i: __VLS_WithTemplateSlots$9<typeof __VLS_component$9, __VLS_TemplateResult$9["slots"]>;
|
|
3481
3433
|
|
|
3482
3434
|
type __VLS_WithTemplateSlots$9<T, S> = T & {
|
|
3483
3435
|
new (): {
|
|
@@ -3485,7 +3437,7 @@ type __VLS_WithTemplateSlots$9<T, S> = T & {
|
|
|
3485
3437
|
};
|
|
3486
3438
|
};
|
|
3487
3439
|
|
|
3488
|
-
type __VLS_Props$
|
|
3440
|
+
type __VLS_Props$f = {
|
|
3489
3441
|
indent?: number;
|
|
3490
3442
|
nextLevelIndentIncrement?: number;
|
|
3491
3443
|
customError?: (id: Id, errorType: CodeDeleteErrorType) => any;
|
|
@@ -3740,8 +3692,8 @@ declare function __VLS_template$8(): {
|
|
|
3740
3692
|
rootEl: any;
|
|
3741
3693
|
};
|
|
3742
3694
|
type __VLS_TemplateResult$8 = ReturnType<typeof __VLS_template$8>;
|
|
3743
|
-
declare const __VLS_component$8: vue.DefineComponent<__VLS_Props$
|
|
3744
|
-
declare const _default$
|
|
3695
|
+
declare const __VLS_component$8: vue.DefineComponent<__VLS_Props$f, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$f> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
3696
|
+
declare const _default$h: __VLS_WithTemplateSlots$8<typeof __VLS_component$8, __VLS_TemplateResult$8["slots"]>;
|
|
3745
3697
|
|
|
3746
3698
|
type __VLS_WithTemplateSlots$8<T, S> = T & {
|
|
3747
3699
|
new (): {
|
|
@@ -3749,7 +3701,7 @@ type __VLS_WithTemplateSlots$8<T, S> = T & {
|
|
|
3749
3701
|
};
|
|
3750
3702
|
};
|
|
3751
3703
|
|
|
3752
|
-
type __VLS_Props$
|
|
3704
|
+
type __VLS_Props$e = {
|
|
3753
3705
|
title?: string;
|
|
3754
3706
|
values: any;
|
|
3755
3707
|
disabled: boolean;
|
|
@@ -3757,8 +3709,8 @@ type __VLS_Props$d = {
|
|
|
3757
3709
|
type __VLS_PublicProps$2 = {
|
|
3758
3710
|
'visible'?: boolean;
|
|
3759
3711
|
'width'?: number;
|
|
3760
|
-
} & __VLS_Props$
|
|
3761
|
-
declare const _default$
|
|
3712
|
+
} & __VLS_Props$e;
|
|
3713
|
+
declare const _default$g: vue.DefineComponent<__VLS_PublicProps$2, {
|
|
3762
3714
|
show(): void;
|
|
3763
3715
|
hide(): void;
|
|
3764
3716
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
@@ -3771,7 +3723,7 @@ declare const _default$f: vue.DefineComponent<__VLS_PublicProps$2, {
|
|
|
3771
3723
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
3772
3724
|
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
3773
3725
|
|
|
3774
|
-
type __VLS_Props$
|
|
3726
|
+
type __VLS_Props$d = {
|
|
3775
3727
|
disabledShowSrc?: boolean;
|
|
3776
3728
|
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
3777
3729
|
};
|
|
@@ -3779,6 +3731,7 @@ declare function __VLS_template$7(): {
|
|
|
3779
3731
|
attrs: Partial<{}>;
|
|
3780
3732
|
slots: Readonly<PropsPanelSlots> & PropsPanelSlots;
|
|
3781
3733
|
refs: {
|
|
3734
|
+
propsPanel: HTMLDivElement;
|
|
3782
3735
|
propertyFormPanel: ({
|
|
3783
3736
|
$: vue.ComponentInternalInstance;
|
|
3784
3737
|
$data: {};
|
|
@@ -4083,7 +4036,7 @@ declare function __VLS_template$7(): {
|
|
|
4083
4036
|
rootEl: HTMLDivElement;
|
|
4084
4037
|
};
|
|
4085
4038
|
type __VLS_TemplateResult$7 = ReturnType<typeof __VLS_template$7>;
|
|
4086
|
-
declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$
|
|
4039
|
+
declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
4087
4040
|
getFormState(): FormState$1 | undefined;
|
|
4088
4041
|
submit: (v: MNode, eventData?: ContainerChangeEventData$1) => Promise<void>;
|
|
4089
4042
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
@@ -4389,7 +4342,7 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$c, {
|
|
|
4389
4342
|
}) => any;
|
|
4390
4343
|
"submit-error": (e: any) => any;
|
|
4391
4344
|
"form-error": (e: any) => any;
|
|
4392
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
4345
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$d> & Readonly<{
|
|
4393
4346
|
onMounted?: ((internalInstance: {
|
|
4394
4347
|
$: vue.ComponentInternalInstance;
|
|
4395
4348
|
$data: {};
|
|
@@ -4692,8 +4645,310 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$c, {
|
|
|
4692
4645
|
}) => any) | undefined;
|
|
4693
4646
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
4694
4647
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
4695
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {
|
|
4696
|
-
|
|
4648
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {
|
|
4649
|
+
propsPanel: HTMLDivElement;
|
|
4650
|
+
propertyFormPanel: ({
|
|
4651
|
+
$: vue.ComponentInternalInstance;
|
|
4652
|
+
$data: {};
|
|
4653
|
+
$props: {
|
|
4654
|
+
readonly config: FormConfig;
|
|
4655
|
+
readonly values: FormValue$1;
|
|
4656
|
+
readonly disabledShowSrc?: boolean | undefined;
|
|
4657
|
+
readonly labelWidth?: string | undefined;
|
|
4658
|
+
readonly codeValueKey?: string | undefined;
|
|
4659
|
+
readonly labelPosition?: string | undefined;
|
|
4660
|
+
readonly extendState?: ((state: FormState$1) => Record<string, any> | Promise<Record<string, any>>) | undefined;
|
|
4661
|
+
readonly onMounted?: ((internalInstance: any) => any) | undefined;
|
|
4662
|
+
readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
4663
|
+
readonly "onSubmit-error"?: ((e: any) => any) | undefined;
|
|
4664
|
+
readonly "onForm-error"?: ((e: any) => any) | undefined;
|
|
4665
|
+
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps;
|
|
4666
|
+
$attrs: {
|
|
4667
|
+
[x: string]: unknown;
|
|
4668
|
+
};
|
|
4669
|
+
$refs: {
|
|
4670
|
+
[x: string]: unknown;
|
|
4671
|
+
};
|
|
4672
|
+
$slots: Readonly<{
|
|
4673
|
+
[name: string]: vue.Slot<any> | undefined;
|
|
4674
|
+
}>;
|
|
4675
|
+
$root: vue.ComponentPublicInstance | null;
|
|
4676
|
+
$parent: vue.ComponentPublicInstance | null;
|
|
4677
|
+
$host: Element | null;
|
|
4678
|
+
$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);
|
|
4679
|
+
$el: HTMLDivElement;
|
|
4680
|
+
$options: vue.ComponentOptionsBase<Readonly<{
|
|
4681
|
+
config: FormConfig;
|
|
4682
|
+
values: FormValue$1;
|
|
4683
|
+
disabledShowSrc?: boolean;
|
|
4684
|
+
labelWidth?: string;
|
|
4685
|
+
codeValueKey?: string;
|
|
4686
|
+
labelPosition?: string;
|
|
4687
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4688
|
+
}> & Readonly<{
|
|
4689
|
+
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
4690
|
+
onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
4691
|
+
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
4692
|
+
"onForm-error"?: ((e: any) => any) | undefined;
|
|
4693
|
+
}>, {
|
|
4694
|
+
configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4695
|
+
config: FormConfig;
|
|
4696
|
+
initValues: Record<string, any>;
|
|
4697
|
+
lastValues?: Record<string, any>;
|
|
4698
|
+
isCompare?: boolean;
|
|
4699
|
+
parentValues?: Record<string, any>;
|
|
4700
|
+
labelWidth?: string;
|
|
4701
|
+
disabled?: boolean;
|
|
4702
|
+
height?: string;
|
|
4703
|
+
stepActive?: string | number;
|
|
4704
|
+
size?: "small" | "default" | "large";
|
|
4705
|
+
inline?: boolean;
|
|
4706
|
+
labelPosition?: string;
|
|
4707
|
+
keyProp?: string;
|
|
4708
|
+
popperClass?: string;
|
|
4709
|
+
preventSubmitDefault?: boolean;
|
|
4710
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4711
|
+
}> & Readonly<{
|
|
4712
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
4713
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
4714
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
4715
|
+
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
4716
|
+
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
4717
|
+
}>, {
|
|
4718
|
+
values: vue.Ref<FormValue$1, FormValue$1>;
|
|
4719
|
+
lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
|
|
4720
|
+
formState: FormState$1;
|
|
4721
|
+
initialized: vue.Ref<boolean, boolean>;
|
|
4722
|
+
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
4723
|
+
changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
|
|
4724
|
+
resetForm: () => void;
|
|
4725
|
+
submitForm: (native?: boolean) => Promise<any>;
|
|
4726
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
4727
|
+
change: (...args: any[]) => void;
|
|
4728
|
+
error: (...args: any[]) => void;
|
|
4729
|
+
"update:stepActive": (...args: any[]) => void;
|
|
4730
|
+
"field-change": (...args: any[]) => void;
|
|
4731
|
+
"field-input": (...args: any[]) => void;
|
|
4732
|
+
}, vue.PublicProps, {
|
|
4733
|
+
disabled: boolean;
|
|
4734
|
+
labelWidth: string;
|
|
4735
|
+
inline: boolean;
|
|
4736
|
+
labelPosition: string;
|
|
4737
|
+
config: FormConfig;
|
|
4738
|
+
initValues: Record<string, any>;
|
|
4739
|
+
lastValues: Record<string, any>;
|
|
4740
|
+
isCompare: boolean;
|
|
4741
|
+
keyProp: string;
|
|
4742
|
+
parentValues: Record<string, any>;
|
|
4743
|
+
stepActive: string | number;
|
|
4744
|
+
height: string;
|
|
4745
|
+
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
4746
|
+
P: {};
|
|
4747
|
+
B: {};
|
|
4748
|
+
D: {};
|
|
4749
|
+
C: {};
|
|
4750
|
+
M: {};
|
|
4751
|
+
Defaults: {};
|
|
4752
|
+
}, Readonly<{
|
|
4753
|
+
config: FormConfig;
|
|
4754
|
+
initValues: Record<string, any>;
|
|
4755
|
+
lastValues?: Record<string, any>;
|
|
4756
|
+
isCompare?: boolean;
|
|
4757
|
+
parentValues?: Record<string, any>;
|
|
4758
|
+
labelWidth?: string;
|
|
4759
|
+
disabled?: boolean;
|
|
4760
|
+
height?: string;
|
|
4761
|
+
stepActive?: string | number;
|
|
4762
|
+
size?: "small" | "default" | "large";
|
|
4763
|
+
inline?: boolean;
|
|
4764
|
+
labelPosition?: string;
|
|
4765
|
+
keyProp?: string;
|
|
4766
|
+
popperClass?: string;
|
|
4767
|
+
preventSubmitDefault?: boolean;
|
|
4768
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4769
|
+
}> & Readonly<{
|
|
4770
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
4771
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
4772
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
4773
|
+
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
4774
|
+
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
4775
|
+
}>, {
|
|
4776
|
+
values: vue.Ref<FormValue$1, FormValue$1>;
|
|
4777
|
+
lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
|
|
4778
|
+
formState: FormState$1;
|
|
4779
|
+
initialized: vue.Ref<boolean, boolean>;
|
|
4780
|
+
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
4781
|
+
changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
|
|
4782
|
+
resetForm: () => void;
|
|
4783
|
+
submitForm: (native?: boolean) => Promise<any>;
|
|
4784
|
+
}, {}, {}, {}, {
|
|
4785
|
+
disabled: boolean;
|
|
4786
|
+
labelWidth: string;
|
|
4787
|
+
inline: boolean;
|
|
4788
|
+
labelPosition: string;
|
|
4789
|
+
config: FormConfig;
|
|
4790
|
+
initValues: Record<string, any>;
|
|
4791
|
+
lastValues: Record<string, any>;
|
|
4792
|
+
isCompare: boolean;
|
|
4793
|
+
keyProp: string;
|
|
4794
|
+
parentValues: Record<string, any>;
|
|
4795
|
+
stepActive: string | number;
|
|
4796
|
+
height: string;
|
|
4797
|
+
}> | null>>;
|
|
4798
|
+
submit: (v: FormValue$1, eventData: ContainerChangeEventData$1) => Promise<void>;
|
|
4799
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
4800
|
+
mounted: (internalInstance: any) => any;
|
|
4801
|
+
submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
4802
|
+
"submit-error": (e: any) => any;
|
|
4803
|
+
"form-error": (e: any) => any;
|
|
4804
|
+
}, string, {}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & {
|
|
4805
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
4806
|
+
created?: (() => void) | (() => void)[];
|
|
4807
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
4808
|
+
mounted?: (() => void) | (() => void)[];
|
|
4809
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
4810
|
+
updated?: (() => void) | (() => void)[];
|
|
4811
|
+
activated?: (() => void) | (() => void)[];
|
|
4812
|
+
deactivated?: (() => void) | (() => void)[];
|
|
4813
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
4814
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
4815
|
+
destroyed?: (() => void) | (() => void)[];
|
|
4816
|
+
unmounted?: (() => void) | (() => void)[];
|
|
4817
|
+
renderTracked?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
4818
|
+
renderTriggered?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
4819
|
+
errorCaptured?: ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
4820
|
+
};
|
|
4821
|
+
$forceUpdate: () => void;
|
|
4822
|
+
$nextTick: typeof vue.nextTick;
|
|
4823
|
+
$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;
|
|
4824
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
4825
|
+
config: FormConfig;
|
|
4826
|
+
values: FormValue$1;
|
|
4827
|
+
disabledShowSrc?: boolean;
|
|
4828
|
+
labelWidth?: string;
|
|
4829
|
+
codeValueKey?: string;
|
|
4830
|
+
labelPosition?: string;
|
|
4831
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4832
|
+
}> & Readonly<{
|
|
4833
|
+
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
4834
|
+
onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
4835
|
+
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
4836
|
+
"onForm-error"?: ((e: any) => any) | undefined;
|
|
4837
|
+
}>, "submit" | "configForm"> & vue.ShallowUnwrapRef<{
|
|
4838
|
+
configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4839
|
+
config: FormConfig;
|
|
4840
|
+
initValues: Record<string, any>;
|
|
4841
|
+
lastValues?: Record<string, any>;
|
|
4842
|
+
isCompare?: boolean;
|
|
4843
|
+
parentValues?: Record<string, any>;
|
|
4844
|
+
labelWidth?: string;
|
|
4845
|
+
disabled?: boolean;
|
|
4846
|
+
height?: string;
|
|
4847
|
+
stepActive?: string | number;
|
|
4848
|
+
size?: "small" | "default" | "large";
|
|
4849
|
+
inline?: boolean;
|
|
4850
|
+
labelPosition?: string;
|
|
4851
|
+
keyProp?: string;
|
|
4852
|
+
popperClass?: string;
|
|
4853
|
+
preventSubmitDefault?: boolean;
|
|
4854
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4855
|
+
}> & Readonly<{
|
|
4856
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
4857
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
4858
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
4859
|
+
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
4860
|
+
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
4861
|
+
}>, {
|
|
4862
|
+
values: vue.Ref<FormValue$1, FormValue$1>;
|
|
4863
|
+
lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
|
|
4864
|
+
formState: FormState$1;
|
|
4865
|
+
initialized: vue.Ref<boolean, boolean>;
|
|
4866
|
+
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
4867
|
+
changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
|
|
4868
|
+
resetForm: () => void;
|
|
4869
|
+
submitForm: (native?: boolean) => Promise<any>;
|
|
4870
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
4871
|
+
change: (...args: any[]) => void;
|
|
4872
|
+
error: (...args: any[]) => void;
|
|
4873
|
+
"update:stepActive": (...args: any[]) => void;
|
|
4874
|
+
"field-change": (...args: any[]) => void;
|
|
4875
|
+
"field-input": (...args: any[]) => void;
|
|
4876
|
+
}, vue.PublicProps, {
|
|
4877
|
+
disabled: boolean;
|
|
4878
|
+
labelWidth: string;
|
|
4879
|
+
inline: boolean;
|
|
4880
|
+
labelPosition: string;
|
|
4881
|
+
config: FormConfig;
|
|
4882
|
+
initValues: Record<string, any>;
|
|
4883
|
+
lastValues: Record<string, any>;
|
|
4884
|
+
isCompare: boolean;
|
|
4885
|
+
keyProp: string;
|
|
4886
|
+
parentValues: Record<string, any>;
|
|
4887
|
+
stepActive: string | number;
|
|
4888
|
+
height: string;
|
|
4889
|
+
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
4890
|
+
P: {};
|
|
4891
|
+
B: {};
|
|
4892
|
+
D: {};
|
|
4893
|
+
C: {};
|
|
4894
|
+
M: {};
|
|
4895
|
+
Defaults: {};
|
|
4896
|
+
}, Readonly<{
|
|
4897
|
+
config: FormConfig;
|
|
4898
|
+
initValues: Record<string, any>;
|
|
4899
|
+
lastValues?: Record<string, any>;
|
|
4900
|
+
isCompare?: boolean;
|
|
4901
|
+
parentValues?: Record<string, any>;
|
|
4902
|
+
labelWidth?: string;
|
|
4903
|
+
disabled?: boolean;
|
|
4904
|
+
height?: string;
|
|
4905
|
+
stepActive?: string | number;
|
|
4906
|
+
size?: "small" | "default" | "large";
|
|
4907
|
+
inline?: boolean;
|
|
4908
|
+
labelPosition?: string;
|
|
4909
|
+
keyProp?: string;
|
|
4910
|
+
popperClass?: string;
|
|
4911
|
+
preventSubmitDefault?: boolean;
|
|
4912
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4913
|
+
}> & Readonly<{
|
|
4914
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
4915
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
4916
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
4917
|
+
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
4918
|
+
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
4919
|
+
}>, {
|
|
4920
|
+
values: vue.Ref<FormValue$1, FormValue$1>;
|
|
4921
|
+
lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
|
|
4922
|
+
formState: FormState$1;
|
|
4923
|
+
initialized: vue.Ref<boolean, boolean>;
|
|
4924
|
+
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
4925
|
+
changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
|
|
4926
|
+
resetForm: () => void;
|
|
4927
|
+
submitForm: (native?: boolean) => Promise<any>;
|
|
4928
|
+
}, {}, {}, {}, {
|
|
4929
|
+
disabled: boolean;
|
|
4930
|
+
labelWidth: string;
|
|
4931
|
+
inline: boolean;
|
|
4932
|
+
labelPosition: string;
|
|
4933
|
+
config: FormConfig;
|
|
4934
|
+
initValues: Record<string, any>;
|
|
4935
|
+
lastValues: Record<string, any>;
|
|
4936
|
+
isCompare: boolean;
|
|
4937
|
+
keyProp: string;
|
|
4938
|
+
parentValues: Record<string, any>;
|
|
4939
|
+
stepActive: string | number;
|
|
4940
|
+
height: string;
|
|
4941
|
+
}> | null>>;
|
|
4942
|
+
submit: (v: FormValue$1, eventData: ContainerChangeEventData$1) => Promise<void>;
|
|
4943
|
+
}> & {} & vue.ComponentCustomProperties & {} & {
|
|
4944
|
+
$slots: Readonly<{
|
|
4945
|
+
'props-form-panel-header'(props: {}): any;
|
|
4946
|
+
}> & {
|
|
4947
|
+
'props-form-panel-header'(props: {}): any;
|
|
4948
|
+
};
|
|
4949
|
+
}) | null;
|
|
4950
|
+
}, HTMLDivElement>;
|
|
4951
|
+
declare const _default$f: __VLS_WithTemplateSlots$7<typeof __VLS_component$7, __VLS_TemplateResult$7["slots"]>;
|
|
4697
4952
|
|
|
4698
4953
|
type __VLS_WithTemplateSlots$7<T, S> = T & {
|
|
4699
4954
|
new (): {
|
|
@@ -4701,7 +4956,7 @@ type __VLS_WithTemplateSlots$7<T, S> = T & {
|
|
|
4701
4956
|
};
|
|
4702
4957
|
};
|
|
4703
4958
|
|
|
4704
|
-
type __VLS_Props$
|
|
4959
|
+
type __VLS_Props$c = {
|
|
4705
4960
|
config: FormConfig$1;
|
|
4706
4961
|
values: FormValue$1;
|
|
4707
4962
|
disabledShowSrc?: boolean;
|
|
@@ -4826,7 +5081,7 @@ declare function __VLS_template$6(): {
|
|
|
4826
5081
|
rootEl: HTMLDivElement;
|
|
4827
5082
|
};
|
|
4828
5083
|
type __VLS_TemplateResult$6 = ReturnType<typeof __VLS_template$6>;
|
|
4829
|
-
declare const __VLS_component$6: vue.DefineComponent<__VLS_Props$
|
|
5084
|
+
declare const __VLS_component$6: vue.DefineComponent<__VLS_Props$c, {
|
|
4830
5085
|
configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4831
5086
|
config: FormConfig$1;
|
|
4832
5087
|
initValues: Record<string, any>;
|
|
@@ -4937,13 +5192,13 @@ declare const __VLS_component$6: vue.DefineComponent<__VLS_Props$b, {
|
|
|
4937
5192
|
submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
4938
5193
|
"submit-error": (e: any) => any;
|
|
4939
5194
|
"form-error": (e: any) => any;
|
|
4940
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
5195
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$c> & Readonly<{
|
|
4941
5196
|
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
4942
5197
|
onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
4943
5198
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
4944
5199
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
4945
5200
|
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
4946
|
-
declare const _default$
|
|
5201
|
+
declare const _default$e: __VLS_WithTemplateSlots$6<typeof __VLS_component$6, __VLS_TemplateResult$6["slots"]>;
|
|
4947
5202
|
|
|
4948
5203
|
type __VLS_WithTemplateSlots$6<T, S> = T & {
|
|
4949
5204
|
new (): {
|
|
@@ -4951,16 +5206,16 @@ type __VLS_WithTemplateSlots$6<T, S> = T & {
|
|
|
4951
5206
|
};
|
|
4952
5207
|
};
|
|
4953
5208
|
|
|
4954
|
-
type __VLS_Props$
|
|
5209
|
+
type __VLS_Props$b = {
|
|
4955
5210
|
data?: MenuButton | MenuComponent;
|
|
4956
5211
|
eventType?: 'mousedown' | 'mouseup' | 'click';
|
|
4957
5212
|
};
|
|
4958
|
-
declare const _default$
|
|
5213
|
+
declare const _default$d: vue.DefineComponent<__VLS_Props$b, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$b> & Readonly<{}>, {
|
|
4959
5214
|
data: MenuButton | MenuComponent;
|
|
4960
5215
|
eventType: "mousedown" | "mouseup" | "click";
|
|
4961
5216
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
4962
5217
|
|
|
4963
|
-
type __VLS_Props$
|
|
5218
|
+
type __VLS_Props$a = {
|
|
4964
5219
|
menuData?: (MenuButton | MenuComponent)[];
|
|
4965
5220
|
isSubMenu?: boolean;
|
|
4966
5221
|
active?: string | number;
|
|
@@ -4998,7 +5253,7 @@ declare function __VLS_template$5(): {
|
|
|
4998
5253
|
rootEl: any;
|
|
4999
5254
|
};
|
|
5000
5255
|
type __VLS_TemplateResult$5 = ReturnType<typeof __VLS_template$5>;
|
|
5001
|
-
declare const __VLS_component$5: vue.DefineComponent<__VLS_Props$
|
|
5256
|
+
declare const __VLS_component$5: vue.DefineComponent<__VLS_Props$a, {
|
|
5002
5257
|
menu: Readonly<vue.ShallowRef<HTMLDivElement | null>>;
|
|
5003
5258
|
menuPosition: vue.Ref<{
|
|
5004
5259
|
left: number;
|
|
@@ -5024,7 +5279,7 @@ declare const __VLS_component$5: vue.DefineComponent<__VLS_Props$9, {
|
|
|
5024
5279
|
mouseenter: () => any;
|
|
5025
5280
|
show: () => any;
|
|
5026
5281
|
hide: () => any;
|
|
5027
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
5282
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$a> & Readonly<{
|
|
5028
5283
|
onMouseenter?: (() => any) | undefined;
|
|
5029
5284
|
onShow?: (() => any) | undefined;
|
|
5030
5285
|
onHide?: (() => any) | undefined;
|
|
@@ -5033,7 +5288,7 @@ declare const __VLS_component$5: vue.DefineComponent<__VLS_Props$9, {
|
|
|
5033
5288
|
isSubMenu: boolean;
|
|
5034
5289
|
autoHide: boolean;
|
|
5035
5290
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
5036
|
-
declare const _default$
|
|
5291
|
+
declare const _default$c: __VLS_WithTemplateSlots$5<typeof __VLS_component$5, __VLS_TemplateResult$5["slots"]>;
|
|
5037
5292
|
|
|
5038
5293
|
type __VLS_WithTemplateSlots$5<T, S> = T & {
|
|
5039
5294
|
new (): {
|
|
@@ -5041,12 +5296,12 @@ type __VLS_WithTemplateSlots$5<T, S> = T & {
|
|
|
5041
5296
|
};
|
|
5042
5297
|
};
|
|
5043
5298
|
|
|
5044
|
-
type __VLS_Props$
|
|
5299
|
+
type __VLS_Props$9 = {
|
|
5045
5300
|
icon?: any;
|
|
5046
5301
|
};
|
|
5047
|
-
declare const _default$
|
|
5302
|
+
declare const _default$b: vue.DefineComponent<__VLS_Props$9, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$9> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
5048
5303
|
|
|
5049
|
-
type __VLS_Props$
|
|
5304
|
+
type __VLS_Props$8 = {
|
|
5050
5305
|
width?: number;
|
|
5051
5306
|
left?: number;
|
|
5052
5307
|
right?: number;
|
|
@@ -5065,18 +5320,18 @@ declare function __VLS_template$4(): {
|
|
|
5065
5320
|
right?(_: {}): any;
|
|
5066
5321
|
};
|
|
5067
5322
|
refs: {
|
|
5068
|
-
|
|
5323
|
+
target: HTMLDivElement;
|
|
5069
5324
|
};
|
|
5070
5325
|
rootEl: HTMLDivElement;
|
|
5071
5326
|
};
|
|
5072
5327
|
type __VLS_TemplateResult$4 = ReturnType<typeof __VLS_template$4>;
|
|
5073
|
-
declare const __VLS_component$4: vue.DefineComponent<__VLS_Props$
|
|
5328
|
+
declare const __VLS_component$4: vue.DefineComponent<__VLS_Props$8, {
|
|
5074
5329
|
updateWidth(): void;
|
|
5075
5330
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
5076
5331
|
change: (...args: any[]) => void;
|
|
5077
5332
|
"update:left": (...args: any[]) => void;
|
|
5078
5333
|
"update:right": (...args: any[]) => void;
|
|
5079
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
5334
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$8> & Readonly<{
|
|
5080
5335
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
5081
5336
|
"onUpdate:left"?: ((...args: any[]) => any) | undefined;
|
|
5082
5337
|
"onUpdate:right"?: ((...args: any[]) => any) | undefined;
|
|
@@ -5085,7 +5340,7 @@ declare const __VLS_component$4: vue.DefineComponent<__VLS_Props$7, {
|
|
|
5085
5340
|
minRight: number;
|
|
5086
5341
|
minCenter: number;
|
|
5087
5342
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5088
|
-
declare const _default$
|
|
5343
|
+
declare const _default$a: __VLS_WithTemplateSlots$4<typeof __VLS_component$4, __VLS_TemplateResult$4["slots"]>;
|
|
5089
5344
|
|
|
5090
5345
|
type __VLS_WithTemplateSlots$4<T, S> = T & {
|
|
5091
5346
|
new (): {
|
|
@@ -5109,7 +5364,7 @@ declare const __VLS_component$3: vue.DefineComponent<{}, {}, {}, {}, {}, vue.Com
|
|
|
5109
5364
|
}, string, vue.PublicProps, Readonly<{}> & Readonly<{
|
|
5110
5365
|
onChange?: ((e: OnDrag<gesto.default>) => any) | undefined;
|
|
5111
5366
|
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, HTMLSpanElement>;
|
|
5112
|
-
declare const _default$
|
|
5367
|
+
declare const _default$9: __VLS_WithTemplateSlots$3<typeof __VLS_component$3, __VLS_TemplateResult$3["slots"]>;
|
|
5113
5368
|
|
|
5114
5369
|
type __VLS_WithTemplateSlots$3<T, S> = T & {
|
|
5115
5370
|
new (): {
|
|
@@ -5117,7 +5372,7 @@ type __VLS_WithTemplateSlots$3<T, S> = T & {
|
|
|
5117
5372
|
};
|
|
5118
5373
|
};
|
|
5119
5374
|
|
|
5120
|
-
type __VLS_Props$
|
|
5375
|
+
type __VLS_Props$7 = {
|
|
5121
5376
|
content: CodeBlockContent;
|
|
5122
5377
|
disabled?: boolean;
|
|
5123
5378
|
isDataSource?: boolean;
|
|
@@ -5126,8 +5381,8 @@ type __VLS_Props$6 = {
|
|
|
5126
5381
|
type __VLS_PublicProps$1 = {
|
|
5127
5382
|
'width'?: number;
|
|
5128
5383
|
'visible'?: boolean;
|
|
5129
|
-
} & __VLS_Props$
|
|
5130
|
-
declare const _default$
|
|
5384
|
+
} & __VLS_Props$7;
|
|
5385
|
+
declare const _default$8: vue.DefineComponent<__VLS_PublicProps$1, {
|
|
5131
5386
|
show(): Promise<void>;
|
|
5132
5387
|
hide(): Promise<void>;
|
|
5133
5388
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
@@ -5144,7 +5399,7 @@ interface Position {
|
|
|
5144
5399
|
left: number;
|
|
5145
5400
|
top: number;
|
|
5146
5401
|
}
|
|
5147
|
-
type __VLS_Props$
|
|
5402
|
+
type __VLS_Props$6 = {
|
|
5148
5403
|
position?: Position;
|
|
5149
5404
|
title?: string;
|
|
5150
5405
|
beforeClose?: (done: (cancel?: boolean) => void) => void;
|
|
@@ -5153,7 +5408,7 @@ type __VLS_PublicProps = {
|
|
|
5153
5408
|
'width'?: number;
|
|
5154
5409
|
'height'?: number;
|
|
5155
5410
|
'visible'?: boolean;
|
|
5156
|
-
} & __VLS_Props$
|
|
5411
|
+
} & __VLS_Props$6;
|
|
5157
5412
|
declare function __VLS_template$2(): {
|
|
5158
5413
|
attrs: Partial<{}>;
|
|
5159
5414
|
slots: {
|
|
@@ -5162,7 +5417,7 @@ declare function __VLS_template$2(): {
|
|
|
5162
5417
|
};
|
|
5163
5418
|
refs: {
|
|
5164
5419
|
target: HTMLDivElement;
|
|
5165
|
-
|
|
5420
|
+
title: HTMLDivElement;
|
|
5166
5421
|
};
|
|
5167
5422
|
rootEl: any;
|
|
5168
5423
|
};
|
|
@@ -5183,7 +5438,7 @@ declare const __VLS_component$2: vue.DefineComponent<__VLS_PublicProps, {
|
|
|
5183
5438
|
title: string;
|
|
5184
5439
|
position: Position;
|
|
5185
5440
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
5186
|
-
declare const _default$
|
|
5441
|
+
declare const _default$7: __VLS_WithTemplateSlots$2<typeof __VLS_component$2, __VLS_TemplateResult$2["slots"]>;
|
|
5187
5442
|
|
|
5188
5443
|
type __VLS_WithTemplateSlots$2<T, S> = T & {
|
|
5189
5444
|
new (): {
|
|
@@ -5191,7 +5446,7 @@ type __VLS_WithTemplateSlots$2<T, S> = T & {
|
|
|
5191
5446
|
};
|
|
5192
5447
|
};
|
|
5193
5448
|
|
|
5194
|
-
type __VLS_Props$
|
|
5449
|
+
type __VLS_Props$5 = {
|
|
5195
5450
|
data: TreeNodeData[];
|
|
5196
5451
|
nodeStatusMap: Map<Id, LayerNodeStatus>;
|
|
5197
5452
|
indent?: number;
|
|
@@ -5225,7 +5480,7 @@ declare function __VLS_template$1(): {
|
|
|
5225
5480
|
rootEl: HTMLDivElement;
|
|
5226
5481
|
};
|
|
5227
5482
|
type __VLS_TemplateResult$1 = ReturnType<typeof __VLS_template$1>;
|
|
5228
|
-
declare const __VLS_component$1: vue.DefineComponent<__VLS_Props$
|
|
5483
|
+
declare const __VLS_component$1: vue.DefineComponent<__VLS_Props$5, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
5229
5484
|
"node-click": (event: MouseEvent, data: TreeNodeData) => any;
|
|
5230
5485
|
"node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
|
|
5231
5486
|
"node-dragstart": (event: DragEvent, data: TreeNodeData) => any;
|
|
@@ -5233,7 +5488,7 @@ declare const __VLS_component$1: vue.DefineComponent<__VLS_Props$4, {}, {}, {},
|
|
|
5233
5488
|
"node-dragend": (event: DragEvent, data: TreeNodeData) => any;
|
|
5234
5489
|
"node-mouseenter": (event: MouseEvent, data: TreeNodeData) => any;
|
|
5235
5490
|
"node-dragover": (event: DragEvent) => any;
|
|
5236
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
5491
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$5> & Readonly<{
|
|
5237
5492
|
"onNode-click"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
5238
5493
|
"onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
5239
5494
|
"onNode-dragstart"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
|
|
@@ -5245,7 +5500,7 @@ declare const __VLS_component$1: vue.DefineComponent<__VLS_Props$4, {}, {}, {},
|
|
|
5245
5500
|
emptyText: string;
|
|
5246
5501
|
indent: number;
|
|
5247
5502
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5248
|
-
declare const _default$
|
|
5503
|
+
declare const _default$6: __VLS_WithTemplateSlots$1<typeof __VLS_component$1, __VLS_TemplateResult$1["slots"]>;
|
|
5249
5504
|
|
|
5250
5505
|
type __VLS_WithTemplateSlots$1<T, S> = T & {
|
|
5251
5506
|
new (): {
|
|
@@ -5253,7 +5508,7 @@ type __VLS_WithTemplateSlots$1<T, S> = T & {
|
|
|
5253
5508
|
};
|
|
5254
5509
|
};
|
|
5255
5510
|
|
|
5256
|
-
type __VLS_Props$
|
|
5511
|
+
type __VLS_Props$4 = {
|
|
5257
5512
|
data: TreeNodeData;
|
|
5258
5513
|
parent?: TreeNodeData;
|
|
5259
5514
|
parentsId?: Id[];
|
|
@@ -5288,14 +5543,14 @@ declare function __VLS_template(): {
|
|
|
5288
5543
|
rootEl: HTMLDivElement;
|
|
5289
5544
|
};
|
|
5290
5545
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
5291
|
-
declare const __VLS_component: vue.DefineComponent<__VLS_Props$
|
|
5546
|
+
declare const __VLS_component: vue.DefineComponent<__VLS_Props$4, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
5292
5547
|
"node-click": (event: MouseEvent, data: TreeNodeData) => any;
|
|
5293
5548
|
"node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
|
|
5294
5549
|
"node-dragstart": (event: DragEvent, data: TreeNodeData) => any;
|
|
5295
5550
|
"node-dragleave": (event: DragEvent, data: TreeNodeData) => any;
|
|
5296
5551
|
"node-dragend": (event: DragEvent, data: TreeNodeData) => any;
|
|
5297
5552
|
"node-mouseenter": (event: MouseEvent, data: TreeNodeData) => any;
|
|
5298
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
5553
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$4> & Readonly<{
|
|
5299
5554
|
"onNode-click"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
5300
5555
|
"onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
5301
5556
|
"onNode-dragstart"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
|
|
@@ -5307,7 +5562,7 @@ declare const __VLS_component: vue.DefineComponent<__VLS_Props$3, {}, {}, {}, {}
|
|
|
5307
5562
|
parentsId: Id[];
|
|
5308
5563
|
nextLevelIndentIncrement: number;
|
|
5309
5564
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5310
|
-
declare const _default$
|
|
5565
|
+
declare const _default$5: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
5311
5566
|
|
|
5312
5567
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
5313
5568
|
new (): {
|
|
@@ -5315,36 +5570,43 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
5315
5570
|
};
|
|
5316
5571
|
};
|
|
5317
5572
|
|
|
5318
|
-
type __VLS_Props$
|
|
5319
|
-
declare const _default$
|
|
5573
|
+
type __VLS_Props$3 = FieldProps<PageFragmentSelectConfig>;
|
|
5574
|
+
declare const _default$4: vue.DefineComponent<__VLS_Props$3, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
5320
5575
|
change: (...args: any[]) => void;
|
|
5321
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
5576
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$3> & Readonly<{
|
|
5322
5577
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
5323
5578
|
}>, {
|
|
5324
5579
|
disabled: boolean;
|
|
5325
5580
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5326
5581
|
|
|
5327
|
-
type __VLS_Props$
|
|
5582
|
+
type __VLS_Props$2 = FieldProps<{
|
|
5328
5583
|
titlePrefix?: string;
|
|
5329
5584
|
parentFields?: string[] | FilterFunction$1<string[]>;
|
|
5330
5585
|
}>;
|
|
5331
|
-
declare const _default$
|
|
5586
|
+
declare const _default$3: vue.DefineComponent<__VLS_Props$2, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
5332
5587
|
change: (value: DisplayCond[], eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
5333
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
5588
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$2> & Readonly<{
|
|
5334
5589
|
onChange?: ((value: DisplayCond[], eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
5335
5590
|
}>, {
|
|
5336
5591
|
disabled: boolean;
|
|
5337
5592
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5338
5593
|
|
|
5339
|
-
type __VLS_Props = FieldProps<CondOpSelectConfig>;
|
|
5340
|
-
declare const _default$
|
|
5594
|
+
type __VLS_Props$1 = FieldProps<CondOpSelectConfig>;
|
|
5595
|
+
declare const _default$2: vue.DefineComponent<__VLS_Props$1, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
5341
5596
|
change: (value: string) => any;
|
|
5342
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
5597
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$1> & Readonly<{
|
|
5343
5598
|
onChange?: ((value: string) => any) | undefined;
|
|
5344
5599
|
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
5345
5600
|
|
|
5601
|
+
type __VLS_Props = FieldProps<StyleSchema>;
|
|
5602
|
+
declare const _default$1: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
5603
|
+
change: (v: any, eventData: ContainerChangeEventData$1) => any;
|
|
5604
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
5605
|
+
onChange?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
|
|
5606
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5607
|
+
|
|
5346
5608
|
declare const _default: {
|
|
5347
5609
|
install: (app: App, opt?: Partial<EditorInstallOptions | DesignPluginOptions | FormInstallOptions>) => void;
|
|
5348
5610
|
};
|
|
5349
5611
|
|
|
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$
|
|
5612
|
+
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$8 as CodeBlockEditor, _default$i as CodeBlockList, _default$h as CodeBlockListPanel, type CodeBlockListPanelSlots, type CodeBlockListSlots, CodeDeleteErrorType, type CodeDslItem, type CodeParamStatement, type CodeRelation, _default$t as CodeSelect, _default$s as CodeSelectCol, type CodeSelectColConfig, type CodeState, ColumnLayout, type CombineInfo, type ComponentGroup, type ComponentGroupState, type ComponentItem, _default$v as ComponentListPanel, type ComponentListPanelSlots, _default$2 as CondOpSelect, type CondOpSelectConfig, _default$c as ContentMenu, type CustomContentMenuFunction, _default$g as DataSourceConfigPanel, _default$l as DataSourceFieldSelect, type DataSourceFieldSelectConfig, _default$r as DataSourceFields, _default$o as DataSourceInput, type DataSourceListSlots, _default$m as DataSourceMethodSelect, type DataSourceMethodSelectConfig, _default$p as DataSourceMethods, _default$q as DataSourceMocks, _default$n as DataSourceSelect, type DatasourceTypeOption, _default$3 as DisplayConds, DragType, type EditorInstallOptions, type EditorNodeInfo, type EventBus, type EventBusEvent, _default$k as EventSelect, type EventSelectConfig, Fixed2Other, _default$7 as FloatingBox, type FrameworkSlots, type GetColumnWidth, type GetConfig, H_GUIDE_LINE_STORAGE_KEY, type HistoryState, _default$b as Icon, IdleTask, type IdleTaskEvents, type KeyBindingCacheItem, KeyBindingCommand, type KeyBindingItem, _default$j as KeyValue, Keys, type LayerNodeSlots, type LayerNodeStatus, LayerOffset, _default$u as LayerPanel, type LayerPanelSlots, Layout, _default$a as LayoutContainer, type ListState, type MenuBarData, type MenuButton, type MenuComponent, type MenuItem, type PageBarSortOptions, _default$4 as PageFragmentSelect, type PageFragmentSelectConfig, type PartSortableOptions, type PastePosition, type PropsFormConfigFunction, _default$e as PropsFormPanel, type PropsFormValueFunction, _default$f as PropsPanel, type PropsPanelSlots, type PropsState, _default$9 as Resizer, ScrollViewer, type ScrollViewerEvent, type Services, type SetColumnWidth, type SideBarData, type SideComponent, type SideItem, SideItemKey, type SidebarSlots, _default$a as SplitView, type StageOptions, type StageOverlayState, type StageRect, type StepValue, type StoreState, type StoreStateKey, _default$1 as StyleSetter, type SyncAfterHook, type SyncBeforeHook, type SyncHookPlugin, _default$w as TMagicCodeEditor, _default$x as TMagicEditor, _default$d as ToolButton, _default$6 as Tree, _default$5 as TreeNode, type TreeNodeData, UI_SELECT_MODE_EVENT_NAME, type UiState, UndoRedo, V_GUIDE_LINE_STORAGE_KEY, type WorkspaceSlots, advancedTabConfig, arrayOptions, beforePaste, change2Fixed, _default$H as codeBlockService, _default$G as dataSourceService, debug, _default as default, _default$F as depService, displayTabConfig, _default$E as editorService, eqOptions, error, eventTabConfig, _default$D as eventsService, fillConfig, fixNodeLeft, fixNodePosition, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getDefaultConfig, getDisplayField, getEditorConfig, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getNodeIndex, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, _default$C as historyService, info, isIncludeDataSource, log, moveItemsInContainer, numberOptions, _default$B as propsService, removeDataSourceFieldPrefix, serializeConfig, setChildrenLayout, setEditorConfig, setLayout, _default$A as stageOverlayService, _default$z as storageService, styleTabConfig, _default$y as uiService, updateStatus, useCodeBlockEdit, useEditorContentHeight, useFilter, useFloatBox, useGetSo, useNextFloatBoxPosition, useNodeStatus, useStage, useWindowRect, warn };
|