@factorialco/f0-react 9.5.1 → 9.5.2

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.
Files changed (31) hide show
  1. package/dist/{ChatPdfThumbnail-3RDmTrPE.js → ChatPdfThumbnail-8s2Le3pz.js} +1 -1
  2. package/dist/{ChatPostComposerDialog-CAzDe7vF.js → ChatPostComposerDialog-C65JZV8Q.js} +3 -3
  3. package/dist/{CoachmarkProvider-HXpz6Xoa.js → CoachmarkProvider-DxlZHkga.js} +13589 -13350
  4. package/dist/{DocumentToolbar-DPgtVBB4.js → DocumentToolbar-C5TrJERi.js} +2 -2
  5. package/dist/{DocxViewer-necYCjAx.js → DocxViewer-B5QPRhae.js} +2 -2
  6. package/dist/{F0AiProcessingOverlay-CNi4qf1K.js → F0AiProcessingOverlay-BB7vWJUN.js} +1 -1
  7. package/dist/{F0CanvasPanel-yY1wnaOC.js → F0CanvasPanel-CebMUA6-.js} +21904 -22116
  8. package/dist/{F0DocumentViewer-D8rUyv7b.js → F0DocumentViewer-wy_8k7F8.js} +3 -3
  9. package/dist/{F0Map-CgOB5xR6.js → F0Map-Dgj4Hdj0.js} +4 -4
  10. package/dist/{F0VideoPlayer-wDMq0_kA.js → F0VideoPlayer-uvCGbl-R.js} +2 -2
  11. package/dist/{SheetViewer-BAXLPjmy.js → SheetViewer-a62c1qpd.js} +3 -3
  12. package/dist/{TextViewer-C3iadHR9.js → TextViewer-DQzbYd-J.js} +2 -2
  13. package/dist/ai.d.ts +52 -52
  14. package/dist/ai.js +2 -2
  15. package/dist/component-status.d.ts +19 -19
  16. package/dist/component-status.js +1 -1
  17. package/dist/{experimental-nO11rIR4.js → experimental-BjDkIQrU.js} +50 -51
  18. package/dist/experimental.d.ts +60 -207
  19. package/dist/experimental.js +4 -4
  20. package/dist/f0.d.ts +64 -1713
  21. package/dist/f0.js +90 -90
  22. package/dist/i18n-provider-defaults.d.ts +19 -19
  23. package/dist/{index-BDTXi-jh.js → index--y-m1zd0.js} +3 -3
  24. package/dist/index-BhU-0fSe.js +8 -0
  25. package/dist/{index-ZodzV1xk.js → index-ByoHGgu8.js} +1 -1
  26. package/dist/index-DA65v5fO.js +4 -0
  27. package/dist/{index-K2VL_tP0.js → index-DD5anxnp.js} +2 -2
  28. package/dist/{pdfWorker-fW7pEi9c.js → pdfWorker-ZseFB0UO.js} +2 -2
  29. package/package.json +4 -6
  30. package/dist/index-CEQKtsvf.js +0 -4
  31. package/dist/index-D1esL6yA.js +0 -8
@@ -33,7 +33,6 @@ import { CountryCellValue } from './types/country';
33
33
  import { DataAttributes as DataAttributes_3 } from './experimental';
34
34
  import { DateCellValue } from './types/date';
35
35
  import { DateCellValue as DateCellValue_2 } from './experimental';
36
- import { DateFilterOptions } from './DateFilter/DateFilter';
37
36
  import { default as default_2 } from 'react';
38
37
  import { DeltaCellValue } from './types/delta';
39
38
  import { Dispatch } from 'react';
@@ -54,7 +53,6 @@ import { HTMLAttributes } from 'react';
54
53
  import { HTMLInputTypeAttribute } from 'react';
55
54
  import { IconCellValue } from './types/icon';
56
55
  import { IconType as IconType_2 } from './experimental';
57
- import { InFilterOptions } from './InFilter/types';
58
56
  import { ItemProps } from './types';
59
57
  import { JSONContent } from '@tiptap/react';
60
58
  import { JSONContent as JSONContent_2 } from '@tiptap/core';
@@ -66,7 +64,6 @@ import { LongTextCellValue } from './types/longText';
66
64
  import { MouseEvent as MouseEvent_2 } from 'react';
67
65
  import { NumberCellValue } from './types/number';
68
66
  import { NumberCellValue as NumberCellValue_2 } from './experimental';
69
- import { NumberFilterOptions } from './NumberFilter/NumberFilter';
70
67
  import { Observable } from 'zen-observable-ts';
71
68
  import { PercentageCellValue } from './types/percentage';
72
69
  import { PersonCellValue } from './types/person';
@@ -88,7 +85,6 @@ import { Ref } from 'react';
88
85
  import { RefAttributes } from 'react';
89
86
  import { RefObject } from 'react';
90
87
  import { ScrollAreaProps } from '@radix-ui/react-scroll-area';
91
- import { SearchFilterOptions } from './SearchFilter/SearchFilter';
92
88
  import { StatusCellValue } from './types/status';
93
89
  import { StatusCellValue as StatusCellValue_2 } from './experimental';
94
90
  import { SummaryCellValue } from './types/summary';
