@8wave/ai-elements 0.86.0 → 0.88.0

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 (92) hide show
  1. package/dist/_chunks/{PkToolShowForm-Cn-H4cT2.js → PkToolShowForm-DxInI-SU.js} +2 -2
  2. package/dist/_chunks/PkToolShowForm-DxInI-SU.js.map +1 -0
  3. package/dist/ai-elements.es.js +3111 -3088
  4. package/dist/ai-elements.es.js.map +1 -1
  5. package/dist-vue/PkChatbot.js +1 -1
  6. package/dist-vue/PkChatbotMessages.js +1 -1
  7. package/dist-vue/PkChatbotViewChat.js +1 -1
  8. package/dist-vue/PkChatbotViewConversations.js +1 -1
  9. package/dist-vue/PkChatbotViewProfile.js +1 -1
  10. package/dist-vue/_chunks/{PkChatbot-BIMT0wBz.js → PkChatbot-obI_7VAa.js} +5 -5
  11. package/dist-vue/_chunks/{PkChatbot-BIMT0wBz.js.map → PkChatbot-obI_7VAa.js.map} +1 -1
  12. package/dist-vue/_chunks/{PkChatbotMessages-Dc480HRd.js → PkChatbotMessages-BTVFyrnS.js} +16 -16
  13. package/dist-vue/_chunks/{PkChatbotMessages-Dc480HRd.js.map → PkChatbotMessages-BTVFyrnS.js.map} +1 -1
  14. package/dist-vue/_chunks/{PkChatbotViewChat-5XcFKLsL.js → PkChatbotViewChat-DdY7Xuqa.js} +4 -4
  15. package/dist-vue/_chunks/{PkChatbotViewChat-5XcFKLsL.js.map → PkChatbotViewChat-DdY7Xuqa.js.map} +1 -1
  16. package/dist-vue/_chunks/{PkChatbotViewConversations-DtMC16ye.js → PkChatbotViewConversations-C8hV9Mwm.js} +2 -2
  17. package/dist-vue/_chunks/{PkChatbotViewConversations-DtMC16ye.js.map → PkChatbotViewConversations-C8hV9Mwm.js.map} +1 -1
  18. package/dist-vue/_chunks/{PkChatbotViewProfile-rwxE8oAz.js → PkChatbotViewProfile-Dk02VeJS.js} +2 -2
  19. package/dist-vue/_chunks/{PkChatbotViewProfile-rwxE8oAz.js.map → PkChatbotViewProfile-Dk02VeJS.js.map} +1 -1
  20. package/dist-vue/_chunks/{PkToolShowArtifact-CO29-4g-.js → PkToolShowArtifact-LA-xP42x.js} +2 -2
  21. package/dist-vue/_chunks/{PkToolShowArtifact-CO29-4g-.js.map → PkToolShowArtifact-LA-xP42x.js.map} +1 -1
  22. package/dist-vue/_chunks/{PkToolShowCalendarEvent-D6pBcKlC.js → PkToolShowCalendarEvent-B0fvvNqq.js} +2 -2
  23. package/dist-vue/_chunks/{PkToolShowCalendarEvent-D6pBcKlC.js.map → PkToolShowCalendarEvent-B0fvvNqq.js.map} +1 -1
  24. package/dist-vue/_chunks/{PkToolShowComparison-9sZ-wZur.js → PkToolShowComparison-CkxbcdHx.js} +2 -2
  25. package/dist-vue/_chunks/{PkToolShowComparison-9sZ-wZur.js.map → PkToolShowComparison-CkxbcdHx.js.map} +1 -1
  26. package/dist-vue/_chunks/{PkToolShowContactForm-Dpqd5tro.js → PkToolShowContactForm-Q-zWz2QT.js} +2 -2
  27. package/dist-vue/_chunks/{PkToolShowContactForm-Dpqd5tro.js.map → PkToolShowContactForm-Q-zWz2QT.js.map} +1 -1
  28. package/dist-vue/_chunks/{PkToolShowEmail-BzMs4yST.js → PkToolShowEmail-DcV3KIBI.js} +2 -2
  29. package/dist-vue/_chunks/{PkToolShowEmail-BzMs4yST.js.map → PkToolShowEmail-DcV3KIBI.js.map} +1 -1
  30. package/dist-vue/_chunks/{PkToolShowForm-BwHOBNU6.js → PkToolShowForm-YwhD8noA.js} +3 -3
  31. package/dist-vue/_chunks/PkToolShowForm-YwhD8noA.js.map +1 -0
  32. package/dist-vue/_chunks/{PkToolShowImageGallery-AY3RDKm1.js → PkToolShowImageGallery-C1r8jvlG.js} +2 -2
  33. package/dist-vue/_chunks/{PkToolShowImageGallery-AY3RDKm1.js.map → PkToolShowImageGallery-C1r8jvlG.js.map} +1 -1
  34. package/dist-vue/_chunks/{PkToolShowLocation-BNSkfQzK.js → PkToolShowLocation-BvKZaaJS.js} +2 -2
  35. package/dist-vue/_chunks/{PkToolShowLocation-BNSkfQzK.js.map → PkToolShowLocation-BvKZaaJS.js.map} +1 -1
  36. package/dist-vue/_chunks/{PkToolShowMessage-BkeZrC7V.js → PkToolShowMessage-J5IWwUjF.js} +2 -2
  37. package/dist-vue/_chunks/{PkToolShowMessage-BkeZrC7V.js.map → PkToolShowMessage-J5IWwUjF.js.map} +1 -1
  38. package/dist-vue/_chunks/{PkToolShowProductList-DSKpE_xV.js → PkToolShowProductList-D4Fap8dC.js} +2 -2
  39. package/dist-vue/_chunks/{PkToolShowProductList-DSKpE_xV.js.map → PkToolShowProductList-D4Fap8dC.js.map} +1 -1
  40. package/dist-vue/_chunks/{PkToolShowQrCode-4VvbbzaY.js → PkToolShowQrCode-BUH5vIS8.js} +2 -2
  41. package/dist-vue/_chunks/{PkToolShowQrCode-4VvbbzaY.js.map → PkToolShowQrCode-BUH5vIS8.js.map} +1 -1
  42. package/dist-vue/_chunks/{PkToolShowSources-OrX42JvT.js → PkToolShowSources-ChkWKhFd.js} +2 -2
  43. package/dist-vue/_chunks/{PkToolShowSources-OrX42JvT.js.map → PkToolShowSources-ChkWKhFd.js.map} +1 -1
  44. package/dist-vue/_chunks/{PkToolShowSuggestedReply-DwuQo5jJ.js → PkToolShowSuggestedReply-VVg-OVtH.js} +2 -2
  45. package/dist-vue/_chunks/{PkToolShowSuggestedReply-DwuQo5jJ.js.map → PkToolShowSuggestedReply-VVg-OVtH.js.map} +1 -1
  46. package/dist-vue/_chunks/{PkToolShowWebPages-DB2ZAV_5.js → PkToolShowWebPages-CbdH6FZQ.js} +2 -2
  47. package/dist-vue/_chunks/{PkToolShowWebPages-DB2ZAV_5.js.map → PkToolShowWebPages-CbdH6FZQ.js.map} +1 -1
  48. package/dist-vue/_chunks/{createChatbotApiClient-nfzYJAR8.js → createChatbotApiClient-DWRtOu7t.js} +386 -383
  49. package/dist-vue/_chunks/createChatbotApiClient-DWRtOu7t.js.map +1 -0
  50. package/dist-vue/_chunks/{dist-cI6n0Ysp.js → dist-BN5P-Pmm.js} +2 -2
  51. package/dist-vue/_chunks/{dist-cI6n0Ysp.js.map → dist-BN5P-Pmm.js.map} +1 -1
  52. package/dist-vue/_chunks/{dist-CsJGDQx2.js → dist-Bv_EQP56.js} +2 -2
  53. package/dist-vue/_chunks/{dist-CsJGDQx2.js.map → dist-Bv_EQP56.js.map} +1 -1
  54. package/dist-vue/_chunks/{dist-DSYfmLHg.js → dist-C2-7Fze7.js} +2 -2
  55. package/dist-vue/_chunks/{dist-DSYfmLHg.js.map → dist-C2-7Fze7.js.map} +1 -1
  56. package/dist-vue/_chunks/{dist-CR5js-m0.js → dist-CYAK1sKO.js} +2 -2
  57. package/dist-vue/_chunks/{dist-CR5js-m0.js.map → dist-CYAK1sKO.js.map} +1 -1
  58. package/dist-vue/_chunks/{dist-CmgWe1rp.js → dist-Cact3-tk.js} +2 -2
  59. package/dist-vue/_chunks/{dist-CmgWe1rp.js.map → dist-Cact3-tk.js.map} +1 -1
  60. package/dist-vue/_chunks/{dist-mzC92jO7.js → dist-D7NafeHu.js} +4 -4
  61. package/dist-vue/_chunks/{dist-mzC92jO7.js.map → dist-D7NafeHu.js.map} +1 -1
  62. package/dist-vue/_chunks/{dist-DFanv2QX.js → dist-DHQ8itnF.js} +2 -2
  63. package/dist-vue/_chunks/{dist-DFanv2QX.js.map → dist-DHQ8itnF.js.map} +1 -1
  64. package/dist-vue/_chunks/{dist-BNvqaw4Y.js → dist-DTPBebYZ.js} +3 -3
  65. package/dist-vue/_chunks/{dist-BNvqaw4Y.js.map → dist-DTPBebYZ.js.map} +1 -1
  66. package/dist-vue/_chunks/{dist-DW3ekwuQ.js → dist-DlXJzThT.js} +2 -2
  67. package/dist-vue/_chunks/{dist-DW3ekwuQ.js.map → dist-DlXJzThT.js.map} +1 -1
  68. package/dist-vue/_chunks/{dist-CiIh8vh_.js → dist-_Aw9VPtK.js} +3 -3
  69. package/dist-vue/_chunks/{dist-CiIh8vh_.js.map → dist-_Aw9VPtK.js.map} +1 -1
  70. package/dist-vue/_chunks/{useChatbotStore-Or_R6a3R.js → useChatbotStore-VxGMdCch.js} +1079 -1082
  71. package/dist-vue/_chunks/{useChatbotStore-Or_R6a3R.js.map → useChatbotStore-VxGMdCch.js.map} +1 -1
  72. package/dist-vue/api.js +1 -1
  73. package/dist-vue/apps/web-component/src/components/EmbeddedChatWidget.ce.d.ts +3 -0
  74. package/dist-vue/apps/web-component/src/composables/useChatbotAuth.d.ts +4 -4
  75. package/dist-vue/apps/web-component/src/lib.d.ts +1 -0
  76. package/dist-vue/composables.js +2 -2
  77. package/dist-vue/index.js +4644 -8185
  78. package/dist-vue/index.js.map +1 -1
  79. package/dist-vue/locales.js +4 -0
  80. package/dist-vue/packages/ability/src/index.d.ts +1 -2
  81. package/dist-vue/packages/ability/src/types.d.ts +10 -1
  82. package/dist-vue/packages/auth/src/index.d.ts +2 -2
  83. package/dist-vue/packages/components/src/chat/PkChatSidebarConversationItem.d.ts +2 -2
  84. package/dist-vue/packages/components/src/chat/PkChatbotAuth.d.ts +10 -10
  85. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +1 -1
  86. package/dist-vue/packages/composable/src/useJsonSchemaEditor.d.ts +3 -0
  87. package/dist-vue/packages/models/src/schema/Agent.d.ts +14 -0
  88. package/dist-vue/style.css +1 -1
  89. package/package.json +4 -5
  90. package/dist/_chunks/PkToolShowForm-Cn-H4cT2.js.map +0 -1
  91. package/dist-vue/_chunks/PkToolShowForm-BwHOBNU6.js.map +0 -1
  92. package/dist-vue/_chunks/createChatbotApiClient-nfzYJAR8.js.map +0 -1
