@factorialco/f0-react 2.6.2 → 2.7.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-B0qT-XmB.js → F0AiProposalCard-CsyaQRNb.js} +11555 -11503
- package/dist/ai.d.ts +2 -2
- package/dist/ai.js +1 -1
- package/dist/experimental.d.ts +2 -2
- package/dist/f0.d.ts +26 -4
- package/dist/f0.js +2 -2
- package/dist/i18n-provider-defaults.d.ts +2 -2
- package/package.json +1 -1
package/dist/ai.d.ts
CHANGED
|
@@ -3713,12 +3713,12 @@ declare global {
|
|
|
3713
3713
|
}
|
|
3714
3714
|
|
|
3715
3715
|
|
|
3716
|
-
declare namespace
|
|
3716
|
+
declare namespace _DaytimePage {
|
|
3717
3717
|
var displayName: string;
|
|
3718
3718
|
}
|
|
3719
3719
|
|
|
3720
3720
|
|
|
3721
|
-
declare namespace
|
|
3721
|
+
declare namespace _Page {
|
|
3722
3722
|
var displayName: string;
|
|
3723
3723
|
}
|
|
3724
3724
|
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as o, l as r, k as e, F as t, a as n, C as i, b as d, m as C, n as F, e as l, h as m, I as u, g as h, c as A, i as D, u as c, j as v, f as I } from "./useDataCollectionSource-DRE8x9t0.js";
|
|
2
2
|
import { defaultTranslations as b } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as p, C as P, c as S, D as T, a as w, b as x, e as H, f as M, g as V, h as k, p as j, l as y, r as O, m as q, n as z, i as B, F as E, d as L, M as W, k as G, j as J, q as K, o as N, s as Q, u as R } from "./F0AiProposalCard-
|
|
3
|
+
import { A as p, C as P, c as S, D as T, a as w, b as x, e as H, f as M, g as V, h as k, p as j, l as y, r as O, m as q, n as z, i as B, F as E, d as L, M as W, k as G, j as J, q as K, o as N, s as Q, u as R } from "./F0AiProposalCard-CsyaQRNb.js";
|
|
4
4
|
export {
|
|
5
5
|
p as AiChatTranslationsProvider,
|
|
6
6
|
o as CanvasCard,
|
package/dist/experimental.d.ts
CHANGED
|
@@ -8231,12 +8231,12 @@ declare global {
|
|
|
8231
8231
|
}
|
|
8232
8232
|
|
|
8233
8233
|
|
|
8234
|
-
declare namespace
|
|
8234
|
+
declare namespace _DaytimePage {
|
|
8235
8235
|
var displayName: string;
|
|
8236
8236
|
}
|
|
8237
8237
|
|
|
8238
8238
|
|
|
8239
|
-
declare namespace
|
|
8239
|
+
declare namespace _Page {
|
|
8240
8240
|
var displayName: string;
|
|
8241
8241
|
}
|
|
8242
8242
|
|
package/dist/f0.d.ts
CHANGED
|
@@ -7351,6 +7351,28 @@ declare interface F0FormActionBarSubmitConfig extends F0FormSubmitConfigBase {
|
|
|
7351
7351
|
actionBarLabel?: string;
|
|
7352
7352
|
}
|
|
7353
7353
|
|
|
7354
|
+
/**
|
|
7355
|
+
* Submit configuration for autosubmit type.
|
|
7356
|
+
*
|
|
7357
|
+
* Automatically submits the form after the user stops editing for `delay` ms.
|
|
7358
|
+
* Validation runs on every debounced submit attempt; invalid forms surface
|
|
7359
|
+
* errors and skip `onSubmit` (handled by react-hook-form).
|
|
7360
|
+
*/
|
|
7361
|
+
declare interface F0FormAutosubmitConfig extends F0FormSubmitConfigBase {
|
|
7362
|
+
/** Type of submit UI (debounced auto-submit) */
|
|
7363
|
+
type: "autosubmit";
|
|
7364
|
+
/**
|
|
7365
|
+
* Delay in ms between the last change and the auto-submit.
|
|
7366
|
+
* @default 800
|
|
7367
|
+
*/
|
|
7368
|
+
delay?: number;
|
|
7369
|
+
/**
|
|
7370
|
+
* When true, hides the internal action bar (loading/success feedback).
|
|
7371
|
+
* @default false
|
|
7372
|
+
*/
|
|
7373
|
+
hideActionBar?: boolean;
|
|
7374
|
+
}
|
|
7375
|
+
|
|
7354
7376
|
/**
|
|
7355
7377
|
* Common props shared across all F0Form variants (formDefinition-based).
|
|
7356
7378
|
* Used as the constraint for `F0FormLikeComponent`.
|
|
@@ -7465,7 +7487,7 @@ export declare interface F0FormDiscardConfig {
|
|
|
7465
7487
|
}
|
|
7466
7488
|
|
|
7467
7489
|
/**
|
|
7468
|
-
* When to trigger and display validation errors
|
|
7490
|
+
* When to trigger and display validation errors (does not apply with autosubmit)
|
|
7469
7491
|
* - "on-blur": Errors appear when the user leaves a field (default)
|
|
7470
7492
|
* - "on-change": Errors appear as the user types (real-time validation)
|
|
7471
7493
|
* - "on-submit": Errors only appear after attempting to submit the form
|
|
@@ -8107,7 +8129,7 @@ export declare interface F0FormStylingConfig {
|
|
|
8107
8129
|
/**
|
|
8108
8130
|
* Configuration for form submission behavior and appearance
|
|
8109
8131
|
*/
|
|
8110
|
-
export declare type F0FormSubmitConfig = F0FormDefaultSubmitConfig | F0FormActionBarSubmitConfig;
|
|
8132
|
+
export declare type F0FormSubmitConfig = F0FormDefaultSubmitConfig | F0FormActionBarSubmitConfig | F0FormAutosubmitConfig;
|
|
8111
8133
|
|
|
8112
8134
|
/**
|
|
8113
8135
|
* Base configuration shared by all submit types
|
|
@@ -14411,12 +14433,12 @@ declare global {
|
|
|
14411
14433
|
}
|
|
14412
14434
|
|
|
14413
14435
|
|
|
14414
|
-
declare namespace
|
|
14436
|
+
declare namespace _DaytimePage {
|
|
14415
14437
|
var displayName: string;
|
|
14416
14438
|
}
|
|
14417
14439
|
|
|
14418
14440
|
|
|
14419
|
-
declare namespace
|
|
14441
|
+
declare namespace _Page {
|
|
14420
14442
|
var displayName: string;
|
|
14421
14443
|
}
|
|
14422
14444
|
|
package/dist/f0.js
CHANGED
|
@@ -2,8 +2,8 @@ import { fc as Pr, ad as se, bq as zn, t as I, w as mt, fd as Hr, v as xt, dd as
|
|
|
2
2
|
import { gw as Qf, d as Kf, bX as Xf, l as Yf, gI as Jf, aU as Zf, k as em, F as tm, a as nm, C as im, go as rm, b as sm, bG as om, bb as am, bH as lm, g6 as cm, aM as dm, bp as um, ap as hm, g7 as fm, ay as mm, g8 as gm, gc as pm, gd as vm, ge as bm, gN as ym, b1 as xm, n as wm, aA as Cm, by as Nm, gr as Sm, b5 as Em, gs as _m, gu as Dm, gv as km, cB as Rm, cz as Tm, e as Fm, h as Lm, gx as Am, cl as zm, cm as Om, g5 as Mm, gM as Im, a_ as Bm, cA as Pm, gt as Hm, cn as Wm, bV as qm, gO as $m, g9 as Gm, ga as jm, gb as Um, co as Vm, gH as Qm, gC as Km, gq as Xm, gk as Ym, gj as Jm, gi as Zm, gF as eg, gB as tg, aY as ng, ck as ig, ch as rg, cj as sg, cg as og, gl as ag, gA as lg, gz as cg, gm as dg, c3 as ug, ci as hg, gg as fg, gh as mg, gn as gg, g as pg, c as vg, gy as bg, gD as yg, gJ as xg, gK as wg, gL as Cg, aW as Ng, gp as Sg, gf as Eg, i as _g, gE as Dg, br as kg, aT as Rg, gG as Tg, j as Fg, f as Lg, gP as Ag } from "./useDataCollectionSource-DRE8x9t0.js";
|
|
3
3
|
import { jsx as l, jsxs as y, Fragment as we } from "react/jsx-runtime";
|
|
4
4
|
import le, { forwardRef as We, useRef as W, useImperativeHandle as Wa, Children as xn, createContext as Ke, useContext as ke, useState as j, useMemo as P, useEffect as V, useCallback as B, useLayoutEffect as ui, createElement as an, isValidElement as os, Fragment as qa, memo as as, useReducer as $a, cloneElement as Ga, useId as ls } from "react";
|
|
5
|
-
import { t as ja, v as Ua, w as cs, x as Va, y as Qa, z as Wn, B as Ka, E as Fi, G as Xa, H as Ya, I as Ja, J as ds, K as wn, L as Li, N as us, O as Za, P as hs, Q as sr, R as el } from "./F0AiProposalCard-
|
|
6
|
-
import { A as Og, V as Mg, C as Ig, c as Bg, D as Pg, a as Hg, b as Wg, T as qg, e as $g, f as Gg, g as jg, h as Ug, p as Vg, l as Qg, r as Kg, a0 as Xg, m as Yg, S as Jg, a1 as Zg, n as ep, i as tp, a6 as np, F as ip, d as rp, W as sp, X as op, Y as ap, Z as lp, M as cp, _ as dp, $ as up, k as hp, j as fp, U as mp, q as gp, a4 as pp, a3 as vp, o as bp, s as yp, u as xp, a5 as wp, a7 as Cp, a2 as Np } from "./F0AiProposalCard-
|
|
5
|
+
import { t as ja, v as Ua, w as cs, x as Va, y as Qa, z as Wn, B as Ka, E as Fi, G as Xa, H as Ya, I as Ja, J as ds, K as wn, L as Li, N as us, O as Za, P as hs, Q as sr, R as el } from "./F0AiProposalCard-CsyaQRNb.js";
|
|
6
|
+
import { A as Og, V as Mg, C as Ig, c as Bg, D as Pg, a as Hg, b as Wg, T as qg, e as $g, f as Gg, g as jg, h as Ug, p as Vg, l as Qg, r as Kg, a0 as Xg, m as Yg, S as Jg, a1 as Zg, n as ep, i as tp, a6 as np, F as ip, d as rp, W as sp, X as op, Y as ap, Z as lp, M as cp, _ as dp, $ as up, k as hp, j as fp, U as mp, q as gp, a4 as pp, a3 as vp, o as bp, s as yp, u as xp, a5 as wp, a7 as Cp, a2 as Np } from "./F0AiProposalCard-CsyaQRNb.js";
|
|
7
7
|
import { createPortal as fs, unstable_batchedUpdates as ln } from "react-dom";
|
|
8
8
|
import { C as tl, D as nl, y as il, j as rl } from "./index-e2iWrXZ7.js";
|
|
9
9
|
import { l as Ep, m as _p, n as Dp, s as kp, F as Rp, o as Tp, v as Fp, w as Lp, N as Ap, x as zp, p as Op, P as Mp, r as Ip, R as Bp, q as Pp, u as Hp, t as Wp } from "./index-e2iWrXZ7.js";
|
|
@@ -804,12 +804,12 @@ declare global {
|
|
|
804
804
|
}
|
|
805
805
|
|
|
806
806
|
|
|
807
|
-
declare namespace
|
|
807
|
+
declare namespace _DaytimePage {
|
|
808
808
|
var displayName: string;
|
|
809
809
|
}
|
|
810
810
|
|
|
811
811
|
|
|
812
|
-
declare namespace
|
|
812
|
+
declare namespace _Page {
|
|
813
813
|
var displayName: string;
|
|
814
814
|
}
|
|
815
815
|
|