@factorialco/f0-react 1.398.0 → 1.400.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/{F0AiChat-CiwHSzAS.js → F0AiChat-CaAV8VN2.js} +146 -143
- package/dist/{F0HILActionConfirmation-Ba7uFrN1.js → F0HILActionConfirmation-YgaEV5Tc.js} +1 -1
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +6 -9
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +11 -11
- package/dist/f0.js +9309 -9461
- package/dist/styles.css +1 -1
- package/dist/{useDataCollectionSource-DmcT_gl5.js → useDataCollectionSource-DuXdNqcR.js} +11728 -11303
- package/package.json +1 -1
|
@@ -107118,7 +107118,7 @@ const jc = (e, t) => ({
|
|
|
107118
107118
|
if (!isNaN(u.getTime()))
|
|
107119
107119
|
return u;
|
|
107120
107120
|
const [d, C, m] = s.split(/[/.-]/);
|
|
107121
|
-
return new Date(Number(m), Number(C) - 1, Number(d));
|
|
107121
|
+
return !d || !C || !m ? /* @__PURE__ */ new Date(NaN) : new Date(Number(m), Number(C) - 1, Number(d));
|
|
107122
107122
|
};
|
|
107123
107123
|
return m7({
|
|
107124
107124
|
from: a(n),
|
|
@@ -109246,6 +109246,7 @@ const a9 = Q1(F4("Spinner", Ah1)), Zh1 = ({ text: e }) => /* @__PURE__ */ o(
|
|
|
109246
109246
|
!e2 && /* @__PURE__ */ o(
|
|
109247
109247
|
"div",
|
|
109248
109248
|
{
|
|
109249
|
+
"data-slot": "placeholder",
|
|
109249
109250
|
className: i2(
|
|
109250
109251
|
"pointer-events-none absolute left-0 top-[1px] z-10 flex flex-1 justify-start px-3 text-f1-foreground-secondary transition-opacity line-clamp-1",
|
|
109251
109252
|
!p && "bottom-0",
|
|
@@ -137531,7 +137532,7 @@ export {
|
|
|
137531
137532
|
EH1 as cy,
|
|
137532
137533
|
BZ as cz,
|
|
137533
137534
|
X4 as d,
|
|
137534
|
-
|
|
137535
|
+
v12 as d$,
|
|
137535
137536
|
Ev1 as d0,
|
|
137536
137537
|
iC as d1,
|
|
137537
137538
|
H62 as d2,
|
|
@@ -137563,12 +137564,12 @@ export {
|
|
|
137563
137564
|
nT as dS,
|
|
137564
137565
|
o9 as dT,
|
|
137565
137566
|
pn as dU,
|
|
137566
|
-
|
|
137567
|
-
|
|
137568
|
-
|
|
137569
|
-
|
|
137570
|
-
|
|
137571
|
-
|
|
137567
|
+
RH1 as dV,
|
|
137568
|
+
I52 as dW,
|
|
137569
|
+
St as dX,
|
|
137570
|
+
_Z as dY,
|
|
137571
|
+
Uh1 as dZ,
|
|
137572
|
+
X7 as d_,
|
|
137572
137573
|
DE2 as da,
|
|
137573
137574
|
TH1 as db,
|
|
137574
137575
|
vF as dc,
|
|
@@ -137595,143 +137596,145 @@ export {
|
|
|
137595
137596
|
Rm1 as dy,
|
|
137596
137597
|
Om1 as dz,
|
|
137597
137598
|
N$ as e,
|
|
137598
|
-
|
|
137599
|
-
|
|
137600
|
-
|
|
137601
|
-
|
|
137602
|
-
|
|
137603
|
-
|
|
137604
|
-
|
|
137605
|
-
|
|
137606
|
-
|
|
137607
|
-
|
|
137608
|
-
|
|
137609
|
-
|
|
137610
|
-
|
|
137611
|
-
|
|
137612
|
-
|
|
137613
|
-
|
|
137614
|
-
|
|
137615
|
-
|
|
137616
|
-
|
|
137617
|
-
|
|
137618
|
-
|
|
137619
|
-
|
|
137620
|
-
|
|
137621
|
-
|
|
137622
|
-
|
|
137623
|
-
|
|
137624
|
-
|
|
137625
|
-
|
|
137626
|
-
|
|
137627
|
-
|
|
137628
|
-
|
|
137629
|
-
|
|
137630
|
-
|
|
137631
|
-
|
|
137632
|
-
|
|
137633
|
-
|
|
137634
|
-
|
|
137635
|
-
|
|
137636
|
-
|
|
137637
|
-
|
|
137638
|
-
|
|
137639
|
-
|
|
137640
|
-
|
|
137641
|
-
|
|
137642
|
-
|
|
137643
|
-
|
|
137644
|
-
|
|
137645
|
-
|
|
137646
|
-
|
|
137647
|
-
|
|
137648
|
-
|
|
137649
|
-
|
|
137650
|
-
|
|
137651
|
-
|
|
137652
|
-
|
|
137653
|
-
|
|
137654
|
-
|
|
137655
|
-
|
|
137656
|
-
|
|
137657
|
-
|
|
137658
|
-
|
|
137659
|
-
|
|
137660
|
-
|
|
137661
|
-
|
|
137599
|
+
zH1 as e$,
|
|
137600
|
+
Pi as e0,
|
|
137601
|
+
d62 as e1,
|
|
137602
|
+
t32 as e2,
|
|
137603
|
+
H42 as e3,
|
|
137604
|
+
pe2 as e4,
|
|
137605
|
+
E22 as e5,
|
|
137606
|
+
Bu as e6,
|
|
137607
|
+
jm1 as e7,
|
|
137608
|
+
Md as e8,
|
|
137609
|
+
ph as e9,
|
|
137610
|
+
sH1 as eA,
|
|
137611
|
+
SH1 as eB,
|
|
137612
|
+
vH1 as eC,
|
|
137613
|
+
aH1 as eD,
|
|
137614
|
+
MH1 as eE,
|
|
137615
|
+
cE as eF,
|
|
137616
|
+
TE2 as eG,
|
|
137617
|
+
$H1 as eH,
|
|
137618
|
+
NH1 as eI,
|
|
137619
|
+
Ac as eJ,
|
|
137620
|
+
Jb as eK,
|
|
137621
|
+
qT as eL,
|
|
137622
|
+
vF2 as eM,
|
|
137623
|
+
XS as eN,
|
|
137624
|
+
zS as eO,
|
|
137625
|
+
LF2 as eP,
|
|
137626
|
+
Ln as eQ,
|
|
137627
|
+
Rd as eR,
|
|
137628
|
+
ZA as eS,
|
|
137629
|
+
ip1 as eT,
|
|
137630
|
+
sp1 as eU,
|
|
137631
|
+
lp1 as eV,
|
|
137632
|
+
BH1 as eW,
|
|
137633
|
+
DA as eX,
|
|
137634
|
+
cp1 as eY,
|
|
137635
|
+
jH1 as eZ,
|
|
137636
|
+
Cp1 as e_,
|
|
137637
|
+
gh as ea,
|
|
137638
|
+
Wi as eb,
|
|
137639
|
+
a62 as ec,
|
|
137640
|
+
m52 as ed,
|
|
137641
|
+
JJ as ee,
|
|
137642
|
+
t22 as ef,
|
|
137643
|
+
aP as eg,
|
|
137644
|
+
wH1 as eh,
|
|
137645
|
+
a22 as ei,
|
|
137646
|
+
an as ej,
|
|
137647
|
+
bH1 as ek,
|
|
137648
|
+
ms2 as el,
|
|
137649
|
+
a42 as em,
|
|
137650
|
+
ps2 as en,
|
|
137651
|
+
i12 as eo,
|
|
137652
|
+
qi as ep,
|
|
137653
|
+
aF as eq,
|
|
137654
|
+
oF as er,
|
|
137655
|
+
zm1 as es,
|
|
137656
|
+
mF2 as et,
|
|
137657
|
+
jh1 as eu,
|
|
137658
|
+
GT as ev,
|
|
137659
|
+
YT as ew,
|
|
137660
|
+
_F as ex,
|
|
137661
|
+
M9 as ey,
|
|
137662
|
+
fv1 as ez,
|
|
137662
137663
|
PL1 as f,
|
|
137663
|
-
|
|
137664
|
-
|
|
137665
|
-
|
|
137666
|
-
|
|
137667
|
-
|
|
137668
|
-
|
|
137669
|
-
|
|
137670
|
-
|
|
137671
|
-
|
|
137672
|
-
|
|
137673
|
-
|
|
137674
|
-
|
|
137675
|
-
|
|
137676
|
-
|
|
137677
|
-
|
|
137678
|
-
|
|
137679
|
-
|
|
137680
|
-
|
|
137681
|
-
|
|
137682
|
-
|
|
137683
|
-
|
|
137684
|
-
|
|
137685
|
-
|
|
137686
|
-
|
|
137687
|
-
|
|
137688
|
-
|
|
137689
|
-
|
|
137690
|
-
|
|
137691
|
-
|
|
137692
|
-
|
|
137693
|
-
|
|
137694
|
-
|
|
137695
|
-
|
|
137696
|
-
|
|
137697
|
-
|
|
137698
|
-
|
|
137699
|
-
|
|
137700
|
-
|
|
137701
|
-
|
|
137702
|
-
|
|
137703
|
-
|
|
137704
|
-
|
|
137705
|
-
|
|
137706
|
-
|
|
137707
|
-
|
|
137708
|
-
|
|
137709
|
-
|
|
137710
|
-
|
|
137711
|
-
|
|
137712
|
-
|
|
137713
|
-
|
|
137714
|
-
|
|
137715
|
-
|
|
137716
|
-
|
|
137717
|
-
|
|
137718
|
-
|
|
137719
|
-
|
|
137720
|
-
|
|
137721
|
-
|
|
137722
|
-
|
|
137723
|
-
|
|
137724
|
-
|
|
137725
|
-
|
|
137726
|
-
|
|
137664
|
+
xF as f$,
|
|
137665
|
+
gH1 as f0,
|
|
137666
|
+
iH1 as f1,
|
|
137667
|
+
ei as f2,
|
|
137668
|
+
Qa as f3,
|
|
137669
|
+
vz as f4,
|
|
137670
|
+
af as f5,
|
|
137671
|
+
O3 as f6,
|
|
137672
|
+
Ft as f7,
|
|
137673
|
+
kv as f8,
|
|
137674
|
+
UU as f9,
|
|
137675
|
+
xM as fA,
|
|
137676
|
+
r22 as fB,
|
|
137677
|
+
qk2 as fC,
|
|
137678
|
+
Kk2 as fD,
|
|
137679
|
+
l22 as fE,
|
|
137680
|
+
pi as fF,
|
|
137681
|
+
h22 as fG,
|
|
137682
|
+
u22 as fH,
|
|
137683
|
+
p22 as fI,
|
|
137684
|
+
f22 as fJ,
|
|
137685
|
+
Z22 as fK,
|
|
137686
|
+
g42 as fL,
|
|
137687
|
+
c62 as fM,
|
|
137688
|
+
Xe2 as fN,
|
|
137689
|
+
V52 as fO,
|
|
137690
|
+
ue2 as fP,
|
|
137691
|
+
M52 as fQ,
|
|
137692
|
+
$A as fR,
|
|
137693
|
+
z6 as fS,
|
|
137694
|
+
j6 as fT,
|
|
137695
|
+
CH1 as fU,
|
|
137696
|
+
Re2 as fV,
|
|
137697
|
+
uE as fW,
|
|
137698
|
+
pp1 as fX,
|
|
137699
|
+
VF2 as fY,
|
|
137700
|
+
DH1 as fZ,
|
|
137701
|
+
ep1 as f_,
|
|
137702
|
+
cH1 as fa,
|
|
137703
|
+
Lt as fb,
|
|
137704
|
+
d1 as fc,
|
|
137705
|
+
M3 as fd,
|
|
137706
|
+
W7 as fe,
|
|
137707
|
+
Zi as ff,
|
|
137708
|
+
J0 as fg,
|
|
137709
|
+
VH1 as fh,
|
|
137710
|
+
HH1 as fi,
|
|
137711
|
+
FH1 as fj,
|
|
137712
|
+
Wb2 as fk,
|
|
137713
|
+
L5 as fl,
|
|
137714
|
+
_c as fm,
|
|
137715
|
+
Bb2 as fn,
|
|
137716
|
+
r4 as fo,
|
|
137717
|
+
_t as fp,
|
|
137718
|
+
Kb2 as fq,
|
|
137719
|
+
mE2 as fr,
|
|
137720
|
+
ab2 as fs,
|
|
137721
|
+
zd as ft,
|
|
137722
|
+
hZ as fu,
|
|
137723
|
+
mZ as fv,
|
|
137724
|
+
pZ as fw,
|
|
137725
|
+
p_ as fx,
|
|
137726
|
+
i9 as fy,
|
|
137727
|
+
if1 as fz,
|
|
137727
137728
|
AL1 as g,
|
|
137728
|
-
|
|
137729
|
-
|
|
137730
|
-
|
|
137731
|
-
|
|
137732
|
-
|
|
137733
|
-
|
|
137734
|
-
|
|
137729
|
+
Yb2 as g0,
|
|
137730
|
+
OF2 as g1,
|
|
137731
|
+
L42 as g2,
|
|
137732
|
+
Je2 as g3,
|
|
137733
|
+
HQ as g4,
|
|
137734
|
+
qQ as g5,
|
|
137735
|
+
VF as g6,
|
|
137736
|
+
Cv1 as g7,
|
|
137737
|
+
$g1 as g8,
|
|
137735
137738
|
zZ as h,
|
|
137736
137739
|
QZ as i,
|
|
137737
137740
|
xF1 as j,
|
|
@@ -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-CaAV8VN2.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.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-CaAV8VN2.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-YgaEV5Tc.js";
|
|
4
4
|
export {
|
|
5
5
|
e as A,
|
|
6
6
|
K as AiChatTranslationsProvider,
|
package/dist/experimental.d.ts
CHANGED
|
@@ -1581,7 +1581,7 @@ export declare type CollectionProps<Record extends RecordType, Filters extends F
|
|
|
1581
1581
|
*/
|
|
1582
1582
|
tmpFullWidth?: boolean;
|
|
1583
1583
|
/** Indicates the source visualization type */
|
|
1584
|
-
fromVisualization?:
|
|
1584
|
+
fromVisualization?: TableVisualizationType;
|
|
1585
1585
|
} & VisualizationOptions;
|
|
1586
1586
|
|
|
1587
1587
|
declare type CollectionVisualizations<Record extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<Record>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<Record>> = {
|
|
@@ -2902,7 +2902,7 @@ declare type DropdownProps = Omit<DropdownInternalProps, (typeof privateProps_4)
|
|
|
2902
2902
|
} & WithDataTestIdProps;
|
|
2903
2903
|
|
|
2904
2904
|
/** The edit mode for a column cell in the editable table. */
|
|
2905
|
-
declare type EditableTableCellEditType = "text" | "date" | "select" | "multiselect";
|
|
2905
|
+
declare type EditableTableCellEditType = "text" | "date" | "select" | "multiselect" | "display-only" | "disabled";
|
|
2906
2906
|
|
|
2907
2907
|
declare type EditableTableCollectionProps<R extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<R>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<R>> = CollectionProps<R, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping, EditableTableVisualizationOptions<R, Filters, Sortings, Summaries>>;
|
|
2908
2908
|
|
|
@@ -2914,6 +2914,8 @@ declare type EditableTableCollectionProps<R extends RecordType, Filters extends
|
|
|
2914
2914
|
* back into the item passed to `onCellChange`.
|
|
2915
2915
|
*/
|
|
2916
2916
|
declare type EditableTableColumnDefinition<R extends RecordType, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition> = TableColumnDefinition<R, Sortings, Summaries> & {
|
|
2917
|
+
/** Optional placeholder passed to editable inputs (e.g. date cells). */
|
|
2918
|
+
inputPlaceholder?: string;
|
|
2917
2919
|
/**
|
|
2918
2920
|
* Determines how the cell is rendered in edit mode.
|
|
2919
2921
|
* Receives the current item and returns the cell type (e.g. `"text"`) or
|
|
@@ -2922,13 +2924,6 @@ declare type EditableTableColumnDefinition<R extends RecordType, Sortings extend
|
|
|
2922
2924
|
* When omitted, the cell is always rendered read-only.
|
|
2923
2925
|
*/
|
|
2924
2926
|
editType?: (item: R) => EditableTableCellEditType | undefined;
|
|
2925
|
-
/**
|
|
2926
|
-
* Function that determines if the cell should be editable for a given item.
|
|
2927
|
-
* The cell is only editable if both `editType` returns a value AND
|
|
2928
|
-
* this function returns `true` for the given item.
|
|
2929
|
-
* Return `true` for all items to make the column always editable.
|
|
2930
|
-
*/
|
|
2931
|
-
editable: (item: R) => boolean;
|
|
2932
2927
|
};
|
|
2933
2928
|
|
|
2934
2929
|
declare type EditableTableVisualizationOptions<R extends RecordType, _Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition> = Omit<TableVisualizationOptions<R, _Filters, Sortings, Summaries>, "columns"> & {
|
|
@@ -6231,6 +6226,8 @@ declare type TableVisualizationSettings = {
|
|
|
6231
6226
|
hidden?: ColId[];
|
|
6232
6227
|
};
|
|
6233
6228
|
|
|
6229
|
+
export declare type TableVisualizationType = "table" | "editableTable";
|
|
6230
|
+
|
|
6234
6231
|
/**
|
|
6235
6232
|
* @experimental This is an experimental component use it at your own risk
|
|
6236
6233
|
*/
|
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-CaAV8VN2.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-CaAV8VN2.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-DuXdNqcR.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-DuXdNqcR.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
|
@@ -1574,7 +1574,7 @@ declare type CollectionProps<Record extends RecordType, Filters extends FiltersD
|
|
|
1574
1574
|
*/
|
|
1575
1575
|
tmpFullWidth?: boolean;
|
|
1576
1576
|
/** Indicates the source visualization type */
|
|
1577
|
-
fromVisualization?:
|
|
1577
|
+
fromVisualization?: TableVisualizationType;
|
|
1578
1578
|
} & VisualizationOptions;
|
|
1579
1579
|
|
|
1580
1580
|
declare type CollectionVisualizations<Record extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<Record>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<Record>> = {
|
|
@@ -3028,7 +3028,7 @@ export declare type DropIntent = {
|
|
|
3028
3028
|
};
|
|
3029
3029
|
|
|
3030
3030
|
/** The edit mode for a column cell in the editable table. */
|
|
3031
|
-
declare type EditableTableCellEditType = "text" | "date" | "select" | "multiselect";
|
|
3031
|
+
declare type EditableTableCellEditType = "text" | "date" | "select" | "multiselect" | "display-only" | "disabled";
|
|
3032
3032
|
|
|
3033
3033
|
declare type EditableTableCollectionProps<R extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<R>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<R>> = CollectionProps<R, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping, EditableTableVisualizationOptions<R, Filters, Sortings, Summaries>>;
|
|
3034
3034
|
|
|
@@ -3040,6 +3040,8 @@ declare type EditableTableCollectionProps<R extends RecordType, Filters extends
|
|
|
3040
3040
|
* back into the item passed to `onCellChange`.
|
|
3041
3041
|
*/
|
|
3042
3042
|
declare type EditableTableColumnDefinition<R extends RecordType, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition> = TableColumnDefinition<R, Sortings, Summaries> & {
|
|
3043
|
+
/** Optional placeholder passed to editable inputs (e.g. date cells). */
|
|
3044
|
+
inputPlaceholder?: string;
|
|
3043
3045
|
/**
|
|
3044
3046
|
* Determines how the cell is rendered in edit mode.
|
|
3045
3047
|
* Receives the current item and returns the cell type (e.g. `"text"`) or
|
|
@@ -3048,13 +3050,6 @@ declare type EditableTableColumnDefinition<R extends RecordType, Sortings extend
|
|
|
3048
3050
|
* When omitted, the cell is always rendered read-only.
|
|
3049
3051
|
*/
|
|
3050
3052
|
editType?: (item: R) => EditableTableCellEditType | undefined;
|
|
3051
|
-
/**
|
|
3052
|
-
* Function that determines if the cell should be editable for a given item.
|
|
3053
|
-
* The cell is only editable if both `editType` returns a value AND
|
|
3054
|
-
* this function returns `true` for the given item.
|
|
3055
|
-
* Return `true` for all items to make the column always editable.
|
|
3056
|
-
*/
|
|
3057
|
-
editable: (item: R) => boolean;
|
|
3058
3053
|
};
|
|
3059
3054
|
|
|
3060
3055
|
declare type EditableTableVisualizationOptions<R extends RecordType, _Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition> = Omit<TableVisualizationOptions<R, _Filters, Sortings, Summaries>, "columns"> & {
|
|
@@ -4297,9 +4292,12 @@ declare type F0DateOrDateTimeFieldConfig = F0DateFieldConfig | F0TimeFieldConfig
|
|
|
4297
4292
|
*/
|
|
4298
4293
|
export declare const F0DatePicker: WithDataTestIdReturnType_3<typeof F0DatePicker_2>;
|
|
4299
4294
|
|
|
4300
|
-
declare function F0DatePicker_2({ onChange, value, presets, granularities, minDate, maxDate, open, ...inputProps }: F0DatePickerProps): JSX_2.Element;
|
|
4295
|
+
declare function F0DatePicker_2({ onChange, value, presets, granularities, minDate, maxDate, open, showIcon, displayFormat, ...inputProps }: F0DatePickerProps): JSX_2.Element;
|
|
4301
4296
|
|
|
4302
4297
|
export declare type F0DatePickerProps = Pick<DatePickerPopupProps, "granularities" | "minDate" | "maxDate" | "presets" | "open" | "onOpenChange"> & {
|
|
4298
|
+
showIcon?: boolean;
|
|
4299
|
+
/** Controls how the selected date is displayed in the input. Defaults to "long" (e.g. "01 Aug 2025"). Use "default" for dd/MM/yyyy. */
|
|
4300
|
+
displayFormat?: DateStringFormat;
|
|
4303
4301
|
onChange?: (value: DatePickerValue | undefined, stringValue: string | undefined) => void;
|
|
4304
4302
|
value?: DatePickerValue;
|
|
4305
4303
|
} & Pick<InputFieldProps<string>, InputFieldInheritedProps>;
|
|
@@ -6588,7 +6586,7 @@ declare const INPUTFIELD_SIZES: readonly ["sm", "md"];
|
|
|
6588
6586
|
|
|
6589
6587
|
declare type InputFieldInheritedProps = (typeof inputFieldInheritedProps)[number];
|
|
6590
6588
|
|
|
6591
|
-
declare const inputFieldInheritedProps: readonly ["label", "placeholder", "hideLabel", "size", "error", "disabled", "readonly", "required", "clearable", "labelIcon", "status", "hint", "loading"];
|
|
6589
|
+
declare const inputFieldInheritedProps: readonly ["className", "label", "placeholder", "hideLabel", "size", "error", "disabled", "readonly", "required", "clearable", "labelIcon", "status", "hint", "loading", "transparent"];
|
|
6592
6590
|
|
|
6593
6591
|
declare type InputFieldProps<T> = {
|
|
6594
6592
|
autoFocus?: boolean;
|
|
@@ -8442,6 +8440,8 @@ declare type TableVisualizationSettings = {
|
|
|
8442
8440
|
hidden?: ColId[];
|
|
8443
8441
|
};
|
|
8444
8442
|
|
|
8443
|
+
declare type TableVisualizationType = "table" | "editableTable";
|
|
8444
|
+
|
|
8445
8445
|
export declare const Tag: WithDataTestIdReturnType_4<({ tag }: {
|
|
8446
8446
|
tag: TagVariant_2;
|
|
8447
8447
|
}) => ReactNode>;
|