@8wave/ai-elements 0.110.0-beta.4 → 0.111.0-beta.3

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 (74) hide show
  1. package/README.md +1 -0
  2. package/dist/_chunks/{PkToolRequestGeolocation-CEVpl50q.js → PkToolRequestGeolocation-OokLeTf1.js} +2 -2
  3. package/dist/_chunks/PkToolRequestGeolocation-OokLeTf1.js.map +1 -0
  4. package/dist/_chunks/{PkToolRequestOAuthConnection-CncDU-Kl.js → PkToolRequestOAuthConnection-CtqKG6Yb.js} +2 -2
  5. package/dist/_chunks/PkToolRequestOAuthConnection-CtqKG6Yb.js.map +1 -0
  6. package/dist/_chunks/{PkToolShowDiagram-Hy9qh68O.js → PkToolShowDiagram-BdmG9gm8.js} +2 -2
  7. package/dist/_chunks/{PkToolShowDiagram-Hy9qh68O.js.map → PkToolShowDiagram-BdmG9gm8.js.map} +1 -1
  8. package/dist/_chunks/{PkToolShowSources-B69JmwbZ.js → PkToolShowSources-Dot-W0Mj.js} +2 -2
  9. package/dist/_chunks/PkToolShowSources-Dot-W0Mj.js.map +1 -0
  10. package/dist/ai-elements.es.js +18 -47
  11. package/dist/ai-elements.es.js.map +1 -1
  12. package/dist-vue/PkChatbot.js +1 -1
  13. package/dist-vue/PkChatbotFilePreview.js +1 -1
  14. package/dist-vue/PkChatbotInput.js +1 -1
  15. package/dist-vue/PkChatbotMessages.js +1 -1
  16. package/dist-vue/PkChatbotSteps.js +1 -1
  17. package/dist-vue/PkChatbotViewChat.js +1 -1
  18. package/dist-vue/PkChatbotViewConversations.js +1 -1
  19. package/dist-vue/PkChatbotViewFiles.js +1 -1
  20. package/dist-vue/PkChatbotViewProfile.js +1 -1
  21. package/dist-vue/_chunks/{PkChatbot-o7k7d-fj.js → PkChatbot-BPKSPIeC.js} +6 -6
  22. package/dist-vue/_chunks/{PkChatbot-o7k7d-fj.js.map → PkChatbot-BPKSPIeC.js.map} +1 -1
  23. package/dist-vue/_chunks/{PkChatbotFilePreview-DO1wZPPj.js → PkChatbotFilePreview-CwiVQDF2.js} +3 -3
  24. package/dist-vue/_chunks/PkChatbotFilePreview-CwiVQDF2.js.map +1 -0
  25. package/dist-vue/_chunks/{PkChatbotInput-D8x52cVm.js → PkChatbotInput-JnHaRlfk.js} +3 -3
  26. package/dist-vue/_chunks/PkChatbotInput-JnHaRlfk.js.map +1 -0
  27. package/dist-vue/_chunks/{PkChatbotMessages-BFlU046I.js → PkChatbotMessages-DAlkoMkY.js} +9 -9
  28. package/dist-vue/_chunks/PkChatbotMessages-DAlkoMkY.js.map +1 -0
  29. package/dist-vue/_chunks/{PkChatbotSteps-DtV1beDc.js → PkChatbotSteps-rommD48p.js} +3 -3
  30. package/dist-vue/_chunks/PkChatbotSteps-rommD48p.js.map +1 -0
  31. package/dist-vue/_chunks/{PkChatbotViewChat-CNH_glPI.js → PkChatbotViewChat-CEqzF1G9.js} +5 -5
  32. package/dist-vue/_chunks/{PkChatbotViewChat-CNH_glPI.js.map → PkChatbotViewChat-CEqzF1G9.js.map} +1 -1
  33. package/dist-vue/_chunks/{PkChatbotViewConversations-BENvHLZt.js → PkChatbotViewConversations-C787v5ll.js} +2 -2
  34. package/dist-vue/_chunks/{PkChatbotViewConversations-BENvHLZt.js.map → PkChatbotViewConversations-C787v5ll.js.map} +1 -1
  35. package/dist-vue/_chunks/{PkChatbotViewFiles-qmLESi1V.js → PkChatbotViewFiles-CNFLt8YO.js} +2 -2
  36. package/dist-vue/_chunks/{PkChatbotViewFiles-qmLESi1V.js.map → PkChatbotViewFiles-CNFLt8YO.js.map} +1 -1
  37. package/dist-vue/_chunks/{PkChatbotViewProfile-DzfZnitQ.js → PkChatbotViewProfile-7p0ci3qm.js} +2 -2
  38. package/dist-vue/_chunks/{PkChatbotViewProfile-DzfZnitQ.js.map → PkChatbotViewProfile-7p0ci3qm.js.map} +1 -1
  39. package/dist-vue/_chunks/{PkSvgViewer-DPpE9fiz.js → PkSvgViewer-D-0M5bqg.js} +2 -2
  40. package/dist-vue/_chunks/{PkSvgViewer-DPpE9fiz.js.map → PkSvgViewer-D-0M5bqg.js.map} +1 -1
  41. package/dist-vue/_chunks/{PkToolRequestGeolocation-D1ZPmWiB.js → PkToolRequestGeolocation-Bxqz9oSo.js} +2 -2
  42. package/dist-vue/_chunks/PkToolRequestGeolocation-Bxqz9oSo.js.map +1 -0
  43. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CoJyKEE6.js → PkToolRequestOAuthConnection-C6rXgb0s.js} +2 -2
  44. package/dist-vue/_chunks/PkToolRequestOAuthConnection-C6rXgb0s.js.map +1 -0
  45. package/dist-vue/_chunks/{PkToolShowDiagram-DuDp5EHd.js → PkToolShowDiagram-dwCVZ1up.js} +4 -4
  46. package/dist-vue/_chunks/PkToolShowDiagram-dwCVZ1up.js.map +1 -0
  47. package/dist-vue/_chunks/{PkToolShowImageGallery-V9U3LJfF.js → PkToolShowImageGallery-DudQzBx4.js} +2 -2
  48. package/dist-vue/_chunks/{PkToolShowImageGallery-V9U3LJfF.js.map → PkToolShowImageGallery-DudQzBx4.js.map} +1 -1
  49. package/dist-vue/_chunks/{PkToolShowSources-BvWOzVkQ.js → PkToolShowSources-7Q5Iogxi.js} +2 -2
  50. package/dist-vue/_chunks/PkToolShowSources-7Q5Iogxi.js.map +1 -0
  51. package/dist-vue/_chunks/{createChatbotApiClient-CJ_5_3IT.js → createChatbotApiClient-D9f69brW.js} +5 -2
  52. package/dist-vue/_chunks/createChatbotApiClient-D9f69brW.js.map +1 -0
  53. package/dist-vue/_chunks/{useChatbotStore-CiRAuq7v.js → useChatbotStore-9Cw_oR6J.js} +2 -2
  54. package/dist-vue/_chunks/{useChatbotStore-CiRAuq7v.js.map → useChatbotStore-9Cw_oR6J.js.map} +1 -1
  55. package/dist-vue/api.js +1 -1
  56. package/dist-vue/composables.js +2 -2
  57. package/dist-vue/index.js +30 -19
  58. package/dist-vue/index.js.map +1 -1
  59. package/dist-vue/packages/components/src/table/PkTableSortable.d.ts +8 -0
  60. package/dist-vue/packages/models/src/schema/Chat.d.ts +21 -0
  61. package/dist-vue/style.css +1 -1
  62. package/package.json +1 -1
  63. package/dist/_chunks/PkToolRequestGeolocation-CEVpl50q.js.map +0 -1
  64. package/dist/_chunks/PkToolRequestOAuthConnection-CncDU-Kl.js.map +0 -1
  65. package/dist/_chunks/PkToolShowSources-B69JmwbZ.js.map +0 -1
  66. package/dist-vue/_chunks/PkChatbotFilePreview-DO1wZPPj.js.map +0 -1
  67. package/dist-vue/_chunks/PkChatbotInput-D8x52cVm.js.map +0 -1
  68. package/dist-vue/_chunks/PkChatbotMessages-BFlU046I.js.map +0 -1
  69. package/dist-vue/_chunks/PkChatbotSteps-DtV1beDc.js.map +0 -1
  70. package/dist-vue/_chunks/PkToolRequestGeolocation-D1ZPmWiB.js.map +0 -1
  71. package/dist-vue/_chunks/PkToolRequestOAuthConnection-CoJyKEE6.js.map +0 -1
  72. package/dist-vue/_chunks/PkToolShowDiagram-DuDp5EHd.js.map +0 -1
  73. package/dist-vue/_chunks/PkToolShowSources-BvWOzVkQ.js.map +0 -1
  74. package/dist-vue/_chunks/createChatbotApiClient-CJ_5_3IT.js.map +0 -1
