@factorialco/f0-react 4.44.0 → 4.45.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/{DocumentToolbar-D3GqxyBD.js → DocumentToolbar-CW3DaM_j.js} +1 -1
- package/dist/{DocxViewer-BIZmtyWY.js → DocxViewer-Dpj4i6ig.js} +2 -2
- package/dist/{SheetViewer-HsR5toIL.js → SheetViewer-huUU5vFM.js} +1 -1
- package/dist/{TextViewer-Dn0MDAXs.js → TextViewer-DXDZcvag.js} +1 -1
- package/dist/ai.d.ts +4 -0
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +11 -1
- package/dist/experimental.js +2 -2
- package/dist/{f0-BaDuQbAV.js → f0-C3TJ0moH.js} +222 -384
- package/dist/f0.d.ts +44 -0
- package/dist/f0.js +114 -114
- package/dist/i18n-provider-defaults.d.ts +4 -0
- package/dist/i18n-provider-defaults.js +5 -1
- package/dist/{index-DoDUaTro.js → index-CNi_8WQC.js} +14655 -14406
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as i, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { useState as u, useCallback as m, useMemo as p } from "react";
|
|
3
3
|
import { u as x, h as w, i as k, j as S, k as h } from "./F0CanvasPanel-VGTPb68G.js";
|
|
4
|
-
import { n as C, a as g, f as v, T as r, d as F } from "./f0-
|
|
4
|
+
import { n as C, a as g, f as v, T as r, d as F } from "./f0-C3TJ0moH.js";
|
|
5
5
|
const D = () => {
|
|
6
6
|
const [t, a] = u(1), n = m(
|
|
7
7
|
() => a((e) => C(e) ?? e),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as qt, jsx as zt } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as Se, useState as Ce, useEffect as xe } from "react";
|
|
3
3
|
import { m as Rt, n as Pe, u as Ae, S as Ee } from "./F0CanvasPanel-VGTPb68G.js";
|
|
4
|
-
import { c as Tt } from "./f0-
|
|
5
|
-
import { u as Ne, D as Me } from "./DocumentToolbar-
|
|
4
|
+
import { c as Tt } from "./f0-C3TJ0moH.js";
|
|
5
|
+
import { u as Ne, D as Me } from "./DocumentToolbar-CW3DaM_j.js";
|
|
6
6
|
var Ut = { exports: {} };
|
|
7
7
|
var Jt;
|
|
8
8
|
function Be() {
|
|
@@ -2,7 +2,7 @@ import { jsxs as m, jsx as r, Fragment as N } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as b, useEffect as S } from "react";
|
|
3
3
|
import { u as v, T as _, l as R, S as V } from "./F0CanvasPanel-VGTPb68G.js";
|
|
4
4
|
import { utils as p, read as E } from "./xlsx-CzlURDDb.js";
|
|
5
|
-
import { u as M, D as j } from "./DocumentToolbar-
|
|
5
|
+
import { u as M, D as j } from "./DocumentToolbar-CW3DaM_j.js";
|
|
6
6
|
const z = (a, { maxRows: d, maxCols: s }) => {
|
|
7
7
|
const n = E(a, { type: "array" });
|
|
8
8
|
return n.SheetNames.map((t) => {
|
|
@@ -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
3
|
import { u as x, S as p, p as w } from "./F0CanvasPanel-VGTPb68G.js";
|
|
4
|
-
import { u as y, D as g } from "./DocumentToolbar-
|
|
4
|
+
import { u as y, D as g } from "./DocumentToolbar-CW3DaM_j.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
|
@@ -2644,6 +2644,10 @@ export declare const defaultTranslations: {
|
|
|
2644
2644
|
readonly addBlockedHint: "Finish filling out the last item you just added in order to add another one";
|
|
2645
2645
|
readonly addBlockedErrorHint: "Fix the errors in the existing items before adding another one";
|
|
2646
2646
|
readonly addBlockedMaxHint: "You've reached the maximum number of items";
|
|
2647
|
+
readonly removeConfirmTitle: "Remove item?";
|
|
2648
|
+
readonly removeConfirmMessage: "This item will be removed. This action cannot be undone.";
|
|
2649
|
+
readonly removeError: "Couldn't remove the item. Please try again.";
|
|
2650
|
+
readonly removeErrorTitle: "Remove failed";
|
|
2647
2651
|
};
|
|
2648
2652
|
readonly moreInformation: "More information";
|
|
2649
2653
|
readonly validation: {
|