ant-design-x-vue 1.0.7 → 1.0.9
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/index.mjs +9839 -8235
- package/dist/index.umd.js +65 -62
- package/dist/typings/_util/cssinjs/StyleContext.d.ts +2 -2
- package/dist/typings/_util/cssinjs/index.d.ts +1 -1
- package/dist/typings/attachments/PlaceholderUploader.vue.d.ts +38 -38
- package/dist/typings/attachments/SilentUploader.vue.d.ts +50 -50
- package/dist/typings/attachments/interface.d.ts +4 -1
- package/dist/typings/sender/SenderHeader.vue.d.ts +1 -3
- package/dist/typings/sender/index.d.ts +1 -3
- package/dist/typings/sender/interface.d.ts +7 -1
- package/dist/typings/suggestion/Suggestion.vue.d.ts +1 -3
- package/dist/typings/transition-collapse/TransitionCollapse.vue.d.ts +2 -2
- package/dist/typings/x-request/x-request.d.ts +1 -1
- package/package.json +4 -4
|
@@ -93,9 +93,7 @@ declare const Sender: {
|
|
|
93
93
|
default(props?: any): any;
|
|
94
94
|
};
|
|
95
95
|
emit: {};
|
|
96
|
-
}>) => import("vue").VNode
|
|
97
|
-
[key: string]: any;
|
|
98
|
-
}> & {
|
|
96
|
+
}>) => import("vue").VNode & {
|
|
99
97
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
100
98
|
};
|
|
101
99
|
};
|
|
@@ -24,6 +24,8 @@ export type ActionsRender = (ori: VNode, info: {
|
|
|
24
24
|
}) => VNode;
|
|
25
25
|
export interface SenderProps {
|
|
26
26
|
onKeyPress?: KeyboardEventHandler;
|
|
27
|
+
onFocus?: TextAreaProps['onFocus'];
|
|
28
|
+
onBlur?: TextAreaProps['onBlur'];
|
|
27
29
|
prefixCls?: string;
|
|
28
30
|
defaultValue?: string;
|
|
29
31
|
value?: string;
|
|
@@ -37,7 +39,7 @@ export interface SenderProps {
|
|
|
37
39
|
onCancel?: VoidFunction;
|
|
38
40
|
onKeyDown?: KeyboardEventHandler;
|
|
39
41
|
onPaste?: ClipboardEventHandler;
|
|
40
|
-
onPasteFile?: (
|
|
42
|
+
onPasteFile?: (firstFile: File, files: FileList) => void;
|
|
41
43
|
components?: SenderComponents;
|
|
42
44
|
styles?: {
|
|
43
45
|
prefix?: CSSProperties;
|
|
@@ -56,6 +58,10 @@ export interface SenderProps {
|
|
|
56
58
|
allowSpeech?: AvoidValidation<AllowSpeech>;
|
|
57
59
|
prefix?: VNode;
|
|
58
60
|
header?: VNode;
|
|
61
|
+
autoSize?: boolean | {
|
|
62
|
+
minRows?: number;
|
|
63
|
+
maxRows?: number;
|
|
64
|
+
};
|
|
59
65
|
}
|
|
60
66
|
export type SenderRef = {
|
|
61
67
|
nativeElement: HTMLDivElement;
|
|
@@ -10,9 +10,7 @@ declare const _default: <T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_
|
|
|
10
10
|
default?(props?: RenderChildrenProps<T>): VNode;
|
|
11
11
|
};
|
|
12
12
|
emit: {};
|
|
13
|
-
}>) =>
|
|
14
|
-
[key: string]: any;
|
|
15
|
-
}> & {
|
|
13
|
+
}>) => import("vue").VNode & {
|
|
16
14
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
17
15
|
};
|
|
18
16
|
export default _default;
|
|
@@ -4,9 +4,9 @@ type __VLS_Props = {
|
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
5
|
attrs: Partial<{}>;
|
|
6
6
|
slots: Readonly<{
|
|
7
|
-
default(props?: any): any;
|
|
7
|
+
default?(props?: any): any;
|
|
8
8
|
}> & {
|
|
9
|
-
default(props?: any): any;
|
|
9
|
+
default?(props?: any): any;
|
|
10
10
|
};
|
|
11
11
|
refs: {};
|
|
12
12
|
rootEl: any;
|
|
@@ -76,7 +76,7 @@ declare class XRequestClass {
|
|
|
76
76
|
private static instanceBuffer;
|
|
77
77
|
private constructor();
|
|
78
78
|
static init(options: XRequestOptions): XRequestClass;
|
|
79
|
-
create: <Input = AnyObject, Output =
|
|
79
|
+
create: <Input = AnyObject, Output = SSEOutput>(params: XRequestParams & Input, callbacks?: XRequestCallbacks<Output>, transformStream?: XStreamOptions<Output>["transformStream"]) => Promise<void>;
|
|
80
80
|
private customResponseHandler;
|
|
81
81
|
private sseResponseHandler;
|
|
82
82
|
private jsonResponseHandler;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ant-design-x-vue",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "Craft AI-driven interfaces effortlessly",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"AI",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"./dist/style.css": "./dist/style.css",
|
|
46
46
|
"./resolver": {
|
|
47
|
-
"types": "./dist/
|
|
47
|
+
"types": "./dist/resolver/index.d.ts",
|
|
48
48
|
"import": "./dist/resolver/index.js"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
@@ -116,8 +116,8 @@
|
|
|
116
116
|
"prettier-plugin-organize-imports": "^3.0.0",
|
|
117
117
|
"prettier-plugin-packagejson": "^2.2.18",
|
|
118
118
|
"stylelint": "^14.9.1",
|
|
119
|
-
"typescript": "~5.
|
|
120
|
-
"unplugin-vue-macros": "^2.
|
|
119
|
+
"typescript": "~5.8.0",
|
|
120
|
+
"unplugin-vue-macros": "^2.14.5",
|
|
121
121
|
"vite": "^5.4.8",
|
|
122
122
|
"vite-plugin-inspect": "^0.8.9",
|
|
123
123
|
"vitepress": "^1.5.0",
|