@factorialco/f0-react 9.5.1 → 9.6.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.
Files changed (32) hide show
  1. package/dist/{ChatPdfThumbnail-3RDmTrPE.js → ChatPdfThumbnail-BJNuH3Kk.js} +1 -1
  2. package/dist/{ChatPostComposerDialog-CAzDe7vF.js → ChatPostComposerDialog-DXeFY7WG.js} +3 -3
  3. package/dist/{CoachmarkProvider-HXpz6Xoa.js → CoachmarkProvider-BqGMYwuU.js} +13618 -13363
  4. package/dist/{DocumentToolbar-DPgtVBB4.js → DocumentToolbar-BASAjrEM.js} +2 -2
  5. package/dist/{DocxViewer-necYCjAx.js → DocxViewer-Cm764lTQ.js} +2 -2
  6. package/dist/{F0AiProcessingOverlay-CNi4qf1K.js → F0AiProcessingOverlay-i0Yoa_vU.js} +1 -1
  7. package/dist/{F0CanvasPanel-yY1wnaOC.js → F0CanvasPanel-9FFNyLel.js} +21922 -22134
  8. package/dist/{F0DocumentViewer-D8rUyv7b.js → F0DocumentViewer-X9uTRuKM.js} +3 -3
  9. package/dist/{F0Map-CgOB5xR6.js → F0Map-BKZv02zL.js} +4 -4
  10. package/dist/{F0VideoPlayer-wDMq0_kA.js → F0VideoPlayer-BjcAExI-.js} +2 -2
  11. package/dist/{SheetViewer-BAXLPjmy.js → SheetViewer-DhhRBQv1.js} +3 -3
  12. package/dist/{TextViewer-C3iadHR9.js → TextViewer-CFpaJf1P.js} +2 -2
  13. package/dist/ai.d.ts +52 -52
  14. package/dist/ai.js +2 -2
  15. package/dist/component-status.d.ts +19 -19
  16. package/dist/component-status.js +6 -6
  17. package/dist/{experimental-nO11rIR4.js → experimental-CHXAROSJ.js} +6024 -5796
  18. package/dist/experimental.d.ts +81 -207
  19. package/dist/experimental.js +258 -257
  20. package/dist/f0.d.ts +64 -1713
  21. package/dist/f0.js +90 -90
  22. package/dist/i18n-provider-defaults.d.ts +19 -19
  23. package/dist/{index-ZodzV1xk.js → index-B0pkWkPs.js} +1 -1
  24. package/dist/{index-BDTXi-jh.js → index-BwVOsDhQ.js} +3 -3
  25. package/dist/index-D0UOb_at.js +8 -0
  26. package/dist/{index-K2VL_tP0.js → index-D4KyAsr3.js} +2 -2
  27. package/dist/index-blRNr67I.js +4 -0
  28. package/dist/{pdfWorker-fW7pEi9c.js → pdfWorker-Dku13BrA.js} +2 -2
  29. package/dist/styles.css +1 -1
  30. package/package.json +4 -6
  31. package/dist/index-CEQKtsvf.js +0 -4
  32. 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-yY1wnaOC.js";
