@factorialco/f0-react 12.0.2 → 12.1.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/{ChatPostComposerDialog-BjrsNFUH.js → ChatPostComposerDialog-NEIFDJib.js} +2 -2
- package/dist/{CoachmarkProvider-BJFpsBQz.js → CoachmarkProvider-BR6fdrrh.js} +69 -69
- package/dist/{DocumentToolbar-CS2Z7HiZ.js → DocumentToolbar-Cb3E9RnA.js} +4 -4
- package/dist/{DocxViewer-B_NnBwF0.js → DocxViewer-pfu-5v_l.js} +1 -1
- package/dist/{F0AiProcessingOverlay-_6Q5DfJg.js → F0AiProcessingOverlay-O9SpiZk4.js} +215 -215
- package/dist/{F0CanvasPanel-BMURqtcr.js → F0CanvasPanel-Dn-Gkmsz.js} +57 -57
- package/dist/{F0DocumentViewer-DRm6fqh4.js → F0DocumentViewer-CRPMDWGj.js} +7 -7
- package/dist/F0DocumentViewer-DzZu9sCO.js +3 -0
- package/dist/{F0Map-f0PCE1Mz.js → F0Map-toEYLWLQ.js} +33 -33
- package/dist/{F0Select-BcKwX9W8.js → F0Select-BMzj1oyt.js} +4701 -4629
- package/dist/F0Text-CjR98zwA.js +81 -0
- package/dist/{F0VideoPlayer-CRXj4sNZ.js → F0VideoPlayer-BmbFZEII.js} +1 -1
- package/dist/F0VideoPlayer-DsHl-sBd.js +1 -0
- package/dist/{Map-Cq4G6JVt.js → Map-Cakv1wM4.js} +5 -5
- package/dist/{PdfThumbnail-BEH1NBCB.js → PdfThumbnail-Bxzk7G0u.js} +1 -1
- package/dist/{SheetViewer-CcXri71G.js → SheetViewer-zNoFISP0.js} +3 -3
- package/dist/{TextViewer-BMHUpHg-.js → TextViewer-BTRJxwwJ.js} +1 -1
- package/dist/ai.d.ts +2 -2
- package/dist/ai.js +2 -2
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +2 -2
- package/dist/experimental.js +446 -446
- package/dist/{exports-CMhLojYN.d.ts → exports-CnbBeOMM.d.ts} +1 -1
- package/dist/f0.d.ts +3 -3
- package/dist/f0.js +204 -204
- package/dist/{index-aXC2gQbs.d.ts → index-DE9tIS8D.d.ts} +1 -1
- package/dist/{maplibre-B2bLeY4t.js → maplibre-C5htrHET.js} +1 -1
- package/dist/{pdfWorker-C7GrpmLJ.js → pdfWorker-B4yvX0G-.js} +1 -1
- package/dist/{types-CEo4cZBQ.d.ts → types-CUKMWWRC.d.ts} +1 -1
- package/dist/{useData-DpxY5-yo.js → useData-DWwEymV5.js} +5636 -4625
- package/package.json +1 -1
- package/dist/F0DocumentViewer-7PUNVXNk.js +0 -3
- package/dist/F0Text-Bu80O85X.js +0 -1093
- package/dist/F0VideoPlayer-cuFJGYLM.js +0 -1
package/dist/f0.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { o as e } from "./rolldown-runtime-BItFwnF5.js";
|
|
2
|
-
import { $n as t, A as n, An as r, Bn as i, Br as a, C as o, Cn as s, Cr as c, D as l, Dn as u, E as d, En as f, Er as p, Fn as m, Ft as h, Gn as g, Gr as _, Gt as v, Hn as y, Hr as b, Ht as x, In as S, It as C, Jn as w, Jt as T, Kn as E, Kr as D, Kt as O, Ln as k, Lr as A, Lt as j, M, Mn as N, N as P, Nn as F, O as I, On as ee, P as te, Pn as L, Pt as ne, Qn as re, Qr as ie, Qt as ae, Rn as oe, Rt as se, S as ce, Sn as le, Sr as ue, St as de, T as fe, Tn as pe, Tr as me, Un as he, Ut as ge, Vn as _e, Vr as ve, Vt as ye, Wr as be, Wt as xe, X as Se, Xn as Ce, Xr as we, Yn as Te, Yr as Ee, Yt as De, Z as Oe, Zn as ke, Zr as Ae, Zt as je, _ as Me, _n as Ne, _r as Pe, _t as Fe, ar as Ie, b as Le, bn as Re, br as ze, bt as Be, c as Ve, cn as He, cr as Ue, d as We, di as Ge, dn as Ke, dr as qe, en as Je, er as Ye, f as Xe, fi as Ze, fn as Qe, fr as $e, g as et, gn as tt, gr as nt, gt as rt, h as it, hi as at, hn as ot, hr as st, ht as ct, i as lt, ii as ut, ir as dt, j as ft, jn as pt, k as mt, kn as ht, kt as gt, l as _t, ln as vt, lr as yt, mn as bt, mr as xt, ni as St, nn as Ct, nr as wt, on as Tt, or as Et, ot as Dt, p as Ot, pn as kt, pr as At, qn as jt, qr as Mt, qt as Nt, ri as Pt, rn as Ft, rr as It, s as Lt, sn as Rt, sr as zt, t as Bt, tn as Vt, tr as Ht, u as Ut, ui as Wt, un as Gt, ur as Kt, ut as qt, v as Jt, vn as Yt, vr as Xt, vt as Zt, w as Qt, wn as $t, wr as en, x as tn, xn as nn, xr as rn, xt as an, y as on, yn as sn, yr as cn, yt as ln, zn as un, zr as dn, zt as fn } from "./CoachmarkProvider-
|
|
2
|
+
import { $n as t, A as n, An as r, Bn as i, Br as a, C as o, Cn as s, Cr as c, D as l, Dn as u, E as d, En as f, Er as p, Fn as m, Ft as h, Gn as g, Gr as _, Gt as v, Hn as y, Hr as b, Ht as x, In as S, It as C, Jn as w, Jt as T, Kn as E, Kr as D, Kt as O, Ln as k, Lr as A, Lt as j, M, Mn as N, N as P, Nn as F, O as I, On as ee, P as te, Pn as L, Pt as ne, Qn as re, Qr as ie, Qt as ae, Rn as oe, Rt as se, S as ce, Sn as le, Sr as ue, St as de, T as fe, Tn as pe, Tr as me, Un as he, Ut as ge, Vn as _e, Vr as ve, Vt as ye, Wr as be, Wt as xe, X as Se, Xn as Ce, Xr as we, Yn as Te, Yr as Ee, Yt as De, Z as Oe, Zn as ke, Zr as Ae, Zt as je, _ as Me, _n as Ne, _r as Pe, _t as Fe, ar as Ie, b as Le, bn as Re, br as ze, bt as Be, c as Ve, cn as He, cr as Ue, d as We, di as Ge, dn as Ke, dr as qe, en as Je, er as Ye, f as Xe, fi as Ze, fn as Qe, fr as $e, g as et, gn as tt, gr as nt, gt as rt, h as it, hi as at, hn as ot, hr as st, ht as ct, i as lt, ii as ut, ir as dt, j as ft, jn as pt, k as mt, kn as ht, kt as gt, l as _t, ln as vt, lr as yt, mn as bt, mr as xt, ni as St, nn as Ct, nr as wt, on as Tt, or as Et, ot as Dt, p as Ot, pn as kt, pr as At, qn as jt, qr as Mt, qt as Nt, ri as Pt, rn as Ft, rr as It, s as Lt, sn as Rt, sr as zt, t as Bt, tn as Vt, tr as Ht, u as Ut, ui as Wt, un as Gt, ur as Kt, ut as qt, v as Jt, vn as Yt, vr as Xt, vt as Zt, w as Qt, wn as $t, wr as en, x as tn, xn as nn, xr as rn, xt as an, y as on, yn as sn, yr as cn, yt as ln, zn as un, zr as dn, zt as fn } from "./CoachmarkProvider-BR6fdrrh.js";
|
|
3
3
|
import { $t as pn, A as mn, At as hn, B as gn, Bt as _n, F as vn, Ft as yn, M as bn, Mt as xn, N as Sn, Nt as Cn, P as wn, Pt as Tn, Qt as En, R as Dn, St as On, U as kn, V as An, Wt as jn, Xt as Mn, Zt as Nn, a as Pn, an as Fn, at as In, b as R, bt as Ln, cn as Rn, cr as z, dn as zn, dt as Bn, er as Vn, fn as Hn, ft as Un, gt as Wn, i as Gn, in as Kn, j as qn, ln as Jn, lr as Yn, mn as Xn, on as B, or as Zn, pt as Qn, sn as V, sr as $n, t as er, un as tr, vn as nr, vt as rr, xt as ir, yn as ar, yt as or, z as sr, zt as cr } from "./popover-B-ET_Kay.js";
|
|
4
4
|
import { A as lr, C as ur, D as dr, F as fr, I as pr, L as H, M as mr, N as hr, O as gr, P as _r, R as vr, S as yr, _ as br, b as xr, c as Sr, f as Cr, g as wr, h as Tr, j as Er, k as Dr, l as Or, m as kr, p as Ar, v as jr, w as Mr, x as Nr, y as Pr } from "./tooltip-BX4dSfeL.js";
|
|
5
|
-
import { n as Fr,
|
|
6
|
-
import { A as
|
|
7
|
-
import { $n as
|
|
8
|
-
import { t as
|
|
9
|
-
import { C as
|
|
10
|
-
import { $ as Wo, B as Go, Bt as Ko, Ct as qo, Dn as Jo, Dr as Yo, Dt as Xo, Er as Zo, Fn as Qo, Ft as $o, G as es, H as ts, It as ns, J as rs, K as is, L as as, Ln as os, Lt as ss, Mr as cs, Mt as ls, Nr as us, Nt as ds, On as fs, Or as ps, Ot as ms, Pt as hs, Rt as gs, U as _s, V as vs, W as ys, X as bs, Z as xs, _ as Ss, _t as Cs, a as ws, an as Ts, c as Es, ct as Ds, dr as Os, et as ks, fr as As, g as js, gt as Ms, h as Ns, ht as Ps, i as Fs, jr as Is, jt as Ls, kn as Rs, kr as zs, kt as Bs, l as Vs, lr as Hs, m as Us, mr as Ws, mt as Gs, nt as Ks, o as qs, p as Js, pt as Ys, q as Xs, r as Zs, rn as Qs, s as $s, st as ec, t as tc, tt as nc, u as rc, v as ic, vr as ac, w as oc, wt as sc, xt as cc, y as lc, yt as uc, z as dc } from "./F0Select-
|
|
5
|
+
import { n as Fr, t as Ir } from "./F0Text-CjR98zwA.js";
|
|
6
|
+
import { A as Lr, C as Rr, D as zr, E as Br, F as Vr, I as Hr, L as Ur, M as Wr, N as Gr, O as Kr, P as qr, R as Jr, S as Yr, T as Xr, _ as Zr, a as Qr, b as $r, c as ei, d as ti, f as ni, g as ri, h as ii, i as ai, j as oi, k as si, l as ci, m as li, n as ui, o as di, p as fi, r as pi, s as mi, t as hi, u as gi, v as _i, w as vi, x as yi, y as bi, z as xi } from "./F0AiProcessingOverlay-O9SpiZk4.js";
|
|
7
|
+
import { $n as Si, $o as Ci, $s as wi, A as Ti, At as Ei, Ba as Di, Bn as Oi, Br as ki, Bs as Ai, Cr as ji, D as Mi, Ds as Ni, E as Pi, Fa as Fi, Fr as Ii, Gn as Li, Gr as Ri, Gs as zi, Hn as Bi, Hs as Vi, Ia as Hi, Ir as Ui, It as Wi, Jn as Gi, Js as Ki, Jt as qi, Kn as Ji, Kr as Yi, Ks as Xi, Kt as Zi, Lo as Qi, Lt as $i, M as ea, Ma as ta, Mr as na, Mt as ra, N as ia, Nr as aa, Ns as oa, Nt as sa, O as ca, Ot as la, Pa as ua, Pt as da, Qt as fa, Rr as pa, Rt as ma, T as ha, Tr as ga, Un as _a, Uo as va, Ur as ya, Us as ba, V as xa, Va as Sa, Vn as Ca, Vs as wa, Wn as Ta, Wr as Ea, Ws as Da, Xa as Oa, Xo as ka, Xt as Aa, Yn as ja, Yr as Ma, Yt as Na, Za as Pa, Zt as Fa, _a as Ia, ac as La, br as Ra, cc as za, er as Ba, es as Va, fo as Ha, fs as Ua, hr as Wa, io as Ga, ir as Ka, j as qa, jr as Ja, jt as Ya, k as Xa, ka as Za, ks as Qa, mr as $a, n as eo, nr as to, ns as no, oo as ro, os as io, po as ao, qt as oo, rr as so, sa as co, ss as lo, t as uo, tr as fo, tt as po, uo as mo, va as ho, xo as go, xr as _o, yr as vo, z as yo, zr as bo } from "./F0CanvasPanel-Dn-Gkmsz.js";
|
|
8
|
+
import { t as xo } from "./i18n-provider-defaults-p0UGTA_k.js";
|
|
9
|
+
import { C as So, D as Co, F as wo, I as To, N as Eo, O as Do, S as Oo, V as ko, X as Ao, Z as jo, _ as Mo, a as No, d as Po, f as Fo, i as Io, k as Lo, l as Ro, n as zo, r as Bo, t as Vo, x as Ho, y as Uo } from "./useData-DWwEymV5.js";
|
|
10
|
+
import { $ as Wo, B as Go, Bt as Ko, Ct as qo, Dn as Jo, Dr as Yo, Dt as Xo, Er as Zo, Fn as Qo, Ft as $o, G as es, H as ts, It as ns, J as rs, K as is, L as as, Ln as os, Lt as ss, Mr as cs, Mt as ls, Nr as us, Nt as ds, On as fs, Or as ps, Ot as ms, Pt as hs, Rt as gs, U as _s, V as vs, W as ys, X as bs, Z as xs, _ as Ss, _t as Cs, a as ws, an as Ts, c as Es, ct as Ds, dr as Os, et as ks, fr as As, g as js, gt as Ms, h as Ns, ht as Ps, i as Fs, jr as Is, jt as Ls, kn as Rs, kr as zs, kt as Bs, l as Vs, lr as Hs, m as Us, mr as Ws, mt as Gs, nt as Ks, o as qs, p as Js, pt as Ys, q as Xs, r as Zs, rn as Qs, s as $s, st as ec, t as tc, tt as nc, u as rc, v as ic, vr as ac, w as oc, wt as sc, xt as cc, y as lc, yt as uc, z as dc } from "./F0Select-BMzj1oyt.js";
|
|
11
11
|
import { t as fc } from "./Check-DAp9gCRh.js";
|
|
12
|
-
import { a as pc, i as mc, n as hc, r as gc, t as _c } from "./F0VideoPlayer-
|
|
13
|
-
import { t as vc } from "./pdfWorker-
|
|
14
|
-
import { n as yc, t as bc } from "./F0DocumentViewer-
|
|
12
|
+
import { a as pc, i as mc, n as hc, r as gc, t as _c } from "./F0VideoPlayer-BmbFZEII.js";
|
|
13
|
+
import { t as vc } from "./pdfWorker-B4yvX0G-.js";
|
|
14
|
+
import { n as yc, t as bc } from "./F0DocumentViewer-CRPMDWGj.js";
|
|
15
15
|
import * as U from "react";
|
|
16
16
|
import xc, { Children as Sc, Fragment as Cc, createContext as wc, forwardRef as Tc, isValidElement as Ec, memo as Dc, useCallback as W, useContext as Oc, useEffect as G, useId as kc, useImperativeHandle as Ac, useLayoutEffect as jc, useMemo as K, useRef as q, useState as J, useSyncExternalStore as Mc } from "react";
|
|
17
17
|
import { Fragment as Y, jsx as X, jsxs as Z } from "react/jsx-runtime";
|
|
@@ -35,7 +35,7 @@ var Ic = {
|
|
|
35
35
|
className: "h-full @5xl:h-auto [&>div]:h-full",
|
|
36
36
|
children: e
|
|
37
37
|
}, t));
|
|
38
|
-
return /* @__PURE__ */ X(
|
|
38
|
+
return /* @__PURE__ */ X(Sa, {
|
|
39
39
|
layout: "home",
|
|
40
40
|
children: /* @__PURE__ */ Z("div", {
|
|
41
41
|
ref: r,
|
|
@@ -69,7 +69,7 @@ var Ic = {
|
|
|
69
69
|
}), Rc = nr({
|
|
70
70
|
base: "relative flex min-h-full w-full flex-1 flex-col gap-4 place-self-center overflow-y-auto px-page py-5",
|
|
71
71
|
variants: { variant: { narrow: "max-w-screen-lg" } }
|
|
72
|
-
}), zc = xc.forwardRef(({ children: e, variant: t, scrollable: n = !0, className: r, ...i }, a) => /* @__PURE__ */ X(
|
|
72
|
+
}), zc = xc.forwardRef(({ children: e, variant: t, scrollable: n = !0, className: r, ...i }, a) => /* @__PURE__ */ X(Sa, {
|
|
73
73
|
layout: "standard",
|
|
74
74
|
children: /* @__PURE__ */ X("section", {
|
|
75
75
|
ref: a,
|
|
@@ -2944,7 +2944,7 @@ var Il = jl("Dashboard", Fl), Ll = z(Zn("Dashboard", Il)), Rl = nr({
|
|
|
2944
2944
|
...l,
|
|
2945
2945
|
children: [p ? /* @__PURE__ */ Z("div", {
|
|
2946
2946
|
className: "absolute right-0 top-0 flex items-center justify-end gap-2 p-4",
|
|
2947
|
-
children: [c || null, f.length > 0 ? /* @__PURE__ */ X(
|
|
2947
|
+
children: [c || null, f.length > 0 ? /* @__PURE__ */ X(ho, {
|
|
2948
2948
|
items: zl(d),
|
|
2949
2949
|
"data-testid": "actions-dropdown"
|
|
2950
2950
|
}) : null]
|
|
@@ -3129,7 +3129,7 @@ var Yl = Tc(function({ children: e, aside: t, header: n, variant: r = "main-asid
|
|
|
3129
3129
|
})]
|
|
3130
3130
|
});
|
|
3131
3131
|
nu.displayName = "F0BigNumber";
|
|
3132
|
-
var iu =
|
|
3132
|
+
var iu = Za(nu, ru), au = z(iu), ou = [
|
|
3133
3133
|
"default",
|
|
3134
3134
|
"outline",
|
|
3135
3135
|
"neutral"
|
|
@@ -3691,7 +3691,7 @@ var dd = nr({
|
|
|
3691
3691
|
du(t)
|
|
3692
3692
|
]
|
|
3693
3693
|
}), pd = ({ isPlaying: e, disabled: t, size: n = "md", onToggle: r }) => {
|
|
3694
|
-
let i = B(), a = e ?
|
|
3694
|
+
let i = B(), a = e ? ao : Ha;
|
|
3695
3695
|
return /* @__PURE__ */ X("button", {
|
|
3696
3696
|
type: "button",
|
|
3697
3697
|
"aria-label": e ? i.audioPlayer.pause : i.audioPlayer.play,
|
|
@@ -3707,7 +3707,7 @@ var dd = nr({
|
|
|
3707
3707
|
children: /* @__PURE__ */ X(R, {
|
|
3708
3708
|
variant: "ghost",
|
|
3709
3709
|
size: "sm",
|
|
3710
|
-
icon:
|
|
3710
|
+
icon: Ni,
|
|
3711
3711
|
label: c.audioPlayer.options,
|
|
3712
3712
|
hideLabel: !0,
|
|
3713
3713
|
disabled: r
|
|
@@ -3790,14 +3790,14 @@ var dd = nr({
|
|
|
3790
3790
|
"aria-current": n || void 0,
|
|
3791
3791
|
title: a.t("audioPlayer.jumpTo", { time: du(o) }),
|
|
3792
3792
|
className: H(hd(n), vr(), !n && "hover:bg-f1-background-secondary"),
|
|
3793
|
-
children: /* @__PURE__ */ X(
|
|
3793
|
+
children: /* @__PURE__ */ X(Ir, {
|
|
3794
3794
|
as: "span",
|
|
3795
3795
|
variant: "body",
|
|
3796
3796
|
content: e.text
|
|
3797
3797
|
})
|
|
3798
3798
|
}) : /* @__PURE__ */ X("div", {
|
|
3799
3799
|
className: hd(n),
|
|
3800
|
-
children: /* @__PURE__ */ X(
|
|
3800
|
+
children: /* @__PURE__ */ X(Ir, {
|
|
3801
3801
|
as: "span",
|
|
3802
3802
|
variant: "body",
|
|
3803
3803
|
content: e.text
|
|
@@ -4208,13 +4208,13 @@ var Td = Zn("F0AudioPlayer", z(wd)), Ed = Zn("F0AudioPlayerCard", z(Sd)), Dd = N
|
|
|
4208
4208
|
disabled: e.disabled,
|
|
4209
4209
|
ariaLabel: e.ariaLabel
|
|
4210
4210
|
}, t);
|
|
4211
|
-
case "dropdown": return /* @__PURE__ */ X(
|
|
4211
|
+
case "dropdown": return /* @__PURE__ */ X(ho, {
|
|
4212
4212
|
items: e.items,
|
|
4213
4213
|
disabled: e.disabled,
|
|
4214
4214
|
children: /* @__PURE__ */ X(R, {
|
|
4215
4215
|
variant: "outline",
|
|
4216
4216
|
size: "sm",
|
|
4217
|
-
icon:
|
|
4217
|
+
icon: Ni,
|
|
4218
4218
|
label: e.ariaLabel,
|
|
4219
4219
|
hideLabel: !0,
|
|
4220
4220
|
disabled: e.disabled
|
|
@@ -4224,7 +4224,7 @@ var Td = Zn("F0AudioPlayer", z(wd)), Ed = Zn("F0AudioPlayerCard", z(Sd)), Dd = N
|
|
|
4224
4224
|
})
|
|
4225
4225
|
}), kd = ({ item: e, open: t, onOpenChange: n }) => {
|
|
4226
4226
|
let r = yn(), i = B().t(t ? "actions.collapseItem" : "actions.expandItem", { title: e.title }), a = !!e.actions && e.actions.length > 0;
|
|
4227
|
-
return /* @__PURE__ */ X(
|
|
4227
|
+
return /* @__PURE__ */ X(ya, {
|
|
4228
4228
|
open: t,
|
|
4229
4229
|
onOpenChange: n,
|
|
4230
4230
|
asChild: !0,
|
|
@@ -4232,7 +4232,7 @@ var Td = Zn("F0AudioPlayer", z(wd)), Ed = Zn("F0AudioPlayerCard", z(Sd)), Dd = N
|
|
|
4232
4232
|
className: "flex flex-col",
|
|
4233
4233
|
children: [/* @__PURE__ */ Z("div", {
|
|
4234
4234
|
className: "flex items-center",
|
|
4235
|
-
children: [/* @__PURE__ */ X(
|
|
4235
|
+
children: [/* @__PURE__ */ X(Ri, {
|
|
4236
4236
|
asChild: !0,
|
|
4237
4237
|
children: /* @__PURE__ */ X("button", {
|
|
4238
4238
|
type: "button",
|
|
@@ -4250,12 +4250,12 @@ var Td = Zn("F0AudioPlayer", z(wd)), Ed = Zn("F0AudioPlayerCard", z(Sd)), Dd = N
|
|
|
4250
4250
|
children: e.summary
|
|
4251
4251
|
}) : null,
|
|
4252
4252
|
a ? /* @__PURE__ */ X(Od, { actions: e.actions }) : null,
|
|
4253
|
-
/* @__PURE__ */ X(
|
|
4253
|
+
/* @__PURE__ */ X(Ri, {
|
|
4254
4254
|
asChild: !0,
|
|
4255
4255
|
children: /* @__PURE__ */ X(R, {
|
|
4256
4256
|
variant: "outline",
|
|
4257
4257
|
size: "sm",
|
|
4258
|
-
icon: t ? Zo :
|
|
4258
|
+
icon: t ? Zo : Ao,
|
|
4259
4259
|
label: i,
|
|
4260
4260
|
hideLabel: !0
|
|
4261
4261
|
})
|
|
@@ -4279,7 +4279,7 @@ var Td = Zn("F0AudioPlayer", z(wd)), Ed = Zn("F0AudioPlayerCard", z(Sd)), Dd = N
|
|
|
4279
4279
|
},
|
|
4280
4280
|
transition: { duration: r ? 0 : .2 },
|
|
4281
4281
|
className: "overflow-hidden",
|
|
4282
|
-
children: /* @__PURE__ */ X(
|
|
4282
|
+
children: /* @__PURE__ */ X(Ea, {
|
|
4283
4283
|
forceMount: !0,
|
|
4284
4284
|
asChild: !0,
|
|
4285
4285
|
children: /* @__PURE__ */ Z("div", {
|
|
@@ -4323,7 +4323,7 @@ var Td = Zn("F0AudioPlayer", z(wd)), Ed = Zn("F0AudioPlayerCard", z(Sd)), Dd = N
|
|
|
4323
4323
|
});
|
|
4324
4324
|
});
|
|
4325
4325
|
jd.displayName = "F0Accordion";
|
|
4326
|
-
var Md = z(Zn("F0Accordion",
|
|
4326
|
+
var Md = z(Zn("F0Accordion", Za(jd, Ad))), Nd = [
|
|
4327
4327
|
"info",
|
|
4328
4328
|
"warning",
|
|
4329
4329
|
"critical",
|
|
@@ -4394,9 +4394,9 @@ var Id = z(Zn("F0ChipList", Fd)), Ld = [
|
|
|
4394
4394
|
"positive",
|
|
4395
4395
|
"transparent"
|
|
4396
4396
|
], Bd = {
|
|
4397
|
-
get: async (e) => JSON.parse(localStorage.getItem(
|
|
4397
|
+
get: async (e) => JSON.parse(localStorage.getItem(ga(e)) ?? "{}"),
|
|
4398
4398
|
set: async (e, t) => {
|
|
4399
|
-
localStorage.setItem(
|
|
4399
|
+
localStorage.setItem(ga(e), JSON.stringify(t));
|
|
4400
4400
|
}
|
|
4401
4401
|
}, Vd = ({ disableClose: e = !1, onClose: t, isOpen: n, children: i, position: a = "right", size: o = "md", primaryAction: s, secondaryAction: c, title: l, description: u, module: d, otherActions: f, tabs: p, modal: m = !1, activeTabId: h, setActiveTabId: g, disableContentPadding: _, container: v, onWidthChange: y }) => {
|
|
4402
4402
|
let [b, x] = J(n);
|
|
@@ -4519,11 +4519,11 @@ var qd = Kd;
|
|
|
4519
4519
|
//#endregion
|
|
4520
4520
|
//#region src/blocks/F0Form/describeFormSchema.ts
|
|
4521
4521
|
function Jd(e) {
|
|
4522
|
-
let t =
|
|
4522
|
+
let t = Fa(e).shape, n = [];
|
|
4523
4523
|
for (let [e, r] of Object.entries(t)) {
|
|
4524
|
-
let t = r, i =
|
|
4524
|
+
let t = r, i = oo(t);
|
|
4525
4525
|
if (!i) continue;
|
|
4526
|
-
let a =
|
|
4526
|
+
let a = Na(t, i), o = nn(t, a), s = {
|
|
4527
4527
|
name: e,
|
|
4528
4528
|
type: a,
|
|
4529
4529
|
label: i.label,
|
|
@@ -4595,9 +4595,9 @@ function Xd(e) {
|
|
|
4595
4595
|
let r = {
|
|
4596
4596
|
...n,
|
|
4597
4597
|
...e
|
|
4598
|
-
}, i =
|
|
4598
|
+
}, i = Fa(t), a = [];
|
|
4599
4599
|
for (let [e, t] of Object.entries(i.shape)) {
|
|
4600
|
-
let n =
|
|
4600
|
+
let n = oo(t);
|
|
4601
4601
|
n?.renderIf ? Yt(n.renderIf, r) && a.push(e) : a.push(e);
|
|
4602
4602
|
}
|
|
4603
4603
|
return a;
|
|
@@ -4641,12 +4641,12 @@ var Qd = ({ isOpen: e = !1, onClose: t = () => {}, type: n, title: r, descriptio
|
|
|
4641
4641
|
modal: !0,
|
|
4642
4642
|
children: /* @__PURE__ */ Z("div", {
|
|
4643
4643
|
className: "flex flex-col gap-4 py-2",
|
|
4644
|
-
children: [/* @__PURE__ */ X(
|
|
4644
|
+
children: [/* @__PURE__ */ X(Ia, {
|
|
4645
4645
|
type: n,
|
|
4646
4646
|
size: "lg"
|
|
4647
4647
|
}), /* @__PURE__ */ Z("div", {
|
|
4648
4648
|
className: "flex flex-col gap-0.5",
|
|
4649
|
-
children: [/* @__PURE__ */ X(
|
|
4649
|
+
children: [/* @__PURE__ */ X(na, {
|
|
4650
4650
|
className: "text-xl sm:text-lg",
|
|
4651
4651
|
children: r
|
|
4652
4652
|
}), /* @__PURE__ */ X(oe, {
|
|
@@ -5033,7 +5033,7 @@ var _f = () => {}, vf = ({ steps: e, children: t, isOpen: n, onClose: r = _f, ti
|
|
|
5033
5033
|
onClose: r
|
|
5034
5034
|
}), g = B(), _ = e[h.currentStep], y = h.currentStep === 0, b = h.currentStep === e.length - 1, x = b ? _?.nextLabel ?? l ?? g.wizard.submit : _?.nextLabel ?? s ?? g.wizard.next, S = _?.previousLabel ?? c ?? g.wizard.previous, C = K(() => ({
|
|
5035
5035
|
label: x,
|
|
5036
|
-
icon: b ? void 0 :
|
|
5036
|
+
icon: b ? void 0 : wi,
|
|
5037
5037
|
onClick: () => void h.goNext(),
|
|
5038
5038
|
disabled: _?.isCompleted?.() === !1 || _?.hasErrors?.() === !0,
|
|
5039
5039
|
loading: h.loading
|
|
@@ -5090,14 +5090,14 @@ vf.displayName = "F0Wizard", z(vf);
|
|
|
5090
5090
|
//#endregion
|
|
5091
5091
|
//#region src/blocks/F0WizardForm/F0WizardForm.tsx
|
|
5092
5092
|
function yf(e) {
|
|
5093
|
-
let t =
|
|
5094
|
-
return n.length !== 0 && n.every(([, e]) =>
|
|
5093
|
+
let t = Fa(e).shape, n = Object.entries(t);
|
|
5094
|
+
return n.length !== 0 && n.every(([, e]) => oo(e)?.disabled === !0);
|
|
5095
5095
|
}
|
|
5096
5096
|
function bf(e, t) {
|
|
5097
5097
|
if (t) return Object.keys(t);
|
|
5098
|
-
let n =
|
|
5098
|
+
let n = Fa(e).shape, r = /* @__PURE__ */ new Set();
|
|
5099
5099
|
for (let e of Object.values(n)) {
|
|
5100
|
-
let t =
|
|
5100
|
+
let t = oo(e);
|
|
5101
5101
|
t?.section && r.add(t.section);
|
|
5102
5102
|
}
|
|
5103
5103
|
return Array.from(r);
|
|
@@ -5105,15 +5105,15 @@ function bf(e, t) {
|
|
|
5105
5105
|
function xf(e, t) {
|
|
5106
5106
|
let n = e.shape, r = {};
|
|
5107
5107
|
for (let [e, i] of Object.entries(n)) {
|
|
5108
|
-
let n =
|
|
5108
|
+
let n = oo(i);
|
|
5109
5109
|
n?.section && t.includes(n.section) && (r[e] = i);
|
|
5110
5110
|
}
|
|
5111
|
-
return
|
|
5111
|
+
return Ta(r);
|
|
5112
5112
|
}
|
|
5113
5113
|
function Sf(e, t, n) {
|
|
5114
5114
|
let r = t ?? {};
|
|
5115
5115
|
if (n) return n({ data: r });
|
|
5116
|
-
let i =
|
|
5116
|
+
let i = Fa(e).shape;
|
|
5117
5117
|
return Object.entries(i).every(([e, t]) => {
|
|
5118
5118
|
if (t.isOptional()) return !0;
|
|
5119
5119
|
let n = r[e];
|
|
@@ -5339,7 +5339,7 @@ function Of({ sectionId: e, formName: t, schema: n, sectionConfig: r, defaultVal
|
|
|
5339
5339
|
});
|
|
5340
5340
|
}
|
|
5341
5341
|
function kf({ formDefinition: e, steps: t, isOpen: n, onClose: r, title: i, width: a, size: o, defaultStepIndex: s, nextLabel: c, previousLabel: l, onStepChanged: u, allowStepSkipping: f, autoCloseOnLastStepSubmit: p, linkAfterLastStepSubmit: m, autoSkipCompletedSteps: h = !1, renderCustomField: g }) {
|
|
5342
|
-
let { name: _, schema: v, sections: y, defaultValues: b, onSubmit: x, submitConfig: S, errorTriggerMode: C = "on-blur" } = e, w = S?.label, T = K(() =>
|
|
5342
|
+
let { name: _, schema: v, sections: y, defaultValues: b, onSubmit: x, submitConfig: S, errorTriggerMode: C = "on-blur" } = e, w = S?.label, T = K(() => Fa(v), [v]), E = K(() => bf(v, y), [v, y]), D = W((e) => yf(xf(T, e)), [T]), O = Qe(), k = q(b ? { ...b } : {}), A = q(s ?? 0), j = W((e) => async () => {
|
|
5343
5343
|
await O.submit();
|
|
5344
5344
|
}, [O]), M = W((e) => O.hasErrors, [O.hasErrors]), N = t ?? e.steps, P = K(() => N ?? E.map((e) => ({
|
|
5345
5345
|
title: y?.[e]?.title ?? e,
|
|
@@ -5701,7 +5701,7 @@ var Lf = { open: If }, Rf = [
|
|
|
5701
5701
|
});
|
|
5702
5702
|
});
|
|
5703
5703
|
Jf.displayName = "F0Slider";
|
|
5704
|
-
var Yf = Zn("F0Slider",
|
|
5704
|
+
var Yf = Zn("F0Slider", Za(z(Jf), Uf)), Xf = [
|
|
5705
5705
|
"completed",
|
|
5706
5706
|
"in-progress",
|
|
5707
5707
|
"not-started"
|
|
@@ -5969,7 +5969,7 @@ function mp(e) {
|
|
|
5969
5969
|
}
|
|
5970
5970
|
//#endregion
|
|
5971
5971
|
//#region src/domains/talent/surveys/surveys/SurveyFormBuilder/ApplyingChangesTag/ApplyingChangesTag.tsx
|
|
5972
|
-
var hp = ar.create(
|
|
5972
|
+
var hp = ar.create(la), gp = Dc(() => {
|
|
5973
5973
|
let e = B();
|
|
5974
5974
|
return /* @__PURE__ */ Z("div", {
|
|
5975
5975
|
className: "flex flex-row items-center gap-1 rounded-full border border-solid border-f1-border-secondary bg-f1-background px-2 py-1.5 pr-2.5 shadow-md",
|
|
@@ -6325,12 +6325,12 @@ var jp = () => {
|
|
|
6325
6325
|
let { isQuestionTypeAllowed: e, datasets: t } = Dp(), { t: n } = B(), r = [
|
|
6326
6326
|
{
|
|
6327
6327
|
label: n("surveyFormBuilder.questionTypes.rating"),
|
|
6328
|
-
icon:
|
|
6328
|
+
icon: mo,
|
|
6329
6329
|
questionType: "rating"
|
|
6330
6330
|
},
|
|
6331
6331
|
{
|
|
6332
6332
|
label: n("surveyFormBuilder.questionTypes.multipleChoice"),
|
|
6333
|
-
icon:
|
|
6333
|
+
icon: Ai,
|
|
6334
6334
|
questionType: "multi-select"
|
|
6335
6335
|
},
|
|
6336
6336
|
{
|
|
@@ -6340,32 +6340,32 @@ var jp = () => {
|
|
|
6340
6340
|
},
|
|
6341
6341
|
{
|
|
6342
6342
|
label: n("surveyFormBuilder.questionTypes.text"),
|
|
6343
|
-
icon:
|
|
6343
|
+
icon: Ga,
|
|
6344
6344
|
questionType: "text"
|
|
6345
6345
|
},
|
|
6346
6346
|
{
|
|
6347
6347
|
label: n("surveyFormBuilder.questionTypes.longText"),
|
|
6348
|
-
icon:
|
|
6348
|
+
icon: Ci,
|
|
6349
6349
|
questionType: "longText"
|
|
6350
6350
|
},
|
|
6351
6351
|
{
|
|
6352
6352
|
label: n("surveyFormBuilder.questionTypes.numeric"),
|
|
6353
|
-
icon:
|
|
6353
|
+
icon: Qi,
|
|
6354
6354
|
questionType: "numeric"
|
|
6355
6355
|
},
|
|
6356
6356
|
{
|
|
6357
6357
|
label: n("surveyFormBuilder.questionTypes.link"),
|
|
6358
|
-
icon:
|
|
6358
|
+
icon: Va,
|
|
6359
6359
|
questionType: "link"
|
|
6360
6360
|
},
|
|
6361
6361
|
{
|
|
6362
6362
|
label: n("surveyFormBuilder.questionTypes.date"),
|
|
6363
|
-
icon:
|
|
6363
|
+
icon: Ki,
|
|
6364
6364
|
questionType: "date"
|
|
6365
6365
|
},
|
|
6366
6366
|
{
|
|
6367
6367
|
label: n("surveyFormBuilder.questionTypes.file"),
|
|
6368
|
-
icon:
|
|
6368
|
+
icon: Pa,
|
|
6369
6369
|
questionType: "file"
|
|
6370
6370
|
},
|
|
6371
6371
|
{
|
|
@@ -6375,23 +6375,23 @@ var jp = () => {
|
|
|
6375
6375
|
}
|
|
6376
6376
|
].filter((t) => e(t.questionType)), i = e("dropdown-single") ? Object.entries(t ?? {}).map(([e, t]) => ({
|
|
6377
6377
|
label: t.title,
|
|
6378
|
-
icon: t.icon ??
|
|
6378
|
+
icon: t.icon ?? Ao,
|
|
6379
6379
|
questionType: "dropdown-single",
|
|
6380
6380
|
datasetKey: e
|
|
6381
6381
|
})) : [];
|
|
6382
6382
|
return [...r, ...i];
|
|
6383
6383
|
}, Mp = {
|
|
6384
|
-
rating:
|
|
6385
|
-
"multi-select":
|
|
6384
|
+
rating: mo,
|
|
6385
|
+
"multi-select": Ai,
|
|
6386
6386
|
select: fc,
|
|
6387
|
-
text:
|
|
6388
|
-
longText:
|
|
6389
|
-
numeric:
|
|
6390
|
-
link:
|
|
6391
|
-
date:
|
|
6392
|
-
"dropdown-single":
|
|
6393
|
-
"dropdown-multi":
|
|
6394
|
-
file:
|
|
6387
|
+
text: Ga,
|
|
6388
|
+
longText: Ci,
|
|
6389
|
+
numeric: Qi,
|
|
6390
|
+
link: Va,
|
|
6391
|
+
date: Ki,
|
|
6392
|
+
"dropdown-single": Ao,
|
|
6393
|
+
"dropdown-multi": Ao,
|
|
6394
|
+
file: Pa,
|
|
6395
6395
|
checkbox: zs
|
|
6396
6396
|
}, Np = () => {
|
|
6397
6397
|
let { disabled: e, answering: t, onAddNewElement: n, isQuestionTypeAllowed: r, labels: i } = Dp(), [a, o] = J(!1), s = jp(), { t: c } = B(), l = i?.addQuestion ?? c("surveyFormBuilder.actions.addQuestion"), u = (e, t) => {
|
|
@@ -6410,7 +6410,7 @@ var jp = () => {
|
|
|
6410
6410
|
children: [/* @__PURE__ */ X(kn, {
|
|
6411
6411
|
asChild: !0,
|
|
6412
6412
|
children: /* @__PURE__ */ X(R, {
|
|
6413
|
-
icon:
|
|
6413
|
+
icon: jo,
|
|
6414
6414
|
label: l,
|
|
6415
6415
|
size: "md",
|
|
6416
6416
|
variant: "outline",
|
|
@@ -6425,7 +6425,7 @@ var jp = () => {
|
|
|
6425
6425
|
children: /* @__PURE__ */ Z("div", {
|
|
6426
6426
|
className: "flex w-full flex-row items-center gap-2",
|
|
6427
6427
|
children: [/* @__PURE__ */ X(V, {
|
|
6428
|
-
icon:
|
|
6428
|
+
icon: za,
|
|
6429
6429
|
color: "default"
|
|
6430
6430
|
}), /* @__PURE__ */ X("span", {
|
|
6431
6431
|
className: "flex-1 text-base font-medium",
|
|
@@ -6478,7 +6478,7 @@ var jp = () => {
|
|
|
6478
6478
|
children: /* @__PURE__ */ Z("div", {
|
|
6479
6479
|
className: "flex w-full flex-row items-center gap-2",
|
|
6480
6480
|
children: [/* @__PURE__ */ X(V, {
|
|
6481
|
-
icon:
|
|
6481
|
+
icon: Ai,
|
|
6482
6482
|
color: "default"
|
|
6483
6483
|
}), /* @__PURE__ */ X("span", {
|
|
6484
6484
|
className: "flex-1",
|
|
@@ -6658,7 +6658,7 @@ var Bp = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(S
|
|
|
6658
6658
|
className: "flex w-full flex-row items-center gap-2",
|
|
6659
6659
|
children: [
|
|
6660
6660
|
/* @__PURE__ */ X(Rn, {
|
|
6661
|
-
icon:
|
|
6661
|
+
icon: lo,
|
|
6662
6662
|
color: "default"
|
|
6663
6663
|
}),
|
|
6664
6664
|
/* @__PURE__ */ X("span", {
|
|
@@ -6770,7 +6770,7 @@ var Bp = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(S
|
|
|
6770
6770
|
className: "flex w-full flex-row items-center gap-2",
|
|
6771
6771
|
children: [
|
|
6772
6772
|
/* @__PURE__ */ X(Rn, {
|
|
6773
|
-
icon:
|
|
6773
|
+
icon: Ai,
|
|
6774
6774
|
color: "default"
|
|
6775
6775
|
}),
|
|
6776
6776
|
/* @__PURE__ */ X("span", {
|
|
@@ -6799,11 +6799,11 @@ var Bp = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(S
|
|
|
6799
6799
|
let { t: a } = B(), { labels: o } = Dp();
|
|
6800
6800
|
return !e && !t ? null : /* @__PURE__ */ Z(Y, { children: [n ? /* @__PURE__ */ X(Dn, {}) : null, /* @__PURE__ */ Z(bn, { children: [e ? /* @__PURE__ */ X(Hp, {
|
|
6801
6801
|
label: o?.duplicateQuestion ?? a("surveyFormBuilder.actions.duplicateQuestion"),
|
|
6802
|
-
icon:
|
|
6802
|
+
icon: no,
|
|
6803
6803
|
onClick: r
|
|
6804
6804
|
}) : null, t ? /* @__PURE__ */ X(Hp, {
|
|
6805
6805
|
label: o?.deleteQuestion ?? a("surveyFormBuilder.actions.deleteQuestion"),
|
|
6806
|
-
icon:
|
|
6806
|
+
icon: oa,
|
|
6807
6807
|
onClick: i,
|
|
6808
6808
|
critical: !0
|
|
6809
6809
|
}) : null] })] });
|
|
@@ -6821,7 +6821,7 @@ function Wp({ open: e, setOpen: t, questionId: n, questionType: r, canDeleteQues
|
|
|
6821
6821
|
tabIndex: -1,
|
|
6822
6822
|
asChild: !0,
|
|
6823
6823
|
children: /* @__PURE__ */ X(R, {
|
|
6824
|
-
icon:
|
|
6824
|
+
icon: Ni,
|
|
6825
6825
|
label: o("surveyFormBuilder.labels.actions"),
|
|
6826
6826
|
size: "md",
|
|
6827
6827
|
variant: "ghost",
|
|
@@ -6838,13 +6838,13 @@ function Wp({ open: e, setOpen: t, questionId: n, questionType: r, canDeleteQues
|
|
|
6838
6838
|
}),
|
|
6839
6839
|
T ? /* @__PURE__ */ X(bn, { children: /* @__PURE__ */ X(Bp, {
|
|
6840
6840
|
label: o("surveyFormBuilder.labels.required"),
|
|
6841
|
-
icon:
|
|
6841
|
+
icon: La,
|
|
6842
6842
|
checked: !!l?.required,
|
|
6843
6843
|
onChange: _
|
|
6844
6844
|
}) }) : null,
|
|
6845
6845
|
E ? /* @__PURE__ */ X(bn, { children: /* @__PURE__ */ X(Bp, {
|
|
6846
6846
|
label: o("surveyFormBuilder.labels.allowMultiSelection"),
|
|
6847
|
-
icon:
|
|
6847
|
+
icon: Ai,
|
|
6848
6848
|
checked: p,
|
|
6849
6849
|
onChange: b
|
|
6850
6850
|
}) }) : null,
|
|
@@ -7019,7 +7019,7 @@ var Gp = ({ notice: e, className: t, children: n }) => {
|
|
|
7019
7019
|
children: [/* @__PURE__ */ X(kn, {
|
|
7020
7020
|
asChild: !0,
|
|
7021
7021
|
children: /* @__PURE__ */ X(R, {
|
|
7022
|
-
icon:
|
|
7022
|
+
icon: jo,
|
|
7023
7023
|
label: M,
|
|
7024
7024
|
size: "sm",
|
|
7025
7025
|
variant: "outline",
|
|
@@ -7034,7 +7034,7 @@ var Gp = ({ notice: e, className: t, children: n }) => {
|
|
|
7034
7034
|
children: /* @__PURE__ */ Z("div", {
|
|
7035
7035
|
className: "flex w-full flex-row items-center gap-2",
|
|
7036
7036
|
children: [/* @__PURE__ */ X(V, {
|
|
7037
|
-
icon:
|
|
7037
|
+
icon: za,
|
|
7038
7038
|
color: "default"
|
|
7039
7039
|
}), /* @__PURE__ */ X("span", {
|
|
7040
7040
|
className: "flex-1 text-base font-medium",
|
|
@@ -7086,7 +7086,7 @@ var Gp = ({ notice: e, className: t, children: n }) => {
|
|
|
7086
7086
|
children: /* @__PURE__ */ Z("div", {
|
|
7087
7087
|
className: "flex w-full flex-row items-center gap-2",
|
|
7088
7088
|
children: [/* @__PURE__ */ X(V, {
|
|
7089
|
-
icon:
|
|
7089
|
+
icon: Ai,
|
|
7090
7090
|
color: "default"
|
|
7091
7091
|
}), /* @__PURE__ */ X("span", {
|
|
7092
7092
|
className: "flex-1",
|
|
@@ -7320,8 +7320,8 @@ var Jp = ({ value: e, label: t, ...n }) => {
|
|
|
7320
7320
|
required: t.required,
|
|
7321
7321
|
maxDecimals: 0,
|
|
7322
7322
|
placeholder: s,
|
|
7323
|
-
icon:
|
|
7324
|
-
}) : /* @__PURE__ */ X(
|
|
7323
|
+
icon: Qi
|
|
7324
|
+
}) : /* @__PURE__ */ X(Gi, {
|
|
7325
7325
|
type: "text",
|
|
7326
7326
|
size: "md",
|
|
7327
7327
|
value: s,
|
|
@@ -7329,7 +7329,7 @@ var Jp = ({ value: e, label: t, ...n }) => {
|
|
|
7329
7329
|
disabled: !0,
|
|
7330
7330
|
label: n("surveyFormBuilder.answer.label"),
|
|
7331
7331
|
hideLabel: !0,
|
|
7332
|
-
icon:
|
|
7332
|
+
icon: Qi
|
|
7333
7333
|
})
|
|
7334
7334
|
});
|
|
7335
7335
|
}, nm = ({ option: e, selected: t, onClick: n, onChangeLabel: r, disabled: i, isEmojiMode: a = !1 }) => {
|
|
@@ -7503,7 +7503,7 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7503
7503
|
children: /* @__PURE__ */ X("div", {
|
|
7504
7504
|
className: H("flex aspect-square scale-90 items-center justify-center", u === "multi-select" ? "w-6" : "w-5"),
|
|
7505
7505
|
children: /* @__PURE__ */ X(Rn, {
|
|
7506
|
-
icon:
|
|
7506
|
+
icon: Ua,
|
|
7507
7507
|
size: "sm"
|
|
7508
7508
|
})
|
|
7509
7509
|
})
|
|
@@ -7526,13 +7526,13 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7526
7526
|
children: [/* @__PURE__ */ X(R, {
|
|
7527
7527
|
label: _("surveyFormBuilder.selectQuestion.markAsCorrect"),
|
|
7528
7528
|
variant: "ghost",
|
|
7529
|
-
icon: c ?
|
|
7529
|
+
icon: c ? Fr : wa,
|
|
7530
7530
|
onClick: x,
|
|
7531
7531
|
hideLabel: !0
|
|
7532
7532
|
}), /* @__PURE__ */ X(R, {
|
|
7533
7533
|
label: _("surveyFormBuilder.selectQuestion.remove"),
|
|
7534
7534
|
variant: "ghost",
|
|
7535
|
-
icon:
|
|
7535
|
+
icon: oa,
|
|
7536
7536
|
hideLabel: !0,
|
|
7537
7537
|
onClick: S
|
|
7538
7538
|
})]
|
|
@@ -7661,7 +7661,7 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7661
7661
|
children: /* @__PURE__ */ X(R, {
|
|
7662
7662
|
label: c("surveyFormBuilder.selectQuestion.addOption"),
|
|
7663
7663
|
variant: "ghost",
|
|
7664
|
-
icon:
|
|
7664
|
+
icon: jo,
|
|
7665
7665
|
onClick: p
|
|
7666
7666
|
})
|
|
7667
7667
|
}) : null]
|
|
@@ -7759,7 +7759,7 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7759
7759
|
h && c.start(e);
|
|
7760
7760
|
},
|
|
7761
7761
|
children: /* @__PURE__ */ X(V, {
|
|
7762
|
-
icon:
|
|
7762
|
+
icon: Ua,
|
|
7763
7763
|
size: "sm"
|
|
7764
7764
|
})
|
|
7765
7765
|
}) : null, /* @__PURE__ */ X(um, { ...e.question })]
|
|
@@ -7789,7 +7789,7 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7789
7789
|
f && i.start(e);
|
|
7790
7790
|
},
|
|
7791
7791
|
children: /* @__PURE__ */ X(V, {
|
|
7792
|
-
icon:
|
|
7792
|
+
icon: Ua,
|
|
7793
7793
|
size: "sm"
|
|
7794
7794
|
})
|
|
7795
7795
|
}) : null, /* @__PURE__ */ X(um, { ...e })]
|
|
@@ -7821,7 +7821,7 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7821
7821
|
});
|
|
7822
7822
|
}, x = [{
|
|
7823
7823
|
label: h("surveyFormBuilder.actions.duplicateSection"),
|
|
7824
|
-
icon:
|
|
7824
|
+
icon: no,
|
|
7825
7825
|
onClick: () => {
|
|
7826
7826
|
d?.({
|
|
7827
7827
|
elementId: e,
|
|
@@ -7830,7 +7830,7 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7830
7830
|
}
|
|
7831
7831
|
}, {
|
|
7832
7832
|
label: h("surveyFormBuilder.actions.deleteSection"),
|
|
7833
|
-
icon:
|
|
7833
|
+
icon: oa,
|
|
7834
7834
|
onClick: () => {
|
|
7835
7835
|
u(e);
|
|
7836
7836
|
},
|
|
@@ -7875,14 +7875,14 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7875
7875
|
}) : null,
|
|
7876
7876
|
!c && !l && !a ? /* @__PURE__ */ X("div", {
|
|
7877
7877
|
className: H("opacity-0 group-hover/section:opacity-100", p && "opacity-100"),
|
|
7878
|
-
children: /* @__PURE__ */ X(
|
|
7878
|
+
children: /* @__PURE__ */ X(ho, {
|
|
7879
7879
|
items: x,
|
|
7880
|
-
icon:
|
|
7880
|
+
icon: Ni,
|
|
7881
7881
|
open: p,
|
|
7882
7882
|
onOpenChange: m,
|
|
7883
7883
|
align: "start",
|
|
7884
7884
|
children: /* @__PURE__ */ X(R, {
|
|
7885
|
-
icon:
|
|
7885
|
+
icon: Ni,
|
|
7886
7886
|
label: h("surveyFormBuilder.actions.actions"),
|
|
7887
7887
|
size: "md",
|
|
7888
7888
|
variant: "ghost",
|
|
@@ -7951,7 +7951,7 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7951
7951
|
o.start(e);
|
|
7952
7952
|
},
|
|
7953
7953
|
children: /* @__PURE__ */ X(V, {
|
|
7954
|
-
icon:
|
|
7954
|
+
icon: Ua,
|
|
7955
7955
|
size: "sm"
|
|
7956
7956
|
})
|
|
7957
7957
|
}) : null, /* @__PURE__ */ X(mm, {
|
|
@@ -7981,7 +7981,7 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7981
7981
|
p || x.push({
|
|
7982
7982
|
type: "toggle",
|
|
7983
7983
|
label: l,
|
|
7984
|
-
icon:
|
|
7984
|
+
icon: La,
|
|
7985
7985
|
checked: !!r?.required,
|
|
7986
7986
|
onCheckedChange: m
|
|
7987
7987
|
});
|
|
@@ -8026,7 +8026,7 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
8026
8026
|
selected: s === e && t === "dropdown-single"
|
|
8027
8027
|
}, {
|
|
8028
8028
|
label: f,
|
|
8029
|
-
icon:
|
|
8029
|
+
icon: Ai,
|
|
8030
8030
|
onClick: () => h("dropdown-multi", e),
|
|
8031
8031
|
selected: s === e && t === "dropdown-multi"
|
|
8032
8032
|
}]
|
|
@@ -8040,16 +8040,16 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
8040
8040
|
return x.push({
|
|
8041
8041
|
type: "submenu",
|
|
8042
8042
|
label: u,
|
|
8043
|
-
icon:
|
|
8043
|
+
icon: lo,
|
|
8044
8044
|
selectedLabel: E,
|
|
8045
8045
|
children: w
|
|
8046
8046
|
}), x.push({ type: "separator" }), x.push({
|
|
8047
8047
|
label: i,
|
|
8048
|
-
icon:
|
|
8048
|
+
icon: no,
|
|
8049
8049
|
onClick: y
|
|
8050
8050
|
}), n && x.push({
|
|
8051
8051
|
label: a,
|
|
8052
|
-
icon:
|
|
8052
|
+
icon: oa,
|
|
8053
8053
|
onClick: b,
|
|
8054
8054
|
critical: !0
|
|
8055
8055
|
}), x;
|
|
@@ -8070,12 +8070,12 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
8070
8070
|
return {
|
|
8071
8071
|
id: i,
|
|
8072
8072
|
label: t.title || n,
|
|
8073
|
-
icon:
|
|
8073
|
+
icon: za,
|
|
8074
8074
|
onClick: y,
|
|
8075
8075
|
...!h && !g && !t.locked && { otherActions: [
|
|
8076
8076
|
{
|
|
8077
8077
|
label: o,
|
|
8078
|
-
icon:
|
|
8078
|
+
icon: no,
|
|
8079
8079
|
onClick: () => m?.({
|
|
8080
8080
|
elementId: t.id,
|
|
8081
8081
|
type: "section"
|
|
@@ -8084,7 +8084,7 @@ var sm = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
8084
8084
|
{ type: "separator" },
|
|
8085
8085
|
{
|
|
8086
8086
|
label: s,
|
|
8087
|
-
icon:
|
|
8087
|
+
icon: oa,
|
|
8088
8088
|
onClick: () => p(t.id),
|
|
8089
8089
|
critical: !0
|
|
8090
8090
|
}
|
|
@@ -8612,7 +8612,7 @@ function Vm({ value: e, onChange: t, onBlur: n, config: r }) {
|
|
|
8612
8612
|
u ? /* @__PURE__ */ X("div", {
|
|
8613
8613
|
className: "min-h-8 p-1",
|
|
8614
8614
|
children: /* @__PURE__ */ X(V, {
|
|
8615
|
-
icon: t.correct ?
|
|
8615
|
+
icon: t.correct ? wa : Fr,
|
|
8616
8616
|
color: t.correct ? "positive" : "critical",
|
|
8617
8617
|
"aria-hidden": !0
|
|
8618
8618
|
})
|
|
@@ -8634,7 +8634,7 @@ var Hm = /^(https?:\/\/)?[\w.-]+\.[a-z]{2,}(:\d+)?(\/[^\s]*)?$/i, Um = () => ({
|
|
|
8634
8634
|
status: "idle"
|
|
8635
8635
|
});
|
|
8636
8636
|
function Wm(e, t) {
|
|
8637
|
-
return
|
|
8637
|
+
return Li().optional().superRefine((n, r) => {
|
|
8638
8638
|
e && (!n || n.trim() === "") && r.addIssue({
|
|
8639
8639
|
code: "custom",
|
|
8640
8640
|
message: t("forms.validation.required")
|
|
@@ -8642,7 +8642,7 @@ function Wm(e, t) {
|
|
|
8642
8642
|
});
|
|
8643
8643
|
}
|
|
8644
8644
|
function Gm(e, t) {
|
|
8645
|
-
return
|
|
8645
|
+
return Li().optional().superRefine((n, r) => {
|
|
8646
8646
|
e && (!n || n.trim() === "") ? r.addIssue({
|
|
8647
8647
|
code: "custom",
|
|
8648
8648
|
message: t("forms.validation.required")
|
|
@@ -8653,7 +8653,7 @@ function Gm(e, t) {
|
|
|
8653
8653
|
});
|
|
8654
8654
|
}
|
|
8655
8655
|
function Km(e, t) {
|
|
8656
|
-
return
|
|
8656
|
+
return _a().optional().superRefine((n, r) => {
|
|
8657
8657
|
e && n == null && r.addIssue({
|
|
8658
8658
|
code: "custom",
|
|
8659
8659
|
message: t("forms.validation.required")
|
|
@@ -8661,7 +8661,7 @@ function Km(e, t) {
|
|
|
8661
8661
|
});
|
|
8662
8662
|
}
|
|
8663
8663
|
function qm(e, t) {
|
|
8664
|
-
return
|
|
8664
|
+
return Oi(Li()).optional().superRefine((n, r) => {
|
|
8665
8665
|
e && (!n || n.length === 0) && r.addIssue({
|
|
8666
8666
|
code: "custom",
|
|
8667
8667
|
message: t("forms.validation.required")
|
|
@@ -8669,7 +8669,7 @@ function qm(e, t) {
|
|
|
8669
8669
|
});
|
|
8670
8670
|
}
|
|
8671
8671
|
function Jm(e, t) {
|
|
8672
|
-
return
|
|
8672
|
+
return Bi().optional().superRefine((n, r) => {
|
|
8673
8673
|
e && !n && r.addIssue({
|
|
8674
8674
|
code: "custom",
|
|
8675
8675
|
message: t("forms.validation.required")
|
|
@@ -8678,7 +8678,7 @@ function Jm(e, t) {
|
|
|
8678
8678
|
}
|
|
8679
8679
|
var Ym = qm;
|
|
8680
8680
|
function Xm(e, t) {
|
|
8681
|
-
return
|
|
8681
|
+
return Ca().optional().superRefine((n, r) => {
|
|
8682
8682
|
e && !n && r.addIssue({
|
|
8683
8683
|
code: "custom",
|
|
8684
8684
|
message: t("forms.validation.required")
|
|
@@ -8728,7 +8728,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8728
8728
|
placeholder: t("surveyFormBuilder.answer.textPlaceholder"),
|
|
8729
8729
|
disabled: i
|
|
8730
8730
|
};
|
|
8731
|
-
return
|
|
8731
|
+
return Zi(Wm(!!e.required, t), {
|
|
8732
8732
|
...c,
|
|
8733
8733
|
fieldType: "custom",
|
|
8734
8734
|
render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Kp, {
|
|
@@ -8756,7 +8756,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8756
8756
|
rows: 4,
|
|
8757
8757
|
disabled: i
|
|
8758
8758
|
};
|
|
8759
|
-
return
|
|
8759
|
+
return Zi(Wm(!!e.required, t), {
|
|
8760
8760
|
...c,
|
|
8761
8761
|
fieldType: "custom",
|
|
8762
8762
|
render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Kp, {
|
|
@@ -8783,7 +8783,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8783
8783
|
placeholder: t("surveyFormBuilder.answer.numericPlaceholder"),
|
|
8784
8784
|
disabled: i
|
|
8785
8785
|
};
|
|
8786
|
-
return
|
|
8786
|
+
return Zi(Km(!!e.required, t), {
|
|
8787
8787
|
...c,
|
|
8788
8788
|
fieldType: "custom",
|
|
8789
8789
|
render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Kp, {
|
|
@@ -8811,7 +8811,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8811
8811
|
placeholder: t("surveyFormBuilder.answer.linkPlaceholder"),
|
|
8812
8812
|
disabled: i
|
|
8813
8813
|
};
|
|
8814
|
-
return
|
|
8814
|
+
return Zi(Gm(!!e.required, t), {
|
|
8815
8815
|
...c,
|
|
8816
8816
|
fieldType: "custom",
|
|
8817
8817
|
render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Kp, {
|
|
@@ -8838,7 +8838,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8838
8838
|
clearable: !e.required,
|
|
8839
8839
|
disabled: i
|
|
8840
8840
|
};
|
|
8841
|
-
return
|
|
8841
|
+
return Zi(Jm(!!e.required, t), {
|
|
8842
8842
|
...c,
|
|
8843
8843
|
fieldType: "custom",
|
|
8844
8844
|
render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Kp, {
|
|
@@ -8874,7 +8874,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8874
8874
|
showSearchBox: r,
|
|
8875
8875
|
searchBoxPlaceholder: e.searchBoxPlaceholder
|
|
8876
8876
|
};
|
|
8877
|
-
return
|
|
8877
|
+
return Zi(Wm(!!e.required, t), {
|
|
8878
8878
|
...c,
|
|
8879
8879
|
fieldType: "custom",
|
|
8880
8880
|
render: ({ value: t, onChange: r, onBlur: i, error: o }) => {
|
|
@@ -8923,7 +8923,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8923
8923
|
showSearchBox: r,
|
|
8924
8924
|
searchBoxPlaceholder: e.searchBoxPlaceholder
|
|
8925
8925
|
};
|
|
8926
|
-
return
|
|
8926
|
+
return Zi(qm(!!e.required, t), {
|
|
8927
8927
|
...c,
|
|
8928
8928
|
fieldType: "custom",
|
|
8929
8929
|
render: ({ value: e, onChange: t, onBlur: n, error: r }) => /* @__PURE__ */ X(Kp, {
|
|
@@ -8950,7 +8950,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8950
8950
|
disabled: i,
|
|
8951
8951
|
showAnswerValidation: r
|
|
8952
8952
|
};
|
|
8953
|
-
return
|
|
8953
|
+
return Zi(Wm(!!e.required, t), {
|
|
8954
8954
|
...c,
|
|
8955
8955
|
fieldType: "custom",
|
|
8956
8956
|
fieldConfig: n,
|
|
@@ -8973,7 +8973,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8973
8973
|
disabled: i,
|
|
8974
8974
|
showAnswerValidation: r
|
|
8975
8975
|
};
|
|
8976
|
-
return
|
|
8976
|
+
return Zi(qm(!!e.required, t), {
|
|
8977
8977
|
...c,
|
|
8978
8978
|
fieldType: "custom",
|
|
8979
8979
|
fieldConfig: n,
|
|
@@ -8995,7 +8995,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8995
8995
|
maxLabel: n.maxLabel,
|
|
8996
8996
|
disabled: i
|
|
8997
8997
|
};
|
|
8998
|
-
return
|
|
8998
|
+
return Zi(Km(!!e.required, t), {
|
|
8999
8999
|
...c,
|
|
9000
9000
|
fieldType: "custom",
|
|
9001
9001
|
fieldConfig: r,
|
|
@@ -9021,7 +9021,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
9021
9021
|
useUpload: r ?? Um,
|
|
9022
9022
|
disabled: i || !r
|
|
9023
9023
|
};
|
|
9024
|
-
return
|
|
9024
|
+
return Zi(Ym(!!e.required, t), {
|
|
9025
9025
|
...c,
|
|
9026
9026
|
fieldType: "custom",
|
|
9027
9027
|
render: ({ value: e, onChange: t, onBlur: n, error: r }) => /* @__PURE__ */ X(Kp, {
|
|
@@ -9047,7 +9047,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
9047
9047
|
label: n.label || s,
|
|
9048
9048
|
disabled: i
|
|
9049
9049
|
};
|
|
9050
|
-
return
|
|
9050
|
+
return Zi(Xm(!!e.required, t), {
|
|
9051
9051
|
...c,
|
|
9052
9052
|
fieldType: "custom",
|
|
9053
9053
|
render: ({ value: e, onChange: t, onBlur: n, error: i }) => /* @__PURE__ */ X(Kp, {
|
|
@@ -9066,7 +9066,7 @@ function $m({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
9066
9066
|
})
|
|
9067
9067
|
});
|
|
9068
9068
|
}
|
|
9069
|
-
default: return
|
|
9069
|
+
default: return Zi(Ji(), {
|
|
9070
9070
|
...c,
|
|
9071
9071
|
fieldType: "custom",
|
|
9072
9072
|
render: () => null
|
|
@@ -9105,7 +9105,7 @@ function eh({ elements: e, mode: t, t: n, defaultValues: r, currentQuestionId: i
|
|
|
9105
9105
|
}), d[e.id] = a?.[e.id] ?? Zm(e, r);
|
|
9106
9106
|
}
|
|
9107
9107
|
return {
|
|
9108
|
-
schema:
|
|
9108
|
+
schema: Ta(u),
|
|
9109
9109
|
defaultValues: d,
|
|
9110
9110
|
flatQuestions: p,
|
|
9111
9111
|
sections: f
|
|
@@ -9196,12 +9196,12 @@ function ih({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
|
|
|
9196
9196
|
}, j.goToPrevious();
|
|
9197
9197
|
}, [T, j.goToPrevious]), ue = u && !m ? [{
|
|
9198
9198
|
label: b(C ? "surveyAnsweringForm.actions.collapse" : "surveyAnsweringForm.actions.expand"),
|
|
9199
|
-
icon: C ?
|
|
9199
|
+
icon: C ? va : ka,
|
|
9200
9200
|
onClick: () => w((e) => !e)
|
|
9201
9201
|
}] : void 0, de = M ? m || F ? void 0 : I ? P && !j.isLastStep ? {
|
|
9202
9202
|
label: b("surveyAnsweringForm.actions.next"),
|
|
9203
9203
|
onClick: j.goToNext,
|
|
9204
|
-
icon:
|
|
9204
|
+
icon: wi
|
|
9205
9205
|
} : {
|
|
9206
9206
|
label: b("surveyAnsweringForm.actions.submit"),
|
|
9207
9207
|
onClick: th,
|
|
@@ -9209,7 +9209,7 @@ function ih({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
|
|
|
9209
9209
|
} : P && !j.isLastStep ? {
|
|
9210
9210
|
label: b("surveyAnsweringForm.actions.next"),
|
|
9211
9211
|
onClick: ce,
|
|
9212
|
-
icon:
|
|
9212
|
+
icon: wi
|
|
9213
9213
|
} : {
|
|
9214
9214
|
label: b("surveyAnsweringForm.actions.submit"),
|
|
9215
9215
|
onClick: ce,
|
|
@@ -9220,7 +9220,7 @@ function ih({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
|
|
|
9220
9220
|
onClick: le,
|
|
9221
9221
|
icon: cs
|
|
9222
9222
|
} : void 0 : void 0, pe = n === "all-questions" && M && !m, me = P && M && !m, he = P && !!j.currentQuestion?.sectionTitle && !m, ge = ne === "center" || ne === "fullscreen";
|
|
9223
|
-
return /* @__PURE__ */ X(
|
|
9223
|
+
return /* @__PURE__ */ X(Ka, {
|
|
9224
9224
|
isOpen: o,
|
|
9225
9225
|
onClose: s,
|
|
9226
9226
|
title: r,
|
|
@@ -9263,7 +9263,7 @@ function ih({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
|
|
|
9263
9263
|
...a
|
|
9264
9264
|
})
|
|
9265
9265
|
}),
|
|
9266
|
-
m ? X(n === "stepped" ? Lm : Im, {}) : M ? null : /* @__PURE__ */ X(
|
|
9266
|
+
m ? X(n === "stepped" ? Lm : Im, {}) : M ? null : /* @__PURE__ */ X(ko, {
|
|
9267
9267
|
display: "flex",
|
|
9268
9268
|
flexDirection: "column",
|
|
9269
9269
|
height: "full",
|
|
@@ -9342,7 +9342,7 @@ function ah({ elements: e, title: t, description: n, resourceHeader: r, defaultV
|
|
|
9342
9342
|
hideActionBar: !0
|
|
9343
9343
|
},
|
|
9344
9344
|
sections: _
|
|
9345
|
-
}) : /* @__PURE__ */ X(
|
|
9345
|
+
}) : /* @__PURE__ */ X(ko, {
|
|
9346
9346
|
display: "flex",
|
|
9347
9347
|
flexDirection: "column",
|
|
9348
9348
|
justifyContent: "center",
|
|
@@ -9360,7 +9360,7 @@ function ah({ elements: e, title: t, description: n, resourceHeader: r, defaultV
|
|
|
9360
9360
|
//#endregion
|
|
9361
9361
|
//#region src/domains/talent/surveys/surveys/SurveySampleQuestion/SurveySampleQuestion.tsx
|
|
9362
9362
|
function oh(e) {
|
|
9363
|
-
return /* @__PURE__ */ Z(
|
|
9363
|
+
return /* @__PURE__ */ Z(ko, {
|
|
9364
9364
|
display: "flex",
|
|
9365
9365
|
flexDirection: "column",
|
|
9366
9366
|
gap: "lg",
|
|
@@ -9378,21 +9378,21 @@ function oh(e) {
|
|
|
9378
9378
|
});
|
|
9379
9379
|
}
|
|
9380
9380
|
function sh({ steps: e, minLabel: t, maxLabel: n }) {
|
|
9381
|
-
return /* @__PURE__ */ Z(
|
|
9381
|
+
return /* @__PURE__ */ Z(ko, {
|
|
9382
9382
|
display: "flex",
|
|
9383
9383
|
flexDirection: "column",
|
|
9384
9384
|
gap: "sm",
|
|
9385
|
-
children: [/* @__PURE__ */ X(
|
|
9385
|
+
children: [/* @__PURE__ */ X(ko, {
|
|
9386
9386
|
display: "grid",
|
|
9387
9387
|
columns: String(e),
|
|
9388
9388
|
gap: "sm",
|
|
9389
|
-
children: Array.from({ length: e }).map((e, t) => /* @__PURE__ */ X(
|
|
9389
|
+
children: Array.from({ length: e }).map((e, t) => /* @__PURE__ */ X(ko, {
|
|
9390
9390
|
height: "8",
|
|
9391
9391
|
border: "default",
|
|
9392
9392
|
borderRadius: "md",
|
|
9393
9393
|
background: "primary"
|
|
9394
9394
|
}, t))
|
|
9395
|
-
}), t || n ? /* @__PURE__ */ Z(
|
|
9395
|
+
}), t || n ? /* @__PURE__ */ Z(ko, {
|
|
9396
9396
|
display: "flex",
|
|
9397
9397
|
justifyContent: "between",
|
|
9398
9398
|
alignItems: "center",
|
|
@@ -9407,11 +9407,11 @@ function sh({ steps: e, minLabel: t, maxLabel: n }) {
|
|
|
9407
9407
|
});
|
|
9408
9408
|
}
|
|
9409
9409
|
function ch({ options: e }) {
|
|
9410
|
-
return /* @__PURE__ */ X(
|
|
9410
|
+
return /* @__PURE__ */ X(ko, {
|
|
9411
9411
|
display: "flex",
|
|
9412
9412
|
flexDirection: "column",
|
|
9413
9413
|
gap: "md",
|
|
9414
|
-
children: e.map((e) => /* @__PURE__ */ Z(
|
|
9414
|
+
children: e.map((e) => /* @__PURE__ */ Z(ko, {
|
|
9415
9415
|
display: "flex",
|
|
9416
9416
|
alignItems: "center",
|
|
9417
9417
|
gap: "md",
|
|
@@ -9420,7 +9420,7 @@ function ch({ options: e }) {
|
|
|
9420
9420
|
border: "default",
|
|
9421
9421
|
borderRadius: "md",
|
|
9422
9422
|
background: "primary",
|
|
9423
|
-
children: [/* @__PURE__ */ X(
|
|
9423
|
+
children: [/* @__PURE__ */ X(ko, {
|
|
9424
9424
|
shrink: !1,
|
|
9425
9425
|
width: "4",
|
|
9426
9426
|
height: "4",
|
|
@@ -9464,7 +9464,7 @@ var lh = ({ benefits: e }) => /* @__PURE__ */ X("div", {
|
|
|
9464
9464
|
children: [
|
|
9465
9465
|
/* @__PURE__ */ Z("div", {
|
|
9466
9466
|
className: "flex flex-row items-center gap-2",
|
|
9467
|
-
children: [a ? /* @__PURE__ */ X(
|
|
9467
|
+
children: [a ? /* @__PURE__ */ X(wo, { module: a }) : null, o ? /* @__PURE__ */ X("p", {
|
|
9468
9468
|
className: "text-base font-medium text-f1-foreground",
|
|
9469
9469
|
children: o
|
|
9470
9470
|
}) : null]
|
|
@@ -9499,26 +9499,26 @@ function ph({ isOpen: e, onClose: t, title: n, children: r, module: i, portalCon
|
|
|
9499
9499
|
let [o, s] = J(e);
|
|
9500
9500
|
return G(() => {
|
|
9501
9501
|
s(e);
|
|
9502
|
-
}, [e]), /* @__PURE__ */ X(
|
|
9502
|
+
}, [e]), /* @__PURE__ */ X(Ja, {
|
|
9503
9503
|
open: o,
|
|
9504
9504
|
onOpenChange: (e) => {
|
|
9505
9505
|
s(e), e || t();
|
|
9506
9506
|
},
|
|
9507
9507
|
modal: !0,
|
|
9508
|
-
children: /* @__PURE__ */ Z(
|
|
9508
|
+
children: /* @__PURE__ */ Z(aa, {
|
|
9509
9509
|
className: "max-h-[620px] w-[760px] overflow-y-auto overflow-x-hidden bg-f1-background",
|
|
9510
9510
|
container: a,
|
|
9511
9511
|
children: [/* @__PURE__ */ Z("div", {
|
|
9512
9512
|
className: "flex flex-row items-center justify-between px-4 py-4",
|
|
9513
|
-
children: [/* @__PURE__ */ Z(
|
|
9513
|
+
children: [/* @__PURE__ */ Z(na, {
|
|
9514
9514
|
className: "flex flex-row items-center gap-2 text-lg font-semibold text-f1-foreground",
|
|
9515
|
-
children: [i ? /* @__PURE__ */ X(
|
|
9515
|
+
children: [i ? /* @__PURE__ */ X(wo, {
|
|
9516
9516
|
module: i,
|
|
9517
9517
|
size: "md"
|
|
9518
9518
|
}) : null, n]
|
|
9519
9519
|
}), /* @__PURE__ */ X(ir, {
|
|
9520
9520
|
variant: "outline",
|
|
9521
|
-
icon:
|
|
9521
|
+
icon: Fr,
|
|
9522
9522
|
onClick: t,
|
|
9523
9523
|
label: "Close modal",
|
|
9524
9524
|
hideLabel: !0
|
|
@@ -9608,14 +9608,14 @@ function gh({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
|
|
|
9608
9608
|
o && o(!l);
|
|
9609
9609
|
}, [o, l]);
|
|
9610
9610
|
let f = e?.includes(".mp4");
|
|
9611
|
-
return /* @__PURE__ */ X(Y, { children: l ? null : /* @__PURE__ */ Z(
|
|
9611
|
+
return /* @__PURE__ */ X(Y, { children: l ? null : /* @__PURE__ */ Z(ta, {
|
|
9612
9612
|
style: { width: a },
|
|
9613
9613
|
className: "relative bg-f1-background p-1",
|
|
9614
|
-
children: [/* @__PURE__ */ Z(
|
|
9614
|
+
children: [/* @__PURE__ */ Z(ua, { children: [i ? /* @__PURE__ */ X("div", {
|
|
9615
9615
|
className: "absolute right-2 top-2 z-10",
|
|
9616
9616
|
children: /* @__PURE__ */ X(R, {
|
|
9617
9617
|
variant: "ghost",
|
|
9618
|
-
icon:
|
|
9618
|
+
icon: Fr,
|
|
9619
9619
|
size: "sm",
|
|
9620
9620
|
hideLabel: !0,
|
|
9621
9621
|
onClick: d,
|
|
@@ -9641,7 +9641,7 @@ function gh({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
|
|
|
9641
9641
|
className: "line-clamp-3 text-base font-normal text-f1-foreground-secondary",
|
|
9642
9642
|
children: n
|
|
9643
9643
|
})]
|
|
9644
|
-
})] })] }), s ? /* @__PURE__ */ X(
|
|
9644
|
+
})] })] }), s ? /* @__PURE__ */ X(Fi, {
|
|
9645
9645
|
className: "p-3",
|
|
9646
9646
|
children: s.map((e) => e.type === "upsell" ? /* @__PURE__ */ X(C, {
|
|
9647
9647
|
label: e.label,
|
|
@@ -9664,7 +9664,7 @@ function gh({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
|
|
|
9664
9664
|
var _h = z(gh), vh = ({ onDismiss: e }) => {
|
|
9665
9665
|
let { actions: t } = B();
|
|
9666
9666
|
return /* @__PURE__ */ X(R, {
|
|
9667
|
-
icon:
|
|
9667
|
+
icon: Fr,
|
|
9668
9668
|
label: t.close,
|
|
9669
9669
|
hideLabel: !0,
|
|
9670
9670
|
variant: "outline",
|
|
@@ -9755,7 +9755,7 @@ xh.displayName = "UpsellingBanner";
|
|
|
9755
9755
|
var Sh = z(xh);
|
|
9756
9756
|
//#endregion
|
|
9757
9757
|
//#region src/domains/growth/upselling/UpsellingKit/UpsellingPopover/UpsellingPopover.tsx
|
|
9758
|
-
function Ch({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i = "md", showIcon: a = !0, side: o = "right", align: s = "center", icon: c =
|
|
9758
|
+
function Ch({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i = "md", showIcon: a = !0, side: o = "right", align: s = "center", icon: c = Oa, mediaUrl: l, title: u, description: d, width: f = "300px", trackVisibility: p, actions: m, onClick: h, hideLabel: g = !1 }) {
|
|
9759
9759
|
let [_, v] = J(!1), [y, b] = J(null), [x, S] = J(null), C = (e) => {
|
|
9760
9760
|
t(e), h && h();
|
|
9761
9761
|
}, w = async (e) => {
|
|
@@ -9815,9 +9815,9 @@ function Ch({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i
|
|
|
9815
9815
|
}
|
|
9816
9816
|
var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r, actionHref: i }) => {
|
|
9817
9817
|
let a = B(), o = a?.ai?.growth?.demoCard?.title ?? "Show {{moduleName}} in action", s = a?.ai?.growth?.demoCard?.actionLabel ?? "Start demo", c = o.replace("{{moduleName}}", t);
|
|
9818
|
-
return /* @__PURE__ */ Z(
|
|
9818
|
+
return /* @__PURE__ */ Z(ta, {
|
|
9819
9819
|
className: "flex flex-col overflow-hidden",
|
|
9820
|
-
children: [/* @__PURE__ */ Z(
|
|
9820
|
+
children: [/* @__PURE__ */ Z(ua, {
|
|
9821
9821
|
className: "flex flex-col gap-4 p-0",
|
|
9822
9822
|
children: [/* @__PURE__ */ X("div", {
|
|
9823
9823
|
className: H("overflow-hidden rounded-lg border border-f1-border", "ring-1 ring-f1-border/50 bg-f1-background-inverse-secondary dark:bg-f1-background-tertiary"),
|
|
@@ -9832,7 +9832,7 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9832
9832
|
children: n
|
|
9833
9833
|
})]
|
|
9834
9834
|
})]
|
|
9835
|
-
}), /* @__PURE__ */ X(
|
|
9835
|
+
}), /* @__PURE__ */ X(Fi, {
|
|
9836
9836
|
className: "-mx-4 -mb-4 mt-4 flex justify-end rounded-b-xl border-0 border-t border-t-f1-border bg-f1-background-secondary px-4 py-3",
|
|
9837
9837
|
children: i ? /* @__PURE__ */ X(R, {
|
|
9838
9838
|
variant: "default",
|
|
@@ -9863,7 +9863,7 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9863
9863
|
}), /* @__PURE__ */ X("span", {
|
|
9864
9864
|
className: "mt-0.5 flex-shrink-0 text-f1-foreground-secondary",
|
|
9865
9865
|
children: /* @__PURE__ */ X(V, {
|
|
9866
|
-
icon: t ?
|
|
9866
|
+
icon: t ? Ao : Yo,
|
|
9867
9867
|
size: "sm",
|
|
9868
9868
|
className: H("transition-transform duration-200", t && "text-f1-foreground")
|
|
9869
9869
|
})
|
|
@@ -9879,7 +9879,7 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9879
9879
|
})
|
|
9880
9880
|
})]
|
|
9881
9881
|
}), Dh = ({ headerIcon: e, items: t, defaultExpandedId: n, expandedId: r, onExpandedChange: i, allowMultiple: a = !1 }) => {
|
|
9882
|
-
let o = B()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", s = e ??
|
|
9882
|
+
let o = B()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", s = e ?? go, [c, l] = J(() => new Set(n ? [n] : [])), u = r !== void 0, d = W((e) => u ? r === e : c.has(e), [
|
|
9883
9883
|
u,
|
|
9884
9884
|
r,
|
|
9885
9885
|
c
|
|
@@ -9894,9 +9894,9 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9894
9894
|
i,
|
|
9895
9895
|
a
|
|
9896
9896
|
]);
|
|
9897
|
-
return t.length === 0 ? null : /* @__PURE__ */ Z(
|
|
9897
|
+
return t.length === 0 ? null : /* @__PURE__ */ Z(ta, {
|
|
9898
9898
|
className: "flex flex-col overflow-hidden",
|
|
9899
|
-
children: [/* @__PURE__ */ Z(
|
|
9899
|
+
children: [/* @__PURE__ */ Z(Hi, {
|
|
9900
9900
|
className: "-mx-4 -mt-4 mb-2 flex flex-row items-center gap-2 rounded-t-xl bg-f1-background-secondary px-4 py-3",
|
|
9901
9901
|
children: [/* @__PURE__ */ X("div", {
|
|
9902
9902
|
className: "flex h-6 w-6 items-center justify-center rounded-full border border-f1-border-secondary",
|
|
@@ -9909,7 +9909,7 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9909
9909
|
className: "text-base font-semibold text-f1-foreground",
|
|
9910
9910
|
children: o
|
|
9911
9911
|
})]
|
|
9912
|
-
}), /* @__PURE__ */ X(
|
|
9912
|
+
}), /* @__PURE__ */ X(ua, {
|
|
9913
9913
|
className: "flex flex-col divide-y divide-f1-border p-0",
|
|
9914
9914
|
children: t.map((e) => /* @__PURE__ */ X(Eh, {
|
|
9915
9915
|
item: e,
|
|
@@ -9920,9 +9920,9 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9920
9920
|
});
|
|
9921
9921
|
}, Oh = ({ moduleName: e, description: t, onAction: n, actionHref: r, imageSrc: i }) => {
|
|
9922
9922
|
let a = B()?.ai?.growth?.moduleCard?.actionLabel ?? "Learn more";
|
|
9923
|
-
return /* @__PURE__ */ Z(
|
|
9923
|
+
return /* @__PURE__ */ Z(ta, {
|
|
9924
9924
|
className: "flex flex-col overflow-hidden",
|
|
9925
|
-
children: [/* @__PURE__ */ X(
|
|
9925
|
+
children: [/* @__PURE__ */ X(ua, {
|
|
9926
9926
|
className: "flex flex-col gap-3 p-0",
|
|
9927
9927
|
children: /* @__PURE__ */ Z("div", {
|
|
9928
9928
|
className: "flex items-start gap-3",
|
|
@@ -9944,7 +9944,7 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9944
9944
|
})]
|
|
9945
9945
|
})]
|
|
9946
9946
|
})
|
|
9947
|
-
}), /* @__PURE__ */ X(
|
|
9947
|
+
}), /* @__PURE__ */ X(Fi, {
|
|
9948
9948
|
className: "-mx-4 -mb-4 mt-4 flex justify-end rounded-b-xl border-0 border-t border-t-f1-border bg-f1-background-secondary px-4 py-3",
|
|
9949
9949
|
children: r ? /* @__PURE__ */ X(R, {
|
|
9950
9950
|
variant: "outline",
|
|
@@ -9962,12 +9962,12 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9962
9962
|
});
|
|
9963
9963
|
}, kh = ({ onAction: e, actionHref: t }) => {
|
|
9964
9964
|
let n = B()?.ai?.growth?.bookAMeetingCard, r = n?.title ?? "Talk with an expert", i = n?.schedule ?? "Mon-Fri · 09:00-21:00 (CEST)", a = n?.actionLabel ?? "Book a meeting";
|
|
9965
|
-
return /* @__PURE__ */ Z(
|
|
9965
|
+
return /* @__PURE__ */ Z(ta, {
|
|
9966
9966
|
className: "flex flex-col overflow-hidden",
|
|
9967
|
-
children: [/* @__PURE__ */ Z(
|
|
9967
|
+
children: [/* @__PURE__ */ Z(ua, {
|
|
9968
9968
|
className: "flex flex-col gap-3 p-0",
|
|
9969
9969
|
children: [/* @__PURE__ */ X(V, {
|
|
9970
|
-
icon:
|
|
9970
|
+
icon: Ki,
|
|
9971
9971
|
size: "lg"
|
|
9972
9972
|
}), /* @__PURE__ */ Z("div", {
|
|
9973
9973
|
className: "flex flex-col gap-0.5",
|
|
@@ -9979,7 +9979,7 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9979
9979
|
children: i
|
|
9980
9980
|
})]
|
|
9981
9981
|
})]
|
|
9982
|
-
}), /* @__PURE__ */ X(
|
|
9982
|
+
}), /* @__PURE__ */ X(Fi, {
|
|
9983
9983
|
className: "-mx-4 -mb-4 mt-4 flex justify-end rounded-b-xl border-0 border-t border-t-f1-border bg-f1-background-secondary px-4 py-3",
|
|
9984
9984
|
children: t ? /* @__PURE__ */ X(R, {
|
|
9985
9985
|
variant: "default",
|
|
@@ -10025,9 +10025,9 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
10025
10025
|
e,
|
|
10026
10026
|
t
|
|
10027
10027
|
]), g = a === u - 1, _ = u > 1, v = n != null;
|
|
10028
|
-
return u === 0 || !d ? null : /* @__PURE__ */ Z(
|
|
10028
|
+
return u === 0 || !d ? null : /* @__PURE__ */ Z(ta, {
|
|
10029
10029
|
className: "flex flex-col overflow-hidden",
|
|
10030
|
-
children: [/* @__PURE__ */ Z(
|
|
10030
|
+
children: [/* @__PURE__ */ Z(ua, {
|
|
10031
10031
|
className: "flex flex-col gap-4",
|
|
10032
10032
|
children: [/* @__PURE__ */ X("h3", {
|
|
10033
10033
|
className: "text-base font-semibold text-f1-foreground",
|
|
@@ -10044,7 +10044,7 @@ var wh = z(Ch), Th = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
10044
10044
|
})
|
|
10045
10045
|
}, e.id))
|
|
10046
10046
|
})]
|
|
10047
|
-
}), /* @__PURE__ */ Z(
|
|
10047
|
+
}), /* @__PURE__ */ Z(Fi, {
|
|
10048
10048
|
className: "-mx-4 -mb-4 mt-4 flex items-center justify-between rounded-b-xl border-0 border-t border-t-f1-border bg-f1-background-secondary px-4 py-3",
|
|
10049
10049
|
children: [/* @__PURE__ */ X("div", {
|
|
10050
10050
|
className: "flex min-w-[7.5rem] items-center justify-start gap-1",
|
|
@@ -10508,7 +10508,7 @@ function dg(e, t) {
|
|
|
10508
10508
|
n.href = URL.createObjectURL(e), n.download = t, n.click(), URL.revokeObjectURL(n.href);
|
|
10509
10509
|
}
|
|
10510
10510
|
async function fg(e, t, n, { keys: r, preamble: i } = {}) {
|
|
10511
|
-
dg(await
|
|
10511
|
+
dg(await ha([{
|
|
10512
10512
|
name: "Data",
|
|
10513
10513
|
rows: lg({
|
|
10514
10514
|
columns: e,
|
|
@@ -10530,7 +10530,7 @@ function mg(e, t, n) {
|
|
|
10530
10530
|
r.href = e, r.download = `${t}.${n}`, r.click();
|
|
10531
10531
|
}
|
|
10532
10532
|
async function hg(e, t) {
|
|
10533
|
-
dg(await
|
|
10533
|
+
dg(await ha(e.map((e) => ({
|
|
10534
10534
|
name: e.name,
|
|
10535
10535
|
rows: lg(e)
|
|
10536
10536
|
}))), `${t}.xlsx`);
|
|
@@ -10591,23 +10591,23 @@ function vg({ chartContainerRef: e, chartConfig: t, data: n, title: r }) {
|
|
|
10591
10591
|
return K(() => n ? [
|
|
10592
10592
|
{
|
|
10593
10593
|
label: i("ai.dataDownload.download", { format: "PNG" }),
|
|
10594
|
-
icon:
|
|
10594
|
+
icon: io,
|
|
10595
10595
|
onClick: () => a("png")
|
|
10596
10596
|
},
|
|
10597
10597
|
{
|
|
10598
10598
|
label: i("ai.dataDownload.download", { format: "JPG" }),
|
|
10599
|
-
icon:
|
|
10599
|
+
icon: io,
|
|
10600
10600
|
onClick: () => a("jpg")
|
|
10601
10601
|
},
|
|
10602
10602
|
{ type: "separator" },
|
|
10603
10603
|
{
|
|
10604
10604
|
label: i("ai.dataDownload.download", { format: "Excel" }),
|
|
10605
|
-
icon:
|
|
10605
|
+
icon: ro,
|
|
10606
10606
|
onClick: s
|
|
10607
10607
|
},
|
|
10608
10608
|
{
|
|
10609
10609
|
label: i("ai.dataDownload.download", { format: "CSV" }),
|
|
10610
|
-
icon:
|
|
10610
|
+
icon: ro,
|
|
10611
10611
|
onClick: c
|
|
10612
10612
|
}
|
|
10613
10613
|
] : [], [
|
|
@@ -10837,7 +10837,7 @@ function Cg({ title: e, enabled: t, actionsCollapse: n }) {
|
|
|
10837
10837
|
//#endregion
|
|
10838
10838
|
//#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/DashboardItem/DashboardItem.tsx
|
|
10839
10839
|
function wg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry: a, skeleton: o, children: s, actions: c = [], itemFilters: l, editMode: u, readOnly: d = !1, handleDelete: f, onAskAi: p, onAskAiTarget: m, itemId: g, chartTypeOptions: _, explanation: v, isFullscreen: y = !1, descriptionAction: b, headerLines: x = 2, fitContent: S = !1, onFullscreenChange: C }) {
|
|
10840
|
-
let [w, T] = J(!1), [E, D] = J(!1), O = q(!1), [k, A] = J(!1), j = B(), { enabled: M, setPendingQuote: N, setOpen: P, focusChatInput: F } =
|
|
10840
|
+
let [w, T] = J(!1), [E, D] = J(!1), O = q(!1), [k, A] = J(!1), j = B(), { enabled: M, setPendingQuote: N, setOpen: P, focusChatInput: F } = yo(), I = (e) => {
|
|
10841
10841
|
T(e), e || A(!1);
|
|
10842
10842
|
}, ee = c.filter((e) => !("type" in e) || e.type === "item" || e.type === void 0), te = ee.length > 0, L = u && f && g, ne = _ && _.length > 0, re = !!v && v.trim().length > 0, ie = !!C, ae = !d && e.trim().length > 0 && (p ? !!g : M), oe = ae || te || L || ne || re, se = !!l || ie || !!oe, ce = !y && (w || E), le = H("flex flex-shrink-0 gap-0.5", !y && "opacity-100 transition-opacity delay-150 duration-150 focus-within:delay-0 group-hover/dashitem:delay-0 sm:[@media(hover:hover)]:opacity-0 focus-within:sm:opacity-100 group-hover/dashitem:sm:opacity-100", ce && "delay-0 !opacity-100"), ue = H("-my-2 -mr-0.5 isolate grid flex-shrink-0", !y && "transition-[grid-template-columns] delay-150 duration-150 focus-within:delay-0 group-hover/dashitem:delay-0 motion-reduce:duration-0 sm:[@media(hover:hover)]:grid-cols-[0fr] focus-within:sm:grid-cols-[1fr] group-hover/dashitem:sm:grid-cols-[1fr]", ce && "delay-0 !grid-cols-[1fr]"), de = Cg({
|
|
10843
10843
|
title: e,
|
|
@@ -10865,7 +10865,7 @@ function wg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
10865
10865
|
onClick: me,
|
|
10866
10866
|
children: /* @__PURE__ */ Z("div", {
|
|
10867
10867
|
className: "flex w-full flex-row items-center gap-2",
|
|
10868
|
-
children: [/* @__PURE__ */ X(V, { icon:
|
|
10868
|
+
children: [/* @__PURE__ */ X(V, { icon: Di }), /* @__PURE__ */ X("span", {
|
|
10869
10869
|
className: "flex-1",
|
|
10870
10870
|
children: j.ai.dashboardItem.askOne
|
|
10871
10871
|
})]
|
|
@@ -10902,7 +10902,7 @@ function wg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
10902
10902
|
asChild: !0,
|
|
10903
10903
|
children: /* @__PURE__ */ X(ir, {
|
|
10904
10904
|
label: j.actions.other,
|
|
10905
|
-
icon:
|
|
10905
|
+
icon: Ni,
|
|
10906
10906
|
variant: "ghost",
|
|
10907
10907
|
size: "md",
|
|
10908
10908
|
hideLabel: !0,
|
|
@@ -10937,7 +10937,7 @@ function wg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
10937
10937
|
"aria-live": r ? "polite" : void 0,
|
|
10938
10938
|
children: [/* @__PURE__ */ Z("div", {
|
|
10939
10939
|
className: H("flex flex-col px-4 py-3", se && "min-h-14"),
|
|
10940
|
-
children: [/* @__PURE__ */ Z(
|
|
10940
|
+
children: [/* @__PURE__ */ Z(ko, {
|
|
10941
10941
|
ref: de.rowRef,
|
|
10942
10942
|
display: "flex",
|
|
10943
10943
|
minWidth: "0",
|
|
@@ -10968,7 +10968,7 @@ function wg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
10968
10968
|
}) : null,
|
|
10969
10969
|
ie ? /* @__PURE__ */ X(ir, {
|
|
10970
10970
|
label: y ? j.actions.collapse : j.actions.expand,
|
|
10971
|
-
icon: y ?
|
|
10971
|
+
icon: y ? va : ka,
|
|
10972
10972
|
variant: "ghost",
|
|
10973
10973
|
size: "md",
|
|
10974
10974
|
hideLabel: !0,
|
|
@@ -10982,7 +10982,7 @@ function wg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
10982
10982
|
asChild: !0,
|
|
10983
10983
|
children: /* @__PURE__ */ X(ir, {
|
|
10984
10984
|
label: j.actions.other,
|
|
10985
|
-
icon:
|
|
10985
|
+
icon: Ni,
|
|
10986
10986
|
variant: "ghost",
|
|
10987
10987
|
size: "md",
|
|
10988
10988
|
hideLabel: !0,
|
|
@@ -10996,7 +10996,7 @@ function wg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
10996
10996
|
onCloseAutoFocus: he,
|
|
10997
10997
|
children: k && re ? /* @__PURE__ */ X("div", {
|
|
10998
10998
|
className: "px-3 py-2 text-base text-f1-foreground [&>div]:flex [&>div]:flex-col [&>div]:gap-2",
|
|
10999
|
-
children: /* @__PURE__ */ X(
|
|
10999
|
+
children: /* @__PURE__ */ X($a, {
|
|
11000
11000
|
content: v,
|
|
11001
11001
|
format: "markdown"
|
|
11002
11002
|
})
|
|
@@ -11039,7 +11039,7 @@ function wg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
11039
11039
|
className: "mx-1 rounded-sm px-2",
|
|
11040
11040
|
children: /* @__PURE__ */ Z("div", {
|
|
11041
11041
|
className: "flex w-full flex-row items-center gap-2 pr-2",
|
|
11042
|
-
children: [/* @__PURE__ */ X(V, { icon:
|
|
11042
|
+
children: [/* @__PURE__ */ X(V, { icon: Qa }), /* @__PURE__ */ X("span", {
|
|
11043
11043
|
className: "flex-1 text-base font-medium",
|
|
11044
11044
|
children: j.ai.dataDownload.title
|
|
11045
11045
|
})]
|
|
@@ -11061,7 +11061,7 @@ function wg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
11061
11061
|
className: H("text-f1-foreground-critical"),
|
|
11062
11062
|
children: /* @__PURE__ */ Z("div", {
|
|
11063
11063
|
className: "flex w-full flex-row items-center gap-2",
|
|
11064
|
-
children: [/* @__PURE__ */ X(V, { icon:
|
|
11064
|
+
children: [/* @__PURE__ */ X(V, { icon: oa }), /* @__PURE__ */ X("span", {
|
|
11065
11065
|
className: "flex-1",
|
|
11066
11066
|
children: j.actions.delete
|
|
11067
11067
|
})]
|
|
@@ -11152,7 +11152,7 @@ function Dg({ anchor: e, onAsk: t, onDismiss: n, returnFocusTo: r }) {
|
|
|
11152
11152
|
type: "button",
|
|
11153
11153
|
variant: "ghost",
|
|
11154
11154
|
label: i.ai.dashboardItem.askOne,
|
|
11155
|
-
icon:
|
|
11155
|
+
icon: Di,
|
|
11156
11156
|
onClick: t
|
|
11157
11157
|
})
|
|
11158
11158
|
}), document.body);
|
|
@@ -11195,39 +11195,39 @@ function Ig(e) {
|
|
|
11195
11195
|
{
|
|
11196
11196
|
label: e.dataChart.barChartVertical,
|
|
11197
11197
|
value: "bar-vertical",
|
|
11198
|
-
icon:
|
|
11198
|
+
icon: Vi,
|
|
11199
11199
|
type: "bar",
|
|
11200
11200
|
orientation: "vertical"
|
|
11201
11201
|
},
|
|
11202
11202
|
{
|
|
11203
11203
|
label: e.dataChart.barChartHorizontal,
|
|
11204
11204
|
value: "bar-horizontal",
|
|
11205
|
-
icon:
|
|
11205
|
+
icon: zi,
|
|
11206
11206
|
type: "bar",
|
|
11207
11207
|
orientation: "horizontal"
|
|
11208
11208
|
},
|
|
11209
11209
|
{
|
|
11210
11210
|
label: e.dataChart.lineChart,
|
|
11211
11211
|
value: "line",
|
|
11212
|
-
icon:
|
|
11212
|
+
icon: Da,
|
|
11213
11213
|
type: "line"
|
|
11214
11214
|
},
|
|
11215
11215
|
{
|
|
11216
11216
|
label: e.dataChart.funnel,
|
|
11217
11217
|
value: "funnel",
|
|
11218
|
-
icon:
|
|
11218
|
+
icon: Xi,
|
|
11219
11219
|
type: "funnel"
|
|
11220
11220
|
},
|
|
11221
11221
|
{
|
|
11222
11222
|
label: e.dataChart.pieChart,
|
|
11223
11223
|
value: "pie",
|
|
11224
|
-
icon:
|
|
11224
|
+
icon: ba,
|
|
11225
11225
|
type: "pie"
|
|
11226
11226
|
},
|
|
11227
11227
|
{
|
|
11228
11228
|
label: e.dataChart.table,
|
|
11229
11229
|
value: "table",
|
|
11230
|
-
icon:
|
|
11230
|
+
icon: ro,
|
|
11231
11231
|
type: "table"
|
|
11232
11232
|
}
|
|
11233
11233
|
];
|
|
@@ -11395,7 +11395,7 @@ function Ug(e) {
|
|
|
11395
11395
|
return Rh(e.chart) && e.chart.type === "bar" && "orientation" in e.chart && e.chart.orientation === "horizontal";
|
|
11396
11396
|
}
|
|
11397
11397
|
function Wg({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, readOnly: a, handleDelete: o, onAskAi: s, onAskAiTarget: c, onTransformChart: l, isFullscreen: u, onFullscreenChange: d }) {
|
|
11398
|
-
let f = B(), [p, m] = J("chart"), { enabled: h, setPendingQuote: g, setOpen: _, focusChatInput: v } =
|
|
11398
|
+
let f = B(), [p, m] = J("chart"), { enabled: h, setPendingQuote: g, setOpen: _, focusChatInput: v } = yo(), y = !Rh(e.chart), b = y ? Lg : e.chart, [x, S] = J(null), C = e.useDashboardFilters !== !1, w = JSON.stringify(r?.value ?? {}), { data: T, isLoading: E, error: D, retry: O } = yg(e.fetchData, t, C, w), k = q(null), A = K(() => T && !y ? Bg(e, T) : void 0, [
|
|
11399
11399
|
e,
|
|
11400
11400
|
T,
|
|
11401
11401
|
y
|
|
@@ -11620,11 +11620,11 @@ function Qg({ source: e, title: t, description: n, columns: r, tableSettings: i
|
|
|
11620
11620
|
]), l = W(() => c("excel"), [c]), u = W(() => c("csv"), [c]);
|
|
11621
11621
|
return K(() => e ? [{
|
|
11622
11622
|
label: a("ai.dataDownload.download", { format: "Excel" }),
|
|
11623
|
-
icon:
|
|
11623
|
+
icon: ro,
|
|
11624
11624
|
onClick: l
|
|
11625
11625
|
}, {
|
|
11626
11626
|
label: a("ai.dataDownload.download", { format: "CSV" }),
|
|
11627
|
-
icon:
|
|
11627
|
+
icon: ro,
|
|
11628
11628
|
onClick: u
|
|
11629
11629
|
}] : [], [
|
|
11630
11630
|
e,
|
|
@@ -11952,7 +11952,7 @@ function p_({ items: e, itemFilters: t, filters: n, editMode: r, readOnly: i, on
|
|
|
11952
11952
|
if (Math.hypot(t.clientX - n, t.clientY - r) < c_) return;
|
|
11953
11953
|
i = !0, T(e), N.current = Array.from(document.querySelectorAll("[data-ai-chat-dropzone]"));
|
|
11954
11954
|
let a = k.current.get(e)?.title ?? "";
|
|
11955
|
-
a && window.dispatchEvent(new CustomEvent(
|
|
11955
|
+
a && window.dispatchEvent(new CustomEvent(Xa, { detail: {
|
|
11956
11956
|
id: e,
|
|
11957
11957
|
title: a,
|
|
11958
11958
|
onAskAi: c,
|
|
@@ -11966,7 +11966,7 @@ function p_({ items: e, itemFilters: t, filters: n, editMode: r, readOnly: i, on
|
|
|
11966
11966
|
}, o = (e) => {
|
|
11967
11967
|
document.removeEventListener("pointermove", a), document.removeEventListener("pointerup", s), document.removeEventListener("pointercancel", u), P.current = null;
|
|
11968
11968
|
let t = A.current, n = j.current;
|
|
11969
|
-
e && i && t && n && F(t, n), A.current = null, j.current = null, N.current = [], T(null), D(null), i && window.dispatchEvent(new CustomEvent(
|
|
11969
|
+
e && i && t && n && F(t, n), A.current = null, j.current = null, N.current = [], T(null), D(null), i && window.dispatchEvent(new CustomEvent(ca));
|
|
11970
11970
|
}, s = (e) => {
|
|
11971
11971
|
i && (N.current = Array.from(document.querySelectorAll("[data-ai-chat-dropzone]")), j.current = I(e.clientX, e.clientY)), o(!0);
|
|
11972
11972
|
}, u = () => o(!1);
|
|
@@ -12144,7 +12144,7 @@ function m_({ id: e, isDragging: t, showIndicatorBefore: n, showIndicatorAfter:
|
|
|
12144
12144
|
className: "shadow-sm absolute -left-3 top-2.5 z-20 flex cursor-grab touch-none items-center justify-center rounded bg-f1-background p-2 opacity-0 transition-opacity hover:bg-f1-background-hover active:cursor-grabbing group-hover/rowitem:opacity-100",
|
|
12145
12145
|
"aria-label": "Drag to reorder",
|
|
12146
12146
|
children: /* @__PURE__ */ X(V, {
|
|
12147
|
-
icon:
|
|
12147
|
+
icon: Ua,
|
|
12148
12148
|
size: "xs"
|
|
12149
12149
|
})
|
|
12150
12150
|
}) : null, s]
|
|
@@ -12314,13 +12314,13 @@ function O_({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, read
|
|
|
12314
12314
|
//#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/ExportDropdown/ExportDropdown.tsx
|
|
12315
12315
|
function k_({ onExportExcel: e, isExporting: t }) {
|
|
12316
12316
|
let { t: n } = B();
|
|
12317
|
-
return /* @__PURE__ */ X(
|
|
12317
|
+
return /* @__PURE__ */ X(ho, {
|
|
12318
12318
|
items: [{
|
|
12319
12319
|
label: t ? n("ai.dataDownload.exporting") : n("ai.dataDownload.exportDashboard", { format: "Excel" }),
|
|
12320
|
-
icon:
|
|
12320
|
+
icon: Qa,
|
|
12321
12321
|
onClick: t ? () => {} : e
|
|
12322
12322
|
}],
|
|
12323
|
-
icon:
|
|
12323
|
+
icon: Ni
|
|
12324
12324
|
});
|
|
12325
12325
|
}
|
|
12326
12326
|
//#endregion
|
|
@@ -13286,7 +13286,7 @@ var wv = ({ onClose: e }) => {
|
|
|
13286
13286
|
className: "dark flex-shrink-0",
|
|
13287
13287
|
children: /* @__PURE__ */ X(R, {
|
|
13288
13288
|
variant: "outline",
|
|
13289
|
-
icon:
|
|
13289
|
+
icon: Fr,
|
|
13290
13290
|
size: "sm",
|
|
13291
13291
|
hideLabel: !0,
|
|
13292
13292
|
onClick: e,
|
|
@@ -13303,7 +13303,7 @@ var wv = ({ onClose: e }) => {
|
|
|
13303
13303
|
className: "dark flex flex-shrink-0 flex-row flex-wrap items-center gap-3",
|
|
13304
13304
|
children: [e.map((e) => /* @__PURE__ */ X("div", {
|
|
13305
13305
|
onClick: () => n(e),
|
|
13306
|
-
children: /* @__PURE__ */ X(
|
|
13306
|
+
children: /* @__PURE__ */ X(Yi, {
|
|
13307
13307
|
href: e.href,
|
|
13308
13308
|
children: e.label
|
|
13309
13309
|
})
|
|
@@ -13371,7 +13371,7 @@ var wv = ({ onClose: e }) => {
|
|
|
13371
13371
|
}) : g && /* @__PURE__ */ X("div", {
|
|
13372
13372
|
className: "flex-shrink-0",
|
|
13373
13373
|
"aria-hidden": "true",
|
|
13374
|
-
children: /* @__PURE__ */ X(
|
|
13374
|
+
children: /* @__PURE__ */ X(Ia, {
|
|
13375
13375
|
type: g,
|
|
13376
13376
|
size: "sm"
|
|
13377
13377
|
})
|
|
@@ -13697,7 +13697,7 @@ var Rv = H("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
|
|
|
13697
13697
|
...t,
|
|
13698
13698
|
children: /* @__PURE__ */ X(tr, { children: /* @__PURE__ */ X(St, {
|
|
13699
13699
|
initiallyEnabled: n,
|
|
13700
|
-
children: /* @__PURE__ */ X(
|
|
13700
|
+
children: /* @__PURE__ */ X(Eo, {
|
|
13701
13701
|
...r,
|
|
13702
13702
|
children: e
|
|
13703
13703
|
})
|
|
@@ -13734,9 +13734,9 @@ var Rv = H("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
|
|
|
13734
13734
|
renderDataTestIdAttribute: d,
|
|
13735
13735
|
children: /* @__PURE__ */ X(ly, {
|
|
13736
13736
|
...t,
|
|
13737
|
-
children: /* @__PURE__ */ X(
|
|
13737
|
+
children: /* @__PURE__ */ X(ji, {
|
|
13738
13738
|
handler: l,
|
|
13739
|
-
children: /* @__PURE__ */ X(
|
|
13739
|
+
children: /* @__PURE__ */ X(Br, { children: /* @__PURE__ */ X(lt, {
|
|
13740
13740
|
...p,
|
|
13741
13741
|
children: /* @__PURE__ */ X(uy.Provider, {
|
|
13742
13742
|
value: f,
|
|
@@ -13753,4 +13753,4 @@ var Rv = H("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
|
|
|
13753
13753
|
})
|
|
13754
13754
|
});
|
|
13755
13755
|
//#endregion
|
|
13756
|
-
export {
|
|
13756
|
+
export { $r as AiChatTranslationsProvider, Xt as AreaChart, dc as Await, cn as BarChart, yt as BarChartSkeleton, t as CardSelectableContainer, ze as CategoryBarChart, da as ChatSpinner, qo as Chip, di as CollapsibleGroup, rn as ComboChart, ct as DATA_COLLECTION_URL_PARAMS, rt as DATA_COLLECTION_URL_PARAM_PREFIX, Ll as Dashboard, Pe as DataChartEmptyStateView, $n as DataTestIdWrapper, vt as DndProvider, ea as DropOverlay, xn as EmojiImage, Md as F0Accordion, wt as F0ActionBar, sa as F0ActionItem, Pi as F0AiChat, ei as F0AiChatCreditsButton, ci as F0AiChatHeader, ai as F0AiChatHistory, Mi as F0AiChatProvider, Vr as F0AiChatTextArea, Ur as F0AiChatUsageLimitsButton, Xr as F0AiFileAttachments, po as F0AiFilePreviewsProvider, Wi as F0AiFormRegistryProvider, li as F0AiInsightCard, Zr as F0AiMask, ti as F0AiMessageSources, Rr as F0AiMessagesContainer, Ti as F0AiPong, hi as F0AiProcessingOverlay, ni as F0AiProposalCard, gi as F0AiTableCard, un as F0Alert, z_ as F0AnalyticsDashboard, Td as F0AudioPlayer, Ed as F0AudioPlayerCard, ri as F0AuraVoiceAnimation, Uo as F0Avatar, Ia as F0AvatarAlert, Lo as F0AvatarCompany, co as F0AvatarDate, Do as F0AvatarEmoji, Co as F0AvatarFile, So as F0AvatarIcon, Ro as F0AvatarList, wo as F0AvatarModule, Oo as F0AvatarPerson, Ho as F0AvatarTeam, au as F0BigNumber, kh as F0BookAMeetingCard, ko as F0Box, R as F0Button, Ma as F0ButtonDropdown, cc as F0ButtonToggle, si as F0CanvasCard, uo as F0CanvasPanel, Ui as F0Card, ia as F0CardRow, xa as F0ChatComposer, Ds as F0Checkbox, Id as F0ChipList, _i as F0ClarifyingPanel, dt as F0DataChart, _e as F0DatePicker, i as F0DatePickerInline, Th as F0DemoCard, Ka as F0Dialog, m as F0DialogAlikeContext, S as F0DialogAlikeProvider, is as F0DialogContext, Xs as F0DialogProvider, bc as F0DocumentViewer, Wd as F0Drawer, ht as F0DurationInput, oc as F0EventCatcherProvider, Dh as F0FAQCard, Ei as F0FileItem, qd as F0FilterPickerContent, fe as F0Form, cf as F0FormField, Dl as F0GridStack, ii as F0HILActionConfirmation, Qt as F0Heading, V as F0Icon, Yi as F0Link, Oh as F0ModuleCard, on as F0NotesTextEditor, Le as F0NotesTextEditorSkeleton, u as F0NumberInput, f as F0NumberInputInline, la as F0OneIcon, eo as F0OneSwitch, yc as F0PdfViewer, fy as F0Provider, Ah as F0QuestionCardMultiStep, $a as F0RichTextDisplay, ft as F0RichTextEditor, Us as F0SearchInput, tc as F0Select, n as F0SelectInline, Yf as F0Slider, lp as F0TableOfContentPopover, fs as F0TagAlert, $o as F0TagBalance, hs as F0TagCompany, ds as F0TagDot, Ys as F0TagList, ls as F0TagPerson, Rs as F0TagRaw, Jo as F0TagStatus, Ls as F0TagTeam, Ir as F0Text, $t as F0TextAreaInput, s as F0TextAreaInputInline, Gi as F0TextInput, le as F0TextInputInline, o as F0TimelineRow, _c as F0VideoPlayer, jf as F0WizardForm, Ns as F1SearchBox, P as FILE_TYPES, Ya as FileItem, Br as FormCardValueFormatterProvider, Kt as FunnelChartSkeleton, No as GROUP_ID_SYMBOL, Vo as GROUP_KEY_SEPARATOR, qe as GaugeChartSkeleton, $e as HeatmapChartSkeleton, $l as HomeLayout, kt as InlineFieldRow, bt as InlineFieldRowList, ja as Input, Xl as Layout, ue as LineChart, At as LineChartSkeleton, Fe as MAX_URL_FILTER_VALUES, tn as NotesTextEditor, ce as NotesTextEditorSkeleton, ee as NumberInput, js as OneCalendar, Ss as OneCalendarInternal, On as OneEllipsis, h as OneEmptyState, Zs as OneFilterPicker, c as PieChart, xt as PieChartSkeleton, qa as PongBall, St as PrivacyModeProvider, fh as ProductBlankslate, et as ProductCard, hh as ProductModal, _h as ProductWidget, en as ProgressBarChart, me as RadarChart, st as RadarChartSkeleton, Wa as RichTextDisplay, M as RichTextEditor, nt as ScatterChartSkeleton, Zl as StandardLayout, Im as SurveyAllQuestionsLoadingSkeleton, rh as SurveyAnsweringForm, Om as SurveyFormBuilder, oh as SurveySampleQuestion, Lm as SurveySteppedLoadingSkeleton, Bs as Tag, Gs as TagCounter, pe as Textarea, mi as ThreadItem, Qr as ThreadListSkeleton, oy as ToastProvider, Ql as TwoColumnLayout, te as UPLOAD_INPUT_ID, j as UpsellRequestResponseDialog, bh as UpsellingAlert, Sh as UpsellingBanner, C as UpsellingButton, wh as UpsellingPopover, p as VerticalBarChart, Ts as WeekStartDay, It as actionBarStatuses, xi as actionItemStatuses, Ii as adaptDataAdapterToInfiniteScroll, Lr as aiChatFileFromShowFilesItem, oi as aiChatFileFromUploadedFile, Wr as aiChatFilesFromMessage, Gr as aiChatMessageText, Yr as aiTranslations, zd as alertVariantOptions, lu as audioPlayerSizes, eu as avatarVariants, Zt as buildDataCollectionUrlParams, Fn as buildTranslations, cu as buttonDropdownModes, su as buttonDropdownSizes, ou as buttonDropdownVariants, Nl as buttonSizes, Ce as buttonToggleColors, ke as buttonToggleSizes, re as buttonToggleVariants, Ml as buttonVariants, Nd as cardAlertVariants, pa as cardImageAspectRatios, bo as cardImageFits, ki as cardImageSizes, Ko as chartColorTokens, sc as chipVariants, mp as computeSectionEndIds, vc as configurePdfWorker, fi as contentTypes, Gt as createAtlaskitDriver, _s as createDataSourceDefinition, Zd as createF0FormDefinitionTester, Xd as createF0FormTester, Al as createPageLayoutBlock, jl as createPageLayoutBlockGroup, Hr as createPersonMentionSource, Bd as dataCollectionLocalStorageHandler, Ld as datePickerInlineDismissReasons, Rd as datepickerSizes, xo as defaultTranslations, $i as defineAvailableForm, Jd as describeFormSchema, O as dialog, O as dialogs, Nt as drawers, to as durationInputSizes, so as durationUnits, Yt as evaluateRenderIf, Zn as experimental, ra as f0FileItemSizes, Zi as f0FormField, Si as fieldsToSeconds, up as flattenElements, du as formatPlaybackTime, Lf as forms, tt as generateAnchorId, vs as getAnimationVariants, ga as getDataCollectionStorageKey, ys as getDataSourcePaginationType, Cn as getEmojiLabel, oo as getF0Config, ic as getGranularityDefinition, ks as getGranularityDefinitions, lc as getGranularitySimpleDefinition, sn as getSchemaDefinition, nc as granularityDefinitions, qi as hasF0Config, Na as inferFieldType, pp as injectSectionEnds, zo as isInfiniteScrollPagination, Bo as isPageBasedPagination, Aa as isZodType, Dd as linkVariants, qr as markdownRenderers, vo as mergeDataCollectionFilters, To as modules, Jr as oneIconSizes, ln as parseDataCollectionUrlParams, Rf as pdfScales, Te as predefinedPresets, ec as rangeSeparator, Ra as readDataCollectionStorage, fp as reconstructElements, _o as resolveDataCollectionFilters, Ks as resolveGranularityDefinition, w as resolveItemNeighbors, E as resolveWindowNeighbors, Ba as secondsToFields, fo as secondsToVisibleFields, zf as selectInlineDismissReasons, y as selectSizes, he as selectVariants, Be as setDataCollectionUrlParams, Bf as sliderTooltipModes, an as syncDataCollectionUrlParams, Zf as tagDotColors, Xf as timelineRowStatuses, Lt as toasts, fa as unwrapZodSchema, ui as usageLimitsPopoverSides, yo as useAiChat, yi as useAiChatTranslations, Ht as useAudioPlayer, bi as useCanvasEntity, pi as useChatHistory, Io as useData, es as useDataSource, g as useDataSourceItemNavigation, vu as useDerivedTranscription, Tt as useDndEvents, Rt as useDraggable, He as useDroppableList, Tn as useEmojiConfetti, ma as useF0AiFormRegistry, rs as useF0Dialog, k as useF0DialogAlikeContext, Qe as useF0Form, Ct as useF0FormDefinition, zr as useFormCardValueFormatter, dy as useFormComponent, ts as useGroups, B_ as useIsDesktop, V_ as useIsMobile, jt as useItemNeighbors, Pt as usePrivacyMode, yn as useReducedMotion, Re as useSchemaDefinition, Go as useSelectable, Kr as useSetFormCardValueFormatter, vi as useToolCallId, zn as useXRay, z as withDataTestId, de as writeDataCollectionStorage };
|