ant-design-x-vue 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,6 +3,7 @@ import type { AnyObject } from '../_util/type';
3
3
  import GroupTitle from './GroupTitle.vue';
4
4
  import type { ConfigProviderProps, DirectionType } from 'ant-design-vue/es/config-provider';
5
5
  import type { MenuProps } from 'ant-design-vue';
6
+ import type { AvoidValidation } from '../type-utility';
6
7
  type GroupType = string;
7
8
  /**
8
9
  * @desc 会话数据
@@ -74,7 +75,7 @@ export interface ConversationsProps extends HTMLAttributes {
74
75
  * @desc 是否支持分组, 开启后默认按 {@link Conversation.group} 字段分组
75
76
  * @descEN If grouping is supported, it defaults to the {@link Conversation.group} field
76
77
  */
77
- groupable?: boolean | Groupable;
78
+ groupable?: AvoidValidation<boolean | Groupable>;
78
79
  /**
79
80
  * @desc 语义化结构 style
80
81
  * @descEN Semantic structure styles
@@ -1,7 +1,7 @@
1
1
  import type { ButtonProps, TextAreaProps } from "ant-design-vue";
2
2
  import { Input } from "ant-design-vue";
3
3
  import type { ChangeEvent, ClipboardEventHandler, KeyboardEventHandler } from "ant-design-vue/es/_util/EventInterface";
4
- import type { ConfigProviderProps } from "ant-design-vue/es/config-provider/context";
4
+ import type { ConfigProviderProps } from "ant-design-vue";
5
5
  import type { CSSProperties, VNode } from "vue";
6
6
  import type { AllowSpeech } from "./useSpeech";
7
7
  import type { InputRef } from "ant-design-vue/es/vc-input/inputProps";
@@ -1,14 +1,14 @@
1
1
  import { type AnyObject } from '../_util/type';
2
- import { AttachmentsProps } from '../attachments';
3
- import type { BubbleProps } from '../bubble';
2
+ import { AttachmentsProps } from 'ant-design-x-vue/attachments';
3
+ import type { BubbleProps } from 'ant-design-x-vue/bubble';
4
4
  import { ComputedRef, CSSProperties } from 'vue';
5
- import type { ConfigProviderProps as OriAntdConfigProviderProps } from 'ant-design-vue/es/config-provider';
6
- import type { ConversationsProps } from '../conversations';
7
- import type { PromptsProps } from '../prompts';
8
- import type { SenderProps } from '../sender';
9
- import type { SuggestionProps } from '../suggestion';
10
- import type { ThoughtChainProps } from '../thought-chain';
11
- import type { WelcomeProps } from '../welcome';
5
+ import type { ConfigProviderProps as OriAntdConfigProviderProps } from 'ant-design-vue';
6
+ import type { ConversationsProps } from 'ant-design-x-vue/conversations';
7
+ import type { PromptsProps } from 'ant-design-x-vue/prompts';
8
+ import type { SenderProps } from 'ant-design-x-vue/sender';
9
+ import type { SuggestionProps } from 'ant-design-x-vue/suggestion';
10
+ import type { ThoughtChainProps } from 'ant-design-x-vue/thought-chain';
11
+ import type { WelcomeProps } from 'ant-design-x-vue/welcome';
12
12
  export interface AntdConfigProviderProps {
13
13
  iconPrefixCls?: OriAntdConfigProviderProps['iconPrefixCls'];
14
14
  getTargetContainer?: OriAntdConfigProviderProps['getTargetContainer'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ant-design-x-vue",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Craft AI-driven interfaces effortlessly",
5
5
  "keywords": [
6
6
  "AI",