@factorialco/f0-react 1.400.0 → 1.401.1
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/{F0AiChat-CaAV8VN2.js → F0AiChat-CpaeHxvD.js} +1521 -1519
- package/dist/{F0HILActionConfirmation-YgaEV5Tc.js → F0HILActionConfirmation-D4x8J8fX.js} +1 -1
- package/dist/ai.d.ts +12 -5
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +17 -5
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +49 -10
- package/dist/f0.js +14464 -14197
- package/dist/i18n-provider-defaults.d.ts +12 -5
- package/dist/i18n-provider-defaults.js +7 -0
- package/dist/styles.css +1 -1
- package/dist/{useDataCollectionSource-DuXdNqcR.js → useDataCollectionSource-BUi4l1cD.js} +627 -621
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as q, jsxs as le } from "react/jsx-runtime";
|
|
2
2
|
import { useInsertionEffect as ze, createContext as Xe, useContext as Ye, useRef as B, useEffect as ie, useState as Ue, useCallback as $e, useMemo as qe } from "react";
|
|
3
|
-
import { G as He, J as Ke, K as je, M as Qe, N as Me, Q as Je, R as Ze, V as et, W as tt, X as nt, Y as Ne, Z as rt, _ as ot, $ as it, a0 as st, a1 as at, a2 as ct, a3 as ut, a4 as se, a5 as lt, a6 as ft, a7 as ht, a8 as dt, a9 as mt, aa as pt, ab as fe, ac as gt } from "./F0AiChat-
|
|
3
|
+
import { G as He, J as Ke, K as je, M as Qe, N as Me, Q as Je, R as Ze, V as et, W as tt, X as nt, Y as Ne, Z as rt, _ as ot, $ as it, a0 as st, a1 as at, a2 as ct, a3 as ut, a4 as se, a5 as lt, a6 as ft, a7 as ht, a8 as dt, a9 as mt, aa as pt, ab as fe, ac as gt } from "./F0AiChat-CpaeHxvD.js";
|
|
4
4
|
import { useTrackVolume as vt } from "@livekit/components-react";
|
|
5
5
|
function wt(t, e, n) {
|
|
6
6
|
ze(() => t.on(e, n), [t, e, n]);
|
package/dist/ai.d.ts
CHANGED
|
@@ -789,6 +789,13 @@ export declare const defaultTranslations: {
|
|
|
789
789
|
readonly expand: "Expand";
|
|
790
790
|
readonly collapse: "Collapse";
|
|
791
791
|
};
|
|
792
|
+
readonly labels: {
|
|
793
|
+
readonly empty: {
|
|
794
|
+
readonly title: "No questions to answer";
|
|
795
|
+
readonly description: "This survey has no questions yet.";
|
|
796
|
+
readonly emoji: "📝";
|
|
797
|
+
};
|
|
798
|
+
};
|
|
792
799
|
};
|
|
793
800
|
readonly richTextEditor: {
|
|
794
801
|
readonly bold: "Bold";
|
|
@@ -1539,11 +1546,6 @@ declare module "gridstack" {
|
|
|
1539
1546
|
}
|
|
1540
1547
|
|
|
1541
1548
|
|
|
1542
|
-
declare namespace Calendar {
|
|
1543
|
-
var displayName: string;
|
|
1544
|
-
}
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
1549
|
declare module "@tiptap/core" {
|
|
1548
1550
|
interface Commands<ReturnType> {
|
|
1549
1551
|
aiBlock: {
|
|
@@ -1591,3 +1593,8 @@ declare module "@tiptap/core" {
|
|
|
1591
1593
|
};
|
|
1592
1594
|
}
|
|
1593
1595
|
}
|
|
1596
|
+
|
|
1597
|
+
|
|
1598
|
+
declare namespace Calendar {
|
|
1599
|
+
var displayName: string;
|
|
1600
|
+
}
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as e, B as t, C as i, q as n, E as o, h as r, F as l, a as A, D as c, i as F, b as u, j as h, w as C, x as d, y as m, z as T, c as f, r as S, s as p, t as I, H as g, I as k, m as x, L as H, O as M, v as P, P as b, S as w, T as O, n as v, o as D, p as E, U as L, k as R, l as q, d as y, e as z, u as B, g as U, f as j } from "./F0AiChat-
|
|
1
|
+
import { A as e, B as t, C as i, q as n, E as o, h as r, F as l, a as A, D as c, i as F, b as u, j as h, w as C, x as d, y as m, z as T, c as f, r as S, s as p, t as I, H as g, I as k, m as x, L as H, O as M, v as P, P as b, S as w, T as O, n as v, o as D, p as E, U as L, k as R, l as q, d as y, e as z, u as B, g as U, f as j } from "./F0AiChat-CpaeHxvD.js";
|
|
2
2
|
import { defaultTranslations as G } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as K, F as N, c as Q, d as W, b as X, a as Y, o as Z, u as _ } from "./F0HILActionConfirmation-
|
|
3
|
+
import { A as K, F as N, c as Q, d as W, b as X, a as Y, o as Z, u as _ } from "./F0HILActionConfirmation-D4x8J8fX.js";
|
|
4
4
|
export {
|
|
5
5
|
e as A,
|
|
6
6
|
K as AiChatTranslationsProvider,
|
package/dist/experimental.d.ts
CHANGED
|
@@ -1235,6 +1235,10 @@ declare type CardAvatarVariant = AvatarVariant | {
|
|
|
1235
1235
|
*/
|
|
1236
1236
|
declare type CardCollectionProps<Record extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<Record>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<Record>> = CollectionProps<Record, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping, CardVisualizationOptions<Record, Filters, Sortings>>;
|
|
1237
1237
|
|
|
1238
|
+
declare type CardImageAspectRatio = (typeof cardImageAspectRatios)[number];
|
|
1239
|
+
|
|
1240
|
+
declare const cardImageAspectRatios: readonly ["default", "video"];
|
|
1241
|
+
|
|
1238
1242
|
declare type CardImageFit = (typeof cardImageFits)[number];
|
|
1239
1243
|
|
|
1240
1244
|
declare const cardImageFits: readonly ["contain", "cover", "fit-width", "fit-height", "scale-down"];
|
|
@@ -1364,6 +1368,7 @@ declare type CardVisualizationOptions<T, _Filters extends FiltersDefinition, _So
|
|
|
1364
1368
|
image?: (record: T) => string;
|
|
1365
1369
|
imageFit?: CardImageFit;
|
|
1366
1370
|
imageSize?: CardImageSize;
|
|
1371
|
+
imageAspectRatio?: CardImageAspectRatio;
|
|
1367
1372
|
blurredBackground?: boolean;
|
|
1368
1373
|
compact?: boolean;
|
|
1369
1374
|
};
|
|
@@ -2688,6 +2693,13 @@ declare const defaultTranslations: {
|
|
|
2688
2693
|
readonly expand: "Expand";
|
|
2689
2694
|
readonly collapse: "Collapse";
|
|
2690
2695
|
};
|
|
2696
|
+
readonly labels: {
|
|
2697
|
+
readonly empty: {
|
|
2698
|
+
readonly title: "No questions to answer";
|
|
2699
|
+
readonly description: "This survey has no questions yet.";
|
|
2700
|
+
readonly emoji: "📝";
|
|
2701
|
+
};
|
|
2702
|
+
};
|
|
2691
2703
|
};
|
|
2692
2704
|
readonly richTextEditor: {
|
|
2693
2705
|
readonly bold: "Bold";
|
|
@@ -7002,11 +7014,6 @@ declare module "gridstack" {
|
|
|
7002
7014
|
}
|
|
7003
7015
|
|
|
7004
7016
|
|
|
7005
|
-
declare namespace Calendar {
|
|
7006
|
-
var displayName: string;
|
|
7007
|
-
}
|
|
7008
|
-
|
|
7009
|
-
|
|
7010
7017
|
declare module "@tiptap/core" {
|
|
7011
7018
|
interface Commands<ReturnType> {
|
|
7012
7019
|
aiBlock: {
|
|
@@ -7054,3 +7061,8 @@ declare module "@tiptap/core" {
|
|
|
7054
7061
|
};
|
|
7055
7062
|
}
|
|
7056
7063
|
}
|
|
7064
|
+
|
|
7065
|
+
|
|
7066
|
+
declare namespace Calendar {
|
|
7067
|
+
var displayName: string;
|
|
7068
|
+
}
|
package/dist/experimental.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ad as kf, ae as Ar, af as Cf, ag as Nf, ah as Sf, ai as If, aj as Lo, ak as Qn, al as Af, am as Os, an as Ia, ao as Wi, a9 as y, ap as q, aa as st, u as de, aq as _f, ar as Ef, as as Tf, at as Df, au as Lf, av as Re, aw as Rf, ax as Dt, ay as Of, az as Mf, aA as j, aB as Pf, aC as Ff, aD as Ht, aE as Aa, aF as zf, aG as $f, ab as F, aH as Ms, aI as E, aJ as ot, aK as Bf, aL as jf, aM as Hf, aN as _a, aO as Vf, aP as Vt, aQ as Ea, aR as Wf, aS as nt, aT as nn, aU as Ps, aV as dn, y as Ta, aW as rt, aX as Da, aY as Uf, aZ as Ro, a_ as rn, a$ as Fs, b0 as jn, b1 as _r, b2 as Gf, b3 as La, b4 as Kf, b5 as zs, b6 as Cn, b7 as Le, b8 as qf, b9 as Yf, ba as Ct, bb as xi, bc as Jf, bd as yn, be as qt, bf as Xf, bg as ue, bh as Zf, bi as Qf, bj as eh, bk as th, bl as nh, bm as Ye, bn as fe, bo as $s, bp as Hn, bq as Xr, br as Ra, bs as Bs, bt as rh, bu as ih, bv as sh, bw as oh, bx as lh, by as ah, bz as ch, bA as dh, bB as uh, bC as fh, bD as hh, bE as ph, bF as mh, bG as gh, bH as bh, bI as xh, bJ as wh, bK as vh, bL as yh, bM as kh, bN as it, bO as Oa, bP as Ch, bQ as V, ac as Ma, bR as Pa, bS as Fa, bT as js, bU as Oo, bV as Mo, bW as Nh, bX as Sh, bY as Ih, bZ as un, b_ as Ah, b$ as _h, c0 as Eh, c1 as Th, c2 as Zr, c3 as za, c4 as $a, c5 as Er, c6 as Dh, c7 as Tr, c8 as Lh, c9 as Rh, ca as Oh, cb as Mh, cc as Ph, cd as Fh, ce as zh, cf as $h, cg as Bh, ch as Ba, ci as jh, cj as ja, ck as Hh, cl as Vh, cm as Wh, cn as Po, co as Ha, cp as Ui, cq as Gi, cr as Va, cs as Ki, ct as Hs, cu as It, cv as Qr, cw as Vs, cx as Ws, cy as Wa, cz as Uh, cA as Gh, cB as Kh, cC as ei, cD as Ua, cE as qh, cF as Yh, cG as Jh, cH as Xh, cI as er, cJ as Fo, cK as qi, cL as Zh, cM as Qh, cN as ep, cO as Ga, cP as tp, cQ as Us, cR as np, cS as rp, cT as Ka, a as ip, d as sp, cU as qa, cV as op, F as lp, cW as Ya, cX as Ja, cY as ap, cZ as cp, c_ as dp, c$ as up, d0 as fp, d1 as hp, d2 as pp, d3 as mp, d4 as lt, d5 as Gs, d6 as Ks, d7 as qs, d8 as Xa, d9 as Ys, da as gp, db as bp, dc as xp, dd as wp, de as vp, df as yp, dg as kp, dh as zo, di as $o, dj as Bo, dk as Cp, dl as Np, dm as Sp, dn as Ip, dp as Za, dq as Ap, dr as _p } from "./F0AiChat-
|
|
2
|
-
import { dx as tA, dw as nA, ds as rA, dt as iA, dF as sA, dG as oA, du as lA, dz as aA, dy as cA, dH as dA, dE as uA, dB as fA, dD as hA, dA as pA, dv as mA, dC as gA } from "./F0AiChat-
|
|
1
|
+
import { ad as kf, ae as Ar, af as Cf, ag as Nf, ah as Sf, ai as If, aj as Lo, ak as Qn, al as Af, am as Os, an as Ia, ao as Wi, a9 as y, ap as q, aa as st, u as de, aq as _f, ar as Ef, as as Tf, at as Df, au as Lf, av as Re, aw as Rf, ax as Dt, ay as Of, az as Mf, aA as j, aB as Pf, aC as Ff, aD as Ht, aE as Aa, aF as zf, aG as $f, ab as F, aH as Ms, aI as E, aJ as ot, aK as Bf, aL as jf, aM as Hf, aN as _a, aO as Vf, aP as Vt, aQ as Ea, aR as Wf, aS as nt, aT as nn, aU as Ps, aV as dn, y as Ta, aW as rt, aX as Da, aY as Uf, aZ as Ro, a_ as rn, a$ as Fs, b0 as jn, b1 as _r, b2 as Gf, b3 as La, b4 as Kf, b5 as zs, b6 as Cn, b7 as Le, b8 as qf, b9 as Yf, ba as Ct, bb as xi, bc as Jf, bd as yn, be as qt, bf as Xf, bg as ue, bh as Zf, bi as Qf, bj as eh, bk as th, bl as nh, bm as Ye, bn as fe, bo as $s, bp as Hn, bq as Xr, br as Ra, bs as Bs, bt as rh, bu as ih, bv as sh, bw as oh, bx as lh, by as ah, bz as ch, bA as dh, bB as uh, bC as fh, bD as hh, bE as ph, bF as mh, bG as gh, bH as bh, bI as xh, bJ as wh, bK as vh, bL as yh, bM as kh, bN as it, bO as Oa, bP as Ch, bQ as V, ac as Ma, bR as Pa, bS as Fa, bT as js, bU as Oo, bV as Mo, bW as Nh, bX as Sh, bY as Ih, bZ as un, b_ as Ah, b$ as _h, c0 as Eh, c1 as Th, c2 as Zr, c3 as za, c4 as $a, c5 as Er, c6 as Dh, c7 as Tr, c8 as Lh, c9 as Rh, ca as Oh, cb as Mh, cc as Ph, cd as Fh, ce as zh, cf as $h, cg as Bh, ch as Ba, ci as jh, cj as ja, ck as Hh, cl as Vh, cm as Wh, cn as Po, co as Ha, cp as Ui, cq as Gi, cr as Va, cs as Ki, ct as Hs, cu as It, cv as Qr, cw as Vs, cx as Ws, cy as Wa, cz as Uh, cA as Gh, cB as Kh, cC as ei, cD as Ua, cE as qh, cF as Yh, cG as Jh, cH as Xh, cI as er, cJ as Fo, cK as qi, cL as Zh, cM as Qh, cN as ep, cO as Ga, cP as tp, cQ as Us, cR as np, cS as rp, cT as Ka, a as ip, d as sp, cU as qa, cV as op, F as lp, cW as Ya, cX as Ja, cY as ap, cZ as cp, c_ as dp, c$ as up, d0 as fp, d1 as hp, d2 as pp, d3 as mp, d4 as lt, d5 as Gs, d6 as Ks, d7 as qs, d8 as Xa, d9 as Ys, da as gp, db as bp, dc as xp, dd as wp, de as vp, df as yp, dg as kp, dh as zo, di as $o, dj as Bo, dk as Cp, dl as Np, dm as Sp, dn as Ip, dp as Za, dq as Ap, dr as _p } from "./F0AiChat-CpaeHxvD.js";
|
|
2
|
+
import { dx as tA, dw as nA, ds as rA, dt as iA, dF as sA, dG as oA, du as lA, dz as aA, dy as cA, dH as dA, dE as uA, dB as fA, dD as hA, dA as pA, dv as mA, dC as gA } from "./F0AiChat-CpaeHxvD.js";
|
|
3
3
|
import { jsx as c, jsxs as g, Fragment as ne } from "react/jsx-runtime";
|
|
4
4
|
import * as Nn from "react";
|
|
5
5
|
import $, { PureComponent as Ep, forwardRef as P, useRef as K, useTransition as Tp, useState as R, useLayoutEffect as Qa, useContext as Js, createContext as Xs, useCallback as X, useMemo as ee, useEffect as W, useId as ec, useImperativeHandle as tc, memo as Zs, Fragment as Yi, isValidElement as Dp, cloneElement as nc, Children as rc } from "react";
|
|
6
|
-
import { f as Jt, p as Sn, i as tr, D as Lp, L as wi, P as Rp, A as Op, a as nr, b as Mp, c as Pp, G as Fp, g as jo, l as zp, d as Ho, e as $p, h as ic, j as sc, k as Bp, C as jp, m as Hp, N as je, n as at, o as Ee, q as Vp, r as mr, T as Ue, s as oc, S as Me, t as Qs, u as $e, v as Vo, w as Wp, x as lc, F as Ie, y as Fe, z as In, B as Dr, E as ac, H as Up, I as Wt, J as Gp, K as Kp, M as qp, R as Vn, O as Wn, Q as eo, U as Yp, V as cc, W as dc, X as uc, Y as Jp, Z as fc, _ as hc, $ as pc, a0 as mc, a1 as gc, a2 as bc, a3 as Wo, a4 as Xp, a5 as Uo, a6 as Zp, a7 as Qp, a8 as em, a9 as tm, aa as nm, ab as rm, ac as im, ad as sm, ae as om, af as xc, ag as lm, ah as am, ai as cm, aj as wc, ak as Ji, al as dm, am as um, an as Go, ao as vc, ap as fm, aq as hm, ar as pm, as as mm, at as gm, au as bm, av as xm, aw as wm, ax as yc, ay as vm, az as ym, aA as km, aB as kc, aC as Cm, aD as Nm, aE as Sm, aF as Im, aG as Am, aH as _m, aI as Em, aJ as Ko, aK as Tm, aL as Dm, aM as Lm, aN as Rm } from "./useDataCollectionSource-
|
|
7
|
-
import { aO as xA, aQ as wA, b3 as vA, aP as yA, aV as kA, b6 as CA, b4 as NA, aW as SA, aX as IA, aS as AA, aY as _A, b0 as EA, b2 as TA, b5 as DA, aU as LA, aT as RA, b1 as OA, aR as MA, aZ as PA, a_ as FA, a$ as zA } from "./useDataCollectionSource-
|
|
6
|
+
import { f as Jt, p as Sn, i as tr, D as Lp, L as wi, P as Rp, A as Op, a as nr, b as Mp, c as Pp, G as Fp, g as jo, l as zp, d as Ho, e as $p, h as ic, j as sc, k as Bp, C as jp, m as Hp, N as je, n as at, o as Ee, q as Vp, r as mr, T as Ue, s as oc, S as Me, t as Qs, u as $e, v as Vo, w as Wp, x as lc, F as Ie, y as Fe, z as In, B as Dr, E as ac, H as Up, I as Wt, J as Gp, K as Kp, M as qp, R as Vn, O as Wn, Q as eo, U as Yp, V as cc, W as dc, X as uc, Y as Jp, Z as fc, _ as hc, $ as pc, a0 as mc, a1 as gc, a2 as bc, a3 as Wo, a4 as Xp, a5 as Uo, a6 as Zp, a7 as Qp, a8 as em, a9 as tm, aa as nm, ab as rm, ac as im, ad as sm, ae as om, af as xc, ag as lm, ah as am, ai as cm, aj as wc, ak as Ji, al as dm, am as um, an as Go, ao as vc, ap as fm, aq as hm, ar as pm, as as mm, at as gm, au as bm, av as xm, aw as wm, ax as yc, ay as vm, az as ym, aA as km, aB as kc, aC as Cm, aD as Nm, aE as Sm, aF as Im, aG as Am, aH as _m, aI as Em, aJ as Ko, aK as Tm, aL as Dm, aM as Lm, aN as Rm } from "./useDataCollectionSource-BUi4l1cD.js";
|
|
7
|
+
import { aO as xA, aQ as wA, b3 as vA, aP as yA, aV as kA, b6 as CA, b4 as NA, aW as SA, aX as IA, aS as AA, aY as _A, b0 as EA, b2 as TA, b5 as DA, aU as LA, aT as RA, b1 as OA, aR as MA, aZ as PA, a_ as FA, a$ as zA } from "./useDataCollectionSource-BUi4l1cD.js";
|
|
8
8
|
import './experimental.css';const Om = kf("Search", [
|
|
9
9
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
10
10
|
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
package/dist/f0.d.ts
CHANGED
|
@@ -1231,6 +1231,10 @@ declare type CardAvatarVariant = AvatarVariant | {
|
|
|
1231
1231
|
*/
|
|
1232
1232
|
declare type CardCollectionProps<Record extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<Record>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<Record>> = CollectionProps<Record, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping, CardVisualizationOptions<Record, Filters, Sortings>>;
|
|
1233
1233
|
|
|
1234
|
+
export declare type CardImageAspectRatio = (typeof cardImageAspectRatios)[number];
|
|
1235
|
+
|
|
1236
|
+
export declare const cardImageAspectRatios: readonly ["default", "video"];
|
|
1237
|
+
|
|
1234
1238
|
export declare type CardImageFit = (typeof cardImageFits)[number];
|
|
1235
1239
|
|
|
1236
1240
|
export declare const cardImageFits: readonly ["contain", "cover", "fit-width", "fit-height", "scale-down"];
|
|
@@ -1262,6 +1266,12 @@ declare interface CardInternalProps {
|
|
|
1262
1266
|
* @default "sm"
|
|
1263
1267
|
*/
|
|
1264
1268
|
imageSize?: CardImageSize;
|
|
1269
|
+
/**
|
|
1270
|
+
* Constrain the image container to a fixed aspect ratio instead of a fixed height.
|
|
1271
|
+
* When set, `imageSize` is ignored for height.
|
|
1272
|
+
* @example "video"
|
|
1273
|
+
*/
|
|
1274
|
+
imageAspectRatio?: CardImageAspectRatio;
|
|
1265
1275
|
/**
|
|
1266
1276
|
* Whether to show a blurred background image when the image doesn't fill the container
|
|
1267
1277
|
* @default true
|
|
@@ -1404,6 +1414,7 @@ declare type CardVisualizationOptions<T, _Filters extends FiltersDefinition, _So
|
|
|
1404
1414
|
image?: (record: T) => string;
|
|
1405
1415
|
imageFit?: CardImageFit;
|
|
1406
1416
|
imageSize?: CardImageSize;
|
|
1417
|
+
imageAspectRatio?: CardImageAspectRatio;
|
|
1407
1418
|
blurredBackground?: boolean;
|
|
1408
1419
|
compact?: boolean;
|
|
1409
1420
|
};
|
|
@@ -2816,6 +2827,13 @@ export declare const defaultTranslations: {
|
|
|
2816
2827
|
readonly expand: "Expand";
|
|
2817
2828
|
readonly collapse: "Collapse";
|
|
2818
2829
|
};
|
|
2830
|
+
readonly labels: {
|
|
2831
|
+
readonly empty: {
|
|
2832
|
+
readonly title: "No questions to answer";
|
|
2833
|
+
readonly description: "This survey has no questions yet.";
|
|
2834
|
+
readonly emoji: "📝";
|
|
2835
|
+
};
|
|
2836
|
+
};
|
|
2819
2837
|
};
|
|
2820
2838
|
readonly richTextEditor: {
|
|
2821
2839
|
readonly bold: "Bold";
|
|
@@ -5300,6 +5318,8 @@ export declare interface F0SectionConfig {
|
|
|
5300
5318
|
title: string;
|
|
5301
5319
|
/** Section description */
|
|
5302
5320
|
description?: string;
|
|
5321
|
+
/** Applies default horizontal inset to the section header (title/subtitle/action row) */
|
|
5322
|
+
withInset?: boolean;
|
|
5303
5323
|
/** Conditional rendering for the entire section */
|
|
5304
5324
|
renderIf?: SectionRenderIf;
|
|
5305
5325
|
/** Optional action button for the section */
|
|
@@ -8232,13 +8252,10 @@ declare type SummaryKey<Definition extends SummariesDefinition> = Definition ext
|
|
|
8232
8252
|
|
|
8233
8253
|
declare type SummaryType = "sum";
|
|
8234
8254
|
|
|
8235
|
-
export declare function SurveyAnsweringForm({ elements, onSubmit, mode, title, isOpen, onClose, fullscreen: fullscreenProp, allowToChangeFullscreen, defaultValues, errorTriggerMode, }: SurveyAnsweringFormProps): JSX_2.Element;
|
|
8236
|
-
|
|
8237
|
-
export declare type SurveyAnsweringFormMode = "stepped" | "all-questions";
|
|
8255
|
+
export declare function SurveyAnsweringForm({ elements, onSubmit: onSubmitProp, mode, title, isOpen, onClose, fullscreen: fullscreenProp, allowToChangeFullscreen, defaultValues, errorTriggerMode, loading, labels, preview, }: SurveyAnsweringFormProps): JSX_2.Element;
|
|
8238
8256
|
|
|
8239
|
-
|
|
8257
|
+
declare interface SurveyAnsweringFormBaseProps {
|
|
8240
8258
|
elements: SurveyFormBuilderElement[];
|
|
8241
|
-
onSubmit: (answers: SurveySubmitAnswers) => Promise<SurveyFormSubmitResult> | SurveyFormSubmitResult;
|
|
8242
8259
|
mode: SurveyAnsweringFormMode;
|
|
8243
8260
|
title: string;
|
|
8244
8261
|
isOpen: boolean;
|
|
@@ -8247,8 +8264,30 @@ export declare interface SurveyAnsweringFormProps {
|
|
|
8247
8264
|
allowToChangeFullscreen?: boolean;
|
|
8248
8265
|
defaultValues?: Partial<SurveyAnswers>;
|
|
8249
8266
|
errorTriggerMode?: F0FormErrorTriggerMode;
|
|
8267
|
+
loading?: boolean;
|
|
8268
|
+
labels?: {
|
|
8269
|
+
empty?: {
|
|
8270
|
+
title?: string;
|
|
8271
|
+
description?: string;
|
|
8272
|
+
emoji?: string;
|
|
8273
|
+
};
|
|
8274
|
+
};
|
|
8275
|
+
}
|
|
8276
|
+
|
|
8277
|
+
declare interface SurveyAnsweringFormDefaultProps extends SurveyAnsweringFormBaseProps {
|
|
8278
|
+
preview?: false;
|
|
8279
|
+
onSubmit: (answers: SurveySubmitAnswers) => Promise<SurveyFormSubmitResult> | SurveyFormSubmitResult;
|
|
8250
8280
|
}
|
|
8251
8281
|
|
|
8282
|
+
export declare type SurveyAnsweringFormMode = "stepped" | "all-questions";
|
|
8283
|
+
|
|
8284
|
+
declare interface SurveyAnsweringFormPreviewProps extends SurveyAnsweringFormBaseProps {
|
|
8285
|
+
preview: true;
|
|
8286
|
+
onSubmit?: never;
|
|
8287
|
+
}
|
|
8288
|
+
|
|
8289
|
+
export declare type SurveyAnsweringFormProps = SurveyAnsweringFormDefaultProps | SurveyAnsweringFormPreviewProps;
|
|
8290
|
+
|
|
8252
8291
|
export declare type SurveyAnswers = Record<string, SurveyAnswerValue>;
|
|
8253
8292
|
|
|
8254
8293
|
export declare type SurveyAnswerValue = {
|
|
@@ -9556,11 +9595,6 @@ declare module "gridstack" {
|
|
|
9556
9595
|
}
|
|
9557
9596
|
|
|
9558
9597
|
|
|
9559
|
-
declare namespace Calendar {
|
|
9560
|
-
var displayName: string;
|
|
9561
|
-
}
|
|
9562
|
-
|
|
9563
|
-
|
|
9564
9598
|
declare module "@tiptap/core" {
|
|
9565
9599
|
interface Commands<ReturnType> {
|
|
9566
9600
|
aiBlock: {
|
|
@@ -9608,3 +9642,8 @@ declare module "@tiptap/core" {
|
|
|
9608
9642
|
};
|
|
9609
9643
|
}
|
|
9610
9644
|
}
|
|
9645
|
+
|
|
9646
|
+
|
|
9647
|
+
declare namespace Calendar {
|
|
9648
|
+
var displayName: string;
|
|
9649
|
+
}
|