@antdv-next/x 0.0.3 → 0.1.0

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.
Files changed (55) hide show
  1. package/dist/actions/Actions.js +1 -1
  2. package/dist/actions/ActionsAudio.js +1 -1
  3. package/dist/actions/ActionsCopy.js +1 -1
  4. package/dist/actions/ActionsFeedback.js +1 -1
  5. package/dist/actions/ActionsItem.js +1 -1
  6. package/dist/attachments/index.js +1 -1
  7. package/dist/bubble/Bubble.js +1 -1
  8. package/dist/bubble/BubbleList.js +1 -1
  9. package/dist/bubble/Divider.js +1 -1
  10. package/dist/bubble/System.js +1 -1
  11. package/dist/code-highlighter/CodeHighlighter.js +3 -14
  12. package/dist/code-highlighter/shiki.d.ts +4 -0
  13. package/dist/code-highlighter/shiki.js +72 -0
  14. package/dist/conversations/Creation.js +1 -1
  15. package/dist/conversations/index.js +1 -1
  16. package/dist/file-card/FileCard.js +1 -1
  17. package/dist/file-card/List.js +1 -1
  18. package/dist/index.esm.js +1224 -118
  19. package/dist/index.js +0 -25
  20. package/dist/index.umd.js +1228 -121
  21. package/dist/mermaid/Mermaid.d.ts +1 -1
  22. package/dist/mermaid/Mermaid.js +5 -5
  23. package/dist/mermaid/loader.d.ts +6 -0
  24. package/dist/mermaid/loader.js +33 -0
  25. package/dist/mermaid/mermaid-core.d.js +0 -0
  26. package/dist/package.js +1 -1
  27. package/dist/prompts/Prompts.js +6 -4
  28. package/dist/sender/Sender.d.ts +25 -7
  29. package/dist/sender/Sender.js +60 -14
  30. package/dist/sender/SenderHeader.js +1 -1
  31. package/dist/sender/SenderSwitch.js +2 -2
  32. package/dist/sender/components/ActionButton.d.ts +0 -9
  33. package/dist/sender/components/ActionButton.js +1 -5
  34. package/dist/sender/components/Skill.d.ts +30 -0
  35. package/dist/sender/components/Skill.js +61 -0
  36. package/dist/sender/components/SlotTextArea.d.ts +20 -0
  37. package/dist/sender/components/SlotTextArea.js +747 -0
  38. package/dist/sender/components/TextArea.d.ts +1 -3
  39. package/dist/sender/context.d.ts +1 -0
  40. package/dist/sender/index.d.ts +2 -2
  41. package/dist/sender/interface.d.ts +2 -1
  42. package/dist/sender/style/index.d.ts +7 -0
  43. package/dist/sender/style/index.js +17 -1
  44. package/dist/sender/style/slot-textarea.d.ts +4 -0
  45. package/dist/sender/style/slot-textarea.js +187 -0
  46. package/dist/sources/Sources.js +1 -1
  47. package/dist/suggestion/Suggestion.js +1 -1
  48. package/dist/suggestion/useActive.js +4 -0
  49. package/dist/think/Think.js +1 -1
  50. package/dist/thought-chain/Item.js +1 -1
  51. package/dist/thought-chain/ThoughtChain.js +1 -1
  52. package/dist/welcome/index.js +1 -1
  53. package/dist/x-provider/index.js +1 -1
  54. package/global.d.ts +61 -18
  55. package/package.json +2 -2
@@ -1,7 +1,5 @@
1
+ import { SenderFocusOptions } from '../interface';
1
2
  export type InsertPosition = "start" | "end" | "cursor";
