@factorialco/f0-react 8.2.3 → 8.3.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-COKGDoU4.js → ChatPdfThumbnail-CCRciWM2.js} +1 -1
- package/dist/{ChatPostComposerDialog-aYhxOQFt.js → ChatPostComposerDialog-dsZQOo0W.js} +3 -3
- package/dist/{DocumentToolbar-CiVEF7T7.js → DocumentToolbar-DRjc6OvY.js} +2 -2
- package/dist/{DocxViewer-DtZSYNDa.js → DocxViewer-BpBOMZ4p.js} +2 -2
- package/dist/{F0AiProcessingOverlay-BmfbJTsE.js → F0AiProcessingOverlay-DomyajN4.js} +1 -1
- package/dist/{F0CanvasPanel-ZH654ps8.js → F0CanvasPanel-Zn3xngd4.js} +919 -894
- package/dist/{F0Map-CqhBvu45.js → F0Map-N_g1233G.js} +4 -4
- package/dist/{F0VideoPlayer-7nNJQXsg.js → F0VideoPlayer-BXPQpZho.js} +2 -2
- package/dist/{MapProvider-sEFOQXkq.js → MapProvider-BlpN6UTt.js} +2264 -2264
- package/dist/{SheetViewer-D00VMVS3.js → SheetViewer-CB7xAKss.js} +2 -2
- package/dist/{TextViewer-pCBh0C84.js → TextViewer-BJ0XoI2w.js} +2 -2
- package/dist/ai.d.ts +28 -11
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +11 -11
- package/dist/component-status.js +1 -1
- package/dist/{experimental-B5tD9hBh.js → experimental-o8CO5jov.js} +7 -7
- package/dist/experimental.d.ts +28 -11
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +28 -11
- package/dist/f0.js +10 -10
- package/dist/i18n-provider-defaults.d.ts +11 -11
- package/dist/index-BB_EwD91.js +4 -0
- package/dist/{index-o_lLBrFM.js → index-BWg4BuiJ.js} +3 -3
- package/dist/{index-fon9KUMB.js → index-Bf9YiH2E.js} +2 -2
- package/dist/{index-CMVeAcRE.js → index-DT3Cmxtt.js} +1 -1
- package/dist/{index-CQOzv2BT.js → index-Uo3ZhqG6.js} +3 -3
- package/dist/{pdfWorker-DzRy-LZp.js → pdfWorker-mOY4-mCQ.js} +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/index-C0UMcTIA.js +0 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as a, jsx as r, Fragment as N } from "react/jsx-runtime";
|
|
2
2
|
import { useState as i, useEffect as k } from "react";
|
|
3
|
-
import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-
|
|
3
|
+
import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-Zn3xngd4.js";
|
|
4
4
|
import { f as z, c as E } from "./sheetPreview-Djc-YyVs.js";
|
|
5
|
-
import { u as _, D as j } from "./DocumentToolbar-
|
|
5
|
+
import { u as _, D as j } from "./DocumentToolbar-DRjc6OvY.js";
|
|
6
6
|
const g = 1e3, F = 100, G = ({
|
|
7
7
|
url: n,
|
|
8
8
|
filename: y,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as b, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as _, useEffect as h } from "react";
|
|
3
|
-
import { u as x, S as p, p as w } from "./F0CanvasPanel-
|
|
4
|
-
import { u as y, D as g } from "./DocumentToolbar-
|
|
3
|
+
import { u as x, S as p, p as w } from "./F0CanvasPanel-Zn3xngd4.js";
|
|
4
|
+
import { u as y, D as g } from "./DocumentToolbar-DRjc6OvY.js";
|
|
5
5
|
const k = 2 * 1024 * 1024, v = [
|
|
6
6
|
"[&_h1]:mb-3 [&_h1]:mt-6 [&_h1]:text-2xl [&_h1]:font-semibold",
|
|
7
7
|
"[&_h2]:mb-2 [&_h2]:mt-5 [&_h2]:text-xl [&_h2]:font-semibold",
|
package/dist/ai.d.ts
CHANGED
|
@@ -1545,6 +1545,9 @@ declare interface CardBookmark {
|
|
|
1545
1545
|
label?: string;
|
|
1546
1546
|
}
|
|
1547
1547
|
|
|
1548
|
+
/** Size of the trailing controls (buttons and the "⋯" menu trigger). */
|
|
1549
|
+
declare type CardHorizontalActionsSize = "sm" | "md";
|
|
1550
|
+
|
|
1548
1551
|
declare interface CardHorizontalConfirmAction {
|
|
1549
1552
|
onClick: () => void;
|
|
1550
1553
|
/** Accessible label and tooltip. Defaults to "Confirm" / "Reject". */
|
|
@@ -5103,6 +5106,15 @@ declare interface F0CardHorizontalProps {
|
|
|
5103
5106
|
* lines when long).
|
|
5104
5107
|
*/
|
|
5105
5108
|
description?: string;
|
|
5109
|
+
/**
|
|
5110
|
+
* A short mark rendered inline right after the title, qualifying the card's
|
|
5111
|
+
* subject (e.g. "Default"). It takes no width from the description and
|
|
5112
|
+
* never replaces the actions, unlike `status`.
|
|
5113
|
+
*/
|
|
5114
|
+
tag?: {
|
|
5115
|
+
text: string;
|
|
5116
|
+
icon?: IconType;
|
|
5117
|
+
};
|
|
5106
5118
|
/**
|
|
5107
5119
|
* Optional avatar rendered at a fixed `lg` size on the left (the size is not
|
|
5108
5120
|
* configurable). Accepts any avatar type in the system: person, company, team,
|
|
@@ -5122,6 +5134,11 @@ declare interface F0CardHorizontalProps {
|
|
|
5122
5134
|
* Overflow (⋯) menu actions, rendered as the trailing control of the row.
|
|
5123
5135
|
*/
|
|
5124
5136
|
otherActions?: DropdownItem[];
|
|
5137
|
+
/**
|
|
5138
|
+
* Size of the trailing controls (buttons and the "⋯" menu trigger).
|
|
5139
|
+
* @default "md"
|
|
5140
|
+
*/
|
|
5141
|
+
actionsSize?: CardHorizontalActionsSize;
|
|
5125
5142
|
/**
|
|
5126
5143
|
* Confirm/reject variant: renders an icon-only ✗ (reject) + ✓ (confirm) pair
|
|
5127
5144
|
* instead of the standard actions. Provide either or both.
|
|
@@ -6744,11 +6761,9 @@ declare namespace Calendar {
|
|
|
6744
6761
|
|
|
6745
6762
|
declare module "@tiptap/core" {
|
|
6746
6763
|
interface Commands<ReturnType> {
|
|
6747
|
-
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
}) => ReturnType;
|
|
6751
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
6764
|
+
aiBlock: {
|
|
6765
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
6766
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
6752
6767
|
};
|
|
6753
6768
|
}
|
|
6754
6769
|
}
|
|
@@ -6756,9 +6771,9 @@ declare module "@tiptap/core" {
|
|
|
6756
6771
|
|
|
6757
6772
|
declare module "@tiptap/core" {
|
|
6758
6773
|
interface Commands<ReturnType> {
|
|
6759
|
-
|
|
6760
|
-
|
|
6761
|
-
|
|
6774
|
+
fontSize: {
|
|
6775
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
6776
|
+
unsetFontSize: () => ReturnType;
|
|
6762
6777
|
};
|
|
6763
6778
|
}
|
|
6764
6779
|
}
|
|
@@ -6766,9 +6781,11 @@ declare module "@tiptap/core" {
|
|
|
6766
6781
|
|
|
6767
6782
|
declare module "@tiptap/core" {
|
|
6768
6783
|
interface Commands<ReturnType> {
|
|
6769
|
-
|
|
6770
|
-
|
|
6771
|
-
|
|
6784
|
+
enhanceHighlight: {
|
|
6785
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
6786
|
+
placeholder?: string;
|
|
6787
|
+
}) => ReturnType;
|
|
6788
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
6772
6789
|
};
|
|
6773
6790
|
}
|
|
6774
6791
|
}
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as e, D as r, c as t, F as i, a as o, f as n, g as F, d as C, e as l, I as A, P as d, b as u, u as m } from "./F0CanvasPanel-
|
|
1
|
+
import { C as e, D as r, c as t, F as i, a as o, f as n, g as F, d as C, e as l, I as A, P as d, b as u, u as m } from "./F0CanvasPanel-Zn3xngd4.js";
|
|
2
2
|
import { defaultTranslations as c } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as g, C as p, t as v, s as I, v as T, y as S, B as f, l as y, i as x, q as b, E as k, G as B, p as H, r as L, j as M, e as O, g as V, k as w, F as D, T as z, w as E, h as G, a as j, n as q, z as R, m as U, o as J, D as K, b as N, f as Q, x as W, c as X, d as Y, u as Z } from "./F0AiProcessingOverlay-
|
|
3
|
+
import { A as g, C as p, t as v, s as I, v as T, y as S, B as f, l as y, i as x, q as b, E as k, G as B, p as H, r as L, j as M, e as O, g as V, k as w, F as D, T as z, w as E, h as G, a as j, n as q, z as R, m as U, o as J, D as K, b as N, f as Q, x as W, c as X, d as Y, u as Z } from "./F0AiProcessingOverlay-DomyajN4.js";
|
|
4
4
|
export {
|
|
5
5
|
g as AiChatTranslationsProvider,
|
|
6
6
|
e as ChatSpinner,
|
|
@@ -296,11 +296,9 @@ declare namespace Calendar {
|
|
|
296
296
|
|
|
297
297
|
declare module "@tiptap/core" {
|
|
298
298
|
interface Commands<ReturnType> {
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
}) => ReturnType;
|
|
303
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
299
|
+
aiBlock: {
|
|
300
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
301
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
304
302
|
};
|
|
305
303
|
}
|
|
306
304
|
}
|
|
@@ -308,9 +306,9 @@ declare module "@tiptap/core" {
|
|
|
308
306
|
|
|
309
307
|
declare module "@tiptap/core" {
|
|
310
308
|
interface Commands<ReturnType> {
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
309
|
+
fontSize: {
|
|
310
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
311
|
+
unsetFontSize: () => ReturnType;
|
|
314
312
|
};
|
|
315
313
|
}
|
|
316
314
|
}
|
|
@@ -318,9 +316,11 @@ declare module "@tiptap/core" {
|
|
|
318
316
|
|
|
319
317
|
declare module "@tiptap/core" {
|
|
320
318
|
interface Commands<ReturnType> {
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
319
|
+
enhanceHighlight: {
|
|
320
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
321
|
+
placeholder?: string;
|
|
322
|
+
}) => ReturnType;
|
|
323
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
324
324
|
};
|
|
325
325
|
}
|
|
326
326
|
}
|