@8wave/ai-elements 0.112.0-beta.13 → 0.112.0-beta.17
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/dist/_chunks/markdown-BRD-hDrH.js.map +1 -1
- package/dist/_chunks/{web-Dzr6HJ14.js → web-CEmtEYdH.js} +89 -65
- package/dist/_chunks/web-CEmtEYdH.js.map +1 -0
- package/dist/ai-elements.es.js +2807 -3033
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotAuth.js +1 -1
- package/dist-vue/PkChatbotMessages.js +1 -1
- package/dist-vue/PkChatbotViewChat.js +1 -1
- package/dist-vue/PkChatbotViewConversations.js +1 -1
- package/dist-vue/PkChatbotViewFiles.js +1 -1
- package/dist-vue/PkChatbotViewProfile.js +1 -1
- package/dist-vue/_chunks/{Document-B6RpxFr9.js → Document-2X01-F4Z.js} +2 -2
- package/dist-vue/_chunks/Document-2X01-F4Z.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbot-C0pf6xeZ.js → PkChatbot-C11EVHnI.js} +6 -6
- package/dist-vue/_chunks/{PkChatbot-C0pf6xeZ.js.map → PkChatbot-C11EVHnI.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotAuth-AxAOI9t2.js → PkChatbotAuth-Bi508F1u.js} +57 -57
- package/dist-vue/_chunks/PkChatbotAuth-Bi508F1u.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotMessages-HbKhrhbg.js → PkChatbotMessages-BD-vUak6.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotMessages-HbKhrhbg.js.map → PkChatbotMessages-BD-vUak6.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-DdxvITNb.js → PkChatbotViewChat-DJnjuhjt.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotViewChat-DdxvITNb.js.map → PkChatbotViewChat-DJnjuhjt.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewConversations-CWSrP36z.js → PkChatbotViewConversations-BCdolW0R.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewConversations-CWSrP36z.js.map → PkChatbotViewConversations-BCdolW0R.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-DzLp1WfU.js → PkChatbotViewFiles-Cudao8ew.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-DzLp1WfU.js.map → PkChatbotViewFiles-Cudao8ew.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-CHbn3W6F.js → PkChatbotViewProfile-DDsKOkcC.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-CHbn3W6F.js.map → PkChatbotViewProfile-DDsKOkcC.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-BWCBuXH8.js → PkToolShowDiagram-RtkI_sKL.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-BWCBuXH8.js.map → PkToolShowDiagram-RtkI_sKL.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-Cc26LzRd.js → PkToolShowSources-gI947JOm.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSources-Cc26LzRd.js.map → PkToolShowSources-gI947JOm.js.map} +1 -1
- package/dist-vue/_chunks/{useChatbotStore-CMS2zFht.js → useChatbotStore-BwrBZJCq.js} +944 -1259
- package/dist-vue/_chunks/useChatbotStore-BwrBZJCq.js.map +1 -0
- package/dist-vue/_chunks/{web-Dzr6HJ14.js → web-CEmtEYdH.js} +89 -65
- package/dist-vue/_chunks/web-CEmtEYdH.js.map +1 -0
- package/dist-vue/apps/web-component/src/composables/useChatbotAuthForm.d.ts +0 -1
- package/dist-vue/composables.js +2807 -80
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +12 -12
- package/dist-vue/packages/models/src/schema/User.d.ts +10 -0
- package/dist-vue/packages/models/src/schema/constants.d.ts +1 -1
- package/package.json +3 -3
- package/dist/_chunks/web-Dzr6HJ14.js.map +0 -1
- package/dist-vue/_chunks/Document-B6RpxFr9.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotAuth-AxAOI9t2.js.map +0 -1
- package/dist-vue/_chunks/useChatbotStore-CMS2zFht.js.map +0 -1
- package/dist-vue/_chunks/web-Dzr6HJ14.js.map +0 -1
package/dist-vue/index.js
CHANGED
|
@@ -3,18 +3,18 @@ import { i as t, r as n, t as r } from "./_chunks/PkToolShowForm-IPAkJIXh.js";
|
|
|
3
3
|
import { C as i, S as a, _ as o, a as s, b as c, d as l, g as u, l as d, n as f, o as p, p as m, w as h, y as g } from "./_chunks/schemas-DxbHVg3r.js";
|
|
4
4
|
import { i as _, r as v } from "./_chunks/Media-_HfFLHGD.js";
|
|
5
5
|
import { C as y, D as ee, E as b, N as x, S, T as C, _ as te, b as w, d as ne, f as re, h as ie, i as ae, m as oe, n as T, o as se, r as ce, t as le, v as ue, w as de, y as fe } from "./_chunks/Agent-BNlmK-uJ.js";
|
|
6
|
-
import { c as pe, d as me, l as he, r as ge, s as _e, t as ve, u as ye } from "./_chunks/Document-
|
|
6
|
+
import { c as pe, d as me, l as he, r as ge, s as _e, t as ve, u as ye } from "./_chunks/Document-2X01-F4Z.js";
|
|
7
7
|
import { i as be, n as xe } from "./_chunks/createChatbotApiClient-CaVLm5W9.js";
|
|
8
|
-
import { t as Se } from "./_chunks/PkChatbotAuth-
|
|
8
|
+
import { t as Se } from "./_chunks/PkChatbotAuth-Bi508F1u.js";
|
|
9
9
|
import { t as Ce } from "./_chunks/PkStreamingMarkdown-BoEpwaYQ.js";
|
|
10
|
-
import { a as we, i as Te, n as Ee, r as De } from "./_chunks/useChatbotStore-
|
|
10
|
+
import { a as we, i as Te, n as Ee, r as De } from "./_chunks/useChatbotStore-BwrBZJCq.js";
|
|
11
11
|
import "./_chunks/src-DT8FLE4_.js";
|
|
12
12
|
import { c as Oe, i as ke, s as Ae } from "./_chunks/message-RohfrdWS.js";
|
|
13
|
-
import { i as je, n as Me, r as Ne, t as Pe } from "./_chunks/PkChatbotMessages-
|
|
13
|
+
import { i as je, n as Me, r as Ne, t as Pe } from "./_chunks/PkChatbotMessages-BD-vUak6.js";
|
|
14
14
|
import { t as Fe } from "./_chunks/useSafeLocalStorage-Ce3S1Ayn.js";
|
|
15
15
|
import { t as Ie } from "./_chunks/useDialogConfirm-KWz0ohCQ.js";
|
|
16
|
-
import { n as Le, r as Re, t as ze } from "./_chunks/PkChatbotViewConversations-
|
|
17
|
-
import { i as Be, n as Ve, r as He, t as Ue } from "./_chunks/PkChatbotViewChat-
|
|
16
|
+
import { n as Le, r as Re, t as ze } from "./_chunks/PkChatbotViewConversations-BCdolW0R.js";
|
|
17
|
+
import { i as Be, n as Ve, r as He, t as Ue } from "./_chunks/PkChatbotViewChat-DJnjuhjt.js";
|
|
18
18
|
import { t as We } from "./_chunks/PkChatbotError-CuX9C_b9.js";
|
|
19
19
|
import { t as Ge } from "./_chunks/useImageFallback-5vQIO0pC.js";
|
|
20
20
|
import { t as Ke } from "./_chunks/useLocalizedString-PfaKjIQY.js";
|
|
@@ -35,9 +35,9 @@ import { t as yn } from "./_chunks/PkChatbotStepPayload-DU0W-eUp.js";
|
|
|
35
35
|
import { t as bn } from "./_chunks/PkChatbotStepToolDetail-etlBryOg.js";
|
|
36
36
|
import { n as xn, t as Sn } from "./_chunks/PkChatbotInput-Dkz3SNAk.js";
|
|
37
37
|
import { t as Cn } from "./_chunks/PkChatbotEmptyState-CacY4o02.js";
|
|
38
|
-
import { t as wn } from "./_chunks/PkChatbotViewProfile-
|
|
39
|
-
import { t as Tn } from "./_chunks/PkChatbot-
|
|
40
|
-
import { i as En, r as Dn, t as On } from "./_chunks/PkToolShowSources-
|
|
38
|
+
import { t as wn } from "./_chunks/PkChatbotViewProfile-DDsKOkcC.js";
|
|
39
|
+
import { t as Tn } from "./_chunks/PkChatbot-C11EVHnI.js";
|
|
40
|
+
import { i as En, r as Dn, t as On } from "./_chunks/PkToolShowSources-gI947JOm.js";
|
|
41
41
|
import { t as kn } from "./_chunks/PkToolShowEmail-CRQjoJr1.js";
|
|
42
42
|
import { t as An } from "./_chunks/PkToolShowMessage-joTzAg9N.js";
|
|
43
43
|
import { t as jn } from "./_chunks/PkToolShowWebPages-D3Xy4iUs.js";
|
|
@@ -463,7 +463,7 @@ var Hi = { class: "flex items-center gap-4 mb-4" }, Ui = { class: "font-semibold
|
|
|
463
463
|
}
|
|
464
464
|
});
|
|
465
465
|
//#endregion
|
|
466
|
-
//#region virtual:intlify-i18n-
|
|
466
|
+
//#region virtual:intlify-i18n-0
|
|
467
467
|
function Yi(e) {
|
|
468
468
|
let t = e;
|
|
469
469
|
t.__i18n = t.__i18n || [], t.__i18n.push({
|
|
@@ -572,7 +572,7 @@ var Xi = Ji, Zi = { class: "flex items-center gap-4 mb-4" }, Qi = { class: "font
|
|
|
572
572
|
}
|
|
573
573
|
});
|
|
574
574
|
//#endregion
|
|
575
|
-
//#region virtual:intlify-i18n-
|
|
575
|
+
//#region virtual:intlify-i18n-1
|
|
576
576
|
function sa(e) {
|
|
577
577
|
let t = e;
|
|
578
578
|
t.__i18n = t.__i18n || [], t.__i18n.push({
|
|
@@ -679,7 +679,7 @@ var ca = oa, la = { class: "flex items-center gap-4 mb-4" }, ua = { class: "font
|
|
|
679
679
|
}
|
|
680
680
|
});
|
|
681
681
|
//#endregion
|
|
682
|
-
//#region virtual:intlify-i18n-
|
|
682
|
+
//#region virtual:intlify-i18n-2
|
|
683
683
|
function ga(e) {
|
|
684
684
|
let t = e;
|
|
685
685
|
t.__i18n = t.__i18n || [], t.__i18n.push({
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import { StoragePolicy } from './Media';
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
+
/** Shortest password better-auth accepts, see `packages/auth`. */
|
|
4
|
+
export declare const PASSWORD_MIN_LENGTH = 8;
|
|
5
|
+
/**
|
|
6
|
+
* Longest password better-auth accepts. Since better-auth 1.7.6 a longer one
|
|
7
|
+
* is refused on sign-in too (`PASSWORD_TOO_LONG`), so every form checks it
|
|
8
|
+
* before sending and shows the translated validation error instead.
|
|
9
|
+
*/
|
|
10
|
+
export declare const PASSWORD_MAX_LENGTH = 64;
|
|
11
|
+
/** A password as better-auth accepts it, for every form that sends one. */
|
|
12
|
+
export declare const PasswordSchema: z.ZodString;
|
|
3
13
|
export declare const UserSchema: z.ZodObject<{
|
|
4
14
|
id: z.ZodString;
|
|
5
15
|
name: z.ZodString;
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* A test checks every id against a saved copy of the listing, which is what
|
|
18
18
|
* replaces the by-hand verification that missed a model on 2026-09-18.
|
|
19
19
|
*/
|
|
20
|
-
export declare const GATEWAY_MODELS: readonly ["openai/gpt-5-nano", "openai/gpt-5-mini", "openai/gpt-5.1-thinking", "openai/gpt-5.2", "openai/gpt-5.4-nano", "openai/gpt-5.4-mini", "openai/gpt-5.4", "openai/gpt-5.4-pro", "openai/gpt-5.5", "openai/gpt-5.5-pro", "openai/gpt-5.6-luna", "openai/gpt-5.6-terra", "openai/gpt-5.6-sol", "openai/gpt-5.6-luna-fast", "openai/gpt-5.6-terra-fast", "openai/gpt-5.6-sol-fast", "openai/gpt-6-astra", "openai/gpt-6-astra-fast", "openai/gpt-6-sol", "openai/gpt-6-sol-fast", "openai/gpt-6-luna", "openai/gpt-6-luna-fast", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash", "google/gemini-2.5-pro", "google/gemini-3-flash", "google/gemini-3.1-pro-preview", "google/gemini-3.1-flash-lite", "google/gemini-3.5-flash", "google/gemini-3.5-flash-lite", "google/gemini-3.6-flash", "google/gemini-3.7-flash", "google/gemini-3.8-flash", "anthropic/claude-haiku-4.5", "anthropic/claude-sonnet-4.6", "anthropic/claude-sonnet-5", "anthropic/claude-sonnet-5.5", "anthropic/claude-opus-4.6", "anthropic/claude-opus-4.7", "anthropic/claude-opus-4.8", "anthropic/claude-opus-5", "anthropic/claude-opus-5-fast", "anthropic/claude-opus-5.5", "anthropic/claude-opus-5.5-fast", "anthropic/claude-fable-5", "anthropic/claude-fable-5.1", "deepseek/deepseek-v3.2", "deepseek/deepseek-v4-flash-0731", "deepseek/deepseek-v4.1-flash", "deepseek/deepseek-v4-pro-0813", "alibaba/qwen3.6-plus", "alibaba/qwen3.7-max", "alibaba/qwen3.7-plus", "alibaba/qwen3.7-flash", "alibaba/qwen3.8-flash", "alibaba/qwen3.8-max", "alibaba/qwen3.8-27b", "alibaba/qwen3.8-max-0902", "alibaba/qwen3.8-omni-flash", "alibaba/qwen3.8-max-prime", "spacexai/grok-4.3", "spacexai/grok-4.6", "spacexai/grok-4.7", "zai/glm-5.2", "zai/glm-5.2-fast", "zai/glm-5.3", "zai/glm-5.3-flash", "zai/glm-5.3-fast", "zai/glm-5.3-flashx", "meta/muse-spark-1.1", "meta/muse-spark-1.2", "meta/muse-spark-1.3", "moonshotai/kimi-k3", "moonshotai/kimi-k3-fast", "mistral/ministral-14b", "mistral/mistral-small", "mistral/mistral-medium-3.5", "mistral/mistral-large-3", "xiaomi/mimo-v2.6-flash", "xiaomi/mimo-v2.6-pro", "xiaomi/mimo-v2.6-pro-ultraspeed"];
|
|
20
|
+
export declare const GATEWAY_MODELS: readonly ["openai/gpt-5-nano", "openai/gpt-5-mini", "openai/gpt-5.1-thinking", "openai/gpt-5.2", "openai/gpt-5.4-nano", "openai/gpt-5.4-mini", "openai/gpt-5.4", "openai/gpt-5.4-pro", "openai/gpt-5.5", "openai/gpt-5.5-pro", "openai/gpt-5.6-luna", "openai/gpt-5.6-terra", "openai/gpt-5.6-sol", "openai/gpt-5.6-luna-fast", "openai/gpt-5.6-terra-fast", "openai/gpt-5.6-sol-fast", "openai/gpt-6-astra", "openai/gpt-6-astra-fast", "openai/gpt-6-sol", "openai/gpt-6-sol-fast", "openai/gpt-6-luna", "openai/gpt-6-luna-fast", "openai/gpt-6.1-sol", "openai/gpt-6.1-sol-fast", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash", "google/gemini-2.5-pro", "google/gemini-3-flash", "google/gemini-3.1-pro-preview", "google/gemini-3.1-flash-lite", "google/gemini-3.5-flash", "google/gemini-3.5-flash-lite", "google/gemini-3.6-flash", "google/gemini-3.7-flash", "google/gemini-3.8-flash", "anthropic/claude-haiku-4.5", "anthropic/claude-sonnet-4.6", "anthropic/claude-sonnet-5", "anthropic/claude-sonnet-5.5", "anthropic/claude-opus-4.6", "anthropic/claude-opus-4.7", "anthropic/claude-opus-4.8", "anthropic/claude-opus-5", "anthropic/claude-opus-5-fast", "anthropic/claude-opus-5.5", "anthropic/claude-opus-5.5-fast", "anthropic/claude-fable-5", "anthropic/claude-fable-5.1", "deepseek/deepseek-v3.2", "deepseek/deepseek-v4-flash-0731", "deepseek/deepseek-v4.1-flash", "deepseek/deepseek-v4-pro-0813", "alibaba/qwen3.6-plus", "alibaba/qwen3.7-max", "alibaba/qwen3.7-plus", "alibaba/qwen3.7-flash", "alibaba/qwen3.8-flash", "alibaba/qwen3.8-max", "alibaba/qwen3.8-27b", "alibaba/qwen3.8-max-0902", "alibaba/qwen3.8-omni-flash", "alibaba/qwen3.8-max-prime", "spacexai/grok-4.3", "spacexai/grok-4.6", "spacexai/grok-4.7", "zai/glm-5.2", "zai/glm-5.2-fast", "zai/glm-5.3", "zai/glm-5.3-flash", "zai/glm-5.3-fast", "zai/glm-5.3-flashx", "meta/muse-spark-1.1", "meta/muse-spark-1.2", "meta/muse-spark-1.3", "moonshotai/kimi-k3", "moonshotai/kimi-k3-fast", "mistral/ministral-14b", "mistral/mistral-small", "mistral/mistral-medium-3.5", "mistral/mistral-large-3", "xiaomi/mimo-v2.6-flash", "xiaomi/mimo-v2.6-pro", "xiaomi/mimo-v2.6-pro-ultraspeed"];
|
|
21
21
|
/**
|
|
22
22
|
* A model id: an entry of {@link GATEWAY_MODELS}, or a `byok/` id served by an
|
|
23
23
|
* organization's own endpoint. A plain string on purpose, because the second
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@8wave/ai-elements",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.112.0-beta.
|
|
4
|
+
"version": "0.112.0-beta.17",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "vite --port 8082 --open --host",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"module": "./dist/ai-elements.es.js",
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@ai-sdk/provider": "^4.0.
|
|
49
|
+
"@ai-sdk/provider": "^4.0.20",
|
|
50
50
|
"@intlify/unplugin-vue-i18n": "^11.2.5",
|
|
51
51
|
"@tiptap/starter-kit": "^3.31.3",
|
|
52
52
|
"@tiptap/vue-3": "^3.31.3",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"vite-plugin-css-injected-by-js": "^5.0.2",
|
|
75
75
|
"vite-plugin-stylelint": "^6.3.0",
|
|
76
76
|
"vite-plugin-webfont-dl": "^3.13.1",
|
|
77
|
-
"vitest": "^5.0.
|
|
77
|
+
"vitest": "^5.0.3",
|
|
78
78
|
"vue": "^3.5.43",
|
|
79
79
|
"vue-i18n": "^11.4.12",
|
|
80
80
|
"vue-router": "^5.3.1",
|