@factorialco/f0-react 2.45.0 → 2.46.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/ai.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { AgentState } from '@livekit/components-react';
2
+ import { AnchorHTMLAttributes } from 'react';
2
3
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
3
4
  import { baseColors } from '@factorialco/f0-core';
4
5
  import { ClassValue } from 'cva';
@@ -14,6 +15,7 @@ import { F0TagTeamProps } from './types';
14
15
  import { f1Colors } from '@factorialco/f0-core';
15
16
  import { ForwardedRef } from 'react';
16
17
  import { ForwardRefExoticComponent } from 'react';
18
+ import { HTMLAttributeAnchorTarget } from 'react';
17
19
  import { ItemProps } from './types';
18
20
  import { JSX as JSX_2 } from 'react';
19
21
  import { LocalAudioTrack } from 'livekit-client';
@@ -40,10 +42,118 @@ import { TrackReferenceOrPlaceholder } from '@livekit/components-react';
40
42
  import { VariantProps } from 'cva';
41
43
  import { WithDataTestIdReturnType } from '../../../lib/data-testid';
42
44
 
45
+ declare type ActionBaseProps = ActionCommonProps & DataAttributes;
46
+
47
+ declare interface ActionCommonProps {
48
+ /**
49
+ * Tooltip
50
+ */
51
+ tooltip?: string | false;
52
+ /**
53
+ * The variant of the action.
54
+ */
55
+ variant?: ActionVariant;
56
+ /**
57
+ * The children of the action.
58
+ */
59
+ children: ReactNode;
60
+ /**
61
+ * The prepend of the action.
62
+ */
63
+ prepend?: ReactNode;
64
+ /**
65
+ * The append of the action.
66
+ */
67
+ append?: ReactNode;
68
+ /**
69
+ * The prepend outside (next to the button) of the action.
70
+ */
71
+ prependOutside?: ReactNode;
72
+ /**
73
+ * The append outside of the action.
74
+ */
75
+ appendOutside?: ReactNode;
76
+ /**
77
+ * The disabled state of the action.
78
+ */
79
+ disabled?: boolean;
80
+ /**
81
+ * The loading state of the action.
82
+ */
83
+ loading?: boolean;
84
+ /**
85
+ * The pressed state of the action.
86
+ */
87
+ pressed?: boolean;
88
+ /**
89
+ * The class name of the action.
90
+ */
91
+ className?: string;
92
+ /**
93
+ * The size of the action.
94
+ */
95
+ size?: ActionSize;
96
+ /**
97
+ * The font size of the action.
98
+ */
99
+ fontSize?: FontSize;
100
+ /**
101
+ * The render mode.
102
+ * @default "default"
103
+ */
104
+ mode?: "default" | "only";
105
+ /**
106
+ * The title of the action.
107
+ */
108
+ title?: string;
109
+ /**
110
+ * make the left and right padding of the action smaller.
111
+ */
112
+ compact?: boolean;
113
+ /**
114
+ * The aria label of the action.
115
+ */
116
+ "aria-label"?: string;
117
+ /**
118
+ * The tab index of the action.
119
+ */
120
+ tabIndex?: number;
121
+ /**
122
+ * Mouse enter event handler.
123
+ */
124
+ onMouseEnter?: React.MouseEventHandler<HTMLElement>;
125
+ /**
126
+ * Mouse leave event handler.
127
+ */
128
+ onMouseLeave?: React.MouseEventHandler<HTMLElement>;
129
+ }
130
+
43
131
  export declare type ActionItemStatus = (typeof actionItemStatuses)[number];
44
132
 
45
133
  export declare const actionItemStatuses: readonly ["inProgress", "executing", "writing", "completed"];
46
134
 
135
+ declare type ActionLinkProps = ActionBaseProps & {
136
+ href: string;
137
+ target?: NavTarget;
138
+ rel?: string;
139
+ onFocus?: (event: React.FocusEvent<HTMLAnchorElement>) => void;
140
+ onBlur?: (event: React.FocusEvent<HTMLAnchorElement>) => void;
141
+ onClick?: (event: React.MouseEvent<HTMLAnchorElement>) => void;
142
+ className?: string;
143
+ };
144
+
145
+ declare type ActionLinkVariant = (typeof actionLinkVariants)[number];
146
+
147
+ declare const actionLinkVariants: readonly ["link", "unstyled", "mention"];
148
+
149
+ declare type ActionSize = (typeof actionSizes)[number];
150
+
151
+ declare const actionSizes: readonly ["sm", "md", "lg"];
152
+
153
+ declare type ActionVariant = (typeof actionVariants)[number];
154
+
155
+ declare const actionVariants: readonly ["default", "outline", "critical", "neutral", "ghost", "promote", "outlinePromote", "ai", "link", "unstyled", "mention"];
156
+
47
157
  /* Excluded from this release type: AgentState */
