@factorialco/f0-react 1.454.0 → 1.456.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.js CHANGED
@@ -1,31 +1,34 @@
1
- import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./F0AiChat-DIqM2tSl.js";
2
- import { defaultTranslations as m } from "./i18n-provider-defaults.js";
3
- import { A as p, e as g, F as S, c as v, d as x, b as k, a as O, f as P, o as b, u as y } from "./types-DdQ0j8E6.js";
1
+ import { l as t, k as e, F as r, a as o, C as i, b as n, m as F, n as u, d as A, I as c, g as C, c as m, h, e as l, u as d, j as I, i as f, f as T } from "./F0AiChat-CzH0StYB.js";
2
+ import { defaultTranslations as S } from "./i18n-provider-defaults.js";
3
+ import { A as v, e as x, F as P, c as V, d as k, b as O, a as b, f as y, o as M, u as j } from "./types-C_L1hIWU.js";
4
4
  export {
5
- p as AiChatTranslationsProvider,
5
+ v as AiChatTranslationsProvider,
6
6
  t as ChatSpinner,
7
- i as F0ActionItem,
8
- e as F0AiChat,
9
- n as F0AiChatProvider,
10
- o as F0AiChatTextArea,
11
- r as F0AiFullscreenChat,
12
- g as F0AiInsightCard,
13
- S as F0AiMask,
14
- v as F0AuraVoiceAnimation,
15
- x as F0HILActionConfirmation,
16
- A as F0OneIcon,
17
- c as F0OneSwitch,
18
- u as I18nProvider,
19
- k as actionItemStatuses,
20
- O as aiTranslations,
21
- P as contentTypes,
22
- m as defaultTranslations,
23
- F as getCanvasEntity,
24
- b as oneIconSizes,
25
- h as useAiChat,
26
- y as useAiChatTranslations,
27
- C as useDefaultCopilotActions,
28
- l as useI18n,
7
+ e as F0ActionItem,
8
+ r as F0AiChat,
9
+ o as F0AiChatProvider,
10
+ i as F0AiChatTextArea,
11
+ n as F0AiFullscreenChat,
12
+ x as F0AiInsightCard,
13
+ P as F0AiMask,
14
+ V as F0AuraVoiceAnimation,
15
+ k as F0HILActionConfirmation,
16
+ F as F0OneIcon,
17
+ u as F0OneSwitch,
18
+ A as FormCardValueFormatterProvider,
19
+ c as I18nProvider,
20
+ O as actionItemStatuses,
21
+ b as aiTranslations,
22
+ y as contentTypes,
23
+ S as defaultTranslations,
24
+ C as getCanvasEntity,
25
+ M as oneIconSizes,
26
+ m as useAiChat,
27
+ j as useAiChatTranslations,
28
+ h as useDefaultCopilotActions,
29
+ l as useFormCardValueFormatter,
30
+ d as useI18n,
29
31
  I as useMessageSourcesAction,
30
- f as useOrchestratorThinkingAction
32
+ f as useOrchestratorThinkingAction,
33
+ T as useSetFormCardValueFormatter
31
34
  };
