@factorialco/f0-react 13.7.1 → 13.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ArchiveThumbnail-BP0t4Rfi.js → ArchiveThumbnail-BMp3YbfD.js} +3 -3
- package/dist/{ArchiveViewer-CU9adsgr.js → ArchiveViewer-hEye6_DO.js} +5 -5
- package/dist/{ChatPostComposerDialog-o1a3GnnA.js → ChatPostComposerDialog-DvK-F_9b.js} +4 -4
- package/dist/{CoachmarkProvider-BlsZ4V3B.js → CoachmarkProvider-CSyq_SH1.js} +23566 -23065
- package/dist/{CodeThumbnail-ZwkABs75.js → CodeThumbnail-BskK4DTN.js} +1 -1
- package/dist/{CodeViewer-BrmnIt6k.js → CodeViewer-CUVpRfFA.js} +8 -8
- package/dist/{DocumentToolbar-D_afy-RH.js → DocumentToolbar-lIncsF3z.js} +5 -5
- package/dist/{DocxViewer-BptrjRiz.js → DocxViewer-BAwGUg5D.js} +3 -3
- package/dist/{F0AiProcessingOverlay-DwjvXNhv.js → F0AiProcessingOverlay-hPOUgmJz.js} +107 -107
- package/dist/{F0Alert-D5av-4_1.js → F0Alert-DWpoDmXm.js} +5 -5
- package/dist/F0AudioPlayer-B87gu5ab.js +2 -0
- package/dist/{F0Button-xbk-nrvL.js → F0Button-DJAGcvGQ.js} +4 -4
- package/dist/{F0CanvasPanel-Dj85hg3n.js → F0CanvasPanel-BqX2Sult.js} +4517 -4517
- package/dist/{F0DocumentViewer-BfZZ_Nj4.js → F0DocumentViewer-D8n4cD0X.js} +1 -1
- package/dist/{F0DocumentViewer-BtB3wnNC.js → F0DocumentViewer-bO7PViP1.js} +4 -4
- package/dist/{F0Icon-Dr2xuQq2.js → F0Icon-CqhIsgzq.js} +1 -1
- package/dist/{F0Map-DWnyL4oO.js → F0Map-WdDErexm.js} +572 -572
- package/dist/{F0Select-DD_AdtqV.js → F0Select-CLVnq8Oe.js} +5679 -5679
- package/dist/{F0Text-DzVOqGyO.js → F0Text-sHWQ6Zjr.js} +2 -2
- package/dist/{F0VideoPlayer-B7YJAF5w.js → F0VideoPlayer--6DJybCc.js} +6 -6
- package/dist/F0VideoPlayer-ChcyxpNN.js +1 -0
- package/dist/{HtmlThumbnail-BNAinxys.js → HtmlThumbnail-aIC6kVaS.js} +1 -1
- package/dist/{HtmlViewer-BZu6alyR.js → HtmlViewer-bxvjs0HU.js} +9 -9
- package/dist/{LayoutGroup-CXsoUZn_.js → LayoutGroup-CmYTzUe-.js} +15 -15
- package/dist/{Map-CVG9kKlw.js → Map-B9SA_hEH.js} +10 -10
- package/dist/{PdfThumbnail-DopWiXV1.js → PdfThumbnail---NygeL_.js} +1 -1
- package/dist/{PdfViewer-CPWR6tv7.js → PdfViewer-Dzj9Ilu-.js} +13 -13
- package/dist/{SandboxedHtmlFrame-Pi5lxvZj.js → SandboxedHtmlFrame-Dv21SdxM.js} +2 -2
- package/dist/{SheetViewer-Dwu1GbVa.js → SheetViewer-CyhOFDVZ.js} +5 -5
- package/dist/{TextViewer-DXd78D8P.js → TextViewer-CKrr0PDH.js} +4 -4
- package/dist/ai.d.ts +3 -3
- package/dist/ai.js +4 -4
- package/dist/component-status.js +14 -14
- package/dist/{dist-Bvf79ox7.js → dist-78QS1RpN.js} +4 -4
- package/dist/{dist-BgfZJh24.js → dist-B0VLslFD.js} +1 -1
- package/dist/{dist-CvYOoTs5.js → dist-DvI6nhUB.js} +1 -1
- package/dist/experimental.d.ts +70 -6
- package/dist/experimental.js +6618 -6098
- package/dist/{exports-DqmLMJgR.d.ts → exports-DaVqRnuz.d.ts} +1 -1
- package/dist/f0.d.ts +5 -5
- package/dist/f0.js +1335 -1322
- package/dist/{highlight-CE5OJwQE.js → highlight-DZRNad9z.js} +1 -1
- package/dist/{i18n-provider-aZCxX7lT.js → i18n-provider-5AmqITig.js} +1 -1
- package/dist/{i18n-provider-defaults-BUY-YS7I.d.ts → i18n-provider-defaults-DztF2sWo.d.ts} +46 -0
- package/dist/{i18n-provider-defaults-BpglikGz.js → i18n-provider-defaults-mM2ICqyS.js} +46 -0
- package/dist/i18n-provider-defaults.d.ts +1 -1
- package/dist/i18n-provider-defaults.js +1 -1
- package/dist/{index-CMtDE2kR.d.ts → index-C0pYJxas.d.ts} +1 -1
- package/dist/{maplibre-B0ReOfxN.js → maplibre-9SjV58q1.js} +1 -1
- package/dist/{pdfWorker-Q-062J_A.js → pdfWorker-DMcapWPE.js} +1 -1
- package/dist/{popover-CT3rox5D.js → popover-Cw4HYjOL.js} +1 -1
- package/dist/{posts-i2uZfohA.js → posts-BBvCiBdi.js} +12 -9
- package/dist/{scrollarea-iuapGs70.js → scrollarea-4p-5wD8d.js} +3 -3
- package/dist/{skeleton-C5JQM5pK.js → skeleton-BWzVGMzP.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{toolbarStyles-DblQOIMP.js → toolbarStyles-DDsE4J6B.js} +1 -1
- package/dist/{types-DNh-Ul2e.d.ts → types-D8tVTeWQ.d.ts} +83 -30
- package/dist/{useData-Af3QuQSP.js → useData-BjMlOMnX.js} +7 -7
- package/package.json +1 -1
- package/dist/F0AudioPlayer-BINo7ymK.js +0 -2
- package/dist/F0VideoPlayer-yNQxunbp.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Qt as e, Ut as t, Zt as n } from "./F0CanvasPanel-
|
|
1
|
+
import { Qt as e, Ut as t, Zt as n } from "./F0CanvasPanel-BqX2Sult.js";
|
|
2
2
|
import { t as r } from "./purify.es-ZpfdAuNV.js";
|
|
3
3
|
import { t as i } from "./ownValue-D4uSXt0d.js";
|
|
4
4
|
//#region src/addons/documents/lib/codeLanguages.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./i18n-provider-defaults-
|
|
1
|
+
import { t as e } from "./i18n-provider-defaults-mM2ICqyS.js";
|
|
2
2
|
import { createContext as t, forwardRef as n, memo as r, useContext as i, useEffect as a, useMemo as o, useState as s } from "react";
|
|
3
3
|
import { jsx as c } from "react/jsx-runtime";
|
|
4
4
|
//#region src/elements/providers/user-platafform/user-platform.ts
|
|
@@ -875,6 +875,12 @@ declare const defaultTranslations: {
|
|
|
875
875
|
readonly backToLatest: "Jump to latest";
|
|
876
876
|
readonly readOnly: "You can't send messages in this conversation";
|
|
877
877
|
readonly online: "Online";
|
|
878
|
+
readonly visibility: {
|
|
879
|
+
readonly global: "Global";
|
|
880
|
+
readonly globalHint: "Everyone in the company is in this channel";
|
|
881
|
+
readonly private: "Private";
|
|
882
|
+
readonly privateHint: "Only invited people can find and join this channel";
|
|
883
|
+
};
|
|
878
884
|
readonly muted: "Muted";
|
|
879
885
|
readonly mute: "Mute";
|
|
880
886
|
readonly unmute: "Unmute";
|
|
@@ -960,6 +966,30 @@ declare const defaultTranslations: {
|
|
|
960
966
|
readonly delivered: "Delivered";
|
|
961
967
|
readonly back: "Back";
|
|
962
968
|
readonly writing: "Writing…";
|
|
969
|
+
readonly remind: {
|
|
970
|
+
readonly menu: "Remind me";
|
|
971
|
+
readonly title: "Remind me";
|
|
972
|
+
readonly in20Minutes: "In 20 minutes";
|
|
973
|
+
readonly in1Hour: "In 1 hour";
|
|
974
|
+
readonly in3Hours: "In 3 hours";
|
|
975
|
+
readonly tomorrow: "Tomorrow";
|
|
976
|
+
readonly nextWeek: "Next week";
|
|
977
|
+
readonly custom: "Pick date and time…";
|
|
978
|
+
readonly current: "Reminder · {{when}}";
|
|
979
|
+
readonly remove: "Remove reminder";
|
|
980
|
+
readonly metaLabel: "Reminder {{when}}";
|
|
981
|
+
readonly dialogTitle: "Remind me about this message";
|
|
982
|
+
readonly date: "Date";
|
|
983
|
+
readonly time: "Time";
|
|
984
|
+
readonly timezone: "{{when}} · {{zone}}";
|
|
985
|
+
readonly confirm: "Set reminder";
|
|
986
|
+
readonly cancel: "Cancel";
|
|
987
|
+
readonly past: "Pick a time in the future";
|
|
988
|
+
};
|
|
989
|
+
readonly preview: {
|
|
990
|
+
readonly empty: "No messages yet";
|
|
991
|
+
readonly failed: "Couldn't load the preview";
|
|
992
|
+
};
|
|
963
993
|
readonly isTyping: "{{name}} is writing…";
|
|
964
994
|
readonly twoTyping: "{{first}} and {{second}} are writing…";
|
|
965
995
|
readonly severalTyping: "Several people are writing…";
|
|
@@ -1156,6 +1186,22 @@ declare const defaultTranslations: {
|
|
|
1156
1186
|
readonly gaugeValue: "{{value}}, range {{min}} to {{max}}";
|
|
1157
1187
|
};
|
|
1158
1188
|
};
|
|
1189
|
+
readonly timeline: {
|
|
1190
|
+
readonly status: {
|
|
1191
|
+
readonly completed: "Completed";
|
|
1192
|
+
readonly inProgress: "In progress";
|
|
1193
|
+
readonly notStarted: "Not started";
|
|
1194
|
+
readonly rejected: "Rejected";
|
|
1195
|
+
readonly changesRequested: "Changes requested";
|
|
1196
|
+
readonly skipped: "Skipped";
|
|
1197
|
+
};
|
|
1198
|
+
readonly approver: {
|
|
1199
|
+
readonly approved: "Approved";
|
|
1200
|
+
readonly waiting: "Waiting";
|
|
1201
|
+
readonly rejected: "Rejected";
|
|
1202
|
+
};
|
|
1203
|
+
readonly progress: "{{completed}} of {{total}} completed";
|
|
1204
|
+
};
|
|
1159
1205
|
readonly progressSeries: {
|
|
1160
1206
|
readonly noData: "No data";
|
|
1161
1207
|
readonly canceled: "Canceled";
|
|
@@ -844,6 +844,12 @@ var e = {
|
|
|
844
844
|
backToLatest: "Jump to latest",
|
|
845
845
|
readOnly: "You can't send messages in this conversation",
|
|
846
846
|
online: "Online",
|
|
847
|
+
visibility: {
|
|
848
|
+
global: "Global",
|
|
849
|
+
globalHint: "Everyone in the company is in this channel",
|
|
850
|
+
private: "Private",
|
|
851
|
+
privateHint: "Only invited people can find and join this channel"
|
|
852
|
+
},
|
|
847
853
|
muted: "Muted",
|
|
848
854
|
mute: "Mute",
|
|
849
855
|
unmute: "Unmute",
|
|
@@ -929,6 +935,30 @@ var e = {
|
|
|
929
935
|
delivered: "Delivered",
|
|
930
936
|
back: "Back",
|
|
931
937
|
writing: "Writing…",
|
|
938
|
+
remind: {
|
|
939
|
+
menu: "Remind me",
|
|
940
|
+
title: "Remind me",
|
|
941
|
+
in20Minutes: "In 20 minutes",
|
|
942
|
+
in1Hour: "In 1 hour",
|
|
943
|
+
in3Hours: "In 3 hours",
|
|
944
|
+
tomorrow: "Tomorrow",
|
|
945
|
+
nextWeek: "Next week",
|
|
946
|
+
custom: "Pick date and time…",
|
|
947
|
+
current: "Reminder · {{when}}",
|
|
948
|
+
remove: "Remove reminder",
|
|
949
|
+
metaLabel: "Reminder {{when}}",
|
|
950
|
+
dialogTitle: "Remind me about this message",
|
|
951
|
+
date: "Date",
|
|
952
|
+
time: "Time",
|
|
953
|
+
timezone: "{{when}} · {{zone}}",
|
|
954
|
+
confirm: "Set reminder",
|
|
955
|
+
cancel: "Cancel",
|
|
956
|
+
past: "Pick a time in the future"
|
|
957
|
+
},
|
|
958
|
+
preview: {
|
|
959
|
+
empty: "No messages yet",
|
|
960
|
+
failed: "Couldn't load the preview"
|
|
961
|
+
},
|
|
932
962
|
isTyping: "{{name}} is writing…",
|
|
933
963
|
twoTyping: "{{first}} and {{second}} are writing…",
|
|
934
964
|
severalTyping: "Several people are writing…",
|
|
@@ -1125,6 +1155,22 @@ var e = {
|
|
|
1125
1155
|
gaugeValue: "{{value}}, range {{min}} to {{max}}"
|
|
1126
1156
|
}
|
|
1127
1157
|
},
|
|
1158
|
+
timeline: {
|
|
1159
|
+
status: {
|
|
1160
|
+
completed: "Completed",
|
|
1161
|
+
inProgress: "In progress",
|
|
1162
|
+
notStarted: "Not started",
|
|
1163
|
+
rejected: "Rejected",
|
|
1164
|
+
changesRequested: "Changes requested",
|
|
1165
|
+
skipped: "Skipped"
|
|
1166
|
+
},
|
|
1167
|
+
approver: {
|
|
1168
|
+
approved: "Approved",
|
|
1169
|
+
waiting: "Waiting",
|
|
1170
|
+
rejected: "Rejected"
|
|
1171
|
+
},
|
|
1172
|
+
progress: "{{completed}} of {{total}} completed"
|
|
1173
|
+
},
|
|
1128
1174
|
progressSeries: {
|
|
1129
1175
|
noData: "No data",
|
|
1130
1176
|
canceled: "Canceled"
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TranslationsType, r as defaultTranslations, t as TranslationKey } from "./i18n-provider-defaults-
|
|
1
|
+
import { n as TranslationsType, r as defaultTranslations, t as TranslationKey } from "./i18n-provider-defaults-DztF2sWo.js";
|
|
2
2
|
export { TranslationKey, TranslationsType, defaultTranslations };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as defaultTranslations } from "./i18n-provider-defaults-
|
|
1
|
+
export { t as defaultTranslations } from "./i18n-provider-defaults-mM2ICqyS.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as TranslationsType, t as TranslationKey } from "./i18n-provider-defaults-
|
|
1
|
+
import { n as TranslationsType, t as TranslationKey } from "./i18n-provider-defaults-DztF2sWo.js";
|
|
2
2
|
import * as React$2 from "react";
|
|
3
3
|
import React$1, { AnchorHTMLAttributes, ComponentProps, ComponentType, FC, ForwardRefExoticComponent, ForwardedRef, HTMLAttributeAnchorTarget, HTMLAttributes, KeyboardEvent, PropsWithChildren, ReactElement, ReactNode, Ref, RefAttributes, RefObject, SVGProps } from "react";
|
|
4
4
|
import { VariantProps } from "cva";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as e } from "./rolldown-runtime-BItFwnF5.js";
|
|
2
2
|
import { t } from "./dist-Cuwaibqg.js";
|
|
3
|
-
import { s as n } from "./F0Map-
|
|
3
|
+
import { s as n } from "./F0Map-WdDErexm.js";
|
|
4
4
|
import './maplibre-gl.css';import './maplibre.css';/* empty css */
|
|
5
5
|
import { t as r } from "./maplibre-gl-DVldSYfz.js";
|
|
6
6
|
//#region ../../node_modules/.pnpm/@mapbox+mapbox-gl-rtl-text@0.2.3_mapbox-gl@1.13.3/node_modules/@mapbox/mapbox-gl-rtl-text/mapbox-gl-rtl-text.js?url
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as __require, o as __toESM, t as __commonJSMin } from "./rolldown-runtime-BItFwnF5.js";
|
|
2
2
|
import { z as clsx } from "./tooltip-BX4dSfeL.js";
|
|
3
|
-
import { ya as invariant } from "./F0CanvasPanel-
|
|
3
|
+
import { ya as invariant } from "./F0CanvasPanel-BqX2Sult.js";
|
|
4
4
|
import { t as dequal } from "./dist-Dt-cTb6D.js";
|
|
5
5
|
import { n as pdfWorkerOverride, r as registerPdfWorkerApplier } from "./pdfWorkerConfig-BwllKt1K.js";
|
|
6
6
|
import { createContext, forwardRef, useCallback, useContext, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { L as e, s as t } from "./tooltip-BX4dSfeL.js";
|
|
2
|
-
import { n } from "./F0Icon-
|
|
2
|
+
import { n } from "./F0Icon-CqhIsgzq.js";
|
|
3
3
|
import * as r from "react";
|
|
4
4
|
import i, { createElement as a, forwardRef as o, useEffect as s, useLayoutEffect as c, useState as l } from "react";
|
|
5
5
|
import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
@@ -90,6 +90,7 @@ var c = (e) => {
|
|
|
90
90
|
removeLinkPreview: (e, t) => void d.current.removeLinkPreview?.(e, t),
|
|
91
91
|
forwardMessage: (e) => void d.current.forwardMessage?.(e),
|
|
92
92
|
pinMessage: (e, t) => void d.current.pinMessage?.(e, t),
|
|
93
|
+
setMessageReminder: (e, t) => void d.current.setMessageReminder?.(e, t),
|
|
93
94
|
translateMessage: (e) => {
|
|
94
95
|
let t = d.current.translateMessage?.(e);
|
|
95
96
|
t && (C((t) => new Set(t).add(e)), t.catch(() => {}).finally(() => C((t) => {
|
|
@@ -152,26 +153,27 @@ var c = (e) => {
|
|
|
152
153
|
onScheduledPostOpened: () => e((e) => e.onScheduledPostOpened?.()),
|
|
153
154
|
onUpsellShown: (t) => e((e) => e.onUpsellShown?.(t))
|
|
154
155
|
};
|
|
155
|
-
}, []), E = _(e.capabilities), D = !!e.editMessage, O = !!e.removeLinkPreview, k = !!e.forwardMessage, A = !!e.pinMessage, j = !!e.
|
|
156
|
+
}, []), E = _(e.capabilities), D = !!e.editMessage, O = !!e.removeLinkPreview, k = !!e.forwardMessage, A = !!e.pinMessage, j = !!e.setMessageReminder, M = !!e.translateMessage, N = !!e.hideMessageTranslation, P = !!e.requestTranslationUpsell, F = !!e.deleteFailedMessage, I = !!e.loadReactionUsers, L = !!e.openPost, R = !!e.openCommunity, z = r(() => ({
|
|
156
157
|
currentUserId: e.currentUserId,
|
|
157
158
|
channelType: e.channel.type,
|
|
158
159
|
channelTitle: e.channel.title,
|
|
159
160
|
capabilities: E,
|
|
160
161
|
editWindowMs: e.editWindowMs,
|
|
161
162
|
toggleReaction: w.toggleReaction,
|
|
162
|
-
loadReactionUsers:
|
|
163
|
+
loadReactionUsers: I ? w.loadReactionUsers : void 0,
|
|
163
164
|
retryMessage: w.retryMessage,
|
|
164
165
|
deleteMessage: w.deleteMessage,
|
|
165
|
-
deleteFailedMessage:
|
|
166
|
+
deleteFailedMessage: F ? w.deleteFailedMessage : void 0,
|
|
166
167
|
editMessage: D ? w.editMessage : void 0,
|
|
167
168
|
removeLinkPreview: O ? w.removeLinkPreview : void 0,
|
|
168
169
|
forwardMessage: k ? w.forwardMessage : void 0,
|
|
169
170
|
pinMessage: A ? w.pinMessage : void 0,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
171
|
+
setMessageReminder: j ? w.setMessageReminder : void 0,
|
|
172
|
+
translateMessage: M ? w.translateMessage : void 0,
|
|
173
|
+
hideMessageTranslation: N ? w.hideMessageTranslation : void 0,
|
|
174
|
+
requestTranslationUpsell: P ? w.requestTranslationUpsell : void 0,
|
|
175
|
+
openPost: L ? w.openPost : void 0,
|
|
176
|
+
openCommunity: R ? w.openCommunity : void 0,
|
|
175
177
|
postActions: w.postActions
|
|
176
178
|
}), [
|
|
177
179
|
e.currentUserId,
|
|
@@ -190,6 +192,7 @@ var c = (e) => {
|
|
|
190
192
|
F,
|
|
191
193
|
I,
|
|
192
194
|
L,
|
|
195
|
+
R,
|
|
193
196
|
w
|
|
194
197
|
]);
|
|
195
198
|
return /* @__PURE__ */ s(l.Provider, {
|
|
@@ -199,7 +202,7 @@ var c = (e) => {
|
|
|
199
202
|
children: /* @__PURE__ */ s(p.Provider, {
|
|
200
203
|
value: y,
|
|
201
204
|
children: /* @__PURE__ */ s(u.Provider, {
|
|
202
|
-
value:
|
|
205
|
+
value: z,
|
|
203
206
|
children: /* @__PURE__ */ s(m.Provider, {
|
|
204
207
|
value: e.activePostId,
|
|
205
208
|
children: /* @__PURE__ */ s(h.Provider, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { L as e } from "./tooltip-BX4dSfeL.js";
|
|
2
|
-
import { i as t, r as n } from "./F0Button-
|
|
3
|
-
import { o as r } from "./F0Icon-
|
|
4
|
-
import { E as i, O as a, T as o, b as s, p as c, w as l, y as u } from "./popover-
|
|
2
|
+
import { i as t, r as n } from "./F0Button-DJAGcvGQ.js";
|
|
3
|
+
import { o as r } from "./F0Icon-CqhIsgzq.js";
|
|
4
|
+
import { E as i, O as a, T as o, b as s, p as c, w as l, y as u } from "./popover-Cw4HYjOL.js";
|
|
5
5
|
import * as d from "react";
|
|
6
6
|
import { createElement as f, forwardRef as p, useEffect as m, useRef as h } from "react";
|
|
7
7
|
import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
|