@factorialco/f0-react 6.88.4 → 6.89.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/{ChatDocxThumbnail-DhzoVI1K.js → ChatDocxThumbnail-D5hDwmp7.js} +18 -21
- package/dist/{ChatPdfThumbnail-DyN19lpl.js → ChatPdfThumbnail-DOOAa9_u.js} +1 -1
- package/dist/{CoachmarkProvider-DEb5iYR1.js → CoachmarkProvider-BUn46UQH.js} +929 -961
- package/dist/{DocumentToolbar-yRNLFw0I.js → DocumentToolbar-DIehxyRO.js} +2 -2
- package/dist/{DocxViewer-DRIhy7xS.js → DocxViewer-B_L696dj.js} +20 -23
- package/dist/{F0AiProcessingOverlay-D13utNB6.js → F0AiProcessingOverlay-osUG6362.js} +737 -761
- package/dist/{F0CanvasPanel-CHIKqAx1.js → F0CanvasPanel-Dtc7dfno.js} +18108 -18071
- package/dist/{F0VideoPlayer-DNtsUfgx.js → F0VideoPlayer-Bo3mtwsY.js} +1 -1
- package/dist/{LocationMap-CjCx8Izp.js → LocationMap-DNKkLIdp.js} +1 -1
- package/dist/{SheetViewer-Z6YuRpt5.js → SheetViewer-DrSoxxcT.js} +2 -2
- package/dist/{TextViewer-BDO172lU.js → TextViewer-LEXPt33_.js} +2 -2
- package/dist/ai.js +2 -2
- package/dist/component-status.js +1 -1
- package/dist/{experimental-DTSd_ojK.js → experimental-nEaanOtX.js} +22093 -20656
- package/dist/experimental.d.ts +490 -0
- package/dist/experimental.js +215 -212
- package/dist/f0.js +106 -98
- package/dist/index-BtYreoci.js +4 -0
- package/dist/{index-ChySRaDP.js → index-WLqYUzlI.js} +3 -3
- package/dist/{pdfWorker-BQ72TLRX.js → pdfWorker-BWsQjPpK.js} +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/index-DZQja3s3.js +0 -4
package/dist/f0.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { h$ as wN, w as ct, e5 as N_, cu as gn, hp as SN, fU as rF, bZ as Nn, fo as nF, i0 as iF, i1 as CN, r as rr, c5 as yf, i2 as Fw, i3 as Nr, i4 as Qa, i5 as aF, u as Ge, bX as up, i6 as Ki, i7 as Ql, i8 as oF, i9 as TN, bW as bl, hl as jy, ia as sF, S as ie, s as I_, ib as lF, ic as uF, id as Gw, cA as cF, ie as fF, ig as dF, ih as DN, ii as hF, t as bf, v as _f, m as at, x as xf, y as $r, O as vF, Q as pF, z as es, A as ts, az as Pa, B as rs, gw as Ky, d5 as Ct, V as it, ah as Nl, d6 as Ra, db as AN, dj as k_, ij as gF, cn as mF, co as Hw, n as MN, o as Il, bY as Rc, cp as yF, eD as zh, e2 as LN, ik as bF, ho as Ww, d8 as _F, il as $w, de as xF, im as wF, c2 as EN, d_ as NN, gf as Qy, dn as SF, a7 as Jy, a6 as P_, gS as Jl, gT as wf, gV as IN, hv as CF, gu as kN, gt as TF, io as cp, b5 as R_, h8 as DF, ca as PN, g0 as AF, aw as MF, hW as O_, b8 as RN, c6 as LF, c7 as EF, c8 as NF, d as IF, bD as ON, aj as hs, bJ as BN, b4 as zN, ag as B_, bL as VN, X as z_, G as _l, H as xl, K as wl, L as Sl, gx as Ei, $ as FN, j as kF, b2 as Vh, au as kl, J as Pr, em as PF, bU as V_, b6 as e0, cr as Oc, ck as RF, aU as Sf, as as eu, ai as GN, dI as HN, dv as WN, h2 as Vr, ip as OF, iq as BF, ir as $N, is as fp, it as zF, iu as VF, cF as ti, R as UN, U as YN, cj as FF, iv as GF, cc as XN, dY as HF, dZ as WF, bR as $o, dc as tu, e8 as ru, e$ as Cf, bM as $F, e6 as UF, bt as YF, al as qN, dh as XF, ak as qF, aY as Uw, bH as Bc, ht as ZF, aQ as jF, iw as KF, ix as QF, iy as JF, b as ZN, eZ as F_, ci as e5, a$ as t5, l as jN, a8 as r5, a5 as n5, iz as i5, iA as a5, iB as o5, hs as s5, cG as KN, cO as l5, c4 as u5, iC as QN, iD as c5, iE as f5, I as d5, iF as h5, iG as v5, iH as p5, iI as g5 } from "./F0CanvasPanel-Dtc7dfno.js";
|
|
2
|
+
import { iZ as rhe, C as nhe, D as ihe, dC as ahe, c as ohe, F as she, a as lhe, iS as uhe, f as che, cy as fhe, dD as dhe, ea as hhe, cd as vhe, ce as phe, cw as ghe, cb as mhe, cx as yhe, dq as bhe, ei as _he, g as xhe, c9 as whe, b_ as She, iN as Che, j2 as The, bT as Dhe, e as Ahe, e4 as Mhe, k as Lhe, cz as Ehe, iU as Nhe, dM as Ihe, iV as khe, iX as Phe, iY as Rhe, eG as Ohe, i$ as Bhe, ez as zhe, eA as Vhe, P as Fhe, eE as Ghe, iW as Hhe, eB as Whe, i_ as $he, j3 as Uhe, iK as Yhe, iL as Xhe, iM as qhe, iJ as Zhe, eC as jhe, j1 as Khe, iT as Qhe, iQ as Jhe, iP as eve, eF as tve, gr as rve, hf as nve, j0 as ive, dF as ave, ey as ove, ev as sve, ex as lve, et as uve, iR as cve, ha as fve, h5 as dve, gW as hve, j6 as vve, ee as pve, ew as gve, j5 as mve, dU as yve, eu as bve, cg as _ve, gq as xve, gX as wve, dX as Sve, hu as Cve, dE as Tve, ch as Dve, iO as Ave, h7 as Mve, h6 as Lve, j4 as Eve } from "./F0CanvasPanel-Dtc7dfno.js";
|
|
3
3
|
import { jsx as x, jsxs as B, Fragment as ot } from "react/jsx-runtime";
|
|
4
|
-
import { C as m5, W as y5,
|
|
5
|
-
import { a6 as Ive, a7 as kve, ah as Pve, a8 as Rve, ad as Ove, bI as Bve, bH as zve, bA as Vve, bo as Fve, bn as Gve, bp as Hve, bq as Wve, bs as $ve,
|
|
4
|
+
import { C as m5, W as y5, I as b5, J as _5, K as x5, N as Yw, aU as w5, aV as S5, _ as C5, Q as T5, U as D5, Y as A5, Z as M5, s as L5, a3 as JN, aW as E5, aX as N5, aY as I5, aZ as k5, a_ as P5, a$ as eI, b0 as R5, n as G_, b1 as Ja, b2 as Ls, b3 as O5, G as H_, b4 as W_, ag as B5, b5 as z5, b6 as tI, b7 as V5, b8 as F5, b9 as G5, ba as H5, bb as W5, bc as $5, at as U5, aJ as Y5, bd as X5, ao as q5, E as Z5, a as j5, k as dp, R as $_, l as U_, ar as rI, O as Y_, be as nI, bf as Xw, bg as X_, a4 as K5, bh as qw, F as Q5, m as iI, ax as aI, bi as J5, bj as eG, bk as tG, bl as Es, bm as rG, aK as nG, M as iG } from "./CoachmarkProvider-BUn46UQH.js";
|
|
5
|
+
import { a6 as Ive, a7 as kve, ah as Pve, a8 as Rve, ad as Ove, bI as Bve, bH as zve, bA as Vve, bo as Fve, bn as Gve, bp as Hve, bq as Wve, bs as $ve, H as Uve, aM as Yve, aL as Xve, aP as qve, aq as Zve, al as jve, aR as Kve, am as Qve, a9 as Jve, bJ as epe, aN as tpe, aO as rpe, an as npe, aa as ipe, P as ape, ac as ope, ae as spe, aQ as lpe, ap as upe, aS as cpe, ab as fpe, af as dpe, bL as hpe, a2 as vpe, a0 as ppe, a1 as gpe, bz as mpe, bF as ype, bF as bpe, bG as _pe, bv as xpe, bu as wpe, bK as Spe, aH as Cpe, bx as Tpe, by as Dpe, ak as Ape, aj as Mpe, bM as Lpe, bN as Epe, t as Npe, o as Ipe, bB as kpe, bC as Ppe, bD as Rpe, br as Ope, bw as Bpe, q as zpe, bE as Vpe, bt as Fpe, bO as Gpe } from "./CoachmarkProvider-BUn46UQH.js";
|
|
6
6
|
import * as Tt from "react";
|
|
7
|
-
import aG, { forwardRef as Mr, useRef as ae, useImperativeHandle as oG, Children as Fh, createContext as $a, useContext as Ua, useState as le, useMemo as me, useEffect as be, useCallback as he, useLayoutEffect as zc, isValidElement as
|
|
7
|
+
import aG, { forwardRef as Mr, useRef as ae, useImperativeHandle as oG, Children as Fh, createContext as $a, useContext as Ua, useState as le, useMemo as me, useEffect as be, useCallback as he, useLayoutEffect as zc, isValidElement as oI, Fragment as nu, memo as q_, useSyncExternalStore as Pl, useId as Cl } from "react";
|
|
8
8
|
import { createPortal as Tf } from "react-dom";
|
|
9
9
|
import { d as oe, g as Df, h as sG, i as fl, P as Af, u as iu, j as lG, f as Qi } from "./tooltip-CMBdJvJA.js";
|
|
10
|
-
import { l as t0, c as
|
|
11
|
-
import { F as Wpe } from "./F0VideoPlayer-
|
|
12
|
-
import { F as Upe, p as Ype } from "./index-
|
|
13
|
-
import { c as qpe } from "./pdfWorker-
|
|
14
|
-
import { D as uG, E as Hh, G as Z_, H as
|
|
15
|
-
import { A as jpe, C as Kpe, t as Qpe, s as Jpe, v as ege, y as tge, l as rge, i as nge, q as ige, z as age, B as oge, p as sge, r as lge, j as uge, e as cge, g as fge, k as dge, T as hge, w as vge, h as pge, a as gge, n as mge, m as yge, o as bge, b as _ge, f as xge, x as wge, c as Sge, d as Cge, u as Tge } from "./F0AiProcessingOverlay-
|
|
10
|
+
import { l as t0, c as sI, d as Gh, r as r0 } from "./F0VideoPlayer-Bo3mtwsY.js";
|
|
11
|
+
import { F as Wpe } from "./F0VideoPlayer-Bo3mtwsY.js";
|
|
12
|
+
import { F as Upe, p as Ype } from "./index-WLqYUzlI.js";
|
|
13
|
+
import { c as qpe } from "./pdfWorker-BWsQjPpK.js";
|
|
14
|
+
import { D as uG, E as Hh, G as Z_, H as lI, I as cG, J as fG, K as dG, L as hG, M as vG, F as pG } from "./F0AiProcessingOverlay-osUG6362.js";
|
|
15
|
+
import { A as jpe, C as Kpe, t as Qpe, s as Jpe, v as ege, y as tge, l as rge, i as nge, q as ige, z as age, B as oge, p as sge, r as lge, j as uge, e as cge, g as fge, k as dge, T as hge, w as vge, h as pge, a as gge, n as mge, m as yge, o as bge, b as _ge, f as xge, x as wge, c as Sge, d as Cge, u as Tge } from "./F0AiProcessingOverlay-osUG6362.js";
|
|
16
16
|
import { utils as Tl, write as uI } from "./xlsx-CzlURDDb.js";
|
|
17
17
|
import { defaultTranslations as Age } from "./i18n-provider-defaults.js";
|
|
18
18
|
import './f0.css';const gG = {
|
|
@@ -241,8 +241,10 @@ function DG({
|
|
|
241
241
|
const C = s.save();
|
|
242
242
|
if (!Array.isArray(C))
|
|
243
243
|
return;
|
|
244
|
-
const T =
|
|
245
|
-
(I) =>
|
|
244
|
+
const T = new Set(
|
|
245
|
+
C.map((I) => I.id)
|
|
246
|
+
), D = i || [], A = new Set(D.map((I) => I.id)), M = D.filter(
|
|
247
|
+
(I) => !T.has(I.id)
|
|
246
248
|
);
|
|
247
249
|
M.length > 0 && (M.forEach((I) => {
|
|
248
250
|
I.content && v.current.set(I.id, I.content), I._originalContent !== void 0 && m.current.set(I.id, I._originalContent);
|
|
@@ -267,7 +269,7 @@ function DG({
|
|
|
267
269
|
}), P;
|
|
268
270
|
}));
|
|
269
271
|
const E = C.filter(
|
|
270
|
-
(I) => !A.
|
|
272
|
+
(I) => !A.has(I.id)
|
|
271
273
|
);
|
|
272
274
|
if (E.length > 0) {
|
|
273
275
|
const I = E.map((P) => P.id).filter(Boolean);
|
|
@@ -341,7 +343,7 @@ function DG({
|
|
|
341
343
|
});
|
|
342
344
|
}
|
|
343
345
|
const L = D.filter(
|
|
344
|
-
(I) => T.
|
|
346
|
+
(I) => T.has(I.id)
|
|
345
347
|
);
|
|
346
348
|
if (L.length > 0) {
|
|
347
349
|
const I = [];
|
|
@@ -4382,7 +4384,7 @@ const WG = ({
|
|
|
4382
4384
|
}, $G = OG(
|
|
4383
4385
|
"BlockContent",
|
|
4384
4386
|
WG
|
|
4385
|
-
), UG = (r) => !
|
|
4387
|
+
), UG = (r) => !oI(r) || !r.type || typeof r.type == "string" || typeof r.type == "symbol" ? !1 : "__isPageLayoutBlock" in r.type, YG = (r) => !oI(r) || !r.type || typeof r.type == "string" || typeof r.type == "symbol" ? !1 : "__isPageLayoutGroup" in r.type, gI = (r, e, t) => {
|
|
4386
4388
|
const n = Fh.toArray(e);
|
|
4387
4389
|
for (const i of n)
|
|
4388
4390
|
t.includes("block") && UG(i) || t.includes("group") && YG(i) || console.warn(
|
|
@@ -56016,7 +56018,7 @@ const Zse = gn({
|
|
|
56016
56018
|
);
|
|
56017
56019
|
};
|
|
56018
56020
|
function cV(r, e) {
|
|
56019
|
-
const t = me(() =>
|
|
56021
|
+
const t = me(() => sI(r), [r]), [n, i] = le(
|
|
56020
56022
|
() => Gh(t, e)
|
|
56021
56023
|
), a = t.some((s) => s.locale === n) ? n : Gh(t, e), o = r0(r, a) ?? "";
|
|
56022
56024
|
return { languages: t, activeLocale: a, resolvedSrc: o, setLocale: i };
|
|
@@ -56475,7 +56477,7 @@ const Kl = ct(vV), XE = (r) => oe(
|
|
|
56475
56477
|
}), w = aV(r), C = up(), T = (Ie) => {
|
|
56476
56478
|
fV(S.audioRef.current), _.setLocale(Ie);
|
|
56477
56479
|
}, D = !d && !!(v && v.length > 0), A = me(
|
|
56478
|
-
() =>
|
|
56480
|
+
() => sI(d?.summary, d?.transcription),
|
|
56479
56481
|
[d?.summary, d?.transcription]
|
|
56480
56482
|
), [M, E] = le(
|
|
56481
56483
|
() => Gh(A, h)
|
|
@@ -56673,7 +56675,7 @@ const Kl = ct(vV), XE = (r) => oe(
|
|
|
56673
56675
|
}
|
|
56674
56676
|
) }) : null,
|
|
56675
56677
|
te ? null : /* @__PURE__ */ x(
|
|
56676
|
-
|
|
56678
|
+
JN,
|
|
56677
56679
|
{
|
|
56678
56680
|
fullWidth: !0,
|
|
56679
56681
|
ariaLabel: b.audioPlayer.details,
|
|
@@ -56714,7 +56716,7 @@ const pde = ["sm", "md"], gde = rr(
|
|
|
56714
56716
|
switch (e.type) {
|
|
56715
56717
|
case "segmentedControl":
|
|
56716
56718
|
return /* @__PURE__ */ x(
|
|
56717
|
-
|
|
56719
|
+
JN,
|
|
56718
56720
|
{
|
|
56719
56721
|
items: e.items,
|
|
56720
56722
|
value: e.value,
|
|
@@ -57108,7 +57110,7 @@ const Dde = _V, cle = ({
|
|
|
57108
57110
|
primaryAction: a,
|
|
57109
57111
|
secondaryAction: o
|
|
57110
57112
|
}) => /* @__PURE__ */ x(
|
|
57111
|
-
|
|
57113
|
+
eI,
|
|
57112
57114
|
{
|
|
57113
57115
|
isOpen: r,
|
|
57114
57116
|
onClose: e,
|
|
@@ -57239,7 +57241,7 @@ const Dde = _V, cle = ({
|
|
|
57239
57241
|
},
|
|
57240
57242
|
d.id
|
|
57241
57243
|
) : /* @__PURE__ */ x(
|
|
57242
|
-
|
|
57244
|
+
eI,
|
|
57243
57245
|
{
|
|
57244
57246
|
disableClose: l(d.id),
|
|
57245
57247
|
isOpen: s.has(d.id),
|
|
@@ -58066,7 +58068,7 @@ function Nle(r) {
|
|
|
58066
58068
|
const o = a, s = wf(o);
|
|
58067
58069
|
if (!s)
|
|
58068
58070
|
continue;
|
|
58069
|
-
const l = CF(o, s), u =
|
|
58071
|
+
const l = CF(o, s), u = tI(o, l), c = {
|
|
58070
58072
|
name: i,
|
|
58071
58073
|
type: l,
|
|
58072
58074
|
label: s.label,
|
|
@@ -58101,7 +58103,7 @@ function Ile(r) {
|
|
|
58101
58103
|
}
|
|
58102
58104
|
function kle(r) {
|
|
58103
58105
|
const { schema: e, defaultValues: t, errorMap: n, onSubmit: i } = r, a = async (f) => {
|
|
58104
|
-
const d = { ...t
|
|
58106
|
+
const d = { ...t, ...f }, h = F5(e, d), v = {};
|
|
58105
58107
|
for (const [b, _] of Object.entries(d))
|
|
58106
58108
|
v[b] = _ === null ? void 0 : _;
|
|
58107
58109
|
const p = n ? { errorMap: n } : void 0, g = await h.safeParseAsync(v, p);
|
|
@@ -58126,7 +58128,7 @@ function kle(r) {
|
|
|
58126
58128
|
describeFields: () => Nle(e),
|
|
58127
58129
|
getDefaultValues: () => t,
|
|
58128
58130
|
getVisibleFields: (f) => {
|
|
58129
|
-
const d = { ...t
|
|
58131
|
+
const d = { ...t, ...f }, h = Jl(e), v = [];
|
|
58130
58132
|
for (const [p, g] of Object.entries(h.shape)) {
|
|
58131
58133
|
const m = wf(g);
|
|
58132
58134
|
if (!m?.renderIf) {
|
|
@@ -58145,7 +58147,7 @@ function kle(r) {
|
|
|
58145
58147
|
const d = await a(f);
|
|
58146
58148
|
if (!d.valid)
|
|
58147
58149
|
return { success: !1, errors: d.errors };
|
|
58148
|
-
const h = { ...t
|
|
58150
|
+
const h = { ...t, ...f };
|
|
58149
58151
|
return i(h);
|
|
58150
58152
|
}
|
|
58151
58153
|
};
|
|
@@ -58173,7 +58175,7 @@ function yr({
|
|
|
58173
58175
|
hideLabel: c,
|
|
58174
58176
|
initialFiles: f
|
|
58175
58177
|
}) {
|
|
58176
|
-
const d = Cl(), h = l ?? (r.validation ?
|
|
58178
|
+
const d = Cl(), h = l ?? (r.validation ? tI(r.validation) : !1), v = !c && r.type !== "checkbox" && r.type !== "custom", p = {
|
|
58177
58179
|
value: e,
|
|
58178
58180
|
onChange: t,
|
|
58179
58181
|
onBlur: n ?? (() => {
|
|
@@ -59076,18 +59078,18 @@ const Bde = ct(
|
|
|
59076
59078
|
}, due = q_(fue), kV = (r) => {
|
|
59077
59079
|
switch (r) {
|
|
59078
59080
|
case "1-5":
|
|
59079
|
-
return
|
|
59081
|
+
return Array.from({ length: 5 }, (e, t) => ({
|
|
59080
59082
|
value: t + 1,
|
|
59081
59083
|
label: (t + 1).toString()
|
|
59082
59084
|
}));
|
|
59083
59085
|
case "1-10":
|
|
59084
|
-
return
|
|
59086
|
+
return Array.from({ length: 10 }, (e, t) => ({
|
|
59085
59087
|
value: t + 1,
|
|
59086
59088
|
label: (t + 1).toString()
|
|
59087
59089
|
}));
|
|
59088
59090
|
// Starts at 0, which makes it the standard eNPS scale.
|
|
59089
59091
|
case "0-10":
|
|
59090
|
-
return
|
|
59092
|
+
return Array.from({ length: 11 }, (e, t) => ({
|
|
59091
59093
|
value: t,
|
|
59092
59094
|
label: t.toString()
|
|
59093
59095
|
}));
|
|
@@ -59786,7 +59788,7 @@ const Uy = ({
|
|
|
59786
59788
|
)?.label ?? void 0;
|
|
59787
59789
|
return /* @__PURE__ */ B(_l, { children: [
|
|
59788
59790
|
/* @__PURE__ */ x(xl, { className: "mx-1 px-2 data-[state=open]:rounded-sm data-[state=closed]:bg-transparent data-[state=open]:bg-f1-background-hover", children: /* @__PURE__ */ B("div", { className: "flex w-full flex-row items-center gap-2", children: [
|
|
59789
|
-
/* @__PURE__ */ x(Pr, { icon:
|
|
59791
|
+
/* @__PURE__ */ x(Pr, { icon: lI, color: "default" }),
|
|
59790
59792
|
/* @__PURE__ */ x("span", { className: "flex-1 text-base font-medium", children: r }),
|
|
59791
59793
|
f ? /* @__PURE__ */ x("span", { className: "mr-1 text-base text-f1-foreground-secondary", children: f }) : null
|
|
59792
59794
|
] }) }),
|
|
@@ -60389,19 +60391,18 @@ const KE = {
|
|
|
60389
60391
|
const { onQuestionChange: i, answering: a, datasets: o } = Gt(), s = As(n), { t: l } = Ge(), u = o?.[r];
|
|
60390
60392
|
if (!u)
|
|
60391
60393
|
throw new Error(`Dataset "${r}" not found for ${n.type}`);
|
|
60392
|
-
const c = n.type === "dropdown-multi", f = e ?? !0, d = n.type === "dropdown-single" ? n.allowCreate : void 0, h = a && !c && d && u.onCreate ? (p) =>
|
|
60393
|
-
|
|
60394
|
-
const m = u.mapOptions(g);
|
|
60394
|
+
const c = n.type === "dropdown-multi", f = e ?? !0, d = n.type === "dropdown-single" ? n.allowCreate : void 0, h = a && !c && d && u.onCreate ? async (p) => {
|
|
60395
|
+
try {
|
|
60396
|
+
const g = await u.onCreate(p), m = u.mapOptions(g);
|
|
60395
60397
|
i?.({
|
|
60396
60398
|
id: n.id,
|
|
60397
60399
|
type: "dropdown-single",
|
|
60398
60400
|
value: m.value
|
|
60399
60401
|
});
|
|
60400
|
-
}
|
|
60401
|
-
(g) => {
|
|
60402
|
+
} catch (g) {
|
|
60402
60403
|
console.warn("[SurveyFormBuilder] onCreate failed:", g);
|
|
60403
60404
|
}
|
|
60404
|
-
|
|
60405
|
+
} : void 0, v = {
|
|
60405
60406
|
id: n.id,
|
|
60406
60407
|
type: "select",
|
|
60407
60408
|
label: l("surveyFormBuilder.answer.label"),
|
|
@@ -60812,7 +60813,7 @@ const Pue = {
|
|
|
60812
60813
|
{
|
|
60813
60814
|
label: m("surveyFormBuilder.selectQuestion.markAsCorrect"),
|
|
60814
60815
|
variant: "ghost",
|
|
60815
|
-
icon: l ? eu :
|
|
60816
|
+
icon: l ? eu : GN,
|
|
60816
60817
|
onClick: S,
|
|
60817
60818
|
hideLabel: !0
|
|
60818
60819
|
}
|
|
@@ -61212,7 +61213,7 @@ const Pue = {
|
|
|
61212
61213
|
M.current?.focus({ preventScroll: !0 });
|
|
61213
61214
|
}, []);
|
|
61214
61215
|
const E = n?.description ?? p("surveyFormBuilder.labels.lockedSectionNotice"), L = a && !u ? /* @__PURE__ */ x(
|
|
61215
|
-
|
|
61216
|
+
HN,
|
|
61216
61217
|
{
|
|
61217
61218
|
text: p("surveyFormBuilder.labels.locked"),
|
|
61218
61219
|
icon: e0,
|
|
@@ -61483,7 +61484,7 @@ const Pue = {
|
|
|
61483
61484
|
return R.push({
|
|
61484
61485
|
type: "submenu",
|
|
61485
61486
|
label: c,
|
|
61486
|
-
icon:
|
|
61487
|
+
icon: lI,
|
|
61487
61488
|
selectedLabel: H,
|
|
61488
61489
|
children: V
|
|
61489
61490
|
}), R.push({ type: "separator" }), R.push({
|
|
@@ -61619,7 +61620,7 @@ const FV = ({
|
|
|
61619
61620
|
onChange: e,
|
|
61620
61621
|
answering: t
|
|
61621
61622
|
}) => {
|
|
61622
|
-
const { t: n } = Ge(), { disabled: i } = Gt(), { portalContainer: a } = Ua(
|
|
61623
|
+
const { t: n } = Ge(), { disabled: i } = Gt(), { portalContainer: a } = Ua(WN), o = Hue(r, {
|
|
61623
61624
|
untitledSectionLabel: n("surveyFormBuilder.labels.sectionTitlePlaceholder"),
|
|
61624
61625
|
untitledQuestionLabel: n("surveyFormBuilder.labels.titlePlaceholder"),
|
|
61625
61626
|
duplicateQuestionLabel: n("surveyFormBuilder.actions.duplicateQuestion"),
|
|
@@ -62305,7 +62306,7 @@ function aN({
|
|
|
62305
62306
|
c ? /* @__PURE__ */ x("div", { className: "min-h-8 p-1", children: /* @__PURE__ */ x(
|
|
62306
62307
|
it,
|
|
62307
62308
|
{
|
|
62308
|
-
icon: v.correct ?
|
|
62309
|
+
icon: v.correct ? GN : eu,
|
|
62309
62310
|
color: v.correct ? "positive" : "critical",
|
|
62310
62311
|
"aria-hidden": !0
|
|
62311
62312
|
}
|
|
@@ -62358,7 +62359,7 @@ function oN(r, e) {
|
|
|
62358
62359
|
});
|
|
62359
62360
|
}
|
|
62360
62361
|
function sN(r, e) {
|
|
62361
|
-
return
|
|
62362
|
+
return $N(fp()).optional().superRefine((t, n) => {
|
|
62362
62363
|
r && (!t || t.length === 0) && n.addIssue({
|
|
62363
62364
|
code: "custom",
|
|
62364
62365
|
message: e("forms.validation.required")
|
|
@@ -62374,7 +62375,7 @@ function oce(r, e) {
|
|
|
62374
62375
|
});
|
|
62375
62376
|
}
|
|
62376
62377
|
function sce(r, e) {
|
|
62377
|
-
return
|
|
62378
|
+
return $N(fp()).optional().superRefine((t, n) => {
|
|
62378
62379
|
r && (!t || t.length === 0) && n.addIssue({
|
|
62379
62380
|
code: "custom",
|
|
62380
62381
|
message: e("forms.validation.required")
|
|
@@ -62578,18 +62579,17 @@ function uN(r, e, t, n = !1, i = n, a, o) {
|
|
|
62578
62579
|
render: ({ value: h, onChange: v, onBlur: p, error: g }) => {
|
|
62579
62580
|
const m = r.allowCreate && c.onCreate ? {
|
|
62580
62581
|
...d,
|
|
62581
|
-
onCreate: (y) =>
|
|
62582
|
-
|
|
62583
|
-
const _ = c.mapOptions(b);
|
|
62582
|
+
onCreate: async (y) => {
|
|
62583
|
+
try {
|
|
62584
|
+
const b = await c.onCreate(y), _ = c.mapOptions(b);
|
|
62584
62585
|
v(_.value);
|
|
62585
|
-
}
|
|
62586
|
-
(b) => {
|
|
62586
|
+
} catch (b) {
|
|
62587
62587
|
console.warn(
|
|
62588
62588
|
"[SurveyAnsweringForm] onCreate failed:",
|
|
62589
62589
|
b
|
|
62590
62590
|
);
|
|
62591
62591
|
}
|
|
62592
|
-
|
|
62592
|
+
}
|
|
62593
62593
|
} : d;
|
|
62594
62594
|
return /* @__PURE__ */ x(At, { ...u, children: /* @__PURE__ */ x("div", { className: "flex flex-col items-start px-0.5 [&>div]:w-full", children: /* @__PURE__ */ x(
|
|
62595
62595
|
yr,
|
|
@@ -62920,7 +62920,7 @@ function uce({
|
|
|
62920
62920
|
}, [C, L.goToPrevious]), U = c && !h ? [
|
|
62921
62921
|
{
|
|
62922
62922
|
label: y(S ? "surveyAnsweringForm.actions.collapse" : "surveyAnsweringForm.actions.expand"),
|
|
62923
|
-
icon: S ?
|
|
62923
|
+
icon: S ? UN : YN,
|
|
62924
62924
|
onClick: () => w((Te) => !Te)
|
|
62925
62925
|
}
|
|
62926
62926
|
] : void 0, te = I ? h || O ? void 0 : z ? k && !L.isLastStep ? {
|
|
@@ -62991,7 +62991,7 @@ function uce({
|
|
|
62991
62991
|
),
|
|
62992
62992
|
children: [
|
|
62993
62993
|
/* @__PURE__ */ x("div", { className: "mb-6", children: /* @__PURE__ */ x(
|
|
62994
|
-
|
|
62994
|
+
rI,
|
|
62995
62995
|
{
|
|
62996
62996
|
title: n,
|
|
62997
62997
|
description: i,
|
|
@@ -63092,7 +63092,7 @@ function cce({
|
|
|
63092
63092
|
datasets: l,
|
|
63093
63093
|
children: /* @__PURE__ */ B("div", { className: "mx-auto flex w-full max-w-3xl flex-col", children: [
|
|
63094
63094
|
u ? null : /* @__PURE__ */ x("div", { className: "mb-6", children: /* @__PURE__ */ x(
|
|
63095
|
-
|
|
63095
|
+
rI,
|
|
63096
63096
|
{
|
|
63097
63097
|
title: e,
|
|
63098
63098
|
description: t,
|
|
@@ -63245,11 +63245,11 @@ const hce = ({ benefits: r }) => /* @__PURE__ */ x("div", { className: "flex fle
|
|
|
63245
63245
|
/* @__PURE__ */ B("div", { className: "flex flex-col gap-5", children: [
|
|
63246
63246
|
/* @__PURE__ */ B("div", { className: "flex flex-col gap-2", children: [
|
|
63247
63247
|
/* @__PURE__ */ B("div", { className: "flex flex-row items-center gap-2", children: [
|
|
63248
|
-
a ? /* @__PURE__ */ x(
|
|
63248
|
+
a ? /* @__PURE__ */ x(XN, { module: a }) : null,
|
|
63249
63249
|
o ? /* @__PURE__ */ x("p", { className: "text-base font-medium text-f1-foreground", children: o }) : null
|
|
63250
63250
|
] }),
|
|
63251
63251
|
s || l ? /* @__PURE__ */ B("div", { className: "flex justify-start gap-2", children: [
|
|
63252
|
-
s ? /* @__PURE__ */ x(
|
|
63252
|
+
s ? /* @__PURE__ */ x(HN, { icon: s.icon, text: s.label }) : null,
|
|
63253
63253
|
l ? /* @__PURE__ */ x(
|
|
63254
63254
|
PN,
|
|
63255
63255
|
{
|
|
@@ -63291,7 +63291,7 @@ function gce({
|
|
|
63291
63291
|
children: [
|
|
63292
63292
|
/* @__PURE__ */ B("div", { className: "flex flex-row items-center justify-between px-4 py-4", children: [
|
|
63293
63293
|
/* @__PURE__ */ B(NN, { className: "flex flex-row items-center gap-2 text-lg font-semibold text-f1-foreground", children: [
|
|
63294
|
-
i ? /* @__PURE__ */ x(
|
|
63294
|
+
i ? /* @__PURE__ */ x(XN, { module: i, size: "md" }) : null,
|
|
63295
63295
|
t
|
|
63296
63296
|
] }),
|
|
63297
63297
|
/* @__PURE__ */ x(
|
|
@@ -63399,7 +63399,7 @@ function mce({
|
|
|
63399
63399
|
}
|
|
63400
63400
|
),
|
|
63401
63401
|
_ && m ? /* @__PURE__ */ x(
|
|
63402
|
-
|
|
63402
|
+
nI,
|
|
63403
63403
|
{
|
|
63404
63404
|
open: !0,
|
|
63405
63405
|
onClose: () => {
|
|
@@ -63702,7 +63702,7 @@ function wce({
|
|
|
63702
63702
|
)
|
|
63703
63703
|
] }),
|
|
63704
63704
|
S?.type === "upsell" && S.showConfirmation && b ? /* @__PURE__ */ x(
|
|
63705
|
-
|
|
63705
|
+
nI,
|
|
63706
63706
|
{
|
|
63707
63707
|
open: !0,
|
|
63708
63708
|
onClose: D,
|
|
@@ -63782,7 +63782,7 @@ const $de = ct(wce), Ude = ({
|
|
|
63782
63782
|
/* @__PURE__ */ x("span", { className: "mt-0.5 flex-shrink-0 text-f1-foreground-secondary", children: /* @__PURE__ */ x(
|
|
63783
63783
|
it,
|
|
63784
63784
|
{
|
|
63785
|
-
icon: e ? Il :
|
|
63785
|
+
icon: e ? Il : qN,
|
|
63786
63786
|
size: "sm",
|
|
63787
63787
|
className: oe(
|
|
63788
63788
|
"transition-transform duration-200",
|
|
@@ -63952,7 +63952,7 @@ const $de = ct(wce), Ude = ({
|
|
|
63952
63952
|
o((b) => b + 1);
|
|
63953
63953
|
else {
|
|
63954
63954
|
if (n && i) {
|
|
63955
|
-
const b = Object.entries(s).map(([_, S]) => r[parseInt(_)].options.filter((C) => S.includes(C.id)).map((C) => C.label)).flat();
|
|
63955
|
+
const b = Object.entries(s).map(([_, S]) => r[parseInt(_, 10)].options.filter((C) => S.includes(C.id)).map((C) => C.label)).flat();
|
|
63956
63956
|
b.length > 0 && i(b.join(", "));
|
|
63957
63957
|
}
|
|
63958
63958
|
e?.(s);
|
|
@@ -64005,7 +64005,7 @@ const $de = ct(wce), Ude = ({
|
|
|
64005
64005
|
disabled: a >= c - 1,
|
|
64006
64006
|
className: "flex h-8 w-8 shrink-0 items-center justify-center rounded text-f1-foreground-secondary transition-colors hover:bg-f1-background-tertiary hover:text-f1-foreground disabled:pointer-events-none disabled:opacity-50",
|
|
64007
64007
|
"aria-label": "Next",
|
|
64008
|
-
children: /* @__PURE__ */ x(it, { icon:
|
|
64008
|
+
children: /* @__PURE__ */ x(it, { icon: qN, size: "sm" })
|
|
64009
64009
|
}
|
|
64010
64010
|
)
|
|
64011
64011
|
] }) : null }),
|
|
@@ -64574,7 +64574,7 @@ function fN({
|
|
|
64574
64574
|
}, [p, f]), be(() => {
|
|
64575
64575
|
u || v(e);
|
|
64576
64576
|
}, [u, e]);
|
|
64577
|
-
const y = Ua(
|
|
64577
|
+
const y = Ua(WN), b = y.portalContainer && (y.position === "center" || y.position === "fullscreen") ? y.portalContainer : void 0, _ = me(
|
|
64578
64578
|
() => ZF(r, e, i),
|
|
64579
64579
|
[r, e, i]
|
|
64580
64580
|
), S = me(() => {
|
|
@@ -64728,7 +64728,7 @@ function sg({
|
|
|
64728
64728
|
setPendingQuote: I,
|
|
64729
64729
|
setOpen: P,
|
|
64730
64730
|
focusChatInput: k
|
|
64731
|
-
} =
|
|
64731
|
+
} = ZN(), R = (j) => {
|
|
64732
64732
|
w(j), j || M(!1);
|
|
64733
64733
|
}, O = l.filter(
|
|
64734
64734
|
(j) => !("type" in j) || j.type === "item" || j.type === void 0
|
|
@@ -64891,7 +64891,7 @@ function sg({
|
|
|
64891
64891
|
$o,
|
|
64892
64892
|
{
|
|
64893
64893
|
label: m ? E.actions.collapse : E.actions.expand,
|
|
64894
|
-
icon: m ?
|
|
64894
|
+
icon: m ? UN : YN,
|
|
64895
64895
|
variant: "ghost",
|
|
64896
64896
|
size: "md",
|
|
64897
64897
|
hideLabel: !0,
|
|
@@ -64967,7 +64967,7 @@ function sg({
|
|
|
64967
64967
|
Y,
|
|
64968
64968
|
z ? /* @__PURE__ */ x(Ei, { children: /* @__PURE__ */ B(_l, { children: [
|
|
64969
64969
|
/* @__PURE__ */ x(xl, { className: "mx-1 rounded-sm px-2", children: /* @__PURE__ */ B("div", { className: "flex w-full flex-row items-center gap-2 pr-2", children: [
|
|
64970
|
-
/* @__PURE__ */ x(it, { icon:
|
|
64970
|
+
/* @__PURE__ */ x(it, { icon: jN }),
|
|
64971
64971
|
/* @__PURE__ */ x("span", { className: "flex-1 text-base font-medium", children: E.ai.dataDownload.title })
|
|
64972
64972
|
] }) }),
|
|
64973
64973
|
/* @__PURE__ */ x(wl, { children: /* @__PURE__ */ x(Sl, { children: O.map((j) => /* @__PURE__ */ x(
|
|
@@ -65690,7 +65690,7 @@ function sfe({
|
|
|
65690
65690
|
}))
|
|
65691
65691
|
}),
|
|
65692
65692
|
[i]
|
|
65693
|
-
), o =
|
|
65693
|
+
), o = iI(a, [i]), s = me(
|
|
65694
65694
|
() => [
|
|
65695
65695
|
{
|
|
65696
65696
|
type: "table",
|
|
@@ -65707,7 +65707,7 @@ function sfe({
|
|
|
65707
65707
|
[i.columns]
|
|
65708
65708
|
);
|
|
65709
65709
|
return /* @__PURE__ */ x(
|
|
65710
|
-
|
|
65710
|
+
aI,
|
|
65711
65711
|
{
|
|
65712
65712
|
fullHeight: !0,
|
|
65713
65713
|
source: o,
|
|
@@ -65736,7 +65736,7 @@ function lfe({
|
|
|
65736
65736
|
setPendingQuote: p,
|
|
65737
65737
|
setOpen: g,
|
|
65738
65738
|
focusChatInput: m
|
|
65739
|
-
} =
|
|
65739
|
+
} = ZN(), y = !kw(r.chart), b = y ? nfe : r.chart, [_, S] = le(null), [w, C] = le(), T = r.useDashboardFilters !== !1, D = JSON.stringify(n?.value ?? {}), { data: A, isLoading: M, error: E, retry: L } = qV(r.fetchData, e, T, D), I = ae(null), P = ae(null), k = me(
|
|
65740
65740
|
() => A && !y ? afe(r, A) : void 0,
|
|
65741
65741
|
[r, A, y]
|
|
65742
65742
|
);
|
|
@@ -66051,7 +66051,7 @@ function dfe({
|
|
|
66051
66051
|
() => r.createSource(f),
|
|
66052
66052
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
66053
66053
|
[d, h]
|
|
66054
|
-
), p =
|
|
66054
|
+
), p = iI(v, [
|
|
66055
66055
|
d,
|
|
66056
66056
|
h
|
|
66057
66057
|
]), [g, m] = le(), y = me(() => (r.visualizations?.find(
|
|
@@ -66085,7 +66085,7 @@ function dfe({
|
|
|
66085
66085
|
isFullscreen: l,
|
|
66086
66086
|
onFullscreenChange: u,
|
|
66087
66087
|
children: /* @__PURE__ */ x(
|
|
66088
|
-
|
|
66088
|
+
aI,
|
|
66089
66089
|
{
|
|
66090
66090
|
fullHeight: !0,
|
|
66091
66091
|
source: p,
|
|
@@ -66898,7 +66898,7 @@ function Mfe({
|
|
|
66898
66898
|
items: [
|
|
66899
66899
|
{
|
|
66900
66900
|
label: e ? t("ai.dataDownload.exporting") : t("ai.dataDownload.exportDashboard", { format: "Excel" }),
|
|
66901
|
-
icon:
|
|
66901
|
+
icon: jN,
|
|
66902
66902
|
// Dropdown items have no built-in disabled/loading state, so guard
|
|
66903
66903
|
// the click ourselves to avoid firing a second export while one is
|
|
66904
66904
|
// already in flight.
|
|
@@ -66962,24 +66962,32 @@ function E_(r, e) {
|
|
|
66962
66962
|
async function Ife(r, e) {
|
|
66963
66963
|
if (r.length === 0)
|
|
66964
66964
|
return null;
|
|
66965
|
-
const t =
|
|
66966
|
-
|
|
66967
|
-
|
|
66968
|
-
|
|
66969
|
-
|
|
66970
|
-
|
|
66971
|
-
|
|
66972
|
-
|
|
66973
|
-
|
|
66974
|
-
|
|
66975
|
-
|
|
66976
|
-
|
|
66977
|
-
|
|
66978
|
-
|
|
66979
|
-
|
|
66980
|
-
|
|
66981
|
-
|
|
66982
|
-
|
|
66965
|
+
const t = await Promise.all(
|
|
66966
|
+
r.map(async (o) => {
|
|
66967
|
+
try {
|
|
66968
|
+
const s = await o.fetchData(
|
|
66969
|
+
E_(o, e)
|
|
66970
|
+
);
|
|
66971
|
+
return { item: o, data: s };
|
|
66972
|
+
} catch (s) {
|
|
66973
|
+
return console.warn(
|
|
66974
|
+
`[useDashboardExport] Failed to export metric "${o.title}":`,
|
|
66975
|
+
s
|
|
66976
|
+
), null;
|
|
66977
|
+
}
|
|
66978
|
+
})
|
|
66979
|
+
), n = [];
|
|
66980
|
+
let i = !1;
|
|
66981
|
+
for (const o of t) {
|
|
66982
|
+
if (!o)
|
|
66983
|
+
continue;
|
|
66984
|
+
const { item: s, data: l } = o, u = {
|
|
66985
|
+
Metric: s.title,
|
|
66986
|
+
Value: l.value
|
|
66987
|
+
};
|
|
66988
|
+
l.previousValue !== void 0 && (u["Previous Value"] = l.previousValue, i = !0), n.push(u);
|
|
66989
|
+
}
|
|
66990
|
+
return n.length === 0 ? null : { name: "Metrics", columns: i ? ["Metric", "Value", "Previous Value"] : ["Metric", "Value"], rows: n };
|
|
66983
66991
|
}
|
|
66984
66992
|
async function kfe(r, e) {
|
|
66985
66993
|
const t = [], n = r.filter(
|
|
@@ -67170,9 +67178,9 @@ KV.displayName = "F0AnalyticsDashboard";
|
|
|
67170
67178
|
const jde = rr(
|
|
67171
67179
|
"F0AnalyticsDashboard",
|
|
67172
67180
|
KV
|
|
67173
|
-
), Kde = () =>
|
|
67181
|
+
), Kde = () => KN("(min-width: 640px)", {
|
|
67174
67182
|
initializeWithValue: !1
|
|
67175
|
-
}), QV = () =>
|
|
67183
|
+
}), QV = () => KN("(max-width: 639px)", {
|
|
67176
67184
|
initializeWithValue: !1
|
|
67177
67185
|
}), Rfe = gn({
|
|
67178
67186
|
base: "isolation-isolate pointer-events-auto relative flex w-full flex-col gap-3 rounded-lg p-3 shadow-lg backdrop-blur-sm bg-f1-background-inverse dark:bg-f1-background-tertiary overflow-hidden",
|
|
@@ -67515,7 +67523,7 @@ const Bfe = {
|
|
|
67515
67523
|
const y = r.length > 0, [b, _] = le(!1), S = he((w) => {
|
|
67516
67524
|
_(w);
|
|
67517
67525
|
}, []);
|
|
67518
|
-
return
|
|
67526
|
+
return QN(() => {
|
|
67519
67527
|
if (typeof document > "u" || !y)
|
|
67520
67528
|
return;
|
|
67521
67529
|
const w = document.querySelector(zfe);
|
|
@@ -67633,7 +67641,7 @@ const Bfe = {
|
|
|
67633
67641
|
null
|
|
67634
67642
|
), Ufe = ({ children: r, fullScreen: e = !0 }) => {
|
|
67635
67643
|
const t = ae(null), [n, i] = le(t.current);
|
|
67636
|
-
return
|
|
67644
|
+
return QN(() => {
|
|
67637
67645
|
i(t.current);
|
|
67638
67646
|
}, []), /* @__PURE__ */ x($fe.Provider, { value: { element: n }, children: /* @__PURE__ */ B(
|
|
67639
67647
|
"div",
|
|
@@ -67755,7 +67763,7 @@ export {
|
|
|
67755
67763
|
vhe as F0AvatarFile,
|
|
67756
67764
|
phe as F0AvatarIcon,
|
|
67757
67765
|
ghe as F0AvatarList,
|
|
67758
|
-
|
|
67766
|
+
XN as F0AvatarModule,
|
|
67759
67767
|
mhe as F0AvatarPerson,
|
|
67760
67768
|
yhe as F0AvatarTeam,
|
|
67761
67769
|
fde as F0BigNumber,
|
|
@@ -67777,7 +67785,7 @@ export {
|
|
|
67777
67785
|
FF as F0Dialog,
|
|
67778
67786
|
Hve as F0DialogAlikeContext,
|
|
67779
67787
|
Wve as F0DialogAlikeProvider,
|
|
67780
|
-
|
|
67788
|
+
WN as F0DialogContext,
|
|
67781
67789
|
Che as F0DialogProvider,
|
|
67782
67790
|
Tde as F0Drawer,
|
|
67783
67791
|
$ve as F0DurationInput,
|
|
@@ -67813,7 +67821,7 @@ export {
|
|
|
67813
67821
|
Ihe as F0TagDot,
|
|
67814
67822
|
khe as F0TagList,
|
|
67815
67823
|
Phe as F0TagPerson,
|
|
67816
|
-
|
|
67824
|
+
HN as F0TagRaw,
|
|
67817
67825
|
PN as F0TagStatus,
|
|
67818
67826
|
Rhe as F0TagTeam,
|
|
67819
67827
|
Kl as F0Text,
|
|
@@ -67872,7 +67880,7 @@ export {
|
|
|
67872
67880
|
Wfe as ToastProvider,
|
|
67873
67881
|
lde as TwoColumnLayout,
|
|
67874
67882
|
cpe as UPLOAD_INPUT_ID,
|
|
67875
|
-
|
|
67883
|
+
nI as UpsellRequestResponseDialog,
|
|
67876
67884
|
Hde as UpsellingAlert,
|
|
67877
67885
|
Wde as UpsellingBanner,
|
|
67878
67886
|
X_ as UpsellingButton,
|
|
@@ -67972,7 +67980,7 @@ export {
|
|
|
67972
67980
|
kde as timelineRowStatuses,
|
|
67973
67981
|
Npe as toasts,
|
|
67974
67982
|
wve as unwrapZodSchema,
|
|
67975
|
-
|
|
67983
|
+
ZN as useAiChat,
|
|
67976
67984
|
_ge as useAiChatTranslations,
|
|
67977
67985
|
L5 as useAudioPlayer,
|
|
67978
67986
|
xge as useCanvasEntity,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as L, m as ye, u as Z, n as Se, o as Re, i as ke, j as _e, k as Ne, q as Ce, l as Le, w as Fe, r as Ve, s as Te } from "./F0CanvasPanel-
|
|
1
|
+
import { S as L, m as ye, u as Z, n as Se, o as Re, i as ke, j as _e, k as Ne, q as Ce, l as Le, w as Fe, r as Ve, s as Te } from "./F0CanvasPanel-Dtc7dfno.js";
|
|
2
2
|
import { jsx as t, jsxs as y } from "react/jsx-runtime";
|
|
3
3
|
import { lazy as J, forwardRef as ne, Suspense as He, useState as V, useRef as A, useMemo as te, useCallback as w, useEffect as T } from "react";
|
|
4
|
-
import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-
|
|
4
|
+
import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-BWsQjPpK.js";
|
|
5
5
|
import { F as We } from "./Printer-BD-FEi_2.js";
|
|
6
6
|
import { d as ae } from "./tooltip-CMBdJvJA.js";
|
|
7
7
|
import './index.css';const Oe = ({
|
|
@@ -227,7 +227,7 @@ import './index.css';const Oe = ({
|
|
|
227
227
|
}), i;
|
|
228
228
|
};
|
|
229
229
|
Ee();
|
|
230
|
-
const qe = J(() => import("./SheetViewer-
|
|
230
|
+
const qe = J(() => import("./SheetViewer-DrSoxxcT.js")), Ge = J(() => import("./DocxViewer-B_L696dj.js")), Ze = J(() => import("./TextViewer-LEXPt33_.js")), oe = 48, le = ne(
|
|
231
231
|
(o, a) => {
|
|
232
232
|
const { kind: e = "pdf", mimeType: i, ...s } = o;
|
|
233
233
|
if (e === "pdf")
|