@@ -1268,22 +1264,6 @@ declare type AvatarVariant = DistributiveOmit<({
1268
1264
  type: "icon";
1269
1265
  } & F0AvatarIconProps), "size">;
1270
1266
 
1271
- declare type AvatarVariant_2 = ({
1272
- type: "person";
1273
- } & Omit<F0AvatarPersonProps, "size">) | ({
1274
- type: "team";
1275
- } & Omit<F0AvatarTeamProps, "size">) | ({
1276
- type: "company";
1277
- } & Omit<F0AvatarCompanyProps, "size">) | ({
1278
- type: "file";
1279
- } & Omit<F0AvatarFileProps, "size">) | ({
1280
- type: "flag";
1281
- } & Omit<F0AvatarFlagProps, "size">) | ({
1282
- type: "emoji";
1283
- } & Omit<F0AvatarEmojiProps, "size">) | ({
1284
- type: "icon";
1285
- } & Omit<F0AvatarIconProps, "size">);
1286
-
1287
1267
  /**
1288
1268
  * @experimental This is an experimental component use it at your own risk
1289
1269
  */
@@ -2239,11 +2219,6 @@ declare interface CardBookmark {
2239
2219
  label?: string;
2240
2220
  }
2241
2221
 
2242
- /**
2243
- * Group Cards: Renders
2244
- */
2245
- declare type CardCollectionProps<Record extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<Record>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<Record>> = CollectionProps<Record, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping, CardVisualizationOptions<Record, Filters, Sortings>>;
2246
-
2247
2222
  /** Size of the trailing controls (buttons and the "⋯" menu trigger). */
2248
2223
  declare type CardHorizontalActionsSize = "sm" | "md";
2249
2224
 
@@ -2444,22 +2419,22 @@ declare type CardPropertyDefinition<T> = PropertyDefinition_2<T> & {
2444
2419
  };
2445
2420
 
