@8wave/ai-elements 0.126.0-beta.13 → 0.126.0-beta.15

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 (21) hide show
  1. package/dist/_chunks/{PkFilePreview-CW04wd9z.js → PkFilePreview-SBGa95Ca.js} +604 -600
  2. package/dist/_chunks/PkFilePreview-SBGa95Ca.js.map +1 -0
  3. package/dist/_chunks/{PkFilePreviewDialog-0vC6vbNa.js → PkFilePreviewDialog-Cc7iZWCl.js} +2 -2
  4. package/dist/_chunks/{PkFilePreviewDialog-0vC6vbNa.js.map → PkFilePreviewDialog-Cc7iZWCl.js.map} +1 -1
  5. package/dist/ai-elements.es.js +5 -5
  6. package/dist-vue/PkChatbot.js +1 -1
  7. package/dist-vue/PkChatbotViewChat.js +1 -1
  8. package/dist-vue/_chunks/{PkChatbot-BNcXCHJv.js → PkChatbot-ewxoWtEU.js} +2 -2
  9. package/dist-vue/_chunks/{PkChatbot-BNcXCHJv.js.map → PkChatbot-ewxoWtEU.js.map} +1 -1
  10. package/dist-vue/_chunks/{PkChatbotViewChat-8itM8FhY.js → PkChatbotViewChat-CT5N0zvF.js} +2 -2
  11. package/dist-vue/_chunks/{PkChatbotViewChat-8itM8FhY.js.map → PkChatbotViewChat-CT5N0zvF.js.map} +1 -1
  12. package/dist-vue/_chunks/{PkFilePreview-DLrXC8uc.js → PkFilePreview-O8iOSD7k.js} +690 -686
  13. package/dist-vue/_chunks/PkFilePreview-O8iOSD7k.js.map +1 -0
  14. package/dist-vue/_chunks/{PkFilePreviewDialog-xcglY0iR.js → PkFilePreviewDialog-Chp8KLNP.js} +2 -2
  15. package/dist-vue/_chunks/{PkFilePreviewDialog-xcglY0iR.js.map → PkFilePreviewDialog-Chp8KLNP.js.map} +1 -1
  16. package/dist-vue/composables.js +4 -4
  17. package/dist-vue/index.js +4 -4
  18. package/dist-vue/packages/components/src/chat/spreadsheetNumbers.d.ts +25 -0
  19. package/package.json +1 -1
  20. package/dist/_chunks/PkFilePreview-CW04wd9z.js.map +0 -1
  21. package/dist-vue/_chunks/PkFilePreview-DLrXC8uc.js.map +0 -1
package/dist-vue/index.js CHANGED
@@ -17,11 +17,11 @@ import { a as dn, l as fn, u as pn } from "./_chunks/message-DuibQyHy.js";
17
17
  import { t as mn } from "./_chunks/useDialogConfirm-fn7iV-iE.js";
18
18
  import { i as hn, r as gn } from "./_chunks/useLightbox-DmtNa8bJ.js";
19
19
  import { t as _n } from "./_chunks/useImageFallback-HUe4GHah.js";
20
- import { a as vn, i as yn, n as bn, o as xn, s as Sn, t as Cn } from "./_chunks/PkChatbotViewChat-8itM8FhY.js";
20
+ import { a as vn, i as yn, n as bn, o as xn, s as Sn, t as Cn } from "./_chunks/PkChatbotViewChat-CT5N0zvF.js";
21
21
  import { t as wn } from "./_chunks/PkChatbotError-DFZ5S5jd.js";
22
22
  import { t as Tn } from "./_chunks/PkLazyImg-D_Tmtfz3.js";
23
23
  import { t as En } from "./_chunks/useSafeLocalStorage-Bn4SsL8C.js";
24
- import { i as Dn, r as On } from "./_chunks/PkFilePreview-DLrXC8uc.js";
24
+ import { i as Dn, r as On } from "./_chunks/PkFilePreview-O8iOSD7k.js";
25
25
  import { $ as kn, B as An, D as jn, F as Mn, M as Nn, Q as Pn, R as Fn, U as In, _ as Ln, et as Rn, l as zn, x as Bn, y as Vn } from "./_chunks/utils-Bdk5kFfi.js";
26
26
  import { i as Hn, n as Un, r as Wn, t as Gn } from "./_chunks/PkChatbotViewConversations-D7ANZR5O.js";
27
27
  import { a as Kn, i as qn, n as Jn, r as Yn } from "./_chunks/useChatbotStore-Bc99inD5.js";
@@ -40,7 +40,7 @@ import { t as dr } from "./_chunks/PkChatbotStepToolDetail-CkIX0aKu.js";
40
40
  import { n as fr, t as pr } from "./_chunks/PkChatbotInput-DSdGtBTs.js";
41
41
  import { t as mr } from "./_chunks/PkChatbotEmptyState-Jxc1HNJ5.js";
