@factorialco/f0-react 1.330.2 → 1.332.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/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";
@@ -3450,6 +3462,7 @@ export declare const modules: {
3450
3462
  readonly calendar: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
3451
3463
  readonly cards: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
3452
3464
  readonly "clock-in": ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
3465
+ readonly communities: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
3453
3466
  readonly company_attendance: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
3454
3467
  readonly company_documents: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
3455
3468
  readonly company_projects: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
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-DKqhBrTp.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-DKqhBrTp.js";
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-DegD6xrc.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-DegD6xrc.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-DKv_db4S.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-DKv_db4S.js";
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-REYAn-4Z.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-REYAn-4Z.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 { bg as Zv, be as iE, dh as oE, B as On, aC as Jw, c as Z, aD as Qw, aw as sE, ax as uE, a as ms, di as Vi, br as xe, D as cE, dj as lE, dk as fE, aI as eO, dl as dE, dm as pE, bJ as ih, dn as hE, F as vt, E as gs, aT as tO, b0 as oh, au as rO, dp as pn, dq as vE, dr as yE, ds as mE, dt as Jv, du as Qv, dv as ey, dw as ty, dx as ry, dy as nO, dz as fo, dA as gE, dB as bE, cp as Ba, dC as xE, cM as aO, cN as iO, cO as oO, q as sO, V as Qr, r as uO, s as cO, bO as sh, g as le, c9 as wE, bz as uh, bA as ch, bB as lh, bE as fh, b3 as OE, b5 as dh, d3 as SE, cn as _E, ay as AE, av as PE, cv as Ei, u as Jn, aU as EE, by as TE, L as Ut, a9 as lO, Y as CE, Z as fO, _ as jE, d8 as bs, dD as ME, O as Ti, aR as $E, aF as IE, aY as kE, aG as dO, a$ as NE, m as DE, z as ph, e as RE, a4 as LE, n as qE, bL as BE, S as xt, w as pO, dE as hO, y as FE, K as vO, t as zE, cV as $e, dF as yO, dG as mO, dH as Pd, dI as WE, dJ as ny, P as UE, l as HE, o as KE, df as VE, aa as GE, d5 as YE, az as XE, dK as ZE, f as JE, G as QE, H as eT, J as tT, M as rT } from "./index-DKqhBrTp.js";
4
+ import { bg as Zv, be as iE, dh as oE, B as On, aC as Jw, c as Z, aD as Qw, aw as sE, ax as uE, a as ms, di as Vi, br as xe, D as cE, dj as lE, dk as fE, aI as eO, dl as dE, dm as pE, bJ as ih, dn as hE, F as vt, E as gs, aT as tO, b0 as oh, au as rO, dp as pn, dq as vE, dr as yE, ds as mE, dt as Jv, du as Qv, dv as ey, dw as ty, dx as ry, dy as nO, dz as fo, dA as gE, dB as bE, cp as Ba, dC as xE, cM as aO, cN as iO, cO as oO, q as sO, V as Qr, r as uO, s as cO, bO as sh, g as le, c9 as wE, bz as uh, bA as ch, bB as lh, bE as fh, b3 as OE, b5 as dh, d3 as SE, cn as _E, ay as AE, av as PE, cv as Ei, u as Jn, aU as EE, by as TE, L as Ut, a9 as lO, Y as CE, Z as fO, _ as jE, d8 as bs, dD as ME, O as Ti, aR as $E, aF as IE, aY as kE, aG as dO, a$ as NE, m as DE, z as ph, e as RE, a4 as LE, n as qE, bL as BE, S as xt, w as pO, dE as hO, y as FE, K as vO, t as zE, cV as $e, dF as yO, dG as mO, dH as Pd, dI as WE, dJ as ny, P as UE, l as HE, o as KE, df as VE, aa as GE, d5 as YE, az as XE, dK as ZE, f as JE, G as QE, H as eT, J as tT, M as rT } from "./index-DegD6xrc.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";
@@ -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",