@factorialco/f0-react 11.5.0 → 11.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ChatPostComposerDialog-BNPcskpC.js → ChatPostComposerDialog-DlTarU2t.js} +2 -2
- package/dist/{CoachmarkProvider-C0VwFy7C.js → CoachmarkProvider-BZR6ZWSY.js} +22814 -22048
- package/dist/{DocumentToolbar-C8mxENP5.js → DocumentToolbar-CEnc5mA_.js} +3 -3
- package/dist/{DocxViewer-DrVcTEmI.js → DocxViewer-CHKnFyy8.js} +1 -1
- package/dist/{F0AiProcessingOverlay-Ce8D6iy4.js → F0AiProcessingOverlay-BvncWNSK.js} +2 -2
- package/dist/{F0CanvasPanel-BM8XJQxg.js → F0CanvasPanel-DBmbUf9-.js} +4 -4
- package/dist/{F0DocumentViewer-2l2m-eh2.js → F0DocumentViewer-C1MbwNnK.js} +4 -4
- package/dist/F0DocumentViewer-KZ-R7jH-.js +3 -0
- package/dist/{F0Map-ClRM1GNy.js → F0Map-BLgH0iSz.js} +3 -3
- package/dist/{F0Select-i2dNQl-o.js → F0Select-CIB-utqj.js} +2 -2
- package/dist/F0VideoPlayer-D4qHjKmh.js +1 -0
- package/dist/{F0VideoPlayer-CkrzZndG.js → F0VideoPlayer-jP8LM0k6.js} +1 -1
- package/dist/{Map-IOe08e6t.js → Map-_z0v0oGy.js} +3 -3
- package/dist/{PdfThumbnail-CSm1-nL6.js → PdfThumbnail-CH2WSGfC.js} +1 -1
- package/dist/{SheetViewer-Dr05AACA.js → SheetViewer-GKJty6zT.js} +3 -3
- package/dist/{TextViewer-B-ElqCqI.js → TextViewer-D2EK6BGr.js} +1 -1
- package/dist/ai.js +2 -2
- package/dist/component-status.js +36 -36
- package/dist/experimental.d.ts +239 -27
- package/dist/experimental.js +4401 -4265
- package/dist/f0.d.ts +1 -762
- package/dist/f0.js +2062 -2716
- package/dist/{maplibre-FCAkaIHP.js → maplibre-Cut3Iq6f.js} +1 -1
- package/dist/{pdfWorker-BsMaV8KV.js → pdfWorker-xSCO7W5L.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{index-DZW6rqbl.d.ts → types-Bhw7yTkP.d.ts} +768 -2
- package/package.json +1 -1
- package/dist/F0DocumentViewer-D2Ha0lRL.js +0 -3
- package/dist/F0VideoPlayer-Ahs45M0U.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ai as IconAvatarVariant, Ci as AvatarVariant, Di as CompanyAvatarVariant, Fn as CardAvatarVariant, Hn as DropdownContentVariant, In as AlertAvatarProps, Jn as DropdownItemSeparator, Jt as ValueDisplayRendererDefinition, Kn as DropdownItemObject, Kt as CardMetadata, Lt as CardImageAspectRatio, Mi as TeamAvatarVariant, Qt as TagVariant, Rt as CardImageFit, Si as AvatarAction, Un as DropdownInternalProps, Wn as DropdownItem, _r as StatusVariant, ca as F0IconProps, da as WithDataTestIdProps, dr as DataAttributes, er as F0ButtonProps, ji as PersonAvatarVariant, la as IconType, oa as DistributiveOmit$1, pa as WithDataTestIdReturnType, ra as NewColor, ta as ModuleId, vr as Variant, yt as TranscribeFn, zi as CountryCode, zt as CardImageSize } from "./index-DN2jqF-n.js";
|
|
1
|
+
import { Ai as IconAvatarVariant, Ci as AvatarVariant, Di as CompanyAvatarVariant, Dn as ChartColorToken, Fn as CardAvatarVariant, Hn as DropdownContentVariant, In as AlertAvatarProps, Jn as DropdownItemSeparator, Jt as ValueDisplayRendererDefinition, Kn as DropdownItemObject, Kt as CardMetadata, Lt as CardImageAspectRatio, Mi as TeamAvatarVariant, Qt as TagVariant, Rt as CardImageFit, Si as AvatarAction, Un as DropdownInternalProps, Wn as DropdownItem, _r as StatusVariant, ca as F0IconProps, da as WithDataTestIdProps, dr as DataAttributes, er as F0ButtonProps, ji as PersonAvatarVariant, la as IconType, oa as DistributiveOmit$1, pa as WithDataTestIdReturnType, ra as NewColor, ta as ModuleId, vr as Variant, yt as TranscribeFn, zi as CountryCode, zt as CardImageSize } from "./index-DN2jqF-n.js";
|
|
2
2
|
import { n as TranslationsType } from "./i18n-provider-defaults-iUxatyvB.js";
|
|
3
3
|
import * as React$2 from "react";
|
|
4
4
|
import React$1, { AriaAttributes, AutoFill, CSSProperties, ComponentProps, ComponentType, Dispatch, FC, ForwardedRef, HTMLAttributes, HTMLInputTypeAttribute, ReactElement, ReactNode, Ref, RefAttributes, RefObject, TextareaHTMLAttributes } from "react";
|
|
@@ -14,6 +14,7 @@ import "react-pdf";
|
|
|
14
14
|
import { PDFDocumentProxy } from "pdfjs-dist";
|
|
15
15
|
import { ZodEffects, ZodErrorMap, ZodRawShape, ZodType, ZodTypeAny, z } from "zod";
|
|
16
16
|
import "react-hook-form";
|
|
17
|
+
import * as echarts from "echarts";
|
|
17
18
|
//#region src/elements/lib/dateTypes.d.ts
|
|
18
19
|
type DateRange = {
|
|
19
20
|
from: Date;
|
|
@@ -2372,6 +2373,11 @@ type PieChartProps = {
|
|
|
2372
2373
|
dataConfig: ChartConfig;
|
|
2373
2374
|
data: PieChartItem[];
|
|
2374
2375
|
tickFormatter?: (value: string) => string;
|
|
2376
|
+
/**
|
|
2377
|
+
* What the ring's CENTER says at rest. Defaults to the total of `data`, so a
|
|
2378
|
+
* donut never has an empty middle; set it to name a different figure
|
|
2379
|
+
* ("Total employees"). Hovering a slice still shows that slice there.
|
|
2380
|
+
*/
|
|
2375
2381
|
overview?: {
|
|
2376
2382
|
number: number;
|
|
2377
2383
|
label: string;
|
|
@@ -11551,4 +11557,764 @@ declare const F0Form: {
|
|
|
11551
11557
|
(props: F0FormPropsWithDefinition): React$1.ReactElement;
|
|
11552
11558
|
};
|
|
11553
11559
|
//#endregion
|
|
11554
|
-
export { F0FormRef as $, DatePickerValue$1 as $a, F0ButtonDropdownProps as $c, StepItemProps as $i, Action as $l, F0DatePickerInlineProps as $n, F0TextInput as $o, FileType as $r, F0MapProjection as $s, isZodType as $t, isVisibleAction as $u, F0FormDiscardConfig as A, DataCollectionSourceDefinition as Aa, F0DialogSecondaryActionItem as Ac, PresetsDefinition as Ad, Message as Ai, F0SegmentedControlProps as Al, DialogId as An, SummaryType as Ao, F0DocumentViewerAction as Ar, CardSelectableMultipleProps as As, F0CustomFieldConfig as At, useData as Au, F0FormSubmitConfig as B, NavigationFilterDefinition as Ba, F0ResourceHeaderProps as Bc, CalendarMode as Bd, F0AlertProps as Bi, F0Select as Bl, F0DateRangeConfig as Bn, F0TextAreaInput as Bo, RichTextEditorHandle as Br, TimelineRowStatus as Bs, F0LocationFieldConfig as Bt, SelectedItemsState as Bu, RowAction as C, OnLoadErrorCallback as Ca, DialogControls as Cc, FilterOptions as Cd, NotesTextEditorSnapshot as Ci, LineChartPropsBase as Cl, F0LocationField as Cn, UpsellActionDefinitionFn as Co, Localized as Cr, LocationInputSize as Cs, F0BaseField as Ct, DataError as Cu, useSchemaDefinition as D, DataCollectionDataAdapter as Da, F0DialogPrimaryAction as Dc, FiltersState as Dd, TopLevelPrependNotesTextEditorPageDocumentPatch as Di, BaseBanner as Dl, DialogActionValue as Dn, getUpsellAction as Do, F0PdfViewerProps as Dr, CardSelectableContainer as Ds, F0ArrayConfig as Dt, UseDataReturn as Du, getSchemaDefinition as E, DataCollectionBaseFetchOptions as Ea, F0DialogActionsProps as Ec, FiltersMode as Ed, TopLevelAppendNotesTextEditorPageDocumentPatch as Ei, BannerAction as El, DialogAction as En, getSecondaryActions as Eo, F0PdfViewerAction as Er, locationParts as Es, RenderIfCondition as Et, UseDataOptions as Eu, F0FormPropsWithPerSectionSchema as F, BulkAction as Fa, TabsSkeleton as Fc, NumberFilterDefinition as Fd, enhanceTextParams as Fi, ButtonToggleVariant as Fl, F0DrawerAction as Fn, TOCItemAction as Fo, F0RichTextEditor as Fr, F0TimelineRowMultitaskProps as Fs, F0FieldAlertFunction as Ft, DataSource as Fu, F0PerSectionSubmitConfig as G, OneCalendar as Ga, PrimaryDropdownAction as Gc, DateRange as Gd, DataCollectionStorage as Gi, F0SelectItemObject as Gl, F0DateField as Gn, F0NumberInputInlineProps as Go, filesConfig as Gr, F0MapSidebarToggleProps as Gs, F0RichTextFieldConfig as Gt, SearchOptions as Gu, F0PerSectionSchema as H, NavigationFiltersDefinition as Ha, MetadataItem as Hc, CalendarView as Hd, OneEmptyState as Hi, F0SelectInlineProps as Hl, DateGranularity as Hn, Textarea as Ho, RichTextEditorSkeletonProps as Hr, F0MapList as Hs, F0NumberFieldConfig as Ht, SelectionId as Hu, F0FormPropsWithSingleSchema as I, BulkActionDefinition as Ia, NavigationProps as Ic, InFilterDefinition as Id, enhancedTextResponse as Ii, buttonToggleColors as Il, F0DrawerActionsProps as In, TOCProps as Io, F0RichTextEditorHandle as Ir, F0TimelineRowNestedtaskProps as Is, F0FieldAlertProps as It, DataSourceDefinition as Iu, InferPerSectionValues as J, OneCalendarProps as Ja, ButtonDropdownGroup as Jc, WeekStartDay as Jd, LoadingStateProps as Ji, F0SelectTagProp as Jl, F0TimeConfig as Jn, NumberInput as Jo, resultType as Jr, F0MapControls as Js, InferF0FormValues as Jt, GroupingState as Ju, F0SectionAction as K, OneCalendarInternal as Ka, F0ButtonDropdown as Kc, DateRangeComplete as Kd, DataCollectionStorageHandler as Ki, F0SelectItemProps as Kl, F0DateTimeConfig as Kn, F0NumberInput as Ko, heightType as Kr, F0MapSidebar as Ks, F0StringConfig as Kt, GroupingDefinition as Ku, F0FormPropsWithSingleSchemaDefinition as L, OnBulkActionCallback as La, NavigationTarget as Lc, DateFilterDefinition as Ld, lastIntentType as Li, buttonToggleSizes as Ll, F0DrawerPosition as Ln, Pulse as Lo, F0RichTextEditorProps as Lr, F0TimelineRowOtherAction as Ls, F0FieldConfig as Lt, OnSelectItemsCallback as Lu, F0FormLikeComponent as M, SearchPreview as Ma, TabItem as Mc, FilterDefinition as Md, ImageUploadConfig as Mi, F0ButtonToggleProps as Ml, NotificationDialogOptions as Mn, DropPosition as Mo, F0DocumentViewerToolbarPlacement as Mr, CardSelectableValue as Ms, F0DateRangeFieldConfig as Mt, resolveItemNeighbors as Mu, F0FormProps as N, SearchPreviewPage as Na, Tabs as Nc, FilterValue as Nd, EnhancementOption as Ni, ButtonToggleColor as Nl, Optional as Nn, TOCAction as No, F0PdfScale as Nr, F0TimelineRowAction as Ns, F0DateTimeFieldConfig as Nt, adaptDataAdapterToInfiniteScroll as Nu, F0AnySectionConfig as O, DataCollectionPaginatedFetchOptions as Oa, F0DialogPrimaryActionItem as Oc, PresetDefinition as Od, HeaderProps$1 as Oi, BaseBannerProps as Ol, DialogActions as On, SummariesDefinition as Oo, F0PdfViewerToolbarPlacement as Or, CardSelectableContainerProps as Os, F0BaseConfig as Ot, isInfiniteScrollPagination as Ou, F0FormPropsWithPerSectionDefinition as P, SearchPreviewResultData as Pa, TabsProps as Pc, SearchFilterDefinition as Pd, enhanceConfig as Pi, ButtonToggleSize as Pl, DrawerSize as Pn, TOCItem as Po, pdfScales as Pr, F0TimelineRowMultitaskItemProps as Ps, F0FieldAlert as Pt, PromiseOrObservable as Pu, SectionRenderIf as Q, DatePickerPopupProps as Qa, ButtonDropdownVariant as Qc, NextStepsProps as Qi, selectVariants as Ql, F0DatePickerInlineDismissReason as Qn, F0TextInputInlineProps as Qo, FILE_TYPES as Qr, F0MapHandle as Qs, inferFieldType as Qt, filterItemActions as Qu, F0FormSchema as R, NavigationFilter as Ra, PageNavigation as Rc, CalendarDate as Rd, F0Alert as Ri, buttonToggleVariants as Rl, DateRangeRenderIfCondition as Rn, F0TextAreaInputInline as Ro, F0RichTextEditorSkeletonProps as Rr, F0TimelineRowProps as Rs, F0FieldType as Rt, SelectedItemState as Ru, InlineRowAlert as S, OnLoadDataCallback as Sa, F0DialogProviderProps as Sc, CurrentFilters as Sd, NotesTextEditorPageDocumentPatch as Si, ChartPropsBase as Sl, F0LocationConfig as Sn, UpsellActionDefinition as So, VideoPlayerContent as Sr, F0LocationSuggestion as Ss, CommonRenderIfCondition as St, Data as Su, evaluateRenderIf as T, BulkActionsDefinition as Ta, DialogWidth as Tc, FiltersDefinition as Td, ReplaceContentNotesTextEditorPageDocumentPatch as Ti, LineChartConfig as Tl, ConfirmDialogOptions as Tn, getPrimaryActions as To, F0PdfViewer as Tr, locationInputSizes as Ts, FieldType as Tt, GroupRecord as Tu, F0PerSectionSectionConfig as U, NavigationFiltersState as Ua, MetadataItemValue as Uc, DateRangeError as Ud, predefinedPresets as Ui, selectInlineDismissReasons as Ul, DateRenderIfCondition as Un, TextareaProps as Uo, actionType as Ur, F0MapListProps as Us, F0PeriodFieldConfig as Ut, GROUP_ID_SYMBOL as Uu, F0FormSubmitResult as V, NavigationFilterValue as Va, HeaderSecondaryAction as Vc, CalendarSelection as Vd, alertVariantOptions as Vi, F0SelectInlineDismissReason as Vl, F0DateRangeField as Vn, F0TextAreaInputProps as Vo, RichTextEditorProps as Vr, timelineRowStatuses as Vs, F0MoreInfoLink as Vt, SelectedState as Vu, F0PerSectionSections as W, NavigationFilterDefinitionBase as Wa, PrimaryActionButton as Wc, OptionalCalendarSelection as Wd, dataCollectionLocalStorageHandler as Wi, F0SelectItemMetadata as Wl, F0DateConfig as Wn, F0NumberInputInline as Wo, editorStateType as Wr, F0MapSidebarToggle as Ws, F0PhoneFieldConfig as Wt, WithGroupId as Wu, RenderCustomFieldProps as X, getGranularitySimpleDefinition as Xa, ButtonDropdownMode as Xc, UpsellingButtonProps as Xi, ResolvedRecordType as Xl, F0DatePicker as Xn, NumberInputPopoverConfig as Xo, secondaryActionsType as Xr, F0MapSkeletonProps as Xs, getF0Config as Xt, ActionDefinition as Xu, RenderCustomFieldFunction as Y, getGranularityDefinition as Ya, ButtonDropdownItem as Yc, WeekStartsOn as Yd, UpsellingButton as Yi, F0SelectVariant as Yl, F0TimeField as Yn, NumberInputProps as Yo, secondaryActionType as Yr, F0MapSkeleton as Ys, f0FormField as Yt, GroupMetadataItem as Yu, RenderCustomFieldSelectConfig as Z, rangeSeparator as Za, ButtonDropdownSize as Zc, ErrorMessageProps as Zi, selectSizes as Zl, F0DatePickerInline as Zn, F0TextInputInline as Zo, subActionType as Zr, F0Map as Zs, hasF0Config as Zt, ItemActionsDefinition as Zu, dialogs as _, GraphVisualizationOptions as _a, F0MapProvider as _c, SortOrder as _d, NotesTextEditorSkeleton as _i, RadarChart as _l, F0PeriodField as _n, SecondaryActionGroup as _o, F0DialogSize as _r, F0LocationInputChangeMeta as _s, FileUploadResult as _t, getDataSourcePaginationType as _u, F0FormValidationResult as a, ChipProps as aa, F0MapPoint as ac, InfiniteScrollPaginatedResponse as ad, F0RichTextDisplayProps as ai, ActionBarStatus as al, TextRenderIfCondition as an, granularityDefinitions as ao, F0CustomConfig as ar, F1SearchBox as as, F0FormDefinitionSingleSchema as at, SelectionStatus as au, InlineFieldRowList as b, CollectionProps as ba, F0DialogContextType as bc, SortingsState as bd, InsertAfterNotesTextEditorPageDocumentPatch as bi, CategoryBarProps as bl, F0NumberField as bn, SecondaryActionsDefinition as bo, F0VideoPlayer as br, F0LocationInputValue as bs, MimeType as bt, UseItemNeighborsReturn as bu, describeFormSchema as c, EditableTableOnCellChangeParams as ca, F0MapViewportInset as cc, ItemNeighborsResponse as cd, RichTextDisplayProps as ci, WiggleOptions as cl, F0SelectConfig as cn, DateStringFormat as co, F0CheckboxConfig as cr, F0PhoneInput as cs, F0WizardFormPerSectionProps as ct, getAnimationVariants as cu, F0AiFormEntry as d, VisualizationFilterOverrides as da, f0MapMarkerVariants as dc, PaginatedFetchOptions as dd, F0NotesTextEditorProps as di, BarChart as dl, F0RichTextConfig as dn, PrevNextDateNavigation as do, DurationFields as dr, F0PhoneInputChangeMeta as ds, F0WizardFormSingleSubmitArg as dt, NeighborResolution as du, SuccessMessageProps as ea, F0MapProps as ec, BaseDataAdapter as ed, UPLOAD_INPUT_ID as ei, buttonDropdownModes as el, unwrapZodSchema as en, DatePreset as eo, datePickerInlineDismissReasons as er, Input as es, F0FormSetValueOptions as et, InputFieldProps as eu, F0AiFormRegistryProvider as f, MapUnplaced as fa, F0MapStyle as fc, PaginatedResponse as fd, F0NotesTextEditorSkeleton as fi, CategoryBarChart as fl, F0RichTextField as fn, DatePeriod as fo, DurationInputSize as fr, F0PhoneInputProps as fs, F0WizardFormStep as ft, resolveWindowNeighbors as fu, OpenFormDialogResult as g, listIconColors as ga, googlePinlessMapStyles as gc, RecordType as gd, NotesTextEditorProps as gi, ProgressBarChart as gl, F0PeriodConfig as gn, PrimaryActionsDefinitionFn as go, durationUnits as gr, F0LocationInput as gs, FileUploadHookReturn as gt, createDataSourceDefinition as gu, OpenFormDialogOptions as h, ListIconPaletteColor as ha, googleMapStyles as hc, SelectedItems as hd, NotesTextEditorHandle as hi, PieChart as hl, F0PhoneField as hn, PrimaryActionItemDefinition as ho, durationInputSizes as hr, phoneInputSizes as hs, F0FileField as ht, UseDataSourceItemNavigationReturn as hu, F0FormTester as i, Chip as ia, F0MapLineStyle as ic, DataAdapter as id, F0RichTextDisplayHandle as ii, ActionBarItem as il, F0TextField as in, getGranularityDefinitions as io, CustomFieldRenderProps as ir, F0SearchInputProps as is, F0FormDefinitionPerSection as it, SelectionMeta as iu, F0FormErrorTriggerMode as j, Lane as ja, BaseTabs as jc, QuickFilterDefinition as jd, User as ji, F0ButtonToggle as jl, DrawerDefinition as jn, OneFilterPicker as jo, F0DocumentViewerProps as jr, CardSelectableSingleProps as js, F0DateFieldConfig as jt, ItemNeighborsResult as ju, F0ContentSectionConfig as k, DataCollectionSource as ka, F0DialogSecondaryAction as kc, PresetSettings as kd, HeaderStatusProps as ki, F0SegmentedControlItem as kl, DialogDefinition as kn, SummaryKey as ko, F0DocumentKind as kr, CardSelectableItem as ks, F0BooleanConfig as kt, isPageBasedPagination as ku, AvailableFormDefinitionItem as l, CustomVisualizationProps as la, F0MapMarkerVariant as lc, PageBasedPaginatedResponse as ld, F0NotesTextEditor as li, actionBarStatuses as ll, F0SelectField as ln, GranularityDefinition as lo, F0CheckboxField as lr, isPossiblePhoneValue as ls, F0WizardFormPerSectionSubmitArg as lt, useGroups as lu, useF0AiFormRegistry as m, ListIconColor as ma, f0MapStyles as mc, PaginationType as md, NotesTextEditor as mi, LineChart as ml, F0PhoneConfig as mn, MAX_EXPANDED_ACTIONS as mo, F0DurationInputProps as mr, PhoneInputSize as ms, F0FileConfig as mt, UseDataSourceItemNavigationProps as mu, createF0FormDefinitionTester as n, DataCollectionStatusComplete as na, F0MapArea as nc, BasePaginatedResponse as nd, MentionsConfig as ni, buttonDropdownVariants as nl, F0TextareaField as nn, GranularityDefinitionsOptions as no, F0DatePickerProps as nr, F0TextInputProps as ns, useF0Form as nt, useSelectable as nu, createF0FormTester as o, chipVariants as oa, F0MapRoute as oc, ItemNeighborsFetchOptions as od, RichTextDisplay as oi, F0ActionBar as ol, F0SwitchConfig as on, resolveGranularityDefinition as oo, F0CustomField as or, TemplateVariable as os, F0FormSchema$1 as ot, UseSelectableProps as ou, defineAvailableForm as p, MapVisualizationOptions as pa, defaultMapStyle as pc, PaginationInfo as pd, F0NotesTextEditorSkeletonProps as pi, ComboChart as pl, RichTextValue as pn, DatePeriodsDefinition as po, DurationUnit as pr, F0PhoneInputValue as ps, InferPerSectionValues$1 as pt, DataSourceItemId as pu, F0SectionConfig as q, OneCalendarInternalProps as qa, F0DropdownButtonProps as qc, DateRangeString as qd, ActionProps as qi, F0SelectProps as ql, F0DateTimeField as qn, F0NumberInputProps as qo, primaryActionType as qr, F0MapSidebarProps as qs, F0ZodType as qt, GroupingLevelState as qu, CreateF0FormTesterOptions as r, DataCollectionStorageFeaturesDefinition as ra, F0MapLineColor as rc, BaseResponse as rd, F0RichTextDisplay as ri, ActionBarGroup as rl, F0TextConfig as rn, NavigationGranularityKey as ro, datepickerSizes as rr, F0SearchInput as rs, F0FormDefinition as rt, AllSelectionStatus as ru, FormFieldDescription as s, EditableTableColumnDefinition as sa, F0MapViewport as sc, ItemNeighborsId as sd, RichTextDisplayHandle as si, F0ActionBarRef as sl, F0SwitchField as sn, DateNavigationOptions$1 as so, BooleanRenderIfCondition as sr, TemplateVariablesConfig as ss, F0PerSectionSchema$1 as st, UseSelectableReturn as su, F0Form as t, UpsellRequestResponseDialog as ta, F0MapArc as tc, BaseFetchOptions as td, MentionedUser as ti, buttonDropdownSizes as tl, F0TextareaConfig as tn, GranularityDefinitionKey as to, DatePickerValue as tr, InputProps as ts, UseF0FormReturn as tt, InputFieldStatus as tu, F0AiAvailableFormDefinition as u, Visualization as ua, F0MapMarkerVariantProps as uc, PaginatedDataAdapter as ud, F0NotesTextEditorHandle as ui, AreaChart as ul, SelectRenderIfCondition as un, GranularityDefinitionSimple as uo, DurationFieldConfig as ur, isValidPhoneValue as us, F0WizardFormSingleSchemaProps as ut, useDataSourceItemNavigation as uu, drawers as v, ViewportInset as va, F0MapControlLabels as vc, SortingKey as vd, NotesTextEditorSkeletonProps as vi, VerticalBarChart as vl, PeriodRenderIfCondition as vn, SecondaryActionItem as vo, DialogAlikeInternalProps as vr, F0LocationInputProps as vs, FileUploadStatus as vt, useDataSource as vu, generateAnchorId as w, TableVisualizationType as wa, DialogPosition as wc, FilterValueByKey as wd, ReplaceBlockNotesTextEditorPageDocumentPatch as wi, ChartConfig$1 as wl, AlertDialogOptions as wn, filterActions as wo, F0DocumentViewer as wr, LocationPart as ws, F0Field as wt, GROUP_KEY_SEPARATOR as wu, InlineFieldRowProps as x, ExtractPropertyKeys as xa, F0DialogInternalProps as xc, SortingsStateMultiple as xd, InsertBeforeNotesTextEditorPageDocumentPatch as xi, ChartConfig as xl, NumberRenderIfCondition as xn, SecondaryActionsItems as xo, F0VideoPlayerProps as xr, F0LocationSearchContext as xs, UseFileUpload as xt, useItemNeighbors as xu, InlineFieldRow as y, InfoHintContent as ya, F0MapControlsProps as yc, SortingsDefinition as yd, DeleteBlockNotesTextEditorPageDocumentPatch as yi, PieChartProps as yl, F0NumberConfig as yn, SecondaryActionSplitItem as yo, DialogAlikePosition as yr, F0LocationInputShapeProps as ys, InitialFile as yt, UseItemNeighborsOptions as yu, F0FormStylingConfig as z, NavigationFilterComponentProps as za, F0ResourceHeader as zc, CalendarDateMatcher as zd, AlertVariant as zi, F0SelectInline as zl, DateRangeValue as zn, F0TextAreaInputInlineProps as zo, RichTextEditor as zr, F0TimelineRowTaskProps as zs, F0FileFieldConfig as zt, SelectedItemsDetailedStatus as zu };
|
|
11560
|
+
//#region src/addons/charts/F0DataChart/types.d.ts
|
|
11561
|
+
/**
|
|
11562
|
+
* Configuration for the empty state shown when a chart has no data.
|
|
11563
|
+
*
|
|
11564
|
+
* `F0DataChart` auto-detects empty data across all variants and renders a
|
|
11565
|
+
* default empty state. Use this prop to customize the copy, fully replace
|
|
11566
|
+
* the rendered UI via `render`, or skip detection via `disabled`.
|
|
11567
|
+
*/
|
|
11568
|
+
interface F0DataChartEmptyStateProps {
|
|
11569
|
+
/** Override the default headline. */
|
|
11570
|
+
title?: string;
|
|
11571
|
+
/** Override the default supporting copy. */
|
|
11572
|
+
description?: string;
|
|
11573
|
+
/**
|
|
11574
|
+
* Render-prop escape hatch — when provided, replaces the entire empty
|
|
11575
|
+
* state UI. Still gated by the empty-data detection.
|
|
11576
|
+
*/
|
|
11577
|
+
render?: () => ReactNode;
|
|
11578
|
+
/**
|
|
11579
|
+
* Skip empty-data detection and render the chart as usual. Use when zero
|
|
11580
|
+
* values are legitimate (e.g. a "0 errors per day" timeline).
|
|
11581
|
+
* @default false
|
|
11582
|
+
*/
|
|
11583
|
+
disabled?: boolean;
|
|
11584
|
+
}
|
|
11585
|
+
/** One series' value at the category a click resolved to. */
|
|
11586
|
+
interface F0DataChartPointClickSeries {
|
|
11587
|
+
/** Configured series name. Empty when ECharts does not report one. */
|
|
11588
|
+
name: string;
|
|
11589
|
+
/** Index of the series in the chart's own series list. */
|
|
11590
|
+
seriesIndex: number;
|
|
11591
|
+
/** Raw, unformatted value at this category. */
|
|
11592
|
+
value: number;
|
|
11593
|
+
}
|
|
11594
|
+
/**
|
|
11595
|
+
* What a click resolved to — one bar segment, one slice, one point, or (for a
|
|
11596
|
+
* line, where the click can land anywhere in the plot area) a whole category.
|
|
11597
|
+
*
|
|
11598
|
+
* The top-level fields always name a single series, so a consumer that wants
|
|
11599
|
+
* one number has one. {@link F0DataChartPointClickBase.series} carries
|
|
11600
|
+
* everything the click resolved, which for a line is every series at that
|
|
11601
|
+
* category — the same rows its tooltip shows.
|
|
11602
|
+
*/
|
|
11603
|
+
interface F0DataChartPointClickBase {
|
|
11604
|
+
/** Interaction surface that resolved the point. */
|
|
11605
|
+
source: "pointer";
|
|
11606
|
+
/**
|
|
11607
|
+
* Configured series name for the mark. Empty when ECharts does not report one.
|
|
11608
|
+
*
|
|
11609
|
+
* For a radar it is the clicked polygon's name: a click picks a whole
|
|
11610
|
+
* polygon, never one spoke. For a heatmap it is the cell's y-axis category,
|
|
11611
|
+
* so a row reads like a series.
|
|
11612
|
+
*/
|
|
11613
|
+
seriesName: string;
|
|
11614
|
+
/**
|
|
11615
|
+
* Mark name reported by ECharts: an axis category, pie slice, funnel stage,
|
|
11616
|
+
* scatter label, or gauge item name. For a heatmap it is the cell's x-axis
|
|
11617
|
+
* category. Empty for a radar, whose polygon spans every indicator, and
|
|
11618
|
+
* whenever the mark has no name.
|
|
11619
|
+
*/
|
|
11620
|
+
category: string;
|
|
11621
|
+
/**
|
|
11622
|
+
* Raw, unformatted value. Consumers apply their own formatting.
|
|
11623
|
+
*
|
|
11624
|
+
* For a radar this is the last indicator that has data, not a single
|
|
11625
|
+
* observation — read {@link values} instead.
|
|
11626
|
+
*/
|
|
11627
|
+
value: number;
|
|
11628
|
+
/**
|
|
11629
|
+
* Every series the click resolved, in the order they are configured.
|
|
11630
|
+
*
|
|
11631
|
+
* A line chart accepts a click anywhere in its plot area, so this is the
|
|
11632
|
+
* whole category — one entry per series that has a value there and is
|
|
11633
|
+
* switched on in the legend, exactly the rows its axis tooltip shows.
|
|
11634
|
+
* Everywhere else a click identifies one mark and this holds that one entry,
|
|
11635
|
+
* matching {@link seriesName} and {@link value}.
|
|
11636
|
+
*/
|
|
11637
|
+
series: F0DataChartPointClickSeries[];
|
|
11638
|
+
/** Index of the clicked mark within its series. */
|
|
11639
|
+
dataIndex: number;
|
|
11640
|
+
/** Index of the series the mark belongs to. */
|
|
11641
|
+
seriesIndex: number;
|
|
11642
|
+
/**
|
|
11643
|
+
* Where a pointer click landed, in viewport coordinates — enough to anchor a
|
|
11644
|
+
* floating element without the consumer having to reach for the chart's own
|
|
11645
|
+
* geometry. Taken from the touch on a touch device, where the event itself
|
|
11646
|
+
* carries no coordinates. Both are 0 if the pointer event carried no
|
|
11647
|
+
* coordinates.
|
|
11648
|
+
*/
|
|
11649
|
+
clientX: number;
|
|
11650
|
+
clientY: number;
|
|
11651
|
+
}
|
|
11652
|
+
/** A click on any chart except a radar. */
|
|
11653
|
+
interface F0DataChartMarkPointClick extends F0DataChartPointClickBase {
|
|
11654
|
+
/**
|
|
11655
|
+
* Every number the mark carries, in series order: `[42]` for a bar or a
|
|
11656
|
+
* slice, `[x, y]` for a scatter point, `[xIndex, yIndex, value]` for a
|
|
11657
|
+
* heatmap cell.
|
|
11658
|
+
*
|
|
11659
|
+
* {@link value} is the last entry, which is the measure for every type
|
|
11660
|
+
* except scatter — there both entries are measures, and quoting only the
|
|
11661
|
+
* last one drops half the point. Read this when the chart type has more
|
|
11662
|
+
* than one number to say.
|
|
11663
|
+
*/
|
|
11664
|
+
values: number[];
|
|
11665
|
+
}
|
|
11666
|
+
/** A click on a radar, which picks a whole polygon. */
|
|
11667
|
+
interface F0DataChartRadarPointClick extends F0DataChartPointClickBase {
|
|
11668
|
+
/**
|
|
11669
|
+
* One entry per indicator, in indicator order. `null` is an indicator with
|
|
11670
|
+
* no data; {@link value} is then the last indicator that has one.
|
|
11671
|
+
*/
|
|
11672
|
+
values: (number | null)[];
|
|
11673
|
+
}
|
|
11674
|
+
/** What a click on any chart type resolved to. */
|
|
11675
|
+
type F0DataChartPointClick = F0DataChartMarkPointClick | F0DataChartRadarPointClick;
|
|
11676
|
+
/**
|
|
11677
|
+
* Props shared by every `F0DataChart` variant.
|
|
11678
|
+
*/
|
|
11679
|
+
interface F0DataChartCommonProps<Point extends F0DataChartPointClick = F0DataChartMarkPointClick> {
|
|
11680
|
+
/**
|
|
11681
|
+
* What the chart is about, e.g. "Headcount by department, Q3". Screen
|
|
11682
|
+
* readers announce it as the chart's name, followed by the summary of its
|
|
11683
|
+
* data that every chart generates on its own. Pass the chart's visible
|
|
11684
|
+
* title when it has one: the data alone can't say what was measured.
|
|
11685
|
+
*/
|
|
11686
|
+
ariaLabel?: string;
|
|
11687
|
+
/** Customize or opt out of the empty state shown when data is empty. */
|
|
11688
|
+
emptyState?: F0DataChartEmptyStateProps;
|
|
11689
|
+
/**
|
|
11690
|
+
* Called when the user clicks a single mark (bar segment, slice, point).
|
|
11691
|
+
* Omit to leave clicks inert, which is the default for every chart.
|
|
11692
|
+
*
|
|
11693
|
+
* Line charts accept a click anywhere in the plot area, since a line is too
|
|
11694
|
+
* thin to hit — the same allowance their axis-triggered tooltip already
|
|
11695
|
+
* makes — and answer with the whole category in
|
|
11696
|
+
* {@link F0DataChartPointClickBase.series}, matching what the tooltip
|
|
11697
|
+
* showed.
|
|
11698
|
+
*/
|
|
11699
|
+
onPointClick?: (point: Point) => void;
|
|
11700
|
+
}
|
|
11701
|
+
/** Props shared only by variants with an interactive legend. */
|
|
11702
|
+
interface F0DataChartLegendInteractionProps {
|
|
11703
|
+
/**
|
|
11704
|
+
* Reports the chart's live legend visibility after an interactive toggle.
|
|
11705
|
+
* Primarily used by accessible companion surfaces that must expose the same
|
|
11706
|
+
* data currently shown in the chart.
|
|
11707
|
+
*/
|
|
11708
|
+
onLegendSelectionChange?: (selected: Record<string, boolean>) => void;
|
|
11709
|
+
}
|
|
11710
|
+
/**
|
|
11711
|
+
* A single data point in a bar chart series.
|
|
11712
|
+
* Can be a simple number or an object with value and optional target.
|
|
11713
|
+
*/
|
|
11714
|
+
type F0DataChartBarDataPoint = number | {
|
|
11715
|
+
value: number;
|
|
11716
|
+
/** When set, renders a gradient fade from the bar top up to the target value */
|
|
11717
|
+
target?: number;
|
|
11718
|
+
/** Override color for this individual bar. Must be an F0 design token name. */
|
|
11719
|
+
color?: ChartColorToken;
|
|
11720
|
+
};
|
|
11721
|
+
/**
|
|
11722
|
+
* A series of bars to render in the chart.
|
|
11723
|
+
*/
|
|
11724
|
+
interface F0DataChartBarSeries {
|
|
11725
|
+
/** Display name used in legend and tooltip */
|
|
11726
|
+
name: string;
|
|
11727
|
+
/** Data points — one per category */
|
|
11728
|
+
data: F0DataChartBarDataPoint[];
|
|
11729
|
+
/** Override color for this series. Must be an F0 design token name. Falls back to the theme palette. */
|
|
11730
|
+
color?: ChartColorToken;
|
|
11731
|
+
}
|
|
11732
|
+
/**
|
|
11733
|
+
* A single data point in a line chart series.
|
|
11734
|
+
* Can be a simple number or an object with a value.
|
|
11735
|
+
*/
|
|
11736
|
+
type F0DataChartLineDataPoint = number | {
|
|
11737
|
+
value: number;
|
|
11738
|
+
};
|
|
11739
|
+
/** Line interpolation type */
|
|
11740
|
+
type F0DataChartLineType = "linear" | "smooth" | "step";
|
|
11741
|
+
/**
|
|
11742
|
+
* A series of data points to render as a line.
|
|
11743
|
+
*/
|
|
11744
|
+
interface F0DataChartLineSeries {
|
|
11745
|
+
/** Display name used in legend and tooltip */
|
|
11746
|
+
name: string;
|
|
11747
|
+
/** Data points — one per category */
|
|
11748
|
+
data: F0DataChartLineDataPoint[];
|
|
11749
|
+
/** Override color for this series. Must be an F0 design token name. Falls back to the theme palette. */
|
|
11750
|
+
color?: ChartColorToken;
|
|
11751
|
+
/** Render this line with a dashed pattern (useful for projections/targets) */
|
|
11752
|
+
dashed?: boolean;
|
|
11753
|
+
/** Override line interpolation for this series */
|
|
11754
|
+
lineType?: F0DataChartLineType;
|
|
11755
|
+
/** Override area fill for this series */
|
|
11756
|
+
showArea?: boolean;
|
|
11757
|
+
}
|
|
11758
|
+
/**
|
|
11759
|
+
* A constant drawn across the whole plot rather than per category.
|
|
11760
|
+
*
|
|
11761
|
+
* For a figure that does not vary with the categories — a peer median, a
|
|
11762
|
+
* target, an average. Drawn as one dashed line with its label at the end, so it
|
|
11763
|
+
* reads as a threshold the bars are measured against rather than as another
|
|
11764
|
+
* series: a constant repeated once per category would claim to be a quantity
|
|
11765
|
+
* each of them has.
|
|
11766
|
+
*/
|
|
11767
|
+
interface F0DataChartReferenceLine {
|
|
11768
|
+
/** Where on the value axis to draw it. */
|
|
11769
|
+
value: number;
|
|
11770
|
+
/** Shown at the end of the line. Omit for an unlabelled rule. */
|
|
11771
|
+
label?: string;
|
|
11772
|
+
/** Must be an F0 design token name. Falls back to a neutral line colour. */
|
|
11773
|
+
color?: ChartColorToken;
|
|
11774
|
+
/** Solid instead of dashed. @default false */
|
|
11775
|
+
solid?: boolean;
|
|
11776
|
+
/**
|
|
11777
|
+
* Shown when the reader hovers the line, under its label and value.
|
|
11778
|
+
*
|
|
11779
|
+
* For saying what the figure actually is — which companies a peer median
|
|
11780
|
+
* covers, which quarter a target belongs to, whether it is an estimate. A
|
|
11781
|
+
* line with no description is not hoverable: there would be nothing to add
|
|
11782
|
+
* beyond the label already printed beside it.
|
|
11783
|
+
*/
|
|
11784
|
+
description?: string;
|
|
11785
|
+
}
|
|
11786
|
+
interface F0DataChartBaseProps extends F0DataChartCommonProps, F0DataChartLegendInteractionProps {
|
|
11787
|
+
/** Labels for the category axis (one per data point) */
|
|
11788
|
+
categories: string[];
|
|
11789
|
+
/** Show the legend below the chart. @default true */
|
|
11790
|
+
showLegend?: boolean;
|
|
11791
|
+
/** Show the background grid lines. @default true */
|
|
11792
|
+
showGrid?: boolean;
|
|
11793
|
+
/** Show value labels on each data point. @default false */
|
|
11794
|
+
showLabels?: boolean;
|
|
11795
|
+
/** Format the value axis tick labels (e.g. `(v) => \`${v}M\`` ) */
|
|
11796
|
+
valueFormatter?: (value: number) => string;
|
|
11797
|
+
/**
|
|
11798
|
+
* Format category axis tick labels. Only the axis uses it: the chart's
|
|
11799
|
+
* screen-reader summary reads `categories` as passed. So pass full names
|
|
11800
|
+
* ("January", "Monday") and shorten them here, e.g.
|
|
11801
|
+
* `(category) => category.slice(0, 3)`, rather than passing abbreviations a
|
|
11802
|
+
* screen reader would read out as "Jan".
|
|
11803
|
+
*/
|
|
11804
|
+
categoryFormatter?: (value: string) => string;
|
|
11805
|
+
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
11806
|
+
echartsOptions?: Partial<echarts.EChartsOption>;
|
|
11807
|
+
}
|
|
11808
|
+
/**
|
|
11809
|
+
* Bar chart variant props.
|
|
11810
|
+
*/
|
|
11811
|
+
interface F0DataChartBarProps extends F0DataChartBaseProps {
|
|
11812
|
+
/** Chart type */
|
|
11813
|
+
type: "bar";
|
|
11814
|
+
/** One or more data series to render as bars */
|
|
11815
|
+
series: F0DataChartBarSeries[];
|
|
11816
|
+
/** Constants drawn across the plot. See {@link F0DataChartReferenceLine}. */
|
|
11817
|
+
referenceLines?: F0DataChartReferenceLine[];
|
|
11818
|
+
/** Bar orientation. @default "vertical" */
|
|
11819
|
+
orientation?: "vertical" | "horizontal";
|
|
11820
|
+
/** Stack all series into a single bar per category. @default false */
|
|
11821
|
+
stacked?: boolean;
|
|
11822
|
+
/**
|
|
11823
|
+
* Draw the stretch of a bar that ran past its `target` in a darker shade of
|
|
11824
|
+
* the bar's own colour, split at the target.
|
|
11825
|
+
*
|
|
11826
|
+
* Left off, a target only shows as the faded ghost the bar has yet to reach,
|
|
11827
|
+
* so a bar that beat its target looks the same as one that landed exactly on
|
|
11828
|
+
* it — the reader has to eye its height against the ghosts beside it. Turn it
|
|
11829
|
+
* on wherever passing the target is itself the news: attainment against a
|
|
11830
|
+
* quota, a goal, a budget.
|
|
11831
|
+
*
|
|
11832
|
+
* Ignored by points with no target, and by negative values — "past the
|
|
11833
|
+
* target" has no single reading when the bar grows downwards.
|
|
11834
|
+
* @default false
|
|
11835
|
+
*/
|
|
11836
|
+
highlightOverachievement?: boolean;
|
|
11837
|
+
/**
|
|
11838
|
+
* Add the share of the target the bar reached to its tooltip, under the
|
|
11839
|
+
* target row (e.g. "108.1% of target").
|
|
11840
|
+
*
|
|
11841
|
+
* Opt-in: the percentage answers "how did this do against its target", which
|
|
11842
|
+
* is the question on a quota or a goal, and noise on a chart where the target
|
|
11843
|
+
* is a reference line the reader is not scoring against.
|
|
11844
|
+
*
|
|
11845
|
+
* The percentage is `value / target`, the same two numbers the bar draws.
|
|
11846
|
+
* @default false
|
|
11847
|
+
*/
|
|
11848
|
+
showTargetProgress?: boolean;
|
|
11849
|
+
/**
|
|
11850
|
+
* When {@link F0DataChartBaseProps.showLabels} is on, hide a category's value
|
|
11851
|
+
* labels if the widest value in that category doesn't fit the bar. The whole
|
|
11852
|
+
* category drops together (all-or-nothing), so a tight chart never shows a
|
|
11853
|
+
* ragged, half-labelled set instead of overlapping numbers. @default true
|
|
11854
|
+
*/
|
|
11855
|
+
hideOverflowingLabels?: boolean;
|
|
11856
|
+
/**
|
|
11857
|
+
* Per-side clearance in pixels the widest value must have before
|
|
11858
|
+
* {@link F0DataChartBarProps.hideOverflowingLabels} counts it as fitting.
|
|
11859
|
+
* Overrides the default, which is placement-based: **6** for stacked (inside)
|
|
11860
|
+
* labels, **0** for labels outside the bar.
|
|
11861
|
+
*/
|
|
11862
|
+
labelFitPadding?: number;
|
|
11863
|
+
/**
|
|
11864
|
+
* With {@link F0DataChartBarProps.hideOverflowingLabels} on, use the widest
|
|
11865
|
+
* label as the fit reference for vertical columns and labels outside
|
|
11866
|
+
* horizontal bars. If it exceeds the shared allowance, hide every label
|
|
11867
|
+
* instead of leaving a ragged, partially labelled chart. Labels inside
|
|
11868
|
+
* horizontal stacked segments always fit per segment because their available
|
|
11869
|
+
* widths differ. Height overflow is also evaluated per bar. @default true
|
|
11870
|
+
*/
|
|
11871
|
+
hideAllLabelsOnOverflow?: boolean;
|
|
11872
|
+
/**
|
|
11873
|
+
* Draw only as many categories as fit at a readable bar thickness, instead of
|
|
11874
|
+
* compressing every one of them into the available height.
|
|
11875
|
+
*
|
|
11876
|
+
* Opt-in, because it hides data: a windowed chart shows the first N rows in
|
|
11877
|
+
* data order and nothing in the chart itself leads to the rest. Set it only
|
|
11878
|
+
* where the surrounding UI offers the way back — subscribe to
|
|
11879
|
+
* {@link F0DataChartBarProps.onHiddenCategoriesChange} and put a control next
|
|
11880
|
+
* to the count, as `F0AnalyticsDashboard` does. Left off, a dense chart stays
|
|
11881
|
+
* complete and its bars get thinner, which is the readable-but-honest end of
|
|
11882
|
+
* the trade.
|
|
11883
|
+
*
|
|
11884
|
+
* Ignored by vertical charts, which lay categories out along the width.
|
|
11885
|
+
* @default false
|
|
11886
|
+
*/
|
|
11887
|
+
windowCategories?: boolean;
|
|
11888
|
+
/**
|
|
11889
|
+
* Render every category at once, overriding
|
|
11890
|
+
* {@link F0DataChartBarProps.windowCategories}.
|
|
11891
|
+
*
|
|
11892
|
+
* Set this when the reader has asked to see the whole distribution — an
|
|
11893
|
+
* expanded or fullscreen view — and accepts thinner bars in exchange. Ignored
|
|
11894
|
+
* by vertical charts, which lay categories out along the width.
|
|
11895
|
+
* @default false
|
|
11896
|
+
*/
|
|
11897
|
+
showAllCategories?: boolean;
|
|
11898
|
+
/**
|
|
11899
|
+
* Reports how many categories the row window is hiding — `0` when every
|
|
11900
|
+
* category is on screen. Fires whenever the count changes, which includes
|
|
11901
|
+
* container resizes and {@link F0DataChartBarProps.showAllCategories} being
|
|
11902
|
+
* switched on.
|
|
11903
|
+
*
|
|
11904
|
+
* The chart states the fact rather than rendering an affordance for it: only
|
|
11905
|
+
* the surrounding UI knows where a "see everything" control belongs. The
|
|
11906
|
+
* dashboard puts it in the widget's description, next to the count.
|
|
11907
|
+
*/
|
|
11908
|
+
onHiddenCategoriesChange?: (hiddenCategoryCount: number) => void;
|
|
11909
|
+
/**
|
|
11910
|
+
* Suggested number of segments on the value axis — lower values draw fewer
|
|
11911
|
+
* grid lines. Applies to whichever axis is the value axis (Y for vertical
|
|
11912
|
+
* bars, X for horizontal). ECharts rounds to "nice" intervals. @default 2
|
|
11913
|
+
*/
|
|
11914
|
+
valueAxisSplitNumber?: number;
|
|
11915
|
+
/**
|
|
11916
|
+
* Font size in pixels for the value labels. @default 11
|
|
11917
|
+
*/
|
|
11918
|
+
labelFontSize?: number;
|
|
11919
|
+
/**
|
|
11920
|
+
* Formatter for the values shown in the hover tooltip. Defaults to
|
|
11921
|
+
* {@link F0DataChartBaseProps.valueFormatter}, so a unit or a currency on the
|
|
11922
|
+
* axis reads the same on hover, then to a plain localized number. Set it when
|
|
11923
|
+
* the axis has to stay compact ("107.5K") but the tooltip should be exact
|
|
11924
|
+
* ("107,505").
|
|
11925
|
+
*/
|
|
11926
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
11927
|
+
}
|
|
11928
|
+
/**
|
|
11929
|
+
* Line chart variant props.
|
|
11930
|
+
*/
|
|
11931
|
+
interface F0DataChartLineProps extends F0DataChartBaseProps {
|
|
11932
|
+
/** Chart type */
|
|
11933
|
+
type: "line";
|
|
11934
|
+
/** One or more data series to render as lines */
|
|
11935
|
+
series: F0DataChartLineSeries[];
|
|
11936
|
+
/** Constants drawn across the plot. See {@link F0DataChartReferenceLine}. */
|
|
11937
|
+
referenceLines?: F0DataChartReferenceLine[];
|
|
11938
|
+
/** Line interpolation type. @default "linear" */
|
|
11939
|
+
lineType?: F0DataChartLineType;
|
|
11940
|
+
/** Show gradient area fill below lines. @default true */
|
|
11941
|
+
showArea?: boolean;
|
|
11942
|
+
/** Show data point dots on the lines. @default false */
|
|
11943
|
+
showDots?: boolean;
|
|
11944
|
+
/**
|
|
11945
|
+
* Formatter for the values shown in the hover tooltip. Defaults to
|
|
11946
|
+
* {@link F0DataChartBaseProps.valueFormatter}, so a unit or a currency on the
|
|
11947
|
+
* axis reads the same on hover, then to a plain localized number. Set it when
|
|
11948
|
+
* the axis has to stay compact ("107.5K") but the tooltip should be exact
|
|
11949
|
+
* ("107,505").
|
|
11950
|
+
*/
|
|
11951
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
11952
|
+
}
|
|
11953
|
+
/**
|
|
11954
|
+
* A single data point in a funnel chart series.
|
|
11955
|
+
* Each point has a value and a stage name.
|
|
11956
|
+
*/
|
|
11957
|
+
interface F0DataChartFunnelDataPoint {
|
|
11958
|
+
/** Numeric value for this funnel stage */
|
|
11959
|
+
value: number;
|
|
11960
|
+
/** Stage label (e.g. "Applied", "Phone Screen", "Hired") */
|
|
11961
|
+
name: string;
|
|
11962
|
+
/** Override color for this individual stage. Must be an F0 design token name. */
|
|
11963
|
+
color?: ChartColorToken;
|
|
11964
|
+
}
|
|
11965
|
+
/**
|
|
11966
|
+
* A single funnel series with named data points.
|
|
11967
|
+
*/
|
|
11968
|
+
interface F0DataChartFunnelSeries {
|
|
11969
|
+
/** Display name used in legend and tooltip */
|
|
11970
|
+
name: string;
|
|
11971
|
+
/** Data points — one per funnel stage */
|
|
11972
|
+
data: F0DataChartFunnelDataPoint[];
|
|
11973
|
+
/** Override color for the entire series. Must be an F0 design token name. */
|
|
11974
|
+
color?: ChartColorToken;
|
|
11975
|
+
}
|
|
11976
|
+
/**
|
|
11977
|
+
* Funnel chart variant props.
|
|
11978
|
+
*
|
|
11979
|
+
* Funnels do NOT use category/value axes — stage names come from the data
|
|
11980
|
+
* points themselves. This interface is separate from `F0DataChartBaseProps`.
|
|
11981
|
+
*/
|
|
11982
|
+
interface F0DataChartFunnelProps extends F0DataChartCommonProps, F0DataChartLegendInteractionProps {
|
|
11983
|
+
/** Chart type */
|
|
11984
|
+
type: "funnel";
|
|
11985
|
+
/** The funnel series to render */
|
|
11986
|
+
series: F0DataChartFunnelSeries;
|
|
11987
|
+
/** Sort direction of funnel stages. @default "descending" */
|
|
11988
|
+
sort?: "descending" | "ascending" | "none";
|
|
11989
|
+
/** Gap between funnel stages in pixels. @default 0 */
|
|
11990
|
+
gap?: number;
|
|
11991
|
+
/** Funnel orientation. @default "horizontal" */
|
|
11992
|
+
orient?: "horizontal" | "vertical";
|
|
11993
|
+
/** Show the legend below the chart. @default false */
|
|
11994
|
+
showLegend?: boolean;
|
|
11995
|
+
/** Show value labels on each stage. @default true */
|
|
11996
|
+
showLabels?: boolean;
|
|
11997
|
+
/**
|
|
11998
|
+
* Show conversion percentages in labels.
|
|
11999
|
+
* Each stage displays its value as a percentage of the first stage.
|
|
12000
|
+
* The tooltip also shows step-over-step conversion.
|
|
12001
|
+
* @default false
|
|
12002
|
+
*/
|
|
12003
|
+
showConversion?: boolean;
|
|
12004
|
+
/** Format the value displayed in labels and tooltip */
|
|
12005
|
+
valueFormatter?: (value: number) => string;
|
|
12006
|
+
/**
|
|
12007
|
+
* Formatter for the value shown in the hover tooltip. Defaults to
|
|
12008
|
+
* {@link valueFormatter}, so a unit or a currency on the labels reads the same
|
|
12009
|
+
* on hover, then to a plain localized number. Set it when the labels have to
|
|
12010
|
+
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
12011
|
+
*/
|
|
12012
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
12013
|
+
/**
|
|
12014
|
+
* Map stage colors to their values using a gradient scale (light→dark).
|
|
12015
|
+
* When enabled, higher values get a more intense color. @default true
|
|
12016
|
+
*/
|
|
12017
|
+
colorScale?: boolean;
|
|
12018
|
+
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
12019
|
+
echartsOptions?: Partial<echarts.EChartsOption>;
|
|
12020
|
+
}
|
|
12021
|
+
/**
|
|
12022
|
+
* A single data point in a pie chart.
|
|
12023
|
+
*/
|
|
12024
|
+
interface F0DataChartPieDataPoint {
|
|
12025
|
+
/** Numeric value for this segment */
|
|
12026
|
+
value: number;
|
|
12027
|
+
/** Segment label */
|
|
12028
|
+
name: string;
|
|
12029
|
+
/** Override color for this individual segment. Must be an F0 design token name. */
|
|
12030
|
+
color?: ChartColorToken;
|
|
12031
|
+
}
|
|
12032
|
+
/**
|
|
12033
|
+
* A single pie series with named data points.
|
|
12034
|
+
*/
|
|
12035
|
+
interface F0DataChartPieSeries {
|
|
12036
|
+
/** Display name used in tooltip */
|
|
12037
|
+
name: string;
|
|
12038
|
+
/** Data points — one per pie segment */
|
|
12039
|
+
data: F0DataChartPieDataPoint[];
|
|
12040
|
+
/** Override color for the entire series. Must be an F0 design token name. */
|
|
12041
|
+
color?: ChartColorToken;
|
|
12042
|
+
}
|
|
12043
|
+
/**
|
|
12044
|
+
* Pie/donut chart variant props.
|
|
12045
|
+
*
|
|
12046
|
+
* Pies do NOT use category/value axes — segment names come from the data
|
|
12047
|
+
* points themselves. This interface is separate from `F0DataChartBaseProps`.
|
|
12048
|
+
*/
|
|
12049
|
+
interface F0DataChartPieProps extends F0DataChartCommonProps, F0DataChartLegendInteractionProps {
|
|
12050
|
+
/** Chart type */
|
|
12051
|
+
type: "pie";
|
|
12052
|
+
/** The pie series to render */
|
|
12053
|
+
series: F0DataChartPieSeries;
|
|
12054
|
+
/** Inner radius percentage. 0 = pie, >0 = donut. @default 0 */
|
|
12055
|
+
innerRadius?: number;
|
|
12056
|
+
/** Show the legend below the chart. @default true */
|
|
12057
|
+
showLegend?: boolean;
|
|
12058
|
+
/** Show value labels on each segment. @default true */
|
|
12059
|
+
showLabels?: boolean;
|
|
12060
|
+
/** Show percentage in labels. @default false */
|
|
12061
|
+
showPercentage?: boolean;
|
|
12062
|
+
/** Format the value displayed in labels and tooltip */
|
|
12063
|
+
valueFormatter?: (value: number) => string;
|
|
12064
|
+
/**
|
|
12065
|
+
* Formatter for the value shown in the hover tooltip. Defaults to
|
|
12066
|
+
* {@link valueFormatter}, so a unit or a currency on the labels reads the same
|
|
12067
|
+
* on hover, then to a plain localized number. Set it when the labels have to
|
|
12068
|
+
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
12069
|
+
*/
|
|
12070
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
12071
|
+
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
12072
|
+
echartsOptions?: Partial<echarts.EChartsOption>;
|
|
12073
|
+
}
|
|
12074
|
+
/**
|
|
12075
|
+
* A radar chart indicator (axis/dimension).
|
|
12076
|
+
*/
|
|
12077
|
+
interface F0DataChartRadarIndicator {
|
|
12078
|
+
/** Name of the axis/dimension (e.g. "Performance", "Engagement") */
|
|
12079
|
+
name: string;
|
|
12080
|
+
/** Maximum value for this axis. @default auto-calculated from data */
|
|
12081
|
+
max?: number;
|
|
12082
|
+
}
|
|
12083
|
+
/**
|
|
12084
|
+
* A series of data points for a radar chart.
|
|
12085
|
+
*/
|
|
12086
|
+
interface F0DataChartRadarSeries {
|
|
12087
|
+
/** Display name used in legend and tooltip (e.g. "Team A", "Team B") */
|
|
12088
|
+
name: string;
|
|
12089
|
+
/**
|
|
12090
|
+
* Values — one per indicator, in the same order. `null` marks an indicator
|
|
12091
|
+
* with no data: the tooltip reads "No data" and no vertex label is drawn.
|
|
12092
|
+
* ECharts still draws that vertex at the centre, the same place as `0`.
|
|
12093
|
+
*/
|
|
12094
|
+
data: (number | null)[];
|
|
12095
|
+
/** Override color for this series. Must be an F0 design token name. */
|
|
12096
|
+
color?: ChartColorToken;
|
|
12097
|
+
}
|
|
12098
|
+
/**
|
|
12099
|
+
* Radar chart variant props.
|
|
12100
|
+
*
|
|
12101
|
+
* Radar charts use a polar coordinate system — no cartesian axes.
|
|
12102
|
+
*/
|
|
12103
|
+
interface F0DataChartRadarProps extends F0DataChartCommonProps<F0DataChartRadarPointClick>, F0DataChartLegendInteractionProps {
|
|
12104
|
+
/** Chart type */
|
|
12105
|
+
type: "radar";
|
|
12106
|
+
/** Axes of the radar — defines the dimensions to compare */
|
|
12107
|
+
indicators: F0DataChartRadarIndicator[];
|
|
12108
|
+
/** Series to compare (one or more) */
|
|
12109
|
+
series: F0DataChartRadarSeries[];
|
|
12110
|
+
/** Fill the area of each series with semi-transparent color. @default true */
|
|
12111
|
+
showArea?: boolean;
|
|
12112
|
+
/** Show the legend below the chart. @default true */
|
|
12113
|
+
showLegend?: boolean;
|
|
12114
|
+
/** Show value labels on each vertex. @default false */
|
|
12115
|
+
showLabels?: boolean;
|
|
12116
|
+
/** Format values in labels and tooltip */
|
|
12117
|
+
valueFormatter?: (value: number) => string;
|
|
12118
|
+
/**
|
|
12119
|
+
* Formatter for the value shown in the hover tooltip. Defaults to
|
|
12120
|
+
* {@link valueFormatter}, so a unit or a currency on the labels reads the same
|
|
12121
|
+
* on hover, then to a plain localized number. Set it when the labels have to
|
|
12122
|
+
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
12123
|
+
*/
|
|
12124
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
12125
|
+
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
12126
|
+
echartsOptions?: Partial<echarts.EChartsOption>;
|
|
12127
|
+
}
|
|
12128
|
+
/**
|
|
12129
|
+
* Gauge/KPI chart variant props.
|
|
12130
|
+
*
|
|
12131
|
+
* A single-value gauge indicator — no axes, no legend.
|
|
12132
|
+
*/
|
|
12133
|
+
interface F0DataChartGaugeProps extends F0DataChartCommonProps {
|
|
12134
|
+
/** Chart type */
|
|
12135
|
+
type: "gauge";
|
|
12136
|
+
/** Current value */
|
|
12137
|
+
value: number;
|
|
12138
|
+
/** Minimum value. @default 0 */
|
|
12139
|
+
min?: number;
|
|
12140
|
+
/** Maximum value. @default 100 */
|
|
12141
|
+
max?: number;
|
|
12142
|
+
/** Label shown below the value */
|
|
12143
|
+
name?: string;
|
|
12144
|
+
/** Override color. Must be an F0 design token name. */
|
|
12145
|
+
color?: ChartColorToken;
|
|
12146
|
+
/** Show the numeric value in the center. @default true */
|
|
12147
|
+
showValue?: boolean;
|
|
12148
|
+
/** Format the value displayed */
|
|
12149
|
+
valueFormatter?: (value: number) => string;
|
|
12150
|
+
/**
|
|
12151
|
+
* Formatter for the value shown in the hover tooltip. Defaults to
|
|
12152
|
+
* {@link valueFormatter}, so a unit or a currency on the labels reads the same
|
|
12153
|
+
* on hover, then to a plain localized number. Set it when the labels have to
|
|
12154
|
+
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
12155
|
+
*/
|
|
12156
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
12157
|
+
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
12158
|
+
echartsOptions?: Partial<echarts.EChartsOption>;
|
|
12159
|
+
}
|
|
12160
|
+
/**
|
|
12161
|
+
* Heatmap chart variant props.
|
|
12162
|
+
*
|
|
12163
|
+
* Renders a grid where each cell's color intensity represents a numeric value.
|
|
12164
|
+
* Uses two category axes (x for columns, y for rows) and a visualMap for
|
|
12165
|
+
* value→color mapping.
|
|
12166
|
+
*/
|
|
12167
|
+
interface F0DataChartHeatmapProps extends F0DataChartCommonProps {
|
|
12168
|
+
/** Chart type */
|
|
12169
|
+
type: "heatmap";
|
|
12170
|
+
/** Column labels (x-axis) */
|
|
12171
|
+
xCategories: string[];
|
|
12172
|
+
/** Row labels (y-axis) */
|
|
12173
|
+
yCategories: string[];
|
|
12174
|
+
/** Data as [xIndex, yIndex, value] tuples */
|
|
12175
|
+
data: [number, number, number][];
|
|
12176
|
+
/** Minimum value for color scale. @default auto from data */
|
|
12177
|
+
min?: number;
|
|
12178
|
+
/** Maximum value for color scale. @default auto from data */
|
|
12179
|
+
max?: number;
|
|
12180
|
+
/** Show value labels inside cells. @default false */
|
|
12181
|
+
showLabels?: boolean;
|
|
12182
|
+
/** Show the visual map (color scale legend). @default false */
|
|
12183
|
+
showVisualMap?: boolean;
|
|
12184
|
+
/** Format values in labels and tooltip */
|
|
12185
|
+
valueFormatter?: (value: number) => string;
|
|
12186
|
+
/**
|
|
12187
|
+
* Formatter for the value shown in the hover tooltip. Defaults to
|
|
12188
|
+
* {@link valueFormatter}, so a unit or a currency on the labels reads the same
|
|
12189
|
+
* on hover, then to a plain localized number. Set it when the labels have to
|
|
12190
|
+
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
12191
|
+
*/
|
|
12192
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
12193
|
+
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
12194
|
+
echartsOptions?: Partial<echarts.EChartsOption>;
|
|
12195
|
+
}
|
|
12196
|
+
/**
|
|
12197
|
+
* A single point in a scatter series.
|
|
12198
|
+
*
|
|
12199
|
+
* The bare `[x, y]` tuple is the terse form. The object form additionally
|
|
12200
|
+
* carries `label` — the point's identity (e.g. an employee or team name),
|
|
12201
|
+
* shown as the tooltip header — and an optional `avatar` drawn in place of
|
|
12202
|
+
* the dot.
|
|
12203
|
+
*/
|
|
12204
|
+
type F0DataChartScatterDataPoint = [number, number] | {
|
|
12205
|
+
/** Horizontal position, plotted on the value X axis */
|
|
12206
|
+
x: number;
|
|
12207
|
+
/** Vertical position, plotted on the value Y axis */
|
|
12208
|
+
y: number;
|
|
12209
|
+
/** Identity of this point, used as the tooltip header (e.g. "Ana Ruiz") */
|
|
12210
|
+
label?: string;
|
|
12211
|
+
/** Override color for this individual point. Must be an F0 design token name. */
|
|
12212
|
+
color?: ChartColorToken;
|
|
12213
|
+
/**
|
|
12214
|
+
* Draw this avatar in place of the dot, e.g. the employee the point
|
|
12215
|
+
* stands for. It sits on a dot of the series color, so a color split
|
|
12216
|
+
* still reads. Rendered at the largest avatar size that fits
|
|
12217
|
+
* `pointSize`, and never below `xs` (20px).
|
|
12218
|
+
*/
|
|
12219
|
+
avatar?: AvatarVariant;
|
|
12220
|
+
};
|
|
12221
|
+
/**
|
|
12222
|
+
* A group of points sharing a color and a legend entry. Use one series per
|
|
12223
|
+
* group value to split a scatter by a dimension (e.g. one per department).
|
|
12224
|
+
*/
|
|
12225
|
+
interface F0DataChartScatterSeries {
|
|
12226
|
+
/** Display name used in legend and tooltip */
|
|
12227
|
+
name: string;
|
|
12228
|
+
/** Points in this group */
|
|
12229
|
+
data: F0DataChartScatterDataPoint[];
|
|
12230
|
+
/** Override color for this series. Must be an F0 design token name. Falls back to the theme palette. */
|
|
12231
|
+
color?: ChartColorToken;
|
|
12232
|
+
}
|
|
12233
|
+
/**
|
|
12234
|
+
* Scatter chart variant props.
|
|
12235
|
+
*
|
|
12236
|
+
* Plots x/y pairs on two value axes to show the relationship between two
|
|
12237
|
+
* measures. Unlike bar/line there is no category axis — both axes are
|
|
12238
|
+
* continuous — so this interface is separate from `F0DataChartBaseProps`.
|
|
12239
|
+
* Pass multiple `series` to color-split the points by a group dimension.
|
|
12240
|
+
*/
|
|
12241
|
+
interface F0DataChartScatterProps extends F0DataChartCommonProps, F0DataChartLegendInteractionProps {
|
|
12242
|
+
/** Chart type */
|
|
12243
|
+
type: "scatter";
|
|
12244
|
+
/** One or more point groups. Multiple series render as a color split. */
|
|
12245
|
+
series: F0DataChartScatterSeries[];
|
|
12246
|
+
/**
|
|
12247
|
+
* Point diameter in pixels. Points with an `avatar` use the largest avatar
|
|
12248
|
+
* size that fits it, and never go below 20px. @default 12
|
|
12249
|
+
*/
|
|
12250
|
+
pointSize?: number;
|
|
12251
|
+
/**
|
|
12252
|
+
* Fit each axis to its data range instead of anchoring it at zero. Turn off
|
|
12253
|
+
* to force both axes through the origin. @default true
|
|
12254
|
+
*/
|
|
12255
|
+
scaleAxes?: boolean;
|
|
12256
|
+
/** Show the legend below the chart. Only rendered with 2+ series. @default true */
|
|
12257
|
+
showLegend?: boolean;
|
|
12258
|
+
/** Show the background grid lines on both axes. @default true */
|
|
12259
|
+
showGrid?: boolean;
|
|
12260
|
+
/** Format the Y axis tick labels */
|
|
12261
|
+
valueFormatter?: (value: number) => string;
|
|
12262
|
+
/** Format the X axis tick labels */
|
|
12263
|
+
xValueFormatter?: (value: number) => string;
|
|
12264
|
+
/**
|
|
12265
|
+
* Formatter for the y value shown in the hover tooltip. Defaults to
|
|
12266
|
+
* {@link valueFormatter}, so a unit or a currency on the Y axis reads the same
|
|
12267
|
+
* on hover, then to a plain localized number. Set it when the axis has to
|
|
12268
|
+
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
12269
|
+
*/
|
|
12270
|
+
tooltipValueFormatter?: (value: number) => string;
|
|
12271
|
+
/**
|
|
12272
|
+
* Formatter for the x value shown in the hover tooltip. Same contract as
|
|
12273
|
+
* {@link tooltipValueFormatter}, against {@link xValueFormatter}.
|
|
12274
|
+
*/
|
|
12275
|
+
xTooltipValueFormatter?: (value: number) => string;
|
|
12276
|
+
/**
|
|
12277
|
+
* What the X measure is, e.g. "salary". Labels the x row in the tooltip —
|
|
12278
|
+
* a scatter has no headline value, so both coordinates read as rows and
|
|
12279
|
+
* need naming, the same way radar names its indicators.
|
|
12280
|
+
*/
|
|
12281
|
+
xAxisName?: string;
|
|
12282
|
+
/** What the Y measure is, e.g. "tenure". Labels the y row in the tooltip. */
|
|
12283
|
+
yAxisName?: string;
|
|
12284
|
+
/**
|
|
12285
|
+
* Pin the X axis bounds instead of letting ECharts round them to nice values,
|
|
12286
|
+
* e.g. `0`–`100` for a percentage. Either bound can be set on its own.
|
|
12287
|
+
*/
|
|
12288
|
+
xAxisMin?: number;
|
|
12289
|
+
/** Upper X axis bound. See {@link xAxisMin}. */
|
|
12290
|
+
xAxisMax?: number;
|
|
12291
|
+
/** Lower Y axis bound, e.g. the bottom of a rating scale. */
|
|
12292
|
+
yAxisMin?: number;
|
|
12293
|
+
/** Upper Y axis bound, e.g. the top of a rating scale. */
|
|
12294
|
+
yAxisMax?: number;
|
|
12295
|
+
/**
|
|
12296
|
+
* Print each point's `label` next to it, the way bar charts print their
|
|
12297
|
+
* values, so a small labelled cloud reads without hovering. Overlapping labels
|
|
12298
|
+
* are hidden. @default false
|
|
12299
|
+
*/
|
|
12300
|
+
showPointLabels?: boolean;
|
|
12301
|
+
/**
|
|
12302
|
+
* Merge points that land on nearly the same spot into one dot. The merged dot
|
|
12303
|
+
* prints no label or avatar; hovering it lists every point it holds.
|
|
12304
|
+
* @default false
|
|
12305
|
+
*/
|
|
12306
|
+
groupNearbyPoints?: boolean;
|
|
12307
|
+
/** Render `xAxisName`/`yAxisName` as axis titles, not only in the tooltip. @default false */
|
|
12308
|
+
showAxisNames?: boolean;
|
|
12309
|
+
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
12310
|
+
echartsOptions?: Partial<echarts.EChartsOption>;
|
|
12311
|
+
}
|
|
12312
|
+
/**
|
|
12313
|
+
* Props for the F0DataChart component.
|
|
12314
|
+
*
|
|
12315
|
+
* A unified chart component that supports bar, line, funnel, pie, radar,
|
|
12316
|
+
* gauge, heatmap, and scatter chart types via a discriminated `type` prop.
|
|
12317
|
+
*/
|
|
12318
|
+
type F0DataChartProps = F0DataChartBarProps | F0DataChartLineProps | F0DataChartFunnelProps | F0DataChartPieProps | F0DataChartRadarProps | F0DataChartGaugeProps | F0DataChartHeatmapProps | F0DataChartScatterProps;
|
|
12319
|
+
//#endregion
|
|
12320
|
+
export { evaluateRenderIf as $, BulkActionsDefinition as $a, DialogWidth as $c, FiltersDefinition as $d, ReplaceContentNotesTextEditorPageDocumentPatch as $i, LineChartConfig as $l, ConfirmDialogOptions as $n, getPrimaryActions as $o, F0PdfViewer as $r, locationInputSizes as $s, FieldType as $t, GroupRecord as $u, createF0FormDefinitionTester as A, DataCollectionStatusComplete as Aa, F0MapArea as Ac, BasePaginatedResponse as Ad, MentionsConfig as Ai, buttonDropdownVariants as Al, F0TextareaField as An, GranularityDefinitionsOptions as Ao, F0DatePickerProps as Ar, F0TextInputProps as As, useF0Form as At, useSelectable as Au, F0AiFormRegistryProvider as B, MapUnplaced as Ba, F0MapStyle as Bc, PaginatedResponse as Bd, F0NotesTextEditorSkeleton as Bi, CategoryBarChart as Bl, F0RichTextField as Bn, DatePeriod as Bo, DurationInputSize as Br, F0PhoneInputProps as Bs, F0WizardFormStep as Bt, resolveWindowNeighbors as Bu, F0DataChartRadarProps as C, UpsellingButton as Ca, F0MapSkeleton as Cc, GroupMetadataItem as Cd, WeekStartsOn as Cf, secondaryActionType as Ci, ButtonDropdownItem as Cl, f0FormField as Cn, getGranularityDefinition as Co, F0TimeField as Cr, NumberInputProps as Cs, RenderCustomFieldFunction as Ct, F0SelectVariant as Cu, F0DataChartScatterProps as D, StepItemProps as Da, F0MapProjection as Dc, isVisibleAction as Dd, FileType as Di, F0ButtonDropdownProps as Dl, isZodType as Dn, DatePickerValue$1 as Do, F0DatePickerInlineProps as Dr, F0TextInput as Ds, F0FormRef as Dt, Action as Du, F0DataChartScatterDataPoint as E, NextStepsProps as Ea, F0MapHandle as Ec, filterItemActions as Ed, FILE_TYPES as Ei, ButtonDropdownVariant as El, inferFieldType as En, DatePickerPopupProps as Eo, F0DatePickerInlineDismissReason as Er, F0TextInputInlineProps as Es, SectionRenderIf as Et, selectVariants as Eu, FormFieldDescription as F, EditableTableColumnDefinition as Fa, F0MapViewport as Fc, ItemNeighborsId as Fd, RichTextDisplayHandle as Fi, F0ActionBarRef as Fl, F0SwitchField as Fn, DateNavigationOptions$1 as Fo, BooleanRenderIfCondition as Fr, TemplateVariablesConfig as Fs, F0PerSectionSchema$1 as Ft, UseSelectableReturn as Fu, dialogs as G, GraphVisualizationOptions as Ga, F0MapProvider as Gc, SortOrder as Gd, NotesTextEditorSkeleton as Gi, RadarChart as Gl, F0PeriodField as Gn, SecondaryActionGroup as Go, F0DialogSize as Gr, F0LocationInputChangeMeta as Gs, FileUploadResult as Gt, getDataSourcePaginationType as Gu, useF0AiFormRegistry as H, ListIconColor as Ha, f0MapStyles as Hc, PaginationType as Hd, NotesTextEditor as Hi, LineChart as Hl, F0PhoneConfig as Hn, MAX_EXPANDED_ACTIONS as Ho, F0DurationInputProps as Hr, PhoneInputSize as Hs, F0FileConfig as Ht, UseDataSourceItemNavigationProps as Hu, describeFormSchema as I, EditableTableOnCellChangeParams as Ia, F0MapViewportInset as Ic, ItemNeighborsResponse as Id, RichTextDisplayProps as Ii, WiggleOptions as Il, F0SelectConfig as In, DateStringFormat as Io, F0CheckboxConfig as Ir, F0PhoneInput as Is, F0WizardFormPerSectionProps as It, getAnimationVariants as Iu, InlineFieldRowList as J, CollectionProps as Ja, F0DialogContextType as Jc, SortingsState as Jd, InsertAfterNotesTextEditorPageDocumentPatch as Ji, CategoryBarProps as Jl, F0NumberField as Jn, SecondaryActionsDefinition as Jo, F0VideoPlayer as Jr, F0LocationInputValue as Js, MimeType as Jt, UseItemNeighborsReturn as Ju, drawers as K, ViewportInset as Ka, F0MapControlLabels as Kc, SortingKey as Kd, NotesTextEditorSkeletonProps as Ki, VerticalBarChart as Kl, PeriodRenderIfCondition as Kn, SecondaryActionItem as Ko, DialogAlikeInternalProps as Kr, F0LocationInputProps as Ks, FileUploadStatus as Kt, useDataSource as Ku, AvailableFormDefinitionItem as L, CustomVisualizationProps as La, F0MapMarkerVariant as Lc, PageBasedPaginatedResponse as Ld, F0NotesTextEditor as Li, actionBarStatuses as Ll, F0SelectField as Ln, GranularityDefinition as Lo, F0CheckboxField as Lr, isPossiblePhoneValue as Ls, F0WizardFormPerSectionSubmitArg as Lt, useGroups as Lu, F0FormTester as M, Chip as Ma, F0MapLineStyle as Mc, DataAdapter as Md, F0RichTextDisplayHandle as Mi, ActionBarItem as Ml, F0TextField as Mn, getGranularityDefinitions as Mo, CustomFieldRenderProps as Mr, F0SearchInputProps as Ms, F0FormDefinitionPerSection as Mt, SelectionMeta as Mu, F0FormValidationResult as N, ChipProps as Na, F0MapPoint as Nc, InfiniteScrollPaginatedResponse as Nd, F0RichTextDisplayProps as Ni, ActionBarStatus as Nl, TextRenderIfCondition as Nn, granularityDefinitions as No, F0CustomConfig as Nr, F1SearchBox as Ns, F0FormDefinitionSingleSchema as Nt, SelectionStatus as Nu, F0DataChartScatterSeries as O, SuccessMessageProps as Oa, F0MapProps as Oc, BaseDataAdapter as Od, UPLOAD_INPUT_ID as Oi, buttonDropdownModes as Ol, unwrapZodSchema as On, DatePreset as Oo, datePickerInlineDismissReasons as Or, Input as Os, F0FormSetValueOptions as Ot, InputFieldProps as Ou, createF0FormTester as P, chipVariants as Pa, F0MapRoute as Pc, ItemNeighborsFetchOptions as Pd, RichTextDisplay as Pi, F0ActionBar as Pl, F0SwitchConfig as Pn, resolveGranularityDefinition as Po, F0CustomField as Pr, TemplateVariable as Ps, F0FormSchema$1 as Pt, UseSelectableProps as Pu, generateAnchorId as Q, TableVisualizationType as Qa, DialogPosition as Qc, FilterValueByKey as Qd, ReplaceBlockNotesTextEditorPageDocumentPatch as Qi, ChartConfig$1 as Ql, AlertDialogOptions as Qn, filterActions as Qo, F0DocumentViewer as Qr, LocationPart as Qs, F0Field as Qt, GROUP_KEY_SEPARATOR as Qu, F0AiAvailableFormDefinition as R, Visualization as Ra, F0MapMarkerVariantProps as Rc, PaginatedDataAdapter as Rd, F0NotesTextEditorHandle as Ri, AreaChart as Rl, SelectRenderIfCondition as Rn, GranularityDefinitionSimple as Ro, DurationFieldConfig as Rr, isValidPhoneValue as Rs, F0WizardFormSingleSchemaProps as Rt, useDataSourceItemNavigation as Ru, F0DataChartRadarPointClick as S, LoadingStateProps as Sa, F0MapControls as Sc, GroupingState as Sd, WeekStartDay as Sf, resultType as Si, ButtonDropdownGroup as Sl, InferF0FormValues as Sn, OneCalendarProps as So, F0TimeConfig as Sr, NumberInput as Ss, InferPerSectionValues as St, F0SelectTagProp as Su, F0DataChartReferenceLine as T, ErrorMessageProps as Ta, F0Map as Tc, ItemActionsDefinition as Td, subActionType as Ti, ButtonDropdownSize as Tl, hasF0Config as Tn, rangeSeparator as To, F0DatePickerInline as Tr, F0TextInputInline as Ts, RenderCustomFieldSelectConfig as Tt, selectSizes as Tu, OpenFormDialogOptions as U, ListIconPaletteColor as Ua, googleMapStyles as Uc, SelectedItems as Ud, NotesTextEditorHandle as Ui, PieChart as Ul, F0PhoneField as Un, PrimaryActionItemDefinition as Uo, durationInputSizes as Ur, phoneInputSizes as Us, F0FileField as Ut, UseDataSourceItemNavigationReturn as Uu, defineAvailableForm as V, MapVisualizationOptions as Va, defaultMapStyle as Vc, PaginationInfo as Vd, F0NotesTextEditorSkeletonProps as Vi, ComboChart as Vl, RichTextValue as Vn, DatePeriodsDefinition as Vo, DurationUnit as Vr, F0PhoneInputValue as Vs, InferPerSectionValues$1 as Vt, DataSourceItemId as Vu, OpenFormDialogResult as W, listIconColors as Wa, googlePinlessMapStyles as Wc, RecordType as Wd, NotesTextEditorProps as Wi, ProgressBarChart as Wl, F0PeriodConfig as Wn, PrimaryActionsDefinitionFn as Wo, durationUnits as Wr, F0LocationInput as Ws, FileUploadHookReturn as Wt, createDataSourceDefinition as Wu, InlineRowAlert as X, OnLoadDataCallback as Xa, F0DialogProviderProps as Xc, CurrentFilters as Xd, NotesTextEditorPageDocumentPatch as Xi, ChartPropsBase as Xl, F0LocationConfig as Xn, UpsellActionDefinition as Xo, VideoPlayerContent as Xr, F0LocationSuggestion as Xs, CommonRenderIfCondition as Xt, Data as Xu, InlineFieldRowProps as Y, ExtractPropertyKeys as Ya, F0DialogInternalProps as Yc, SortingsStateMultiple as Yd, InsertBeforeNotesTextEditorPageDocumentPatch as Yi, ChartConfig as Yl, NumberRenderIfCondition as Yn, SecondaryActionsItems as Yo, F0VideoPlayerProps as Yr, F0LocationSearchContext as Ys, UseFileUpload as Yt, useItemNeighbors as Yu, RowAction as Z, OnLoadErrorCallback as Za, DialogControls as Zc, FilterOptions as Zd, NotesTextEditorSnapshot as Zi, LineChartPropsBase as Zl, F0LocationField as Zn, UpsellActionDefinitionFn as Zo, Localized as Zr, LocationInputSize as Zs, F0BaseField as Zt, DataError as Zu, F0DataChartPieSeries as _, predefinedPresets as _a, F0MapListProps as _c, GROUP_ID_SYMBOL as _d, DateRangeError as _f, actionType as _i, MetadataItemValue as _l, F0PeriodFieldConfig as _n, NavigationFiltersState as _o, DateRenderIfCondition as _r, TextareaProps as _s, F0PerSectionSectionConfig as _t, selectInlineDismissReasons as _u, F0DataChartFunnelDataPoint as a, User as aa, CardSelectableSingleProps as ac, ItemNeighborsResult as ad, QuickFilterDefinition as af, F0DocumentViewerProps as ai, BaseTabs as al, F0DateFieldConfig as an, Lane as ao, DrawerDefinition as ar, OneFilterPicker as as, F0FormErrorTriggerMode as at, F0ButtonToggle as au, F0DataChartProps as b, DataCollectionStorageHandler as ba, F0MapSidebar as bc, GroupingDefinition as bd, DateRangeComplete as bf, heightType as bi, F0ButtonDropdown as bl, F0StringConfig as bn, OneCalendarInternal as bo, F0DateTimeConfig as br, F0NumberInput as bs, F0SectionAction as bt, F0SelectItemProps as bu, F0DataChartGaugeProps as c, enhanceConfig as ca, F0TimelineRowMultitaskItemProps as cc, PromiseOrObservable as cd, SearchFilterDefinition as cf, pdfScales as ci, TabsProps as cl, F0FieldAlert as cn, SearchPreviewResultData as co, DrawerSize as cr, TOCItem as cs, F0FormPropsWithPerSectionDefinition as ct, ButtonToggleSize as cu, F0DataChartLineProps as d, lastIntentType as da, F0TimelineRowOtherAction as dc, OnSelectItemsCallback as dd, DateFilterDefinition as df, F0RichTextEditorProps as di, NavigationTarget as dl, F0FieldConfig as dn, OnBulkActionCallback as do, F0DrawerPosition as dr, Pulse as ds, F0FormPropsWithSingleSchemaDefinition as dt, buttonToggleSizes as du, TopLevelAppendNotesTextEditorPageDocumentPatch as ea, locationParts as ec, UseDataOptions as ed, FiltersMode as ef, F0PdfViewerAction as ei, F0DialogActionsProps as el, RenderIfCondition as en, DataCollectionBaseFetchOptions as eo, DialogAction as er, getSecondaryActions as es, getSchemaDefinition as et, BannerAction as eu, F0DataChartLineSeries as f, F0Alert as fa, F0TimelineRowProps as fc, SelectedItemState as fd, CalendarDate as ff, F0RichTextEditorSkeletonProps as fi, PageNavigation as fl, F0FieldType as fn, NavigationFilter as fo, DateRangeRenderIfCondition as fr, F0TextAreaInputInline as fs, F0FormSchema as ft, buttonToggleVariants as fu, F0DataChartPieProps as g, OneEmptyState as ga, F0MapList as gc, SelectionId as gd, CalendarView as gf, RichTextEditorSkeletonProps as gi, MetadataItem as gl, F0NumberFieldConfig as gn, NavigationFiltersDefinition as go, DateGranularity as gr, Textarea as gs, F0PerSectionSchema as gt, F0SelectInlineProps as gu, F0DataChartPieDataPoint as h, alertVariantOptions as ha, timelineRowStatuses as hc, SelectedState as hd, CalendarSelection as hf, RichTextEditorProps as hi, HeaderSecondaryAction as hl, F0MoreInfoLink as hn, NavigationFilterValue as ho, F0DateRangeField as hr, F0TextAreaInputProps as hs, F0FormSubmitResult as ht, F0SelectInlineDismissReason as hu, F0DataChartEmptyStateProps as i, Message as ia, CardSelectableMultipleProps as ic, useData as id, PresetsDefinition as if, F0DocumentViewerAction as ii, F0DialogSecondaryActionItem as il, F0CustomFieldConfig as in, DataCollectionSourceDefinition as io, DialogId as ir, SummaryType as is, F0FormDiscardConfig as it, F0SegmentedControlProps as iu, CreateF0FormTesterOptions as j, DataCollectionStorageFeaturesDefinition as ja, F0MapLineColor as jc, BaseResponse as jd, F0RichTextDisplay as ji, ActionBarGroup as jl, F0TextConfig as jn, NavigationGranularityKey as jo, datepickerSizes as jr, F0SearchInput as js, F0FormDefinition as jt, AllSelectionStatus as ju, F0Form as k, UpsellRequestResponseDialog as ka, F0MapArc as kc, BaseFetchOptions as kd, MentionedUser as ki, buttonDropdownSizes as kl, F0TextareaConfig as kn, GranularityDefinitionKey as ko, DatePickerValue as kr, InputProps as ks, UseF0FormReturn as kt, InputFieldStatus as ku, F0DataChartHeatmapProps as l, enhanceTextParams as la, F0TimelineRowMultitaskProps as lc, DataSource as ld, NumberFilterDefinition as lf, F0RichTextEditor as li, TabsSkeleton as ll, F0FieldAlertFunction as ln, BulkAction as lo, F0DrawerAction as lr, TOCItemAction as ls, F0FormPropsWithPerSectionSchema as lt, ButtonToggleVariant as lu, F0DataChartMarkPointClick as m, F0AlertProps as ma, TimelineRowStatus as mc, SelectedItemsState as md, CalendarMode as mf, RichTextEditorHandle as mi, F0ResourceHeaderProps as ml, F0LocationFieldConfig as mn, NavigationFilterDefinition as mo, F0DateRangeConfig as mr, F0TextAreaInput as ms, F0FormSubmitConfig as mt, F0Select as mu, F0DataChartBarProps as n, HeaderProps$1 as na, CardSelectableContainerProps as nc, isInfiniteScrollPagination as nd, PresetDefinition as nf, F0PdfViewerToolbarPlacement as ni, F0DialogPrimaryActionItem as nl, F0BaseConfig as nn, DataCollectionPaginatedFetchOptions as no, DialogActions as nr, SummariesDefinition as ns, F0AnySectionConfig as nt, BaseBannerProps as nu, F0DataChartFunnelProps as o, ImageUploadConfig as oa, CardSelectableValue as oc, resolveItemNeighbors as od, FilterDefinition as of, F0DocumentViewerToolbarPlacement as oi, TabItem as ol, F0DateRangeFieldConfig as on, SearchPreview as oo, NotificationDialogOptions as or, DropPosition as os, F0FormLikeComponent as ot, F0ButtonToggleProps as ou, F0DataChartLineType as p, AlertVariant as pa, F0TimelineRowTaskProps as pc, SelectedItemsDetailedStatus as pd, CalendarDateMatcher as pf, RichTextEditor as pi, F0ResourceHeader as pl, F0FileFieldConfig as pn, NavigationFilterComponentProps as po, DateRangeValue as pr, F0TextAreaInputInlineProps as ps, F0FormStylingConfig as pt, F0SelectInline as pu, InlineFieldRow as q, InfoHintContent as qa, F0MapControlsProps as qc, SortingsDefinition as qd, DeleteBlockNotesTextEditorPageDocumentPatch as qi, PieChartProps as ql, F0NumberConfig as qn, SecondaryActionSplitItem as qo, DialogAlikePosition as qr, F0LocationInputShapeProps as qs, InitialFile as qt, UseItemNeighborsOptions as qu, F0DataChartBarSeries as r, HeaderStatusProps as ra, CardSelectableItem as rc, isPageBasedPagination as rd, PresetSettings as rf, F0DocumentKind as ri, F0DialogSecondaryAction as rl, F0BooleanConfig as rn, DataCollectionSource as ro, DialogDefinition as rr, SummaryKey as rs, F0ContentSectionConfig as rt, F0SegmentedControlItem as ru, F0DataChartFunnelSeries as s, EnhancementOption as sa, F0TimelineRowAction as sc, adaptDataAdapterToInfiniteScroll as sd, FilterValue as sf, F0PdfScale as si, Tabs as sl, F0DateTimeFieldConfig as sn, SearchPreviewPage as so, Optional as sr, TOCAction as ss, F0FormProps as st, ButtonToggleColor as su, F0DataChartBarDataPoint as t, TopLevelPrependNotesTextEditorPageDocumentPatch as ta, CardSelectableContainer as tc, UseDataReturn as td, FiltersState as tf, F0PdfViewerProps as ti, F0DialogPrimaryAction as tl, F0ArrayConfig as tn, DataCollectionDataAdapter as to, DialogActionValue as tr, getUpsellAction as ts, useSchemaDefinition as tt, BaseBanner as tu, F0DataChartLineDataPoint as u, enhancedTextResponse as ua, F0TimelineRowNestedtaskProps as uc, DataSourceDefinition as ud, InFilterDefinition as uf, F0RichTextEditorHandle as ui, NavigationProps as ul, F0FieldAlertProps as un, BulkActionDefinition as uo, F0DrawerActionsProps as ur, TOCProps as us, F0FormPropsWithSingleSchema as ut, buttonToggleColors as uu, F0DataChartPointClick as v, dataCollectionLocalStorageHandler as va, F0MapSidebarToggle as vc, WithGroupId as vd, OptionalCalendarSelection as vf, editorStateType as vi, PrimaryActionButton as vl, F0PhoneFieldConfig as vn, NavigationFilterDefinitionBase as vo, F0DateConfig as vr, F0NumberInputInline as vs, F0PerSectionSections as vt, F0SelectItemMetadata as vu, F0DataChartRadarSeries as w, UpsellingButtonProps as wa, F0MapSkeletonProps as wc, ActionDefinition as wd, secondaryActionsType as wi, ButtonDropdownMode as wl, getF0Config as wn, getGranularitySimpleDefinition as wo, F0DatePicker as wr, NumberInputPopoverConfig as ws, RenderCustomFieldProps as wt, ResolvedRecordType as wu, F0DataChartRadarIndicator as x, ActionProps as xa, F0MapSidebarProps as xc, GroupingLevelState as xd, DateRangeString as xf, primaryActionType as xi, F0DropdownButtonProps as xl, F0ZodType as xn, OneCalendarInternalProps as xo, F0DateTimeField as xr, F0NumberInputProps as xs, F0SectionConfig as xt, F0SelectProps as xu, F0DataChartPointClickSeries as y, DataCollectionStorage as ya, F0MapSidebarToggleProps as yc, SearchOptions as yd, DateRange as yf, filesConfig as yi, PrimaryDropdownAction as yl, F0RichTextFieldConfig as yn, OneCalendar as yo, F0DateField as yr, F0NumberInputInlineProps as ys, F0PerSectionSubmitConfig as yt, F0SelectItemObject as yu, F0AiFormEntry as z, VisualizationFilterOverrides as za, f0MapMarkerVariants as zc, PaginatedFetchOptions as zd, F0NotesTextEditorProps as zi, BarChart as zl, F0RichTextConfig as zn, PrevNextDateNavigation as zo, DurationFields as zr, F0PhoneInputChangeMeta as zs, F0WizardFormSingleSubmitArg as zt, NeighborResolution as zu };
|