@factorialco/f0-react 1.330.2 → 1.331.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/{AiChatTranslationsProvider-DNIBU8bk.js → AiChatTranslationsProvider-QZWWixJl.js} +1336 -1370
- package/dist/ai.d.ts +34 -22
- package/dist/ai.js +2 -2
- package/dist/experimental.css +1 -1
- package/dist/experimental.d.ts +47 -22
- package/dist/experimental.js +7635 -7369
- package/dist/f0.d.ts +34 -22
- package/dist/f0.js +4 -4
- package/dist/{hooks-DKv_db4S.js → hooks-C20Q7cic.js} +1 -1
- package/dist/i18n-provider-defaults.d.ts +34 -22
- package/dist/i18n-provider-defaults.js +12 -0
- package/dist/{index-DKqhBrTp.js → index-BgJcUQer.js} +9018 -8982
- package/package.json +3 -1
package/dist/f0.d.ts
CHANGED
|
@@ -1906,6 +1906,18 @@ export declare const defaultTranslations: {
|
|
|
1906
1906
|
readonly greaterThan: "It should be greater than {{min}}";
|
|
1907
1907
|
readonly lessThan: "It should be less than {{max}}";
|
|
1908
1908
|
};
|
|
1909
|
+
readonly imageUpload: {
|
|
1910
|
+
readonly uploading: "Uploading...";
|
|
1911
|
+
readonly uploadError: "Upload failed";
|
|
1912
|
+
readonly insertImage: "Image";
|
|
1913
|
+
readonly deleteImage: "Delete";
|
|
1914
|
+
readonly errors: {
|
|
1915
|
+
readonly fileTooLarge: "The file is too large";
|
|
1916
|
+
readonly invalidType: "Invalid file type. Only images are allowed";
|
|
1917
|
+
readonly uploadFailed: "Failed to upload image. Please try again";
|
|
1918
|
+
readonly dismiss: "Dismiss";
|
|
1919
|
+
};
|
|
1920
|
+
};
|
|
1909
1921
|
readonly coCreationForm: {
|
|
1910
1922
|
readonly actions: {
|
|
1911
1923
|
readonly actions: "Actions";
|
|
@@ -5124,6 +5136,23 @@ declare global {
|
|
|
5124
5136
|
}
|
|
5125
5137
|
}
|
|
5126
5138
|
|
|
5139
|
+
declare module "gridstack" {
|
|
5140
|
+
interface GridStackWidget {
|
|
5141
|
+
id?: string;
|
|
5142
|
+
allowedSizes?: Array<{
|
|
5143
|
+
w: number;
|
|
5144
|
+
h: number;
|
|
5145
|
+
}>;
|
|
5146
|
+
meta?: Record<string, unknown>;
|
|
5147
|
+
}
|
|
5148
|
+
interface GridStackNode {
|
|
5149
|
+
allowedSizes?: Array<{
|
|
5150
|
+
w: number;
|
|
5151
|
+
h: number;
|
|
5152
|
+
}>;
|
|
5153
|
+
}
|
|
5154
|
+
}
|
|
5155
|
+
|
|
5127
5156
|
|
|
5128
5157
|
declare module "@tiptap/core" {
|
|
5129
5158
|
interface Commands<ReturnType> {
|
|
@@ -5151,28 +5180,6 @@ declare module "@tiptap/core" {
|
|
|
5151
5180
|
}
|
|
5152
5181
|
}
|
|
5153
5182
|
|
|
5154
|
-
declare module "gridstack" {
|
|
5155
|
-
interface GridStackWidget {
|
|
5156
|
-
id?: string;
|
|
5157
|
-
allowedSizes?: Array<{
|
|
5158
|
-
w: number;
|
|
5159
|
-
h: number;
|
|
5160
|
-
}>;
|
|
5161
|
-
meta?: Record<string, unknown>;
|
|
5162
|
-
}
|
|
5163
|
-
interface GridStackNode {
|
|
5164
|
-
allowedSizes?: Array<{
|
|
5165
|
-
w: number;
|
|
5166
|
-
h: number;
|
|
5167
|
-
}>;
|
|
5168
|
-
}
|
|
5169
|
-
}
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
declare namespace Calendar {
|
|
5173
|
-
var displayName: string;
|
|
5174
|
-
}
|
|
5175
|
-
|
|
5176
5183
|
|
|
5177
5184
|
declare module "@tiptap/core" {
|
|
5178
5185
|
interface Commands<ReturnType> {
|
|
@@ -5181,3 +5188,8 @@ declare module "@tiptap/core" {
|
|
|
5181
5188
|
};
|
|
5182
5189
|
}
|
|
5183
5190
|
}
|
|
5191
|
+
|
|
5192
|
+
|
|
5193
|
+
declare namespace Calendar {
|
|
5194
|
+
var displayName: string;
|
|
5195
|
+
}
|
package/dist/f0.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as j, a as Di, b as En, m as Ri, B as Si, O as Kr, p as Xr, w as Dn, S as xe, u as Rn, F as Sn, d as Yr, A as Vr, D as qr, e as Jr, f as we, C as me, g as Zr, h as Qr, i as Nn, j as es, k as Mt, P as An, l as On, n as ts, o as kn, q as Tn, r as zn, s as is, t as ns, v as qi, x as rs, y as Pn, z as ss, E as os, G as as, H as ls, J as cs, K as Mn, L as qe, M as ds, U as us, N as hs, I as fs, Q as gs, X as ps, R as ms, T as vs } from "./index-
|
|
2
|
-
import { ac as hd, ar as fd, V as gd, W as pd, Y as md, Z as vd, _ as yd, a0 as bd, a1 as xd, a2 as wd, a3 as Cd, a4 as _d, a5 as Ed, a6 as Dd, a7 as Rd, an as Sd, a9 as Nd, aa as Ad, ad as Od, ab as kd, ao as Td, ai as zd, al as Pd, ah as Md, as as Ld, ag as Id, af as Hd, $ as Bd, ae as Fd, aj as Wd, at as Gd, a8 as $d, ak as jd, aq as Ud, am as Kd, ap as Xd } from "./index-
|
|
1
|
+
import { c as j, a as Di, b as En, m as Ri, B as Si, O as Kr, p as Xr, w as Dn, S as xe, u as Rn, F as Sn, d as Yr, A as Vr, D as qr, e as Jr, f as we, C as me, g as Zr, h as Qr, i as Nn, j as es, k as Mt, P as An, l as On, n as ts, o as kn, q as Tn, r as zn, s as is, t as ns, v as qi, x as rs, y as Pn, z as ss, E as os, G as as, H as ls, J as cs, K as Mn, L as qe, M as ds, U as us, N as hs, I as fs, Q as gs, X as ps, R as ms, T as vs } from "./index-BgJcUQer.js";
|
|
2
|
+
import { ac as hd, ar as fd, V as gd, W as pd, Y as md, Z as vd, _ as yd, a0 as bd, a1 as xd, a2 as wd, a3 as Cd, a4 as _d, a5 as Ed, a6 as Dd, a7 as Rd, an as Sd, a9 as Nd, aa as Ad, ad as Od, ab as kd, ao as Td, ai as zd, al as Pd, ah as Md, as as Ld, ag as Id, af as Hd, $ as Bd, ae as Fd, aj as Wd, at as Gd, a8 as $d, ak as jd, aq as Ud, am as Kd, ap as Xd } from "./index-BgJcUQer.js";
|
|
3
3
|
import { jsx as f, jsxs as P, Fragment as qt } from "react/jsx-runtime";
|
|
4
4
|
import M, { forwardRef as oe, useRef as L, useImperativeHandle as ys, Children as Lt, createContext as Ae, useContext as _e, useState as B, useMemo as H, useEffect as I, useCallback as U, useLayoutEffect as vi, createElement as Ji, isValidElement as Ln, Fragment as bs, memo as xs, useReducer as ws, cloneElement as Cs, PureComponent as _s } from "react";
|
|
5
5
|
import { createPortal as In, unstable_batchedUpdates as At } from "react-dom";
|
|
6
|
-
import { L as Hn, C as Es, i as Bn, D as Ds, S as Zi, a as Rs, f as di, b as lt, c as Ss, A as Ns, d as Ot, e as Fn, E as As, g as zt, h as Os, j as ks, k as Ts, l as Xe, m as Wn, u as zs, G as Ps, n as Ms, o as Qi, p as Ls, q as Gn, r as Is, B as $n, X as jn, Y as yi, s as Hs, t as Un, v as Bs, w as Fs, x as Ws, y as Gs, z as $s, F as js, H as Us, I as Ks, J as en, K as Xs, M as ct, N as ui, O as Ys, P as Vs, Q as qs, R as Js, T as Zs, U as Qs, V as eo, W as to, Z as io, _ as no, $ as ro, a0 as tn, a1 as so, a2 as oo, a3 as Kn, a4 as ao, a5 as lo, a6 as nn, a7 as co, a8 as Xn, a9 as uo, aa as ho, ab as fo, ac as go } from "./hooks-
|
|
7
|
-
import { aw as Vd, ad as qd, ae as Jd, af as Zd, ai as Qd, aj as eu, an as tu, ao as iu, ap as nu, ar as ru, as as su, at as ou, au, am as lu, aq as cu, ag as du, ah as uu, av as hu, ak as fu, al as gu, ax as pu, ay as mu, az as vu, aA as yu } from "./hooks-
|
|
6
|
+
import { L as Hn, C as Es, i as Bn, D as Ds, S as Zi, a as Rs, f as di, b as lt, c as Ss, A as Ns, d as Ot, e as Fn, E as As, g as zt, h as Os, j as ks, k as Ts, l as Xe, m as Wn, u as zs, G as Ps, n as Ms, o as Qi, p as Ls, q as Gn, r as Is, B as $n, X as jn, Y as yi, s as Hs, t as Un, v as Bs, w as Fs, x as Ws, y as Gs, z as $s, F as js, H as Us, I as Ks, J as en, K as Xs, M as ct, N as ui, O as Ys, P as Vs, Q as qs, R as Js, T as Zs, U as Qs, V as eo, W as to, Z as io, _ as no, $ as ro, a0 as tn, a1 as so, a2 as oo, a3 as Kn, a4 as ao, a5 as lo, a6 as nn, a7 as co, a8 as Xn, a9 as uo, aa as ho, ab as fo, ac as go } from "./hooks-C20Q7cic.js";
|
|
7
|
+
import { aw as Vd, ad as qd, ae as Jd, af as Zd, ai as Qd, aj as eu, an as tu, ao as iu, ap as nu, ar as ru, as as su, at as ou, au, am as lu, aq as cu, ag as du, ah as uu, av as hu, ak as fu, al as gu, ax as pu, ay as mu, az as vu, aA as yu } from "./hooks-C20Q7cic.js";
|
|
8
8
|
import { defaultTranslations as xu } from "./i18n-provider-defaults.js";
|
|
9
9
|
import './f0.css';const po = {
|
|
10
10
|
xs: 1,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _, jsxs as K, Fragment as St } from "react/jsx-runtime";
|
|
2
2
|
import * as ue from "react";
|
|
3
3
|
import T, { useRef as Vt, useState as Te, useCallback as rr, useEffect as Ue, useContext as it, useMemo as Qe, useLayoutEffect as Yw, createContext as Lt, isValidElement as It, Children as zr, PureComponent as Et, forwardRef as De, useImperativeHandle as nE, cloneElement as Le, createElement as Xw, Component as Zw, useId as aE } from "react";
|
|
4
|
-
import {
|
|
4
|
+
import { bi as Zv, bg as iE, dj as oE, B as On, aC as Jw, c as Z, aD as Qw, aw as sE, ax as uE, a as ms, dk as Vi, bt as xe, D as cE, dl as lE, dm as fE, aI as eO, dn as dE, dp as pE, bL as ih, dq as hE, F as vt, E as gs, aT as tO, b2 as oh, au as rO, dr as pn, ds as vE, dt as yE, du as mE, dv as Jv, dw as Qv, dx as ey, dy as ty, dz as ry, dA as nO, dB as fo, dC as gE, dD as bE, cr as Ba, dE as xE, cO as aO, cP as iO, cQ as oO, q as sO, V as Qr, r as uO, s as cO, bQ as sh, g as le, cb as wE, bB as uh, bC as ch, bD as lh, bG as fh, b5 as OE, b7 as dh, d5 as SE, cp as _E, ay as AE, av as PE, cx as Ei, u as Jn, aU as EE, bA as TE, L as Ut, a9 as lO, Y as CE, Z as fO, _ as jE, da as bs, dF as ME, O as Ti, aR as $E, aF as IE, aZ as kE, aG as dO, b1 as NE, m as DE, z as ph, e as RE, a4 as LE, n as qE, bN as BE, S as xt, w as pO, dG as hO, y as FE, K as vO, t as zE, cX as $e, dH as yO, dI as mO, dJ as Pd, dK as WE, dL as ny, P as UE, l as HE, o as KE, dh as VE, aa as GE, d7 as YE, az as XE, dM as ZE, f as JE, G as QE, H as eT, J as tT, M as rT } from "./index-BgJcUQer.js";
|
|
5
5
|
function nT(e) {
|
|
6
6
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
7
7
|
}
|
|
@@ -384,6 +384,18 @@ export declare const defaultTranslations: {
|
|
|
384
384
|
readonly greaterThan: "It should be greater than {{min}}";
|
|
385
385
|
readonly lessThan: "It should be less than {{max}}";
|
|
386
386
|
};
|
|
387
|
+
readonly imageUpload: {
|
|
388
|
+
readonly uploading: "Uploading...";
|
|
389
|
+
readonly uploadError: "Upload failed";
|
|
390
|
+
readonly insertImage: "Image";
|
|
391
|
+
readonly deleteImage: "Delete";
|
|
392
|
+
readonly errors: {
|
|
393
|
+
readonly fileTooLarge: "The file is too large";
|
|
394
|
+
readonly invalidType: "Invalid file type. Only images are allowed";
|
|
395
|
+
readonly uploadFailed: "Failed to upload image. Please try again";
|
|
396
|
+
readonly dismiss: "Dismiss";
|
|
397
|
+
};
|
|
398
|
+
};
|
|
387
399
|
readonly coCreationForm: {
|
|
388
400
|
readonly actions: {
|
|
389
401
|
readonly actions: "Actions";
|
|
@@ -458,6 +470,23 @@ declare global {
|
|
|
458
470
|
}
|
|
459
471
|
}
|
|
460
472
|
|
|
473
|
+
declare module "gridstack" {
|
|
474
|
+
interface GridStackWidget {
|
|
475
|
+
id?: string;
|
|
476
|
+
allowedSizes?: Array<{
|
|
477
|
+
w: number;
|
|
478
|
+
h: number;
|
|
479
|
+
}>;
|
|
480
|
+
meta?: Record<string, unknown>;
|
|
481
|
+
}
|
|
482
|
+
interface GridStackNode {
|
|
483
|
+
allowedSizes?: Array<{
|
|
484
|
+
w: number;
|
|
485
|
+
h: number;
|
|
486
|
+
}>;
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
|
|
461
490
|
|
|
462
491
|
declare module "@tiptap/core" {
|
|
463
492
|
interface Commands<ReturnType> {
|
|
@@ -485,28 +514,6 @@ declare module "@tiptap/core" {
|
|
|
485
514
|
}
|
|
486
515
|
}
|
|
487
516
|
|
|
488
|
-
declare module "gridstack" {
|
|
489
|
-
interface GridStackWidget {
|
|
490
|
-
id?: string;
|
|
491
|
-
allowedSizes?: Array<{
|
|
492
|
-
w: number;
|
|
493
|
-
h: number;
|
|
494
|
-
}>;
|
|
495
|
-
meta?: Record<string, unknown>;
|
|
496
|
-
}
|
|
497
|
-
interface GridStackNode {
|
|
498
|
-
allowedSizes?: Array<{
|
|
499
|
-
w: number;
|
|
500
|
-
h: number;
|
|
501
|
-
}>;
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
declare namespace Calendar {
|
|
507
|
-
var displayName: string;
|
|
508
|
-
}
|
|
509
|
-
|
|
510
517
|
|
|
511
518
|
declare module "@tiptap/core" {
|
|
512
519
|
interface Commands<ReturnType> {
|
|
@@ -515,3 +522,8 @@ declare module "@tiptap/core" {
|
|
|
515
522
|
};
|
|
516
523
|
}
|
|
517
524
|
}
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
declare namespace Calendar {
|
|
528
|
+
var displayName: string;
|
|
529
|
+
}
|
|
@@ -384,6 +384,18 @@ const e = {
|
|
|
384
384
|
greaterThan: "It should be greater than {{min}}",
|
|
385
385
|
lessThan: "It should be less than {{max}}"
|
|
386
386
|
},
|
|
387
|
+
imageUpload: {
|
|
388
|
+
uploading: "Uploading...",
|
|
389
|
+
uploadError: "Upload failed",
|
|
390
|
+
insertImage: "Image",
|
|
391
|
+
deleteImage: "Delete",
|
|
392
|
+
errors: {
|
|
393
|
+
fileTooLarge: "The file is too large",
|
|
394
|
+
invalidType: "Invalid file type. Only images are allowed",
|
|
395
|
+
uploadFailed: "Failed to upload image. Please try again",
|
|
396
|
+
dismiss: "Dismiss"
|
|
397
|
+
}
|
|
398
|
+
},
|
|
387
399
|
coCreationForm: {
|
|
388
400
|
actions: {
|
|
389
401
|
actions: "Actions",
|