48
158
 
49
159
  export declare type AggregationType = "count" | "sum" | "avg" | "min" | "max" | "countDistinct";
@@ -637,6 +747,26 @@ export declare const aiTranslations: {
637
747
  };
638
748
  };
639
749
 
750
+ declare type AlertAvatarProps = VariantProps<typeof alertAvatarVariants> & {
751
+ type: (typeof alertAvatarTypes)[number];
752
+ size?: (typeof alertAvatarSizes)[number];
753
+ } & Partial<Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">>;
754
+
755
+ declare const alertAvatarSizes: readonly ["sm", "md", "lg"];
756
+
757
+ declare const alertAvatarTypes: readonly ["critical", "warning", "info", "positive"];
758
+
759
+ declare const alertAvatarVariants: (props?: ({
760
+ type?: "info" | "critical" | "warning" | "positive" | undefined;
761
+ size?: "lg" | "md" | "sm" | undefined;
762
+ } & ({
763
+ class?: ClassValue;
764
+ className?: never;
765
+ } | {
766
+ class?: never;
767
+ className?: ClassValue;
768
+ })) | undefined) => string;
769
+
640
770
  declare type AlertTagProps = ComponentProps<typeof F0TagAlert>;
641
771
 
642
772
  /**
@@ -901,10 +1031,151 @@ export declare type CanvasEntityDefinition<T extends CanvasContentBase = CanvasC
901
1031
  overflowHidden?: boolean;
902
1032
  };
903
1033
 
1034
+ /**
1035
+ * An optional action button rendered in the alert header.
1036
+ * Mutually exclusive with `dismissible` — only one can be shown at a time.
1037
+ * Supply either `onClick` (handler) or `href` (navigation link), not both.
1038
+ */
1039
+ declare type CardAlertAction = {
1040
+ /** Label text for the action button. */
1041
+ label: string;
1042
+ /** Whether the action button is disabled. */
1043
+ disabled?: boolean;
1044
+ } & ({
1045
+ /** Called when the action button is clicked. */
1046
+ onClick: () => void;
1047
+ href?: never;
1048
+ } | {
1049
+ /** URL to navigate to when the action button is clicked. */
1050
+ href: string;
1051
+ onClick?: never;
1052
+ });
1053
+
1054
+ declare interface CardAlertBase {
1055
+ /**
1056
+ * The visual variant of the alert, which determines the color scheme and default icon.
1057
+ */
1058
+ variant: CardAlertVariant;
1059
+ /**
1060
+ * The title text displayed in the alert banner.
1061
+ */
1062
+ title: string;
1063
+ /**
1064
+ * Optional custom icon. When omitted, defaults to the icon that best represents the variant.
1065
+ */
1066
+ icon?: IconType;
1067
+ /**
1068
+ * Controls whether the alert is visible. Defaults to true.
1069
+ * Use this together with onDismiss for controlled dismiss behaviour:
1070
+ * alert={{ ..., visible, dismissible: true, onDismiss: () => setVisible(false) }}
1071
+ */
1072
+ visible?: boolean;
1073
+ }
1074
+
1075
+ declare type CardAlertDismissible = CardAlertBase & {
1076
+ /** Renders a dismiss (×) button. Requires onDismiss. */
1077
+ dismissible: true;
1078
+ /**
1079
+ * Called when the dismiss (×) button is clicked.
1080
+ * The consumer is responsible for hiding the alert (e.g. by setting visible: false).
1081
+ */
1082
+ onDismiss: () => void;
1083
+ action?: never;
1084
+ };
1085
+
1086
+ declare type CardAlertNonDismissible = CardAlertBase & {
1087
+ dismissible?: false;
1088
+ onDismiss?: never;
1089
+ action?: never;
1090
+ };
1091
+
1092
+ declare type CardAlertProps = CardAlertDismissible | CardAlertWithAction | CardAlertNonDismissible;
1093
+
1094
+ declare type CardAlertVariant = (typeof cardAlertVariants)[number];
1095
+
1096
+ declare const cardAlertVariants: readonly ["info", "warning", "critical", "positive"];
1097
+
1098
+ declare type CardAlertWithAction = CardAlertBase & {
1099
+ dismissible?: never;
1100
+ onDismiss?: never;
1101
+ /** Action button rendered in the alert header. Mutually exclusive with `dismissible`. */
1102
+ action: CardAlertAction;
1103
+ };
1104
+
1105
+ declare type CardAvatarVariant = AvatarVariant | {
1106
+ type: "emoji";
1107
+ emoji: string;
1108
+ } | {
1109
+ type: "file";
1110
+ file: File;
1111
+ } | {
1112
+ type: "icon";
1113
+ icon: IconType;
1114
+ } | {
1115
+ type: "module";
1116
+ module: ModuleId;
1117
+ } | {
1118
+ type: "alert";
1119
+ variant: AlertAvatarProps["type"];
1120
+ } | {
1121
+ type: "date";
1122
+ date: Date;
1123
+ } | {
1124
+ type: "pulse";
1125
+ firstName: string;
1126
+ lastName: string;
1127
+ src?: string;
1128
+ pulse?: Pulse;
1129
+ onPulseClick: () => void;
1130
+ };
1131
+
904
1132
  declare type CardInternalProps = F0AiInsightCardProps & {
905
1133
  className?: string;
906
1134
  };
