@ipa-vue/element-plus 0.3.3 → 0.3.4

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/lib/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index-D5X4vOw_.cjs");exports.BaseLayout=a._sfc_main;exports.IpaAiPanel=a.IpaAiPanel;exports.IpaAiToolApprovalCard=a.IpaAiToolApprovalCard;exports.IpaBaseTable=a.IpaBaseTable;exports.IpaCollection=a._sfc_main$1;exports.IpaGrid=a.IpaGrid;exports.IpaHostItem=a.IpaHostItem;exports.IpaPager=a._sfc_main$2;exports.IpaPoint=a.IpaPoint;exports.IpaQuantifiedValue=a.IpaQuantifiedValue;exports.IpaRouterTabs=a.IpaRouterTabs;exports.IpaTabs=a.IpaTabs;exports.IpaUpdateDialog=a.IpaUpdateDialog;exports.IpaUrl=a.IpaUrl;exports.SchemaForm=a.SchemaForm;exports.provideJsScope=a.lv;exports.useAiToolCall=a.useAiToolCall;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index-DSXDkeAI.cjs");exports.BaseLayout=a._sfc_main;exports.IpaAiPanel=a.IpaAiPanel;exports.IpaAiToolApprovalCard=a.IpaAiToolApprovalCard;exports.IpaBaseTable=a.IpaBaseTable;exports.IpaCollection=a._sfc_main$1;exports.IpaGrid=a.IpaGrid;exports.IpaHostItem=a.IpaHostItem;exports.IpaPager=a._sfc_main$2;exports.IpaPoint=a.IpaPoint;exports.IpaQuantifiedValue=a.IpaQuantifiedValue;exports.IpaRouterTabs=a.IpaRouterTabs;exports.IpaTabs=a.IpaTabs;exports.IpaUpdateDialog=a.IpaUpdateDialog;exports.IpaUrl=a.IpaUrl;exports.SchemaForm=a.SchemaForm;exports.provideJsScope=a.lv;exports.useAiToolCall=a.useAiToolCall;
package/lib/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { k as p, I as e, a as o, b as I, l, c as i, d as r, m as t, e as d, f as u, g as m, h as T, i as b, j as c, S as n, p as A, u as f } from "./index-D0fSvEkD.js";
1
+ import { k as p, I as e, a as o, b as I, l, c as i, d as r, m as t, e as d, f as u, g as m, h as T, i as b, j as c, S as n, p as A, u as f } from "./index-DdZSBzvs.js";
2
2
  export {
3
3
  p as BaseLayout,
4
4
  e as IpaAiPanel,
@@ -1,10 +1,13 @@
1
1
  import "x-markdown-vue/style";
2
+ import "element-plus/es/components/input-number/style/css";
2
3
  import "element-plus/es/components/message-box/style/css";
3
4
  import "element-plus/es/components/message/style/css";
4
5
  import "element-plus/es/components/splitter/style/css";
6
+ import "element-plus/es/components/switch/style/css";
5
7
  import type { AiPanelMode, AiSessionService, IpaAiPanelComponentProps, AiToolHandler } from "./types";
6
8
  import type { ToolDefinition } from "../../composables/useAiToolCall";
7
9
  import type { AiProvider } from "./types";
10
+ import type { ThinkingOptions } from "@ipa-vue/core";
8
11
  import type { ChatTransport, UIMessage } from "ai";
9
12
  type __VLS_Props = {
10
13
  /** 应用标识,用于隔离工具注册中心和 localStorage 存储 */
@@ -49,6 +52,8 @@ type __VLS_Props = {
49
52
  transport?: ChatTransport<UIMessage>;
50
53
  /** 自定义 fetch 行为(传 RequestInit 或返回 RequestInit 的函数),用于携带 cookie、自定义 headers 等 */
51
54
  fetchOptions?: RequestInit | (() => RequestInit);
55
+ /** 思考模式控制选项 */
56
+ thinkingOptions?: ThinkingOptions;
52
57
  };
53
58
  type TextBubble = {
54
59
  content: string;
@@ -81,13 +86,13 @@ type __VLS_ModelProps = {
81
86
  "toolPanelVisible"?: boolean;
82
87
  };
83
88
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
84
- declare var __VLS_13: {}, __VLS_109: {
89
+ declare var __VLS_13: {}, __VLS_131: {
85
90
  item: BubbleItem;
86
91
  };
87
92
  type __VLS_Slots = {} & {
88
93
  'header-actions'?: (props: typeof __VLS_13) => any;
89
94
  } & {
90
- 'bubble-content'?: (props: typeof __VLS_109) => any;
95
+ 'bubble-content'?: (props: typeof __VLS_131) => any;
91
96
  };
92
97
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
93
98
  "update:visible": (value: boolean) => any;
@@ -3,6 +3,7 @@ import type { Conversation } from "vue-element-plus-x/types/Conversations";
3
3
  import type { BubbleListProps } from "vue-element-plus-x/types/BubbleList";
4
4
  import type { XSenderProps } from "vue-element-plus-x/types/XSender";
5
5
  import type { ThinkingProps } from "vue-element-plus-x/types/Thinking";
6
+ import type { ThoughtChainProps } from "vue-element-plus-x/types/ThoughtChain";
6
7
  import type { AiProviderConfig } from "@ipa-schema/ai";
7
8
  /** 面板版 provider:统一契约命中,且面板依赖的字段必填 */
8
9
  export type AiProvider = AiProviderConfig & {
@@ -27,4 +28,5 @@ export interface IpaAiPanelComponentProps {
27
28
  xSender?: Partial<XSenderProps>;
28
29
  welcome?: Partial<WelcomeProps>;
29
30
  thinking?: Partial<ThinkingProps>;
31
+ thoughtChain?: Partial<ThoughtChainProps>;
30
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ipa-vue/element-plus",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "lib",