@ibiz-template-plugin/ai-chat 0.0.6 → 0.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.
Files changed (42) hide show
  1. package/dist/index.es.js +2313 -1081
  2. package/dist/index.legacy.js +1 -1
  3. package/dist/polyfills.legacy.js +1 -1
  4. package/dist/style.css +1 -1
  5. package/package.json +5 -3
  6. package/dist/types/app.d.ts +0 -1
  7. package/dist/types/components/chat-container/chat-container.d.ts +0 -98
  8. package/dist/types/components/chat-input/chat-input.d.ts +0 -12
  9. package/dist/types/components/chat-message-item/chat-message-item.d.ts +0 -23
  10. package/dist/types/components/chat-message-item/error-message/error-message.d.ts +0 -22
  11. package/dist/types/components/chat-message-item/markdown-message/markdown-message.d.ts +0 -22
  12. package/dist/types/components/chat-message-item/unknown-message/unknown-message.d.ts +0 -13
  13. package/dist/types/components/chat-message-item/user-message/user-message.d.ts +0 -15
  14. package/dist/types/components/chat-messages/chat-messages.d.ts +0 -12
  15. package/dist/types/components/index.d.ts +0 -1
  16. package/dist/types/constants/index.d.ts +0 -6
  17. package/dist/types/controller/ai-chat/ai-chat.controller.d.ts +0 -99
  18. package/dist/types/controller/chat/chat.controller.d.ts +0 -51
  19. package/dist/types/controller/index.d.ts +0 -2
  20. package/dist/types/entity/chat-message/chat-message.d.ts +0 -28
  21. package/dist/types/entity/index.d.ts +0 -1
  22. package/dist/types/global.d.ts +0 -2
  23. package/dist/types/icons/close-full-screen-svg.d.ts +0 -1
  24. package/dist/types/icons/close-svg.d.ts +0 -1
  25. package/dist/types/icons/copy-svg.d.ts +0 -1
  26. package/dist/types/icons/delete-svg.d.ts +0 -1
  27. package/dist/types/icons/fill-svg.d.ts +0 -1
  28. package/dist/types/icons/full-screen-svg.d.ts +0 -1
  29. package/dist/types/icons/index.d.ts +0 -8
  30. package/dist/types/icons/refresh-svg.d.ts +0 -1
  31. package/dist/types/icons/send-svg.d.ts +0 -1
  32. package/dist/types/index.d.ts +0 -2
  33. package/dist/types/interface/i-chat-container/i-chat-container.d.ts +0 -58
  34. package/dist/types/interface/i-chat-message/i-chat-message.d.ts +0 -83
  35. package/dist/types/interface/i-chat-options/i-chat-options.d.ts +0 -60
  36. package/dist/types/interface/i-message-item-provider/i-message-item-provider.d.ts +0 -18
  37. package/dist/types/interface/i-portal-async-action/i-portal-async-action.d.ts +0 -90
  38. package/dist/types/interface/index.d.ts +0 -4
  39. package/dist/types/main.d.ts +0 -1
  40. package/dist/types/utils/index.d.ts +0 -3
  41. package/dist/types/utils/plugin-static-resource/plugin-static-resource.d.ts +0 -63
  42. package/dist/types/utils/util/util.d.ts +0 -29
@@ -1,63 +0,0 @@
1
- /**
2
- * 插件静态资源工具类
3
- *
4
- * @author chitanda
5
- * @date 2022-11-03 10:11:08
6
- * @export
7
- * @class PluginStaticResource
8
- */
9
- export declare class PluginStaticResource {
10
- /**
11
- * 计算出的静态资源跟路径
12
- *
13
- * @author chitanda
14
- * @date 2022-11-03 10:11:08
15
- * @protected
16
- * @type {string}
17
- */
18
- protected baseDir: string;
19
- /**
20
- * 已经输出过路径的 style 标签
21
- *
22
- * @author chitanda
23
- * @date 2023-03-23 10:03:38
24
- * @protected
25
- * @type {Map<string, null>}
26
- */
27
- protected styleElementMap: Map<string, null>;
28
- /**
29
- * mete 路径解析对象
30
- *
31
- * @author chitanda
32
- * @date 2023-07-06 20:07:36
33
- * @protected
34
- * @type {URL}
35
- */
36
- protected url: URL;
37
- /**
38
- * 插件静态资源工具类.
39
- *
40
- * @author chitanda
41
- * @date 2022-11-03 10:11:41
42
- * @param {string} mateUrl import.mate.url
43
- */
44
- constructor(mateUrl: string);
45
- /**
46
- * 合并输出静态资源目录
47
- *
48
- * @author chitanda
49
- * @date 2022-11-03 10:11:39
50
- * @param {string} pathStr
51
- * @return {*} {string}
52
- */
53
- dir(pathStr: string): string;
54
- /**
55
- * 加载样式静态资源
56
- *
57
- * @author chitanda
58
- * @date 2023-03-23 10:03:49
59
- * @param {string[]} urls
60
- * @return {*} {Promise<void>}
61
- */
62
- loadStyle(urls: string[]): Promise<void>;
63
- }
@@ -1,29 +0,0 @@
1
- /**
2
- * 创建UUID
3
- *
4
- * @author chitanda
5
- * @date 2023-10-13 16:10:17
6
- * @export
7
- * @return {*} {string}
8
- */
9
- export declare function createUUID(): string;
10
- export declare class TextUtil {
11
- /**
12
- * input元素,用于存储拷贝的文本
13
- *
14
- * @author zhanghengfeng
15
- * @date 2023-08-31 20:08:06
16
- * @private
17
- * @type {(HTMLInputElement | null)}
18
- */
19
- static inputElement: HTMLInputElement | null;
20
- /**
21
- * 拷贝文本
22
- *
23
- * @author zhanghengfeng
24
- * @date 2023-08-31 11:08:51
25
- * @param {string} value
26
- * @return {*} {boolean}
27
- */
28
- static copy(value: string): boolean;
29
- }