2
- export interface SenderFocusOptions extends FocusOptions {
3
- cursor?: "start" | "end" | "all";
4
- }
5
3
  export interface TextAreaRef {
6
4
  nativeElement: HTMLTextAreaElement | null;
7
5
  focus: (options?: SenderFocusOptions) => void;
@@ -2,6 +2,7 @@ import { ComputedRef, InjectionKey } from 'vue';
2
2
  import { SenderProps } from './interface';
3
3
  export interface SenderContextValue extends SenderProps {
4
4
  triggerSend?: () => void;
5
+ setSubmitDisabled?: (disabled: boolean) => void;
5
6
  }
6
7
  export declare const SenderContextKey: InjectionKey<ComputedRef<SenderContextValue>>;
7
8
  export declare function useSenderContext(): ComputedRef<SenderContextValue>;
@@ -1,8 +1,8 @@
1
- import { SenderProps, SenderRef } from './interface';
1
+ import { SenderProps, SenderRef, SlotConfigType } from './interface';
2
2
  import { default as ForwardSender } from './Sender';
3
3
  import { default as SenderHeader } from './SenderHeader';
4
4
  import { default as SenderSwitch } from './SenderSwitch';
5
- export type { SenderProps, SenderRef };
5
+ export type { SenderProps, SenderRef, SlotConfigType };
6
6
  type CompoundedSender = typeof ForwardSender & {
7
7
  Header: typeof SenderHeader;
8
8
  Switch: typeof SenderSwitch;
@@ -120,7 +120,8 @@ export interface SenderProps {
120
120
  placeholder?: string;
121
121
  }
122
122
  export interface SenderFocusOptions extends FocusOptions {
123
- cursor?: "start" | "end" | "all";
123
+ cursor?: "start" | "end" | "all" | "slot";
124
+ key?: string;
124
125
  }
125
126
  export interface SenderRef {
126
127
  nativeElement: HTMLDivElement;
@@ -1,5 +1,12 @@
1
1
  import { FullToken, GetDefaultToken } from '../../theme/interface';
2
2
  export interface ComponentToken {
3
+ colorBgSlot: string;
4
+ colorTextSlot: string;
5
+ colorTextSlotPlaceholder: string;
6
+ colorBorderSlot: string;
7
+ colorBorderSlotHover: string;
8
+ colorBgSkill: string;
9
+ colorBgSkillHover: string;
3
10
  colorBorderInput: string;
4
11
  switchCheckedBg: string;
5
12
  switchCheckedHoverBg: string;
@@ -1,5 +1,6 @@
1
1
  import { genStyleHooks } from "../../theme/genStyleUtils.js";
2
2
  import genSenderHeaderStyle from "./header.js";
3
+ import genSlotTextAreaStyle from "./slot-textarea.js";
3
4
  import genSenderSwitchStyle from "./switch.js";
4
5
  import { mergeToken } from "@antdv-next/cssinjs/cssinjs-utils";
5
6
  import { FastColor } from "@ant-design/fast-color";
@@ -85,12 +86,26 @@ var genSenderStyle = (token) => {
85
86
  };
86
87
  var prepareComponentToken = (token) => {
87
88
  const { colorPrimary, colorFillTertiary } = token;
89
+ const colorBgSlot = new FastColor(colorPrimary).setA(.06).toRgbString();
90
+ const colorBgSkill = new FastColor(colorPrimary).setA(.08).toRgbString();
91
+ const colorBgSkillHover = new FastColor(colorPrimary).setA(.15).toRgbString();
92
+ const colorTextSlot = colorPrimary;
93
+ const colorTextSlotPlaceholder = new FastColor(colorPrimary).setA(.25).toRgbString();
94
+ const colorBorderSlotHover = new FastColor(colorPrimary).setA(.1).toRgbString();
95
+ const colorBorderSlot = colorBgSlot;
88
96
  const colorBorderInput = new FastColor(colorFillTertiary).setA(.1).toRgbString();
89
97
  const switchCheckedBg = new FastColor(colorPrimary).setA(.08).toRgbString();
90
98
  const switchCheckedHoverBg = new FastColor(colorPrimary).setA(.1).toRgbString();
91
99
  const switchUncheckedHoverBg = new FastColor(colorFillTertiary).setA(.04).toRgbString();
92
100
  const colorBgActionsDisabled = new FastColor(colorPrimary).setA(.45).toRgbString();
93
101
  return {
102
+ colorBgSlot,
103
+ colorBgSkill,
104
+ colorBgSkillHover,
105
+ colorTextSlot,
106
+ colorTextSlotPlaceholder,
107
+ colorBorderSlotHover,
108
+ colorBorderSlot,
94
109
  colorBorderInput,
95
110
  switchCheckedBg,
96
111
  switchCheckedHoverBg,
@@ -105,7 +120,8 @@ var style_default = genStyleHooks("Sender", (token) => {
105
120
  return [
106
121
  genSenderStyle(senderToken),
107
122
  genSenderHeaderStyle(senderToken),
108
- genSenderSwitchStyle(senderToken)
123
+ genSenderSwitchStyle(senderToken),
124
+ genSlotTextAreaStyle(senderToken)
109
125
  ];
110
126
  }, prepareComponentToken);
111
127
  //#endregion
@@ -0,0 +1,4 @@
1
+ import { SenderToken } from '.';
2
+ import { GenerateStyle } from '../../theme/interface';
3
+ declare const genSlotTextAreaStyle: GenerateStyle<SenderToken>;
4
+ export default genSlotTextAreaStyle;
@@ -0,0 +1,187 @@
1
+ import { unit } from "@antdv-next/cssinjs";
2
+ //#region components/sender/style/slot-textarea.ts
3
+ var genSlotTextAreaStyle = (token) => {
4
+ const { componentCls, antCls, calc } = token;
5
+ const slotCls = `${componentCls}-slot`;
6
+ const antInputCls = `${antCls}-input`;
7
+ const antDropdownCls = `${antCls}-dropdown-trigger`;
8
+ const slotInputCls = `${componentCls}-slot-input`;
9
+ const slotSelectCls = `${componentCls}-slot-select`;
10
+ const slotTagCls = `${componentCls}-slot-tag`;
11
+ const slotContentCls = `${componentCls}-slot-content`;
12
+ const skillCls = `${componentCls}-skill`;
13
+ return { [componentCls]: {
14
+ [`${componentCls}-input-slot`]: {
15
+ outline: "none",
16
+ cursor: "text",
17
+ whiteSpace: "pre-wrap",
18
+ width: "100%",
19
+ caretColor: token.colorPrimary,
20
+ fontSize: token.fontSize,
21
+ lineHeight: token.lineHeight,
22
+ [`&:empty::before`]: {
23
+ content: "attr(data-placeholder)",
24
+ color: token.colorTextPlaceholder
25
+ }
26
+ },
27
+ [`${slotCls}:not(${slotContentCls})`]: {
28
+ display: "inline-block",
29
+ verticalAlign: "middle",
30
+ alignItems: "center",
31
+ marginBlock: 1,
32
+ height: calc(token.fontSize).mul(token.lineHeight).add(2).equal(),
33
+ wordBreak: "break-all",
34
+ marginInline: token.marginXXS
35
+ },
36
+ [`${antInputCls}${slotInputCls}`]: {
37
+ height: "100%",
38
+ background: token.colorBgSlot,
39
+ outline: "none",
40
+ color: token.colorTextSlot,
41
+ borderRadius: token.borderRadius,
42
+ paddingInline: token.paddingXXS,
43
+ fontSize: "inherit",
44
+ lineHeight: "inherit",
45
+ position: "relative",
46
+ [`&::placeholder`]: {
47
+ color: token.colorTextSlotPlaceholder,
48
+ fontSize: "inherit",
49
+ lineHeight: "inherit"
50
+ }
51
+ },
52
+ [slotSelectCls]: {
53
+ fontSize: token.fontSize,
54
+ lineHeight: token.lineHeight,
55
+ paddingInline: token.paddingXXS,
56
+ transition: `border-color ${token.motionDurationMid}`,
57
+ position: "relative",
58
+ display: "inline-flex",
59
+ alignItems: "center",
60
+ cursor: "pointer",
61
+ background: token.colorBgSlot,
62
+ height: "100%",
63
+ boxSizing: "border-box",
64
+ borderRadius: token.borderRadius,
65
+ color: token.colorTextSlot,
66
+ border: `1px solid ${token.colorBorderSlot}`,
67
+ [`&.placeholder`]: { color: token.colorTextSlotPlaceholder },
68
+ [`&${antDropdownCls}-open`]: { borderColor: token.colorBorderSlotHover }
69
+ },
70
+ [`${slotSelectCls}-value`]: {
71
+ flex: 1,
72
+ fontSize: token.fontSize,
73
+ lineHeight: token.lineHeight,
74
+ [`&:empty::before`]: { content: "attr(data-placeholder)" }
75
+ },
76
+ [`${slotSelectCls}-arrow`]: {
77
+ marginInlineStart: token.marginXXS,
78
+ fontSize: token.fontSize,
79
+ lineHeight: token.lineHeight,
80
+ display: "inline-flex",
81
+ alignItems: "center",
82
+ justifyContent: "center"
83
+ },
84
+ [slotTagCls]: {
85
+ background: token.colorBgSlot,
86
+ border: `1px solid ${token.colorBorderSlot}`,
87
+ outline: "none",
88
+ color: token.colorTextSlot,
89
+ borderRadius: token.borderRadius,
90
+ padding: `0 ${unit(token.paddingXXS)}`,
91
+ fontSize: token.fontSize,
92
+ lineHeight: token.lineHeight,
93
+ height: "100%",
94
+ boxSizing: "border-box",
95
+ position: "relative",
96
+ cursor: "default"
97
+ },
98
+ [slotContentCls]: {
99
+ height: calc(token.fontSize).mul(token.lineHeight).add(2).equal(),
100
+ caretColor: token.colorPrimary,
101
+ background: token.colorBgSlot,
102
+ outline: "none",
103
+ color: token.colorTextSlot,
104
+ borderRadius: token.borderRadius,
105
+ paddingInline: token.paddingXXS,
106
+ boxSizing: "border-box",
107
+ verticalAlign: "middle",
108
+ fontSize: token.fontSize,
109
+ marginBlock: 1,
110
+ lineHeight: token.lineHeight,
111
+ display: "inline-block",
112
+ position: "relative",
113
+ cursor: "text",
114
+ [`&:empty`]: {
115
+ width: "fit-content",
116
+ [`&::after`]: {
117
+ display: "inline-block",
118
+ height: "inherit",
119
+ content: "attr(data-placeholder)",
120
+ color: token.colorTextSlotPlaceholder
121
+ }
122
+ }
123
+ },
124
+ [`${slotCls}-no-width`]: {
125
+ userSelect: "none",
126
+ width: "3px",
127
+ display: "inline-block",
128
+ lineHeight: "inherit"
129
+ },
130
+ [skillCls]: {
131
+ display: "inline-block",
132
+ verticalAlign: "baseline",
133
+ alignItems: "center",
134
+ marginBlock: 1,
135
+ height: calc(token.fontSize).mul(token.lineHeight).add(2).equal(),
136
+ wordBreak: "break-all",
137
+ paddingInlineEnd: 0,
138
+ paddingInlineStart: 0,
139
+ marginInlineEnd: 0,
140
+ marginInlineStart: -1,
141
+ [`&${skillCls}-empty`]: { [`&::after`]: {
142
+ display: "inline-block",
143
+ pointerEvents: "none",
144
+ height: "inherit",
145
+ content: "attr(data-placeholder)",
146
+ color: token.colorTextPlaceholder
147
+ } }
148
+ },
149
+ [`${skillCls}-wrapper`]: {
150
+ height: "100%",
151
+ display: "inline-flex"
152
+ },
153
+ [`${skillCls}-tag`]: {
154
+ paddingInline: token.paddingXS,
155
+ height: "100%",
156
+ backgroundColor: token.colorBgSkill,
157
+ borderRadius: token.borderRadius,
158
+ color: token.colorPrimary,
159
+ alignItems: "center",
160
+ fontWeight: 500,
161
+ display: "inline-flex",
162
+ cursor: "pointer",
163
+ gap: token.marginXXS,
164
+ transition: `background-color ${token.motionDurationMid}`,
165
+ [`&:hover`]: {
166
+ backgroundColor: token.colorBgSkillHover,
167
+ [`${skillCls}-close:not(${skillCls}-close-disabled)`]: { color: token.colorPrimaryHover }
168
+ }
169
+ },
170
+ [`${skillCls}-close`]: {
171
+ fontSize: token.fontSizeSM,
172
+ display: "inline-flex",
173
+ transition: `color ${token.motionDurationMid}`,
174
+ color: token.colorPrimary
175
+ },
176
+ [`${skillCls}-close-disabled`]: {
177
+ cursor: "not-allowed",
178
+ color: token.colorTextDisabled
179
+ },
180
+ [`${skillCls}-holder`]: {
181
+ width: token.marginXS,
182
+ height: "100%"
183
+ }
184
+ } };
185
+ };
186
+ //#endregion
187
+ export { genSlotTextAreaStyle as default };
@@ -12,7 +12,7 @@ var hasRenderableNode = (node) => {
12
12
  return node !== null && node !== void 0 && node !== false;
13
13
  };
14
14
  var XSources = /* @__PURE__ */ defineComponent({
15
- name: "XSources",
15
+ name: "AxSources",
16
16
  inheritAttrs: false,
17
17
  props: {
18
18
  prefixCls: {
@@ -10,7 +10,7 @@ var hasRenderableNode = (node) => {
10
10
  return node !== null && node !== void 0 && node !== false;
11
11
  };
12
12
  var XSuggestion = /* @__PURE__ */ defineComponent({
13
- name: "XSuggestion",
13
+ name: "AxSuggestion",
14
14
  inheritAttrs: false,
15
15
  props: {
16
16
  prefixCls: {
@@ -37,20 +37,24 @@ function useActive(items, open, rtl, onCancel) {
37
37
  case "ArrowDown":
38
38
  offsetRow(1);
39
39
  event.preventDefault();
40
+ event.stopPropagation();
40
41
  break;
41
42
  case "ArrowUp":
42
43
  offsetRow(-1);
43
44
  event.preventDefault();
45
+ event.stopPropagation();
44
46
  break;
45
47
  case "ArrowRight":
46
48
  if (rtl.value) offsetPrev();
47
49
  else offsetNext();
48
50
  event.preventDefault();
51
+ event.stopPropagation();
49
52
  break;
50
53
  case "ArrowLeft":
51
54
  if (rtl.value) offsetNext();
52
55
  else offsetPrev();
53
56
  event.preventDefault();
57
+ event.stopPropagation();
54
58
  break;
55
59
  case "Enter":
56
60
  event.preventDefault();
@@ -6,7 +6,7 @@ import { useConfig } from "antdv-next/dist/config-provider/context";
6
6
  import { LoadingOutlined, RightOutlined } from "@antdv-next/icons";
7
7
  //#region components/think/Think.tsx
8
8
  var XThink = /* @__PURE__ */ defineComponent({
9
- name: "XThink",
9
+ name: "AxThink",
10
10
  inheritAttrs: false,
11
11
  props: {
12
12
  prefixCls: {
@@ -8,7 +8,7 @@ function hasRenderableNode(node) {
8
8
  return node !== null && node !== void 0 && node !== false;
9
9
  }
10
10
  var XThoughtChainItem = /* @__PURE__ */ defineComponent({
11
- name: "XThoughtChainItem",
11
+ name: "AxThoughtChainItem",
12
12
  props: {
13
13
  prefixCls: {
14
14
  type: String,
@@ -5,7 +5,7 @@ import { computed, createVNode, defineComponent, mergeProps, ref, useAttrs, watc
5
5
  import { useConfig } from "antdv-next/dist/config-provider/context";
6
6
  //#region components/thought-chain/ThoughtChain.tsx
7
7
  var XThoughtChain = /* @__PURE__ */ defineComponent({
8
- name: "XThoughtChain",
8
+ name: "AxThoughtChain",
9
9
  inheritAttrs: false,
10
10
  props: {
11
11
  prefixCls: {
@@ -14,7 +14,7 @@ function hasContent(value) {
14
14
  return Array.isArray(value) ? value.length > 0 : value !== null && value !== void 0;
15
15
  }
16
16
  var XWelcome = /* @__PURE__ */ defineComponent({
17
- name: "XWelcome",
17
+ name: "AxWelcome",
18
18
  inheritAttrs: false,
19
19
  props: {
20
20
  prefixCls: {
@@ -4,7 +4,7 @@ import { computed, createVNode, defineComponent, mergeProps, provide, useAttrs }
4
4
  import { ConfigProvider } from "antdv-next";
5
5
  //#region components/x-provider/index.tsx
6
6
  var XProvider = /* @__PURE__ */ defineComponent({
7
- name: "XProvider",
7
+ name: "AxProvider",
8
8
  inheritAttrs: false,
9
9
  props: {
10
10
  attachments: {
package/global.d.ts CHANGED
@@ -1,24 +1,67 @@
1
+ type ActionsComponent = (typeof import("./dist/actions"))["default"];
2
+ type ActionsAudioComponent = (typeof import("./dist/actions"))["ActionsAudio"];
3
+ type ActionsCopyComponent = (typeof import("./dist/actions"))["ActionsCopy"];
4
+ type ActionsFeedbackComponent =
5
+ (typeof import("./dist/actions"))["ActionsFeedback"];
6
+ type ActionsItemComponent = (typeof import("./dist/actions"))["ActionsItem"];
7
+ type AttachmentsComponent = (typeof import("./dist/attachments"))["default"];
8
+ type BubbleComponent = (typeof import("./dist/bubble"))["default"];
9
+ type BubbleListComponent = (typeof import("./dist/bubble"))["BubbleList"];
10
+ type BubbleSystemComponent = (typeof import("./dist/bubble"))["BubbleSystem"];
11
+ type BubbleDividerComponent = (typeof import("./dist/bubble"))["BubbleDivider"];
12
+ type CodeHighlighterComponent =
13
+ (typeof import("./dist/code-highlighter"))["default"];
14
+ type ConversationsComponent =
15
+ (typeof import("./dist/conversations"))["default"];
16
+ type ConversationsCreationComponent =
17
+ (typeof import("./dist/conversations"))["ConversationsCreation"];
18
+ type FileCardComponent = (typeof import("./dist/file-card"))["default"];
19
+ type FileCardListComponent =
20
+ (typeof import("./dist/file-card"))["FileCardList"];
21
+ type MermaidComponent = (typeof import("./dist/mermaid"))["default"];
22
+ type PromptsComponent = (typeof import("./dist/prompts"))["default"];
23
+ type SenderComponent = (typeof import("./dist/sender"))["default"];
24
+ type SenderHeaderComponent = (typeof import("./dist/sender"))["SenderHeader"];
25
+ type SenderSwitchComponent = (typeof import("./dist/sender"))["SenderSwitch"];
26
+ type SourcesComponent = (typeof import("./dist/sources"))["default"];
27
+ type SuggestionComponent = (typeof import("./dist/suggestion"))["default"];
28
+ type ThinkComponent = (typeof import("./dist/think"))["default"];
29
+ type ThoughtChainComponent = (typeof import("./dist/thought-chain"))["default"];
30
+ type ThoughtChainItemComponent =
31
+ (typeof import("./dist/thought-chain"))["ThoughtChainItem"];
32
+ type WelcomeComponent = (typeof import("./dist/welcome"))["default"];
33
+ type XProviderComponent = (typeof import("./dist/x-provider"))["default"];
34
+
1
35
  export {};
2
36
 
3
37
  declare module "vue" {
4
38
  export interface GlobalComponents {
5
- AActions: (typeof import("./dist/actions"))["default"];
6
- AActionsAudio: (typeof import("./dist/actions"))["ActionsAudio"];
7
- AActionsCopy: (typeof import("./dist/actions"))["ActionsCopy"];
8
- AActionsFeedback: (typeof import("./dist/actions"))["ActionsFeedback"];
9
- AActionsItem: (typeof import("./dist/actions"))["ActionsItem"];
10
- ABubble: (typeof import("./dist/bubble"))["default"];
11
- ABubbleList: (typeof import("./dist/bubble"))["BubbleList"];
12
- ABubbleSystem: (typeof import("./dist/bubble"))["BubbleSystem"];
13
- ABubbleDivider: (typeof import("./dist/bubble"))["BubbleDivider"];
14
- XActions: (typeof import("./dist/actions"))["default"];
15
- XActionsAudio: (typeof import("./dist/actions"))["ActionsAudio"];
16
- XActionsCopy: (typeof import("./dist/actions"))["ActionsCopy"];
17
- XActionsFeedback: (typeof import("./dist/actions"))["ActionsFeedback"];
18
- XActionsItem: (typeof import("./dist/actions"))["ActionsItem"];
19
- XBubble: (typeof import("./dist/bubble"))["default"];
20
- XBubbleList: (typeof import("./dist/bubble"))["BubbleList"];
21
- XBubbleSystem: (typeof import("./dist/bubble"))["BubbleSystem"];
22
- XBubbleDivider: (typeof import("./dist/bubble"))["BubbleDivider"];
39
+ AxActions: ActionsComponent;
40
+ AxActionsAudio: ActionsAudioComponent;
41
+ AxActionsCopy: ActionsCopyComponent;
42
+ AxActionsFeedback: ActionsFeedbackComponent;
43
+ AxActionsItem: ActionsItemComponent;
44
+ AxAttachments: AttachmentsComponent;
45
+ AxBubble: BubbleComponent;
46
+ AxBubbleDivider: BubbleDividerComponent;
47
+ AxBubbleList: BubbleListComponent;
48
+ AxBubbleSystem: BubbleSystemComponent;
49
+ AxCodeHighlighter: CodeHighlighterComponent;
50
+ AxConversations: ConversationsComponent;
51
+ AxConversationsCreation: ConversationsCreationComponent;
52
+ AxFileCard: FileCardComponent;
53
+ AxFileCardList: FileCardListComponent;
54
+ AxMermaid: MermaidComponent;
55
+ AxPrompts: PromptsComponent;
56
+ AxProvider: XProviderComponent;
57
+ AxSender: SenderComponent;
58
+ AxSenderHeader: SenderHeaderComponent;
59
+ AxSenderSwitch: SenderSwitchComponent;
60
+ AxSources: SourcesComponent;
61
+ AxSuggestion: SuggestionComponent;
62
+ AxThink: ThinkComponent;
63
+ AxThoughtChain: ThoughtChainComponent;
64
+ AxThoughtChainItem: ThoughtChainItemComponent;
65
+ AxWelcome: WelcomeComponent;
23
66
  }
24
67
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antdv-next/x",
3
- "version": "0.0.3",
3
+ "version": "0.1.0",
4
4
  "files": [
5
5
  "dist",
6
6
  "global.d.ts"
@@ -40,7 +40,7 @@
40
40
  "@antdv-next/icons": "^1.0.4",
41
41
  "@v-c/util": "^1.0.19",
42
42
  "@vueuse/core": "^14.2.1",
43
- "antdv-next": "^1.1.2",
43
+ "antdv-next": "^1.1.9-beta.1",
44
44
  "dayjs": "^1.11.19",
45
45
  "mermaid": "^11.12.1",
46
46
  "shiki": "^3.13.0",