@factorialco/f0-react 8.29.2 → 8.32.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/{ChatPdfThumbnail-D6VuBmKL.js → ChatPdfThumbnail-BSSuwnX6.js} +1 -1
- package/dist/{ChatPostComposerDialog-BR2tnEB_.js → ChatPostComposerDialog-DT2qzJz7.js} +3 -3
- package/dist/{DocumentToolbar-BXkySUU2.js → DocumentToolbar-COZ7xCb5.js} +2 -2
- package/dist/{DocxViewer-CnRrLDxV.js → DocxViewer-Cwm_Q0g6.js} +2 -2
- package/dist/{F0AiProcessingOverlay-5yU3hakJ.js → F0AiProcessingOverlay-CLBRUF77.js} +940 -958
- package/dist/{F0CanvasPanel-B3fK_tvs.js → F0CanvasPanel-j19rKA2q.js} +12843 -12795
- package/dist/{F0Map-Bvthe47h.js → F0Map-BYEGbNFJ.js} +4 -4
- package/dist/{F0VideoPlayer-DwMVn8dU.js → F0VideoPlayer-DLC7folq.js} +2 -2
- package/dist/{MapProvider-DUNALU0u.js → MapProvider-wJjbpL-O.js} +9370 -9358
- package/dist/{SheetViewer-BMuANRhT.js → SheetViewer-DMCfqh-D.js} +3 -3
- package/dist/{TextViewer-DuY-iHft.js → TextViewer-D4X0yq0F.js} +2 -2
- package/dist/ai.d.ts +17 -6
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +6 -6
- package/dist/component-status.js +1 -1
- package/dist/{experimental-B0tx4Msi.js → experimental-C3h3olmD.js} +8809 -8551
- package/dist/experimental.d.ts +155 -84
- package/dist/experimental.js +80 -80
- package/dist/f0.d.ts +108 -83
- package/dist/f0.js +10 -10
- package/dist/i18n-provider-defaults.d.ts +17 -6
- package/dist/i18n-provider-defaults.js +11 -0
- package/dist/{index-DcDuxEuk.js → index-2cL0J9Pc.js} +3 -3
- package/dist/{index-BP0gmWHk.js → index-D0RZbFbo.js} +3 -3
- package/dist/{index-Dnmr0MFB.js → index-DPzxBulj.js} +2 -2
- package/dist/{index-BnEYZPFR.js → index-XRldN0kV.js} +1 -1
- package/dist/index-no2co85K.js +4 -0
- package/dist/{pdfWorker-DsdhOIFl.js → pdfWorker-CQHWwuw6.js} +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/index-CmOwuIBD.js +0 -4
package/dist/experimental.d.ts
CHANGED
|
@@ -2,16 +2,16 @@ import { AiCalloutAction as AiCalloutAction_2 } from './types';
|
|
|
2
2
|
import { AiCalloutFinding as AiCalloutFinding_2 } from './types';
|
|
3
3
|
import { AiCalloutStatus as AiCalloutStatus_2 } from './types';
|
|
4
4
|
import { AlertAvatarProps as AlertAvatarProps_2 } from './F0AvatarAlert';
|
|
5
|
-
import { AlertTagCellValue } from './
|
|
6
|
-
import { AlertTagCellValue as AlertTagCellValue_2 } from './
|
|
7
|
-
import { AmountCellValue } from './
|
|
8
|
-
import { AmountCellValue as AmountCellValue_2 } from './
|
|
5
|
+
import { AlertTagCellValue } from './types/alertTag';
|
|
6
|
+
import { AlertTagCellValue as AlertTagCellValue_2 } from './experimental';
|
|
7
|
+
import { AmountCellValue } from './types/amount';
|
|
8
|
+
import { AmountCellValue as AmountCellValue_2 } from './experimental';
|
|
9
9
|
import { AnchorHTMLAttributes } from 'react';
|
|
10
10
|
import { AreaChartWidgetProps } from './AreaChartWidget';
|
|
11
11
|
import { AriaAttributes } from 'react';
|
|
12
12
|
import { AutoFill as AutoFill_2 } from 'react';
|
|
13
|
-
import { AvatarListCellValue } from './
|
|
14
|
-
import { AvatarListCellValue as AvatarListCellValue_2 } from './
|
|
13
|
+
import { AvatarListCellValue } from './types/avatarList';
|
|
14
|
+
import { AvatarListCellValue as AvatarListCellValue_2 } from './experimental';
|
|
15
15
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
16
16
|
import { BarChartProps } from './experimental';
|
|
17
17
|
import { BarSeriesCellValue } from './types/barSeries';
|
|
@@ -23,8 +23,8 @@ import { ChartConfig } from './experimental';
|
|
|
23
23
|
import { ChartConfig as ChartConfig_2 } from './utils/types';
|
|
24
24
|
import { ChartPropsBase } from './utils/types';
|
|
25
25
|
import { ClassValue } from 'cva';
|
|
26
|
-
import { CompanyCellValue } from './
|
|
27
|
-
import { CompanyCellValue as CompanyCellValue_2 } from './
|
|
26
|
+
import { CompanyCellValue } from './types/company';
|
|
27
|
+
import { CompanyCellValue as CompanyCellValue_2 } from './experimental';
|
|
28
28
|
import { CompanyItemProps } from './types';
|
|
29
29
|
import { ComponentProps } from 'react';
|
|
30
30
|
import { CompoundCellValue } from './types/compound';
|
|
@@ -32,14 +32,14 @@ import { Context } from 'react';
|
|
|
32
32
|
import { CountCellValue } from './types/count';
|
|
33
33
|
import { CountryCellValue } from './types/country';
|
|
34
34
|
import { DataAttributes as DataAttributes_3 } from './experimental';
|
|
35
|
-
import { DateCellValue } from './
|
|
36
|
-
import { DateCellValue as DateCellValue_2 } from './
|
|
35
|
+
import { DateCellValue } from './types/date';
|
|
36
|
+
import { DateCellValue as DateCellValue_2 } from './experimental';
|
|
37
37
|
import { DateFilterOptions } from './DateFilter/DateFilter';
|
|
38
38
|
import { default as default_2 } from 'react';
|
|
39
39
|
import { DeltaCellValue } from './types/delta';
|
|
40
40
|
import { Dispatch } from 'react';
|
|
41
|
-
import { DotTagCellValue } from './
|
|
42
|
-
import { DotTagCellValue as DotTagCellValue_2 } from './
|
|
41
|
+
import { DotTagCellValue } from './types/dotTag';
|
|
42
|
+
import { DotTagCellValue as DotTagCellValue_2 } from './experimental';
|
|
43
43
|
import { EmployeeItemProps } from './types';
|
|
44
44
|
import { F0CommandPaletteProviderProps as F0CommandPaletteProviderProps_2 } from './types';
|
|
45
45
|
import { F0EmojiPickerProps as F0EmojiPickerProps_2 } from './types';
|
|
@@ -58,10 +58,10 @@ import { F0TagRawProps as F0TagRawProps_2 } from './types';
|
|
|
58
58
|
import { F0TagTeamProps } from './types';
|
|
59
59
|
import { f1Colors } from '@factorialco/f0-core';
|
|
60
60
|
import { FC } from 'react';
|
|
61
|
-
import { FileCellValue } from './
|
|
62
|
-
import { FileCellValue as FileCellValue_2 } from './
|
|
63
|
-
import { FolderCellValue } from './
|
|
64
|
-
import { FolderCellValue as FolderCellValue_2 } from './
|
|
61
|
+
import { FileCellValue } from './types/file';
|
|
62
|
+
import { FileCellValue as FileCellValue_2 } from './experimental';
|
|
63
|
+
import { FolderCellValue } from './types/folder';
|
|
64
|
+
import { FolderCellValue as FolderCellValue_2 } from './experimental';
|
|
65
65
|
import { ForwardedRef } from 'react';
|
|
66
66
|
import { ForwardRefExoticComponent } from 'react';
|
|
67
67
|
import { HourDistributionCellValue } from './types/hourDistribution';
|
|
@@ -80,19 +80,19 @@ import { LineChartProps } from './experimental';
|
|
|
80
80
|
import { LineChartPropsBase } from './utils/types';
|
|
81
81
|
import { LongTextCellValue } from './types/longText';
|
|
82
82
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
|
83
|
-
import { NumberCellValue } from './
|
|
84
|
-
import { NumberCellValue as NumberCellValue_2 } from './
|
|
83
|
+
import { NumberCellValue } from './types/number';
|
|
84
|
+
import { NumberCellValue as NumberCellValue_2 } from './experimental';
|
|
85
85
|
import { NumberFilterOptions } from './NumberFilter/NumberFilter';
|
|
86
86
|
import { Observable } from 'zen-observable-ts';
|
|
87
87
|
import { PercentageCellValue } from './types/percentage';
|
|
88
|
-
import { PersonCellValue } from './
|
|
89
|
-
import { PersonCellValue as PersonCellValue_2 } from './
|
|
88
|
+
import { PersonCellValue } from './types/person';
|
|
89
|
+
import { PersonCellValue as PersonCellValue_2 } from './experimental';
|
|
90
90
|
import { PieChartProps } from './PieChart';
|
|
91
91
|
import { PieChartProps as PieChartProps_2 } from './experimental';
|
|
92
92
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
93
93
|
import { PopoverProps } from '@radix-ui/react-popover';
|
|
94
|
-
import { ProgressBarCellValue } from './
|
|
95
|
-
import { ProgressBarCellValue as ProgressBarCellValue_2 } from './
|
|
94
|
+
import { ProgressBarCellValue } from './types/progressBar';
|
|
95
|
+
import { ProgressBarCellValue as ProgressBarCellValue_2 } from './experimental';
|
|
96
96
|
import { ProgressSeriesCellValue } from './types/progressSeries';
|
|
97
97
|
import { Props as Props_5 } from './types';
|
|
98
98
|
import { PropsWithChildren } from 'react';
|
|
@@ -106,29 +106,29 @@ import { RefAttributes } from 'react';
|
|
|
106
106
|
import { RefObject } from 'react';
|
|
107
107
|
import { ScrollAreaProps } from '@radix-ui/react-scroll-area';
|
|
108
108
|
import { SearchFilterOptions } from './SearchFilter/SearchFilter';
|
|
109
|
-
import { StatusCellValue } from './
|
|
110
|
-
import { StatusCellValue as StatusCellValue_2 } from './
|
|
109
|
+
import { StatusCellValue } from './types/status';
|
|
110
|
+
import { StatusCellValue as StatusCellValue_2 } from './experimental';
|
|
111
111
|
import { SummaryCellValue } from './types/summary';
|
|
112
112
|
import { SVGProps } from 'react';
|
|
113
113
|
import { TagAlertProps } from './experimental';
|
|
114
114
|
import { TagBalanceProps } from './experimental';
|
|
115
|
-
import { TagCellValue } from './
|
|
116
|
-
import { TagCellValue as TagCellValue_2 } from './
|
|
115
|
+
import { TagCellValue } from './types/tag';
|
|
116
|
+
import { TagCellValue as TagCellValue_2 } from './experimental';
|
|
117
117
|
import { TagDotProps } from './experimental';
|
|
118
|
-
import { TagListCellValue } from './
|
|
119
|
-
import { TagListCellValue as TagListCellValue_2 } from './
|
|
118
|
+
import { TagListCellValue } from './types/tagList';
|
|
119
|
+
import { TagListCellValue as TagListCellValue_2 } from './experimental';
|
|
120
120
|
import { TagListProps } from './experimental';
|
|
121
121
|
import { TagRawProps } from './experimental';
|
|
122
122
|
import { TagStatusProps } from './experimental';
|
|
123
123
|
import { TagType } from './experimental';
|
|
124
|
-
import { TeamCellValue } from './
|
|
125
|
-
import { TeamCellValue as TeamCellValue_2 } from './
|
|
124
|
+
import { TeamCellValue } from './types/team';
|
|
125
|
+
import { TeamCellValue as TeamCellValue_2 } from './experimental';
|
|
126
126
|
import { TeamItemProps } from './types';
|
|
127
127
|
import { TextareaHTMLAttributes } from 'react';
|
|
128
|
-
import { TextCellValue } from './
|
|
129
|
-
import { TextCellValue as TextCellValue_2 } from './
|
|
128
|
+
import { TextCellValue } from './types/text';
|
|
129
|
+
import { TextCellValue as TextCellValue_2 } from './experimental';
|
|
130
130
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
131
|
-
import { ValueDisplayRendererContext } from './experimental';
|
|
131
|
+
import { ValueDisplayRendererContext as ValueDisplayRendererContext_2 } from './experimental';
|
|
132
132
|
import { VariantProps } from 'cva';
|
|
133
133
|
import { VerticalBarChartProps } from './experimental';
|
|
134
134
|
import { VirtualItem } from '@tanstack/react-virtual';
|
|
@@ -2455,22 +2455,22 @@ declare type CardPropertyDefinition<T> = PropertyDefinition_2<T> & {
|
|
|
2455
2455
|
};
|
|
2456
2456
|
|
|
2457
2457
|
declare const cardPropertyRenderers: {
|
|
2458
|
-
readonly text: (args:
|
|
2459
|
-
readonly number: (args:
|
|
2460
|
-
readonly date: (args:
|
|
2461
|
-
readonly amount: (args:
|
|
2462
|
-
readonly person: (args:
|
|
2463
|
-
readonly company: (args:
|
|
2464
|
-
readonly team: (args:
|
|
2465
|
-
readonly status: (args:
|
|
2466
|
-
readonly tag: (args:
|
|
2467
|
-
readonly avatarList: (args:
|
|
2468
|
-
readonly tagList: (args:
|
|
2469
|
-
readonly alertTag: (args:
|
|
2470
|
-
readonly dotTag: (args:
|
|
2471
|
-
readonly file: (args:
|
|
2472
|
-
readonly folder: (args:
|
|
2473
|
-
readonly progressBar: (args:
|
|
2458
|
+
readonly text: (args: TextCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
|
|
2459
|
+
readonly number: (args: NumberCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
|
|
2460
|
+
readonly date: (args: DateCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
|
|
2461
|
+
readonly amount: (args: AmountCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
|
|
2462
|
+
readonly person: (args: PersonCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
|
|
2463
|
+
readonly company: (args: CompanyCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
|
|
2464
|
+
readonly team: (args: TeamCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
|
|
2465
|
+
readonly status: (args: StatusCellValue_2) => default_2.JSX.Element;
|
|
2466
|
+
readonly tag: (args: TagCellValue_2) => default_2.JSX.Element;
|
|
2467
|
+
readonly avatarList: (args: AvatarListCellValue_2, meta: ValueDisplayRendererContext_2) => default_2.JSX.Element;
|
|
2468
|
+
readonly tagList: (args: TagListCellValue_2) => default_2.JSX.Element;
|
|
2469
|
+
readonly alertTag: (args: AlertTagCellValue_2) => default_2.JSX.Element;
|
|
2470
|
+
readonly dotTag: (args: DotTagCellValue_2) => default_2.JSX.Element;
|
|
2471
|
+
readonly file: (args: FileCellValue_2) => default_2.JSX.Element;
|
|
2472
|
+
readonly folder: (args: FolderCellValue_2) => default_2.JSX.Element;
|
|
2473
|
+
readonly progressBar: (args: ProgressBarCellValue_2, _meta: ValueDisplayRendererContext_2) => default_2.JSX.Element | null;
|
|
2474
2474
|
};
|
|
2475
2475
|
|
|
2476
2476
|
declare type CardPropertyType = keyof typeof cardPropertyRenderers;
|
|
@@ -6028,6 +6028,17 @@ declare const defaultTranslations: {
|
|
|
6028
6028
|
readonly dropFilesHere: "Drop your files here";
|
|
6029
6029
|
readonly removeFile: "Remove";
|
|
6030
6030
|
readonly removeNamedFile: "Remove {{name}}";
|
|
6031
|
+
readonly removeLinkPreview: "Remove preview";
|
|
6032
|
+
readonly seeAll: "See all";
|
|
6033
|
+
readonly seeAllInGroup: "See all in {{group}}, {{count}} more";
|
|
6034
|
+
readonly seeLess: "See less";
|
|
6035
|
+
readonly seeLessInGroup: "See less in {{group}}";
|
|
6036
|
+
readonly forward: "Forward";
|
|
6037
|
+
readonly forwardTo: "Forward to…";
|
|
6038
|
+
readonly forwarded: "Forwarded";
|
|
6039
|
+
readonly forwardedFrom: "Forwarded from {{channel}}";
|
|
6040
|
+
readonly forwardSearchPlaceholder: "Search conversations";
|
|
6041
|
+
readonly forwardNoResults: "No conversations found";
|
|
6031
6042
|
readonly tooManyFilesError: "You can attach up to {{maxFiles}} files at once";
|
|
6032
6043
|
readonly fileTooLargeError: "Each file must be {{maxFileSize}} or smaller";
|
|
6033
6044
|
readonly messageTooLongError: "Messages can be up to {{maxCharacters}} characters";
|
|
@@ -8668,6 +8679,16 @@ export declare type F0ChatFileAttachment = {
|
|
|
8668
8679
|
progress?: number;
|
|
8669
8680
|
};
|
|
8670
8681
|
|
|
8682
|
+
/**
|
|
8683
|
+
* Snapshot of the original a forwarded copy carries. Shown as a
|
|
8684
|
+
* non-interactive "Forwarded" tag: no jump-to-source, since the destination's
|
|
8685
|
+
* members may not belong to the origin conversation.
|
|
8686
|
+
*/
|
|
8687
|
+
export declare type F0ChatForwardedFrom = F0ChatMessageReply & {
|
|
8688
|
+
/** Origin channel's title. Omit to not reveal where it came from. */
|
|
8689
|
+
channelTitle?: string;
|
|
8690
|
+
};
|
|
8691
|
+
|
|
8671
8692
|
/**
|
|
8672
8693
|
* A host-provided header action (the only built-in one is Search). Pin/mute,
|
|
8673
8694
|
* edit-group, leave… are all expressed through this, so each channel can offer
|
|
@@ -8896,6 +8917,11 @@ export declare type F0ChatMessage = {
|
|
|
8896
8917
|
*/
|
|
8897
8918
|
linkPreviews?: F0ChatLinkPreview[];
|
|
8898
8919
|
replyTo?: F0ChatMessageReply;
|
|
8920
|
+
/**
|
|
8921
|
+
* Present when this message is a forwarded copy, possibly from another
|
|
8922
|
+
* conversation. Renders the "Forwarded" tag above the message.
|
|
8923
|
+
*/
|
|
8924
|
+
forwardedFrom?: F0ChatForwardedFrom;
|
|
8899
8925
|
/**
|
|
8900
8926
|
* People mentioned in this message (groups only). Drives the `@name` chip
|
|
8901
8927
|
* highlighting in the bubble; a chip whose id is the current user gets the
|
|
@@ -9385,6 +9411,21 @@ export declare type F0ChatRuntime = {
|
|
|
9385
9411
|
* `client.partialUpdateMessage`.
|
|
9386
9412
|
*/
|
|
9387
9413
|
editMessage?: (id: string, input: F0ChatEditInput) => void | Promise<void>;
|
|
9414
|
+
/**
|
|
9415
|
+
* Remove one link preview from a sent message, for everyone (Slack-style).
|
|
9416
|
+
* The author gets an X on each card; omit to hide it. The host drops the
|
|
9417
|
+
* preview from `linkPreviews` and must not re-scrape the URL. factorial →
|
|
9418
|
+
* `client.partialUpdateMessage` without that `og_scrape_url` attachment and
|
|
9419
|
+
* `skip_enrich_url: true`.
|
|
9420
|
+
*/
|
|
9421
|
+
removeLinkPreview?: (messageId: string, url: string) => void | Promise<void>;
|
|
9422
|
+
/**
|
|
9423
|
+
* Forward a message to other conversations. Omit to hide "Forward". Not a
|
|
9424
|
+
* transport call: it's the host's cue to open ITS OWN conversation picker
|
|
9425
|
+
* (F0Chat knows no other channels), then send a copy into each target with
|
|
9426
|
+
* `sendMessage({ body, attachments, forwardedFrom })` on that channel.
|
|
9427
|
+
*/
|
|
9428
|
+
forwardMessage?: (message: F0ChatMessage) => void | Promise<void>;
|
|
9388
9429
|
/**
|
|
9389
9430
|
* Omit to disable translation. The host answers by setting `translation` on
|
|
9390
9431
|
* the message; F0 stores no translated text.
|
|
@@ -9627,6 +9668,13 @@ export declare type F0ChatSendInput = {
|
|
|
9627
9668
|
body: string;
|
|
9628
9669
|
attachments?: F0ChatComposableAttachment[];
|
|
9629
9670
|
replyToId?: string;
|
|
9671
|
+
/**
|
|
9672
|
+
* Set when sending a forwarded copy into the DESTINATION channel. A full
|
|
9673
|
+
* snapshot, not an id: the origin may not be loaded in this runtime. Stream
|
|
9674
|
+
* has no cross-channel quote (`quoted_message_id` is same-channel only), so
|
|
9675
|
+
* factorial stores it as custom message data.
|
|
9676
|
+
*/
|
|
9677
|
+
forwardedFrom?: F0ChatForwardedFrom;
|
|
9630
9678
|
/** People mentioned in the body (groups only). The host maps these to the
|
|
9631
9679
|
* transport's mention field (factorial → Stream `mentioned_users`). */
|
|
9632
9680
|
mentions?: F0ChatMention[];
|
|
@@ -9730,7 +9778,7 @@ export declare type F0ChatUser = {
|
|
|
9730
9778
|
/**
|
|
9731
9779
|
* Stable sender accent. For photo avatars, choose the palette hue closest to
|
|
9732
9780
|
* the image's dominant colour so the name and incoming bubble feel related.
|
|
9733
|
-
* When omitted,
|
|
9781
|
+
* When omitted, the sender name takes a vivid colour hashed from the name.
|
|
9734
9782
|
*/
|
|
9735
9783
|
avatarColor?: F0ChatSenderColor;
|
|
9736
9784
|
/** Secondary line for the hover card (e.g. job title). */
|
|
@@ -13462,6 +13510,11 @@ export declare type GroupingDefinition<R extends RecordType> = {
|
|
|
13462
13510
|
* stands for. Every visualization renders it, on first-level groups.
|
|
13463
13511
|
*/
|
|
13464
13512
|
avatar?: (groupId: RecordPathValue<R, K>, filters: FiltersState<FiltersDefinition>) => AvatarVariant | undefined | Promise<AvatarVariant | undefined>;
|
|
13513
|
+
/**
|
|
13514
|
+
* Shown after the count, drawn like a table cell. Only a `progressBar`
|
|
13515
|
+
* for now. Every visualization renders it, on first-level groups.
|
|
13516
|
+
*/
|
|
13517
|
+
metadata?: (groupId: RecordPathValue<R, K>, filters: FiltersState<FiltersDefinition>) => GroupMetadataItem[] | undefined | Promise<GroupMetadataItem[] | undefined>;
|
|
13465
13518
|
/**
|
|
13466
13519
|
* Shown at the end of the group's row, like `itemActions`. Only the table
|
|
13467
13520
|
* visualizations render them, on first-level groups.
|
|
@@ -13518,11 +13571,20 @@ export declare type GroupingState<R extends RecordType, Grouping extends Groupin
|
|
|
13518
13571
|
thenBy?: GroupingLevelState<R, Grouping>[];
|
|
13519
13572
|
}) | undefined;
|
|
13520
13573
|
|
|
13574
|
+
export declare type GroupMetadataItem = {
|
|
13575
|
+
/** Announced to screen readers: on screen the value speaks for itself. */
|
|
13576
|
+
label: string;
|
|
13577
|
+
value: Extract<ValueDisplayRendererDefinition, {
|
|
13578
|
+
type: "progressBar";
|
|
13579
|
+
}>;
|
|
13580
|
+
};
|
|
13581
|
+
|
|
13521
13582
|
declare type GroupRecord<RecordType> = {
|
|
13522
13583
|
key: string;
|
|
13523
13584
|
label: string | Promise<string>;
|
|
13524
13585
|
itemCount: number | undefined | Promise<number | undefined>;
|
|
13525
13586
|
avatar?: AvatarVariant | Promise<AvatarVariant | undefined>;
|
|
13587
|
+
metadata?: GroupMetadataItem[] | Promise<GroupMetadataItem[] | undefined>;
|
|
13526
13588
|
actions?: ActionDefinition[];
|
|
13527
13589
|
onClick?: () => void;
|
|
13528
13590
|
records: RecordType[];
|
|
@@ -17913,6 +17975,13 @@ export declare type SidebarChatGroup = {
|
|
|
17913
17975
|
* tab, this one belongs to the group it sits on, and says so by being there.
|
|
17914
17976
|
*/
|
|
17915
17977
|
action?: SidebarSectionAction;
|
|
17978
|
+
/**
|
|
17979
|
+
* Show only the first N chats, which the host orders by recency (the list
|
|
17980
|
+
* never sorts). An arrow on the header opens the whole group in its own
|
|
17981
|
+
* view. Search still reaches every chat, and the active one stays visible
|
|
17982
|
+
* past the limit. Omit to show them all.
|
|
17983
|
+
*/
|
|
17984
|
+
maxVisible?: number;
|
|
17916
17985
|
chats: SidebarChat[];
|
|
17917
17986
|
};
|
|
17918
17987
|
|
|
@@ -18263,6 +18332,8 @@ export declare type SidebarTabPanelGroup = {
|
|
|
18263
18332
|
export declare type SidebarTabPanelItem = {
|
|
18264
18333
|
id: string;
|
|
18265
18334
|
searchText?: string;
|
|
18335
|
+
/** Left out until the panel is searching (e.g. past a group's limit). */
|
|
18336
|
+
hiddenUnlessSearching?: boolean;
|
|
18266
18337
|
content: ReactNode;
|
|
18267
18338
|
};
|
|
18268
18339
|
|
|
@@ -20191,7 +20262,7 @@ declare type VacancyProfile = {
|
|
|
20191
20262
|
vacancyType?: string;
|
|
20192
20263
|
};
|
|
20193
20264
|
|
|
20194
|
-
declare type
|
|
20265
|
+
declare type ValueDisplayRendererContext = {
|
|
20195
20266
|
visualization: ValueDisplayVisualizationType;
|
|
20196
20267
|
i18n: TranslationsType;
|
|
20197
20268
|
tableAlign?: ValueDisplayTableAlignment;
|
|
@@ -20209,34 +20280,34 @@ declare type ValueDisplayRendererDefinition = {
|
|
|
20209
20280
|
}[keyof typeof valueDisplayRenderers];
|
|
20210
20281
|
|
|
20211
20282
|
declare const valueDisplayRenderers: {
|
|
20212
|
-
readonly text: (args:
|
|
20213
|
-
readonly longText: (args: LongTextCellValue, meta:
|
|
20214
|
-
readonly number: (args:
|
|
20215
|
-
readonly date: (args:
|
|
20216
|
-
readonly amount: (args:
|
|
20217
|
-
readonly compound: (args: CompoundCellValue, meta:
|
|
20218
|
-
readonly avatarList: (args:
|
|
20219
|
-
readonly status: (args:
|
|
20220
|
-
readonly alertTag: (args:
|
|
20221
|
-
readonly person: (args:
|
|
20222
|
-
readonly percentage: (args: PercentageCellValue, meta:
|
|
20223
|
-
readonly progressBar: (args:
|
|
20224
|
-
readonly progressSeries: (args: ProgressSeriesCellValue, meta:
|
|
20225
|
-
readonly barSeries: (args: BarSeriesCellValue, meta:
|
|
20226
|
-
readonly categoryBarChart: (args: CategoryBarChartCellValue, meta:
|
|
20227
|
-
readonly hourDistribution: (args: HourDistributionCellValue, meta:
|
|
20228
|
-
readonly company: (args:
|
|
20229
|
-
readonly team: (args:
|
|
20230
|
-
readonly tag: (args:
|
|
20231
|
-
readonly dotTag: (args:
|
|
20232
|
-
readonly tagList: (args:
|
|
20233
|
-
readonly icon: (args: IconCellValue, meta:
|
|
20234
|
-
readonly file: (args:
|
|
20235
|
-
readonly folder: (args:
|
|
20236
|
-
readonly country: (args: CountryCellValue, context:
|
|
20283
|
+
readonly text: (args: TextCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
20284
|
+
readonly longText: (args: LongTextCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
20285
|
+
readonly number: (args: NumberCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
20286
|
+
readonly date: (args: DateCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
20287
|
+
readonly amount: (args: AmountCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
20288
|
+
readonly compound: (args: CompoundCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
20289
|
+
readonly avatarList: (args: AvatarListCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
20290
|
+
readonly status: (args: StatusCellValue) => JSX_2.Element;
|
|
20291
|
+
readonly alertTag: (args: AlertTagCellValue) => JSX_2.Element;
|
|
20292
|
+
readonly person: (args: PersonCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
20293
|
+
readonly percentage: (args: PercentageCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element | null;
|
|
20294
|
+
readonly progressBar: (args: ProgressBarCellValue, _meta: ValueDisplayRendererContext) => JSX_2.Element | null;
|
|
20295
|
+
readonly progressSeries: (args: ProgressSeriesCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
20296
|
+
readonly barSeries: (args: BarSeriesCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
20297
|
+
readonly categoryBarChart: (args: CategoryBarChartCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
20298
|
+
readonly hourDistribution: (args: HourDistributionCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
20299
|
+
readonly company: (args: CompanyCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
20300
|
+
readonly team: (args: TeamCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
20301
|
+
readonly tag: (args: TagCellValue) => JSX_2.Element;
|
|
20302
|
+
readonly dotTag: (args: DotTagCellValue) => JSX_2.Element;
|
|
20303
|
+
readonly tagList: (args: TagListCellValue) => JSX_2.Element;
|
|
20304
|
+
readonly icon: (args: IconCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
20305
|
+
readonly file: (args: FileCellValue) => JSX_2.Element;
|
|
20306
|
+
readonly folder: (args: FolderCellValue) => JSX_2.Element;
|
|
20307
|
+
readonly country: (args: CountryCellValue, context: ValueDisplayRendererContext) => JSX_2.Element;
|
|
20237
20308
|
readonly delta: (args: DeltaCellValue) => JSX_2.Element;
|
|
20238
|
-
readonly summary: (args: SummaryCellValue, meta:
|
|
20239
|
-
readonly count: (args: CountCellValue, meta:
|
|
20309
|
+
readonly summary: (args: SummaryCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
20310
|
+
readonly count: (args: CountCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
|
|
20240
20311
|
};
|
|
20241
20312
|
|
|
20242
20313
|
declare type ValueDisplayTableAlignment = "left" | "right";
|
|
@@ -21157,10 +21228,8 @@ declare module "@tiptap/core" {
|
|
|
21157
21228
|
|
|
21158
21229
|
declare module "@tiptap/core" {
|
|
21159
21230
|
interface Commands<ReturnType> {
|
|
21160
|
-
|
|
21161
|
-
|
|
21162
|
-
unsetIndent: () => ReturnType;
|
|
21163
|
-
outdent: () => ReturnType;
|
|
21231
|
+
moodTracker: {
|
|
21232
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
21164
21233
|
};
|
|
21165
21234
|
}
|
|
21166
21235
|
}
|
|
@@ -21168,8 +21237,10 @@ declare module "@tiptap/core" {
|
|
|
21168
21237
|
|
|
21169
21238
|
declare module "@tiptap/core" {
|
|
21170
21239
|
interface Commands<ReturnType> {
|
|
21171
|
-
|
|
21172
|
-
|
|
21240
|
+
indent: {
|
|
21241
|
+
setIndent: (level: number) => ReturnType;
|
|
21242
|
+
unsetIndent: () => ReturnType;
|
|
21243
|
+
outdent: () => ReturnType;
|
|
21173
21244
|
};
|
|
21174
21245
|
}
|
|
21175
21246
|
}
|