@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
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
import { n as e } from "./dist-CFY0KELA.js";
|
|
2
|
+
import { E as t, O as n, _ as r, b as i, v as a, w as o, y as s } from "./popover-ics24JxK.js";
|
|
3
|
+
import { s as c } from "./scrollarea-cxaFAWG5.js";
|
|
4
|
+
import { t as l } from "./dist-zvwuNflP.js";
|
|
5
|
+
import u, * as d from "react";
|
|
6
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
7
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-roving-focus@1.1.1_@types+react-dom@18.3.1_@types+react@18.3.18_react-d_623ed541a34698abf1f463cdde77df29/node_modules/@radix-ui/react-roving-focus/dist/index.mjs
|
|
8
|
+
var p = "rovingFocusGroup.onEntryFocus", m = {
|
|
9
|
+
bubbles: !1,
|
|
10
|
+
cancelable: !0
|
|
11
|
+
}, h = "RovingFocusGroup", [g, _, v] = l(h), [y, b] = n(h, [v]), [x, S] = y(h), C = d.forwardRef((e, t) => /* @__PURE__ */ f(g.Provider, {
|
|
12
|
+
scope: e.__scopeRovingFocusGroup,
|
|
13
|
+
children: /* @__PURE__ */ f(g.Slot, {
|
|
14
|
+
scope: e.__scopeRovingFocusGroup,
|
|
15
|
+
children: /* @__PURE__ */ f(w, {
|
|
16
|
+
...e,
|
|
17
|
+
ref: t
|
|
18
|
+
})
|
|
19
|
+
})
|
|
20
|
+
}));
|
|
21
|
+
C.displayName = h;
|
|
22
|
+
var w = d.forwardRef((e, n) => {
|
|
23
|
+
let { __scopeRovingFocusGroup: a, orientation: l, loop: u = !1, dir: h, currentTabStopId: g, defaultCurrentTabStopId: v, onCurrentTabStopIdChange: y, onEntryFocus: b, preventScrollOnEntryFocus: S = !1, ...C } = e, w = d.useRef(null), T = o(n, w), E = c(h), [D = null, O] = r({
|
|
24
|
+
prop: g,
|
|
25
|
+
defaultProp: v,
|
|
26
|
+
onChange: y
|
|
27
|
+
}), [k, j] = d.useState(!1), M = t(b), N = _(a), P = d.useRef(!1), [F, I] = d.useState(0);
|
|
28
|
+
return d.useEffect(() => {
|
|
29
|
+
let e = w.current;
|
|
30
|
+
if (e) return e.addEventListener(p, M), () => e.removeEventListener(p, M);
|
|
31
|
+
}, [M]), /* @__PURE__ */ f(x, {
|
|
32
|
+
scope: a,
|
|
33
|
+
orientation: l,
|
|
34
|
+
dir: E,
|
|
35
|
+
loop: u,
|
|
36
|
+
currentTabStopId: D,
|
|
37
|
+
onItemFocus: d.useCallback((e) => O(e), [O]),
|
|
38
|
+
onItemShiftTab: d.useCallback(() => j(!0), []),
|
|
39
|
+
onFocusableItemAdd: d.useCallback(() => I((e) => e + 1), []),
|
|
40
|
+
onFocusableItemRemove: d.useCallback(() => I((e) => e - 1), []),
|
|
41
|
+
children: /* @__PURE__ */ f(i.div, {
|
|
42
|
+
tabIndex: k || F === 0 ? -1 : 0,
|
|
43
|
+
"data-orientation": l,
|
|
44
|
+
...C,
|
|
45
|
+
ref: T,
|
|
46
|
+
style: {
|
|
47
|
+
outline: "none",
|
|
48
|
+
...e.style
|
|
49
|
+
},
|
|
50
|
+
onMouseDown: s(e.onMouseDown, () => {
|
|
51
|
+
P.current = !0;
|
|
52
|
+
}),
|
|
53
|
+
onFocus: s(e.onFocus, (e) => {
|
|
54
|
+
let t = !P.current;
|
|
55
|
+
if (e.target === e.currentTarget && t && !k) {
|
|
56
|
+
let t = new CustomEvent(p, m);
|
|
57
|
+
if (e.currentTarget.dispatchEvent(t), !t.defaultPrevented) {
|
|
58
|
+
let e = N().filter((e) => e.focusable);
|
|
59
|
+
A([
|
|
60
|
+
e.find((e) => e.active),
|
|
61
|
+
e.find((e) => e.id === D),
|
|
62
|
+
...e
|
|
63
|
+
].filter(Boolean).map((e) => e.ref.current), S);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
P.current = !1;
|
|
67
|
+
}),
|
|
68
|
+
onBlur: s(e.onBlur, () => j(!1))
|
|
69
|
+
})
|
|
70
|
+
});
|
|
71
|
+
}), T = "RovingFocusGroupItem", E = d.forwardRef((e, t) => {
|
|
72
|
+
let { __scopeRovingFocusGroup: n, focusable: r = !0, active: o = !1, tabStopId: c, ...l } = e, u = a(), p = c || u, m = S(T, n), h = m.currentTabStopId === p, v = _(n), { onFocusableItemAdd: y, onFocusableItemRemove: b } = m;
|
|
73
|
+
return d.useEffect(() => {
|
|
74
|
+
if (r) return y(), () => b();
|
|
75
|
+
}, [
|
|
76
|
+
r,
|
|
77
|
+
y,
|
|
78
|
+
b
|
|
79
|
+
]), /* @__PURE__ */ f(g.ItemSlot, {
|
|
80
|
+
scope: n,
|
|
81
|
+
id: p,
|
|
82
|
+
focusable: r,
|
|
83
|
+
active: o,
|
|
84
|
+
children: /* @__PURE__ */ f(i.span, {
|
|
85
|
+
tabIndex: h ? 0 : -1,
|
|
86
|
+
"data-orientation": m.orientation,
|
|
87
|
+
...l,
|
|
88
|
+
ref: t,
|
|
89
|
+
onMouseDown: s(e.onMouseDown, (e) => {
|
|
90
|
+
r ? m.onItemFocus(p) : e.preventDefault();
|
|
91
|
+
}),
|
|
92
|
+
onFocus: s(e.onFocus, () => m.onItemFocus(p)),
|
|
93
|
+
onKeyDown: s(e.onKeyDown, (e) => {
|
|
94
|
+
if (e.key === "Tab" && e.shiftKey) {
|
|
95
|
+
m.onItemShiftTab();
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
if (e.target !== e.currentTarget) return;
|
|
99
|
+
let t = k(e, m.orientation, m.dir);
|
|
100
|
+
if (t !== void 0) {
|
|
101
|
+
if (e.metaKey || e.ctrlKey || e.altKey || e.shiftKey) return;
|
|
102
|
+
e.preventDefault();
|
|
103
|
+
let n = v().filter((e) => e.focusable).map((e) => e.ref.current);
|
|
104
|
+
if (t === "last") n.reverse();
|
|
105
|
+
else if (t === "prev" || t === "next") {
|
|
106
|
+
t === "prev" && n.reverse();
|
|
107
|
+
let r = n.indexOf(e.currentTarget);
|
|
108
|
+
n = m.loop ? j(n, r + 1) : n.slice(r + 1);
|
|
109
|
+
}
|
|
110
|
+
setTimeout(() => A(n));
|
|
111
|
+
}
|
|
112
|
+
})
|
|
113
|
+
})
|
|
114
|
+
});
|
|
115
|
+
});
|
|
116
|
+
E.displayName = T;
|
|
117
|
+
var D = {
|
|
118
|
+
ArrowLeft: "prev",
|
|
119
|
+
ArrowUp: "prev",
|
|
120
|
+
ArrowRight: "next",
|
|
121
|
+
ArrowDown: "next",
|
|
122
|
+
PageUp: "first",
|
|
123
|
+
Home: "first",
|
|
124
|
+
PageDown: "last",
|
|
125
|
+
End: "last"
|
|
126
|
+
};
|
|
127
|
+
function O(e, t) {
|
|
128
|
+
return t === "rtl" ? e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e : e;
|
|
129
|
+
}
|
|
130
|
+
function k(e, t, n) {
|
|
131
|
+
let r = O(e.key, n);
|
|
132
|
+
if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(r))) return D[r];
|
|
133
|
+
}
|
|
134
|
+
function A(e, t = !1) {
|
|
135
|
+
let n = document.activeElement;
|
|
136
|
+
for (let r of e) if (r === n || (r.focus({ preventScroll: t }), document.activeElement !== n)) return;
|
|
137
|
+
}
|
|
138
|
+
function j(e, t) {
|
|
139
|
+
return e.map((n, r) => e[(t + r) % e.length]);
|
|
140
|
+
}
|
|
141
|
+
var M = C, N = E, P = "ToggleGroup", [F, I] = n(P, [b]), L = b(), R = u.forwardRef((e, t) => {
|
|
142
|
+
let { type: n, ...r } = e;
|
|
143
|
+
if (n === "single") return /* @__PURE__ */ f(V, {
|
|
144
|
+
...r,
|
|
145
|
+
ref: t
|
|
146
|
+
});
|
|
147
|
+
if (n === "multiple") return /* @__PURE__ */ f(H, {
|
|
148
|
+
...r,
|
|
149
|
+
ref: t
|
|
150
|
+
});
|
|
151
|
+
throw Error(`Missing prop \`type\` expected on \`${P}\``);
|
|
152
|
+
});
|
|
153
|
+
R.displayName = P;
|
|
154
|
+
var [z, B] = F(P), V = u.forwardRef((e, t) => {
|
|
155
|
+
let { value: n, defaultValue: i, onValueChange: a = () => {}, ...o } = e, [s, c] = r({
|
|
156
|
+
prop: n,
|
|
157
|
+
defaultProp: i,
|
|
158
|
+
onChange: a
|
|
159
|
+
});
|
|
160
|
+
return /* @__PURE__ */ f(z, {
|
|
161
|
+
scope: e.__scopeToggleGroup,
|
|
162
|
+
type: "single",
|
|
163
|
+
value: s ? [s] : [],
|
|
164
|
+
onItemActivate: c,
|
|
165
|
+
onItemDeactivate: u.useCallback(() => c(""), [c]),
|
|
166
|
+
children: /* @__PURE__ */ f(G, {
|
|
167
|
+
...o,
|
|
168
|
+
ref: t
|
|
169
|
+
})
|
|
170
|
+
});
|
|
171
|
+
}), H = u.forwardRef((e, t) => {
|
|
172
|
+
let { value: n, defaultValue: i, onValueChange: a = () => {}, ...o } = e, [s = [], c] = r({
|
|
173
|
+
prop: n,
|
|
174
|
+
defaultProp: i,
|
|
175
|
+
onChange: a
|
|
176
|
+
}), l = u.useCallback((e) => c((t = []) => [...t, e]), [c]), d = u.useCallback((e) => c((t = []) => t.filter((t) => t !== e)), [c]);
|
|
177
|
+
return /* @__PURE__ */ f(z, {
|
|
178
|
+
scope: e.__scopeToggleGroup,
|
|
179
|
+
type: "multiple",
|
|
180
|
+
value: s,
|
|
181
|
+
onItemActivate: l,
|
|
182
|
+
onItemDeactivate: d,
|
|
183
|
+
children: /* @__PURE__ */ f(G, {
|
|
184
|
+
...o,
|
|
185
|
+
ref: t
|
|
186
|
+
})
|
|
187
|
+
});
|
|
188
|
+
});
|
|
189
|
+
R.displayName = P;
|
|
190
|
+
var [U, W] = F(P), G = u.forwardRef((e, t) => {
|
|
191
|
+
let { __scopeToggleGroup: n, disabled: r = !1, rovingFocus: a = !0, orientation: o, dir: s, loop: l = !0, ...u } = e, d = L(n), p = c(s), m = {
|
|
192
|
+
role: "group",
|
|
193
|
+
dir: p,
|
|
194
|
+
...u
|
|
195
|
+
};
|
|
196
|
+
return /* @__PURE__ */ f(U, {
|
|
197
|
+
scope: n,
|
|
198
|
+
rovingFocus: a,
|
|
199
|
+
disabled: r,
|
|
200
|
+
children: a ? /* @__PURE__ */ f(M, {
|
|
201
|
+
asChild: !0,
|
|
202
|
+
...d,
|
|
203
|
+
orientation: o,
|
|
204
|
+
dir: p,
|
|
205
|
+
loop: l,
|
|
206
|
+
children: /* @__PURE__ */ f(i.div, {
|
|
207
|
+
...m,
|
|
208
|
+
ref: t
|
|
209
|
+
})
|
|
210
|
+
}) : /* @__PURE__ */ f(i.div, {
|
|
211
|
+
...m,
|
|
212
|
+
ref: t
|
|
213
|
+
})
|
|
214
|
+
});
|
|
215
|
+
}), K = "ToggleGroupItem", q = u.forwardRef((e, t) => {
|
|
216
|
+
let n = B(K, e.__scopeToggleGroup), r = W(K, e.__scopeToggleGroup), i = L(e.__scopeToggleGroup), a = n.value.includes(e.value), o = r.disabled || e.disabled, s = {
|
|
217
|
+
...e,
|
|
218
|
+
pressed: a,
|
|
219
|
+
disabled: o
|
|
220
|
+
}, c = u.useRef(null);
|
|
221
|
+
return r.rovingFocus ? /* @__PURE__ */ f(N, {
|
|
222
|
+
asChild: !0,
|
|
223
|
+
...i,
|
|
224
|
+
focusable: !o,
|
|
225
|
+
active: a,
|
|
226
|
+
ref: c,
|
|
227
|
+
children: /* @__PURE__ */ f(J, {
|
|
228
|
+
...s,
|
|
229
|
+
ref: t
|
|
230
|
+
})
|
|
231
|
+
}) : /* @__PURE__ */ f(J, {
|
|
232
|
+
...s,
|
|
233
|
+
ref: t
|
|
234
|
+
});
|
|
235
|
+
});
|
|
236
|
+
q.displayName = K;
|
|
237
|
+
var J = u.forwardRef((t, n) => {
|
|
238
|
+
let { __scopeToggleGroup: r, value: i, ...a } = t, o = B(K, r), s = {
|
|
239
|
+
role: "radio",
|
|
240
|
+
"aria-checked": t.pressed,
|
|
241
|
+
"aria-pressed": void 0
|
|
242
|
+
}, c = o.type === "single" ? s : void 0;
|
|
243
|
+
return /* @__PURE__ */ f(e, {
|
|
244
|
+
...c,
|
|
245
|
+
...a,
|
|
246
|
+
ref: n,
|
|
247
|
+
onPressedChange: (e) => {
|
|
248
|
+
e ? o.onItemActivate(i) : o.onItemDeactivate(i);
|
|
249
|
+
}
|
|
250
|
+
});
|
|
251
|
+
}), Y = R, X = q;
|
|
252
|
+
//#endregion
|
|
253
|
+
export { q as i, Y as n, R as r, X as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as e, S as t, w as n } from "./popover-
|
|
1
|
+
import { O as e, S as t, w as n } from "./popover-ics24JxK.js";
|
|
2
2
|
import r from "react";
|
|
3
3
|
import { jsx as i } from "react/jsx-runtime";
|
|
4
4
|
//#region ../../node_modules/.pnpm/@radix-ui+react-collection@1.1.1_@types+react-dom@18.3.1_@types+react@18.3.18_react-dom_8b50dd17dda88491984286d0a66c0706/node_modules/@radix-ui/react-collection/dist/index.mjs
|
package/dist/experimental.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $i as Badge, A as Weekdays, C as FileItemSize, Ci as AvatarVariant, Cn as TooltipProps, Cr as F0PersonCardAction, Dn as ChartColorToken, Dt as SidePanelContextValue, Et as SidePanelContent, Gi as BaseAvatar, Gn as DropdownItemLabel, Hn as DropdownContentVariant, In as AlertAvatarProps, It as F0CardProps, Ji as F0AvatarColorListProps, Jn as DropdownItemSeparator, Kn as DropdownItemObject, Kt as CardMetadata, Ln as F0AvatarAlert, Mn as F0TagAlert, O as F0TagRaw, Ot as SidePanelLayout, Rn as alertAvatarTypes, S as FileItemProps, Sn as TooltipGroupProps, Sr as F0PersonCard, Wn as DropdownItem, Xi as F0AvatarColorProps, Xn as DropdownItemSwitch, Yi as F0AvatarColor, Yn as DropdownItemSubmenu, Zi as AvatarBadge, Zn as NavigationItem, _ as F0FileItem, _n as F0ProgressSeriesSize, _r as StatusVariant, a as F0CardHorizontal, b as FileAction, bi as F0AvatarModule, bn as Tooltip, c as MobileDropdown, da as WithDataTestIdProps, dr as DataAttributes, ea as BadgeProps, er as F0ButtonProps, fn as F0ProgressSeries, g as F0FileAction, gn as F0ProgressSeriesProps, h as DetailsItemType, hn as F0ProgressSeriesOptions, ia as Props$6, it as AiChatProviderProps, ji as PersonAvatarVariant, jn as F0AvatarListProps, kt as SidePanelViewDefinition, la as IconType, m as DetailsItemContent, mn as F0ProgressSeriesColor, na as modules, nr as ButtonVariant, o as F0CardHorizontalProps, oa as DistributiveOmit, p as DetailsItem, pa as WithDataTestIdReturnType, pn as F0ProgressSeriesBar, qi as F0AvatarColorList, qn as DropdownItemPanel, s as Dropdown, ta as ModuleId, tn as F0TagRawProps, ur as ActionButtonVariant, v as F0FileItemProps, vn as f0ProgressSeriesColors, w as f0FileItemSizes, wn as Shortcut, wr as F0PersonCardProps, x as FileItem, xi as F0AvatarModuleProps, xn as TooltipGroup, y as F0FileItemSize, yn as f0ProgressSeriesSizes, yt as TranscribeFn, zn as CardSecondaryAction } from "./index-
|
|
2
|
-
import { $a as
|
|
1
|
+
import { $i as Badge, A as Weekdays, C as FileItemSize, Ci as AvatarVariant, Cn as TooltipProps, Cr as F0PersonCardAction, Dn as ChartColorToken, Dt as SidePanelContextValue, Et as SidePanelContent, Gi as BaseAvatar, Gn as DropdownItemLabel, Hn as DropdownContentVariant, In as AlertAvatarProps, It as F0CardProps, Ji as F0AvatarColorListProps, Jn as DropdownItemSeparator, Kn as DropdownItemObject, Kt as CardMetadata, Ln as F0AvatarAlert, Mn as F0TagAlert, O as F0TagRaw, Ot as SidePanelLayout, Rn as alertAvatarTypes, S as FileItemProps, Sn as TooltipGroupProps, Sr as F0PersonCard, Wn as DropdownItem, Xi as F0AvatarColorProps, Xn as DropdownItemSwitch, Yi as F0AvatarColor, Yn as DropdownItemSubmenu, Zi as AvatarBadge, Zn as NavigationItem, _ as F0FileItem, _n as F0ProgressSeriesSize, _r as StatusVariant, a as F0CardHorizontal, b as FileAction, bi as F0AvatarModule, bn as Tooltip, c as MobileDropdown, da as WithDataTestIdProps, dr as DataAttributes, ea as BadgeProps, er as F0ButtonProps, fn as F0ProgressSeries, g as F0FileAction, gn as F0ProgressSeriesProps, h as DetailsItemType, hn as F0ProgressSeriesOptions, ia as Props$6, it as AiChatProviderProps, ji as PersonAvatarVariant, jn as F0AvatarListProps, kt as SidePanelViewDefinition, la as IconType, m as DetailsItemContent, mn as F0ProgressSeriesColor, na as modules, nr as ButtonVariant, o as F0CardHorizontalProps, oa as DistributiveOmit, p as DetailsItem, pa as WithDataTestIdReturnType, pn as F0ProgressSeriesBar, qi as F0AvatarColorList, qn as DropdownItemPanel, s as Dropdown, ta as ModuleId, tn as F0TagRawProps, ur as ActionButtonVariant, v as F0FileItemProps, vn as f0ProgressSeriesColors, w as f0FileItemSizes, wn as Shortcut, wr as F0PersonCardProps, x as FileItem, xi as F0AvatarModuleProps, xn as TooltipGroup, y as F0FileItemSize, yn as f0ProgressSeriesSizes, yt as TranscribeFn, zn as CardSecondaryAction } from "./index-DF8ubeg6.js";
|
|
2
|
+
import { $a as OnLoadErrorCallback, $d as CurrentFilters, $i as NotesTextEditorSnapshot, $l as ChartConfig, $o as UpsellActionDefinitionFn, $s as LocationInputSize, $u as Data, Ac as F0MapProps, Ad as isVisibleAction, Ai as UPLOAD_INPUT_ID, Ao as DatePreset, As as Input, Au as Action$1, Ba as Visualization, Bc as F0MapMarkerVariantProps, Bd as PageBasedPaginatedResponse, Bi as F0NotesTextEditorHandle, Bl as AreaChart, Bo as GranularityDefinitionSimple, Bs as isValidPhoneValue, C as F0DataChartRadarProps, Ca as ActionProps$1, Cc as F0MapSidebarProps, Cd as GroupingDefinition, Cf as DateRange, Ci as primaryActionType, Co as OneCalendarInternalProps, Cs as F0NumberInputProps, Cu as F0SelectItemProps, D as F0DataChartScatterProps, Dc as F0Map, Dd as ActionDefinition, Df as WeekStartsOn, Di as subActionType, Do as rangeSeparator, Ds as F0TextInputInline, Du as ResolvedRecordType, Ea as UpsellingButtonProps, Ec as F0MapSkeletonProps, Ed as GroupMetadataItem, Ef as WeekStartDay, Ei as secondaryActionsType, Eo as getGranularitySimpleDefinition, Es as NumberInputPopoverConfig, Eu as F0SelectVariant, Fa as ChipProps, Fc as F0MapPoint, Fd as DataAdapter, Fi as F0RichTextDisplayProps, Fl as ActionBarStatus, Fo as granularityDefinitions, Fs as F1SearchBox, Ga as ListIconPaletteColor, Gc as googleMapStyles, Gd as PaginationType, Gi as NotesTextEditorHandle, Gl as PieChart, Go as PrimaryActionItemDefinition, Gs as phoneInputSizes, Ha as MapUnplaced, Hc as F0MapStyle, Hd as PaginatedFetchOptions, Hi as F0NotesTextEditorSkeleton, Hl as CategoryBarChart, Ho as DatePeriod, Hs as F0PhoneInputProps, Ia as chipVariants, Ic as F0MapRoute, Id as InfiniteScrollPaginatedResponse, Ii as RichTextDisplay, Il as F0ActionBar, Io as resolveGranularityDefinition, Is as TemplateVariable, Ja as ViewportInset, Jc as F0MapControlLabels, Jd as SortOrder, Ji as NotesTextEditorSkeletonProps, Jl as VerticalBarChart, Jo as SecondaryActionItem, Js as F0LocationInputProps, Ka as listIconColors, Kc as googlePinlessMapStyles, Kd as SelectedItems, Ki as NotesTextEditorProps, Kl as ProgressBarChart, Ko as PrimaryActionsDefinitionFn, Ks as F0LocationInput, Ku as UseDataSourceItemNavigationReturn, La as EditableTableColumnDefinition, Lc as F0MapViewport, Ld as ItemNeighborsFetchOptions, Li as RichTextDisplayHandle, Ll as F0ActionBarRef, Lo as DateNavigationOptions, Ls as TemplateVariablesConfig, Ma as DataCollectionStatusComplete, Mc as F0MapArea, Md as BaseFetchOptions, Mi as MentionsConfig, Mo as GranularityDefinitionsOptions, Ms as F0TextInputProps, Na as DataCollectionStorageFeaturesDefinition, Nc as F0MapLineColor, Nd as BasePaginatedResponse, Ni as F0RichTextDisplay, Nl as ActionBarGroup, No as NavigationGranularityKey, Ns as F0SearchInput, Oc as F0MapHandle, Od as ItemActionsDefinition, Oi as FILE_TYPES, Oo as DatePickerPopupProps, Os as F0TextInputInlineProps, Ou as selectSizes, Pa as Chip, Pc as F0MapLineStyle, Pd as BaseResponse, Pi as F0RichTextDisplayHandle, Pl as ActionBarItem, Po as getGranularityDefinitions, Ps as F0SearchInputProps, Qa as OnLoadDataCallback, Qd as SortingsStateMultiple, Qi as NotesTextEditorPageDocumentPatch, Ql as BarChartProps, Qo as UpsellActionDefinition, Qs as F0LocationSuggestion, Ra as EditableTableOnCellChangeParams, Rc as F0MapViewportInset, Rd as ItemNeighborsId, Ri as RichTextDisplayProps, Rl as WiggleOptions, Ro as DateStringFormat, Rs as F0PhoneInput, Sc as F0MapSidebar, Sd as SearchOptions, Sf as OptionalCalendarSelection, Si as heightType, So as OneCalendarInternal, Ss as F0NumberInput, Su as F0SelectItemObject, Tc as F0MapSkeleton, Td as GroupingState, Tf as DateRangeString, Ti as secondaryActionType, To as getGranularityDefinition, Ts as NumberInputProps, Tu as F0SelectTagProp, Ua as MapVisualizationOptions, Uc as defaultMapStyle, Ud as PaginatedResponse, Ui as F0NotesTextEditorSkeletonProps, Ul as ComboChart, Uo as DatePeriodsDefinition, Us as F0PhoneInputValue, Va as VisualizationFilterOverrides, Vc as f0MapMarkerVariants, Vd as PaginatedDataAdapter, Vi as F0NotesTextEditorProps, Vl as BarChart, Vo as PrevNextDateNavigation, Vs as F0PhoneInputChangeMeta, Wa as ListIconColor, Wc as f0MapStyles, Wd as PaginationInfo, Wi as NotesTextEditor, Wl as LineChart, Wo as MAX_EXPANDED_ACTIONS, Ws as PhoneInputSize, Wu as DataSourceItemId, Xa as CollectionProps, Xd as SortingsDefinition, Xi as InsertAfterNotesTextEditorPageDocumentPatch, Xl as PieChartProps, Xo as SecondaryActionsDefinition, Xr as VideoPlayerContent, Xs as F0LocationInputValue, Yc as F0MapControlsProps, Yd as SortingKey, Yi as DeleteBlockNotesTextEditorPageDocumentPatch, Yl as ComboChartProps, Yo as SecondaryActionSplitItem, Ys as F0LocationInputShapeProps, Za as ExtractPropertyKeys, Zc as F0DialogInternalProps, Zd as SortingsState, Zi as InsertBeforeNotesTextEditorPageDocumentPatch, Zl as CategoryBarProps, Zo as SecondaryActionsItems, Zs as F0LocationSearchContext, _d as SelectedItemsState, _f as CalendarDateMatcher, _i as RichTextEditorProps, _l as HeaderSecondaryAction, _o as NavigationFilterValue, _s as F0TextAreaInputProps, _u as F0Select, aa as HeaderStatusProps, ac as CardSelectableItem, af as PresetDefinition, ao as DataCollectionSource, as as SummaryKey, au as BaseBannerProps, b as F0DataChartProps, bc as F0MapSidebarToggle, bf as CalendarView, bi as editorStateType, bl as PrimaryActionButton, bo as NavigationFilterDefinitionBase, bs as F0NumberInputInline, c as F0DataChartGaugeProps, ca as ImageUploadConfig, cc as CardSelectableValue, cf as QuickFilterDefinition, cl as TabItem, co as SearchPreview, cs as DropPosition, cu as F0ButtonToggle, d as F0DataChartLineProps, da as enhanceTextParams, dd as PromiseOrObservable, df as FilterValue, di as F0RichTextEditor, dl as TabsSkeleton, do as BulkAction, ds as TOCItemAction, du as ButtonToggleSize, ea as ReplaceBlockNotesTextEditorPageDocumentPatch, ec as LocationPart, ef as FilterOptions, eo as TableVisualizationType, es as filterActions, eu as ChartPropsBase, fa as enhancedTextResponse, fd as DataSource, ff as SearchFilterDefinition, fi as F0RichTextEditorHandle, fl as NavigationProps, fo as BulkActionDefinition, fs as TOCProps, ft as F0FormSchema, fu as ButtonToggleVariant, g as F0DataChartPieProps, gc as TimelineRowStatus, gd as SelectedItemsDetailedStatus, gf as CalendarDate, gi as RichTextEditorHandle, gl as F0ResourceHeaderProps, go as NavigationFilterDefinition, gs as F0TextAreaInput, hd as SelectedItemState, hf as DateFilterDefinition, hi as RichTextEditor, hl as F0ResourceHeader, ho as NavigationFilterComponentProps, hs as F0TextAreaInputInlineProps, hu as buttonToggleVariants, ia as HeaderProps, ic as CardSelectableContainerProps, id as UseDataReturn, if as FiltersState, ii as F0DocumentHtmlSandbox, io as DataCollectionPaginatedFetchOptions, is as SummariesDefinition, iu as BaseBanner, jc as F0MapArc, jd as BaseDataAdapter, ji as MentionedUser, jo as GranularityDefinitionKey, js as InputProps, ju as InputFieldProps, kc as F0MapProjection, kd as filterItemActions, ki as FileType, ko as DatePickerValue, ks as F0TextInput, ku as selectVariants, l as F0DataChartHeatmapProps, la as EnhancementOption, lf as QuickFilterPanelHandle, ll as Tabs, lo as SearchPreviewPage, ls as TOCAction, lu as F0ButtonToggleProps, mc as F0TimelineRowProps, md as OnSelectItemsCallback, mf as InFilterDefinition, mi as F0RichTextEditorSkeletonProps, ml as PageNavigation, mo as NavigationFilter, ms as F0TextAreaInputInline, mu as buttonToggleSizes, n as F0DataChartBarProps, na as TopLevelAppendNotesTextEditorPageDocumentPatch, nc as locationParts, nf as FiltersDefinition, no as DataCollectionBaseFetchOptions, ns as getSecondaryActions, nu as LineChartConfig, o as F0DataChartFunnelProps, oa as Message, oc as CardSelectableMultipleProps, of as PresetSettings, oo as DataCollectionSourceDefinition, os as SummaryType, ou as F0SegmentedControlItem, pa as lastIntentType, pd as DataSourceDefinition, pf as NumberFilterDefinition, pi as F0RichTextEditorProps, pl as NavigationTarget, po as OnBulkActionCallback, ps as Pulse, pu as buttonToggleColors, qa as GraphVisualizationOptions, qc as F0MapProvider, qd as RecordType, qi as NotesTextEditorSkeleton, ql as RadarChart, qo as SecondaryActionGroup, qs as F0LocationInputChangeMeta, ra as TopLevelPrependNotesTextEditorPageDocumentPatch, rc as CardSelectableContainer, rd as UseDataOptions, rf as FiltersMode, ri as F0DocumentHtmlExecution, ro as DataCollectionDataAdapter, rs as getUpsellAction, ru as BannerAction, sa as User, sc as CardSelectableSingleProps, sf as PresetsDefinition, sl as BaseTabs, so as Lane, ss as OneFilterPicker, su as F0SegmentedControlProps, ta as ReplaceContentNotesTextEditorPageDocumentPatch, tc as locationInputSizes, tf as FilterValueByKey, to as BulkActionsDefinition, ts as getPrimaryActions, tu as LineChartPropsBase, ua as enhanceConfig, uf as FilterDefinition, ul as TabsProps, uo as SearchPreviewResultData, us as TOCItem, uu as ButtonToggleColor, va as OneEmptyState, vc as F0MapList, vd as SelectedState, vf as CalendarMode, vi as RichTextEditorSkeletonProps, vl as MetadataItem, vo as NavigationFiltersDefinition, vs as Textarea, wc as F0MapControls, wd as GroupingLevelState, wf as DateRangeComplete, wi as resultType, wo as OneCalendarProps, ws as NumberInput, wu as F0SelectProps, xa as DataCollectionStorage, xc as F0MapSidebarToggleProps, xf as DateRangeError, xi as filesConfig, xl as PrimaryDropdownAction, xo as OneCalendar, xs as F0NumberInputInlineProps, xu as F0SelectItemMetadata, ya as predefinedPresets, yc as F0MapListProps, yd as SelectionId, yf as CalendarSelection, yi as actionType, yl as MetadataItemValue, yo as NavigationFiltersState, ys as TextareaProps, za as CustomVisualizationProps, zc as F0MapMarkerVariant, zd as ItemNeighborsResponse, zi as F0NotesTextEditor, zl as actionBarStatuses, zo as GranularityDefinition, zs as isPossiblePhoneValue } from "./types-oJKIDe-E.js";
|
|
3
3
|
import * as React$2 from "react";
|
|
4
4
|
import React$1, { ButtonHTMLAttributes, CSSProperties, ComponentProps, Dispatch, FC, ForwardedRef, MouseEvent, PropsWithChildren, ReactElement, ReactNode, RefObject, SVGProps } from "react";
|
|
5
5
|
import { VariantProps } from "cva";
|
|
@@ -6898,6 +6898,18 @@ interface F0ChatRuntime {
|
|
|
6898
6898
|
//#endregion
|
|
6899
6899
|
//#region src/domains/platform/communications/chat/F0Chat/F0Chat.d.ts
|
|
6900
6900
|
interface F0ChatProps {
|
|
6901
|
+
/**
|
|
6902
|
+
* Separate registrable domain serving `f0-html-host/` (see its README).
|
|
6903
|
+
* With it, HTML attachments run in that isolated origin; without it they
|
|
6904
|
+
* run in an opaque-origin srcdoc frame inside this tab.
|
|
6905
|
+
*/
|
|
6906
|
+
htmlSandbox?: F0DocumentHtmlSandbox;
|
|
6907
|
+
/**
|
|
6908
|
+
* When HTML attachments run their scripts: "auto" on open, "ask" behind a
|
|
6909
|
+
* "Run content" button, "never" static.
|
|
6910
|
+
* @default "auto"
|
|
6911
|
+
*/
|
|
6912
|
+
htmlExecution?: F0DocumentHtmlExecution;
|
|
6901
6913
|
/**
|
|
6902
6914
|
* Where the chat is mounted — see {@link F0ChatSurface}. On `"page"` the
|
|
6903
6915
|
* panel controls below are ignored, not merely unused: a conversation that is
|
|
@@ -6993,7 +7005,7 @@ interface F0ChatProps {
|
|
|
6993
7005
|
* the {@link F0ChatRuntime} from a surrounding `F0ChatProvider`. Panel controls
|
|
6994
7006
|
* (fullscreen / close) are wired by the host so F0Chat stays transport-agnostic.
|
|
6995
7007
|
*/
|
|
6996
|
-
export declare const F0Chat: ({ surface, tabs, activeTabId, onActiveTabChange, ...props }: F0ChatProps) => ReactNode;
|
|
7008
|
+
export declare const F0Chat: ({ surface, tabs, activeTabId, onActiveTabChange, htmlSandbox, htmlExecution, ...props }: F0ChatProps) => ReactNode;
|
|
6997
7009
|
//#endregion
|
|
6998
7010
|
//#region src/domains/platform/communications/chat/F0Chat/providers/F0ChatProvider.d.ts
|
|
6999
7011
|
/**
|