@8wave/ai-elements 0.121.0-beta.56 → 0.121.0-beta.58

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.
@@ -189,12 +189,12 @@ var e = {
189
189
  pageAccessNotice: "Notice to the user",
190
190
  pageAccessRisk: "What this level means",
191
191
  mimeTypeImages: "Images",
192
- mimeTypeDocuments: "Documents",
192
+ mimeTypePdf: "PDF",
193
193
  mimeTypeText: "Text",
194
- mimeTypeCode: "Code (HTML, JavaScript, JSON, Python…)",
195
- mimeTypeSpreadsheets: "Spreadsheets (.xlsx)",
196
- mimeTypeWordDocuments: "Word documents (.docx)",
197
- mimeTypeAudio: "Audio, transcribed (up to 25 MB)",
194
+ mimeTypeCode: "Code",
195
+ mimeTypeSpreadsheets: "Excel spreadsheets",
196
+ mimeTypeWordDocuments: "Word documents",
197
+ mimeTypeAudio: "Audio",
198
198
  general: "General",
199
199
  style: "Style",
200
200
  tools: "Tools",
@@ -276,6 +276,7 @@ var e = {
276
276
  fileUploadEnabled: "Enable file upload",
277
277
  fileUploadMaxFileSize: "Max file size (MB)",
278
278
  fileUploadAllowedMimeTypes: "Allowed file types",
279
+ deselectAction: "Remove",
279
280
  fileUploadMaxFilesPerMessage: "Max files per message",
280
281
  fileUploadMaxFilesPerChat: "Max files per chat",
281
282
  webSearch: "Web search",
@@ -406,8 +407,7 @@ var e = {
406
407
  sortDescending: "Descending order",
407
408
  sortBy: "Sort by",
408
409
  passphrase: "Enter passphrase",
409
- selectedHint: "Selected",
410
- deselectAction: "Remove"
410
+ selectedHint: "Selected"
411
411
  },
412
412
  time: {
413
413
  future: "in",
@@ -445,6 +445,13 @@ var e = {
445
445
  voiceId: "Cloned voices are not allowed here.",
446
446
  freshnessScaleExplanationMonths: "A document updated today gets a +{weight} bonus. This bonus halves to +{halfWeight} after {half} days and practically drops to zero (+{zeroWeight}) after {zero} days (approx. {months} months).",
447
447
  freshnessScaleExplanationDays: "A document updated today gets a +{weight} bonus. This bonus halves to +{halfWeight} after {half} days and practically drops to zero (+{zeroWeight}) after {zero} days.",
448
+ mimeTypeImages: ".jpg, .png, .gif, .webp",
449
+ mimeTypePdf: "Documents and slides saved as .pdf",
450
+ mimeTypeText: ".txt, .md, .csv",
451
+ mimeTypeCode: ".html, .js, .json, .py, .sql and more",
452
+ mimeTypeSpreadsheets: ".xlsx",
453
+ mimeTypeWordDocuments: ".docx",
454
+ mimeTypeAudio: ".mp3, .m4a, .wav and more (transcribed, up to 25 MB)",
448
455
  fileUploadToolOff: "{types}: users cannot attach them while the tool that opens them is off. You find it further down, among the tools.",
449
456
  reasoningVisibility: "A reasoning agent is used within its organization only: Organization or Private.",
450
457
  agentOnOwnEndpoint: "This agent runs on your organization's endpoint.",
@@ -479,7 +486,7 @@ var e = {
479
486
  widgetAppearanceGlass: "The site shows through the chat, blurred; on a phone it stays solid.",
480
487
  widgetAppearanceSolid: "The chat has the theme's solid background.",
481
488
  hideFloatingButton: "The chat opens only from a button on your site, which you add: it calls open() on the widget, see the README.",
482
- workingGlow: "A light runs along the frame of the site while the agent works.",
489
+ workingGlow: "While the agent acts on the page, a light rises from the chat's corner. In the Copilot layout it runs along the site's edges instead, and along the chat's while the agent works.",
483
490
  copilotPageCss: "Added to your site's page while the chat is open beside it: move a fixed header aside with right: var(--chatbot-copilot-width).",
484
491
  customCss: "CSS injected into the widget shadow DOM. Allows styling the chat interface from the outside.",
485
492
  greeting: "On the chat page, in large type above the message field until the user writes. Left empty, the suggested text shows. {'{'}name{'}'} becomes the user's name.",
@@ -987,12 +994,12 @@ var e = {
987
994
  pageAccessNotice: "Avviso all'utente",
988
995
  pageAccessRisk: "Cosa comporta questo livello",
989
996
  mimeTypeImages: "Immagini",
990
- mimeTypeDocuments: "Documenti",
997
+ mimeTypePdf: "PDF",
991
998
  mimeTypeText: "Testo",
992
- mimeTypeCode: "Codice (HTML, JavaScript, JSON, Python…)",
993
- mimeTypeSpreadsheets: "Fogli di calcolo (.xlsx)",
994
- mimeTypeWordDocuments: "Documenti Word (.docx)",
995
- mimeTypeAudio: "Audio, trascritti (fino a 25 MB)",
999
+ mimeTypeCode: "Codice",
1000
+ mimeTypeSpreadsheets: "Fogli Excel",
1001
+ mimeTypeWordDocuments: "Documenti Word",
1002
+ mimeTypeAudio: "Audio",
996
1003
  general: "Generale",
997
1004
  style: "Stile",
998
1005
  tools: "Tool",
@@ -1074,6 +1081,7 @@ var e = {
1074
1081
  fileUploadEnabled: "Abilita caricamento file",
1075
1082
  fileUploadMaxFileSize: "Dimensione massima file (MB)",
1076
1083
  fileUploadAllowedMimeTypes: "Tipi di file consentiti",
1084
+ deselectAction: "Rimuovi",
1077
1085
  fileUploadMaxFilesPerMessage: "File massimi per messaggio",
1078
1086
  fileUploadMaxFilesPerChat: "File massimi per chat",
1079
1087
  webSearch: "Ricerca web",
@@ -1204,8 +1212,7 @@ var e = {
1204
1212
  sortDescending: "Ordine decrescente",
1205
1213
  sortBy: "Ordina per",
1206
1214
  passphrase: "Inserisci la parola chiave",
1207
- selectedHint: "Selezionato",
1208
- deselectAction: "Rimuovi"
1215
+ selectedHint: "Selezionato"
1209
1216
  },
1210
1217
  time: {
1211
1218
  future: "tra",
@@ -1243,6 +1250,13 @@ var e = {
1243
1250
  voiceId: "Le voci clonate qui non sono ammesse.",
1244
1251
  freshnessScaleExplanationMonths: "Un documento modificato oggi ottiene un bonus di +{weight}. Il bonus si dimezza a +{halfWeight} dopo {half} giorni e si azzera praticamente (+{zeroWeight}) dopo {zero} giorni (circa {months} mesi).",
1245
1252
  freshnessScaleExplanationDays: "Un documento modificato oggi ottiene un bonus di +{weight}. Il bonus si dimezza a +{halfWeight} dopo {half} giorni e si azzera praticamente (+{zeroWeight}) dopo {zero} giorni.",
1253
+ mimeTypeImages: ".jpg, .png, .gif, .webp",
1254
+ mimeTypePdf: "Documenti e presentazioni salvati in .pdf",
1255
+ mimeTypeText: ".txt, .md, .csv",
1256
+ mimeTypeCode: ".html, .js, .json, .py, .sql e altri",
1257
+ mimeTypeSpreadsheets: ".xlsx",
1258
+ mimeTypeWordDocuments: ".docx",
1259
+ mimeTypeAudio: ".mp3, .m4a, .wav e altri (trascritti, fino a 25 MB)",
1246
1260
  fileUploadToolOff: "{types}: gli utenti non possono allegarli finché lo strumento che li apre è spento. Lo trovi più sotto, fra i tool.",
1247
1261
  reasoningVisibility: "Un agente reasoning si usa solo nell'organizzazione: Organizzazione oppure Privato.",
1248
1262
  agentOnOwnEndpoint: "Questo agente gira sull’endpoint della tua organizzazione.",
@@ -1277,7 +1291,7 @@ var e = {
1277
1291
  widgetAppearanceGlass: "Il sito si vede sfocato dietro la chat; sul telefono resta piena.",
1278
1292
  widgetAppearanceSolid: "La chat ha lo sfondo pieno del tema.",
1279
1293
  hideFloatingButton: "La chat si apre solo da un pulsante del sito, che va aggiunto: chiama open() sul widget, vedi il README.",
1280
- workingGlow: "Una luce percorre la cornice del sito mentre l'agente lavora.",
1294
+ workingGlow: "Mentre l'agente agisce sulla pagina, una luce sale dall'angolo della chat. Nel layout Copilot percorre invece il bordo del sito, e quello della chat mentre l'agente lavora.",
1281
1295
  copilotPageCss: "Aggiunto alla pagina del sito mentre la chat è aperta accanto: sposta un'intestazione fissa con right: var(--chatbot-copilot-width).",
1282
1296
  customCss: "CSS iniettato nello shadow DOM del widget. Permette di personalizzare l'interfaccia della chat dall'esterno.",
1283
1297
  greeting: "Nella pagina della chat, in grande sopra il campo del messaggio finché l'utente non scrive. Se è vuoto si vede il testo suggerito. {'{'}name{'}'} diventa il nome dell'utente.",
@@ -0,0 +1,34 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ /**
3
+ * The agent on the page as a collaborator, while it acts on it (spec
4
+ * `page-tools-improvements.md`, M12): a cursor in its color with its name
5
+ * and the name of what it acts on, as in a shared editor, and a ring on
6
+ * that element, drawn as the system draws keyboard focus. The cursor
7
+ * leaves the chat, glides to the element and clicks; the ring settles
8
+ * there and follows the agent to the next element. A layer of its own
9
+ * over the page, its dialogs too, letting every click through.
10
+ * Decoration only, hidden from assistive technology: the chat says what
11
+ * the agent does.
12
+ */
13
+ type __VLS_Props = {
14
+ /** Shown while true: the agent controls the page. */
15
+ active: boolean;
16
+ /** The element the agent acts on, and its name; the last one between two actions. */
17
+ target?: {
18
+ element: Element;
19
+ name: string;
20
+ };
21
+ /** The agent's name, beside the cursor. */
22
+ agentName?: string;
23
+ /** The chat, where the cursor comes from and goes back to. */
24
+ home?: () => Element | null | undefined;
25
+ /** A dialog of the page the layer stays above: it opens over everything shown before it. */
26
+ above?: Element | null;
27
+ };
28
+ declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
29
+ arrived: (clicked: boolean) => any;
30
+ }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
31
+ onArrived?: ((clicked: boolean) => any) | undefined;
32
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
33
+ declare const _default: typeof __VLS_export;
34
+ export default _default;
@@ -150,9 +150,9 @@ type __VLS_ModelProps = {
150
150
  } | undefined;
151
151
  };
152
152
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
153
- declare var __VLS_864: {};
153
+ declare var __VLS_888: {};
154
154
  type __VLS_Slots = {} & {
155
- default?: (props: typeof __VLS_864) => any;
155
+ default?: (props: typeof __VLS_888) => any;
156
156
  };
157
157
  declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
158
158
  "update:reasoning": (value: {
@@ -0,0 +1,25 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ /**
3
+ * A light in the window's corner where the chat sits, while the agent
4
+ * acts on the page (spec `page-tools-improvements.md`, M12): a small
5
+ * bright light is born in that corner and grows into an aurora that
6
+ * sways and breathes while the agent works, glints at each of its
7
+ * clicks, and draws back into the corner when it lets go. The parent
8
+ * gives it a positioned box as large as the window. Decoration only,
9
+ * hidden from assistive technology: the chat already says what the
10
+ * agent is doing.
11
+ */
12
+ type __VLS_Props = {
13
+ /** Shown while true, growing in and drawing back out. */
14
+ active: boolean;
15
+ /** The corner it grows from: the chat's side. */
16
+ side?: 'left' | 'right';
17
+ /** Each new value is a click of the agent on the page: a glint from the corner. */
18
+ pulse?: number;
19
+ };
20
+ declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
21
+ side: "left" | "right";
22
+ pulse: number;
23
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
24
+ declare const _default: typeof __VLS_export;
25
+ export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@8wave/ai-elements",
3
3
  "private": false,
4
- "version": "0.121.0-beta.56",
4
+ "version": "0.121.0-beta.58",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite --port 8082 --open --host",