907
1135
 
1136
+ declare interface CardPrimaryAction {
1137
+ label: string;
1138
+ icon?: IconType;
1139
+ onClick: () => void;
1140
+ }
1141
+
1142
+ declare interface CardRowConfirmAction {
1143
+ onClick: () => void;
1144
+ /** Accessible label and tooltip. Defaults to "Confirm" / "Reject". */
1145
+ label?: string;
1146
+ disabled?: boolean;
1147
+ }
1148
+
1149
+ /**
1150
+ * Container breakpoint at which the card row switches between its inline and its
1151
+ * stacked (actions-on-their-own-line) layout. `never` keeps it inline at every
1152
+ * width.
1153
+ */
1154
+ declare type CardRowStackAt = "sm" | "md" | "lg" | "never";
1155
+
1156
+ /**
1157
+ * Resolved state shown at the trailing edge in place of the actions: a coloured
1158
+ * icon (e.g. `Check` for accepted, `Cross` for rejected) carrying the outcome.
1159
+ */
1160
+ declare interface CardRowStatus {
1161
+ /** The icon to render (e.g. `Check` for accepted, `Cross` for rejected). */
1162
+ icon: IconType;
1163
+ /** Colour family. */
1164
+ variant: StatusVariant;
1165
+ /** Accessible label; the icon carries meaning, so this is required. */
1166
+ label: string;
1167
+ }
1168
+
1169
+ declare interface CardSecondaryAction {
1170
+ label: string;
1171
+ icon?: IconType;
1172
+ onClick: () => void;
1173
+ }
1174
+
1175
+ declare interface CardSecondaryLink extends Pick<F0LinkProps, "href" | "target" | "disabled"> {
1176
+ label: string;
1177
+ }
1178
+
908
1179
  export declare interface ChartComputation {
909
1180
  datasetId: string;
910
1181
  xAxis: string;
@@ -2258,6 +2529,26 @@ declare type DetailsItemContent = (ComponentProps<typeof DataList.Item> & {
2258
2529
  */
2259
2530
  declare type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
2260
2531
 
2532
+ declare type DropdownItem = DropdownItemObject | DropdownItemSeparator | DropdownItemLabel;
2533
+
2534
+ declare type DropdownItemLabel = {
2535
+ type: "label";
2536
+ text: string;
2537
+ };
2538
+
2539
+ declare type DropdownItemObject = Pick<NavigationItem, "label" | "href"> & {
2540
+ type?: "item";
2541
+ onClick?: () => void;
2542
+ icon?: IconType;
2543
+ description?: string;
2544
+ critical?: boolean;
2545
+ avatar?: AvatarVariant;
2546
+ };
2547
+
2548
+ declare type DropdownItemSeparator = {
2549
+ type: "separator";
2550
+ };
2551
+
2261
2552
  export declare const DropOverlay: ({ visible, onFilesDropped }: DropOverlayProps) => JSX_2.Element;
2262
2553
 
2263
2554
  declare interface DropOverlayProps {
@@ -3012,6 +3303,92 @@ export declare type F0CanvasPanelProps = {
3012
3303
  entities?: Record<string, CanvasEntityDefinition<any>>;
3013
3304
  };
3014
3305
 
3306
+ declare interface F0CardRowProps {
3307
+ /**
3308
+ * The primary line of text.
3309
+ */
3310
+ title: string;
3311
+ /**
3312
+ * Optional secondary line shown beneath the title (wraps across multiple
3313
+ * lines when long).
3314
+ */
3315
+ description?: string;
3316
+ /**
3317
+ * Optional avatar rendered at a fixed `lg` size on the left (the size is not
3318
+ * configurable). Accepts any avatar type in the system: person, company, team,
3319
+ * file, flag, icon, emoji, module, alert, date, pulse. Types without a `lg`
3320
+ * variant (date, pulse) render at their intrinsic size.
3321
+ */
3322
+ avatar?: CardAvatarVariant;
3323
+ /**
3324
+ * The primary action button, shown at the trailing edge of the row.
3325
+ */
3326
+ primaryAction?: CardPrimaryAction;
3327
+ /**
3328
+ * Secondary actions (buttons) or a single link, shown before the primary action.
3329
+ */
3330
+ secondaryActions?: CardSecondaryAction[] | CardSecondaryLink;
3331
+ /**
3332
+ * Overflow (⋯) menu actions, rendered as the trailing control of the row.
3333
+ */
3334
+ otherActions?: DropdownItem[];
3335
+ /**
3336
+ * Confirm/reject variant: renders an icon-only ✗ (reject) + ✓ (confirm) pair
3337
+ * instead of the standard actions. Provide either or both.
3338
+ */
3339
+ confirmAction?: CardRowConfirmAction;
3340
+ /**
3341
+ * Reject (✗) action of the confirm/reject variant. See {@link confirmAction}.
3342
+ */
3343
+ rejectAction?: CardRowConfirmAction;
3344
+ /**
3345
+ * Resolved-state icon shown at the trailing edge in place of any actions — the
3346
+ * outcome of a confirm/reject row, e.g.
3347
+ * `{ icon: Check, variant: "positive", label: "Accepted" }`.
3348
+ * Takes precedence over the action props.
3349
+ */
3350
+ status?: CardRowStatus;
3351
+ /**
3352
+ * Strikes through and dims the title/description, marking the row's subject as
3353
+ * void or closed (e.g. a rejected request). Purely presentational — pair it
3354
+ * with the matching `status` tag at the call site.
3355
+ */
3356
+ inactive?: boolean;
3357
+ /**
3358
+ * Compact layout: tighter padding and smaller controls.
3359
+ */
3360
+ compact?: boolean;
3361
+ /**
3362
+ * Container width at which the actions drop to their own line (below it) vs.
3363
+ * sit inline (at/above it). `never` keeps them inline at every width.
3364
+ * @default "never"
3365
+ */
3366
+ stackAt?: CardRowStackAt;
3367
+ /**
3368
+ * When set, the whole row becomes a link to this href.
3369
+ */
3370
+ link?: string;
3371
+ /**
3372
+ * Stretch to fill the height of its container.
3373
+ */
3374
+ fullHeight?: boolean;
3375
+ /**
3376
+ * Alert banner displayed above the row with a coloured header strip and matching
3377
+ * border. Supports info, warning, critical and positive variants.
3378
+ * Use `visible` + `onDismiss` for controlled dismiss behaviour.
3379
+ */
3380
+ alert?: CardAlertProps;
3381
+ /**
3382
+ * Called when the row is clicked.
3383
+ */
3384
+ onClick?: () => void;
3385
+ /**
3386
+ * Disables the full-row overlay link so a parent can manage drag-and-drop while
3387
+ * still allowing click navigation via `onClick`.
3388
+ */
3389
+ disableOverlayLink?: boolean;
3390
+ }
3391
+
3015
3392
  /**
3016
3393
  * Clarifying question panel — content only, no mount animation.
3017
3394
  *
@@ -3034,30 +3411,51 @@ declare interface F0ClarifyingPanelProps {
3034
3411
  isSubmitDisabled?: boolean;
3035
3412
  }
3036
3413
 
3037
- export declare const F0HILActionConfirmation: ({ text, confirmationText, onConfirm, cancelText, onCancel, }: F0HILActionConfirmationProps) => JSX_2.Element;
3414
+ export declare const F0HILActionConfirmation: ({ text, description, avatar, confirmationText, onConfirm, cancelText, onCancel, stackAt, }: F0HILActionConfirmationProps) => JSX_2.Element;
3038
3415
 
3039
3416
  /**
3040
- * Props for the F0HILActionConfirmation component
3417
+ * Props for the F0HILActionConfirmation component.
3418
+ *
3419
+ * Renders an inline approve/reject row built on `F0CardRow`'s confirm/reject
3420
+ * variant: the prompt as the row title, with icon-only ✓ (confirm) and ✗
3421
+ * (reject) buttons at the trailing edge.
3041
3422
  */
3042
3423
  export declare type F0HILActionConfirmationProps = {
3043
3424
  /**
3044
- * Optional descriptive text shown above the action buttons
3425
+ * The prompt shown as the row title (e.g. the action awaiting confirmation).
3426
+ * Required — a confirmation without a prompt has no meaning.
3045
3427
  */
3046
- text?: string;
3428
+ text: string;
3429
+ /**
3430
+ * Optional secondary line shown beneath the title (single line, truncated).
3431
+ */
3432
+ description?: F0CardRowProps["description"];
3047
3433
  /**
3048
- * Text displayed on the confirmation button
3434
+ * Optional avatar rendered on the left of the row. Accepts any avatar type in
3435
+ * the system (person, company, team, file, icon, emoji, …).
3436
+ */
3437
+ avatar?: F0CardRowProps["avatar"];
3438
+ /**
3439
+ * Container width at which the ✓/✗ actions drop onto their own line instead of
3440
+ * staying inline. Prevents the buttons from overlapping the prompt in narrow
3441
+ * containers. Set to `"never"` to keep them inline at every width.
3442
+ * @default "sm"
3443
+ */
3444
+ stackAt?: F0CardRowProps["stackAt"];
3445
+ /**
3446
+ * Accessible label and tooltip for the confirm (✓) button.
3049
3447
  */
3050
3448
  confirmationText: string;
3051
3449
  /**
3052
- * Callback fired when the confirmation button is clicked
3450
+ * Callback fired when the confirm button is clicked.
3053
3451
  */
3054
3452
  onConfirm: () => void;
3055
3453
  /**
3056
- * Text displayed on the cancel button
3454
+ * Accessible label and tooltip for the reject (✗) button.
3057
3455
  */
3058
3456
  cancelText: string;
3059
3457
  /**
3060
- * Callback fired when the cancel button is clicked
3458
+ * Callback fired when the reject button is clicked.
3061
3459
  */
3062
3460
  onCancel: () => void;
3063
3461
  };
@@ -3069,6 +3467,12 @@ declare interface F0IconProps extends SVGProps<SVGSVGElement>, VariantProps<type
3069
3467
  color?: "default" | "currentColor" | `#${string}` | Lowercase<NestedKeyOf<typeof f1Colors.icon>>;
3070
3468
  }
3071
3469
 
3470
+ declare type F0LinkProps = Omit<ActionLinkProps, "variant" | "href"> & {
3471
+ variant?: ActionLinkVariant;
3472
+ stopPropagation?: boolean;
3473
+ href?: string;
3474
+ };
3475
+
3072
3476
  export declare type F0Message = {
3073
3477
  id: string;
3074
3478
  role: "user" | "assistant" | "system" | "tool";
@@ -3289,6 +3693,10 @@ declare type FlagAvatarVariant = Extract<AvatarVariant, {
3289
3693
  type: "flag";
3290
3694
  }>;
3291
3695
 
3696
+ declare type FontSize = (typeof fontSizes)[number];
3697
+
3698
+ declare const fontSizes: readonly ["sm", "md", "lg"];
3699
+
3292
3700
  /**
3293
3701
  * A preset formatting instruction the LLM can specify instead of a
3294
3702
  * real formatter function. The wrapper component maps these to actual
@@ -3406,6 +3814,11 @@ declare type Level = (typeof levels)[number];
3406
3814
 
3407
3815
  declare const levels: readonly ["info", "warning", "critical", "positive"];
3408
3816
 
3817
+ declare type LinkProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
3818
+ exactMatch?: boolean;
3819
+ disabled?: boolean;
3820
+ };
3821
+
3409
3822
  export declare const markdownRenderers: MarkdownTagRenderers;
3410
3823
 
3411
3824
  /**
@@ -3586,6 +3999,12 @@ declare const modules: {
3586
3999
  readonly workflows: ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & RefAttributes<SVGSVGElement>>;
3587
4000
  };
3588
4001
 
4002
+ declare type NavigationItem = Pick<LinkProps, "href" | "exactMatch" | "onClick"> & {
4003
+ label: string;
4004
+ } & DataAttributes_2;
4005
+
4006
+ declare type NavTarget = HTMLAttributeAnchorTarget;
4007
+
3589
4008
  /**
3590
4009
  * Utility type to extract all possible paths from nested object.
3591
4010
  * Generates hyphenated paths from nested object structure
@@ -3809,6 +4228,10 @@ declare type Props_2 = {
3809
4228
  customColor: string;
3810
4229
  });
3811
4230
 
4231
+ declare type Pulse = (typeof pulses)[number];
4232
+
4233
+ declare const pulses: readonly ["superNegative", "negative", "neutral", "positive", "superPositive"];
4234
+
3812
4235
  export declare interface RadarComputation {
3813
4236
  datasetId: string;
3814
4237
  seriesColumn: string;
@@ -4263,11 +4686,16 @@ declare module "gridstack" {
4263
4686
  }
4264
4687
 
4265
4688
 
4689
+ declare namespace Calendar {
4690
+ var displayName: string;
4691
+ }
4692
+
4693
+
4266
4694
  declare module "@tiptap/core" {
4267
4695
  interface Commands<ReturnType> {
4268
- aiBlock: {
4269
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
4270
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
4696
+ enhanceHighlight: {
4697
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
4698
+ clearEnhanceHighlight: () => ReturnType;
4271
4699
  };
4272
4700
  }
4273
4701
  }
@@ -4275,9 +4703,9 @@ declare module "@tiptap/core" {
4275
4703
 
4276
4704
  declare module "@tiptap/core" {
4277
4705
  interface Commands<ReturnType> {
4278
- enhanceHighlight: {
4279
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
4280
- clearEnhanceHighlight: () => ReturnType;
4706
+ aiBlock: {
4707
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
4708
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
4281
4709
  };
4282
4710
  }
4283
4711
  }
@@ -4312,11 +4740,6 @@ declare module "@tiptap/core" {
4312
4740
  }
4313
4741
 
4314
4742
 
4315
- declare namespace Calendar {
4316
- var displayName: string;
4317
- }
4318
-
4319
-
4320
4743
  declare namespace F0GraphNodeWrapperInner {
4321
4744
  var displayName: string;
4322
4745
  }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { D as e, F as r, a as t, e as o, f as i, c as n, d as F, I as C, P as A, b as l, u as d } from "./F0CanvasPanel-DMLQMGBW.js";
1
+ import { D as e, F as r, a as t, e as o, f as i, c as n, d as F, I as C, P as A, b as l, u as d } from "./F0CanvasPanel-CTpW3vtK.js";
2
2
  import { defaultTranslations as m } from "./i18n-provider-defaults.js";
3
- import { A as c, C as I, h as P, t as v, v as f, x as p, n as T, j as g, r as y, y as S, q as x, s as H, k as V, e as b, g as k, l as w, F as M, i as O, a as D, p as j, m as q, o as z, b as B, f as E, w as L, c as R, d as G, u as J } from "./useChatHistory-DvbntgsJ.js";
3
+ import { A as c, C as I, h as P, t as v, v as f, x as p, n as T, j as g, r as y, y as S, q as x, s as H, k as V, e as b, g as k, l as w, F as M, i as O, a as D, p as j, m as q, o as z, b as B, f as E, w as L, c as R, d as G, u as J } from "./useChatHistory-CyZmi4kr.js";
4
4
  export {
5
5
  c as AiChatTranslationsProvider,
6
6
  I as ChatSpinner,
@@ -8772,11 +8772,16 @@ declare module "gridstack" {
8772
8772
  }
8773
8773
 
8774
8774
 
8775
+ declare namespace Calendar {
8776
+ var displayName: string;
8777
+ }
8778
+
8779
+
8775
8780
  declare module "@tiptap/core" {
8776
8781
  interface Commands<ReturnType> {
8777
- aiBlock: {
8778
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
8779
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
8782
+ enhanceHighlight: {
8783
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
8784
+ clearEnhanceHighlight: () => ReturnType;
8780
8785
  };
8781
8786
  }
8782
8787
  }
@@ -8784,9 +8789,9 @@ declare module "@tiptap/core" {
8784
8789
 
8785
8790
  declare module "@tiptap/core" {
8786
8791
  interface Commands<ReturnType> {
8787
- enhanceHighlight: {
8788
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
8789
- clearEnhanceHighlight: () => ReturnType;
8792
+ aiBlock: {
8793
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
8794
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
8790
8795
  };
8791
8796
  }
8792
8797
  }
@@ -8821,11 +8826,6 @@ declare module "@tiptap/core" {
8821
8826
  }
8822
8827
 
8823
8828
 
8824
- declare namespace Calendar {
8825
- var displayName: string;
8826
- }
8827
-
8828
-
8829
8829
  declare namespace F0GraphNodeWrapperInner {
8830
8830
  var displayName: string;
8831
8831
  }
@@ -1,9 +1,9 @@
1
- import { g as da, B as ua, h as fa, i as ma, j as At, k as De, l as ha, m as p, n as X, o as ge, u as ie, T as pa, p as ga, q as ba, R as xa, r as va, s as re, t as wa, v as pt, w as rt, x as Re, A as _e, y as ya, z as Na, C as M, E as Ca, G as ka, H as ve, J as sn, K as Sa, L as Ia, M as W, N as on, S as O, O as we, Q as Fa, U as Aa, V as La, W as Ea, X as _a, Y as ke, Z as cn, _ as Oa, $ as be, a0 as $e, a1 as Da, a2 as gt, d as dn, a3 as Ce, a4 as Ta, a5 as un, a6 as ne, a7 as K, a8 as fn, a9 as mn, aa as za, ab as hn, ac as me, ad as ee, ae as Pa, af as Ba, ag as Ra, ah as $a, ai as pe, aj as Ge, ak as Wa, al as Ma, am as ja, an as Va, ao as He, ap as pn, aq as Ga, ar as Ha, as as Ua, at as We, au as Ka, av as qa, aw as Ya, ax as Za, ay as Xa, az as Ja, aA as Qa, aB as er, aC as tr, aD as nr, aE as lt, aF as gn, aG as it, aH as bn, aI as ar, aJ as rr, aK as lr, aL as ir, aM as sr, aN as Ue, aO as bt, aP as st, aQ as xn, aR as or, aS as vn, aT as cr, aU as dr, aV as ur, aW as Ee, aX as fr, aY as mr, aZ as Te, a_ as Lt, a$ as ot, b0 as hr, b1 as pr, a as gr, b as br, b2 as wn, b3 as xr, f as vr, F as wr, b4 as yr, b5 as yn, b6 as Nr, b7 as Nn, b8 as Cr, b9 as kr, ba as Sr, bb as Ir, bc as Fr, bd as Ar, be as Lr, bf as Er, bg as _r, bh as Cn, bi as ue, bj as xt, bk as vt, bl as wt, bm as kn, bn as yt, bo as Sn, bp as In, bq as Or, br as Dr, bs as Tr, bt as zr, bu as Pr, bv as Br, bw as Rr, bx as $r, by as Et, bz as Wr, bA as Mr, bB as _t, bC as Ot, bD as Dt, bE as jr, bF as Vr, bG as Gr, bH as Hr, bI as Fn, bJ as Ur, bK as Kr } from "./F0CanvasPanel-DMLQMGBW.js";
2
- import { bW as Lc, bV as Ec, c6 as _c, bS as Oc, bT as Dc, bL as Tc, bM as zc, bN as Pc, c7 as Bc, bU as Rc, c2 as $c, c3 as Wc, bO as Mc, bY as jc, bX as Vc, bP as Gc, bQ as Hc, c4 as Uc, c8 as Kc, c5 as qc, c1 as Yc, b_ as Zc, c0 as Xc, bZ as Jc, bR as Qc, b$ as ed } from "./F0CanvasPanel-DMLQMGBW.js";
1
+ import { g as da, B as ua, h as fa, i as ma, j as At, k as De, l as ha, m as p, n as X, o as ge, u as ie, T as pa, p as ga, q as ba, R as xa, r as va, s as re, t as wa, v as pt, w as rt, x as Re, A as _e, y as ya, z as Na, C as M, E as Ca, G as ka, H as ve, J as sn, K as Sa, L as Ia, M as W, N as on, S as O, O as we, Q as Fa, U as Aa, V as La, W as Ea, X as _a, Y as ke, Z as cn, _ as Oa, $ as be, a0 as $e, a1 as Da, a2 as gt, d as dn, a3 as Ce, a4 as Ta, a5 as un, a6 as ne, a7 as K, a8 as fn, a9 as mn, aa as za, ab as hn, ac as me, ad as ee, ae as Pa, af as Ba, ag as Ra, ah as $a, ai as pe, aj as Ge, ak as Wa, al as Ma, am as ja, an as Va, ao as He, ap as pn, aq as Ga, ar as Ha, as as Ua, at as We, au as Ka, av as qa, aw as Ya, ax as Za, ay as Xa, az as Ja, aA as Qa, aB as er, aC as tr, aD as nr, aE as lt, aF as gn, aG as it, aH as bn, aI as ar, aJ as rr, aK as lr, aL as ir, aM as sr, aN as Ue, aO as bt, aP as st, aQ as xn, aR as or, aS as vn, aT as cr, aU as dr, aV as ur, aW as Ee, aX as fr, aY as mr, aZ as Te, a_ as Lt, a$ as ot, b0 as hr, b1 as pr, a as gr, b as br, b2 as wn, b3 as xr, f as vr, F as wr, b4 as yr, b5 as yn, b6 as Nr, b7 as Nn, b8 as Cr, b9 as kr, ba as Sr, bb as Ir, bc as Fr, bd as Ar, be as Lr, bf as Er, bg as _r, bh as Cn, bi as ue, bj as xt, bk as vt, bl as wt, bm as kn, bn as yt, bo as Sn, bp as In, bq as Or, br as Dr, bs as Tr, bt as zr, bu as Pr, bv as Br, bw as Rr, bx as $r, by as Et, bz as Wr, bA as Mr, bB as _t, bC as Ot, bD as Dt, bE as jr, bF as Vr, bG as Gr, bH as Hr, bI as Fn, bJ as Ur, bK as Kr } from "./F0CanvasPanel-CTpW3vtK.js";
2
+ import { bW as Lc, bV as Ec, c6 as _c, bS as Oc, bT as Dc, bL as Tc, bM as zc, bN as Pc, c7 as Bc, bU as Rc, c2 as $c, c3 as Wc, bO as Mc, bY as jc, bX as Vc, bP as Gc, bQ as Hc, c4 as Uc, c8 as Kc, c5 as qc, c1 as Yc, b_ as Zc, c0 as Xc, bZ as Jc, bR as Qc, b$ as ed } from "./F0CanvasPanel-CTpW3vtK.js";
3
3
  import { jsx as e, jsxs as o, Fragment as U } from "react/jsx-runtime";
4
4
  import se, { forwardRef as j, useRef as G, useTransition as qr, useState as _, useLayoutEffect as An, useId as ct, useContext as Ke, createContext as Nt, useEffect as $, useCallback as Q, useMemo as q, Fragment as Yr, isValidElement as Zr, cloneElement as Ln, Children as En } from "react";
5
- import { C as Xr, P as Jr, a as _n, M as Qr, R as Tt, b as On, u as el, c as Dn, S as tl, A as nl, B as al, L as rl, d as ll, V as il, e as sl, f as ol, g as cl, O as dl } from "./useDataCollectionSource-iZJIN18U.js";
6
- import { l as nd, m as ad, j as rd, x as ld, n as id, s as sd, a3 as od, w as cd, k as dd, D as ud, F as fd, J as md, E as hd, z as pd, a9 as gd, I as bd, K as xd, Q as vd, o as wd, a5 as yd, a6 as Nd, a4 as Cd, a7 as kd, N as Sd, U as Id, a0 as Fd, a2 as Ad, p as Ld, r as Ed, t as _d, G as Od, a8 as Dd, H as Td, T as zd, q as Pd, v as Bd, h as Rd, i as $d, X as Wd, Y as Md, a1 as jd, y as Vd, Z as Gd, _ as Hd, W as Ud, $ as Kd } from "./useDataCollectionSource-iZJIN18U.js";
5
+ import { C as Xr, P as Jr, a as _n, M as Qr, R as Tt, b as On, u as el, c as Dn, S as tl, A as nl, B as al, L as rl, d as ll, V as il, e as sl, f as ol, g as cl, O as dl } from "./useDataCollectionSource-DspGeRMB.js";
6
+ import { l as nd, m as ad, j as rd, x as ld, n as id, s as sd, a3 as od, w as cd, k as dd, D as ud, F as fd, J as md, E as hd, z as pd, a9 as gd, I as bd, K as xd, Q as vd, o as wd, a5 as yd, a6 as Nd, a4 as Cd, a7 as kd, N as Sd, U as Id, a0 as Fd, a2 as Ad, p as Ld, r as Ed, t as _d, G as Od, a8 as Dd, H as Td, T as zd, q as Pd, v as Bd, h as Rd, i as $d, X as Wd, Y as Md, a1 as jd, y as Vd, Z as Gd, _ as Hd, W as Ud, $ as Kd } from "./useDataCollectionSource-DspGeRMB.js";
7
7
  const ul = da("Search", [
8
8
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
9
9
  ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]