@factorialco/f0-react 1.424.0 → 1.425.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/{F0HILActionConfirmation-Ubb7Zvx9.js → F0HILActionConfirmation-Co6ieEvS.js} +1 -1
- package/dist/ai.d.ts +9 -5
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +11 -7
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +28 -9
- package/dist/f0.js +1922 -1824
- package/dist/i18n-provider-defaults.d.ts +9 -5
- package/dist/i18n-provider-defaults.js +5 -1
- package/dist/{index-BJIDVQvo.js → index-vtX1EHb8.js} +1 -1
- package/dist/{registry-DuKzJwXp.js → registry-5Uy-XwPx.js} +3517 -3507
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defaultTranslations as ke } from "./i18n-provider-defaults.js";
|
|
2
2
|
import { jsx as q, jsxs as le } from "react/jsx-runtime";
|
|
3
3
|
import { useInsertionEffect as Xe, createContext as Ye, useContext as $e, useRef as B, useEffect as ie, useState as Ue, useCallback as qe, useMemo as He } from "react";
|
|
4
|
-
import { r as Ke, l as je, m as Qe, n as Je, o as Me, p as Ze, q as et, s as tt, t as rt, v as nt, w as Ne, x as ot, V as it, y as st, z as at, A as ct, S as ut, H as lt, B as se, D as ft, E as dt, G as ht, J as mt, K as pt, L as vt, M as fe, N as gt } from "./registry-
|
|
4
|
+
import { r as Ke, l as je, m as Qe, n as Je, o as Me, p as Ze, q as et, s as tt, t as rt, v as nt, w as Ne, x as ot, V as it, y as st, z as at, A as ct, S as ut, H as lt, B as se, D as ft, E as dt, G as ht, J as mt, K as pt, L as vt, M as fe, N as gt } from "./registry-5Uy-XwPx.js";
|
|
5
5
|
import { useTrackVolume as wt } from "@livekit/components-react";
|
|
6
6
|
function Tt(t, e, r) {
|
|
7
7
|
Xe(() => t.on(e, r), [t, e, r]);
|
package/dist/ai.d.ts
CHANGED
|
@@ -1199,6 +1199,7 @@ export declare const defaultTranslations: {
|
|
|
1199
1199
|
readonly date: "Date";
|
|
1200
1200
|
readonly dropdownSingle: "Dropdown";
|
|
1201
1201
|
readonly file: "File upload";
|
|
1202
|
+
readonly checkbox: "Checkbox";
|
|
1202
1203
|
};
|
|
1203
1204
|
readonly selectQuestion: {
|
|
1204
1205
|
readonly addOption: "Add option";
|
|
@@ -1211,6 +1212,9 @@ export declare const defaultTranslations: {
|
|
|
1211
1212
|
readonly fileQuestion: {
|
|
1212
1213
|
readonly uploadButton: "Upload file";
|
|
1213
1214
|
};
|
|
1215
|
+
readonly checkboxQuestion: {
|
|
1216
|
+
readonly placeholder: "Provide a label for the checkbox";
|
|
1217
|
+
};
|
|
1214
1218
|
readonly answer: {
|
|
1215
1219
|
readonly label: "Answer";
|
|
1216
1220
|
readonly dropdownPlaceholder: "Pick an option";
|
|
@@ -1789,6 +1793,11 @@ declare module "gridstack" {
|
|
|
1789
1793
|
}
|
|
1790
1794
|
|
|
1791
1795
|
|
|
1796
|
+
declare namespace Calendar {
|
|
1797
|
+
var displayName: string;
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1800
|
+
|
|
1792
1801
|
declare module "@tiptap/core" {
|
|
1793
1802
|
interface Commands<ReturnType> {
|
|
1794
1803
|
aiBlock: {
|
|
@@ -1836,8 +1845,3 @@ declare module "@tiptap/core" {
|
|
|
1836
1845
|
};
|
|
1837
1846
|
}
|
|
1838
1847
|
}
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
declare namespace Calendar {
|
|
1842
|
-
var displayName: string;
|
|
1843
|
-
}
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./registry-
|
|
1
|
+
import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./registry-5Uy-XwPx.js";
|
|
2
2
|
import { defaultTranslations as d } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as p, F as S, c as g, d as v, b as x, a as k, o as O, u as P } from "./F0HILActionConfirmation-
|
|
3
|
+
import { A as p, F as S, c as g, d as v, b as x, a as k, o as O, u as P } from "./F0HILActionConfirmation-Co6ieEvS.js";
|
|
4
4
|
export {
|
|
5
5
|
p as AiChatTranslationsProvider,
|
|
6
6
|
t as ChatSpinner,
|
package/dist/experimental.d.ts
CHANGED
|
@@ -2755,6 +2755,7 @@ declare const defaultTranslations: {
|
|
|
2755
2755
|
readonly date: "Date";
|
|
2756
2756
|
readonly dropdownSingle: "Dropdown";
|
|
2757
2757
|
readonly file: "File upload";
|
|
2758
|
+
readonly checkbox: "Checkbox";
|
|
2758
2759
|
};
|
|
2759
2760
|
readonly selectQuestion: {
|
|
2760
2761
|
readonly addOption: "Add option";
|
|
@@ -2767,6 +2768,9 @@ declare const defaultTranslations: {
|
|
|
2767
2768
|
readonly fileQuestion: {
|
|
2768
2769
|
readonly uploadButton: "Upload file";
|
|
2769
2770
|
};
|
|
2771
|
+
readonly checkboxQuestion: {
|
|
2772
|
+
readonly placeholder: "Provide a label for the checkbox";
|
|
2773
|
+
};
|
|
2770
2774
|
readonly answer: {
|
|
2771
2775
|
readonly label: "Answer";
|
|
2772
2776
|
readonly dropdownPlaceholder: "Pick an option";
|
|
@@ -3975,10 +3979,10 @@ export declare interface GranularityDefinition {
|
|
|
3975
3979
|
calendarMode?: CalendarMode;
|
|
3976
3980
|
calendarView: CalendarView;
|
|
3977
3981
|
weekStartsOn?: WeekStartsOn;
|
|
3978
|
-
label: (viewDate: Date, i18n: TranslationsType) => ReactNode;
|
|
3982
|
+
label: (viewDate: Date, i18n: TranslationsType, locale?: string) => ReactNode;
|
|
3979
3983
|
toRangeString: (date: Date | DateRange | undefined | null, i18n: TranslationsType, format?: DateStringFormat) => DateRangeString;
|
|
3980
3984
|
toRange: <T extends Date | DateRange | undefined | null>(date: T) => T extends Date | DateRange ? DateRangeComplete : T;
|
|
3981
|
-
toString: (date: Date | DateRange | undefined | null, i18n: TranslationsType, format?: DateStringFormat) => string;
|
|
3985
|
+
toString: (date: Date | DateRange | undefined | null, i18n: TranslationsType, format?: DateStringFormat, locale?: string) => string;
|
|
3982
3986
|
toStringMaxWidth: () => number;
|
|
3983
3987
|
placeholder: () => string;
|
|
3984
3988
|
fromString: (dateStr: string | DateRangeString, i18n: TranslationsType) => DateRange | null;
|
|
@@ -7226,6 +7230,11 @@ declare module "gridstack" {
|
|
|
7226
7230
|
}
|
|
7227
7231
|
|
|
7228
7232
|
|
|
7233
|
+
declare namespace Calendar {
|
|
7234
|
+
var displayName: string;
|
|
7235
|
+
}
|
|
7236
|
+
|
|
7237
|
+
|
|
7229
7238
|
declare module "@tiptap/core" {
|
|
7230
7239
|
interface Commands<ReturnType> {
|
|
7231
7240
|
aiBlock: {
|
|
@@ -7273,8 +7282,3 @@ declare module "@tiptap/core" {
|
|
|
7273
7282
|
};
|
|
7274
7283
|
}
|
|
7275
7284
|
}
|
|
7276
|
-
|
|
7277
|
-
|
|
7278
|
-
declare namespace Calendar {
|
|
7279
|
-
var displayName: string;
|
|
7280
|
-
}
|
package/dist/experimental.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { cI as mf, a7 as _r, b7 as gf, a6 as bf, cJ as wf, cK as xf, a1 as yf, cL as Co, cM as er, cN as vf, cO as _s, cP as ji, cQ as Er, K as k, R as q, L as rt, u as me, cR as kf, cS as Cf, cT as Sf, cU as Nf, cV as If, ak as Le, cW as Af, a0 as Et, cX as _f, b8 as Ef, _ as H, bg as Tf, bh as Df, U as jt, cY as ba, bt as Rf, bi as Lf, M as B, cZ as Es, Z as E, c_ as it, c$ as Of, d0 as Mf, bo as Pf, ay as Ff, bm as zf, aH as Ht, d1 as wa, d2 as $f, d3 as Tt, a_ as kn, aA as Ts, aB as cn, k as xa, a4 as mt, d4 as ya, d5 as Bf, d6 as So, d7 as tn, d8 as Ds, d9 as jn, da as Tr, db as jf, dc as va, dd as Hf, de as Rs, df as Cn, dg as Re, dh as Wf, di as Vf, dj as kt, dk as bi, dl as Uf, dm as yn, dn as Kt, dp as Gf, P as de, dq as Kf, dr as qf, ds as Yf, dt as Jf, du as Xf, W as Ye, Y as ue, dv as Ls, aW as Hn, cF as Zr, dw as ka, dx as Os, dy as Zf, dz as Qf, dA as eh, dB as th, dC as nh, dD as rh, dE as ih, dF as sh, dG as oh, bb as lh, dH as ah, b9 as ch, dI as dh, dJ as uh, dK as fh, dL as hh, dM as ph, dN as mh, dO as gh, dP as bh, c3 as nt, dQ as Ca, dR as wh, a3 as W, N as Sa, dS as Na, dT as xh, b2 as Ms, a8 as No, a9 as Io, as as yh, dU as vh, dV as kh, am as dn, dW as Ch, dX as Sh, dY as Nh, dZ as Ih, aR as Qr, d_ as Ia, d$ as Aa, c5 as _a, e0 as Ah, aK as Dr, e1 as _h, e2 as Eh, e3 as Th, e4 as Dh, e5 as Rh, ai as Lh, aj as Oh, al as Mh, e6 as Ph, e7 as Ea, e8 as Fh, e9 as Ta, ea as zh, eb as $h, ec as Bh, ax as Ao, ed as Da, ee as Hi, c0 as Wi, ef as Ra, eg as jh, eh as Hh, cE as Wn, bE as La, cH as Wh, cG as Vh, ei as Uh, bF as nn, ej as Gh, aO as tr, ek as _o, el as Vi, em as Kh, bn as qh, en as Yh, b_ as Oa, c4 as Jh, cg as Ma, ce as Ps, ae as Xh, ch as Zh, c1 as Fs, av as Pa, c as Fa, g as Qh, a as ep, bW as tp, eo as za, ep as np, F as rp, eq as $a, er as Ba, es as ip, bx as Eo, et as sp, eu as op, bY as lp, bv as ja, by as ap, ev as cp, ew as dp, ex as up, ey as fp, bZ as Ha, $ as hp, Q as st, bK as zs, ez as $s, eA as Bs, eB as Wa, bL as js, eC as Va, eD as pp, eE as mp, eF as gp, eG as bp, eH as wp, bM as xp, eI as yp, b$ as vp, eJ as kp, eK as To, eL as Do, eM as Ro, b0 as Cp, eN as Sp, eO as Np, bd as Ip, eP as Ua, bD as Ap, eQ as _p, eR as Ep } from "./registry-
|
|
2
|
-
import { eV as VI, eU as UI, eS as GI, aE as KI, eT as qI, aJ as YI, f1 as JI, f2 as XI, f4 as ZI, f8 as QI, f9 as eA, aL as tA, eX as nA, eW as rA, f3 as iA, f0 as sA, eZ as oA, e$ as lA, eY as aA, c2 as cA, e_ as dA, f5 as uA, f6 as fA, f7 as hA } from "./registry-
|
|
1
|
+
import { cI as mf, a7 as _r, b7 as gf, a6 as bf, cJ as wf, cK as xf, a1 as yf, cL as Co, cM as er, cN as vf, cO as _s, cP as ji, cQ as Er, K as k, R as q, L as rt, u as me, cR as kf, cS as Cf, cT as Sf, cU as Nf, cV as If, ak as Le, cW as Af, a0 as Et, cX as _f, b8 as Ef, _ as H, bg as Tf, bh as Df, U as jt, cY as ba, bt as Rf, bi as Lf, M as B, cZ as Es, Z as E, c_ as it, c$ as Of, d0 as Mf, bo as Pf, ay as Ff, bm as zf, aH as Ht, d1 as wa, d2 as $f, d3 as Tt, a_ as kn, aA as Ts, aB as cn, k as xa, a4 as mt, d4 as ya, d5 as Bf, d6 as So, d7 as tn, d8 as Ds, d9 as jn, da as Tr, db as jf, dc as va, dd as Hf, de as Rs, df as Cn, dg as Re, dh as Wf, di as Vf, dj as kt, dk as bi, dl as Uf, dm as yn, dn as Kt, dp as Gf, P as de, dq as Kf, dr as qf, ds as Yf, dt as Jf, du as Xf, W as Ye, Y as ue, dv as Ls, aW as Hn, cF as Zr, dw as ka, dx as Os, dy as Zf, dz as Qf, dA as eh, dB as th, dC as nh, dD as rh, dE as ih, dF as sh, dG as oh, bb as lh, dH as ah, b9 as ch, dI as dh, dJ as uh, dK as fh, dL as hh, dM as ph, dN as mh, dO as gh, dP as bh, c3 as nt, dQ as Ca, dR as wh, a3 as W, N as Sa, dS as Na, dT as xh, b2 as Ms, a8 as No, a9 as Io, as as yh, dU as vh, dV as kh, am as dn, dW as Ch, dX as Sh, dY as Nh, dZ as Ih, aR as Qr, d_ as Ia, d$ as Aa, c5 as _a, e0 as Ah, aK as Dr, e1 as _h, e2 as Eh, e3 as Th, e4 as Dh, e5 as Rh, ai as Lh, aj as Oh, al as Mh, e6 as Ph, e7 as Ea, e8 as Fh, e9 as Ta, ea as zh, eb as $h, ec as Bh, ax as Ao, ed as Da, ee as Hi, c0 as Wi, ef as Ra, eg as jh, eh as Hh, cE as Wn, bE as La, cH as Wh, cG as Vh, ei as Uh, bF as nn, ej as Gh, aO as tr, ek as _o, el as Vi, em as Kh, bn as qh, en as Yh, b_ as Oa, c4 as Jh, cg as Ma, ce as Ps, ae as Xh, ch as Zh, c1 as Fs, av as Pa, c as Fa, g as Qh, a as ep, bW as tp, eo as za, ep as np, F as rp, eq as $a, er as Ba, es as ip, bx as Eo, et as sp, eu as op, bY as lp, bv as ja, by as ap, ev as cp, ew as dp, ex as up, ey as fp, bZ as Ha, $ as hp, Q as st, bK as zs, ez as $s, eA as Bs, eB as Wa, bL as js, eC as Va, eD as pp, eE as mp, eF as gp, eG as bp, eH as wp, bM as xp, eI as yp, b$ as vp, eJ as kp, eK as To, eL as Do, eM as Ro, b0 as Cp, eN as Sp, eO as Np, bd as Ip, eP as Ua, bD as Ap, eQ as _p, eR as Ep } from "./registry-5Uy-XwPx.js";
|
|
2
|
+
import { eV as VI, eU as UI, eS as GI, aE as KI, eT as qI, aJ as YI, f1 as JI, f2 as XI, f4 as ZI, f8 as QI, f9 as eA, aL as tA, eX as nA, eW as rA, f3 as iA, f0 as sA, eZ as oA, e$ as lA, eY as aA, c2 as cA, e_ as dA, f5 as uA, f6 as fA, f7 as hA } from "./registry-5Uy-XwPx.js";
|
|
3
3
|
import { jsx as c, jsxs as g, Fragment as ne } from "react/jsx-runtime";
|
|
4
4
|
import * as Sn from "react";
|
|
5
5
|
import z, { PureComponent as Tp, forwardRef as P, useRef as K, useTransition as Dp, useState as L, useLayoutEffect as Ga, useContext as Hs, createContext as Ws, useCallback as X, useMemo as ee, useEffect as V, useId as Ka, useImperativeHandle as qa, memo as Ya, Fragment as Rp, isValidElement as Lp, cloneElement as Ja, Children as Xa } from "react";
|
|
6
|
-
import { f as Yt, ac as Nn, e as nr, ad as Op, L as wi, ae as Mp, A as Pp, i as rr, k as Fp, G as zp, g as Lo, af as $p, j as Oo, n as Bp, ag as Za, ah as Qa, ai as jp, C as Hp, aa as Wp, aj as je, ak as ot, al as Ee, am as Vp, an as gr, ao as Ue, ap as ec, aq as Me, ar as Vs, as as $e, at as Mo, au as Up, av as tc, aw as Ie, ax as Fe, ay as In, az as Rr, aA as nc, aB as Gp, aC as Wt, aD as Kp, aE as qp, aF as Yp, aG as Vn, aH as Un, aI as Us, aJ as Jp, aK as rc, aL as ic, aM as sc, aN as Xp, aO as oc, aP as lc, aQ as ac, aR as cc, aS as dc, aT as uc, a3 as Po, aU as Zp, aV as Fo, aW as Qp, aX as em, aY as tm, w as nm, x as rm, z as im, J as sm, K as om, s as lm, aZ as fc, a_ as am, a$ as cm, b0 as dm, b1 as hc, a7 as Ui, b2 as um, b3 as fm, b4 as hm, b5 as pm, b6 as mm, b7 as gm, b8 as bm, $ as wm, b9 as xm, ba as ym, bb as vm, bc as km, ab as pc, M as Cm, N as Sm, P as Nm, Q as Im, V as Am, O as _m, bd as zo, be as Em, bf as Tm, l as Dm } from "./index-
|
|
7
|
-
import { a5 as mA, W as gA, a0 as bA, R as wA, _ as xA, bj as yA, bi as vA, bg as kA, bh as CA, a4 as SA, T as NA, Z as IA, U as AA, a8 as _A, a9 as EA } from "./index-
|
|
6
|
+
import { f as Yt, ac as Nn, e as nr, ad as Op, L as wi, ae as Mp, A as Pp, i as rr, k as Fp, G as zp, g as Lo, af as $p, j as Oo, n as Bp, ag as Za, ah as Qa, ai as jp, C as Hp, aa as Wp, aj as je, ak as ot, al as Ee, am as Vp, an as gr, ao as Ue, ap as ec, aq as Me, ar as Vs, as as $e, at as Mo, au as Up, av as tc, aw as Ie, ax as Fe, ay as In, az as Rr, aA as nc, aB as Gp, aC as Wt, aD as Kp, aE as qp, aF as Yp, aG as Vn, aH as Un, aI as Us, aJ as Jp, aK as rc, aL as ic, aM as sc, aN as Xp, aO as oc, aP as lc, aQ as ac, aR as cc, aS as dc, aT as uc, a3 as Po, aU as Zp, aV as Fo, aW as Qp, aX as em, aY as tm, w as nm, x as rm, z as im, J as sm, K as om, s as lm, aZ as fc, a_ as am, a$ as cm, b0 as dm, b1 as hc, a7 as Ui, b2 as um, b3 as fm, b4 as hm, b5 as pm, b6 as mm, b7 as gm, b8 as bm, $ as wm, b9 as xm, ba as ym, bb as vm, bc as km, ab as pc, M as Cm, N as Sm, P as Nm, Q as Im, V as Am, O as _m, bd as zo, be as Em, bf as Tm, l as Dm } from "./index-vtX1EHb8.js";
|
|
7
|
+
import { a5 as mA, W as gA, a0 as bA, R as wA, _ as xA, bj as yA, bi as vA, bg as kA, bh as CA, a4 as SA, T as NA, Z as IA, U as AA, a8 as _A, a9 as EA } from "./index-vtX1EHb8.js";
|
|
8
8
|
import './experimental.css';const Rm = mf("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
|
@@ -1916,6 +1916,12 @@ declare interface CheckboxProps extends DataAttributes_2 {
|
|
|
1916
1916
|
required?: boolean;
|
|
1917
1917
|
}
|
|
1918
1918
|
|
|
1919
|
+
declare type CheckboxQuestionProps = BaseQuestionPropsForOtherQuestionComponents & {
|
|
1920
|
+
type: "checkbox";
|
|
1921
|
+
value?: boolean | null;
|
|
1922
|
+
label: string;
|
|
1923
|
+
};
|
|
1924
|
+
|
|
1919
1925
|
declare type ChildrenPaginationInfo = {
|
|
1920
1926
|
total: number;
|
|
1921
1927
|
perPage: number;
|
|
@@ -3305,6 +3311,7 @@ export declare const defaultTranslations: {
|
|
|
3305
3311
|
readonly date: "Date";
|
|
3306
3312
|
readonly dropdownSingle: "Dropdown";
|
|
3307
3313
|
readonly file: "File upload";
|
|
3314
|
+
readonly checkbox: "Checkbox";
|
|
3308
3315
|
};
|
|
3309
3316
|
readonly selectQuestion: {
|
|
3310
3317
|
readonly addOption: "Add option";
|
|
@@ -3317,6 +3324,9 @@ export declare const defaultTranslations: {
|
|
|
3317
3324
|
readonly fileQuestion: {
|
|
3318
3325
|
readonly uploadButton: "Upload file";
|
|
3319
3326
|
};
|
|
3327
|
+
readonly checkboxQuestion: {
|
|
3328
|
+
readonly placeholder: "Provide a label for the checkbox";
|
|
3329
|
+
};
|
|
3320
3330
|
readonly answer: {
|
|
3321
3331
|
readonly label: "Answer";
|
|
3322
3332
|
readonly dropdownPlaceholder: "Pick an option";
|
|
@@ -7160,10 +7170,10 @@ declare interface GranularityDefinition {
|
|
|
7160
7170
|
calendarMode?: CalendarMode;
|
|
7161
7171
|
calendarView: CalendarView;
|
|
7162
7172
|
weekStartsOn?: WeekStartsOn;
|
|
7163
|
-
label: (viewDate: Date, i18n: TranslationsType) => ReactNode;
|
|
7173
|
+
label: (viewDate: Date, i18n: TranslationsType, locale?: string) => ReactNode;
|
|
7164
7174
|
toRangeString: (date: Date | DateRange | undefined | null, i18n: TranslationsType, format?: DateStringFormat) => DateRangeString;
|
|
7165
7175
|
toRange: <T extends Date | DateRange | undefined | null>(date: T) => T extends Date | DateRange ? DateRangeComplete : T;
|
|
7166
|
-
toString: (date: Date | DateRange | undefined | null, i18n: TranslationsType, format?: DateStringFormat) => string;
|
|
7176
|
+
toString: (date: Date | DateRange | undefined | null, i18n: TranslationsType, format?: DateStringFormat, locale?: string) => string;
|
|
7167
7177
|
toStringMaxWidth: () => number;
|
|
7168
7178
|
placeholder: () => string;
|
|
7169
7179
|
fromString: (dateStr: string | DateRangeString, i18n: TranslationsType) => DateRange | null;
|
|
@@ -8360,6 +8370,10 @@ declare type OnChangeQuestionParams = BaseQuestionOnChangeParams & ({
|
|
|
8360
8370
|
} | {
|
|
8361
8371
|
type: "file";
|
|
8362
8372
|
value?: string[] | null;
|
|
8373
|
+
} | {
|
|
8374
|
+
type: "checkbox";
|
|
8375
|
+
value?: boolean | null;
|
|
8376
|
+
label: string;
|
|
8363
8377
|
});
|
|
8364
8378
|
|
|
8365
8379
|
export declare type OnChangeSectionParams = {
|
|
@@ -8867,11 +8881,13 @@ export declare type QuestionElement = Omit<TextQuestionProps, QuestionPropsToOmi
|
|
|
8867
8881
|
type: "date";
|
|
8868
8882
|
}, QuestionPropsToOmit> | Omit<FileQuestionProps & {
|
|
8869
8883
|
type: "file";
|
|
8884
|
+
}, QuestionPropsToOmit> | Omit<CheckboxQuestionProps & {
|
|
8885
|
+
type: "checkbox";
|
|
8870
8886
|
}, QuestionPropsToOmit>;
|
|
8871
8887
|
|
|
8872
8888
|
declare type QuestionPropsToOmit = "onAction" | "onChange" | "onAddNewElement";
|
|
8873
8889
|
|
|
8874
|
-
export declare type QuestionType = "rating" | "select" | "multi-select" | "dropdown-single" | "text" | "longText" | "numeric" | "link" | "date" | "file";
|
|
8890
|
+
export declare type QuestionType = "rating" | "select" | "multi-select" | "dropdown-single" | "text" | "longText" | "numeric" | "link" | "date" | "file" | "checkbox";
|
|
8875
8891
|
|
|
8876
8892
|
export declare interface RadarChartConfig {
|
|
8877
8893
|
type: "radar";
|
|
@@ -9466,6 +9482,9 @@ export declare type SurveyAnswerValue = {
|
|
|
9466
9482
|
} | {
|
|
9467
9483
|
type: "file";
|
|
9468
9484
|
value: string[] | null;
|
|
9485
|
+
} | {
|
|
9486
|
+
type: "checkbox";
|
|
9487
|
+
value: boolean | null;
|
|
9469
9488
|
};
|
|
9470
9489
|
|
|
9471
9490
|
export declare const SurveyFormBuilder: WithDataTestIdReturnType_7<({ elements: elementsProp, disabled, onChange, disallowOptionalQuestions, allowedQuestionTypes, applyingChanges, useUpload, }: SurveyFormBuilderProps) => JSX_2.Element>;
|
|
@@ -9503,7 +9522,7 @@ export declare type SurveyFormSubmitResult = {
|
|
|
9503
9522
|
errors?: Record<string, string>;
|
|
9504
9523
|
};
|
|
9505
9524
|
|
|
9506
|
-
export declare type SurveySubmitAnswers = Record<string, string | number | string[] | Date | null>;
|
|
9525
|
+
export declare type SurveySubmitAnswers = Record<string, string | number | boolean | string[] | Date | null>;
|
|
9507
9526
|
|
|
9508
9527
|
/**
|
|
9509
9528
|
* All valid renderIf conditions for switch fields
|
|
@@ -10827,6 +10846,11 @@ declare module "gridstack" {
|
|
|
10827
10846
|
}
|
|
10828
10847
|
|
|
10829
10848
|
|
|
10849
|
+
declare namespace Calendar {
|
|
10850
|
+
var displayName: string;
|
|
10851
|
+
}
|
|
10852
|
+
|
|
10853
|
+
|
|
10830
10854
|
declare module "@tiptap/core" {
|
|
10831
10855
|
interface Commands<ReturnType> {
|
|
10832
10856
|
aiBlock: {
|
|
@@ -10874,8 +10898,3 @@ declare module "@tiptap/core" {
|
|
|
10874
10898
|
};
|
|
10875
10899
|
}
|
|
10876
10900
|
}
|
|
10877
|
-
|
|
10878
|
-
|
|
10879
|
-
declare namespace Calendar {
|
|
10880
|
-
var displayName: string;
|
|
10881
|
-
}
|