@@ -384,6 +384,8 @@ declare type ActivityItemProps = {
384
384
 
385
385
  declare type AddRowActionsResult = PrimaryActionItemDefinition | PrimaryActionItemDefinition[] | undefined;
386
386
 
387
+ declare type AggregationType = "count" | "sum" | "avg" | "min" | "max" | "countDistinct";
388
+
387
389
  declare type AiBannerAction = {
388
390
  label: string;
389
391
  onClick: () => void;
@@ -515,6 +517,11 @@ declare type AiChatProviderProps = {
515
517
  * URL builders (navigation links) for each entity type.
516
518
  */
517
519
  entityRefs?: EntityRefs;
520
+ /**
521
+ * Canvas action callbacks grouped by entity type.
522
+ * Provides save/create functions for persisting canvas entities externally.
523
+ */
524
+ canvasActions?: CanvasActions;
518
525
  /**
519
526
  * Available tool hints that the user can activate to provide intent context
520
527
  * to the AI. Renders a selector button next to the send button.
@@ -1357,6 +1364,15 @@ declare type CandidateProfile = {
1357
1364
  source?: string;
1358
1365
  };
1359
1366
 
1367
+ /**
1368
+ * Canvas-level action callbacks grouped by entity type.
1369
+ * Each entity defines its own actions type; this aggregates them.
1370
+ * Passed by the host app to F0AiChatProvider via `canvasActions`.
1371
+ */
1372
+ declare type CanvasActions = {
1373
+ dashboard?: DashboardCanvasActions;
1374
+ };
1375
+
1360
1376
  declare type CardAvatarVariant = AvatarVariant | {
1361
1377
  type: "emoji";
1362
1378
  emoji: string;
@@ -1589,6 +1605,17 @@ export declare type CelebrationProps = {
1589
1605
 
1590
1606
  export declare const CelebrationSkeleton: () => JSX_2.Element;
1591
1607
 
1608
+ declare interface ChartComputation {
1609
+ datasetId: string;
1610
+ xAxis: string;
1611
+ yAxis: string;
1612
+ aggregation: AggregationType;
1613
+ series?: string;
1614
+ sortBy?: "value" | "category";
1615
+ sortOrder?: "asc" | "desc";
1616
+ limit?: number;
1617
+ }
1618
+
1592
1619
  declare type ChartConfig_3 = Record<string, ChartConfig_4[keyof ChartConfig_4]>;
1593
1620
 
1594
1621
  declare type ChartConfig_4 = {
@@ -1623,6 +1650,198 @@ declare type ChartItem<K extends ChartConfig_3> = {
1623
1650
  */
1624
1651
  export declare const ChartWidgetEmptyState: WithDataTestIdReturnType_5<ForwardRefExoticComponent<Props_6 & RefAttributes<HTMLDivElement>>>;
1625
1652
 
1653
+ declare interface ChatDashboardBarChartConfig extends ChatDashboardChartConfigBase {
1654
+ type: "bar";
1655
+ orientation?: "vertical" | "horizontal";
1656
+ stacked?: boolean;
1657
+ }
1658
+
1659
+ declare type ChatDashboardChartConfig = ChatDashboardBarChartConfig | ChatDashboardLineChartConfig | ChatDashboardFunnelChartConfig | ChatDashboardRadarChartConfig | ChatDashboardPieChartConfig | ChatDashboardGaugeChartConfig | ChatDashboardHeatmapChartConfig;
1660
+
1661
+ declare interface ChatDashboardChartConfigBase {
1662
+ showLegend?: boolean;
1663
+ showGrid?: boolean;
1664
+ showLabels?: boolean;
1665
+ valueFormat?: FormatPreset;
1666
+ }
1667
+
1668
+ declare interface ChatDashboardChartItem extends ChatDashboardItemBase {
1669
+ type: "chart";
1670
+ chart: ChatDashboardChartConfig;
1671
+ computation: ChartComputation | RadarComputation | PieComputation | GaugeComputation | HeatmapComputation;
1672
+ }
1673
+
1674
+ declare interface ChatDashboardCollectionItem extends ChatDashboardItemBase {
1675
+ type: "collection";
1676
+ columns: ChatDashboardColumn[];
1677
+ computation: CollectionComputation;
1678
+ }
1679
+
1680
+ declare interface ChatDashboardColumn {
1681
+ /** Column key — must match a key in each row object */
1682
+ id: string;
1683
+ /** Display header label */
1684
+ label: string;
1685
+ /** Optional fixed width in pixels */
1686
+ width?: number;
1687
+ }
1688
+
1689
+ /**
1690
+ * Complete dashboard configuration received via `displayDashboard`.
1691
+ * Contains fetchSpecs that describe how to obtain data server-side —
1692
+ * no raw data is included. Fully JSON-serializable.
1693
+ */
1694
+ declare interface ChatDashboardConfig {
1695
+ /** Dashboard title displayed in the canvas header and chat report card */
1696
+ title: string;
1697
+ /** Filter definitions — keys become filter IDs */
1698
+ filters?: Record<string, ChatDashboardFilterDefinition>;
1699
+ /**
1700
+ * Dashboard-level navigation filters (e.g. date navigator). Keys become
1701
+ * filter IDs. Rendered above the grid by F0AnalyticsDashboard's
1702
+ * `navigationFilters` slot.
1703
+ */
1704
+ navigationFilters?: Record<string, ChatDashboardNavigationFilterDefinition>;
1705
+ /** Ordered list of dashboard items with computation specs */
1706
+ items: ChatDashboardItem[];
1707
+ /** Fetch specs for server-side data retrieval, keyed by datasetId */
1708
+ fetchSpecs: Record<string, DashboardFetchSpec>;
1709
+ }
1710
+
1711
+ /** Granularity options exposed by F0's `OneDateNavigator`. */
1712
+ declare type ChatDashboardDateNavigationGranularity = "day" | "week" | "month" | "quarter" | "halfyear" | "year" | "range";
1713
+
1714
+ declare interface ChatDashboardFilterDefinition {
1715
+ type: "in";
1716
+ label: string;
1717
+ column: string;
1718
+ datasetId: string;
1719
+ }
1720
+
1721
+ declare interface ChatDashboardFunnelChartConfig {
1722
+ type: "funnel";
1723
+ sort?: "descending" | "ascending" | "none";
1724
+ orient?: "horizontal" | "vertical";
1725
+ labelPosition?: "inside" | "outside";
1726
+ showLegend?: boolean;
1727
+ showLabels?: boolean;
1728
+ showConversion?: boolean;
1729
+ valueFormat?: FormatPreset;
1730
+ }
1731
+
1732
+ declare interface ChatDashboardGaugeChartConfig {
1733
+ type: "gauge";
1734
+ min?: number;
1735
+ max?: number;
1736
+ showValue?: boolean;
1737
+ valueFormat?: FormatPreset;
1738
+ }
1739
+
1740
+ declare interface ChatDashboardHeatmapChartConfig {
1741
+ type: "heatmap";
1742
+ min?: number;
1743
+ max?: number;
1744
+ showLabels?: boolean;
1745
+ showVisualMap?: boolean;
1746
+ valueFormat?: FormatPreset;
1747
+ }
1748
+
1749
+ declare type ChatDashboardItem = ChatDashboardChartItem | ChatDashboardMetricItem | ChatDashboardCollectionItem;
1750
+
1751
+ declare interface ChatDashboardItemBase {
1752
+ id: string;
1753
+ title: string;
1754
+ description?: string;
1755
+ /** Source attribution shown as a subtitle (e.g. "Based on 8 feedbacks from 3 evaluators") */
1756
+ sourceDescription?: string;
1757
+ /**
1758
+ * Optional markdown explanation of how this item's data was calculated.
1759
+ * Surfaced via the per-item dropdown's "Where does this data come from?"
1760
+ * entry, which opens a dialog rendering the markdown. Omit to hide the
1761
+ * entry — backwards compatible with persisted dashboards.
1762
+ */
1763
+ explanation?: string;
1764
+ /**
1765
+ * @deprecated Ignored by the renderer — items auto-size to equal-width
1766
+ * slots based on the per-row slot budget. Kept for backwards compatibility
1767
+ * with persisted layouts; safe to leave unset.
1768
+ */
1769
+ colSpan?: number;
1770
+ /**
1771
+ * @deprecated Use `itemHeight` (pixels) instead. Kept for backwards
1772
+ * compatibility with persisted layouts: when `itemHeight` is unset, the
1773
+ * grid still reads `rowSpan * 48` as a fallback.
1774
+ */
1775
+ rowSpan?: number;
1776
+ /**
1777
+ * Item height in pixels. Takes precedence over `rowSpan` when set. The
1778
+ * row height in the grid is `max(itemHeight)` across all items in the row.
1779
+ * Persisted resizes write a pixel-accurate value here; agent-generated
1780
+ * dashboards should pick from a constrained set of values that match the
1781
+ * data shape (more rows / more categories → taller).
1782
+ */
1783
+ itemHeight?: number;
1784
+ x?: number;
1785
+ y?: number;
1786
+ }
1787
+
1788
+ declare interface ChatDashboardLineChartConfig extends ChatDashboardChartConfigBase {
1789
+ type: "line";
1790
+ lineType?: "linear" | "smooth" | "step";
1791
+ showArea?: boolean;
1792
+ showDots?: boolean;
1793
+ }
1794
+
1795
+ declare type ChatDashboardMetricFormat = {
1796
+ type: "number";
1797
+ } | {
1798
+ type: "currency";
1799
+ currency?: string;
1800
+ } | {
1801
+ type: "percent";
1802
+ } | {
1803
+ type: "custom";
1804
+ suffix?: string;
1805
+ prefix?: string;
1806
+ };
1807
+
1808
+ declare interface ChatDashboardMetricItem extends ChatDashboardItemBase {
1809
+ type: "metric";
1810
+ format?: ChatDashboardMetricFormat;
1811
+ decimals?: number;
1812
+ computation: MetricComputation;
1813
+ }
1814
+
1815
+ /**
1816
+ * Navigation filter definitions emitted by the LLM via `displayDashboard`.
1817
+ * Discriminated on `type`. Today the only supported variant is
1818
+ * `dateNavigation`, which renders F0's date navigator above the dashboard
1819
+ * grid. The `column` and `datasetId` are agent-side metadata used by the
1820
+ * compute SQL builder; they are stripped before reaching F0AnalyticsDashboard.
1821
+ */
1822
+ declare type ChatDashboardNavigationFilterDefinition = {
1823
+ type: "dateNavigation";
1824
+ label: string;
1825
+ column: string;
1826
+ datasetId: string;
1827
+ granularities: ChatDashboardDateNavigationGranularity[];
1828
+ defaultGranularity?: ChatDashboardDateNavigationGranularity;
1829
+ };
1830
+
1831
+ declare interface ChatDashboardPieChartConfig {
1832
+ type: "pie";
1833
+ innerRadius?: number;
1834
+ showLegend?: boolean;
1835
+ showLabels?: boolean;
1836
+ showPercentage?: boolean;
1837
+ valueFormat?: FormatPreset;
1838
+ }
1839
+
1840
+ declare interface ChatDashboardRadarChartConfig extends ChatDashboardChartConfigBase {
1841
+ type: "radar";
1842
+ showArea?: boolean;
1843
+ }
1844
+
1626
1845
  export declare type ChatWidgetEmptyStateProps = Props_6;
1627
1846
 
1628
1847
  declare type ChildrenPaginationInfo = {
@@ -1748,6 +1967,13 @@ declare type ClockInStatus = "clocked-in" | "break" | "clocked-out";
1748
1967
 
1749
1968
  declare type ColId = string;
1750
1969
 
1970
+ declare interface CollectionComputation {
1971
+ datasetId: string;
1972
+ sortBy?: string;
1973
+ sortOrder?: "asc" | "desc";
1974
+ limit?: number;
1975
+ }
1976
+
1751
1977
  /**
1752
1978
  * Props for the Collection component.
1753
1979
  * @template Record - The type of records in the collection
@@ -1914,36 +2140,6 @@ declare type CompareToDef = {
1914
2140
 
1915
2141
  declare type CompareToDefKey = string;
1916
2142
 
1917
- declare type Content = (ComponentProps<typeof DataList.Item> & {
1918
- type: "item";
1919
- }) | (ComponentProps<typeof DataList.PersonItem> & {
1920
- type: "person";
1921
- }) | (ComponentProps<typeof DataList.CompanyItem> & {
1922
- type: "company";
1923
- }) | (ComponentProps<typeof DataList.TeamItem> & {
1924
- type: "team";
1925
- }) | (ComponentProps<typeof Weekdays> & {
1926
- type: "weekdays";
1927
- }) | (ComponentProps<typeof DataList.DotTagItem> & {
1928
- type: "dot-tag";
1929
- }) | (Props_3 & {
1930
- type: "alert-tag";
1931
- }) | (F0TagBalanceProps & {
1932
- type: "balance-tag";
1933
- }) | (F0TagStatusProps & {
1934
- type: "status-tag";
1935
- }) | (F0TagRawProps & {
1936
- type: "raw-tag";
1937
- }) | {
1938
- [T in TagType_2]: {
1939
- type: "tag-list";
1940
- tagList: F0TagListProps<T>;
1941
- };
1942
- }[TagType_2] | {
1943
- type: "avatar-list";
1944
- avatarList: F0AvatarListProps;
1945
- };
1946
-
1947
2143
  /**
1948
2144
  * @experimental This is an experimental component use it at your own risk
1949
2145
  */
@@ -2018,6 +2214,25 @@ export declare const Dashboard: ForwardRefExoticComponent<DashboardProps & RefAt
2018
2214
  Skeleton: () => JSX_2.Element;
2019
2215
  };
2020
2216
 
2217
+ /**
2218
+ * Callbacks for persisting dashboards externally (beyond chat history).
2219
+ */
2220
+ declare type DashboardCanvasActions = {
2221
+ /** Update an existing saved dashboard */
2222
+ save: (id: string, category: string, config: ChatDashboardConfig) => Promise<void>;
2223
+ /** Create a new saved dashboard. Returns the new dashboard ID if available. */
2224
+ create: (title: string, description: string, config: ChatDashboardConfig, category?: string) => Promise<string | void>;
2225
+ };
2226
+
2227
+ declare interface DashboardFetchSpec {
2228
+ fetch: Array<{
2229
+ toolId: string;
2230
+ args: Record<string, unknown>;
2231
+ }>;
2232
+ query: string | null;
2233
+ columnLabels?: Record<string, string>;
2234
+ }
2235
+
2021
2236
  declare type DashboardProps = {
2022
2237
  widgetWidth?: WidgetWidth;
2023
2238
  children?: ReactNode[];
@@ -2859,6 +3074,19 @@ declare const defaultTranslations: {
2859
3074
  readonly formCard: {
2860
3075
  readonly moreFields: "Open to see all fields";
2861
3076
  };
3077
+ readonly dashboard: {
3078
+ readonly save: "Save";
3079
+ readonly saveToAnalytics: "Save the dashboard in Analytics";
3080
+ readonly saveAs: "Save as";
3081
+ readonly saveDialog: {
3082
+ readonly title: "Save dashboard";
3083
+ readonly titleLabel: "Title";
3084
+ readonly descriptionLabel: "Description";
3085
+ readonly descriptionPlaceholder: "Add a description (optional)";
3086
+ readonly save: "Save";
3087
+ readonly cancel: "Cancel";
3088
+ };
3089
+ };
2862
3090
  readonly dataDownload: {
2863
3091
  readonly title: "Download";
2864
3092
  readonly download: "Download {{format}}";
@@ -3089,6 +3317,8 @@ declare const defaultTranslations: {
3089
3317
  };
3090
3318
  };
3091
3319
  readonly forms: {
3320
+ readonly yes: "Yes";
3321
+ readonly no: "No";
3092
3322
  readonly actionBar: {
3093
3323
  readonly unsavedChanges: "You have changes pending to be saved";
3094
3324
  readonly saving: "Saving...";
@@ -3160,6 +3390,36 @@ declare interface DeleteBlockNotesTextEditorPageDocumentPatch {
3160
3390
  */
3161
3391
  export declare const DetailsItem: WithDataTestIdReturnType_5<ForwardRefExoticComponent<DetailsItemType & RefAttributes<HTMLDivElement>>>;
3162
3392
 
3393
+ export declare type DetailsItemContent = (ComponentProps<typeof DataList.Item> & {
3394
+ type: "item";
3395
+ }) | (ComponentProps<typeof DataList.PersonItem> & {
3396
+ type: "person";
3397
+ }) | (ComponentProps<typeof DataList.CompanyItem> & {
3398
+ type: "company";
3399
+ }) | (ComponentProps<typeof DataList.TeamItem> & {
3400
+ type: "team";
3401
+ }) | (ComponentProps<typeof Weekdays> & {
3402
+ type: "weekdays";
3403
+ }) | (ComponentProps<typeof DataList.DotTagItem> & {
3404
+ type: "dot-tag";
3405
+ }) | (Props_3 & {
3406
+ type: "alert-tag";
3407
+ }) | (F0TagBalanceProps & {
3408
+ type: "balance-tag";
3409
+ }) | (F0TagStatusProps & {
3410
+ type: "status-tag";
3411
+ }) | (F0TagRawProps & {
3412
+ type: "raw-tag";
3413
+ }) | {
3414
+ [T in TagType_2]: {
3415
+ type: "tag-list";
3416
+ tagList: F0TagListProps<T>;
3417
+ };
3418
+ }[TagType_2] | {
3419
+ type: "avatar-list";
3420
+ avatarList: F0AvatarListProps;
3421
+ };
3422
+
3163
3423
  /**
3164
3424
  * @experimental This is an experimental component use it at your own risk
3165
3425
  */
@@ -3175,8 +3435,14 @@ declare interface DetailsItemsListProps extends WithDataTestIdProps {
3175
3435
 
3176
3436
  export declare interface DetailsItemType {
3177
3437
  title: string;
3178
- content: Content | Content[];
3438
+ content: DetailsItemContent | DetailsItemContent[];
3179
3439
  isHorizontal?: boolean;
3440
+ /**
3441
+ * When true inside a tableView, keeps the table-row padding but stacks
3442
+ * the label above the content instead of side-by-side. Useful for
3443
+ * long-form text fields like rich-text or textarea.
3444
+ */
3445
+ verticalLayout?: boolean;
3180
3446
  spacingAtTheBottom?: boolean;
3181
3447
  }
3182
3448
 
@@ -4222,6 +4488,22 @@ declare type FontSize = (typeof fontSizes)[number];
4222
4488
 
4223
4489
  declare const fontSizes: readonly ["sm", "md", "lg"];
4224
4490
 
4491
+ /**
4492
+ * A preset formatting instruction the LLM can specify instead of a
4493
+ * real formatter function. The wrapper component maps these to actual
4494
+ * `(value: number) => string` functions at render time.
4495
+ */
4496
+ declare type FormatPreset = {
4497
+ type: "number";
4498
+ } | {
4499
+ type: "currency";
4500
+ currency?: string;
4501
+ } | {
4502
+ type: "percent";
4503
+ } | {
4504
+ type: "compact";
4505
+ };
4506
+
4225
4507
  declare interface FrameContextType {
4226
4508
  isSmallScreen: boolean;
4227
4509
  isLastToggleInvokedByUser: boolean;
@@ -4233,6 +4515,15 @@ declare interface FrameContextType {
4233
4515
  setForceFloat: (force: boolean) => void;
4234
4516
  }
4235
4517
 
4518
+ declare interface GaugeComputation {
4519
+ datasetId: string;
4520
+ aggregation: AggregationType;
4521
+ column?: string;
4522
+ min?: number;
4523
+ max?: number;
4524
+ name?: string;
4525
+ }
4526
+
4236
4527
  export declare function generateCSVContent<R extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<R>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<R>>(data: R[], visualization: Visualization<R, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping> | undefined, options?: CSVExportOptions): string;
4237
4528
 
4238
4529
  export declare const getGranularityDefinition: (granularityKey: GranularityDefinitionKey) => GranularityDefinition;
@@ -4376,6 +4667,14 @@ declare type HeaderSecondaryAction = SecondaryAction & {
4376
4667
  hideLabel?: boolean;
4377
4668
  };
4378
4669
 
4670
+ declare interface HeatmapComputation {
4671
+ datasetId: string;
4672
+ xAxis: string;
4673
+ yAxis: string;
4674
+ valueColumn: string;
4675
+ aggregation: AggregationType;
4676
+ }
4677
+
4379
4678
  export declare type heightType = "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | "auto";
4380
4679
 
4381
4680
  export declare const HighlightBanner: ({ title, subtitle, buttonLabel, onClick, }: HighlightBannerProps) => JSX_2.Element;
@@ -4915,6 +5214,12 @@ declare interface MetadataProps {
4915
5214
  collapse?: boolean;
4916
5215
  }
4917
5216
 
5217
+ declare interface MetricComputation {
5218
+ datasetId: string;
5219
+ aggregation: AggregationType;
5220
+ column?: string;
5221
+ }
5222
+
4918
5223
  /**
4919
5224
  * @experimental This is an experimental component use it at your own risk
4920
5225
  */
@@ -5812,6 +6117,16 @@ export declare const PieChartWidget: ForwardRefExoticComponent<Omit<WidgetProps_
5812
6117
  chart: PieChartProps_2;
5813
6118
  } & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
5814
6119
 
6120
+ declare interface PieComputation {
6121
+ datasetId: string;
6122
+ nameColumn: string;
6123
+ valueColumn: string;
6124
+ aggregation: AggregationType;
6125
+ sortBy?: "value" | "name";
6126
+ sortOrder?: "asc" | "desc";
6127
+ limit?: number;
6128
+ }
6129
+
5815
6130
  declare type PostDescriptionProps = {
5816
6131
  content: HTMLString;
5817
6132
  collapsed?: boolean;
@@ -6111,6 +6426,19 @@ export declare type RadarChartProps<K extends ChartConfig_3> = {
6111
6426
  aspect?: ComponentProps<typeof ChartContainer>["aspect"];
6112
6427
  };
6113
6428
 
6429
+ declare interface RadarComputation {
6430
+ datasetId: string;
6431
+ seriesColumn: string;
6432
+ indicators: Array<{
6433
+ column: string;
6434
+ label: string;
6435
+ max?: number;
6436
+ }>;
6437
+ limit?: number;
6438
+ sortBy?: string;
6439
+ sortOrder?: "asc" | "desc";
6440
+ }
6441
+
6114
6442
  export declare const rangeSeparator = "\u2192";
6115
6443
 
6116
6444
  declare interface ReactionProps {
@@ -7685,6 +8013,11 @@ declare module "gridstack" {
7685
8013
  }
7686
8014
 
7687
8015
 
8016
+ declare namespace Calendar {
8017
+ var displayName: string;
8018
+ }
8019
+
8020
+
7688
8021
  declare module "@tiptap/core" {
7689
8022
  interface Commands<ReturnType> {
7690
8023
  aiBlock: {
@@ -7732,8 +8065,3 @@ declare module "@tiptap/core" {
7732
8065
  };
7733
8066
  }
7734
8067
  }
7735
-
7736
-
7737
- declare namespace Calendar {
7738
- var displayName: string;
7739
- }
@@ -1,9 +1,9 @@
1
- import { a6 as oa, a7 as ca, a8 as da, a9 as ua, aa as Ft, ab as Te, ac as fa, ad as ht, ae as rt, af as Be, L as b, R as Z, M as be, u as se, ag as ma, ah as ha, ai as pa, aj as ba, ak as ga, a2 as oe, al as xa, Q as Ee, am as va, an as wa, ao as $, ap as ya, aq as Na, J as _e, ar as ln, as as Ca, at as ka, N as B, au as sn, a5 as E, av as ge, aw as Sa, ax as Ia, ay as Fa, az as Aa, aA as La, aB as Ce, aC as on, aD as Ea, aE as xe, aF as $e, aG as _a, aH as pt, k as cn, aI as Ne, aJ as Oa, aK as dn, a3 as ne, aL as H, O as un, aM as fn, aN as Ta, aO as mn, aP as me, a4 as ee, aQ as Da, aR as Pa, aS as za, aT as Ra, T as pe, aU as Ge, aV as Ba, aW as $a, aX as Wa, aY as Ma, aZ as He, a_ as hn, a$ as ja, b0 as Va, b1 as Ga, b2 as We, b3 as Ha, b4 as Ua, b5 as Ka, b6 as qa, b7 as Ya, b8 as Za, b9 as Xa, ba as Ja, bb as Qa, bc as er, bd as lt, be as it, bf as pn, bg as tr, bh as nr, bi as bn, bj as ar, bk as rr, P as Ue, bl as bt, bm as gn, bn as lr, bo as xn, bp as ir, bq as sr, br as or, bs as Le, bt as cr, bu as De, bv as At, bw as st, bx as dr, by as ur, a as fr, c as mr, bz as hr, bA as vn, bB as pr, bC as br, F as gr, bD as wn, X as xr, bE as yn, bF as vr, bG as Lt, bH as wr, bI as yr, bJ as Nr, bK as Cr, bL as Nn, bM as kr, bN as Sr, bO as Ir, bP as Fr, bQ as Ar, U as Cn, bR as ue, bS as kn, bT as gt, bU as xt, bV as vt, bW as Sn, bX as wt, bY as In, Y as Fn, bZ as Lr, b_ as Er, b$ as _r, c0 as Or, c1 as Tr, c2 as Dr, c3 as Pr, c4 as zr, c5 as Rr, c6 as Br, c7 as $r, c8 as Et, c9 as _t, ca as Ot, cb as Wr, cc as Mr, cd as jr, ce as Vr, cf as An, cg as Gr, ch as Hr, ci as Ur } from "./F0AiChat-DIqM2tSl.js";
2
- import { cC as Ac, cB as Lc, cl as Ec, cO as _c, cv as Oc, cw as Tc, ck as Dc, cy as Pc, cm as zc, c_ as Rc, cY as Bc, cn as $c, cz as Wc, cA as Mc, cx as jc, co as Vc, cK as Gc, cL as Hc, cP as Uc, cW as Kc, cX as qc, cZ as Yc, cu as Zc, cp as Xc, cE as Jc, cD as Qc, cq as ed, cr as td, cs as nd, cM as ad, c$ as rd, cj as ld, cN as id, cR as sd, cS as od, cJ as cd, cG as dd, cI as ud, cF as fd, ct as md, cH as hd, cT as pd, cU as bd, cQ as gd, cV as xd } from "./F0AiChat-DIqM2tSl.js";
1
+ import { a9 as oa, aa as ca, ab as da, ac as ua, ad as Ft, ae as Te, af as fa, ag as ht, ah as rt, ai as Be, O as b, W as Z, P as be, u as se, aj as ma, ak as ha, al as pa, am as ba, an as ga, a5 as oe, ao as xa, U as Ee, ap as va, aq as wa, ar as $, as as ya, at as Na, M as _e, au as ln, av as Ca, aw as ka, Q as B, ax as sn, a8 as E, ay as ge, az as Sa, aA as Ia, aB as Fa, aC as Aa, aD as La, aE as Ce, aF as on, aG as Ea, aH as xe, aI as $e, aJ as _a, aK as pt, n as cn, aL as Ne, aM as Oa, aN as dn, a6 as ne, aO as H, R as un, aP as fn, aQ as Ta, aR as mn, aS as me, a7 as ee, aT as Da, aU as Pa, aV as za, aW as Ra, X as pe, aX as Ge, aY as Ba, aZ as $a, a_ as Wa, a$ as Ma, b0 as He, b1 as hn, b2 as ja, b3 as Va, b4 as Ga, b5 as We, b6 as Ha, b7 as Ua, b8 as Ka, b9 as qa, ba as Ya, bb as Za, bc as Xa, bd as Ja, be as Qa, bf as er, bg as lt, bh as it, bi as pn, bj as tr, bk as nr, bl as bn, bm as ar, bn as rr, T as Ue, bo as bt, bp as gn, bq as lr, br as xn, bs as ir, bt as sr, bu as or, bv as Le, bw as cr, bx as De, by as At, bz as st, bA as dr, bB as ur, a as fr, c as mr, bC as hr, bD as vn, bE as pr, bF as br, F as gr, bG as wn, _ as xr, bH as yn, bI as vr, bJ as Lt, bK as wr, bL as yr, bM as Nr, bN as Cr, bO as Nn, bP as kr, bQ as Sr, bR as Ir, bS as Fr, bT as Ar, Y as Cn, bU as ue, bV as kn, bW as gt, bX as xt, bY as vt, bZ as Sn, b_ as wt, b$ as In, $ as Fn, c0 as Lr, c1 as Er, c2 as _r, c3 as Or, c4 as Tr, c5 as Dr, c6 as Pr, c7 as zr, c8 as Rr, c9 as Br, ca as $r, cb as Et, cc as _t, cd as Ot, ce as Wr, cf as Mr, cg as jr, ch as Vr, ci as An, cj as Gr, ck as Hr, cl as Ur } from "./F0AiChat-CzH0StYB.js";
2
+ import { cF as Ac, cE as Lc, co as Ec, cR as _c, cy as Oc, cz as Tc, cn as Dc, cB as Pc, cp as zc, d1 as Rc, c$ as Bc, cq as $c, cC as Wc, cD as Mc, cA as jc, cr as Vc, cN as Gc, cO as Hc, cS as Uc, cZ as Kc, c_ as qc, d0 as Yc, cx as Zc, cs as Xc, cH as Jc, cG as Qc, ct as ed, cu as td, cv as nd, cP as ad, d2 as rd, cm as ld, cQ as id, cU as sd, cV as od, cM as cd, cJ as dd, cL as ud, cI as fd, cw as md, cK as hd, cW as pd, cX as bd, cT as gd, cY as xd } from "./F0AiChat-CzH0StYB.js";
3
3
  import { jsx as e, jsxs as o, Fragment as U } from "react/jsx-runtime";
4
4
  import re, { forwardRef as j, useRef as V, useTransition as Kr, useState as _, useLayoutEffect as Ln, useContext as Ke, createContext as yt, useCallback as Q, useMemo as K, useEffect as W, useId as qr, Fragment as Yr, isValidElement as Zr, cloneElement as En, Children as _n } from "react";
5
- import { C as Xr, P as Jr, g as On, c as Qr, F as ot, f as el, a as tl, A as nl, B as al, L as rl, b as ll, V as il, d as sl, e as Tt, h as ol, i as cl } from "./index-D0tXM9Ve.js";
6
- import { l as wd, m as yd, j as Nd, n as Cd, s as kd, D as Sd, k as Id, o as Fd, w as Ad, x as Ld, N as Ed, y as _d, p as Od, r as Td, R as Dd, u as Pd, q as zd, _ as Rd, v as Bd, t as $d } from "./index-D0tXM9Ve.js";
5
+ import { C as Xr, P as Jr, g as On, c as Qr, F as ot, f as el, a as tl, A as nl, B as al, L as rl, b as ll, V as il, d as sl, e as Tt, h as ol, i as cl } from "./index-BuZO2NzI.js";
6
+ import { l as wd, m as yd, j as Nd, n as Cd, s as kd, D as Sd, k as Id, o as Fd, w as Ad, x as Ld, N as Ed, y as _d, p as Od, r as Td, R as Dd, u as Pd, q as zd, _ as Rd, v as Bd, t as $d } from "./index-BuZO2NzI.js";
7
7
  const dl = oa("Search", [
8
8
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
9
9
  ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]