2446
2421
  declare const cardPropertyRenderers: {
2447
- readonly text: (args: TextCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
2448
- readonly number: (args: NumberCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
2449
- readonly date: (args: DateCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
2450
- readonly amount: (args: AmountCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
2451
- readonly person: (args: PersonCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
2452
- readonly company: (args: CompanyCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
2453
- readonly team: (args: TeamCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
2454
- readonly status: (args: StatusCellValue_2) => default_2.JSX.Element;
2455
- readonly tag: (args: TagCellValue_2) => default_2.JSX.Element;
2456
- readonly avatarList: (args: AvatarListCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
2457
- readonly tagList: (args: TagListCellValue_2) => default_2.JSX.Element;
2458
- readonly alertTag: (args: AlertTagCellValue_2) => default_2.JSX.Element;
2459
- readonly dotTag: (args: DotTagCellValue_2) => default_2.JSX.Element;
2460
- readonly file: (args: FileCellValue_2) => default_2.JSX.Element;
2461
- readonly folder: (args: FolderCellValue_2) => default_2.JSX.Element;
2462
- readonly progressBar: (args: ProgressBarCellValue_2, _meta: ValueDisplayRendererContext_2) => default_2.JSX.Element | null;
2422
+ readonly text: (args: TextCellValue_2, meta: ValueDisplayRendererContext_2) => JSX_2.Element;
2423
+ readonly number: (args: NumberCellValue_2, meta: ValueDisplayRendererContext_2) => JSX_2.Element;
2424
+ readonly date: (args: DateCellValue_2, meta: ValueDisplayRendererContext_2) => JSX_2.Element;
2425
+ readonly amount: (args: AmountCellValue_2, meta: ValueDisplayRendererContext_2) => JSX_2.Element;
2426
+ readonly person: (args: PersonCellValue_2, meta: ValueDisplayRendererContext_2) => JSX_2.Element;
2427
+ readonly company: (args: CompanyCellValue_2, meta: ValueDisplayRendererContext_2) => JSX_2.Element;
2428
+ readonly team: (args: TeamCellValue_2, meta: ValueDisplayRendererContext_2) => JSX_2.Element;
2429
+ readonly status: (args: StatusCellValue_2) => JSX_2.Element;
2430
+ readonly tag: (args: TagCellValue_2) => JSX_2.Element;
2431
+ readonly avatarList: (args: AvatarListCellValue_2, meta: ValueDisplayRendererContext_2) => JSX_2.Element;
2432
+ readonly tagList: (args: TagListCellValue_2) => JSX_2.Element;
2433
+ readonly alertTag: (args: AlertTagCellValue_2) => JSX_2.Element;
2434
+ readonly dotTag: (args: DotTagCellValue_2) => JSX_2.Element;
2435
+ readonly file: (args: FileCellValue_2) => JSX_2.Element;
2436
+ readonly folder: (args: FolderCellValue_2) => JSX_2.Element;
2437
+ readonly progressBar: (args: ProgressBarCellValue_2, _meta: ValueDisplayRendererContext_2) => JSX_2.Element | null;
2463
2438
  };
2464
2439
 
2465
2440
  declare type CardPropertyType = keyof typeof cardPropertyRenderers;
@@ -2975,19 +2950,6 @@ declare type ChildrenResponse<R extends RecordType> = NestedResponseWithType<R>;
2975
2950
  */
2976
2951
  export declare const Chip: ({ deactivated, label, variant, onClick, onClose, avatar, icon, }: ChipProps) => JSX_2.Element;
2977
2952
 
2978
- declare type ChipLabel = {
2979
- label: string;
2980
- } & ({
2981
- icon: IconType;
2982
- avatar?: never;
2983
- } | {
2984
- icon?: never;
2985
- avatar: AvatarVariant_2;
2986
- } | {
2987
- icon?: never;
2988
- avatar?: never;
2989
- });
2990
-
2991
2953
  export declare type ChipProps = BaseChipProps & ChipVariants & {
2992
2954
  variant?: "default" | "selected";
2993
2955
  };
@@ -3638,18 +3600,6 @@ export declare type CollectionSelectSourceDefinition = WithBivariantCallbacks<Om
3638
3600
  dataAdapter: WithBivariantCallbacks<DataAdapter<RecordType, FiltersDefinition>>;
3639
3601
  };
3640
3602
 
3641
- declare type CollectionVisualizations<Record extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<Record>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<Record>> = {
3642
- table: VisualizacionTypeDefinition<TableCollectionProps<Record, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping>, TableVisualizationSettings>;
3643
- editableTable: VisualizacionTypeDefinition<EditableTableCollectionProps<Record, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping>, EditableTableVisualizationSettings>;
3644
- list: VisualizacionTypeDefinition<ListCollectionProps<Record, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping>>;
3645
- card: VisualizacionTypeDefinition<CardCollectionProps<Record, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping>>;
3646
- kanban: VisualizacionTypeDefinition<KanbanCollectionProps<Record, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping>>;
3647
- graph: VisualizacionTypeDefinition<GraphCollectionProps<Record, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping>, GraphVisualizationSettings>;
3648
- map: VisualizacionTypeDefinition<MapCollectionProps<Record, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping>>;
3649
- };
3650
-
3651
- declare const collectionVisualizations: CollectionVisualizations<RecordType, FiltersDefinition, SortingsDefinition, SummariesDefinition, ItemActionsDefinition<RecordType>, NavigationFiltersDefinition, GroupingDefinition<RecordType>>;
3652
-
3653
3603
  declare type ColumnNumber = 1 | 2 | 3 | 4 | 6;
3654
3604
 
3655
3605
  declare type ColumnWidth = keyof typeof columnWidths | number;
@@ -4637,12 +4587,6 @@ declare type DataCollectionSettings = {
4637
4587
  visualization: VisualizationSettings;
4638
4588
  };
4639
4589
 
4640
- declare interface DataCollectionSettingsContextType {
4641
- setSettings: default_2.Dispatch<default_2.SetStateAction<DataCollectionSettings>>;
4642
- settings: DataCollectionSettings;
4643
- setVisualizationSettings: (key: keyof VisualizationSettings, settings: VisualizationSettings[keyof VisualizationSettings] | ((prev: VisualizationSettings[keyof VisualizationSettings]) => VisualizationSettings[keyof VisualizationSettings])) => void;
4644
- }
4645
-
4646
4590
  /**
4647
4591
  * Data collection source
4648
4592
  * Extends the base data source with data collection specific elements / features
@@ -4943,10 +4887,10 @@ declare type DateCellConfig = {
4943
4887
  };
4944
4888
 
4945
4889
  export declare type DateFilterDefinition = BaseFilterDefinition<"date"> & {
4946
- options?: DateFilterOptions_2;
4890
+ options?: DateFilterOptions;
4947
4891
  };
4948
4892
 
4949
- declare type DateFilterOptions_2 = {
4893
+ declare type DateFilterOptions = {
4950
4894
  minDate?: Date;
4951
4895
  maxDate?: Date;
4952
4896
  mode?: CalendarMode;
@@ -7122,8 +7066,6 @@ declare type EditableTableCellChanges<R extends RecordType> = {
7122
7066
  /** The edit mode for a column cell in the editable table. */
7123
7067
  declare type EditableTableCellEditType = "text" | "number" | "money" | "date" | "select" | "multiselect" | "display-only" | "disabled";
7124
7068
 
7125
- declare type EditableTableCollectionProps<R extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<R>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<R>> = CollectionProps<R, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping, EditableTableVisualizationOptions<R, Filters, Sortings, Summaries>>;
7126
-
7127
7069
  /**
7128
7070
  * Column definition for Editable Table.
7129
7071
  *
@@ -7519,12 +7461,6 @@ declare type ExpenseProfile = {
7519
7461
  */
7520
7462
  export declare type ExtractPropertyKeys<RecordType> = keyof RecordType;
7521
7463
 
7522
- declare type ExtractVisualizationSettings<T> = T extends {
7523
- settings: {
7524
- default: infer S;
7525
- };
7526
- } ? S : never;
7527
-
7528
7464
  /**
7529
7465
  * WHERE A HOST HANGS SOMETHING OFF THE CONVERSATION'S NAME — a coachmark
7530
7466
  * explaining a limit, a tour step, a hint. F0 owns the header's markup, so it
@@ -12922,7 +12858,9 @@ export declare const filterActions: (groups: SecondaryActionGroup[]) => Secondar
12922
12858
  export declare type FilterDefinition = FilterDefinitionsByType[keyof FilterDefinitionsByType];
12923
12859
 
12924
12860
  /**
12925
- * All the available filter types
12861
+ * The filter definition types, separate from the `filterTypes` registry that
12862
+ * implements them: the registry pulls in every filter's component, and those
12863
+ * components reach back here through OneFilterPicker's own types.
12926
12864
  */
12927
12865
  declare type FilterDefinitionsByType<T = unknown, R extends RecordType = RecordType> = {
12928
12866
  in: InFilterDefinition<T, R>;
@@ -12966,66 +12904,7 @@ export declare type FiltersState<Definition extends Record<string, FilterDefinit
12966
12904
  [K in keyof Definition]?: FilterValue<Definition[K]>;
12967
12905
  };
12968
12906
 
12969
- declare type FilterTypeContext<Options extends object = never> = {
12970
- schema: FilterTypeSchema<Options>;
12971
- i18n: I18nContextType;
12972
- /** The key of this filter in the FiltersDefinition (passed to chipLabel for nested label lookups) */
12973
- filterKey?: string;
12974
- };
12975
-
12976
- declare type FilterTypeDefinition<Value = unknown, Options extends object = never, EmptyValue = Value, OptionalOptions extends boolean = false> = {
12977
- emptyValue: EmptyValue;
12978
- /** Check if the value is empty */
12979
- isEmpty: (value: Value | undefined, context: FilterTypeContext<Options>) => boolean;
12980
- /** Render the filter form */
12981
- render: <Schema extends FilterTypeSchema<Options, OptionalOptions>>(props: {
12982
- schema: Schema;
12983
- value: Value;
12984
- onChange: (value: Value) => void;
12985
- isCompactMode?: boolean;
12986
- onFilterChange?: (key: string, value: unknown) => void;
12987
- allFiltersValue?: Record<string, unknown>;
12988
- }) => React.ReactNode;
12989
- /**
12990
- * The value label to display in the filter chips
12991
- */
12992
- chipLabel: (value: Value, context: FilterTypeContext<Options>) => string | ChipLabel | Promise<string | ChipLabel>;
12993
- /**
12994
- * The default options to render a filter of this type, for example max and min date for a date filter, the list of options for an in filter, etc
12995
- */
12996
- defaultOptions?: Options;
12997
- /**
12998
- * The height of the filter form container in pixels
12999
- */
13000
- formHeight?: number;
13001
- };
13002
-
13003
- declare type FilterTypeKey = keyof typeof filterTypes;
13004
-
13005
- declare const filterTypes: {
13006
- readonly in: FilterTypeDefinition<string[], InFilterOptions<string>>;
13007
- readonly search: FilterTypeDefinition<string | {
13008
- value: string;
13009
- strict: boolean;
13010
- }, SearchFilterOptions, string | {
13011
- value: string;
13012
- strict: boolean;
13013
- }, true>;
13014
- readonly date: FilterTypeDefinition<Date | DateRange | undefined, DateFilterOptions>;
13015
- readonly number: FilterTypeDefinition<NumberFilterValue, NumberFilterOptions>;
13016
- };
13017
-
13018
- declare type FilterTypeSchema<Options extends object = never, OptionalOptions extends boolean = false> = OptionalOptions extends true ? FilterTypeSchemaOptionalOptions<Options> : FilterTypeSchemaRequiredOptions<Options>;
13019
-
13020
- declare type FilterTypeSchemaOptionalOptions<Options extends object = never> = {
13021
- label: string;
13022
- options?: Options extends never ? never : Options;
13023
- };
13024
-
13025
- declare type FilterTypeSchemaRequiredOptions<Options extends object = never> = {
13026
- label: string;
13027
- options: Options extends never ? never : Options;
13028
- };
12907
+ declare type FilterTypeKey = keyof FilterDefinitionsByType;
13029
12908
 
13030
12909
  /**
13031
12910
  * Extracts the appropriate value type for a given filter:
@@ -13266,8 +13145,6 @@ export declare type GranularityDefinitionsOptions = {
13266
13145
  periods?: DatePeriodsDefinition;
13267
13146
  };
13268
13147
 
13269
- declare type GraphCollectionProps<Record extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<Record>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<Record>> = CollectionProps<Record, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping, GraphVisualizationOptions<Record, Filters, Sortings>>;
13270
-
13271
13148
  /**
13272
13149
  * Configuration for the "graph" visualization (org-chart style).
13273
13150
  *
@@ -14223,10 +14100,6 @@ export declare interface HomeWidgetSlot {
14223
14100
 
14224
14101
  declare type HTMLString = string;
14225
14102
 
14226
- declare type I18nContextType = TranslationsType & {
14227
- t: (key: TranslationKey, args?: Record<string, string | number>) => string;
14228
- };
14229
-
14230
14103
  declare type IconAvatarVariant = Extract<AvatarVariant, {
14231
14104
  type: "icon";
14232
14105
  }>;
@@ -14300,7 +14173,7 @@ declare type InferRecord<S> = S extends {
14300
14173
  } ? R : never;
14301
14174
 
14302
14175
  export declare type InFilterDefinition<T = string | number, R extends RecordType = RecordType> = BaseFilterDefinition<"in"> & {
14303
- options: InFilterOptions_2<T, R>;
14176
+ options: InFilterOptions<T, R>;
14304
14177
  };
14305
14178
 
14306
14179
  /**
@@ -14329,7 +14202,7 @@ declare type InFilterOptionItem<T = unknown> = {
14329
14202
  * Represents the options for the InFilter component.
14330
14203
  * @template T - Type of the underlying value
14331
14204
  */
14332
- declare type InFilterOptions_2<T, _R extends RecordType = RecordType> = {
14205
+ declare type InFilterOptions<T, _R extends RecordType = RecordType> = {
14333
14206
  cache?: boolean;
14334
14207
  /**
14335
14208
  * Filter keys holding nested child selections. Only needed for async or
@@ -14682,10 +14555,6 @@ declare type JobPostingProfile = {
14682
14555
  location?: string;
14683
14556
  };
14684
14557
 
14685
- declare type Join<T extends string[], D extends string> = T extends [] ? never : T extends [infer F] ? F : T extends [infer F, ...infer R] ? F extends string ? `${F}${D}${Join<Extract<R, string[]>, D>}` : never : string;
14686
-
14687
- declare type KanbanCollectionProps<Record extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<Record>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<Record>> = CollectionProps<Record, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping, KanbanVisualizationOptions<Record, Filters, Sortings>>;
14688
-
14689
14558
  declare type KanbanLaneDefinition = {
14690
14559
  id: string;
14691
14560
  title: string;
@@ -14814,11 +14683,6 @@ declare type ListClickData<C> = C extends "link" ? {
14814
14683
  href: string;
14815
14684
  } : object;
14816
14685
 
14817
- /**
14818
- * Group List: Renders the list for a group
14819
- */
14820
- declare type ListCollectionProps<Record extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<Record>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<Record>> = CollectionProps<Record, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping, ListVisualizationOptions<Record, Filters, Sortings>>;
14821
-
14822
14686
  /**
14823
14687
  * A row's glyph tint: one of {@link listIconColors}, or a HEX of your own.
14824
14688
  *
@@ -15072,8 +14936,6 @@ export declare type LocationPart = (typeof locationParts)[number];
15072
14936
  /** Every part the manual entry block renders, in the order it renders them */
15073
14937
  export declare const locationParts: readonly ["country", "addressLine1", "addressLine2", "city", "state", "postalCode"];
15074
14938
 
15075
- declare type MapCollectionProps<Record extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<Record>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<Record>> = CollectionProps<Record, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping, MapVisualizationOptions<Record, Filters, Sortings>>;
15076
-
15077
14939
  /** Selection handles handed to the panels, so their content can drive the map. */
15078
14940
  declare type MapSidebarApi<R extends RecordType> = {
15079
14941
  /** Select a record (or clear with `null`), flying to its marker if it has one. */
@@ -15510,10 +15372,6 @@ declare type MetadataCopyAction = {
15510
15372
  type: "copy";
15511
15373
  };
15512
15374
 
15513
- export declare function MetadataItem({ item }: {
15514
- item: MetadataItem;
15515
- }): JSX_2.Element;
15516
-
15517
15375
  export declare interface MetadataItem {
15518
15376
  label: string;
15519
15377
  value: MetadataItemValue;
@@ -16059,10 +15917,10 @@ declare type NumberCellConfig<R extends RecordType = RecordType> = {
16059
15917
  };
16060
15918
 
16061
15919
  export declare type NumberFilterDefinition = BaseFilterDefinition<"number"> & {
16062
- options?: NumberFilterOptions_2;
15920
+ options?: NumberFilterOptions;
16063
15921
  };
16064
15922
 
16065
- declare type NumberFilterOptions_2 = {
15923
+ declare type NumberFilterOptions = {
16066
15924
  min?: number;
16067
15925
  max?: number;
16068
15926
  modes?: readonly ("range" | "single")[];
@@ -16922,10 +16780,6 @@ declare type PanelBounds = {
16922
16780
  shouldOverlay: boolean;
16923
16781
  };
16924
16782
 
16925
- declare type PathsToStringProps<T> = T extends string ? [] : {
16926
- [K in Extract<keyof T, string>]: [K, ...PathsToStringProps<T[K]>];
16927
- }[Extract<keyof T, string>];
16928
-
16929
16783
  declare type PersonAvatarVariant = Extract<AvatarVariant, {
16930
16784
  type: "person";
16931
16785
  }>;
@@ -19087,8 +18941,6 @@ export declare type TabItem = {
19087
18941
  id: string;
19088
18942
  });
19089
18943
 
19090
- declare type TableCollectionProps<R extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<R>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<R>> = CollectionProps<R, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping, TableVisualizationOptions<R, Filters, Sortings, Summaries>>;
19091
-
19092
18944
  declare type TableColumnDefinition<R extends RecordType, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition> = WithOptionalSorting<R, Sortings> & Pick<ComponentProps<typeof TableHead>, "hidden" | "info" | "infoIcon" | "sticky" | "width" | "minWidth"> & {
19093
18945
  /**
19094
18946
  * Optional summary configuration for this column
@@ -19834,8 +19686,6 @@ declare type TranscribeOptions = {
19834
19686
  signal?: AbortSignal;
19835
19687
  };
19836
19688
 
19837
- declare type TranslationKey = Join<PathsToStringProps<typeof defaultTranslations>, ".">;
19838
-
19839
19689
  declare type TranslationShape<T> = {
19840
19690
  [K in keyof T]: T[K] extends string ? string : T[K] extends Record<string, string | Record<string, unknown>> ? TranslationShape<T[K]> : never;
19841
19691
  };
@@ -20623,17 +20473,6 @@ declare type VirtualListProps = {
20623
20473
  className?: string;
20624
20474
  };
20625
20475
 
20626
- declare type VisualizacionTypeDefinition<Props, Settings = Record<string, never>> = {
20627
- render: (props: Props) => JSX.Element;
20628
- name: string;
20629
- icon: IconType;
20630
- settings: {
20631
- default: Settings;
20632
- renderer?: (props: Props) => JSX.Element | null;
20633
- resetHandler?: (settings: DataCollectionSettingsContextType) => void;
20634
- };
20635
- };
20636
-
20637
20476
  /**
20638
20477
  * Represents a visualization configuration for displaying collection data.
20639
20478
  * Supports different visualization types (card, table, or custom) with their respective options.
@@ -20738,8 +20577,22 @@ declare type VisualizationLabelOverrides = {
20738
20577
  */
20739
20578
  declare type VisualizationMode = "sidepanel" | "fullscreen" | "canvas";
20740
20579
 
20580
+ /**
20581
+ * The settings each visualization keeps, by visualization key.
20582
+ *
20583
+ * Declared here rather than inferred from `collectionViewRegistry`, because
20584
+ * every visualization in that registry reads the settings context, so the
20585
+ * context cannot import the registry. `collectionViewRegistry` checks its own
20586
+ * keys against this map.
20587
+ */
20741
20588
  declare type VisualizationSettings = {
20742
- [K in keyof typeof collectionVisualizations]: ExtractVisualizationSettings<(typeof collectionVisualizations)[K]>;
20589
+ table: TableVisualizationSettings;
20590
+ editableTable: EditableTableVisualizationSettings;
20591
+ list: Record<string, never>;
20592
+ card: Record<string, never>;
20593
+ kanban: Record<string, never>;
20594
+ graph: GraphVisualizationSettings;
20595
+ map: Record<string, never>;
20743
20596
  };
20744
20597
 
20745
20598
  export declare const Weekdays: ForwardRefExoticComponent<WeekdaysProps & RefAttributes<HTMLDivElement>>;
@@ -21384,10 +21237,8 @@ declare namespace Calendar {
21384
21237
 
21385
21238
  declare module "@tiptap/core" {
21386
21239
  interface Commands<ReturnType> {
21387
- videoEmbed: {
21388
- setVideoEmbed: (options: {
21389
- src: string;
21390
- }) => ReturnType;
21240
+ moodTracker: {
21241
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
21391
21242
  };
21392
21243
  }
21393
21244
  }
@@ -21395,8 +21246,11 @@ declare module "@tiptap/core" {
21395
21246
 
21396
21247
  declare module "@tiptap/core" {
21397
21248
  interface Commands<ReturnType> {
21398
- transcript: {
21399
- insertTranscript: (data: TranscriptData) => ReturnType;
21249
+ enhanceHighlight: {
21250
+ setEnhanceHighlight: (from: number, to: number, options?: {
21251
+ placeholder?: string;
21252
+ }) => ReturnType;
21253
+ clearEnhanceHighlight: () => ReturnType;
21400
21254
  };
21401
21255
  }
21402
21256
  }
@@ -21415,8 +21269,9 @@ declare module "@tiptap/core" {
21415
21269
 
21416
21270
  declare module "@tiptap/core" {
21417
21271
  interface Commands<ReturnType> {
21418
- moodTracker: {
21419
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
21272
+ aiBlock: {
21273
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
21274
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
21420
21275
  };
21421
21276
  }
21422
21277
  }
@@ -21424,11 +21279,9 @@ declare module "@tiptap/core" {
21424
21279
 
21425
21280
  declare module "@tiptap/core" {
21426
21281
  interface Commands<ReturnType> {
21427
- enhanceHighlight: {
21428
- setEnhanceHighlight: (from: number, to: number, options?: {
21429
- placeholder?: string;
21430
- }) => ReturnType;
21431
- clearEnhanceHighlight: () => ReturnType;
21282
+ fontSize: {
21283
+ setFontSize: (fontSize: string) => ReturnType;
21284
+ unsetFontSize: () => ReturnType;
21432
21285
  };
21433
21286
  }
21434
21287
  }
@@ -21436,9 +21289,8 @@ declare module "@tiptap/core" {
21436
21289
 
21437
21290
  declare module "@tiptap/core" {
21438
21291
  interface Commands<ReturnType> {
21439
- fontSize: {
21440
- setFontSize: (fontSize: string) => ReturnType;
21441
- unsetFontSize: () => ReturnType;
21292
+ transcript: {
21293
+ insertTranscript: (data: TranscriptData) => ReturnType;
21442
21294
  };
21443
21295
  }
21444
21296
  }
@@ -21446,9 +21298,10 @@ declare module "@tiptap/core" {
21446
21298
 
21447
21299
  declare module "@tiptap/core" {
21448
21300
  interface Commands<ReturnType> {
21449
- aiBlock: {
21450
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
21451
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
21301
+ videoEmbed: {
21302
+ setVideoEmbed: (options: {
21303
+ src: string;
21304
+ }) => ReturnType;
21452
21305
  };
21453
21306
  }
21454
21307
  }
@@ -1,7 +1,7 @@
1
- import { K as s, J as t, A as i, b as o, _ as r, bv as n, bu as l, bw as S, I as d, M as b, Q as g, a0 as c, bC as u, bD as C, bM as m, O as p, N as F, bB as P, bN as T, T as h, R as I, ah as M, c6 as f, cd as E, $ as A, c5 as D, E as L, e as R, g as y, w as B, aC as k, aF as _, aD as v, aA as O, U as W, h as N, br as H, F as x, aL as w, k as V, aQ as G, aM as z, aN as U, aO as K, q as X, v as j, x as Q, y as Y, C as Z, aE as $, P as q, bQ as J, bR as aa, bF as ea, aK as sa, bU as ta, c3 as ia, bx as oa, b3 as ra, aP as na, b1 as la, b0 as Sa, aV as da, b2 as ba, ak as ga, bP as ca, a6 as ua, at as Ca, Y as ma, X as pa, Z as Fa, ch as Pa, a7 as Ta, a5 as ha, a1 as Ia, a2 as Ma, by as fa, V as Ea, c1 as Aa, c7 as Da, S as La, an as Ra, ao as ya, ac as Ba, ad as ka, ae as _a, ab as va, af as Oa, a8 as Wa, ag as Na, ai as Ha, aj as xa, al as wa, am as Va, ap as Ga, aq as za, ar as Ua, cb as Ka, ca as Xa, bt as ja, bs as Qa, bA as Ya, bO as Za, bL as $a, bz as qa, as as Ja, bG as ae, cc as ee, cf as se, bE as te, bJ as ie, bH as oe, cg as re, bK as ne, bI as le, ce as Se, d as de, l as be, b9 as ge, ax as ce, az as ue, j as Ce, aY as me, c9 as pe, c8 as Fe, ay as Pe, au as Te, aG as he, f as Ie, bm as Me, bq as fe, bk as Ee, bl as Ae, bi as De, bj as Le, bn as Re, bo as ye, bh as Be, o as ke, p as _e, bp as ve, bX as Oe, bV as We, aJ as Ne, aH as He, aI as xe, b5 as we, c4 as Ve, bW as Ge, D as ze, G as Ue, m as Ke, bc as Xe, W as je, H as Qe, bd as Ye, r as Ze, b$ as $e, b8 as qe, t as Je, b7 as as, be as es, bT as ss, bY as ts, av as is, bf as os, c2 as rs, b4 as ns, b6 as ls, B as Ss, ba as ds, bb as bs, c as gs, aB as cs, L as us, i as Cs, aw as ms, u as ps, aR as Fs, aS as Ps, aT as Ts, aU as hs, bS as Is, aZ as Ms, a_ as fs, aW as Es, aX as As, a4 as Ds, a3 as Ls, aa as Rs, a9 as ys, z as Bs, a$ as ks, bg as _s, c0 as vs, b_ as Os, bZ as Ws } from "./experimental-nO11rIR4.js";
2
- import { ej as Hs, eY as xs, eX as ws, f8 as Vs, r as Gs, eV as zs, cN as Us, co as Ks, cK as Xs, eO as js, cu as Qs, cu as Ys, cr as Zs, eP as $s, cQ as qs, ez as Js, cR as at, eS as et, fc as st, eT as tt, eW as it, f4 as ot, f5 as rt, ei as nt, fa as lt, l as St, ek as dt, dc as bt, eU as gt, e1 as ct, eZ as ut, T as Ct, h as mt, cs as pt, f9 as Ft, f6 as Pt, fd as Tt, f7 as ht, fb as It, f3 as Mt, f1 as ft, f2 as Et, e$ as At, eQ as Dt, eR as Lt, eK as Rt, e_ as yt, f0 as Bt, dY as kt } from "./F0CanvasPanel-yY1wnaOC.js";
3
- import { aU as vt, aV as Ot, aq as Wt, ar as Nt, ao as Ht, aB as xt, w as wt, as as Vt, b3 as Gt, ax as zt, b2 as Ut, aA as Kt, ap as Xt, aS as jt, aC as Qt, b5 as Yt, b4 as Zt, aH as $t, aJ as qt, aD as Jt, aN as ai, F as ei, an as si, aP as ti, aK as ii, aM as oi, aG as ri, b9 as ni, aQ as li, aR as Si, at as di, b6 as bi, b7 as gi, aI as ci, aT as ui, a$ as Ci, T as mi, b1 as pi, au as Fi, bb as Pi, aw as Ti, ay as hi, aN as Ii, b8 as Mi, aO as fi, aL as Ei, ba as Ai, av as Di, X as Li, az as Ri, am as yi, ak as Bi, al as ki, aY as _i, aZ as vi, aW as Oi, bc as Wi, b0 as Ni, aF as Hi, aE as xi, u as wi, A as Vi, aX as Gi, a_ as zi, a4 as Ui } from "./CoachmarkProvider-HXpz6Xoa.js";
4
- import { a as Xi, e as ji, i as Qi, g as Yi, h as Zi, F as $i, R as qi, m as Ji, f as ao, j as eo, k as so, l as to, u as io } from "./F0Map-CgOB5xR6.js";
1
+ import { K as s, J as t, A as i, b as o, _ as r, bv as n, bu as l, bw as S, I as d, M as b, Q as g, a0 as c, bC as u, bD as C, bM as m, O as p, N as F, bB as P, bN as T, T as h, R as I, ah as M, c6 as f, cd as E, $ as A, c5 as D, E as L, e as R, g as y, w as B, aC as k, aF as _, aD as v, aA as O, U as W, h as N, br as H, F as x, aL as w, k as V, aQ as G, aM as z, aN as U, aO as K, q as X, v as j, x as Q, y as Y, C as Z, aE as $, P as q, bQ as J, bR as aa, bF as ea, aK as sa, bU as ta, c3 as ia, bx as oa, b3 as ra, aP as na, b1 as la, b0 as Sa, aV as da, b2 as ba, ak as ga, bP as ca, a6 as ua, at as Ca, Y as ma, X as pa, Z as Fa, ch as Pa, a7 as Ta, a5 as ha, a1 as Ia, a2 as Ma, by as fa, V as Ea, c1 as Aa, c7 as Da, S as La, an as Ra, ao as ya, ac as Ba, ad as ka, ae as _a, ab as va, af as Oa, a8 as Wa, ag as Na, ai as Ha, aj as xa, al as wa, am as Va, ap as Ga, aq as za, ar as Ua, cb as Ka, ca as Xa, bt as ja, bs as Qa, bA as Ya, bO as Za, bL as $a, bz as qa, as as Ja, bG as ae, cc as ee, cf as se, bE as te, bJ as ie, bH as oe, cg as re, bK as ne, bI as le, ce as Se, d as de, l as be, b9 as ge, ax as ce, az as ue, j as Ce, aY as me, c9 as pe, c8 as Fe, ay as Pe, au as Te, aG as he, f as Ie, bm as Me, bq as fe, bk as Ee, bl as Ae, bi as De, bj as Le, bn as Re, bo as ye, bh as Be, o as ke, p as _e, bp as ve, bX as Oe, bV as We, aJ as Ne, aH as He, aI as xe, b5 as we, c4 as Ve, bW as Ge, D as ze, G as Ue, m as Ke, bc as Xe, W as je, H as Qe, bd as Ye, r as Ze, b$ as $e, b8 as qe, t as Je, b7 as as, be as es, bT as ss, bY as ts, av as is, bf as os, c2 as rs, b4 as ns, b6 as ls, B as Ss, ba as ds, bb as bs, c as gs, aB as cs, L as us, i as Cs, aw as ms, u as ps, aR as Fs, aS as Ps, aT as Ts, aU as hs, bS as Is, aZ as Ms, a_ as fs, aW as Es, aX as As, a4 as Ds, a3 as Ls, aa as Rs, a9 as ys, z as Bs, a$ as ks, bg as _s, c0 as vs, b_ as Os, bZ as Ws } from "./experimental-BjDkIQrU.js";
2
+ import { ej as Hs, eY as xs, eX as ws, f8 as Vs, r as Gs, eV as zs, cN as Us, co as Ks, cK as Xs, eO as js, cu as Qs, cu as Ys, cr as Zs, eP as $s, cQ as qs, ez as Js, cR as at, eS as et, fc as st, eT as tt, eW as it, f4 as ot, f5 as rt, ei as nt, fa as lt, l as St, ek as dt, dc as bt, eU as gt, e1 as ct, eZ as ut, T as Ct, h as mt, cs as pt, f9 as Ft, f6 as Pt, fd as Tt, f7 as ht, fb as It, f3 as Mt, f1 as ft, f2 as Et, e$ as At, eQ as Dt, eR as Lt, eK as Rt, e_ as yt, f0 as Bt, dY as kt } from "./F0CanvasPanel-CebMUA6-.js";
3
+ import { aU as vt, aV as Ot, aq as Wt, ar as Nt, ao as Ht, aB as xt, w as wt, as as Vt, b3 as Gt, ax as zt, b2 as Ut, aA as Kt, ap as Xt, aS as jt, aC as Qt, b5 as Yt, b4 as Zt, aH as $t, aJ as qt, aD as Jt, aN as ai, F as ei, an as si, aP as ti, aK as ii, aM as oi, aG as ri, b9 as ni, aQ as li, aR as Si, at as di, b6 as bi, b7 as gi, aI as ci, aT as ui, a$ as Ci, T as mi, b1 as pi, au as Fi, bb as Pi, aw as Ti, ay as hi, aN as Ii, b8 as Mi, aO as fi, aL as Ei, ba as Ai, av as Di, X as Li, az as Ri, am as yi, ak as Bi, al as ki, aY as _i, aZ as vi, aW as Oi, bc as Wi, b0 as Ni, aF as Hi, aE as xi, u as wi, A as Vi, aX as Gi, a_ as zi, a4 as Ui } from "./CoachmarkProvider-DxlZHkga.js";
4
+ import { a as Xi, e as ji, i as Qi, g as Yi, h as Zi, F as $i, R as qi, m as Ji, f as ao, j as eo, k as so, l as to, u as io } from "./F0Map-Dgj4Hdj0.js";
5
5
  export {
6
6
  vt as AUTO_PER_PAGE_MAX,
7
7
  Ot as AUTO_PER_PAGE_MIN_RESERVED_ROWS,