@factorialco/f0-react 6.89.0 → 6.90.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/{ChatPdfThumbnail-DOOAa9_u.js → ChatPdfThumbnail-BBLoNRzx.js} +1 -1
- package/dist/{CoachmarkProvider-BUn46UQH.js → CoachmarkProvider-BihrzJrI.js} +9833 -9772
- package/dist/{DocumentToolbar-DIehxyRO.js → DocumentToolbar-BPU7u7xp.js} +2 -2
- package/dist/{DocxViewer-B_L696dj.js → DocxViewer-5nxhV65q.js} +2 -2
- package/dist/{F0AiProcessingOverlay-osUG6362.js → F0AiProcessingOverlay-CIBXF0aA.js} +356 -353
- package/dist/{F0CanvasPanel-Dtc7dfno.js → F0CanvasPanel-BYk37H3S.js} +6782 -6770
- package/dist/{F0VideoPlayer-Bo3mtwsY.js → F0VideoPlayer-ivv-8jRS.js} +1 -1
- package/dist/{LocationMap-DNKkLIdp.js → LocationMap-CbpTo6lL.js} +1 -1
- package/dist/{SheetViewer-DrSoxxcT.js → SheetViewer-CV0Ent0I.js} +2 -2
- package/dist/{TextViewer-LEXPt33_.js → TextViewer-BEga3Kzi.js} +2 -2
- package/dist/ai.d.ts +1 -0
- package/dist/ai.js +2 -2
- package/dist/component-status.js +1 -1
- package/dist/{experimental-nEaanOtX.js → experimental-pTgiu7wP.js} +14136 -14080
- package/dist/experimental.d.ts +24 -11
- package/dist/experimental.js +3 -3
- package/dist/f0.d.ts +48 -37
- package/dist/f0.js +4241 -4190
- package/dist/i18n-provider-defaults.d.ts +1 -0
- package/dist/i18n-provider-defaults.js +1 -0
- package/dist/index-Bl4ay97j.js +4 -0
- package/dist/{index-WLqYUzlI.js → index-Dlhnh5G9.js} +3 -3
- package/dist/{pdfWorker-BWsQjPpK.js → pdfWorker-v27ENNlj.js} +2 -2
- package/package.json +2 -2
- package/dist/index-BtYreoci.js +0 -4
package/dist/experimental.d.ts
CHANGED
|
@@ -1635,6 +1635,8 @@ export declare interface CalendarEventProps {
|
|
|
1635
1635
|
|
|
1636
1636
|
export declare type CalendarMode = "single" | "range";
|
|
1637
1637
|
|
|
1638
|
+
export declare type CalendarSelection = Date | DateRange | null;
|
|
1639
|
+
|
|
1638
1640
|
export declare type CalendarView = "day" | "month" | "year" | "week" | "quarter" | "halfyear" | "periods";
|
|
1639
1641
|
|
|
1640
1642
|
declare type CalloutAction = {
|
|
@@ -4165,7 +4167,7 @@ declare type DataCollectionStatus<CurrentFiltersState extends FiltersState<Filte
|
|
|
4165
4167
|
grouping?: GroupingState<RecordType, GroupingDefinition<RecordType>>;
|
|
4166
4168
|
sortings?: SortingsState<SortingsDefinition>;
|
|
4167
4169
|
filters?: CurrentFiltersState;
|
|
4168
|
-
search?: string
|
|
4170
|
+
search?: string;
|
|
4169
4171
|
navigationFilters?: NavigationFiltersState<NavigationFiltersDefinition>;
|
|
4170
4172
|
visualization?: number;
|
|
4171
4173
|
/** Per-visualization filter states, keyed by visualization index.
|
|
@@ -5408,6 +5410,7 @@ declare const defaultTranslations: {
|
|
|
5408
5410
|
readonly removeNamedFile: "Remove {{name}}";
|
|
5409
5411
|
readonly tooManyFilesError: "You can attach up to {{maxFiles}} files at once";
|
|
5410
5412
|
readonly fileTooLargeError: "Each file must be {{maxFileSize}} or smaller";
|
|
5413
|
+
readonly messageTooLongError: "Messages can be up to {{maxCharacters}} characters";
|
|
5411
5414
|
readonly fileUploadError: "Upload failed";
|
|
5412
5415
|
readonly micPermissionDenied: "Microphone access is blocked. Allow it in your browser settings to dictate.";
|
|
5413
5416
|
readonly micError: "Couldn't access the microphone.";
|
|
@@ -6155,6 +6158,8 @@ declare type DropdownProps = Omit<DropdownInternalProps, (typeof privateProps_5)
|
|
|
6155
6158
|
onOpenChange?: (open: boolean) => void;
|
|
6156
6159
|
} & WithDataTestIdProps;
|
|
6157
6160
|
|
|
6161
|
+
declare type DropPosition = "before" | "after" | "inside";
|
|
6162
|
+
|
|
6158
6163
|
/* Excluded from this release type: EditableColumn */
|
|
6159
6164
|
|
|
6160
6165
|
/**
|
|
@@ -7809,6 +7814,12 @@ export declare type F0ChatRuntime = {
|
|
|
7809
7814
|
* until the next attachment attempt. Omit for no size limit.
|
|
7810
7815
|
*/
|
|
7811
7816
|
maxFileSizeBytes?: number;
|
|
7817
|
+
/**
|
|
7818
|
+
* Maximum number of characters allowed in a message. The composer keeps an
|
|
7819
|
+
* oversized draft in place and shows its existing validation banner instead
|
|
7820
|
+
* of calling `sendMessage`. Omit for no limit.
|
|
7821
|
+
*/
|
|
7822
|
+
maxMessageCharacters?: number;
|
|
7812
7823
|
/**
|
|
7813
7824
|
* Optional voice dictation — same signature as the AI chat (streams partials).
|
|
7814
7825
|
* Not part of the Stream transport; a host wires it to its own speech service
|
|
@@ -10055,9 +10066,9 @@ export declare interface GranularityDefinition {
|
|
|
10055
10066
|
max?: Date;
|
|
10056
10067
|
} | undefined;
|
|
10057
10068
|
label: (viewDate: Date, i18n: TranslationsType, locale?: string) => ReactNode;
|
|
10058
|
-
toRangeString: (date:
|
|
10059
|
-
toRange: <T extends
|
|
10060
|
-
toString: (date:
|
|
10069
|
+
toRangeString: (date: OptionalCalendarSelection, i18n: TranslationsType, format?: DateStringFormat) => DateRangeString;
|
|
10070
|
+
toRange: <T extends OptionalCalendarSelection>(date: T) => T extends Date | DateRange ? DateRangeComplete : T;
|
|
10071
|
+
toString: (date: OptionalCalendarSelection, i18n: TranslationsType, format?: DateStringFormat, locale?: string) => string;
|
|
10061
10072
|
toStringMaxWidth: () => number;
|
|
10062
10073
|
placeholder: () => string;
|
|
10063
10074
|
fromString: (dateStr: string | DateRangeString, i18n: TranslationsType) => DateRange | null;
|
|
@@ -10066,8 +10077,8 @@ export declare interface GranularityDefinition {
|
|
|
10066
10077
|
getViewDateFromDate: (date: Date) => Date;
|
|
10067
10078
|
render: (renderProps: {
|
|
10068
10079
|
mode: CalendarMode;
|
|
10069
|
-
selected:
|
|
10070
|
-
onSelect: (date:
|
|
10080
|
+
selected: CalendarSelection;
|
|
10081
|
+
onSelect: (date: CalendarSelection) => void;
|
|
10071
10082
|
month: Date;
|
|
10072
10083
|
onMonthChange: (date: Date) => void;
|
|
10073
10084
|
motionDirection: number;
|
|
@@ -11047,7 +11058,7 @@ declare type InputFieldProps<T> = {
|
|
|
11047
11058
|
onClickPlaceholder?: () => void;
|
|
11048
11059
|
onClickChildren?: () => void;
|
|
11049
11060
|
onClickContent?: () => void;
|
|
11050
|
-
value?: T
|
|
11061
|
+
value?: T;
|
|
11051
11062
|
onChange?: (value: T) => void;
|
|
11052
11063
|
size?: InputFieldSize;
|
|
11053
11064
|
error?: string | boolean;
|
|
@@ -12431,9 +12442,9 @@ export declare const OneCalendarInternal: ({ mode, view, onSelect, defaultMonth,
|
|
|
12431
12442
|
export declare interface OneCalendarInternalProps {
|
|
12432
12443
|
mode: CalendarMode;
|
|
12433
12444
|
view: CalendarView;
|
|
12434
|
-
onSelect?: (date:
|
|
12445
|
+
onSelect?: (date: CalendarSelection) => void;
|
|
12435
12446
|
defaultMonth?: Date;
|
|
12436
|
-
defaultSelected?:
|
|
12447
|
+
defaultSelected?: CalendarSelection;
|
|
12437
12448
|
showNavigation?: boolean;
|
|
12438
12449
|
showInput?: boolean;
|
|
12439
12450
|
minDate?: Date;
|
|
@@ -12778,6 +12789,8 @@ declare interface Option_2 {
|
|
|
12778
12789
|
onClick?: (event: any) => unknown;
|
|
12779
12790
|
}
|
|
12780
12791
|
|
|
12792
|
+
export declare type OptionalCalendarSelection = CalendarSelection | undefined;
|
|
12793
|
+
|
|
12781
12794
|
declare interface OverflowListProps<T> {
|
|
12782
12795
|
items: T[];
|
|
12783
12796
|
/**
|
|
@@ -14976,9 +14989,9 @@ declare interface TOCItemProps {
|
|
|
14976
14989
|
isExpanded?: boolean;
|
|
14977
14990
|
onToggleExpanded?: (id: string) => void;
|
|
14978
14991
|
children?: ReactNode;
|
|
14979
|
-
onDragOver?: (itemId: string, position:
|
|
14992
|
+
onDragOver?: (itemId: string, position: DropPosition) => void;
|
|
14980
14993
|
onDragLeave?: () => void;
|
|
14981
|
-
onDrop?: (itemId: string, position:
|
|
14994
|
+
onDrop?: (itemId: string, position: DropPosition) => void;
|
|
14982
14995
|
canDropInside?: boolean;
|
|
14983
14996
|
currentParentId?: string | null;
|
|
14984
14997
|
draggedItemId?: string | null;
|
package/dist/experimental.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { v as s, t, A as i, a as o, J as r, av as n, au as l, aw as d, B as S, w as C, y as g, L as m, aC as u, aD as c, aM as b, x as h, C as P, aB as T, aN as p, D as F, z as I, a3 as E, b7 as A, be as B, K as L, b6 as y, E as D, b as k, i as W, ak as _, al as v, ai as O, G as f, ar as R, F as x, j as H, n as M, o as N, k as V, c as w, q as G, r as z, H as U, aQ as j, aR as q, aF as K, aq as Q, aV as X, b4 as J, ax as Y, a6 as Z, aP as $, U as aa, ac as ea, O as sa, bi as ta, V as ia, P as oa, M as ra, N as na, ay as la, R as da, b2 as Sa, b8 as Ca, S as ga, a7 as ma, a8 as ua, _ as ca, $ as ba, a0 as ha, Z as Pa, a1 as Ta, W as pa, a2 as Fa, a4 as Ia, a5 as Ea, a9 as Aa, aa as Ba, bc as La, bb as ya, at as Da, as as ka, aA as Wa, aO as _a, aL as va, az as Oa, ab as fa, aG as Ra, bd as xa, bg as Ha, aE as Ma, aJ as Na, aH as Va, bh as wa, aK as Ga, aI as za, bf as Ua, d as ja, af as qa, ah as Ka, ba as Qa, b9 as Xa, ag as Ja, an as Ya, f as Za, l as $a, p as ae, g as ee, h as se, aY as te, aW as ie, ao as oe, ap as re, aU as ne, b5 as le, aX as de, e as Se, s as Ce, b0 as ge, aT as me, aZ as ue, ad as ce, b3 as be, u as he, aj as Pe, ae as Te, am as pe, aS as Fe, T as Ie, Q as Ee, I as Ae, Y as Be, X as Le, b1 as ye, a$ as De, a_ as ke } from "./experimental-
|
|
2
|
-
import { dQ as _e, eq as ve, ep as Oe, eD as fe, dn as Re, en as xe, cf as He, c5 as Me, cc as Ne, ei as Ve, b_ as we, b_ as Ge, bT as ze, ej as Ue, ci as je, e4 as qe, ck as Ke, eG as Qe, eo as Xe, ez as Je, eA as Ye, d7 as Ze, eE as $e, k as as, dR as es, cO as ss, em as ts, es as is, er as os, T as rs, h as ns, bU as ls, eB as ds, eH as Ss, eC as Cs, eF as gs, ey as ms, ev as us, ex as cs, et as bs, ek as hs, el as Ps, ee as Ts, ew as ps, eu as Fs } from "./F0CanvasPanel-
|
|
3
|
-
import { ay as Es, az as As, a6 as Bs, a7 as Ls, a4 as ys, ah as Ds, C as ks, a8 as Ws, aK as _s, ad as vs, aJ as Os, ag as fs, a5 as Rs, aw as xs, aM as Hs, aL as Ms, ao as Ns, ai as Vs, ar as ws, aP as Gs, a3 as zs, at as Us, aq as js, al as qs, aR as Ks, am as Qs, au as Xs, av as Js, a9 as Ys, aN as Zs, aO as $s, an as at, ax as et, aG as st, O as tt, aI as it, aa as ot, aT as rt, ac as nt, ae as lt, ar as dt, aQ as St, as as Ct, ap as gt, aS as mt, ab as ut, W as ct, af as bt, a2 as ht, a0 as Pt, a1 as Tt, aC as pt, aD as Ft, aA as It, aH as Et, ak as At, aj as Bt, aE as Lt, m as yt, aB as Dt, aF as kt, D as Wt } from "./CoachmarkProvider-
|
|
1
|
+
import { v as s, t, A as i, a as o, J as r, av as n, au as l, aw as d, B as S, w as C, y as g, L as m, aC as u, aD as c, aM as b, x as h, C as P, aB as T, aN as p, D as F, z as I, a3 as E, b7 as A, be as B, K as L, b6 as y, E as D, b as k, i as W, ak as _, al as v, ai as O, G as f, ar as R, F as x, j as H, n as M, o as N, k as V, c as w, q as G, r as z, H as U, aQ as j, aR as q, aF as K, aq as Q, aV as X, b4 as J, ax as Y, a6 as Z, aP as $, U as aa, ac as ea, O as sa, bi as ta, V as ia, P as oa, M as ra, N as na, ay as la, R as da, b2 as Sa, b8 as Ca, S as ga, a7 as ma, a8 as ua, _ as ca, $ as ba, a0 as ha, Z as Pa, a1 as Ta, W as pa, a2 as Fa, a4 as Ia, a5 as Ea, a9 as Aa, aa as Ba, bc as La, bb as ya, at as Da, as as ka, aA as Wa, aO as _a, aL as va, az as Oa, ab as fa, aG as Ra, bd as xa, bg as Ha, aE as Ma, aJ as Na, aH as Va, bh as wa, aK as Ga, aI as za, bf as Ua, d as ja, af as qa, ah as Ka, ba as Qa, b9 as Xa, ag as Ja, an as Ya, f as Za, l as $a, p as ae, g as ee, h as se, aY as te, aW as ie, ao as oe, ap as re, aU as ne, b5 as le, aX as de, e as Se, s as Ce, b0 as ge, aT as me, aZ as ue, ad as ce, b3 as be, u as he, aj as Pe, ae as Te, am as pe, aS as Fe, T as Ie, Q as Ee, I as Ae, Y as Be, X as Le, b1 as ye, a$ as De, a_ as ke } from "./experimental-pTgiu7wP.js";
|
|
2
|
+
import { dQ as _e, eq as ve, ep as Oe, eD as fe, dn as Re, en as xe, cf as He, c5 as Me, cc as Ne, ei as Ve, b_ as we, b_ as Ge, bT as ze, ej as Ue, ci as je, e4 as qe, ck as Ke, eG as Qe, eo as Xe, ez as Je, eA as Ye, d7 as Ze, eE as $e, k as as, dR as es, cO as ss, em as ts, es as is, er as os, T as rs, h as ns, bU as ls, eB as ds, eH as Ss, eC as Cs, eF as gs, ey as ms, ev as us, ex as cs, et as bs, ek as hs, el as Ps, ee as Ts, ew as ps, eu as Fs } from "./F0CanvasPanel-BYk37H3S.js";
|
|
3
|
+
import { ay as Es, az as As, a6 as Bs, a7 as Ls, a4 as ys, ah as Ds, C as ks, a8 as Ws, aK as _s, ad as vs, aJ as Os, ag as fs, a5 as Rs, aw as xs, aM as Hs, aL as Ms, ao as Ns, ai as Vs, ar as ws, aP as Gs, a3 as zs, at as Us, aq as js, al as qs, aR as Ks, am as Qs, au as Xs, av as Js, a9 as Ys, aN as Zs, aO as $s, an as at, ax as et, aG as st, O as tt, aI as it, aa as ot, aT as rt, ac as nt, ae as lt, ar as dt, aQ as St, as as Ct, ap as gt, aS as mt, ab as ut, W as ct, af as bt, a2 as ht, a0 as Pt, a1 as Tt, aC as pt, aD as Ft, aA as It, aH as Et, ak as At, aj as Bt, aE as Lt, m as yt, aB as Dt, aF as kt, D as Wt } from "./CoachmarkProvider-BihrzJrI.js";
|
|
4
4
|
export {
|
|
5
5
|
Es as AUTO_PER_PAGE_MAX,
|
|
6
6
|
As as AUTO_PER_PAGE_MIN_RESERVED_ROWS,
|
package/dist/f0.d.ts
CHANGED
|
@@ -2219,6 +2219,8 @@ export declare type CalendarDate = {
|
|
|
2219
2219
|
|
|
2220
2220
|
export declare type CalendarMode = "single" | "range";
|
|
2221
2221
|
|
|
2222
|
+
export declare type CalendarSelection = Date | DateRange | null;
|
|
2223
|
+
|
|
2222
2224
|
export declare type CalendarView = "day" | "month" | "year" | "week" | "quarter" | "halfyear" | "periods";
|
|
2223
2225
|
|
|
2224
2226
|
/**
|
|
@@ -4236,7 +4238,7 @@ declare type DataCollectionStatus<CurrentFiltersState extends FiltersState<Filte
|
|
|
4236
4238
|
grouping?: GroupingState<RecordType, GroupingDefinition<RecordType>>;
|
|
4237
4239
|
sortings?: SortingsState<SortingsDefinition>;
|
|
4238
4240
|
filters?: CurrentFiltersState;
|
|
4239
|
-
search?: string
|
|
4241
|
+
search?: string;
|
|
4240
4242
|
navigationFilters?: NavigationFiltersState<NavigationFiltersDefinition>;
|
|
4241
4243
|
visualization?: number;
|
|
4242
4244
|
/** Per-visualization filter states, keyed by visualization index.
|
|
@@ -5557,6 +5559,7 @@ export declare const defaultTranslations: {
|
|
|
5557
5559
|
readonly removeNamedFile: "Remove {{name}}";
|
|
5558
5560
|
readonly tooManyFilesError: "You can attach up to {{maxFiles}} files at once";
|
|
5559
5561
|
readonly fileTooLargeError: "Each file must be {{maxFileSize}} or smaller";
|
|
5562
|
+
readonly messageTooLongError: "Messages can be up to {{maxCharacters}} characters";
|
|
5560
5563
|
readonly fileUploadError: "Upload failed";
|
|
5561
5564
|
readonly micPermissionDenied: "Microphone access is blocked. Allow it in your browser settings to dictate.";
|
|
5562
5565
|
readonly micError: "Couldn't access the microphone.";
|
|
@@ -8202,7 +8205,7 @@ export declare type F0AvatarIconProps = {
|
|
|
8202
8205
|
} & Partial<Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">>;
|
|
8203
8206
|
|
|
8204
8207
|
export declare const F0AvatarList: WithDataTestIdReturnType_4< {
|
|
8205
|
-
({ avatars, size, type, noTooltip, remainingCount: initialRemainingCount, max, tooltipScroll, layout, }: F0AvatarListProps_2): JSX_2.Element;
|
|
8208
|
+
({ avatars, size, type, noTooltip, remainingCount: initialRemainingCount, max, tooltipScroll: _tooltipScroll, layout: _layout, }: F0AvatarListProps_2): JSX_2.Element;
|
|
8206
8209
|
displayName: string;
|
|
8207
8210
|
}>;
|
|
8208
8211
|
|
|
@@ -11033,112 +11036,112 @@ export declare namespace f0FormField {
|
|
|
11033
11036
|
optional: true;
|
|
11034
11037
|
}): z.ZodOptional<z.ZodString> & F0ZodType<z.ZodOptional<z.ZodString>>;
|
|
11035
11038
|
export function text(config: TextConfig & {
|
|
11036
|
-
optional?: false
|
|
11039
|
+
optional?: false;
|
|
11037
11040
|
}): z.ZodString & F0ZodType<z.ZodString>;
|
|
11038
11041
|
/* Excluded from this release type: EmailConfig */
|
|
11039
11042
|
export function email(config: EmailConfig & {
|
|
11040
11043
|
optional: true;
|
|
11041
11044
|
}): z.ZodOptional<z.ZodString> & F0ZodType<z.ZodOptional<z.ZodString>>;
|
|
11042
11045
|
export function email(config: EmailConfig & {
|
|
11043
|
-
optional?: false
|
|
11046
|
+
optional?: false;
|
|
11044
11047
|
}): z.ZodString & F0ZodType<z.ZodString>;
|
|
11045
11048
|
/* Excluded from this release type: TextareaConfig */
|
|
11046
11049
|
export function textarea(config: TextareaConfig & {
|
|
11047
11050
|
optional: true;
|
|
11048
11051
|
}): z.ZodOptional<z.ZodString> & F0ZodType<z.ZodOptional<z.ZodString>>;
|
|
11049
11052
|
export function textarea(config: TextareaConfig & {
|
|
11050
|
-
optional?: false
|
|
11053
|
+
optional?: false;
|
|
11051
11054
|
}): z.ZodString & F0ZodType<z.ZodString>;
|
|
11052
11055
|
/* Excluded from this release type: NumberConfig */
|
|
11053
11056
|
export function number(config: NumberConfig & {
|
|
11054
11057
|
optional: true;
|
|
11055
11058
|
}): z.ZodOptional<z.ZodNumber> & F0ZodType<z.ZodOptional<z.ZodNumber>>;
|
|
11056
11059
|
export function number(config: NumberConfig & {
|
|
11057
|
-
optional?: false
|
|
11060
|
+
optional?: false;
|
|
11058
11061
|
}): z.ZodNumber & F0ZodType<z.ZodNumber>;
|
|
11059
11062
|
/* Excluded from this release type: SwitchConfig */
|
|
11060
11063
|
export function boolean(config: SwitchConfig & {
|
|
11061
11064
|
optional: true;
|
|
11062
11065
|
}): z.ZodBoolean & F0ZodType<z.ZodBoolean>;
|
|
11063
11066
|
export function boolean(config: SwitchConfig & {
|
|
11064
|
-
optional?: false
|
|
11067
|
+
optional?: false;
|
|
11065
11068
|
}): z.ZodLiteral<true> & F0ZodType<z.ZodLiteral<true>>;
|
|
11066
11069
|
/* Excluded from this release type: CheckboxConfig */
|
|
11067
11070
|
export function checkbox(config: CheckboxConfig & {
|
|
11068
11071
|
optional: true;
|
|
11069
11072
|
}): z.ZodBoolean & F0ZodType<z.ZodBoolean>;
|
|
11070
11073
|
export function checkbox(config: CheckboxConfig & {
|
|
11071
|
-
optional?: false
|
|
11074
|
+
optional?: false;
|
|
11072
11075
|
}): z.ZodLiteral<true> & F0ZodType<z.ZodLiteral<true>>;
|
|
11073
11076
|
/* Excluded from this release type: DateConfig */
|
|
11074
11077
|
export function date(config: DateConfig & {
|
|
11075
11078
|
optional: true;
|
|
11076
11079
|
}): z.ZodOptional<z.ZodDate> & F0ZodType<z.ZodOptional<z.ZodDate>>;
|
|
11077
11080
|
export function date(config: DateConfig & {
|
|
11078
|
-
optional?: false
|
|
11081
|
+
optional?: false;
|
|
11079
11082
|
}): z.ZodDate & F0ZodType<z.ZodDate>;
|
|
11080
11083
|
/* Excluded from this release type: UrlConfig */
|
|
11081
11084
|
export function url(config: UrlConfig & {
|
|
11082
11085
|
optional: true;
|
|
11083
11086
|
}): z.ZodOptional<z.ZodString> & F0ZodType<z.ZodOptional<z.ZodString>>;
|
|
11084
11087
|
export function url(config: UrlConfig & {
|
|
11085
|
-
optional?: false
|
|
11088
|
+
optional?: false;
|
|
11086
11089
|
}): z.ZodString & F0ZodType<z.ZodString>;
|
|
11087
11090
|
/* Excluded from this release type: MoneyConfig */
|
|
11088
11091
|
export function money(config: MoneyConfig & {
|
|
11089
11092
|
optional: true;
|
|
11090
11093
|
}): z.ZodOptional<z.ZodNumber> & F0ZodType<z.ZodOptional<z.ZodNumber>>;
|
|
11091
11094
|
export function money(config: MoneyConfig & {
|
|
11092
|
-
optional?: false
|
|
11095
|
+
optional?: false;
|
|
11093
11096
|
}): z.ZodNumber & F0ZodType<z.ZodNumber>;
|
|
11094
11097
|
/* Excluded from this release type: PercentageConfig */
|
|
11095
11098
|
export function percentage(config: PercentageConfig & {
|
|
11096
11099
|
optional: true;
|
|
11097
11100
|
}): z.ZodOptional<z.ZodNumber> & F0ZodType<z.ZodOptional<z.ZodNumber>>;
|
|
11098
11101
|
export function percentage(config: PercentageConfig & {
|
|
11099
|
-
optional?: false
|
|
11102
|
+
optional?: false;
|
|
11100
11103
|
}): z.ZodNumber & F0ZodType<z.ZodNumber>;
|
|
11101
11104
|
/* Excluded from this release type: CardSelectConfig */
|
|
11102
11105
|
export function cardSelect<const V extends string>(config: CardSelectConfig<V> & {
|
|
11103
11106
|
optional: true;
|
|
11104
11107
|
}): z.ZodOptional<z.ZodEnum<[V, ...V[]]>> & F0ZodType<z.ZodOptional<z.ZodEnum<[V, ...V[]]>>>;
|
|
11105
11108
|
export function cardSelect<const V extends string>(config: CardSelectConfig<V> & {
|
|
11106
|
-
optional?: false
|
|
11109
|
+
optional?: false;
|
|
11107
11110
|
}): z.ZodEnum<[V, ...V[]]> & F0ZodType<z.ZodEnum<[V, ...V[]]>>;
|
|
11108
11111
|
/* Excluded from this release type: FileConfig */
|
|
11109
11112
|
export function file(config: FileConfig & {
|
|
11110
11113
|
optional: true;
|
|
11111
11114
|
}): z.ZodOptional<z.ZodString> & F0ZodType<z.ZodOptional<z.ZodString>>;
|
|
11112
11115
|
export function file(config: FileConfig & {
|
|
11113
|
-
optional?: false
|
|
11116
|
+
optional?: false;
|
|
11114
11117
|
}): z.ZodString & F0ZodType<z.ZodString>;
|
|
11115
11118
|
/* Excluded from this release type: MultiFileConfig */
|
|
11116
11119
|
export function multiFile(config: MultiFileConfig & {
|
|
11117
11120
|
optional: true;
|
|
11118
11121
|
}): z.ZodOptional<z.ZodArray<z.ZodString>> & F0ZodType<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
11119
11122
|
export function multiFile(config: MultiFileConfig & {
|
|
11120
|
-
optional?: false
|
|
11123
|
+
optional?: false;
|
|
11121
11124
|
}): z.ZodArray<z.ZodString> & F0ZodType<z.ZodArray<z.ZodString>>;
|
|
11122
11125
|
/* Excluded from this release type: TimeConfig */
|
|
11123
11126
|
export function time(config: TimeConfig & {
|
|
11124
11127
|
optional: true;
|
|
11125
11128
|
}): z.ZodOptional<z.ZodDate> & F0ZodType<z.ZodOptional<z.ZodDate>>;
|
|
11126
11129
|
export function time(config: TimeConfig & {
|
|
11127
|
-
optional?: false
|
|
11130
|
+
optional?: false;
|
|
11128
11131
|
}): z.ZodDate & F0ZodType<z.ZodDate>;
|
|
11129
11132
|
/* Excluded from this release type: DateTimeConfig */
|
|
11130
11133
|
export function datetime(config: DateTimeConfig & {
|
|
11131
11134
|
optional: true;
|
|
11132
11135
|
}): z.ZodOptional<z.ZodDate> & F0ZodType<z.ZodOptional<z.ZodDate>>;
|
|
11133
11136
|
export function datetime(config: DateTimeConfig & {
|
|
11134
|
-
optional?: false
|
|
11137
|
+
optional?: false;
|
|
11135
11138
|
}): z.ZodDate & F0ZodType<z.ZodDate>;
|
|
11136
11139
|
/* Excluded from this release type: DurationConfig */
|
|
11137
11140
|
export function duration(config: DurationConfig & {
|
|
11138
11141
|
optional: true;
|
|
11139
11142
|
}): z.ZodOptional<z.ZodNumber> & F0ZodType<z.ZodOptional<z.ZodNumber>>;
|
|
11140
11143
|
export function duration(config: DurationConfig & {
|
|
11141
|
-
optional?: false
|
|
11144
|
+
optional?: false;
|
|
11142
11145
|
}): z.ZodNumber & F0ZodType<z.ZodNumber>;
|
|
11143
11146
|
/* Excluded from this release type: DateRangeObjectSchema */
|
|
11144
11147
|
/* Excluded from this release type: DateRangeConfig */
|
|
@@ -11146,7 +11149,7 @@ export declare namespace f0FormField {
|
|
|
11146
11149
|
optional: true;
|
|
11147
11150
|
}): z.ZodOptional<DateRangeObjectSchema> & F0ZodType<z.ZodOptional<DateRangeObjectSchema>>;
|
|
11148
11151
|
export function dateRange(config: DateRangeConfig & {
|
|
11149
|
-
optional?: false
|
|
11152
|
+
optional?: false;
|
|
11150
11153
|
}): DateRangeObjectSchema & F0ZodType<DateRangeObjectSchema>;
|
|
11151
11154
|
/* Excluded from this release type: PeriodValueSchema */
|
|
11152
11155
|
/* Excluded from this release type: DatePeriodConfig */
|
|
@@ -11154,7 +11157,7 @@ export declare namespace f0FormField {
|
|
|
11154
11157
|
optional: true;
|
|
11155
11158
|
}): z.ZodOptional<z.ZodNullable<PeriodValueSchema>> & F0ZodType<z.ZodOptional<z.ZodNullable<PeriodValueSchema>>>;
|
|
11156
11159
|
export function datePeriod(config: DatePeriodConfig & {
|
|
11157
|
-
optional?: false
|
|
11160
|
+
optional?: false;
|
|
11158
11161
|
}): PeriodValueSchema & F0ZodType<PeriodValueSchema>;
|
|
11159
11162
|
export type PhoneObjectSchema = z.ZodEffects<z.ZodObject<{
|
|
11160
11163
|
prefix: z.ZodOptional<z.ZodString>;
|
|
@@ -11176,7 +11179,7 @@ export declare namespace f0FormField {
|
|
|
11176
11179
|
optional: true;
|
|
11177
11180
|
}): z.ZodOptional<PhoneObjectSchema> & F0ZodType<z.ZodOptional<PhoneObjectSchema>>;
|
|
11178
11181
|
export function phone(config: PhoneFieldShortcutConfig & {
|
|
11179
|
-
optional?: false
|
|
11182
|
+
optional?: false;
|
|
11180
11183
|
}): PhoneObjectSchema & F0ZodType<PhoneObjectSchema>;
|
|
11181
11184
|
/* Excluded from this release type: RichTextObjectSchema */
|
|
11182
11185
|
/* Excluded from this release type: RichTextConfig */
|
|
@@ -11184,7 +11187,7 @@ export declare namespace f0FormField {
|
|
|
11184
11187
|
optional: true;
|
|
11185
11188
|
}): z.ZodOptional<RichTextObjectSchema> & F0ZodType<z.ZodOptional<RichTextObjectSchema>>;
|
|
11186
11189
|
export function richText(config: RichTextConfig & {
|
|
11187
|
-
optional?: false
|
|
11190
|
+
optional?: false;
|
|
11188
11191
|
}): RichTextObjectSchema & F0ZodType<RichTextObjectSchema>;
|
|
11189
11192
|
/* Excluded from this release type: SelectConfig */
|
|
11190
11193
|
export function select<const V extends string, R extends Record<string, unknown> = Record<string, unknown>>(config: SelectConfig<R> & {
|
|
@@ -11197,13 +11200,13 @@ export declare namespace f0FormField {
|
|
|
11197
11200
|
options: ({
|
|
11198
11201
|
value: V;
|
|
11199
11202
|
} & Record<string, unknown>)[];
|
|
11200
|
-
optional?: false
|
|
11203
|
+
optional?: false;
|
|
11201
11204
|
}): z.ZodEnum<[V, ...V[]]> & F0ZodType<z.ZodEnum<[V, ...V[]]>>;
|
|
11202
11205
|
export function select<R extends Record<string, unknown> = Record<string, unknown>>(config: SelectConfig<R> & {
|
|
11203
11206
|
optional: true;
|
|
11204
11207
|
}): z.ZodOptional<z.ZodString> & F0ZodType<z.ZodOptional<z.ZodString>>;
|
|
11205
11208
|
export function select<R extends Record<string, unknown> = Record<string, unknown>>(config: SelectConfig<R> & {
|
|
11206
|
-
optional?: false
|
|
11209
|
+
optional?: false;
|
|
11207
11210
|
}): z.ZodString & F0ZodType<z.ZodString>;
|
|
11208
11211
|
/* Excluded from this release type: MultiSelectConfig */
|
|
11209
11212
|
export function multiSelect<const V extends string>(config: Omit<MultiSelectConfig, "options"> & {
|
|
@@ -11216,13 +11219,13 @@ export declare namespace f0FormField {
|
|
|
11216
11219
|
options: ({
|
|
11217
11220
|
value: V;
|
|
11218
11221
|
} & Record<string, unknown>)[];
|
|
11219
|
-
optional?: false
|
|
11222
|
+
optional?: false;
|
|
11220
11223
|
}): z.ZodArray<z.ZodEnum<[V, ...V[]]>> & F0ZodType<z.ZodArray<z.ZodEnum<[V, ...V[]]>>>;
|
|
11221
11224
|
export function multiSelect<V extends string | number = string, R extends Record<string, unknown> = Record<string, unknown>>(config: MultiSelectConfig<V, R> & {
|
|
11222
11225
|
optional: true;
|
|
11223
11226
|
}): z.ZodOptional<z.ZodArray<z.ZodString>> & F0ZodType<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
11224
11227
|
export function multiSelect<V extends string | number = string, R extends Record<string, unknown> = Record<string, unknown>>(config: MultiSelectConfig<V, R> & {
|
|
11225
|
-
optional?: false
|
|
11228
|
+
optional?: false;
|
|
11226
11229
|
}): z.ZodArray<z.ZodString> & F0ZodType<z.ZodArray<z.ZodString>>;
|
|
11227
11230
|
/* Excluded from this release type: EntitiesListBaseConfig */
|
|
11228
11231
|
/* Excluded from this release type: EntitiesListSingleConfig */
|
|
@@ -11263,13 +11266,13 @@ export declare namespace f0FormField {
|
|
|
11263
11266
|
optional: true;
|
|
11264
11267
|
}): OptionalEntitiesListArray<TItem> & F0ZodType<z.ZodOptional<z.ZodArray<TItem>>>;
|
|
11265
11268
|
export function entitiesList<TItem extends z.ZodObject<z.ZodRawShape>>(config: EntitiesListSingleConfig<TItem> & {
|
|
11266
|
-
optional?: false
|
|
11269
|
+
optional?: false;
|
|
11267
11270
|
}): EntitiesListArray<TItem> & F0ZodType<z.ZodArray<TItem>>;
|
|
11268
11271
|
export function entitiesList<TCreate extends z.ZodObject<z.ZodRawShape>, TUpdate extends z.ZodObject<z.ZodRawShape>>(config: EntitiesListFormDefsConfig<TCreate, TUpdate> & {
|
|
11269
11272
|
optional: true;
|
|
11270
11273
|
}): OptionalEntitiesListArray<TUpdate> & F0ZodType<z.ZodOptional<z.ZodArray<TUpdate>>>;
|
|
11271
11274
|
export function entitiesList<TCreate extends z.ZodObject<z.ZodRawShape>, TUpdate extends z.ZodObject<z.ZodRawShape>>(config: EntitiesListFormDefsConfig<TCreate, TUpdate> & {
|
|
11272
|
-
optional?: false
|
|
11275
|
+
optional?: false;
|
|
11273
11276
|
}): EntitiesListArray<TUpdate> & F0ZodType<z.ZodArray<TUpdate>>;
|
|
11274
11277
|
{};
|
|
11275
11278
|
}
|
|
@@ -14179,7 +14182,7 @@ export declare const getDataCollectionStorageKey: (id: string) => string;
|
|
|
14179
14182
|
* @returns The pagination type of the data adapter
|
|
14180
14183
|
*/
|
|
14181
14184
|
export declare const getDataSourcePaginationType: <D extends {
|
|
14182
|
-
paginationType?: PaginationType
|
|
14185
|
+
paginationType?: PaginationType;
|
|
14183
14186
|
}>(dataAdapter: D) => PaginationType;
|
|
14184
14187
|
|
|
14185
14188
|
export declare function getEmojiLabel(emoji: string): string;
|
|
@@ -14226,9 +14229,9 @@ export declare interface GranularityDefinition {
|
|
|
14226
14229
|
max?: Date;
|
|
14227
14230
|
} | undefined;
|
|
14228
14231
|
label: (viewDate: Date, i18n: TranslationsType, locale?: string) => ReactNode;
|
|
14229
|
-
toRangeString: (date:
|
|
14230
|
-
toRange: <T extends
|
|
14231
|
-
toString: (date:
|
|
14232
|
+
toRangeString: (date: OptionalCalendarSelection, i18n: TranslationsType, format?: DateStringFormat) => DateRangeString;
|
|
14233
|
+
toRange: <T extends OptionalCalendarSelection>(date: T) => T extends Date | DateRange ? DateRangeComplete : T;
|
|
14234
|
+
toString: (date: OptionalCalendarSelection, i18n: TranslationsType, format?: DateStringFormat, locale?: string) => string;
|
|
14232
14235
|
toStringMaxWidth: () => number;
|
|
14233
14236
|
placeholder: () => string;
|
|
14234
14237
|
fromString: (dateStr: string | DateRangeString, i18n: TranslationsType) => DateRange | null;
|
|
@@ -14237,8 +14240,8 @@ export declare interface GranularityDefinition {
|
|
|
14237
14240
|
getViewDateFromDate: (date: Date) => Date;
|
|
14238
14241
|
render: (renderProps: {
|
|
14239
14242
|
mode: CalendarMode;
|
|
14240
|
-
selected:
|
|
14241
|
-
onSelect: (date:
|
|
14243
|
+
selected: CalendarSelection;
|
|
14244
|
+
onSelect: (date: CalendarSelection) => void;
|
|
14242
14245
|
month: Date;
|
|
14243
14246
|
onMonthChange: (date: Date) => void;
|
|
14244
14247
|
motionDirection: number;
|
|
@@ -15019,7 +15022,7 @@ declare type InputFieldProps<T> = {
|
|
|
15019
15022
|
onClickPlaceholder?: () => void;
|
|
15020
15023
|
onClickChildren?: () => void;
|
|
15021
15024
|
onClickContent?: () => void;
|
|
15022
|
-
value?: T
|
|
15025
|
+
value?: T;
|
|
15023
15026
|
onChange?: (value: T) => void;
|
|
15024
15027
|
size?: InputFieldSize;
|
|
15025
15028
|
error?: string | boolean;
|
|
@@ -15930,6 +15933,12 @@ export declare interface NotesTextEditorSnapshot {
|
|
|
15930
15933
|
declare type NotificationDialogBaseOptions = Optional<Pick<DialogDefinition, "id" | "title">, "id"> & {
|
|
15931
15934
|
msg: string;
|
|
15932
15935
|
type?: DialogNotificationType;
|
|
15936
|
+
/**
|
|
15937
|
+
* Renders a dismiss (X) control in the dialog's top-right corner. Lets a notification offer a
|
|
15938
|
+
* way out without spending a button on "Cancel".
|
|
15939
|
+
* @default false
|
|
15940
|
+
*/
|
|
15941
|
+
dismissable?: boolean;
|
|
15933
15942
|
};
|
|
15934
15943
|
|
|
15935
15944
|
export declare type NotificationDialogOptions = NotificationDialogBaseOptions & {
|
|
@@ -16285,9 +16294,9 @@ export declare const OneCalendarInternal: ({ mode, view, onSelect, defaultMonth,
|
|
|
16285
16294
|
export declare interface OneCalendarInternalProps {
|
|
16286
16295
|
mode: CalendarMode;
|
|
16287
16296
|
view: CalendarView;
|
|
16288
|
-
onSelect?: (date:
|
|
16297
|
+
onSelect?: (date: CalendarSelection) => void;
|
|
16289
16298
|
defaultMonth?: Date;
|
|
16290
|
-
defaultSelected?:
|
|
16299
|
+
defaultSelected?: CalendarSelection;
|
|
16291
16300
|
showNavigation?: boolean;
|
|
16292
16301
|
showInput?: boolean;
|
|
16293
16302
|
minDate?: Date;
|
|
@@ -16524,6 +16533,8 @@ export declare type OpenFormWizardResult<T extends F0FormSchema_2 | F0PerSection
|
|
|
16524
16533
|
|
|
16525
16534
|
declare type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;
|
|
16526
16535
|
|
|
16536
|
+
export declare type OptionalCalendarSelection = CalendarSelection | undefined;
|
|
16537
|
+
|
|
16527
16538
|
/** Overflow values */
|
|
16528
16539
|
export declare type OverflowToken = "visible" | "hidden" | "auto" | "scroll";
|
|
16529
16540
|
|