4
- import { e as $e, D as Be, P as Me } from "./pdfWorker-fW7pEi9c.js";
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-9FFNyLel.js";
4
+ import { e as $e, D as Be, P as Me } from "./pdfWorker-Dku13BrA.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-BAXLPjmy.js")), ot = X(() => import("./DocxViewer-necYCjAx.js")), nt = X(() => import("./TextViewer-C3iadHR9.js")), se = 48, rt = 150, ue = ce((e, t) => {
275
+ const tt = X(() => import("./SheetViewer-DhhRBQv1.js")), ot = X(() => import("./DocxViewer-Cm764lTQ.js")), nt = X(() => import("./TextViewer-CFpaJf1P.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-HXpz6Xoa.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-yY1wnaOC.js";
3
+ import { c as Zn, d as Kn, e as qn } from "./CoachmarkProvider-BqGMYwuU.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-9FFNyLel.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-K2VL_tP0.js").then((e) => e.createMaplibreAdapter),
1530
+ maplibre: () => import("./index-D4KyAsr3.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-ZodzV1xk.js").then((t) => t.loadGoogleAdapter(e))
1534
+ google: (e) => import("./index-B0pkWkPs.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-yY1wnaOC.js";
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-9FFNyLel.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-HXpz6Xoa.js";
6
+ import { b as vt } from "./CoachmarkProvider-BqGMYwuU.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-yY1wnaOC.js";
4
- import { d as D } from "./F0DocumentViewer-D8rUyv7b.js";
3
+ import { u as F, T as S, h as T, S as V, i as A } from "./F0CanvasPanel-9FFNyLel.js";
4
+ import { d as D } from "./F0DocumentViewer-X9uTRuKM.js";
5
5
  import { f as L, c as R } from "./sheetPreview-DC9RRwv0.js";
6
- import { u as z, D as U } from "./DocumentToolbar-DPgtVBB4.js";
6
+ import { u as z, D as U } from "./DocumentToolbar-BASAjrEM.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-yY1wnaOC.js";
4
- import { u as k, D as v } from "./DocumentToolbar-DPgtVBB4.js";
3
+ import { u as w, S as y, p as g } from "./F0CanvasPanel-9FFNyLel.js";
4
+ import { u as k, D as v } from "./DocumentToolbar-BASAjrEM.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 '../../value-display/types/alertTag';
2
+ import { AlertTagCellValue } from '../value-display/types/alertTag';
3
3
  import { AlertTagCellValue as AlertTagCellValue_2 } from './types/alertTag';
4
- import { AmountCellValue } from '../../value-display/types/amount';
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 '../../value-display/types/avatarList';
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 '../../value-display/types/company';
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 '../../value-display/types/date';
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 '../../value-display/types/dotTag';
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 '../../value-display/types/file';
31
+ import { FileCellValue } from '../value-display/types/file';
32
32
  import { FileCellValue as FileCellValue_2 } from './types/file';
33
- import { FolderCellValue } from '../../value-display/types/folder';
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 '../../value-display/types/number';
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 '../../value-display/types/person';
49
+ import { PersonCellValue } from '../value-display/types/person';
50
50
  import { PersonCellValue as PersonCellValue_2 } from './types/person';
51
- import { ProgressBarCellValue } from '../../value-display/types/progressBar';
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 '../../value-display/types/status';
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 '../../value-display/types/tag';
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 '../../value-display/types/tagList';
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 '../../value-display/types/team';
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 '../../value-display/types/text';
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 '../../value-display';
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) => default_2.JSX.Element;
1745
- readonly number: (args: NumberCellValue, meta: ValueDisplayRendererContext) => default_2.JSX.Element;
1746
- readonly date: (args: DateCellValue, meta: ValueDisplayRendererContext) => default_2.JSX.Element;
1747
- readonly amount: (args: AmountCellValue, meta: ValueDisplayRendererContext) => default_2.JSX.Element;
1748
- readonly person: (args: PersonCellValue, meta: ValueDisplayRendererContext) => default_2.JSX.Element;
1749
- readonly company: (args: CompanyCellValue, meta: ValueDisplayRendererContext) => default_2.JSX.Element;
1750
- readonly team: (args: TeamCellValue, meta: ValueDisplayRendererContext) => default_2.JSX.Element;
1751
- readonly status: (args: StatusCellValue) => default_2.JSX.Element;
1752
- readonly tag: (args: TagCellValue) => default_2.JSX.Element;
1753
- readonly avatarList: (args: AvatarListCellValue, meta: ValueDisplayRendererContext) => default_2.JSX.Element;
1754
- readonly tagList: (args: TagListCellValue) => default_2.JSX.Element;
1755
- readonly alertTag: (args: AlertTagCellValue) => default_2.JSX.Element;
1756
- readonly dotTag: (args: DotTagCellValue) => default_2.JSX.Element;
1757
- readonly file: (args: FileCellValue) => default_2.JSX.Element;
1758
- readonly folder: (args: FolderCellValue) => default_2.JSX.Element;
1759
- readonly progressBar: (args: ProgressBarCellValue, _meta: ValueDisplayRendererContext) => default_2.JSX.Element | null;
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,10 +6856,9 @@ declare namespace Calendar {
6856
6856
 
6857
6857
  declare module "@tiptap/core" {
6858
6858
  interface Commands<ReturnType> {
6859
- videoEmbed: {
6860
- setVideoEmbed: (options: {
6861
- src: string;
6862
- }) => ReturnType;
6859
+ aiBlock: {
6860
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
6861
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
6863
6862
  };
6864
6863
  }
6865
6864
  }
@@ -6867,8 +6866,11 @@ declare module "@tiptap/core" {
6867
6866
 
6868
6867
  declare module "@tiptap/core" {
6869
6868
  interface Commands<ReturnType> {
6870
- transcript: {
6871
- insertTranscript: (data: TranscriptData) => ReturnType;
6869
+ enhanceHighlight: {
6870
+ setEnhanceHighlight: (from: number, to: number, options?: {
6871
+ placeholder?: string;
6872
+ }) => ReturnType;
6873
+ clearEnhanceHighlight: () => ReturnType;
6872
6874
  };
6873
6875
  }
6874
6876
  }
@@ -6887,8 +6889,9 @@ declare module "@tiptap/core" {
6887
6889
 
6888
6890
  declare module "@tiptap/core" {
6889
6891
  interface Commands<ReturnType> {
6890
- moodTracker: {
6891
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
6892
+ fontSize: {
6893
+ setFontSize: (fontSize: string) => ReturnType;
6894
+ unsetFontSize: () => ReturnType;
6892
6895
  };
6893
6896
  }
6894
6897
  }
@@ -6896,11 +6899,8 @@ declare module "@tiptap/core" {
6896
6899
 
6897
6900
  declare module "@tiptap/core" {
6898
6901
  interface Commands<ReturnType> {
6899
- enhanceHighlight: {
6900
- setEnhanceHighlight: (from: number, to: number, options?: {
6901
- placeholder?: string;
6902
- }) => ReturnType;
6903
- clearEnhanceHighlight: () => ReturnType;
6902
+ moodTracker: {
6903
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
6904
6904
  };
6905
6905
  }
6906
6906
  }
@@ -6908,9 +6908,10 @@ declare module "@tiptap/core" {
6908
6908
 
6909
6909
  declare module "@tiptap/core" {
6910
6910
  interface Commands<ReturnType> {
6911
- fontSize: {
6912
- setFontSize: (fontSize: string) => ReturnType;
6913
- unsetFontSize: () => ReturnType;
6911
+ videoEmbed: {
6912
+ setVideoEmbed: (options: {
6913
+ src: string;
6914
+ }) => ReturnType;
6914
6915
  };
6915
6916
  }
6916
6917
  }
@@ -6918,9 +6919,8 @@ declare module "@tiptap/core" {
6918
6919
 
6919
6920
  declare module "@tiptap/core" {
6920
6921
  interface Commands<ReturnType> {
6921
- aiBlock: {
6922
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
6923
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
6922
+ transcript: {
6923
+ insertTranscript: (data: TranscriptData) => ReturnType;
6924
6924
  };
6925
6925
  }
6926
6926
  }
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-yY1wnaOC.js";
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-9FFNyLel.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-CNi4qf1K.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-i0Yoa_vU.js";
4
4
  export {
5
5
  g as AiChatTranslationsProvider,
6
6
  e as ChatSpinner,
@@ -307,10 +307,9 @@ declare namespace Calendar {
307
307
 
308
308
  declare module "@tiptap/core" {
309
309
  interface Commands<ReturnType> {
310
- videoEmbed: {
311
- setVideoEmbed: (options: {
312
- src: string;
313
- }) => ReturnType;
310
+ aiBlock: {
311
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
312
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
314
313
  };
315
314
  }
316
315
  }
@@ -318,8 +317,11 @@ declare module "@tiptap/core" {
318
317
 
319
318
  declare module "@tiptap/core" {
320
319
  interface Commands<ReturnType> {
321
- transcript: {
322
- insertTranscript: (data: TranscriptData) => ReturnType;
320
+ enhanceHighlight: {
321
+ setEnhanceHighlight: (from: number, to: number, options?: {
322
+ placeholder?: string;
323
+ }) => ReturnType;
324
+ clearEnhanceHighlight: () => ReturnType;
323
325
  };
324
326
  }
325
327
  }
@@ -338,8 +340,9 @@ declare module "@tiptap/core" {
338
340
 
339
341
  declare module "@tiptap/core" {
340
342
  interface Commands<ReturnType> {
341
- moodTracker: {
342
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
343
+ fontSize: {
344
+ setFontSize: (fontSize: string) => ReturnType;
345
+ unsetFontSize: () => ReturnType;
343
346
  };
344
347
  }
345
348
  }
@@ -347,11 +350,8 @@ declare module "@tiptap/core" {
347
350
 
348
351
  declare module "@tiptap/core" {
349
352
  interface Commands<ReturnType> {
350
- enhanceHighlight: {
351
- setEnhanceHighlight: (from: number, to: number, options?: {
352
- placeholder?: string;
353
- }) => ReturnType;
354
- clearEnhanceHighlight: () => ReturnType;
353
+ moodTracker: {
354
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
355
355
  };
356
356
  }
357
357
  }
@@ -359,9 +359,10 @@ declare module "@tiptap/core" {
359
359
 
360
360
  declare module "@tiptap/core" {
361
361
  interface Commands<ReturnType> {
362
- fontSize: {
363
- setFontSize: (fontSize: string) => ReturnType;
364
- unsetFontSize: () => ReturnType;
362
+ videoEmbed: {
363
+ setVideoEmbed: (options: {
364
+ src: string;
365
+ }) => ReturnType;
365
366
  };
366
367
  }
367
368
  }
@@ -369,9 +370,8 @@ declare module "@tiptap/core" {
369
370
 
370
371
  declare module "@tiptap/core" {
371
372
  interface Commands<ReturnType> {
372
- aiBlock: {
373
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
374
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
373
+ transcript: {
374
+ insertTranscript: (data: TranscriptData) => ReturnType;
375
375
  };
376
376
  }
377
377
  }