@factorialco/f0-react 1.420.0 → 1.422.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/{F0HILActionConfirmation-DmSwzvkv.js → F0HILActionConfirmation-DxshcaDQ.js} +1 -1
- package/dist/ai.d.ts +35 -12
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +26 -11
- package/dist/experimental.js +212 -212
- package/dist/f0.d.ts +40 -12
- package/dist/f0.js +1745 -1829
- package/dist/i18n-provider-defaults.d.ts +21 -11
- package/dist/i18n-provider-defaults.js +10 -0
- package/dist/{index-BVculwZa.js → index-CIfYW3SA.js} +1 -1
- package/dist/{registry-BQtwbAA5.js → registry-WX4F5JvC.js} +27382 -27103
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -431,6 +431,16 @@ export declare const defaultTranslations: {
|
|
|
431
431
|
readonly controls: "← → to move";
|
|
432
432
|
readonly escToExit: "Esc to exit";
|
|
433
433
|
};
|
|
434
|
+
readonly creditWarning: {
|
|
435
|
+
readonly soft: "You're running low on AI credits.";
|
|
436
|
+
readonly getCredits: "Get credits";
|
|
437
|
+
readonly dismiss: "Dismiss";
|
|
438
|
+
readonly messageBanner: {
|
|
439
|
+
readonly title: "This response requires credits";
|
|
440
|
+
readonly description: "Your company has run out of AI credits.";
|
|
441
|
+
readonly actionLabel: "Get credits";
|
|
442
|
+
};
|
|
443
|
+
};
|
|
434
444
|
readonly growth: {
|
|
435
445
|
readonly demoCard: {
|
|
436
446
|
readonly title: "See {{moduleName}} in action";
|
|
@@ -711,6 +721,11 @@ declare module "gridstack" {
|
|
|
711
721
|
}
|
|
712
722
|
|
|
713
723
|
|
|
724
|
+
declare namespace Calendar {
|
|
725
|
+
var displayName: string;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
|
|
714
729
|
declare module "@tiptap/core" {
|
|
715
730
|
interface Commands<ReturnType> {
|
|
716
731
|
aiBlock: {
|
|
@@ -742,10 +757,8 @@ declare module "@tiptap/core" {
|
|
|
742
757
|
|
|
743
758
|
declare module "@tiptap/core" {
|
|
744
759
|
interface Commands<ReturnType> {
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
src: string;
|
|
748
|
-
}) => ReturnType;
|
|
760
|
+
transcript: {
|
|
761
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
749
762
|
};
|
|
750
763
|
}
|
|
751
764
|
}
|
|
@@ -753,13 +766,10 @@ declare module "@tiptap/core" {
|
|
|
753
766
|
|
|
754
767
|
declare module "@tiptap/core" {
|
|
755
768
|
interface Commands<ReturnType> {
|
|
756
|
-
|
|
757
|
-
|
|
769
|
+
videoEmbed: {
|
|
770
|
+
setVideoEmbed: (options: {
|
|
771
|
+
src: string;
|
|
772
|
+
}) => ReturnType;
|
|
758
773
|
};
|
|
759
774
|
}
|
|
760
775
|
}
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
declare namespace Calendar {
|
|
764
|
-
var displayName: string;
|
|
765
|
-
}
|
|
@@ -431,6 +431,16 @@ const e = {
|
|
|
431
431
|
controls: "← → to move",
|
|
432
432
|
escToExit: "Esc to exit"
|
|
433
433
|
},
|
|
434
|
+
creditWarning: {
|
|
435
|
+
soft: "You're running low on AI credits.",
|
|
436
|
+
getCredits: "Get credits",
|
|
437
|
+
dismiss: "Dismiss",
|
|
438
|
+
messageBanner: {
|
|
439
|
+
title: "This response requires credits",
|
|
440
|
+
description: "Your company has run out of AI credits.",
|
|
441
|
+
actionLabel: "Get credits"
|
|
442
|
+
}
|
|
443
|
+
},
|
|
434
444
|
growth: {
|
|
435
445
|
demoCard: {
|
|
436
446
|
title: "See {{moduleName}} in action",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as H, jsx as _, Fragment as Ct } from "react/jsx-runtime";
|
|
2
2
|
import * as Ie from "react";
|
|
3
3
|
import T, { useRef as $e, useState as ve, useCallback as xt, useEffect as ut, useLayoutEffect as fg, isValidElement as Jn, Children as ua, PureComponent as qn, forwardRef as ri, useImperativeHandle as lg, useMemo as vi, cloneElement as bt, createElement as cg, useContext as Hn, createContext as Ai, Component as R6, useId as j6, Fragment as uf, useDebugValue as L6, createRef as GC, memo as B6, version as yb } from "react";
|
|
4
|
-
import { U as wi, d1 as YC, K as fe, cY as F6,
|
|
4
|
+
import { U as wi, d1 as YC, K as fe, cY as F6, aS as XC, aR as JC, L as z6, P as Ci, a3 as $r, f9 as eo, fa as ZC, fb as QC, fc as eT, fd as vb, fe as gb, ff as bb, fg as xb, fh as kb, fi as q6, fj as yc, fk as tT, fl as nT, fm as iT, dP as df, fn as hl, fo as pl, fp as ai, fq as rT, fr as H6, b6 as Ye, fs as aT, ft as ts, a7 as Ee, fu as oT, fv as W6, fw as ug, fx as V6, fy as U6, fz as sT, fA as fT, fB as K6, fC as lT, fD as cT, fE as uT, fF as wd, fG as dT, fH as hT, fI as pT, fJ as mT, a6 as Sa, fK as yT, fL as vT, dp as gT, a8 as Zn, a9 as Qn, cQ as bT, cR as xT, cS as kT, cV as wT, fM as G6, _ as nn, bD as _T, M as Le, aH as ml, aq as ST, eX as Ut, bf as OT, bg as ET, a2 as dg, bh as AT, bl as CT, bi as TT, bj as wb, bn as _b, aK as Y6, bp as MT, bq as PT, bs as DT, bt as NT, N as _d, u as Ti, aB as X6, a0 as gn, R as nt, $ as $T, W as J6, aQ as IT, ak as hg, cy as RT, fN as Z6, fO as Sb, fP as jT, cD as LT, eu as BT, ev as FT, cv as zT, cw as qT, cx as HT, eR as WT, am as VT, eS as pg, c4 as hf, a4 as Q6, du as e5, bk as UT, fQ as KT, aN as t5, fR as GT, fS as YT, fT as n5, dM as yl, fU as Sd, fV as Od, dO as vl, ai as XT, aj as JT, dC as ZT, al as QT, c5 as mg, aM as Ob, er as eM, fW as tM, d$ as i5, dw as nM, fX as iM, fY as Vy, fZ as r5, f_ as a5, f$ as o5, g0 as rM, g1 as aM, g2 as oM, g3 as sM, dD as fM, dE as lM, dF as cM, ba as uM, dG as dM, b8 as hM, g4 as pM, dJ as mM, dL as yM, dK as vM, c2 as gM, dN as bM, g5 as xM, bY as s5, aG as f5, d2 as Uy, a1 as kM, b9 as wM, g6 as _M, bz as SM, bA as OM, Y as l5, Z as hn, g7 as EM, av as Eb, e2 as AM, Q as c5, b_ as CM, b$ as TM, bX as yg, aa as MM, ay as PM, dS as DM, cf as NM, bE as Ab, c0 as $M, aZ as IM, eB as RM, g8 as jM, bF as LM, bG as BM, g9 as FM, bH as zM, ga as qM, gb as HM, eH as Cb } from "./registry-WX4F5JvC.js";
|
|
5
5
|
import vg from "react-dom";
|
|
6
6
|
import './index.css';const WM = {
|
|
7
7
|
active: !0,
|