@factorialco/f0-react 6.88.1 → 6.88.3
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/{ChatDocxThumbnail-DzNPNFya.js → ChatDocxThumbnail-DhzoVI1K.js} +11 -8
- package/dist/{ChatPdfThumbnail-CU04qody.js → ChatPdfThumbnail-DdrOp7Rm.js} +1 -1
- package/dist/{ChatSheetThumbnail-CxGL5ukQ.js → ChatSheetThumbnail-D8aN1W_0.js} +3 -2
- package/dist/{ChatTextThumbnail-FVwMzn0I.js → ChatTextThumbnail-B53pSYUy.js} +2 -1
- package/dist/{CoachmarkProvider-Za9OFHyv.js → CoachmarkProvider-CoPINK6_.js} +10468 -10201
- package/dist/{DocumentToolbar-CjPXej-B.js → DocumentToolbar-p4qZSVUD.js} +2 -2
- package/dist/{DocxViewer-jBPMXxA5.js → DocxViewer-_Z59Wr2S.js} +11 -9
- package/dist/{F0AiProcessingOverlay-1Asmno_R.js → F0AiProcessingOverlay-CwJG6TgU.js} +492 -405
- package/dist/{F0CanvasPanel-B-mXfgsy.js → F0CanvasPanel-CpgOQnbI.js} +3716 -3608
- package/dist/F0CanvasPanel.css +1 -1
- package/dist/{F0VideoPlayer-tVJoBk75.js → F0VideoPlayer-CXAjfSnS.js} +447 -429
- package/dist/{LocationMap-C7xbKAtJ.js → LocationMap-Bp7gglCx.js} +5 -3
- package/dist/{SheetViewer-DqCzdCSC.js → SheetViewer-DSbC_CR2.js} +3 -3
- package/dist/{TextViewer-jnyFAnd_.js → TextViewer-BkgAiijZ.js} +4 -3
- package/dist/ai.d.ts +22 -22
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +17 -17
- package/dist/component-status.js +3 -2
- package/dist/{experimental-i99E8mRr.js → experimental-Crt7EEav.js} +3070 -2859
- package/dist/experimental.d.ts +85 -65
- package/dist/experimental.js +3 -3
- package/dist/f0.d.ts +93 -82
- package/dist/f0.js +8070 -7967
- package/dist/i18n-provider-defaults.d.ts +13 -13
- package/dist/{index-X5f3wrms.js → index-BP9845Kl.js} +23 -13
- package/dist/index-uG8opRj1.js +4 -0
- package/dist/{pdfWorker-C0RfCQda.js → pdfWorker-wHv_aPH2.js} +2 -2
- package/dist/{sheetPreview-5qeAOp0W.js → sheetPreview-Djc-YyVs.js} +4 -2
- package/icons/app/CursorClick.d.ts.map +1 -1
- package/icons/app/FitView.d.ts.map +1 -1
- package/icons/modules/Benefits.d.ts.map +1 -1
- package/icons/modules/Calendar.d.ts.map +1 -1
- package/icons/modules/Cards.d.ts.map +1 -1
- package/icons/modules/ClockIn.d.ts.map +1 -1
- package/icons/modules/Communities.d.ts.map +1 -1
- package/icons/modules/Complaints.d.ts.map +1 -1
- package/icons/modules/Discover.d.ts.map +1 -1
- package/icons/modules/Documents.d.ts.map +1 -1
- package/icons/modules/Engagement.d.ts.map +1 -1
- package/icons/modules/Finance.d.ts.map +1 -1
- package/icons/modules/Goals.d.ts.map +1 -1
- package/icons/modules/Home.d.ts.map +1 -1
- package/icons/modules/Hub.d.ts.map +1 -1
- package/icons/modules/Inbox.d.ts.map +1 -1
- package/icons/modules/ItManagement.d.ts.map +1 -1
- package/icons/modules/Kudos.d.ts.map +1 -1
- package/icons/modules/LMS.d.ts.map +1 -1
- package/icons/modules/Marketplace.d.ts.map +1 -1
- package/icons/modules/Meetings.d.ts.map +1 -1
- package/icons/modules/MyDocuments.d.ts.map +1 -1
- package/icons/modules/Organization.d.ts.map +1 -1
- package/icons/modules/Overviews.d.ts.map +1 -1
- package/icons/modules/Pages.d.ts.map +1 -1
- package/icons/modules/Payroll.d.ts.map +1 -1
- package/icons/modules/Performance.d.ts.map +1 -1
- package/icons/modules/Profile.d.ts.map +1 -1
- package/icons/modules/Projects.d.ts.map +1 -1
- package/icons/modules/Recruitment.d.ts.map +1 -1
- package/icons/modules/Reports.d.ts.map +1 -1
- package/icons/modules/Rocket.d.ts.map +1 -1
- package/icons/modules/SalaryAdvance.d.ts.map +1 -1
- package/icons/modules/Sales.d.ts.map +1 -1
- package/icons/modules/Settings.d.ts.map +1 -1
- package/icons/modules/Shifts.d.ts.map +1 -1
- package/icons/modules/Social.d.ts.map +1 -1
- package/icons/modules/Software.d.ts.map +1 -1
- package/icons/modules/Spaces.d.ts.map +1 -1
- package/icons/modules/Spending.d.ts.map +1 -1
- package/icons/modules/Tasks.d.ts.map +1 -1
- package/icons/modules/TimeOff.d.ts.map +1 -1
- package/icons/modules/TimeTracking.d.ts.map +1 -1
- package/icons/modules/Trainings.d.ts.map +1 -1
- package/icons/modules/Treasury.d.ts.map +1 -1
- package/icons/modules/Workflows.d.ts.map +1 -1
- package/icons/special/One.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/index-onBO9HKr.js +0 -4
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { m } from "./experimental-
|
|
2
|
+
import { m } from "./experimental-Crt7EEav.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);
|
|
6
6
|
return i(() => {
|
|
7
7
|
const r = n.current;
|
|
8
|
-
if (!r)
|
|
8
|
+
if (!r)
|
|
9
|
+
return;
|
|
9
10
|
const a = () => s(r.closest(".dark") !== null);
|
|
10
11
|
a();
|
|
11
12
|
const t = new MutationObserver(a);
|
|
@@ -25,7 +26,8 @@ const k = "https://tiles.openfreemap.org/styles/positron", y = "https://tiles.op
|
|
|
25
26
|
const u = l(null);
|
|
26
27
|
return i(() => {
|
|
27
28
|
const o = s.current;
|
|
28
|
-
if (!o)
|
|
29
|
+
if (!o)
|
|
30
|
+
return;
|
|
29
31
|
u.current = e.current;
|
|
30
32
|
const f = new m.Map({
|
|
31
33
|
container: o,
|
|
@@ -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-
|
|
4
|
-
import { f as z, c as E } from "./sheetPreview-
|
|
5
|
-
import { u as _, D as j } from "./DocumentToolbar-
|
|
3
|
+
import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-CpgOQnbI.js";
|
|
4
|
+
import { f as z, c as E } from "./sheetPreview-Djc-YyVs.js";
|
|
5
|
+
import { u as _, D as j } from "./DocumentToolbar-p4qZSVUD.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-CpgOQnbI.js";
|
|
4
|
+
import { u as y, D as g } from "./DocumentToolbar-p4qZSVUD.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",
|
|
@@ -30,7 +30,8 @@ const k = 2 * 1024 * 1024, v = [
|
|
|
30
30
|
return h(() => {
|
|
31
31
|
let s = !1;
|
|
32
32
|
return c(null), m(!1), fetch(o, { credentials: l ? "include" : "same-origin" }).then((t) => {
|
|
33
|
-
if (!t.ok)
|
|
33
|
+
if (!t.ok)
|
|
34
|
+
throw new Error(`${t.status}`);
|
|
34
35
|
return t.text();
|
|
35
36
|
}).then((t) => {
|
|
36
37
|
s || c(t.slice(0, k));
|
package/dist/ai.d.ts
CHANGED
|
@@ -689,7 +689,7 @@ export declare type AiInsightCardContent = {
|
|
|
689
689
|
avatar: Pick<F0AvatarPersonProps, "firstName" | "lastName" | "src">;
|
|
690
690
|
} | {
|
|
691
691
|
content: "people";
|
|
692
|
-
avatars:
|
|
692
|
+
avatars: Pick<F0AvatarPersonProps, "firstName" | "lastName" | "src">[];
|
|
693
693
|
} | {
|
|
694
694
|
content: "team";
|
|
695
695
|
avatar: Pick<F0AvatarTeamProps, "name" | "src">;
|
|
@@ -1796,10 +1796,10 @@ export declare type DashboardCanvasContent = CanvasContentBase & {
|
|
|
1796
1796
|
};
|
|
1797
1797
|
|
|
1798
1798
|
export declare interface DashboardFetchSpec {
|
|
1799
|
-
fetch:
|
|
1799
|
+
fetch: {
|
|
1800
1800
|
toolId: string;
|
|
1801
1801
|
args: Record<string, unknown>;
|
|
1802
|
-
}
|
|
1802
|
+
}[];
|
|
1803
1803
|
query: string | null;
|
|
1804
1804
|
columnLabels?: Record<string, string>;
|
|
1805
1805
|
}
|
|
@@ -4608,7 +4608,7 @@ declare type F0TagListProps<T extends TagType_2> = {
|
|
|
4608
4608
|
/**
|
|
4609
4609
|
* Array of tag data corresponding to the specified type.
|
|
4610
4610
|
*/
|
|
4611
|
-
tags:
|
|
4611
|
+
tags: TagTypeMapping[T][];
|
|
4612
4612
|
/**
|
|
4613
4613
|
* The maximum number of tags to display.
|
|
4614
4614
|
* @default 4
|
|
@@ -4910,14 +4910,14 @@ declare type Message = {
|
|
|
4910
4910
|
id?: string;
|
|
4911
4911
|
role?: string;
|
|
4912
4912
|
content?: unknown;
|
|
4913
|
-
toolCalls?:
|
|
4913
|
+
toolCalls?: {
|
|
4914
4914
|
id: string;
|
|
4915
4915
|
type?: string;
|
|
4916
4916
|
function?: {
|
|
4917
4917
|
name: string;
|
|
4918
4918
|
arguments: string;
|
|
4919
4919
|
};
|
|
4920
|
-
}
|
|
4920
|
+
}[];
|
|
4921
4921
|
generativeUI?: () => unknown;
|
|
4922
4922
|
rawData?: unknown;
|
|
4923
4923
|
/**
|
|
@@ -5244,11 +5244,11 @@ declare type Props_2 = {
|
|
|
5244
5244
|
export declare interface RadarComputation {
|
|
5245
5245
|
datasetId: string;
|
|
5246
5246
|
seriesColumn: string;
|
|
5247
|
-
indicators:
|
|
5247
|
+
indicators: {
|
|
5248
5248
|
column: string;
|
|
5249
5249
|
label: string;
|
|
5250
5250
|
max?: number;
|
|
5251
|
-
}
|
|
5251
|
+
}[];
|
|
5252
5252
|
limit?: number;
|
|
5253
5253
|
sortBy?: string;
|
|
5254
5254
|
sortOrder?: "asc" | "desc";
|
|
@@ -5588,7 +5588,7 @@ declare type UseChatHistoryReturn = {
|
|
|
5588
5588
|
threads: ChatThread[];
|
|
5589
5589
|
isLoading: boolean;
|
|
5590
5590
|
error: string | null;
|
|
5591
|
-
refetch: () => void
|
|
5591
|
+
refetch: () => Promise<void>;
|
|
5592
5592
|
pinnedIds: Set<string>;
|
|
5593
5593
|
/**
|
|
5594
5594
|
* Ids of threads with an in-flight pin/unpin/delete request. Use it to show a
|
|
@@ -5762,17 +5762,17 @@ declare namespace _Page {
|
|
|
5762
5762
|
declare module "gridstack" {
|
|
5763
5763
|
interface GridStackWidget {
|
|
5764
5764
|
id?: string;
|
|
5765
|
-
allowedSizes?:
|
|
5765
|
+
allowedSizes?: {
|
|
5766
5766
|
w: number;
|
|
5767
5767
|
h: number;
|
|
5768
|
-
}
|
|
5768
|
+
}[];
|
|
5769
5769
|
meta?: Record<string, unknown>;
|
|
5770
5770
|
}
|
|
5771
5771
|
interface GridStackNode {
|
|
5772
|
-
allowedSizes?:
|
|
5772
|
+
allowedSizes?: {
|
|
5773
5773
|
w: number;
|
|
5774
5774
|
h: number;
|
|
5775
|
-
}
|
|
5775
|
+
}[];
|
|
5776
5776
|
}
|
|
5777
5777
|
}
|
|
5778
5778
|
|
|
@@ -5806,9 +5806,10 @@ declare module "@tiptap/core" {
|
|
|
5806
5806
|
|
|
5807
5807
|
declare module "@tiptap/core" {
|
|
5808
5808
|
interface Commands<ReturnType> {
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
-
|
|
5809
|
+
indent: {
|
|
5810
|
+
setIndent: (level: number) => ReturnType;
|
|
5811
|
+
unsetIndent: () => ReturnType;
|
|
5812
|
+
outdent: () => ReturnType;
|
|
5812
5813
|
};
|
|
5813
5814
|
}
|
|
5814
5815
|
}
|
|
@@ -5816,10 +5817,8 @@ declare module "@tiptap/core" {
|
|
|
5816
5817
|
|
|
5817
5818
|
declare module "@tiptap/core" {
|
|
5818
5819
|
interface Commands<ReturnType> {
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
unsetIndent: () => ReturnType;
|
|
5822
|
-
outdent: () => ReturnType;
|
|
5820
|
+
moodTracker: {
|
|
5821
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
5823
5822
|
};
|
|
5824
5823
|
}
|
|
5825
5824
|
}
|
|
@@ -5827,8 +5826,9 @@ declare module "@tiptap/core" {
|
|
|
5827
5826
|
|
|
5828
5827
|
declare module "@tiptap/core" {
|
|
5829
5828
|
interface Commands<ReturnType> {
|
|
5830
|
-
|
|
5831
|
-
|
|
5829
|
+
fontSize: {
|
|
5830
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
5831
|
+
unsetFontSize: () => ReturnType;
|
|
5832
5832
|
};
|
|
5833
5833
|
}
|
|
5834
5834
|
}
|
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 h } 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 h } from "./F0CanvasPanel-CpgOQnbI.js";
|
|
2
2
|
import { defaultTranslations as c } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as P, C as T, t as p, s as v, v as g, y as f, l as y, i as S, q as x, z as b, B as k, p as H, r as O, j as V, e as w, g as B, k as M, F as z, T as D, w as L, h as j, a as q, n as E, m as G, o as R, b as J, f as K, x as N, c as Q, d as U, u as W } from "./F0AiProcessingOverlay-
|
|
3
|
+
import { A as P, C as T, t as p, s as v, v as g, y as f, l as y, i as S, q as x, z as b, B as k, p as H, r as O, j as V, e as w, g as B, k as M, F as z, T as D, w as L, h as j, a as q, n as E, m as G, o as R, b as J, f as K, x as N, c as Q, d as U, u as W } from "./F0AiProcessingOverlay-CwJG6TgU.js";
|
|
4
4
|
export {
|
|
5
5
|
P as AiChatTranslationsProvider,
|
|
6
6
|
e as ChatSpinner,
|
|
@@ -235,16 +235,16 @@ export declare interface RequirementResult {
|
|
|
235
235
|
* changes for 60 days, and Foundations approval. Those remain manual promotion
|
|
236
236
|
* gates (see Lifecycle/Definition of Done).
|
|
237
237
|
*/
|
|
238
|
-
export declare const STABLE_REQUIREMENTS:
|
|
238
|
+
export declare const STABLE_REQUIREMENTS: readonly {
|
|
239
239
|
key: string;
|
|
240
240
|
label: string;
|
|
241
241
|
detail: string;
|
|
242
|
-
criteria?:
|
|
242
|
+
criteria?: {
|
|
243
243
|
label: string;
|
|
244
244
|
isMet: (c: ComponentEntry) => boolean;
|
|
245
|
-
}
|
|
245
|
+
}[];
|
|
246
246
|
isMet: (c: ComponentEntry) => boolean;
|
|
247
|
-
}
|
|
247
|
+
}[];
|
|
248
248
|
|
|
249
249
|
/** Human-readable badge label per maturity level. */
|
|
250
250
|
export declare const STATUS_LABELS: Record<ApiStatus, string>;
|
|
@@ -274,17 +274,17 @@ declare namespace _Page {
|
|
|
274
274
|
declare module "gridstack" {
|
|
275
275
|
interface GridStackWidget {
|
|
276
276
|
id?: string;
|
|
277
|
-
allowedSizes?:
|
|
277
|
+
allowedSizes?: {
|
|
278
278
|
w: number;
|
|
279
279
|
h: number;
|
|
280
|
-
}
|
|
280
|
+
}[];
|
|
281
281
|
meta?: Record<string, unknown>;
|
|
282
282
|
}
|
|
283
283
|
interface GridStackNode {
|
|
284
|
-
allowedSizes?:
|
|
284
|
+
allowedSizes?: {
|
|
285
285
|
w: number;
|
|
286
286
|
h: number;
|
|
287
|
-
}
|
|
287
|
+
}[];
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
290
|
|
|
@@ -318,9 +318,10 @@ declare module "@tiptap/core" {
|
|
|
318
318
|
|
|
319
319
|
declare module "@tiptap/core" {
|
|
320
320
|
interface Commands<ReturnType> {
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
321
|
+
indent: {
|
|
322
|
+
setIndent: (level: number) => ReturnType;
|
|
323
|
+
unsetIndent: () => ReturnType;
|
|
324
|
+
outdent: () => ReturnType;
|
|
324
325
|
};
|
|
325
326
|
}
|
|
326
327
|
}
|
|
@@ -328,10 +329,8 @@ declare module "@tiptap/core" {
|
|
|
328
329
|
|
|
329
330
|
declare module "@tiptap/core" {
|
|
330
331
|
interface Commands<ReturnType> {
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
unsetIndent: () => ReturnType;
|
|
334
|
-
outdent: () => ReturnType;
|
|
332
|
+
moodTracker: {
|
|
333
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
335
334
|
};
|
|
336
335
|
}
|
|
337
336
|
}
|
|
@@ -339,8 +338,9 @@ declare module "@tiptap/core" {
|
|
|
339
338
|
|
|
340
339
|
declare module "@tiptap/core" {
|
|
341
340
|
interface Commands<ReturnType> {
|
|
342
|
-
|
|
343
|
-
|
|
341
|
+
fontSize: {
|
|
342
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
343
|
+
unsetFontSize: () => ReturnType;
|
|
344
344
|
};
|
|
345
345
|
}
|
|
346
346
|
}
|