@vtj/designer 0.16.14 → 0.16.16
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/Editor-DIkkoBrq.js +4 -0
- package/dist/{index-BEzWcuK6.js → index-BFdZZysd.js} +5972 -5657
- package/dist/index.mjs +12 -11
- package/dist/style.css +1 -1
- package/package.json +7 -7
- package/types/components/setters/image.d.ts +3 -3
- package/types/components/setters/index.d.ts +3 -3
- package/types/components/shared/binder.d.ts +11 -11
- package/types/components/shared/panel.d.ts +16 -16
- package/types/components/widgets/actions/index.d.ts +32 -2
- package/types/components/widgets/actions/versioner/342/200/214.d.ts +17 -0
- package/types/components/widgets/ai/image-input.d.ts +3 -3
- package/types/components/widgets/ai/index.d.ts +12 -12
- package/types/components/widgets/ai/json-input.d.ts +11 -11
- package/types/components/widgets/apis/form.d.ts +22 -22
- package/types/components/widgets/apis/swagger.d.ts +6 -6
- package/types/components/widgets/designer/index.d.ts +4 -4
- package/types/components/widgets/devtools/index.d.ts +17 -17
- package/types/components/widgets/docs/index.d.ts +12 -12
- package/types/components/widgets/env/index.d.ts +6 -6
- package/types/components/widgets/i18n/index.d.ts +6 -6
- package/types/components/widgets/index.d.ts +87 -62
- package/types/components/widgets/market/index.d.ts +12 -12
- package/types/components/widgets/scripts/group.d.ts +23 -23
- package/types/components/widgets/style/spacing-input.d.ts +4 -4
- package/types/framework/openapi.d.ts +6 -2
- package/types/framework/simulator.d.ts +1 -1
- package/types/utils.d.ts +1 -0
- package/types/version.d.ts +2 -2
- package/dist/Editor-D1EJuPe6.js +0 -4
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
export interface Props {
|
|
3
|
+
canvas: any;
|
|
4
|
+
getAppsInit?: any;
|
|
5
|
+
postAppsVersions?: any;
|
|
6
|
+
postDslDevPublish?: any;
|
|
7
|
+
putAppsCurrentVersion?: any;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: DefineComponent<Props, {
|
|
10
|
+
openDialog: () => Promise<void>;
|
|
11
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
12
|
+
getAppsInit: any;
|
|
13
|
+
postAppsVersions: any;
|
|
14
|
+
postDslDevPublish: any;
|
|
15
|
+
putAppsCurrentVersion: any;
|
|
16
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UploadFile, UploadHooks, Crossorigin, UploadData, UploadRawFile, UploadUserFile, ListType, UploadRequestHandler, UploadProps, UploadStatus } from 'element-plus';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties } from 'vue';
|
|
3
3
|
import { Awaitable } from 'element-plus/es/utils/typescript.mjs';
|
|
4
4
|
import { OnCleanup } from '@vue/reactivity';
|
|
5
5
|
export interface Props {
|
|
@@ -120,13 +120,13 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
120
120
|
autoUpload: boolean;
|
|
121
121
|
listType: ListType;
|
|
122
122
|
httpRequest: UploadRequestHandler;
|
|
123
|
-
}> & Omit<Readonly< UploadProps> & Readonly<{}>, "name" | "method" | "disabled" | "data" | "onChange" | "onError" | "onProgress" | "submit" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "clearFiles" | "handleStart" | "handleRemove"> &
|
|
123
|
+
}> & Omit<Readonly< UploadProps> & Readonly<{}>, "name" | "method" | "disabled" | "data" | "onChange" | "onError" | "onProgress" | "submit" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "clearFiles" | "handleStart" | "handleRemove"> & {
|
|
124
124
|
abort: (file?: UploadFile) => void;
|
|
125
125
|
submit: () => void;
|
|
126
126
|
clearFiles: (states?: UploadStatus[]) => void;
|
|
127
127
|
handleStart: (rawFile: UploadRawFile) => void;
|
|
128
128
|
handleRemove: (file: UploadFile | UploadRawFile) => void;
|
|
129
|
-
}
|
|
129
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
130
130
|
$slots: {
|
|
131
131
|
file?: (props: {
|
|
132
132
|
file: UploadFile;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, GlobalComponents, GlobalDirectives, DebuggerEvent, WatchOptions, WatchStopHandle,
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, GlobalComponents, GlobalDirectives, DebuggerEvent, WatchOptions, WatchStopHandle, ComponentCustomProperties, Ref, nextTick } from 'vue';
|
|
2
2
|
import { AISendData } from '../../hooks';
|
|
3
|
-
import { ActionMenuItem,
|
|
3
|
+
import { ActionMenuItem, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent, BaseSize, PanelBadge, IconParam, HeaderProps, ContainerProps } from '@vtj/ui';
|
|
4
4
|
import { OnCleanup } from '@vue/reactivity';
|
|
5
5
|
import { Props } from '../../shared/panel';
|
|
6
6
|
declare const _default: DefineComponent<{}, {
|
|
@@ -47,7 +47,6 @@ declare const _default: DefineComponent<{}, {
|
|
|
47
47
|
readonly fit: boolean;
|
|
48
48
|
readonly border: boolean;
|
|
49
49
|
readonly card: boolean;
|
|
50
|
-
readonly size?: BaseSize | undefined;
|
|
51
50
|
readonly height?: string | number | undefined;
|
|
52
51
|
readonly width?: string | number | undefined;
|
|
53
52
|
readonly body?: Readonly<Partial< ExtractPropTypes<{
|
|
@@ -118,6 +117,7 @@ declare const _default: DefineComponent<{}, {
|
|
|
118
117
|
type: BooleanConstructor;
|
|
119
118
|
};
|
|
120
119
|
}>>> | undefined;
|
|
120
|
+
readonly size?: BaseSize | undefined;
|
|
121
121
|
readonly badge?: PanelBadge | undefined;
|
|
122
122
|
readonly footer?: Readonly<Partial< ExtractPropTypes<{
|
|
123
123
|
tag: {
|
|
@@ -456,9 +456,9 @@ declare const _default: DefineComponent<{}, {
|
|
|
456
456
|
autoPointer: {
|
|
457
457
|
type: BooleanConstructor;
|
|
458
458
|
};
|
|
459
|
-
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> &
|
|
460
|
-
$vtjEl:
|
|
461
|
-
}
|
|
459
|
+
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> & {
|
|
460
|
+
$vtjEl: any;
|
|
461
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
462
462
|
$slots: {
|
|
463
463
|
default?(_: {}): any;
|
|
464
464
|
};
|
|
@@ -584,9 +584,9 @@ declare const _default: DefineComponent<{}, {
|
|
|
584
584
|
footer: {
|
|
585
585
|
type: PropType<ContainerProps>;
|
|
586
586
|
};
|
|
587
|
-
}>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> &
|
|
588
|
-
bodyRef:
|
|
589
|
-
}
|
|
587
|
+
}>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & {
|
|
588
|
+
bodyRef: any;
|
|
589
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
590
590
|
$slots: {
|
|
591
591
|
header?(_: {}): any;
|
|
592
592
|
title?(_: {}): any;
|
|
@@ -659,12 +659,12 @@ declare const _default: DefineComponent<{}, {
|
|
|
659
659
|
onEdit?: ((...args: any[]) => any) | undefined;
|
|
660
660
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
661
661
|
onSave?: ((...args: any[]) => any) | undefined;
|
|
662
|
-
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("menus" | "header")> &
|
|
663
|
-
panelRef:
|
|
662
|
+
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("menus" | "header")> & {
|
|
663
|
+
panelRef: any;
|
|
664
664
|
scrollToBottom: () => void;
|
|
665
665
|
autoScrollToBottom: (diff?: number) => void;
|
|
666
666
|
scrollToTop: () => void;
|
|
667
|
-
}
|
|
667
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
668
668
|
$slots: {
|
|
669
669
|
'pre-actions'?(_: {}): any;
|
|
670
670
|
actions?(_: {}): any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { nextTick, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, StyleValue, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ShallowRef, ComputedRef, Ref, CSSProperties, GlobalComponents, GlobalDirectives, DebuggerEvent, WatchOptions, WatchStopHandle,
|
|
1
|
+
import { nextTick, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, StyleValue, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ShallowRef, ComputedRef, Ref, CSSProperties, GlobalComponents, GlobalDirectives, DebuggerEvent, WatchOptions, WatchStopHandle, ComponentCustomProperties } from 'vue';
|
|
2
2
|
import { UploadFile, ComponentSize, InputModelModifiers, InputType, InputAutoSize, InputProps, UploadHooks, Crossorigin, UploadData, UploadRawFile, UploadUserFile, ListType, UploadRequestHandler, UploadProps, UploadStatus } from 'element-plus';
|
|
3
3
|
import { IconPropType } from 'element-plus/es/utils/index.mjs';
|
|
4
4
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -167,19 +167,19 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
167
167
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
168
168
|
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
169
169
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
170
|
-
}>, "type" | "
|
|
171
|
-
input:
|
|
172
|
-
textarea:
|
|
173
|
-
ref:
|
|
174
|
-
textareaStyle:
|
|
175
|
-
autosize:
|
|
176
|
-
isComposing:
|
|
170
|
+
}>, "type" | "ref" | "clear" | "modelValue" | "disabled" | "tabindex" | "input" | "select" | "textarea" | "modelModifiers" | "autosize" | "autocomplete" | "clearIcon" | "wordLimitPosition" | "validateEvent" | "inputStyle" | "rows" | "textareaStyle" | "isComposing" | "focus" | "blur" | "resizeTextarea"> & {
|
|
171
|
+
input: HTMLInputElement | undefined;
|
|
172
|
+
textarea: HTMLTextAreaElement | undefined;
|
|
173
|
+
ref: HTMLInputElement | HTMLTextAreaElement | undefined;
|
|
174
|
+
textareaStyle: StyleValue;
|
|
175
|
+
autosize: InputAutoSize | undefined;
|
|
176
|
+
isComposing: boolean;
|
|
177
177
|
focus: () => void | undefined;
|
|
178
178
|
blur: () => void | undefined;
|
|
179
179
|
select: () => void;
|
|
180
180
|
clear: (evt?: MouseEvent) => void;
|
|
181
181
|
resizeTextarea: () => void;
|
|
182
|
-
}
|
|
182
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
183
183
|
$slots: {
|
|
184
184
|
prepend?: (props: {}) => any;
|
|
185
185
|
} & {
|
|
@@ -304,13 +304,13 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
304
304
|
autoUpload: boolean;
|
|
305
305
|
listType: ListType;
|
|
306
306
|
httpRequest: UploadRequestHandler;
|
|
307
|
-
}> & Omit<Readonly< UploadProps> & Readonly<{}>, "name" | "method" | "disabled" | "data" | "onChange" | "onError" | "onProgress" | "submit" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "clearFiles" | "handleStart" | "handleRemove"> &
|
|
307
|
+
}> & Omit<Readonly< UploadProps> & Readonly<{}>, "name" | "method" | "disabled" | "data" | "onChange" | "onError" | "onProgress" | "submit" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "clearFiles" | "handleStart" | "handleRemove"> & {
|
|
308
308
|
abort: (file?: UploadFile) => void;
|
|
309
309
|
submit: () => void;
|
|
310
310
|
clearFiles: (states?: UploadStatus[]) => void;
|
|
311
311
|
handleStart: (rawFile: UploadRawFile) => void;
|
|
312
312
|
handleRemove: (file: UploadFile | UploadRawFile) => void;
|
|
313
|
-
}
|
|
313
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
314
314
|
$slots: {
|
|
315
315
|
file?: (props: {
|
|
316
316
|
file: UploadFile;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { nextTick, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNode, RendererNode, RendererElement, ShallowRef, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, GlobalComponents, GlobalDirectives, DebuggerEvent, WatchOptions, WatchStopHandle,
|
|
1
|
+
import { nextTick, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNode, RendererNode, RendererElement, ShallowRef, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, GlobalComponents, GlobalDirectives, DebuggerEvent, WatchOptions, WatchStopHandle, ComponentCustomProperties, Ref, Reactive } from 'vue';
|
|
2
2
|
import { ApiSchema, ProjectModel } from '@vtj/core';
|
|
3
3
|
import { BaseSize, DialogMode, DraggableOptions, IconParam, ResizableOptions, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent, PanelBadge, HeaderProps, ContainerProps, FormModel } from '@vtj/ui';
|
|
4
4
|
import { UseMouseSourceType, Position } from '@vueuse/core';
|
|
@@ -29,16 +29,16 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
29
29
|
minimizable: boolean;
|
|
30
30
|
bodyPadding: boolean;
|
|
31
31
|
}> & Omit<{
|
|
32
|
-
readonly size: BaseSize;
|
|
33
32
|
readonly height: string | number;
|
|
34
33
|
readonly width: string | number;
|
|
35
34
|
readonly primary: boolean;
|
|
35
|
+
readonly size: BaseSize;
|
|
36
36
|
readonly modelValue: boolean;
|
|
37
37
|
readonly mode: DialogMode;
|
|
38
38
|
readonly draggable: boolean | DraggableOptions;
|
|
39
39
|
readonly pure: boolean;
|
|
40
|
-
readonly modal: boolean;
|
|
41
40
|
readonly closable: boolean;
|
|
41
|
+
readonly modal: boolean;
|
|
42
42
|
readonly maximizable: boolean;
|
|
43
43
|
readonly minimizable: boolean;
|
|
44
44
|
readonly bodyPadding: boolean;
|
|
@@ -109,7 +109,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
109
109
|
isOutside: ShallowRef<boolean, boolean>;
|
|
110
110
|
stop: () => void;
|
|
111
111
|
}) => any) | undefined | undefined;
|
|
112
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "
|
|
112
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "height" | "width" | "primary" | "size" | "modelValue" | "mode" | "draggable" | "pure" | "closable" | "modal" | "maximizable" | "minimizable" | "bodyPadding">;
|
|
113
113
|
$attrs: Attrs;
|
|
114
114
|
$refs: {
|
|
115
115
|
[x: string]: unknown;
|
|
@@ -537,9 +537,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
537
537
|
autoPointer: {
|
|
538
538
|
type: BooleanConstructor;
|
|
539
539
|
};
|
|
540
|
-
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> &
|
|
541
|
-
$vtjEl:
|
|
542
|
-
}
|
|
540
|
+
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> & {
|
|
541
|
+
$vtjEl: any;
|
|
542
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
543
543
|
$slots: {
|
|
544
544
|
default?(_: {}): any;
|
|
545
545
|
};
|
|
@@ -665,9 +665,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
665
665
|
footer: {
|
|
666
666
|
type: PropType<ContainerProps>;
|
|
667
667
|
};
|
|
668
|
-
}>> & Readonly<{}>, "bodyRef" | ("radius" | "fit" | "border" | "card")> &
|
|
669
|
-
bodyRef:
|
|
670
|
-
}
|
|
668
|
+
}>> & Readonly<{}>, "bodyRef" | ("radius" | "fit" | "border" | "card")> & {
|
|
669
|
+
bodyRef: any;
|
|
670
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
671
671
|
$slots: {
|
|
672
672
|
header?(_: {}): any;
|
|
673
673
|
title?(_: {}): any;
|
|
@@ -1136,9 +1136,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
1136
1136
|
isOutside: ShallowRef<boolean, boolean>;
|
|
1137
1137
|
stop: () => void;
|
|
1138
1138
|
}) => any) | undefined;
|
|
1139
|
-
}>, "
|
|
1140
|
-
$vtjEl:
|
|
1141
|
-
panelRef:
|
|
1139
|
+
}>, "height" | "width" | "primary" | "close" | "cancel" | "size" | "modelValue" | "mode" | "draggable" | "pure" | "submit" | "$vtjEl" | "closable" | "modal" | "maximizable" | "minimizable" | "componentInstance" | "bodyPadding" | "panelRef" | "state" | "maximized" | "minimized" | "changeMode" | "show" | "hide" | "iframeRef"> & {
|
|
1140
|
+
$vtjEl: any;
|
|
1141
|
+
panelRef: any;
|
|
1142
1142
|
state: {
|
|
1143
1143
|
mode: DialogMode;
|
|
1144
1144
|
wrapperWidth: number;
|
|
@@ -1151,8 +1151,8 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
1151
1151
|
dragging: boolean;
|
|
1152
1152
|
resizing: boolean;
|
|
1153
1153
|
};
|
|
1154
|
-
maximized:
|
|
1155
|
-
minimized:
|
|
1154
|
+
maximized: boolean;
|
|
1155
|
+
minimized: boolean;
|
|
1156
1156
|
changeMode: (mode: DialogMode) => void;
|
|
1157
1157
|
show: () => void;
|
|
1158
1158
|
hide: () => void;
|
|
@@ -1162,8 +1162,8 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
1162
1162
|
componentInstance: {
|
|
1163
1163
|
componentInstance: Record<string, any>;
|
|
1164
1164
|
} | undefined;
|
|
1165
|
-
iframeRef:
|
|
1166
|
-
}
|
|
1165
|
+
iframeRef: any;
|
|
1166
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
1167
1167
|
$slots: {
|
|
1168
1168
|
actions?(_: {}): any;
|
|
1169
1169
|
default?(_: {}): any;
|
|
@@ -1290,7 +1290,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
1290
1290
|
validateOnRuleChange: boolean;
|
|
1291
1291
|
}> & Omit<Readonly< FormProps> & Readonly<{
|
|
1292
1292
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1293
|
-
}>, "clearValidate" | "validate" | "fields" | "labelWidth" | "labelPosition" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "scrollToField" | "getField" | "setInitialValues"> &
|
|
1293
|
+
}>, "clearValidate" | "validate" | "fields" | "labelWidth" | "labelPosition" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "scrollToField" | "getField" | "setInitialValues"> & {
|
|
1294
1294
|
validate: (callback?: FormValidateCallback) => FormValidationResult;
|
|
1295
1295
|
validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
|
|
1296
1296
|
resetFields: (props?: Arrayable<FormItemProp>) => void;
|
|
@@ -1299,7 +1299,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
1299
1299
|
getField: (prop: FormItemProp) => FormItemContext | undefined;
|
|
1300
1300
|
fields: Reactive< FormItemContext[]>;
|
|
1301
1301
|
setInitialValues: (initModel: Record<string, any>) => void;
|
|
1302
|
-
}
|
|
1302
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
1303
1303
|
$slots: {
|
|
1304
1304
|
default?: (props: {}) => any;
|
|
1305
1305
|
};
|
|
@@ -1456,14 +1456,14 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
1456
1456
|
onChange?: ((model: Record<string, any>) => any) | undefined;
|
|
1457
1457
|
onReset?: (() => any) | undefined;
|
|
1458
1458
|
onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
|
1459
|
-
}>, "model" | "validate" | "footer" | "submit" | "formRef" | "tooltipMessage" | "inline" | "reset" | "submitText" | "resetText" | "enterSubmit" | "sticky" | "footerAlign" | "clearValidate"> &
|
|
1460
|
-
formRef:
|
|
1459
|
+
}>, "model" | "validate" | "footer" | "submit" | "formRef" | "tooltipMessage" | "inline" | "reset" | "submitText" | "resetText" | "enterSubmit" | "sticky" | "footerAlign" | "clearValidate"> & {
|
|
1460
|
+
formRef: any;
|
|
1461
1461
|
model: FormModel;
|
|
1462
1462
|
submit: () => Promise<void>;
|
|
1463
1463
|
reset: (fields?: string[] | string) => void;
|
|
1464
1464
|
validate: () => Promise<any>;
|
|
1465
1465
|
clearValidate: () => void;
|
|
1466
|
-
}
|
|
1466
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
1467
1467
|
$slots: {
|
|
1468
1468
|
default?(_: {}): any;
|
|
1469
1469
|
footer?(_: {}): any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GridColumns, GridLoader, GridCustomInfo, GridCellRenders, GridEditRenders, GridFilterRenders, GridSortableEvent, GridSortableOptions } from '@vtj/ui';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, VNode, Ref, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, VNode, Ref, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties } from 'vue';
|
|
3
3
|
import { Options } from 'sortablejs';
|
|
4
4
|
import { VxeTableProps, VxeGridEventProps, VxeGridSlots, VxeTableDataRow, SlotVNodeType, VxeGridInstance, VxeTableConstructor, VxeGridConstructor } from 'vxe-table';
|
|
5
5
|
import { MessageBoxData } from 'element-plus';
|
|
@@ -785,7 +785,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
785
785
|
onCellSelected?: ((params: any) => any) | undefined;
|
|
786
786
|
onEditChange?: ((data: any[]) => any) | undefined;
|
|
787
787
|
onLoaded?: ((rows: any[]) => any) | undefined;
|
|
788
|
-
}>, "search" | "validate" | "auto" | "resizable" | "load" | "state" | "page" | "remove" | "$vtjDynamicSlots" | "editable" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSize" | "pageSizes" | "virtual" | "vxeRef" | "insertActived" | "getSelected" | "getRows" | "setActived" | "doLayout" | "getRecords" | "setSelectCell"> &
|
|
788
|
+
}>, "search" | "validate" | "auto" | "resizable" | "load" | "state" | "page" | "remove" | "$vtjDynamicSlots" | "editable" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSize" | "pageSizes" | "virtual" | "vxeRef" | "insertActived" | "getSelected" | "getRows" | "setActived" | "doLayout" | "getRecords" | "setSelectCell"> & {
|
|
789
789
|
state: {
|
|
790
790
|
[x: string]: any;
|
|
791
791
|
page?: number | undefined;
|
|
@@ -1253,9 +1253,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
1253
1253
|
};
|
|
1254
1254
|
load: (reset?: boolean) => Promise<void>;
|
|
1255
1255
|
search: (reset?: boolean) => Promise<boolean>;
|
|
1256
|
-
vxeRef:
|
|
1257
|
-
rowSortable:
|
|
1258
|
-
columnSortable:
|
|
1256
|
+
vxeRef: VxeGridInstance | undefined;
|
|
1257
|
+
rowSortable: any;
|
|
1258
|
+
columnSortable: any[];
|
|
1259
1259
|
insertActived: (record?: any, row?: any) => Promise<void>;
|
|
1260
1260
|
validate: () => Promise<import("vxe-table").VxeTableDefines.ValidatorErrorMapParams<any> | undefined>;
|
|
1261
1261
|
getSelected: () => any;
|
|
@@ -1271,7 +1271,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
1271
1271
|
} | undefined;
|
|
1272
1272
|
setSelectCell: (row?: any, column?: any) => void;
|
|
1273
1273
|
$vtjDynamicSlots: () => string[];
|
|
1274
|
-
}
|
|
1274
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
1275
1275
|
$slots: Partial<Record<string, (_: {
|
|
1276
1276
|
[key: string]: any;
|
|
1277
1277
|
$table: VxeTableConstructor<any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle,
|
|
1
|
+
import { DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties } from 'vue';
|
|
2
2
|
import { Designer } from '../../..';
|
|
3
3
|
import { Props } from '../../shared/viewport';
|
|
4
4
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -65,9 +65,9 @@ declare const _default: DefineComponent<{}, {
|
|
|
65
65
|
width: number;
|
|
66
66
|
height: number;
|
|
67
67
|
};
|
|
68
|
-
}> & Omit<Readonly< Props> & Readonly<{}>, "scale" | ("mode" | "customSize")> &
|
|
69
|
-
scale:
|
|
70
|
-
}
|
|
68
|
+
}> & Omit<Readonly< Props> & Readonly<{}>, "scale" | ("mode" | "customSize")> & {
|
|
69
|
+
scale: number;
|
|
70
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
71
71
|
$slots: {
|
|
72
72
|
default?(_: {}): any;
|
|
73
73
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNode, RendererNode, RendererElement, ShallowRef, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle,
|
|
1
|
+
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNode, RendererNode, RendererElement, ShallowRef, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties } from 'vue';
|
|
2
2
|
import { BaseSize, DialogMode, DraggableOptions, IconParam, ResizableOptions, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent, PanelBadge, HeaderProps, ContainerProps } from '@vtj/ui';
|
|
3
3
|
import { UseMouseSourceType, Position } from '@vueuse/core';
|
|
4
4
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -23,16 +23,16 @@ declare const _default: DefineComponent<{}, {
|
|
|
23
23
|
minimizable: boolean;
|
|
24
24
|
bodyPadding: boolean;
|
|
25
25
|
}> & Omit<{
|
|
26
|
-
readonly size: BaseSize;
|
|
27
26
|
readonly height: string | number;
|
|
28
27
|
readonly width: string | number;
|
|
29
28
|
readonly primary: boolean;
|
|
29
|
+
readonly size: BaseSize;
|
|
30
30
|
readonly modelValue: boolean;
|
|
31
31
|
readonly mode: DialogMode;
|
|
32
32
|
readonly draggable: boolean | DraggableOptions;
|
|
33
33
|
readonly pure: boolean;
|
|
34
|
-
readonly modal: boolean;
|
|
35
34
|
readonly closable: boolean;
|
|
35
|
+
readonly modal: boolean;
|
|
36
36
|
readonly maximizable: boolean;
|
|
37
37
|
readonly minimizable: boolean;
|
|
38
38
|
readonly bodyPadding: boolean;
|
|
@@ -103,7 +103,7 @@ declare const _default: DefineComponent<{}, {
|
|
|
103
103
|
isOutside: ShallowRef<boolean, boolean>;
|
|
104
104
|
stop: () => void;
|
|
105
105
|
}) => any) | undefined | undefined;
|
|
106
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "
|
|
106
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "height" | "width" | "primary" | "size" | "modelValue" | "mode" | "draggable" | "pure" | "closable" | "modal" | "maximizable" | "minimizable" | "bodyPadding">;
|
|
107
107
|
$attrs: Attrs;
|
|
108
108
|
$refs: {
|
|
109
109
|
[x: string]: unknown;
|
|
@@ -531,9 +531,9 @@ declare const _default: DefineComponent<{}, {
|
|
|
531
531
|
autoPointer: {
|
|
532
532
|
type: BooleanConstructor;
|
|
533
533
|
};
|
|
534
|
-
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> &
|
|
535
|
-
$vtjEl:
|
|
536
|
-
}
|
|
534
|
+
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> & {
|
|
535
|
+
$vtjEl: any;
|
|
536
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
537
537
|
$slots: {
|
|
538
538
|
default?(_: {}): any;
|
|
539
539
|
};
|
|
@@ -659,9 +659,9 @@ declare const _default: DefineComponent<{}, {
|
|
|
659
659
|
footer: {
|
|
660
660
|
type: PropType<ContainerProps>;
|
|
661
661
|
};
|
|
662
|
-
}>> & Readonly<{}>, "bodyRef" | ("radius" | "fit" | "border" | "card")> &
|
|
663
|
-
bodyRef:
|
|
664
|
-
}
|
|
662
|
+
}>> & Readonly<{}>, "bodyRef" | ("radius" | "fit" | "border" | "card")> & {
|
|
663
|
+
bodyRef: any;
|
|
664
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
665
665
|
$slots: {
|
|
666
666
|
header?(_: {}): any;
|
|
667
667
|
title?(_: {}): any;
|
|
@@ -1130,9 +1130,9 @@ declare const _default: DefineComponent<{}, {
|
|
|
1130
1130
|
isOutside: ShallowRef<boolean, boolean>;
|
|
1131
1131
|
stop: () => void;
|
|
1132
1132
|
}) => any) | undefined;
|
|
1133
|
-
}>, "
|
|
1134
|
-
$vtjEl:
|
|
1135
|
-
panelRef:
|
|
1133
|
+
}>, "height" | "width" | "primary" | "close" | "cancel" | "size" | "modelValue" | "mode" | "draggable" | "pure" | "submit" | "$vtjEl" | "closable" | "modal" | "maximizable" | "minimizable" | "componentInstance" | "bodyPadding" | "panelRef" | "state" | "maximized" | "minimized" | "changeMode" | "show" | "hide" | "iframeRef"> & {
|
|
1134
|
+
$vtjEl: any;
|
|
1135
|
+
panelRef: any;
|
|
1136
1136
|
state: {
|
|
1137
1137
|
mode: DialogMode;
|
|
1138
1138
|
wrapperWidth: number;
|
|
@@ -1145,8 +1145,8 @@ declare const _default: DefineComponent<{}, {
|
|
|
1145
1145
|
dragging: boolean;
|
|
1146
1146
|
resizing: boolean;
|
|
1147
1147
|
};
|
|
1148
|
-
maximized:
|
|
1149
|
-
minimized:
|
|
1148
|
+
maximized: boolean;
|
|
1149
|
+
minimized: boolean;
|
|
1150
1150
|
changeMode: (mode: DialogMode) => void;
|
|
1151
1151
|
show: () => void;
|
|
1152
1152
|
hide: () => void;
|
|
@@ -1156,8 +1156,8 @@ declare const _default: DefineComponent<{}, {
|
|
|
1156
1156
|
componentInstance: {
|
|
1157
1157
|
componentInstance: Record<string, any>;
|
|
1158
1158
|
} | undefined;
|
|
1159
|
-
iframeRef:
|
|
1160
|
-
}
|
|
1159
|
+
iframeRef: any;
|
|
1160
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
1161
1161
|
$slots: {
|
|
1162
1162
|
actions?(_: {}): any;
|
|
1163
1163
|
default?(_: {}): any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, GlobalComponents, GlobalDirectives, DebuggerEvent, WatchOptions, WatchStopHandle,
|
|
2
|
-
import { ActionMenuItem,
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, GlobalComponents, GlobalDirectives, DebuggerEvent, WatchOptions, WatchStopHandle, ComponentCustomProperties, Ref, nextTick } from 'vue';
|
|
2
|
+
import { ActionMenuItem, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent, BaseSize, PanelBadge, IconParam, HeaderProps, ContainerProps } from '@vtj/ui';
|
|
3
3
|
import { OnCleanup } from '@vue/reactivity';
|
|
4
4
|
import { Props } from '../../shared/panel';
|
|
5
5
|
export interface Props {
|
|
@@ -51,7 +51,6 @@ declare const _default: DefineComponent<Props, {
|
|
|
51
51
|
readonly fit: boolean;
|
|
52
52
|
readonly border: boolean;
|
|
53
53
|
readonly card: boolean;
|
|
54
|
-
readonly size?: BaseSize | undefined;
|
|
55
54
|
readonly height?: string | number | undefined;
|
|
56
55
|
readonly width?: string | number | undefined;
|
|
57
56
|
readonly body?: Readonly<Partial< ExtractPropTypes<{
|
|
@@ -122,6 +121,7 @@ declare const _default: DefineComponent<Props, {
|
|
|
122
121
|
type: BooleanConstructor;
|
|
123
122
|
};
|
|
124
123
|
}>>> | undefined;
|
|
124
|
+
readonly size?: BaseSize | undefined;
|
|
125
125
|
readonly badge?: PanelBadge | undefined;
|
|
126
126
|
readonly footer?: Readonly<Partial< ExtractPropTypes<{
|
|
127
127
|
tag: {
|
|
@@ -460,9 +460,9 @@ declare const _default: DefineComponent<Props, {
|
|
|
460
460
|
autoPointer: {
|
|
461
461
|
type: BooleanConstructor;
|
|
462
462
|
};
|
|
463
|
-
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> &
|
|
464
|
-
$vtjEl:
|
|
465
|
-
}
|
|
463
|
+
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> & {
|
|
464
|
+
$vtjEl: any;
|
|
465
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
466
466
|
$slots: {
|
|
467
467
|
default?(_: {}): any;
|
|
468
468
|
};
|
|
@@ -588,9 +588,9 @@ declare const _default: DefineComponent<Props, {
|
|
|
588
588
|
footer: {
|
|
589
589
|
type: PropType<ContainerProps>;
|
|
590
590
|
};
|
|
591
|
-
}>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> &
|
|
592
|
-
bodyRef:
|
|
593
|
-
}
|
|
591
|
+
}>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & {
|
|
592
|
+
bodyRef: any;
|
|
593
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
594
594
|
$slots: {
|
|
595
595
|
header?(_: {}): any;
|
|
596
596
|
title?(_: {}): any;
|
|
@@ -663,12 +663,12 @@ declare const _default: DefineComponent<Props, {
|
|
|
663
663
|
onEdit?: ((...args: any[]) => any) | undefined;
|
|
664
664
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
665
665
|
onSave?: ((...args: any[]) => any) | undefined;
|
|
666
|
-
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("menus" | "header")> &
|
|
667
|
-
panelRef:
|
|
666
|
+
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("menus" | "header")> & {
|
|
667
|
+
panelRef: any;
|
|
668
668
|
scrollToBottom: () => void;
|
|
669
669
|
autoScrollToBottom: (diff?: number) => void;
|
|
670
670
|
scrollToTop: () => void;
|
|
671
|
-
}
|
|
671
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
672
672
|
$slots: {
|
|
673
673
|
'pre-actions'?(_: {}): any;
|
|
674
674
|
actions?(_: {}): any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GridColumns, GridLoader, GridCustomInfo, GridCellRenders, GridEditRenders, GridFilterRenders, GridSortableEvent, GridSortableOptions } from '@vtj/ui';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, VNode, Ref, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, VNode, Ref, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties } from 'vue';
|
|
3
3
|
import { Options } from 'sortablejs';
|
|
4
4
|
import { VxeTableProps, VxeGridEventProps, VxeGridSlots, VxeTableDataRow, SlotVNodeType, VxeGridInstance, VxeTableConstructor, VxeGridConstructor } from 'vxe-table';
|
|
5
5
|
import { MessageBoxData } from 'element-plus';
|
|
@@ -779,7 +779,7 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
|
779
779
|
onCellSelected?: ((params: any) => any) | undefined;
|
|
780
780
|
onEditChange?: ((data: any[]) => any) | undefined;
|
|
781
781
|
onLoaded?: ((rows: any[]) => any) | undefined;
|
|
782
|
-
}>, "search" | "validate" | "auto" | "resizable" | "load" | "state" | "page" | "remove" | "$vtjDynamicSlots" | "editable" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSize" | "pageSizes" | "virtual" | "vxeRef" | "insertActived" | "getSelected" | "getRows" | "setActived" | "doLayout" | "getRecords" | "setSelectCell"> &
|
|
782
|
+
}>, "search" | "validate" | "auto" | "resizable" | "load" | "state" | "page" | "remove" | "$vtjDynamicSlots" | "editable" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSize" | "pageSizes" | "virtual" | "vxeRef" | "insertActived" | "getSelected" | "getRows" | "setActived" | "doLayout" | "getRecords" | "setSelectCell"> & {
|
|
783
783
|
state: {
|
|
784
784
|
[x: string]: any;
|
|
785
785
|
page?: number | undefined;
|
|
@@ -1247,9 +1247,9 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
|
1247
1247
|
};
|
|
1248
1248
|
load: (reset?: boolean) => Promise<void>;
|
|
1249
1249
|
search: (reset?: boolean) => Promise<boolean>;
|
|
1250
|
-
vxeRef:
|
|
1251
|
-
rowSortable:
|
|
1252
|
-
columnSortable:
|
|
1250
|
+
vxeRef: VxeGridInstance | undefined;
|
|
1251
|
+
rowSortable: any;
|
|
1252
|
+
columnSortable: any[];
|
|
1253
1253
|
insertActived: (record?: any, row?: any) => Promise<void>;
|
|
1254
1254
|
validate: () => Promise<import("vxe-table").VxeTableDefines.ValidatorErrorMapParams<any> | undefined>;
|
|
1255
1255
|
getSelected: () => any;
|
|
@@ -1265,7 +1265,7 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
|
1265
1265
|
} | undefined;
|
|
1266
1266
|
setSelectCell: (row?: any, column?: any) => void;
|
|
1267
1267
|
$vtjDynamicSlots: () => string[];
|
|
1268
|
-
}
|
|
1268
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
1269
1269
|
$slots: Partial<Record<string, (_: {
|
|
1270
1270
|
[key: string]: any;
|
|
1271
1271
|
$table: VxeTableConstructor<any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GridColumns, GridLoader, GridCustomInfo, GridCellRenders, GridEditRenders, GridFilterRenders, GridSortableEvent, GridSortableOptions } from '@vtj/ui';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, VNode, Ref, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, VNode, Ref, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties } from 'vue';
|
|
3
3
|
import { Options } from 'sortablejs';
|
|
4
4
|
import { VxeTableProps, VxeGridEventProps, VxeGridSlots, VxeTableDataRow, SlotVNodeType, VxeGridInstance, VxeTableConstructor, VxeGridConstructor } from 'vxe-table';
|
|
5
5
|
import { MessageBoxData } from 'element-plus';
|
|
@@ -779,7 +779,7 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
|
779
779
|
onCellSelected?: ((params: any) => any) | undefined;
|
|
780
780
|
onEditChange?: ((data: any[]) => any) | undefined;
|
|
781
781
|
onLoaded?: ((rows: any[]) => any) | undefined;
|
|
782
|
-
}>, "search" | "validate" | "auto" | "resizable" | "load" | "state" | "page" | "remove" | "$vtjDynamicSlots" | "editable" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSize" | "pageSizes" | "virtual" | "vxeRef" | "insertActived" | "getSelected" | "getRows" | "setActived" | "doLayout" | "getRecords" | "setSelectCell"> &
|
|
782
|
+
}>, "search" | "validate" | "auto" | "resizable" | "load" | "state" | "page" | "remove" | "$vtjDynamicSlots" | "editable" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSize" | "pageSizes" | "virtual" | "vxeRef" | "insertActived" | "getSelected" | "getRows" | "setActived" | "doLayout" | "getRecords" | "setSelectCell"> & {
|
|
783
783
|
state: {
|
|
784
784
|
[x: string]: any;
|
|
785
785
|
page?: number | undefined;
|
|
@@ -1247,9 +1247,9 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
|
1247
1247
|
};
|
|
1248
1248
|
load: (reset?: boolean) => Promise<void>;
|
|
1249
1249
|
search: (reset?: boolean) => Promise<boolean>;
|
|
1250
|
-
vxeRef:
|
|
1251
|
-
rowSortable:
|
|
1252
|
-
columnSortable:
|
|
1250
|
+
vxeRef: VxeGridInstance | undefined;
|
|
1251
|
+
rowSortable: any;
|
|
1252
|
+
columnSortable: any[];
|
|
1253
1253
|
insertActived: (record?: any, row?: any) => Promise<void>;
|
|
1254
1254
|
validate: () => Promise<import("vxe-table").VxeTableDefines.ValidatorErrorMapParams<any> | undefined>;
|
|
1255
1255
|
getSelected: () => any;
|
|
@@ -1265,7 +1265,7 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
|
1265
1265
|
} | undefined;
|
|
1266
1266
|
setSelectCell: (row?: any, column?: any) => void;
|
|
1267
1267
|
$vtjDynamicSlots: () => string[];
|
|
1268
|
-
}
|
|
1268
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
1269
1269
|
$slots: Partial<Record<string, (_: {
|
|
1270
1270
|
[key: string]: any;
|
|
1271
1271
|
$table: VxeTableConstructor<any>;
|