@factorialco/f0-react 2.8.1 → 2.14.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/{F0AiProposalCard-B0Ks8hSB.js → F0AiProposalCard-DiAUglH2.js} +3160 -3151
- package/dist/ai.d.ts +15 -5
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +140 -14
- package/dist/experimental.js +1422 -1360
- package/dist/f0.d.ts +90 -6
- package/dist/f0.js +2994 -2934
- package/dist/i18n-provider-defaults.d.ts +9 -5
- package/dist/i18n-provider-defaults.js +5 -1
- package/dist/{index-BLnlaCN8.js → index-BKm4Prkl.js} +27 -25
- package/dist/styles.css +1 -1
- package/dist/{useDataCollectionSource-CZiTgT__.js → useDataCollectionSource-D5d-5KM1.js} +31953 -31751
- package/package.json +2 -2
|
@@ -563,6 +563,9 @@ export declare const defaultTranslations: {
|
|
|
563
563
|
readonly noResults: "No results found";
|
|
564
564
|
readonly loadingMore: "Loading...";
|
|
565
565
|
readonly applySelection: "Apply selection";
|
|
566
|
+
readonly create: "Create";
|
|
567
|
+
readonly createWithValue: "Create \"{{value}}\"";
|
|
568
|
+
readonly createEmptyMessage: "Try another search or create a new item";
|
|
566
569
|
};
|
|
567
570
|
readonly numberInput: {
|
|
568
571
|
readonly between: "It should be between {{min}} and {{max}}";
|
|
@@ -638,6 +641,7 @@ export declare const defaultTranslations: {
|
|
|
638
641
|
readonly sectionDescriptionPlaceholder: "Describe the section in a few words";
|
|
639
642
|
readonly required: "Required";
|
|
640
643
|
readonly allowMultiSelection: "Allow multi-selection";
|
|
644
|
+
readonly allowCreate: "Allow creation";
|
|
641
645
|
readonly singleSelection: "Single selection";
|
|
642
646
|
readonly multiSelection: "Multi selection";
|
|
643
647
|
readonly questionType: "Question type";
|
|
@@ -831,11 +835,6 @@ declare module "gridstack" {
|
|
|
831
835
|
}
|
|
832
836
|
|
|
833
837
|
|
|
834
|
-
declare namespace Calendar {
|
|
835
|
-
var displayName: string;
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
|
|
839
838
|
declare module "@tiptap/core" {
|
|
840
839
|
interface Commands<ReturnType> {
|
|
841
840
|
aiBlock: {
|
|
@@ -883,3 +882,8 @@ declare module "@tiptap/core" {
|
|
|
883
882
|
};
|
|
884
883
|
}
|
|
885
884
|
}
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
declare namespace Calendar {
|
|
888
|
+
var displayName: string;
|
|
889
|
+
}
|
|
@@ -562,7 +562,10 @@ const e = {
|
|
|
562
562
|
select: {
|
|
563
563
|
noResults: "No results found",
|
|
564
564
|
loadingMore: "Loading...",
|
|
565
|
-
applySelection: "Apply selection"
|
|
565
|
+
applySelection: "Apply selection",
|
|
566
|
+
create: "Create",
|
|
567
|
+
createWithValue: 'Create "{{value}}"',
|
|
568
|
+
createEmptyMessage: "Try another search or create a new item"
|
|
566
569
|
},
|
|
567
570
|
numberInput: {
|
|
568
571
|
between: "It should be between {{min}} and {{max}}",
|
|
@@ -638,6 +641,7 @@ const e = {
|
|
|
638
641
|
sectionDescriptionPlaceholder: "Describe the section in a few words",
|
|
639
642
|
required: "Required",
|
|
640
643
|
allowMultiSelection: "Allow multi-selection",
|
|
644
|
+
allowCreate: "Allow creation",
|
|
641
645
|
singleSelection: "Single selection",
|
|
642
646
|
multiSelection: "Multi selection",
|
|
643
647
|
questionType: "Question type",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as A, jsx as g, Fragment as tn } from "react/jsx-runtime";
|
|
2
2
|
import * as U from "react";
|
|
3
3
|
import C, { useRef as Ct, useState as ue, useCallback as Ye, useEffect as it, useLayoutEffect as mc, PureComponent as Wn, useMemo as Ps, forwardRef as Pt, useId as gc, useImperativeHandle as yc } from "react";
|
|
4
|
-
import { Q as Tn, a5 as cf, t as G, X as uf,
|
|
4
|
+
import { Q as Tn, a5 as cf, t as G, X as uf, cH as df, cI as ff, w as Ds, ad as Ne, ae as bc, cJ as Sn, cK as hf, cL as pf, cM as Na, cN as Pa, cO as Da, cP as Ma, cQ as Ia, cR as mf, cS as gf, cT as yf, cU as bf, cV as vc, cW as wc, ar as Nn, cX as Ee, cY as W, cZ as Ie, c_ as xc, c$ as vf, d0 as Sc, d1 as Ms, d2 as wf, d3 as ge, d4 as Ki, d5 as ie, d6 as kc, d7 as Gi, d8 as Is, d9 as Ls, da as Rs, db as he, dc as De, dd as Ho, de as Yi, df as xf, dg as Ce, dh as qi, di as Pe, dj as hn, dk as $s, dl as Xi, dm as ui, dn as Ji, bL as js, dp as Sf, dq as Zr, dr as Si, ds as kf, dt as Af, du as Cf, dv as Ef, dw as Of, dx as _f, dy as Ac, dz as Cc, dA as Ec, dB as Oc, dC as _c, dD as Tf, dE as ki, dF as Nf, dG as Pf, dH as Lr, dI as Wt, dJ as _t, dK as Fs, dL as Rr, dM as Tc, dN as Nc, dO as Df, dP as Mf, dQ as If, dR as Lf, bu as Rf, dS as $f, dT as Oe, dU as _e, T as jf, x as Ff, y as zf, E as Bf, dV as Vf, dW as Pc, A as Hf, dX as Wf, bt as mt, N as on, aY as Uf, W as ce, a3 as zs, dY as Kf, ck as ke, dZ as So, d_ as Qe, d$ as gt, e0 as $e, e1 as Gf, e2 as di, e3 as nt, e4 as Dc, e5 as qe, e6 as Bs, e7 as Ze, e8 as La, e9 as Yf, ea as Mc, eb as ye, ec as Ve, ed as yr, ee as Ai, ef as Ic, eg as qf, eh as pn, ei as Xf, ej as Jf, ek as Zf, Y as j, am as Lc, b1 as Qf, an as Rc, el as $r, em as jr, en as Vs, eo as eh, ep as $c, eq as jc, er as Fc, es as th, et as zc, eu as Bc, ev as Vc, ew as Hc, ex as Wc, ey as Uc, ez as nh, eA as rh, u as Un, ac as ih, bk as Zi, K as oh, v as Qr, aX as sh, aF as ah, a_ as lh, eB as ch, eC as uh, eD as dh, eE as fh, eF as hh, eG as ph, a8 as Kc, a9 as Hs, aa as Ws, eH as Ra, eI as mh, eJ as gh, eK as yh, eL as bh, eM as vh, eN as wh, eO as xh, eP as Sh, eQ as kh, eR as Ah, eS as Ch, eT as Eh, eU as Oh, eV as _h, eW as Th, eX as Nh, eY as Ph, as as Dh, eZ as Mh, e_ as Ih, e$ as Lh, f0 as Rh, f1 as $h, f2 as jh, f3 as Fh, f4 as zh, aB as $a, at as Gc, f5 as Bh, bJ as Yc, f6 as Vh, aA as Hh, f7 as Wh, f8 as Uh, f9 as Kh, fa as Gh, fb as Yh, fc as qh, fd as Xh, fe as Jh, ff as Zh } from "./useDataCollectionSource-D5d-5KM1.js";
|
|
5
5
|
import './index.css';const Qh = {
|
|
6
6
|
active: !0,
|
|
7
7
|
breakpoints: {},
|
|
@@ -6662,7 +6662,7 @@ const Wy = (t) => {
|
|
|
6662
6662
|
mt({ name: "ComboChart", type: "info" }, My)
|
|
6663
6663
|
), iS = Ne(
|
|
6664
6664
|
mt({ name: "RadarChart", type: "info" }, Vy)
|
|
6665
|
-
), No = [
|
|
6665
|
+
), oS = ["sm", "md", "lg"], sS = ["compact", "expanded"], No = [
|
|
6666
6666
|
{
|
|
6667
6667
|
id: "bottom",
|
|
6668
6668
|
path: "M11.9948 17.5244C14.2802 17.5244 16.5188 18.2872 18.2805 19.7631C16.5189 21.1914 14.2801 22 11.9948 22C9.61453 21.9999 7.42426 21.1436 5.71037 19.7631C7.47193 18.3348 9.70955 17.5245 11.9948 17.5244Z"
|
|
@@ -6784,7 +6784,7 @@ function Xy({
|
|
|
6784
6784
|
}
|
|
6785
6785
|
) }) }) });
|
|
6786
6786
|
}
|
|
6787
|
-
const
|
|
6787
|
+
const aS = Ne(Xy), lS = Kf, cS = {
|
|
6788
6788
|
today: {
|
|
6789
6789
|
label: "Today",
|
|
6790
6790
|
granularity: "day",
|
|
@@ -18675,7 +18675,7 @@ const N1 = (t, e) => {
|
|
|
18675
18675
|
]
|
|
18676
18676
|
}
|
|
18677
18677
|
) }) : null;
|
|
18678
|
-
}),
|
|
18678
|
+
}), fS = ({
|
|
18679
18679
|
withHeader: t = !1,
|
|
18680
18680
|
withTitle: e = !0,
|
|
18681
18681
|
withToolbar: n = !0
|
|
@@ -18730,7 +18730,7 @@ const N1 = (t, e) => {
|
|
|
18730
18730
|
] })
|
|
18731
18731
|
]
|
|
18732
18732
|
}
|
|
18733
|
-
),
|
|
18733
|
+
), hS = j1, Xd = Pt(
|
|
18734
18734
|
({ header: t, actions: e, open: n, onClose: r }, i) => {
|
|
18735
18735
|
const [o, s] = ue(!1), a = Ye(() => {
|
|
18736
18736
|
s(!0);
|
|
@@ -18781,7 +18781,7 @@ const N1 = (t, e) => {
|
|
|
18781
18781
|
}
|
|
18782
18782
|
);
|
|
18783
18783
|
Xd.displayName = "Dialog";
|
|
18784
|
-
const
|
|
18784
|
+
const pS = Ne(
|
|
18785
18785
|
mt(
|
|
18786
18786
|
{ name: "Dialog", type: "info" },
|
|
18787
18787
|
bc("Dialog", Xd)
|
|
@@ -18914,11 +18914,12 @@ export {
|
|
|
18914
18914
|
Ey as A,
|
|
18915
18915
|
_y as B,
|
|
18916
18916
|
W1 as C,
|
|
18917
|
-
|
|
18917
|
+
pS as D,
|
|
18918
|
+
Ko as E,
|
|
18918
18919
|
q1 as F,
|
|
18919
18920
|
Ly as L,
|
|
18920
|
-
|
|
18921
|
-
|
|
18921
|
+
fS as N,
|
|
18922
|
+
aS as P,
|
|
18922
18923
|
iS as R,
|
|
18923
18924
|
Ky as V,
|
|
18924
18925
|
Fv as a,
|
|
@@ -18930,20 +18931,21 @@ export {
|
|
|
18930
18931
|
G1 as g,
|
|
18931
18932
|
yy as h,
|
|
18932
18933
|
Dt as i,
|
|
18933
|
-
|
|
18934
|
-
|
|
18935
|
-
|
|
18936
|
-
|
|
18937
|
-
|
|
18938
|
-
|
|
18939
|
-
|
|
18940
|
-
|
|
18941
|
-
|
|
18942
|
-
|
|
18943
|
-
|
|
18944
|
-
|
|
18945
|
-
|
|
18946
|
-
|
|
18947
|
-
|
|
18948
|
-
|
|
18934
|
+
oS as j,
|
|
18935
|
+
sS as k,
|
|
18936
|
+
z1 as l,
|
|
18937
|
+
Fu as m,
|
|
18938
|
+
X1 as n,
|
|
18939
|
+
J1 as o,
|
|
18940
|
+
Z1 as p,
|
|
18941
|
+
Q1 as q,
|
|
18942
|
+
eS as r,
|
|
18943
|
+
tS as s,
|
|
18944
|
+
nS as t,
|
|
18945
|
+
rS as u,
|
|
18946
|
+
lS as v,
|
|
18947
|
+
cS as w,
|
|
18948
|
+
hS as x,
|
|
18949
|
+
_1 as y,
|
|
18950
|
+
T1 as z
|
|
18949
18951
|
};
|