@factorialco/f0-react 1.326.0 → 1.327.1
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/experimental.d.ts +22 -18
- package/dist/experimental.js +10 -9
- package/dist/f0.d.ts +17 -17
- package/dist/f0.js +2 -2
- package/dist/{hooks-CB8FAjtY.js → hooks-Cd6UvkwX.js} +1 -1
- package/dist/i18n-provider-defaults.d.ts +17 -17
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -1540,6 +1540,8 @@ export declare type CoCreationFormProps = {
|
|
|
1540
1540
|
|
|
1541
1541
|
declare type ColId = string;
|
|
1542
1542
|
|
|
1543
|
+
export declare type CollapsibleMenuVariant = "dark" | "light";
|
|
1544
|
+
|
|
1543
1545
|
/**
|
|
1544
1546
|
* Props for the Collection component.
|
|
1545
1547
|
* @template Record - The type of records in the collection
|
|
@@ -2971,7 +2973,7 @@ export declare const F0Callout: ForwardRefExoticComponent<CalloutInternalProps &
|
|
|
2971
2973
|
|
|
2972
2974
|
export declare type F0CalloutProps = CalloutInternalProps;
|
|
2973
2975
|
|
|
2974
|
-
export declare function F0CollapsibleMenu({ title, items, className, activeItem, collapsible, showChildrenCounter, barsAlign, size, popupAlign, }: F0CollapsibleMenuProps): JSX_2.Element;
|
|
2976
|
+
export declare function F0CollapsibleMenu({ title, items, className, activeItem, collapsible, showChildrenCounter, barsAlign, size, popupAlign, variant, }: F0CollapsibleMenuProps): JSX_2.Element;
|
|
2975
2977
|
|
|
2976
2978
|
export declare interface F0CollapsibleMenuProps extends Omit<TOCProps, "sortable" | "onReorder" | "showSearchBox" | "title" | "hideChildrenCounter"> {
|
|
2977
2979
|
/** Optional title displayed at the top of the menu popup */
|
|
@@ -2986,6 +2988,8 @@ export declare interface F0CollapsibleMenuProps extends Omit<TOCProps, "sortable
|
|
|
2986
2988
|
size?: PopupSize;
|
|
2987
2989
|
/** Alignment of the popup content */
|
|
2988
2990
|
popupAlign?: "center" | "start" | "end";
|
|
2991
|
+
/** Visual variant: "dark" for light backgrounds (default), "light" for dark backgrounds */
|
|
2992
|
+
variant?: CollapsibleMenuVariant;
|
|
2989
2993
|
}
|
|
2990
2994
|
|
|
2991
2995
|
declare interface F0IconProps extends SVGProps<SVGSVGElement>, VariantProps<typeof iconVariants> {
|
|
@@ -6435,23 +6439,6 @@ declare global {
|
|
|
6435
6439
|
}
|
|
6436
6440
|
}
|
|
6437
6441
|
|
|
6438
|
-
declare module "gridstack" {
|
|
6439
|
-
interface GridStackWidget {
|
|
6440
|
-
id?: string;
|
|
6441
|
-
allowedSizes?: Array<{
|
|
6442
|
-
w: number;
|
|
6443
|
-
h: number;
|
|
6444
|
-
}>;
|
|
6445
|
-
meta?: Record<string, unknown>;
|
|
6446
|
-
}
|
|
6447
|
-
interface GridStackNode {
|
|
6448
|
-
allowedSizes?: Array<{
|
|
6449
|
-
w: number;
|
|
6450
|
-
h: number;
|
|
6451
|
-
}>;
|
|
6452
|
-
}
|
|
6453
|
-
}
|
|
6454
|
-
|
|
6455
6442
|
|
|
6456
6443
|
declare module "@tiptap/core" {
|
|
6457
6444
|
interface Commands<ReturnType> {
|
|
@@ -6479,6 +6466,23 @@ declare module "@tiptap/core" {
|
|
|
6479
6466
|
}
|
|
6480
6467
|
}
|
|
6481
6468
|
|
|
6469
|
+
declare module "gridstack" {
|
|
6470
|
+
interface GridStackWidget {
|
|
6471
|
+
id?: string;
|
|
6472
|
+
allowedSizes?: Array<{
|
|
6473
|
+
w: number;
|
|
6474
|
+
h: number;
|
|
6475
|
+
}>;
|
|
6476
|
+
meta?: Record<string, unknown>;
|
|
6477
|
+
}
|
|
6478
|
+
interface GridStackNode {
|
|
6479
|
+
allowedSizes?: Array<{
|
|
6480
|
+
w: number;
|
|
6481
|
+
h: number;
|
|
6482
|
+
}>;
|
|
6483
|
+
}
|
|
6484
|
+
}
|
|
6485
|
+
|
|
6482
6486
|
|
|
6483
6487
|
declare namespace Calendar {
|
|
6484
6488
|
var displayName: string;
|
package/dist/experimental.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { bV as Om, bW as Mc, bX as cT, bY as fT, bZ as Fm, b_ as Oy, b$ as _s, aB as Yu, c0 as Ss, c1 as Qu, c2 as po, c3 as kf, aF as Ni, c4 as Qa, c5 as Dm, c6 as dT, e as gs, c7 as Nc, c8 as uT, c9 as hT, ca as pT, cb as mT, cc as Im, cd as Fy, ce as Dy, cf as gT, cg as vT, ch as yT, d as oa, ci as Rm, cj as wf, ck as xT, cl as Iy, cm as Pm, cn as Bm, co as kT, cp as wT, cq as e0, cr as Ry, aO as bT, cs as Hm, ct as CT, cu as bf, cv as _T, cw as ST, cx as ET, cy as LT, cz as TT, cA as vh, cB as AT, cC as MT, cD as NT, m as ye, cE as Py, cF as OT, cG as Cf, l as Ha, cH as Oc, z as c1, cI as By, x as ed, cJ as FT, n as yh, cK as DT, q as IT, r as td, i as RT, H as PT, J as BT, t as Yg, cL as HT, G as Qg, cM as $T, N as VT, cN as Hy, cO as $y, cP as zT, cQ as jT, cR as WT, D as Vy, cS as e5, cT as nd, cU as UT, cV as $m, cW as zy, cX as jp, c as F, a as Oi, b as Ge, cY as jy, cZ as Wy, c_ as Uy, c$ as qy, d0 as Gy, aq as It, d1 as Ky, A as ut, F as Ve, d2 as Zy, d3 as Jy, B as Gt, d4 as Xy, d5 as Yy, aG as Le, S as ge, d6 as yr, d7 as qT, d8 as GT, d9 as t0, da as Qy, C as KT, bx as ZT, db as Li, aA as Uo, g as hn, dc as Vm, dd as e7, de as JT, df as Fc, dg as XT, dh as YT, di as QT, dj as eA, bR as bl, dk as vs, bk as ss, dl as tA, bg as nA, dm as f1, dn as iA, f as aa, dp as qo, dq as t7, dr as rA, ds as t5, dt as el, du as zm, dv as _f, dw as d1, dx as sA, dy as n7, dz as oA, dA as jm, dB as Dc, dC as Ti, dD as aA, dE as lA, dF as Ps, dG as xh, dH as cA, dI as ec, dJ as Ta, dK as fA, dL as i7, dM as dA, dN as uA, dO as hA, dP as pA, O as Yn, w as rn, U as mA, Z as gA, _ as vA, a0 as yA, a5 as n5, a6 as i5, a7 as xA, a8 as kA, dQ as wA, dR as kh, dS as $a, dT as Wm, dU as bA, dV as CA, dW as _A, be as SA, dX as EA, bS as Sf, bd as u1, dY as Wp, dZ as r7, h as Fi, d_ as n0, b8 as ys, d$ as LA, e0 as TA, e1 as s7, b6 as hr, as as pr, e2 as AA, e3 as o7, e4 as a7, e5 as Cl, e6 as Um, bl as Ic, e7 as MA, e8 as l7, e9 as NA, ea as OA, ao as qm, ap as Gm, ar as Km, eb as c7, ec as FA, ed as DA, ee as IA, ef as RA, eg as f7, aK as PA, eh as BA, ei as Up, ej as d7, b3 as h1, ek as HA, el as $A, em as VA, en as zA, eo as jA, b0 as qp, ay as u7, bU as WA, bT as UA, ep as h7, az as no, eq as qA, er as GA, br as i0, b4 as Zm, aZ as Ef, es as p7, b7 as KA, a$ as m7, aX as g7, et as r0, eu as ZA, ev as JA, ew as XA, ex as YA, ey as v7, ez as QA, a_ as _l, b1 as y7, aM as eM, eA as tM, bz as nM, bA as iM, bH as s0, bF as Jm, aI as o0, eB as a0, eC as l0, aJ as c0, eD as Xm, bG as x7, bc as Ym, eE as rM, bL as sM, eF as Gp, eG as oM, eH as p1, eI as aM, bB as m1, bM as lM, eJ as cM, bK as k7, eK as fM, bJ as dM, bI as uM, eL as hM, eM as pM, eN as Qm, eO as mM, eP as gM, eQ as vM, eR as yM, eS as xM, eT as kM, eU as wM, eV as bM, u as w7, bn as CM, bE as _M, aC as SM, aD as EM, eW as LM, aE as TM, eX as AM, eY as MM, b2 as NM, eZ as Lf, e_ as e3, b9 as t3, e$ as n3, f0 as Tf, f1 as OM, f2 as b7, f3 as FM, f4 as DM, bN as C7, f5 as _7, bp as S7, f6 as IM, f7 as RM, f8 as PM, aL as BM, aa as HM, ab as $M, ad as VM, ae as zM, af as jM, ac as WM, f9 as r5, fa as UM, fb as qM, K as GM, fc as E7, fd as KM } from "./hooks-
|
|
2
|
-
import { aN as f3e, ff as d3e, fe as u3e, fk as h3e, fl as p3e, fh as m3e, fg as g3e, fj as v3e, b5 as y3e, bf as x3e, fi as k3e, bm as w3e } from "./hooks-
|
|
1
|
+
import { bV as Om, bW as Mc, bX as cT, bY as fT, bZ as Fm, b_ as Oy, b$ as _s, aB as Yu, c0 as Ss, c1 as Qu, c2 as po, c3 as kf, aF as Ni, c4 as Qa, c5 as Dm, c6 as dT, e as gs, c7 as Nc, c8 as uT, c9 as hT, ca as pT, cb as mT, cc as Im, cd as Fy, ce as Dy, cf as gT, cg as vT, ch as yT, d as oa, ci as Rm, cj as wf, ck as xT, cl as Iy, cm as Pm, cn as Bm, co as kT, cp as wT, cq as e0, cr as Ry, aO as bT, cs as Hm, ct as CT, cu as bf, cv as _T, cw as ST, cx as ET, cy as LT, cz as TT, cA as vh, cB as AT, cC as MT, cD as NT, m as ye, cE as Py, cF as OT, cG as Cf, l as Ha, cH as Oc, z as c1, cI as By, x as ed, cJ as FT, n as yh, cK as DT, q as IT, r as td, i as RT, H as PT, J as BT, t as Yg, cL as HT, G as Qg, cM as $T, N as VT, cN as Hy, cO as $y, cP as zT, cQ as jT, cR as WT, D as Vy, cS as e5, cT as nd, cU as UT, cV as $m, cW as zy, cX as jp, c as F, a as Oi, b as Ge, cY as jy, cZ as Wy, c_ as Uy, c$ as qy, d0 as Gy, aq as It, d1 as Ky, A as ut, F as Ve, d2 as Zy, d3 as Jy, B as Gt, d4 as Xy, d5 as Yy, aG as Le, S as ge, d6 as yr, d7 as qT, d8 as GT, d9 as t0, da as Qy, C as KT, bx as ZT, db as Li, aA as Uo, g as hn, dc as Vm, dd as e7, de as JT, df as Fc, dg as XT, dh as YT, di as QT, dj as eA, bR as bl, dk as vs, bk as ss, dl as tA, bg as nA, dm as f1, dn as iA, f as aa, dp as qo, dq as t7, dr as rA, ds as t5, dt as el, du as zm, dv as _f, dw as d1, dx as sA, dy as n7, dz as oA, dA as jm, dB as Dc, dC as Ti, dD as aA, dE as lA, dF as Ps, dG as xh, dH as cA, dI as ec, dJ as Ta, dK as fA, dL as i7, dM as dA, dN as uA, dO as hA, dP as pA, O as Yn, w as rn, U as mA, Z as gA, _ as vA, a0 as yA, a5 as n5, a6 as i5, a7 as xA, a8 as kA, dQ as wA, dR as kh, dS as $a, dT as Wm, dU as bA, dV as CA, dW as _A, be as SA, dX as EA, bS as Sf, bd as u1, dY as Wp, dZ as r7, h as Fi, d_ as n0, b8 as ys, d$ as LA, e0 as TA, e1 as s7, b6 as hr, as as pr, e2 as AA, e3 as o7, e4 as a7, e5 as Cl, e6 as Um, bl as Ic, e7 as MA, e8 as l7, e9 as NA, ea as OA, ao as qm, ap as Gm, ar as Km, eb as c7, ec as FA, ed as DA, ee as IA, ef as RA, eg as f7, aK as PA, eh as BA, ei as Up, ej as d7, b3 as h1, ek as HA, el as $A, em as VA, en as zA, eo as jA, b0 as qp, ay as u7, bU as WA, bT as UA, ep as h7, az as no, eq as qA, er as GA, br as i0, b4 as Zm, aZ as Ef, es as p7, b7 as KA, a$ as m7, aX as g7, et as r0, eu as ZA, ev as JA, ew as XA, ex as YA, ey as v7, ez as QA, a_ as _l, b1 as y7, aM as eM, eA as tM, bz as nM, bA as iM, bH as s0, bF as Jm, aI as o0, eB as a0, eC as l0, aJ as c0, eD as Xm, bG as x7, bc as Ym, eE as rM, bL as sM, eF as Gp, eG as oM, eH as p1, eI as aM, bB as m1, bM as lM, eJ as cM, bK as k7, eK as fM, bJ as dM, bI as uM, eL as hM, eM as pM, eN as Qm, eO as mM, eP as gM, eQ as vM, eR as yM, eS as xM, eT as kM, eU as wM, eV as bM, u as w7, bn as CM, bE as _M, aC as SM, aD as EM, eW as LM, aE as TM, eX as AM, eY as MM, b2 as NM, eZ as Lf, e_ as e3, b9 as t3, e$ as n3, f0 as Tf, f1 as OM, f2 as b7, f3 as FM, f4 as DM, bN as C7, f5 as _7, bp as S7, f6 as IM, f7 as RM, f8 as PM, aL as BM, aa as HM, ab as $M, ad as VM, ae as zM, af as jM, ac as WM, f9 as r5, fa as UM, fb as qM, K as GM, fc as E7, fd as KM } from "./hooks-Cd6UvkwX.js";
|
|
2
|
+
import { aN as f3e, ff as d3e, fe as u3e, fk as h3e, fl as p3e, fh as m3e, fg as g3e, fj as v3e, b5 as y3e, bf as x3e, fi as k3e, bm as w3e } from "./hooks-Cd6UvkwX.js";
|
|
3
3
|
import { jsxs as x, jsx as f, Fragment as Je } from "react/jsx-runtime";
|
|
4
4
|
import * as st from "react";
|
|
5
5
|
import ve, { forwardRef as V, useContext as vi, useState as J, useEffect as Se, createContext as yi, useRef as be, PureComponent as ZM, useTransition as JM, useLayoutEffect as la, useCallback as Xe, useMemo as we, useId as Sl, memo as Af, Fragment as Rr, isValidElement as L7, cloneElement as i3, createElement as Kp, useDebugValue as T7, createRef as XM, version as s5, useImperativeHandle as f0, Children as A7 } from "react";
|
|
@@ -35171,13 +35171,13 @@ function hC(t, e = 0, n = 12) {
|
|
|
35171
35171
|
return i.slice(0, n);
|
|
35172
35172
|
}
|
|
35173
35173
|
const gv = ["w-4", "w-3", "w-2", "w-1.5"];
|
|
35174
|
-
function XY({ items: t, activeItem: e, className: n, align: i = "left" }) {
|
|
35175
|
-
const
|
|
35174
|
+
function XY({ items: t, activeItem: e, className: n, align: i = "left", variant: r = "dark" }) {
|
|
35175
|
+
const s = hC(t);
|
|
35176
35176
|
return f("div", {
|
|
35177
35177
|
className: F("flex flex-col justify-center gap-2 py-3", i === "right" ? "items-end" : "items-start", n),
|
|
35178
|
-
children:
|
|
35179
|
-
className: F("h-0.5 rounded-full", gv[
|
|
35180
|
-
},
|
|
35178
|
+
children: s.map((o) => f("div", {
|
|
35179
|
+
className: F("h-0.5 rounded-full", gv[o.depth] ?? gv[3], r === "light" ? "bg-f1-foreground-inverse" : "bg-f1-foreground", o.id !== e && (r === "light" ? "opacity-50" : "bg-f1-foreground-tertiary opacity-60"))
|
|
35180
|
+
}, o.id))
|
|
35181
35181
|
});
|
|
35182
35182
|
}
|
|
35183
35183
|
const YY = {
|
|
@@ -35185,7 +35185,7 @@ const YY = {
|
|
|
35185
35185
|
md: "max-h-[400px]",
|
|
35186
35186
|
lg: "max-h-[600px]"
|
|
35187
35187
|
}, QY = 200, eQ = 0;
|
|
35188
|
-
function kme({ title: t, items: e, className: n, activeItem: i, collapsible: r = !1, showChildrenCounter: s = !1, barsAlign: o = "left", size: a = "md", popupAlign: l = "center" }) {
|
|
35188
|
+
function kme({ title: t, items: e, className: n, activeItem: i, collapsible: r = !1, showChildrenCounter: s = !1, barsAlign: o = "left", size: a = "md", popupAlign: l = "center", variant: c = "dark" }) {
|
|
35189
35189
|
return x(JA, {
|
|
35190
35190
|
openDelay: eQ,
|
|
35191
35191
|
closeDelay: QY,
|
|
@@ -35197,7 +35197,8 @@ function kme({ title: t, items: e, className: n, activeItem: i, collapsible: r =
|
|
|
35197
35197
|
children: f(XY, {
|
|
35198
35198
|
items: e,
|
|
35199
35199
|
activeItem: i,
|
|
35200
|
-
align: o
|
|
35200
|
+
align: o,
|
|
35201
|
+
variant: c
|
|
35201
35202
|
})
|
|
35202
35203
|
})
|
|
35203
35204
|
}), f(YA, {
|
package/dist/f0.d.ts
CHANGED
|
@@ -5124,23 +5124,6 @@ declare global {
|
|
|
5124
5124
|
}
|
|
5125
5125
|
}
|
|
5126
5126
|
|
|
5127
|
-
declare module "gridstack" {
|
|
5128
|
-
interface GridStackWidget {
|
|
5129
|
-
id?: string;
|
|
5130
|
-
allowedSizes?: Array<{
|
|
5131
|
-
w: number;
|
|
5132
|
-
h: number;
|
|
5133
|
-
}>;
|
|
5134
|
-
meta?: Record<string, unknown>;
|
|
5135
|
-
}
|
|
5136
|
-
interface GridStackNode {
|
|
5137
|
-
allowedSizes?: Array<{
|
|
5138
|
-
w: number;
|
|
5139
|
-
h: number;
|
|
5140
|
-
}>;
|
|
5141
|
-
}
|
|
5142
|
-
}
|
|
5143
|
-
|
|
5144
5127
|
|
|
5145
5128
|
declare module "@tiptap/core" {
|
|
5146
5129
|
interface Commands<ReturnType> {
|
|
@@ -5168,6 +5151,23 @@ declare module "@tiptap/core" {
|
|
|
5168
5151
|
}
|
|
5169
5152
|
}
|
|
5170
5153
|
|
|
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
5171
|
|
|
5172
5172
|
declare namespace Calendar {
|
|
5173
5173
|
var displayName: string;
|
package/dist/f0.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as En, C as Kr, c as U, a as Di, u as Dn, m as Ri, i as Rn, B as Si, O as Xr, p as Yr, w as Sn, S as xe, b as Nn, F as An, d as Vr, A as qr, D as Jr, e as Zr, f as we, g as Qr, h as me, j as qi, k as es, l as di, n as lt, o as ts, q as is, r as At, s as On, E as ns, t as zt, v as rs, x as ss, y as os, z as as, G as Xe, H as kn, I as ls, J as cs, K as ds, M as Ji, N as us, P as Tn, Q as hs, R as zn, X as Pn, Y as vi, T as fs, U as Mn, V as gs, W as ps, Z as ms, _ as vs, $ as ys, a0 as bs, a1 as xs, a2 as ws, a3 as Zi, a4 as Cs, a5 as ct, a6 as ui, a7 as _s, a8 as Es, a9 as Ds, aa as Rs, ab as Ss, ac as Ns, ad as As, ae as Os, af as ks, ag as Ts, ah as zs, ai as Qi, aj as Ps, ak as Ms, al as Ln, am as Ls, an as Mt, ao as In, ap as Hn, aq as Is, ar as Bn, as as Fn, at as Wn, au as Hs, av as Bs, aw as en, ax as Fs, ay as Gn, az as Ws, aA as Gs, aB as $s, aC as Us, aD as js, aE as Ks, aF as $n, aG as qe, aH as Un, aI as Xs, aJ as Ys, aK as tn, aL as Vs, aM as jn, aN as qs, aO as Js, aP as Zs, aQ as Qs, aR as eo, aS as to, aT as io, aU as no, aV as ro, aW as so, aX as oo, aY as ao } from "./hooks-
|
|
2
|
-
import { bw as ud, bJ as hd, bS as fd, aZ as gd, a_ as pd, a$ as md, b0 as vd, b1 as yd, b2 as bd, b3 as xd, b4 as wd, b6 as Cd, b7 as _d, b8 as Ed, b9 as Dd, bc as Rd, bd as Sd, be as Nd, bg as Ad, bh as Od, bi as kd, bO as Td, bk as zd, bl as Pd, bp as Md, bq as Ld, br as Id, bt as Hd, bu as Bd, bv as Fd, by as Wd, bn as Gd, bx as $d, bo as Ud, bs as jd, bP as Kd, ba as Xd, bb as Yd, bI as Vd, bD as qd, bG as Jd, bC as Zd, bT as Qd, bB as eu, bA as tu, b5 as iu, bf as nu, bm as ru, bz as su, bE as ou, bK as au, bL as lu, bM as cu, bU as du, bj as uu, bF as hu, bN as fu, bR as gu, bH as pu, bQ as mu } from "./hooks-
|
|
1
|
+
import { L as En, C as Kr, c as U, a as Di, u as Dn, m as Ri, i as Rn, B as Si, O as Xr, p as Yr, w as Sn, S as xe, b as Nn, F as An, d as Vr, A as qr, D as Jr, e as Zr, f as we, g as Qr, h as me, j as qi, k as es, l as di, n as lt, o as ts, q as is, r as At, s as On, E as ns, t as zt, v as rs, x as ss, y as os, z as as, G as Xe, H as kn, I as ls, J as cs, K as ds, M as Ji, N as us, P as Tn, Q as hs, R as zn, X as Pn, Y as vi, T as fs, U as Mn, V as gs, W as ps, Z as ms, _ as vs, $ as ys, a0 as bs, a1 as xs, a2 as ws, a3 as Zi, a4 as Cs, a5 as ct, a6 as ui, a7 as _s, a8 as Es, a9 as Ds, aa as Rs, ab as Ss, ac as Ns, ad as As, ae as Os, af as ks, ag as Ts, ah as zs, ai as Qi, aj as Ps, ak as Ms, al as Ln, am as Ls, an as Mt, ao as In, ap as Hn, aq as Is, ar as Bn, as as Fn, at as Wn, au as Hs, av as Bs, aw as en, ax as Fs, ay as Gn, az as Ws, aA as Gs, aB as $s, aC as Us, aD as js, aE as Ks, aF as $n, aG as qe, aH as Un, aI as Xs, aJ as Ys, aK as tn, aL as Vs, aM as jn, aN as qs, aO as Js, aP as Zs, aQ as Qs, aR as eo, aS as to, aT as io, aU as no, aV as ro, aW as so, aX as oo, aY as ao } from "./hooks-Cd6UvkwX.js";
|
|
2
|
+
import { bw as ud, bJ as hd, bS as fd, aZ as gd, a_ as pd, a$ as md, b0 as vd, b1 as yd, b2 as bd, b3 as xd, b4 as wd, b6 as Cd, b7 as _d, b8 as Ed, b9 as Dd, bc as Rd, bd as Sd, be as Nd, bg as Ad, bh as Od, bi as kd, bO as Td, bk as zd, bl as Pd, bp as Md, bq as Ld, br as Id, bt as Hd, bu as Bd, bv as Fd, by as Wd, bn as Gd, bx as $d, bo as Ud, bs as jd, bP as Kd, ba as Xd, bb as Yd, bI as Vd, bD as qd, bG as Jd, bC as Zd, bT as Qd, bB as eu, bA as tu, b5 as iu, bf as nu, bm as ru, bz as su, bE as ou, bK as au, bL as lu, bM as cu, bU as du, bj as uu, bF as hu, bN as fu, bR as gu, bH as pu, bQ as mu } from "./hooks-Cd6UvkwX.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 lo, Children as Lt, createContext as Ae, useContext as _e, useState as B, useMemo as H, useEffect as I, useCallback as j, useLayoutEffect as yi, createElement as nn, isValidElement as Kn, Fragment as co, memo as uo, useReducer as ho, cloneElement as fo, PureComponent as go } from "react";
|
|
5
5
|
import { createPortal as Xn, unstable_batchedUpdates as Ot } from "react-dom";
|
|
@@ -113051,7 +113051,7 @@ const ZB1 = R1({
|
|
|
113051
113051
|
b(Z);
|
|
113052
113052
|
}, []), M = (Z) => {
|
|
113053
113053
|
Z || n();
|
|
113054
|
-
}, E = WB1(), w = t === "left" || t === "right", k = V2(() =>
|
|
113054
|
+
}, E = WB1(), w = t === "left" || t === "right", k = V2(() => E && e ? "bottomSheet" : t === "fullscreen" ? "fullscreen" : w ? "sidePosition" : "center", [E, e, w, t]), _ = V2(() => k === "sidePosition" ? "sm" : (a && t !== "center" && console.warn("F0Dialog: `width` prop is only applicable to center position"), a), [k, a, t]), S = V2(() => BB1({
|
|
113055
113055
|
variant: k,
|
|
113056
113056
|
position: t,
|
|
113057
113057
|
width: _
|
|
@@ -458,23 +458,6 @@ declare global {
|
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
460
|
|
|
461
|
-
declare module "gridstack" {
|
|
462
|
-
interface GridStackWidget {
|
|
463
|
-
id?: string;
|
|
464
|
-
allowedSizes?: Array<{
|
|
465
|
-
w: number;
|
|
466
|
-
h: number;
|
|
467
|
-
}>;
|
|
468
|
-
meta?: Record<string, unknown>;
|
|
469
|
-
}
|
|
470
|
-
interface GridStackNode {
|
|
471
|
-
allowedSizes?: Array<{
|
|
472
|
-
w: number;
|
|
473
|
-
h: number;
|
|
474
|
-
}>;
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
|
|
478
461
|
|
|
479
462
|
declare module "@tiptap/core" {
|
|
480
463
|
interface Commands<ReturnType> {
|
|
@@ -502,6 +485,23 @@ declare module "@tiptap/core" {
|
|
|
502
485
|
}
|
|
503
486
|
}
|
|
504
487
|
|
|
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
505
|
|
|
506
506
|
declare namespace Calendar {
|
|
507
507
|
var displayName: string;
|