@factorialco/f0-react 6.68.0 → 6.70.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-CeYKdUjG.js → ChatPdfThumbnail-C0Kd9b7P.js} +1 -1
- package/dist/{CoachmarkProvider-Dl3ax2GV.js → CoachmarkProvider-xbHzTWSe.js} +1 -1
- package/dist/{DocumentToolbar-DtAqYMic.js → DocumentToolbar-BWIuytRP.js} +2 -2
- package/dist/{DocxViewer-DyO_VcRl.js → DocxViewer-5CM74QHJ.js} +2 -2
- package/dist/{F0AiProcessingOverlay-BqmjVGgC.js → F0AiProcessingOverlay-RN1NOgJp.js} +1 -1
- package/dist/{F0CanvasPanel-B2_yKht7.js → F0CanvasPanel-dUZEASOC.js} +2060 -2055
- package/dist/{F0VideoPlayer-DbBhWiRV.js → F0VideoPlayer--D71-gZc.js} +1 -1
- package/dist/{LocationMap-C3OuVzxY.js → LocationMap-CouUUaiU.js} +1 -1
- package/dist/{SheetViewer-BiYAKcGC.js → SheetViewer-BFYY6fzM.js} +2 -2
- package/dist/{TextViewer-DE-HAUsK.js → TextViewer-Bq9H5M1V.js} +2 -2
- package/dist/ai.d.ts +11 -8
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +8 -8
- package/dist/component-status.js +1 -1
- package/dist/{experimental-yiYflY2t.js → experimental-Aedp15f2.js} +7392 -7328
- package/dist/experimental.d.ts +17 -10
- package/dist/experimental.js +3 -3
- package/dist/f0.d.ts +38 -8
- package/dist/f0.js +11887 -11856
- package/dist/i18n-provider-defaults.d.ts +11 -8
- package/dist/i18n-provider-defaults.js +3 -0
- package/dist/index-BE2xWJp4.js +4 -0
- package/dist/{index-oeaZ_upm.js → index-Daqi6kwh.js} +3 -3
- package/dist/{pdfWorker-D6MURXRi.js → pdfWorker-B34F4YHy.js} +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/index-CLmeYs2p.js +0 -4
package/dist/experimental.d.ts
CHANGED
|
@@ -4128,6 +4128,7 @@ declare const defaultTranslations: {
|
|
|
4128
4128
|
readonly copy: "Copy";
|
|
4129
4129
|
readonly paste: "Paste";
|
|
4130
4130
|
readonly close: "Close";
|
|
4131
|
+
readonly back: "Back";
|
|
4131
4132
|
readonly collapse: "Collapse";
|
|
4132
4133
|
readonly collapseItem: "Collapse {{title}}";
|
|
4133
4134
|
readonly expand: "Expand";
|
|
@@ -4691,6 +4692,7 @@ declare const defaultTranslations: {
|
|
|
4691
4692
|
readonly ofTotal: "of total";
|
|
4692
4693
|
readonly total: "total";
|
|
4693
4694
|
readonly target: "target";
|
|
4695
|
+
readonly ofTarget: "of target";
|
|
4694
4696
|
readonly ofRange: "of range";
|
|
4695
4697
|
readonly fromPrevious: "from previous";
|
|
4696
4698
|
readonly fromStage: "from {{stage}}";
|
|
@@ -4983,6 +4985,7 @@ declare const defaultTranslations: {
|
|
|
4983
4985
|
readonly editParamsTitle: "Edit widget params";
|
|
4984
4986
|
readonly removeWidget: "Remove widget";
|
|
4985
4987
|
readonly addWidget: "Add widget";
|
|
4988
|
+
readonly configureWidget: "Configure {{title}}";
|
|
4986
4989
|
/** Heads the widgets a Home suggests, at the top of the picker. */
|
|
4987
4990
|
readonly recommended: "Recommended";
|
|
4988
4991
|
/** Why a drop onto a pinned widget was refused. `{{title}}` is its name. */
|
|
@@ -14666,7 +14669,7 @@ export declare type WidgetAvatarsListItemProps = {
|
|
|
14666
14669
|
* takes that column's width. So a Home keeps one list — the widgets it offers —
|
|
14667
14670
|
* rather than two that have to be kept in step.
|
|
14668
14671
|
*/
|
|
14669
|
-
export declare function WidgetCatalog({ isOpen, onClose, widgets, onAdd, groups, area, previewWidth, slotRenderers, title, }: WidgetCatalogProps): JSX_2.Element;
|
|
14672
|
+
export declare function WidgetCatalog({ isOpen, onClose, widgets, onAdd, groups, area, previewWidth, slotRenderers, rebuildPreview, title, }: WidgetCatalogProps): JSX_2.Element;
|
|
14670
14673
|
|
|
14671
14674
|
/**
|
|
14672
14675
|
* One DOMAIN in the picker: a heading the widgets under it belong to.
|
|
@@ -14736,6 +14739,9 @@ export declare interface WidgetCatalogItem {
|
|
|
14736
14739
|
* retire an entry without deleting it.
|
|
14737
14740
|
*/
|
|
14738
14741
|
areas?: WidgetContainerSide[];
|
|
14742
|
+
paramsSchema?: WidgetParamsSchema;
|
|
14743
|
+
params?: WidgetParams;
|
|
14744
|
+
addWithDefaults?: boolean;
|
|
14739
14745
|
}
|
|
14740
14746
|
|
|
14741
14747
|
export declare interface WidgetCatalogProps {
|
|
@@ -14744,7 +14750,7 @@ export declare interface WidgetCatalogProps {
|
|
|
14744
14750
|
/** The widgets that can be added, in the order to list them. */
|
|
14745
14751
|
widgets: WidgetCatalogItem[];
|
|
14746
14752
|
/** Called with the chosen widget id when the CTA is pressed. */
|
|
14747
|
-
onAdd: (id: string) => void;
|
|
14753
|
+
onAdd: (id: string, params?: WidgetParams) => void;
|
|
14748
14754
|
/**
|
|
14749
14755
|
* The DOMAINS the picker is organised into, in the order to show them. Omit it
|
|
14750
14756
|
* and the list is flat — grouping is an offer, not a requirement.
|
|
@@ -14775,6 +14781,7 @@ export declare interface WidgetCatalogProps {
|
|
|
14775
14781
|
* "No renderer for slot …" and then render properly once added.
|
|
14776
14782
|
*/
|
|
14777
14783
|
slotRenderers?: SlotRenderers;
|
|
14784
|
+
rebuildPreview?: (item: WidgetCatalogItem, params: WidgetParams) => WidgetCatalogItem["preview"];
|
|
14778
14785
|
title?: string;
|
|
14779
14786
|
}
|
|
14780
14787
|
|
|
@@ -15209,11 +15216,9 @@ declare module "@tiptap/core" {
|
|
|
15209
15216
|
|
|
15210
15217
|
declare module "@tiptap/core" {
|
|
15211
15218
|
interface Commands<ReturnType> {
|
|
15212
|
-
|
|
15213
|
-
|
|
15214
|
-
|
|
15215
|
-
}) => ReturnType;
|
|
15216
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
15219
|
+
fontSize: {
|
|
15220
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
15221
|
+
unsetFontSize: () => ReturnType;
|
|
15217
15222
|
};
|
|
15218
15223
|
}
|
|
15219
15224
|
}
|
|
@@ -15221,9 +15226,11 @@ declare module "@tiptap/core" {
|
|
|
15221
15226
|
|
|
15222
15227
|
declare module "@tiptap/core" {
|
|
15223
15228
|
interface Commands<ReturnType> {
|
|
15224
|
-
|
|
15225
|
-
|
|
15226
|
-
|
|
15229
|
+
enhanceHighlight: {
|
|
15230
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
15231
|
+
placeholder?: string;
|
|
15232
|
+
}) => ReturnType;
|
|
15233
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
15227
15234
|
};
|
|
15228
15235
|
}
|
|
15229
15236
|
}
|
package/dist/experimental.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { v as s, t, A as i, a as o, J as r, ar as n, aq as l, as as d, B as S, w as C, y as g, L as m, ay as u, az as c, aI as b, x as h, C as P, ax as T, aJ as p, D as F, z as I, a3 as E, b1 as A, b8 as B, K as y, b0 as D, E as L, b as W, i as v, ag as k, ah as O, G as _, an as f, F as x, j as R, n as H, o as M, k as N, c as V, q as w, r as G, H as z, aM as U, aN as j, aB as q, am as Y, aR as K, at as X, a6 as $, aL as J, U as Q, ac as Z, O as aa, bc as ea, V as sa, P as ta, M as ia, N as oa, au as ra, R as na, a_ as la, b2 as da, S as Sa, a7 as Ca, a8 as ga, _ as ma, $ as ua, a0 as ca, Z as ba, a1 as ha, W as Pa, a2 as Ta, a4 as pa, a5 as Fa, a9 as Ia, aa as Ea, b6 as Aa, b5 as Ba, ap as ya, ao as Da, aw as La, aK as Wa, aH as va, av as ka, ab as Oa, aC as _a, b7 as fa, ba as xa, aA as Ra, aF as Ha, aD as Ma, bb as Na, aG as Va, aE as wa, b9 as Ga, d as za, af as Ua, b4 as ja, b3 as qa, aj as Ya, f as Ka, l as Xa, p as $a, g as Ja, h as Qa, aU as Za, aS as ae, ak as ee, al as se, aQ as te, aT as ie, e as oe, s as re, aY as ne, aP as le, aV as de, ad as Se, a$ as Ce, u as ge, ae as me, ai as ue, aO as ce, T as be, Q as he, I as Pe, Y as Te, X as pe, aZ as Fe, aX as Ie, aW as Ee } from "./experimental-
|
|
2
|
-
import { dO as Be, ep as ye, eo as De, eC as Le, dl as We, em as ve, cd as ke, c3 as Oe, ca as _e, eh as fe, bY as xe, bY as Re, bR as He, ei as Me, cg as Ne, d$ as Ve, ci as we, eF as Ge, en as ze, ey as Ue, ez as je, d5 as qe, eD as Ye, k as Ke, dP as Xe, cM as $e, el as Je, er as Qe, eq as Ze, T as as, h as es, bS as ss, eA as ts, eG as is, eB as os, eE as rs, ex as ns, eu as ls, ew as ds, es as Ss, ej as Cs, ek as gs, ed as ms, ev as us, et as cs } from "./F0CanvasPanel-
|
|
3
|
-
import { ax as hs, ay as Ps, a5 as Ts, a6 as ps, a3 as Fs, ag as Is, C as Es, a7 as As, aJ as Bs, ac as ys, aI as Ds, af as Ls, a4 as Ws, av as vs, aL as ks, aK as Os, an as _s, ah as fs, aq as xs, aO as Rs, a2 as Hs, as as Ms, ap as Ns, ak as Vs, aQ as ws, al as Gs, at as zs, au as Us, a8 as js, aM as qs, aN as Ys, am as Ks, aw as Xs, aF as $s, O as Js, aH as Qs, a9 as Zs, aS as at, ab as et, ad as st, aq as tt, aP as it, ar as ot, ao as rt, aR as nt, aa as lt, W as dt, ae as St, a1 as Ct, $ as gt, a0 as mt, aB as ut, aC as ct, az as bt, aG as ht, aj as Pt, ai as Tt, aD as pt, l as Ft, aA as It, aE as Et, y as At } from "./CoachmarkProvider-
|
|
1
|
+
import { v as s, t, A as i, a as o, J as r, ar as n, aq as l, as as d, B as S, w as C, y as g, L as m, ay as u, az as c, aI as b, x as h, C as P, ax as T, aJ as p, D as F, z as I, a3 as E, b1 as A, b8 as B, K as y, b0 as D, E as L, b as W, i as v, ag as k, ah as O, G as _, an as f, F as x, j as R, n as H, o as M, k as N, c as V, q as w, r as G, H as z, aM as U, aN as j, aB as q, am as Y, aR as K, at as X, a6 as $, aL as J, U as Q, ac as Z, O as aa, bc as ea, V as sa, P as ta, M as ia, N as oa, au as ra, R as na, a_ as la, b2 as da, S as Sa, a7 as Ca, a8 as ga, _ as ma, $ as ua, a0 as ca, Z as ba, a1 as ha, W as Pa, a2 as Ta, a4 as pa, a5 as Fa, a9 as Ia, aa as Ea, b6 as Aa, b5 as Ba, ap as ya, ao as Da, aw as La, aK as Wa, aH as va, av as ka, ab as Oa, aC as _a, b7 as fa, ba as xa, aA as Ra, aF as Ha, aD as Ma, bb as Na, aG as Va, aE as wa, b9 as Ga, d as za, af as Ua, b4 as ja, b3 as qa, aj as Ya, f as Ka, l as Xa, p as $a, g as Ja, h as Qa, aU as Za, aS as ae, ak as ee, al as se, aQ as te, aT as ie, e as oe, s as re, aY as ne, aP as le, aV as de, ad as Se, a$ as Ce, u as ge, ae as me, ai as ue, aO as ce, T as be, Q as he, I as Pe, Y as Te, X as pe, aZ as Fe, aX as Ie, aW as Ee } from "./experimental-Aedp15f2.js";
|
|
2
|
+
import { dO as Be, ep as ye, eo as De, eC as Le, dl as We, em as ve, cd as ke, c3 as Oe, ca as _e, eh as fe, bY as xe, bY as Re, bR as He, ei as Me, cg as Ne, d$ as Ve, ci as we, eF as Ge, en as ze, ey as Ue, ez as je, d5 as qe, eD as Ye, k as Ke, dP as Xe, cM as $e, el as Je, er as Qe, eq as Ze, T as as, h as es, bS as ss, eA as ts, eG as is, eB as os, eE as rs, ex as ns, eu as ls, ew as ds, es as Ss, ej as Cs, ek as gs, ed as ms, ev as us, et as cs } from "./F0CanvasPanel-dUZEASOC.js";
|
|
3
|
+
import { ax as hs, ay as Ps, a5 as Ts, a6 as ps, a3 as Fs, ag as Is, C as Es, a7 as As, aJ as Bs, ac as ys, aI as Ds, af as Ls, a4 as Ws, av as vs, aL as ks, aK as Os, an as _s, ah as fs, aq as xs, aO as Rs, a2 as Hs, as as Ms, ap as Ns, ak as Vs, aQ as ws, al as Gs, at as zs, au as Us, a8 as js, aM as qs, aN as Ys, am as Ks, aw as Xs, aF as $s, O as Js, aH as Qs, a9 as Zs, aS as at, ab as et, ad as st, aq as tt, aP as it, ar as ot, ao as rt, aR as nt, aa as lt, W as dt, ae as St, a1 as Ct, $ as gt, a0 as mt, aB as ut, aC as ct, az as bt, aG as ht, aj as Pt, ai as Tt, aD as pt, l as Ft, aA as It, aE as Et, y as At } from "./CoachmarkProvider-xbHzTWSe.js";
|
|
4
4
|
export {
|
|
5
5
|
hs as AUTO_PER_PAGE_MAX,
|
|
6
6
|
Ps as AUTO_PER_PAGE_MIN_RESERVED_ROWS,
|
package/dist/f0.d.ts
CHANGED
|
@@ -5019,6 +5019,7 @@ export declare const defaultTranslations: {
|
|
|
5019
5019
|
readonly copy: "Copy";
|
|
5020
5020
|
readonly paste: "Paste";
|
|
5021
5021
|
readonly close: "Close";
|
|
5022
|
+
readonly back: "Back";
|
|
5022
5023
|
readonly collapse: "Collapse";
|
|
5023
5024
|
readonly collapseItem: "Collapse {{title}}";
|
|
5024
5025
|
readonly expand: "Expand";
|
|
@@ -5582,6 +5583,7 @@ export declare const defaultTranslations: {
|
|
|
5582
5583
|
readonly ofTotal: "of total";
|
|
5583
5584
|
readonly total: "total";
|
|
5584
5585
|
readonly target: "target";
|
|
5586
|
+
readonly ofTarget: "of target";
|
|
5585
5587
|
readonly ofRange: "of range";
|
|
5586
5588
|
readonly fromPrevious: "from previous";
|
|
5587
5589
|
readonly fromStage: "from {{stage}}";
|
|
@@ -5874,6 +5876,7 @@ export declare const defaultTranslations: {
|
|
|
5874
5876
|
readonly editParamsTitle: "Edit widget params";
|
|
5875
5877
|
readonly removeWidget: "Remove widget";
|
|
5876
5878
|
readonly addWidget: "Add widget";
|
|
5879
|
+
readonly configureWidget: "Configure {{title}}";
|
|
5877
5880
|
/** Heads the widgets a Home suggests, at the top of the picker. */
|
|
5878
5881
|
readonly recommended: "Recommended";
|
|
5879
5882
|
/** Why a drop onto a pinned widget was refused. `{{title}}` is its name. */
|
|
@@ -9049,6 +9052,33 @@ export declare interface F0DataChartBarProps extends F0DataChartBaseProps {
|
|
|
9049
9052
|
orientation?: "vertical" | "horizontal";
|
|
9050
9053
|
/** Stack all series into a single bar per category. @default false */
|
|
9051
9054
|
stacked?: boolean;
|
|
9055
|
+
/**
|
|
9056
|
+
* Draw the stretch of a bar that ran past its `target` in a darker shade of
|
|
9057
|
+
* the bar's own colour, split at the target.
|
|
9058
|
+
*
|
|
9059
|
+
* Left off, a target only shows as the faded ghost the bar has yet to reach,
|
|
9060
|
+
* so a bar that beat its target looks the same as one that landed exactly on
|
|
9061
|
+
* it — the reader has to eye its height against the ghosts beside it. Turn it
|
|
9062
|
+
* on wherever passing the target is itself the news: attainment against a
|
|
9063
|
+
* quota, a goal, a budget.
|
|
9064
|
+
*
|
|
9065
|
+
* Ignored by points with no target, and by negative values — "past the
|
|
9066
|
+
* target" has no single reading when the bar grows downwards.
|
|
9067
|
+
* @default false
|
|
9068
|
+
*/
|
|
9069
|
+
highlightOverachievement?: boolean;
|
|
9070
|
+
/**
|
|
9071
|
+
* Add the share of the target the bar reached to its tooltip, under the
|
|
9072
|
+
* target row (e.g. "108.1% of target").
|
|
9073
|
+
*
|
|
9074
|
+
* Opt-in: the percentage answers "how did this do against its target", which
|
|
9075
|
+
* is the question on a quota or a goal, and noise on a chart where the target
|
|
9076
|
+
* is a reference line the reader is not scoring against.
|
|
9077
|
+
*
|
|
9078
|
+
* The percentage is `value / target`, the same two numbers the bar draws.
|
|
9079
|
+
* @default false
|
|
9080
|
+
*/
|
|
9081
|
+
showTargetProgress?: boolean;
|
|
9052
9082
|
/**
|
|
9053
9083
|
* When {@link F0DataChartBaseProps.showLabels} is on, hide a category's value
|
|
9054
9084
|
* labels if the widest value in that category doesn't fit the bar. The whole
|
|
@@ -20400,11 +20430,9 @@ declare module "@tiptap/core" {
|
|
|
20400
20430
|
|
|
20401
20431
|
declare module "@tiptap/core" {
|
|
20402
20432
|
interface Commands<ReturnType> {
|
|
20403
|
-
|
|
20404
|
-
|
|
20405
|
-
|
|
20406
|
-
}) => ReturnType;
|
|
20407
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
20433
|
+
fontSize: {
|
|
20434
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
20435
|
+
unsetFontSize: () => ReturnType;
|
|
20408
20436
|
};
|
|
20409
20437
|
}
|
|
20410
20438
|
}
|
|
@@ -20412,9 +20440,11 @@ declare module "@tiptap/core" {
|
|
|
20412
20440
|
|
|
20413
20441
|
declare module "@tiptap/core" {
|
|
20414
20442
|
interface Commands<ReturnType> {
|
|
20415
|
-
|
|
20416
|
-
|
|
20417
|
-
|
|
20443
|
+
enhanceHighlight: {
|
|
20444
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
20445
|
+
placeholder?: string;
|
|
20446
|
+
}) => ReturnType;
|
|
20447
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
20418
20448
|
};
|
|
20419
20449
|
}
|
|
20420
20450
|
}
|