@factorialco/f0-react 13.2.1 → 13.3.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/{ArchiveThumbnail-BGWiJFfA.js → ArchiveThumbnail-C983HhkS.js} +3 -3
- package/dist/{ArchiveViewer-gaakCGJ3.js → ArchiveViewer-FbFCVvzg.js} +5 -5
- package/dist/{ChatPostComposerDialog-GQrKR74F.js → ChatPostComposerDialog-nCBk-R6w.js} +3 -3
- package/dist/{CoachmarkProvider-Bdo8Y_D0.js → CoachmarkProvider-ClZ21hwe.js} +22569 -22569
- package/dist/{CodeThumbnail-Bm_GaLxm.js → CodeThumbnail-DC6Fapz1.js} +1 -1
- package/dist/{CodeViewer-Ia0NwKX_.js → CodeViewer-BiPZi_1v.js} +6 -6
- package/dist/{DocumentToolbar-D4KElA1V.js → DocumentToolbar-D8UEbOgN.js} +5 -5
- package/dist/{DocxViewer-C6otSnj3.js → DocxViewer-DWcuVQ-p.js} +3 -3
- package/dist/{F0AiProcessingOverlay-DMkI1tRu.js → F0AiProcessingOverlay-DZwUVW9l.js} +79 -79
- package/dist/{F0Alert-D664MgOC.js → F0Alert-B0X1NQZt.js} +13 -13
- package/dist/F0AudioPlayer-Bm0gqQE_.js +2 -0
- package/dist/{F0Button-Bo-Zw0Zx.js → F0Button-D77FmQ8C.js} +3 -3
- package/dist/{F0CanvasPanel-BWbAs38E.js → F0CanvasPanel-CJhaPJQu.js} +8176 -8176
- package/dist/{F0DocumentViewer-D8VcE-pQ.js → F0DocumentViewer-Bh3YTPo0.js} +4 -4
- package/dist/{F0DocumentViewer-DGk2W39u.js → F0DocumentViewer-BxLI6uSI.js} +1 -1
- package/dist/{F0Icon-P9uOVsGz.js → F0Icon-BNbi0D6w.js} +1 -1
- package/dist/{F0Map-C510FLet.js → F0Map-De-tzoLR.js} +45 -45
- package/dist/{F0Select-CzWp91j0.js → F0Select-B7ieIoT3.js} +8 -8
- package/dist/{F0Text-BG36S9Xx.js → F0Text-DviQkBfb.js} +2 -2
- package/dist/{F0VideoPlayer-C_fMkaxj.js → F0VideoPlayer-DUurEQQl.js} +8 -8
- package/dist/F0VideoPlayer-DrXizQ53.js +1 -0
- package/dist/{HtmlThumbnail-BiphE7Y5.js → HtmlThumbnail-CIVF0Blj.js} +1 -1
- package/dist/{HtmlViewer-DZHyuKz5.js → HtmlViewer-BOO3_ZIO.js} +9 -9
- package/dist/{LayoutGroup-DLtALSqH.js → LayoutGroup-tF3JJB3u.js} +1 -1
- package/dist/{Map-YloQD9VT.js → Map-CLpAJaWO.js} +10 -10
- package/dist/{PdfThumbnail-9X44csq5.js → PdfThumbnail-D7uDK81R.js} +1 -1
- package/dist/{PdfViewer-DtdRvpvP.js → PdfViewer-DsgPEXkU.js} +8 -8
- package/dist/{SandboxedHtmlFrame-DeAt348C.js → SandboxedHtmlFrame-B1M4shqP.js} +2 -2
- package/dist/{SheetViewer-_iq4uwXW.js → SheetViewer-CUX493Vk.js} +5 -5
- package/dist/{TextViewer-C7xx-4YQ.js → TextViewer-BmzjNF6r.js} +4 -4
- package/dist/ai.d.ts +3 -3
- package/dist/ai.js +4 -4
- package/dist/component-status.js +1 -1
- package/dist/{dist-C_W2CLtJ.js → dist-Bh73WT95.js} +4 -4
- package/dist/{dist-Ol7JA7z9.js → dist-ChMbkCVF.js} +1 -1
- package/dist/{dist-Do5FlVaY.js → dist-DgXiI4WF.js} +1 -1
- package/dist/experimental.d.ts +200 -7
- package/dist/experimental.js +5628 -4904
- package/dist/{exports-CebiqGLM.d.ts → exports-CcA3MJIQ.d.ts} +1 -1
- package/dist/f0.d.ts +4 -4
- package/dist/f0.js +761 -761
- package/dist/{highlight-izD68Eru.js → highlight-yZiopYgr.js} +1 -1
- package/dist/{i18n-provider-C_PTccYX.js → i18n-provider-DOsrN9vZ.js} +1 -1
- package/dist/{i18n-provider-defaults-JkDaKXzI.js → i18n-provider-defaults-DW-ORCam.js} +28 -0
- package/dist/{i18n-provider-defaults-DD3oVvPp.d.ts → i18n-provider-defaults-TuWORJa7.d.ts} +28 -0
- package/dist/i18n-provider-defaults.d.ts +1 -1
- package/dist/i18n-provider-defaults.js +1 -1
- package/dist/{index-CpTdsnxc.d.ts → index-CVwiBJ7Q.d.ts} +1 -1
- package/dist/{maplibre-CHP-aU_V.js → maplibre-AHkgKCQi.js} +1 -1
- package/dist/{pdfWorker-kyGjjW4X.js → pdfWorker-DcPe6nxA.js} +1 -1
- package/dist/{popover-DhWTWc7-.js → popover-CJEgjHEo.js} +1 -1
- package/dist/{scrollarea-pyluD6aV.js → scrollarea-CpmGfD8i.js} +3 -3
- package/dist/{skeleton-CyLv1Ytt.js → skeleton-B89BXlEW.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{toolbarStyles-stzlyka-.js → toolbarStyles-BHbEKlGW.js} +1 -1
- package/dist/{types-ei71RXBT.d.ts → types-DJqxacZz.d.ts} +2 -2
- package/dist/{useData-BmoyjoRL.js → useData-DjfhwI-2.js} +6 -6
- package/package.json +1 -1
- package/dist/F0AudioPlayer-CgoLw3-_.js +0 -2
- package/dist/F0VideoPlayer-BDUW3ILk.js +0 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as Weekdays, Bi as F0AvatarModule, C as FileItemSize, Cn as TooltipProps, Cr as F0PersonCardAction, Dn as ChartColorToken, Dt as SidePanelContextValue, Ea as DistributiveOmit, Et as SidePanelContent, Gn as DropdownItemLabel, Hn as DropdownContentVariant, In as AlertAvatarProps, It as F0CardProps, Jn as DropdownItemSeparator, Kn as DropdownItemObject, Kt as CardMetadata, Ln as F0AvatarAlert, Mi as F0DocumentHtmlSandbox, Mn as F0TagAlert, Na as WithDataTestIdReturnType, O as F0TagRaw, Ot as SidePanelLayout, Rn as alertAvatarTypes, S as FileItemProps, Sa as modules, Sn as TooltipGroupProps, Sr as F0PersonCard, Ui as AvatarVariant, Vi as F0AvatarModuleProps, Wn as DropdownItem, Xn as DropdownItemSwitch, Yn as DropdownItemSubmenu, Zi as PersonAvatarVariant, Zn as NavigationItem, _ as F0FileItem, _a as AvatarBadge, _n as F0ProgressSeriesSize, _r as StatusVariant, a as F0CardHorizontal, b as FileAction, ba as BadgeProps, bn as Tooltip, c as MobileDropdown, da as BaseAvatar, dr as ActionButtonVariant, er as F0ButtonProps, fn as F0ProgressSeries, g as F0FileAction, ga as F0AvatarColorProps, gn as F0ProgressSeriesProps, h as DetailsItemType, ha as F0AvatarColor, hn as F0ProgressSeriesOptions, it as AiChatProviderProps, ja as WithDataTestIdProps, ji as F0DocumentHtmlExecution, jn as F0AvatarListProps, ka as IconType, kt as SidePanelViewDefinition, m as DetailsItemContent, ma as F0AvatarColorListProps, mn as F0ProgressSeriesColor, o as F0CardHorizontalProps, p as DetailsItem, pa as F0AvatarColorList, pn as F0ProgressSeriesBar, qn as DropdownItemPanel, rr as ButtonVariant, s as Dropdown, tn as F0TagRawProps, v as F0FileItemProps, vn as f0ProgressSeriesColors, w as f0FileItemSizes, wa as Props$6, wi as VideoPlayerContent, wn as Shortcut, wr as F0PersonCardProps, x as FileItem, xa as ModuleId, xn as TooltipGroup, y as F0FileItemSize, ya as Badge, yn as f0ProgressSeriesSizes, yt as TranscribeFn, zi as DataAttributes, zn as CardSecondaryAction } from "./index-
|
|
2
|
-
import { $a as NavigationFilter, $c as F0ResourceHeaderProps, $d as DateFilterDefinition, $l as buttonToggleVariants, $o as F0TextAreaInput, $r as F0RichTextEditorSkeletonProps, $s as TimelineRowStatus, $u as SelectedItemState, Aa as ListIconPaletteColor, Ac as F0MapProvider, Ad as SelectedItems, Ai as NotesTextEditorHandle, Al as RadarChart, Ao as SecondaryActionGroup, As as F0LocationInputChangeMeta, Au as UseDataSourceItemNavigationReturn, Ba as BulkActionsDefinition, Bd as FiltersDefinition, Bi as ReplaceContentNotesTextEditorPageDocumentPatch, Bl as BannerAction, Bo as getUpsellAction, Bs as CardSelectableContainer, Ca as EditableTableOnCellChangeParams, Cc as F0MapMarkerVariantProps, Cd as ItemNeighborsResponse, Ci as RichTextDisplayProps, Cl as AreaChart, Co as GranularityDefinitionSimple, Cs as isValidPhoneValue, Da as MapUnplaced, Dc as f0MapStyles, Dd as PaginatedResponse, Di as F0NotesTextEditorSkeleton, Dl as LineChart, Do as MAX_EXPANDED_ACTIONS, Ds as PhoneInputSize, Ea as VisualizationFilterOverrides, Ec as defaultMapStyle, Ed as PaginatedFetchOptions, Ei as F0NotesTextEditorProps, El as ComboChart, Eo as DatePeriodsDefinition, Es as F0PhoneInputValue, Fa as CollectionProps, Fd as SortingsState, Fi as InsertAfterNotesTextEditorPageDocumentPatch, Fl as BarChartProps, Fo as UpsellActionDefinition, Fs as F0LocationSuggestion, Ga as DataCollectionSourceDefinition, Gc as TabItem, Gd as PresetsDefinition, Gi as Message, Gl as F0ButtonToggle, Go as DropPosition, Gs as CardSelectableValue, Ha as DataCollectionDataAdapter, Hc as F0DialogSecondaryAction, Hd as FiltersState, Hi as TopLevelPrependNotesTextEditorPageDocumentPatch, Hl as BaseBannerProps, Ho as SummaryKey, Hs as CardSelectableItem, Hu as UseDataReturn, Ia as ExtractPropertyKeys, Id as SortingsStateMultiple, Ii as InsertBeforeNotesTextEditorPageDocumentPatch, Il as ChartConfig, Io as UpsellActionDefinitionFn, Is as LocationInputSize, Ja as SearchPreviewPage, Jc as TabsSkeleton, Jd as FilterDefinition, Ji as EnhancementOption, Jl as ButtonToggleSize, Jo as TOCItemAction, Ka as Lane, Kc as Tabs, Kd as QuickFilterDefinition, Ki as User, Kl as F0ButtonToggleProps, Ko as TOCAction, La as OnLoadDataCallback, Ld as CurrentFilters, Li as NotesTextEditorPageDocumentPatch, Ll as ChartPropsBase, Lo as filterActions, Ls as LocationPart, Lu as Data, Ma as GraphVisualizationOptions, Mc as F0MapControlsProps, Md as SortOrder, Mi as NotesTextEditorSkeleton, Ml as ComboChartProps, Mo as SecondaryActionSplitItem, Ms as F0LocationInputShapeProps, Na as ViewportInset, Nd as SortingKey, Ni as NotesTextEditorSkeletonProps, Nl as PieChartProps, No as SecondaryActionsDefinition, Ns as F0LocationInputValue, Oa as MapVisualizationOptions, Oc as googleMapStyles, Od as PaginationInfo, Oi as F0NotesTextEditorSkeletonProps, Ol as PieChart, Oo as PrimaryActionItemDefinition, Os as phoneInputSizes, Ou as DataSourceItemId, Pc as F0DialogInternalProps, Pd as SortingsDefinition, Pi as DeleteBlockNotesTextEditorPageDocumentPatch, Pl as CategoryBarProps, Po as SecondaryActionsItems, Ps as F0LocationSearchContext, Qa as OnBulkActionCallback, Qc as F0ResourceHeader, Qd as InFilterDefinition, Qi as lastIntentType, Ql as buttonToggleSizes, Qo as F0TextAreaInputInlineProps, Qr as F0RichTextEditorProps, Qu as OnSelectItemsCallback, Ra as OnLoadErrorCallback, Rd as FilterOptions, Ri as NotesTextEditorSnapshot, Rl as LineChartPropsBase, Ro as getPrimaryActions, Rs as locationInputSizes, S as F0DataChartProps, Sa as EditableTableColumnDefinition, Sc as F0MapMarkerVariant, Sd as ItemNeighborsId, Si as RichTextDisplayHandle, Sl as actionBarStatuses, So as GranularityDefinition, Ss as isPossiblePhoneValue, T as F0DataChartRadarProps, Ta as Visualization, Tc as F0MapStyle, Td as PaginatedDataAdapter, Ti as F0NotesTextEditorHandle, Tl as CategoryBarChart, To as DatePeriod, Ts as F0PhoneInputProps, Ua as DataCollectionPaginatedFetchOptions, Ud as PresetDefinition, Ui as HeaderProps, Ul as F0SegmentedControlItem, Uo as SummaryType, Us as CardSelectableMultipleProps, Va as DataCollectionBaseFetchOptions, Vd as FiltersMode, Vi as TopLevelAppendNotesTextEditorPageDocumentPatch, Vl as BaseBanner, Vo as SummariesDefinition, Vs as CardSelectableContainerProps, Vu as UseDataOptions, Wa as DataCollectionSource, Wc as BaseTabs, Wd as PresetSettings, Wi as HeaderStatusProps, Wl as F0SegmentedControlProps, Wo as OneFilterPicker, Ws as CardSelectableSingleProps, Xa as BulkAction, Xc as NavigationTarget, Xd as SearchFilterDefinition, Xi as enhanceTextParams, Xl as F0ButtonToggleSelectionProps, Xo as Pulse, Xr as F0RichTextEditor, Xu as DataSource, Ya as SearchPreviewResultData, Yc as NavigationProps, Yd as FilterValue, Yi as enhanceConfig, Yl as ButtonToggleVariant, Yo as TOCProps, Yu as PromiseOrObservable, Za as BulkActionDefinition, Zc as PageNavigation, Zd as NumberFilterDefinition, Zi as enhancedTextResponse, Zl as buttonToggleColors, Zo as F0TextAreaInputInline, Zr as F0RichTextEditorHandle, Zs as F0TimelineRowProps, Zu as DataSourceDefinition, _ as F0DataChartPieProps, _a as DataCollectionStatusComplete, _c as F0MapLineStyle, _d as BasePaginatedResponse, _i as MentionsConfig, _l as ActionBarItem, _o as getGranularityDefinitions, _s as F0SearchInputProps, ac as F0MapSidebar, af as DateRangeError, ai as editorStateType, ao as NavigationFilterDefinitionBase, as as F0NumberInput, au as F0SelectItemMetadata, ba as ChipProps, bc as F0MapViewport, bd as InfiniteScrollPaginatedResponse, bi as F0RichTextDisplayProps, bl as F0ActionBarRef, bo as DateNavigationOptions, bs as TemplateVariablesConfig, ca as ActionProps$1, cc as F0MapSkeleton, cd as GroupingLevelState, cf as DateRangeComplete, ci as primaryActionType, co as getGranularityDefinition, cs as NumberInputProps, cu as F0SelectProps, da as UpsellingButtonProps, dc as F0MapHandle, dd as ActionDefinition, df as WeekStartsOn, di as secondaryActionsType, do as DatePickerPopupProps, ds as F0TextInputInlineProps, du as ResolvedRecordType, ed as SelectedItemsDetailedStatus, ef as CalendarDate, ei as RichTextEditor, el as HeaderSecondaryAction, eo as NavigationFilterComponentProps, es as F0TextAreaInputProps, f as F0DataChartLineProps, fc as F0MapProjection, fd as ItemActionsDefinition, fi as subActionType, fo as DatePickerValue, fs as F0TextInput, fu as selectSizes, gc as F0MapLineColor, gd as BaseFetchOptions, gi as MentionedUser, gl as ActionBarGroup, go as NavigationGranularityKey, gs as F0SearchInput, hc as F0MapArea, hd as BaseDataAdapter, hi as UPLOAD_INPUT_ID, ho as GranularityDefinitionsOptions, hs as F0TextInputProps, hu as InputFieldProps, ia as predefinedPresets, ic as F0MapSidebarToggleProps, if as CalendarView, ii as actionType, il as PrimaryDropdownAction, io as NavigationFiltersState, is as F0NumberInputInlineProps, ja as listIconColors, jc as F0MapControlLabels, jd as RecordType, ji as NotesTextEditorProps, jl as VerticalBarChart, jo as SecondaryActionItem, js as F0LocationInputProps, k as F0DataChartScatterProps, ka as ListIconColor, kc as googlePinlessMapStyles, kd as PaginationType, ki as NotesTextEditor, kl as ProgressBarChart, ko as PrimaryActionsDefinitionFn, ks as F0LocationInput, l as F0DataChartGaugeProps, lc as F0MapSkeletonProps, ld as GroupingState, lf as DateRangeString, li as resultType, lo as getGranularitySimpleDefinition, ls as NumberInputPopoverConfig, lu as F0SelectTagProp, mc as F0MapArc, md as isVisibleAction, mi as FileType, mo as GranularityDefinitionKey, ms as InputProps, mt as F0FormSchema, mu as Action$1, n as F0DataChartBarProps, nc as F0MapListProps, nd as SelectedState, nf as CalendarMode, ni as RichTextEditorProps, nl as MetadataItemValue, no as NavigationFilterValue, ns as TextareaProps, oa as DataCollectionStorage, oc as F0MapSidebarProps, od as SearchOptions, of as OptionalCalendarSelection, oi as filesConfig, oo as OneCalendar, os as F0NumberInputProps, ou as F0SelectItemObject, pc as F0MapProps, pd as filterItemActions, pi as FILE_TYPES, po as DatePreset, ps as Input, pu as selectVariants, qa as SearchPreview, qc as TabsProps, qd as QuickFilterPanelHandle, qi as ImageUploadConfig, ql as ButtonToggleColor, qo as TOCItem, ra as OneEmptyState, rc as F0MapSidebarToggle, rd as SelectionId, rf as CalendarSelection, ri as RichTextEditorSkeletonProps, rl as PrimaryActionButton, ro as NavigationFiltersDefinition, rs as F0NumberInputInline, s as F0DataChartFunnelProps, sc as F0MapControls, sd as GroupingDefinition, sf as DateRange, si as heightType, so as OneCalendarProps, ss as NumberInput, su as F0SelectItemProps, tc as F0MapList, td as SelectedItemsState, tf as CalendarDateMatcher, ti as RichTextEditorHandle, tl as MetadataItem, to as NavigationFilterDefinition, ts as Textarea, tu as F0Select, u as F0DataChartHeatmapProps, uc as F0Map, ud as GroupMetadataItem, uf as WeekStartDay, ui as secondaryActionType, uo as rangeSeparator, us as F0TextInputInline, uu as F0SelectVariant, va as DataCollectionStorageFeaturesDefinition, vc as F0MapPoint, vd as BaseResponse, vi as F0RichTextDisplay, vl as ActionBarStatus, vo as granularityDefinitions, vs as F1SearchBox, wa as CustomVisualizationProps, wc as f0MapMarkerVariants, wd as PageBasedPaginatedResponse, wi as F0NotesTextEditor, wl as BarChart, wo as PrevNextDateNavigation, ws as F0PhoneInputChangeMeta, xa as chipVariants, xc as F0MapViewportInset, xd as ItemNeighborsFetchOptions, xi as RichTextDisplay, xl as WiggleOptions, xo as DateStringFormat, xs as F0PhoneInput, ya as Chip, yc as F0MapRoute, yd as DataAdapter, yi as F0RichTextDisplayHandle, yl as F0ActionBar, yo as resolveGranularityDefinition, ys as TemplateVariable, za as TableVisualizationType, zd as FilterValueByKey, zi as ReplaceBlockNotesTextEditorPageDocumentPatch, zl as LineChartConfig, zo as getSecondaryActions, zs as locationParts } from "./types-
|
|
1
|
+
import { A as Weekdays, Bi as F0AvatarModule, C as FileItemSize, Cn as TooltipProps, Cr as F0PersonCardAction, Dn as ChartColorToken, Dt as SidePanelContextValue, Ea as DistributiveOmit, Et as SidePanelContent, Gn as DropdownItemLabel, Hn as DropdownContentVariant, In as AlertAvatarProps, It as F0CardProps, Jn as DropdownItemSeparator, Kn as DropdownItemObject, Kt as CardMetadata, Ln as F0AvatarAlert, Mi as F0DocumentHtmlSandbox, Mn as F0TagAlert, Na as WithDataTestIdReturnType, O as F0TagRaw, Ot as SidePanelLayout, Rn as alertAvatarTypes, S as FileItemProps, Sa as modules, Sn as TooltipGroupProps, Sr as F0PersonCard, Ui as AvatarVariant, Vi as F0AvatarModuleProps, Wn as DropdownItem, Xn as DropdownItemSwitch, Yn as DropdownItemSubmenu, Zi as PersonAvatarVariant, Zn as NavigationItem, _ as F0FileItem, _a as AvatarBadge, _n as F0ProgressSeriesSize, _r as StatusVariant, a as F0CardHorizontal, b as FileAction, ba as BadgeProps, bn as Tooltip, c as MobileDropdown, da as BaseAvatar, dr as ActionButtonVariant, er as F0ButtonProps, fn as F0ProgressSeries, g as F0FileAction, ga as F0AvatarColorProps, gn as F0ProgressSeriesProps, h as DetailsItemType, ha as F0AvatarColor, hn as F0ProgressSeriesOptions, it as AiChatProviderProps, ja as WithDataTestIdProps, ji as F0DocumentHtmlExecution, jn as F0AvatarListProps, ka as IconType, kt as SidePanelViewDefinition, m as DetailsItemContent, ma as F0AvatarColorListProps, mn as F0ProgressSeriesColor, o as F0CardHorizontalProps, p as DetailsItem, pa as F0AvatarColorList, pn as F0ProgressSeriesBar, qn as DropdownItemPanel, rr as ButtonVariant, s as Dropdown, tn as F0TagRawProps, v as F0FileItemProps, vn as f0ProgressSeriesColors, w as f0FileItemSizes, wa as Props$6, wi as VideoPlayerContent, wn as Shortcut, wr as F0PersonCardProps, x as FileItem, xa as ModuleId, xn as TooltipGroup, y as F0FileItemSize, ya as Badge, yn as f0ProgressSeriesSizes, yt as TranscribeFn, zi as DataAttributes, zn as CardSecondaryAction } from "./index-CVwiBJ7Q.js";
|
|
2
|
+
import { $a as NavigationFilter, $c as F0ResourceHeaderProps, $d as DateFilterDefinition, $l as buttonToggleVariants, $o as F0TextAreaInput, $r as F0RichTextEditorSkeletonProps, $s as TimelineRowStatus, $u as SelectedItemState, Aa as ListIconPaletteColor, Ac as F0MapProvider, Ad as SelectedItems, Ai as NotesTextEditorHandle, Al as RadarChart, Ao as SecondaryActionGroup, As as F0LocationInputChangeMeta, Au as UseDataSourceItemNavigationReturn, Ba as BulkActionsDefinition, Bd as FiltersDefinition, Bi as ReplaceContentNotesTextEditorPageDocumentPatch, Bl as BannerAction, Bo as getUpsellAction, Bs as CardSelectableContainer, Ca as EditableTableOnCellChangeParams, Cc as F0MapMarkerVariantProps, Cd as ItemNeighborsResponse, Ci as RichTextDisplayProps, Cl as AreaChart, Co as GranularityDefinitionSimple, Cs as isValidPhoneValue, Da as MapUnplaced, Dc as f0MapStyles, Dd as PaginatedResponse, Di as F0NotesTextEditorSkeleton, Dl as LineChart, Do as MAX_EXPANDED_ACTIONS, Ds as PhoneInputSize, Ea as VisualizationFilterOverrides, Ec as defaultMapStyle, Ed as PaginatedFetchOptions, Ei as F0NotesTextEditorProps, El as ComboChart, Eo as DatePeriodsDefinition, Es as F0PhoneInputValue, Fa as CollectionProps, Fd as SortingsState, Fi as InsertAfterNotesTextEditorPageDocumentPatch, Fl as BarChartProps, Fo as UpsellActionDefinition, Fs as F0LocationSuggestion, Ga as DataCollectionSourceDefinition, Gc as TabItem, Gd as PresetsDefinition, Gi as Message, Gl as F0ButtonToggle, Go as DropPosition, Gs as CardSelectableValue, Ha as DataCollectionDataAdapter, Hc as F0DialogSecondaryAction, Hd as FiltersState, Hi as TopLevelPrependNotesTextEditorPageDocumentPatch, Hl as BaseBannerProps, Ho as SummaryKey, Hs as CardSelectableItem, Hu as UseDataReturn, Ia as ExtractPropertyKeys, Id as SortingsStateMultiple, Ii as InsertBeforeNotesTextEditorPageDocumentPatch, Il as ChartConfig, Io as UpsellActionDefinitionFn, Is as LocationInputSize, Ja as SearchPreviewPage, Jc as TabsSkeleton, Jd as FilterDefinition, Ji as EnhancementOption, Jl as ButtonToggleSize, Jo as TOCItemAction, Ka as Lane, Kc as Tabs, Kd as QuickFilterDefinition, Ki as User, Kl as F0ButtonToggleProps, Ko as TOCAction, La as OnLoadDataCallback, Ld as CurrentFilters, Li as NotesTextEditorPageDocumentPatch, Ll as ChartPropsBase, Lo as filterActions, Ls as LocationPart, Lu as Data, Ma as GraphVisualizationOptions, Mc as F0MapControlsProps, Md as SortOrder, Mi as NotesTextEditorSkeleton, Ml as ComboChartProps, Mo as SecondaryActionSplitItem, Ms as F0LocationInputShapeProps, Na as ViewportInset, Nd as SortingKey, Ni as NotesTextEditorSkeletonProps, Nl as PieChartProps, No as SecondaryActionsDefinition, Ns as F0LocationInputValue, Oa as MapVisualizationOptions, Oc as googleMapStyles, Od as PaginationInfo, Oi as F0NotesTextEditorSkeletonProps, Ol as PieChart, Oo as PrimaryActionItemDefinition, Os as phoneInputSizes, Ou as DataSourceItemId, Pc as F0DialogInternalProps, Pd as SortingsDefinition, Pi as DeleteBlockNotesTextEditorPageDocumentPatch, Pl as CategoryBarProps, Po as SecondaryActionsItems, Ps as F0LocationSearchContext, Qa as OnBulkActionCallback, Qc as F0ResourceHeader, Qd as InFilterDefinition, Qi as lastIntentType, Ql as buttonToggleSizes, Qo as F0TextAreaInputInlineProps, Qr as F0RichTextEditorProps, Qu as OnSelectItemsCallback, Ra as OnLoadErrorCallback, Rd as FilterOptions, Ri as NotesTextEditorSnapshot, Rl as LineChartPropsBase, Ro as getPrimaryActions, Rs as locationInputSizes, S as F0DataChartProps, Sa as EditableTableColumnDefinition, Sc as F0MapMarkerVariant, Sd as ItemNeighborsId, Si as RichTextDisplayHandle, Sl as actionBarStatuses, So as GranularityDefinition, Ss as isPossiblePhoneValue, T as F0DataChartRadarProps, Ta as Visualization, Tc as F0MapStyle, Td as PaginatedDataAdapter, Ti as F0NotesTextEditorHandle, Tl as CategoryBarChart, To as DatePeriod, Ts as F0PhoneInputProps, Ua as DataCollectionPaginatedFetchOptions, Ud as PresetDefinition, Ui as HeaderProps, Ul as F0SegmentedControlItem, Uo as SummaryType, Us as CardSelectableMultipleProps, Va as DataCollectionBaseFetchOptions, Vd as FiltersMode, Vi as TopLevelAppendNotesTextEditorPageDocumentPatch, Vl as BaseBanner, Vo as SummariesDefinition, Vs as CardSelectableContainerProps, Vu as UseDataOptions, Wa as DataCollectionSource, Wc as BaseTabs, Wd as PresetSettings, Wi as HeaderStatusProps, Wl as F0SegmentedControlProps, Wo as OneFilterPicker, Ws as CardSelectableSingleProps, Xa as BulkAction, Xc as NavigationTarget, Xd as SearchFilterDefinition, Xi as enhanceTextParams, Xl as F0ButtonToggleSelectionProps, Xo as Pulse, Xr as F0RichTextEditor, Xu as DataSource, Ya as SearchPreviewResultData, Yc as NavigationProps, Yd as FilterValue, Yi as enhanceConfig, Yl as ButtonToggleVariant, Yo as TOCProps, Yu as PromiseOrObservable, Za as BulkActionDefinition, Zc as PageNavigation, Zd as NumberFilterDefinition, Zi as enhancedTextResponse, Zl as buttonToggleColors, Zo as F0TextAreaInputInline, Zr as F0RichTextEditorHandle, Zs as F0TimelineRowProps, Zu as DataSourceDefinition, _ as F0DataChartPieProps, _a as DataCollectionStatusComplete, _c as F0MapLineStyle, _d as BasePaginatedResponse, _i as MentionsConfig, _l as ActionBarItem, _o as getGranularityDefinitions, _s as F0SearchInputProps, ac as F0MapSidebar, af as DateRangeError, ai as editorStateType, ao as NavigationFilterDefinitionBase, as as F0NumberInput, au as F0SelectItemMetadata, ba as ChipProps, bc as F0MapViewport, bd as InfiniteScrollPaginatedResponse, bi as F0RichTextDisplayProps, bl as F0ActionBarRef, bo as DateNavigationOptions, bs as TemplateVariablesConfig, ca as ActionProps$1, cc as F0MapSkeleton, cd as GroupingLevelState, cf as DateRangeComplete, ci as primaryActionType, co as getGranularityDefinition, cs as NumberInputProps, cu as F0SelectProps, da as UpsellingButtonProps, dc as F0MapHandle, dd as ActionDefinition, df as WeekStartsOn, di as secondaryActionsType, do as DatePickerPopupProps, ds as F0TextInputInlineProps, du as ResolvedRecordType, ed as SelectedItemsDetailedStatus, ef as CalendarDate, ei as RichTextEditor, el as HeaderSecondaryAction, eo as NavigationFilterComponentProps, es as F0TextAreaInputProps, f as F0DataChartLineProps, fc as F0MapProjection, fd as ItemActionsDefinition, fi as subActionType, fo as DatePickerValue, fs as F0TextInput, fu as selectSizes, gc as F0MapLineColor, gd as BaseFetchOptions, gi as MentionedUser, gl as ActionBarGroup, go as NavigationGranularityKey, gs as F0SearchInput, hc as F0MapArea, hd as BaseDataAdapter, hi as UPLOAD_INPUT_ID, ho as GranularityDefinitionsOptions, hs as F0TextInputProps, hu as InputFieldProps, ia as predefinedPresets, ic as F0MapSidebarToggleProps, if as CalendarView, ii as actionType, il as PrimaryDropdownAction, io as NavigationFiltersState, is as F0NumberInputInlineProps, ja as listIconColors, jc as F0MapControlLabels, jd as RecordType, ji as NotesTextEditorProps, jl as VerticalBarChart, jo as SecondaryActionItem, js as F0LocationInputProps, k as F0DataChartScatterProps, ka as ListIconColor, kc as googlePinlessMapStyles, kd as PaginationType, ki as NotesTextEditor, kl as ProgressBarChart, ko as PrimaryActionsDefinitionFn, ks as F0LocationInput, l as F0DataChartGaugeProps, lc as F0MapSkeletonProps, ld as GroupingState, lf as DateRangeString, li as resultType, lo as getGranularitySimpleDefinition, ls as NumberInputPopoverConfig, lu as F0SelectTagProp, mc as F0MapArc, md as isVisibleAction, mi as FileType, mo as GranularityDefinitionKey, ms as InputProps, mt as F0FormSchema, mu as Action$1, n as F0DataChartBarProps, nc as F0MapListProps, nd as SelectedState, nf as CalendarMode, ni as RichTextEditorProps, nl as MetadataItemValue, no as NavigationFilterValue, ns as TextareaProps, oa as DataCollectionStorage, oc as F0MapSidebarProps, od as SearchOptions, of as OptionalCalendarSelection, oi as filesConfig, oo as OneCalendar, os as F0NumberInputProps, ou as F0SelectItemObject, pc as F0MapProps, pd as filterItemActions, pi as FILE_TYPES, po as DatePreset, ps as Input, pu as selectVariants, qa as SearchPreview, qc as TabsProps, qd as QuickFilterPanelHandle, qi as ImageUploadConfig, ql as ButtonToggleColor, qo as TOCItem, ra as OneEmptyState, rc as F0MapSidebarToggle, rd as SelectionId, rf as CalendarSelection, ri as RichTextEditorSkeletonProps, rl as PrimaryActionButton, ro as NavigationFiltersDefinition, rs as F0NumberInputInline, s as F0DataChartFunnelProps, sc as F0MapControls, sd as GroupingDefinition, sf as DateRange, si as heightType, so as OneCalendarProps, ss as NumberInput, su as F0SelectItemProps, tc as F0MapList, td as SelectedItemsState, tf as CalendarDateMatcher, ti as RichTextEditorHandle, tl as MetadataItem, to as NavigationFilterDefinition, ts as Textarea, tu as F0Select, u as F0DataChartHeatmapProps, uc as F0Map, ud as GroupMetadataItem, uf as WeekStartDay, ui as secondaryActionType, uo as rangeSeparator, us as F0TextInputInline, uu as F0SelectVariant, va as DataCollectionStorageFeaturesDefinition, vc as F0MapPoint, vd as BaseResponse, vi as F0RichTextDisplay, vl as ActionBarStatus, vo as granularityDefinitions, vs as F1SearchBox, wa as CustomVisualizationProps, wc as f0MapMarkerVariants, wd as PageBasedPaginatedResponse, wi as F0NotesTextEditor, wl as BarChart, wo as PrevNextDateNavigation, ws as F0PhoneInputChangeMeta, xa as chipVariants, xc as F0MapViewportInset, xd as ItemNeighborsFetchOptions, xi as RichTextDisplay, xl as WiggleOptions, xo as DateStringFormat, xs as F0PhoneInput, ya as Chip, yc as F0MapRoute, yd as DataAdapter, yi as F0RichTextDisplayHandle, yl as F0ActionBar, yo as resolveGranularityDefinition, ys as TemplateVariable, za as TableVisualizationType, zd as FilterValueByKey, zi as ReplaceBlockNotesTextEditorPageDocumentPatch, zl as LineChartConfig, zo as getSecondaryActions, zs as locationParts } from "./types-DJqxacZz.js";
|
|
3
3
|
import * as React$2 from "react";
|
|
4
4
|
import React$1, { ButtonHTMLAttributes, CSSProperties, ComponentProps, Dispatch, FC, ForwardedRef, MouseEvent, PropsWithChildren, ReactElement, ReactNode, RefObject, SVGProps } from "react";
|
|
5
5
|
import { VariantProps } from "cva";
|
|
@@ -3036,11 +3036,13 @@ export interface SidebarCollapsibleSectionProps {
|
|
|
3036
3036
|
collapsedBadge?: ReactNode;
|
|
3037
3037
|
/** Shown on hover at the end of the header — see {@link SidebarSectionAction}. */
|
|
3038
3038
|
action?: SidebarSectionAction;
|
|
3039
|
+
/** More header controls, revealed on hover beside `action`. */
|
|
3040
|
+
headerAccessory?: ReactNode;
|
|
3039
3041
|
/** Drag-aware guards used by the sortable Menu; safe to omit elsewhere. */
|
|
3040
3042
|
isDragging?: boolean;
|
|
3041
3043
|
wasDragging?: RefObject<boolean>;
|
|
3042
3044
|
}
|
|
3043
|
-
export declare const SidebarCollapsibleSection: ({ title, isOpen: initialIsOpen, isRoot, onCollapse, children, highlightWhenCollapsed, collapsedBadge, action, isDragging, wasDragging }: SidebarCollapsibleSectionProps) => import("react").JSX.Element;
|
|
3045
|
+
export declare const SidebarCollapsibleSection: ({ title, isOpen: initialIsOpen, isRoot, onCollapse, children, highlightWhenCollapsed, collapsedBadge, action, headerAccessory, isDragging, wasDragging }: SidebarCollapsibleSectionProps) => import("react").JSX.Element;
|
|
3044
3046
|
//#endregion
|
|
3045
3047
|
//#region src/blocks/Navigation/Sidebar/Chats/types.d.ts
|
|
3046
3048
|
export type SidebarChatPresence = "online" | "offline";
|
|
@@ -3176,6 +3178,138 @@ export interface SidebarChatGroup {
|
|
|
3176
3178
|
*/
|
|
3177
3179
|
maxVisible?: number;
|
|
3178
3180
|
chats: SidebarChat[];
|
|
3181
|
+
/**
|
|
3182
|
+
* A section the user made: its menu offers Rename, and its chats offer
|
|
3183
|
+
* "Remove from" and appear as "Move to…" targets. Only read when the list
|
|
3184
|
+
* gets `organize`.
|
|
3185
|
+
*/
|
|
3186
|
+
editable?: boolean;
|
|
3187
|
+
/**
|
|
3188
|
+
* The user can move the whole section: drag its header, or use "Move
|
|
3189
|
+
* section up / down" from its menu. Leave it off for a section that stays
|
|
3190
|
+
* put (Pinned). Only read when the list gets `organize`.
|
|
3191
|
+
*/
|
|
3192
|
+
movable?: boolean;
|
|
3193
|
+
/**
|
|
3194
|
+
* Keep the section on screen with no chats, as somewhere to drop them. A new
|
|
3195
|
+
* section starts empty, so without this it could never be filled by
|
|
3196
|
+
* dragging. Search still hides it.
|
|
3197
|
+
*/
|
|
3198
|
+
keepWhenEmpty?: boolean;
|
|
3199
|
+
/**
|
|
3200
|
+
* Whether `chat` may be dropped here. Omit it and the section takes no
|
|
3201
|
+
* drops. A chat's "Move to…" also needs the section to be `editable`; the
|
|
3202
|
+
* list never offers a chat the section it is already in.
|
|
3203
|
+
*/
|
|
3204
|
+
canDrop?: (chat: SidebarChat) => boolean;
|
|
3205
|
+
}
|
|
3206
|
+
/** An extra row in a chat's menu, after Pin and before "Move to…". */
|
|
3207
|
+
export interface SidebarChatMenuItem {
|
|
3208
|
+
label: string;
|
|
3209
|
+
icon?: IconType;
|
|
3210
|
+
onClick: () => void;
|
|
3211
|
+
critical?: boolean;
|
|
3212
|
+
}
|
|
3213
|
+
/**
|
|
3214
|
+
* Lets the user arrange their sidebar, Slack-style: make sections, move chats
|
|
3215
|
+
* between them and reorder the sections. The list only reports what the user
|
|
3216
|
+
* asked for; the host applies it to its own layout and hands back new
|
|
3217
|
+
* `groups`, because the list never sorts. Chats inside a section are never
|
|
3218
|
+
* placed by hand: they keep the host's order (latest activity first).
|
|
3219
|
+
*
|
|
3220
|
+
* There is no "delete section": the host drops a section of the user's once
|
|
3221
|
+
* its last chat leaves it. A drop on Pinned is the host's to read as a pin —
|
|
3222
|
+
* give that group a `canDrop` and handle `toGroupId` in `onMoveChat`.
|
|
3223
|
+
*/
|
|
3224
|
+
export interface SidebarChatOrganize {
|
|
3225
|
+
/** A chat was dropped on, or moved from its menu to, another section. */
|
|
3226
|
+
onMoveChat: (move: {
|
|
3227
|
+
chatId: string;
|
|
3228
|
+
fromGroupId: string;
|
|
3229
|
+
toGroupId: string;
|
|
3230
|
+
}) => void;
|
|
3231
|
+
/** A section was moved. `beforeId: null` means to the end. */
|
|
3232
|
+
onMoveGroup: (move: {
|
|
3233
|
+
groupId: string;
|
|
3234
|
+
beforeId: string | null;
|
|
3235
|
+
}) => void;
|
|
3236
|
+
/**
|
|
3237
|
+
* "Remove from {{section}}" in the menu of a chat in an `editable` section:
|
|
3238
|
+
* it goes back to wherever it lives by default. Omit to hide it.
|
|
3239
|
+
*/
|
|
3240
|
+
onRemoveChat?: (remove: {
|
|
3241
|
+
chatId: string;
|
|
3242
|
+
fromGroupId: string;
|
|
3243
|
+
}) => void;
|
|
3244
|
+
/**
|
|
3245
|
+
* The user named a new section. `seedChatId` is the chat whose menu it was
|
|
3246
|
+
* created from, which should start inside it. Omit to hide "New section".
|
|
3247
|
+
*/
|
|
3248
|
+
onCreateGroup?: (group: {
|
|
3249
|
+
name: string;
|
|
3250
|
+
seedChatId?: string;
|
|
3251
|
+
}) => void;
|
|
3252
|
+
/** Omit to hide Rename on `editable` sections. */
|
|
3253
|
+
onRenameGroup?: (rename: {
|
|
3254
|
+
groupId: string;
|
|
3255
|
+
name: string;
|
|
3256
|
+
}) => void;
|
|
3257
|
+
/** Host rows for a chat's menu (Mute, say), shown after Pin. */
|
|
3258
|
+
chatMenuItems?: (chat: SidebarChat) => SidebarChatMenuItem[];
|
|
3259
|
+
}
|
|
3260
|
+
/** A row in a remote search section, such as a person to start a chat with. */
|
|
3261
|
+
export interface SidebarChatSearchResult {
|
|
3262
|
+
id: string;
|
|
3263
|
+
label: string;
|
|
3264
|
+
avatar?: AvatarVariant;
|
|
3265
|
+
/** Second line, e.g. the job title. */
|
|
3266
|
+
subtitle?: string;
|
|
3267
|
+
/** Dimmed and not clickable, e.g. someone you cannot chat with. */
|
|
3268
|
+
disabled?: boolean;
|
|
3269
|
+
/** Why it is disabled. Replaces `subtitle` while `disabled`. */
|
|
3270
|
+
disabledReason?: string;
|
|
3271
|
+
/** Short text at the end of the first line, e.g. when a message was sent. */
|
|
3272
|
+
meta?: string;
|
|
3273
|
+
/**
|
|
3274
|
+
* Text to emphasise wherever it appears in `subtitle` (case- and
|
|
3275
|
+
* accent-insensitive), e.g. the query in a matching message.
|
|
3276
|
+
*/
|
|
3277
|
+
highlight?: string;
|
|
3278
|
+
onClick?: () => void;
|
|
3279
|
+
}
|
|
3280
|
+
/**
|
|
3281
|
+
* A section the host appends below your own chats while searching (People,
|
|
3282
|
+
* Public groups…). Each one loads on its own, so each has its own status.
|
|
3283
|
+
*/
|
|
3284
|
+
export interface SidebarChatSearchSection {
|
|
3285
|
+
id: string;
|
|
3286
|
+
title: string;
|
|
3287
|
+
results: SidebarChatSearchResult[];
|
|
3288
|
+
/** @default "idle" */
|
|
3289
|
+
status?: "idle" | "loading" | "error";
|
|
3290
|
+
/** Shown as a Retry button while `status` is "error". */
|
|
3291
|
+
onRetry?: () => void;
|
|
3292
|
+
/**
|
|
3293
|
+
* Show only the first N results; a "See all" row unfolds the rest in place.
|
|
3294
|
+
* Omit to show them all.
|
|
3295
|
+
*/
|
|
3296
|
+
maxVisible?: number;
|
|
3297
|
+
}
|
|
3298
|
+
/**
|
|
3299
|
+
* Search the host takes part in. Without it the list filters its own chats,
|
|
3300
|
+
* as it always has.
|
|
3301
|
+
*/
|
|
3302
|
+
export interface SidebarChatSearch {
|
|
3303
|
+
/** Controlled query. Omit to let the list own it. */
|
|
3304
|
+
value?: string;
|
|
3305
|
+
onChange?: (query: string) => void;
|
|
3306
|
+
/**
|
|
3307
|
+
* While searching, show your chats as ONE "Chats" section ranked by how
|
|
3308
|
+
* well they match, rather than in their sections, the way mobile does.
|
|
3309
|
+
*/
|
|
3310
|
+
flattenLocal?: boolean;
|
|
3311
|
+
/** Sections after your chats, in this order. */
|
|
3312
|
+
sections?: SidebarChatSearchSection[];
|
|
3179
3313
|
}
|
|
3180
3314
|
/**
|
|
3181
3315
|
* Imperative store API exposed by `useSidebarChats`. Every mutation is stable
|
|
@@ -3274,7 +3408,7 @@ export interface SidebarChatEmptyState {
|
|
|
3274
3408
|
* groups). This stays a thin adapter — it maps the chat store onto the panel
|
|
3275
3409
|
* and owns only chat-specific bits (unread badges, the blank state copy).
|
|
3276
3410
|
*/
|
|
3277
|
-
export declare const SidebarChatList: ({ actions, emptyState, loading }: {
|
|
3411
|
+
export declare const SidebarChatList: ({ actions, emptyState, loading, organize, search }: {
|
|
3278
3412
|
/** Ghost actions rendered at the very top (e.g. New chat, New group). */
|
|
3279
3413
|
actions?: SidebarChatAction[];
|
|
3280
3414
|
/** Copy for the blank state shown when there are no chats. */
|
|
@@ -3286,13 +3420,25 @@ export declare const SidebarChatList: ({ actions, emptyState, loading }: {
|
|
|
3286
3420
|
* set this back to false — the per-chat skeletons take over (cascade).
|
|
3287
3421
|
*/
|
|
3288
3422
|
loading?: boolean;
|
|
3423
|
+
/**
|
|
3424
|
+
* Let the user arrange the list: their own sections, chats moved between
|
|
3425
|
+
* them by drag or menu, sections reordered. See {@link SidebarChatOrganize}.
|
|
3426
|
+
*/
|
|
3427
|
+
organize?: SidebarChatOrganize;
|
|
3428
|
+
/** Search the host takes part in. See {@link SidebarChatSearch}. */
|
|
3429
|
+
search?: SidebarChatSearch;
|
|
3289
3430
|
}) => import("react").JSX.Element;
|
|
3290
3431
|
//#endregion
|
|
3291
3432
|
//#region src/blocks/Navigation/Sidebar/Chats/SidebarChatItem.d.ts
|
|
3292
|
-
export declare const SidebarChatItem: ({ chat, isActive, onClick }: {
|
|
3433
|
+
export declare const SidebarChatItem: ({ chat, isActive, onClick, menu }: {
|
|
3293
3434
|
chat: SidebarChat;
|
|
3294
3435
|
isActive: boolean;
|
|
3295
3436
|
onClick: () => void;
|
|
3437
|
+
/**
|
|
3438
|
+
* A menu trigger shown on hover where the pin button would be. It replaces
|
|
3439
|
+
* the pin button, whose action then lives inside the menu.
|
|
3440
|
+
*/
|
|
3441
|
+
menu?: ReactNode;
|
|
3296
3442
|
}) => import("react").JSX.Element;
|
|
3297
3443
|
//#endregion
|
|
3298
3444
|
//#region src/blocks/Navigation/Sidebar/Chats/SidebarChatSkeleton.d.ts
|
|
@@ -3646,8 +3792,34 @@ export interface SidebarTabPanelGroup {
|
|
|
3646
3792
|
collapsedBadge?: ReactNode;
|
|
3647
3793
|
/** Hover-revealed action on the group's own header. */
|
|
3648
3794
|
action?: SidebarSectionAction;
|
|
3795
|
+
/** More header controls, revealed with `action` (a menu trigger, say). */
|
|
3796
|
+
headerAccessory?: ReactNode;
|
|
3797
|
+
/**
|
|
3798
|
+
* Render the group even with no items, showing `emptyContent` in its body.
|
|
3799
|
+
* Ignored while searching, where an empty group means no matches.
|
|
3800
|
+
*/
|
|
3801
|
+
keepWhenEmpty?: boolean;
|
|
3802
|
+
emptyContent?: ReactNode;
|
|
3803
|
+
/**
|
|
3804
|
+
* Wrap the whole group (header and body) — a drag-and-drop host uses it to
|
|
3805
|
+
* make the group a drop target without the panel knowing about it.
|
|
3806
|
+
*/
|
|
3807
|
+
decorate?: (group: ReactNode) => ReactNode;
|
|
3649
3808
|
items: SidebarTabPanelItem[];
|
|
3650
3809
|
}
|
|
3810
|
+
/**
|
|
3811
|
+
* A group appended after the panel's own groups while searching, filled by
|
|
3812
|
+
* the host (people to message, groups to join). It is not filtered: the host
|
|
3813
|
+
* already searched.
|
|
3814
|
+
*/
|
|
3815
|
+
export interface SidebarTabPanelSearchSection {
|
|
3816
|
+
id: string;
|
|
3817
|
+
title: string;
|
|
3818
|
+
items: SidebarTabPanelItem[];
|
|
3819
|
+
/** @default "idle" */
|
|
3820
|
+
status?: "idle" | "loading" | "error";
|
|
3821
|
+
onRetry?: () => void;
|
|
3822
|
+
}
|
|
3651
3823
|
export interface SidebarTabPanelProps {
|
|
3652
3824
|
groups: SidebarTabPanelGroup[];
|
|
3653
3825
|
/** Top-of-panel actions, rendered as a stack of ghost buttons. */
|
|
@@ -3657,6 +3829,17 @@ export interface SidebarTabPanelProps {
|
|
|
3657
3829
|
* fuzzy-filters items by their `searchText`. Omit for no search.
|
|
3658
3830
|
*/
|
|
3659
3831
|
searchPlaceholder?: string;
|
|
3832
|
+
/** Controlled query. Omit to let the panel own it. */
|
|
3833
|
+
searchValue?: string;
|
|
3834
|
+
onSearchChange?: (query: string) => void;
|
|
3835
|
+
/** Host groups shown after the matches while searching. */
|
|
3836
|
+
searchSections?: SidebarTabPanelSearchSection[];
|
|
3837
|
+
/**
|
|
3838
|
+
* Text announced to screen readers through the panel's polite live region,
|
|
3839
|
+
* e.g. "Moved to Projects". Only a change is spoken: to repeat a message,
|
|
3840
|
+
* clear it first and set it again on a later tick.
|
|
3841
|
+
*/
|
|
3842
|
+
announcement?: string;
|
|
3660
3843
|
/** Whole-panel loading: renders `skeleton` instead of the groups. */
|
|
3661
3844
|
loading?: boolean;
|
|
3662
3845
|
/** Shown while `loading` and there are no items yet. */
|
|
@@ -3701,7 +3884,7 @@ export declare const SidebarTabPanelSearch: ({ value, onChange, placeholder }: {
|
|
|
3701
3884
|
* In an `F0SecondarySidebar` with `scrollBody={false}` it scrolls its own list
|
|
3702
3885
|
* and the search stays pinned. Elsewhere the sidebar around it scrolls it.
|
|
3703
3886
|
*/
|
|
3704
|
-
export declare const SidebarTabPanel: ({ groups, actions, searchPlaceholder, loading, skeleton, emptyState, noResultsLabel, animateItems, className }: SidebarTabPanelProps) => import("react").JSX.Element;
|
|
3887
|
+
export declare const SidebarTabPanel: ({ groups, actions, searchPlaceholder, searchValue, onSearchChange, searchSections, announcement, loading, skeleton, emptyState, noResultsLabel, animateItems, className }: SidebarTabPanelProps) => import("react").JSX.Element;
|
|
3705
3888
|
//#endregion
|
|
3706
3889
|
//#region src/blocks/Navigation/Sidebar/Tabs/Tabs.d.ts
|
|
3707
3890
|
export interface SidebarTab {
|
|
@@ -6927,6 +7110,16 @@ interface F0ChatProps {
|
|
|
6927
7110
|
/** Close the hosting panel. Hidden when omitted, and always on the `page`
|
|
6928
7111
|
* surface. */
|
|
6929
7112
|
onClose?: () => void;
|
|
7113
|
+
/**
|
|
7114
|
+
* Open the conversation at this message: once the transcript is ready, it
|
|
7115
|
+
* is loaded if it lies outside the window (`loadMessageContext`), scrolled
|
|
7116
|
+
* to and highlighted, as a reply quote does. A search hit opened from
|
|
7117
|
+
* outside the conversation is the case this exists for. Each id is focused
|
|
7118
|
+
* once while it stays set; clear it and pass it again to jump back.
|
|
7119
|
+
*/
|
|
7120
|
+
focusMessageId?: string;
|
|
7121
|
+
/** The message in `focusMessageId` was focused — clear it on your side. */
|
|
7122
|
+
onMessageFocused?: () => void;
|
|
6930
7123
|
/**
|
|
6931
7124
|
* Host-provided header actions (pin, mute, edit group…). Search is the only
|
|
6932
7125
|
* built-in one. The function form receives the current channel so each
|
|
@@ -7005,7 +7198,7 @@ interface F0ChatProps {
|
|
|
7005
7198
|
* the {@link F0ChatRuntime} from a surrounding `F0ChatProvider`. Panel controls
|
|
7006
7199
|
* (fullscreen / close) are wired by the host so F0Chat stays transport-agnostic.
|
|
7007
7200
|
*/
|
|
7008
|
-
export declare const F0Chat: ({ surface, tabs, activeTabId, onActiveTabChange, htmlSandbox, htmlExecution, ...props }: F0ChatProps) => ReactNode;
|
|
7201
|
+
export declare const F0Chat: ({ surface, tabs, activeTabId, onActiveTabChange, htmlSandbox, htmlExecution, focusMessageId, onMessageFocused, ...props }: F0ChatProps) => ReactNode;
|
|
7009
7202
|
//#endregion
|
|
7010
7203
|
//#region src/domains/platform/communications/chat/F0Chat/providers/F0ChatProvider.d.ts
|
|
7011
7204
|
/**
|