@factorialco/f0-react 12.11.0 → 12.13.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-cs8kx5Zf.js → ArchiveThumbnail-BZgITTo2.js} +5 -5
- package/dist/{ArchiveViewer-BXUH8Lm5.js → ArchiveViewer-BHu224N3.js} +15 -15
- package/dist/{ChatPostComposerDialog-CGil1xkf.js → ChatPostComposerDialog-CsxxDqxh.js} +3 -3
- package/dist/{CoachmarkProvider-cZnuTk79.js → CoachmarkProvider-9PVhiN-N.js} +22476 -22653
- package/dist/{CodeThumbnail-Dcer4AyK.js → CodeThumbnail-ChpXV1S-.js} +1 -1
- package/dist/{CodeViewer-DFBwdIFm.js → CodeViewer-BKw04W0G.js} +8 -8
- package/dist/{DocumentToolbar-vZEyzJ89.js → DocumentToolbar-mB3bK8uS.js} +5 -5
- package/dist/{DocxViewer-DQV5Kv1n.js → DocxViewer-Dr8WXU1s.js} +3 -3
- package/dist/{F0AiProcessingOverlay-DjGkQ2Nc.js → F0AiProcessingOverlay-BUynKfyI.js} +503 -503
- package/dist/F0Alert-ALRcL0Af.js +102 -0
- package/dist/F0AudioPlayer-Cd9nIQX5.js +2 -0
- package/dist/F0AudioPlayer-vRJmmSpp.js +1175 -0
- package/dist/{F0Button-FXkThQ9H.js → F0Button-d91IgOnc.js} +3 -3
- package/dist/{F0CanvasPanel-BgDo2LWP.js → F0CanvasPanel-D1QmpvzX.js} +8551 -8267
- package/dist/F0DocumentViewer-CEuF9b_u.js +3 -0
- package/dist/{F0DocumentViewer-BXifXzUW.js → F0DocumentViewer-ChCqzIK3.js} +30 -19
- package/dist/{F0Icon-Cj0USbCF.js → F0Icon-DmCBV0gK.js} +1 -1
- package/dist/{F0Map-Dwev4u-_.js → F0Map-CWhV5A03.js} +505 -505
- package/dist/{F0Select-BWWdEd7l.js → F0Select-BZ20yXKy.js} +8284 -8333
- package/dist/F0VideoPlayer-DUw-DouS.js +1 -0
- package/dist/{F0VideoPlayer-BmCmHG87.js → F0VideoPlayer-wTc25_qN.js} +323 -367
- package/dist/{HtmlThumbnail-BAgkBH2r.js → HtmlThumbnail-BJuJkuvu.js} +1 -1
- package/dist/{HtmlViewer-FRfNoxhP.js → HtmlViewer-Uxb8n2vn.js} +27 -27
- package/dist/{F0Text-DMZW7dhN.js → LayoutGroup-BGb5jMxE.js} +29 -37
- package/dist/{Map-BxGPElF2.js → Map-95w5slTZ.js} +14 -14
- package/dist/{PdfThumbnail-CpGZz5Kq.js → PdfThumbnail-BYrhsyMw.js} +1 -1
- package/dist/{PdfViewer-C81MK43i.js → PdfViewer-DUxhQr-O.js} +13 -13
- package/dist/{SandboxedHtmlFrame-B6YWhgyg.js → SandboxedHtmlFrame-B95lWsIP.js} +2 -2
- package/dist/{SheetViewer-DPGpMNqq.js → SheetViewer-C9Rbh_xJ.js} +15 -15
- package/dist/{TextViewer-BH42AeG8.js → TextViewer-DP9lYxAB.js} +4 -4
- package/dist/ai.d.ts +3 -3
- package/dist/ai.js +5 -5
- package/dist/component-status.js +1 -1
- package/dist/dist-CFY0KELA.js +55 -0
- package/dist/dist-DtILhk4w.js +253 -0
- package/dist/{dist-D-MJbPvE.js → dist-zvwuNflP.js} +1 -1
- package/dist/experimental.d.ts +15 -3
- package/dist/experimental.js +6527 -6244
- package/dist/{exports-C0yM5usu.d.ts → exports-cxvNeHfV.d.ts} +1 -1
- package/dist/f0.d.ts +9 -130
- package/dist/f0.js +1834 -2906
- package/dist/{highlight-CyebkDAD.js → highlight-Bjt-wXg6.js} +7 -7
- package/dist/{i18n-provider-BBhzYHef.js → i18n-provider-Bdgo-LeP.js} +1 -1
- package/dist/{i18n-provider-defaults-BUagKwGN.js → i18n-provider-defaults-B9vdZZeS.js} +3 -0
- package/dist/{i18n-provider-defaults-CTDMMs-y.d.ts → i18n-provider-defaults-DyPn8R7T.d.ts} +3 -0
- package/dist/i18n-provider-defaults.d.ts +1 -1
- package/dist/i18n-provider-defaults.js +1 -1
- package/dist/{index-CduxMW5L.d.ts → index-DF8ubeg6.d.ts} +1 -1
- package/dist/localized-BrUgGMzm.js +46 -0
- package/dist/{maplibre-g-8NG-3q.js → maplibre-tJ3UolSF.js} +1 -1
- package/dist/{pdfWorker-D5NB2V5s.js → pdfWorker-BBnYtb1A.js} +1 -1
- package/dist/{popover-CQztsDta.js → popover-ics24JxK.js} +1 -1
- package/dist/scrollarea-cxaFAWG5.js +691 -0
- package/dist/{skeleton-DqejhQgn.js → skeleton-AC0Fb8zj.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{toolbarStyles-0IygMI4H.js → toolbarStyles-lTj_42zD.js} +1 -1
- package/dist/{types-DlwD3i9z.d.ts → types-oJKIDe-E.d.ts} +124 -3
- package/dist/{useData-Dkq5W4r6.js → useData-BYkiGUHX.js} +4606 -5288
- package/package.json +1 -1
- package/dist/F0DocumentViewer-DWuIFBHu.js +0 -3
- package/dist/F0VideoPlayer-C8oYUUZM.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./SandboxedHtmlFrame-
|
|
1
|
+
import { n as e } from "./SandboxedHtmlFrame-B95lWsIP.js";
|
|
2
2
|
import { t } from "./useThumbnailText-DwXQvLIe.js";
|
|
3
3
|
import { useEffect as n, useMemo as r, useState as i } from "react";
|
|
4
4
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { r as s } from "./toolbarStyles-
|
|
9
|
-
import { t as c } from "./DocumentToolbar-
|
|
1
|
+
import { r as e } from "./i18n-provider-Bdgo-LeP.js";
|
|
2
|
+
import { t } from "./skeleton-AC0Fb8zj.js";
|
|
3
|
+
import { L as n } from "./tooltip-BX4dSfeL.js";
|
|
4
|
+
import { dc as r } from "./F0CanvasPanel-D1QmpvzX.js";
|
|
5
|
+
import { t as i } from "./F0Icon-DmCBV0gK.js";
|
|
6
|
+
import { lr as a } from "./F0Select-BZ20yXKy.js";
|
|
7
|
+
import { t as o } from "./F0Alert-ALRcL0Af.js";
|
|
8
|
+
import { r as s } from "./toolbarStyles-lTj_42zD.js";
|
|
9
|
+
import { t as c } from "./DocumentToolbar-mB3bK8uS.js";
|
|
10
10
|
import { t as l } from "./useFetchedText-BR3_KLXx.js";
|
|
11
|
-
import { a as u, c as d, i as f, l as p, n as m, o as h, r as g, s as _, t as v, u as y } from "./SandboxedHtmlFrame-
|
|
11
|
+
import { a as u, c as d, i as f, l as p, n as m, o as h, r as g, s as _, t as v, u as y } from "./SandboxedHtmlFrame-B95lWsIP.js";
|
|
12
12
|
import { useEffect as b, useMemo as x, useRef as S, useState as C } from "react";
|
|
13
13
|
import { Fragment as w, jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
14
14
|
//#region src/addons/documents/lib/html-sandbox/UserContentFrame.tsx
|
|
@@ -19,7 +19,7 @@ var D = "allow-scripts allow-same-origin", O = "/f0-html-host/", k = 250, A = 15
|
|
|
19
19
|
} catch {
|
|
20
20
|
return !1;
|
|
21
21
|
}
|
|
22
|
-
}, P = ({ html: e, origin: t, title:
|
|
22
|
+
}, P = ({ html: e, origin: t, title: r, className: i, onReady: a, onHandshakeFailed: o, onNavigatedAway: s }) => {
|
|
23
23
|
let c = S(null), [l] = C(y), [m, h] = C(0), [w, P] = C(null), F = S(!1), I = S(!1), L = S(!1), R = S(0), z = S(0), B = S([]), V = S(o), H = S(s);
|
|
24
24
|
b(() => {
|
|
25
25
|
V.current = o, H.current = s;
|
|
@@ -70,10 +70,10 @@ var D = "allow-scripts allow-same-origin", O = "/f0-html-host/", k = 250, A = 15
|
|
|
70
70
|
X(), z.current >= M ? (J(), P(K), H.current?.()) : (z.current += 1, h((e) => e + 1));
|
|
71
71
|
};
|
|
72
72
|
return !U || w === K ? null : /* @__PURE__ */ E("div", {
|
|
73
|
-
className:
|
|
73
|
+
className: n("relative h-full w-full", i),
|
|
74
74
|
children: [/* @__PURE__ */ T("iframe", {
|
|
75
75
|
ref: c,
|
|
76
|
-
title:
|
|
76
|
+
title: r,
|
|
77
77
|
src: G,
|
|
78
78
|
sandbox: D,
|
|
79
79
|
allow: v,
|
|
@@ -105,8 +105,8 @@ var D = "allow-scripts allow-same-origin", O = "/f0-html-host/", k = 250, A = 15
|
|
|
105
105
|
};
|
|
106
106
|
}, L = ({ children: e }) => /* @__PURE__ */ E("p", {
|
|
107
107
|
className: "m-0 flex shrink-0 flex-row items-center gap-1.5 px-4 pb-2 text-sm text-f1-foreground-secondary",
|
|
108
|
-
children: [/* @__PURE__ */ T(
|
|
109
|
-
icon:
|
|
108
|
+
children: [/* @__PURE__ */ T(i, {
|
|
109
|
+
icon: a,
|
|
110
110
|
size: "sm"
|
|
111
111
|
}), e]
|
|
112
112
|
}), R = ({ html: e, mode: t, title: n, reloadKey: r, onFailed: i, onNavigatedAway: a }) => /* @__PURE__ */ T("div", {
|
|
@@ -127,9 +127,9 @@ var D = "allow-scripts allow-same-origin", O = "/f0-html-host/", k = 250, A = 15
|
|
|
127
127
|
onNavigatedAway: a
|
|
128
128
|
}, `${t.frame}-${r}`)
|
|
129
129
|
})
|
|
130
|
-
}), z = ({ url:
|
|
131
|
-
let _ =
|
|
132
|
-
withCredentials:
|
|
130
|
+
}), z = ({ url: n, filename: i, withCredentials: a = !0, actions: u, toolbar: d = "top", hideDownload: f = !1, htmlExecution: p = "auto", htmlSandbox: m, sender: g }) => {
|
|
131
|
+
let _ = e(), { text: v, failed: y } = l(n, {
|
|
132
|
+
withCredentials: a,
|
|
133
133
|
maxChars: F
|
|
134
134
|
}), [b, S] = C(!1), [D, O] = C(!1), [k, A] = C(!1), [j, M] = C(!1), [N, P] = C(0), z = I({
|
|
135
135
|
htmlExecution: p,
|
|
@@ -137,16 +137,16 @@ var D = "allow-scripts allow-same-origin", O = "/f0-html-host/", k = 250, A = 15
|
|
|
137
137
|
runRequested: b,
|
|
138
138
|
summary: x(() => v ? h(v) : null, [v]),
|
|
139
139
|
userContentFailed: D
|
|
140
|
-
}), B =
|
|
141
|
-
url:
|
|
142
|
-
filename:
|
|
143
|
-
withCredentials:
|
|
140
|
+
}), B = i ?? "", V = g ? `${_.t("pdfViewer.contentFrom", { sender: g })} · ${B}` : B, H = /* @__PURE__ */ T(c, {
|
|
141
|
+
url: n,
|
|
142
|
+
filename: i,
|
|
143
|
+
withCredentials: a,
|
|
144
144
|
actions: u,
|
|
145
145
|
placement: d,
|
|
146
146
|
hideDownload: f,
|
|
147
147
|
endContent: v === null ? null : /* @__PURE__ */ T(s, {
|
|
148
148
|
label: _.pdfViewer.reload,
|
|
149
|
-
icon:
|
|
149
|
+
icon: r,
|
|
150
150
|
onClick: () => {
|
|
151
151
|
M(!1), P((e) => e + 1);
|
|
152
152
|
}
|
|
@@ -169,15 +169,15 @@ var D = "allow-scripts allow-same-origin", O = "/f0-html-host/", k = 250, A = 15
|
|
|
169
169
|
y ? /* @__PURE__ */ T("div", {
|
|
170
170
|
className: "flex min-h-0 grow items-center justify-center text-f1-foreground-secondary",
|
|
171
171
|
children: _.pdfViewer.previewFailed
|
|
172
|
-
}) : v === null ? /* @__PURE__ */ T(
|
|
172
|
+
}) : v === null ? /* @__PURE__ */ T(t, {
|
|
173
173
|
role: "status",
|
|
174
174
|
"aria-busy": !0,
|
|
175
175
|
"aria-label": _.pdfViewer.loading,
|
|
176
176
|
className: "min-h-0 w-full grow rounded-none"
|
|
177
|
-
}) : ((
|
|
177
|
+
}) : ((e) => /* @__PURE__ */ E(w, { children: [
|
|
178
178
|
z.showRunBanner ? /* @__PURE__ */ T("div", {
|
|
179
179
|
className: "shrink-0 px-4 pb-2",
|
|
180
|
-
children: /* @__PURE__ */ T(
|
|
180
|
+
children: /* @__PURE__ */ T(o, {
|
|
181
181
|
variant: "info",
|
|
182
182
|
title: _.pdfViewer.runContentWarning,
|
|
183
183
|
action: {
|
|
@@ -192,7 +192,7 @@ var D = "allow-scripts allow-same-origin", O = "/f0-html-host/", k = 250, A = 15
|
|
|
192
192
|
"data-testid": "html-navigated-away",
|
|
193
193
|
children: _.pdfViewer.htmlNavigatedAway
|
|
194
194
|
}) : /* @__PURE__ */ T(R, {
|
|
195
|
-
html:
|
|
195
|
+
html: e,
|
|
196
196
|
mode: z,
|
|
197
197
|
title: _.t("pdfViewer.htmlFrameTitle", { name: B }),
|
|
198
198
|
reloadKey: N,
|
|
@@ -1,31 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { createContext as a, forwardRef as o, useCallback as s, useContext as c, useMemo as l, useRef as u, useState as d } from "react";
|
|
5
|
-
import { jsx as f } from "react/jsx-runtime";
|
|
1
|
+
import { Dt as e, St as t, kt as n } from "./F0Button-d91IgOnc.js";
|
|
2
|
+
import { createContext as r, useCallback as i, useContext as a, useMemo as o, useRef as s, useState as c } from "react";
|
|
3
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
6
4
|
//#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/framer-motion/dist/es/context/DeprecatedLayoutGroupContext.mjs
|
|
7
|
-
var
|
|
5
|
+
var u = r(null);
|
|
8
6
|
//#endregion
|
|
9
7
|
//#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/framer-motion/dist/es/utils/use-is-mounted.mjs
|
|
10
|
-
function
|
|
11
|
-
let
|
|
12
|
-
return
|
|
13
|
-
|
|
14
|
-
}), []),
|
|
8
|
+
function d() {
|
|
9
|
+
let t = s(!1);
|
|
10
|
+
return e(() => (t.current = !0, () => {
|
|
11
|
+
t.current = !1;
|
|
12
|
+
}), []), t;
|
|
15
13
|
}
|
|
16
14
|
//#endregion
|
|
17
15
|
//#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/framer-motion/dist/es/utils/use-force-update.mjs
|
|
18
|
-
function
|
|
19
|
-
let e =
|
|
20
|
-
e.current && r(
|
|
21
|
-
}, [
|
|
22
|
-
return [
|
|
16
|
+
function f() {
|
|
17
|
+
let e = d(), [n, r] = c(0), a = i(() => {
|
|
18
|
+
e.current && r(n + 1);
|
|
19
|
+
}, [n]);
|
|
20
|
+
return [i(() => t.postRender(a), [a]), n];
|
|
23
21
|
}
|
|
24
22
|
//#endregion
|
|
25
23
|
//#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/group.mjs
|
|
26
|
-
var
|
|
27
|
-
function
|
|
28
|
-
let e = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new WeakMap(), n = () => e.forEach(
|
|
24
|
+
var p = (e) => !e.isLayoutDirty && e.willUpdate(!1);
|
|
25
|
+
function m() {
|
|
26
|
+
let e = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new WeakMap(), n = () => e.forEach(p);
|
|
29
27
|
return {
|
|
30
28
|
add: (r) => {
|
|
31
29
|
e.add(r), t.set(r, r.addEventListener("willUpdate", n));
|
|
@@ -40,26 +38,20 @@ function _() {
|
|
|
40
38
|
}
|
|
41
39
|
//#endregion
|
|
42
40
|
//#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/framer-motion/dist/es/components/LayoutGroup/index.mjs
|
|
43
|
-
var
|
|
44
|
-
let i =
|
|
45
|
-
|
|
41
|
+
var h = (e) => e === !0, g = (e) => h(e === !0) || e === "id", _ = ({ children: e, id: t, inherit: r = !0 }) => {
|
|
42
|
+
let i = a(n), c = a(u), [d, p] = f(), _ = s(null), v = i.id || c;
|
|
43
|
+
_.current === null && (g(r) && v && (t = t ? v + "-" + t : v), _.current = {
|
|
46
44
|
id: t,
|
|
47
|
-
group:
|
|
45
|
+
group: h(r) && i.group || m()
|
|
48
46
|
});
|
|
49
|
-
let
|
|
50
|
-
...
|
|
51
|
-
forceRender:
|
|
52
|
-
}), [
|
|
53
|
-
return
|
|
54
|
-
value:
|
|
47
|
+
let y = o(() => ({
|
|
48
|
+
..._.current,
|
|
49
|
+
forceRender: d
|
|
50
|
+
}), [p]);
|
|
51
|
+
return l(n.Provider, {
|
|
52
|
+
value: y,
|
|
55
53
|
children: e
|
|
56
54
|
});
|
|
57
|
-
}
|
|
58
|
-
ref: t,
|
|
59
|
-
markdown: e.markdown ?? !0,
|
|
60
|
-
...e
|
|
61
|
-
}));
|
|
62
|
-
x.displayName = "F0Text";
|
|
63
|
-
var S = e(x);
|
|
55
|
+
};
|
|
64
56
|
//#endregion
|
|
65
|
-
export {
|
|
57
|
+
export { _ as t };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Mt as e, Nt as t } from "./CoachmarkProvider-
|
|
2
|
-
import { r as n } from "./i18n-provider-
|
|
1
|
+
import { Mt as e, Nt as t } from "./CoachmarkProvider-9PVhiN-N.js";
|
|
2
|
+
import { r as n } from "./i18n-provider-Bdgo-LeP.js";
|
|
3
3
|
import { L as r, R as i } from "./tooltip-BX4dSfeL.js";
|
|
4
|
-
import { w as a } from "./F0Button-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { o as m, t as h } from "./F0Map-
|
|
4
|
+
import { w as a } from "./F0Button-d91IgOnc.js";
|
|
5
|
+
import { Va as o, ei as s, ni as c, ti as l } from "./F0CanvasPanel-D1QmpvzX.js";
|
|
6
|
+
import { t as u } from "./F0Icon-DmCBV0gK.js";
|
|
7
|
+
import { H as d, l as f } from "./useData-BYkiGUHX.js";
|
|
8
|
+
import { ft as ee } from "./popover-ics24JxK.js";
|
|
9
|
+
import { c as p } from "./scrollarea-cxaFAWG5.js";
|
|
10
|
+
import { o as m, t as h } from "./F0Map-CWhV5A03.js";
|
|
11
11
|
import { useCallback as g, useEffect as _, useMemo as v, useRef as y, useState as b } from "react";
|
|
12
12
|
import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
13
13
|
//#region src/addons/data-collection/OneDataCollection/visualizations/collection/Map/components/MapNotOnMapButton.tsx
|
|
@@ -42,7 +42,7 @@ var w = 3, te = ({ title: e, count: t, ariaLabel: n, avatars: o, onClick: s, dat
|
|
|
42
42
|
defaultProp: p,
|
|
43
43
|
onChange: f
|
|
44
44
|
});
|
|
45
|
-
return /* @__PURE__ */ C(
|
|
45
|
+
return /* @__PURE__ */ C(s, {
|
|
46
46
|
open: g,
|
|
47
47
|
onOpenChange: _,
|
|
48
48
|
"data-testid": h,
|
|
@@ -74,7 +74,7 @@ var w = 3, te = ({ title: e, count: t, ariaLabel: n, avatars: o, onClick: s, dat
|
|
|
74
74
|
})
|
|
75
75
|
]
|
|
76
76
|
})
|
|
77
|
-
}), /* @__PURE__ */ S(
|
|
77
|
+
}), /* @__PURE__ */ S(l, {
|
|
78
78
|
className: "px-0.5",
|
|
79
79
|
children: m
|
|
80
80
|
})]
|
|
@@ -180,7 +180,7 @@ var w = 3, te = ({ title: e, count: t, ariaLabel: n, avatars: o, onClick: s, dat
|
|
|
180
180
|
onSidebarToggle: r,
|
|
181
181
|
sidebarToggleAddon: i > 0 ? a : void 0,
|
|
182
182
|
sidebarHeaderStart: o
|
|
183
|
-
} : {}, E = ({ source: r, coordinates: i, label: a, marker: o, getRecordId: s, selectedRecordId: c, onSelect: l, revealRecordId: u, searchSelectionNonce: d, viewportInset: f, initialViewport:
|
|
183
|
+
} : {}, E = ({ source: r, coordinates: i, label: a, marker: o, getRecordId: s, selectedRecordId: c, onSelect: l, revealRecordId: u, searchSelectionNonce: d, viewportInset: f, initialViewport: ee, showControls: p, projection: C, provider: w, markerLimit: T, ariaLabel: E, sidebar: D, sidebarSearchText: O, detail: k, onSidebarToggle: ce, onLoadData: le, onLoadError: ue }) => {
|
|
184
184
|
let A = n(), j = Math.min(T ?? 200, 200), de = v(() => r.dataAdapter.paginationType ? {
|
|
185
185
|
...r.dataAdapter,
|
|
186
186
|
perPage: j
|
|
@@ -292,8 +292,8 @@ var w = 3, te = ({ title: e, count: t, ariaLabel: n, avatars: o, onClick: s, dat
|
|
|
292
292
|
onMarkerSelect: K,
|
|
293
293
|
centerOnMarkerClick: !0,
|
|
294
294
|
viewportInset: f,
|
|
295
|
-
initialViewport:
|
|
296
|
-
showControls:
|
|
295
|
+
initialViewport: ee,
|
|
296
|
+
showControls: p,
|
|
297
297
|
projection: C,
|
|
298
298
|
provider: w,
|
|
299
299
|
ariaLabel: E,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./pdfWorker-
|
|
1
|
+
import { n as e, r as t, t as n } from "./pdfWorker-BBnYtb1A.js";
|
|
2
2
|
import { jsx as r } from "react/jsx-runtime";
|
|
3
3
|
//#region src/elements/primitives/_primitives/F0Attachments/components/thumbnails/PdfThumbnail.tsx
|
|
4
4
|
n();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { r as e } from "./i18n-provider-
|
|
2
|
-
import { t } from "./skeleton-
|
|
1
|
+
import { r as e } from "./i18n-provider-Bdgo-LeP.js";
|
|
2
|
+
import { t } from "./skeleton-AC0Fb8zj.js";
|
|
3
3
|
import { L as n } from "./tooltip-BX4dSfeL.js";
|
|
4
|
-
import { S as r } from "./F0Button-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { a as f, i as p, l as ee, n as te, o as m, r as h, s as g, t as _, u as ne } from "./toolbarStyles-
|
|
9
|
-
import { n as re, r as ie, t as v } from "./pdfWorker-
|
|
4
|
+
import { S as r } from "./F0Button-d91IgOnc.js";
|
|
5
|
+
import { Do as i, Po as a, zs as o } from "./F0CanvasPanel-D1QmpvzX.js";
|
|
6
|
+
import { H as s, z as c } from "./useData-BYkiGUHX.js";
|
|
7
|
+
import { br as l, sr as u, t as d } from "./F0Select-BZ20yXKy.js";
|
|
8
|
+
import { a as f, i as p, l as ee, n as te, o as m, r as h, s as g, t as _, u as ne } from "./toolbarStyles-lTj_42zD.js";
|
|
9
|
+
import { n as re, r as ie, t as v } from "./pdfWorker-BBnYtb1A.js";
|
|
10
10
|
import { forwardRef as y, useCallback as b, useEffect as x, useMemo as S, useRef as C, useState as w } from "react";
|
|
11
11
|
import { jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
12
12
|
//#region src/addons/documents/F0DocumentViewer/crispCanvas.ts
|
|
@@ -62,7 +62,7 @@ var D = (e, t) => t ? (O(e, t) + .001) / t : e, O = (e, t) => Math.round(t * e),
|
|
|
62
62
|
children: [/* @__PURE__ */ T(h, {
|
|
63
63
|
label: O.previousPage,
|
|
64
64
|
onClick: g,
|
|
65
|
-
icon:
|
|
65
|
+
icon: l,
|
|
66
66
|
size: "sm"
|
|
67
67
|
}), /* @__PURE__ */ T(h, {
|
|
68
68
|
label: O.nextPage,
|
|
@@ -82,9 +82,9 @@ var D = (e, t) => t ? (O(e, t) + .001) / t : e, O = (e, t) => Math.round(t * e),
|
|
|
82
82
|
/* @__PURE__ */ T(h, {
|
|
83
83
|
label: O.zoomIn,
|
|
84
84
|
onClick: re,
|
|
85
|
-
icon:
|
|
85
|
+
icon: u
|
|
86
86
|
}),
|
|
87
|
-
/* @__PURE__ */ T(
|
|
87
|
+
/* @__PURE__ */ T(d, {
|
|
88
88
|
hideLabel: !0,
|
|
89
89
|
label: O.scaleSelector,
|
|
90
90
|
options: m,
|
|
@@ -99,7 +99,7 @@ var D = (e, t) => t ? (O(e, t) + .001) / t : e, O = (e, t) => Math.round(t * e),
|
|
|
99
99
|
y ? /* @__PURE__ */ T(h, {
|
|
100
100
|
label: O.rotate,
|
|
101
101
|
onClick: b,
|
|
102
|
-
icon:
|
|
102
|
+
icon: i
|
|
103
103
|
}) : null,
|
|
104
104
|
/* @__PURE__ */ T(h, {
|
|
105
105
|
label: O.print,
|
|
@@ -109,7 +109,7 @@ var D = (e, t) => t ? (O(e, t) + .001) / t : e, O = (e, t) => Math.round(t * e),
|
|
|
109
109
|
C ? null : /* @__PURE__ */ T(h, {
|
|
110
110
|
label: O.download,
|
|
111
111
|
onClick: S,
|
|
112
|
-
icon:
|
|
112
|
+
icon: o
|
|
113
113
|
}),
|
|
114
114
|
w?.map((e, t) => /* @__PURE__ */ T(h, {
|
|
115
115
|
label: e.label,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as e } from "./i18n-provider-
|
|
1
|
+
import { r as e } from "./i18n-provider-Bdgo-LeP.js";
|
|
2
2
|
import { L as t } from "./tooltip-BX4dSfeL.js";
|
|
3
|
-
import { t as n } from "./F0Button-
|
|
3
|
+
import { t as n } from "./F0Button-d91IgOnc.js";
|
|
4
4
|
import { t as r } from "./ExternalLink-RdKU698E.js";
|
|
5
5
|
import { useEffect as i, useId as a, useLayoutEffect as o, useMemo as s, useRef as c, useState as l } from "react";
|
|
6
6
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { r as e } from "./i18n-provider-
|
|
2
|
-
import { t } from "./skeleton-
|
|
3
|
-
import {
|
|
4
|
-
import { c as a } from "./toolbarStyles-
|
|
5
|
-
import { n as o, t as s } from "./DocumentToolbar-
|
|
1
|
+
import { r as e } from "./i18n-provider-Bdgo-LeP.js";
|
|
2
|
+
import { t } from "./skeleton-AC0Fb8zj.js";
|
|
3
|
+
import { m as n, p as r, ri as i } from "./F0CanvasPanel-D1QmpvzX.js";
|
|
4
|
+
import { c as a } from "./toolbarStyles-lTj_42zD.js";
|
|
5
|
+
import { n as o, t as s } from "./DocumentToolbar-mB3bK8uS.js";
|
|
6
6
|
import { n as c, t as l } from "./sheetPreview-Ca0kCtSa.js";
|
|
7
7
|
import { useEffect as u, useState as d } from "react";
|
|
8
8
|
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
9
9
|
//#region src/addons/documents/F0DocumentViewer/components/SheetViewer.tsx
|
|
10
|
-
var h = 1e3, g = 100, _ = ({ url: t, filename:
|
|
10
|
+
var h = 1e3, g = 100, _ = ({ url: t, filename: n, withCredentials: r, hideDownload: o }) => {
|
|
11
11
|
let s = e();
|
|
12
12
|
return /* @__PURE__ */ m("div", {
|
|
13
13
|
className: "flex shrink-0 items-center gap-2 border-0 border-t border-solid border-f1-border-secondary px-3 py-1.5 text-sm text-f1-foreground-secondary",
|
|
14
|
-
children: [s.t("pdfViewer.showingFirstRows.other", { count: h }), o ? null : /* @__PURE__ */ p(
|
|
15
|
-
onClick: () => void a(t,
|
|
14
|
+
children: [s.t("pdfViewer.showingFirstRows.other", { count: h }), o ? null : /* @__PURE__ */ p(i, {
|
|
15
|
+
onClick: () => void a(t, n, r),
|
|
16
16
|
children: s.pdfViewer.download
|
|
17
17
|
})]
|
|
18
18
|
});
|
|
19
|
-
}, v = ({ url:
|
|
19
|
+
}, v = ({ url: i, filename: a, withCredentials: v = !0, actions: y, toolbar: b = "top", hideDownload: x = !1 }) => {
|
|
20
20
|
let S = e(), C = o(), [w, T] = d(null), [E, D] = d(!1), [O, k] = d(0);
|
|
21
21
|
u(() => {
|
|
22
22
|
let e = !1;
|
|
23
|
-
return T(null), D(!1), k(0), c(
|
|
23
|
+
return T(null), D(!1), k(0), c(i, {
|
|
24
24
|
maxRows: h,
|
|
25
25
|
maxCols: g,
|
|
26
26
|
withCredentials: v
|
|
@@ -31,16 +31,16 @@ var h = 1e3, g = 100, _ = ({ url: t, filename: r, withCredentials: i, hideDownlo
|
|
|
31
31
|
}), () => {
|
|
32
32
|
e = !0;
|
|
33
33
|
};
|
|
34
|
-
}, [
|
|
34
|
+
}, [i, v]);
|
|
35
35
|
let A = w ? w[Math.min(O, w.length - 1)] : null, j = A ? l(A.rows) : [], M = /* @__PURE__ */ p(s, {
|
|
36
|
-
url:
|
|
36
|
+
url: i,
|
|
37
37
|
filename: a,
|
|
38
38
|
withCredentials: v,
|
|
39
39
|
actions: y,
|
|
40
40
|
zoom: C,
|
|
41
41
|
placement: b,
|
|
42
42
|
hideDownload: x,
|
|
43
|
-
children: w && w.length > 1 ? /* @__PURE__ */ p(
|
|
43
|
+
children: w && w.length > 1 ? /* @__PURE__ */ p(r, {
|
|
44
44
|
type: "single",
|
|
45
45
|
size: "sm",
|
|
46
46
|
value: String(O),
|
|
@@ -48,7 +48,7 @@ var h = 1e3, g = 100, _ = ({ url: t, filename: r, withCredentials: i, hideDownlo
|
|
|
48
48
|
e && k(Number(e));
|
|
49
49
|
},
|
|
50
50
|
className: "justify-start",
|
|
51
|
-
children: w.map((e, t) => /* @__PURE__ */ p(
|
|
51
|
+
children: w.map((e, t) => /* @__PURE__ */ p(n, {
|
|
52
52
|
value: String(t),
|
|
53
53
|
className: "whitespace-nowrap",
|
|
54
54
|
children: e.name
|
|
@@ -79,7 +79,7 @@ var h = 1e3, g = 100, _ = ({ url: t, filename: r, withCredentials: i, hideDownlo
|
|
|
79
79
|
}, n))] }, t)) })]
|
|
80
80
|
})
|
|
81
81
|
}), A.truncatedRows ? /* @__PURE__ */ p(_, {
|
|
82
|
-
url:
|
|
82
|
+
url: i,
|
|
83
83
|
filename: a,
|
|
84
84
|
withCredentials: v,
|
|
85
85
|
hideDownload: x
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as e } from "./i18n-provider-
|
|
2
|
-
import { t } from "./skeleton-
|
|
3
|
-
import { a as n } from "./F0Button-
|
|
4
|
-
import { n as r, t as i } from "./DocumentToolbar-
|
|
1
|
+
import { r as e } from "./i18n-provider-Bdgo-LeP.js";
|
|
2
|
+
import { t } from "./skeleton-AC0Fb8zj.js";
|
|
3
|
+
import { a as n } from "./F0Button-d91IgOnc.js";
|
|
4
|
+
import { n as r, t as i } from "./DocumentToolbar-mB3bK8uS.js";
|
|
5
5
|
import { t as a } from "./fetchText-o_GOtiv3.js";
|
|
6
6
|
import { useEffect as o, useState as s } from "react";
|
|
7
7
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
package/dist/ai.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as AiChatCredits, $r as ChatDashboardMetricFormat, Ar as AiChatShowFilesItem, At as CustomEntityRefCard, B as RenderableTurn, Br as ChatDashboardBarChartConfig, Ct as WelcomeScreenSuggestionItem, Dr as AiChatFileKind, Er as AiChatFile, Et as SidePanelContent, F as F0AiMessagesContainerProps, Fr as CanvasActions, G as F0AiChatProps, Gr as ChatDashboardConfig, H as MarkdownTagRenderers, Hr as ChatDashboardChartItem, I as WelcomeScreenCta, Ir as CanvasContent, J as AiChatComposerActionItem, Jr as ChatDashboardFunnelChartConfig, K as F0AiChatProvider, Kr as ChatDashboardDateNavigationGranularity, L as FeedbackConfig, Lr as CanvasContentBase, M as useAiChatTranslations, Mr as AutofillTimesheetCanvasContent, Mt as EntityRefs, N as useAiChat, Nr as AutofillTimesheetShift, Nt as EntityResolvers, Or as AiChatFilePreviewConfig, P as F0AiMessagesContainer, Pr as BulkResolveInconsistenciesCanvasContent, Pt as EntityUrlBuilders, Q as AiChatCreditWarning, Qr as ChatDashboardLineChartConfig, R as UserReaction, Rr as CanvasEntityDefinition, St as WelcomeScreenSuggestion, Tt as aiTranslations, U as markdownRenderers, Ur as ChatDashboardCollectionItem, V as ThinkingProps, Vr as ChatDashboardChartConfig, W as F0AiChat, Wr as ChatDashboardColumn, X as AiChatComposerActionSubmenu, Xr as ChatDashboardHeatmapChartConfig, Y as AiChatComposerActionSeparator, Yr as ChatDashboardGaugeChartConfig, Z as AiChatComposerActionToggle, Zr as ChatDashboardItem, _i as PieComputation, ai as CollectionComputation, at as AiChatTrackingOptions, br as CandidateProfile, bt as UploadedFile, ci as DashboardFetchSpec, ct as AiChatUsageLimits, d as useFormCardValueFormatter, di as DataDownloadDataset, dt as AppendToolCall, ei as ChatDashboardMetricItem, f as useSetFormCardValueFormatter, fi as FormCanvasContent, fr as ExpenseProfile, ft as CreditsUsage, gi as MetricComputation, gt as F0ToolCall, hi as HeatmapComputation, ht as F0Message, i as useI18n, ii as ChatDashboardScatterChartConfig, it as AiChatProviderProps, j as AiChatTranslationsProvider, jr as AggregationType, jt as CustomEntityRefConfig, kr as AiChatFileUrlResolver, l as FormCardValueFormatterEntry, li as DashboardMetadata, lt as AiChatUsageLimitsSection, mi as GaugeComputation, mr as RequisitionProfile, mt as F0AiChatWelcomeCard, n as I18nProviderProps, ni as ChatDashboardPieChartConfig, nt as AiChatFileAttachmentConfig, oi as DashboardCanvasActions, ot as AiChatTranslations, pi as FormatPreset, pr as VacancyProfile, pt as F0AIMessage, q as AiChatComposerAction, qr as ChatDashboardFilterDefinition, ri as ChatDashboardRadarChartConfig, rt as AiChatMode, si as DashboardCanvasContent, st as AiChatTranslationsProviderProps, t as I18nProvider, ti as ChatDashboardNavigationFilterDefinition, u as FormCardValueFormatterProvider, ui as DataDownloadCanvasContent, ut as AppendMessage, vi as RadarComputation, wt as WelcomeSuggestionClickEvent, xr as PersonProfile, xt as VisualizationMode, yi as ScatterComputation, yr as JobPostingProfile, z as useToolCallId, zr as ChartComputation } from "./index-
|
|
2
|
-
import { n as TranslationsType, r as defaultTranslations } from "./i18n-provider-defaults-
|
|
3
|
-
import { $ as DateGroup, $t as useCanvasEntity, A as ComposerMentionRef, At as F0OneIcon, B as UserBinaryPart, Bt as MaskOptions, C as F0ChatComposerVoice, Ct as F0AiInsightCardProps, D as ComposerMention, E as ComposerEditor, F as F0AiChatTextArea, Ft as F0HILActionConfirmationProps, G as TrackedMention, Gt as actionItemStatuses, H as MentionItem, Ht as F0ActionItem, I as AiChatTextAreaUsageLimits, It as F0AuraVoiceAnimation, J as usageLimitsPopoverSides, Jt as ClarifyingQuestionState, K as F0AiChatUsageLimitsButtonProps, Kt as F0ClarifyingPanel, L as AttachedFile, Lt as F0AuraVoiceAnimationProps, M as ComposerMentionSource, Mt as OneIconSize, N as createPersonMentionSource, Nt as oneIconSizes, O as ComposerMentionItem, Ot as F0OneSwitch, P as DropOverlay, Pt as F0HILActionConfirmation, Q as F0AiChatHistory, Qt as ResolvedStepAnswer, R as F0AiChatTextAreaProps, Rt as CSSRgbString, S as F0ChatComposerState, St as ContentType, T as ComposerTranscribeFn, Tt as contentTypes, U as MentionSearchContext, Ut as ActionItemStatus, V as UserTextPart, Vt as ChatSpinner, W as MentionSource, Wt as F0ActionItemProps, X as ThreadItem, Xt as ClarifyingStepData, Y as ThreadListSkeleton, Yt as ClarifyingSelectionMode, Z as CollapsibleGroup, Zt as ClarifyingStepState, _ as ComposerAutocompletePlugin, _t as F0AiProposalCardHiddenActions, a as PongBall, at as F0AiChatCreditsButton, b as F0ChatComposerLabels, bt as AiInsightCardContent, c as F0AiFileAttachments, ct as F0AiChatHeaderProps, d as aiChatFileFromUploadedFile, dt as F0AiMessageSource, en as F0CanvasCard, et as F0AiChatHistoryProps, f as aiChatFilesFromMessage, ft as F0AiMessageSources, g as ComposerAutocomplete, gt as F0AiProposalCardBaseProps, h as F0ChatComposer, ht as F0AiProposalCardActions, i as F0CanvasPanelProps, it as useChatHistory, j as ComposerMentionSearchContext, jt as F0OneIconProps, k as ComposerMentionPinned, kt as F0OneSwitchProps, l as F0AiFileAttachmentsProps, lt as F0AiTableCard, m as F0AiChatUsageLimitsButton, mt as F0AiProposalCard, n as F0AiProcessingOverlayProps, nt as ThreadGroup, o as F0AiPong, ot as F0AiChatHeader, p as aiChatMessageText, pt as F0AiMessageSourcesProps, q as UsageLimitsPopoverSide, qt as ClarifyingOption, r as F0CanvasPanel, rt as ChatThread, s as F0AiFilePreviewsProvider, st as F0AiChatHeaderAction, t as F0AiProcessingOverlay, tn as F0CanvasCardProps, tt as ThreadActionHandlers, u as aiChatFileFromShowFilesItem, ut as F0AiTableCardProps, v as F0ChatComposerDraft, vt as F0AiProposalCardProps, w as RecorderStatus, wt as SparklineDataPoint, x as F0ChatComposerProps, xt as BalanceConfig, y as F0ChatComposerHandle, yt as F0AiInsightCard, z as F0AiChatTextAreaSubmitPayload, zt as F0AiMask } from "./exports-
|
|
1
|
+
import { $ as AiChatCredits, $r as ChatDashboardMetricFormat, Ar as AiChatShowFilesItem, At as CustomEntityRefCard, B as RenderableTurn, Br as ChatDashboardBarChartConfig, Ct as WelcomeScreenSuggestionItem, Dr as AiChatFileKind, Er as AiChatFile, Et as SidePanelContent, F as F0AiMessagesContainerProps, Fr as CanvasActions, G as F0AiChatProps, Gr as ChatDashboardConfig, H as MarkdownTagRenderers, Hr as ChatDashboardChartItem, I as WelcomeScreenCta, Ir as CanvasContent, J as AiChatComposerActionItem, Jr as ChatDashboardFunnelChartConfig, K as F0AiChatProvider, Kr as ChatDashboardDateNavigationGranularity, L as FeedbackConfig, Lr as CanvasContentBase, M as useAiChatTranslations, Mr as AutofillTimesheetCanvasContent, Mt as EntityRefs, N as useAiChat, Nr as AutofillTimesheetShift, Nt as EntityResolvers, Or as AiChatFilePreviewConfig, P as F0AiMessagesContainer, Pr as BulkResolveInconsistenciesCanvasContent, Pt as EntityUrlBuilders, Q as AiChatCreditWarning, Qr as ChatDashboardLineChartConfig, R as UserReaction, Rr as CanvasEntityDefinition, St as WelcomeScreenSuggestion, Tt as aiTranslations, U as markdownRenderers, Ur as ChatDashboardCollectionItem, V as ThinkingProps, Vr as ChatDashboardChartConfig, W as F0AiChat, Wr as ChatDashboardColumn, X as AiChatComposerActionSubmenu, Xr as ChatDashboardHeatmapChartConfig, Y as AiChatComposerActionSeparator, Yr as ChatDashboardGaugeChartConfig, Z as AiChatComposerActionToggle, Zr as ChatDashboardItem, _i as PieComputation, ai as CollectionComputation, at as AiChatTrackingOptions, br as CandidateProfile, bt as UploadedFile, ci as DashboardFetchSpec, ct as AiChatUsageLimits, d as useFormCardValueFormatter, di as DataDownloadDataset, dt as AppendToolCall, ei as ChatDashboardMetricItem, f as useSetFormCardValueFormatter, fi as FormCanvasContent, fr as ExpenseProfile, ft as CreditsUsage, gi as MetricComputation, gt as F0ToolCall, hi as HeatmapComputation, ht as F0Message, i as useI18n, ii as ChatDashboardScatterChartConfig, it as AiChatProviderProps, j as AiChatTranslationsProvider, jr as AggregationType, jt as CustomEntityRefConfig, kr as AiChatFileUrlResolver, l as FormCardValueFormatterEntry, li as DashboardMetadata, lt as AiChatUsageLimitsSection, mi as GaugeComputation, mr as RequisitionProfile, mt as F0AiChatWelcomeCard, n as I18nProviderProps, ni as ChatDashboardPieChartConfig, nt as AiChatFileAttachmentConfig, oi as DashboardCanvasActions, ot as AiChatTranslations, pi as FormatPreset, pr as VacancyProfile, pt as F0AIMessage, q as AiChatComposerAction, qr as ChatDashboardFilterDefinition, ri as ChatDashboardRadarChartConfig, rt as AiChatMode, si as DashboardCanvasContent, st as AiChatTranslationsProviderProps, t as I18nProvider, ti as ChatDashboardNavigationFilterDefinition, u as FormCardValueFormatterProvider, ui as DataDownloadCanvasContent, ut as AppendMessage, vi as RadarComputation, wt as WelcomeSuggestionClickEvent, xr as PersonProfile, xt as VisualizationMode, yi as ScatterComputation, yr as JobPostingProfile, z as useToolCallId, zr as ChartComputation } from "./index-DF8ubeg6.js";
|
|
2
|
+
import { n as TranslationsType, r as defaultTranslations } from "./i18n-provider-defaults-DyPn8R7T.js";
|
|
3
|
+
import { $ as DateGroup, $t as useCanvasEntity, A as ComposerMentionRef, At as F0OneIcon, B as UserBinaryPart, Bt as MaskOptions, C as F0ChatComposerVoice, Ct as F0AiInsightCardProps, D as ComposerMention, E as ComposerEditor, F as F0AiChatTextArea, Ft as F0HILActionConfirmationProps, G as TrackedMention, Gt as actionItemStatuses, H as MentionItem, Ht as F0ActionItem, I as AiChatTextAreaUsageLimits, It as F0AuraVoiceAnimation, J as usageLimitsPopoverSides, Jt as ClarifyingQuestionState, K as F0AiChatUsageLimitsButtonProps, Kt as F0ClarifyingPanel, L as AttachedFile, Lt as F0AuraVoiceAnimationProps, M as ComposerMentionSource, Mt as OneIconSize, N as createPersonMentionSource, Nt as oneIconSizes, O as ComposerMentionItem, Ot as F0OneSwitch, P as DropOverlay, Pt as F0HILActionConfirmation, Q as F0AiChatHistory, Qt as ResolvedStepAnswer, R as F0AiChatTextAreaProps, Rt as CSSRgbString, S as F0ChatComposerState, St as ContentType, T as ComposerTranscribeFn, Tt as contentTypes, U as MentionSearchContext, Ut as ActionItemStatus, V as UserTextPart, Vt as ChatSpinner, W as MentionSource, Wt as F0ActionItemProps, X as ThreadItem, Xt as ClarifyingStepData, Y as ThreadListSkeleton, Yt as ClarifyingSelectionMode, Z as CollapsibleGroup, Zt as ClarifyingStepState, _ as ComposerAutocompletePlugin, _t as F0AiProposalCardHiddenActions, a as PongBall, at as F0AiChatCreditsButton, b as F0ChatComposerLabels, bt as AiInsightCardContent, c as F0AiFileAttachments, ct as F0AiChatHeaderProps, d as aiChatFileFromUploadedFile, dt as F0AiMessageSource, en as F0CanvasCard, et as F0AiChatHistoryProps, f as aiChatFilesFromMessage, ft as F0AiMessageSources, g as ComposerAutocomplete, gt as F0AiProposalCardBaseProps, h as F0ChatComposer, ht as F0AiProposalCardActions, i as F0CanvasPanelProps, it as useChatHistory, j as ComposerMentionSearchContext, jt as F0OneIconProps, k as ComposerMentionPinned, kt as F0OneSwitchProps, l as F0AiFileAttachmentsProps, lt as F0AiTableCard, m as F0AiChatUsageLimitsButton, mt as F0AiProposalCard, n as F0AiProcessingOverlayProps, nt as ThreadGroup, o as F0AiPong, ot as F0AiChatHeader, p as aiChatMessageText, pt as F0AiMessageSourcesProps, q as UsageLimitsPopoverSide, qt as ClarifyingOption, r as F0CanvasPanel, rt as ChatThread, s as F0AiFilePreviewsProvider, st as F0AiChatHeaderAction, t as F0AiProcessingOverlay, tn as F0CanvasCardProps, tt as ThreadActionHandlers, u as aiChatFileFromShowFilesItem, ut as F0AiTableCardProps, v as F0ChatComposerDraft, vt as F0AiProposalCardProps, w as RecorderStatus, wt as SparklineDataPoint, x as F0ChatComposerProps, xt as BalanceConfig, y as F0ChatComposerHandle, yt as F0AiInsightCard, z as F0AiChatTextAreaSubmitPayload, zt as F0AiMask } from "./exports-cxvNeHfV.js";
|
|
4
4
|
export { ActionItemStatus, type AggregationType, type AiChatComposerAction, type AiChatComposerActionItem, type AiChatComposerActionSeparator, type AiChatComposerActionSubmenu, type AiChatComposerActionToggle, type AiChatCreditWarning, type AiChatCredits, type AiChatFile, type AiChatFileAttachmentConfig, type AiChatFileKind, type AiChatFilePreviewConfig, type AiChatFileUrlResolver, type AiChatMode, type AiChatProviderProps, type AiChatShowFilesItem, type AiChatTextAreaUsageLimits, type AiChatTrackingOptions, type AiChatTranslations, AiChatTranslationsProvider, type AiChatTranslationsProviderProps, type AiChatUsageLimits, type AiChatUsageLimitsSection, type AiInsightCardContent, type AppendMessage, type AppendToolCall, type AttachedFile, type AutofillTimesheetCanvasContent, type AutofillTimesheetShift, type BalanceConfig, type BulkResolveInconsistenciesCanvasContent, type CSSRgbString, type CandidateProfile, type CanvasActions, type CanvasContent, type CanvasContentBase, type CanvasEntityDefinition, type ChartComputation, type ChatDashboardBarChartConfig, type ChatDashboardChartConfig, type ChatDashboardChartItem, type ChatDashboardCollectionItem, type ChatDashboardColumn, type ChatDashboardConfig, type ChatDashboardDateNavigationGranularity, type ChatDashboardFilterDefinition, type ChatDashboardFunnelChartConfig, type ChatDashboardGaugeChartConfig, type ChatDashboardHeatmapChartConfig, type ChatDashboardItem, type ChatDashboardLineChartConfig, type ChatDashboardMetricFormat, type ChatDashboardMetricItem, type ChatDashboardNavigationFilterDefinition, type ChatDashboardPieChartConfig, type ChatDashboardRadarChartConfig, type ChatDashboardScatterChartConfig, ChatSpinner, type ChatThread, type ClarifyingOption, type ClarifyingQuestionState, type ClarifyingSelectionMode, type ClarifyingStepData, type ClarifyingStepState, CollapsibleGroup, type CollectionComputation, type ComposerAutocomplete, type ComposerAutocompletePlugin, type ComposerEditor, type ComposerMention, type ComposerMentionItem, type ComposerMentionPinned, type ComposerMentionRef, type ComposerMentionSearchContext, type ComposerMentionSource, type ComposerTranscribeFn, type ContentType, type CreditsUsage, type CustomEntityRefCard, type CustomEntityRefConfig, type DashboardCanvasActions, type DashboardCanvasContent, type DashboardFetchSpec, type DashboardMetadata, type DataDownloadCanvasContent, type DataDownloadDataset, type DateGroup, DropOverlay, type EntityRefs, type EntityResolvers, type EntityUrlBuilders, type ExpenseProfile, type F0AIMessage, F0ActionItem, F0ActionItemProps, F0AiChat, F0AiChatCreditsButton, F0AiChatHeader, type F0AiChatHeaderAction, type F0AiChatHeaderProps, F0AiChatHistory, type F0AiChatHistoryProps, type F0AiChatProps, F0AiChatProvider, F0AiChatTextArea, type F0AiChatTextAreaProps, type F0AiChatTextAreaSubmitPayload, F0AiChatUsageLimitsButton, type F0AiChatUsageLimitsButtonProps, type F0AiChatWelcomeCard, F0AiFileAttachments, type F0AiFileAttachmentsProps, F0AiFilePreviewsProvider, F0AiInsightCard, type F0AiInsightCardProps, F0AiMask, type F0AiMessageSource, F0AiMessageSources, type F0AiMessageSourcesProps, F0AiMessagesContainer, type F0AiMessagesContainerProps, F0AiPong, F0AiProcessingOverlay, type F0AiProcessingOverlayProps, F0AiProposalCard, F0AiProposalCardActions, F0AiProposalCardBaseProps, F0AiProposalCardHiddenActions, F0AiProposalCardProps, F0AiTableCard, type F0AiTableCardProps, F0AuraVoiceAnimation, F0AuraVoiceAnimationProps, F0CanvasCard, type F0CanvasCardProps, F0CanvasPanel, type F0CanvasPanelProps, F0ChatComposer, type F0ChatComposerDraft, type F0ChatComposerHandle, type F0ChatComposerLabels, type F0ChatComposerProps, type F0ChatComposerState, type F0ChatComposerVoice, F0ClarifyingPanel, F0HILActionConfirmation, type F0HILActionConfirmationProps, type F0Message, F0OneIcon, F0OneIconProps, F0OneSwitch, F0OneSwitchProps, type F0ToolCall, type FeedbackConfig, type FormCanvasContent, type FormCardValueFormatterEntry, FormCardValueFormatterProvider, type FormatPreset, type GaugeComputation, type HeatmapComputation, I18nProvider, type I18nProviderProps, type JobPostingProfile, type MarkdownTagRenderers, type MaskOptions, type MentionItem, type MentionSearchContext, type MentionSource, type MetricComputation, OneIconSize, type PersonProfile, type PieComputation, PongBall, type RadarComputation, type RecorderStatus, type RenderableTurn, type RequisitionProfile, type ResolvedStepAnswer, type ScatterComputation, type SidePanelContent, type SparklineDataPoint, type ThinkingProps, type ThreadActionHandlers, type ThreadGroup, ThreadItem, ThreadListSkeleton, type TrackedMention, type TranslationsType, type UploadedFile, type UsageLimitsPopoverSide, type UserBinaryPart, type UserReaction, type UserTextPart, type VacancyProfile, type VisualizationMode, type WelcomeScreenCta, type WelcomeScreenSuggestion, type WelcomeScreenSuggestionItem, type WelcomeSuggestionClickEvent, actionItemStatuses, aiChatFileFromShowFilesItem, aiChatFileFromUploadedFile, aiChatFilesFromMessage, aiChatMessageText, aiTranslations, contentTypes, createPersonMentionSource, defaultTranslations, markdownRenderers, oneIconSizes, usageLimitsPopoverSides, useAiChat, useAiChatTranslations, useCanvasEntity, useChatHistory, useFormCardValueFormatter, useI18n, useSetFormCardValueFormatter, useToolCallId };
|
package/dist/ai.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as e, t } from "./i18n-provider-
|
|
2
|
-
import { A as n, C as r, D as i, E as a, F as o, I as s, L as c, M as l, N as u, O as d, P as f, R as p, S as m, T as h, _ as g, a as _, b as v, c as y, d as b, f as x, g as S, h as C, i as w, j as T, k as E, l as D, m as O, n as k, o as A, p as j, r as M, s as N, t as P, u as F, v as I, w as L, x as R, y as z, z as B } from "./F0AiProcessingOverlay-
|
|
3
|
-
import {
|
|
4
|
-
import { t as ee } from "./i18n-provider-defaults-
|
|
5
|
-
export { v as AiChatTranslationsProvider,
|
|
1
|
+
import { r as e, t } from "./i18n-provider-Bdgo-LeP.js";
|
|
2
|
+
import { A as n, C as r, D as i, E as a, F as o, I as s, L as c, M as l, N as u, O as d, P as f, R as p, S as m, T as h, _ as g, a as _, b as v, c as y, d as b, f as x, g as S, h as C, i as w, j as T, k as E, l as D, m as O, n as k, o as A, p as j, r as M, s as N, t as P, u as F, v as I, w as L, x as R, y as z, z as B } from "./F0AiProcessingOverlay-BUynKfyI.js";
|
|
3
|
+
import { B as V, E as H, Gt as U, T as W, V as G, Wt as K, b as q, n as J, rt as Y, t as X, w as Z, x as Q, zt as $ } from "./F0CanvasPanel-D1QmpvzX.js";
|
|
4
|
+
import { t as ee } from "./i18n-provider-defaults-B9vdZZeS.js";
|
|
5
|
+
export { v as AiChatTranslationsProvider, U as ChatSpinner, A as CollapsibleGroup, H as DropOverlay, K as F0ActionItem, q as F0AiChat, y as F0AiChatCreditsButton, D as F0AiChatHeader, w as F0AiChatHistory, Q as F0AiChatProvider, o as F0AiChatTextArea, c as F0AiChatUsageLimitsButton, h as F0AiFileAttachments, Y as F0AiFilePreviewsProvider, O as F0AiInsightCard, g as F0AiMask, b as F0AiMessageSources, r as F0AiMessagesContainer, Z as F0AiPong, P as F0AiProcessingOverlay, x as F0AiProposalCard, F as F0AiTableCard, S as F0AuraVoiceAnimation, E as F0CanvasCard, X as F0CanvasPanel, G as F0ChatComposer, I as F0ClarifyingPanel, C as F0HILActionConfirmation, $ as F0OneIcon, J as F0OneSwitch, a as FormCardValueFormatterProvider, t as I18nProvider, W as PongBall, N as ThreadItem, _ as ThreadListSkeleton, B as actionItemStatuses, n as aiChatFileFromShowFilesItem, T as aiChatFileFromUploadedFile, l as aiChatFilesFromMessage, u as aiChatMessageText, m as aiTranslations, j as contentTypes, s as createPersonMentionSource, ee as defaultTranslations, f as markdownRenderers, p as oneIconSizes, k as usageLimitsPopoverSides, V as useAiChat, R as useAiChatTranslations, z as useCanvasEntity, M as useChatHistory, i as useFormCardValueFormatter, e as useI18n, d as useSetFormCardValueFormatter, L as useToolCallId };
|
package/dist/component-status.js
CHANGED
|
@@ -4,7 +4,7 @@ import { useCallback as i, useEffect as a, useRef as o, useState as s } from "re
|
|
|
4
4
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
5
5
|
//#region \0virtual:f0-component-status-data
|
|
6
6
|
var u = {
|
|
7
|
-
generatedAt: "2026-11-
|
|
7
|
+
generatedAt: "2026-11-03T00:18:31.218Z",
|
|
8
8
|
stats: {
|
|
9
9
|
total: 312,
|
|
10
10
|
byStatus: {
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { _ as e, b as t, y as n } from "./popover-ics24JxK.js";
|
|
2
|
+
import * as r from "react";
|
|
3
|
+
import { forwardRef as i } from "react";
|
|
4
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
5
|
+
var o = i((e, t) => /* @__PURE__ */ a("svg", {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
fill: "none",
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
ref: t,
|
|
10
|
+
...e,
|
|
11
|
+
children: /* @__PURE__ */ a("path", {
|
|
12
|
+
fill: "currentColor",
|
|
13
|
+
fillRule: "evenodd",
|
|
14
|
+
d: "M20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12ZM16.52 9.39C16.7354 9.10281 16.6772 8.69539 16.39 8.48C16.1028 8.26461 15.6954 8.32281 15.48 8.61L11.4297 14.0104L8.95963 11.5404C8.70578 11.2865 8.29423 11.2865 8.04039 11.5404C7.78655 11.7942 7.78655 12.2058 8.04039 12.4596L11.0404 15.4596C11.1736 15.5929 11.3581 15.6617 11.5461 15.6484C11.734 15.635 11.9069 15.5407 12.02 15.39L16.52 9.39Z",
|
|
15
|
+
clipRule: "evenodd"
|
|
16
|
+
})
|
|
17
|
+
}));
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-use-previous@1.1.1_@types+react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-previous/dist/index.mjs
|
|
20
|
+
function s(e) {
|
|
21
|
+
let t = r.useRef({
|
|
22
|
+
value: e,
|
|
23
|
+
previous: e
|
|
24
|
+
});
|
|
25
|
+
return r.useMemo(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]);
|
|
26
|
+
}
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region ../../node_modules/.pnpm/@radix-ui+number@1.1.1/node_modules/@radix-ui/number/dist/index.mjs
|
|
29
|
+
function c(e, [t, n]) {
|
|
30
|
+
return Math.min(n, Math.max(t, e));
|
|
31
|
+
}
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-toggle@1.1.1_@types+react-dom@18.3.1_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@radix-ui/react-toggle/dist/index.mjs
|
|
34
|
+
var l = "Toggle", u = r.forwardRef((r, i) => {
|
|
35
|
+
let { pressed: o, defaultPressed: s = !1, onPressedChange: c, ...l } = r, [u = !1, d] = e({
|
|
36
|
+
prop: o,
|
|
37
|
+
onChange: c,
|
|
38
|
+
defaultProp: s
|
|
39
|
+
});
|
|
40
|
+
return /* @__PURE__ */ a(t.button, {
|
|
41
|
+
type: "button",
|
|
42
|
+
"aria-pressed": u,
|
|
43
|
+
"data-state": u ? "on" : "off",
|
|
44
|
+
"data-disabled": r.disabled ? "" : void 0,
|
|
45
|
+
...l,
|
|
46
|
+
ref: i,
|
|
47
|
+
onClick: n(r.onClick, () => {
|
|
48
|
+
r.disabled || d(!u);
|
|
49
|
+
})
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
u.displayName = l;
|
|
53
|
+
var d = u;
|
|
54
|
+
//#endregion
|
|
55
|
+
export { o as a, s as i, u as n, c as r, d as t };
|