@factorialco/f0-react 6.92.0 → 6.93.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/{ChatPdfThumbnail-B5AL0nrd.js → ChatPdfThumbnail-DlJ8lMdS.js} +1 -1
- package/dist/{CoachmarkProvider-BvHCC6U-.js → CoachmarkProvider-DiCvfQiv.js} +18779 -18560
- package/dist/{DocumentToolbar-Z04LbjLe.js → DocumentToolbar-DNQcONeP.js} +2 -2
- package/dist/{DocxViewer-DatEcuPj.js → DocxViewer-CD5LOQ0C.js} +2 -2
- package/dist/{F0AiProcessingOverlay-CIBXF0aA.js → F0AiProcessingOverlay-Ki2lYT6_.js} +2251 -2236
- package/dist/{F0CanvasPanel-BYk37H3S.js → F0CanvasPanel-CfmcbyHH.js} +29734 -29536
- package/dist/{F0VideoPlayer-ivv-8jRS.js → F0VideoPlayer-B0yLBZ02.js} +1 -1
- package/dist/{LocationMap-DJV-K2nH.js → LocationMap-DdflrLnM.js} +1 -1
- package/dist/{SheetViewer-DOPXx5v-.js → SheetViewer-BB5R4ynJ.js} +2 -2
- package/dist/{TextViewer-CLD0qUx1.js → TextViewer-CNVtakjJ.js} +2 -2
- package/dist/ai.d.ts +22 -16
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +16 -16
- package/dist/component-status.js +1 -1
- package/dist/{experimental-CjCTiapX.js → experimental-BiC_8-Mj.js} +8770 -8725
- package/dist/experimental.d.ts +16 -16
- package/dist/experimental.js +3 -3
- package/dist/f0.d.ts +34 -23
- package/dist/f0.js +10554 -10458
- package/dist/i18n-provider-defaults.d.ts +16 -16
- package/dist/index-2T_ZqKWj.js +4 -0
- package/dist/{index-C2ylL84h.js → index-B4q9e6bP.js} +3 -3
- package/dist/{pdfWorker-vVxORhXo.js → pdfWorker-BXbqwWmI.js} +2 -2
- package/package.json +1 -1
- package/dist/index-Bl4ay97j.js +0 -4
package/dist/experimental.d.ts
CHANGED
|
@@ -16547,6 +16547,16 @@ declare namespace Calendar {
|
|
|
16547
16547
|
}
|
|
16548
16548
|
|
|
16549
16549
|
|
|
16550
|
+
declare module "@tiptap/core" {
|
|
16551
|
+
interface Commands<ReturnType> {
|
|
16552
|
+
aiBlock: {
|
|
16553
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
16554
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
16555
|
+
};
|
|
16556
|
+
}
|
|
16557
|
+
}
|
|
16558
|
+
|
|
16559
|
+
|
|
16550
16560
|
declare module "@tiptap/core" {
|
|
16551
16561
|
interface Commands<ReturnType> {
|
|
16552
16562
|
enhanceHighlight: {
|
|
@@ -16569,16 +16579,6 @@ declare module "@tiptap/core" {
|
|
|
16569
16579
|
}
|
|
16570
16580
|
|
|
16571
16581
|
|
|
16572
|
-
declare module "@tiptap/core" {
|
|
16573
|
-
interface Commands<ReturnType> {
|
|
16574
|
-
aiBlock: {
|
|
16575
|
-
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
16576
|
-
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
16577
|
-
};
|
|
16578
|
-
}
|
|
16579
|
-
}
|
|
16580
|
-
|
|
16581
|
-
|
|
16582
16582
|
declare module "@tiptap/core" {
|
|
16583
16583
|
interface Commands<ReturnType> {
|
|
16584
16584
|
indent: {
|
|
@@ -16601,8 +16601,10 @@ declare module "@tiptap/core" {
|
|
|
16601
16601
|
|
|
16602
16602
|
declare module "@tiptap/core" {
|
|
16603
16603
|
interface Commands<ReturnType> {
|
|
16604
|
-
|
|
16605
|
-
|
|
16604
|
+
videoEmbed: {
|
|
16605
|
+
setVideoEmbed: (options: {
|
|
16606
|
+
src: string;
|
|
16607
|
+
}) => ReturnType;
|
|
16606
16608
|
};
|
|
16607
16609
|
}
|
|
16608
16610
|
}
|
|
@@ -16610,10 +16612,8 @@ declare module "@tiptap/core" {
|
|
|
16610
16612
|
|
|
16611
16613
|
declare module "@tiptap/core" {
|
|
16612
16614
|
interface Commands<ReturnType> {
|
|
16613
|
-
|
|
16614
|
-
|
|
16615
|
-
src: string;
|
|
16616
|
-
}) => ReturnType;
|
|
16615
|
+
transcript: {
|
|
16616
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
16617
16617
|
};
|
|
16618
16618
|
}
|
|
16619
16619
|
}
|
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-BiC_8-Mj.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-CfmcbyHH.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-DiCvfQiv.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
|
@@ -1419,12 +1419,6 @@ export declare type AutofillTimesheetShift = {
|
|
|
1419
1419
|
locationType?: string | null;
|
|
1420
1420
|
};
|
|
1421
1421
|
|
|
1422
|
-
/**
|
|
1423
|
-
* An item that can be passed in the `availableFormDefinitions` array.
|
|
1424
|
-
* Accepts either a plain {@link F0AiAvailableFormDefinition} or the result
|
|
1425
|
-
* of calling {@link useF0FormDefinition} (i.e. {@link F0FormDefinitionSingleSchema}
|
|
1426
|
-
* or {@link F0FormDefinitionPerSection}).
|
|
1427
|
-
*/
|
|
1428
1422
|
export declare type AvailableFormDefinitionItem = F0AiAvailableFormDefinition | F0FormDefinitionSingleSchema<any> | F0FormDefinitionPerSection<any>;
|
|
1429
1423
|
|
|
1430
1424
|
declare const Avatar: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & {
|
|
@@ -2259,6 +2253,9 @@ declare type CanvasCardAction = {
|
|
|
2259
2253
|
hideLabel?: boolean;
|
|
2260
2254
|
};
|
|
2261
2255
|
|
|
2256
|
+
/** The card's own control: open/close, or the host's custom action. */
|
|
2257
|
+
declare const CanvasCardAction: ({ action, isActive, }: Pick<F0CanvasCardProps, "action" | "isActive">) => JSX_2.Element | null;
|
|
2258
|
+
|
|
2262
2259
|
declare type CanvasCardAvatar = {
|
|
2263
2260
|
type: "module";
|
|
2264
2261
|
module: ModuleId;
|
|
@@ -2270,6 +2267,9 @@ declare type CanvasCardAvatar = {
|
|
|
2270
2267
|
icon: IconType;
|
|
2271
2268
|
};
|
|
2272
2269
|
|
|
2270
|
+
/** Whichever avatar the card was given: a module, a file, or an icon. */
|
|
2271
|
+
declare const CanvasCardAvatar: ({ avatar }: Pick<F0CanvasCardProps, "avatar">) => JSX_2.Element | null;
|
|
2272
|
+
|
|
2273
2273
|
/**
|
|
2274
2274
|
* Discriminated union for canvas panel content.
|
|
2275
2275
|
* Add new entity types to this union as they are implemented.
|
|
@@ -3201,6 +3201,12 @@ declare interface CheckboxProps extends DataAttributes_2 {
|
|
|
3201
3201
|
* The title of the checkbox
|
|
3202
3202
|
*/
|
|
3203
3203
|
title?: string;
|
|
3204
|
+
/**
|
|
3205
|
+
* A secondary line of text rendered under the title, for context the title
|
|
3206
|
+
* cannot carry on its own. Hidden along with the title when `hideLabel` is
|
|
3207
|
+
* set, and exposed to assistive technology as the checkbox's description.
|
|
3208
|
+
*/
|
|
3209
|
+
description?: string;
|
|
3204
3210
|
/**
|
|
3205
3211
|
* The id of the checkbox
|
|
3206
3212
|
*/
|
|
@@ -8954,7 +8960,7 @@ declare type F0CardSelectField = F0BaseField & {
|
|
|
8954
8960
|
|
|
8955
8961
|
export declare const F0Checkbox: WithDataTestIdReturnType_3<typeof _F0Checkbox>;
|
|
8956
8962
|
|
|
8957
|
-
declare function _F0Checkbox({ title, onCheckedChange, id, disabled, indeterminate, checked, value, hideLabel, presentational, stopPropagation, name, required, ...rest }: CheckboxProps): JSX_2.Element;
|
|
8963
|
+
declare function _F0Checkbox({ title, description, onCheckedChange, id, disabled, indeterminate, checked, value, hideLabel, presentational, stopPropagation, name, required, ...rest }: CheckboxProps): JSX_2.Element;
|
|
8958
8964
|
|
|
8959
8965
|
/**
|
|
8960
8966
|
* F0 config options specific to checkbox fields
|
|
@@ -18826,6 +18832,11 @@ declare interface TextProps extends Omit<default_2.HTMLAttributes<HTMLElement>,
|
|
|
18826
18832
|
* @default false
|
|
18827
18833
|
*/
|
|
18828
18834
|
required?: boolean;
|
|
18835
|
+
/**
|
|
18836
|
+
* The id of the control this text labels. Only meaningful together with
|
|
18837
|
+
* `as="label"`; `React.HTMLAttributes` does not carry it.
|
|
18838
|
+
*/
|
|
18839
|
+
htmlFor?: string;
|
|
18829
18840
|
}
|
|
18830
18841
|
|
|
18831
18842
|
declare type TextQuestionProps = BaseQuestionPropsForOtherQuestionComponents & {
|
|
@@ -20589,6 +20600,16 @@ declare namespace Calendar {
|
|
|
20589
20600
|
}
|
|
20590
20601
|
|
|
20591
20602
|
|
|
20603
|
+
declare module "@tiptap/core" {
|
|
20604
|
+
interface Commands<ReturnType> {
|
|
20605
|
+
aiBlock: {
|
|
20606
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
20607
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
20608
|
+
};
|
|
20609
|
+
}
|
|
20610
|
+
}
|
|
20611
|
+
|
|
20612
|
+
|
|
20592
20613
|
declare module "@tiptap/core" {
|
|
20593
20614
|
interface Commands<ReturnType> {
|
|
20594
20615
|
enhanceHighlight: {
|
|
@@ -20611,16 +20632,6 @@ declare module "@tiptap/core" {
|
|
|
20611
20632
|
}
|
|
20612
20633
|
|
|
20613
20634
|
|
|
20614
|
-
declare module "@tiptap/core" {
|
|
20615
|
-
interface Commands<ReturnType> {
|
|
20616
|
-
aiBlock: {
|
|
20617
|
-
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
20618
|
-
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
20619
|
-
};
|
|
20620
|
-
}
|
|
20621
|
-
}
|
|
20622
|
-
|
|
20623
|
-
|
|
20624
20635
|
declare module "@tiptap/core" {
|
|
20625
20636
|
interface Commands<ReturnType> {
|
|
20626
20637
|
indent: {
|
|
@@ -20643,8 +20654,10 @@ declare module "@tiptap/core" {
|
|
|
20643
20654
|
|
|
20644
20655
|
declare module "@tiptap/core" {
|
|
20645
20656
|
interface Commands<ReturnType> {
|
|
20646
|
-
|
|
20647
|
-
|
|
20657
|
+
videoEmbed: {
|
|
20658
|
+
setVideoEmbed: (options: {
|
|
20659
|
+
src: string;
|
|
20660
|
+
}) => ReturnType;
|
|
20648
20661
|
};
|
|
20649
20662
|
}
|
|
20650
20663
|
}
|
|
@@ -20652,10 +20665,8 @@ declare module "@tiptap/core" {
|
|
|
20652
20665
|
|
|
20653
20666
|
declare module "@tiptap/core" {
|
|
20654
20667
|
interface Commands<ReturnType> {
|
|
20655
|
-
|
|
20656
|
-
|
|
20657
|
-
src: string;
|
|
20658
|
-
}) => ReturnType;
|
|
20668
|
+
transcript: {
|
|
20669
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
20659
20670
|
};
|
|
20660
20671
|
}
|
|
20661
20672
|
}
|