package/dist-vue/api.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "./_chunks/createChatbotApiClient-nfzYJAR8.js";
1
+ import { t as e } from "./_chunks/createChatbotApiClient-DWRtOu7t.js";
2
2
  export { e as createChatbotApiClient };
@@ -11,6 +11,8 @@ type __VLS_Props = {
11
11
  appinsightsConnectionString?: string;
12
12
  /** Override the session/anonymous cookie name (defaults to 'eight-wave-ai'). */
13
13
  cookieName?: string;
14
+ /** Layout mode: `widget` (default, contained with header) or `fullscreen` (full-page app layout). */
15
+ displayMode?: 'widget' | 'fullscreen';
14
16
  };
15
17
  declare var __VLS_50: {}, __VLS_53: {}, __VLS_68: string, __VLS_69: {};
16
18
  type __VLS_Slots = {} & {
@@ -32,6 +34,7 @@ declare const __VLS_base: DefineComponent<__VLS_Props, {
32
34
  forwardedSlots: string;
33
35
  appinsightsConnectionString: string;
34
36
  cookieName: string;
37
+ displayMode: "widget" | "fullscreen";
35
38
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
36
39
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
37
40
  declare const _default: typeof __VLS_export;
@@ -149,7 +149,7 @@ export declare function useChatbotAuth(options?: {
149
149
  } & {
150
150
  signIn: {
151
151
  social: <FetchOptions extends ClientFetchOption<Partial<{
152
- provider: "google" | "microsoft" | "github" | "salesforce" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat" | (string & {});
152
+ provider: "google" | "microsoft" | "github" | "salesforce" | "line" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat" | (string & {});
153
153
  callbackURL?: string | undefined;
154
154
  newUserCallbackURL?: string | undefined;
155
155
  errorCallbackURL?: string | undefined;
@@ -173,7 +173,7 @@ export declare function useChatbotAuth(options?: {
173
173
  loginHint?: string | undefined;
174
174
  additionalData?: Record<string, any> | undefined;
175
175
  }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: Prettify<{
176
- provider: "google" | "microsoft" | "github" | "salesforce" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat" | (string & {});
176
+ provider: "google" | "microsoft" | "github" | "salesforce" | "line" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat" | (string & {});
177
177
  callbackURL?: string | undefined;
178
178
  newUserCallbackURL?: string | undefined;
179
179
  errorCallbackURL?: string | undefined;
@@ -1415,7 +1415,7 @@ export declare function useChatbotAuth(options?: {
1415
1415
  };
1416
1416
  }>;
1417
1417
  signInSocial: <FetchOptions extends ClientFetchOption<Partial<{
1418
- provider: "google" | "microsoft" | "github" | "salesforce" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat" | (string & {});
1418
+ provider: "google" | "microsoft" | "github" | "salesforce" | "line" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat" | (string & {});
1419
1419
  callbackURL?: string | undefined;
1420
1420
  newUserCallbackURL?: string | undefined;
1421
1421
  errorCallbackURL?: string | undefined;
@@ -1439,7 +1439,7 @@ export declare function useChatbotAuth(options?: {
1439
1439
  loginHint?: string | undefined;
1440
1440
  additionalData?: Record<string, any> | undefined;
1441
1441
  }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: Prettify<{
1442
- provider: "google" | "microsoft" | "github" | "salesforce" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat" | (string & {});
1442
+ provider: "google" | "microsoft" | "github" | "salesforce" | "line" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat" | (string & {});
1443
1443
  callbackURL?: string | undefined;
1444
1444
  newUserCallbackURL?: string | undefined;
1445
1445
  errorCallbackURL?: string | undefined;
@@ -22,6 +22,7 @@ export declare const EmbeddedChatWidgetCe: VueElementConstructor<{
22
22
  customCss?: string;
23
23
  appinsightsConnectionString?: string;
24
24
  cookieName?: string;
25
+ displayMode?: "widget" | "fullscreen";
25
26
  }>;
26
27
  declare module 'vue' {
27
28
  interface GlobalComponents {
@@ -1,5 +1,5 @@
1
- import { t as e } from "./_chunks/useChatbotStore-Or_R6a3R.js";
2
- import { t } from "./_chunks/createChatbotApiClient-nfzYJAR8.js";
1
+ import { t as e } from "./_chunks/useChatbotStore-VxGMdCch.js";
2
+ import { t } from "./_chunks/createChatbotApiClient-DWRtOu7t.js";
3
3
  import { g as n } from "./_chunks/src-eflR9S8N.js";
4
4
  import { t as r } from "./_chunks/useLocalizedString-3DzUxOKq.js";
5
5
  import { d as i } from "./_chunks/utils-QI624djK.js";