@factorialco/f0-react 9.5.0 → 9.5.2
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-3RDmTrPE.js → ChatPdfThumbnail-8s2Le3pz.js} +1 -1
- package/dist/{ChatPostComposerDialog-CDXHtTfU.js → ChatPostComposerDialog-C65JZV8Q.js} +3 -3
- package/dist/{CoachmarkProvider-HXpz6Xoa.js → CoachmarkProvider-DxlZHkga.js} +13589 -13350
- package/dist/{DocumentToolbar-DPgtVBB4.js → DocumentToolbar-C5TrJERi.js} +2 -2
- package/dist/{DocxViewer-necYCjAx.js → DocxViewer-B5QPRhae.js} +2 -2
- package/dist/{F0AiProcessingOverlay-CNi4qf1K.js → F0AiProcessingOverlay-BB7vWJUN.js} +1 -1
- package/dist/{F0CanvasPanel-yY1wnaOC.js → F0CanvasPanel-CebMUA6-.js} +21904 -22116
- package/dist/{F0DocumentViewer-D8rUyv7b.js → F0DocumentViewer-wy_8k7F8.js} +3 -3
- package/dist/{F0Map-CgOB5xR6.js → F0Map-Dgj4Hdj0.js} +4 -4
- package/dist/{F0VideoPlayer-wDMq0_kA.js → F0VideoPlayer-uvCGbl-R.js} +2 -2
- package/dist/{SheetViewer-BAXLPjmy.js → SheetViewer-a62c1qpd.js} +3 -3
- package/dist/{TextViewer-C3iadHR9.js → TextViewer-DQzbYd-J.js} +2 -2
- package/dist/ai.d.ts +52 -52
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +19 -19
- package/dist/component-status.js +1 -1
- package/dist/{experimental-DHCGMsJS.js → experimental-BjDkIQrU.js} +3686 -3664
- package/dist/experimental.d.ts +62 -207
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +64 -1713
- package/dist/f0.js +90 -90
- package/dist/i18n-provider-defaults.d.ts +19 -19
- package/dist/{index-BDTXi-jh.js → index--y-m1zd0.js} +3 -3
- package/dist/index-BhU-0fSe.js +8 -0
- package/dist/{index-ZodzV1xk.js → index-ByoHGgu8.js} +1 -1
- package/dist/index-DA65v5fO.js +4 -0
- package/dist/{index-K2VL_tP0.js → index-DD5anxnp.js} +2 -2
- package/dist/{pdfWorker-fW7pEi9c.js → pdfWorker-ZseFB0UO.js} +2 -2
- package/package.json +4 -6
- package/dist/index-CEQKtsvf.js +0 -4
- package/dist/index-D1esL6yA.js +0 -8
|
@@ -1,7 +1,7 @@
|
|
|
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, A as _e, u as Y, B as Te, x as Le, j as Fe, k as De, l as Ve, E as Ee, m as He, G as Ue, H as We, J as Oe, K as je } from "./F0CanvasPanel-
|
|
4
|
-
import { e as $e, D as Be, P as Me } from "./pdfWorker-
|
|
3
|
+
import { S as E, A as _e, u as Y, B as Te, x as Le, j as Fe, k as De, l as Ve, E as Ee, m as He, G as Ue, H as We, J as Oe, K as je } from "./F0CanvasPanel-CebMUA6-.js";
|
|
4
|
+
import { e as $e, D as Be, P as Me } from "./pdfWorker-ZseFB0UO.js";
|
|
5
5
|
import { d as G } from "./tooltip-VHD1kZdF.js";
|
|
6
6
|
import { F as ze } from "./Printer-BD-FEi_2.js";
|
|
7
7
|
import './F0DocumentViewer.css';const ut = [
|
|
@@ -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-a62c1qpd.js")), ot = X(() => import("./DocxViewer-B5QPRhae.js")), nt = X(() => import("./TextViewer-DQzbYd-J.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 { c as Zn, d as Kn, e as qn } from "./CoachmarkProvider-
|
|
4
|
-
import { z as we, a6 as Vn, w as en, a7 as nt, a8 as lt, a9 as Oe, aa as oe, ab as tn, u as se, A as Fe, ac as Jn, ad as Qn, ae as ea, j as ta, af as na, ag as nn, ah as aa, ai as oa, aj as Rt, ak as an, al as la } from "./F0CanvasPanel-
|
|
3
|
+
import { c as Zn, d as Kn, e as qn } from "./CoachmarkProvider-DxlZHkga.js";
|
|
4
|
+
import { z as we, a6 as Vn, w as en, a7 as nt, a8 as lt, a9 as Oe, aa as oe, ab as tn, u as se, A as Fe, ac as Jn, ad as Qn, ae as ea, j as ta, af as na, ag as nn, ah as aa, ai as oa, aj as Rt, ak as an, al as la } from "./F0CanvasPanel-CebMUA6-.js";
|
|
5
5
|
import { d as D, f as ra } from "./tooltip-VHD1kZdF.js";
|
|
6
6
|
import { createPortal as ia } from "react-dom";
|
|
7
7
|
const sa = (e, t) => ({
|
|
@@ -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-DD5anxnp.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-ByoHGgu8.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)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as W, L as je, M as Xe, A as $, N as Ge, O as Ze, Q as Ye, R as qe, U as Qe, V as Je, W as et, X as tt, Y as nt, Z as rt, _ as at, $ as ot, a0 as st, a1 as ye, a2 as it, a3 as Ce, m as ct, a4 as lt, a5 as dt, w as ut, G as ft, H as mt } from "./F0CanvasPanel-
|
|
1
|
+
import { u as W, L as je, M as Xe, A as $, N as Ge, O as Ze, Q as Ye, R as qe, U as Qe, V as Je, W as et, X as tt, Y as nt, Z as rt, _ as at, $ as ot, a0 as st, a1 as ye, a2 as it, a3 as Ce, m as ct, a4 as lt, a5 as dt, w as ut, G as ft, H as mt } from "./F0CanvasPanel-CebMUA6-.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 A } from "react";
|
|
4
4
|
import { d as H, f as de } from "./tooltip-VHD1kZdF.js";
|
|
5
5
|
import { F as Pe, a as ht, b as gt } from "./VolumeMuted-UfTwt2zn.js";
|
|
6
|
-
import { b as vt } from "./CoachmarkProvider-
|
|
6
|
+
import { b as vt } from "./CoachmarkProvider-DxlZHkga.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-CebMUA6-.js";
|
|
4
|
+
import { d as D } from "./F0DocumentViewer-wy_8k7F8.js";
|
|
5
5
|
import { f as L, c as R } from "./sheetPreview-DC9RRwv0.js";
|
|
6
|
-
import { u as z, D as U } from "./DocumentToolbar-
|
|
6
|
+
import { u as z, D as U } from "./DocumentToolbar-C5TrJERi.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-CebMUA6-.js";
|
|
4
|
+
import { u as k, D as v } from "./DocumentToolbar-C5TrJERi.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,29 +59,29 @@ 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
67
|
import { TagAlertProps } from '../tags/F0TagAlert';
|
|
68
68
|
import { TagBalanceProps } from '../tags/F0TagBalance';
|
|
69
|
-
import { TagCellValue } from '
|
|
69
|
+
import { TagCellValue } from '../value-display/types/tag';
|
|
70
70
|
import { TagCellValue as TagCellValue_2 } from './types/tag';
|
|
71
71
|
import { TagDotProps } from '../tags/F0TagDot';
|
|
72
|
-
import { TagListCellValue } from '
|
|
72
|
+
import { TagListCellValue } from '../value-display/types/tagList';
|
|
73
73
|
import { TagListCellValue as TagListCellValue_2 } from './types/tagList';
|
|
74
74
|
import { TagListProps } from '../tags/F0TagList';
|
|
75
75
|
import { TagRawProps } from '../tags/F0TagRaw';
|
|
76
76
|
import { TagStatusProps } from '../tags/F0TagStatus';
|
|
77
77
|
import { TagType } from '../tags/F0TagList';
|
|
78
|
-
import { TeamCellValue } from '
|
|
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/renderers';
|
|
85
85
|
import { VariantProps } from 'cva';
|
|
86
86
|
import { WithDataTestIdReturnType } from '../lib/data-testid/data-testid';
|
|
87
87
|
import { WithDataTestIdReturnType as WithDataTestIdReturnType_2 } from '../../lib/data-testid/data-testid';
|
|
@@ -1741,22 +1741,22 @@ declare interface CardPrimaryAction {
|
|
|
1741
1741
|
}
|
|
1742
1742
|
|
|
1743
1743
|
declare const cardPropertyRenderers: {
|
|
1744
|
-
readonly text: (args: TextCellValue, meta: ValueDisplayRendererContext) =>
|
|
1745
|
-
readonly number: (args: NumberCellValue, meta: ValueDisplayRendererContext) =>
|
|
1746
|
-
readonly date: (args: DateCellValue, meta: ValueDisplayRendererContext) =>
|
|
1747
|
-
readonly amount: (args: AmountCellValue, meta: ValueDisplayRendererContext) =>
|
|
1748
|
-
readonly person: (args: PersonCellValue, meta: ValueDisplayRendererContext) =>
|
|
1749
|
-
readonly company: (args: CompanyCellValue, meta: ValueDisplayRendererContext) =>
|
|
1750
|
-
readonly team: (args: TeamCellValue, meta: ValueDisplayRendererContext) =>
|
|
1751
|
-
readonly status: (args: StatusCellValue) =>
|
|
1752
|
-
readonly tag: (args: TagCellValue) =>
|
|
1753
|
-
readonly avatarList: (args: AvatarListCellValue, meta: ValueDisplayRendererContext) =>
|
|
1754
|
-
readonly tagList: (args: TagListCellValue) =>
|
|
1755
|
-
readonly alertTag: (args: AlertTagCellValue) =>
|
|
1756
|
-
readonly dotTag: (args: DotTagCellValue) =>
|
|
1757
|
-
readonly file: (args: FileCellValue) =>
|
|
1758
|
-
readonly folder: (args: FolderCellValue) =>
|
|
1759
|
-
readonly progressBar: (args: ProgressBarCellValue, _meta: ValueDisplayRendererContext) =>
|
|
1744
|
+
readonly text: (args: TextCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
1745
|
+
readonly number: (args: NumberCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
1746
|
+
readonly date: (args: DateCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
1747
|
+
readonly amount: (args: AmountCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
1748
|
+
readonly person: (args: PersonCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
1749
|
+
readonly company: (args: CompanyCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
1750
|
+
readonly team: (args: TeamCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
1751
|
+
readonly status: (args: StatusCellValue) => JSX_2.Element;
|
|
1752
|
+
readonly tag: (args: TagCellValue) => JSX_2.Element;
|
|
1753
|
+
readonly avatarList: (args: AvatarListCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
1754
|
+
readonly tagList: (args: TagListCellValue) => JSX_2.Element;
|
|
1755
|
+
readonly alertTag: (args: AlertTagCellValue) => JSX_2.Element;
|
|
1756
|
+
readonly dotTag: (args: DotTagCellValue) => JSX_2.Element;
|
|
1757
|
+
readonly file: (args: FileCellValue) => JSX_2.Element;
|
|
1758
|
+
readonly folder: (args: FolderCellValue) => JSX_2.Element;
|
|
1759
|
+
readonly progressBar: (args: ProgressBarCellValue, _meta: ValueDisplayRendererContext) => JSX_2.Element | null;
|
|
1760
1760
|
};
|
|
1761
1761
|
|
|
1762
1762
|
declare type CardPropertyType = keyof typeof cardPropertyRenderers;
|
|
@@ -6856,9 +6856,8 @@ declare namespace Calendar {
|
|
|
6856
6856
|
|
|
6857
6857
|
declare module "@tiptap/core" {
|
|
6858
6858
|
interface Commands<ReturnType> {
|
|
6859
|
-
|
|
6860
|
-
|
|
6861
|
-
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
6859
|
+
moodTracker: {
|
|
6860
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
6862
6861
|
};
|
|
6863
6862
|
}
|
|
6864
6863
|
}
|
|
@@ -6866,8 +6865,11 @@ declare module "@tiptap/core" {
|
|
|
6866
6865
|
|
|
6867
6866
|
declare module "@tiptap/core" {
|
|
6868
6867
|
interface Commands<ReturnType> {
|
|
6869
|
-
|
|
6870
|
-
|
|
6868
|
+
enhanceHighlight: {
|
|
6869
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
6870
|
+
placeholder?: string;
|
|
6871
|
+
}) => ReturnType;
|
|
6872
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
6871
6873
|
};
|
|
6872
6874
|
}
|
|
6873
6875
|
}
|
|
@@ -6875,9 +6877,10 @@ declare module "@tiptap/core" {
|
|
|
6875
6877
|
|
|
6876
6878
|
declare module "@tiptap/core" {
|
|
6877
6879
|
interface Commands<ReturnType> {
|
|
6878
|
-
|
|
6879
|
-
|
|
6880
|
-
|
|
6880
|
+
indent: {
|
|
6881
|
+
setIndent: (level: number) => ReturnType;
|
|
6882
|
+
unsetIndent: () => ReturnType;
|
|
6883
|
+
outdent: () => ReturnType;
|
|
6881
6884
|
};
|
|
6882
6885
|
}
|
|
6883
6886
|
}
|
|
@@ -6885,10 +6888,9 @@ declare module "@tiptap/core" {
|
|
|
6885
6888
|
|
|
6886
6889
|
declare module "@tiptap/core" {
|
|
6887
6890
|
interface Commands<ReturnType> {
|
|
6888
|
-
|
|
6889
|
-
|
|
6890
|
-
|
|
6891
|
-
outdent: () => ReturnType;
|
|
6891
|
+
aiBlock: {
|
|
6892
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
6893
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
6892
6894
|
};
|
|
6893
6895
|
}
|
|
6894
6896
|
}
|
|
@@ -6896,8 +6898,9 @@ declare module "@tiptap/core" {
|
|
|
6896
6898
|
|
|
6897
6899
|
declare module "@tiptap/core" {
|
|
6898
6900
|
interface Commands<ReturnType> {
|
|
6899
|
-
|
|
6900
|
-
|
|
6901
|
+
fontSize: {
|
|
6902
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
6903
|
+
unsetFontSize: () => ReturnType;
|
|
6901
6904
|
};
|
|
6902
6905
|
}
|
|
6903
6906
|
}
|
|
@@ -6905,11 +6908,8 @@ declare module "@tiptap/core" {
|
|
|
6905
6908
|
|
|
6906
6909
|
declare module "@tiptap/core" {
|
|
6907
6910
|
interface Commands<ReturnType> {
|
|
6908
|
-
|
|
6909
|
-
|
|
6910
|
-
placeholder?: string;
|
|
6911
|
-
}) => ReturnType;
|
|
6912
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
6911
|
+
transcript: {
|
|
6912
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
6913
6913
|
};
|
|
6914
6914
|
}
|
|
6915
6915
|
}
|
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-CebMUA6-.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-BB7vWJUN.js";
|
|
4
4
|
export {
|
|
5
5
|
g as AiChatTranslationsProvider,
|
|
6
6
|
e as ChatSpinner,
|
|
@@ -307,9 +307,8 @@ declare namespace Calendar {
|
|
|
307
307
|
|
|
308
308
|
declare module "@tiptap/core" {
|
|
309
309
|
interface Commands<ReturnType> {
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
310
|
+
moodTracker: {
|
|
311
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
313
312
|
};
|
|
314
313
|
}
|
|
315
314
|
}
|
|
@@ -317,8 +316,11 @@ declare module "@tiptap/core" {
|
|
|
317
316
|
|
|
318
317
|
declare module "@tiptap/core" {
|
|
319
318
|
interface Commands<ReturnType> {
|
|
320
|
-
|
|
321
|
-
|
|
319
|
+
enhanceHighlight: {
|
|
320
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
321
|
+
placeholder?: string;
|
|
322
|
+
}) => ReturnType;
|
|
323
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
322
324
|
};
|
|
323
325
|
}
|
|
324
326
|
}
|
|
@@ -326,9 +328,10 @@ declare module "@tiptap/core" {
|
|
|
326
328
|
|
|
327
329
|
declare module "@tiptap/core" {
|
|
328
330
|
interface Commands<ReturnType> {
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
331
|
+
indent: {
|
|
332
|
+
setIndent: (level: number) => ReturnType;
|
|
333
|
+
unsetIndent: () => ReturnType;
|
|
334
|
+
outdent: () => ReturnType;
|
|
332
335
|
};
|
|
333
336
|
}
|
|
334
337
|
}
|
|
@@ -336,10 +339,9 @@ declare module "@tiptap/core" {
|
|
|
336
339
|
|
|
337
340
|
declare module "@tiptap/core" {
|
|
338
341
|
interface Commands<ReturnType> {
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
outdent: () => ReturnType;
|
|
342
|
+
aiBlock: {
|
|
343
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
344
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
343
345
|
};
|
|
344
346
|
}
|
|
345
347
|
}
|
|
@@ -347,8 +349,9 @@ declare module "@tiptap/core" {
|
|
|
347
349
|
|
|
348
350
|
declare module "@tiptap/core" {
|
|
349
351
|
interface Commands<ReturnType> {
|
|
350
|
-
|
|
351
|
-
|
|
352
|
+
fontSize: {
|
|
353
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
354
|
+
unsetFontSize: () => ReturnType;
|
|
352
355
|
};
|
|
353
356
|
}
|
|
354
357
|
}
|
|
@@ -356,11 +359,8 @@ declare module "@tiptap/core" {
|
|
|
356
359
|
|
|
357
360
|
declare module "@tiptap/core" {
|
|
358
361
|
interface Commands<ReturnType> {
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
placeholder?: string;
|
|
362
|
-
}) => ReturnType;
|
|
363
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
362
|
+
transcript: {
|
|
363
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
364
364
|
};
|
|
365
365
|
}
|
|
366
366
|
}
|