@factorialco/f0-react 6.106.2 → 7.1.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-BBkKUIna.js → ChatPdfThumbnail-Dw1R3THd.js} +1 -1
- package/dist/{ChatPostComposerDialog-LnMydfgA.js → ChatPostComposerDialog-DKd8Zzwt.js} +3 -3
- package/dist/{CoachmarkProvider-B6FMGmgt.js → CoachmarkProvider-DnRFYjW-.js} +1 -1
- package/dist/{DocumentToolbar-DbU37sMF.js → DocumentToolbar-BHXNjAJR.js} +2 -2
- package/dist/{DocxViewer-CfszlgFK.js → DocxViewer-BDY9E_L-.js} +2 -2
- package/dist/{F0AiProcessingOverlay-D13gKNUX.js → F0AiProcessingOverlay-CsLaP2GX.js} +1 -1
- package/dist/{F0CanvasPanel-DIBlg0Nk.js → F0CanvasPanel-C57zh5Pt.js} +12822 -12822
- package/dist/{F0VideoPlayer-BDPhqyXP.js → F0VideoPlayer-C98XoPBg.js} +1 -1
- package/dist/{LocationMap-D7NyG1ec.js → LocationMap-tJNhlvUk.js} +1 -1
- package/dist/{SheetViewer-DVGOOMSX.js → SheetViewer-DI1R3VDL.js} +2 -2
- package/dist/{TextViewer-DmuZULvX.js → TextViewer-CsQHV3aZ.js} +2 -2
- package/dist/ai.d.ts +0 -133
- package/dist/ai.js +2 -2
- package/dist/component-status.js +1 -1
- package/dist/{experimental-CL_I_K54.js → experimental-SmtCrbMW.js} +906 -907
- package/dist/experimental.d.ts +21 -168
- package/dist/experimental.js +3 -3
- package/dist/f0.d.ts +65 -133
- package/dist/f0.js +13143 -13008
- package/dist/i18n-provider-defaults.d.ts +0 -133
- package/dist/i18n-provider-defaults.js +0 -198
- package/dist/index-B6tKs7JE.js +4 -0
- package/dist/{index-C1OwyvUq.js → index-rtT704Nz.js} +3 -3
- package/dist/{pdfWorker-Cu_EyUqJ.js → pdfWorker-Dhxt7AiH.js} +2 -2
- package/package.json +1 -1
- package/dist/index-DPQYqI6O.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as W, v as je, x as Ge, n as $, y as Xe, z as Ze, A as qe, B as Ye, E as Je, G as Qe, H as et, J as tt, K as nt, L as rt, M as at, N as ot, O as ye, Q as st, R as Ce, l as it, U as ct, V as lt, W as ut, w as dt, s as ft } from "./F0CanvasPanel-
|
|
1
|
+
import { u as W, v as je, x as Ge, n as $, y as Xe, z as Ze, A as qe, B as Ye, E as Je, G as Qe, H as et, J as tt, K as nt, L as rt, M as at, N as ot, O as ye, Q as st, R as Ce, l as it, U as ct, V as lt, W as ut, w as dt, s as ft } from "./F0CanvasPanel-C57zh5Pt.js";
|
|
2
2
|
import { jsxs as S, jsx as c } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as re, useId as mt, useState as x, useRef as F, useEffect as N, useMemo as J, useCallback as T } from "react";
|
|
4
4
|
import { d as H, f as ue } from "./tooltip-CMBdJvJA.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { m } from "./experimental-
|
|
2
|
+
import { m } from "./experimental-SmtCrbMW.js";
|
|
3
3
|
import { useRef as l, useEffect as i, useState as b } from "react";
|
|
4
4
|
const k = "https://tiles.openfreemap.org/styles/positron", y = "https://tiles.openfreemap.org/styles/dark", R = 15, d = (n) => {
|
|
5
5
|
const [c, s] = b(!1);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as a, jsx as r, Fragment as N } from "react/jsx-runtime";
|
|
2
2
|
import { useState as i, useEffect as k } from "react";
|
|
3
|
-
import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-
|
|
3
|
+
import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-C57zh5Pt.js";
|
|
4
4
|
import { f as z, c as E } from "./sheetPreview-Djc-YyVs.js";
|
|
5
|
-
import { u as _, D as j } from "./DocumentToolbar-
|
|
5
|
+
import { u as _, D as j } from "./DocumentToolbar-BHXNjAJR.js";
|
|
6
6
|
const g = 1e3, F = 100, G = ({
|
|
7
7
|
url: n,
|
|
8
8
|
filename: y,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as b, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as _, useEffect as h } from "react";
|
|
3
|
-
import { u as x, S as p, p as w } from "./F0CanvasPanel-
|
|
4
|
-
import { u as y, D as g } from "./DocumentToolbar-
|
|
3
|
+
import { u as x, S as p, p as w } from "./F0CanvasPanel-C57zh5Pt.js";
|
|
4
|
+
import { u as y, D as g } from "./DocumentToolbar-BHXNjAJR.js";
|
|
5
5
|
const k = 2 * 1024 * 1024, v = [
|
|
6
6
|
"[&_h1]:mb-3 [&_h1]:mt-6 [&_h1]:text-2xl [&_h1]:font-semibold",
|
|
7
7
|
"[&_h2]:mb-2 [&_h2]:mt-5 [&_h2]:text-xl [&_h2]:font-semibold",
|
package/dist/ai.d.ts
CHANGED
|
@@ -2713,12 +2713,6 @@ export declare const defaultTranslations: {
|
|
|
2713
2713
|
readonly exporting: "Exporting…";
|
|
2714
2714
|
};
|
|
2715
2715
|
readonly dashboardItem: {
|
|
2716
|
-
/**
|
|
2717
|
-
* Deliberately not `ai.ask` ("Ask One" by default here, but hosts
|
|
2718
|
-
* override it — factorial renders it as plain "Ask" for the widget and
|
|
2719
|
-
* insight-card buttons). This menu entry needs the product name spelled
|
|
2720
|
-
* out, so it owns its own key.
|
|
2721
|
-
*/
|
|
2722
2716
|
readonly askOne: "Ask One";
|
|
2723
2717
|
readonly chartType: "Chart type";
|
|
2724
2718
|
readonly errorTitle: "Error loading data";
|
|
@@ -2967,140 +2961,18 @@ export declare const defaultTranslations: {
|
|
|
2967
2961
|
readonly discard: "Discard";
|
|
2968
2962
|
readonly keepEditing: "Keep editing";
|
|
2969
2963
|
readonly publishError: "Couldn't publish this post";
|
|
2970
|
-
readonly emptyTitle: "No posts yet";
|
|
2971
|
-
readonly emptyDescription: "Posts shared in this community will appear here.";
|
|
2972
|
-
readonly emptyDescriptionCanPost: "Be the first to post here.";
|
|
2973
2964
|
readonly pinnedPost: "Pinned post";
|
|
2974
2965
|
readonly pinnedPosts: "Pinned";
|
|
2975
|
-
readonly pinnedPostsCount: {
|
|
2976
|
-
readonly one: "{{count}} pinned post";
|
|
2977
|
-
readonly other: "{{count}} pinned posts";
|
|
2978
|
-
};
|
|
2979
|
-
readonly pinPost: "Pin post";
|
|
2980
2966
|
readonly unpinPost: "Unpin post";
|
|
2981
2967
|
readonly goToPost: "Go to post";
|
|
2982
|
-
readonly noPinnedPosts: "No pinned posts";
|
|
2983
|
-
readonly noPinnedPostsDescription: "Pin a post and it stays at the top of this community.";
|
|
2984
2968
|
readonly scheduledPosts: "Scheduled";
|
|
2985
|
-
readonly scheduledPostsCount: {
|
|
2986
|
-
readonly one: "{{count}} scheduled post";
|
|
2987
|
-
readonly other: "{{count}} scheduled posts";
|
|
2988
|
-
};
|
|
2989
2969
|
readonly scheduledEvent: "Event";
|
|
2990
|
-
/** The preview's bar, e.g. "Publishes 4 Jun at 09:00". */
|
|
2991
|
-
readonly publishesAt: "Publishes {{when}}";
|
|
2992
|
-
readonly noScheduledPosts: "Nothing scheduled";
|
|
2993
|
-
readonly noScheduledPostsDescription: "Posts you schedule will wait here until their time.";
|
|
2994
|
-
readonly scheduledActions: "Scheduled post actions";
|
|
2995
|
-
readonly publishNow: "Publish now";
|
|
2996
|
-
readonly cancelScheduled: "Cancel";
|
|
2997
2970
|
readonly draftPosts: "Drafts";
|
|
2998
|
-
readonly draftPostsCount: {
|
|
2999
|
-
readonly one: "{{count}} draft";
|
|
3000
|
-
readonly other: "{{count}} drafts";
|
|
3001
|
-
};
|
|
3002
|
-
/** Where a scheduled row prints its date, a draft prints this. */
|
|
3003
2971
|
readonly draftUntitled: "Untitled post";
|
|
3004
2972
|
readonly draftSavedAt: "Saved {{when}}";
|
|
3005
|
-
readonly publishDraft: "Publish";
|
|
3006
|
-
readonly deleteDraft: "Delete draft";
|
|
3007
2973
|
readonly shelfLabel: "Pinned, scheduled and draft posts";
|
|
3008
2974
|
};
|
|
3009
2975
|
};
|
|
3010
|
-
readonly communities: {
|
|
3011
|
-
readonly composer: {
|
|
3012
|
-
readonly createPost: "Create post";
|
|
3013
|
-
readonly createEvent: "Create event";
|
|
3014
|
-
readonly editPost: "Edit post";
|
|
3015
|
-
readonly basicInformation: "Basic information";
|
|
3016
|
-
readonly postSettings: "Post settings";
|
|
3017
|
-
readonly postCover: "Post cover";
|
|
3018
|
-
readonly addMedia: "Drag and drop or click here";
|
|
3019
|
-
readonly addMediaSubtitle: "any image, video or GIF";
|
|
3020
|
-
readonly addMediaSize: "1200x600px";
|
|
3021
|
-
readonly deletePhoto: "Delete photo";
|
|
3022
|
-
readonly deleteVideo: "Delete video";
|
|
3023
|
-
readonly coverActions: "Cover options";
|
|
3024
|
-
readonly title: "Title";
|
|
3025
|
-
readonly titlePlaceholder: "e.g. World Mental Health Day";
|
|
3026
|
-
readonly description: "Description";
|
|
3027
|
-
readonly descriptionPlaceholder: "Share what's special about it";
|
|
3028
|
-
readonly attachmentsSizePerPost: "Up to 150 MB in attachments per post";
|
|
3029
|
-
readonly previousAttachments: "Previously added attachments";
|
|
3030
|
-
readonly isEventLabel: "This is an event";
|
|
3031
|
-
readonly isEventDescription: "Select this to include a date, time, and location for this event.";
|
|
3032
|
-
readonly eventStartDate: "Event start date";
|
|
3033
|
-
readonly eventStartTime: "Start time";
|
|
3034
|
-
readonly eventLocation: "Event location";
|
|
3035
|
-
readonly eventLocationPlaceholder: "Where will this take place?";
|
|
3036
|
-
readonly requireAction: "Require action";
|
|
3037
|
-
readonly requireActionDescription: "Select how you want to track that users have taken the required action";
|
|
3038
|
-
readonly actionType: "Action type";
|
|
3039
|
-
readonly actionTypePlaceholder: "Select action type";
|
|
3040
|
-
readonly actionTypeAcknowledge: "Acknowledge post";
|
|
3041
|
-
readonly actionTypeAcknowledgeDescription: "Employees read and acknowledge the post";
|
|
3042
|
-
readonly actionTypeWatchVideo: "Watch video";
|
|
3043
|
-
readonly actionTypeWatchVideoDescription: "Employees watch the entire video";
|
|
3044
|
-
readonly actionTypeClickedLink: "Clicked a link";
|
|
3045
|
-
readonly actionTypeClickedLinkDescription: "Employees click the first link in the post";
|
|
3046
|
-
readonly actionTypeComingSoon: "Coming soon";
|
|
3047
|
-
readonly continue: "Continue";
|
|
3048
|
-
readonly publishTitle: "Publish";
|
|
3049
|
-
readonly publishDescription: "When publishing the post, it will be visible in the dashboard of each employee.";
|
|
3050
|
-
readonly publish: "Publish";
|
|
3051
|
-
readonly selectCommunity: "Select community";
|
|
3052
|
-
readonly allowCommentsAndReactions: "Allow comments and reactions.";
|
|
3053
|
-
readonly sendEmailNotification: "Send email notification";
|
|
3054
|
-
readonly schedulePost: "Schedule post";
|
|
3055
|
-
readonly scheduleDate: "Date";
|
|
3056
|
-
readonly scheduleTime: "Time";
|
|
3057
|
-
readonly confirm: "Confirm";
|
|
3058
|
-
readonly cancel: "Cancel";
|
|
3059
|
-
readonly saveAsDraft: "Save as draft";
|
|
3060
|
-
readonly save: "Save";
|
|
3061
|
-
readonly cantBeEmpty: "can't be empty";
|
|
3062
|
-
readonly invalidInput: "Invalid input. Only alphanumeric characters are allowed";
|
|
3063
|
-
readonly publishedSuccess: "The post has been published";
|
|
3064
|
-
readonly scheduledSuccess: "The post has been scheduled";
|
|
3065
|
-
readonly draftSuccess: "The post has been saved as draft";
|
|
3066
|
-
readonly publishError: "There was an error creating the post, please try again.";
|
|
3067
|
-
};
|
|
3068
|
-
readonly detail: {
|
|
3069
|
-
readonly postActions: "Post actions";
|
|
3070
|
-
readonly edit: "Edit post";
|
|
3071
|
-
readonly delete: "Delete post";
|
|
3072
|
-
readonly deleteDescription: "Are you sure you want to delete this post? This action cannot be undone.";
|
|
3073
|
-
readonly proceed: "Proceed";
|
|
3074
|
-
readonly turnInteractionsOff: "Turn comments and reactions off";
|
|
3075
|
-
readonly turnInteractionsOn: "Turn comments and reactions on";
|
|
3076
|
-
readonly insights: "Insights";
|
|
3077
|
-
readonly visits: {
|
|
3078
|
-
readonly one: "Visit";
|
|
3079
|
-
readonly other: "Visits";
|
|
3080
|
-
};
|
|
3081
|
-
readonly postViews: "Post views";
|
|
3082
|
-
readonly anonymous: "Anonymous";
|
|
3083
|
-
readonly comments: {
|
|
3084
|
-
readonly one: "{{count}} comment";
|
|
3085
|
-
readonly other: "{{count}} comments";
|
|
3086
|
-
};
|
|
3087
|
-
readonly commentPlaceholder: "Click here to write a comment...";
|
|
3088
|
-
readonly submit: "Submit";
|
|
3089
|
-
readonly deleteComment: "Delete comment";
|
|
3090
|
-
readonly deleteCommentDescription: "Are you sure you want to delete this comment? This action cannot be undone.";
|
|
3091
|
-
readonly editComment: "Edit";
|
|
3092
|
-
readonly acknowledgeRequired: "Post acknowledgement required";
|
|
3093
|
-
readonly acknowledge: "I acknowledge";
|
|
3094
|
-
readonly acknowledgeLater: "Acknowledge later";
|
|
3095
|
-
readonly acknowledgedOn: "Acknowledged on {{date}}, at {{time}}";
|
|
3096
|
-
readonly closePostTitle: "Close post?";
|
|
3097
|
-
readonly closePostDescription: "You haven't acknowledged this post yet. You can acknowledge it later.";
|
|
3098
|
-
readonly closePost: "Close post";
|
|
3099
|
-
readonly continueReading: "Continue reading";
|
|
3100
|
-
readonly close: "Close";
|
|
3101
|
-
readonly home: "Home";
|
|
3102
|
-
};
|
|
3103
|
-
};
|
|
3104
2976
|
readonly dataChart: {
|
|
3105
2977
|
readonly heatmapNotSupported: "Heatmap not supported at this size";
|
|
3106
2978
|
readonly barChartVertical: "Bar (vertical)";
|
|
@@ -3427,19 +3299,14 @@ export declare const defaultTranslations: {
|
|
|
3427
3299
|
readonly stepOf: "Step {{current}} of {{total}}";
|
|
3428
3300
|
};
|
|
3429
3301
|
readonly widgets: {
|
|
3430
|
-
/** Turns a widget over to read what it is telling you (Home's `info`). */
|
|
3431
3302
|
readonly whatThisMeans: "What this info means?";
|
|
3432
|
-
/** The button on that other side, which turns it back. */
|
|
3433
3303
|
readonly gotIt: "Got it";
|
|
3434
|
-
/** The widget menu's own items, and the dialogs they open. */
|
|
3435
3304
|
readonly editParams: "Edit params";
|
|
3436
3305
|
readonly editParamsTitle: "Edit widget params";
|
|
3437
3306
|
readonly removeWidget: "Remove widget";
|
|
3438
3307
|
readonly addWidget: "Add widget";
|
|
3439
3308
|
readonly configureWidget: "Configure {{title}}";
|
|
3440
|
-
/** Heads the widgets a Home suggests, at the top of the picker. */
|
|
3441
3309
|
readonly recommended: "Recommended";
|
|
3442
|
-
/** Why a drop onto a pinned widget was refused. `{{title}}` is its name. */
|
|
3443
3310
|
readonly cannotMoveHere: "You can't move a widget here — {{title}} is locked.";
|
|
3444
3311
|
};
|
|
3445
3312
|
readonly pdfViewer: {
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as e, D as r, c as t, F as i, a as o, f as n, g as F, d as C, e as l, I as A, P as d, b as u, u as m } from "./F0CanvasPanel-
|
|
1
|
+
import { C as e, D as r, c as t, F as i, a as o, f as n, g as F, d as C, e as l, I as A, P as d, b as u, u as m } from "./F0CanvasPanel-C57zh5Pt.js";
|
|
2
2
|
import { defaultTranslations as c } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as g, C as p, t as v, s as I, v as T, y as f, z as y, l as S, i as x, q as b, D as k, E as B, p as H, r as L, j as O, e as V, g as w, k as D, F as M, T as z, w as E, h as j, a as q, n as G, m as R, o as U, B as J, b as K, f as N, x as Q, c as W, d as X, u as Y } from "./F0AiProcessingOverlay-
|
|
3
|
+
import { A as g, C as p, t as v, s as I, v as T, y as f, z as y, l as S, i as x, q as b, D as k, E as B, p as H, r as L, j as O, e as V, g as w, k as D, F as M, T as z, w as E, h as j, a as q, n as G, m as R, o as U, B as J, b as K, f as N, x as Q, c as W, d as X, u as Y } from "./F0AiProcessingOverlay-CsLaP2GX.js";
|
|
4
4
|
export {
|
|
5
5
|
g as AiChatTranslationsProvider,
|
|
6
6
|
e as ChatSpinner,
|