@ibiz-template/vue3-components 0.7.41-alpha.164 → 0.7.41-alpha.166

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 (34) hide show
  1. package/dist/{index-DWRQ9IG6.js → index-CCoBeNIV.js} +6 -6
  2. package/dist/{index.es-BJBzhTrX.js → index.es-D1vng-7i.js} +1 -1
  3. package/dist/index.min.css +1 -1
  4. package/dist/index.system.min.js +1 -1
  5. package/dist/{wang-editor-DtLGL_ju.js → wang-editor-B0ZpE6o-.js} +1 -1
  6. package/dist/{xlsx-util-k3HzMMjk.js → xlsx-util-Djaaq9Po.js} +1 -1
  7. package/es/editor/index.mjs +8 -0
  8. package/es/editor/work-space/embed-work-space/embed-work-space.css +1 -0
  9. package/es/editor/work-space/embed-work-space/embed-work-space.mjs +75 -0
  10. package/es/editor/work-space/embed-work-space.controller.mjs +62 -0
  11. package/es/editor/work-space/embed-work-space.provider.mjs +22 -0
  12. package/es/editor/work-space/index.mjs +5 -0
  13. package/es/util/ai-chat-util/ai-chat-util.mjs +311 -252
  14. package/es/util/message-util/message-util.mjs +12 -8
  15. package/es/util/notification-util/notification-util.mjs +1 -0
  16. package/lib/editor/index.cjs +8 -0
  17. package/lib/editor/work-space/embed-work-space/embed-work-space.cjs +77 -0
  18. package/lib/editor/work-space/embed-work-space/embed-work-space.css +1 -0
  19. package/lib/editor/work-space/embed-work-space.controller.cjs +64 -0
  20. package/lib/editor/work-space/embed-work-space.provider.cjs +24 -0
  21. package/lib/editor/work-space/index.cjs +11 -0
  22. package/lib/util/ai-chat-util/ai-chat-util.cjs +311 -252
  23. package/lib/util/message-util/message-util.cjs +12 -8
  24. package/lib/util/notification-util/notification-util.cjs +1 -0
  25. package/package.json +5 -5
  26. package/src/editor/index.ts +7 -1
  27. package/src/editor/work-space/embed-work-space/embed-work-space.scss +8 -0
  28. package/src/editor/work-space/embed-work-space/embed-work-space.tsx +78 -0
  29. package/src/editor/work-space/embed-work-space.controller.ts +70 -0
  30. package/src/editor/work-space/embed-work-space.provider.ts +28 -0
  31. package/src/editor/work-space/index.ts +3 -0
  32. package/src/util/ai-chat-util/ai-chat-util.ts +391 -287
  33. package/src/util/message-util/message-util.ts +8 -0
  34. package/src/util/notification-util/notification-util.ts +1 -0
@@ -19,11 +19,13 @@ export class MessageUtil implements IMessageUtil {
19
19
  msg: string,
20
20
  duration?: number | undefined,
21
21
  closable?: boolean | undefined,
22
+ options: IParams = {},
22
23
  ): void {
23
24
  ElMessage.info({
24
25
  message: msg,
25
26
  duration: duration ? duration * 1000 : duration,
26
27
  showClose: closable,
28
+ ...options,
27
29
  });
28
30
  }
29
31
 
@@ -31,11 +33,13 @@ export class MessageUtil implements IMessageUtil {
31
33
  msg: string,
32
34
  duration?: number | undefined,
33
35
  closable?: boolean | undefined,
36
+ options: IParams = {},
34
37
  ): void {
35
38
  ElMessage.success({
36
39
  message: msg,
37
40
  duration: duration ? duration * 1000 : duration,
38
41
  showClose: closable,
42
+ ...options,
39
43
  });
40
44
  }
41
45
 
@@ -43,11 +47,13 @@ export class MessageUtil implements IMessageUtil {
43
47
  msg: string,
44
48
  duration?: number | undefined,
45
49
  closable?: boolean | undefined,
50
+ options: IParams = {},
46
51
  ): void {
47
52
  ElMessage.warning({
48
53
  message: msg,
49
54
  duration: duration ? duration * 1000 : duration,
50
55
  showClose: closable,
56
+ ...options,
51
57
  });
52
58
  }
53
59
 
@@ -55,11 +61,13 @@ export class MessageUtil implements IMessageUtil {
55
61
  msg: string,
56
62
  duration?: number | undefined,
57
63
  closable?: boolean | undefined,
64
+ options: IParams = {},
58
65
  ): void {
59
66
  ElMessage.error({
60
67
  message: msg,
61
68
  duration: duration ? duration * 1000 : duration,
62
69
  showClose: closable,
70
+ ...options,
63
71
  });
64
72
  }
65
73
 
@@ -80,6 +80,7 @@ export class NotificationUtil implements INotificationUtil {
80
80
  position: params.position || 'top-right',
81
81
  duration,
82
82
  customClass: params.class,
83
+ appendTo: params.appendTo,
83
84
  onClick: params.onClick,
84
85
  } as NotificationParams);
85
86
  }