@@ -75,6 +75,14 @@ declare const __VLS_export: <TableRow extends Record<string | number | symbol, a
75
75
  type: BooleanConstructor;
76
76
  default: boolean;
77
77
  };
78
+ rowHover: {
79
+ type: BooleanConstructor;
80
+ default: boolean;
81
+ };
82
+ rowClass: {
83
+ type: PropType<(row: TableRow, index: number) => string | string[] | Record<string, boolean> | undefined>;
84
+ default: undefined;
85
+ };
78
86
  }> & {
79
87
  "onUpdate:limit"?: ((...args: any[]) => any) | undefined;
80
88
  "onUpdate:page"?: ((...args: any[]) => any) | undefined;
@@ -247,6 +247,27 @@ export declare const ChatRequestSchema: z.ZodObject<{
247
247
  smoothStream: z.ZodOptional<z.ZodBoolean>;
248
248
  }, z.core.$strip>;
249
249
  export type ChatRequest = z.infer<typeof ChatRequestSchema>;
250
+ /**
251
+ * What the chat route validates on the way in.
252
+ *
253
+ * Deliberately not `ChatRequestSchema`: a turn resumed after a client tool or
254
+ * a tool approval posts the assistant message back, whose parts are tool
255
+ * calls, and the part union above accepts text and files only. Pinning the
256
+ * body to it would answer 400 to a legitimate resume. So this validates the
257
+ * envelope the turn cannot run without and lets the rest through untouched
258
+ * (`loose`), which is also why the overrides the client sends still reach the
259
+ * service.
260
+ *
261
+ * The id is minted by the client and read back as a row key: without it the
262
+ * lookup ran with `undefined` and the route answered 500 instead of 400
263
+ * (found 2026-09-21).
264
+ */
265
+ export declare const ChatRequestEnvelopeSchema: z.ZodObject<{
266
+ id: z.ZodString;
267
+ messages: z.ZodArray<z.ZodObject<{
268
+ role: z.ZodString;
269
+ }, z.core.$loose>>;
270
+ }, z.core.$loose>;
250
271
  export declare enum BlockedReasonCode {
251
272
  SevereAbuse = "severe_abuse",
252
273
  HighRiskScore = "high_risk_score",