@bams-app/ui-quick-qa 0.0.6 → 0.0.7
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/README.md +3 -3
- package/index.js +16 -6
- package/package.json +1 -1
- package/src/apis/index.js +4 -4
- package/src/business/MainContent.vue +890 -890
- package/src/components/QuickQaAvatar.vue +109 -0
- package/src/components/QuickQaComposerFrame.vue +117 -0
- package/src/components/QuickQaPromptPanel.vue +253 -0
- package/src/constants/index.js +4 -4
- package/src/images/.gitkeep +1 -1
- package/src/styles/theme-vars.css +422 -422
- package/src/utils/llmService.js +185 -185
- package/src/utils/markdownRenderer.js +41 -41
- package/src/utils/notify.js +39 -39
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# ui-quick-qa
|
|
2
|
-
|
|
3
|
-
智能问答业务组件。
|
|
1
|
+
# ui-quick-qa
|
|
2
|
+
|
|
3
|
+
智能问答业务组件。
|
package/index.js
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
import Component from "./src/component.vue";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import Component from "./src/component.vue";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 修改时间:2026-11-11
|
|
5
|
+
* 修改原因:agent-ui 需要复用 ui-quick-qa 的问答视觉语言,避免复制同一套样式。
|
|
6
|
+
* 修改内容:增加推荐问题、输入容器和品牌头像三个展示型子组件的具名导出。
|
|
7
|
+
* 兼容说明:默认导出保持不变,原有 UiQuickQa 接入方式不受影响。
|
|
8
|
+
*/
|
|
9
|
+
export { default as QuickQaAvatar } from "./src/components/QuickQaAvatar.vue";
|
|
10
|
+
export { default as QuickQaComposerFrame } from "./src/components/QuickQaComposerFrame.vue";
|
|
11
|
+
export { default as QuickQaPromptPanel } from "./src/components/QuickQaPromptPanel.vue";
|
|
12
|
+
|
|
13
|
+
export default Component;
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
package/package.json
CHANGED
package/src/apis/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export {};
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|