@factorialco/f0-react 2.50.0 → 2.51.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/{F0CanvasPanel-BhJlROnj.js → F0CanvasPanel-DDHvW6gk.js} +59 -50
- package/dist/ai.d.ts +6 -6
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +6 -6
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +73 -6
- package/dist/f0.js +12109 -11579
- package/dist/i18n-provider-defaults.d.ts +6 -6
- package/dist/{useChatHistory-BStmxDZN.js → useChatHistory-CKnLaxwq.js} +15 -14
- package/dist/{useDataCollectionSource-wGCHvK_8.js → useDataCollectionSource-FspzgKHC.js} +1 -1
- package/package.json +1 -1
|
@@ -140321,7 +140321,7 @@ export {
|
|
|
140321
140321
|
BL as fy,
|
|
140322
140322
|
wU as fz,
|
|
140323
140323
|
Ba as g,
|
|
140324
|
-
|
|
140324
|
+
p41 as g$,
|
|
140325
140325
|
Nn as g0,
|
|
140326
140326
|
Dn as g1,
|
|
140327
140327
|
Pj as g2,
|
|
@@ -140332,33 +140332,33 @@ export {
|
|
|
140332
140332
|
hG1 as g7,
|
|
140333
140333
|
uG1 as g8,
|
|
140334
140334
|
gG1 as g9,
|
|
140335
|
-
|
|
140336
|
-
|
|
140337
|
-
|
|
140338
|
-
|
|
140339
|
-
|
|
140340
|
-
|
|
140341
|
-
|
|
140342
|
-
|
|
140343
|
-
|
|
140344
|
-
|
|
140345
|
-
|
|
140346
|
-
|
|
140347
|
-
|
|
140348
|
-
|
|
140349
|
-
|
|
140350
|
-
|
|
140351
|
-
|
|
140352
|
-
|
|
140353
|
-
|
|
140354
|
-
|
|
140355
|
-
|
|
140356
|
-
|
|
140357
|
-
|
|
140358
|
-
|
|
140359
|
-
|
|
140360
|
-
|
|
140361
|
-
|
|
140335
|
+
yG as gA,
|
|
140336
|
+
KM as gB,
|
|
140337
|
+
Tq1 as gC,
|
|
140338
|
+
QM as gD,
|
|
140339
|
+
tk as gE,
|
|
140340
|
+
Uu as gF,
|
|
140341
|
+
nk as gG,
|
|
140342
|
+
Rn as gH,
|
|
140343
|
+
m32 as gI,
|
|
140344
|
+
qU1 as gJ,
|
|
140345
|
+
B6 as gK,
|
|
140346
|
+
HM as gL,
|
|
140347
|
+
r1 as gM,
|
|
140348
|
+
u3 as gN,
|
|
140349
|
+
V3 as gO,
|
|
140350
|
+
VM as gP,
|
|
140351
|
+
JR as gQ,
|
|
140352
|
+
eB as gR,
|
|
140353
|
+
B22 as gS,
|
|
140354
|
+
UU as gT,
|
|
140355
|
+
M8 as gU,
|
|
140356
|
+
W33 as gV,
|
|
140357
|
+
xj as gW,
|
|
140358
|
+
Ir as gX,
|
|
140359
|
+
at as gY,
|
|
140360
|
+
U9 as gZ,
|
|
140361
|
+
d6 as g_,
|
|
140362
140362
|
A33 as ga,
|
|
140363
140363
|
k41 as gb,
|
|
140364
140364
|
lG1 as gc,
|
|
@@ -140383,29 +140383,38 @@ export {
|
|
|
140383
140383
|
VB as gv,
|
|
140384
140384
|
$8 as gw,
|
|
140385
140385
|
Ao as gx,
|
|
140386
|
-
|
|
140387
|
-
|
|
140386
|
+
A5 as gy,
|
|
140387
|
+
SG as gz,
|
|
140388
140388
|
z22 as h,
|
|
140389
|
-
|
|
140390
|
-
|
|
140391
|
-
|
|
140392
|
-
|
|
140393
|
-
|
|
140394
|
-
|
|
140395
|
-
|
|
140396
|
-
|
|
140397
|
-
|
|
140398
|
-
|
|
140399
|
-
|
|
140400
|
-
|
|
140401
|
-
|
|
140402
|
-
|
|
140403
|
-
|
|
140404
|
-
|
|
140405
|
-
|
|
140406
|
-
|
|
140407
|
-
|
|
140408
|
-
|
|
140389
|
+
VJ as h0,
|
|
140390
|
+
x23 as h1,
|
|
140391
|
+
p33 as h2,
|
|
140392
|
+
z13 as h3,
|
|
140393
|
+
M23 as h4,
|
|
140394
|
+
K13 as h5,
|
|
140395
|
+
TW as h6,
|
|
140396
|
+
x33 as h7,
|
|
140397
|
+
M33 as h8,
|
|
140398
|
+
k33 as h9,
|
|
140399
|
+
RR as ha,
|
|
140400
|
+
N22 as hb,
|
|
140401
|
+
sY1 as hc,
|
|
140402
|
+
$33 as hd,
|
|
140403
|
+
B33 as he,
|
|
140404
|
+
G33 as hf,
|
|
140405
|
+
U33 as hg,
|
|
140406
|
+
$e1 as hh,
|
|
140407
|
+
RJ as hi,
|
|
140408
|
+
DJ as hj,
|
|
140409
|
+
rJ as hk,
|
|
140410
|
+
De1 as hl,
|
|
140411
|
+
ma as hm,
|
|
140412
|
+
OL as hn,
|
|
140413
|
+
cG1 as ho,
|
|
140414
|
+
S33 as hp,
|
|
140415
|
+
T33 as hq,
|
|
140416
|
+
W13 as hr,
|
|
140417
|
+
k23 as hs,
|
|
140409
140418
|
Ua as i,
|
|
140410
140419
|
Dq1 as j,
|
|
140411
140420
|
e12 as k,
|
package/dist/ai.d.ts
CHANGED
|
@@ -4707,9 +4707,9 @@ declare module "gridstack" {
|
|
|
4707
4707
|
|
|
4708
4708
|
declare module "@tiptap/core" {
|
|
4709
4709
|
interface Commands<ReturnType> {
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4710
|
+
enhanceHighlight: {
|
|
4711
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
4712
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
4713
4713
|
};
|
|
4714
4714
|
}
|
|
4715
4715
|
}
|
|
@@ -4717,9 +4717,9 @@ declare module "@tiptap/core" {
|
|
|
4717
4717
|
|
|
4718
4718
|
declare module "@tiptap/core" {
|
|
4719
4719
|
interface Commands<ReturnType> {
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4720
|
+
aiBlock: {
|
|
4721
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
4722
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
4723
4723
|
};
|
|
4724
4724
|
}
|
|
4725
4725
|
}
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as e, F as r, a as t, e as o, f as i, c as n, d as F, I as C, P as A, b as l, u as d } from "./F0CanvasPanel-
|
|
1
|
+
import { D as e, F as r, a as t, e as o, f as i, c as n, d as F, I as C, P as A, b as l, u as d } from "./F0CanvasPanel-DDHvW6gk.js";
|
|
2
2
|
import { defaultTranslations as m } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as c, C as I, h as P, t as v, v as f, x as p, n as T, j as g, r as y, y as S, q as x, s as H, k as V, e as b, g as k, l as w, F as M, i as O, a as D, p as j, m as q, o as z, b as B, f as E, w as L, c as R, d as G, u as J } from "./useChatHistory-
|
|
3
|
+
import { A as c, C as I, h as P, t as v, v as f, x as p, n as T, j as g, r as y, y as S, q as x, s as H, k as V, e as b, g as k, l as w, F as M, i as O, a as D, p as j, m as q, o as z, b as B, f as E, w as L, c as R, d as G, u as J } from "./useChatHistory-CKnLaxwq.js";
|
|
4
4
|
export {
|
|
5
5
|
c as AiChatTranslationsProvider,
|
|
6
6
|
I as ChatSpinner,
|
package/dist/experimental.d.ts
CHANGED
|
@@ -8860,9 +8860,9 @@ declare module "gridstack" {
|
|
|
8860
8860
|
|
|
8861
8861
|
declare module "@tiptap/core" {
|
|
8862
8862
|
interface Commands<ReturnType> {
|
|
8863
|
-
|
|
8864
|
-
|
|
8865
|
-
|
|
8863
|
+
enhanceHighlight: {
|
|
8864
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
8865
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
8866
8866
|
};
|
|
8867
8867
|
}
|
|
8868
8868
|
}
|
|
@@ -8870,9 +8870,9 @@ declare module "@tiptap/core" {
|
|
|
8870
8870
|
|
|
8871
8871
|
declare module "@tiptap/core" {
|
|
8872
8872
|
interface Commands<ReturnType> {
|
|
8873
|
-
|
|
8874
|
-
|
|
8875
|
-
|
|
8873
|
+
aiBlock: {
|
|
8874
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
8875
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
8876
8876
|
};
|
|
8877
8877
|
}
|
|
8878
8878
|
}
|
package/dist/experimental.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { g as da, B as ua, h as fa, i as ma, j as At, k as De, l as ha, m as p, n as X, o as ge, u as ie, T as pa, p as ga, q as ba, R as xa, r as va, s as re, t as wa, v as pt, w as rt, x as Re, A as _e, y as ya, z as Na, C as M, E as Ca, G as ka, H as ve, J as sn, K as Sa, L as Ia, M as W, N as on, S as O, O as we, Q as Fa, U as Aa, V as La, W as Ea, X as _a, Y as ke, Z as cn, _ as Oa, $ as be, a0 as $e, a1 as Da, a2 as gt, d as dn, a3 as Ce, a4 as Ta, a5 as un, a6 as ne, a7 as K, a8 as fn, a9 as mn, aa as za, ab as hn, ac as me, ad as ee, ae as Pa, af as Ba, ag as Ra, ah as $a, ai as pe, aj as Ge, ak as Wa, al as Ma, am as ja, an as Va, ao as He, ap as pn, aq as Ga, ar as Ha, as as Ua, at as We, au as Ka, av as qa, aw as Ya, ax as Za, ay as Xa, az as Ja, aA as Qa, aB as er, aC as tr, aD as nr, aE as lt, aF as gn, aG as it, aH as bn, aI as ar, aJ as rr, aK as lr, aL as ir, aM as sr, aN as Ue, aO as bt, aP as st, aQ as xn, aR as or, aS as vn, aT as cr, aU as dr, aV as ur, aW as Ee, aX as fr, aY as mr, aZ as Te, a_ as Lt, a$ as ot, b0 as hr, b1 as pr, a as gr, b as br, b2 as wn, b3 as xr, f as vr, F as wr, b4 as yr, b5 as yn, b6 as Nr, b7 as Nn, b8 as Cr, b9 as kr, ba as Sr, bb as Ir, bc as Fr, bd as Ar, be as Lr, bf as Er, bg as _r, bh as Cn, bi as ue, bj as xt, bk as vt, bl as wt, bm as kn, bn as yt, bo as Sn, bp as In, bq as Or, br as Dr, bs as Tr, bt as zr, bu as Pr, bv as Br, bw as Rr, bx as $r, by as Et, bz as Wr, bA as Mr, bB as _t, bC as Ot, bD as Dt, bE as jr, bF as Vr, bG as Gr, bH as Hr, bI as Fn, bJ as Ur, bK as Kr } from "./F0CanvasPanel-
|
|
2
|
-
import { bW as Lc, bV as Ec, c6 as _c, bS as Oc, bT as Dc, bL as Tc, bM as zc, bN as Pc, c7 as Bc, bU as Rc, c2 as $c, c3 as Wc, bO as Mc, bY as jc, bX as Vc, bP as Gc, bQ as Hc, c4 as Uc, c8 as Kc, c5 as qc, c1 as Yc, b_ as Zc, c0 as Xc, bZ as Jc, bR as Qc, b$ as ed } from "./F0CanvasPanel-
|
|
1
|
+
import { g as da, B as ua, h as fa, i as ma, j as At, k as De, l as ha, m as p, n as X, o as ge, u as ie, T as pa, p as ga, q as ba, R as xa, r as va, s as re, t as wa, v as pt, w as rt, x as Re, A as _e, y as ya, z as Na, C as M, E as Ca, G as ka, H as ve, J as sn, K as Sa, L as Ia, M as W, N as on, S as O, O as we, Q as Fa, U as Aa, V as La, W as Ea, X as _a, Y as ke, Z as cn, _ as Oa, $ as be, a0 as $e, a1 as Da, a2 as gt, d as dn, a3 as Ce, a4 as Ta, a5 as un, a6 as ne, a7 as K, a8 as fn, a9 as mn, aa as za, ab as hn, ac as me, ad as ee, ae as Pa, af as Ba, ag as Ra, ah as $a, ai as pe, aj as Ge, ak as Wa, al as Ma, am as ja, an as Va, ao as He, ap as pn, aq as Ga, ar as Ha, as as Ua, at as We, au as Ka, av as qa, aw as Ya, ax as Za, ay as Xa, az as Ja, aA as Qa, aB as er, aC as tr, aD as nr, aE as lt, aF as gn, aG as it, aH as bn, aI as ar, aJ as rr, aK as lr, aL as ir, aM as sr, aN as Ue, aO as bt, aP as st, aQ as xn, aR as or, aS as vn, aT as cr, aU as dr, aV as ur, aW as Ee, aX as fr, aY as mr, aZ as Te, a_ as Lt, a$ as ot, b0 as hr, b1 as pr, a as gr, b as br, b2 as wn, b3 as xr, f as vr, F as wr, b4 as yr, b5 as yn, b6 as Nr, b7 as Nn, b8 as Cr, b9 as kr, ba as Sr, bb as Ir, bc as Fr, bd as Ar, be as Lr, bf as Er, bg as _r, bh as Cn, bi as ue, bj as xt, bk as vt, bl as wt, bm as kn, bn as yt, bo as Sn, bp as In, bq as Or, br as Dr, bs as Tr, bt as zr, bu as Pr, bv as Br, bw as Rr, bx as $r, by as Et, bz as Wr, bA as Mr, bB as _t, bC as Ot, bD as Dt, bE as jr, bF as Vr, bG as Gr, bH as Hr, bI as Fn, bJ as Ur, bK as Kr } from "./F0CanvasPanel-DDHvW6gk.js";
|
|
2
|
+
import { bW as Lc, bV as Ec, c6 as _c, bS as Oc, bT as Dc, bL as Tc, bM as zc, bN as Pc, c7 as Bc, bU as Rc, c2 as $c, c3 as Wc, bO as Mc, bY as jc, bX as Vc, bP as Gc, bQ as Hc, c4 as Uc, c8 as Kc, c5 as qc, c1 as Yc, b_ as Zc, c0 as Xc, bZ as Jc, bR as Qc, b$ as ed } from "./F0CanvasPanel-DDHvW6gk.js";
|
|
3
3
|
import { jsx as e, jsxs as o, Fragment as U } from "react/jsx-runtime";
|
|
4
4
|
import se, { forwardRef as j, useRef as G, useTransition as qr, useState as _, useLayoutEffect as An, useId as ct, useContext as Ke, createContext as Nt, useEffect as $, useCallback as Q, useMemo as q, Fragment as Yr, isValidElement as Zr, cloneElement as Ln, Children as En } from "react";
|
|
5
|
-
import { C as Xr, P as Jr, a as _n, M as Qr, R as Tt, b as On, u as el, c as Dn, S as tl, A as nl, B as al, L as rl, d as ll, V as il, e as sl, f as ol, g as cl, O as dl } from "./useDataCollectionSource-
|
|
6
|
-
import { l as nd, m as ad, j as rd, x as ld, n as id, s as sd, a3 as od, w as cd, k as dd, D as ud, F as fd, J as md, E as hd, z as pd, a9 as gd, I as bd, K as xd, Q as vd, o as wd, a5 as yd, a6 as Nd, a4 as Cd, a7 as kd, N as Sd, U as Id, a0 as Fd, a2 as Ad, p as Ld, r as Ed, t as _d, G as Od, a8 as Dd, H as Td, T as zd, q as Pd, v as Bd, h as Rd, i as $d, X as Wd, Y as Md, a1 as jd, y as Vd, Z as Gd, _ as Hd, W as Ud, $ as Kd } from "./useDataCollectionSource-
|
|
5
|
+
import { C as Xr, P as Jr, a as _n, M as Qr, R as Tt, b as On, u as el, c as Dn, S as tl, A as nl, B as al, L as rl, d as ll, V as il, e as sl, f as ol, g as cl, O as dl } from "./useDataCollectionSource-FspzgKHC.js";
|
|
6
|
+
import { l as nd, m as ad, j as rd, x as ld, n as id, s as sd, a3 as od, w as cd, k as dd, D as ud, F as fd, J as md, E as hd, z as pd, a9 as gd, I as bd, K as xd, Q as vd, o as wd, a5 as yd, a6 as Nd, a4 as Cd, a7 as kd, N as Sd, U as Id, a0 as Fd, a2 as Ad, p as Ld, r as Ed, t as _d, G as Od, a8 as Dd, H as Td, T as zd, q as Pd, v as Bd, h as Rd, i as $d, X as Wd, Y as Md, a1 as jd, y as Vd, Z as Gd, _ as Hd, W as Ud, $ as Kd } from "./useDataCollectionSource-FspzgKHC.js";
|
|
7
7
|
const ul = da("Search", [
|
|
8
8
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
9
9
|
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
package/dist/f0.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ import { F0AvatarPersonProps as F0AvatarPersonProps_2 } from './types';
|
|
|
54
54
|
import { F0AvatarTeamProps as F0AvatarTeamProps_2 } from './F0AvatarTeam';
|
|
55
55
|
import { F0DataChartProps as F0DataChartProps_2 } from './types';
|
|
56
56
|
import { F0DialogInternalProps } from './internal-types';
|
|
57
|
+
import { F0DrawerProps } from './F0Drawer';
|
|
57
58
|
import { F0DurationInputProps as F0DurationInputProps_2 } from './types';
|
|
58
59
|
import { F0FormDefinition as F0FormDefinition_2 } from './f0';
|
|
59
60
|
import { F0FormDefinitionPerSection as F0FormDefinitionPerSection_2 } from './f0';
|
|
@@ -5031,6 +5032,25 @@ declare type DetailsItemContent = (ComponentProps<typeof DataList.Item> & {
|
|
|
5031
5032
|
type: "file";
|
|
5032
5033
|
});
|
|
5033
5034
|
|
|
5035
|
+
declare type DialogAlikeAction = {
|
|
5036
|
+
value?: string;
|
|
5037
|
+
label: string;
|
|
5038
|
+
icon?: IconType;
|
|
5039
|
+
onClick: () => void | Promise<void>;
|
|
5040
|
+
disabled?: boolean;
|
|
5041
|
+
loading?: boolean;
|
|
5042
|
+
closeOnClick?: boolean;
|
|
5043
|
+
};
|
|
5044
|
+
|
|
5045
|
+
declare type DialogAlikeActionsProps = {
|
|
5046
|
+
primaryAction?: DialogAlikeAction | DialogAlikeAction[];
|
|
5047
|
+
secondaryAction?: DialogAlikeAction | DialogAlikeAction[];
|
|
5048
|
+
};
|
|
5049
|
+
|
|
5050
|
+
declare type DialogAlikePosition = (typeof dialogAlikePositions)[number];
|
|
5051
|
+
|
|
5052
|
+
declare const dialogAlikePositions: readonly ["center", "left", "right", "fullscreen"];
|
|
5053
|
+
|
|
5034
5054
|
export declare type DialogPosition = (typeof dialogPositions)[number];
|
|
5035
5055
|
|
|
5036
5056
|
declare const dialogPositions: readonly ["center", "left", "right", "fullscreen"];
|
|
@@ -5039,6 +5059,31 @@ export declare type DialogWidth = (typeof dialogWidths)[number];
|
|
|
5039
5059
|
|
|
5040
5060
|
declare const dialogWidths: readonly ["sm", "md", "lg", "xl"];
|
|
5041
5061
|
|
|
5062
|
+
declare type DialogWrapperContextType = {
|
|
5063
|
+
open: boolean;
|
|
5064
|
+
onClose: () => void;
|
|
5065
|
+
shownBottomSheet: boolean;
|
|
5066
|
+
position: DialogAlikePosition;
|
|
5067
|
+
/**
|
|
5068
|
+
* The dialog's content container element.
|
|
5069
|
+
* Use this as the `portalContainer` prop for components like F0Select
|
|
5070
|
+
* to ensure dropdowns render inside the dialog.
|
|
5071
|
+
*/
|
|
5072
|
+
portalContainer: HTMLDivElement | null;
|
|
5073
|
+
};
|
|
5074
|
+
|
|
5075
|
+
/**
|
|
5076
|
+
* The props for the F0DialogProvider component.
|
|
5077
|
+
*/
|
|
5078
|
+
declare type DialogWrapperProviderProps = {
|
|
5079
|
+
isOpen: boolean;
|
|
5080
|
+
onClose: () => void;
|
|
5081
|
+
shownBottomSheet?: boolean;
|
|
5082
|
+
position: DialogAlikePosition;
|
|
5083
|
+
children: ReactNode;
|
|
5084
|
+
portalContainer: HTMLDivElement | null;
|
|
5085
|
+
};
|
|
5086
|
+
|
|
5042
5087
|
/** Display modes */
|
|
5043
5088
|
export declare type DisplayToken = "block" | "flex" | "inline" | "inline-flex" | "grid" | "none";
|
|
5044
5089
|
|
|
@@ -5089,6 +5134,8 @@ export declare type DragPayload<T = unknown> = {
|
|
|
5089
5134
|
data?: T;
|
|
5090
5135
|
};
|
|
5091
5136
|
|
|
5137
|
+
declare const drawerPositions: readonly ["left", "right"];
|
|
5138
|
+
|
|
5092
5139
|
declare type DropdownItem = DropdownItemObject | DropdownItemSeparator | DropdownItemLabel;
|
|
5093
5140
|
|
|
5094
5141
|
declare type DropdownItemLabel = {
|
|
@@ -7814,6 +7861,10 @@ export declare type F0DialogActionsProps = {
|
|
|
7814
7861
|
secondaryAction?: F0DialogSecondaryAction | F0DialogSecondaryActionItem[];
|
|
7815
7862
|
};
|
|
7816
7863
|
|
|
7864
|
+
export declare const F0DialogAlikeContext: Context<DialogWrapperContextType>;
|
|
7865
|
+
|
|
7866
|
+
export declare const F0DialogAlikeProvider: ({ isOpen, onClose, shownBottomSheet, position, children, portalContainer, }: DialogWrapperProviderProps) => JSX_2.Element;
|
|
7867
|
+
|
|
7817
7868
|
export declare const F0DialogContext: Context<F0DialogContextType>;
|
|
7818
7869
|
|
|
7819
7870
|
declare type F0DialogContextType = {
|
|
@@ -7862,6 +7913,20 @@ export declare type F0DialogSecondaryAction = {
|
|
|
7862
7913
|
|
|
7863
7914
|
export declare type F0DialogSecondaryActionItem = F0DialogActionItem;
|
|
7864
7915
|
|
|
7916
|
+
/**
|
|
7917
|
+
* @experimental This is an experimental component use it at your own risk
|
|
7918
|
+
*/
|
|
7919
|
+
export declare const F0Drawer: {
|
|
7920
|
+
(props: F0DrawerProps): JSX_2.Element;
|
|
7921
|
+
displayName: string;
|
|
7922
|
+
};
|
|
7923
|
+
|
|
7924
|
+
export declare type F0DrawerAction = DialogAlikeAction;
|
|
7925
|
+
|
|
7926
|
+
export declare type F0DrawerActionsProps = DialogAlikeActionsProps;
|
|
7927
|
+
|
|
7928
|
+
export declare type F0DrawerPosition = (typeof drawerPositions)[number];
|
|
7929
|
+
|
|
7865
7930
|
export declare type F0DropdownButtonProps<T = string> = {
|
|
7866
7931
|
size?: ButtonDropdownSize;
|
|
7867
7932
|
items: ButtonDropdownItem<T>[] | ButtonDropdownGroup<T>[] | ButtonDropdownGroup<T>;
|
|
@@ -15217,6 +15282,8 @@ export declare function useF0AiFormRegistry(): F0AiFormRegistryContextValue | nu
|
|
|
15217
15282
|
|
|
15218
15283
|
export declare const useF0Dialog: () => F0DialogContextType;
|
|
15219
15284
|
|
|
15285
|
+
export declare const useF0DialogAlikeContext: () => DialogWrapperContextType;
|
|
15286
|
+
|
|
15220
15287
|
/**
|
|
15221
15288
|
* Hook to control F0Form programmatically.
|
|
15222
15289
|
*
|
|
@@ -15888,9 +15955,9 @@ declare module "gridstack" {
|
|
|
15888
15955
|
|
|
15889
15956
|
declare module "@tiptap/core" {
|
|
15890
15957
|
interface Commands<ReturnType> {
|
|
15891
|
-
|
|
15892
|
-
|
|
15893
|
-
|
|
15958
|
+
enhanceHighlight: {
|
|
15959
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
15960
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
15894
15961
|
};
|
|
15895
15962
|
}
|
|
15896
15963
|
}
|
|
@@ -15898,9 +15965,9 @@ declare module "@tiptap/core" {
|
|
|
15898
15965
|
|
|
15899
15966
|
declare module "@tiptap/core" {
|
|
15900
15967
|
interface Commands<ReturnType> {
|
|
15901
|
-
|
|
15902
|
-
|
|
15903
|
-
|
|
15968
|
+
aiBlock: {
|
|
15969
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
15970
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
15904
15971
|
};
|
|
15905
15972
|
}
|
|
15906
15973
|
}
|