@factorialco/f0-react 6.105.0 → 6.106.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-CV6YlrJT.js → ChatPdfThumbnail-BkhAKV0r.js} +1 -1
- package/dist/ChatPostComposerDialog-D2b_bvdN.js +142 -0
- package/dist/{CoachmarkProvider-DPVNJLZU.js → CoachmarkProvider-DDU2DOmn.js} +75 -78
- package/dist/{DocumentToolbar-BrZ13rVL.js → DocumentToolbar-BwV5Q0rV.js} +2 -2
- package/dist/{DocxViewer-CF3W_zjV.js → DocxViewer-BP1HAgxW.js} +2 -2
- package/dist/{F0AiProcessingOverlay-B-MR6cMY.js → F0AiProcessingOverlay-jkio5JGp.js} +728 -766
- package/dist/{F0CanvasPanel-DT64c3E-.js → F0CanvasPanel-C8sTxHKI.js} +30476 -30171
- package/dist/{F0VideoPlayer-CFHQr9KH.js → F0VideoPlayer-C_ibK2BV.js} +1 -1
- package/dist/{LocationMap-Dhaq_SGK.js → LocationMap-CGP3eGZK.js} +1 -1
- package/dist/{SheetViewer-BMj7kc1c.js → SheetViewer-D5BRnR0I.js} +2 -2
- package/dist/{TextViewer-CgLPN38a.js → TextViewer-CIIk5GoS.js} +2 -2
- package/dist/ai.d.ts +195 -20
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +12 -12
- package/dist/component-status.js +1 -1
- package/dist/{experimental-CGRTS8ta.js → experimental-Ds-2DStT.js} +18465 -17453
- package/dist/experimental.d.ts +908 -18
- package/dist/experimental.js +161 -159
- package/dist/f0.d.ts +202 -20
- package/dist/f0.js +205 -205
- package/dist/i18n-provider-defaults.d.ts +184 -12
- package/dist/i18n-provider-defaults.js +210 -3
- package/dist/{index-CLLyZsKL.js → index-BER_ZOwy.js} +3 -3
- package/dist/index-BcRGcyyC.js +4 -0
- package/dist/{pdfWorker-BgsVA819.js → pdfWorker-KK_gurE8.js} +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/index-B1S8Pxtc.js +0 -4
package/dist/f0.d.ts
CHANGED
|
@@ -5109,6 +5109,10 @@ export declare const defaultTranslations: {
|
|
|
5109
5109
|
readonly placeholder: "Select a company";
|
|
5110
5110
|
};
|
|
5111
5111
|
};
|
|
5112
|
+
readonly sidePanel: {
|
|
5113
|
+
readonly resize: "Resize side panel";
|
|
5114
|
+
readonly width: "{{width}} pixels";
|
|
5115
|
+
};
|
|
5112
5116
|
readonly previous: "Previous";
|
|
5113
5117
|
readonly next: "Next";
|
|
5114
5118
|
};
|
|
@@ -5774,6 +5778,174 @@ export declare const defaultTranslations: {
|
|
|
5774
5778
|
readonly emptyConversationDescription: "Send a message to start the conversation.";
|
|
5775
5779
|
readonly error: "Couldn't load this conversation";
|
|
5776
5780
|
readonly loadingOlder: "Loading earlier messages…";
|
|
5781
|
+
readonly newPosts: "New posts";
|
|
5782
|
+
readonly newPostsCount: {
|
|
5783
|
+
readonly one: "{{count}} new post";
|
|
5784
|
+
readonly other: "{{count}} new posts";
|
|
5785
|
+
};
|
|
5786
|
+
readonly unreadMentionCount: {
|
|
5787
|
+
readonly one: "{{count}} unread, mentions you";
|
|
5788
|
+
readonly other: "{{count}} unread, mentions you";
|
|
5789
|
+
};
|
|
5790
|
+
readonly post: {
|
|
5791
|
+
readonly in: "in";
|
|
5792
|
+
readonly comment: "Comment";
|
|
5793
|
+
readonly views: {
|
|
5794
|
+
readonly one: "{{count}} view";
|
|
5795
|
+
readonly other: "{{count}} views";
|
|
5796
|
+
};
|
|
5797
|
+
readonly comments: {
|
|
5798
|
+
readonly one: "{{count}} comment";
|
|
5799
|
+
readonly other: "{{count}} comments";
|
|
5800
|
+
};
|
|
5801
|
+
};
|
|
5802
|
+
readonly community: {
|
|
5803
|
+
readonly readOnly: "You can't post in this community";
|
|
5804
|
+
readonly writePost: "Write a post…";
|
|
5805
|
+
readonly newPost: "New post";
|
|
5806
|
+
readonly postTitle: "Title";
|
|
5807
|
+
readonly postTitlePlaceholder: "Add a title";
|
|
5808
|
+
readonly postBodyPlaceholder: "Share something with the community…";
|
|
5809
|
+
readonly publish: "Publish";
|
|
5810
|
+
readonly cancel: "Cancel";
|
|
5811
|
+
readonly discardTitle: "Discard this post?";
|
|
5812
|
+
readonly discardDescription: "What you've written won't be saved.";
|
|
5813
|
+
readonly discard: "Discard";
|
|
5814
|
+
readonly keepEditing: "Keep editing";
|
|
5815
|
+
readonly publishError: "Couldn't publish this post";
|
|
5816
|
+
readonly emptyTitle: "No posts yet";
|
|
5817
|
+
readonly emptyDescription: "Posts shared in this community will appear here.";
|
|
5818
|
+
readonly emptyDescriptionCanPost: "Be the first to post here.";
|
|
5819
|
+
readonly pinnedPost: "Pinned post";
|
|
5820
|
+
readonly pinnedPosts: "Pinned";
|
|
5821
|
+
readonly pinnedPostsCount: {
|
|
5822
|
+
readonly one: "{{count}} pinned post";
|
|
5823
|
+
readonly other: "{{count}} pinned posts";
|
|
5824
|
+
};
|
|
5825
|
+
readonly pinPost: "Pin post";
|
|
5826
|
+
readonly unpinPost: "Unpin post";
|
|
5827
|
+
readonly goToPost: "Go to post";
|
|
5828
|
+
readonly noPinnedPosts: "No pinned posts";
|
|
5829
|
+
readonly noPinnedPostsDescription: "Pin a post and it stays at the top of this community.";
|
|
5830
|
+
readonly scheduledPosts: "Scheduled";
|
|
5831
|
+
readonly scheduledPostsCount: {
|
|
5832
|
+
readonly one: "{{count}} scheduled post";
|
|
5833
|
+
readonly other: "{{count}} scheduled posts";
|
|
5834
|
+
};
|
|
5835
|
+
readonly scheduledEvent: "Event";
|
|
5836
|
+
/** The preview's bar, e.g. "Publishes 4 Jun at 09:00". */
|
|
5837
|
+
readonly publishesAt: "Publishes {{when}}";
|
|
5838
|
+
readonly noScheduledPosts: "Nothing scheduled";
|
|
5839
|
+
readonly noScheduledPostsDescription: "Posts you schedule will wait here until their time.";
|
|
5840
|
+
readonly scheduledActions: "Scheduled post actions";
|
|
5841
|
+
readonly publishNow: "Publish now";
|
|
5842
|
+
readonly cancelScheduled: "Cancel";
|
|
5843
|
+
readonly draftPosts: "Drafts";
|
|
5844
|
+
readonly draftPostsCount: {
|
|
5845
|
+
readonly one: "{{count}} draft";
|
|
5846
|
+
readonly other: "{{count}} drafts";
|
|
5847
|
+
};
|
|
5848
|
+
/** Where a scheduled row prints its date, a draft prints this. */
|
|
5849
|
+
readonly draftUntitled: "Untitled post";
|
|
5850
|
+
readonly draftSavedAt: "Saved {{when}}";
|
|
5851
|
+
readonly publishDraft: "Publish";
|
|
5852
|
+
readonly deleteDraft: "Delete draft";
|
|
5853
|
+
readonly shelfLabel: "Pinned, scheduled and draft posts";
|
|
5854
|
+
};
|
|
5855
|
+
};
|
|
5856
|
+
readonly communities: {
|
|
5857
|
+
readonly composer: {
|
|
5858
|
+
readonly createPost: "Create post";
|
|
5859
|
+
readonly createEvent: "Create event";
|
|
5860
|
+
readonly editPost: "Edit post";
|
|
5861
|
+
readonly basicInformation: "Basic information";
|
|
5862
|
+
readonly postSettings: "Post settings";
|
|
5863
|
+
readonly postCover: "Post cover";
|
|
5864
|
+
readonly addMedia: "Drag and drop or click here";
|
|
5865
|
+
readonly addMediaSubtitle: "any image, video or GIF";
|
|
5866
|
+
readonly addMediaSize: "1200x600px";
|
|
5867
|
+
readonly deletePhoto: "Delete photo";
|
|
5868
|
+
readonly deleteVideo: "Delete video";
|
|
5869
|
+
readonly coverActions: "Cover options";
|
|
5870
|
+
readonly title: "Title";
|
|
5871
|
+
readonly titlePlaceholder: "e.g. World Mental Health Day";
|
|
5872
|
+
readonly description: "Description";
|
|
5873
|
+
readonly descriptionPlaceholder: "Share what's special about it";
|
|
5874
|
+
readonly attachmentsSizePerPost: "Up to 150 MB in attachments per post";
|
|
5875
|
+
readonly previousAttachments: "Previously added attachments";
|
|
5876
|
+
readonly isEventLabel: "This is an event";
|
|
5877
|
+
readonly isEventDescription: "Select this to include a date, time, and location for this event.";
|
|
5878
|
+
readonly eventStartDate: "Event start date";
|
|
5879
|
+
readonly eventStartTime: "Start time";
|
|
5880
|
+
readonly eventLocation: "Event location";
|
|
5881
|
+
readonly eventLocationPlaceholder: "Where will this take place?";
|
|
5882
|
+
readonly requireAction: "Require action";
|
|
5883
|
+
readonly requireActionDescription: "Select how you want to track that users have taken the required action";
|
|
5884
|
+
readonly actionType: "Action type";
|
|
5885
|
+
readonly actionTypePlaceholder: "Select action type";
|
|
5886
|
+
readonly actionTypeAcknowledge: "Acknowledge post";
|
|
5887
|
+
readonly actionTypeAcknowledgeDescription: "Employees read and acknowledge the post";
|
|
5888
|
+
readonly actionTypeWatchVideo: "Watch video";
|
|
5889
|
+
readonly actionTypeWatchVideoDescription: "Employees watch the entire video";
|
|
5890
|
+
readonly actionTypeClickedLink: "Clicked a link";
|
|
5891
|
+
readonly actionTypeClickedLinkDescription: "Employees click the first link in the post";
|
|
5892
|
+
readonly actionTypeComingSoon: "Coming soon";
|
|
5893
|
+
readonly continue: "Continue";
|
|
5894
|
+
readonly publishTitle: "Publish";
|
|
5895
|
+
readonly publishDescription: "When publishing the post, it will be visible in the dashboard of each employee.";
|
|
5896
|
+
readonly publish: "Publish";
|
|
5897
|
+
readonly selectCommunity: "Select community";
|
|
5898
|
+
readonly allowCommentsAndReactions: "Allow comments and reactions.";
|
|
5899
|
+
readonly sendEmailNotification: "Send email notification";
|
|
5900
|
+
readonly schedulePost: "Schedule post";
|
|
5901
|
+
readonly scheduleDate: "Date";
|
|
5902
|
+
readonly scheduleTime: "Time";
|
|
5903
|
+
readonly confirm: "Confirm";
|
|
5904
|
+
readonly cancel: "Cancel";
|
|
5905
|
+
readonly saveAsDraft: "Save as draft";
|
|
5906
|
+
readonly save: "Save";
|
|
5907
|
+
readonly cantBeEmpty: "can't be empty";
|
|
5908
|
+
readonly invalidInput: "Invalid input. Only alphanumeric characters are allowed";
|
|
5909
|
+
readonly publishedSuccess: "The post has been published";
|
|
5910
|
+
readonly scheduledSuccess: "The post has been scheduled";
|
|
5911
|
+
readonly draftSuccess: "The post has been saved as draft";
|
|
5912
|
+
readonly publishError: "There was an error creating the post, please try again.";
|
|
5913
|
+
};
|
|
5914
|
+
readonly detail: {
|
|
5915
|
+
readonly postActions: "Post actions";
|
|
5916
|
+
readonly edit: "Edit post";
|
|
5917
|
+
readonly delete: "Delete post";
|
|
5918
|
+
readonly deleteDescription: "Are you sure you want to delete this post? This action cannot be undone.";
|
|
5919
|
+
readonly proceed: "Proceed";
|
|
5920
|
+
readonly turnInteractionsOff: "Turn comments and reactions off";
|
|
5921
|
+
readonly turnInteractionsOn: "Turn comments and reactions on";
|
|
5922
|
+
readonly insights: "Insights";
|
|
5923
|
+
readonly visits: {
|
|
5924
|
+
readonly one: "Visit";
|
|
5925
|
+
readonly other: "Visits";
|
|
5926
|
+
};
|
|
5927
|
+
readonly postViews: "Post views";
|
|
5928
|
+
readonly anonymous: "Anonymous";
|
|
5929
|
+
readonly comments: {
|
|
5930
|
+
readonly one: "{{count}} comment";
|
|
5931
|
+
readonly other: "{{count}} comments";
|
|
5932
|
+
};
|
|
5933
|
+
readonly commentPlaceholder: "Click here to write a comment...";
|
|
5934
|
+
readonly submit: "Submit";
|
|
5935
|
+
readonly deleteComment: "Delete comment";
|
|
5936
|
+
readonly deleteCommentDescription: "Are you sure you want to delete this comment? This action cannot be undone.";
|
|
5937
|
+
readonly editComment: "Edit";
|
|
5938
|
+
readonly acknowledgeRequired: "Post acknowledgement required";
|
|
5939
|
+
readonly acknowledge: "I acknowledge";
|
|
5940
|
+
readonly acknowledgeLater: "Acknowledge later";
|
|
5941
|
+
readonly acknowledgedOn: "Acknowledged on {{date}}, at {{time}}";
|
|
5942
|
+
readonly closePostTitle: "Close post?";
|
|
5943
|
+
readonly closePostDescription: "You haven't acknowledged this post yet. You can acknowledge it later.";
|
|
5944
|
+
readonly closePost: "Close post";
|
|
5945
|
+
readonly continueReading: "Continue reading";
|
|
5946
|
+
readonly close: "Close";
|
|
5947
|
+
readonly home: "Home";
|
|
5948
|
+
};
|
|
5777
5949
|
};
|
|
5778
5950
|
readonly dataChart: {
|
|
5779
5951
|
readonly heatmapNotSupported: "Heatmap not supported at this size";
|
|
@@ -8778,6 +8950,13 @@ declare type F0ButtonDropdownBaseProps<T = string> = {
|
|
|
8778
8950
|
* @default undefined
|
|
8779
8951
|
*/
|
|
8780
8952
|
tooltip?: string;
|
|
8953
|
+
/**
|
|
8954
|
+
* Where the menu is portalled. Defaults to the document body; inside a modal
|
|
8955
|
+
* layer pass that layer's own element (an `F0Dialog` publishes it as
|
|
8956
|
+
* `portalContainer`) so its focus trap contains the menu rather than fighting
|
|
8957
|
+
* it.
|
|
8958
|
+
*/
|
|
8959
|
+
container?: HTMLElement | null;
|
|
8781
8960
|
};
|
|
8782
8961
|
|
|
8783
8962
|
/**
|
|
@@ -18238,10 +18417,10 @@ export declare const setDataCollectionUrlParams: <CurrentFiltersState extends Fi
|
|
|
18238
18417
|
declare type SetFormCardValueFormatter = <T = unknown>(entry: FormCardValueFormatterEntry<T>) => void;
|
|
18239
18418
|
|
|
18240
18419
|
/**
|
|
18241
|
-
* A single piece of content hosted in the side panel — the
|
|
18242
|
-
* fullscreen space the
|
|
18243
|
-
*
|
|
18244
|
-
*
|
|
18420
|
+
* A single piece of content hosted in the side panel — the resizable,
|
|
18421
|
+
* fullscreen-able space beside the page. Only one is mounted at a time: the
|
|
18422
|
+
* `id` keys the content, so switching views unmounts the previous one and
|
|
18423
|
+
* mounts the next.
|
|
18245
18424
|
*/
|
|
18246
18425
|
export declare type SidePanelContent = {
|
|
18247
18426
|
id: string;
|
|
@@ -19680,10 +19859,13 @@ export declare type UsageLimitsPopoverSide = (typeof usageLimitsPopoverSides)[nu
|
|
|
19680
19859
|
export declare const usageLimitsPopoverSides: readonly ["top", "bottom"];
|
|
19681
19860
|
|
|
19682
19861
|
/**
|
|
19683
|
-
* Read the AiChat context.
|
|
19684
|
-
*
|
|
19685
|
-
*
|
|
19686
|
-
*
|
|
19862
|
+
* Read the AiChat context.
|
|
19863
|
+
*
|
|
19864
|
+
* Composed from two providers: the chat's own state, and the side panel it
|
|
19865
|
+
* lives in. Returns an inert fallback for the chat half when no provider is
|
|
19866
|
+
* mounted — that case is intentional in `ApplicationFrame`, which renders
|
|
19867
|
+
* chat-aware components in both the AI-enabled tree and the promotion-chat
|
|
19868
|
+
* tree.
|
|
19687
19869
|
*/
|
|
19688
19870
|
export declare function useAiChat(): AiChatProviderReturnValue;
|
|
19689
19871
|
|
|
@@ -20938,8 +21120,10 @@ declare module "@tiptap/core" {
|
|
|
20938
21120
|
|
|
20939
21121
|
declare module "@tiptap/core" {
|
|
20940
21122
|
interface Commands<ReturnType> {
|
|
20941
|
-
|
|
20942
|
-
|
|
21123
|
+
indent: {
|
|
21124
|
+
setIndent: (level: number) => ReturnType;
|
|
21125
|
+
unsetIndent: () => ReturnType;
|
|
21126
|
+
outdent: () => ReturnType;
|
|
20943
21127
|
};
|
|
20944
21128
|
}
|
|
20945
21129
|
}
|
|
@@ -20947,10 +21131,8 @@ declare module "@tiptap/core" {
|
|
|
20947
21131
|
|
|
20948
21132
|
declare module "@tiptap/core" {
|
|
20949
21133
|
interface Commands<ReturnType> {
|
|
20950
|
-
|
|
20951
|
-
|
|
20952
|
-
unsetIndent: () => ReturnType;
|
|
20953
|
-
outdent: () => ReturnType;
|
|
21134
|
+
moodTracker: {
|
|
21135
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
20954
21136
|
};
|
|
20955
21137
|
}
|
|
20956
21138
|
}
|
|
@@ -20958,10 +21140,8 @@ declare module "@tiptap/core" {
|
|
|
20958
21140
|
|
|
20959
21141
|
declare module "@tiptap/core" {
|
|
20960
21142
|
interface Commands<ReturnType> {
|
|
20961
|
-
|
|
20962
|
-
|
|
20963
|
-
src: string;
|
|
20964
|
-
}) => ReturnType;
|
|
21143
|
+
transcript: {
|
|
21144
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
20965
21145
|
};
|
|
20966
21146
|
}
|
|
20967
21147
|
}
|
|
@@ -20969,8 +21149,10 @@ declare module "@tiptap/core" {
|
|
|
20969
21149
|
|
|
20970
21150
|
declare module "@tiptap/core" {
|
|
20971
21151
|
interface Commands<ReturnType> {
|
|
20972
|
-
|
|
20973
|
-
|
|
21152
|
+
videoEmbed: {
|
|
21153
|
+
setVideoEmbed: (options: {
|
|
21154
|
+
src: string;
|
|
21155
|
+
}) => ReturnType;
|
|
20974
21156
|
};
|
|
20975
21157
|
}
|
|
20976
21158
|
}
|