@factorialco/f0-react 11.4.0 → 11.6.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/{ChatPostComposerDialog-Cc7fvKS6.js → ChatPostComposerDialog-Cck0eXo_.js} +3 -3
- package/dist/{CoachmarkProvider-Ci3AcnP8.js → CoachmarkProvider-BFqqg2UJ.js} +19537 -18773
- package/dist/{DocumentToolbar-ROjm7TTq.js → DocumentToolbar-C8mxENP5.js} +5 -5
- package/dist/{DocxViewer-C-hqdAtr.js → DocxViewer-DrVcTEmI.js} +2 -2
- package/dist/{F0AiProcessingOverlay-c1krdBYn.js → F0AiProcessingOverlay-Ce8D6iy4.js} +81 -68
- package/dist/{F0CanvasPanel-CK1xxsUA.js → F0CanvasPanel-BM8XJQxg.js} +901 -823
- package/dist/F0CanvasPanel.css +1 -1
- package/dist/{F0DocumentViewer-BCfJXjvm.js → F0DocumentViewer-2l2m-eh2.js} +6 -6
- package/dist/F0DocumentViewer-D2Ha0lRL.js +3 -0
- package/dist/{F0Map-BiAloAMK.js → F0Map-CytIPUVk.js} +6 -6
- package/dist/{F0Select-BetgBZSF.js → F0Select-i2dNQl-o.js} +2 -2
- package/dist/{F0Text-C9DFseNJ.js → F0Text-CgSfveNl.js} +2 -2
- package/dist/F0VideoPlayer-Ahs45M0U.js +1 -0
- package/dist/{F0VideoPlayer-BSV-SiM6.js → F0VideoPlayer-CkrzZndG.js} +2 -2
- package/dist/{Map-BMmBgKVH.js → Map-C7J7GS7i.js} +6 -6
- package/dist/{PdfThumbnail-BSpty5h1.js → PdfThumbnail-CSm1-nL6.js} +1 -1
- package/dist/{SheetViewer-Gswnolu0.js → SheetViewer-Dr05AACA.js} +4 -4
- package/dist/{TextViewer-Chm6U7Pw.js → TextViewer-B-ElqCqI.js} +2 -2
- package/dist/ai.d.ts +3 -3
- package/dist/ai.js +4 -4
- package/dist/component-status.js +36 -36
- package/dist/{dist-B7gjXV8f.js → dist-CMwSnU0b.js} +1 -1
- package/dist/experimental.d.ts +240 -28
- package/dist/experimental.js +4401 -4265
- package/dist/{exports-4kSDLHnh.d.ts → exports-BUy6iwlC.d.ts} +27 -11
- package/dist/f0.d.ts +4 -765
- package/dist/f0.js +2062 -2716
- package/dist/{i18n-provider-defaults-0FwmF5YL.js → i18n-provider-defaults-DuEbMwBE.js} +1 -0
- package/dist/{i18n-provider-defaults-Yf7knX-_.d.ts → i18n-provider-defaults-iUxatyvB.d.ts} +1 -0
- package/dist/i18n-provider-defaults.d.ts +1 -1
- package/dist/i18n-provider-defaults.js +1 -1
- package/dist/{index-D7tei3SJ.d.ts → index-DN2jqF-n.d.ts} +6 -2
- package/dist/{maplibre-BK-KYVbw.js → maplibre-DJXwBvGf.js} +1 -1
- package/dist/{pdfWorker-D_jkJFme.js → pdfWorker-BsMaV8KV.js} +1 -1
- package/dist/{popover-CL68oVjH.js → popover-DDzOLSXr.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{index-DkOgixiu.d.ts → types-Bhw7yTkP.d.ts} +769 -3
- package/dist/{useData-DHe37Z81.js → useData-Dics8Os6.js} +1 -1
- package/package.json +1 -1
- package/dist/F0DocumentViewer-C1x5k9E4.js +0 -3
- package/dist/F0VideoPlayer-DSP9Q57g.js +0 -1
package/dist/f0.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { $ as AiChatCredits, $n as F0Button, $r as ChatDashboardMetricFormat, $t as F0TagTeam, Ai as IconAvatarVariant, An as AvatarListSize, Ar as AiChatShowFilesItem, At as CustomEntityRefCard, B as RenderableTurn, Bi as F0AvatarFile, Bn as F0Link, Br as ChatDashboardBarChartConfig, Bt as cardImageAspectRatios, C as FileItemSize, Ci as AvatarVariant, Ct as WelcomeScreenSuggestionItem, D as TagCounterItem, Di as CompanyAvatarVariant, Dn as ChartColorToken, Dr as AiChatFileKind, E as TagCounter, Ei as ColorListAvatarVariant, En as HourDistributionDataPoint, Er as AiChatFile, Et as SidePanelContent, F as F0AiMessagesContainerProps, Fi as F0AvatarTeamProps, Fr as CanvasActions, Ft as F0Card, G as F0AiChatProps, Gr as ChatDashboardConfig, Gt as CardAlertVariant, H as MarkdownTagRenderers, Hr as ChatDashboardChartItem, Ht as cardImageSizes, I as WelcomeScreenCta, Ii as F0AvatarPersonProps, In as AlertAvatarProps, Ir as CanvasContent, It as F0CardProps, J as AiChatComposerActionItem, Jr as ChatDashboardFunnelChartConfig, K as F0AiChatProvider, Ki as F0AvatarCompanyProps, Kr as ChatDashboardDateNavigationGranularity, L as FeedbackConfig, Li as F0AvatarIcon, Ln as F0AvatarAlert, Lr as CanvasContentBase, Lt as CardImageAspectRatio, M as useAiChatTranslations, Mi as TeamAvatarVariant, Mn as F0TagAlert, Mr as AutofillTimesheetCanvasContent, Mt as EntityRefs, N as useAiChat, Ni as avatarVariants, Nn as Level, Nr as AutofillTimesheetShift, Nt as EntityResolvers, O as F0TagRaw, Oi as FileAvatarVariant, On as chartColorTokens, Or as AiChatFilePreviewConfig, P as F0AiMessagesContainer, Pi as F0AvatarTeam, Pn as Props, Pr as BulkResolveInconsistenciesCanvasContent, Pt as EntityUrlBuilders, Q as AiChatCreditWarning, Qi as BaseAvatarProps, Qn as LinkContextValue, Qr as ChatDashboardLineChartConfig, Qt as TagVariant, R as UserReaction, Ri as F0AvatarIconProps, Rr as CanvasEntityDefinition, Rt as CardImageFit, S as FileItemProps, Si as AvatarAction, St as WelcomeScreenSuggestion, T as F0TagList, Ti as ColorAvatarVariant, Tn as HourDistributionCellValue, Tr as F0Avatar, Tt as aiTranslations, U as markdownRenderers, Ui as F0AvatarEmoji, Ur as ChatDashboardCollectionItem, Ut as CardAlertAction, V as ThinkingProps, Vi as F0AvatarFileProps, Vn as F0LinkProps, Vr as ChatDashboardChartConfig, Vt as cardImageFits, W as F0AiChat, Wi as F0AvatarEmojiProps, Wn as DropdownItem, Wr as ChatDashboardColumn, Wt as CardAlertProps, X as AiChatComposerActionSubmenu, Xr as ChatDashboardHeatmapChartConfig, Xt as TagType, Y as AiChatComposerActionSeparator, Yr as ChatDashboardGaugeChartConfig, Yt as F0TagListProps, Z as AiChatComposerActionToggle, Zi as AvatarBadge, Zr as ChatDashboardItem, Zt as Tag, _ as F0FileItem, _i as PieComputation, _r as StatusVariant, a as F0CardHorizontal, aa as tagDotColors, ai as CollectionComputation, an as F0TagCompanyProps, ar as EmojiImage, at as AiChatTrackingOptions, b as FileAction, bi as F0AvatarModule, br as CandidateProfile, bt as UploadedFile, ca as F0IconProps, ci as DashboardFetchSpec, cn as F0TagBalanceProps, cr as getEmojiLabel, ct as AiChatUsageLimits, d as useFormCardValueFormatter, da as WithDataTestIdProps, di as DataDownloadDataset, dr as DataAttributes, dt as AppendToolCall, ei as ChatDashboardMetricItem, en as F0TagTeamProps, er as F0ButtonProps, f as useSetFormCardValueFormatter, fa as WithDataTestIdPropsOf, fi as FormCanvasContent, fr as ExpenseProfile, ft as CreditsUsage, g as F0FileAction, gi as MetricComputation, gr as F0TagStatusProps, gt as F0ToolCall, hi as HeatmapComputation, hr as F0TagStatus, ht as F0Message, ia as Props$1, ii as ChatDashboardScatterChartConfig, in as F0TagCompany, ir as buttonVariants, it as AiChatProviderProps, j as AiChatTranslationsProvider, ji as PersonAvatarVariant, jn as F0AvatarListProps, jr as AggregationType, jt as CustomEntityRefConfig, k as F0TagDot, ki as FlagAvatarVariant, kn as BarSeriesStyle, kr as AiChatFileUrlResolver, l as FormCardValueFormatterEntry, la as IconType, li as DashboardMetadata, ln as Numeric, lr as useEmojiConfetti, lt as AiChatUsageLimitsSection, ma as withDataTestId, mi as GaugeComputation, mr as RequisitionProfile, mt as F0AiChatWelcomeCard, n as I18nProviderProps, na as modules, ni as ChatDashboardPieChartConfig, nn as F0TagPerson, nr as ButtonVariant, nt as AiChatFileAttachmentConfig, oi as DashboardCanvasActions, on as F0TagBalance, or as EmojiImageProps, ot as AiChatTranslations, pa as WithDataTestIdReturnType, pi as FormatPreset, pr as VacancyProfile, pt as F0AIMessage, q as AiChatComposerAction, qr as ChatDashboardFilterDefinition, qt as cardAlertVariants, r as buildTranslations, ra as NewColor, ri as ChatDashboardRadarChartConfig, rn as F0TagPersonProps, rr as buttonSizes, rt as AiChatMode, sa as F0Icon, si as DashboardCanvasContent, sn as BalanceStatus, sr as EmojiRenderMode, st as AiChatTranslationsProviderProps, ta as ModuleId, ti as ChatDashboardNavigationFilterDefinition, tn as F0TagRawProps, tr as ButtonSize, u as FormCardValueFormatterProvider, ua as DataTestIdWrapper, ui as DataDownloadCanvasContent, un as NumericWithFormatter, ut as AppendMessage, v as F0FileItemProps, vi as RadarComputation, vr as Variant, vt as PendingQuote, w as f0FileItemSizes, wi as AvatarVariants, wt as WelcomeSuggestionClickEvent, x as FileItem, xi as F0AvatarModuleProps, xr as PersonProfile, xt as VisualizationMode, y as F0FileItemSize, yi as ScatterComputation, yr as JobPostingProfile, z as useToolCallId, zr as ChartComputation, zt as CardImageSize } from "./index-
|
|
2
|
-
import { n as TranslationsType, r as defaultTranslations } from "./i18n-provider-defaults-
|
|
3
|
-
import { $ as DateGroup, $t as useCanvasEntity, A as ComposerMentionRef, At as F0OneIcon, B as UserBinaryPart, Bt as MaskOptions, C as F0ChatComposerVoice, Ct as F0AiInsightCardProps, D as ComposerMention, Dt as F0AvatarCompany, E as ComposerEditor, Et as F0AvatarPerson, F as F0AiChatTextArea, Ft as F0HILActionConfirmationProps, G as TrackedMention, Gt as actionItemStatuses, H as MentionItem, Ht as F0ActionItem, I as AiChatTextAreaUsageLimits, It as F0AuraVoiceAnimation, J as usageLimitsPopoverSides, Jt as ClarifyingQuestionState, K as F0AiChatUsageLimitsButtonProps, Kt as F0ClarifyingPanel, L as AttachedFile, Lt as F0AuraVoiceAnimationProps, M as ComposerMentionSource, Mt as OneIconSize, N as createPersonMentionSource, Nt as oneIconSizes, O as ComposerMentionItem, Ot as F0OneSwitch, P as DropOverlay, Pt as F0HILActionConfirmation, Q as F0AiChatHistory, Qt as ResolvedStepAnswer, R as F0AiChatTextAreaProps, Rt as CSSRgbString, S as F0ChatComposerState, St as ContentType, T as ComposerTranscribeFn, Tt as contentTypes, U as MentionSearchContext, Ut as ActionItemStatus, V as UserTextPart, Vt as ChatSpinner, W as MentionSource, Wt as F0ActionItemProps, X as ThreadItem, Xt as ClarifyingStepData, Y as ThreadListSkeleton, Yt as ClarifyingSelectionMode, Z as CollapsibleGroup, Zt as ClarifyingStepState, _ as ComposerAutocompletePlugin, _t as F0AiProposalCardHiddenActions, a as PongBall, at as F0AiChatCreditsButton, b as F0ChatComposerLabels, bt as AiInsightCardContent, c as F0AiFileAttachments, ct as F0AiChatHeaderProps, d as aiChatFileFromUploadedFile, dt as F0AiMessageSource, en as F0CanvasCard, et as F0AiChatHistoryProps, f as aiChatFilesFromMessage, ft as F0AiMessageSources, g as ComposerAutocomplete, gt as F0AiProposalCardBaseProps, h as F0ChatComposer, ht as F0AiProposalCardActions, i as F0CanvasPanelProps, it as useChatHistory, j as ComposerMentionSearchContext, jt as F0OneIconProps, k as ComposerMentionPinned, kt as F0OneSwitchProps, l as F0AiFileAttachmentsProps, lt as F0AiTableCard, m as F0AiChatUsageLimitsButton, mt as F0AiProposalCard, n as F0AiProcessingOverlayProps, nt as ThreadGroup, o as F0AiPong, ot as F0AiChatHeader, p as aiChatMessageText, pt as F0AiMessageSourcesProps, q as UsageLimitsPopoverSide, qt as ClarifyingOption, r as F0CanvasPanel, rt as ChatThread, s as F0AiFilePreviewsProvider, st as F0AiChatHeaderAction, t as F0AiProcessingOverlay, tn as F0CanvasCardProps, tt as ThreadActionHandlers, u as aiChatFileFromShowFilesItem, ut as F0AiTableCardProps, v as F0ChatComposerDraft, vt as F0AiProposalCardProps, w as RecorderStatus, wt as SparklineDataPoint, x as F0ChatComposerProps, xt as BalanceConfig, y as F0ChatComposerHandle, yt as F0AiInsightCard, z as F0AiChatTextAreaSubmitPayload, zt as F0AiMask } from "./exports-
|
|
4
|
-
import { $ as F0FormRef, $c as F0ButtonDropdownProps, $i as StepItemProps, $n as F0DatePickerInlineProps, $o as F0TextInput, $r as FileType, $t as isZodType, A as F0FormDiscardConfig, Ac as F0DialogSecondaryActionItem, Ad as PresetsDefinition, Ai as Message, An as DialogId, Ar as F0DocumentViewerAction, As as CardSelectableMultipleProps, At as F0CustomFieldConfig, Au as useData, B as F0FormSubmitConfig, Bc as F0ResourceHeaderProps, Bd as CalendarMode, Bi as F0AlertProps, Bl as F0Select, Bn as F0DateRangeConfig, Bo as F0TextAreaInput, Br as RichTextEditorHandle, Bs as TimelineRowStatus, Bt as F0LocationFieldConfig, Bu as SelectedItemsState, C as RowAction, Cc as DialogControls, Cd as FilterOptions, Ci as NotesTextEditorSnapshot, Cn as F0LocationField, Cr as Localized, Ct as F0BaseField, Cu as DataError, D as useSchemaDefinition, Dc as F0DialogPrimaryAction, Dd as FiltersState, Di as TopLevelPrependNotesTextEditorPageDocumentPatch, Dn as DialogActionValue, Dr as F0PdfViewerProps, Ds as CardSelectableContainer, Dt as F0ArrayConfig, Du as UseDataReturn, E as getSchemaDefinition, Ec as F0DialogActionsProps, Ed as FiltersMode, Ei as TopLevelAppendNotesTextEditorPageDocumentPatch, El as BannerAction, En as DialogAction, Er as F0PdfViewerAction, Et as RenderIfCondition, Eu as UseDataOptions, F as F0FormPropsWithPerSectionSchema, Fd as NumberFilterDefinition, Fi as enhanceTextParams, Fl as ButtonToggleVariant, Fn as F0DrawerAction, Fr as F0RichTextEditor, Fs as F0TimelineRowMultitaskProps, Ft as F0FieldAlertFunction, Fu as DataSource, G as F0PerSectionSubmitConfig, Ga as OneCalendar, Gc as PrimaryDropdownAction, Gd as DateRange, Gi as DataCollectionStorage, Gl as F0SelectItemObject, Gn as F0DateField, Go as F0NumberInputInlineProps, Gr as filesConfig, Gt as F0RichTextFieldConfig, H as F0PerSectionSchema, Ha as NavigationFiltersDefinition, Hc as MetadataItem, Hd as CalendarView, Hi as OneEmptyState, Hl as F0SelectInlineProps, Hn as DateGranularity, Ho as Textarea, Hr as RichTextEditorSkeletonProps, Ht as F0NumberFieldConfig, Hu as SelectionId, I as F0FormPropsWithSingleSchema, Id as InFilterDefinition, Ii as enhancedTextResponse, Il as buttonToggleColors, In as F0DrawerActionsProps, Io as TOCProps, Ir as F0RichTextEditorHandle, Is as F0TimelineRowNestedtaskProps, It as F0FieldAlertProps, Iu as DataSourceDefinition, J as InferPerSectionValues, Ja as OneCalendarProps, Jc as ButtonDropdownGroup, Jd as WeekStartDay, Ji as LoadingStateProps, Jl as F0SelectTagProp, Jn as F0TimeConfig, Jo as NumberInput, Jr as resultType, Jt as InferF0FormValues, Ju as GroupingState, K as F0SectionAction, Ka as OneCalendarInternal, Kc as F0ButtonDropdown, Kd as DateRangeComplete, Ki as DataCollectionStorageHandler, Kl as F0SelectItemProps, Kn as F0DateTimeConfig, Ko as F0NumberInput, Kr as heightType, Kt as F0StringConfig, Ku as GroupingDefinition, L as F0FormPropsWithSingleSchemaDefinition, Ld as DateFilterDefinition, Li as lastIntentType, Ll as buttonToggleSizes, Ln as F0DrawerPosition, Lr as F0RichTextEditorProps, Ls as F0TimelineRowOtherAction, Lt as F0FieldConfig, Lu as OnSelectItemsCallback, M as F0FormLikeComponent, Md as FilterDefinition, Mi as ImageUploadConfig, Ml as F0ButtonToggleProps, Mn as NotificationDialogOptions, Mr as F0DocumentViewerToolbarPlacement, Ms as CardSelectableValue, Mt as F0DateRangeFieldConfig, Mu as resolveItemNeighbors, N as F0FormProps, Nd as FilterValue, Ni as EnhancementOption, Nl as ButtonToggleColor, Nn as Optional, Nr as F0PdfScale, Ns as F0TimelineRowAction, Nt as F0DateTimeFieldConfig, Nu as adaptDataAdapterToInfiniteScroll, O as F0AnySectionConfig, Oc as F0DialogPrimaryActionItem, Od as PresetDefinition, Oi as HeaderProps, Ol as BaseBannerProps, On as DialogActions, Or as F0PdfViewerToolbarPlacement, Os as CardSelectableContainerProps, Ot as F0BaseConfig, Ou as isInfiniteScrollPagination, P as F0FormPropsWithPerSectionDefinition, Pd as SearchFilterDefinition, Pi as enhanceConfig, Pl as ButtonToggleSize, Pn as DrawerSize, Pr as pdfScales, Ps as F0TimelineRowMultitaskItemProps, Pt as F0FieldAlert, Pu as PromiseOrObservable, Q as SectionRenderIf, Qc as ButtonDropdownVariant, Qi as NextStepsProps, Ql as selectVariants, Qn as F0DatePickerInlineDismissReason, Qo as F0TextInputInlineProps, Qr as FILE_TYPES, Qt as inferFieldType, R as F0FormSchema, Rd as CalendarDate, Ri as F0Alert, Rl as buttonToggleVariants, Rn as DateRangeRenderIfCondition, Ro as F0TextAreaInputInline, Rr as F0RichTextEditorSkeletonProps, Rs as F0TimelineRowProps, Rt as F0FieldType, Ru as SelectedItemState, S as InlineRowAlert, Sc as F0DialogProviderProps, Sd as CurrentFilters, Si as NotesTextEditorPageDocumentPatch, Sn as F0LocationConfig, Sr as VideoPlayerContent, St as CommonRenderIfCondition, Su as Data, T as evaluateRenderIf, Tc as DialogWidth, Td as FiltersDefinition, Ti as ReplaceContentNotesTextEditorPageDocumentPatch, Tn as ConfirmDialogOptions, Tr as F0PdfViewer, Tt as FieldType, Tu as GroupRecord, U as F0PerSectionSectionConfig, Uc as MetadataItemValue, Ud as DateRangeError, Ui as predefinedPresets, Ul as selectInlineDismissReasons, Un as DateRenderIfCondition, Uo as TextareaProps, Ur as actionType, Ut as F0PeriodFieldConfig, Uu as GROUP_ID_SYMBOL, V as F0FormSubmitResult, Vc as HeaderSecondaryAction, Vd as CalendarSelection, Vi as alertVariantOptions, Vl as F0SelectInlineDismissReason, Vn as F0DateRangeField, Vo as F0TextAreaInputProps, Vr as RichTextEditorProps, Vs as timelineRowStatuses, Vt as F0MoreInfoLink, Vu as SelectedState, W as F0PerSectionSections, Wc as PrimaryActionButton, Wd as OptionalCalendarSelection, Wi as dataCollectionLocalStorageHandler, Wl as F0SelectItemMetadata, Wn as F0DateConfig, Wo as F0NumberInputInline, Wr as editorStateType, Wt as F0PhoneFieldConfig, Wu as WithGroupId, X as RenderCustomFieldProps, Xa as getGranularitySimpleDefinition, Xc as ButtonDropdownMode, Xi as UpsellingButtonProps, Xl as ResolvedRecordType, Xn as F0DatePicker, Xo as NumberInputPopoverConfig, Xr as secondaryActionsType, Xt as getF0Config, Y as RenderCustomFieldFunction, Ya as getGranularityDefinition, Yc as ButtonDropdownItem, Yd as WeekStartsOn, Yi as UpsellingButton, Yl as F0SelectVariant, Yn as F0TimeField, Yo as NumberInputProps, Yr as secondaryActionType, Yt as f0FormField, Yu as GroupMetadataItem, Z as RenderCustomFieldSelectConfig, Za as rangeSeparator, Zc as ButtonDropdownSize, Zi as ErrorMessageProps, Zl as selectSizes, Zn as F0DatePickerInline, Zo as F0TextInputInline, Zr as subActionType, Zt as hasF0Config, _ as dialogs, _c as F0MapProvider, _d as SortOrder, _i as NotesTextEditorSkeleton, _l as RadarChart, _n as F0PeriodField, _r as F0DialogSize, _t as FileUploadResult, _u as getDataSourcePaginationType, a as F0FormValidationResult, aa as ChipProps, ad as InfiniteScrollPaginatedResponse, ai as F0RichTextDisplayProps, al as ActionBarStatus, an as TextRenderIfCondition, ao as granularityDefinitions, ar as F0CustomConfig, as as F1SearchBox, at as F0FormDefinitionSingleSchema, au as SelectionStatus, b as InlineFieldRowList, bc as F0DialogContextType, bd as SortingsState, bi as InsertAfterNotesTextEditorPageDocumentPatch, bn as F0NumberField, br as F0VideoPlayer, bt as MimeType, bu as UseItemNeighborsReturn, c as describeFormSchema, cd as ItemNeighborsResponse, ci as RichTextDisplayProps, cl as WiggleOptions, cn as F0SelectConfig, co as DateStringFormat, cr as F0CheckboxConfig, ct as F0WizardFormPerSectionProps, cu as getAnimationVariants, d as F0AiFormEntry, dd as PaginatedFetchOptions, di as F0NotesTextEditorProps, dl as BarChart, dn as F0RichTextConfig, do as PrevNextDateNavigation, dr as DurationFields, dt as F0WizardFormSingleSubmitArg, du as NeighborResolution, ea as SuccessMessageProps, ed as BaseDataAdapter, ei as UPLOAD_INPUT_ID, el as buttonDropdownModes, en as unwrapZodSchema, eo as DatePreset, er as datePickerInlineDismissReasons, es as Input, et as F0FormSetValueOptions, f as F0AiFormRegistryProvider, fd as PaginatedResponse, fi as F0NotesTextEditorSkeleton, fl as CategoryBarChart, fn as F0RichTextField, fo as DatePeriod, fr as DurationInputSize, ft as F0WizardFormStep, fu as resolveWindowNeighbors, g as OpenFormDialogResult, gd as RecordType, gi as NotesTextEditorProps, gl as ProgressBarChart, gn as F0PeriodConfig, gr as durationUnits, gt as FileUploadHookReturn, gu as createDataSourceDefinition, h as OpenFormDialogOptions, hd as SelectedItems, hi as NotesTextEditorHandle, hl as PieChart, hn as F0PhoneField, hr as durationInputSizes, ht as F0FileField, hu as UseDataSourceItemNavigationReturn, i as F0FormTester, ia as Chip, id as DataAdapter, ii as F0RichTextDisplayHandle, il as ActionBarItem, in as F0TextField, io as getGranularityDefinitions, ir as CustomFieldRenderProps, is as F0SearchInputProps, it as F0FormDefinitionPerSection, iu as SelectionMeta, j as F0FormErrorTriggerMode, jd as QuickFilterDefinition, ji as User, jl as F0ButtonToggle, jn as DrawerDefinition, jo as OneFilterPicker, jr as F0DocumentViewerProps, js as CardSelectableSingleProps, jt as F0DateFieldConfig, ju as ItemNeighborsResult, k as F0ContentSectionConfig, kc as F0DialogSecondaryAction, kd as PresetSettings, ki as HeaderStatusProps, kl as F0SegmentedControlItem, kn as DialogDefinition, kr as F0DocumentKind, ks as CardSelectableItem, kt as F0BooleanConfig, ku as isPageBasedPagination, l as AvailableFormDefinitionItem, ld as PageBasedPaginatedResponse, li as F0NotesTextEditor, ll as actionBarStatuses, ln as F0SelectField, lo as GranularityDefinition, lr as F0CheckboxField, lt as F0WizardFormPerSectionSubmitArg, lu as useGroups, m as useF0AiFormRegistry, md as PaginationType, mi as NotesTextEditor, ml as LineChart, mn as F0PhoneConfig, mr as F0DurationInputProps, mt as F0FileConfig, mu as UseDataSourceItemNavigationProps, n as createF0FormDefinitionTester, nd as BasePaginatedResponse, ni as MentionsConfig, nl as buttonDropdownVariants, nn as F0TextareaField, no as GranularityDefinitionsOptions, nr as F0DatePickerProps, ns as F0TextInputProps, nt as useF0Form, nu as useSelectable, o as createF0FormTester, oa as chipVariants, od as ItemNeighborsFetchOptions, oi as RichTextDisplay, ol as F0ActionBar, on as F0SwitchConfig, oo as resolveGranularityDefinition, or as F0CustomField, os as TemplateVariable, ot as F0FormSchema$1, ou as UseSelectableProps, p as defineAvailableForm, pd as PaginationInfo, pi as F0NotesTextEditorSkeletonProps, pl as ComboChart, pn as RichTextValue, po as DatePeriodsDefinition, pr as DurationUnit, pt as InferPerSectionValues$1, pu as DataSourceItemId, q as F0SectionConfig, qa as OneCalendarInternalProps, qc as F0DropdownButtonProps, qd as DateRangeString, ql as F0SelectProps, qn as F0DateTimeField, qo as F0NumberInputProps, qr as primaryActionType, qt as F0ZodType, qu as GroupingLevelState, r as CreateF0FormTesterOptions, rd as BaseResponse, ri as F0RichTextDisplay, rl as ActionBarGroup, rn as F0TextConfig, ro as NavigationGranularityKey, rr as datepickerSizes, rs as F0SearchInput, rt as F0FormDefinition, ru as AllSelectionStatus, s as FormFieldDescription, sd as ItemNeighborsId, si as RichTextDisplayHandle, sl as F0ActionBarRef, sn as F0SwitchField, so as DateNavigationOptions, sr as BooleanRenderIfCondition, ss as TemplateVariablesConfig, st as F0PerSectionSchema$1, su as UseSelectableReturn, t as F0Form, ta as UpsellRequestResponseDialog, td as BaseFetchOptions, ti as MentionedUser, tl as buttonDropdownSizes, tn as F0TextareaConfig, to as GranularityDefinitionKey, tr as DatePickerValue, ts as InputProps, tt as UseF0FormReturn, tu as InputFieldStatus, u as F0AiAvailableFormDefinition, ud as PaginatedDataAdapter, ui as F0NotesTextEditorHandle, ul as AreaChart, un as SelectRenderIfCondition, uo as GranularityDefinitionSimple, ur as DurationFieldConfig, ut as F0WizardFormSingleSchemaProps, uu as useDataSourceItemNavigation, v as drawers, vd as SortingKey, vi as NotesTextEditorSkeletonProps, vl as VerticalBarChart, vn as PeriodRenderIfCondition, vr as DialogAlikeInternalProps, vt as FileUploadStatus, vu as useDataSource, w as generateAnchorId, wc as DialogPosition, wd as FilterValueByKey, wi as ReplaceBlockNotesTextEditorPageDocumentPatch, wn as AlertDialogOptions, wr as F0DocumentViewer, wt as F0Field, wu as GROUP_KEY_SEPARATOR, x as InlineFieldRowProps, xc as F0DialogInternalProps, xd as SortingsStateMultiple, xi as InsertBeforeNotesTextEditorPageDocumentPatch, xn as NumberRenderIfCondition, xr as F0VideoPlayerProps, xt as UseFileUpload, xu as useItemNeighbors, y as InlineFieldRow, ya as InfoHintContent, yd as SortingsDefinition, yi as DeleteBlockNotesTextEditorPageDocumentPatch, yn as F0NumberConfig, yr as DialogAlikePosition, yt as InitialFile, yu as UseItemNeighborsOptions, z as F0FormStylingConfig, zd as CalendarDateMatcher, zi as AlertVariant, zl as F0SelectInline, zn as DateRangeValue, zo as F0TextAreaInputInlineProps, zr as RichTextEditor, zs as F0TimelineRowTaskProps, zt as F0FileFieldConfig, zu as SelectedItemsDetailedStatus } from "./index-DkOgixiu.js";
|
|
1
|
+
import { $ as AiChatCredits, $n as F0Button, $r as ChatDashboardMetricFormat, $t as F0TagTeam, Ai as IconAvatarVariant, An as AvatarListSize, Ar as AiChatShowFilesItem, At as CustomEntityRefCard, B as RenderableTurn, Bi as F0AvatarFile, Bn as F0Link, Br as ChatDashboardBarChartConfig, Bt as cardImageAspectRatios, C as FileItemSize, Ci as AvatarVariant, Ct as WelcomeScreenSuggestionItem, D as TagCounterItem, Di as CompanyAvatarVariant, Dn as ChartColorToken, Dr as AiChatFileKind, E as TagCounter, Ei as ColorListAvatarVariant, En as HourDistributionDataPoint, Er as AiChatFile, Et as SidePanelContent, F as F0AiMessagesContainerProps, Fi as F0AvatarTeamProps, Fr as CanvasActions, Ft as F0Card, G as F0AiChatProps, Gr as ChatDashboardConfig, Gt as CardAlertVariant, H as MarkdownTagRenderers, Hr as ChatDashboardChartItem, Ht as cardImageSizes, I as WelcomeScreenCta, Ii as F0AvatarPersonProps, In as AlertAvatarProps, Ir as CanvasContent, It as F0CardProps, J as AiChatComposerActionItem, Jr as ChatDashboardFunnelChartConfig, K as F0AiChatProvider, Ki as F0AvatarCompanyProps, Kr as ChatDashboardDateNavigationGranularity, L as FeedbackConfig, Li as F0AvatarIcon, Ln as F0AvatarAlert, Lr as CanvasContentBase, Lt as CardImageAspectRatio, M as useAiChatTranslations, Mi as TeamAvatarVariant, Mn as F0TagAlert, Mr as AutofillTimesheetCanvasContent, Mt as EntityRefs, N as useAiChat, Ni as avatarVariants, Nn as Level, Nr as AutofillTimesheetShift, Nt as EntityResolvers, O as F0TagRaw, Oi as FileAvatarVariant, On as chartColorTokens, Or as AiChatFilePreviewConfig, P as F0AiMessagesContainer, Pi as F0AvatarTeam, Pn as Props, Pr as BulkResolveInconsistenciesCanvasContent, Pt as EntityUrlBuilders, Q as AiChatCreditWarning, Qi as BaseAvatarProps, Qn as LinkContextValue, Qr as ChatDashboardLineChartConfig, Qt as TagVariant, R as UserReaction, Ri as F0AvatarIconProps, Rr as CanvasEntityDefinition, Rt as CardImageFit, S as FileItemProps, Si as AvatarAction, St as WelcomeScreenSuggestion, T as F0TagList, Ti as ColorAvatarVariant, Tn as HourDistributionCellValue, Tr as F0Avatar, Tt as aiTranslations, U as markdownRenderers, Ui as F0AvatarEmoji, Ur as ChatDashboardCollectionItem, Ut as CardAlertAction, V as ThinkingProps, Vi as F0AvatarFileProps, Vn as F0LinkProps, Vr as ChatDashboardChartConfig, Vt as cardImageFits, W as F0AiChat, Wi as F0AvatarEmojiProps, Wn as DropdownItem, Wr as ChatDashboardColumn, Wt as CardAlertProps, X as AiChatComposerActionSubmenu, Xr as ChatDashboardHeatmapChartConfig, Xt as TagType, Y as AiChatComposerActionSeparator, Yr as ChatDashboardGaugeChartConfig, Yt as F0TagListProps, Z as AiChatComposerActionToggle, Zi as AvatarBadge, Zr as ChatDashboardItem, Zt as Tag, _ as F0FileItem, _i as PieComputation, _r as StatusVariant, a as F0CardHorizontal, aa as tagDotColors, ai as CollectionComputation, an as F0TagCompanyProps, ar as EmojiImage, at as AiChatTrackingOptions, b as FileAction, bi as F0AvatarModule, br as CandidateProfile, bt as UploadedFile, ca as F0IconProps, ci as DashboardFetchSpec, cn as F0TagBalanceProps, cr as getEmojiLabel, ct as AiChatUsageLimits, d as useFormCardValueFormatter, da as WithDataTestIdProps, di as DataDownloadDataset, dr as DataAttributes, dt as AppendToolCall, ei as ChatDashboardMetricItem, en as F0TagTeamProps, er as F0ButtonProps, f as useSetFormCardValueFormatter, fa as WithDataTestIdPropsOf, fi as FormCanvasContent, fr as ExpenseProfile, ft as CreditsUsage, g as F0FileAction, gi as MetricComputation, gr as F0TagStatusProps, gt as F0ToolCall, hi as HeatmapComputation, hr as F0TagStatus, ht as F0Message, ia as Props$1, ii as ChatDashboardScatterChartConfig, in as F0TagCompany, ir as buttonVariants, it as AiChatProviderProps, j as AiChatTranslationsProvider, ji as PersonAvatarVariant, jn as F0AvatarListProps, jr as AggregationType, jt as CustomEntityRefConfig, k as F0TagDot, ki as FlagAvatarVariant, kn as BarSeriesStyle, kr as AiChatFileUrlResolver, l as FormCardValueFormatterEntry, la as IconType, li as DashboardMetadata, ln as Numeric, lr as useEmojiConfetti, lt as AiChatUsageLimitsSection, ma as withDataTestId, mi as GaugeComputation, mr as RequisitionProfile, mt as F0AiChatWelcomeCard, n as I18nProviderProps, na as modules, ni as ChatDashboardPieChartConfig, nn as F0TagPerson, nr as ButtonVariant, nt as AiChatFileAttachmentConfig, oi as DashboardCanvasActions, on as F0TagBalance, or as EmojiImageProps, ot as AiChatTranslations, pa as WithDataTestIdReturnType, pi as FormatPreset, pr as VacancyProfile, pt as F0AIMessage, q as AiChatComposerAction, qr as ChatDashboardFilterDefinition, qt as cardAlertVariants, r as buildTranslations, ra as NewColor, ri as ChatDashboardRadarChartConfig, rn as F0TagPersonProps, rr as buttonSizes, rt as AiChatMode, sa as F0Icon, si as DashboardCanvasContent, sn as BalanceStatus, sr as EmojiRenderMode, st as AiChatTranslationsProviderProps, ta as ModuleId, ti as ChatDashboardNavigationFilterDefinition, tn as F0TagRawProps, tr as ButtonSize, u as FormCardValueFormatterProvider, ua as DataTestIdWrapper, ui as DataDownloadCanvasContent, un as NumericWithFormatter, ut as AppendMessage, v as F0FileItemProps, vi as RadarComputation, vr as Variant, vt as PendingQuote, w as f0FileItemSizes, wi as AvatarVariants, wt as WelcomeSuggestionClickEvent, x as FileItem, xi as F0AvatarModuleProps, xr as PersonProfile, xt as VisualizationMode, y as F0FileItemSize, yi as ScatterComputation, yr as JobPostingProfile, z as useToolCallId, zr as ChartComputation, zt as CardImageSize } from "./index-DN2jqF-n.js";
|
|
2
|
+
import { n as TranslationsType, r as defaultTranslations } from "./i18n-provider-defaults-iUxatyvB.js";
|
|
3
|
+
import { $ as DateGroup, $t as useCanvasEntity, A as ComposerMentionRef, At as F0OneIcon, B as UserBinaryPart, Bt as MaskOptions, C as F0ChatComposerVoice, Ct as F0AiInsightCardProps, D as ComposerMention, Dt as F0AvatarCompany, E as ComposerEditor, Et as F0AvatarPerson, F as F0AiChatTextArea, Ft as F0HILActionConfirmationProps, G as TrackedMention, Gt as actionItemStatuses, H as MentionItem, Ht as F0ActionItem, I as AiChatTextAreaUsageLimits, It as F0AuraVoiceAnimation, J as usageLimitsPopoverSides, Jt as ClarifyingQuestionState, K as F0AiChatUsageLimitsButtonProps, Kt as F0ClarifyingPanel, L as AttachedFile, Lt as F0AuraVoiceAnimationProps, M as ComposerMentionSource, Mt as OneIconSize, N as createPersonMentionSource, Nt as oneIconSizes, O as ComposerMentionItem, Ot as F0OneSwitch, P as DropOverlay, Pt as F0HILActionConfirmation, Q as F0AiChatHistory, Qt as ResolvedStepAnswer, R as F0AiChatTextAreaProps, Rt as CSSRgbString, S as F0ChatComposerState, St as ContentType, T as ComposerTranscribeFn, Tt as contentTypes, U as MentionSearchContext, Ut as ActionItemStatus, V as UserTextPart, Vt as ChatSpinner, W as MentionSource, Wt as F0ActionItemProps, X as ThreadItem, Xt as ClarifyingStepData, Y as ThreadListSkeleton, Yt as ClarifyingSelectionMode, Z as CollapsibleGroup, Zt as ClarifyingStepState, _ as ComposerAutocompletePlugin, _t as F0AiProposalCardHiddenActions, a as PongBall, at as F0AiChatCreditsButton, b as F0ChatComposerLabels, bt as AiInsightCardContent, c as F0AiFileAttachments, ct as F0AiChatHeaderProps, d as aiChatFileFromUploadedFile, dt as F0AiMessageSource, en as F0CanvasCard, et as F0AiChatHistoryProps, f as aiChatFilesFromMessage, ft as F0AiMessageSources, g as ComposerAutocomplete, gt as F0AiProposalCardBaseProps, h as F0ChatComposer, ht as F0AiProposalCardActions, i as F0CanvasPanelProps, it as useChatHistory, j as ComposerMentionSearchContext, jt as F0OneIconProps, k as ComposerMentionPinned, kt as F0OneSwitchProps, l as F0AiFileAttachmentsProps, lt as F0AiTableCard, m as F0AiChatUsageLimitsButton, mt as F0AiProposalCard, n as F0AiProcessingOverlayProps, nt as ThreadGroup, o as F0AiPong, ot as F0AiChatHeader, p as aiChatMessageText, pt as F0AiMessageSourcesProps, q as UsageLimitsPopoverSide, qt as ClarifyingOption, r as F0CanvasPanel, rt as ChatThread, s as F0AiFilePreviewsProvider, st as F0AiChatHeaderAction, t as F0AiProcessingOverlay, tn as F0CanvasCardProps, tt as ThreadActionHandlers, u as aiChatFileFromShowFilesItem, ut as F0AiTableCardProps, v as F0ChatComposerDraft, vt as F0AiProposalCardProps, w as RecorderStatus, wt as SparklineDataPoint, x as F0ChatComposerProps, xt as BalanceConfig, y as F0ChatComposerHandle, yt as F0AiInsightCard, z as F0AiChatTextAreaSubmitPayload, zt as F0AiMask } from "./exports-BUy6iwlC.js";
|
|
4
|
+
import { $ as evaluateRenderIf, $c as DialogWidth, $d as FiltersDefinition, $i as ReplaceContentNotesTextEditorPageDocumentPatch, $n as ConfirmDialogOptions, $r as F0PdfViewer, $t as FieldType, $u as GroupRecord, A as createF0FormDefinitionTester, Ad as BasePaginatedResponse, Ai as MentionsConfig, Al as buttonDropdownVariants, An as F0TextareaField, Ao as GranularityDefinitionsOptions, Ar as F0DatePickerProps, As as F0TextInputProps, At as useF0Form, Au as useSelectable, B as F0AiFormRegistryProvider, Bd as PaginatedResponse, Bi as F0NotesTextEditorSkeleton, Bl as CategoryBarChart, Bn as F0RichTextField, Bo as DatePeriod, Br as DurationInputSize, Bt as F0WizardFormStep, Bu as resolveWindowNeighbors, C as F0DataChartRadarProps, Ca as UpsellingButton, Cd as GroupMetadataItem, Cf as WeekStartsOn, Ci as secondaryActionType, Cl as ButtonDropdownItem, Cn as f0FormField, Co as getGranularityDefinition, Cr as F0TimeField, Cs as NumberInputProps, Ct as RenderCustomFieldFunction, Cu as F0SelectVariant, D as F0DataChartScatterProps, Da as StepItemProps, Di as FileType, Dl as F0ButtonDropdownProps, Dn as isZodType, Dr as F0DatePickerInlineProps, Ds as F0TextInput, Dt as F0FormRef, E as F0DataChartScatterDataPoint, Ea as NextStepsProps, Ei as FILE_TYPES, El as ButtonDropdownVariant, En as inferFieldType, Er as F0DatePickerInlineDismissReason, Es as F0TextInputInlineProps, Et as SectionRenderIf, Eu as selectVariants, F as FormFieldDescription, Fd as ItemNeighborsId, Fi as RichTextDisplayHandle, Fl as F0ActionBarRef, Fn as F0SwitchField, Fo as DateNavigationOptions, Fr as BooleanRenderIfCondition, Fs as TemplateVariablesConfig, Ft as F0PerSectionSchema$1, Fu as UseSelectableReturn, G as dialogs, Gc as F0MapProvider, Gd as SortOrder, Gi as NotesTextEditorSkeleton, Gl as RadarChart, Gn as F0PeriodField, Gr as F0DialogSize, Gt as FileUploadResult, Gu as getDataSourcePaginationType, H as useF0AiFormRegistry, Hd as PaginationType, Hi as NotesTextEditor, Hl as LineChart, Hn as F0PhoneConfig, Hr as F0DurationInputProps, Ht as F0FileConfig, Hu as UseDataSourceItemNavigationProps, I as describeFormSchema, Id as ItemNeighborsResponse, Ii as RichTextDisplayProps, Il as WiggleOptions, In as F0SelectConfig, Io as DateStringFormat, Ir as F0CheckboxConfig, It as F0WizardFormPerSectionProps, Iu as getAnimationVariants, J as InlineFieldRowList, Jc as F0DialogContextType, Jd as SortingsState, Ji as InsertAfterNotesTextEditorPageDocumentPatch, Jn as F0NumberField, Jr as F0VideoPlayer, Jt as MimeType, Ju as UseItemNeighborsReturn, K as drawers, Kd as SortingKey, Ki as NotesTextEditorSkeletonProps, Kl as VerticalBarChart, Kn as PeriodRenderIfCondition, Kr as DialogAlikeInternalProps, Kt as FileUploadStatus, Ku as useDataSource, L as AvailableFormDefinitionItem, Ld as PageBasedPaginatedResponse, Li as F0NotesTextEditor, Ll as actionBarStatuses, Ln as F0SelectField, Lo as GranularityDefinition, Lr as F0CheckboxField, Lt as F0WizardFormPerSectionSubmitArg, Lu as useGroups, M as F0FormTester, Ma as Chip, Md as DataAdapter, Mi as F0RichTextDisplayHandle, Ml as ActionBarItem, Mn as F0TextField, Mo as getGranularityDefinitions, Mr as CustomFieldRenderProps, Ms as F0SearchInputProps, Mt as F0FormDefinitionPerSection, Mu as SelectionMeta, N as F0FormValidationResult, Na as ChipProps, Nd as InfiniteScrollPaginatedResponse, Ni as F0RichTextDisplayProps, Nl as ActionBarStatus, Nn as TextRenderIfCondition, No as granularityDefinitions, Nr as F0CustomConfig, Ns as F1SearchBox, Nt as F0FormDefinitionSingleSchema, Nu as SelectionStatus, O as F0DataChartScatterSeries, Oa as SuccessMessageProps, Od as BaseDataAdapter, Oi as UPLOAD_INPUT_ID, Ol as buttonDropdownModes, On as unwrapZodSchema, Oo as DatePreset, Or as datePickerInlineDismissReasons, Os as Input, Ot as F0FormSetValueOptions, P as createF0FormTester, Pa as chipVariants, Pd as ItemNeighborsFetchOptions, Pi as RichTextDisplay, Pl as F0ActionBar, Pn as F0SwitchConfig, Po as resolveGranularityDefinition, Pr as F0CustomField, Ps as TemplateVariable, Pt as F0FormSchema$1, Pu as UseSelectableProps, Q as generateAnchorId, Qc as DialogPosition, Qd as FilterValueByKey, Qi as ReplaceBlockNotesTextEditorPageDocumentPatch, Qn as AlertDialogOptions, Qr as F0DocumentViewer, Qt as F0Field, Qu as GROUP_KEY_SEPARATOR, R as F0AiAvailableFormDefinition, Rd as PaginatedDataAdapter, Ri as F0NotesTextEditorHandle, Rl as AreaChart, Rn as SelectRenderIfCondition, Ro as GranularityDefinitionSimple, Rr as DurationFieldConfig, Rt as F0WizardFormSingleSchemaProps, Ru as useDataSourceItemNavigation, S as F0DataChartRadarPointClick, Sa as LoadingStateProps, Sd as GroupingState, Sf as WeekStartDay, Si as resultType, Sl as ButtonDropdownGroup, Sn as InferF0FormValues, So as OneCalendarProps, Sr as F0TimeConfig, Ss as NumberInput, St as InferPerSectionValues, Su as F0SelectTagProp, T as F0DataChartReferenceLine, Ta as ErrorMessageProps, Ti as subActionType, Tl as ButtonDropdownSize, Tn as hasF0Config, To as rangeSeparator, Tr as F0DatePickerInline, Ts as F0TextInputInline, Tt as RenderCustomFieldSelectConfig, Tu as selectSizes, U as OpenFormDialogOptions, Ud as SelectedItems, Ui as NotesTextEditorHandle, Ul as PieChart, Un as F0PhoneField, Ur as durationInputSizes, Ut as F0FileField, Uu as UseDataSourceItemNavigationReturn, V as defineAvailableForm, Vd as PaginationInfo, Vi as F0NotesTextEditorSkeletonProps, Vl as ComboChart, Vn as RichTextValue, Vo as DatePeriodsDefinition, Vr as DurationUnit, Vt as InferPerSectionValues$1, Vu as DataSourceItemId, W as OpenFormDialogResult, Wd as RecordType, Wi as NotesTextEditorProps, Wl as ProgressBarChart, Wn as F0PeriodConfig, Wr as durationUnits, Wt as FileUploadHookReturn, Wu as createDataSourceDefinition, X as InlineRowAlert, Xc as F0DialogProviderProps, Xd as CurrentFilters, Xi as NotesTextEditorPageDocumentPatch, Xn as F0LocationConfig, Xr as VideoPlayerContent, Xt as CommonRenderIfCondition, Xu as Data, Y as InlineFieldRowProps, Yc as F0DialogInternalProps, Yd as SortingsStateMultiple, Yi as InsertBeforeNotesTextEditorPageDocumentPatch, Yn as NumberRenderIfCondition, Yr as F0VideoPlayerProps, Yt as UseFileUpload, Yu as useItemNeighbors, Z as RowAction, Zc as DialogControls, Zd as FilterOptions, Zi as NotesTextEditorSnapshot, Zn as F0LocationField, Zr as Localized, Zt as F0BaseField, Zu as DataError, _ as F0DataChartPieSeries, _a as predefinedPresets, _d as GROUP_ID_SYMBOL, _f as DateRangeError, _i as actionType, _l as MetadataItemValue, _n as F0PeriodFieldConfig, _r as DateRenderIfCondition, _s as TextareaProps, _t as F0PerSectionSectionConfig, _u as selectInlineDismissReasons, a as F0DataChartFunnelDataPoint, aa as User, ac as CardSelectableSingleProps, ad as ItemNeighborsResult, af as QuickFilterDefinition, ai as F0DocumentViewerProps, an as F0DateFieldConfig, ar as DrawerDefinition, as as OneFilterPicker, at as F0FormErrorTriggerMode, au as F0ButtonToggle, b as F0DataChartProps, ba as DataCollectionStorageHandler, bd as GroupingDefinition, bf as DateRangeComplete, bi as heightType, bl as F0ButtonDropdown, bn as F0StringConfig, bo as OneCalendarInternal, br as F0DateTimeConfig, bs as F0NumberInput, bt as F0SectionAction, bu as F0SelectItemProps, c as F0DataChartGaugeProps, ca as enhanceConfig, cc as F0TimelineRowMultitaskItemProps, cd as PromiseOrObservable, cf as SearchFilterDefinition, ci as pdfScales, cn as F0FieldAlert, cr as DrawerSize, ct as F0FormPropsWithPerSectionDefinition, cu as ButtonToggleSize, d as F0DataChartLineProps, da as lastIntentType, dc as F0TimelineRowOtherAction, dd as OnSelectItemsCallback, df as DateFilterDefinition, di as F0RichTextEditorProps, dn as F0FieldConfig, dr as F0DrawerPosition, dt as F0FormPropsWithSingleSchemaDefinition, du as buttonToggleSizes, ea as TopLevelAppendNotesTextEditorPageDocumentPatch, ed as UseDataOptions, ef as FiltersMode, ei as F0PdfViewerAction, el as F0DialogActionsProps, en as RenderIfCondition, er as DialogAction, et as getSchemaDefinition, eu as BannerAction, f as F0DataChartLineSeries, fa as F0Alert, fc as F0TimelineRowProps, fd as SelectedItemState, ff as CalendarDate, fi as F0RichTextEditorSkeletonProps, fn as F0FieldType, fr as DateRangeRenderIfCondition, fs as F0TextAreaInputInline, ft as F0FormSchema, fu as buttonToggleVariants, g as F0DataChartPieProps, ga as OneEmptyState, gd as SelectionId, gf as CalendarView, gi as RichTextEditorSkeletonProps, gl as MetadataItem, gn as F0NumberFieldConfig, go as NavigationFiltersDefinition, gr as DateGranularity, gs as Textarea, gt as F0PerSectionSchema, gu as F0SelectInlineProps, h as F0DataChartPieDataPoint, ha as alertVariantOptions, hc as timelineRowStatuses, hd as SelectedState, hf as CalendarSelection, hi as RichTextEditorProps, hl as HeaderSecondaryAction, hn as F0MoreInfoLink, hr as F0DateRangeField, hs as F0TextAreaInputProps, ht as F0FormSubmitResult, hu as F0SelectInlineDismissReason, i as F0DataChartEmptyStateProps, ia as Message, ic as CardSelectableMultipleProps, id as useData, if as PresetsDefinition, ii as F0DocumentViewerAction, il as F0DialogSecondaryActionItem, in as F0CustomFieldConfig, ir as DialogId, it as F0FormDiscardConfig, j as CreateF0FormTesterOptions, jd as BaseResponse, ji as F0RichTextDisplay, jl as ActionBarGroup, jn as F0TextConfig, jo as NavigationGranularityKey, jr as datepickerSizes, js as F0SearchInput, jt as F0FormDefinition, ju as AllSelectionStatus, k as F0Form, ka as UpsellRequestResponseDialog, kd as BaseFetchOptions, ki as MentionedUser, kl as buttonDropdownSizes, kn as F0TextareaConfig, ko as GranularityDefinitionKey, kr as DatePickerValue, ks as InputProps, kt as UseF0FormReturn, ku as InputFieldStatus, l as F0DataChartHeatmapProps, la as enhanceTextParams, lc as F0TimelineRowMultitaskProps, ld as DataSource, lf as NumberFilterDefinition, li as F0RichTextEditor, ln as F0FieldAlertFunction, lr as F0DrawerAction, lt as F0FormPropsWithPerSectionSchema, lu as ButtonToggleVariant, m as F0DataChartMarkPointClick, ma as F0AlertProps, mc as TimelineRowStatus, md as SelectedItemsState, mf as CalendarMode, mi as RichTextEditorHandle, ml as F0ResourceHeaderProps, mn as F0LocationFieldConfig, mr as F0DateRangeConfig, ms as F0TextAreaInput, mt as F0FormSubmitConfig, mu as F0Select, n as F0DataChartBarProps, na as HeaderProps, nc as CardSelectableContainerProps, nd as isInfiniteScrollPagination, nf as PresetDefinition, ni as F0PdfViewerToolbarPlacement, nl as F0DialogPrimaryActionItem, nn as F0BaseConfig, nr as DialogActions, nt as F0AnySectionConfig, nu as BaseBannerProps, o as F0DataChartFunnelProps, oa as ImageUploadConfig, oc as CardSelectableValue, od as resolveItemNeighbors, of as FilterDefinition, oi as F0DocumentViewerToolbarPlacement, on as F0DateRangeFieldConfig, or as NotificationDialogOptions, ot as F0FormLikeComponent, ou as F0ButtonToggleProps, p as F0DataChartLineType, pa as AlertVariant, pc as F0TimelineRowTaskProps, pd as SelectedItemsDetailedStatus, pf as CalendarDateMatcher, pi as RichTextEditor, pn as F0FileFieldConfig, pr as DateRangeValue, ps as F0TextAreaInputInlineProps, pt as F0FormStylingConfig, pu as F0SelectInline, q as InlineFieldRow, qa as InfoHintContent, qd as SortingsDefinition, qi as DeleteBlockNotesTextEditorPageDocumentPatch, qn as F0NumberConfig, qr as DialogAlikePosition, qt as InitialFile, qu as UseItemNeighborsOptions, r as F0DataChartBarSeries, ra as HeaderStatusProps, rc as CardSelectableItem, rd as isPageBasedPagination, rf as PresetSettings, ri as F0DocumentKind, rl as F0DialogSecondaryAction, rn as F0BooleanConfig, rr as DialogDefinition, rt as F0ContentSectionConfig, ru as F0SegmentedControlItem, s as F0DataChartFunnelSeries, sa as EnhancementOption, sc as F0TimelineRowAction, sd as adaptDataAdapterToInfiniteScroll, sf as FilterValue, si as F0PdfScale, sn as F0DateTimeFieldConfig, sr as Optional, st as F0FormProps, su as ButtonToggleColor, t as F0DataChartBarDataPoint, ta as TopLevelPrependNotesTextEditorPageDocumentPatch, tc as CardSelectableContainer, td as UseDataReturn, tf as FiltersState, ti as F0PdfViewerProps, tl as F0DialogPrimaryAction, tn as F0ArrayConfig, tr as DialogActionValue, tt as useSchemaDefinition, u as F0DataChartLineDataPoint, ua as enhancedTextResponse, uc as F0TimelineRowNestedtaskProps, ud as DataSourceDefinition, uf as InFilterDefinition, ui as F0RichTextEditorHandle, un as F0FieldAlertProps, ur as F0DrawerActionsProps, us as TOCProps, ut as F0FormPropsWithSingleSchema, uu as buttonToggleColors, v as F0DataChartPointClick, va as dataCollectionLocalStorageHandler, vd as WithGroupId, vf as OptionalCalendarSelection, vi as editorStateType, vl as PrimaryActionButton, vn as F0PhoneFieldConfig, vr as F0DateConfig, vs as F0NumberInputInline, vt as F0PerSectionSections, vu as F0SelectItemMetadata, w as F0DataChartRadarSeries, wa as UpsellingButtonProps, wi as secondaryActionsType, wl as ButtonDropdownMode, wn as getF0Config, wo as getGranularitySimpleDefinition, wr as F0DatePicker, ws as NumberInputPopoverConfig, wt as RenderCustomFieldProps, wu as ResolvedRecordType, x as F0DataChartRadarIndicator, xd as GroupingLevelState, xf as DateRangeString, xi as primaryActionType, xl as F0DropdownButtonProps, xn as F0ZodType, xo as OneCalendarInternalProps, xr as F0DateTimeField, xs as F0NumberInputProps, xt as F0SectionConfig, xu as F0SelectProps, y as F0DataChartPointClickSeries, ya as DataCollectionStorage, yf as DateRange, yi as filesConfig, yl as PrimaryDropdownAction, yn as F0RichTextFieldConfig, yo as OneCalendar, yr as F0DateField, ys as F0NumberInputInlineProps, yt as F0PerSectionSubmitConfig, yu as F0SelectItemObject, z as F0AiFormEntry, zd as PaginatedFetchOptions, zi as F0NotesTextEditorProps, zl as BarChart, zn as F0RichTextConfig, zo as PrevNextDateNavigation, zr as DurationFields, zt as F0WizardFormSingleSubmitArg, zu as NeighborResolution } from "./types-Bhw7yTkP.js";
|
|
5
5
|
import * as React$2 from "react";
|
|
6
6
|
import React$1, { ComponentProps, FC, ImgHTMLAttributes, ReactElement, ReactNode, RefObject } from "react";
|
|
7
7
|
import { VariantProps } from "cva";
|
|
8
8
|
import { PopoverContentProps } from "@radix-ui/react-popover";
|
|
9
9
|
import { ZodType, z } from "zod";
|
|
10
|
-
import * as echarts from "echarts";
|
|
11
10
|
import { GridStackOptions, GridStackWidget } from "gridstack";
|
|
12
11
|
import "date-fns";
|
|
13
12
|
//#region src/elements/F0Link/types.d.ts
|
|
@@ -236,766 +235,6 @@ declare namespace F0AvatarListBase {
|
|
|
236
235
|
}
|
|
237
236
|
export declare const F0AvatarList: WithDataTestIdReturnType<typeof F0AvatarListBase>;
|
|
238
237
|
//#endregion
|
|
239
|
-
//#region src/addons/charts/F0DataChart/types.d.ts
|
|
240
|
-
/**
|
|
241
|
-
* Configuration for the empty state shown when a chart has no data.
|
|
242
|
-
*
|
|
243
|
-
* `F0DataChart` auto-detects empty data across all variants and renders a
|
|
244
|
-
* default empty state. Use this prop to customize the copy, fully replace
|
|
245
|
-
* the rendered UI via `render`, or skip detection via `disabled`.
|
|
246
|
-
*/
|
|
247
|
-
interface F0DataChartEmptyStateProps {
|
|
248
|
-
/** Override the default headline. */
|
|
249
|
-
title?: string;
|
|
250
|
-
/** Override the default supporting copy. */
|
|
251
|
-
description?: string;
|
|
252
|
-
/**
|
|
253
|
-
* Render-prop escape hatch — when provided, replaces the entire empty
|
|
254
|
-
* state UI. Still gated by the empty-data detection.
|
|
255
|
-
*/
|
|
256
|
-
render?: () => ReactNode;
|
|
257
|
-
/**
|
|
258
|
-
* Skip empty-data detection and render the chart as usual. Use when zero
|
|
259
|
-
* values are legitimate (e.g. a "0 errors per day" timeline).
|
|
260
|
-
* @default false
|
|
261
|
-
*/
|
|
262
|
-
disabled?: boolean;
|
|
263
|
-
}
|
|
264
|
-
/** One series' value at the category a click resolved to. */
|
|
265
|
-
interface F0DataChartPointClickSeries {
|
|
266
|
-
/** Configured series name. Empty when ECharts does not report one. */
|
|
267
|
-
name: string;
|
|
268
|
-
/** Index of the series in the chart's own series list. */
|
|
269
|
-
seriesIndex: number;
|
|
270
|
-
/** Raw, unformatted value at this category. */
|
|
271
|
-
value: number;
|
|
272
|
-
}
|
|
273
|
-
/**
|
|
274
|
-
* What a click resolved to — one bar segment, one slice, one point, or (for a
|
|
275
|
-
* line, where the click can land anywhere in the plot area) a whole category.
|
|
276
|
-
*
|
|
277
|
-
* The top-level fields always name a single series, so a consumer that wants
|
|
278
|
-
* one number has one. {@link F0DataChartPointClickBase.series} carries
|
|
279
|
-
* everything the click resolved, which for a line is every series at that
|
|
280
|
-
* category — the same rows its tooltip shows.
|
|
281
|
-
*/
|
|
282
|
-
interface F0DataChartPointClickBase {
|
|
283
|
-
/** Interaction surface that resolved the point. */
|
|
284
|
-
source: "pointer";
|
|
285
|
-
/**
|
|
286
|
-
* Configured series name for the mark. Empty when ECharts does not report one.
|
|
287
|
-
*
|
|
288
|
-
* For a radar it is the clicked polygon's name: a click picks a whole
|
|
289
|
-
* polygon, never one spoke. For a heatmap it is the cell's y-axis category,
|
|
290
|
-
* so a row reads like a series.
|
|
291
|
-
*/
|
|
292
|
-
seriesName: string;
|
|
293
|
-
/**
|
|
294
|
-
* Mark name reported by ECharts: an axis category, pie slice, funnel stage,
|
|
295
|
-
* scatter label, or gauge item name. For a heatmap it is the cell's x-axis
|
|
296
|
-
* category. Empty for a radar, whose polygon spans every indicator, and
|
|
297
|
-
* whenever the mark has no name.
|
|
298
|
-
*/
|
|
299
|
-
category: string;
|
|
300
|
-
/**
|
|
301
|
-
* Raw, unformatted value. Consumers apply their own formatting.
|
|
302
|
-
*
|
|
303
|
-
* For a radar this is the last indicator that has data, not a single
|
|
304
|
-
* observation — read {@link values} instead.
|
|
305
|
-
*/
|
|
306
|
-
value: number;
|
|
307
|
-
/**
|
|
308
|
-
* Every series the click resolved, in the order they are configured.
|
|
309
|
-
*
|
|
310
|
-
* A line chart accepts a click anywhere in its plot area, so this is the
|
|
311
|
-
* whole category — one entry per series that has a value there and is
|
|
312
|
-
* switched on in the legend, exactly the rows its axis tooltip shows.
|
|
313
|
-
* Everywhere else a click identifies one mark and this holds that one entry,
|
|
314
|
-
* matching {@link seriesName} and {@link value}.
|
|
315
|
-
*/
|
|
316
|
-
series: F0DataChartPointClickSeries[];
|
|
317
|
-
/** Index of the clicked mark within its series. */
|
|
318
|
-
dataIndex: number;
|
|
319
|
-
/** Index of the series the mark belongs to. */
|
|
320
|
-
seriesIndex: number;
|
|
321
|
-
/**
|
|
322
|
-
* Where a pointer click landed, in viewport coordinates — enough to anchor a
|
|
323
|
-
* floating element without the consumer having to reach for the chart's own
|
|
324
|
-
* geometry. Taken from the touch on a touch device, where the event itself
|
|
325
|
-
* carries no coordinates. Both are 0 if the pointer event carried no
|
|
326
|
-
* coordinates.
|
|
327
|
-
*/
|
|
328
|
-
clientX: number;
|
|
329
|
-
clientY: number;
|
|
330
|
-
}
|
|
331
|
-
/** A click on any chart except a radar. */
|
|
332
|
-
interface F0DataChartMarkPointClick extends F0DataChartPointClickBase {
|
|
333
|
-
/**
|
|
334
|
-
* Every number the mark carries, in series order: `[42]` for a bar or a
|
|
335
|
-
* slice, `[x, y]` for a scatter point, `[xIndex, yIndex, value]` for a
|
|
336
|
-
* heatmap cell.
|
|
337
|
-
*
|
|
338
|
-
* {@link value} is the last entry, which is the measure for every type
|
|
339
|
-
* except scatter — there both entries are measures, and quoting only the
|
|
340
|
-
* last one drops half the point. Read this when the chart type has more
|
|
341
|
-
* than one number to say.
|
|
342
|
-
*/
|
|
343
|
-
values: number[];
|
|
344
|
-
}
|
|
345
|
-
/** A click on a radar, which picks a whole polygon. */
|
|
346
|
-
interface F0DataChartRadarPointClick extends F0DataChartPointClickBase {
|
|
347
|
-
/**
|
|
348
|
-
* One entry per indicator, in indicator order. `null` is an indicator with
|
|
349
|
-
* no data; {@link value} is then the last indicator that has one.
|
|
350
|
-
*/
|
|
351
|
-
values: (number | null)[];
|
|
352
|
-
}
|
|
353
|
-
/** What a click on any chart type resolved to. */
|
|
354
|
-
type F0DataChartPointClick = F0DataChartMarkPointClick | F0DataChartRadarPointClick;
|
|
355
|
-
/**
|
|
356
|
-
* Props shared by every `F0DataChart` variant.
|
|
357
|
-
*/
|
|
358
|
-
interface F0DataChartCommonProps<Point extends F0DataChartPointClick = F0DataChartMarkPointClick> {
|
|
359
|
-
/**
|
|
360
|
-
* What the chart is about, e.g. "Headcount by department, Q3". Screen
|
|
361
|
-
* readers announce it as the chart's name, followed by the summary of its
|
|
362
|
-
* data that every chart generates on its own. Pass the chart's visible
|
|
363
|
-
* title when it has one: the data alone can't say what was measured.
|
|
364
|
-
*/
|
|
365
|
-
ariaLabel?: string;
|
|
366
|
-
/** Customize or opt out of the empty state shown when data is empty. */
|
|
367
|
-
emptyState?: F0DataChartEmptyStateProps;
|
|
368
|
-
/**
|
|
369
|
-
* Called when the user clicks a single mark (bar segment, slice, point).
|
|
370
|
-
* Omit to leave clicks inert, which is the default for every chart.
|
|
371
|
-
*
|
|
372
|
-
* Line charts accept a click anywhere in the plot area, since a line is too
|
|
373
|
-
* thin to hit — the same allowance their axis-triggered tooltip already
|
|
374
|
-
* makes — and answer with the whole category in
|
|
375
|
-
* {@link F0DataChartPointClickBase.series}, matching what the tooltip
|
|
376
|
-
* showed.
|
|
377
|
-
*/
|
|
378
|
-
onPointClick?: (point: Point) => void;
|
|
379
|
-
}
|
|
380
|
-
/** Props shared only by variants with an interactive legend. */
|
|
381
|
-
interface F0DataChartLegendInteractionProps {
|
|
382
|
-
/**
|
|
383
|
-
* Reports the chart's live legend visibility after an interactive toggle.
|
|
384
|
-
* Primarily used by accessible companion surfaces that must expose the same
|
|
385
|
-
* data currently shown in the chart.
|
|
386
|
-
*/
|
|
387
|
-
onLegendSelectionChange?: (selected: Record<string, boolean>) => void;
|
|
388
|
-
}
|
|
389
|
-
/**
|
|
390
|
-
* A single data point in a bar chart series.
|
|
391
|
-
* Can be a simple number or an object with value and optional target.
|
|
392
|
-
*/
|
|
393
|
-
type F0DataChartBarDataPoint = number | {
|
|
394
|
-
value: number;
|
|
395
|
-
/** When set, renders a gradient fade from the bar top up to the target value */
|
|
396
|
-
target?: number;
|
|
397
|
-
/** Override color for this individual bar. Must be an F0 design token name. */
|
|
398
|
-
color?: ChartColorToken;
|
|
399
|
-
};
|
|
400
|
-
/**
|
|
401
|
-
* A series of bars to render in the chart.
|
|
402
|
-
*/
|
|
403
|
-
interface F0DataChartBarSeries {
|
|
404
|
-
/** Display name used in legend and tooltip */
|
|
405
|
-
name: string;
|
|
406
|
-
/** Data points — one per category */
|
|
407
|
-
data: F0DataChartBarDataPoint[];
|
|
408
|
-
/** Override color for this series. Must be an F0 design token name. Falls back to the theme palette. */
|
|
409
|
-
color?: ChartColorToken;
|
|
410
|
-
}
|
|
411
|
-
/**
|
|
412
|
-
* A single data point in a line chart series.
|
|
413
|
-
* Can be a simple number or an object with a value.
|
|
414
|
-
*/
|
|
415
|
-
type F0DataChartLineDataPoint = number | {
|
|
416
|
-
value: number;
|
|
417
|
-
};
|
|
418
|
-
/** Line interpolation type */
|
|
419
|
-
type F0DataChartLineType = "linear" | "smooth" | "step";
|
|
420
|
-
/**
|
|
421
|
-
* A series of data points to render as a line.
|
|
422
|
-
*/
|
|
423
|
-
interface F0DataChartLineSeries {
|
|
424
|
-
/** Display name used in legend and tooltip */
|
|
425
|
-
name: string;
|
|
426
|
-
/** Data points — one per category */
|
|
427
|
-
data: F0DataChartLineDataPoint[];
|
|
428
|
-
/** Override color for this series. Must be an F0 design token name. Falls back to the theme palette. */
|
|
429
|
-
color?: ChartColorToken;
|
|
430
|
-
/** Render this line with a dashed pattern (useful for projections/targets) */
|
|
431
|
-
dashed?: boolean;
|
|
432
|
-
/** Override line interpolation for this series */
|
|
433
|
-
lineType?: F0DataChartLineType;
|
|
434
|
-
/** Override area fill for this series */
|
|
435
|
-
showArea?: boolean;
|
|
436
|
-
}
|
|
437
|
-
/**
|
|
438
|
-
* A constant drawn across the whole plot rather than per category.
|
|
439
|
-
*
|
|
440
|
-
* For a figure that does not vary with the categories — a peer median, a
|
|
441
|
-
* target, an average. Drawn as one dashed line with its label at the end, so it
|
|
442
|
-
* reads as a threshold the bars are measured against rather than as another
|
|
443
|
-
* series: a constant repeated once per category would claim to be a quantity
|
|
444
|
-
* each of them has.
|
|
445
|
-
*/
|
|
446
|
-
interface F0DataChartReferenceLine {
|
|
447
|
-
/** Where on the value axis to draw it. */
|
|
448
|
-
value: number;
|
|
449
|
-
/** Shown at the end of the line. Omit for an unlabelled rule. */
|
|
450
|
-
label?: string;
|
|
451
|
-
/** Must be an F0 design token name. Falls back to a neutral line colour. */
|
|
452
|
-
color?: ChartColorToken;
|
|
453
|
-
/** Solid instead of dashed. @default false */
|
|
454
|
-
solid?: boolean;
|
|
455
|
-
/**
|
|
456
|
-
* Shown when the reader hovers the line, under its label and value.
|
|
457
|
-
*
|
|
458
|
-
* For saying what the figure actually is — which companies a peer median
|
|
459
|
-
* covers, which quarter a target belongs to, whether it is an estimate. A
|
|
460
|
-
* line with no description is not hoverable: there would be nothing to add
|
|
461
|
-
* beyond the label already printed beside it.
|
|
462
|
-
*/
|
|
463
|
-
description?: string;
|
|
464
|
-
}
|
|
465
|
-
interface F0DataChartBaseProps extends F0DataChartCommonProps, F0DataChartLegendInteractionProps {
|
|
466
|
-
/** Labels for the category axis (one per data point) */
|
|
467
|
-
categories: string[];
|
|
468
|
-
/** Show the legend below the chart. @default true */
|
|
469
|
-
showLegend?: boolean;
|
|
470
|
-
/** Show the background grid lines. @default true */
|
|
471
|
-
showGrid?: boolean;
|
|
472
|
-
/** Show value labels on each data point. @default false */
|
|
473
|
-
showLabels?: boolean;
|
|
474
|
-
/** Format the value axis tick labels (e.g. `(v) => \`${v}M\`` ) */
|
|
475
|
-
valueFormatter?: (value: number) => string;
|
|
476
|
-
/**
|
|
477
|
-
* Format category axis tick labels. Only the axis uses it: the chart's
|
|
478
|
-
* screen-reader summary reads `categories` as passed. So pass full names
|
|
479
|
-
* ("January", "Monday") and shorten them here, e.g.
|
|
480
|
-
* `(category) => category.slice(0, 3)`, rather than passing abbreviations a
|
|
481
|
-
* screen reader would read out as "Jan".
|
|
482
|
-
*/
|
|
483
|
-
categoryFormatter?: (value: string) => string;
|
|
484
|
-
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
485
|
-
echartsOptions?: Partial<echarts.EChartsOption>;
|
|
486
|
-
}
|
|
487
|
-
/**
|
|
488
|
-
* Bar chart variant props.
|
|
489
|
-
*/
|
|
490
|
-
interface F0DataChartBarProps extends F0DataChartBaseProps {
|
|
491
|
-
/** Chart type */
|
|
492
|
-
type: "bar";
|
|
493
|
-
/** One or more data series to render as bars */
|
|
494
|
-
series: F0DataChartBarSeries[];
|
|
495
|
-
/** Constants drawn across the plot. See {@link F0DataChartReferenceLine}. */
|
|
496
|
-
referenceLines?: F0DataChartReferenceLine[];
|
|
497
|
-
/** Bar orientation. @default "vertical" */
|
|
498
|
-
orientation?: "vertical" | "horizontal";
|
|
499
|
-
/** Stack all series into a single bar per category. @default false */
|
|
500
|
-
stacked?: boolean;
|
|
501
|
-
/**
|
|
502
|
-
* Draw the stretch of a bar that ran past its `target` in a darker shade of
|
|
503
|
-
* the bar's own colour, split at the target.
|
|
504
|
-
*
|
|
505
|
-
* Left off, a target only shows as the faded ghost the bar has yet to reach,
|
|
506
|
-
* so a bar that beat its target looks the same as one that landed exactly on
|
|
507
|
-
* it — the reader has to eye its height against the ghosts beside it. Turn it
|
|
508
|
-
* on wherever passing the target is itself the news: attainment against a
|
|
509
|
-
* quota, a goal, a budget.
|
|
510
|
-
*
|
|
511
|
-
* Ignored by points with no target, and by negative values — "past the
|
|
512
|
-
* target" has no single reading when the bar grows downwards.
|
|
513
|
-
* @default false
|
|
514
|
-
*/
|
|
515
|
-
highlightOverachievement?: boolean;
|
|
516
|
-
/**
|
|
517
|
-
* Add the share of the target the bar reached to its tooltip, under the
|
|
518
|
-
* target row (e.g. "108.1% of target").
|
|
519
|
-
*
|
|
520
|
-
* Opt-in: the percentage answers "how did this do against its target", which
|
|
521
|
-
* is the question on a quota or a goal, and noise on a chart where the target
|
|
522
|
-
* is a reference line the reader is not scoring against.
|
|
523
|
-
*
|
|
524
|
-
* The percentage is `value / target`, the same two numbers the bar draws.
|
|
525
|
-
* @default false
|
|
526
|
-
*/
|
|
527
|
-
showTargetProgress?: boolean;
|
|
528
|
-
/**
|
|
529
|
-
* When {@link F0DataChartBaseProps.showLabels} is on, hide a category's value
|
|
530
|
-
* labels if the widest value in that category doesn't fit the bar. The whole
|
|
531
|
-
* category drops together (all-or-nothing), so a tight chart never shows a
|
|
532
|
-
* ragged, half-labelled set instead of overlapping numbers. @default true
|
|
533
|
-
*/
|
|
534
|
-
hideOverflowingLabels?: boolean;
|
|
535
|
-
/**
|
|
536
|
-
* Per-side clearance in pixels the widest value must have before
|
|
537
|
-
* {@link F0DataChartBarProps.hideOverflowingLabels} counts it as fitting.
|
|
538
|
-
* Overrides the default, which is placement-based: **6** for stacked (inside)
|
|
539
|
-
* labels, **0** for labels outside the bar.
|
|
540
|
-
*/
|
|
541
|
-
labelFitPadding?: number;
|
|
542
|
-
/**
|
|
543
|
-
* With {@link F0DataChartBarProps.hideOverflowingLabels} on, use the widest
|
|
544
|
-
* label as the fit reference for vertical columns and labels outside
|
|
545
|
-
* horizontal bars. If it exceeds the shared allowance, hide every label
|
|
546
|
-
* instead of leaving a ragged, partially labelled chart. Labels inside
|
|
547
|
-
* horizontal stacked segments always fit per segment because their available
|
|
548
|
-
* widths differ. Height overflow is also evaluated per bar. @default true
|
|
549
|
-
*/
|
|
550
|
-
hideAllLabelsOnOverflow?: boolean;
|
|
551
|
-
/**
|
|
552
|
-
* Draw only as many categories as fit at a readable bar thickness, instead of
|
|
553
|
-
* compressing every one of them into the available height.
|
|
554
|
-
*
|
|
555
|
-
* Opt-in, because it hides data: a windowed chart shows the first N rows in
|
|
556
|
-
* data order and nothing in the chart itself leads to the rest. Set it only
|
|
557
|
-
* where the surrounding UI offers the way back — subscribe to
|
|
558
|
-
* {@link F0DataChartBarProps.onHiddenCategoriesChange} and put a control next
|
|
559
|
-
* to the count, as `F0AnalyticsDashboard` does. Left off, a dense chart stays
|
|
560
|
-
* complete and its bars get thinner, which is the readable-but-honest end of
|
|
561
|
-
* the trade.
|
|
562
|
-
*
|
|
563
|
-
* Ignored by vertical charts, which lay categories out along the width.
|
|
564
|
-
* @default false
|
|
565
|
-
*/
|
|
566
|
-
windowCategories?: boolean;
|
|
567
|
-
/**
|
|
568
|
-
* Render every category at once, overriding
|
|
569
|
-
* {@link F0DataChartBarProps.windowCategories}.
|
|
570
|
-
*
|
|
571
|
-
* Set this when the reader has asked to see the whole distribution — an
|
|
572
|
-
* expanded or fullscreen view — and accepts thinner bars in exchange. Ignored
|
|
573
|
-
* by vertical charts, which lay categories out along the width.
|
|
574
|
-
* @default false
|
|
575
|
-
*/
|
|
576
|
-
showAllCategories?: boolean;
|
|
577
|
-
/**
|
|
578
|
-
* Reports how many categories the row window is hiding — `0` when every
|
|
579
|
-
* category is on screen. Fires whenever the count changes, which includes
|
|
580
|
-
* container resizes and {@link F0DataChartBarProps.showAllCategories} being
|
|
581
|
-
* switched on.
|
|
582
|
-
*
|
|
583
|
-
* The chart states the fact rather than rendering an affordance for it: only
|
|
584
|
-
* the surrounding UI knows where a "see everything" control belongs. The
|
|
585
|
-
* dashboard puts it in the widget's description, next to the count.
|
|
586
|
-
*/
|
|
587
|
-
onHiddenCategoriesChange?: (hiddenCategoryCount: number) => void;
|
|
588
|
-
/**
|
|
589
|
-
* Suggested number of segments on the value axis — lower values draw fewer
|
|
590
|
-
* grid lines. Applies to whichever axis is the value axis (Y for vertical
|
|
591
|
-
* bars, X for horizontal). ECharts rounds to "nice" intervals. @default 2
|
|
592
|
-
*/
|
|
593
|
-
valueAxisSplitNumber?: number;
|
|
594
|
-
/**
|
|
595
|
-
* Font size in pixels for the value labels. @default 11
|
|
596
|
-
*/
|
|
597
|
-
labelFontSize?: number;
|
|
598
|
-
/**
|
|
599
|
-
* Formatter for the values shown in the hover tooltip. Defaults to
|
|
600
|
-
* {@link F0DataChartBaseProps.valueFormatter}, so a unit or a currency on the
|
|
601
|
-
* axis reads the same on hover, then to a plain localized number. Set it when
|
|
602
|
-
* the axis has to stay compact ("107.5K") but the tooltip should be exact
|
|
603
|
-
* ("107,505").
|
|
604
|
-
*/
|
|
605
|
-
tooltipValueFormatter?: (value: number) => string;
|
|
606
|
-
}
|
|
607
|
-
/**
|
|
608
|
-
* Line chart variant props.
|
|
609
|
-
*/
|
|
610
|
-
interface F0DataChartLineProps extends F0DataChartBaseProps {
|
|
611
|
-
/** Chart type */
|
|
612
|
-
type: "line";
|
|
613
|
-
/** One or more data series to render as lines */
|
|
614
|
-
series: F0DataChartLineSeries[];
|
|
615
|
-
/** Constants drawn across the plot. See {@link F0DataChartReferenceLine}. */
|
|
616
|
-
referenceLines?: F0DataChartReferenceLine[];
|
|
617
|
-
/** Line interpolation type. @default "linear" */
|
|
618
|
-
lineType?: F0DataChartLineType;
|
|
619
|
-
/** Show gradient area fill below lines. @default true */
|
|
620
|
-
showArea?: boolean;
|
|
621
|
-
/** Show data point dots on the lines. @default false */
|
|
622
|
-
showDots?: boolean;
|
|
623
|
-
/**
|
|
624
|
-
* Formatter for the values shown in the hover tooltip. Defaults to
|
|
625
|
-
* {@link F0DataChartBaseProps.valueFormatter}, so a unit or a currency on the
|
|
626
|
-
* axis reads the same on hover, then to a plain localized number. Set it when
|
|
627
|
-
* the axis has to stay compact ("107.5K") but the tooltip should be exact
|
|
628
|
-
* ("107,505").
|
|
629
|
-
*/
|
|
630
|
-
tooltipValueFormatter?: (value: number) => string;
|
|
631
|
-
}
|
|
632
|
-
/**
|
|
633
|
-
* A single data point in a funnel chart series.
|
|
634
|
-
* Each point has a value and a stage name.
|
|
635
|
-
*/
|
|
636
|
-
interface F0DataChartFunnelDataPoint {
|
|
637
|
-
/** Numeric value for this funnel stage */
|
|
638
|
-
value: number;
|
|
639
|
-
/** Stage label (e.g. "Applied", "Phone Screen", "Hired") */
|
|
640
|
-
name: string;
|
|
641
|
-
/** Override color for this individual stage. Must be an F0 design token name. */
|
|
642
|
-
color?: ChartColorToken;
|
|
643
|
-
}
|
|
644
|
-
/**
|
|
645
|
-
* A single funnel series with named data points.
|
|
646
|
-
*/
|
|
647
|
-
interface F0DataChartFunnelSeries {
|
|
648
|
-
/** Display name used in legend and tooltip */
|
|
649
|
-
name: string;
|
|
650
|
-
/** Data points — one per funnel stage */
|
|
651
|
-
data: F0DataChartFunnelDataPoint[];
|
|
652
|
-
/** Override color for the entire series. Must be an F0 design token name. */
|
|
653
|
-
color?: ChartColorToken;
|
|
654
|
-
}
|
|
655
|
-
/**
|
|
656
|
-
* Funnel chart variant props.
|
|
657
|
-
*
|
|
658
|
-
* Funnels do NOT use category/value axes — stage names come from the data
|
|
659
|
-
* points themselves. This interface is separate from `F0DataChartBaseProps`.
|
|
660
|
-
*/
|
|
661
|
-
interface F0DataChartFunnelProps extends F0DataChartCommonProps, F0DataChartLegendInteractionProps {
|
|
662
|
-
/** Chart type */
|
|
663
|
-
type: "funnel";
|
|
664
|
-
/** The funnel series to render */
|
|
665
|
-
series: F0DataChartFunnelSeries;
|
|
666
|
-
/** Sort direction of funnel stages. @default "descending" */
|
|
667
|
-
sort?: "descending" | "ascending" | "none";
|
|
668
|
-
/** Gap between funnel stages in pixels. @default 0 */
|
|
669
|
-
gap?: number;
|
|
670
|
-
/** Funnel orientation. @default "horizontal" */
|
|
671
|
-
orient?: "horizontal" | "vertical";
|
|
672
|
-
/** Show the legend below the chart. @default false */
|
|
673
|
-
showLegend?: boolean;
|
|
674
|
-
/** Show value labels on each stage. @default true */
|
|
675
|
-
showLabels?: boolean;
|
|
676
|
-
/**
|
|
677
|
-
* Show conversion percentages in labels.
|
|
678
|
-
* Each stage displays its value as a percentage of the first stage.
|
|
679
|
-
* The tooltip also shows step-over-step conversion.
|
|
680
|
-
* @default false
|
|
681
|
-
*/
|
|
682
|
-
showConversion?: boolean;
|
|
683
|
-
/** Format the value displayed in labels and tooltip */
|
|
684
|
-
valueFormatter?: (value: number) => string;
|
|
685
|
-
/**
|
|
686
|
-
* Formatter for the value shown in the hover tooltip. Defaults to
|
|
687
|
-
* {@link valueFormatter}, so a unit or a currency on the labels reads the same
|
|
688
|
-
* on hover, then to a plain localized number. Set it when the labels have to
|
|
689
|
-
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
690
|
-
*/
|
|
691
|
-
tooltipValueFormatter?: (value: number) => string;
|
|
692
|
-
/**
|
|
693
|
-
* Map stage colors to their values using a gradient scale (light→dark).
|
|
694
|
-
* When enabled, higher values get a more intense color. @default true
|
|
695
|
-
*/
|
|
696
|
-
colorScale?: boolean;
|
|
697
|
-
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
698
|
-
echartsOptions?: Partial<echarts.EChartsOption>;
|
|
699
|
-
}
|
|
700
|
-
/**
|
|
701
|
-
* A single data point in a pie chart.
|
|
702
|
-
*/
|
|
703
|
-
interface F0DataChartPieDataPoint {
|
|
704
|
-
/** Numeric value for this segment */
|
|
705
|
-
value: number;
|
|
706
|
-
/** Segment label */
|
|
707
|
-
name: string;
|
|
708
|
-
/** Override color for this individual segment. Must be an F0 design token name. */
|
|
709
|
-
color?: ChartColorToken;
|
|
710
|
-
}
|
|
711
|
-
/**
|
|
712
|
-
* A single pie series with named data points.
|
|
713
|
-
*/
|
|
714
|
-
interface F0DataChartPieSeries {
|
|
715
|
-
/** Display name used in tooltip */
|
|
716
|
-
name: string;
|
|
717
|
-
/** Data points — one per pie segment */
|
|
718
|
-
data: F0DataChartPieDataPoint[];
|
|
719
|
-
/** Override color for the entire series. Must be an F0 design token name. */
|
|
720
|
-
color?: ChartColorToken;
|
|
721
|
-
}
|
|
722
|
-
/**
|
|
723
|
-
* Pie/donut chart variant props.
|
|
724
|
-
*
|
|
725
|
-
* Pies do NOT use category/value axes — segment names come from the data
|
|
726
|
-
* points themselves. This interface is separate from `F0DataChartBaseProps`.
|
|
727
|
-
*/
|
|
728
|
-
interface F0DataChartPieProps extends F0DataChartCommonProps, F0DataChartLegendInteractionProps {
|
|
729
|
-
/** Chart type */
|
|
730
|
-
type: "pie";
|
|
731
|
-
/** The pie series to render */
|
|
732
|
-
series: F0DataChartPieSeries;
|
|
733
|
-
/** Inner radius percentage. 0 = pie, >0 = donut. @default 0 */
|
|
734
|
-
innerRadius?: number;
|
|
735
|
-
/** Show the legend below the chart. @default true */
|
|
736
|
-
showLegend?: boolean;
|
|
737
|
-
/** Show value labels on each segment. @default true */
|
|
738
|
-
showLabels?: boolean;
|
|
739
|
-
/** Show percentage in labels. @default false */
|
|
740
|
-
showPercentage?: boolean;
|
|
741
|
-
/** Format the value displayed in labels and tooltip */
|
|
742
|
-
valueFormatter?: (value: number) => string;
|
|
743
|
-
/**
|
|
744
|
-
* Formatter for the value shown in the hover tooltip. Defaults to
|
|
745
|
-
* {@link valueFormatter}, so a unit or a currency on the labels reads the same
|
|
746
|
-
* on hover, then to a plain localized number. Set it when the labels have to
|
|
747
|
-
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
748
|
-
*/
|
|
749
|
-
tooltipValueFormatter?: (value: number) => string;
|
|
750
|
-
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
751
|
-
echartsOptions?: Partial<echarts.EChartsOption>;
|
|
752
|
-
}
|
|
753
|
-
/**
|
|
754
|
-
* A radar chart indicator (axis/dimension).
|
|
755
|
-
*/
|
|
756
|
-
interface F0DataChartRadarIndicator {
|
|
757
|
-
/** Name of the axis/dimension (e.g. "Performance", "Engagement") */
|
|
758
|
-
name: string;
|
|
759
|
-
/** Maximum value for this axis. @default auto-calculated from data */
|
|
760
|
-
max?: number;
|
|
761
|
-
}
|
|
762
|
-
/**
|
|
763
|
-
* A series of data points for a radar chart.
|
|
764
|
-
*/
|
|
765
|
-
interface F0DataChartRadarSeries {
|
|
766
|
-
/** Display name used in legend and tooltip (e.g. "Team A", "Team B") */
|
|
767
|
-
name: string;
|
|
768
|
-
/**
|
|
769
|
-
* Values — one per indicator, in the same order. `null` marks an indicator
|
|
770
|
-
* with no data: the tooltip reads "No data" and no vertex label is drawn.
|
|
771
|
-
* ECharts still draws that vertex at the centre, the same place as `0`.
|
|
772
|
-
*/
|
|
773
|
-
data: (number | null)[];
|
|
774
|
-
/** Override color for this series. Must be an F0 design token name. */
|
|
775
|
-
color?: ChartColorToken;
|
|
776
|
-
}
|
|
777
|
-
/**
|
|
778
|
-
* Radar chart variant props.
|
|
779
|
-
*
|
|
780
|
-
* Radar charts use a polar coordinate system — no cartesian axes.
|
|
781
|
-
*/
|
|
782
|
-
interface F0DataChartRadarProps extends F0DataChartCommonProps<F0DataChartRadarPointClick>, F0DataChartLegendInteractionProps {
|
|
783
|
-
/** Chart type */
|
|
784
|
-
type: "radar";
|
|
785
|
-
/** Axes of the radar — defines the dimensions to compare */
|
|
786
|
-
indicators: F0DataChartRadarIndicator[];
|
|
787
|
-
/** Series to compare (one or more) */
|
|
788
|
-
series: F0DataChartRadarSeries[];
|
|
789
|
-
/** Fill the area of each series with semi-transparent color. @default true */
|
|
790
|
-
showArea?: boolean;
|
|
791
|
-
/** Show the legend below the chart. @default true */
|
|
792
|
-
showLegend?: boolean;
|
|
793
|
-
/** Show value labels on each vertex. @default false */
|
|
794
|
-
showLabels?: boolean;
|
|
795
|
-
/** Format values in labels and tooltip */
|
|
796
|
-
valueFormatter?: (value: number) => string;
|
|
797
|
-
/**
|
|
798
|
-
* Formatter for the value shown in the hover tooltip. Defaults to
|
|
799
|
-
* {@link valueFormatter}, so a unit or a currency on the labels reads the same
|
|
800
|
-
* on hover, then to a plain localized number. Set it when the labels have to
|
|
801
|
-
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
802
|
-
*/
|
|
803
|
-
tooltipValueFormatter?: (value: number) => string;
|
|
804
|
-
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
805
|
-
echartsOptions?: Partial<echarts.EChartsOption>;
|
|
806
|
-
}
|
|
807
|
-
/**
|
|
808
|
-
* Gauge/KPI chart variant props.
|
|
809
|
-
*
|
|
810
|
-
* A single-value gauge indicator — no axes, no legend.
|
|
811
|
-
*/
|
|
812
|
-
interface F0DataChartGaugeProps extends F0DataChartCommonProps {
|
|
813
|
-
/** Chart type */
|
|
814
|
-
type: "gauge";
|
|
815
|
-
/** Current value */
|
|
816
|
-
value: number;
|
|
817
|
-
/** Minimum value. @default 0 */
|
|
818
|
-
min?: number;
|
|
819
|
-
/** Maximum value. @default 100 */
|
|
820
|
-
max?: number;
|
|
821
|
-
/** Label shown below the value */
|
|
822
|
-
name?: string;
|
|
823
|
-
/** Override color. Must be an F0 design token name. */
|
|
824
|
-
color?: ChartColorToken;
|
|
825
|
-
/** Show the numeric value in the center. @default true */
|
|
826
|
-
showValue?: boolean;
|
|
827
|
-
/** Format the value displayed */
|
|
828
|
-
valueFormatter?: (value: number) => string;
|
|
829
|
-
/**
|
|
830
|
-
* Formatter for the value shown in the hover tooltip. Defaults to
|
|
831
|
-
* {@link valueFormatter}, so a unit or a currency on the labels reads the same
|
|
832
|
-
* on hover, then to a plain localized number. Set it when the labels have to
|
|
833
|
-
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
834
|
-
*/
|
|
835
|
-
tooltipValueFormatter?: (value: number) => string;
|
|
836
|
-
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
837
|
-
echartsOptions?: Partial<echarts.EChartsOption>;
|
|
838
|
-
}
|
|
839
|
-
/**
|
|
840
|
-
* Heatmap chart variant props.
|
|
841
|
-
*
|
|
842
|
-
* Renders a grid where each cell's color intensity represents a numeric value.
|
|
843
|
-
* Uses two category axes (x for columns, y for rows) and a visualMap for
|
|
844
|
-
* value→color mapping.
|
|
845
|
-
*/
|
|
846
|
-
interface F0DataChartHeatmapProps extends F0DataChartCommonProps {
|
|
847
|
-
/** Chart type */
|
|
848
|
-
type: "heatmap";
|
|
849
|
-
/** Column labels (x-axis) */
|
|
850
|
-
xCategories: string[];
|
|
851
|
-
/** Row labels (y-axis) */
|
|
852
|
-
yCategories: string[];
|
|
853
|
-
/** Data as [xIndex, yIndex, value] tuples */
|
|
854
|
-
data: [number, number, number][];
|
|
855
|
-
/** Minimum value for color scale. @default auto from data */
|
|
856
|
-
min?: number;
|
|
857
|
-
/** Maximum value for color scale. @default auto from data */
|
|
858
|
-
max?: number;
|
|
859
|
-
/** Show value labels inside cells. @default false */
|
|
860
|
-
showLabels?: boolean;
|
|
861
|
-
/** Show the visual map (color scale legend). @default false */
|
|
862
|
-
showVisualMap?: boolean;
|
|
863
|
-
/** Format values in labels and tooltip */
|
|
864
|
-
valueFormatter?: (value: number) => string;
|
|
865
|
-
/**
|
|
866
|
-
* Formatter for the value shown in the hover tooltip. Defaults to
|
|
867
|
-
* {@link valueFormatter}, so a unit or a currency on the labels reads the same
|
|
868
|
-
* on hover, then to a plain localized number. Set it when the labels have to
|
|
869
|
-
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
870
|
-
*/
|
|
871
|
-
tooltipValueFormatter?: (value: number) => string;
|
|
872
|
-
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
873
|
-
echartsOptions?: Partial<echarts.EChartsOption>;
|
|
874
|
-
}
|
|
875
|
-
/**
|
|
876
|
-
* A single point in a scatter series.
|
|
877
|
-
*
|
|
878
|
-
* The bare `[x, y]` tuple is the terse form. The object form additionally
|
|
879
|
-
* carries `label` — the point's identity (e.g. an employee or team name),
|
|
880
|
-
* shown as the tooltip header — and an optional `avatar` drawn in place of
|
|
881
|
-
* the dot.
|
|
882
|
-
*/
|
|
883
|
-
type F0DataChartScatterDataPoint = [number, number] | {
|
|
884
|
-
/** Horizontal position, plotted on the value X axis */
|
|
885
|
-
x: number;
|
|
886
|
-
/** Vertical position, plotted on the value Y axis */
|
|
887
|
-
y: number;
|
|
888
|
-
/** Identity of this point, used as the tooltip header (e.g. "Ana Ruiz") */
|
|
889
|
-
label?: string;
|
|
890
|
-
/** Override color for this individual point. Must be an F0 design token name. */
|
|
891
|
-
color?: ChartColorToken;
|
|
892
|
-
/**
|
|
893
|
-
* Draw this avatar in place of the dot, e.g. the employee the point
|
|
894
|
-
* stands for. It sits on a dot of the series color, so a color split
|
|
895
|
-
* still reads. Rendered at the largest avatar size that fits
|
|
896
|
-
* `pointSize`, and never below `xs` (20px).
|
|
897
|
-
*/
|
|
898
|
-
avatar?: AvatarVariant;
|
|
899
|
-
};
|
|
900
|
-
/**
|
|
901
|
-
* A group of points sharing a color and a legend entry. Use one series per
|
|
902
|
-
* group value to split a scatter by a dimension (e.g. one per department).
|
|
903
|
-
*/
|
|
904
|
-
interface F0DataChartScatterSeries {
|
|
905
|
-
/** Display name used in legend and tooltip */
|
|
906
|
-
name: string;
|
|
907
|
-
/** Points in this group */
|
|
908
|
-
data: F0DataChartScatterDataPoint[];
|
|
909
|
-
/** Override color for this series. Must be an F0 design token name. Falls back to the theme palette. */
|
|
910
|
-
color?: ChartColorToken;
|
|
911
|
-
}
|
|
912
|
-
/**
|
|
913
|
-
* Scatter chart variant props.
|
|
914
|
-
*
|
|
915
|
-
* Plots x/y pairs on two value axes to show the relationship between two
|
|
916
|
-
* measures. Unlike bar/line there is no category axis — both axes are
|
|
917
|
-
* continuous — so this interface is separate from `F0DataChartBaseProps`.
|
|
918
|
-
* Pass multiple `series` to color-split the points by a group dimension.
|
|
919
|
-
*/
|
|
920
|
-
interface F0DataChartScatterProps extends F0DataChartCommonProps, F0DataChartLegendInteractionProps {
|
|
921
|
-
/** Chart type */
|
|
922
|
-
type: "scatter";
|
|
923
|
-
/** One or more point groups. Multiple series render as a color split. */
|
|
924
|
-
series: F0DataChartScatterSeries[];
|
|
925
|
-
/**
|
|
926
|
-
* Point diameter in pixels. Points with an `avatar` use the largest avatar
|
|
927
|
-
* size that fits it, and never go below 20px. @default 12
|
|
928
|
-
*/
|
|
929
|
-
pointSize?: number;
|
|
930
|
-
/**
|
|
931
|
-
* Fit each axis to its data range instead of anchoring it at zero. Turn off
|
|
932
|
-
* to force both axes through the origin. @default true
|
|
933
|
-
*/
|
|
934
|
-
scaleAxes?: boolean;
|
|
935
|
-
/** Show the legend below the chart. Only rendered with 2+ series. @default true */
|
|
936
|
-
showLegend?: boolean;
|
|
937
|
-
/** Show the background grid lines on both axes. @default true */
|
|
938
|
-
showGrid?: boolean;
|
|
939
|
-
/** Format the Y axis tick labels */
|
|
940
|
-
valueFormatter?: (value: number) => string;
|
|
941
|
-
/** Format the X axis tick labels */
|
|
942
|
-
xValueFormatter?: (value: number) => string;
|
|
943
|
-
/**
|
|
944
|
-
* Formatter for the y value shown in the hover tooltip. Defaults to
|
|
945
|
-
* {@link valueFormatter}, so a unit or a currency on the Y axis reads the same
|
|
946
|
-
* on hover, then to a plain localized number. Set it when the axis has to
|
|
947
|
-
* stay compact ("107.5K") but the tooltip should be exact ("107,505").
|
|
948
|
-
*/
|
|
949
|
-
tooltipValueFormatter?: (value: number) => string;
|
|
950
|
-
/**
|
|
951
|
-
* Formatter for the x value shown in the hover tooltip. Same contract as
|
|
952
|
-
* {@link tooltipValueFormatter}, against {@link xValueFormatter}.
|
|
953
|
-
*/
|
|
954
|
-
xTooltipValueFormatter?: (value: number) => string;
|
|
955
|
-
/**
|
|
956
|
-
* What the X measure is, e.g. "salary". Labels the x row in the tooltip —
|
|
957
|
-
* a scatter has no headline value, so both coordinates read as rows and
|
|
958
|
-
* need naming, the same way radar names its indicators.
|
|
959
|
-
*/
|
|
960
|
-
xAxisName?: string;
|
|
961
|
-
/** What the Y measure is, e.g. "tenure". Labels the y row in the tooltip. */
|
|
962
|
-
yAxisName?: string;
|
|
963
|
-
/**
|
|
964
|
-
* Pin the X axis bounds instead of letting ECharts round them to nice values,
|
|
965
|
-
* e.g. `0`–`100` for a percentage. Either bound can be set on its own.
|
|
966
|
-
*/
|
|
967
|
-
xAxisMin?: number;
|
|
968
|
-
/** Upper X axis bound. See {@link xAxisMin}. */
|
|
969
|
-
xAxisMax?: number;
|
|
970
|
-
/** Lower Y axis bound, e.g. the bottom of a rating scale. */
|
|
971
|
-
yAxisMin?: number;
|
|
972
|
-
/** Upper Y axis bound, e.g. the top of a rating scale. */
|
|
973
|
-
yAxisMax?: number;
|
|
974
|
-
/**
|
|
975
|
-
* Print each point's `label` next to it, the way bar charts print their
|
|
976
|
-
* values, so a small labelled cloud reads without hovering. Overlapping labels
|
|
977
|
-
* are hidden. @default false
|
|
978
|
-
*/
|
|
979
|
-
showPointLabels?: boolean;
|
|
980
|
-
/**
|
|
981
|
-
* Merge points that land on nearly the same spot into one dot. The merged dot
|
|
982
|
-
* prints no label or avatar; hovering it lists every point it holds.
|
|
983
|
-
* @default false
|
|
984
|
-
*/
|
|
985
|
-
groupNearbyPoints?: boolean;
|
|
986
|
-
/** Render `xAxisName`/`yAxisName` as axis titles, not only in the tooltip. @default false */
|
|
987
|
-
showAxisNames?: boolean;
|
|
988
|
-
/** Escape hatch: raw ECharts options merged (shallow) on top of the generated config */
|
|
989
|
-
echartsOptions?: Partial<echarts.EChartsOption>;
|
|
990
|
-
}
|
|
991
|
-
/**
|
|
992
|
-
* Props for the F0DataChart component.
|
|
993
|
-
*
|
|
994
|
-
* A unified chart component that supports bar, line, funnel, pie, radar,
|
|
995
|
-
* gauge, heatmap, and scatter chart types via a discriminated `type` prop.
|
|
996
|
-
*/
|
|
997
|
-
type F0DataChartProps = F0DataChartBarProps | F0DataChartLineProps | F0DataChartFunnelProps | F0DataChartPieProps | F0DataChartRadarProps | F0DataChartGaugeProps | F0DataChartHeatmapProps | F0DataChartScatterProps;
|
|
998
|
-
//#endregion
|
|
999
238
|
//#region src/addons/charts/F0DataChart/components/EmptyState/DataChartEmptyStateView.d.ts
|
|
1000
239
|
interface DataChartEmptyStateViewProps {
|
|
1001
240
|
/**
|