42
42
  import { t as hr } from "./_chunks/PkChatbotViewProfile-BMIvkLEf.js";
43
- import { t as gr } from "./_chunks/PkChatbot-BNcXCHJv.js";
43
+ import { t as gr } from "./_chunks/PkChatbot-ewxoWtEU.js";
44
44
  import { t as _r } from "./_chunks/useLocalizedString-Dmn92nix.js";
45
45
  import { t as vr } from "./_chunks/mcpOAuthReport-D-MtFYwN.js";
46
46
  import { t as yr } from "./_chunks/PkToolShowEmail-BehvoNsz.js";
@@ -56,7 +56,7 @@ import { t as Or } from "./_chunks/PkToolShowImageGallery-KP_ptp0w.js";
56
56
  import { t as kr } from "./_chunks/PkToolShowSuggestedReply-75Kc8-OQ.js";
57
57
  import { t as Ar } from "./_chunks/PkToolShareDocument-Bf7OE8XA.js";
58
58
  import { t as jr } from "./_chunks/PkToolChatFile-BntAINfN.js";
59
- import { t as Mr } from "./_chunks/PkFilePreviewDialog-xcglY0iR.js";
59
+ import { t as Mr } from "./_chunks/PkFilePreviewDialog-Chp8KLNP.js";
60
60
  import { t as Nr } from "./_chunks/PkToolRequestGeolocation-C2OmF31d.js";
61
61
  import { VvAccordion as Pr, VvAccordionGroup as Fr, VvAlert as Ir, VvAlertGroup as Lr, VvBadge as Rr, VvButtonGroup as zr, VvCheckbox as Br, VvCombobox as Vr, VvDialog as Hr, VvDropdown as Ur, VvDropdownAction as Wr, VvIcon as Gr, VvInputFile as Kr, VvInputRange as qr, VvInputText as Jr, VvTab as Yr, VvTextarea as Xr } from "@volverjs/ui-vue/components";
62
62
  import { Fragment as j, Teleport as Zr, Transition as Qr, TransitionGroup as $r, cloneVNode as ei, computed as M, createApp as ti, createBlock as N, createCommentVNode as P, createElementBlock as F, createElementVNode as I, createSlots as ni, createStaticVNode as ri, createTextVNode as L, createVNode as R, defineComponent as z, guardReactiveProps as ii, h as ai, inject as B, isRef as oi, isVNode as si, mergeModels as ci, mergeProps as li, nextTick as ui, normalizeClass as di, normalizeProps as fi, normalizeStyle as pi, onBeforeUnmount as mi, onMounted as hi, onUnmounted as gi, openBlock as V, provide as _i, reactive as vi, readonly as yi, ref as H, renderList as bi, renderSlot as xi, resolveComponent as Si, resolveDynamicComponent as Ci, shallowRef as wi, toDisplayString as U, toRef as Ti, toRefs as Ei, unref as W, useId as Di, useModel as G, useSlots as Oi, useTemplateRef as ki, vModelSelect as Ai, vModelText as ji, watch as K, withCtx as q, withDirectives as Mi, withKeys as Ni, withModifiers as Pi } from "vue";
@@ -0,0 +1,25 @@
1
+ import { SpreadsheetPreview, SpreadsheetPreviewCell } from '../../../models/src';
2
+ /** A number or a date under its own format code, as Excel shows it. */
3
+ export declare const formattedCell: (cell: SpreadsheetPreviewCell, preview: SpreadsheetPreview, locale: string) => {
4
+ text: string;
5
+ color?: string;
6
+ } | undefined;
7
+ /**
8
+ * `v` in the format of `cell`, with the reader's separators: the cell's own
9
+ * value, or a sum or an average of the range it starts.
10
+ */
11
+ export declare const cellNumberText: (cell: SpreadsheetPreviewCell, v: number, preview: SpreadsheetPreview, locale: string) => string;
12
+ /**
13
+ * Count, average and sum of a range's cells, as Excel's status bar shows
14
+ * them: sum and average in the format of the first number, so a percent
15
+ * adds up to a percent and an amount in euro to euro. A number under a date
16
+ * or time code is mostly a time a formula computed in the chat: its sum is
17
+ * shown as Excel shows it, a formatted serial, which for times is the total
18
+ * they are selected for (`[h]:mm`). The dates and times the file holds are
19
+ * date cells, counted and not added, as before: a sum of dates means nothing.
20
+ */
21
+ export declare const rangeStats: (cells: Iterable<SpreadsheetPreviewCell | undefined>, preview: SpreadsheetPreview, locale: string) => {
22
+ count: number;
23
+ sum?: string;
24
+ average?: string;
25
+ } | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@8wave/ai-elements",
3
3
  "private": false,
4
- "version": "0.126.0-beta.13",
4
+ "version": "0.126.0-beta.15",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite --port 8082 --open --host",