@factorialco/f0-react 2.17.0 → 2.19.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/{F0AiProposalCard-dyWntRt5.js → F0AiProposalCard-BG_v_JYN.js} +1 -1
- package/dist/ai.d.ts +54 -7
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +50 -5
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +54 -7
- package/dist/f0.js +6 -6
- package/dist/i18n-provider-defaults.d.ts +6 -5
- package/dist/i18n-provider-defaults.js +1 -0
- package/dist/{index-DozvUttm.js → index-H4G2ic7W.js} +1 -1
- package/dist/{useDataCollectionSource-BfCZoiHz.js → useDataCollectionSource-Dwcc8ccj.js} +13273 -13127
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as B, jsx as b, Fragment as yn } from "react/jsx-runtime";
|
|
2
2
|
import * as _n from "react";
|
|
3
3
|
import ct, { useInsertionEffect as BI, forwardRef as q, useEffect as Je, useState as ze, useCallback as ye, useRef as pe, useMemo as Ne, useId as Nv, Fragment as FI, createContext as cs, useContext as fs, useSyncExternalStore as Q4, createElement as zI } from "react";
|
|
4
|
-
import { gT as HI, gU as GI, gV as $I, gW as WI, gX as o8, gY as UI, gZ as ZI, g_ as YI, g$ as XI, h0 as jI, h1 as s8, h2 as qI, h3 as KI, h4 as JI, h5 as QI, h6 as eN, h7 as tN, h8 as rN, h9 as fd, ha as nN, hb as aN, hc as iN, fL as oN, hd as sN, he as lN, a1 as Rv, fR as uN, hf as cN, hg as fN, hh as hN, hi as dN, hj as l8, cH as vN, cI as pN, ab as u8, hk as gN, aQ as mN, hl as yN, ao as c8, bT as _N, af as f8, al as wN, eN as xN, a9 as h8, a5 as bN, X as CN, a8 as d8, bf as SN, eQ as LN, b7 as TN, bS as MN, a3 as Xc, aC as DN, bk as r2, hm as AN, bQ as kN, hn as xl, bM as EN, ho as IN, fj as n2, b6 as NN, hp as RN, hq as PN, hr as VN, hs as ON, ht as v8, bE as BN, bF as FN, eE as zN, eD as HN, eC as GN, eF as $N, eB as WN, hu as UN, hv as ZN, hw as YN, f7 as p8, eI as XN, eJ as jN, eK as qN, eO as D0, bR as KN, aj as JN, bA as g8, hx as QN, hy as eR, fS as tR, hz as rR, hA as nR, fJ as m8, eL as aR, hB as iR, ax as oR, g3 as y8, S as sR, a4 as lR, g2 as _8, eS as uR, hC as cR, bj as fR, bi as hR, hD as dR, eM as vR, hE as pR, hF as gR, b5 as mR, aG as yR, hG as w8, aA as _R, hH as wR, bd as xR, eR as bR, eG as CR, hI as SR, hJ as LR, bq as x8, hK as TR, bO as MR, bN as DR, bP as AR, hL as kR, M as ER, L as IR, hM as NR, hN as bl, fI as RR, hO as PR, hP as VR, hQ as OR, hR as BR, hS as FR, fK as b8, g8 as zR, eP as HR, ak as GR, hT as $R, Q as A0, Y as le, ad as jc, u as St, am as Mi, fE as e_, ae as C8, t as Ye, aP as S8, bJ as WR, w as Gi, b4 as L8, W as Ar, hU as t_, hV as r_, gk as Np, gl as n_, hW as UR, hX as ZR, N as dn, fz as T8, bt as YR, hY as XR, hZ as jR, b_ as sl, fw as a2, fx as M8, h_ as qR, fB as D8, gp as pr, b$ as A8, fU as KR, gq as Pn, gg as k8, c1 as i2, ga as JR, A as hd, c2 as QR, cE as eP, aD as pl, c3 as tP, c4 as rP, fy as nP, h$ as Ji, c9 as E8, cd as I8, gs as N8, ah as aP, ai as iP, i0 as oP, bV as sP, O as lP, P as uP, V as cP, b1 as fP, fQ as Rp, a0 as Pp, fM as hP, fN as dP, U as vP, fO as pP, cz as o2, cu as s2, i1 as gP, aa as mP, g9 as yP, i2 as _P, i3 as wP, g as hs, g4 as xP, i4 as bP, f as R8, i5 as P8, d as V8, ap as CP, c8 as SP, i6 as LP, i7 as TP, I as MP, i8 as DP, i9 as AP, gP as kP, ia as EP, ib as IP, h as NP, b9 as RP, ic as PP, id as VP, aY as O8, ie as OP, ig as BP, ih as FP, aB as zP, ii as HP, a_ as GP, ij as $P, aW as B8, K as WP, v as dd, as as UP, bs as ZP, gb as YP, be as XP, bB as jP, fo as qP, dQ as KP, dS as JP, dJ as QP, dN as eV, an as tV } from "./useDataCollectionSource-
|
|
4
|
+
import { gT as HI, gU as GI, gV as $I, gW as WI, gX as o8, gY as UI, gZ as ZI, g_ as YI, g$ as XI, h0 as jI, h1 as s8, h2 as qI, h3 as KI, h4 as JI, h5 as QI, h6 as eN, h7 as tN, h8 as rN, h9 as fd, ha as nN, hb as aN, hc as iN, fL as oN, hd as sN, he as lN, a1 as Rv, fR as uN, hf as cN, hg as fN, hh as hN, hi as dN, hj as l8, cH as vN, cI as pN, ab as u8, hk as gN, aQ as mN, hl as yN, ao as c8, bT as _N, af as f8, al as wN, eN as xN, a9 as h8, a5 as bN, X as CN, a8 as d8, bf as SN, eQ as LN, b7 as TN, bS as MN, a3 as Xc, aC as DN, bk as r2, hm as AN, bQ as kN, hn as xl, bM as EN, ho as IN, fj as n2, b6 as NN, hp as RN, hq as PN, hr as VN, hs as ON, ht as v8, bE as BN, bF as FN, eE as zN, eD as HN, eC as GN, eF as $N, eB as WN, hu as UN, hv as ZN, hw as YN, f7 as p8, eI as XN, eJ as jN, eK as qN, eO as D0, bR as KN, aj as JN, bA as g8, hx as QN, hy as eR, fS as tR, hz as rR, hA as nR, fJ as m8, eL as aR, hB as iR, ax as oR, g3 as y8, S as sR, a4 as lR, g2 as _8, eS as uR, hC as cR, bj as fR, bi as hR, hD as dR, eM as vR, hE as pR, hF as gR, b5 as mR, aG as yR, hG as w8, aA as _R, hH as wR, bd as xR, eR as bR, eG as CR, hI as SR, hJ as LR, bq as x8, hK as TR, bO as MR, bN as DR, bP as AR, hL as kR, M as ER, L as IR, hM as NR, hN as bl, fI as RR, hO as PR, hP as VR, hQ as OR, hR as BR, hS as FR, fK as b8, g8 as zR, eP as HR, ak as GR, hT as $R, Q as A0, Y as le, ad as jc, u as St, am as Mi, fE as e_, ae as C8, t as Ye, aP as S8, bJ as WR, w as Gi, b4 as L8, W as Ar, hU as t_, hV as r_, gk as Np, gl as n_, hW as UR, hX as ZR, N as dn, fz as T8, bt as YR, hY as XR, hZ as jR, b_ as sl, fw as a2, fx as M8, h_ as qR, fB as D8, gp as pr, b$ as A8, fU as KR, gq as Pn, gg as k8, c1 as i2, ga as JR, A as hd, c2 as QR, cE as eP, aD as pl, c3 as tP, c4 as rP, fy as nP, h$ as Ji, c9 as E8, cd as I8, gs as N8, ah as aP, ai as iP, i0 as oP, bV as sP, O as lP, P as uP, V as cP, b1 as fP, fQ as Rp, a0 as Pp, fM as hP, fN as dP, U as vP, fO as pP, cz as o2, cu as s2, i1 as gP, aa as mP, g9 as yP, i2 as _P, i3 as wP, g as hs, g4 as xP, i4 as bP, f as R8, i5 as P8, d as V8, ap as CP, c8 as SP, i6 as LP, i7 as TP, I as MP, i8 as DP, i9 as AP, gP as kP, ia as EP, ib as IP, h as NP, b9 as RP, ic as PP, id as VP, aY as O8, ie as OP, ig as BP, ih as FP, aB as zP, ii as HP, a_ as GP, ij as $P, aW as B8, K as WP, v as dd, as as UP, bs as ZP, gb as YP, be as XP, bB as jP, fo as qP, dQ as KP, dS as JP, dJ as QP, dN as eV, an as tV } from "./useDataCollectionSource-Dwcc8ccj.js";
|
|
5
5
|
import { utils as Ba, write as l2 } from "./xlsx-Bedf3nwD.js";
|
|
6
6
|
import { useCopilotContext as rV, useCoAgent as F8 } from "@copilotkit/react-core";
|
|
7
7
|
import { flushSync as nV } from "react-dom";
|
package/dist/ai.d.ts
CHANGED
|
@@ -91,6 +91,29 @@ declare type AiChatDisclaimer = {
|
|
|
91
91
|
linkText?: string;
|
|
92
92
|
};
|
|
93
93
|
|
|
94
|
+
/**
|
|
95
|
+
* Employee credits configuration for the AI chat.
|
|
96
|
+
*
|
|
97
|
+
* Independent from `credits` (the classic company-level popover).
|
|
98
|
+
* When provided, a separate, employee-only credits popover trigger is shown
|
|
99
|
+
* in the chat header **instead of** the classic one — the host opts into
|
|
100
|
+
* this mode by passing `employeeCredits` only for employees who have a
|
|
101
|
+
* per-employee monthly allocation configured.
|
|
102
|
+
*
|
|
103
|
+
* Hosts that don't use per-employee allocations should keep using `credits`
|
|
104
|
+
* and leave `employeeCredits` undefined; behavior is unchanged.
|
|
105
|
+
*/
|
|
106
|
+
declare type AiChatEmployeeCredits = {
|
|
107
|
+
/** Async function to fetch the employee's credits usage. Called each time the popover opens. */
|
|
108
|
+
fetchUsage: () => Promise<EmployeeCreditsUsage>;
|
|
109
|
+
/** Company name displayed in the popover header. */
|
|
110
|
+
companyName?: string;
|
|
111
|
+
/** Company logo URL displayed in the popover header. */
|
|
112
|
+
companyLogoUrl?: string;
|
|
113
|
+
/** Plan name displayed below the company name (e.g. "Free plan", "Enterprise"). */
|
|
114
|
+
planName?: string;
|
|
115
|
+
};
|
|
116
|
+
|
|
94
117
|
export declare type AiChatFileAttachmentConfig = {
|
|
95
118
|
onUploadFiles: (files: File[]) => Promise<UploadedFile[]>;
|
|
96
119
|
allowedMimeTypes?: string | string[];
|
|
@@ -176,6 +199,16 @@ export declare type AiChatProviderProps = {
|
|
|
176
199
|
* Groups fetchUsage, upgradePlanUrl, and company/plan display info.
|
|
177
200
|
*/
|
|
178
201
|
credits?: AiChatCredits;
|
|
202
|
+
/**
|
|
203
|
+
* Employee-only credits configuration. When provided, replaces the classic
|
|
204
|
+
* `credits` popover trigger with a simpler employee-only popover that shows
|
|
205
|
+
* just the logged-in employee's monthly allocation. Hosts opt in by passing
|
|
206
|
+
* this only when an employee has a configured per-employee allocation.
|
|
207
|
+
*
|
|
208
|
+
* Takes precedence over `credits` — when both are provided, only the
|
|
209
|
+
* employee-only popover is rendered.
|
|
210
|
+
*/
|
|
211
|
+
employeeCredits?: AiChatEmployeeCredits;
|
|
179
212
|
/**
|
|
180
213
|
* Credit warning configuration. When provided, shows a warning banner above the chat textarea.
|
|
181
214
|
* Groups severity level and action callbacks.
|
|
@@ -363,7 +396,7 @@ declare type AiChatProviderReturnValue = {
|
|
|
363
396
|
pendingQuote: PendingQuote | null;
|
|
364
397
|
/** Set the pending quote (pass null to clear). */
|
|
365
398
|
setPendingQuote: React.Dispatch<React.SetStateAction<PendingQuote | null>>;
|
|
366
|
-
} & Pick<AiChatState, "greeting" | "agent" | "disclaimer" | "resizable" | "entityRefs" | "canvasActions" | "canvasEntities" | "toolHints" | "credits" | "creditWarning" | "fileAttachments"> & {
|
|
399
|
+
} & Pick<AiChatState, "greeting" | "agent" | "disclaimer" | "resizable" | "entityRefs" | "canvasActions" | "canvasEntities" | "toolHints" | "credits" | "employeeCredits" | "creditWarning" | "fileAttachments"> & {
|
|
367
400
|
/** The current canvas content, or null when canvas is closed */
|
|
368
401
|
canvasContent: CanvasContent | null;
|
|
369
402
|
/** Open the canvas panel with the given content */
|
|
@@ -403,6 +436,7 @@ declare interface AiChatState {
|
|
|
403
436
|
canvasEntities?: Record<string, CanvasEntityDefinition>;
|
|
404
437
|
toolHints?: AiChatToolHint[];
|
|
405
438
|
credits?: AiChatCredits;
|
|
439
|
+
employeeCredits?: AiChatEmployeeCredits;
|
|
406
440
|
creditWarning?: AiChatCreditWarning;
|
|
407
441
|
fileAttachments?: AiChatFileAttachmentConfig;
|
|
408
442
|
placeholders?: string[];
|
|
@@ -570,6 +604,7 @@ export declare const aiTranslations: {
|
|
|
570
604
|
};
|
|
571
605
|
readonly credits: {
|
|
572
606
|
readonly title: "Credits";
|
|
607
|
+
readonly employeeCredits: "Your credits";
|
|
573
608
|
readonly creditsLeft: "{{total}} left";
|
|
574
609
|
readonly monthlyCredits: "Monthly credits";
|
|
575
610
|
readonly creditsError: "Could not load credits";
|
|
@@ -1977,6 +2012,7 @@ export declare const defaultTranslations: {
|
|
|
1977
2012
|
};
|
|
1978
2013
|
readonly credits: {
|
|
1979
2014
|
readonly title: "Credits";
|
|
2015
|
+
readonly employeeCredits: "Your credits";
|
|
1980
2016
|
readonly creditsLeft: "{{total}} left";
|
|
1981
2017
|
readonly monthlyCredits: "Monthly credits";
|
|
1982
2018
|
readonly creditsError: "Could not load credits";
|
|
@@ -2409,6 +2445,17 @@ declare type DetailsItemContent = (ComponentProps<typeof DataList.Item> & {
|
|
|
2409
2445
|
*/
|
|
2410
2446
|
declare type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
|
|
2411
2447
|
|
|
2448
|
+
/**
|
|
2449
|
+
* Employee credits usage data returned by the host app.
|
|
2450
|
+
*
|
|
2451
|
+
* Represents the logged-in employee's personal monthly allocation,
|
|
2452
|
+
* independent of any company-wide pool.
|
|
2453
|
+
*/
|
|
2454
|
+
declare type EmployeeCreditsUsage = {
|
|
2455
|
+
used: number;
|
|
2456
|
+
total: number;
|
|
2457
|
+
};
|
|
2458
|
+
|
|
2412
2459
|
/**
|
|
2413
2460
|
* Grouped configuration for entity references in the AI chat.
|
|
2414
2461
|
* Combines resolver functions (data fetching) with URL builders (navigation).
|
|
@@ -2494,7 +2541,7 @@ export declare const F0AiChat: () => JSX_2.Element | null;
|
|
|
2494
2541
|
/**
|
|
2495
2542
|
* @experimental This is an experimental component use it at your own risk
|
|
2496
2543
|
*/
|
|
2497
|
-
export declare const F0AiChatProvider: ({ enabled, greeting, initialMessage, welcomeScreenSuggestions, disclaimer, resizable, defaultVisualizationMode, lockVisualizationMode, historyEnabled, footer, VoiceMode, entityRefs, canvasActions, canvasEntities, toolHints, credits, creditWarning, fileAttachments, onThumbsUp, onThumbsDown, onBeforeSendMessage, runtimeFetch, children, agent, tracking, ...copilotKitProps }: AiChatProviderProps) => JSX_2.Element;
|
|
2544
|
+
export declare const F0AiChatProvider: ({ enabled, greeting, initialMessage, welcomeScreenSuggestions, disclaimer, resizable, defaultVisualizationMode, lockVisualizationMode, historyEnabled, footer, VoiceMode, entityRefs, canvasActions, canvasEntities, toolHints, credits, employeeCredits, creditWarning, fileAttachments, onThumbsUp, onThumbsDown, onBeforeSendMessage, runtimeFetch, children, agent, tracking, ...copilotKitProps }: AiChatProviderProps) => JSX_2.Element;
|
|
2498
2545
|
|
|
2499
2546
|
export declare const F0AiChatTextArea: ({ submitLabel, inProgress, onSend, onStop, creditWarning, }: ChatTextareaProps) => JSX_2.Element;
|
|
2500
2547
|
|
|
@@ -3788,6 +3835,11 @@ declare module "gridstack" {
|
|
|
3788
3835
|
}
|
|
3789
3836
|
|
|
3790
3837
|
|
|
3838
|
+
declare namespace Calendar {
|
|
3839
|
+
var displayName: string;
|
|
3840
|
+
}
|
|
3841
|
+
|
|
3842
|
+
|
|
3791
3843
|
declare module "@tiptap/core" {
|
|
3792
3844
|
interface Commands<ReturnType> {
|
|
3793
3845
|
aiBlock: {
|
|
@@ -3837,11 +3889,6 @@ declare module "@tiptap/core" {
|
|
|
3837
3889
|
}
|
|
3838
3890
|
|
|
3839
3891
|
|
|
3840
|
-
declare namespace Calendar {
|
|
3841
|
-
var displayName: string;
|
|
3842
|
-
}
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
3892
|
declare namespace F0GraphNodeWrapperInner {
|
|
3846
3893
|
var displayName: string;
|
|
3847
3894
|
}
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as o, l as r, k as e, F as t, a as n, C as i, b as d, m as C, n as F, e as l, h as m, I as u, g as h, c as A, i as D, u as c, j as v, f as I } from "./useDataCollectionSource-
|
|
1
|
+
import { d as o, l as r, k as e, F as t, a as n, C as i, b as d, m as C, n as F, e as l, h as m, I as u, g as h, c as A, i as D, u as c, j as v, f as I } from "./useDataCollectionSource-Dwcc8ccj.js";
|
|
2
2
|
import { defaultTranslations as b } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as p, C as P, c as S, D as T, a as w, b as x, e as H, f as M, g as V, h as k, p as j, l as y, r as O, m as q, n as z, i as B, F as E, d as L, M as W, k as G, j as J, q as K, o as N, s as Q, u as R } from "./F0AiProposalCard-
|
|
3
|
+
import { A as p, C as P, c as S, D as T, a as w, b as x, e as H, f as M, g as V, h as k, p as j, l as y, r as O, m as q, n as z, i as B, F as E, d as L, M as W, k as G, j as J, q as K, o as N, s as Q, u as R } from "./F0AiProposalCard-BG_v_JYN.js";
|
|
4
4
|
export {
|
|
5
5
|
p as AiChatTranslationsProvider,
|
|
6
6
|
o as CanvasCard,
|
package/dist/experimental.d.ts
CHANGED
|
@@ -464,6 +464,29 @@ declare type AiChatDisclaimer = {
|
|
|
464
464
|
linkText?: string;
|
|
465
465
|
};
|
|
466
466
|
|
|
467
|
+
/**
|
|
468
|
+
* Employee credits configuration for the AI chat.
|
|
469
|
+
*
|
|
470
|
+
* Independent from `credits` (the classic company-level popover).
|
|
471
|
+
* When provided, a separate, employee-only credits popover trigger is shown
|
|
472
|
+
* in the chat header **instead of** the classic one — the host opts into
|
|
473
|
+
* this mode by passing `employeeCredits` only for employees who have a
|
|
474
|
+
* per-employee monthly allocation configured.
|
|
475
|
+
*
|
|
476
|
+
* Hosts that don't use per-employee allocations should keep using `credits`
|
|
477
|
+
* and leave `employeeCredits` undefined; behavior is unchanged.
|
|
478
|
+
*/
|
|
479
|
+
declare type AiChatEmployeeCredits = {
|
|
480
|
+
/** Async function to fetch the employee's credits usage. Called each time the popover opens. */
|
|
481
|
+
fetchUsage: () => Promise<EmployeeCreditsUsage>;
|
|
482
|
+
/** Company name displayed in the popover header. */
|
|
483
|
+
companyName?: string;
|
|
484
|
+
/** Company logo URL displayed in the popover header. */
|
|
485
|
+
companyLogoUrl?: string;
|
|
486
|
+
/** Plan name displayed below the company name (e.g. "Free plan", "Enterprise"). */
|
|
487
|
+
planName?: string;
|
|
488
|
+
};
|
|
489
|
+
|
|
467
490
|
declare type AiChatFileAttachmentConfig = {
|
|
468
491
|
onUploadFiles: (files: File[]) => Promise<UploadedFile[]>;
|
|
469
492
|
allowedMimeTypes?: string | string[];
|
|
@@ -544,6 +567,16 @@ declare type AiChatProviderProps = {
|
|
|
544
567
|
* Groups fetchUsage, upgradePlanUrl, and company/plan display info.
|
|
545
568
|
*/
|
|
546
569
|
credits?: AiChatCredits;
|
|
570
|
+
/**
|
|
571
|
+
* Employee-only credits configuration. When provided, replaces the classic
|
|
572
|
+
* `credits` popover trigger with a simpler employee-only popover that shows
|
|
573
|
+
* just the logged-in employee's monthly allocation. Hosts opt in by passing
|
|
574
|
+
* this only when an employee has a configured per-employee allocation.
|
|
575
|
+
*
|
|
576
|
+
* Takes precedence over `credits` — when both are provided, only the
|
|
577
|
+
* employee-only popover is rendered.
|
|
578
|
+
*/
|
|
579
|
+
employeeCredits?: AiChatEmployeeCredits;
|
|
547
580
|
/**
|
|
548
581
|
* Credit warning configuration. When provided, shows a warning banner above the chat textarea.
|
|
549
582
|
* Groups severity level and action callbacks.
|
|
@@ -3204,6 +3237,7 @@ declare const defaultTranslations: {
|
|
|
3204
3237
|
};
|
|
3205
3238
|
readonly credits: {
|
|
3206
3239
|
readonly title: "Credits";
|
|
3240
|
+
readonly employeeCredits: "Your credits";
|
|
3207
3241
|
readonly creditsLeft: "{{total}} left";
|
|
3208
3242
|
readonly monthlyCredits: "Monthly credits";
|
|
3209
3243
|
readonly creditsError: "Could not load credits";
|
|
@@ -3871,6 +3905,17 @@ export declare type editorStateType = {
|
|
|
3871
3905
|
json: JSONContent | null;
|
|
3872
3906
|
};
|
|
3873
3907
|
|
|
3908
|
+
/**
|
|
3909
|
+
* Employee credits usage data returned by the host app.
|
|
3910
|
+
*
|
|
3911
|
+
* Represents the logged-in employee's personal monthly allocation,
|
|
3912
|
+
* independent of any company-wide pool.
|
|
3913
|
+
*/
|
|
3914
|
+
declare type EmployeeCreditsUsage = {
|
|
3915
|
+
used: number;
|
|
3916
|
+
total: number;
|
|
3917
|
+
};
|
|
3918
|
+
|
|
3874
3919
|
declare type EmptyState = {
|
|
3875
3920
|
emoji?: string;
|
|
3876
3921
|
title: string;
|
|
@@ -8439,6 +8484,11 @@ declare module "gridstack" {
|
|
|
8439
8484
|
}
|
|
8440
8485
|
|
|
8441
8486
|
|
|
8487
|
+
declare namespace Calendar {
|
|
8488
|
+
var displayName: string;
|
|
8489
|
+
}
|
|
8490
|
+
|
|
8491
|
+
|
|
8442
8492
|
declare module "@tiptap/core" {
|
|
8443
8493
|
interface Commands<ReturnType> {
|
|
8444
8494
|
aiBlock: {
|
|
@@ -8488,11 +8538,6 @@ declare module "@tiptap/core" {
|
|
|
8488
8538
|
}
|
|
8489
8539
|
|
|
8490
8540
|
|
|
8491
|
-
declare namespace Calendar {
|
|
8492
|
-
var displayName: string;
|
|
8493
|
-
}
|
|
8494
|
-
|
|
8495
|
-
|
|
8496
8541
|
declare namespace F0GraphNodeWrapperInner {
|
|
8497
8542
|
var displayName: string;
|
|
8498
8543
|
}
|
package/dist/experimental.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { o as ua, B as fa, p as ma, D as ha, q as At, r as De, s as ga, t as g, v as X, w as pe, u as se, T as pa, x as ba, y as xa, R as va, z as wa, A as ne, E as ya, G as gt, H as rt, J as Re, K as Ee, L as Na, M as Ca, N as W, O as ka, P as Sa, Q as _e, S as sn, U as Ia, V as Fa, W as R, X as on, Y as O, Z as ve, _ as Aa, $ as La, a0 as Ea, a1 as _a, a2 as Oa, a3 as Ce, a4 as cn, a5 as Da, a6 as be, a7 as $e, a8 as Ta, a9 as pt, n as dn, aa as Ne, ab as za, ac as un, ad as ae, ae as H, af as fn, ag as Pa, ah as Ba, ai as Ra, aj as mn, ak as $a, al as hn, am as me, an as ee, ao as Wa, ap as Ma, aq as ja, ar as Va, as as ge, at as Ge, au as Ga, av as Ha, aw as Ua, ax as Ka, ay as He, az as gn, aA as qa, aB as Ya, aC as Za, aD as We, aE as Xa, aF as Ja, aG as Qa, aH as er, aI as tr, aJ as nr, aK as ar, aL as rr, aM as lr, aN as sr, aO as lt, aP as st, aQ as pn, aR as ir, aS as or, aT as bn, aU as cr, aV as dr, aW as Ue, aX as bt, aY as xn, aZ as ur, a_ as vn, a$ as fr, b0 as mr, b1 as hr, b2 as Le, b3 as gr, b4 as Te, b5 as Lt, b6 as it, b7 as pr, b8 as br, a as xr, g as vr, b9 as wr, ba as wn, bb as yr, bc as Nr, F as Cr, bd as yn, be as kr, bf as Nn, bg as Sr, bh as Et, bi as Ir, bj as Fr, bk as Ar, bl as Lr, bm as Cn, bn as Er, bo as _r, bp as Or, bq as Dr, br as Tr, bs as kn, bt as ue, bu as Sn, bv as xt, bw as vt, bx as wt, by as In, bz as yt, bA as Fn, bB as An, bC as zr, bD as Pr, bE as Br, bF as Rr, bG as $r, bH as Wr, bI as Mr, bJ as jr, bK as Vr, bL as Gr, bM as Hr, bN as _t, bO as Ot, bP as Dt, bQ as Ur, bR as Kr, bS as qr, bT as Yr, bU as Ln, bV as Zr, bW as Xr, bX as Jr } from "./useDataCollectionSource-
|
|
2
|
-
import { ch as Tc, cg as zc, b$ as Pc, ct as Bc, ca as Rc, cb as $c, b_ as Wc, bY as Mc, cd as jc, c0 as Vc, cF as Gc, cD as Hc, c1 as Uc, ce as Kc, cf as qc, cc as Yc, c2 as Zc, cp as Xc, cq as Jc, cu as Qc, cB as ed, cC as td, c8 as nd, cE as ad, c9 as rd, c3 as ld, cj as sd, ci as id, c4 as od, c5 as cd, c6 as dd, cr as ud, cG as fd, bZ as md, cs as hd, cw as gd, cx as pd, co as bd, cl as xd, cn as vd, ck as wd, c7 as yd, cm as Nd, cy as Cd, cz as kd, cv as Sd, cA as Id } from "./useDataCollectionSource-
|
|
1
|
+
import { o as ua, B as fa, p as ma, D as ha, q as At, r as De, s as ga, t as g, v as X, w as pe, u as se, T as pa, x as ba, y as xa, R as va, z as wa, A as ne, E as ya, G as gt, H as rt, J as Re, K as Ee, L as Na, M as Ca, N as W, O as ka, P as Sa, Q as _e, S as sn, U as Ia, V as Fa, W as R, X as on, Y as O, Z as ve, _ as Aa, $ as La, a0 as Ea, a1 as _a, a2 as Oa, a3 as Ce, a4 as cn, a5 as Da, a6 as be, a7 as $e, a8 as Ta, a9 as pt, n as dn, aa as Ne, ab as za, ac as un, ad as ae, ae as H, af as fn, ag as Pa, ah as Ba, ai as Ra, aj as mn, ak as $a, al as hn, am as me, an as ee, ao as Wa, ap as Ma, aq as ja, ar as Va, as as ge, at as Ge, au as Ga, av as Ha, aw as Ua, ax as Ka, ay as He, az as gn, aA as qa, aB as Ya, aC as Za, aD as We, aE as Xa, aF as Ja, aG as Qa, aH as er, aI as tr, aJ as nr, aK as ar, aL as rr, aM as lr, aN as sr, aO as lt, aP as st, aQ as pn, aR as ir, aS as or, aT as bn, aU as cr, aV as dr, aW as Ue, aX as bt, aY as xn, aZ as ur, a_ as vn, a$ as fr, b0 as mr, b1 as hr, b2 as Le, b3 as gr, b4 as Te, b5 as Lt, b6 as it, b7 as pr, b8 as br, a as xr, g as vr, b9 as wr, ba as wn, bb as yr, bc as Nr, F as Cr, bd as yn, be as kr, bf as Nn, bg as Sr, bh as Et, bi as Ir, bj as Fr, bk as Ar, bl as Lr, bm as Cn, bn as Er, bo as _r, bp as Or, bq as Dr, br as Tr, bs as kn, bt as ue, bu as Sn, bv as xt, bw as vt, bx as wt, by as In, bz as yt, bA as Fn, bB as An, bC as zr, bD as Pr, bE as Br, bF as Rr, bG as $r, bH as Wr, bI as Mr, bJ as jr, bK as Vr, bL as Gr, bM as Hr, bN as _t, bO as Ot, bP as Dt, bQ as Ur, bR as Kr, bS as qr, bT as Yr, bU as Ln, bV as Zr, bW as Xr, bX as Jr } from "./useDataCollectionSource-Dwcc8ccj.js";
|
|
2
|
+
import { ch as Tc, cg as zc, b$ as Pc, ct as Bc, ca as Rc, cb as $c, b_ as Wc, bY as Mc, cd as jc, c0 as Vc, cF as Gc, cD as Hc, c1 as Uc, ce as Kc, cf as qc, cc as Yc, c2 as Zc, cp as Xc, cq as Jc, cu as Qc, cB as ed, cC as td, c8 as nd, cE as ad, c9 as rd, c3 as ld, cj as sd, ci as id, c4 as od, c5 as cd, c6 as dd, cr as ud, cG as fd, bZ as md, cs as hd, cw as gd, cx as pd, co as bd, cl as xd, cn as vd, ck as wd, c7 as yd, cm as Nd, cy as Cd, cz as kd, cv as Sd, cA as Id } from "./useDataCollectionSource-Dwcc8ccj.js";
|
|
3
3
|
import { jsx as e, jsxs as o, Fragment as U } from "react/jsx-runtime";
|
|
4
4
|
import ie, { forwardRef as j, useRef as G, useTransition as Qr, useState as E, useLayoutEffect as En, useId as ot, useContext as Ke, createContext as Nt, useEffect as $, useCallback as Q, useMemo as q, Fragment as el, isValidElement as tl, cloneElement as _n, Children as On } from "react";
|
|
5
|
-
import { C as nl, P as al, g as Dn, c as rl, F as ct, f as ll, a as sl, A as il, B as ol, L as cl, b as dl, V as ul, d as fl, e as Tt, h as ml, i as hl } from "./index-
|
|
6
|
-
import { n as Ad, o as Ld, l as Ed, p as _d, u as Od, D as Dd, m as Td, q as zd, x as Pd, y as Bd, N as Rd, z as $d, r as Wd, t as Md, R as jd, s as Vd, j as Gd, k as Hd, w as Ud, v as Kd } from "./index-
|
|
5
|
+
import { C as nl, P as al, g as Dn, c as rl, F as ct, f as ll, a as sl, A as il, B as ol, L as cl, b as dl, V as ul, d as fl, e as Tt, h as ml, i as hl } from "./index-H4G2ic7W.js";
|
|
6
|
+
import { n as Ad, o as Ld, l as Ed, p as _d, u as Od, D as Dd, m as Td, q as zd, x as Pd, y as Bd, N as Rd, z as $d, r as Wd, t as Md, R as jd, s as Vd, j as Gd, k as Hd, w as Ud, v as Kd } from "./index-H4G2ic7W.js";
|
|
7
7
|
const gl = ua("Search", [
|
|
8
8
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
9
9
|
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
package/dist/f0.d.ts
CHANGED
|
@@ -467,6 +467,29 @@ declare type AiChatDisclaimer = {
|
|
|
467
467
|
linkText?: string;
|
|
468
468
|
};
|
|
469
469
|
|
|
470
|
+
/**
|
|
471
|
+
* Employee credits configuration for the AI chat.
|
|
472
|
+
*
|
|
473
|
+
* Independent from `credits` (the classic company-level popover).
|
|
474
|
+
* When provided, a separate, employee-only credits popover trigger is shown
|
|
475
|
+
* in the chat header **instead of** the classic one — the host opts into
|
|
476
|
+
* this mode by passing `employeeCredits` only for employees who have a
|
|
477
|
+
* per-employee monthly allocation configured.
|
|
478
|
+
*
|
|
479
|
+
* Hosts that don't use per-employee allocations should keep using `credits`
|
|
480
|
+
* and leave `employeeCredits` undefined; behavior is unchanged.
|
|
481
|
+
*/
|
|
482
|
+
declare type AiChatEmployeeCredits = {
|
|
483
|
+
/** Async function to fetch the employee's credits usage. Called each time the popover opens. */
|
|
484
|
+
fetchUsage: () => Promise<EmployeeCreditsUsage>;
|
|
485
|
+
/** Company name displayed in the popover header. */
|
|
486
|
+
companyName?: string;
|
|
487
|
+
/** Company logo URL displayed in the popover header. */
|
|
488
|
+
companyLogoUrl?: string;
|
|
489
|
+
/** Plan name displayed below the company name (e.g. "Free plan", "Enterprise"). */
|
|
490
|
+
planName?: string;
|
|
491
|
+
};
|
|
492
|
+
|
|
470
493
|
export declare type AiChatFileAttachmentConfig = {
|
|
471
494
|
onUploadFiles: (files: File[]) => Promise<UploadedFile[]>;
|
|
472
495
|
allowedMimeTypes?: string | string[];
|
|
@@ -552,6 +575,16 @@ export declare type AiChatProviderProps = {
|
|
|
552
575
|
* Groups fetchUsage, upgradePlanUrl, and company/plan display info.
|
|
553
576
|
*/
|
|
554
577
|
credits?: AiChatCredits;
|
|
578
|
+
/**
|
|
579
|
+
* Employee-only credits configuration. When provided, replaces the classic
|
|
580
|
+
* `credits` popover trigger with a simpler employee-only popover that shows
|
|
581
|
+
* just the logged-in employee's monthly allocation. Hosts opt in by passing
|
|
582
|
+
* this only when an employee has a configured per-employee allocation.
|
|
583
|
+
*
|
|
584
|
+
* Takes precedence over `credits` — when both are provided, only the
|
|
585
|
+
* employee-only popover is rendered.
|
|
586
|
+
*/
|
|
587
|
+
employeeCredits?: AiChatEmployeeCredits;
|
|
555
588
|
/**
|
|
556
589
|
* Credit warning configuration. When provided, shows a warning banner above the chat textarea.
|
|
557
590
|
* Groups severity level and action callbacks.
|
|
@@ -739,7 +772,7 @@ declare type AiChatProviderReturnValue = {
|
|
|
739
772
|
pendingQuote: PendingQuote | null;
|
|
740
773
|
/** Set the pending quote (pass null to clear). */
|
|
741
774
|
setPendingQuote: React.Dispatch<React.SetStateAction<PendingQuote | null>>;
|
|
742
|
-
} & Pick<AiChatState, "greeting" | "agent" | "disclaimer" | "resizable" | "entityRefs" | "canvasActions" | "canvasEntities" | "toolHints" | "credits" | "creditWarning" | "fileAttachments"> & {
|
|
775
|
+
} & Pick<AiChatState, "greeting" | "agent" | "disclaimer" | "resizable" | "entityRefs" | "canvasActions" | "canvasEntities" | "toolHints" | "credits" | "employeeCredits" | "creditWarning" | "fileAttachments"> & {
|
|
743
776
|
/** The current canvas content, or null when canvas is closed */
|
|
744
777
|
canvasContent: CanvasContent | null;
|
|
745
778
|
/** Open the canvas panel with the given content */
|
|
@@ -779,6 +812,7 @@ declare interface AiChatState {
|
|
|
779
812
|
canvasEntities?: Record<string, CanvasEntityDefinition>;
|
|
780
813
|
toolHints?: AiChatToolHint[];
|
|
781
814
|
credits?: AiChatCredits;
|
|
815
|
+
employeeCredits?: AiChatEmployeeCredits;
|
|
782
816
|
creditWarning?: AiChatCreditWarning;
|
|
783
817
|
fileAttachments?: AiChatFileAttachmentConfig;
|
|
784
818
|
placeholders?: string[];
|
|
@@ -946,6 +980,7 @@ export declare const aiTranslations: {
|
|
|
946
980
|
};
|
|
947
981
|
readonly credits: {
|
|
948
982
|
readonly title: "Credits";
|
|
983
|
+
readonly employeeCredits: "Your credits";
|
|
949
984
|
readonly creditsLeft: "{{total}} left";
|
|
950
985
|
readonly monthlyCredits: "Monthly credits";
|
|
951
986
|
readonly creditsError: "Could not load credits";
|
|
@@ -4544,6 +4579,7 @@ export declare const defaultTranslations: {
|
|
|
4544
4579
|
};
|
|
4545
4580
|
readonly credits: {
|
|
4546
4581
|
readonly title: "Credits";
|
|
4582
|
+
readonly employeeCredits: "Your credits";
|
|
4547
4583
|
readonly creditsLeft: "{{total}} left";
|
|
4548
4584
|
readonly monthlyCredits: "Monthly credits";
|
|
4549
4585
|
readonly creditsError: "Could not load credits";
|
|
@@ -5284,6 +5320,17 @@ declare const emojiVariants: (props?: ({
|
|
|
5284
5320
|
className?: ClassValue;
|
|
5285
5321
|
})) | undefined) => string;
|
|
5286
5322
|
|
|
5323
|
+
/**
|
|
5324
|
+
* Employee credits usage data returned by the host app.
|
|
5325
|
+
*
|
|
5326
|
+
* Represents the logged-in employee's personal monthly allocation,
|
|
5327
|
+
* independent of any company-wide pool.
|
|
5328
|
+
*/
|
|
5329
|
+
declare type EmployeeCreditsUsage = {
|
|
5330
|
+
used: number;
|
|
5331
|
+
total: number;
|
|
5332
|
+
};
|
|
5333
|
+
|
|
5287
5334
|
export declare type enhanceConfig = {
|
|
5288
5335
|
onEnhanceText: (params: enhanceTextParams) => Promise<enhancedTextResponse>;
|
|
5289
5336
|
enhancementOptions?: EnhancementOption[];
|
|
@@ -5514,7 +5561,7 @@ export declare const F0AiChat: () => JSX_2.Element | null;
|
|
|
5514
5561
|
/**
|
|
5515
5562
|
* @experimental This is an experimental component use it at your own risk
|
|
5516
5563
|
*/
|
|
5517
|
-
export declare const F0AiChatProvider: ({ enabled, greeting, initialMessage, welcomeScreenSuggestions, disclaimer, resizable, defaultVisualizationMode, lockVisualizationMode, historyEnabled, footer, VoiceMode, entityRefs, canvasActions, canvasEntities, toolHints, credits, creditWarning, fileAttachments, onThumbsUp, onThumbsDown, onBeforeSendMessage, runtimeFetch, children, agent, tracking, ...copilotKitProps }: AiChatProviderProps) => JSX_2.Element;
|
|
5564
|
+
export declare const F0AiChatProvider: ({ enabled, greeting, initialMessage, welcomeScreenSuggestions, disclaimer, resizable, defaultVisualizationMode, lockVisualizationMode, historyEnabled, footer, VoiceMode, entityRefs, canvasActions, canvasEntities, toolHints, credits, employeeCredits, creditWarning, fileAttachments, onThumbsUp, onThumbsDown, onBeforeSendMessage, runtimeFetch, children, agent, tracking, ...copilotKitProps }: AiChatProviderProps) => JSX_2.Element;
|
|
5518
5565
|
|
|
5519
5566
|
export declare const F0AiChatTextArea: ({ submitLabel, inProgress, onSend, onStop, creditWarning, }: ChatTextareaProps) => JSX_2.Element;
|
|
5520
5567
|
|
|
@@ -14620,6 +14667,11 @@ declare module "gridstack" {
|
|
|
14620
14667
|
}
|
|
14621
14668
|
|
|
14622
14669
|
|
|
14670
|
+
declare namespace Calendar {
|
|
14671
|
+
var displayName: string;
|
|
14672
|
+
}
|
|
14673
|
+
|
|
14674
|
+
|
|
14623
14675
|
declare module "@tiptap/core" {
|
|
14624
14676
|
interface Commands<ReturnType> {
|
|
14625
14677
|
aiBlock: {
|
|
@@ -14669,11 +14721,6 @@ declare module "@tiptap/core" {
|
|
|
14669
14721
|
}
|
|
14670
14722
|
|
|
14671
14723
|
|
|
14672
|
-
declare namespace Calendar {
|
|
14673
|
-
var displayName: string;
|
|
14674
|
-
}
|
|
14675
|
-
|
|
14676
|
-
|
|
14677
14724
|
declare namespace F0GraphNodeWrapperInner {
|
|
14678
14725
|
var displayName: string;
|
|
14679
14726
|
}
|
package/dist/f0.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { fg as Hr, ad as se, bt as On, t as M, w as ft, fh as Wr, v as yt, dh as qo, am as rr, fi as $o, an as qr, Y as he, u as re, N as oe, f7 as Xt, K as Go, D as jo, Q as $r, fj as vn, ae as Me, aa as bi, fk as Uo, fl as Vo, fm as Qo, fn as sr, fo as Ko, fp as Yo, fq as Gr, fr as Xo, aL as yi, aM as xi, A as zn, aN as wi, at as jr, ct as bn, fs as Ur, ft as Jo, dY as Zo, fu as or, dW as ea, fv as ta, fw as wt, fx as Jt, fy as na, fz as ia, af as We, ay as ra, cI as ui, cH as Vr, fA as sa, b_ as oa, fB as Qr, fC as Mn, eL as Ci, fD as aa, a7 as Ni, W as ce, a8 as la, a9 as qt, bQ as ca, al as In, f3 as Si, fE as da, fF as ua, fG as ha, fH as fa, cd as ma, m as ga, d1 as pa, M as Kr, eN as mt, fI as Yr, fJ as Xr, bT as Ei, fK as Jr, O as _i, P as Di, fL as ki, V as Ri, a0 as ke, a2 as xt, fM as zt, fN as Mt, U as It, fO as Bt, fP as va, fQ as At, fR as Zr, aA as ba, fS as yn, bk as $t, fT as De, c3 as ya, fU as Gt, c2 as xa, c1 as wa, fV as Ca, fW as Na, bm as Bn, a3 as Pn, bh as Ti, bn as Fi, aK as Sa, fX as Oe, fY as Ea, fZ as _a, f_ as es, f$ as Hn, g0 as Da, g1 as ka, c8 as ts, bV as ns, g2 as Ra, g3 as Ta, g4 as Fa, g5 as Aa, aY as is, b2 as La, fa as Oa, fb as za, fd as Ma, g6 as rs, bv as Ct, bz as Nt, bH as Zt, g7 as Ai, g8 as Ia, bw as Ba, bd as Pa, X as ss, bl as Ha, a5 as Wa } from "./useDataCollectionSource-
|
|
2
|
-
import { gz as Vf, d as Qf, b$ as Kf, l as Yf, gL as Xf, aX as Jf, k as Zf, F as em, a as tm, C as nm, gr as im, b as rm, bJ as sm, be as om, bK as am, ga as lm, aP as cm, bs as dm, as as um, gb as hm, aB as fm, bY as mm, gf as gm, gg as pm, gh as vm, gQ as bm, b4 as ym, n as xm, aD as wm, bB as Cm, gu as Nm, b8 as Sm, gv as Em, gx as _m, gy as Dm, cF as km, cD as Rm, e as Tm, h as Fm, gA as Am, cp as Lm, cq as Om, g9 as zm, gP as Mm, b1 as Im, cE as Bm, gw as Pm, cr as Hm, bZ as Wm, gR as qm, gc as $m, gd as Gm, ge as jm, cs as Um, gK as Vm, gF as Qm, gt as Km, gn as Ym, gm as Xm, gl as Jm, gI as Zm, gE as eg, a$ as tg, co as ng, cl as ig, cn as rg, ck as sg, go as og, gD as ag, gC as lg, gp as cg, c7 as dg, cm as ug, gj as hg, gk as fg, gq as mg, g as gg, c as pg, gB as vg, gG as bg, gM as yg, gN as xg, gO as wg, aZ as Cg, gs as Ng, gi as Sg, i as Eg, gH as _g, bu as Dg, aW as kg, gJ as Rg, j as Tg, f as Fg, gS as Ag } from "./useDataCollectionSource-
|
|
1
|
+
import { fg as Hr, ad as se, bt as On, t as M, w as ft, fh as Wr, v as yt, dh as qo, am as rr, fi as $o, an as qr, Y as he, u as re, N as oe, f7 as Xt, K as Go, D as jo, Q as $r, fj as vn, ae as Me, aa as bi, fk as Uo, fl as Vo, fm as Qo, fn as sr, fo as Ko, fp as Yo, fq as Gr, fr as Xo, aL as yi, aM as xi, A as zn, aN as wi, at as jr, ct as bn, fs as Ur, ft as Jo, dY as Zo, fu as or, dW as ea, fv as ta, fw as wt, fx as Jt, fy as na, fz as ia, af as We, ay as ra, cI as ui, cH as Vr, fA as sa, b_ as oa, fB as Qr, fC as Mn, eL as Ci, fD as aa, a7 as Ni, W as ce, a8 as la, a9 as qt, bQ as ca, al as In, f3 as Si, fE as da, fF as ua, fG as ha, fH as fa, cd as ma, m as ga, d1 as pa, M as Kr, eN as mt, fI as Yr, fJ as Xr, bT as Ei, fK as Jr, O as _i, P as Di, fL as ki, V as Ri, a0 as ke, a2 as xt, fM as zt, fN as Mt, U as It, fO as Bt, fP as va, fQ as At, fR as Zr, aA as ba, fS as yn, bk as $t, fT as De, c3 as ya, fU as Gt, c2 as xa, c1 as wa, fV as Ca, fW as Na, bm as Bn, a3 as Pn, bh as Ti, bn as Fi, aK as Sa, fX as Oe, fY as Ea, fZ as _a, f_ as es, f$ as Hn, g0 as Da, g1 as ka, c8 as ts, bV as ns, g2 as Ra, g3 as Ta, g4 as Fa, g5 as Aa, aY as is, b2 as La, fa as Oa, fb as za, fd as Ma, g6 as rs, bv as Ct, bz as Nt, bH as Zt, g7 as Ai, g8 as Ia, bw as Ba, bd as Pa, X as ss, bl as Ha, a5 as Wa } from "./useDataCollectionSource-Dwcc8ccj.js";
|
|
2
|
+
import { gz as Vf, d as Qf, b$ as Kf, l as Yf, gL as Xf, aX as Jf, k as Zf, F as em, a as tm, C as nm, gr as im, b as rm, bJ as sm, be as om, bK as am, ga as lm, aP as cm, bs as dm, as as um, gb as hm, aB as fm, bY as mm, gf as gm, gg as pm, gh as vm, gQ as bm, b4 as ym, n as xm, aD as wm, bB as Cm, gu as Nm, b8 as Sm, gv as Em, gx as _m, gy as Dm, cF as km, cD as Rm, e as Tm, h as Fm, gA as Am, cp as Lm, cq as Om, g9 as zm, gP as Mm, b1 as Im, cE as Bm, gw as Pm, cr as Hm, bZ as Wm, gR as qm, gc as $m, gd as Gm, ge as jm, cs as Um, gK as Vm, gF as Qm, gt as Km, gn as Ym, gm as Xm, gl as Jm, gI as Zm, gE as eg, a$ as tg, co as ng, cl as ig, cn as rg, ck as sg, go as og, gD as ag, gC as lg, gp as cg, c7 as dg, cm as ug, gj as hg, gk as fg, gq as mg, g as gg, c as pg, gB as vg, gG as bg, gM as yg, gN as xg, gO as wg, aZ as Cg, gs as Ng, gi as Sg, i as Eg, gH as _g, bu as Dg, aW as kg, gJ as Rg, j as Tg, f as Fg, gS as Ag } from "./useDataCollectionSource-Dwcc8ccj.js";
|
|
3
3
|
import { jsx as l, jsxs as x, Fragment as we } from "react/jsx-runtime";
|
|
4
4
|
import le, { forwardRef as qe, useRef as W, useImperativeHandle as qa, Children as xn, createContext as Ye, useContext as Re, useState as G, useMemo as P, useEffect as U, useCallback as B, useLayoutEffect as hi, createElement as an, isValidElement as os, Fragment as $a, memo as as, useReducer as Ga, cloneElement as ja, useId as ls } from "react";
|
|
5
|
-
import { t as Ua, v as Va, w as cs, x as Qa, y as Ka, z as Wn, B as Ya, E as Li, G as Xa, H as Ja, I as ds, J as wn, K as Oi, L as us, N as Za, O as hs, P as ar, Q as el } from "./F0AiProposalCard-
|
|
6
|
-
import { A as Og, U as zg, C as Mg, c as Ig, D as Bg, a as Pg, b as Hg, S as Wg, e as qg, f as $g, g as Gg, h as jg, p as Ug, l as Vg, r as Qg, $ as Kg, m as Yg, R as Xg, a0 as Jg, n as Zg, i as ep, a5 as tp, F as np, d as ip, V as rp, W as sp, X as op, Y as ap, M as lp, Z as cp, _ as dp, k as up, j as hp, T as fp, q as mp, a3 as gp, a2 as pp, o as vp, s as bp, u as yp, a4 as xp, a6 as wp, a1 as Cp } from "./F0AiProposalCard-
|
|
5
|
+
import { t as Ua, v as Va, w as cs, x as Qa, y as Ka, z as Wn, B as Ya, E as Li, G as Xa, H as Ja, I as ds, J as wn, K as Oi, L as us, N as Za, O as hs, P as ar, Q as el } from "./F0AiProposalCard-BG_v_JYN.js";
|
|
6
|
+
import { A as Og, U as zg, C as Mg, c as Ig, D as Bg, a as Pg, b as Hg, S as Wg, e as qg, f as $g, g as Gg, h as jg, p as Ug, l as Vg, r as Qg, $ as Kg, m as Yg, R as Xg, a0 as Jg, n as Zg, i as ep, a5 as tp, F as np, d as ip, V as rp, W as sp, X as op, Y as ap, M as lp, Z as cp, _ as dp, k as up, j as hp, T as fp, q as mp, a3 as gp, a2 as pp, o as vp, s as bp, u as yp, a4 as xp, a6 as wp, a1 as Cp } from "./F0AiProposalCard-BG_v_JYN.js";
|
|
7
7
|
import { createPortal as fs, unstable_batchedUpdates as ln } from "react-dom";
|
|
8
|
-
import { C as tl, D as nl, E as il, l as rl } from "./index-
|
|
9
|
-
import { n as Sp, o as Ep, p as _p, u as Dp, F as kp, q as Rp, x as Tp, y as Fp, N as Ap, z as Lp, r as Op, P as zp, t as Mp, R as Ip, s as Bp, j as Pp, k as Hp, w as Wp, v as qp } from "./index-
|
|
8
|
+
import { C as tl, D as nl, E as il, l as rl } from "./index-H4G2ic7W.js";
|
|
9
|
+
import { n as Sp, o as Ep, p as _p, u as Dp, F as kp, q as Rp, x as Tp, y as Fp, N as Ap, z as Lp, r as Op, P as zp, t as Mp, R as Ip, s as Bp, j as Pp, k as Hp, w as Wp, v as qp } from "./index-H4G2ic7W.js";
|
|
10
10
|
import { defaultTranslations as Gp } from "./i18n-provider-defaults.js";
|
|
11
11
|
import './f0.css';const sl = {
|
|
12
12
|
xs: 1,
|
|
@@ -433,6 +433,7 @@ export declare const defaultTranslations: {
|
|
|
433
433
|
};
|
|
434
434
|
readonly credits: {
|
|
435
435
|
readonly title: "Credits";
|
|
436
|
+
readonly employeeCredits: "Your credits";
|
|
436
437
|
readonly creditsLeft: "{{total}} left";
|
|
437
438
|
readonly monthlyCredits: "Monthly credits";
|
|
438
439
|
readonly creditsError: "Could not load credits";
|
|
@@ -873,6 +874,11 @@ declare module "gridstack" {
|
|
|
873
874
|
}
|
|
874
875
|
|
|
875
876
|
|
|
877
|
+
declare namespace Calendar {
|
|
878
|
+
var displayName: string;
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
|
|
876
882
|
declare module "@tiptap/core" {
|
|
877
883
|
interface Commands<ReturnType> {
|
|
878
884
|
aiBlock: {
|
|
@@ -922,11 +928,6 @@ declare module "@tiptap/core" {
|
|
|
922
928
|
}
|
|
923
929
|
|
|
924
930
|
|
|
925
|
-
declare namespace Calendar {
|
|
926
|
-
var displayName: string;
|
|
927
|
-
}
|
|
928
|
-
|
|
929
|
-
|
|
930
931
|
declare namespace F0GraphNodeWrapperInner {
|
|
931
932
|
var displayName: string;
|
|
932
933
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as A, jsx as g, Fragment as tn } from "react/jsx-runtime";
|
|
2
2
|
import * as U from "react";
|
|
3
3
|
import C, { useRef as Ct, useState as ue, useCallback as Ye, useEffect as it, useLayoutEffect as mc, PureComponent as Wn, useMemo as Ps, forwardRef as Pt, useId as gc, useImperativeHandle as yc } from "react";
|
|
4
|
-
import { Q as Tn, a5 as cf, t as G, X as uf, cH as df, cI as ff, w as Ds, ad as Ne, ae as bc, cJ as Sn, cK as hf, cL as pf, cM as Na, cN as Pa, cO as Da, cP as Ma, cQ as Ia, cR as mf, cS as gf, cT as yf, cU as bf, cV as vc, cW as wc, ar as Nn, cX as Ee, cY as W, cZ as Ie, c_ as xc, c$ as vf, d0 as Sc, d1 as Ms, d2 as wf, d3 as ge, d4 as Ki, d5 as ie, d6 as kc, d7 as Gi, d8 as Is, d9 as Ls, da as Rs, db as he, dc as De, dd as Ho, de as Yi, df as xf, dg as Ce, dh as qi, di as Pe, dj as hn, dk as $s, dl as Xi, dm as ui, dn as Ji, bL as js, dp as Sf, dq as Zr, dr as Si, ds as kf, dt as Af, du as Cf, dv as Ef, dw as Of, dx as _f, dy as Ac, dz as Cc, dA as Ec, dB as Oc, dC as _c, dD as Tf, dE as ki, dF as Nf, dG as Pf, dH as Lr, dI as Wt, dJ as _t, dK as Fs, dL as Rr, dM as Tc, dN as Nc, dO as Df, dP as Mf, dQ as If, dR as Lf, bu as Rf, dS as $f, dT as Oe, dU as _e, T as jf, x as Ff, y as zf, E as Bf, dV as Vf, dW as Pc, A as Hf, dX as Wf, bt as mt, N as on, aY as Uf, W as ce, a3 as zs, dY as Kf, ck as ke, dZ as So, d_ as Qe, d$ as gt, e0 as $e, e1 as Gf, e2 as di, e3 as nt, e4 as Dc, e5 as qe, e6 as Bs, e7 as Ze, e8 as La, e9 as Yf, ea as Mc, eb as ye, ec as Ve, ed as yr, ee as Ai, ef as Ic, eg as qf, eh as pn, ei as Xf, ej as Jf, ek as Zf, Y as j, am as Lc, b1 as Qf, an as Rc, el as $r, em as jr, en as Vs, eo as eh, ep as $c, eq as jc, er as Fc, es as th, et as zc, eu as Bc, ev as Vc, ew as Hc, ex as Wc, ey as Uc, ez as nh, eA as rh, u as Un, ac as ih, bk as Zi, K as oh, v as Qr, aX as sh, aF as ah, a_ as lh, eB as ch, eC as uh, eD as dh, eE as fh, eF as hh, eG as ph, a8 as Kc, a9 as Hs, aa as Ws, eH as Ra, eI as mh, eJ as gh, eK as yh, eL as bh, eM as vh, eN as wh, eO as xh, eP as Sh, eQ as kh, eR as Ah, eS as Ch, eT as Eh, eU as Oh, eV as _h, eW as Th, eX as Nh, eY as Ph, as as Dh, eZ as Mh, e_ as Ih, e$ as Lh, f0 as Rh, f1 as $h, f2 as jh, f3 as Fh, f4 as zh, aB as $a, at as Gc, f5 as Bh, bJ as Yc, f6 as Vh, aA as Hh, f7 as Wh, f8 as Uh, f9 as Kh, fa as Gh, fb as Yh, fc as qh, fd as Xh, fe as Jh, ff as Zh } from "./useDataCollectionSource-
|
|
4
|
+
import { Q as Tn, a5 as cf, t as G, X as uf, cH as df, cI as ff, w as Ds, ad as Ne, ae as bc, cJ as Sn, cK as hf, cL as pf, cM as Na, cN as Pa, cO as Da, cP as Ma, cQ as Ia, cR as mf, cS as gf, cT as yf, cU as bf, cV as vc, cW as wc, ar as Nn, cX as Ee, cY as W, cZ as Ie, c_ as xc, c$ as vf, d0 as Sc, d1 as Ms, d2 as wf, d3 as ge, d4 as Ki, d5 as ie, d6 as kc, d7 as Gi, d8 as Is, d9 as Ls, da as Rs, db as he, dc as De, dd as Ho, de as Yi, df as xf, dg as Ce, dh as qi, di as Pe, dj as hn, dk as $s, dl as Xi, dm as ui, dn as Ji, bL as js, dp as Sf, dq as Zr, dr as Si, ds as kf, dt as Af, du as Cf, dv as Ef, dw as Of, dx as _f, dy as Ac, dz as Cc, dA as Ec, dB as Oc, dC as _c, dD as Tf, dE as ki, dF as Nf, dG as Pf, dH as Lr, dI as Wt, dJ as _t, dK as Fs, dL as Rr, dM as Tc, dN as Nc, dO as Df, dP as Mf, dQ as If, dR as Lf, bu as Rf, dS as $f, dT as Oe, dU as _e, T as jf, x as Ff, y as zf, E as Bf, dV as Vf, dW as Pc, A as Hf, dX as Wf, bt as mt, N as on, aY as Uf, W as ce, a3 as zs, dY as Kf, ck as ke, dZ as So, d_ as Qe, d$ as gt, e0 as $e, e1 as Gf, e2 as di, e3 as nt, e4 as Dc, e5 as qe, e6 as Bs, e7 as Ze, e8 as La, e9 as Yf, ea as Mc, eb as ye, ec as Ve, ed as yr, ee as Ai, ef as Ic, eg as qf, eh as pn, ei as Xf, ej as Jf, ek as Zf, Y as j, am as Lc, b1 as Qf, an as Rc, el as $r, em as jr, en as Vs, eo as eh, ep as $c, eq as jc, er as Fc, es as th, et as zc, eu as Bc, ev as Vc, ew as Hc, ex as Wc, ey as Uc, ez as nh, eA as rh, u as Un, ac as ih, bk as Zi, K as oh, v as Qr, aX as sh, aF as ah, a_ as lh, eB as ch, eC as uh, eD as dh, eE as fh, eF as hh, eG as ph, a8 as Kc, a9 as Hs, aa as Ws, eH as Ra, eI as mh, eJ as gh, eK as yh, eL as bh, eM as vh, eN as wh, eO as xh, eP as Sh, eQ as kh, eR as Ah, eS as Ch, eT as Eh, eU as Oh, eV as _h, eW as Th, eX as Nh, eY as Ph, as as Dh, eZ as Mh, e_ as Ih, e$ as Lh, f0 as Rh, f1 as $h, f2 as jh, f3 as Fh, f4 as zh, aB as $a, at as Gc, f5 as Bh, bJ as Yc, f6 as Vh, aA as Hh, f7 as Wh, f8 as Uh, f9 as Kh, fa as Gh, fb as Yh, fc as qh, fd as Xh, fe as Jh, ff as Zh } from "./useDataCollectionSource-Dwcc8ccj.js";
|
|
5
5
|
import './index.css';const Qh = {
|
|
6
6
|
active: !0,
|
|
7
7
|
breakpoints: {},
|