@factorialco/f0-react 8.37.0 → 9.1.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.
- package/dist/{ChatPdfThumbnail-D17gaAZw.js → ChatPdfThumbnail-Ch2Pi_N2.js} +1 -1
- package/dist/{ChatPostComposerDialog-Dzcwl3UT.js → ChatPostComposerDialog-CW24c9tS.js} +3 -3
- package/dist/{MapProvider-DrUuwDLP.js → CoachmarkProvider-BXGXfIw-.js} +1912 -1913
- package/dist/{DocumentToolbar-BF90Kcrb.js → DocumentToolbar-Bp9iCtUO.js} +2 -2
- package/dist/{DocxViewer-DXUC2CUW.js → DocxViewer-CKrXuvnB.js} +2 -2
- package/dist/{F0AiProcessingOverlay-DTsO9rEl.js → F0AiProcessingOverlay-SFLE4xoa.js} +1 -1
- package/dist/{F0CanvasPanel-kbwLvapQ.js → F0CanvasPanel-D25Wuumh.js} +19534 -19534
- package/dist/{F0DocumentViewer-Bk7ciWZW.js → F0DocumentViewer-BXlup6dL.js} +4 -4
- package/dist/{F0Map-B_XG6Txo.js → F0Map-B9_jeX3R.js} +13 -13
- package/dist/{F0VideoPlayer-Cdq6rTqq.js → F0VideoPlayer-VJSe0ziC.js} +2 -2
- package/dist/{SheetViewer-DgLdv4qf.js → SheetViewer-BO9MbbYR.js} +3 -3
- package/dist/{TextViewer-7qYfyanJ.js → TextViewer-B7B947JZ.js} +2 -2
- package/dist/ai.d.ts +45 -44
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +17 -17
- package/dist/component-status.js +43 -43
- package/dist/{experimental-B_Hvv6tU.js → experimental-Do9KcVJp.js} +610 -610
- package/dist/experimental.d.ts +72 -68
- package/dist/experimental.js +28 -28
- package/dist/f0.d.ts +117 -102
- package/dist/f0.js +7863 -7778
- package/dist/i18n-provider-defaults.d.ts +17 -17
- package/dist/index-Bt9_3eC1.js +4 -0
- package/dist/{index-QJVt3QQ2.js → index-C66JSsii.js} +1 -1
- package/dist/{index-HEb5Ocnl.js → index-C95Ox1WO.js} +15 -15
- package/dist/{index-BQthngzU.js → index-W5BBvrFa.js} +2 -2
- package/dist/index-a7A0EHsJ.js +8 -0
- package/dist/{pdfWorker-CX_u28dQ.js → pdfWorker-Bi4FxYtY.js} +2 -2
- package/package.json +4 -4
- package/dist/index-BGG-4WaL.js +0 -4
- package/dist/index-CzPx-LpF.js +0 -8
- /package/dist/{MapProvider.css → CoachmarkProvider.css} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as r, jsxs as P } from "react/jsx-runtime";
|
|
2
2
|
import { lazy as X, forwardRef as ce, Suspense as Ce, useState as U, useRef as A, useCallback as w, useMemo as ie, useEffect as V } from "react";
|
|
3
|
-
import { S as E, z as _e, u as Y, A as Te, w as Le, j as Fe, k as De, l as Ve, B as Ee, m as He, E as Ue, G as We, H as Oe, J as je } from "./F0CanvasPanel-
|
|
4
|
-
import { e as $e, D as ze, P as Be } from "./pdfWorker-
|
|
5
|
-
import { F as Me } from "./Printer-BD-FEi_2.js";
|
|
3
|
+
import { S as E, z as _e, u as Y, A as Te, w as Le, j as Fe, k as De, l as Ve, B as Ee, m as He, E as Ue, G as We, H as Oe, J as je } from "./F0CanvasPanel-D25Wuumh.js";
|
|
4
|
+
import { e as $e, D as ze, P as Be } from "./pdfWorker-Bi4FxYtY.js";
|
|
6
5
|
import { d as G } from "./tooltip-CrXp1Uaz.js";
|
|
6
|
+
import { F as Me } from "./Printer-BD-FEi_2.js";
|
|
7
7
|
import './F0DocumentViewer.css';const ut = [
|
|
8
8
|
"page-width",
|
|
9
9
|
"page-fit",
|
|
@@ -272,7 +272,7 @@ import './F0DocumentViewer.css';const ut = [
|
|
|
272
272
|
}), i;
|
|
273
273
|
};
|
|
274
274
|
$e();
|
|
275
|
-
const tt = X(() => import("./SheetViewer-
|
|
275
|
+
const tt = X(() => import("./SheetViewer-BO9MbbYR.js")), ot = X(() => import("./DocxViewer-CKrXuvnB.js")), nt = X(() => import("./TextViewer-B7B947JZ.js")), se = 48, rt = 150, ue = ce((e, t) => {
|
|
276
276
|
const { kind: o = "pdf", mimeType: i, toolbar: l = "top", ...s } = e;
|
|
277
277
|
if (o === "pdf")
|
|
278
278
|
return /* @__PURE__ */ r(me, { ref: t, toolbar: l, ...s });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r, jsxs as B, Fragment as De } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as ie, useMemo as ze, useEffect as j, useState as E, useRef as N, useLayoutEffect as Hn, useContext as Xn, createContext as Yn, useCallback as O, useId as Un, useImperativeHandle as Gn } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { c as Zn, d as Kn, e as qn } from "./CoachmarkProvider-BXGXfIw-.js";
|
|
4
|
+
import { y as we, a5 as Vn, v as en, a6 as nt, a7 as lt, a8 as Oe, a9 as oe, aa as tn, u as se, z as Fe, ab as Jn, ac as Qn, ad as ea, j as ta, ae as na, af as nn, ag as aa, ah as oa, ai as Rt, aj as an, ak as la } from "./F0CanvasPanel-D25Wuumh.js";
|
|
5
5
|
import { d as D, f as ra } from "./tooltip-CrXp1Uaz.js";
|
|
6
6
|
import { createPortal as ia } from "react-dom";
|
|
7
7
|
const sa = (e, t) => ({
|
|
@@ -172,7 +172,7 @@ const sa = (e, t) => ({
|
|
|
172
172
|
presentational: m = !1,
|
|
173
173
|
dataTestId: y,
|
|
174
174
|
className: b
|
|
175
|
-
} = t, x = t.variant ?? "color", z = Be[n ? "xl" : l], L = !!c, S = x === "color" || x === "icon" || x === "letter", P = x === "person" && "firstName" in t ? t.firstName + t.lastName : (x === "team" || x === "company") && "name" in t ? t.name : null, f = S ? t.color ?? "radical" : P ? x === "person" && "src" in t && t.src ? "grey" :
|
|
175
|
+
} = t, x = t.variant ?? "color", z = Be[n ? "xl" : l], L = !!c, S = x === "color" || x === "icon" || x === "letter", P = x === "person" && "firstName" in t ? t.firstName + t.lastName : (x === "team" || x === "company") && "name" in t ? t.name : null, f = S ? t.color ?? "radical" : P ? x === "person" && "src" in t && t.src ? "grey" : Vn(P) ?? "grey" : "neutral", p = Zn(), h = n ? 32 : { xs: 12, sm: 16, md: 20, lg: 24 }[z.icon], T = { xs: 20, sm: 24, md: 32, lg: 40 }, g = Be[l].avatar, k = n ? T[z.avatar] / T[g] : 1, M = (C) => /* @__PURE__ */ r(
|
|
176
176
|
"span",
|
|
177
177
|
{
|
|
178
178
|
className: "flex shrink-0 items-center justify-center transition-transform duration-200 ease-out",
|
|
@@ -483,7 +483,7 @@ const ma = dn, st = (e, t) => `hsl(${ua(e, t).replace(/ /g, ", ")})`, da = (e, t
|
|
|
483
483
|
variant: "ghost",
|
|
484
484
|
size: "md",
|
|
485
485
|
label: n?.fit ?? u.map.controls.fit,
|
|
486
|
-
icon:
|
|
486
|
+
icon: Jn,
|
|
487
487
|
hideLabel: !0,
|
|
488
488
|
onClick: a
|
|
489
489
|
}
|
|
@@ -494,7 +494,7 @@ const ma = dn, st = (e, t) => `hsl(${ua(e, t).replace(/ /g, ", ")})`, da = (e, t
|
|
|
494
494
|
variant: "ghost",
|
|
495
495
|
size: "md",
|
|
496
496
|
label: n?.locate ?? u.map.controls.locate,
|
|
497
|
-
icon:
|
|
497
|
+
icon: Qn,
|
|
498
498
|
hideLabel: !0,
|
|
499
499
|
onClick: l
|
|
500
500
|
}
|
|
@@ -509,7 +509,7 @@ const ma = dn, st = (e, t) => `hsl(${ua(e, t).replace(/ /g, ", ")})`, da = (e, t
|
|
|
509
509
|
variant: "ghost",
|
|
510
510
|
size: "md",
|
|
511
511
|
label: n?.zoomIn ?? u.map.controls.zoomIn,
|
|
512
|
-
icon:
|
|
512
|
+
icon: ea,
|
|
513
513
|
hideLabel: !0,
|
|
514
514
|
onClick: e
|
|
515
515
|
}
|
|
@@ -520,7 +520,7 @@ const ma = dn, st = (e, t) => `hsl(${ua(e, t).replace(/ /g, ", ")})`, da = (e, t
|
|
|
520
520
|
variant: "ghost",
|
|
521
521
|
size: "md",
|
|
522
522
|
label: n?.zoomOut ?? u.map.controls.zoomOut,
|
|
523
|
-
icon:
|
|
523
|
+
icon: ta,
|
|
524
524
|
hideLabel: !0,
|
|
525
525
|
onClick: t
|
|
526
526
|
}
|
|
@@ -833,7 +833,7 @@ const bn = (e, t) => (!_e && typeof document < "u" && (_e = document.createEleme
|
|
|
833
833
|
};
|
|
834
834
|
case "workplace":
|
|
835
835
|
return {
|
|
836
|
-
variant: { variant: "icon", icon:
|
|
836
|
+
variant: { variant: "icon", icon: na },
|
|
837
837
|
color: Ma
|
|
838
838
|
};
|
|
839
839
|
case "stop":
|
|
@@ -1245,7 +1245,7 @@ function Fa() {
|
|
|
1245
1245
|
} : e;
|
|
1246
1246
|
}
|
|
1247
1247
|
function So({ children: e }) {
|
|
1248
|
-
const { currentPath: t } =
|
|
1248
|
+
const { currentPath: t } = aa(), [a, l] = E(!1), [n, o] = E(0), [s, u] = E(!1), d = a ? Rt.xl : Rt.md, c = oa(`(max-width: ${d}px)`, {
|
|
1249
1249
|
initializeWithValue: !0
|
|
1250
1250
|
}), [i, m] = E(() => {
|
|
1251
1251
|
const p = localStorage.getItem(Ut);
|
|
@@ -1362,7 +1362,7 @@ function _o() {
|
|
|
1362
1362
|
"aria-label": "Close Sidebar",
|
|
1363
1363
|
children: [
|
|
1364
1364
|
/* @__PURE__ */ r("div", { className: D("hidden", { flex: !l }), children: /* @__PURE__ */ r(kn, { isExpanded: t === "locked" }) }),
|
|
1365
|
-
/* @__PURE__ */ r("div", { className: D("hidden", { flex: l }), children: /* @__PURE__ */ r(en, { icon:
|
|
1365
|
+
/* @__PURE__ */ r("div", { className: D("hidden", { flex: l }), children: /* @__PURE__ */ r(en, { icon: la, size: "md" }) })
|
|
1366
1366
|
]
|
|
1367
1367
|
}
|
|
1368
1368
|
);
|
|
@@ -1527,11 +1527,11 @@ const Lo = {
|
|
|
1527
1527
|
}, []);
|
|
1528
1528
|
return j(() => () => a.current?.disconnect(), []), { containerRef: l, isDark: e };
|
|
1529
1529
|
}, Ya = {
|
|
1530
|
-
maplibre: () => import("./index-
|
|
1530
|
+
maplibre: () => import("./index-W5BBvrFa.js").then((e) => e.createMaplibreAdapter),
|
|
1531
1531
|
// Google needs its script in the page before a map can be constructed, so the
|
|
1532
1532
|
// loader resolves only once the API is up - which is what keeps the factory
|
|
1533
1533
|
// itself synchronous for every engine.
|
|
1534
|
-
google: (e) => import("./index-
|
|
1534
|
+
google: (e) => import("./index-C66JSsii.js").then((t) => t.loadGoogleAdapter(e))
|
|
1535
1535
|
}, at = /* @__PURE__ */ new Map(), Ua = (e, t) => {
|
|
1536
1536
|
const a = at.get(e);
|
|
1537
1537
|
if (a)
|
|
@@ -2218,7 +2218,7 @@ const Lo = {
|
|
|
2218
2218
|
dataTestId: Le,
|
|
2219
2219
|
className: Me
|
|
2220
2220
|
}, ue) {
|
|
2221
|
-
const Ue = f ?? (M ? "greedy" : "cooperative"), Y = se(), Z =
|
|
2221
|
+
const Ue = f ?? (M ? "greedy" : "cooperative"), Y = se(), Z = Kn(ve), Te = qn(), Q = N(null), C = N(null), [U, pt] = E(
|
|
2222
2222
|
null
|
|
2223
2223
|
), [V, ut] = E(!1), [Ln, Ne] = E(!1), [Mn, Tn] = E(0), mt = Un(), W = nn(), { containerRef: dt, isDark: Nn } = Xa(), jn = O(
|
|
2224
2224
|
(w) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as W, K as je, L as Xe, z as $, M as Ge, N as Ze, O as Ye, Q as qe, R as Qe, U as Je, V as et, W as tt, X as nt, Y as rt, Z as at, _ as ot, $ as st, a0 as ye, a1 as it, a2 as Ce, m as ct, a3 as lt, a4 as dt, v as ut, E as ft, G as mt } from "./F0CanvasPanel-
|
|
1
|
+
import { u as W, K as je, L as Xe, z as $, M as Ge, N as Ze, O as Ye, Q as qe, R as Qe, U as Je, V as et, W as tt, X as nt, Y as rt, Z as at, _ as ot, $ as st, a0 as ye, a1 as it, a2 as Ce, m as ct, a3 as lt, a4 as dt, v as ut, E as ft, G as mt } from "./F0CanvasPanel-D25Wuumh.js";
|
|
2
2
|
import { jsxs as R, jsx as c } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as re, useId as pt, useState as x, useRef as F, useEffect as _, useMemo as Q, useCallback as M } from "react";
|
|
4
4
|
import { d as H, f as de } from "./tooltip-CrXp1Uaz.js";
|
|
5
5
|
import { F as Pe, a as ht, b as gt } from "./VolumeMuted-UfTwt2zn.js";
|
|
6
|
-
import { b as vt } from "./
|
|
6
|
+
import { b as vt } from "./CoachmarkProvider-BXGXfIw-.js";
|
|
7
7
|
function Re(e) {
|
|
8
8
|
return Array.isArray(e) && e.every(
|
|
9
9
|
(t) => typeof t == "object" && t !== null && "locale" in t && "value" in t
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as r, jsxs as n, Fragment as v } from "react/jsx-runtime";
|
|
2
2
|
import { useState as m, useEffect as E } from "react";
|
|
3
|
-
import { u as F, T as S, h as T, S as V, i as A } from "./F0CanvasPanel-
|
|
4
|
-
import { d as D } from "./F0DocumentViewer-
|
|
3
|
+
import { u as F, T as S, h as T, S as V, i as A } from "./F0CanvasPanel-D25Wuumh.js";
|
|
4
|
+
import { d as D } from "./F0DocumentViewer-BXlup6dL.js";
|
|
5
5
|
import { f as L, c as R } from "./sheetPreview-BiccmyTD.js";
|
|
6
|
-
import { u as z, D as U } from "./DocumentToolbar-
|
|
6
|
+
import { u as z, D as U } from "./DocumentToolbar-Bp9iCtUO.js";
|
|
7
7
|
const w = 1e3, _ = 100, $ = ({
|
|
8
8
|
url: a,
|
|
9
9
|
filename: f,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as p, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as u, useEffect as x } from "react";
|
|
3
|
-
import { u as w, S as y, p as g } from "./F0CanvasPanel-
|
|
4
|
-
import { u as k, D as v } from "./DocumentToolbar-
|
|
3
|
+
import { u as w, S as y, p as g } from "./F0CanvasPanel-D25Wuumh.js";
|
|
4
|
+
import { u as k, D as v } from "./DocumentToolbar-Bp9iCtUO.js";
|
|
5
5
|
const q = 2 * 1024 * 1024, N = [
|
|
6
6
|
"[&_h1]:mb-3 [&_h1]:mt-6 [&_h1]:text-2xl [&_h1]:font-semibold",
|
|
7
7
|
"[&_h2]:mb-2 [&_h2]:mt-5 [&_h2]:text-xl [&_h2]:font-semibold",
|
package/dist/ai.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { AgentState } from '@livekit/components-react';
|
|
2
|
-
import { AlertTagCellValue } from '
|
|
2
|
+
import { AlertTagCellValue } from '../../value-display/types/alertTag';
|
|
3
3
|
import { AlertTagCellValue as AlertTagCellValue_2 } from './types/alertTag';
|
|
4
|
-
import { AmountCellValue } from '
|
|
4
|
+
import { AmountCellValue } from '../../value-display/types/amount';
|
|
5
5
|
import { AmountCellValue as AmountCellValue_2 } from './types/amount';
|
|
6
6
|
import { AnchorHTMLAttributes } from 'react';
|
|
7
|
-
import { AvatarListCellValue } from '
|
|
7
|
+
import { AvatarListCellValue } from '../../value-display/types/avatarList';
|
|
8
8
|
import { AvatarListCellValue as AvatarListCellValue_2 } from './types/avatarList';
|
|
9
9
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
10
10
|
import { BarSeriesCellValue } from './types/barSeries';
|
|
11
11
|
import { baseColors } from '@factorialco/f0-core';
|
|
12
12
|
import { CategoryBarChartCellValue } from './types/categoryBarChart';
|
|
13
13
|
import { ClassValue } from 'cva';
|
|
14
|
-
import { CompanyCellValue } from '
|
|
14
|
+
import { CompanyCellValue } from '../../value-display/types/company';
|
|
15
15
|
import { CompanyCellValue as CompanyCellValue_2 } from './types/company';
|
|
16
16
|
import { CompanyItemProps } from './types';
|
|
17
17
|
import { ComponentProps } from 'react';
|
|
@@ -20,17 +20,17 @@ import { CompoundCellValue } from './types/compound';
|
|
|
20
20
|
import { CountCellValue } from './types/count';
|
|
21
21
|
import { CountryCellValue } from './types/country';
|
|
22
22
|
import { CSSProperties } from 'react';
|
|
23
|
-
import { DateCellValue } from '
|
|
23
|
+
import { DateCellValue } from '../../value-display/types/date';
|
|
24
24
|
import { DateCellValue as DateCellValue_2 } from './types/date';
|
|
25
25
|
import { default as default_2 } from 'react';
|
|
26
26
|
import { DeltaCellValue } from './types/delta';
|
|
27
|
-
import { DotTagCellValue } from '
|
|
27
|
+
import { DotTagCellValue } from '../../value-display/types/dotTag';
|
|
28
28
|
import { DotTagCellValue as DotTagCellValue_2 } from './types/dotTag';
|
|
29
29
|
import { EmployeeItemProps } from './types';
|
|
30
30
|
import { f1Colors } from '@factorialco/f0-core';
|
|
31
|
-
import { FileCellValue } from '
|
|
31
|
+
import { FileCellValue } from '../../value-display/types/file';
|
|
32
32
|
import { FileCellValue as FileCellValue_2 } from './types/file';
|
|
33
|
-
import { FolderCellValue } from '
|
|
33
|
+
import { FolderCellValue } from '../../value-display/types/folder';
|
|
34
34
|
import { FolderCellValue as FolderCellValue_2 } from './types/folder';
|
|
35
35
|
import { ForwardedRef } from 'react';
|
|
36
36
|
import { ForwardRefExoticComponent } from 'react';
|
|
@@ -43,12 +43,12 @@ import { JSX as JSX_2 } from 'react';
|
|
|
43
43
|
import { LocalAudioTrack } from 'livekit-client';
|
|
44
44
|
import { LongTextCellValue } from './types/longText';
|
|
45
45
|
import { NamedExoticComponent } from 'react';
|
|
46
|
-
import { NumberCellValue } from '
|
|
46
|
+
import { NumberCellValue } from '../../value-display/types/number';
|
|
47
47
|
import { NumberCellValue as NumberCellValue_2 } from './types/number';
|
|
48
48
|
import { PercentageCellValue } from './types/percentage';
|
|
49
|
-
import { PersonCellValue } from '
|
|
49
|
+
import { PersonCellValue } from '../../value-display/types/person';
|
|
50
50
|
import { PersonCellValue as PersonCellValue_2 } from './types/person';
|
|
51
|
-
import { ProgressBarCellValue } from '
|
|
51
|
+
import { ProgressBarCellValue } from '../../value-display/types/progressBar';
|
|
52
52
|
import { ProgressBarCellValue as ProgressBarCellValue_2 } from './types/progressBar';
|
|
53
53
|
import { ProgressSeriesCellValue } from './types/progressSeries';
|
|
54
54
|
import * as React_2 from 'react';
|
|
@@ -59,32 +59,33 @@ import { Ref } from 'react';
|
|
|
59
59
|
import { RefAttributes } from 'react';
|
|
60
60
|
import { RefObject } from 'react';
|
|
61
61
|
import { RemoteAudioTrack } from 'livekit-client';
|
|
62
|
-
import { StatusCellValue } from '
|
|
62
|
+
import { StatusCellValue } from '../../value-display/types/status';
|
|
63
63
|
import { StatusCellValue as StatusCellValue_2 } from './types/status';
|
|
64
64
|
import { SummaryCellValue } from './types/summary';
|
|
65
65
|
import { SVGProps } from 'react';
|
|
66
66
|
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
67
|
-
import { TagAlertProps } from '
|
|
68
|
-
import { TagBalanceProps } from '
|
|
69
|
-
import { TagCellValue } from '
|
|
67
|
+
import { TagAlertProps } from '../tags/F0TagAlert';
|
|
68
|
+
import { TagBalanceProps } from '../tags/F0TagBalance';
|
|
69
|
+
import { TagCellValue } from '../../value-display/types/tag';
|
|
70
70
|
import { TagCellValue as TagCellValue_2 } from './types/tag';
|
|
71
|
-
import { TagDotProps } from '
|
|
72
|
-
import { TagListCellValue } from '
|
|
71
|
+
import { TagDotProps } from '../tags/F0TagDot';
|
|
72
|
+
import { TagListCellValue } from '../../value-display/types/tagList';
|
|
73
73
|
import { TagListCellValue as TagListCellValue_2 } from './types/tagList';
|
|
74
|
-
import { TagListProps } from '
|
|
75
|
-
import { TagRawProps } from '
|
|
76
|
-
import { TagStatusProps } from '
|
|
77
|
-
import { TagType } from '
|
|
78
|
-
import { TeamCellValue } from '
|
|
74
|
+
import { TagListProps } from '../tags/F0TagList';
|
|
75
|
+
import { TagRawProps } from '../tags/F0TagRaw';
|
|
76
|
+
import { TagStatusProps } from '../tags/F0TagStatus';
|
|
77
|
+
import { TagType } from '../tags/F0TagList';
|
|
78
|
+
import { TeamCellValue } from '../../value-display/types/team';
|
|
79
79
|
import { TeamCellValue as TeamCellValue_2 } from './types/team';
|
|
80
80
|
import { TeamItemProps } from './types';
|
|
81
|
-
import { TextCellValue } from '
|
|
81
|
+
import { TextCellValue } from '../../value-display/types/text';
|
|
82
82
|
import { TextCellValue as TextCellValue_2 } from './types/text';
|
|
83
83
|
import { TrackReferenceOrPlaceholder } from '@livekit/components-react';
|
|
84
|
-
import { ValueDisplayRendererContext } from '
|
|
84
|
+
import { ValueDisplayRendererContext } from '../../value-display';
|
|
85
85
|
import { VariantProps } from 'cva';
|
|
86
|
-
import { WithDataTestIdReturnType } from '
|
|
87
|
-
import { WithDataTestIdReturnType as WithDataTestIdReturnType_2 } from '
|
|
86
|
+
import { WithDataTestIdReturnType } from '../lib/data-testid/data-testid';
|
|
87
|
+
import { WithDataTestIdReturnType as WithDataTestIdReturnType_2 } from '../../lib/data-testid/data-testid';
|
|
88
|
+
import { WithDataTestIdReturnType as WithDataTestIdReturnType_3 } from '../../../../elements/lib/data-testid/data-testid';
|
|
88
89
|
|
|
89
90
|
declare type ActionBaseProps = ActionCommonProps & DataAttributes;
|
|
90
91
|
|
|
@@ -4604,7 +4605,7 @@ export declare type F0AiChatWelcomeCard = {
|
|
|
4604
4605
|
onClick?: () => void;
|
|
4605
4606
|
};
|
|
4606
4607
|
|
|
4607
|
-
export declare const F0AiInsightCard:
|
|
4608
|
+
export declare const F0AiInsightCard: WithDataTestIdReturnType_3<ForwardRefExoticComponent<F0AiInsightCardPublicProps & RefAttributes<HTMLDivElement>> & {
|
|
4608
4609
|
Skeleton: () => JSX_2.Element;
|
|
4609
4610
|
}>;
|
|
4610
4611
|
|
|
@@ -6824,9 +6825,10 @@ declare module "@tiptap/core" {
|
|
|
6824
6825
|
|
|
6825
6826
|
declare module "@tiptap/core" {
|
|
6826
6827
|
interface Commands<ReturnType> {
|
|
6827
|
-
|
|
6828
|
-
|
|
6829
|
-
|
|
6828
|
+
indent: {
|
|
6829
|
+
setIndent: (level: number) => ReturnType;
|
|
6830
|
+
unsetIndent: () => ReturnType;
|
|
6831
|
+
outdent: () => ReturnType;
|
|
6830
6832
|
};
|
|
6831
6833
|
}
|
|
6832
6834
|
}
|
|
@@ -6834,11 +6836,8 @@ declare module "@tiptap/core" {
|
|
|
6834
6836
|
|
|
6835
6837
|
declare module "@tiptap/core" {
|
|
6836
6838
|
interface Commands<ReturnType> {
|
|
6837
|
-
|
|
6838
|
-
|
|
6839
|
-
placeholder?: string;
|
|
6840
|
-
}) => ReturnType;
|
|
6841
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
6839
|
+
moodTracker: {
|
|
6840
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
6842
6841
|
};
|
|
6843
6842
|
}
|
|
6844
6843
|
}
|
|
@@ -6846,8 +6845,9 @@ declare module "@tiptap/core" {
|
|
|
6846
6845
|
|
|
6847
6846
|
declare module "@tiptap/core" {
|
|
6848
6847
|
interface Commands<ReturnType> {
|
|
6849
|
-
|
|
6850
|
-
|
|
6848
|
+
aiBlock: {
|
|
6849
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
6850
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
6851
6851
|
};
|
|
6852
6852
|
}
|
|
6853
6853
|
}
|
|
@@ -6855,10 +6855,10 @@ declare module "@tiptap/core" {
|
|
|
6855
6855
|
|
|
6856
6856
|
declare module "@tiptap/core" {
|
|
6857
6857
|
interface Commands<ReturnType> {
|
|
6858
|
-
|
|
6859
|
-
|
|
6860
|
-
|
|
6861
|
-
|
|
6858
|
+
videoEmbed: {
|
|
6859
|
+
setVideoEmbed: (options: {
|
|
6860
|
+
src: string;
|
|
6861
|
+
}) => ReturnType;
|
|
6862
6862
|
};
|
|
6863
6863
|
}
|
|
6864
6864
|
}
|
|
@@ -6875,10 +6875,11 @@ declare module "@tiptap/core" {
|
|
|
6875
6875
|
|
|
6876
6876
|
declare module "@tiptap/core" {
|
|
6877
6877
|
interface Commands<ReturnType> {
|
|
6878
|
-
|
|
6879
|
-
|
|
6880
|
-
|
|
6878
|
+
enhanceHighlight: {
|
|
6879
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
6880
|
+
placeholder?: string;
|
|
6881
6881
|
}) => ReturnType;
|
|
6882
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
6882
6883
|
};
|
|
6883
6884
|
}
|
|
6884
6885
|
}
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as e, D as r, c as t, F as i, a as o, f as n, g as F, d as C, e as l, I as A, P as d, b as u, u as m } from "./F0CanvasPanel-
|
|
1
|
+
import { C as e, D as r, c as t, F as i, a as o, f as n, g as F, d as C, e as l, I as A, P as d, b as u, u as m } from "./F0CanvasPanel-D25Wuumh.js";
|
|
2
2
|
import { defaultTranslations as c } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as g, C as p, t as v, s as I, v as T, y as S, B as f, l as y, i as x, q as b, E as k, G as B, p as H, r as L, j as M, e as O, g as V, k as w, F as D, T as z, w as E, h as G, a as j, n as q, z as R, m as U, o as J, D as K, b as N, f as Q, x as W, c as X, d as Y, u as Z } from "./F0AiProcessingOverlay-
|
|
3
|
+
import { A as g, C as p, t as v, s as I, v as T, y as S, B as f, l as y, i as x, q as b, E as k, G as B, p as H, r as L, j as M, e as O, g as V, k as w, F as D, T as z, w as E, h as G, a as j, n as q, z as R, m as U, o as J, D as K, b as N, f as Q, x as W, c as X, d as Y, u as Z } from "./F0AiProcessingOverlay-SFLE4xoa.js";
|
|
4
4
|
export {
|
|
5
5
|
g as AiChatTranslationsProvider,
|
|
6
6
|
e as ChatSpinner,
|
|
@@ -306,9 +306,10 @@ declare module "@tiptap/core" {
|
|
|
306
306
|
|
|
307
307
|
declare module "@tiptap/core" {
|
|
308
308
|
interface Commands<ReturnType> {
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
309
|
+
indent: {
|
|
310
|
+
setIndent: (level: number) => ReturnType;
|
|
311
|
+
unsetIndent: () => ReturnType;
|
|
312
|
+
outdent: () => ReturnType;
|
|
312
313
|
};
|
|
313
314
|
}
|
|
314
315
|
}
|
|
@@ -316,11 +317,8 @@ declare module "@tiptap/core" {
|
|
|
316
317
|
|
|
317
318
|
declare module "@tiptap/core" {
|
|
318
319
|
interface Commands<ReturnType> {
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
placeholder?: string;
|
|
322
|
-
}) => ReturnType;
|
|
323
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
320
|
+
moodTracker: {
|
|
321
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
324
322
|
};
|
|
325
323
|
}
|
|
326
324
|
}
|
|
@@ -328,8 +326,9 @@ declare module "@tiptap/core" {
|
|
|
328
326
|
|
|
329
327
|
declare module "@tiptap/core" {
|
|
330
328
|
interface Commands<ReturnType> {
|
|
331
|
-
|
|
332
|
-
|
|
329
|
+
aiBlock: {
|
|
330
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
331
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
333
332
|
};
|
|
334
333
|
}
|
|
335
334
|
}
|
|
@@ -337,10 +336,10 @@ declare module "@tiptap/core" {
|
|
|
337
336
|
|
|
338
337
|
declare module "@tiptap/core" {
|
|
339
338
|
interface Commands<ReturnType> {
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
339
|
+
videoEmbed: {
|
|
340
|
+
setVideoEmbed: (options: {
|
|
341
|
+
src: string;
|
|
342
|
+
}) => ReturnType;
|
|
344
343
|
};
|
|
345
344
|
}
|
|
346
345
|
}
|
|
@@ -357,10 +356,11 @@ declare module "@tiptap/core" {
|
|
|
357
356
|
|
|
358
357
|
declare module "@tiptap/core" {
|
|
359
358
|
interface Commands<ReturnType> {
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
359
|
+
enhanceHighlight: {
|
|
360
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
361
|
+
placeholder?: string;
|
|
363
362
|
}) => ReturnType;
|
|
363
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
364
364
|
};
|
|
365
365
|
}
|
|
366
366
|
}
|