@tmagic/editor 1.5.2 → 1.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/style.css +366 -6
- package/dist/tmagic-editor.js +1421 -509
- package/dist/tmagic-editor.umd.cjs +1436 -523
- package/package.json +7 -7
- package/src/components/SplitView.vue +1 -1
- 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/index.ts +3 -0
- package/src/layouts/props-panel/FormPanel.vue +1 -1
- package/src/layouts/props-panel/PropsPanel.vue +32 -2
- package/src/services/editor.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/props.ts +52 -297
- package/types/index.d.ts +425 -110
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,7 +290,7 @@ 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];
|
|
@@ -328,7 +329,7 @@ declare class Dep extends export_default {
|
|
|
328
329
|
private enqueueTask;
|
|
329
330
|
}
|
|
330
331
|
type DepService = Dep;
|
|
331
|
-
declare const _default$
|
|
332
|
+
declare const _default$F: Dep;
|
|
332
333
|
|
|
333
334
|
interface EditorEvents {
|
|
334
335
|
'root-change': [value: StoreState['root'], preValue?: StoreState['root']];
|
|
@@ -514,7 +515,7 @@ declare class Editor extends export_default {
|
|
|
514
515
|
private selectedConfigExceptionHandler;
|
|
515
516
|
}
|
|
516
517
|
type EditorService = Editor;
|
|
517
|
-
declare const _default$
|
|
518
|
+
declare const _default$E: Editor;
|
|
518
519
|
|
|
519
520
|
declare class Events extends export_default {
|
|
520
521
|
constructor();
|
|
@@ -529,7 +530,7 @@ declare class Events extends export_default {
|
|
|
529
530
|
destroy(): void;
|
|
530
531
|
}
|
|
531
532
|
type EventsService = Events;
|
|
532
|
-
declare const _default$
|
|
533
|
+
declare const _default$D: Events;
|
|
533
534
|
|
|
534
535
|
declare class UndoRedo<T = any> {
|
|
535
536
|
private elementList;
|
|
@@ -564,7 +565,7 @@ declare class History extends export_default {
|
|
|
564
565
|
private setCanUndoRedo;
|
|
565
566
|
}
|
|
566
567
|
type HistoryService = History;
|
|
567
|
-
declare const _default$
|
|
568
|
+
declare const _default$C: History;
|
|
568
569
|
|
|
569
570
|
declare class Keybinding extends export_default {
|
|
570
571
|
ctrlKey: string;
|
|
@@ -687,7 +688,7 @@ declare class Props extends export_default {
|
|
|
687
688
|
private setRelateId;
|
|
688
689
|
}
|
|
689
690
|
type PropsService = Props;
|
|
690
|
-
declare const _default$
|
|
691
|
+
declare const _default$B: Props;
|
|
691
692
|
|
|
692
693
|
declare const canUsePluginMethods$2: {
|
|
693
694
|
async: never[];
|
|
@@ -713,7 +714,7 @@ declare class StageOverlay extends export_default {
|
|
|
713
714
|
private updateSelectStatus;
|
|
714
715
|
}
|
|
715
716
|
type StageOverlayService = StageOverlay;
|
|
716
|
-
declare const _default$
|
|
717
|
+
declare const _default$A: StageOverlay;
|
|
717
718
|
|
|
718
719
|
interface Options {
|
|
719
720
|
namespace?: string;
|
|
@@ -775,7 +776,7 @@ declare class WebStorage extends export_default {
|
|
|
775
776
|
private getValueAndProtocol;
|
|
776
777
|
}
|
|
777
778
|
type StorageService = WebStorage;
|
|
778
|
-
declare const _default$
|
|
779
|
+
declare const _default$z: WebStorage;
|
|
779
780
|
|
|
780
781
|
declare const canUsePluginMethods: {
|
|
781
782
|
async: readonly ["zoom", "calcZoom"];
|
|
@@ -850,7 +851,7 @@ declare class Ui extends export_default {
|
|
|
850
851
|
private setStageRect;
|
|
851
852
|
}
|
|
852
853
|
type UiService = Ui;
|
|
853
|
-
declare const _default$
|
|
854
|
+
declare const _default$y: Ui;
|
|
854
855
|
|
|
855
856
|
interface FrameworkSlots {
|
|
856
857
|
header(props: {}): any;
|
|
@@ -1812,9 +1813,12 @@ interface SwitchConfig extends FormItem {
|
|
|
1812
1813
|
*/
|
|
1813
1814
|
interface RadioGroupConfig extends FormItem {
|
|
1814
1815
|
type: 'radio-group';
|
|
1816
|
+
childType?: 'default' | 'button';
|
|
1815
1817
|
options: {
|
|
1816
1818
|
value: string | number | boolean;
|
|
1817
1819
|
text: string;
|
|
1820
|
+
icon?: any;
|
|
1821
|
+
tooltip?: string;
|
|
1818
1822
|
}[];
|
|
1819
1823
|
}
|
|
1820
1824
|
/**
|
|
@@ -2012,6 +2016,7 @@ interface TableConfig extends FormItem {
|
|
|
2012
2016
|
addable?: (mForm: FormState | undefined, data: any) => boolean | 'undefined' | boolean;
|
|
2013
2017
|
/** 是否显示删除按钮 */
|
|
2014
2018
|
delete?: (model: any, index: number, values: any) => boolean | boolean;
|
|
2019
|
+
copyable?: (model: any, data: any) => boolean | boolean;
|
|
2015
2020
|
/** 是否显示导入按钮 */
|
|
2016
2021
|
importable?: (mForm: FormState | undefined, data: any) => boolean | 'undefined' | boolean;
|
|
2017
2022
|
/** 是否显示checkbox */
|
|
@@ -2045,7 +2050,9 @@ interface GroupListConfig extends FormItem {
|
|
|
2045
2050
|
addable?: (mForm: FormState | undefined, data: any) => boolean | 'undefined' | boolean;
|
|
2046
2051
|
defaultAdd?: (mForm: FormState | undefined, data: any) => any;
|
|
2047
2052
|
delete?: (model: any, index: number | string | symbol, values: any) => boolean | boolean;
|
|
2053
|
+
copyable?: FilterFunction<boolean>;
|
|
2048
2054
|
movable?: (mForm: FormState | undefined, index: number | string | symbol, model: any, groupModel: any) => boolean | boolean;
|
|
2055
|
+
moveSpecifyLocation?: boolean;
|
|
2049
2056
|
[key: string]: any;
|
|
2050
2057
|
}
|
|
2051
2058
|
interface StepItemConfig extends FormItem, ContainerCommonConfig {
|
|
@@ -2256,9 +2263,7 @@ declare const change2Fixed: (node: MNode, root: MApp) => {
|
|
|
2256
2263
|
declare const Fixed2Other: (node: MNode, root: MApp, getLayout: (parent: MNode, node?: MNode) => Promise<Layout>) => Promise<Record<string, any>>;
|
|
2257
2264
|
declare const getGuideLineFromCache: (key: string) => number[];
|
|
2258
2265
|
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;
|
|
2266
|
+
declare const fixNodePosition: (config: MNode, parent: MContainer, stage: StageCore__default | null) => _tmagic_schema.StyleSchema | undefined;
|
|
2262
2267
|
declare const serializeConfig: (config: any) => string;
|
|
2263
2268
|
declare const moveItemsInContainer: (sourceIndices: number[], parent: MContainer, targetIndex: number) => void;
|
|
2264
2269
|
declare const isIncludeDataSource: (node: MNode, oldNode: MNode) => boolean;
|
|
@@ -3103,7 +3108,7 @@ declare const __VLS_component$c: vue.DefineComponent<EditorProps, {
|
|
|
3103
3108
|
containerHighlightType: StageCore.ContainerHighlightType;
|
|
3104
3109
|
canSelect: (el: HTMLElement) => boolean | Promise<boolean>;
|
|
3105
3110
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3106
|
-
declare const _default$
|
|
3111
|
+
declare const _default$x: __VLS_WithTemplateSlots$c<typeof __VLS_component$c, __VLS_TemplateResult$c["slots"]>;
|
|
3107
3112
|
|
|
3108
3113
|
type __VLS_WithTemplateSlots$c<T, S> = T & {
|
|
3109
3114
|
new (): {
|
|
@@ -3111,7 +3116,7 @@ type __VLS_WithTemplateSlots$c<T, S> = T & {
|
|
|
3111
3116
|
};
|
|
3112
3117
|
};
|
|
3113
3118
|
|
|
3114
|
-
type __VLS_Props$
|
|
3119
|
+
type __VLS_Props$t = {
|
|
3115
3120
|
initValues?: any;
|
|
3116
3121
|
modifiedValues?: any;
|
|
3117
3122
|
type?: 'diff';
|
|
@@ -3123,7 +3128,7 @@ type __VLS_Props$s = {
|
|
|
3123
3128
|
autoSave?: boolean;
|
|
3124
3129
|
parse?: boolean;
|
|
3125
3130
|
};
|
|
3126
|
-
declare const _default$
|
|
3131
|
+
declare const _default$w: vue.DefineComponent<__VLS_Props$t, {
|
|
3127
3132
|
values: vue.Ref<string, string>;
|
|
3128
3133
|
getEditor(): monaco.editor.IStandaloneCodeEditor | monaco.editor.IStandaloneDiffEditor | null;
|
|
3129
3134
|
getVsEditor(): monaco.editor.IStandaloneCodeEditor | null;
|
|
@@ -3134,7 +3139,7 @@ declare const _default$v: vue.DefineComponent<__VLS_Props$s, {
|
|
|
3134
3139
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3135
3140
|
save: (...args: any[]) => void;
|
|
3136
3141
|
initd: (...args: any[]) => void;
|
|
3137
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
3142
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$t> & Readonly<{
|
|
3138
3143
|
onSave?: ((...args: any[]) => any) | undefined;
|
|
3139
3144
|
onInitd?: ((...args: any[]) => any) | undefined;
|
|
3140
3145
|
}>, {
|
|
@@ -3155,7 +3160,7 @@ declare function __VLS_template$b(): {
|
|
|
3155
3160
|
};
|
|
3156
3161
|
type __VLS_TemplateResult$b = ReturnType<typeof __VLS_template$b>;
|
|
3157
3162
|
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$
|
|
3163
|
+
declare const _default$v: __VLS_WithTemplateSlots$b<typeof __VLS_component$b, __VLS_TemplateResult$b["slots"]>;
|
|
3159
3164
|
|
|
3160
3165
|
type __VLS_WithTemplateSlots$b<T, S> = T & {
|
|
3161
3166
|
new (): {
|
|
@@ -3163,7 +3168,7 @@ type __VLS_WithTemplateSlots$b<T, S> = T & {
|
|
|
3163
3168
|
};
|
|
3164
3169
|
};
|
|
3165
3170
|
|
|
3166
|
-
type __VLS_Props$
|
|
3171
|
+
type __VLS_Props$s = {
|
|
3167
3172
|
layerContentMenu: (MenuButton | MenuComponent)[];
|
|
3168
3173
|
indent?: number;
|
|
3169
3174
|
nextLevelIndentIncrement?: number;
|
|
@@ -3317,8 +3322,8 @@ declare function __VLS_template$a(): {
|
|
|
3317
3322
|
rootEl: any;
|
|
3318
3323
|
};
|
|
3319
3324
|
type __VLS_TemplateResult$a = ReturnType<typeof __VLS_template$a>;
|
|
3320
|
-
declare const __VLS_component$a: vue.DefineComponent<__VLS_Props$
|
|
3321
|
-
declare const _default$
|
|
3325
|
+
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>;
|
|
3326
|
+
declare const _default$u: __VLS_WithTemplateSlots$a<typeof __VLS_component$a, __VLS_TemplateResult$a["slots"]>;
|
|
3322
3327
|
|
|
3323
3328
|
type __VLS_WithTemplateSlots$a<T, S> = T & {
|
|
3324
3329
|
new (): {
|
|
@@ -3326,33 +3331,33 @@ type __VLS_WithTemplateSlots$a<T, S> = T & {
|
|
|
3326
3331
|
};
|
|
3327
3332
|
};
|
|
3328
3333
|
|
|
3329
|
-
type __VLS_Props$
|
|
3334
|
+
type __VLS_Props$r = FieldProps<{
|
|
3330
3335
|
className?: string;
|
|
3331
3336
|
} & FormItem$1>;
|
|
3332
|
-
declare const _default$
|
|
3337
|
+
declare const _default$t: vue.DefineComponent<__VLS_Props$r, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3333
3338
|
change: (v: any, eventData: ContainerChangeEventData$1) => any;
|
|
3334
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
3339
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$r> & Readonly<{
|
|
3335
3340
|
onChange?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
|
|
3336
3341
|
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3337
3342
|
|
|
3338
|
-
type __VLS_Props$
|
|
3339
|
-
declare const _default$
|
|
3343
|
+
type __VLS_Props$q = FieldProps<CodeSelectColConfig>;
|
|
3344
|
+
declare const _default$s: vue.DefineComponent<__VLS_Props$q, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3340
3345
|
change: (v: any, eventData: ContainerChangeEventData$1) => any;
|
|
3341
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
3346
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$q> & Readonly<{
|
|
3342
3347
|
onChange?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
|
|
3343
3348
|
}>, {
|
|
3344
3349
|
disabled: boolean;
|
|
3345
3350
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3346
3351
|
|
|
3347
|
-
type __VLS_Props$
|
|
3352
|
+
type __VLS_Props$p = FieldProps<{
|
|
3348
3353
|
type: 'data-source-fields';
|
|
3349
3354
|
}>;
|
|
3350
3355
|
type __VLS_PublicProps$4 = {
|
|
3351
3356
|
'width'?: number;
|
|
3352
3357
|
'visible'?: boolean;
|
|
3353
3358
|
'visible1'?: boolean;
|
|
3354
|
-
} & __VLS_Props$
|
|
3355
|
-
declare const _default$
|
|
3359
|
+
} & __VLS_Props$p;
|
|
3360
|
+
declare const _default$r: vue.DefineComponent<__VLS_PublicProps$4, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3356
3361
|
change: (v: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
3357
3362
|
"update:width": (value: number) => any;
|
|
3358
3363
|
"update:visible": (value: boolean) => any;
|
|
@@ -3366,14 +3371,14 @@ declare const _default$q: vue.DefineComponent<__VLS_PublicProps$4, {}, {}, {}, {
|
|
|
3366
3371
|
disabled: boolean;
|
|
3367
3372
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3368
3373
|
|
|
3369
|
-
type __VLS_Props$
|
|
3374
|
+
type __VLS_Props$o = FieldProps<{
|
|
3370
3375
|
type: 'data-source-mocks';
|
|
3371
3376
|
}>;
|
|
3372
3377
|
type __VLS_PublicProps$3 = {
|
|
3373
3378
|
'width'?: number;
|
|
3374
3379
|
'visible'?: boolean;
|
|
3375
|
-
} & __VLS_Props$
|
|
3376
|
-
declare const _default$
|
|
3380
|
+
} & __VLS_Props$o;
|
|
3381
|
+
declare const _default$q: vue.DefineComponent<__VLS_PublicProps$3, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3377
3382
|
change: (...args: any[]) => void;
|
|
3378
3383
|
"update:width": (value: number) => void;
|
|
3379
3384
|
"update:visible": (value: boolean) => void;
|
|
@@ -3385,75 +3390,75 @@ declare const _default$p: vue.DefineComponent<__VLS_PublicProps$3, {}, {}, {}, {
|
|
|
3385
3390
|
disabled: boolean;
|
|
3386
3391
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3387
3392
|
|
|
3388
|
-
type __VLS_Props$
|
|
3393
|
+
type __VLS_Props$n = FieldProps<{
|
|
3389
3394
|
type: 'data-source-methods';
|
|
3390
3395
|
}>;
|
|
3391
|
-
declare const _default$
|
|
3396
|
+
declare const _default$p: vue.DefineComponent<__VLS_Props$n, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3392
3397
|
change: (...args: any[]) => void;
|
|
3393
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
3398
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$n> & Readonly<{
|
|
3394
3399
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
3395
3400
|
}>, {
|
|
3396
3401
|
disabled: boolean;
|
|
3397
3402
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3398
3403
|
|
|
3399
|
-
type __VLS_Props$
|
|
3404
|
+
type __VLS_Props$m = FieldProps<{
|
|
3400
3405
|
type: 'data-source-input';
|
|
3401
3406
|
} & FormItem$1>;
|
|
3402
|
-
declare const _default$
|
|
3407
|
+
declare const _default$o: vue.DefineComponent<__VLS_Props$m, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3403
3408
|
change: (value: string) => any;
|
|
3404
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
3409
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$m> & Readonly<{
|
|
3405
3410
|
onChange?: ((value: string) => any) | undefined;
|
|
3406
3411
|
}>, {
|
|
3407
3412
|
disabled: boolean;
|
|
3408
3413
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
3409
3414
|
|
|
3410
|
-
type __VLS_Props$
|
|
3411
|
-
declare const _default$
|
|
3415
|
+
type __VLS_Props$l = FieldProps<DataSourceSelect>;
|
|
3416
|
+
declare const _default$n: vue.DefineComponent<__VLS_Props$l, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3412
3417
|
change: (...args: any[]) => void;
|
|
3413
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
3418
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$l> & Readonly<{
|
|
3414
3419
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
3415
3420
|
}>, {
|
|
3416
3421
|
disabled: boolean;
|
|
3417
3422
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3418
3423
|
|
|
3419
|
-
type __VLS_Props$
|
|
3420
|
-
declare const _default$
|
|
3424
|
+
type __VLS_Props$k = FieldProps<DataSourceMethodSelectConfig>;
|
|
3425
|
+
declare const _default$m: vue.DefineComponent<__VLS_Props$k, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3421
3426
|
change: (...args: any[]) => void;
|
|
3422
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
3427
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$k> & Readonly<{
|
|
3423
3428
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
3424
3429
|
}>, {
|
|
3425
3430
|
disabled: boolean;
|
|
3426
3431
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3427
3432
|
|
|
3428
|
-
type __VLS_Props$
|
|
3429
|
-
declare const _default$
|
|
3433
|
+
type __VLS_Props$j = FieldProps<DataSourceFieldSelectConfig>;
|
|
3434
|
+
declare const _default$l: vue.DefineComponent<__VLS_Props$j, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3430
3435
|
change: (...args: any[]) => void;
|
|
3431
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
3436
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$j> & Readonly<{
|
|
3432
3437
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
3433
3438
|
}>, {
|
|
3434
3439
|
disabled: boolean;
|
|
3435
3440
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3436
3441
|
|
|
3437
|
-
type __VLS_Props$
|
|
3438
|
-
declare const _default$
|
|
3442
|
+
type __VLS_Props$i = FieldProps<EventSelectConfig>;
|
|
3443
|
+
declare const _default$k: vue.DefineComponent<__VLS_Props$i, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3439
3444
|
change: (v: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
3440
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
3445
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$i> & Readonly<{
|
|
3441
3446
|
onChange?: ((v: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
3442
3447
|
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3443
3448
|
|
|
3444
|
-
type __VLS_Props$
|
|
3449
|
+
type __VLS_Props$h = FieldProps<{
|
|
3445
3450
|
type: 'key-value';
|
|
3446
3451
|
advanced?: boolean;
|
|
3447
3452
|
} & FormItem$1>;
|
|
3448
|
-
declare const _default$
|
|
3453
|
+
declare const _default$j: vue.DefineComponent<__VLS_Props$h, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3449
3454
|
change: (value: Record<string, any>) => any;
|
|
3450
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
3455
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$h> & Readonly<{
|
|
3451
3456
|
onChange?: ((value: Record<string, any>) => any) | undefined;
|
|
3452
3457
|
}>, {
|
|
3453
3458
|
disabled: boolean;
|
|
3454
3459
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3455
3460
|
|
|
3456
|
-
type __VLS_Props$
|
|
3461
|
+
type __VLS_Props$g = {
|
|
3457
3462
|
indent?: number;
|
|
3458
3463
|
nextLevelIndentIncrement?: number;
|
|
3459
3464
|
customError?: (id: Id, errorType: CodeDeleteErrorType) => any;
|
|
@@ -3465,19 +3470,19 @@ declare function __VLS_template$9(): {
|
|
|
3465
3470
|
rootEl: HTMLDivElement;
|
|
3466
3471
|
};
|
|
3467
3472
|
type __VLS_TemplateResult$9 = ReturnType<typeof __VLS_template$9>;
|
|
3468
|
-
declare const __VLS_component$9: vue.DefineComponent<__VLS_Props$
|
|
3473
|
+
declare const __VLS_component$9: vue.DefineComponent<__VLS_Props$g, {
|
|
3469
3474
|
filter: (text: string | string[]) => void;
|
|
3470
3475
|
deleteCode: (id: string) => Promise<void>;
|
|
3471
3476
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
3472
3477
|
"node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
|
|
3473
3478
|
remove: (id: string) => any;
|
|
3474
3479
|
edit: (id: string) => any;
|
|
3475
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
3480
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$g> & Readonly<{
|
|
3476
3481
|
"onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
3477
3482
|
onRemove?: ((id: string) => any) | undefined;
|
|
3478
3483
|
onEdit?: ((id: string) => any) | undefined;
|
|
3479
3484
|
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3480
|
-
declare const _default$
|
|
3485
|
+
declare const _default$i: __VLS_WithTemplateSlots$9<typeof __VLS_component$9, __VLS_TemplateResult$9["slots"]>;
|
|
3481
3486
|
|
|
3482
3487
|
type __VLS_WithTemplateSlots$9<T, S> = T & {
|
|
3483
3488
|
new (): {
|
|
@@ -3485,7 +3490,7 @@ type __VLS_WithTemplateSlots$9<T, S> = T & {
|
|
|
3485
3490
|
};
|
|
3486
3491
|
};
|
|
3487
3492
|
|
|
3488
|
-
type __VLS_Props$
|
|
3493
|
+
type __VLS_Props$f = {
|
|
3489
3494
|
indent?: number;
|
|
3490
3495
|
nextLevelIndentIncrement?: number;
|
|
3491
3496
|
customError?: (id: Id, errorType: CodeDeleteErrorType) => any;
|
|
@@ -3740,8 +3745,8 @@ declare function __VLS_template$8(): {
|
|
|
3740
3745
|
rootEl: any;
|
|
3741
3746
|
};
|
|
3742
3747
|
type __VLS_TemplateResult$8 = ReturnType<typeof __VLS_template$8>;
|
|
3743
|
-
declare const __VLS_component$8: vue.DefineComponent<__VLS_Props$
|
|
3744
|
-
declare const _default$
|
|
3748
|
+
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>;
|
|
3749
|
+
declare const _default$h: __VLS_WithTemplateSlots$8<typeof __VLS_component$8, __VLS_TemplateResult$8["slots"]>;
|
|
3745
3750
|
|
|
3746
3751
|
type __VLS_WithTemplateSlots$8<T, S> = T & {
|
|
3747
3752
|
new (): {
|
|
@@ -3749,7 +3754,7 @@ type __VLS_WithTemplateSlots$8<T, S> = T & {
|
|
|
3749
3754
|
};
|
|
3750
3755
|
};
|
|
3751
3756
|
|
|
3752
|
-
type __VLS_Props$
|
|
3757
|
+
type __VLS_Props$e = {
|
|
3753
3758
|
title?: string;
|
|
3754
3759
|
values: any;
|
|
3755
3760
|
disabled: boolean;
|
|
@@ -3757,8 +3762,8 @@ type __VLS_Props$d = {
|
|
|
3757
3762
|
type __VLS_PublicProps$2 = {
|
|
3758
3763
|
'visible'?: boolean;
|
|
3759
3764
|
'width'?: number;
|
|
3760
|
-
} & __VLS_Props$
|
|
3761
|
-
declare const _default$
|
|
3765
|
+
} & __VLS_Props$e;
|
|
3766
|
+
declare const _default$g: vue.DefineComponent<__VLS_PublicProps$2, {
|
|
3762
3767
|
show(): void;
|
|
3763
3768
|
hide(): void;
|
|
3764
3769
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
@@ -3771,7 +3776,7 @@ declare const _default$f: vue.DefineComponent<__VLS_PublicProps$2, {
|
|
|
3771
3776
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
3772
3777
|
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
3773
3778
|
|
|
3774
|
-
type __VLS_Props$
|
|
3779
|
+
type __VLS_Props$d = {
|
|
3775
3780
|
disabledShowSrc?: boolean;
|
|
3776
3781
|
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
3777
3782
|
};
|
|
@@ -3779,6 +3784,7 @@ declare function __VLS_template$7(): {
|
|
|
3779
3784
|
attrs: Partial<{}>;
|
|
3780
3785
|
slots: Readonly<PropsPanelSlots> & PropsPanelSlots;
|
|
3781
3786
|
refs: {
|
|
3787
|
+
propsPanel: HTMLDivElement;
|
|
3782
3788
|
propertyFormPanel: ({
|
|
3783
3789
|
$: vue.ComponentInternalInstance;
|
|
3784
3790
|
$data: {};
|
|
@@ -4083,7 +4089,7 @@ declare function __VLS_template$7(): {
|
|
|
4083
4089
|
rootEl: HTMLDivElement;
|
|
4084
4090
|
};
|
|
4085
4091
|
type __VLS_TemplateResult$7 = ReturnType<typeof __VLS_template$7>;
|
|
4086
|
-
declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$
|
|
4092
|
+
declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {
|
|
4087
4093
|
getFormState(): FormState$1 | undefined;
|
|
4088
4094
|
submit: (v: MNode, eventData?: ContainerChangeEventData$1) => Promise<void>;
|
|
4089
4095
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
@@ -4389,7 +4395,7 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$c, {
|
|
|
4389
4395
|
}) => any;
|
|
4390
4396
|
"submit-error": (e: any) => any;
|
|
4391
4397
|
"form-error": (e: any) => any;
|
|
4392
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
4398
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$d> & Readonly<{
|
|
4393
4399
|
onMounted?: ((internalInstance: {
|
|
4394
4400
|
$: vue.ComponentInternalInstance;
|
|
4395
4401
|
$data: {};
|
|
@@ -4692,8 +4698,310 @@ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$c, {
|
|
|
4692
4698
|
}) => any) | undefined;
|
|
4693
4699
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
4694
4700
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
4695
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {
|
|
4696
|
-
|
|
4701
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {
|
|
4702
|
+
propsPanel: HTMLDivElement;
|
|
4703
|
+
propertyFormPanel: ({
|
|
4704
|
+
$: vue.ComponentInternalInstance;
|
|
4705
|
+
$data: {};
|
|
4706
|
+
$props: {
|
|
4707
|
+
readonly config: FormConfig;
|
|
4708
|
+
readonly values: FormValue$1;
|
|
4709
|
+
readonly disabledShowSrc?: boolean | undefined;
|
|
4710
|
+
readonly labelWidth?: string | undefined;
|
|
4711
|
+
readonly codeValueKey?: string | undefined;
|
|
4712
|
+
readonly labelPosition?: string | undefined;
|
|
4713
|
+
readonly extendState?: ((state: FormState$1) => Record<string, any> | Promise<Record<string, any>>) | undefined;
|
|
4714
|
+
readonly onMounted?: ((internalInstance: any) => any) | undefined;
|
|
4715
|
+
readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
4716
|
+
readonly "onSubmit-error"?: ((e: any) => any) | undefined;
|
|
4717
|
+
readonly "onForm-error"?: ((e: any) => any) | undefined;
|
|
4718
|
+
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps;
|
|
4719
|
+
$attrs: {
|
|
4720
|
+
[x: string]: unknown;
|
|
4721
|
+
};
|
|
4722
|
+
$refs: {
|
|
4723
|
+
[x: string]: unknown;
|
|
4724
|
+
};
|
|
4725
|
+
$slots: Readonly<{
|
|
4726
|
+
[name: string]: vue.Slot<any> | undefined;
|
|
4727
|
+
}>;
|
|
4728
|
+
$root: vue.ComponentPublicInstance | null;
|
|
4729
|
+
$parent: vue.ComponentPublicInstance | null;
|
|
4730
|
+
$host: Element | null;
|
|
4731
|
+
$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);
|
|
4732
|
+
$el: HTMLDivElement;
|
|
4733
|
+
$options: vue.ComponentOptionsBase<Readonly<{
|
|
4734
|
+
config: FormConfig;
|
|
4735
|
+
values: FormValue$1;
|
|
4736
|
+
disabledShowSrc?: boolean;
|
|
4737
|
+
labelWidth?: string;
|
|
4738
|
+
codeValueKey?: string;
|
|
4739
|
+
labelPosition?: string;
|
|
4740
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4741
|
+
}> & Readonly<{
|
|
4742
|
+
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
4743
|
+
onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
4744
|
+
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
4745
|
+
"onForm-error"?: ((e: any) => any) | undefined;
|
|
4746
|
+
}>, {
|
|
4747
|
+
configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4748
|
+
config: FormConfig;
|
|
4749
|
+
initValues: Record<string, any>;
|
|
4750
|
+
lastValues?: Record<string, any>;
|
|
4751
|
+
isCompare?: boolean;
|
|
4752
|
+
parentValues?: Record<string, any>;
|
|
4753
|
+
labelWidth?: string;
|
|
4754
|
+
disabled?: boolean;
|
|
4755
|
+
height?: string;
|
|
4756
|
+
stepActive?: string | number;
|
|
4757
|
+
size?: "small" | "default" | "large";
|
|
4758
|
+
inline?: boolean;
|
|
4759
|
+
labelPosition?: string;
|
|
4760
|
+
keyProp?: string;
|
|
4761
|
+
popperClass?: string;
|
|
4762
|
+
preventSubmitDefault?: boolean;
|
|
4763
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4764
|
+
}> & Readonly<{
|
|
4765
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
4766
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
4767
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
4768
|
+
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
4769
|
+
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
4770
|
+
}>, {
|
|
4771
|
+
values: vue.Ref<FormValue$1, FormValue$1>;
|
|
4772
|
+
lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
|
|
4773
|
+
formState: FormState$1;
|
|
4774
|
+
initialized: vue.Ref<boolean, boolean>;
|
|
4775
|
+
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
4776
|
+
changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
|
|
4777
|
+
resetForm: () => void;
|
|
4778
|
+
submitForm: (native?: boolean) => Promise<any>;
|
|
4779
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
4780
|
+
change: (...args: any[]) => void;
|
|
4781
|
+
error: (...args: any[]) => void;
|
|
4782
|
+
"update:stepActive": (...args: any[]) => void;
|
|
4783
|
+
"field-change": (...args: any[]) => void;
|
|
4784
|
+
"field-input": (...args: any[]) => void;
|
|
4785
|
+
}, vue.PublicProps, {
|
|
4786
|
+
disabled: boolean;
|
|
4787
|
+
labelWidth: string;
|
|
4788
|
+
inline: boolean;
|
|
4789
|
+
labelPosition: string;
|
|
4790
|
+
config: FormConfig;
|
|
4791
|
+
initValues: Record<string, any>;
|
|
4792
|
+
lastValues: Record<string, any>;
|
|
4793
|
+
isCompare: boolean;
|
|
4794
|
+
keyProp: string;
|
|
4795
|
+
parentValues: Record<string, any>;
|
|
4796
|
+
stepActive: string | number;
|
|
4797
|
+
height: string;
|
|
4798
|
+
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
4799
|
+
P: {};
|
|
4800
|
+
B: {};
|
|
4801
|
+
D: {};
|
|
4802
|
+
C: {};
|
|
4803
|
+
M: {};
|
|
4804
|
+
Defaults: {};
|
|
4805
|
+
}, Readonly<{
|
|
4806
|
+
config: FormConfig;
|
|
4807
|
+
initValues: Record<string, any>;
|
|
4808
|
+
lastValues?: Record<string, any>;
|
|
4809
|
+
isCompare?: boolean;
|
|
4810
|
+
parentValues?: Record<string, any>;
|
|
4811
|
+
labelWidth?: string;
|
|
4812
|
+
disabled?: boolean;
|
|
4813
|
+
height?: string;
|
|
4814
|
+
stepActive?: string | number;
|
|
4815
|
+
size?: "small" | "default" | "large";
|
|
4816
|
+
inline?: boolean;
|
|
4817
|
+
labelPosition?: string;
|
|
4818
|
+
keyProp?: string;
|
|
4819
|
+
popperClass?: string;
|
|
4820
|
+
preventSubmitDefault?: boolean;
|
|
4821
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4822
|
+
}> & Readonly<{
|
|
4823
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
4824
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
4825
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
4826
|
+
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
4827
|
+
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
4828
|
+
}>, {
|
|
4829
|
+
values: vue.Ref<FormValue$1, FormValue$1>;
|
|
4830
|
+
lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
|
|
4831
|
+
formState: FormState$1;
|
|
4832
|
+
initialized: vue.Ref<boolean, boolean>;
|
|
4833
|
+
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
4834
|
+
changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
|
|
4835
|
+
resetForm: () => void;
|
|
4836
|
+
submitForm: (native?: boolean) => Promise<any>;
|
|
4837
|
+
}, {}, {}, {}, {
|
|
4838
|
+
disabled: boolean;
|
|
4839
|
+
labelWidth: string;
|
|
4840
|
+
inline: boolean;
|
|
4841
|
+
labelPosition: string;
|
|
4842
|
+
config: FormConfig;
|
|
4843
|
+
initValues: Record<string, any>;
|
|
4844
|
+
lastValues: Record<string, any>;
|
|
4845
|
+
isCompare: boolean;
|
|
4846
|
+
keyProp: string;
|
|
4847
|
+
parentValues: Record<string, any>;
|
|
4848
|
+
stepActive: string | number;
|
|
4849
|
+
height: string;
|
|
4850
|
+
}> | null>>;
|
|
4851
|
+
submit: (v: FormValue$1, eventData: ContainerChangeEventData$1) => Promise<void>;
|
|
4852
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
4853
|
+
mounted: (internalInstance: any) => any;
|
|
4854
|
+
submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
4855
|
+
"submit-error": (e: any) => any;
|
|
4856
|
+
"form-error": (e: any) => any;
|
|
4857
|
+
}, string, {}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & {
|
|
4858
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
4859
|
+
created?: (() => void) | (() => void)[];
|
|
4860
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
4861
|
+
mounted?: (() => void) | (() => void)[];
|
|
4862
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
4863
|
+
updated?: (() => void) | (() => void)[];
|
|
4864
|
+
activated?: (() => void) | (() => void)[];
|
|
4865
|
+
deactivated?: (() => void) | (() => void)[];
|
|
4866
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
4867
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
4868
|
+
destroyed?: (() => void) | (() => void)[];
|
|
4869
|
+
unmounted?: (() => void) | (() => void)[];
|
|
4870
|
+
renderTracked?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
4871
|
+
renderTriggered?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
4872
|
+
errorCaptured?: ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
4873
|
+
};
|
|
4874
|
+
$forceUpdate: () => void;
|
|
4875
|
+
$nextTick: typeof vue.nextTick;
|
|
4876
|
+
$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;
|
|
4877
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
4878
|
+
config: FormConfig;
|
|
4879
|
+
values: FormValue$1;
|
|
4880
|
+
disabledShowSrc?: boolean;
|
|
4881
|
+
labelWidth?: string;
|
|
4882
|
+
codeValueKey?: string;
|
|
4883
|
+
labelPosition?: string;
|
|
4884
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4885
|
+
}> & Readonly<{
|
|
4886
|
+
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
4887
|
+
onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
4888
|
+
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
4889
|
+
"onForm-error"?: ((e: any) => any) | undefined;
|
|
4890
|
+
}>, "submit" | "configForm"> & vue.ShallowUnwrapRef<{
|
|
4891
|
+
configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4892
|
+
config: FormConfig;
|
|
4893
|
+
initValues: Record<string, any>;
|
|
4894
|
+
lastValues?: Record<string, any>;
|
|
4895
|
+
isCompare?: boolean;
|
|
4896
|
+
parentValues?: Record<string, any>;
|
|
4897
|
+
labelWidth?: string;
|
|
4898
|
+
disabled?: boolean;
|
|
4899
|
+
height?: string;
|
|
4900
|
+
stepActive?: string | number;
|
|
4901
|
+
size?: "small" | "default" | "large";
|
|
4902
|
+
inline?: boolean;
|
|
4903
|
+
labelPosition?: string;
|
|
4904
|
+
keyProp?: string;
|
|
4905
|
+
popperClass?: string;
|
|
4906
|
+
preventSubmitDefault?: boolean;
|
|
4907
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4908
|
+
}> & Readonly<{
|
|
4909
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
4910
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
4911
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
4912
|
+
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
4913
|
+
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
4914
|
+
}>, {
|
|
4915
|
+
values: vue.Ref<FormValue$1, FormValue$1>;
|
|
4916
|
+
lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
|
|
4917
|
+
formState: FormState$1;
|
|
4918
|
+
initialized: vue.Ref<boolean, boolean>;
|
|
4919
|
+
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
4920
|
+
changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
|
|
4921
|
+
resetForm: () => void;
|
|
4922
|
+
submitForm: (native?: boolean) => Promise<any>;
|
|
4923
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
4924
|
+
change: (...args: any[]) => void;
|
|
4925
|
+
error: (...args: any[]) => void;
|
|
4926
|
+
"update:stepActive": (...args: any[]) => void;
|
|
4927
|
+
"field-change": (...args: any[]) => void;
|
|
4928
|
+
"field-input": (...args: any[]) => void;
|
|
4929
|
+
}, vue.PublicProps, {
|
|
4930
|
+
disabled: boolean;
|
|
4931
|
+
labelWidth: string;
|
|
4932
|
+
inline: boolean;
|
|
4933
|
+
labelPosition: string;
|
|
4934
|
+
config: FormConfig;
|
|
4935
|
+
initValues: Record<string, any>;
|
|
4936
|
+
lastValues: Record<string, any>;
|
|
4937
|
+
isCompare: boolean;
|
|
4938
|
+
keyProp: string;
|
|
4939
|
+
parentValues: Record<string, any>;
|
|
4940
|
+
stepActive: string | number;
|
|
4941
|
+
height: string;
|
|
4942
|
+
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
4943
|
+
P: {};
|
|
4944
|
+
B: {};
|
|
4945
|
+
D: {};
|
|
4946
|
+
C: {};
|
|
4947
|
+
M: {};
|
|
4948
|
+
Defaults: {};
|
|
4949
|
+
}, Readonly<{
|
|
4950
|
+
config: FormConfig;
|
|
4951
|
+
initValues: Record<string, any>;
|
|
4952
|
+
lastValues?: Record<string, any>;
|
|
4953
|
+
isCompare?: boolean;
|
|
4954
|
+
parentValues?: Record<string, any>;
|
|
4955
|
+
labelWidth?: string;
|
|
4956
|
+
disabled?: boolean;
|
|
4957
|
+
height?: string;
|
|
4958
|
+
stepActive?: string | number;
|
|
4959
|
+
size?: "small" | "default" | "large";
|
|
4960
|
+
inline?: boolean;
|
|
4961
|
+
labelPosition?: string;
|
|
4962
|
+
keyProp?: string;
|
|
4963
|
+
popperClass?: string;
|
|
4964
|
+
preventSubmitDefault?: boolean;
|
|
4965
|
+
extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
|
|
4966
|
+
}> & Readonly<{
|
|
4967
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
4968
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
4969
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
4970
|
+
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
4971
|
+
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
4972
|
+
}>, {
|
|
4973
|
+
values: vue.Ref<FormValue$1, FormValue$1>;
|
|
4974
|
+
lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
|
|
4975
|
+
formState: FormState$1;
|
|
4976
|
+
initialized: vue.Ref<boolean, boolean>;
|
|
4977
|
+
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
4978
|
+
changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
|
|
4979
|
+
resetForm: () => void;
|
|
4980
|
+
submitForm: (native?: boolean) => Promise<any>;
|
|
4981
|
+
}, {}, {}, {}, {
|
|
4982
|
+
disabled: boolean;
|
|
4983
|
+
labelWidth: string;
|
|
4984
|
+
inline: boolean;
|
|
4985
|
+
labelPosition: string;
|
|
4986
|
+
config: FormConfig;
|
|
4987
|
+
initValues: Record<string, any>;
|
|
4988
|
+
lastValues: Record<string, any>;
|
|
4989
|
+
isCompare: boolean;
|
|
4990
|
+
keyProp: string;
|
|
4991
|
+
parentValues: Record<string, any>;
|
|
4992
|
+
stepActive: string | number;
|
|
4993
|
+
height: string;
|
|
4994
|
+
}> | null>>;
|
|
4995
|
+
submit: (v: FormValue$1, eventData: ContainerChangeEventData$1) => Promise<void>;
|
|
4996
|
+
}> & {} & vue.ComponentCustomProperties & {} & {
|
|
4997
|
+
$slots: Readonly<{
|
|
4998
|
+
'props-form-panel-header'(props: {}): any;
|
|
4999
|
+
}> & {
|
|
5000
|
+
'props-form-panel-header'(props: {}): any;
|
|
5001
|
+
};
|
|
5002
|
+
}) | null;
|
|
5003
|
+
}, HTMLDivElement>;
|
|
5004
|
+
declare const _default$f: __VLS_WithTemplateSlots$7<typeof __VLS_component$7, __VLS_TemplateResult$7["slots"]>;
|
|
4697
5005
|
|
|
4698
5006
|
type __VLS_WithTemplateSlots$7<T, S> = T & {
|
|
4699
5007
|
new (): {
|
|
@@ -4701,7 +5009,7 @@ type __VLS_WithTemplateSlots$7<T, S> = T & {
|
|
|
4701
5009
|
};
|
|
4702
5010
|
};
|
|
4703
5011
|
|
|
4704
|
-
type __VLS_Props$
|
|
5012
|
+
type __VLS_Props$c = {
|
|
4705
5013
|
config: FormConfig$1;
|
|
4706
5014
|
values: FormValue$1;
|
|
4707
5015
|
disabledShowSrc?: boolean;
|
|
@@ -4826,7 +5134,7 @@ declare function __VLS_template$6(): {
|
|
|
4826
5134
|
rootEl: HTMLDivElement;
|
|
4827
5135
|
};
|
|
4828
5136
|
type __VLS_TemplateResult$6 = ReturnType<typeof __VLS_template$6>;
|
|
4829
|
-
declare const __VLS_component$6: vue.DefineComponent<__VLS_Props$
|
|
5137
|
+
declare const __VLS_component$6: vue.DefineComponent<__VLS_Props$c, {
|
|
4830
5138
|
configForm: Readonly<vue.ShallowRef<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4831
5139
|
config: FormConfig$1;
|
|
4832
5140
|
initValues: Record<string, any>;
|
|
@@ -4937,13 +5245,13 @@ declare const __VLS_component$6: vue.DefineComponent<__VLS_Props$b, {
|
|
|
4937
5245
|
submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
4938
5246
|
"submit-error": (e: any) => any;
|
|
4939
5247
|
"form-error": (e: any) => any;
|
|
4940
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
5248
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$c> & Readonly<{
|
|
4941
5249
|
onMounted?: ((internalInstance: any) => any) | undefined;
|
|
4942
5250
|
onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
4943
5251
|
"onSubmit-error"?: ((e: any) => any) | undefined;
|
|
4944
5252
|
"onForm-error"?: ((e: any) => any) | undefined;
|
|
4945
5253
|
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
4946
|
-
declare const _default$
|
|
5254
|
+
declare const _default$e: __VLS_WithTemplateSlots$6<typeof __VLS_component$6, __VLS_TemplateResult$6["slots"]>;
|
|
4947
5255
|
|
|
4948
5256
|
type __VLS_WithTemplateSlots$6<T, S> = T & {
|
|
4949
5257
|
new (): {
|
|
@@ -4951,16 +5259,16 @@ type __VLS_WithTemplateSlots$6<T, S> = T & {
|
|
|
4951
5259
|
};
|
|
4952
5260
|
};
|
|
4953
5261
|
|
|
4954
|
-
type __VLS_Props$
|
|
5262
|
+
type __VLS_Props$b = {
|
|
4955
5263
|
data?: MenuButton | MenuComponent;
|
|
4956
5264
|
eventType?: 'mousedown' | 'mouseup' | 'click';
|
|
4957
5265
|
};
|
|
4958
|
-
declare const _default$
|
|
5266
|
+
declare const _default$d: vue.DefineComponent<__VLS_Props$b, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$b> & Readonly<{}>, {
|
|
4959
5267
|
data: MenuButton | MenuComponent;
|
|
4960
5268
|
eventType: "mousedown" | "mouseup" | "click";
|
|
4961
5269
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
4962
5270
|
|
|
4963
|
-
type __VLS_Props$
|
|
5271
|
+
type __VLS_Props$a = {
|
|
4964
5272
|
menuData?: (MenuButton | MenuComponent)[];
|
|
4965
5273
|
isSubMenu?: boolean;
|
|
4966
5274
|
active?: string | number;
|
|
@@ -4998,7 +5306,7 @@ declare function __VLS_template$5(): {
|
|
|
4998
5306
|
rootEl: any;
|
|
4999
5307
|
};
|
|
5000
5308
|
type __VLS_TemplateResult$5 = ReturnType<typeof __VLS_template$5>;
|
|
5001
|
-
declare const __VLS_component$5: vue.DefineComponent<__VLS_Props$
|
|
5309
|
+
declare const __VLS_component$5: vue.DefineComponent<__VLS_Props$a, {
|
|
5002
5310
|
menu: Readonly<vue.ShallowRef<HTMLDivElement | null>>;
|
|
5003
5311
|
menuPosition: vue.Ref<{
|
|
5004
5312
|
left: number;
|
|
@@ -5024,7 +5332,7 @@ declare const __VLS_component$5: vue.DefineComponent<__VLS_Props$9, {
|
|
|
5024
5332
|
mouseenter: () => any;
|
|
5025
5333
|
show: () => any;
|
|
5026
5334
|
hide: () => any;
|
|
5027
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
5335
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$a> & Readonly<{
|
|
5028
5336
|
onMouseenter?: (() => any) | undefined;
|
|
5029
5337
|
onShow?: (() => any) | undefined;
|
|
5030
5338
|
onHide?: (() => any) | undefined;
|
|
@@ -5033,7 +5341,7 @@ declare const __VLS_component$5: vue.DefineComponent<__VLS_Props$9, {
|
|
|
5033
5341
|
isSubMenu: boolean;
|
|
5034
5342
|
autoHide: boolean;
|
|
5035
5343
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
5036
|
-
declare const _default$
|
|
5344
|
+
declare const _default$c: __VLS_WithTemplateSlots$5<typeof __VLS_component$5, __VLS_TemplateResult$5["slots"]>;
|
|
5037
5345
|
|
|
5038
5346
|
type __VLS_WithTemplateSlots$5<T, S> = T & {
|
|
5039
5347
|
new (): {
|
|
@@ -5041,12 +5349,12 @@ type __VLS_WithTemplateSlots$5<T, S> = T & {
|
|
|
5041
5349
|
};
|
|
5042
5350
|
};
|
|
5043
5351
|
|
|
5044
|
-
type __VLS_Props$
|
|
5352
|
+
type __VLS_Props$9 = {
|
|
5045
5353
|
icon?: any;
|
|
5046
5354
|
};
|
|
5047
|
-
declare const _default$
|
|
5355
|
+
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
5356
|
|
|
5049
|
-
type __VLS_Props$
|
|
5357
|
+
type __VLS_Props$8 = {
|
|
5050
5358
|
width?: number;
|
|
5051
5359
|
left?: number;
|
|
5052
5360
|
right?: number;
|
|
@@ -5070,13 +5378,13 @@ declare function __VLS_template$4(): {
|
|
|
5070
5378
|
rootEl: HTMLDivElement;
|
|
5071
5379
|
};
|
|
5072
5380
|
type __VLS_TemplateResult$4 = ReturnType<typeof __VLS_template$4>;
|
|
5073
|
-
declare const __VLS_component$4: vue.DefineComponent<__VLS_Props$
|
|
5381
|
+
declare const __VLS_component$4: vue.DefineComponent<__VLS_Props$8, {
|
|
5074
5382
|
updateWidth(): void;
|
|
5075
5383
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
5076
5384
|
change: (...args: any[]) => void;
|
|
5077
5385
|
"update:left": (...args: any[]) => void;
|
|
5078
5386
|
"update:right": (...args: any[]) => void;
|
|
5079
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
5387
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$8> & Readonly<{
|
|
5080
5388
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
5081
5389
|
"onUpdate:left"?: ((...args: any[]) => any) | undefined;
|
|
5082
5390
|
"onUpdate:right"?: ((...args: any[]) => any) | undefined;
|
|
@@ -5085,7 +5393,7 @@ declare const __VLS_component$4: vue.DefineComponent<__VLS_Props$7, {
|
|
|
5085
5393
|
minRight: number;
|
|
5086
5394
|
minCenter: number;
|
|
5087
5395
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5088
|
-
declare const _default$
|
|
5396
|
+
declare const _default$a: __VLS_WithTemplateSlots$4<typeof __VLS_component$4, __VLS_TemplateResult$4["slots"]>;
|
|
5089
5397
|
|
|
5090
5398
|
type __VLS_WithTemplateSlots$4<T, S> = T & {
|
|
5091
5399
|
new (): {
|
|
@@ -5109,7 +5417,7 @@ declare const __VLS_component$3: vue.DefineComponent<{}, {}, {}, {}, {}, vue.Com
|
|
|
5109
5417
|
}, string, vue.PublicProps, Readonly<{}> & Readonly<{
|
|
5110
5418
|
onChange?: ((e: OnDrag<gesto.default>) => any) | undefined;
|
|
5111
5419
|
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, HTMLSpanElement>;
|
|
5112
|
-
declare const _default$
|
|
5420
|
+
declare const _default$9: __VLS_WithTemplateSlots$3<typeof __VLS_component$3, __VLS_TemplateResult$3["slots"]>;
|
|
5113
5421
|
|
|
5114
5422
|
type __VLS_WithTemplateSlots$3<T, S> = T & {
|
|
5115
5423
|
new (): {
|
|
@@ -5117,7 +5425,7 @@ type __VLS_WithTemplateSlots$3<T, S> = T & {
|
|
|
5117
5425
|
};
|
|
5118
5426
|
};
|
|
5119
5427
|
|
|
5120
|
-
type __VLS_Props$
|
|
5428
|
+
type __VLS_Props$7 = {
|
|
5121
5429
|
content: CodeBlockContent;
|
|
5122
5430
|
disabled?: boolean;
|
|
5123
5431
|
isDataSource?: boolean;
|
|
@@ -5126,8 +5434,8 @@ type __VLS_Props$6 = {
|
|
|
5126
5434
|
type __VLS_PublicProps$1 = {
|
|
5127
5435
|
'width'?: number;
|
|
5128
5436
|
'visible'?: boolean;
|
|
5129
|
-
} & __VLS_Props$
|
|
5130
|
-
declare const _default$
|
|
5437
|
+
} & __VLS_Props$7;
|
|
5438
|
+
declare const _default$8: vue.DefineComponent<__VLS_PublicProps$1, {
|
|
5131
5439
|
show(): Promise<void>;
|
|
5132
5440
|
hide(): Promise<void>;
|
|
5133
5441
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
@@ -5144,7 +5452,7 @@ interface Position {
|
|
|
5144
5452
|
left: number;
|
|
5145
5453
|
top: number;
|
|
5146
5454
|
}
|
|
5147
|
-
type __VLS_Props$
|
|
5455
|
+
type __VLS_Props$6 = {
|
|
5148
5456
|
position?: Position;
|
|
5149
5457
|
title?: string;
|
|
5150
5458
|
beforeClose?: (done: (cancel?: boolean) => void) => void;
|
|
@@ -5153,7 +5461,7 @@ type __VLS_PublicProps = {
|
|
|
5153
5461
|
'width'?: number;
|
|
5154
5462
|
'height'?: number;
|
|
5155
5463
|
'visible'?: boolean;
|
|
5156
|
-
} & __VLS_Props$
|
|
5464
|
+
} & __VLS_Props$6;
|
|
5157
5465
|
declare function __VLS_template$2(): {
|
|
5158
5466
|
attrs: Partial<{}>;
|
|
5159
5467
|
slots: {
|
|
@@ -5183,7 +5491,7 @@ declare const __VLS_component$2: vue.DefineComponent<__VLS_PublicProps, {
|
|
|
5183
5491
|
title: string;
|
|
5184
5492
|
position: Position;
|
|
5185
5493
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
5186
|
-
declare const _default$
|
|
5494
|
+
declare const _default$7: __VLS_WithTemplateSlots$2<typeof __VLS_component$2, __VLS_TemplateResult$2["slots"]>;
|
|
5187
5495
|
|
|
5188
5496
|
type __VLS_WithTemplateSlots$2<T, S> = T & {
|
|
5189
5497
|
new (): {
|
|
@@ -5191,7 +5499,7 @@ type __VLS_WithTemplateSlots$2<T, S> = T & {
|
|
|
5191
5499
|
};
|
|
5192
5500
|
};
|
|
5193
5501
|
|
|
5194
|
-
type __VLS_Props$
|
|
5502
|
+
type __VLS_Props$5 = {
|
|
5195
5503
|
data: TreeNodeData[];
|
|
5196
5504
|
nodeStatusMap: Map<Id, LayerNodeStatus>;
|
|
5197
5505
|
indent?: number;
|
|
@@ -5225,7 +5533,7 @@ declare function __VLS_template$1(): {
|
|
|
5225
5533
|
rootEl: HTMLDivElement;
|
|
5226
5534
|
};
|
|
5227
5535
|
type __VLS_TemplateResult$1 = ReturnType<typeof __VLS_template$1>;
|
|
5228
|
-
declare const __VLS_component$1: vue.DefineComponent<__VLS_Props$
|
|
5536
|
+
declare const __VLS_component$1: vue.DefineComponent<__VLS_Props$5, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
5229
5537
|
"node-click": (event: MouseEvent, data: TreeNodeData) => any;
|
|
5230
5538
|
"node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
|
|
5231
5539
|
"node-dragstart": (event: DragEvent, data: TreeNodeData) => any;
|
|
@@ -5233,7 +5541,7 @@ declare const __VLS_component$1: vue.DefineComponent<__VLS_Props$4, {}, {}, {},
|
|
|
5233
5541
|
"node-dragend": (event: DragEvent, data: TreeNodeData) => any;
|
|
5234
5542
|
"node-mouseenter": (event: MouseEvent, data: TreeNodeData) => any;
|
|
5235
5543
|
"node-dragover": (event: DragEvent) => any;
|
|
5236
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
5544
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$5> & Readonly<{
|
|
5237
5545
|
"onNode-click"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
5238
5546
|
"onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
5239
5547
|
"onNode-dragstart"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
|
|
@@ -5245,7 +5553,7 @@ declare const __VLS_component$1: vue.DefineComponent<__VLS_Props$4, {}, {}, {},
|
|
|
5245
5553
|
emptyText: string;
|
|
5246
5554
|
indent: number;
|
|
5247
5555
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5248
|
-
declare const _default$
|
|
5556
|
+
declare const _default$6: __VLS_WithTemplateSlots$1<typeof __VLS_component$1, __VLS_TemplateResult$1["slots"]>;
|
|
5249
5557
|
|
|
5250
5558
|
type __VLS_WithTemplateSlots$1<T, S> = T & {
|
|
5251
5559
|
new (): {
|
|
@@ -5253,7 +5561,7 @@ type __VLS_WithTemplateSlots$1<T, S> = T & {
|
|
|
5253
5561
|
};
|
|
5254
5562
|
};
|
|
5255
5563
|
|
|
5256
|
-
type __VLS_Props$
|
|
5564
|
+
type __VLS_Props$4 = {
|
|
5257
5565
|
data: TreeNodeData;
|
|
5258
5566
|
parent?: TreeNodeData;
|
|
5259
5567
|
parentsId?: Id[];
|
|
@@ -5288,14 +5596,14 @@ declare function __VLS_template(): {
|
|
|
5288
5596
|
rootEl: HTMLDivElement;
|
|
5289
5597
|
};
|
|
5290
5598
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
5291
|
-
declare const __VLS_component: vue.DefineComponent<__VLS_Props$
|
|
5599
|
+
declare const __VLS_component: vue.DefineComponent<__VLS_Props$4, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
5292
5600
|
"node-click": (event: MouseEvent, data: TreeNodeData) => any;
|
|
5293
5601
|
"node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
|
|
5294
5602
|
"node-dragstart": (event: DragEvent, data: TreeNodeData) => any;
|
|
5295
5603
|
"node-dragleave": (event: DragEvent, data: TreeNodeData) => any;
|
|
5296
5604
|
"node-dragend": (event: DragEvent, data: TreeNodeData) => any;
|
|
5297
5605
|
"node-mouseenter": (event: MouseEvent, data: TreeNodeData) => any;
|
|
5298
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
5606
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$4> & Readonly<{
|
|
5299
5607
|
"onNode-click"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
5300
5608
|
"onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
|
|
5301
5609
|
"onNode-dragstart"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
|
|
@@ -5307,7 +5615,7 @@ declare const __VLS_component: vue.DefineComponent<__VLS_Props$3, {}, {}, {}, {}
|
|
|
5307
5615
|
parentsId: Id[];
|
|
5308
5616
|
nextLevelIndentIncrement: number;
|
|
5309
5617
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5310
|
-
declare const _default$
|
|
5618
|
+
declare const _default$5: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
5311
5619
|
|
|
5312
5620
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
5313
5621
|
new (): {
|
|
@@ -5315,36 +5623,43 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
5315
5623
|
};
|
|
5316
5624
|
};
|
|
5317
5625
|
|
|
5318
|
-
type __VLS_Props$
|
|
5319
|
-
declare const _default$
|
|
5626
|
+
type __VLS_Props$3 = FieldProps<PageFragmentSelectConfig>;
|
|
5627
|
+
declare const _default$4: vue.DefineComponent<__VLS_Props$3, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
5320
5628
|
change: (...args: any[]) => void;
|
|
5321
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
5629
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$3> & Readonly<{
|
|
5322
5630
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
5323
5631
|
}>, {
|
|
5324
5632
|
disabled: boolean;
|
|
5325
5633
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5326
5634
|
|
|
5327
|
-
type __VLS_Props$
|
|
5635
|
+
type __VLS_Props$2 = FieldProps<{
|
|
5328
5636
|
titlePrefix?: string;
|
|
5329
5637
|
parentFields?: string[] | FilterFunction$1<string[]>;
|
|
5330
5638
|
}>;
|
|
5331
|
-
declare const _default$
|
|
5639
|
+
declare const _default$3: vue.DefineComponent<__VLS_Props$2, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
5332
5640
|
change: (value: DisplayCond[], eventData?: ContainerChangeEventData$1 | undefined) => any;
|
|
5333
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$
|
|
5641
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$2> & Readonly<{
|
|
5334
5642
|
onChange?: ((value: DisplayCond[], eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
|
|
5335
5643
|
}>, {
|
|
5336
5644
|
disabled: boolean;
|
|
5337
5645
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5338
5646
|
|
|
5339
|
-
type __VLS_Props = FieldProps<CondOpSelectConfig>;
|
|
5340
|
-
declare const _default$
|
|
5647
|
+
type __VLS_Props$1 = FieldProps<CondOpSelectConfig>;
|
|
5648
|
+
declare const _default$2: vue.DefineComponent<__VLS_Props$1, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
5341
5649
|
change: (value: string) => any;
|
|
5342
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
5650
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$1> & Readonly<{
|
|
5343
5651
|
onChange?: ((value: string) => any) | undefined;
|
|
5344
5652
|
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
5345
5653
|
|
|
5654
|
+
type __VLS_Props = FieldProps<StyleSchema>;
|
|
5655
|
+
declare const _default$1: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
5656
|
+
change: (v: any, eventData: ContainerChangeEventData$1) => any;
|
|
5657
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
5658
|
+
onChange?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
|
|
5659
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5660
|
+
|
|
5346
5661
|
declare const _default: {
|
|
5347
5662
|
install: (app: App, opt?: Partial<EditorInstallOptions | DesignPluginOptions | FormInstallOptions>) => void;
|
|
5348
5663
|
};
|
|
5349
5664
|
|
|
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$
|
|
5665
|
+
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 };
|