@factorialco/f0-react 1.411.0 → 1.412.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.
@@ -310,6 +310,11 @@ declare module "gridstack" {
310
310
  }
311
311
 
312
312
 
313
+ declare namespace Calendar {
314
+ var displayName: string;
315
+ }
316
+
317
+
313
318
  declare module "@tiptap/core" {
314
319
  interface Commands<ReturnType> {
315
320
  aiBlock: {
@@ -357,8 +362,3 @@ declare module "@tiptap/core" {
357
362
  };
358
363
  }
359
364
  }
360
-
361
-
362
- declare namespace Calendar {
363
- var displayName: string;
364
- }
package/dist/ai.d.ts CHANGED
@@ -1902,6 +1902,11 @@ declare module "gridstack" {
1902
1902
  }
1903
1903
 
1904
1904
 
1905
+ declare namespace Calendar {
1906
+ var displayName: string;
1907
+ }
1908
+
1909
+
1905
1910
  declare module "@tiptap/core" {
1906
1911
  interface Commands<ReturnType> {
1907
1912
  aiBlock: {
@@ -1949,8 +1954,3 @@ declare module "@tiptap/core" {
1949
1954
  };
1950
1955
  }
1951
1956
  }
1952
-
1953
-
1954
- declare namespace Calendar {
1955
- var displayName: string;
1956
- }
@@ -5414,6 +5414,7 @@ declare interface PrimaryAction {
5414
5414
  disabled?: boolean;
5415
5415
  tooltip?: string;
5416
5416
  isVisible?: boolean;
5417
+ loading?: boolean;
5417
5418
  }
5418
5419
 
5419
5420
  declare type PrimaryAction_2 = BaseAction & {
@@ -7124,6 +7125,11 @@ declare module "gridstack" {
7124
7125
  }
7125
7126
 
7126
7127
 
7128
+ declare namespace Calendar {
7129
+ var displayName: string;
7130
+ }
7131
+
7132
+
7127
7133
  declare module "@tiptap/core" {
7128
7134
  interface Commands<ReturnType> {
7129
7135
  aiBlock: {
@@ -7171,8 +7177,3 @@ declare module "@tiptap/core" {
7171
7177
  };
7172
7178
  }
7173
7179
  }
7174
-
7175
-
7176
- declare namespace Calendar {
7177
- var displayName: string;
7178
- }
@@ -3,8 +3,8 @@ import { dk as XI, ap as ZI, dl as QI, ds as eA, dt as tA, at as nA, du as rA, d
3
3
  import { jsx as c, jsxs as g, Fragment as ee } from "react/jsx-runtime";
4
4
  import * as Sn from "react";
5
5
  import z, { PureComponent as Uh, forwardRef as P, useRef as K, useTransition as Gh, useState as R, useLayoutEffect as za, useContext as js, createContext as Hs, useCallback as q, useMemo as te, useEffect as W, useId as $a, useImperativeHandle as Ba, memo as ja, Fragment as Kh, isValidElement as qh, cloneElement as Ha, Children as Va } from "react";
6
- import { f as Jt, ac as Nn, e as tr, ad as Jh, L as bi, ae as Yh, A as Xh, i as nr, k as Zh, G as Qh, g as Io, af as ep, j as Ao, n as tp, ag as Wa, ah as Ua, ai as np, C as rp, aa as ip, aj as He, ak as ot, al as Ee, am as sp, an as gr, ao as Ge, ap as Ga, aq as Me, ar as Vs, as as Be, at as _o, au as op, av as Ka, aw as Ie, ax as Fe, ay as In, az as Dr, aA as qa, aB as lp, aC as Vt, aD as ap, aE as cp, aF as dp, aG as Vn, aH as Wn, aI as Ws, aJ as up, aK as Ja, aL as Ya, aM as Xa, aN as fp, aO as Za, aP as Qa, aQ as ec, aR as tc, aS as nc, aT as rc, a3 as Eo, aU as hp, aV as To, aW as pp, aX as mp, aY as gp, w as bp, x as wp, z as xp, J as yp, K as vp, s as kp, aZ as ic, a_ as Cp, a$ as Sp, b0 as Np, b1 as sc, a7 as Wi, b2 as Ip, b3 as Ap, b4 as _p, b5 as Ep, b6 as Tp, b7 as Dp, b8 as Lp, b9 as Rp, ba as Op, bb as Mp, bc as Pp, bd as Fp, ab as oc, M as zp, N as $p, P as Bp, Q as jp, V as Hp, O as Vp, be as Do, bf as Wp, bg as Up, l as Gp } from "./index-nhYPkA3Y.js";
7
- import { a5 as uA, Z as fA, a0 as hA, R as pA, $ as mA, bk as gA, bj as bA, bh as wA, bi as xA, T as yA, a4 as vA, U as kA, _ as CA, W as SA, a8 as NA, a9 as IA } from "./index-nhYPkA3Y.js";
6
+ import { f as Jt, ac as Nn, e as tr, ad as Jh, L as bi, ae as Yh, A as Xh, i as nr, k as Zh, G as Qh, g as Io, af as ep, j as Ao, n as tp, ag as Wa, ah as Ua, ai as np, C as rp, aa as ip, aj as He, ak as ot, al as Ee, am as sp, an as gr, ao as Ge, ap as Ga, aq as Me, ar as Vs, as as Be, at as _o, au as op, av as Ka, aw as Ie, ax as Fe, ay as In, az as Dr, aA as qa, aB as lp, aC as Vt, aD as ap, aE as cp, aF as dp, aG as Vn, aH as Wn, aI as Ws, aJ as up, aK as Ja, aL as Ya, aM as Xa, aN as fp, aO as Za, aP as Qa, aQ as ec, aR as tc, aS as nc, aT as rc, a3 as Eo, aU as hp, aV as To, aW as pp, aX as mp, aY as gp, w as bp, x as wp, z as xp, J as yp, K as vp, s as kp, aZ as ic, a_ as Cp, a$ as Sp, b0 as Np, b1 as sc, a7 as Wi, b2 as Ip, b3 as Ap, b4 as _p, b5 as Ep, b6 as Tp, b7 as Dp, b8 as Lp, b9 as Rp, ba as Op, bb as Mp, bc as Pp, bd as Fp, ab as oc, M as zp, N as $p, P as Bp, Q as jp, V as Hp, O as Vp, be as Do, bf as Wp, bg as Up, l as Gp } from "./index-DknFDvVm.js";
7
+ import { a5 as uA, Z as fA, a0 as hA, R as pA, $ as mA, bk as gA, bj as bA, bh as wA, bi as xA, T as yA, a4 as vA, U as kA, _ as CA, W as SA, a8 as NA, a9 as IA } from "./index-DknFDvVm.js";
8
8
  import { i as Kp, M as qp, d as Lo, R as lc, u as Jp, b as ac, S as Yp, O as Xp } from "./F0AnalyticsDashboard-HOK1Grhk.js";
9
9
  import { l as _A, p as EA, q as TA, m as DA, n as LA, o as RA } from "./F0AnalyticsDashboard-HOK1Grhk.js";
10
10
  import { a6 as Zp, a7 as Qp, a8 as Ro, a9 as rr, aa as em, ab as tm, W as nm, ac as cc, x as dc, Q as Un, ad as rm, ae as im, af as sm, ag as om, ah as lm, ai as am, aj as cm, ak as dm, al as um, am as fm, X as hm, an as pm, ao as mm, ap as gm, aq as bm, D as wm, ar as xm, as as uc, at as Oo, au as ym, a0 as vm, u as fc, a as km, av as Cm, F as Sm, aw as hc, ax as pc, ay as Nm, az as Im, aA as Am, aB as _m, aC as Em, aD as Mo, aE as Po, aF as Fo, aG as Tm, aH as Dm } from "./F0AiChat-CA_dpVxM.js";
package/dist/f0.d.ts CHANGED
@@ -8189,6 +8189,7 @@ declare interface PrimaryAction {
8189
8189
  disabled?: boolean;
8190
8190
  tooltip?: string;
8191
8191
  isVisible?: boolean;
8192
+ loading?: boolean;
8192
8193
  }
8193
8194
 
8194
8195
  declare interface PrimaryActionButton extends PrimaryAction {
@@ -10296,6 +10297,11 @@ declare module "gridstack" {
10296
10297
  }
10297
10298
 
10298
10299
 
10300
+ declare namespace Calendar {
10301
+ var displayName: string;
10302
+ }
10303
+
10304
+
10299
10305
  declare module "@tiptap/core" {
10300
10306
  interface Commands<ReturnType> {
10301
10307
  aiBlock: {
@@ -10343,8 +10349,3 @@ declare module "@tiptap/core" {
10343
10349
  };
10344
10350
  }
10345
10351
  }
10346
-
10347
-
10348
- declare namespace Calendar {
10349
- var displayName: string;
10350
- }
package/dist/f0.js CHANGED
@@ -6,8 +6,8 @@ import K, { forwardRef as He, useRef as Q, useImperativeHandle as eu, Children a
6
6
  import { L as Do, a as No, i as iu, b as au, c as Ao, R as qr, d as oi, u as li, O as ou, U as To, e as Eo, F as lu, D as cu, M as du } from "./F0AnalyticsDashboard-HOK1Grhk.js";
7
7
  import { g as rw, f as sw, h as iw, j as aw, k as ow } from "./F0AnalyticsDashboard-HOK1Grhk.js";
8
8
  import { unstable_batchedUpdates as sr, createPortal as uu, flushSync as fu } from "react-dom";
9
- import { C as hu, S as Ji, a as mu, f as cs, L as _n, b as pu, A as gu, i as ir, c as Fo, E as vu, g as dr, d as bu, e as yu, h as xu, j as rn, k as Oo, u as wu, G as Su, l as Cu, m as ea, r as _u, n as ku, o as Io, p as Du, B as Ro, X as Lo, Y as Ts, q as Nu, s as Po, t as Au, v as Tu, w as Eu, x as Fu, y as Ou, z as Iu, D as Ru, F as Lu, H as ta, I as Pu, J as Mu, K as Bu, M as Vu, N as ju, O as $u, P as zu, Q as qu, V as Wu, R as Es, T as Mo, U as Zu, W as Uu, Z as Qu, _ as Bo, $ as ci, a0 as Hu, a1 as Gu, a2 as Ku, a3 as Xu, a4 as Yu, a5 as Ju, a6 as ef } from "./index-nhYPkA3Y.js";
10
- import { a7 as cw, aa as dw, a8 as uw, a9 as fw, ab as hw } from "./index-nhYPkA3Y.js";
9
+ import { C as hu, S as Ji, a as mu, f as cs, L as _n, b as pu, A as gu, i as ir, c as Fo, E as vu, g as dr, d as bu, e as yu, h as xu, j as rn, k as Oo, u as wu, G as Su, l as Cu, m as ea, r as _u, n as ku, o as Io, p as Du, B as Ro, X as Lo, Y as Ts, q as Nu, s as Po, t as Au, v as Tu, w as Eu, x as Fu, y as Ou, z as Iu, D as Ru, F as Lu, H as ta, I as Pu, J as Mu, K as Bu, M as Vu, N as ju, O as $u, P as zu, Q as qu, V as Wu, R as Es, T as Mo, U as Zu, W as Uu, Z as Qu, _ as Bo, $ as ci, a0 as Hu, a1 as Gu, a2 as Ku, a3 as Xu, a4 as Yu, a5 as Ju, a6 as ef } from "./index-DknFDvVm.js";
10
+ import { a7 as cw, aa as dw, a8 as uw, a9 as fw, ab as hw } from "./index-DknFDvVm.js";
11
11
  import { D as tf, G as nf, J as rf, K as sf, M as di, N as Vo, Q as ln, R as Fs, V as af, w as of, W as jo, X as $o, Y as zo, Z as br, _ as ui, $ as qo, a0 as yr, a1 as Wo, a2 as Zo, a3 as lf, a4 as cf, a5 as df } from "./F0AiChat-CA_dpVxM.js";
12
12
  import { A as pw, B as gw, C as vw, p as bw, E as yw, g as xw, F as ww, a as Sw, z as Cw, h as _w, b as kw, i as Dw, j as Nw, v as Aw, x as Tw, y as Ew, c as Fw, q as Ow, r as Iw, s as Rw, H as Lw, I as Pw, L as Mw, O as Bw, t as Vw, P as jw, S as $w, T as zw, m as qw, n as Ww, o as Zw, U as Uw, k as Qw, l as Hw, u as Gw, d as Kw, f as Xw, e as Yw } from "./F0AiChat-CA_dpVxM.js";
13
13
  import { A as e0, F as t0, c as n0, d as r0, b as s0, a as i0, o as a0, u as o0 } from "./F0HILActionConfirmation-CasXGy89.js";
@@ -9077,7 +9077,13 @@ function ss({ field: e, sectionId: t }) {
9077
9077
  );
9078
9078
  }
9079
9079
  function Ii({ row: e, sectionId: t }) {
9080
- return /* @__PURE__ */ c("div", { className: `flex xs:flex-row flex-col ${Ti} [&>*]:flex-1`, children: e.fields.map((n) => /* @__PURE__ */ c(ss, { field: n, sectionId: t }, n.id)) });
9080
+ return /* @__PURE__ */ c(
9081
+ "div",
9082
+ {
9083
+ className: `flex xs:flex-row flex-col items-start ${Ti} [&>*]:flex-1`,
9084
+ children: e.fields.map((n) => /* @__PURE__ */ c(ss, { field: n, sectionId: t }, n.id))
9085
+ }
9086
+ );
9081
9087
  }
9082
9088
  function Ra(e) {
9083
9089
  const t = ut(e);
@@ -691,6 +691,11 @@ declare module "gridstack" {
691
691
  }
692
692
 
693
693
 
694
+ declare namespace Calendar {
695
+ var displayName: string;
696
+ }
697
+
698
+
694
699
  declare module "@tiptap/core" {
695
700
  interface Commands<ReturnType> {
696
701
  aiBlock: {
@@ -738,8 +743,3 @@ declare module "@tiptap/core" {
738
743
  };
739
744
  }
740
745
  }
741
-
742
-
743
- declare namespace Calendar {
744
- var displayName: string;
745
- }
@@ -47702,7 +47702,8 @@ function mae({
47702
47702
  icon: r.icon,
47703
47703
  size: "lg",
47704
47704
  disabled: r.disabled,
47705
- tooltip: r.tooltip
47705
+ tooltip: r.tooltip,
47706
+ loading: r.loading
47706
47707
  }
47707
47708
  ) }),
47708
47709
  d && m(r) && /* @__PURE__ */ _("div", { className: "w-full md:hidden [&>*]:w-full", children: /* @__PURE__ */ _(
@@ -47714,7 +47715,8 @@ function mae({
47714
47715
  value: r.value,
47715
47716
  size: "lg",
47716
47717
  disabled: r.disabled,
47717
- tooltip: r.tooltip
47718
+ tooltip: r.tooltip,
47719
+ loading: r.loading
47718
47720
  }
47719
47721
  ) }),
47720
47722
  c.map((v) => /* @__PURE__ */ _(uf, { children: /* @__PURE__ */ _("div", { className: "w-full md:hidden [&>*]:w-full [&>span]:block [&>span_div]:w-full", children: /* @__PURE__ */ _(
@@ -47727,7 +47729,8 @@ function mae({
47727
47729
  size: "lg",
47728
47730
  hideLabel: v.hideLabel,
47729
47731
  disabled: v.disabled,
47730
- tooltip: v.tooltip
47732
+ tooltip: v.tooltip,
47733
+ loading: v.loading
47731
47734
  }
47732
47735
  ) }) }, v.label)),
47733
47736
  u.length > 0 && /* @__PURE__ */ _("div", { className: "w-full [&>*]:w-full [&_button]:w-full", children: /* @__PURE__ */ _(hg, { items: u }) })
@@ -47743,7 +47746,8 @@ function mae({
47743
47746
  icon: v.icon,
47744
47747
  hideLabel: v.hideLabel,
47745
47748
  disabled: v.disabled,
47746
- tooltip: v.tooltip
47749
+ tooltip: v.tooltip,
47750
+ loading: v.loading
47747
47751
  }
47748
47752
  ) }) }, v.label)),
47749
47753
  d && (h || p) && /* @__PURE__ */ _("div", { className: "mx-1 h-4 w-px bg-f1-background-secondary-hover" }),
@@ -47755,7 +47759,8 @@ function mae({
47755
47759
  variant: "default",
47756
47760
  icon: r.icon,
47757
47761
  disabled: r.disabled,
47758
- tooltip: r.tooltip
47762
+ tooltip: r.tooltip,
47763
+ loading: r.loading
47759
47764
  }
47760
47765
  ) }),
47761
47766
  d && m(r) && /* @__PURE__ */ _("div", { className: "hidden md:block", children: /* @__PURE__ */ _(
@@ -47767,7 +47772,8 @@ function mae({
47767
47772
  value: r.value,
47768
47773
  size: "md",
47769
47774
  disabled: r.disabled,
47770
- tooltip: r.tooltip
47775
+ tooltip: r.tooltip,
47776
+ loading: r.loading
47771
47777
  }
47772
47778
  ) })
47773
47779
  ] })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "1.411.0",
3
+ "version": "1.412.0",
4
4
  "private": false,
5
5
  "files": [
6
6
  "assets",