@factorialco/f0-react 16.34.1 → 16.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ArchiveThumbnail-C0Mrip4Q.js → ArchiveThumbnail-BOkvHgd_.js} +3 -3
- package/dist/{ArchiveViewer-BausRIp7.js → ArchiveViewer-CmoM8uO2.js} +2 -2
- package/dist/{ChatPostComposerDialog-6B6tdLwo.js → ChatPostComposerDialog-BlfRnich.js} +2 -2
- package/dist/{CoachmarkProvider-FQEJnDhJ.js → CoachmarkProvider-CE07lM-i.js} +13878 -13878
- package/dist/{CodeThumbnail-B4gAYMKz.js → CodeThumbnail-4Juwr4va.js} +1 -1
- package/dist/{CodeViewer-COT0IBLZ.js → CodeViewer-DxoMNOPf.js} +4 -4
- package/dist/{DocumentToolbar-C3ofBfAQ.js → DocumentToolbar-Ce7J0eV7.js} +6 -6
- package/dist/{DocxViewer-BwCy6gE3.js → DocxViewer-D2CnuS5p.js} +1 -1
- package/dist/{F0AiProcessingOverlay-CpPDvAFx.js → F0AiProcessingOverlay-CqKJmZXs.js} +395 -395
- package/dist/{F0Alert-cjjt8A_k.js → F0Alert-DEa3QgeO.js} +15 -14
- package/dist/F0AudioPlayer-BnSS3X1L.js +2 -0
- package/dist/{F0Button-B9tE57M3.js → F0Button-BJsJt_ZL.js} +7 -7
- package/dist/{F0CanvasPanel-DfyPBByb.js → F0CanvasPanel-BrBCO_gi.js} +8495 -8569
- package/dist/{F0DocumentViewer-Bltwogo_.js → F0DocumentViewer-CFQCY5i6.js} +2 -2
- package/dist/{F0DocumentViewer-D-l4YtO7.js → F0DocumentViewer-DirgMVCZ.js} +1 -1
- package/dist/{F0Map-Bru86FH0.js → F0Map-BPrVyqim.js} +64 -64
- package/dist/{F0Select-DV2A6yo2.js → F0Select-CLzwJBvd.js} +8541 -8449
- package/dist/{F0Text-BDmNaecR.js → F0Text-DO-opB9S.js} +1 -1
- package/dist/F0VideoPlayer-BCA2f2Pf.js +1 -0
- package/dist/{F0VideoPlayer-Dly2Xj6h.js → F0VideoPlayer-Cyb1Vidm.js} +15 -15
- package/dist/{HtmlThumbnail-BakLalKI.js → HtmlThumbnail-Hi747Tmk.js} +1 -1
- package/dist/{HtmlViewer-DzF-1Rq3.js → HtmlViewer-mwi7RfDB.js} +6 -6
- package/dist/{LayoutGroup-CuWgJO_W.js → LayoutGroup-B9BnZypT.js} +1 -1
- package/dist/{Map-VkTSJacu.js → Map-BNiGhT41.js} +7 -7
- package/dist/{PdfThumbnail-wgCEUZm8.js → PdfThumbnail-Dy7HLwhC.js} +1 -1
- package/dist/{PdfViewer-BEYKuiYM.js → PdfViewer-BMC6IGXj.js} +9 -9
- package/dist/{SandboxedHtmlFrame-SKujax-U.js → SandboxedHtmlFrame-Ck62HtyP.js} +1 -1
- package/dist/{SheetViewer-BY-4SW1a.js → SheetViewer-BhLETKTA.js} +4 -3
- package/dist/{TextViewer-Dq7kddkK.js → TextViewer-CGxs4kaE.js} +2 -2
- package/dist/ai.d.ts +2 -2
- package/dist/ai.js +2 -2
- package/dist/component-status.js +2 -2
- package/dist/{dist-BjlY6-o5.js → dist-BVf4ny05.js} +4 -4
- package/dist/{dist-CiU6Cp6n.js → dist-C04XuJk3.js} +1 -1
- package/dist/{dist-D0tUIJ0v.js → dist-TC4hmHdB.js} +1 -1
- package/dist/{dist-C1RZo6kP.js → dist-mt9P132m.js} +1 -1
- package/dist/{dist-MPgX6tx_.js → dist-vWDXrm7a.js} +1 -1
- package/dist/experimental.d.ts +17 -17
- package/dist/experimental.js +4380 -4342
- package/dist/{exports-Dp2ELtkI.d.ts → exports-OhW2O8GE.d.ts} +1 -1
- package/dist/f0.d.ts +13 -7
- package/dist/f0.js +294 -294
- package/dist/{highlight-CT_XhDqk.js → highlight-CEZ90xPK.js} +1 -1
- package/dist/{index-cqv4ymmh.d.ts → index-BJ6j_yIt.d.ts} +23 -0
- package/dist/{index-usY8QwHC.d.ts → index-sUM6VG1q.d.ts} +1 -1
- package/dist/{maplibre-C781iCGG.js → maplibre-IpicW_Aq.js} +1 -1
- package/dist/{pdfWorker-CzMUDWr4.js → pdfWorker-DwlPZetS.js} +1 -1
- package/dist/{toolbarStyles-DKWFaPuE.js → toolbarStyles-Al2tzXoH.js} +1 -1
- package/dist/{useData-BUahpDRq.js → useData-CZW0gG0I.js} +2 -2
- package/package.json +1 -1
- package/dist/F0AudioPlayer-Dwl16g5B.js +0 -2
- package/dist/F0VideoPlayer-D8quPFLX.js +0 -1
package/dist/f0.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { o as e } from "./rolldown-runtime-BItFwnF5.js";
|
|
2
|
-
import { $ as t, $n as n, $r as r, A as i, An as a, Ar as o, Bn as s, C as c, Cn as l, Cr as u, D as d, Dn as f, Dr as p, E as m, En as h, Er as g, F as _, Fn as v, Ft as y, Gn as b, Gr as x, Gt as S, Hn as C, Ht as w, I as T, In as E, It as D, Jn as O, Jr as k, Jt as A, Kn as j, Kt as M, Ln as ee, Lt as N, M as P, Mn as te, Mr as ne, N as re, Nn as F, Nr as ie, O as ae, On as oe, Or as se, Ot as ce, P as le, Pn as ue, Pr as de, Pt as I, Q as fe, Qr as pe, Qt as me, Rn as he, Rt as ge, S as _e, Si as ve, Sn as ye, Sr as be, T as xe, Ti as Se, Tn as Ce, Tr as we, Un as Te, Ut as Ee, Vn as De, Vt as Oe, Wn as ke, Wt as Ae, Xn as je, Xr as Me, Yn as Ne, Yr as Pe, Yt as Fe, Zn as Ie, Zt as Le, _ as Re, _r as ze, _t as Be, ai as Ve, ar as He, b as Ue, bi as We, br as Ge, bt as Ke, c as qe, cn as Je, cr as Ye, d as Xe, dr as Ze, ei as Qe, en as $e, er as et, et as tt, f as nt, fi as rt, fr as it, ft as at, gr as ot, gt as st, h as ct, hr as lt, ht as ut, i as dt, ii as ft, ir as pt, j as mt, jn as ht, jr as gt, k as _t, kn as vt, kr as yt, l as bt, ln as xt, lr as St, lt as Ct, m as wt, mi as Tt, mr as Et, mt as Dt, nn as Ot, nr as kt, oi as At, on as jt, or as Mt, pi as Nt, pr as Pt, qn as Ft, qr as It, qt as Lt, ri as Rt, rn as zt, rr as Bt, s as Vt, sn as Ht, sr as Ut, t as Wt, ti as Gt, tn as Kt, tr as qt, u as Jt, un as Yt, ur as Xt, v as Zt, vr as Qt, vt as $t, w as en, wn as tn, wr as nn, x as rn, xi as an, xn as on, xr as sn, xt as cn, y as ln, yr as un, yt as dn, zn as fn, zt as pn } from "./CoachmarkProvider-
|
|
2
|
+
import { $ as t, $n as n, $r as r, A as i, An as a, Ar as o, Bn as s, C as c, Cn as l, Cr as u, D as d, Dn as f, Dr as p, E as m, En as h, Er as g, F as _, Fn as v, Ft as y, Gn as b, Gr as x, Gt as S, Hn as C, Ht as w, I as T, In as E, It as D, Jn as O, Jr as k, Jt as A, Kn as j, Kt as M, Ln as ee, Lt as N, M as P, Mn as te, Mr as ne, N as re, Nn as F, Nr as ie, O as ae, On as oe, Or as se, Ot as ce, P as le, Pn as ue, Pr as de, Pt as I, Q as fe, Qr as pe, Qt as me, Rn as he, Rt as ge, S as _e, Si as ve, Sn as ye, Sr as be, T as xe, Ti as Se, Tn as Ce, Tr as we, Un as Te, Ut as Ee, Vn as De, Vt as Oe, Wn as ke, Wt as Ae, Xn as je, Xr as Me, Yn as Ne, Yr as Pe, Yt as Fe, Zn as Ie, Zt as Le, _ as Re, _r as ze, _t as Be, ai as Ve, ar as He, b as Ue, bi as We, br as Ge, bt as Ke, c as qe, cn as Je, cr as Ye, d as Xe, dr as Ze, ei as Qe, en as $e, er as et, et as tt, f as nt, fi as rt, fr as it, ft as at, gr as ot, gt as st, h as ct, hr as lt, ht as ut, i as dt, ii as ft, ir as pt, j as mt, jn as ht, jr as gt, k as _t, kn as vt, kr as yt, l as bt, ln as xt, lr as St, lt as Ct, m as wt, mi as Tt, mr as Et, mt as Dt, nn as Ot, nr as kt, oi as At, on as jt, or as Mt, pi as Nt, pr as Pt, qn as Ft, qr as It, qt as Lt, ri as Rt, rn as zt, rr as Bt, s as Vt, sn as Ht, sr as Ut, t as Wt, ti as Gt, tn as Kt, tr as qt, u as Jt, un as Yt, ur as Xt, v as Zt, vr as Qt, vt as $t, w as en, wn as tn, wr as nn, x as rn, xi as an, xn as on, xr as sn, xt as cn, y as ln, yr as un, yt as dn, zn as fn, zt as pn } from "./CoachmarkProvider-CE07lM-i.js";
|
|
3
3
|
import { a as L, i as mn, n as hn, o as gn, r as R, t as _n } from "./i18n-provider-DEmElb7u.js";
|
|
4
4
|
import { n as vn, t as z } from "./skeleton-cJaQYsv6.js";
|
|
5
5
|
import { A as yn, C as bn, D as xn, F as Sn, I as Cn, L as B, M as wn, N as Tn, O as En, P as Dn, R as On, S as kn, _ as An, b as jn, c as Mn, f as Nn, g as Pn, h as Fn, j as In, k as Ln, l as Rn, m as zn, p as Bn, v as Vn, w as Hn, x as Un, y as Wn } from "./tooltip-NXXT56H4.js";
|
|
6
|
-
import { E as Gn, F as Kn, I as qn, L as Jn, P as Yn, U as Xn, X as Zn, b as Qn, f as $n, h as er, m as tr, n as nr, p as rr, q as ir, r as ar, t as V, x as or } from "./F0Button-
|
|
7
|
-
import { $i as sr,
|
|
8
|
-
import { A as
|
|
9
|
-
import { a as H, c as
|
|
10
|
-
import { t as
|
|
11
|
-
import { A as
|
|
12
|
-
import { $ as
|
|
6
|
+
import { E as Gn, F as Kn, I as qn, L as Jn, P as Yn, U as Xn, X as Zn, b as Qn, f as $n, h as er, m as tr, n as nr, p as rr, q as ir, r as ar, t as V, x as or } from "./F0Button-BJsJt_ZL.js";
|
|
7
|
+
import { $i as sr, Al as cr, At as lr, B as ur, Bl as dr, Dc as fr, Es as pr, Fi as mr, Fs as hr, G as gr, Gi as _r, Gn as vr, Go as yr, Gt as br, H as xr, Jn as Sr, K as Cr, Ki as wr, Kn as Tr, Li as Er, Ll as Dr, Nc as Or, Ni as kr, Ns as Ar, Oc as jr, Oi as Mr, Pc as Nr, Pi as Pr, Po as Fr, Qi as Ir, Qn as Lr, Sl as Rr, Ts as zr, U as Br, Un as Vr, V as Hr, Vn as Ur, W as Wr, Wn as Gr, Wo as Kr, Xi as qr, Xn as Jr, Yi as Yr, Ys as Xr, Zn as Zr, _a as Qr, _c as $r, _i as ei, _l as ti, a as ni, ai as ri, as as ii, bl as ai, ca as oi, ci as si, cl as ci, cn as li, cr as ui, da as di, dc as fi, dr as pi, ds as mi, ea as hi, ei as gi, fa as _i, fr as vi, fs as yi, ga as bi, gi as xi, gl as Si, gs as Ci, ha as wi, hi as Ti, i as Ei, ia as Di, ii as Oi, kc as ki, ki as Ai, la as ji, li as Mi, lr as Ni, ls as Pi, ma as Fi, mi as Ii, ni as Li, oa as Ri, oi as zi, or as Bi, pa as Vi, pi as Hi, ps as Ui, qi as Wi, ri as Gi, rl as Ki, sa as qi, sl as Ji, sr as Yi, t as Xi, ta as Zi, ti as Qi, ua as $i, ur as ea, va as ta, vi as na, vl as ra, wc as ia, wl as aa, xa as oa, xl as sa, yl as ca, z as la, zc as ua, zi as da, zs as fa } from "./F0CanvasPanel-BrBCO_gi.js";
|
|
8
|
+
import { A as pa, B as ma, C as ha, D as ga, E as _a, F as va, H as ya, I as ba, L as xa, M as Sa, N as Ca, O as wa, P as Ta, R as Ea, S as Da, T as Oa, V as ka, _ as Aa, a as ja, b as Ma, c as Na, d as Pa, f as Fa, g as Ia, h as La, i as Ra, j as za, k as Ba, l as Va, m as Ha, n as Ua, o as Wa, p as Ga, r as Ka, s as qa, t as Ja, u as Ya, v as Xa, w as Za, x as Qa, y as $a, z as eo } from "./F0AiProcessingOverlay-CqKJmZXs.js";
|
|
9
|
+
import { a as H, c as to, i as no, l as ro, n as io, o as ao, r as oo, s as so, u as co } from "./createIcon-l_kbsdJi.js";
|
|
10
|
+
import { t as lo } from "./i18n-provider-defaults-CTH1Ugiz.js";
|
|
11
|
+
import { A as uo, C as fo, D as po, H as mo, N as ho, S as go, U as _o, _ as vo, a as yo, b as bo, d as xo, f as So, g as Co, h as wo, i as To, k as Eo, n as Do, o as Oo, p as ko, r as Ao, t as jo, u as Mo } from "./useData-CZW0gG0I.js";
|
|
12
|
+
import { $ as No, $t as Po, B as Fo, Bn as Io, Bt as Lo, Er as Ro, G as zo, Gt as Bo, H as Vo, Hr as Ho, Ht as Uo, It as Wo, J as Go, Jt as Ko, K as qo, Kt as Jo, Lr as Yo, Q as Xo, R as Zo, Rr as Qo, Rt as $o, Sr as es, Tt as ts, U as ns, Un as rs, Ur as is, Vn as as, Vr as os, Vt as ss, W as cs, Wt as ls, X as us, Xn as ds, Xt as fs, Y as ps, Yt as ms, Zt as hs, _ as gs, _n as _s, _t as vs, a as ys, bt as bs, c as xs, d as Ss, dt as Cs, en as ws, g as Ts, h as Es, it as Ds, kr as Os, l as ks, m as As, nt as js, o as Ms, q as Ns, qt as Ps, r as Fs, rt as Is, s as Ls, t as Rs, tt as zs, u as Bs, ut as Vs, v as Hs, vt as Us, w as Ws, wr as Gs, xt as Ks, y as qs, yn as Js, yt as Ys, zr as Xs, zt as Zs } from "./F0Select-CLzwJBvd.js";
|
|
13
13
|
import { t as Qs } from "./Check-DSKdy4lh.js";
|
|
14
|
-
import { a as $s } from "./dist-
|
|
14
|
+
import { a as $s } from "./dist-mt9P132m.js";
|
|
15
15
|
import { t as ec } from "./Ellipsis-D5UwpzSY.js";
|
|
16
16
|
import { t as tc } from "./LockLocked-FmZAbVxB.js";
|
|
17
17
|
import { t as nc } from "./purify.es-CJ7gZxxn.js";
|
|
18
18
|
import { J as rc, S as ic, a as ac, b as oc, d as sc, f as cc, g as lc, h as uc, i as dc, m as fc, p as pc, t as mc, w as hc, x as gc, y as _c } from "./popover-B7-MjlA_.js";
|
|
19
|
-
import { i as vc, r as yc } from "./dist-
|
|
20
|
-
import { t as bc } from "./F0Text-
|
|
21
|
-
import { t as xc } from "./F0Alert-
|
|
22
|
-
import { n as Sc, r as Cc, t as wc } from "./F0DocumentViewer-
|
|
19
|
+
import { i as vc, r as yc } from "./dist-TC4hmHdB.js";
|
|
20
|
+
import { t as bc } from "./F0Text-DO-opB9S.js";
|
|
21
|
+
import { t as xc } from "./F0Alert-DEa3QgeO.js";
|
|
22
|
+
import { n as Sc, r as Cc, t as wc } from "./F0DocumentViewer-CFQCY5i6.js";
|
|
23
23
|
import { t as Tc } from "./pdfWorkerConfig-BwllKt1K.js";
|
|
24
|
-
import { t as Ec } from "./F0VideoPlayer-
|
|
24
|
+
import { t as Ec } from "./F0VideoPlayer-Cyb1Vidm.js";
|
|
25
25
|
import * as U from "react";
|
|
26
26
|
import Dc, { Children as Oc, Fragment as kc, createContext as Ac, forwardRef as jc, isValidElement as Mc, memo as Nc, useCallback as W, useContext as Pc, useEffect as G, useId as Fc, useImperativeHandle as Ic, useLayoutEffect as Lc, useMemo as K, useRef as q, useState as J, useSyncExternalStore as Rc } from "react";
|
|
27
27
|
import { Fragment as Y, jsx as X, jsxs as Z } from "react/jsx-runtime";
|
|
@@ -45,7 +45,7 @@ var Hc = {
|
|
|
45
45
|
className: "h-full @5xl:h-auto [&>div]:h-full",
|
|
46
46
|
children: e
|
|
47
47
|
}, t));
|
|
48
|
-
return /* @__PURE__ */ X(
|
|
48
|
+
return /* @__PURE__ */ X(Ci, {
|
|
49
49
|
layout: "home",
|
|
50
50
|
children: /* @__PURE__ */ Z("div", {
|
|
51
51
|
ref: r,
|
|
@@ -76,10 +76,10 @@ var Hc = {
|
|
|
76
76
|
})]
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
|
-
}), Wc =
|
|
79
|
+
}), Wc = co({
|
|
80
80
|
base: "relative flex min-h-full w-full flex-1 flex-col gap-4 place-self-center overflow-y-auto px-page py-5",
|
|
81
81
|
variants: { variant: { narrow: "max-w-screen-lg" } }
|
|
82
|
-
}), Gc = Dc.forwardRef(({ children: e, variant: t, scrollable: n = !0, className: r, ...i }, a) => /* @__PURE__ */ X(
|
|
82
|
+
}), Gc = Dc.forwardRef(({ children: e, variant: t, scrollable: n = !0, className: r, ...i }, a) => /* @__PURE__ */ X(Ci, {
|
|
83
83
|
layout: "standard",
|
|
84
84
|
children: /* @__PURE__ */ X("section", {
|
|
85
85
|
ref: a,
|
|
@@ -92,7 +92,7 @@ var Hc = {
|
|
|
92
92
|
})
|
|
93
93
|
}));
|
|
94
94
|
Gc.displayName = "StandardLayout";
|
|
95
|
-
var Kc = L(
|
|
95
|
+
var Kc = L(so({
|
|
96
96
|
name: "StandardLayout",
|
|
97
97
|
type: "layout"
|
|
98
98
|
}, Gc)), qc = jc(function({ children: e, sideContent: t, mainColumnPosition: n = "left", sticky: r = !1, responsiveStackOrder: i = "side" }, a) {
|
|
@@ -111,7 +111,7 @@ var Kc = L(co({
|
|
|
111
111
|
})]
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
|
-
}), Jc = L(
|
|
114
|
+
}), Jc = L(so({
|
|
115
115
|
name: "TwoColumnLayout",
|
|
116
116
|
type: "layout"
|
|
117
117
|
}, qc)), Yc = ({ children: e, className: t }) => /* @__PURE__ */ X("aside", {
|
|
@@ -187,7 +187,7 @@ function nl({ children: e, options: t, onResizeStop: n, onChange: r, widgets: i,
|
|
|
187
187
|
for (let t of i || []) t.id && e.set(t.id, Qc(t));
|
|
188
188
|
return e;
|
|
189
189
|
});
|
|
190
|
-
|
|
190
|
+
es(() => {
|
|
191
191
|
if (!s) return;
|
|
192
192
|
let e = s.save();
|
|
193
193
|
if (!Array.isArray(e)) return;
|
|
@@ -2598,7 +2598,7 @@ Dl.renderCB = (e, t) => {
|
|
|
2598
2598
|
}, Dl.resizeToContentParent = ".grid-stack-item-content", Dl.Utils = Q, Dl.Engine = sl, Dl.GDRev = "12.3.2";
|
|
2599
2599
|
//#endregion
|
|
2600
2600
|
//#region src/blocks/F0GridStack/components/grid-stack-render-provider.tsx
|
|
2601
|
-
var Ol = /* @__PURE__ */ e(
|
|
2601
|
+
var Ol = /* @__PURE__ */ e(ds(), 1), kl = /* @__PURE__ */ new WeakMap();
|
|
2602
2602
|
function Al({ children: e }) {
|
|
2603
2603
|
let { _gridStack: { value: t, set: n }, options: r } = Zc(), i = q(/* @__PURE__ */ new Map()), a = q(null), o = q(r), s = W((e, t) => {
|
|
2604
2604
|
if (t.id && t.grid) {
|
|
@@ -2908,7 +2908,7 @@ var Fl = (e, t) => {
|
|
|
2908
2908
|
})
|
|
2909
2909
|
});
|
|
2910
2910
|
Bl.displayName = "Dashboard";
|
|
2911
|
-
var Vl = Il("Dashboard", Bl), Hl = L(vn("Dashboard", Vl)), Ul =
|
|
2911
|
+
var Vl = Il("Dashboard", Bl), Hl = L(vn("Dashboard", Vl)), Ul = co({
|
|
2912
2912
|
base: "flex w-full flex-col p-4",
|
|
2913
2913
|
variants: { variant: {
|
|
2914
2914
|
default: "",
|
|
@@ -2928,7 +2928,7 @@ var Vl = Il("Dashboard", Bl), Hl = L(vn("Dashboard", Vl)), Ul = lo({
|
|
|
2928
2928
|
...l,
|
|
2929
2929
|
children: [p ? /* @__PURE__ */ Z("div", {
|
|
2930
2930
|
className: "absolute right-0 top-0 flex items-center justify-end gap-2 p-4",
|
|
2931
|
-
children: [c || null, f.length > 0 ? /* @__PURE__ */ X(
|
|
2931
|
+
children: [c || null, f.length > 0 ? /* @__PURE__ */ X(yr, {
|
|
2932
2932
|
items: Wl(d),
|
|
2933
2933
|
"data-testid": "actions-dropdown"
|
|
2934
2934
|
}) : null]
|
|
@@ -3002,7 +3002,7 @@ var Ql = ({ id: e, children: t }) => {
|
|
|
3002
3002
|
});
|
|
3003
3003
|
}, $l = ({ blocks: e, sortable: t = !1, onSort: n = () => {}, main: i = !1 }) => {
|
|
3004
3004
|
let [a, o] = J([]);
|
|
3005
|
-
|
|
3005
|
+
es(() => {
|
|
3006
3006
|
o(e.map((e, t) => ({
|
|
3007
3007
|
id: e.id ?? t.toString(),
|
|
3008
3008
|
render: e.render
|
|
@@ -3067,7 +3067,7 @@ var eu = jc(function({ children: e, aside: t, header: n, variant: r = "main-asid
|
|
|
3067
3067
|
Group: L(vn("Group", Zl)),
|
|
3068
3068
|
GroupGrid: L(vn("GroupGrid", Pl)),
|
|
3069
3069
|
GroupMasonry: L(vn("GroupMasonry", $l))
|
|
3070
|
-
}, nu = Kc, ru = Jc, iu = L(
|
|
3070
|
+
}, nu = Kc, ru = Jc, iu = L(so({
|
|
3071
3071
|
name: "HomeLayout",
|
|
3072
3072
|
type: "layout"
|
|
3073
3073
|
}, Uc)), au = [
|
|
@@ -3083,7 +3083,7 @@ function ou({ label: e, orientation: t }) {
|
|
|
3083
3083
|
return /* @__PURE__ */ Z("span", {
|
|
3084
3084
|
className: B("flex shrink-0 items-center justify-center gap-1 text-sm text-f1-foreground-secondary", t === "vertical" && "rotate-180 writing-vertical"),
|
|
3085
3085
|
children: [e, /* @__PURE__ */ X(H, {
|
|
3086
|
-
icon: t === "vertical" ?
|
|
3086
|
+
icon: t === "vertical" ? is : cr,
|
|
3087
3087
|
size: "sm",
|
|
3088
3088
|
color: "currentColor"
|
|
3089
3089
|
})]
|
|
@@ -3114,7 +3114,7 @@ var uu = {
|
|
|
3114
3114
|
strong: "bg-opacity-35"
|
|
3115
3115
|
};
|
|
3116
3116
|
function du(e, t) {
|
|
3117
|
-
return `${
|
|
3117
|
+
return `${Po[e]} ${uu[t]}`;
|
|
3118
3118
|
}
|
|
3119
3119
|
//#endregion
|
|
3120
3120
|
//#region src/addons/charts/F0MatrixChart/components/MatrixCellAvatars.tsx
|
|
@@ -3144,10 +3144,10 @@ function mu({ cell: e, itemType: t, avatarSize: n, maxAvatars: r }) {
|
|
|
3144
3144
|
let i = Math.max(r ?? Infinity, 0), a = e.items.slice(0, i);
|
|
3145
3145
|
if (a.length === 0) return null;
|
|
3146
3146
|
let o = e.items.length - a.length;
|
|
3147
|
-
return /* @__PURE__ */ X(
|
|
3147
|
+
return /* @__PURE__ */ X(ho, {
|
|
3148
3148
|
width: "full",
|
|
3149
3149
|
minWidth: "0",
|
|
3150
|
-
children: /* @__PURE__ */ X(
|
|
3150
|
+
children: /* @__PURE__ */ X(Mo, {
|
|
3151
3151
|
...pu(t, a),
|
|
3152
3152
|
size: n,
|
|
3153
3153
|
counterColor: "inherit",
|
|
@@ -3184,7 +3184,7 @@ function gu({ cell: e, axes: t, itemType: n, avatarSize: r, showAvatars: i, show
|
|
|
3184
3184
|
return /* @__PURE__ */ Z("div", {
|
|
3185
3185
|
"data-matrix-cell": e.key,
|
|
3186
3186
|
className: B("flex min-h-0 min-w-0 flex-col justify-between gap-1 overflow-hidden rounded-md p-2 text-f1-foreground", e.color ? du(e.color, e.tone) : "bg-f1-background-secondary"),
|
|
3187
|
-
children: [/* @__PURE__ */ Z(
|
|
3187
|
+
children: [/* @__PURE__ */ Z(ho, {
|
|
3188
3188
|
display: "flex",
|
|
3189
3189
|
flexDirection: "column",
|
|
3190
3190
|
minWidth: "0",
|
|
@@ -3219,14 +3219,14 @@ function _u({ rows: e, placeholder: t }) {
|
|
|
3219
3219
|
//#endregion
|
|
3220
3220
|
//#region src/addons/charts/F0MatrixChart/components/MatrixColumnLabels.tsx
|
|
3221
3221
|
function vu({ columns: e, rows: t }) {
|
|
3222
|
-
return /* @__PURE__ */ Z(
|
|
3222
|
+
return /* @__PURE__ */ Z(ho, {
|
|
3223
3223
|
display: "flex",
|
|
3224
3224
|
gap: "sm",
|
|
3225
3225
|
shrink: !1,
|
|
3226
3226
|
children: [/* @__PURE__ */ X(_u, {
|
|
3227
3227
|
rows: t,
|
|
3228
3228
|
placeholder: !0
|
|
3229
|
-
}), /* @__PURE__ */ X(
|
|
3229
|
+
}), /* @__PURE__ */ X(ho, {
|
|
3230
3230
|
display: "grid",
|
|
3231
3231
|
columns: String(e.length),
|
|
3232
3232
|
gap: "sm",
|
|
@@ -3251,7 +3251,7 @@ function bu(e, t) {
|
|
|
3251
3251
|
}
|
|
3252
3252
|
var xu = 64, Su = 4, Cu = 28, wu = 24, Tu = 20;
|
|
3253
3253
|
function Eu({ width: e, height: t, rowCount: n, columnCount: r, showBandLabels: i, showAxisTitles: a, showNotShown: o, showPercentage: s }) {
|
|
3254
|
-
let c = ot(e), l = c === "sm", u = i && !l, d = a && !l, f = bu(r, c), p = n > 0 ? (t - ((d ? Cu : 0) + (u ? wu : 0) + (o ? Tu : 0)) - Su * (n - 1)) / n : 0, m = t === 0 || p >= xu +
|
|
3254
|
+
let c = ot(e), l = c === "sm", u = i && !l, d = a && !l, f = bu(r, c), p = n > 0 ? (t - ((d ? Cu : 0) + (u ? wu : 0) + (o ? Tu : 0)) - Su * (n - 1)) / n : 0, m = t === 0 || p >= xu + xo[f] + Su;
|
|
3255
3255
|
return {
|
|
3256
3256
|
bandLabels: u,
|
|
3257
3257
|
axisTitles: d,
|
|
@@ -3276,7 +3276,7 @@ function Du({ layout: e, itemType: t = "person", xAxisLabel: n, yAxisLabel: r, s
|
|
|
3276
3276
|
xAxisLabel: n,
|
|
3277
3277
|
yAxisLabel: r
|
|
3278
3278
|
}, _ = String(f.length), v = String(p.length);
|
|
3279
|
-
return /* @__PURE__ */ Z(
|
|
3279
|
+
return /* @__PURE__ */ Z(ho, {
|
|
3280
3280
|
ref: l,
|
|
3281
3281
|
role: "group",
|
|
3282
3282
|
"aria-label": s,
|
|
@@ -3288,7 +3288,7 @@ function Du({ layout: e, itemType: t = "person", xAxisLabel: n, yAxisLabel: r, s
|
|
|
3288
3288
|
children: [r && h.axisTitles ? /* @__PURE__ */ X(ou, {
|
|
3289
3289
|
label: r,
|
|
3290
3290
|
orientation: "vertical"
|
|
3291
|
-
}) : null, /* @__PURE__ */ Z(
|
|
3291
|
+
}) : null, /* @__PURE__ */ Z(ho, {
|
|
3292
3292
|
display: "flex",
|
|
3293
3293
|
flexDirection: "column",
|
|
3294
3294
|
grow: !0,
|
|
@@ -3296,12 +3296,12 @@ function Du({ layout: e, itemType: t = "person", xAxisLabel: n, yAxisLabel: r, s
|
|
|
3296
3296
|
minHeight: "0",
|
|
3297
3297
|
gap: "md",
|
|
3298
3298
|
children: [
|
|
3299
|
-
/* @__PURE__ */ Z(
|
|
3299
|
+
/* @__PURE__ */ Z(ho, {
|
|
3300
3300
|
display: "flex",
|
|
3301
3301
|
grow: !0,
|
|
3302
3302
|
minHeight: "0",
|
|
3303
3303
|
gap: "sm",
|
|
3304
|
-
children: [h.bandLabels ? /* @__PURE__ */ X(_u, { rows: p }) : null, /* @__PURE__ */ X(
|
|
3304
|
+
children: [h.bandLabels ? /* @__PURE__ */ X(_u, { rows: p }) : null, /* @__PURE__ */ X(ho, {
|
|
3305
3305
|
display: "grid",
|
|
3306
3306
|
columns: _,
|
|
3307
3307
|
rows: v,
|
|
@@ -3375,7 +3375,7 @@ function Nu(e, t) {
|
|
|
3375
3375
|
return Number.isFinite(e) ? t.findIndex(({ min: t, max: n }, r) => (t === void 0 || e > t || r === 0 && e === t) && (n === void 0 || e <= n)) : -1;
|
|
3376
3376
|
}
|
|
3377
3377
|
function Pu(e) {
|
|
3378
|
-
return
|
|
3378
|
+
return ws.some((t) => t === e);
|
|
3379
3379
|
}
|
|
3380
3380
|
function Fu(e, t) {
|
|
3381
3381
|
return Number.isInteger(e) && e >= 0 && e < t;
|
|
@@ -3472,20 +3472,20 @@ function Hu({ columns: e = 3, rows: t = 3 }) {
|
|
|
3472
3472
|
className: "flex h-full animate-pulse gap-2 px-4 py-3",
|
|
3473
3473
|
"aria-busy": "true",
|
|
3474
3474
|
"aria-live": "polite",
|
|
3475
|
-
children: [/* @__PURE__ */ X(
|
|
3475
|
+
children: [/* @__PURE__ */ X(ho, {
|
|
3476
3476
|
display: "flex",
|
|
3477
3477
|
width: "4",
|
|
3478
3478
|
shrink: !1,
|
|
3479
3479
|
alignItems: "center",
|
|
3480
3480
|
justifyContent: "center",
|
|
3481
3481
|
children: /* @__PURE__ */ X(z, { className: "h-24 w-3 rounded-sm" })
|
|
3482
|
-
}), /* @__PURE__ */ Z(
|
|
3482
|
+
}), /* @__PURE__ */ Z(ho, {
|
|
3483
3483
|
display: "flex",
|
|
3484
3484
|
flexDirection: "column",
|
|
3485
3485
|
grow: !0,
|
|
3486
3486
|
minWidth: "0",
|
|
3487
3487
|
gap: "md",
|
|
3488
|
-
children: [/* @__PURE__ */ X(
|
|
3488
|
+
children: [/* @__PURE__ */ X(ho, {
|
|
3489
3489
|
display: "grid",
|
|
3490
3490
|
columns: String(n),
|
|
3491
3491
|
rows: String(r),
|
|
@@ -3496,7 +3496,7 @@ function Hu({ columns: e = 3, rows: t = 3 }) {
|
|
|
3496
3496
|
className: "flex flex-col justify-between gap-1 rounded-md border border-solid border-f1-border-secondary p-2",
|
|
3497
3497
|
children: [
|
|
3498
3498
|
/* @__PURE__ */ X(z, { className: "h-3 w-1/2 rounded-sm" }),
|
|
3499
|
-
/* @__PURE__ */ X(
|
|
3499
|
+
/* @__PURE__ */ X(ho, {
|
|
3500
3500
|
display: "flex",
|
|
3501
3501
|
gap: "xs",
|
|
3502
3502
|
children: Array.from({ length: t % 3 + 1 }, (e, t) => /* @__PURE__ */ X(z, { className: "h-5 w-5 rounded-full" }, t))
|
|
@@ -3504,7 +3504,7 @@ function Hu({ columns: e = 3, rows: t = 3 }) {
|
|
|
3504
3504
|
/* @__PURE__ */ X(z, { className: "h-3 w-1/4 rounded-sm" })
|
|
3505
3505
|
]
|
|
3506
3506
|
}, t))
|
|
3507
|
-
}), /* @__PURE__ */ X(
|
|
3507
|
+
}), /* @__PURE__ */ X(ho, {
|
|
3508
3508
|
display: "flex",
|
|
3509
3509
|
justifyContent: "center",
|
|
3510
3510
|
children: /* @__PURE__ */ X(z, { className: "h-3 w-24 rounded-sm" })
|
|
@@ -3521,7 +3521,7 @@ var Uu = (e) => typeof e == "boolean" || !e ? {
|
|
|
3521
3521
|
show: e.show ?? !0,
|
|
3522
3522
|
invertStatus: e.invertStatus ?? !1
|
|
3523
3523
|
}, Wu = ({ label: e, ...t }) => {
|
|
3524
|
-
let n =
|
|
3524
|
+
let n = ms(), r = n(t.value, { formatterOptions: { decimalPlaces: 2 } }), i = Uu(t.trend), a = n(t.comparison), o = fs(r.numericValue, r.formatterOptions), s = hs(a.numericValue), c = hs(r.numericValue), l = K(() => {
|
|
3525
3525
|
if (s && i.show && s && c) return (c - s) / s * 100;
|
|
3526
3526
|
}, [
|
|
3527
3527
|
c,
|
|
@@ -3535,7 +3535,7 @@ var Uu = (e) => typeof e == "boolean" || !e ? {
|
|
|
3535
3535
|
children: [/* @__PURE__ */ X("span", {
|
|
3536
3536
|
className: "font-bold text-2xl",
|
|
3537
3537
|
children: o
|
|
3538
|
-
}), s === void 0 ? null : /* @__PURE__ */ X(
|
|
3538
|
+
}), s === void 0 ? null : /* @__PURE__ */ X(Ko, {
|
|
3539
3539
|
percentage: l,
|
|
3540
3540
|
amount: a,
|
|
3541
3541
|
invertStatus: i.invertStatus,
|
|
@@ -3551,7 +3551,7 @@ var Uu = (e) => typeof e == "boolean" || !e ? {
|
|
|
3551
3551
|
})]
|
|
3552
3552
|
});
|
|
3553
3553
|
Wu.displayName = "F0BigNumber";
|
|
3554
|
-
var Ku =
|
|
3554
|
+
var Ku = ii(Wu, Gu), qu = L(Ku), Ju = [
|
|
3555
3555
|
"default",
|
|
3556
3556
|
"outline",
|
|
3557
3557
|
"neutral"
|
|
@@ -3559,14 +3559,14 @@ var Ku = Gi(Wu, Gu), qu = L(Ku), Ju = [
|
|
|
3559
3559
|
className: "flex items-center gap-2",
|
|
3560
3560
|
children: e.map((e, t) => {
|
|
3561
3561
|
switch (e.type) {
|
|
3562
|
-
case "segmentedControl": return /* @__PURE__ */ X(
|
|
3562
|
+
case "segmentedControl": return /* @__PURE__ */ X(di, {
|
|
3563
3563
|
items: e.items,
|
|
3564
3564
|
value: e.value,
|
|
3565
3565
|
onChange: e.onChange,
|
|
3566
3566
|
disabled: e.disabled,
|
|
3567
3567
|
ariaLabel: e.ariaLabel
|
|
3568
3568
|
}, t);
|
|
3569
|
-
case "dropdown": return /* @__PURE__ */ X(
|
|
3569
|
+
case "dropdown": return /* @__PURE__ */ X(yr, {
|
|
3570
3570
|
items: e.items,
|
|
3571
3571
|
disabled: e.disabled,
|
|
3572
3572
|
children: /* @__PURE__ */ X(V, {
|
|
@@ -3582,7 +3582,7 @@ var Ku = Gi(Wu, Gu), qu = L(Ku), Ju = [
|
|
|
3582
3582
|
})
|
|
3583
3583
|
}), ed = ({ item: e, open: t, onOpenChange: n }) => {
|
|
3584
3584
|
let r = er(), i = R().t(t ? "actions.collapseItem" : "actions.expandItem", { title: e.title }), a = !!e.actions && e.actions.length > 0;
|
|
3585
|
-
return /* @__PURE__ */ X(
|
|
3585
|
+
return /* @__PURE__ */ X(Ri, {
|
|
3586
3586
|
open: t,
|
|
3587
3587
|
onOpenChange: n,
|
|
3588
3588
|
asChild: !0,
|
|
@@ -3590,7 +3590,7 @@ var Ku = Gi(Wu, Gu), qu = L(Ku), Ju = [
|
|
|
3590
3590
|
className: "flex flex-col",
|
|
3591
3591
|
children: [/* @__PURE__ */ Z("div", {
|
|
3592
3592
|
className: "flex items-center",
|
|
3593
|
-
children: [/* @__PURE__ */ X(
|
|
3593
|
+
children: [/* @__PURE__ */ X(oi, {
|
|
3594
3594
|
asChild: !0,
|
|
3595
3595
|
children: /* @__PURE__ */ X("button", {
|
|
3596
3596
|
type: "button",
|
|
@@ -3608,12 +3608,12 @@ var Ku = Gi(Wu, Gu), qu = L(Ku), Ju = [
|
|
|
3608
3608
|
children: e.summary
|
|
3609
3609
|
}) : null,
|
|
3610
3610
|
a ? /* @__PURE__ */ X($u, { actions: e.actions }) : null,
|
|
3611
|
-
/* @__PURE__ */ X(
|
|
3611
|
+
/* @__PURE__ */ X(oi, {
|
|
3612
3612
|
asChild: !0,
|
|
3613
3613
|
children: /* @__PURE__ */ X(V, {
|
|
3614
3614
|
variant: "outline",
|
|
3615
3615
|
size: "sm",
|
|
3616
|
-
icon: t ?
|
|
3616
|
+
icon: t ? Yo : mo,
|
|
3617
3617
|
label: i,
|
|
3618
3618
|
hideLabel: !0
|
|
3619
3619
|
})
|
|
@@ -3637,7 +3637,7 @@ var Ku = Gi(Wu, Gu), qu = L(Ku), Ju = [
|
|
|
3637
3637
|
},
|
|
3638
3638
|
transition: { duration: r ? 0 : .2 },
|
|
3639
3639
|
className: "overflow-hidden",
|
|
3640
|
-
children: /* @__PURE__ */ X(
|
|
3640
|
+
children: /* @__PURE__ */ X(qi, {
|
|
3641
3641
|
forceMount: !0,
|
|
3642
3642
|
asChild: !0,
|
|
3643
3643
|
children: /* @__PURE__ */ Z("div", {
|
|
@@ -3681,8 +3681,8 @@ var Ku = Gi(Wu, Gu), qu = L(Ku), Ju = [
|
|
|
3681
3681
|
});
|
|
3682
3682
|
});
|
|
3683
3683
|
nd.displayName = "F0Accordion";
|
|
3684
|
-
var rd = L(vn("F0Accordion",
|
|
3685
|
-
let [n, r] = J(!1), i = /* @__PURE__ */ X(
|
|
3684
|
+
var rd = L(vn("F0Accordion", ii(nd, td))), id = ({ count: e, list: t }) => {
|
|
3685
|
+
let [n, r] = J(!1), i = /* @__PURE__ */ X($o, { label: `+${e}` });
|
|
3686
3686
|
return t?.length ? /* @__PURE__ */ Z(mc, {
|
|
3687
3687
|
open: n,
|
|
3688
3688
|
onOpenChange: r,
|
|
@@ -3699,7 +3699,7 @@ var rd = L(vn("F0Accordion", Gi(nd, td))), id = ({ count: e, list: t }) => {
|
|
|
3699
3699
|
className: "[*[data-state=visible]_div]:bg-f1-background flex max-h-[172px] flex-col",
|
|
3700
3700
|
children: [t.map((e, t) => /* @__PURE__ */ X("div", {
|
|
3701
3701
|
className: "flex w-[220px] min-w-0 items-center gap-1.5 px-2 py-1 [&:first-child]:pt-2 [&:last-child]:pb-2",
|
|
3702
|
-
children: /* @__PURE__ */ X(
|
|
3702
|
+
children: /* @__PURE__ */ X($o, { ...e })
|
|
3703
3703
|
}, t)), /* @__PURE__ */ X(vc, {
|
|
3704
3704
|
orientation: "vertical",
|
|
3705
3705
|
className: "[&_div]:bg-f1-background"
|
|
@@ -3712,9 +3712,9 @@ id.displayName = "ChipCounter";
|
|
|
3712
3712
|
//#endregion
|
|
3713
3713
|
//#region src/elements/F0ChipList/F0ChipList.tsx
|
|
3714
3714
|
var ad = ({ chips: e, max: t = 4, remainingCount: n, layout: r = "compact" }) => {
|
|
3715
|
-
if (r === "fill") return /* @__PURE__ */ X(
|
|
3715
|
+
if (r === "fill") return /* @__PURE__ */ X(So, {
|
|
3716
3716
|
items: e,
|
|
3717
|
-
renderListItem: (e) => /* @__PURE__ */ X(
|
|
3717
|
+
renderListItem: (e) => /* @__PURE__ */ X($o, { ...e }),
|
|
3718
3718
|
renderDropdownItem: () => null,
|
|
3719
3719
|
forceShowingOverflowIndicator: n !== void 0,
|
|
3720
3720
|
renderOverflowIndicator: (t) => /* @__PURE__ */ X(id, {
|
|
@@ -3727,7 +3727,7 @@ var ad = ({ chips: e, max: t = 4, remainingCount: n, layout: r = "compact" }) =>
|
|
|
3727
3727
|
let i = e.slice(0, t), a = e.slice(t), o = n ?? e.length - t, s = o > 0;
|
|
3728
3728
|
return /* @__PURE__ */ Z("div", {
|
|
3729
3729
|
className: "flex items-center gap-2",
|
|
3730
|
-
children: [i.map((e, t) => /* @__PURE__ */ X(
|
|
3730
|
+
children: [i.map((e, t) => /* @__PURE__ */ X($o, { ...e }, t)), s ? /* @__PURE__ */ X(id, {
|
|
3731
3731
|
count: o,
|
|
3732
3732
|
list: n ? void 0 : a
|
|
3733
3733
|
}) : null]
|
|
@@ -3747,9 +3747,9 @@ var od = L(vn("F0ChipList", ad)), sd = [
|
|
|
3747
3747
|
"positive",
|
|
3748
3748
|
"transparent"
|
|
3749
3749
|
], ud = {
|
|
3750
|
-
get: async (e) => JSON.parse(localStorage.getItem(
|
|
3750
|
+
get: async (e) => JSON.parse(localStorage.getItem(da(e)) ?? "{}"),
|
|
3751
3751
|
set: async (e, t) => {
|
|
3752
|
-
localStorage.setItem(
|
|
3752
|
+
localStorage.setItem(da(e), JSON.stringify(t));
|
|
3753
3753
|
}
|
|
3754
3754
|
}, dd = ({ disableClose: e = !1, onClose: t, isOpen: n, children: r, position: i = "right", size: a = "md", primaryAction: o, secondaryAction: c, title: l, description: u, module: d, otherActions: f, tabs: p, modal: m = !1, activeTabId: h, setActiveTabId: g, disableContentPadding: _, container: v, onWidthChange: y }) => {
|
|
3755
3755
|
let [b, x] = J(n);
|
|
@@ -3815,7 +3815,7 @@ function hd({ filters: e, value: t, onChange: n, height: r, width: i = 600, clas
|
|
|
3815
3815
|
let t = Object.keys(e);
|
|
3816
3816
|
if (t.length > 0) {
|
|
3817
3817
|
let n = t.find((t) => {
|
|
3818
|
-
let n = p[t], r =
|
|
3818
|
+
let n = p[t], r = Ss(e[t].type);
|
|
3819
3819
|
return n !== void 0 && !r.isEmpty(n, {
|
|
3820
3820
|
schema: e[t],
|
|
3821
3821
|
i18n: l
|
|
@@ -3839,7 +3839,7 @@ function hd({ filters: e, value: t, onChange: n, height: r, width: i = 600, clas
|
|
|
3839
3839
|
}, g = () => {
|
|
3840
3840
|
n(p);
|
|
3841
3841
|
}, _ = K(() => r || Object.entries(e).reduce((e, [t, n]) => {
|
|
3842
|
-
let r =
|
|
3842
|
+
let r = Ss(n.type);
|
|
3843
3843
|
return Math.max(e, r?.formHeight || md);
|
|
3844
3844
|
}, 0), [e, r]);
|
|
3845
3845
|
return !e || Object.keys(e).length === 0 ? null : /* @__PURE__ */ X(mn, {
|
|
@@ -3866,11 +3866,11 @@ var gd = hd;
|
|
|
3866
3866
|
//#endregion
|
|
3867
3867
|
//#region src/blocks/F0Form/describeFormSchema.ts
|
|
3868
3868
|
function _d(e) {
|
|
3869
|
-
let t =
|
|
3869
|
+
let t = pi(e).shape, n = [];
|
|
3870
3870
|
for (let [e, r] of Object.entries(t)) {
|
|
3871
|
-
let t = r, i =
|
|
3871
|
+
let t = r, i = Yi(t);
|
|
3872
3872
|
if (!i) continue;
|
|
3873
|
-
let a =
|
|
3873
|
+
let a = Ni(t, i), o = ht(t, a), s = {
|
|
3874
3874
|
name: e,
|
|
3875
3875
|
type: a,
|
|
3876
3876
|
label: i.label,
|
|
@@ -3942,9 +3942,9 @@ function yd(e) {
|
|
|
3942
3942
|
let r = {
|
|
3943
3943
|
...n,
|
|
3944
3944
|
...e
|
|
3945
|
-
}, i =
|
|
3945
|
+
}, i = pi(t), a = [];
|
|
3946
3946
|
for (let [e, t] of Object.entries(i.shape)) {
|
|
3947
|
-
let n =
|
|
3947
|
+
let n = Yi(t);
|
|
3948
3948
|
n?.renderIf ? oe(n.renderIf, r) && a.push(e) : a.push(e);
|
|
3949
3949
|
}
|
|
3950
3950
|
return a;
|
|
@@ -3988,12 +3988,12 @@ var xd = ({ isOpen: e = !1, onClose: t = () => {}, type: n, title: r, descriptio
|
|
|
3988
3988
|
modal: !0,
|
|
3989
3989
|
children: /* @__PURE__ */ Z("div", {
|
|
3990
3990
|
className: "flex flex-col gap-4 py-2",
|
|
3991
|
-
children: [/* @__PURE__ */ X(
|
|
3991
|
+
children: [/* @__PURE__ */ X(Kr, {
|
|
3992
3992
|
type: n,
|
|
3993
3993
|
size: "lg"
|
|
3994
3994
|
}), /* @__PURE__ */ Z("div", {
|
|
3995
3995
|
className: "flex flex-col gap-0.5",
|
|
3996
|
-
children: [/* @__PURE__ */ X(
|
|
3996
|
+
children: [/* @__PURE__ */ X(wr, {
|
|
3997
3997
|
className: "text-xl sm:text-lg",
|
|
3998
3998
|
children: r
|
|
3999
3999
|
}), /* @__PURE__ */ X(Ft, {
|
|
@@ -4053,8 +4053,8 @@ var xd = ({ isOpen: e = !1, onClose: t = () => {}, type: n, title: r, descriptio
|
|
|
4053
4053
|
return r.map((t) => ({
|
|
4054
4054
|
...t,
|
|
4055
4055
|
actions: {
|
|
4056
|
-
primary:
|
|
4057
|
-
secondary:
|
|
4056
|
+
primary: Zo(t.actions.primary).map((n, r) => e(t, n, "primary", r)),
|
|
4057
|
+
secondary: Zo(t.actions.secondary).map((n, r) => e(t, n, "secondary", r))
|
|
4058
4058
|
}
|
|
4059
4059
|
}));
|
|
4060
4060
|
}, [r]), d = K(() => {
|
|
@@ -4234,7 +4234,7 @@ function Ad({ field: e, value: t, onChange: n, onBlur: r, error: a, errorMessage
|
|
|
4234
4234
|
className: "text-base text-f1-foreground-secondary",
|
|
4235
4235
|
children: e.helpText
|
|
4236
4236
|
}) : null,
|
|
4237
|
-
/* @__PURE__ */ X(
|
|
4237
|
+
/* @__PURE__ */ X(No, { status: y })
|
|
4238
4238
|
]
|
|
4239
4239
|
}) });
|
|
4240
4240
|
}
|
|
@@ -4255,7 +4255,7 @@ function Nd({ children: e, ...t }) {
|
|
|
4255
4255
|
}
|
|
4256
4256
|
//#endregion
|
|
4257
4257
|
//#region src/blocks/F0Wizard/components/WizardSteps.tsx
|
|
4258
|
-
var Pd =
|
|
4258
|
+
var Pd = co({
|
|
4259
4259
|
base: "flex-1 text-base font-medium leading-5 tracking-[-0.005em]",
|
|
4260
4260
|
variants: { state: {
|
|
4261
4261
|
active: "text-f1-foreground",
|
|
@@ -4380,7 +4380,7 @@ var zd = () => {}, Bd = ({ steps: e, children: t, isOpen: n, onClose: r = zd, ti
|
|
|
4380
4380
|
onClose: r
|
|
4381
4381
|
}), g = R(), _ = e[h.currentStep], v = h.currentStep === 0, y = h.currentStep === e.length - 1, b = y ? _?.nextLabel ?? l ?? g.wizard.submit : _?.nextLabel ?? s ?? g.wizard.next, x = _?.previousLabel ?? c ?? g.wizard.previous, C = K(() => ({
|
|
4382
4382
|
label: b,
|
|
4383
|
-
icon: y ? void 0 :
|
|
4383
|
+
icon: y ? void 0 : cr,
|
|
4384
4384
|
onClick: () => void h.goNext(),
|
|
4385
4385
|
disabled: _?.isCompleted?.() === !1 || _?.hasErrors?.() === !0,
|
|
4386
4386
|
loading: h.loading
|
|
@@ -4391,7 +4391,7 @@ var zd = () => {}, Bd = ({ steps: e, children: t, isOpen: n, onClose: r = zd, ti
|
|
|
4391
4391
|
_
|
|
4392
4392
|
]), w = K(() => v ? void 0 : {
|
|
4393
4393
|
label: x,
|
|
4394
|
-
icon:
|
|
4394
|
+
icon: Ho,
|
|
4395
4395
|
onClick: h.goPrevious,
|
|
4396
4396
|
disabled: h.loading
|
|
4397
4397
|
}, [
|
|
@@ -4437,14 +4437,14 @@ Bd.displayName = "F0Wizard", L(Bd);
|
|
|
4437
4437
|
//#endregion
|
|
4438
4438
|
//#region src/blocks/F0WizardForm/F0WizardForm.tsx
|
|
4439
4439
|
function Vd(e) {
|
|
4440
|
-
let t =
|
|
4441
|
-
return n.length !== 0 && n.every(([, e]) =>
|
|
4440
|
+
let t = pi(e).shape, n = Object.entries(t);
|
|
4441
|
+
return n.length !== 0 && n.every(([, e]) => Yi(e)?.disabled === !0);
|
|
4442
4442
|
}
|
|
4443
4443
|
function Hd(e, t) {
|
|
4444
4444
|
if (t) return Object.keys(t);
|
|
4445
|
-
let n =
|
|
4445
|
+
let n = pi(e).shape, r = /* @__PURE__ */ new Set();
|
|
4446
4446
|
for (let e of Object.values(n)) {
|
|
4447
|
-
let t =
|
|
4447
|
+
let t = Yi(e);
|
|
4448
4448
|
t?.section && r.add(t.section);
|
|
4449
4449
|
}
|
|
4450
4450
|
return Array.from(r);
|
|
@@ -4452,15 +4452,15 @@ function Hd(e, t) {
|
|
|
4452
4452
|
function Ud(e, t) {
|
|
4453
4453
|
let n = e.shape, r = {};
|
|
4454
4454
|
for (let [e, i] of Object.entries(n)) {
|
|
4455
|
-
let n =
|
|
4455
|
+
let n = Yi(i);
|
|
4456
4456
|
n?.section && t.includes(n.section) && (r[e] = i);
|
|
4457
4457
|
}
|
|
4458
|
-
return
|
|
4458
|
+
return Oi(r);
|
|
4459
4459
|
}
|
|
4460
4460
|
function Wd(e, t, n) {
|
|
4461
4461
|
let r = t ?? {};
|
|
4462
4462
|
if (n) return n({ data: r });
|
|
4463
|
-
let i =
|
|
4463
|
+
let i = pi(e).shape;
|
|
4464
4464
|
return Object.entries(i).every(([e, t]) => {
|
|
4465
4465
|
if (t.isOptional()) return !0;
|
|
4466
4466
|
let n = r[e];
|
|
@@ -4686,7 +4686,7 @@ function Xd({ sectionId: e, formName: t, schema: n, sectionConfig: r, defaultVal
|
|
|
4686
4686
|
});
|
|
4687
4687
|
}
|
|
4688
4688
|
function Zd({ formDefinition: e, steps: t, isOpen: n, onClose: r, title: i, width: a, size: o, defaultStepIndex: s, nextLabel: c, previousLabel: l, onStepChanged: u, allowStepSkipping: d, autoCloseOnLastStepSubmit: f, linkAfterLastStepSubmit: p, autoSkipCompletedSteps: m = !1, renderCustomField: h }) {
|
|
4689
|
-
let { name: g, schema: _, sections: v, defaultValues: y, onSubmit: b, submitConfig: x, errorTriggerMode: S = "on-blur" } = e, C = x?.label, w = K(() =>
|
|
4689
|
+
let { name: g, schema: _, sections: v, defaultValues: y, onSubmit: b, submitConfig: x, errorTriggerMode: S = "on-blur" } = e, C = x?.label, w = K(() => pi(_), [_]), T = K(() => Hd(_, v), [_, v]), E = W((e) => Vd(Ud(w, e)), [w]), D = ye(), O = q(y ? { ...y } : {}), k = q(s ?? 0), A = W((e) => async () => {
|
|
4690
4690
|
await D.submit();
|
|
4691
4691
|
}, [D]), j = W((e) => D.hasErrors, [D.hasErrors]), M = t ?? e.steps, ee = K(() => M ?? T.map((e) => ({
|
|
4692
4692
|
title: v?.[e]?.title ?? e,
|
|
@@ -4903,7 +4903,7 @@ var of = { open: af }, sf = [
|
|
|
4903
4903
|
className: "flex items-center py-2",
|
|
4904
4904
|
children: /* @__PURE__ */ X(z, { className: "h-1.5 w-full rounded-full" })
|
|
4905
4905
|
})]
|
|
4906
|
-
}), ff =
|
|
4906
|
+
}), ff = co({
|
|
4907
4907
|
base: "relative h-1.5 grow overflow-hidden rounded-full bg-f1-background-tertiary",
|
|
4908
4908
|
variants: { status: {
|
|
4909
4909
|
default: "",
|
|
@@ -4911,7 +4911,7 @@ var of = { open: af }, sf = [
|
|
|
4911
4911
|
info: "",
|
|
4912
4912
|
error: ""
|
|
4913
4913
|
} }
|
|
4914
|
-
}), pf =
|
|
4914
|
+
}), pf = co({
|
|
4915
4915
|
base: "absolute h-full",
|
|
4916
4916
|
variants: {
|
|
4917
4917
|
status: {
|
|
@@ -4925,7 +4925,7 @@ var of = { open: af }, sf = [
|
|
|
4925
4925
|
false: ""
|
|
4926
4926
|
}
|
|
4927
4927
|
}
|
|
4928
|
-
}), mf = 20, hf =
|
|
4928
|
+
}), mf = 20, hf = co({
|
|
4929
4929
|
base: B("relative block rounded-full bg-f1-background border-[2px] border-solid", "transition-[transform,border-color] hover:scale-110", "motion-reduce:transition-none motion-reduce:hover:scale-100", "data-[disabled]:cursor-not-allowed data-[disabled]:hover:scale-100"),
|
|
4930
4930
|
variants: {
|
|
4931
4931
|
status: {
|
|
@@ -4969,14 +4969,14 @@ var of = { open: af }, sf = [
|
|
|
4969
4969
|
F.current = !1;
|
|
4970
4970
|
},
|
|
4971
4971
|
children: [
|
|
4972
|
-
oe ? /* @__PURE__ */ X(
|
|
4972
|
+
oe ? /* @__PURE__ */ X(Xo, {
|
|
4973
4973
|
label: n,
|
|
4974
4974
|
required: s,
|
|
4975
4975
|
htmlFor: S,
|
|
4976
4976
|
id: C,
|
|
4977
4977
|
disabled: c
|
|
4978
4978
|
}) : null,
|
|
4979
|
-
/* @__PURE__ */ Z(
|
|
4979
|
+
/* @__PURE__ */ Z(_i, {
|
|
4980
4980
|
value: [O],
|
|
4981
4981
|
onValueChange: j,
|
|
4982
4982
|
onValueCommit: M,
|
|
@@ -4991,14 +4991,14 @@ var of = { open: af }, sf = [
|
|
|
4991
4991
|
onMouseEnter: () => N(!0),
|
|
4992
4992
|
onMouseLeave: () => N(!1),
|
|
4993
4993
|
children: [
|
|
4994
|
-
/* @__PURE__ */ X(
|
|
4994
|
+
/* @__PURE__ */ X(wi, {
|
|
4995
4995
|
className: ff({ status: ae }),
|
|
4996
|
-
children: /* @__PURE__ */ X(
|
|
4996
|
+
children: /* @__PURE__ */ X(Vi, { className: pf({
|
|
4997
4997
|
status: ae,
|
|
4998
4998
|
disabled: c
|
|
4999
4999
|
}) })
|
|
5000
5000
|
}),
|
|
5001
|
-
/* @__PURE__ */ X(
|
|
5001
|
+
/* @__PURE__ */ X(Fi, {
|
|
5002
5002
|
id: S,
|
|
5003
5003
|
"aria-label": oe ? void 0 : T,
|
|
5004
5004
|
"aria-labelledby": oe ? C : void 0,
|
|
@@ -5031,13 +5031,13 @@ var of = { open: af }, sf = [
|
|
|
5031
5031
|
id: w,
|
|
5032
5032
|
role: "status",
|
|
5033
5033
|
"aria-live": "polite",
|
|
5034
|
-
children: /* @__PURE__ */ X(
|
|
5034
|
+
children: /* @__PURE__ */ X(No, { status: se })
|
|
5035
5035
|
})
|
|
5036
5036
|
]
|
|
5037
5037
|
});
|
|
5038
5038
|
});
|
|
5039
5039
|
gf.displayName = "F0Slider";
|
|
5040
|
-
var _f = vn("F0Slider",
|
|
5040
|
+
var _f = vn("F0Slider", ii(L(gf), df)), vf = [
|
|
5041
5041
|
"completed",
|
|
5042
5042
|
"in-progress",
|
|
5043
5043
|
"not-started",
|
|
@@ -5070,7 +5070,7 @@ var _f = vn("F0Slider", Gi(L(gf), df)), vf = [
|
|
|
5070
5070
|
"grey",
|
|
5071
5071
|
"orange",
|
|
5072
5072
|
"radical"
|
|
5073
|
-
], Sf = 16, Cf =
|
|
5073
|
+
], Sf = 16, Cf = co({
|
|
5074
5074
|
base: "h-0.5 rounded-full bg-f1-foreground cursor-pointer",
|
|
5075
5075
|
variants: {
|
|
5076
5076
|
depth: {
|
|
@@ -5167,7 +5167,7 @@ function Of(e, t) {
|
|
|
5167
5167
|
}
|
|
5168
5168
|
//#endregion
|
|
5169
5169
|
//#region src/blocks/F0TableOfContentPopover/F0TableOfContentPopover.tsx
|
|
5170
|
-
var kf = 300, Af = 0, jf =
|
|
5170
|
+
var kf = 300, Af = 0, jf = co({
|
|
5171
5171
|
base: "w-auto overflow-y-auto rounded-lg border border-solid border-f1-border-secondary bg-f1-background p-0 shadow-lg",
|
|
5172
5172
|
variants: { size: {
|
|
5173
5173
|
sm: "max-h-[240px]",
|
|
@@ -5187,12 +5187,12 @@ function Mf({ title: e, items: t, className: n, activeItem: r, collapsible: i =
|
|
|
5187
5187
|
});
|
|
5188
5188
|
}));
|
|
5189
5189
|
}, []);
|
|
5190
|
-
return /* @__PURE__ */ Z(
|
|
5190
|
+
return /* @__PURE__ */ Z(Ys, {
|
|
5191
5191
|
open: f,
|
|
5192
5192
|
onOpenChange: _,
|
|
5193
5193
|
openDelay: Af,
|
|
5194
5194
|
closeDelay: kf,
|
|
5195
|
-
children: [/* @__PURE__ */ X(
|
|
5195
|
+
children: [/* @__PURE__ */ X(Ks, {
|
|
5196
5196
|
asChild: !0,
|
|
5197
5197
|
children: /* @__PURE__ */ X("button", {
|
|
5198
5198
|
className: B(On(), "flex cursor-pointer items-center rounded-md px-1.5 py-1", n),
|
|
@@ -5204,7 +5204,7 @@ function Mf({ title: e, items: t, className: n, activeItem: r, collapsible: i =
|
|
|
5204
5204
|
variant: u
|
|
5205
5205
|
})
|
|
5206
5206
|
})
|
|
5207
|
-
}), /* @__PURE__ */ X(
|
|
5207
|
+
}), /* @__PURE__ */ X(bs, {
|
|
5208
5208
|
ref: v,
|
|
5209
5209
|
side: c === "left" ? "right" : "left",
|
|
5210
5210
|
align: "center",
|
|
@@ -5318,7 +5318,7 @@ function Rf(e) {
|
|
|
5318
5318
|
}
|
|
5319
5319
|
//#endregion
|
|
5320
5320
|
//#region src/domains/talent/surveys/surveys/SurveyFormBuilder/ApplyingChangesTag/ApplyingChangesTag.tsx
|
|
5321
|
-
var zf = ir.create(
|
|
5321
|
+
var zf = ir.create(Ur), Bf = Nc(() => {
|
|
5322
5322
|
let e = R();
|
|
5323
5323
|
return /* @__PURE__ */ Z("div", {
|
|
5324
5324
|
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",
|
|
@@ -5674,12 +5674,12 @@ var tp = () => {
|
|
|
5674
5674
|
let { isQuestionTypeAllowed: e, datasets: t } = Zf(), { t: n } = R(), r = [
|
|
5675
5675
|
{
|
|
5676
5676
|
label: n("surveyFormBuilder.questionTypes.rating"),
|
|
5677
|
-
icon:
|
|
5677
|
+
icon: fa,
|
|
5678
5678
|
questionType: "rating"
|
|
5679
5679
|
},
|
|
5680
5680
|
{
|
|
5681
5681
|
label: n("surveyFormBuilder.questionTypes.multipleChoice"),
|
|
5682
|
-
icon:
|
|
5682
|
+
icon: Si,
|
|
5683
5683
|
questionType: "multi-select"
|
|
5684
5684
|
},
|
|
5685
5685
|
{
|
|
@@ -5689,32 +5689,32 @@ var tp = () => {
|
|
|
5689
5689
|
},
|
|
5690
5690
|
{
|
|
5691
5691
|
label: n("surveyFormBuilder.questionTypes.text"),
|
|
5692
|
-
icon:
|
|
5692
|
+
icon: Ar,
|
|
5693
5693
|
questionType: "text"
|
|
5694
5694
|
},
|
|
5695
5695
|
{
|
|
5696
5696
|
label: n("surveyFormBuilder.questionTypes.longText"),
|
|
5697
|
-
icon:
|
|
5697
|
+
icon: fr,
|
|
5698
5698
|
questionType: "longText"
|
|
5699
5699
|
},
|
|
5700
5700
|
{
|
|
5701
5701
|
label: n("surveyFormBuilder.questionTypes.numeric"),
|
|
5702
|
-
icon:
|
|
5702
|
+
icon: fi,
|
|
5703
5703
|
questionType: "numeric"
|
|
5704
5704
|
},
|
|
5705
5705
|
{
|
|
5706
5706
|
label: n("surveyFormBuilder.questionTypes.link"),
|
|
5707
|
-
icon:
|
|
5707
|
+
icon: jr,
|
|
5708
5708
|
questionType: "link"
|
|
5709
5709
|
},
|
|
5710
5710
|
{
|
|
5711
5711
|
label: n("surveyFormBuilder.questionTypes.date"),
|
|
5712
|
-
icon:
|
|
5712
|
+
icon: aa,
|
|
5713
5713
|
questionType: "date"
|
|
5714
5714
|
},
|
|
5715
5715
|
{
|
|
5716
5716
|
label: n("surveyFormBuilder.questionTypes.file"),
|
|
5717
|
-
icon:
|
|
5717
|
+
icon: pr,
|
|
5718
5718
|
questionType: "file"
|
|
5719
5719
|
},
|
|
5720
5720
|
{
|
|
@@ -5724,23 +5724,23 @@ var tp = () => {
|
|
|
5724
5724
|
}
|
|
5725
5725
|
].filter((t) => e(t.questionType)), i = e("dropdown-single") ? Object.entries(t ?? {}).map(([e, t]) => ({
|
|
5726
5726
|
label: t.title,
|
|
5727
|
-
icon: t.icon ??
|
|
5727
|
+
icon: t.icon ?? mo,
|
|
5728
5728
|
questionType: "dropdown-single",
|
|
5729
5729
|
datasetKey: e
|
|
5730
5730
|
})) : [];
|
|
5731
5731
|
return [...r, ...i];
|
|
5732
5732
|
}, np = {
|
|
5733
|
-
rating:
|
|
5734
|
-
"multi-select":
|
|
5733
|
+
rating: fa,
|
|
5734
|
+
"multi-select": Si,
|
|
5735
5735
|
select: Qs,
|
|
5736
|
-
text:
|
|
5737
|
-
longText:
|
|
5738
|
-
numeric:
|
|
5739
|
-
link:
|
|
5740
|
-
date:
|
|
5741
|
-
"dropdown-single":
|
|
5742
|
-
"dropdown-multi":
|
|
5743
|
-
file:
|
|
5736
|
+
text: Ar,
|
|
5737
|
+
longText: fr,
|
|
5738
|
+
numeric: fi,
|
|
5739
|
+
link: jr,
|
|
5740
|
+
date: aa,
|
|
5741
|
+
"dropdown-single": mo,
|
|
5742
|
+
"dropdown-multi": mo,
|
|
5743
|
+
file: pr,
|
|
5744
5744
|
checkbox: $s
|
|
5745
5745
|
}, rp = () => {
|
|
5746
5746
|
let { disabled: e, answering: t, onAddNewElement: n, isQuestionTypeAllowed: r, labels: i } = Zf(), [a, o] = J(!1), s = tp(), { t: c } = R(), l = i?.addQuestion ?? c("surveyFormBuilder.actions.addQuestion"), u = (e, t) => {
|
|
@@ -5759,7 +5759,7 @@ var tp = () => {
|
|
|
5759
5759
|
children: [/* @__PURE__ */ X(hc, {
|
|
5760
5760
|
asChild: !0,
|
|
5761
5761
|
children: /* @__PURE__ */ X(V, {
|
|
5762
|
-
icon:
|
|
5762
|
+
icon: _o,
|
|
5763
5763
|
label: l,
|
|
5764
5764
|
size: "md",
|
|
5765
5765
|
variant: "outline",
|
|
@@ -5774,7 +5774,7 @@ var tp = () => {
|
|
|
5774
5774
|
children: /* @__PURE__ */ Z("div", {
|
|
5775
5775
|
className: "flex w-full flex-row items-center gap-2",
|
|
5776
5776
|
children: [/* @__PURE__ */ X(H, {
|
|
5777
|
-
icon:
|
|
5777
|
+
icon: dr,
|
|
5778
5778
|
color: "default"
|
|
5779
5779
|
}), /* @__PURE__ */ X("span", {
|
|
5780
5780
|
className: "flex-1 text-base font-medium",
|
|
@@ -5827,7 +5827,7 @@ var tp = () => {
|
|
|
5827
5827
|
children: /* @__PURE__ */ Z("div", {
|
|
5828
5828
|
className: "flex w-full flex-row items-center gap-2",
|
|
5829
5829
|
children: [/* @__PURE__ */ X(H, {
|
|
5830
|
-
icon:
|
|
5830
|
+
icon: Si,
|
|
5831
5831
|
color: "default"
|
|
5832
5832
|
}), /* @__PURE__ */ X("span", {
|
|
5833
5833
|
className: "flex-1",
|
|
@@ -5983,7 +5983,7 @@ var up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(f
|
|
|
5983
5983
|
children: /* @__PURE__ */ Z("div", {
|
|
5984
5984
|
className: "flex w-full flex-row items-center gap-2",
|
|
5985
5985
|
children: [
|
|
5986
|
-
/* @__PURE__ */ X(
|
|
5986
|
+
/* @__PURE__ */ X(ao, {
|
|
5987
5987
|
icon: t,
|
|
5988
5988
|
color: "default"
|
|
5989
5989
|
}),
|
|
@@ -6006,8 +6006,8 @@ var up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(f
|
|
|
6006
6006
|
children: /* @__PURE__ */ Z("div", {
|
|
6007
6007
|
className: "flex w-full flex-row items-center gap-2",
|
|
6008
6008
|
children: [
|
|
6009
|
-
/* @__PURE__ */ X(
|
|
6010
|
-
icon:
|
|
6009
|
+
/* @__PURE__ */ X(ao, {
|
|
6010
|
+
icon: Nr,
|
|
6011
6011
|
color: "default"
|
|
6012
6012
|
}),
|
|
6013
6013
|
/* @__PURE__ */ X("span", {
|
|
@@ -6027,7 +6027,7 @@ var up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(f
|
|
|
6027
6027
|
children: /* @__PURE__ */ Z("div", {
|
|
6028
6028
|
className: "flex w-full flex-row items-center gap-2 text-base font-medium",
|
|
6029
6029
|
children: [
|
|
6030
|
-
/* @__PURE__ */ X(
|
|
6030
|
+
/* @__PURE__ */ X(ao, {
|
|
6031
6031
|
icon: e.icon,
|
|
6032
6032
|
color: "default"
|
|
6033
6033
|
}),
|
|
@@ -6048,7 +6048,7 @@ var up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(f
|
|
|
6048
6048
|
children: [/* @__PURE__ */ X("span", {
|
|
6049
6049
|
className: "flex-1",
|
|
6050
6050
|
children: e.label
|
|
6051
|
-
}), i === e.value ? /* @__PURE__ */ X(
|
|
6051
|
+
}), i === e.value ? /* @__PURE__ */ X(ao, {
|
|
6052
6052
|
icon: Qs,
|
|
6053
6053
|
color: "default"
|
|
6054
6054
|
}) : null]
|
|
@@ -6058,7 +6058,7 @@ var up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(f
|
|
|
6058
6058
|
children: /* @__PURE__ */ Z("div", {
|
|
6059
6059
|
className: "flex w-full flex-row items-center gap-2",
|
|
6060
6060
|
children: [
|
|
6061
|
-
/* @__PURE__ */ X(
|
|
6061
|
+
/* @__PURE__ */ X(ao, {
|
|
6062
6062
|
icon: e.icon,
|
|
6063
6063
|
color: "default"
|
|
6064
6064
|
}),
|
|
@@ -6066,7 +6066,7 @@ var up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(f
|
|
|
6066
6066
|
className: "flex-1",
|
|
6067
6067
|
children: e.label
|
|
6068
6068
|
}),
|
|
6069
|
-
a ? /* @__PURE__ */ X(
|
|
6069
|
+
a ? /* @__PURE__ */ X(ao, {
|
|
6070
6070
|
icon: Qs,
|
|
6071
6071
|
color: "default"
|
|
6072
6072
|
}) : null
|
|
@@ -6080,7 +6080,7 @@ var up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(f
|
|
|
6080
6080
|
children: /* @__PURE__ */ Z("div", {
|
|
6081
6081
|
className: "flex w-full flex-row items-center gap-2",
|
|
6082
6082
|
children: [
|
|
6083
|
-
i ? /* @__PURE__ */ X(
|
|
6083
|
+
i ? /* @__PURE__ */ X(ao, {
|
|
6084
6084
|
icon: i.icon,
|
|
6085
6085
|
color: "default"
|
|
6086
6086
|
}) : null,
|
|
@@ -6088,7 +6088,7 @@ var up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(f
|
|
|
6088
6088
|
className: "flex-1 text-base font-medium",
|
|
6089
6089
|
children: i?.label ?? e
|
|
6090
6090
|
}),
|
|
6091
|
-
n === e ? /* @__PURE__ */ X(
|
|
6091
|
+
n === e ? /* @__PURE__ */ X(ao, {
|
|
6092
6092
|
icon: Qs,
|
|
6093
6093
|
color: "default"
|
|
6094
6094
|
}) : null
|
|
@@ -6099,7 +6099,7 @@ var up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(f
|
|
|
6099
6099
|
children: /* @__PURE__ */ Z("div", {
|
|
6100
6100
|
className: "flex w-full flex-row items-center gap-2",
|
|
6101
6101
|
children: [
|
|
6102
|
-
/* @__PURE__ */ X(
|
|
6102
|
+
/* @__PURE__ */ X(ao, {
|
|
6103
6103
|
icon: Qs,
|
|
6104
6104
|
color: "default"
|
|
6105
6105
|
}),
|
|
@@ -6107,7 +6107,7 @@ var up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(f
|
|
|
6107
6107
|
className: "flex-1",
|
|
6108
6108
|
children: c("surveyFormBuilder.labels.singleSelection")
|
|
6109
6109
|
}),
|
|
6110
|
-
n === e && t === "dropdown-single" ? /* @__PURE__ */ X(
|
|
6110
|
+
n === e && t === "dropdown-single" ? /* @__PURE__ */ X(ao, {
|
|
6111
6111
|
icon: Qs,
|
|
6112
6112
|
color: "default"
|
|
6113
6113
|
}) : null
|
|
@@ -6118,15 +6118,15 @@ var up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(f
|
|
|
6118
6118
|
children: /* @__PURE__ */ Z("div", {
|
|
6119
6119
|
className: "flex w-full flex-row items-center gap-2",
|
|
6120
6120
|
children: [
|
|
6121
|
-
/* @__PURE__ */ X(
|
|
6122
|
-
icon:
|
|
6121
|
+
/* @__PURE__ */ X(ao, {
|
|
6122
|
+
icon: Si,
|
|
6123
6123
|
color: "default"
|
|
6124
6124
|
}),
|
|
6125
6125
|
/* @__PURE__ */ X("span", {
|
|
6126
6126
|
className: "flex-1",
|
|
6127
6127
|
children: c("surveyFormBuilder.labels.multiSelection")
|
|
6128
6128
|
}),
|
|
6129
|
-
n === e && t === "dropdown-multi" ? /* @__PURE__ */ X(
|
|
6129
|
+
n === e && t === "dropdown-multi" ? /* @__PURE__ */ X(ao, {
|
|
6130
6130
|
icon: Qs,
|
|
6131
6131
|
color: "default"
|
|
6132
6132
|
}) : null
|
|
@@ -6139,7 +6139,7 @@ var up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(f
|
|
|
6139
6139
|
className: B(r ? "text-f1-foreground-critical" : void 0),
|
|
6140
6140
|
children: /* @__PURE__ */ Z("div", {
|
|
6141
6141
|
className: "flex w-full flex-row items-center gap-2",
|
|
6142
|
-
children: [/* @__PURE__ */ X(
|
|
6142
|
+
children: [/* @__PURE__ */ X(ao, { icon: t }), /* @__PURE__ */ X("span", {
|
|
6143
6143
|
className: "flex-1",
|
|
6144
6144
|
children: e
|
|
6145
6145
|
})]
|
|
@@ -6148,11 +6148,11 @@ var up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(f
|
|
|
6148
6148
|
let { t: a } = R(), { labels: o } = Zf();
|
|
6149
6149
|
return !e && !t ? null : /* @__PURE__ */ Z(Y, { children: [n ? /* @__PURE__ */ X(_c, {}) : null, /* @__PURE__ */ Z(pc, { children: [e ? /* @__PURE__ */ X(fp, {
|
|
6150
6150
|
label: o?.duplicateQuestion ?? a("surveyFormBuilder.actions.duplicateQuestion"),
|
|
6151
|
-
icon:
|
|
6151
|
+
icon: ki,
|
|
6152
6152
|
onClick: r
|
|
6153
6153
|
}) : null, t ? /* @__PURE__ */ X(fp, {
|
|
6154
6154
|
label: o?.deleteQuestion ?? a("surveyFormBuilder.actions.deleteQuestion"),
|
|
6155
|
-
icon:
|
|
6155
|
+
icon: Ji,
|
|
6156
6156
|
onClick: i,
|
|
6157
6157
|
critical: !0
|
|
6158
6158
|
}) : null] })] });
|
|
@@ -6187,19 +6187,19 @@ function mp({ open: e, setOpen: t, questionId: n, questionType: r, canDeleteQues
|
|
|
6187
6187
|
}),
|
|
6188
6188
|
T ? /* @__PURE__ */ X(pc, { children: /* @__PURE__ */ X(up, {
|
|
6189
6189
|
label: o("surveyFormBuilder.labels.required"),
|
|
6190
|
-
icon:
|
|
6190
|
+
icon: Dr,
|
|
6191
6191
|
checked: !!l?.required,
|
|
6192
6192
|
onChange: _
|
|
6193
6193
|
}) }) : null,
|
|
6194
6194
|
E ? /* @__PURE__ */ X(pc, { children: /* @__PURE__ */ X(up, {
|
|
6195
6195
|
label: o("surveyFormBuilder.labels.allowMultiSelection"),
|
|
6196
|
-
icon:
|
|
6196
|
+
icon: Si,
|
|
6197
6197
|
checked: p,
|
|
6198
6198
|
onChange: b
|
|
6199
6199
|
}) }) : null,
|
|
6200
6200
|
D ? /* @__PURE__ */ X(pc, { children: /* @__PURE__ */ X(up, {
|
|
6201
6201
|
label: o("surveyFormBuilder.labels.allowCreate"),
|
|
6202
|
-
icon:
|
|
6202
|
+
icon: Gs,
|
|
6203
6203
|
checked: m,
|
|
6204
6204
|
onChange: x
|
|
6205
6205
|
}) }) : null,
|
|
@@ -6244,7 +6244,7 @@ function Cp({ text: e }) {
|
|
|
6244
6244
|
return /* @__PURE__ */ X(Y, { children: t.map((e, t) => {
|
|
6245
6245
|
if (t % 2 == 0) return /* @__PURE__ */ X(kc, { children: e }, t);
|
|
6246
6246
|
let [n, r] = xp(e), i = Sp(n);
|
|
6247
|
-
return i ? /* @__PURE__ */ Z(kc, { children: [/* @__PURE__ */ X(
|
|
6247
|
+
return i ? /* @__PURE__ */ Z(kc, { children: [/* @__PURE__ */ X(Lo, {
|
|
6248
6248
|
variant: "inline",
|
|
6249
6249
|
href: i,
|
|
6250
6250
|
target: "_blank",
|
|
@@ -6399,7 +6399,7 @@ var wp = ({ notice: e, className: t, children: n }) => {
|
|
|
6399
6399
|
children: [/* @__PURE__ */ X(hc, {
|
|
6400
6400
|
asChild: !0,
|
|
6401
6401
|
children: /* @__PURE__ */ X(V, {
|
|
6402
|
-
icon:
|
|
6402
|
+
icon: _o,
|
|
6403
6403
|
label: M,
|
|
6404
6404
|
size: "sm",
|
|
6405
6405
|
variant: "outline",
|
|
@@ -6414,7 +6414,7 @@ var wp = ({ notice: e, className: t, children: n }) => {
|
|
|
6414
6414
|
children: /* @__PURE__ */ Z("div", {
|
|
6415
6415
|
className: "flex w-full flex-row items-center gap-2",
|
|
6416
6416
|
children: [/* @__PURE__ */ X(H, {
|
|
6417
|
-
icon:
|
|
6417
|
+
icon: dr,
|
|
6418
6418
|
color: "default"
|
|
6419
6419
|
}), /* @__PURE__ */ X("span", {
|
|
6420
6420
|
className: "flex-1 text-base font-medium",
|
|
@@ -6466,7 +6466,7 @@ var wp = ({ notice: e, className: t, children: n }) => {
|
|
|
6466
6466
|
children: /* @__PURE__ */ Z("div", {
|
|
6467
6467
|
className: "flex w-full flex-row items-center gap-2",
|
|
6468
6468
|
children: [/* @__PURE__ */ X(H, {
|
|
6469
|
-
icon:
|
|
6469
|
+
icon: Si,
|
|
6470
6470
|
color: "default"
|
|
6471
6471
|
}), /* @__PURE__ */ X("span", {
|
|
6472
6472
|
className: "flex-1",
|
|
@@ -6494,7 +6494,7 @@ var Dp = ({ value: e, label: t, ...n }) => {
|
|
|
6494
6494
|
let { onQuestionChange: r, answering: i, disabled: a, getSectionContainingQuestion: o } = Zf(), s = Ep(n), { t: c } = R();
|
|
6495
6495
|
if (i) return /* @__PURE__ */ X(Tp, {
|
|
6496
6496
|
...n,
|
|
6497
|
-
children: /* @__PURE__ */ X(
|
|
6497
|
+
children: /* @__PURE__ */ X(Cs, {
|
|
6498
6498
|
id: n.id,
|
|
6499
6499
|
checked: e ?? !1,
|
|
6500
6500
|
onCheckedChange: (e) => {
|
|
@@ -6514,7 +6514,7 @@ var Dp = ({ value: e, label: t, ...n }) => {
|
|
|
6514
6514
|
...n,
|
|
6515
6515
|
children: /* @__PURE__ */ Z("div", {
|
|
6516
6516
|
className: "flex items-start",
|
|
6517
|
-
children: [/* @__PURE__ */ X(
|
|
6517
|
+
children: [/* @__PURE__ */ X(Cs, {
|
|
6518
6518
|
checked: !1,
|
|
6519
6519
|
disabled: !0,
|
|
6520
6520
|
hideLabel: !0,
|
|
@@ -6700,8 +6700,8 @@ var Dp = ({ value: e, label: t, ...n }) => {
|
|
|
6700
6700
|
required: t.required,
|
|
6701
6701
|
maxDecimals: 0,
|
|
6702
6702
|
placeholder: s,
|
|
6703
|
-
icon:
|
|
6704
|
-
}) : /* @__PURE__ */ X(
|
|
6703
|
+
icon: fi
|
|
6704
|
+
}) : /* @__PURE__ */ X(si, {
|
|
6705
6705
|
type: "text",
|
|
6706
6706
|
size: "md",
|
|
6707
6707
|
value: s,
|
|
@@ -6709,7 +6709,7 @@ var Dp = ({ value: e, label: t, ...n }) => {
|
|
|
6709
6709
|
disabled: !0,
|
|
6710
6710
|
label: n("surveyFormBuilder.answer.label"),
|
|
6711
6711
|
hideLabel: !0,
|
|
6712
|
-
icon:
|
|
6712
|
+
icon: fi
|
|
6713
6713
|
})
|
|
6714
6714
|
});
|
|
6715
6715
|
}, Fp = ({ option: e, selected: n, onClick: r, onChangeLabel: i, disabled: a, isEmojiMode: o = !1 }) => {
|
|
@@ -6866,7 +6866,7 @@ var Bp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6866
6866
|
children: [
|
|
6867
6867
|
/* @__PURE__ */ X("div", {
|
|
6868
6868
|
className: B("block", E ? "group-hover:hidden" : "cursor-default", p && "cursor-grabbing [&_button]:cursor-grabbing"),
|
|
6869
|
-
children: u === "multi-select" ? /* @__PURE__ */ X(
|
|
6869
|
+
children: u === "multi-select" ? /* @__PURE__ */ X(Cs, {
|
|
6870
6870
|
title: f,
|
|
6871
6871
|
checked: o ? !!s : !1,
|
|
6872
6872
|
onCheckedChange: y,
|
|
@@ -6882,8 +6882,8 @@ var Bp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6882
6882
|
className: B("hidden scale-75 cursor-grab", D && "active:cursor-grabbing", E && "group-hover:block", p && "cursor-grabbing", !D && "cursor-not-allowed"),
|
|
6883
6883
|
children: /* @__PURE__ */ X("div", {
|
|
6884
6884
|
className: B("flex aspect-square scale-90 items-center justify-center", u === "multi-select" ? "w-6" : "w-5"),
|
|
6885
|
-
children: /* @__PURE__ */ X(
|
|
6886
|
-
icon:
|
|
6885
|
+
children: /* @__PURE__ */ X(ao, {
|
|
6886
|
+
icon: ua,
|
|
6887
6887
|
size: "sm"
|
|
6888
6888
|
})
|
|
6889
6889
|
})
|
|
@@ -6906,13 +6906,13 @@ var Bp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6906
6906
|
children: [/* @__PURE__ */ X(V, {
|
|
6907
6907
|
label: _("surveyFormBuilder.selectQuestion.markAsCorrect"),
|
|
6908
6908
|
variant: "ghost",
|
|
6909
|
-
icon: c ?
|
|
6909
|
+
icon: c ? ci : ti,
|
|
6910
6910
|
onClick: x,
|
|
6911
6911
|
hideLabel: !0
|
|
6912
6912
|
}), /* @__PURE__ */ X(V, {
|
|
6913
6913
|
label: _("surveyFormBuilder.selectQuestion.remove"),
|
|
6914
6914
|
variant: "ghost",
|
|
6915
|
-
icon:
|
|
6915
|
+
icon: Ji,
|
|
6916
6916
|
hideLabel: !0,
|
|
6917
6917
|
onClick: S
|
|
6918
6918
|
})]
|
|
@@ -7041,7 +7041,7 @@ var Bp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7041
7041
|
children: /* @__PURE__ */ X(V, {
|
|
7042
7042
|
label: c("surveyFormBuilder.selectQuestion.addOption"),
|
|
7043
7043
|
variant: "ghost",
|
|
7044
|
-
icon:
|
|
7044
|
+
icon: _o,
|
|
7045
7045
|
onClick: p
|
|
7046
7046
|
})
|
|
7047
7047
|
}) : null]
|
|
@@ -7139,7 +7139,7 @@ var Bp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7139
7139
|
h && c.start(e);
|
|
7140
7140
|
},
|
|
7141
7141
|
children: /* @__PURE__ */ X(H, {
|
|
7142
|
-
icon:
|
|
7142
|
+
icon: ua,
|
|
7143
7143
|
size: "sm"
|
|
7144
7144
|
})
|
|
7145
7145
|
}) : null, /* @__PURE__ */ X(Up, { ...e.question })]
|
|
@@ -7169,7 +7169,7 @@ var Bp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7169
7169
|
f && i.start(e);
|
|
7170
7170
|
},
|
|
7171
7171
|
children: /* @__PURE__ */ X(H, {
|
|
7172
|
-
icon:
|
|
7172
|
+
icon: ua,
|
|
7173
7173
|
size: "sm"
|
|
7174
7174
|
})
|
|
7175
7175
|
}) : null, /* @__PURE__ */ X(Up, { ...e })]
|
|
@@ -7201,7 +7201,7 @@ var Bp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7201
7201
|
});
|
|
7202
7202
|
}, x = [{
|
|
7203
7203
|
label: h("surveyFormBuilder.actions.duplicateSection"),
|
|
7204
|
-
icon:
|
|
7204
|
+
icon: ki,
|
|
7205
7205
|
onClick: () => {
|
|
7206
7206
|
d?.({
|
|
7207
7207
|
elementId: e,
|
|
@@ -7210,7 +7210,7 @@ var Bp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7210
7210
|
}
|
|
7211
7211
|
}, {
|
|
7212
7212
|
label: h("surveyFormBuilder.actions.deleteSection"),
|
|
7213
|
-
icon:
|
|
7213
|
+
icon: Ji,
|
|
7214
7214
|
onClick: () => {
|
|
7215
7215
|
u(e);
|
|
7216
7216
|
},
|
|
@@ -7219,7 +7219,7 @@ var Bp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7219
7219
|
G(() => {
|
|
7220
7220
|
T.current?.focus({ preventScroll: !0 });
|
|
7221
7221
|
}, []);
|
|
7222
|
-
let E = r?.description ?? h("surveyFormBuilder.labels.lockedSectionNotice"), D = a && !l ? /* @__PURE__ */ X(
|
|
7222
|
+
let E = r?.description ?? h("surveyFormBuilder.labels.lockedSectionNotice"), D = a && !l ? /* @__PURE__ */ X(rs, {
|
|
7223
7223
|
text: h("surveyFormBuilder.labels.locked"),
|
|
7224
7224
|
icon: tc,
|
|
7225
7225
|
className: "bg-f1-background"
|
|
@@ -7255,7 +7255,7 @@ var Bp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7255
7255
|
}) : null,
|
|
7256
7256
|
!c && !l && !a ? /* @__PURE__ */ X("div", {
|
|
7257
7257
|
className: B("opacity-0 group-hover/section:opacity-100", p && "opacity-100"),
|
|
7258
|
-
children: /* @__PURE__ */ X(
|
|
7258
|
+
children: /* @__PURE__ */ X(yr, {
|
|
7259
7259
|
items: x,
|
|
7260
7260
|
open: p,
|
|
7261
7261
|
onOpenChange: m,
|
|
@@ -7333,7 +7333,7 @@ var Bp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7333
7333
|
o.start(e);
|
|
7334
7334
|
},
|
|
7335
7335
|
children: /* @__PURE__ */ X(H, {
|
|
7336
|
-
icon:
|
|
7336
|
+
icon: ua,
|
|
7337
7337
|
size: "sm"
|
|
7338
7338
|
})
|
|
7339
7339
|
}) : null, /* @__PURE__ */ X(qp, {
|
|
@@ -7363,7 +7363,7 @@ var Bp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7363
7363
|
p || x.push({
|
|
7364
7364
|
type: "toggle",
|
|
7365
7365
|
label: l,
|
|
7366
|
-
icon:
|
|
7366
|
+
icon: Dr,
|
|
7367
7367
|
checked: !!r?.required,
|
|
7368
7368
|
onCheckedChange: m
|
|
7369
7369
|
});
|
|
@@ -7408,7 +7408,7 @@ var Bp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7408
7408
|
selected: s === e && t === "dropdown-single"
|
|
7409
7409
|
}, {
|
|
7410
7410
|
label: f,
|
|
7411
|
-
icon:
|
|
7411
|
+
icon: Si,
|
|
7412
7412
|
onClick: () => h("dropdown-multi", e),
|
|
7413
7413
|
selected: s === e && t === "dropdown-multi"
|
|
7414
7414
|
}]
|
|
@@ -7422,16 +7422,16 @@ var Bp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7422
7422
|
return x.push({
|
|
7423
7423
|
type: "submenu",
|
|
7424
7424
|
label: u,
|
|
7425
|
-
icon:
|
|
7425
|
+
icon: Nr,
|
|
7426
7426
|
selectedLabel: E,
|
|
7427
7427
|
children: w
|
|
7428
7428
|
}), x.push({ type: "separator" }), x.push({
|
|
7429
7429
|
label: i,
|
|
7430
|
-
icon:
|
|
7430
|
+
icon: ki,
|
|
7431
7431
|
onClick: y
|
|
7432
7432
|
}), n && x.push({
|
|
7433
7433
|
label: a,
|
|
7434
|
-
icon:
|
|
7434
|
+
icon: Ji,
|
|
7435
7435
|
onClick: b,
|
|
7436
7436
|
critical: !0
|
|
7437
7437
|
}), x;
|
|
@@ -7452,12 +7452,12 @@ var Bp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7452
7452
|
return {
|
|
7453
7453
|
id: i,
|
|
7454
7454
|
label: t.title || n,
|
|
7455
|
-
icon:
|
|
7455
|
+
icon: dr,
|
|
7456
7456
|
onClick: y,
|
|
7457
7457
|
...!h && !g && !t.locked && { otherActions: [
|
|
7458
7458
|
{
|
|
7459
7459
|
label: o,
|
|
7460
|
-
icon:
|
|
7460
|
+
icon: ki,
|
|
7461
7461
|
onClick: () => m?.({
|
|
7462
7462
|
elementId: t.id,
|
|
7463
7463
|
type: "section"
|
|
@@ -7466,7 +7466,7 @@ var Bp = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7466
7466
|
{ type: "separator" },
|
|
7467
7467
|
{
|
|
7468
7468
|
label: s,
|
|
7469
|
-
icon:
|
|
7469
|
+
icon: Ji,
|
|
7470
7470
|
onClick: () => p(t.id),
|
|
7471
7471
|
critical: !0
|
|
7472
7472
|
}
|
|
@@ -7533,7 +7533,7 @@ function em(e, t) {
|
|
|
7533
7533
|
return i;
|
|
7534
7534
|
}
|
|
7535
7535
|
var tm = ({ elements: e, onChange: t, answering: n }) => {
|
|
7536
|
-
let { t: r } = R(), { disabled: i, labels: a } = Zf(), { portalContainer: o } = Pc(
|
|
7536
|
+
let { t: r } = R(), { disabled: i, labels: a } = Zf(), { portalContainer: o } = Pc(Go), s = Zp(e, {
|
|
7537
7537
|
untitledSectionLabel: r("surveyFormBuilder.labels.sectionTitlePlaceholder"),
|
|
7538
7538
|
untitledQuestionLabel: r("surveyFormBuilder.labels.titlePlaceholder"),
|
|
7539
7539
|
duplicateQuestionLabel: a?.duplicateQuestion ?? r("surveyFormBuilder.actions.duplicateQuestion"),
|
|
@@ -8040,7 +8040,7 @@ function Sm({ value: e, onChange: t, onBlur: n, config: r }) {
|
|
|
8040
8040
|
s || a === "multi-select" && e.target.closest("input") || p(t.value);
|
|
8041
8041
|
},
|
|
8042
8042
|
children: [
|
|
8043
|
-
a === "multi-select" ? /* @__PURE__ */ X(
|
|
8043
|
+
a === "multi-select" ? /* @__PURE__ */ X(Cs, {
|
|
8044
8044
|
title: t.label,
|
|
8045
8045
|
checked: !!n,
|
|
8046
8046
|
onCheckedChange: () => f(t.value),
|
|
@@ -8053,7 +8053,7 @@ function Sm({ value: e, onChange: t, onBlur: n, config: r }) {
|
|
|
8053
8053
|
u ? /* @__PURE__ */ X("div", {
|
|
8054
8054
|
className: "min-h-8 p-1",
|
|
8055
8055
|
children: /* @__PURE__ */ X(H, {
|
|
8056
|
-
icon: t.correct ?
|
|
8056
|
+
icon: t.correct ? ti : ci,
|
|
8057
8057
|
color: t.correct ? "positive" : "critical",
|
|
8058
8058
|
"aria-hidden": !0
|
|
8059
8059
|
})
|
|
@@ -8075,7 +8075,7 @@ var Cm = /^(https?:\/\/)?[\w.-]+\.[a-z]{2,}(:\d+)?(\/[^\s]*)?$/i, wm = () => ({
|
|
|
8075
8075
|
status: "idle"
|
|
8076
8076
|
});
|
|
8077
8077
|
function Tm(e, t) {
|
|
8078
|
-
return
|
|
8078
|
+
return ri().optional().superRefine((n, r) => {
|
|
8079
8079
|
e && (!n || n.trim() === "") && r.addIssue({
|
|
8080
8080
|
code: "custom",
|
|
8081
8081
|
message: t("forms.validation.required")
|
|
@@ -8083,7 +8083,7 @@ function Tm(e, t) {
|
|
|
8083
8083
|
});
|
|
8084
8084
|
}
|
|
8085
8085
|
function Em(e, t) {
|
|
8086
|
-
return
|
|
8086
|
+
return ri().optional().superRefine((n, r) => {
|
|
8087
8087
|
e && (!n || n.trim() === "") ? r.addIssue({
|
|
8088
8088
|
code: "custom",
|
|
8089
8089
|
message: t("forms.validation.required")
|
|
@@ -8094,7 +8094,7 @@ function Em(e, t) {
|
|
|
8094
8094
|
});
|
|
8095
8095
|
}
|
|
8096
8096
|
function Dm(e, t) {
|
|
8097
|
-
return
|
|
8097
|
+
return Gi().optional().superRefine((n, r) => {
|
|
8098
8098
|
e && n == null && r.addIssue({
|
|
8099
8099
|
code: "custom",
|
|
8100
8100
|
message: t("forms.validation.required")
|
|
@@ -8102,7 +8102,7 @@ function Dm(e, t) {
|
|
|
8102
8102
|
});
|
|
8103
8103
|
}
|
|
8104
8104
|
function Om(e, t) {
|
|
8105
|
-
return
|
|
8105
|
+
return gi(ri()).optional().superRefine((n, r) => {
|
|
8106
8106
|
e && (!n || n.length === 0) && r.addIssue({
|
|
8107
8107
|
code: "custom",
|
|
8108
8108
|
message: t("forms.validation.required")
|
|
@@ -8110,7 +8110,7 @@ function Om(e, t) {
|
|
|
8110
8110
|
});
|
|
8111
8111
|
}
|
|
8112
8112
|
function km(e, t) {
|
|
8113
|
-
return
|
|
8113
|
+
return Li().optional().superRefine((n, r) => {
|
|
8114
8114
|
e && !n && r.addIssue({
|
|
8115
8115
|
code: "custom",
|
|
8116
8116
|
message: t("forms.validation.required")
|
|
@@ -8119,7 +8119,7 @@ function km(e, t) {
|
|
|
8119
8119
|
}
|
|
8120
8120
|
var Am = Om;
|
|
8121
8121
|
function jm(e, t) {
|
|
8122
|
-
return
|
|
8122
|
+
return Qi().optional().superRefine((n, r) => {
|
|
8123
8123
|
e && !n && r.addIssue({
|
|
8124
8124
|
code: "custom",
|
|
8125
8125
|
message: t("forms.validation.required")
|
|
@@ -8172,7 +8172,7 @@ function Im({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8172
8172
|
placeholder: t("surveyFormBuilder.answer.textPlaceholder"),
|
|
8173
8173
|
disabled: i
|
|
8174
8174
|
};
|
|
8175
|
-
return
|
|
8175
|
+
return Bi(Tm(!!e.required, t), {
|
|
8176
8176
|
...l,
|
|
8177
8177
|
fieldType: "custom",
|
|
8178
8178
|
render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Tp, {
|
|
@@ -8200,7 +8200,7 @@ function Im({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8200
8200
|
rows: 4,
|
|
8201
8201
|
disabled: i
|
|
8202
8202
|
};
|
|
8203
|
-
return
|
|
8203
|
+
return Bi(Tm(!!e.required, t), {
|
|
8204
8204
|
...l,
|
|
8205
8205
|
fieldType: "custom",
|
|
8206
8206
|
render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Tp, {
|
|
@@ -8227,7 +8227,7 @@ function Im({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8227
8227
|
placeholder: t("surveyFormBuilder.answer.numericPlaceholder"),
|
|
8228
8228
|
disabled: i
|
|
8229
8229
|
};
|
|
8230
|
-
return
|
|
8230
|
+
return Bi(Dm(!!e.required, t), {
|
|
8231
8231
|
...l,
|
|
8232
8232
|
fieldType: "custom",
|
|
8233
8233
|
render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Tp, {
|
|
@@ -8255,7 +8255,7 @@ function Im({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8255
8255
|
placeholder: t("surveyFormBuilder.answer.linkPlaceholder"),
|
|
8256
8256
|
disabled: i
|
|
8257
8257
|
};
|
|
8258
|
-
return
|
|
8258
|
+
return Bi(Em(!!e.required, t), {
|
|
8259
8259
|
...l,
|
|
8260
8260
|
fieldType: "custom",
|
|
8261
8261
|
render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Tp, {
|
|
@@ -8282,7 +8282,7 @@ function Im({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8282
8282
|
clearable: !e.required,
|
|
8283
8283
|
disabled: i
|
|
8284
8284
|
};
|
|
8285
|
-
return
|
|
8285
|
+
return Bi(km(!!e.required, t), {
|
|
8286
8286
|
...l,
|
|
8287
8287
|
fieldType: "custom",
|
|
8288
8288
|
render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Tp, {
|
|
@@ -8318,7 +8318,7 @@ function Im({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8318
8318
|
showSearchBox: r,
|
|
8319
8319
|
searchBoxPlaceholder: e.searchBoxPlaceholder
|
|
8320
8320
|
};
|
|
8321
|
-
return
|
|
8321
|
+
return Bi(Tm(!!e.required, t), {
|
|
8322
8322
|
...l,
|
|
8323
8323
|
fieldType: "custom",
|
|
8324
8324
|
render: ({ value: t, onChange: r, onBlur: i, error: o }) => {
|
|
@@ -8367,7 +8367,7 @@ function Im({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8367
8367
|
showSearchBox: r,
|
|
8368
8368
|
searchBoxPlaceholder: e.searchBoxPlaceholder
|
|
8369
8369
|
};
|
|
8370
|
-
return
|
|
8370
|
+
return Bi(Om(!!e.required, t), {
|
|
8371
8371
|
...l,
|
|
8372
8372
|
fieldType: "custom",
|
|
8373
8373
|
render: ({ value: e, onChange: t, onBlur: n, error: r }) => /* @__PURE__ */ X(Tp, {
|
|
@@ -8394,7 +8394,7 @@ function Im({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8394
8394
|
disabled: i,
|
|
8395
8395
|
showAnswerValidation: r
|
|
8396
8396
|
};
|
|
8397
|
-
return
|
|
8397
|
+
return Bi(Tm(!!e.required, t), {
|
|
8398
8398
|
...l,
|
|
8399
8399
|
fieldType: "custom",
|
|
8400
8400
|
fieldConfig: n,
|
|
@@ -8417,7 +8417,7 @@ function Im({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8417
8417
|
disabled: i,
|
|
8418
8418
|
showAnswerValidation: r
|
|
8419
8419
|
};
|
|
8420
|
-
return
|
|
8420
|
+
return Bi(Om(!!e.required, t), {
|
|
8421
8421
|
...l,
|
|
8422
8422
|
fieldType: "custom",
|
|
8423
8423
|
fieldConfig: n,
|
|
@@ -8439,7 +8439,7 @@ function Im({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8439
8439
|
maxLabel: n.maxLabel,
|
|
8440
8440
|
disabled: i
|
|
8441
8441
|
};
|
|
8442
|
-
return
|
|
8442
|
+
return Bi(Dm(!!e.required, t), {
|
|
8443
8443
|
...l,
|
|
8444
8444
|
fieldType: "custom",
|
|
8445
8445
|
fieldConfig: r,
|
|
@@ -8465,7 +8465,7 @@ function Im({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8465
8465
|
useUpload: r ?? wm,
|
|
8466
8466
|
disabled: i || !r
|
|
8467
8467
|
};
|
|
8468
|
-
return
|
|
8468
|
+
return Bi(Am(!!e.required, t), {
|
|
8469
8469
|
...l,
|
|
8470
8470
|
fieldType: "custom",
|
|
8471
8471
|
render: ({ value: e, onChange: t, onBlur: n, error: r }) => /* @__PURE__ */ X(Tp, {
|
|
@@ -8491,7 +8491,7 @@ function Im({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8491
8491
|
label: n.label || c,
|
|
8492
8492
|
disabled: i
|
|
8493
8493
|
};
|
|
8494
|
-
return
|
|
8494
|
+
return Bi(jm(!!e.required, t), {
|
|
8495
8495
|
...l,
|
|
8496
8496
|
fieldType: "custom",
|
|
8497
8497
|
render: ({ value: e, onChange: t, onBlur: n, error: i }) => /* @__PURE__ */ X(Tp, {
|
|
@@ -8510,7 +8510,7 @@ function Im({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8510
8510
|
})
|
|
8511
8511
|
});
|
|
8512
8512
|
}
|
|
8513
|
-
default: return
|
|
8513
|
+
default: return Bi(zi(), {
|
|
8514
8514
|
...l,
|
|
8515
8515
|
fieldType: "custom",
|
|
8516
8516
|
render: () => null
|
|
@@ -8557,7 +8557,7 @@ function Bm({ elements: e, mode: t, t: n, defaultValues: r, currentQuestionId: i
|
|
|
8557
8557
|
}), f[t] = a?.[t] ?? Mm(e, r);
|
|
8558
8558
|
}
|
|
8559
8559
|
return {
|
|
8560
|
-
schema:
|
|
8560
|
+
schema: Oi(d),
|
|
8561
8561
|
defaultValues: f,
|
|
8562
8562
|
flatQuestions: m,
|
|
8563
8563
|
sections: p
|
|
@@ -8582,7 +8582,7 @@ function Hm(e) {
|
|
|
8582
8582
|
return {
|
|
8583
8583
|
label: e.t("surveyAnsweringForm.actions.next"),
|
|
8584
8584
|
onClick: e.onNext,
|
|
8585
|
-
icon:
|
|
8585
|
+
icon: cr
|
|
8586
8586
|
};
|
|
8587
8587
|
}
|
|
8588
8588
|
function Um(e) {
|
|
@@ -8604,7 +8604,7 @@ function Wm(e) {
|
|
|
8604
8604
|
secondaryAction: e.isActive && e.isStepped && !e.isFirstStep ? {
|
|
8605
8605
|
label: e.t("surveyAnsweringForm.actions.previous"),
|
|
8606
8606
|
onClick: e.onPrevious,
|
|
8607
|
-
icon:
|
|
8607
|
+
icon: Ho
|
|
8608
8608
|
} : void 0
|
|
8609
8609
|
};
|
|
8610
8610
|
}
|
|
@@ -8748,10 +8748,10 @@ function Zm({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
|
|
|
8748
8748
|
onPrevious: Ae
|
|
8749
8749
|
}), Ie = u && !p ? [{
|
|
8750
8750
|
label: b(C ? "surveyAnsweringForm.actions.collapse" : "surveyAnsweringForm.actions.expand"),
|
|
8751
|
-
icon: C ?
|
|
8751
|
+
icon: C ? $r : ia,
|
|
8752
8752
|
onClick: () => w((e) => !e)
|
|
8753
8753
|
}] : void 0, Le = n === "all-questions" && ue && !p, Re = I && ue && !p, ze = I && !!F?.sectionTitle && !p, Be = Ce === "center" || Ce === "fullscreen";
|
|
8754
|
-
return /* @__PURE__ */ X(
|
|
8754
|
+
return /* @__PURE__ */ X(na, {
|
|
8755
8755
|
isOpen: o,
|
|
8756
8756
|
onClose: je,
|
|
8757
8757
|
title: r,
|
|
@@ -8777,7 +8777,7 @@ function Zm({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
|
|
|
8777
8777
|
}) : null,
|
|
8778
8778
|
Re ? /* @__PURE__ */ X("div", {
|
|
8779
8779
|
className: "absolute left-0 right-0 top-0 [&>div>div>div]:h-1 [&>div>div>div]:rounded-none",
|
|
8780
|
-
children: /* @__PURE__ */ X(
|
|
8780
|
+
children: /* @__PURE__ */ X(ts, {
|
|
8781
8781
|
label: "Value",
|
|
8782
8782
|
value: re,
|
|
8783
8783
|
hideLabel: !0
|
|
@@ -8794,7 +8794,7 @@ function Zm({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
|
|
|
8794
8794
|
...a
|
|
8795
8795
|
})
|
|
8796
8796
|
}),
|
|
8797
|
-
p ? X(n === "stepped" ? gm : hm, {}) : ue ? null : /* @__PURE__ */ X(
|
|
8797
|
+
p ? X(n === "stepped" ? gm : hm, {}) : ue ? null : /* @__PURE__ */ X(ho, {
|
|
8798
8798
|
display: "flex",
|
|
8799
8799
|
flexDirection: "column",
|
|
8800
8800
|
height: "full",
|
|
@@ -8873,7 +8873,7 @@ function Qm({ elements: e, title: t, description: n, resourceHeader: r, defaultV
|
|
|
8873
8873
|
hideActionBar: !0
|
|
8874
8874
|
},
|
|
8875
8875
|
sections: h
|
|
8876
|
-
}) : /* @__PURE__ */ X(
|
|
8876
|
+
}) : /* @__PURE__ */ X(ho, {
|
|
8877
8877
|
display: "flex",
|
|
8878
8878
|
flexDirection: "column",
|
|
8879
8879
|
justifyContent: "center",
|
|
@@ -8894,7 +8894,7 @@ var $m = ["step", "close"];
|
|
|
8894
8894
|
//#endregion
|
|
8895
8895
|
//#region src/domains/talent/surveys/surveys/SurveySampleQuestion/SurveySampleQuestion.tsx
|
|
8896
8896
|
function eh(e) {
|
|
8897
|
-
return /* @__PURE__ */ Z(
|
|
8897
|
+
return /* @__PURE__ */ Z(ho, {
|
|
8898
8898
|
display: "flex",
|
|
8899
8899
|
flexDirection: "column",
|
|
8900
8900
|
gap: "lg",
|
|
@@ -8912,21 +8912,21 @@ function eh(e) {
|
|
|
8912
8912
|
});
|
|
8913
8913
|
}
|
|
8914
8914
|
function th({ steps: e, minLabel: t, maxLabel: n }) {
|
|
8915
|
-
return /* @__PURE__ */ Z(
|
|
8915
|
+
return /* @__PURE__ */ Z(ho, {
|
|
8916
8916
|
display: "flex",
|
|
8917
8917
|
flexDirection: "column",
|
|
8918
8918
|
gap: "sm",
|
|
8919
|
-
children: [/* @__PURE__ */ X(
|
|
8919
|
+
children: [/* @__PURE__ */ X(ho, {
|
|
8920
8920
|
display: "grid",
|
|
8921
8921
|
columns: String(e),
|
|
8922
8922
|
gap: "sm",
|
|
8923
|
-
children: Array.from({ length: e }).map((e, t) => /* @__PURE__ */ X(
|
|
8923
|
+
children: Array.from({ length: e }).map((e, t) => /* @__PURE__ */ X(ho, {
|
|
8924
8924
|
height: "8",
|
|
8925
8925
|
border: "default",
|
|
8926
8926
|
borderRadius: "md",
|
|
8927
8927
|
background: "primary"
|
|
8928
8928
|
}, t))
|
|
8929
|
-
}), t || n ? /* @__PURE__ */ Z(
|
|
8929
|
+
}), t || n ? /* @__PURE__ */ Z(ho, {
|
|
8930
8930
|
display: "flex",
|
|
8931
8931
|
justifyContent: "between",
|
|
8932
8932
|
alignItems: "center",
|
|
@@ -8941,11 +8941,11 @@ function th({ steps: e, minLabel: t, maxLabel: n }) {
|
|
|
8941
8941
|
});
|
|
8942
8942
|
}
|
|
8943
8943
|
function nh({ options: e }) {
|
|
8944
|
-
return /* @__PURE__ */ X(
|
|
8944
|
+
return /* @__PURE__ */ X(ho, {
|
|
8945
8945
|
display: "flex",
|
|
8946
8946
|
flexDirection: "column",
|
|
8947
8947
|
gap: "md",
|
|
8948
|
-
children: e.map((e) => /* @__PURE__ */ Z(
|
|
8948
|
+
children: e.map((e) => /* @__PURE__ */ Z(ho, {
|
|
8949
8949
|
display: "flex",
|
|
8950
8950
|
alignItems: "center",
|
|
8951
8951
|
gap: "md",
|
|
@@ -8954,7 +8954,7 @@ function nh({ options: e }) {
|
|
|
8954
8954
|
border: "default",
|
|
8955
8955
|
borderRadius: "md",
|
|
8956
8956
|
background: "primary",
|
|
8957
|
-
children: [/* @__PURE__ */ X(
|
|
8957
|
+
children: [/* @__PURE__ */ X(ho, {
|
|
8958
8958
|
shrink: !1,
|
|
8959
8959
|
width: "4",
|
|
8960
8960
|
height: "4",
|
|
@@ -8998,17 +8998,17 @@ var rh = ({ benefits: e }) => /* @__PURE__ */ X("div", {
|
|
|
8998
8998
|
children: [
|
|
8999
8999
|
/* @__PURE__ */ Z("div", {
|
|
9000
9000
|
className: "flex flex-row items-center gap-2",
|
|
9001
|
-
children: [a ? /* @__PURE__ */ X(
|
|
9001
|
+
children: [a ? /* @__PURE__ */ X(Eo, { module: a }) : null, o ? /* @__PURE__ */ X("p", {
|
|
9002
9002
|
className: "text-base font-medium text-f1-foreground",
|
|
9003
9003
|
children: o
|
|
9004
9004
|
}) : null]
|
|
9005
9005
|
}),
|
|
9006
9006
|
s || c ? /* @__PURE__ */ Z("div", {
|
|
9007
9007
|
className: "flex justify-start gap-2",
|
|
9008
|
-
children: [s ? /* @__PURE__ */ X(
|
|
9008
|
+
children: [s ? /* @__PURE__ */ X(rs, {
|
|
9009
9009
|
icon: s.icon,
|
|
9010
9010
|
text: s.label
|
|
9011
|
-
}) : null, c ? /* @__PURE__ */ X(
|
|
9011
|
+
}) : null, c ? /* @__PURE__ */ X(Io, {
|
|
9012
9012
|
variant: c.variant || "positive",
|
|
9013
9013
|
text: c.label
|
|
9014
9014
|
}) : null]
|
|
@@ -9033,26 +9033,26 @@ function sh({ isOpen: e, onClose: t, title: n, children: r, module: i, portalCon
|
|
|
9033
9033
|
let [o, s] = J(e);
|
|
9034
9034
|
return G(() => {
|
|
9035
9035
|
s(e);
|
|
9036
|
-
}, [e]), /* @__PURE__ */ X(
|
|
9036
|
+
}, [e]), /* @__PURE__ */ X(_r, {
|
|
9037
9037
|
open: o,
|
|
9038
9038
|
onOpenChange: (e) => {
|
|
9039
9039
|
s(e), e || t();
|
|
9040
9040
|
},
|
|
9041
9041
|
modal: !0,
|
|
9042
|
-
children: /* @__PURE__ */ Z(
|
|
9042
|
+
children: /* @__PURE__ */ Z(Wi, {
|
|
9043
9043
|
className: "max-h-[620px] w-[760px] overflow-y-auto overflow-x-hidden bg-f1-background",
|
|
9044
9044
|
container: a,
|
|
9045
9045
|
children: [/* @__PURE__ */ Z("div", {
|
|
9046
9046
|
className: "flex flex-row items-center justify-between px-4 py-4",
|
|
9047
|
-
children: [/* @__PURE__ */ Z(
|
|
9047
|
+
children: [/* @__PURE__ */ Z(wr, {
|
|
9048
9048
|
className: "flex flex-row items-center gap-2 text-lg font-semibold text-f1-foreground",
|
|
9049
|
-
children: [i ? /* @__PURE__ */ X(
|
|
9049
|
+
children: [i ? /* @__PURE__ */ X(Eo, {
|
|
9050
9050
|
module: i,
|
|
9051
9051
|
size: "md"
|
|
9052
9052
|
}) : null, n]
|
|
9053
9053
|
}), /* @__PURE__ */ X(nr, {
|
|
9054
9054
|
variant: "outline",
|
|
9055
|
-
icon:
|
|
9055
|
+
icon: ci,
|
|
9056
9056
|
onClick: t,
|
|
9057
9057
|
label: "Close modal",
|
|
9058
9058
|
hideLabel: !0
|
|
@@ -9142,14 +9142,14 @@ function uh({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
|
|
|
9142
9142
|
o && o(!l);
|
|
9143
9143
|
}, [o, l]);
|
|
9144
9144
|
let f = e?.includes(".mp4");
|
|
9145
|
-
return /* @__PURE__ */ X(Y, { children: l ? null : /* @__PURE__ */ Z(
|
|
9145
|
+
return /* @__PURE__ */ X(Y, { children: l ? null : /* @__PURE__ */ Z(Pi, {
|
|
9146
9146
|
style: { width: a },
|
|
9147
9147
|
className: "relative bg-f1-background p-1",
|
|
9148
|
-
children: [/* @__PURE__ */ Z(
|
|
9148
|
+
children: [/* @__PURE__ */ Z(mi, { children: [i ? /* @__PURE__ */ X("div", {
|
|
9149
9149
|
className: "absolute right-2 top-2 z-10",
|
|
9150
9150
|
children: /* @__PURE__ */ X(V, {
|
|
9151
9151
|
variant: "ghost",
|
|
9152
|
-
icon:
|
|
9152
|
+
icon: ci,
|
|
9153
9153
|
size: "sm",
|
|
9154
9154
|
hideLabel: !0,
|
|
9155
9155
|
onClick: d,
|
|
@@ -9175,7 +9175,7 @@ function uh({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
|
|
|
9175
9175
|
className: "line-clamp-3 text-base font-normal text-f1-foreground-secondary",
|
|
9176
9176
|
children: n
|
|
9177
9177
|
})]
|
|
9178
|
-
})] })] }), s ? /* @__PURE__ */ X(
|
|
9178
|
+
})] })] }), s ? /* @__PURE__ */ X(yi, {
|
|
9179
9179
|
className: "p-3",
|
|
9180
9180
|
children: s.map((e) => e.type === "upsell" ? /* @__PURE__ */ X(D, {
|
|
9181
9181
|
label: e.label,
|
|
@@ -9198,7 +9198,7 @@ function uh({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
|
|
|
9198
9198
|
var dh = L(uh), fh = ({ onDismiss: e }) => {
|
|
9199
9199
|
let { actions: t } = R();
|
|
9200
9200
|
return /* @__PURE__ */ X(V, {
|
|
9201
|
-
icon:
|
|
9201
|
+
icon: ci,
|
|
9202
9202
|
label: t.close,
|
|
9203
9203
|
hideLabel: !0,
|
|
9204
9204
|
variant: "outline",
|
|
@@ -9289,7 +9289,7 @@ hh.displayName = "UpsellingBanner";
|
|
|
9289
9289
|
var gh = L(hh);
|
|
9290
9290
|
//#endregion
|
|
9291
9291
|
//#region src/domains/growth/upselling/UpsellingKit/UpsellingPopover/UpsellingPopover.tsx
|
|
9292
|
-
function _h({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i = "md", showIcon: a = !0, side: o = "right", align: s = "center", icon: c =
|
|
9292
|
+
function _h({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i = "md", showIcon: a = !0, side: o = "right", align: s = "center", icon: c = zr, mediaUrl: l, title: u, description: d, width: f = "300px", trackVisibility: p, actions: m, onClick: h, hideLabel: g = !1 }) {
|
|
9293
9293
|
let [_, v] = J(!1), [y, b] = J(null), [x, S] = J(null), C = (e) => {
|
|
9294
9294
|
t(e), h && h();
|
|
9295
9295
|
}, w = async (e) => {
|
|
@@ -9349,9 +9349,9 @@ function _h({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i
|
|
|
9349
9349
|
}
|
|
9350
9350
|
var vh = L(_h), yh = ({ preview: e, moduleName: t, description: n, onAction: r, actionHref: i }) => {
|
|
9351
9351
|
let a = R(), o = a?.ai?.growth?.demoCard?.title ?? "Show {{moduleName}} in action", s = a?.ai?.growth?.demoCard?.actionLabel ?? "Start demo", c = o.replace("{{moduleName}}", t);
|
|
9352
|
-
return /* @__PURE__ */ Z(
|
|
9352
|
+
return /* @__PURE__ */ Z(Pi, {
|
|
9353
9353
|
className: "flex flex-col overflow-hidden",
|
|
9354
|
-
children: [/* @__PURE__ */ Z(
|
|
9354
|
+
children: [/* @__PURE__ */ Z(mi, {
|
|
9355
9355
|
className: "flex flex-col gap-4 p-0",
|
|
9356
9356
|
children: [/* @__PURE__ */ X("div", {
|
|
9357
9357
|
className: B("overflow-hidden rounded-lg border border-f1-border", "ring-1 ring-f1-border/50 bg-f1-background-inverse-secondary dark:bg-f1-background-tertiary"),
|
|
@@ -9366,7 +9366,7 @@ var vh = L(_h), yh = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9366
9366
|
children: n
|
|
9367
9367
|
})]
|
|
9368
9368
|
})]
|
|
9369
|
-
}), /* @__PURE__ */ X(
|
|
9369
|
+
}), /* @__PURE__ */ X(yi, {
|
|
9370
9370
|
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",
|
|
9371
9371
|
children: i ? /* @__PURE__ */ X(V, {
|
|
9372
9372
|
variant: "default",
|
|
@@ -9397,7 +9397,7 @@ var vh = L(_h), yh = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9397
9397
|
}), /* @__PURE__ */ X("span", {
|
|
9398
9398
|
className: "mt-0.5 flex-shrink-0 text-f1-foreground-secondary",
|
|
9399
9399
|
children: /* @__PURE__ */ X(H, {
|
|
9400
|
-
icon: t ?
|
|
9400
|
+
icon: t ? mo : Qo,
|
|
9401
9401
|
size: "sm",
|
|
9402
9402
|
className: B("transition-transform duration-200", t && "text-f1-foreground")
|
|
9403
9403
|
})
|
|
@@ -9413,7 +9413,7 @@ var vh = L(_h), yh = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9413
9413
|
})
|
|
9414
9414
|
})]
|
|
9415
9415
|
}), xh = ({ headerIcon: e, items: t, defaultExpandedId: n, expandedId: r, onExpandedChange: i, allowMultiple: a = !1 }) => {
|
|
9416
|
-
let o = R()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", s = e ??
|
|
9416
|
+
let o = R()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", s = e ?? Xr, [c, l] = J(() => new Set(n ? [n] : [])), u = r !== void 0, d = W((e) => u ? r === e : c.has(e), [
|
|
9417
9417
|
u,
|
|
9418
9418
|
r,
|
|
9419
9419
|
c
|
|
@@ -9428,9 +9428,9 @@ var vh = L(_h), yh = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9428
9428
|
i,
|
|
9429
9429
|
a
|
|
9430
9430
|
]);
|
|
9431
|
-
return t.length === 0 ? null : /* @__PURE__ */ Z(
|
|
9431
|
+
return t.length === 0 ? null : /* @__PURE__ */ Z(Pi, {
|
|
9432
9432
|
className: "flex flex-col overflow-hidden",
|
|
9433
|
-
children: [/* @__PURE__ */ Z(
|
|
9433
|
+
children: [/* @__PURE__ */ Z(Ui, {
|
|
9434
9434
|
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",
|
|
9435
9435
|
children: [/* @__PURE__ */ X("div", {
|
|
9436
9436
|
className: "flex h-6 w-6 items-center justify-center rounded-full border border-f1-border-secondary",
|
|
@@ -9443,7 +9443,7 @@ var vh = L(_h), yh = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9443
9443
|
className: "text-base font-semibold text-f1-foreground",
|
|
9444
9444
|
children: o
|
|
9445
9445
|
})]
|
|
9446
|
-
}), /* @__PURE__ */ X(
|
|
9446
|
+
}), /* @__PURE__ */ X(mi, {
|
|
9447
9447
|
className: "flex flex-col divide-y divide-f1-border p-0",
|
|
9448
9448
|
children: t.map((e) => /* @__PURE__ */ X(bh, {
|
|
9449
9449
|
item: e,
|
|
@@ -9454,13 +9454,13 @@ var vh = L(_h), yh = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9454
9454
|
});
|
|
9455
9455
|
}, Sh = ({ moduleName: e, description: t, onAction: n, actionHref: r, imageSrc: i }) => {
|
|
9456
9456
|
let a = R()?.ai?.growth?.moduleCard?.actionLabel ?? "Learn more";
|
|
9457
|
-
return /* @__PURE__ */ Z(
|
|
9457
|
+
return /* @__PURE__ */ Z(Pi, {
|
|
9458
9458
|
className: "flex flex-col overflow-hidden",
|
|
9459
|
-
children: [/* @__PURE__ */ X(
|
|
9459
|
+
children: [/* @__PURE__ */ X(mi, {
|
|
9460
9460
|
className: "flex flex-col gap-3 p-0",
|
|
9461
9461
|
children: /* @__PURE__ */ Z("div", {
|
|
9462
9462
|
className: "flex items-start gap-3",
|
|
9463
|
-
children: [/* @__PURE__ */ X(
|
|
9463
|
+
children: [/* @__PURE__ */ X(ko, {
|
|
9464
9464
|
avatar: {
|
|
9465
9465
|
type: "company",
|
|
9466
9466
|
name: e || "",
|
|
@@ -9478,7 +9478,7 @@ var vh = L(_h), yh = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9478
9478
|
})]
|
|
9479
9479
|
})]
|
|
9480
9480
|
})
|
|
9481
|
-
}), /* @__PURE__ */ X(
|
|
9481
|
+
}), /* @__PURE__ */ X(yi, {
|
|
9482
9482
|
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",
|
|
9483
9483
|
children: r ? /* @__PURE__ */ X(V, {
|
|
9484
9484
|
variant: "outline",
|
|
@@ -9496,12 +9496,12 @@ var vh = L(_h), yh = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9496
9496
|
});
|
|
9497
9497
|
}, Ch = ({ onAction: e, actionHref: t }) => {
|
|
9498
9498
|
let n = R()?.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";
|
|
9499
|
-
return /* @__PURE__ */ Z(
|
|
9499
|
+
return /* @__PURE__ */ Z(Pi, {
|
|
9500
9500
|
className: "flex flex-col overflow-hidden",
|
|
9501
|
-
children: [/* @__PURE__ */ Z(
|
|
9501
|
+
children: [/* @__PURE__ */ Z(mi, {
|
|
9502
9502
|
className: "flex flex-col gap-3 p-0",
|
|
9503
9503
|
children: [/* @__PURE__ */ X(H, {
|
|
9504
|
-
icon:
|
|
9504
|
+
icon: aa,
|
|
9505
9505
|
size: "lg"
|
|
9506
9506
|
}), /* @__PURE__ */ Z("div", {
|
|
9507
9507
|
className: "flex flex-col gap-0.5",
|
|
@@ -9513,7 +9513,7 @@ var vh = L(_h), yh = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9513
9513
|
children: i
|
|
9514
9514
|
})]
|
|
9515
9515
|
})]
|
|
9516
|
-
}), /* @__PURE__ */ X(
|
|
9516
|
+
}), /* @__PURE__ */ X(yi, {
|
|
9517
9517
|
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",
|
|
9518
9518
|
children: t ? /* @__PURE__ */ X(V, {
|
|
9519
9519
|
variant: "default",
|
|
@@ -9559,9 +9559,9 @@ var vh = L(_h), yh = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9559
9559
|
e,
|
|
9560
9560
|
t
|
|
9561
9561
|
]), g = a === u - 1, _ = u > 1, v = n != null;
|
|
9562
|
-
return u === 0 || !d ? null : /* @__PURE__ */ Z(
|
|
9562
|
+
return u === 0 || !d ? null : /* @__PURE__ */ Z(Pi, {
|
|
9563
9563
|
className: "flex flex-col overflow-hidden",
|
|
9564
|
-
children: [/* @__PURE__ */ Z(
|
|
9564
|
+
children: [/* @__PURE__ */ Z(mi, {
|
|
9565
9565
|
className: "flex flex-col gap-4",
|
|
9566
9566
|
children: [/* @__PURE__ */ X("h3", {
|
|
9567
9567
|
className: "text-base font-semibold text-f1-foreground",
|
|
@@ -9570,7 +9570,7 @@ var vh = L(_h), yh = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9570
9570
|
className: "flex flex-col gap-3",
|
|
9571
9571
|
children: d.options.map((e) => /* @__PURE__ */ X("div", {
|
|
9572
9572
|
className: "flex items-center gap-2.5",
|
|
9573
|
-
children: /* @__PURE__ */ X(
|
|
9573
|
+
children: /* @__PURE__ */ X(Cs, {
|
|
9574
9574
|
id: e.id,
|
|
9575
9575
|
title: e.label,
|
|
9576
9576
|
checked: f.includes(e.id),
|
|
@@ -9578,7 +9578,7 @@ var vh = L(_h), yh = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9578
9578
|
})
|
|
9579
9579
|
}, e.id))
|
|
9580
9580
|
})]
|
|
9581
|
-
}), /* @__PURE__ */ Z(
|
|
9581
|
+
}), /* @__PURE__ */ Z(yi, {
|
|
9582
9582
|
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",
|
|
9583
9583
|
children: [/* @__PURE__ */ X("div", {
|
|
9584
9584
|
className: "flex min-w-[7.5rem] items-center justify-start gap-1",
|
|
@@ -9590,7 +9590,7 @@ var vh = L(_h), yh = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9590
9590
|
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",
|
|
9591
9591
|
"aria-label": "Previous",
|
|
9592
9592
|
children: /* @__PURE__ */ X(H, {
|
|
9593
|
-
icon:
|
|
9593
|
+
icon: Xs,
|
|
9594
9594
|
size: "sm"
|
|
9595
9595
|
})
|
|
9596
9596
|
}),
|
|
@@ -9609,7 +9609,7 @@ var vh = L(_h), yh = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9609
9609
|
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",
|
|
9610
9610
|
"aria-label": "Next",
|
|
9611
9611
|
children: /* @__PURE__ */ X(H, {
|
|
9612
|
-
icon:
|
|
9612
|
+
icon: Qo,
|
|
9613
9613
|
size: "sm"
|
|
9614
9614
|
})
|
|
9615
9615
|
})
|
|
@@ -10101,7 +10101,7 @@ function sg(e, t) {
|
|
|
10101
10101
|
n.href = URL.createObjectURL(e), n.download = t, n.click(), URL.revokeObjectURL(n.href);
|
|
10102
10102
|
}
|
|
10103
10103
|
async function cg(e, t, n, { keys: r, preamble: i } = {}) {
|
|
10104
|
-
sg(await
|
|
10104
|
+
sg(await la([{
|
|
10105
10105
|
name: "Data",
|
|
10106
10106
|
rows: ag({
|
|
10107
10107
|
columns: e,
|
|
@@ -10123,7 +10123,7 @@ function ug(e, t, n) {
|
|
|
10123
10123
|
r.href = e, r.download = `${t}.${n}`, r.click();
|
|
10124
10124
|
}
|
|
10125
10125
|
async function dg(e, t) {
|
|
10126
|
-
sg(await
|
|
10126
|
+
sg(await la(e.map((e) => ({
|
|
10127
10127
|
name: e.name,
|
|
10128
10128
|
rows: ag(e)
|
|
10129
10129
|
}))), `${t}.xlsx`);
|
|
@@ -10187,24 +10187,24 @@ function mg({ chartContainerRef: e, chartConfig: t, data: n, title: r }) {
|
|
|
10187
10187
|
...t.type === "matrix" ? [] : [
|
|
10188
10188
|
{
|
|
10189
10189
|
label: i("ai.dataDownload.download", { format: "PNG" }),
|
|
10190
|
-
icon:
|
|
10190
|
+
icon: Or,
|
|
10191
10191
|
onClick: () => a("png")
|
|
10192
10192
|
},
|
|
10193
10193
|
{
|
|
10194
10194
|
label: i("ai.dataDownload.download", { format: "JPG" }),
|
|
10195
|
-
icon:
|
|
10195
|
+
icon: Or,
|
|
10196
10196
|
onClick: () => a("jpg")
|
|
10197
10197
|
},
|
|
10198
10198
|
{ type: "separator" }
|
|
10199
10199
|
],
|
|
10200
10200
|
{
|
|
10201
10201
|
label: i("ai.dataDownload.download", { format: "Excel" }),
|
|
10202
|
-
icon:
|
|
10202
|
+
icon: hr,
|
|
10203
10203
|
onClick: s
|
|
10204
10204
|
},
|
|
10205
10205
|
{
|
|
10206
10206
|
label: i("ai.dataDownload.download", { format: "CSV" }),
|
|
10207
|
-
icon:
|
|
10207
|
+
icon: hr,
|
|
10208
10208
|
onClick: c
|
|
10209
10209
|
}
|
|
10210
10210
|
] : [], [
|
|
@@ -10263,7 +10263,7 @@ function gg({ filters: e, value: t, onChange: n, onOpenChange: r }) {
|
|
|
10263
10263
|
}, [h, d]), G(() => {
|
|
10264
10264
|
l || m(t);
|
|
10265
10265
|
}, [l, t]);
|
|
10266
|
-
let v = Pc(
|
|
10266
|
+
let v = Pc(Go), y = v.portalContainer && (v.position === "center" || v.position === "fullscreen") ? v.portalContainer : void 0, b = K(() => Bs(e, t, i), [
|
|
10267
10267
|
e,
|
|
10268
10268
|
t,
|
|
10269
10269
|
i
|
|
@@ -10303,7 +10303,7 @@ function gg({ filters: e, value: t, onChange: n, onOpenChange: r }) {
|
|
|
10303
10303
|
asChild: !0,
|
|
10304
10304
|
children: /* @__PURE__ */ X(nr, {
|
|
10305
10305
|
label: i.filters.label,
|
|
10306
|
-
icon:
|
|
10306
|
+
icon: Os,
|
|
10307
10307
|
variant: "ghost",
|
|
10308
10308
|
size: "md",
|
|
10309
10309
|
hideLabel: !0,
|
|
@@ -10340,7 +10340,7 @@ function gg({ filters: e, value: t, onChange: n, onOpenChange: r }) {
|
|
|
10340
10340
|
className: "flex shrink-0 items-center gap-2 py-1.5 pl-1.5 pr-3",
|
|
10341
10341
|
children: g ? /* @__PURE__ */ Z(Y, { children: [/* @__PURE__ */ X(V, {
|
|
10342
10342
|
label: i.filters.availableFilters,
|
|
10343
|
-
icon:
|
|
10343
|
+
icon: Ho,
|
|
10344
10344
|
hideLabel: !0,
|
|
10345
10345
|
variant: "ghost",
|
|
10346
10346
|
size: "sm",
|
|
@@ -10374,7 +10374,7 @@ function gg({ filters: e, value: t, onChange: n, onOpenChange: r }) {
|
|
|
10374
10374
|
onClick: w,
|
|
10375
10375
|
label: i.filters.applySelection
|
|
10376
10376
|
})
|
|
10377
|
-
})] }) : /* @__PURE__ */ X(
|
|
10377
|
+
})] }) : /* @__PURE__ */ X(xs, {
|
|
10378
10378
|
definition: _,
|
|
10379
10379
|
tempFilters: p,
|
|
10380
10380
|
selectedFilterKey: g,
|
|
@@ -10435,7 +10435,7 @@ function yg({ title: e, enabled: t, actionsCollapse: n }) {
|
|
|
10435
10435
|
//#endregion
|
|
10436
10436
|
//#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/DashboardItem/DashboardItem.tsx
|
|
10437
10437
|
function bg({ 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: h, chartTypeOptions: g, explanation: _, isFullscreen: v = !1, descriptionAction: b, headerLines: x = 2, fitContent: S = !1, onFullscreenChange: C }) {
|
|
10438
|
-
let [w, T] = J(!1), [E, D] = J(!1), O = q(!1), [k, A] = J(!1), j = R(), { enabled: M, setPendingQuote: ee, setOpen: N, focusChatInput: P } =
|
|
10438
|
+
let [w, T] = J(!1), [E, D] = J(!1), O = q(!1), [k, A] = J(!1), j = R(), { enabled: M, setPendingQuote: ee, setOpen: N, focusChatInput: P } = br(), te = (e) => {
|
|
10439
10439
|
T(e), e || A(!1);
|
|
10440
10440
|
}, ne = c.filter((e) => !("type" in e) || e.type === "item" || e.type === void 0), re = ne.length > 0, F = u && f && h, ie = g && g.length > 0, ae = !!_ && _.trim().length > 0, oe = !!C, se = !d && e.trim().length > 0 && (p ? !!h : M), ce = se || re || F || ie || ae, le = !!l || oe || !!ce, ue = !v && (w || E), de = B("flex flex-shrink-0 gap-0.5", !v && "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", ue && "delay-0 !opacity-100"), I = B("-my-2 -mr-0.5 isolate grid flex-shrink-0", !v && "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]", ue && "delay-0 !grid-cols-[1fr]"), fe = yg({
|
|
10441
10441
|
title: e,
|
|
@@ -10535,7 +10535,7 @@ function bg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
10535
10535
|
"aria-live": r ? "polite" : void 0,
|
|
10536
10536
|
children: [/* @__PURE__ */ Z("div", {
|
|
10537
10537
|
className: B("flex flex-col px-4 py-3", le && "min-h-14"),
|
|
10538
|
-
children: [/* @__PURE__ */ Z(
|
|
10538
|
+
children: [/* @__PURE__ */ Z(ho, {
|
|
10539
10539
|
ref: fe.rowRef,
|
|
10540
10540
|
display: "flex",
|
|
10541
10541
|
minWidth: "0",
|
|
@@ -10566,7 +10566,7 @@ function bg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
10566
10566
|
}) : null,
|
|
10567
10567
|
oe ? /* @__PURE__ */ X(nr, {
|
|
10568
10568
|
label: v ? j.actions.collapse : j.actions.expand,
|
|
10569
|
-
icon: v ?
|
|
10569
|
+
icon: v ? $r : ia,
|
|
10570
10570
|
variant: "ghost",
|
|
10571
10571
|
size: "md",
|
|
10572
10572
|
hideLabel: !0,
|
|
@@ -10594,7 +10594,7 @@ function bg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
10594
10594
|
onCloseAutoFocus: ge,
|
|
10595
10595
|
children: k && ae ? /* @__PURE__ */ X("div", {
|
|
10596
10596
|
className: "px-3 py-2 text-base text-f1-foreground [&>div]:flex [&>div]:flex-col [&>div]:gap-2",
|
|
10597
|
-
children: /* @__PURE__ */ X(
|
|
10597
|
+
children: /* @__PURE__ */ X(Mr, {
|
|
10598
10598
|
content: _,
|
|
10599
10599
|
format: "markdown"
|
|
10600
10600
|
})
|
|
@@ -10626,7 +10626,7 @@ function bg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
10626
10626
|
},
|
|
10627
10627
|
children: /* @__PURE__ */ Z("div", {
|
|
10628
10628
|
className: "flex w-full flex-row items-center gap-2",
|
|
10629
|
-
children: [/* @__PURE__ */ X(H, { icon:
|
|
10629
|
+
children: [/* @__PURE__ */ X(H, { icon: Ro }), /* @__PURE__ */ X("span", {
|
|
10630
10630
|
className: "flex-1",
|
|
10631
10631
|
children: j.ai.dashboardItem.dataExplanation
|
|
10632
10632
|
})]
|
|
@@ -10637,7 +10637,7 @@ function bg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
10637
10637
|
className: "mx-1 rounded-sm px-2",
|
|
10638
10638
|
children: /* @__PURE__ */ Z("div", {
|
|
10639
10639
|
className: "flex w-full flex-row items-center gap-2 pr-2",
|
|
10640
|
-
children: [/* @__PURE__ */ X(H, { icon:
|
|
10640
|
+
children: [/* @__PURE__ */ X(H, { icon: Ki }), /* @__PURE__ */ X("span", {
|
|
10641
10641
|
className: "flex-1 text-base font-medium",
|
|
10642
10642
|
children: j.ai.dataDownload.title
|
|
10643
10643
|
})]
|
|
@@ -10659,7 +10659,7 @@ function bg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
10659
10659
|
className: B("text-f1-foreground-critical"),
|
|
10660
10660
|
children: /* @__PURE__ */ Z("div", {
|
|
10661
10661
|
className: "flex w-full flex-row items-center gap-2",
|
|
10662
|
-
children: [/* @__PURE__ */ X(H, { icon:
|
|
10662
|
+
children: [/* @__PURE__ */ X(H, { icon: Ji }), /* @__PURE__ */ X("span", {
|
|
10663
10663
|
className: "flex-1",
|
|
10664
10664
|
children: j.actions.delete
|
|
10665
10665
|
})]
|
|
@@ -10793,39 +10793,39 @@ function Mg(e) {
|
|
|
10793
10793
|
{
|
|
10794
10794
|
label: e.dataChart.barChartVertical,
|
|
10795
10795
|
value: "bar-vertical",
|
|
10796
|
-
icon:
|
|
10796
|
+
icon: ra,
|
|
10797
10797
|
type: "bar",
|
|
10798
10798
|
orientation: "vertical"
|
|
10799
10799
|
},
|
|
10800
10800
|
{
|
|
10801
10801
|
label: e.dataChart.barChartHorizontal,
|
|
10802
10802
|
value: "bar-horizontal",
|
|
10803
|
-
icon:
|
|
10803
|
+
icon: sa,
|
|
10804
10804
|
type: "bar",
|
|
10805
10805
|
orientation: "horizontal"
|
|
10806
10806
|
},
|
|
10807
10807
|
{
|
|
10808
10808
|
label: e.dataChart.lineChart,
|
|
10809
10809
|
value: "line",
|
|
10810
|
-
icon:
|
|
10810
|
+
icon: ai,
|
|
10811
10811
|
type: "line"
|
|
10812
10812
|
},
|
|
10813
10813
|
{
|
|
10814
10814
|
label: e.dataChart.funnel,
|
|
10815
10815
|
value: "funnel",
|
|
10816
|
-
icon:
|
|
10816
|
+
icon: Rr,
|
|
10817
10817
|
type: "funnel"
|
|
10818
10818
|
},
|
|
10819
10819
|
{
|
|
10820
10820
|
label: e.dataChart.pieChart,
|
|
10821
10821
|
value: "pie",
|
|
10822
|
-
icon:
|
|
10822
|
+
icon: ca,
|
|
10823
10823
|
type: "pie"
|
|
10824
10824
|
},
|
|
10825
10825
|
{
|
|
10826
10826
|
label: e.dataChart.table,
|
|
10827
10827
|
value: "table",
|
|
10828
|
-
icon:
|
|
10828
|
+
icon: hr,
|
|
10829
10829
|
type: "table"
|
|
10830
10830
|
}
|
|
10831
10831
|
];
|
|
@@ -11020,7 +11020,7 @@ function Bg(e) {
|
|
|
11020
11020
|
return jh(e.chart) && e.chart.type === "bar" && "orientation" in e.chart && e.chart.orientation === "horizontal";
|
|
11021
11021
|
}
|
|
11022
11022
|
function Vg({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, readOnly: a, handleDelete: o, onAskAi: s, onAskAiTarget: c, onTransformChart: l, isFullscreen: u, onFullscreenChange: d }) {
|
|
11023
|
-
let f = R(), [p, m] = J("chart"), { enabled: h, setPendingQuote: g, setOpen: _, focusChatInput: v } =
|
|
11023
|
+
let f = R(), [p, m] = J("chart"), { enabled: h, setPendingQuote: g, setOpen: _, focusChatInput: v } = br(), y = !jh(e.chart), b = y ? Ng : e.chart, [x, S] = J(null), C = e.useDashboardFilters !== !1, w = JSON.stringify(r?.value ?? {}), { data: T, isLoading: E, error: D, retry: O } = hg(e.fetchData, t, C, w), k = q(null), A = K(() => T && !y ? Ig(e, T) : void 0, [
|
|
11024
11024
|
e,
|
|
11025
11025
|
T,
|
|
11026
11026
|
y
|
|
@@ -11255,11 +11255,11 @@ function Yg({ source: e, title: t, description: n, columns: r, tableSettings: i
|
|
|
11255
11255
|
]), l = W(() => c("excel"), [c]), u = W(() => c("csv"), [c]);
|
|
11256
11256
|
return K(() => e ? [{
|
|
11257
11257
|
label: a("ai.dataDownload.download", { format: "Excel" }),
|
|
11258
|
-
icon:
|
|
11258
|
+
icon: hr,
|
|
11259
11259
|
onClick: l
|
|
11260
11260
|
}, {
|
|
11261
11261
|
label: a("ai.dataDownload.download", { format: "CSV" }),
|
|
11262
|
-
icon:
|
|
11262
|
+
icon: hr,
|
|
11263
11263
|
onClick: u
|
|
11264
11264
|
}] : [], [
|
|
11265
11265
|
e,
|
|
@@ -11380,12 +11380,12 @@ function e_({ value: e, trend: t, comparison: n }) {
|
|
|
11380
11380
|
className: "flex shrink-0 items-center",
|
|
11381
11381
|
children: [
|
|
11382
11382
|
t.direction === "up" ? /* @__PURE__ */ X(H, {
|
|
11383
|
-
icon:
|
|
11383
|
+
icon: os,
|
|
11384
11384
|
color: "positive",
|
|
11385
11385
|
size: "sm",
|
|
11386
11386
|
"aria-hidden": "true"
|
|
11387
11387
|
}) : /* @__PURE__ */ X(H, {
|
|
11388
|
-
icon:
|
|
11388
|
+
icon: is,
|
|
11389
11389
|
color: "critical",
|
|
11390
11390
|
size: "sm",
|
|
11391
11391
|
"aria-hidden": "true"
|
|
@@ -11587,7 +11587,7 @@ function u_({ items: e, itemFilters: t, itemDownloadActions: n, filters: r, edit
|
|
|
11587
11587
|
if (Math.hypot(t.clientX - n, t.clientY - r) < a_) return;
|
|
11588
11588
|
i = !0, E(e), N.current = Array.from(document.querySelectorAll("[data-ai-chat-dropzone]"));
|
|
11589
11589
|
let a = A.current.get(e)?.title ?? "";
|
|
11590
|
-
a && window.dispatchEvent(new CustomEvent(
|
|
11590
|
+
a && window.dispatchEvent(new CustomEvent(Br, { detail: {
|
|
11591
11591
|
id: e,
|
|
11592
11592
|
title: a,
|
|
11593
11593
|
onAskAi: l,
|
|
@@ -11601,7 +11601,7 @@ function u_({ items: e, itemFilters: t, itemDownloadActions: n, filters: r, edit
|
|
|
11601
11601
|
}, o = (e) => {
|
|
11602
11602
|
document.removeEventListener("pointermove", a), document.removeEventListener("pointerup", s), document.removeEventListener("pointercancel", c), P.current = null;
|
|
11603
11603
|
let t = j.current, n = M.current;
|
|
11604
|
-
e && i && t && n && te(t, n), j.current = null, M.current = null, N.current = [], E(null), O(null), i && window.dispatchEvent(new CustomEvent(
|
|
11604
|
+
e && i && t && n && te(t, n), j.current = null, M.current = null, N.current = [], E(null), O(null), i && window.dispatchEvent(new CustomEvent(xr));
|
|
11605
11605
|
}, s = (e) => {
|
|
11606
11606
|
i && (N.current = Array.from(document.querySelectorAll("[data-ai-chat-dropzone]")), M.current = ne(e.clientX, e.clientY)), o(!0);
|
|
11607
11607
|
}, c = () => o(!1);
|
|
@@ -11782,7 +11782,7 @@ function d_({ id: e, isDragging: t, showIndicatorBefore: n, showIndicatorAfter:
|
|
|
11782
11782
|
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",
|
|
11783
11783
|
"aria-label": "Drag to reorder",
|
|
11784
11784
|
children: /* @__PURE__ */ X(H, {
|
|
11785
|
-
icon:
|
|
11785
|
+
icon: ua,
|
|
11786
11786
|
size: "xs"
|
|
11787
11787
|
})
|
|
11788
11788
|
}) : null, s]
|
|
@@ -11952,16 +11952,16 @@ function T_({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, read
|
|
|
11952
11952
|
//#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/ExportDropdown/ExportDropdown.tsx
|
|
11953
11953
|
function E_({ onExportExcel: e, isExporting: t }) {
|
|
11954
11954
|
let { t: n } = R();
|
|
11955
|
-
return /* @__PURE__ */ X(
|
|
11955
|
+
return /* @__PURE__ */ X(yr, { items: [{
|
|
11956
11956
|
label: t ? n("ai.dataDownload.exporting") : n("ai.dataDownload.exportDashboard", { format: "Excel" }),
|
|
11957
|
-
icon:
|
|
11957
|
+
icon: Ki,
|
|
11958
11958
|
onClick: t ? () => {} : e
|
|
11959
11959
|
}] });
|
|
11960
11960
|
}
|
|
11961
11961
|
//#endregion
|
|
11962
11962
|
//#region src/blocks/OneFilterPicker/internal/ControlledOneFilterPicker.tsx
|
|
11963
11963
|
function D_(e) {
|
|
11964
|
-
return /* @__PURE__ */ X(
|
|
11964
|
+
return /* @__PURE__ */ X(ys.Provider, {
|
|
11965
11965
|
value: "controlled",
|
|
11966
11966
|
children: /* @__PURE__ */ X(Fs, { ...e })
|
|
11967
11967
|
});
|
|
@@ -12924,7 +12924,7 @@ var xv = ({ onClose: e }) => {
|
|
|
12924
12924
|
className: "dark flex-shrink-0",
|
|
12925
12925
|
children: /* @__PURE__ */ X(V, {
|
|
12926
12926
|
variant: "outline",
|
|
12927
|
-
icon:
|
|
12927
|
+
icon: ci,
|
|
12928
12928
|
size: "sm",
|
|
12929
12929
|
hideLabel: !0,
|
|
12930
12930
|
onClick: e,
|
|
@@ -12941,7 +12941,7 @@ var xv = ({ onClose: e }) => {
|
|
|
12941
12941
|
className: "dark flex flex-shrink-0 flex-row flex-wrap items-center gap-3",
|
|
12942
12942
|
children: [e.map((e) => /* @__PURE__ */ X("div", {
|
|
12943
12943
|
onClick: () => n(e),
|
|
12944
|
-
children: /* @__PURE__ */ X(
|
|
12944
|
+
children: /* @__PURE__ */ X(Lo, {
|
|
12945
12945
|
href: e.href,
|
|
12946
12946
|
children: e.label
|
|
12947
12947
|
})
|
|
@@ -12953,7 +12953,7 @@ var xv = ({ onClose: e }) => {
|
|
|
12953
12953
|
onClick: () => n(e)
|
|
12954
12954
|
}, `button-${e.label}`))]
|
|
12955
12955
|
}), wv = (e, t) => {
|
|
12956
|
-
let n =
|
|
12956
|
+
let n = Zo(e);
|
|
12957
12957
|
return {
|
|
12958
12958
|
buttonActions: n.filter((e) => e.type === "button"),
|
|
12959
12959
|
linkActions: n.filter((e) => e.type === "link"),
|
|
@@ -12972,7 +12972,7 @@ var xv = ({ onClose: e }) => {
|
|
|
12972
12972
|
children: t
|
|
12973
12973
|
}),
|
|
12974
12974
|
inStack: !1
|
|
12975
|
-
}), Ev = () => Pc(Tv), Dv = (e) => B("pointer-events-auto relative flex w-full flex-col gap-3 overflow-hidden rounded-lg p-3", !e && "bg-f1-background-inverse dark:bg-f1-background-tertiary"), Ov =
|
|
12975
|
+
}), Ev = () => Pc(Tv), Dv = (e) => B("pointer-events-auto relative flex w-full flex-col gap-3 overflow-hidden rounded-lg p-3", !e && "bg-f1-background-inverse dark:bg-f1-background-tertiary"), Ov = co({
|
|
12976
12976
|
base: "text-base font-medium text-f1-foreground-inverse",
|
|
12977
12977
|
variants: { hasIcon: {
|
|
12978
12978
|
true: "pt-[3px]",
|
|
@@ -13002,14 +13002,14 @@ var xv = ({ onClose: e }) => {
|
|
|
13002
13002
|
_ ? /* @__PURE__ */ X("div", {
|
|
13003
13003
|
className: "flex-shrink-0",
|
|
13004
13004
|
"aria-hidden": "true",
|
|
13005
|
-
children: /* @__PURE__ */ X(
|
|
13005
|
+
children: /* @__PURE__ */ X(ss, {
|
|
13006
13006
|
size: "small",
|
|
13007
13007
|
className: "text-f1-foreground-inverse"
|
|
13008
13008
|
})
|
|
13009
13009
|
}) : g && /* @__PURE__ */ X("div", {
|
|
13010
13010
|
className: "flex-shrink-0",
|
|
13011
13011
|
"aria-hidden": "true",
|
|
13012
|
-
children: /* @__PURE__ */ X(
|
|
13012
|
+
children: /* @__PURE__ */ X(Kr, {
|
|
13013
13013
|
type: g,
|
|
13014
13014
|
size: "sm"
|
|
13015
13015
|
})
|
|
@@ -13069,7 +13069,7 @@ var Nv = (e) => e instanceof Element && e.closest("button, a") !== null, Pv = jc
|
|
|
13069
13069
|
children: [
|
|
13070
13070
|
/* @__PURE__ */ X("div", {
|
|
13071
13071
|
className: "flex-shrink-0",
|
|
13072
|
-
children: /* @__PURE__ */ X(
|
|
13072
|
+
children: /* @__PURE__ */ X(ko, {
|
|
13073
13073
|
avatar: e,
|
|
13074
13074
|
size: "md"
|
|
13075
13075
|
})
|
|
@@ -13336,15 +13336,15 @@ var Fv = B("group/toast pointer-events-auto absolute left-0 right-0 top-0 flex w
|
|
|
13336
13336
|
renderDataTestIdAttribute: l,
|
|
13337
13337
|
hourCycle: o,
|
|
13338
13338
|
newButtonStyles: u,
|
|
13339
|
-
children: /* @__PURE__ */ X(
|
|
13339
|
+
children: /* @__PURE__ */ X(_s, {
|
|
13340
13340
|
...a,
|
|
13341
13341
|
children: /* @__PURE__ */ X(_n, {
|
|
13342
13342
|
...i,
|
|
13343
13343
|
children: /* @__PURE__ */ X(Xn, {
|
|
13344
13344
|
...t,
|
|
13345
|
-
children: /* @__PURE__ */ X(
|
|
13345
|
+
children: /* @__PURE__ */ X(to, { children: /* @__PURE__ */ X(rt, {
|
|
13346
13346
|
initiallyEnabled: n,
|
|
13347
|
-
children: /* @__PURE__ */ X(
|
|
13347
|
+
children: /* @__PURE__ */ X(po, {
|
|
13348
13348
|
...r,
|
|
13349
13349
|
children: e
|
|
13350
13350
|
})
|
|
@@ -13369,7 +13369,7 @@ var Fv = B("group/toast pointer-events-auto absolute left-0 right-0 top-0 flex w
|
|
|
13369
13369
|
})]
|
|
13370
13370
|
})
|
|
13371
13371
|
});
|
|
13372
|
-
}, oy = Ac(void 0), sy = () => Pc(oy), cy = ({ children: e, layout: t, link: n, privacyModeInitiallyEnabled: r, image: i, i18n: a, l10n: o, hourCycle: s, isDev: c = !1, dataCollectionStorageHandler: l, showExperimentalWarnings: u = !1, renderDataTestIdAttribute: d = !1, newButtonStyles: f = !1, iconSet: p = "v1", formComponent: m, map: h }) => /* @__PURE__ */ X(
|
|
13372
|
+
}, oy = Ac(void 0), sy = () => Pc(oy), cy = ({ children: e, layout: t, link: n, privacyModeInitiallyEnabled: r, image: i, i18n: a, l10n: o, hourCycle: s, isDev: c = !1, dataCollectionStorageHandler: l, showExperimentalWarnings: u = !1, renderDataTestIdAttribute: d = !1, newButtonStyles: f = !1, iconSet: p = "v1", formComponent: m, map: h }) => /* @__PURE__ */ X(io, {
|
|
13373
13373
|
iconSet: p,
|
|
13374
13374
|
children: /* @__PURE__ */ X(ry, {
|
|
13375
13375
|
link: n,
|
|
@@ -13384,9 +13384,9 @@ var Fv = B("group/toast pointer-events-auto absolute left-0 right-0 top-0 flex w
|
|
|
13384
13384
|
newButtonStyles: f,
|
|
13385
13385
|
children: /* @__PURE__ */ X(ay, {
|
|
13386
13386
|
...t,
|
|
13387
|
-
children: /* @__PURE__ */ X(
|
|
13387
|
+
children: /* @__PURE__ */ X(Er, {
|
|
13388
13388
|
handler: l,
|
|
13389
|
-
children: /* @__PURE__ */ X(
|
|
13389
|
+
children: /* @__PURE__ */ X(ga, { children: /* @__PURE__ */ X(dt, {
|
|
13390
13390
|
...h,
|
|
13391
13391
|
children: /* @__PURE__ */ X(oy.Provider, {
|
|
13392
13392
|
value: m,
|
|
@@ -13404,4 +13404,4 @@ var Fv = B("group/toast pointer-events-auto absolute left-0 right-0 top-0 flex w
|
|
|
13404
13404
|
})
|
|
13405
13405
|
});
|
|
13406
13406
|
//#endregion
|
|
13407
|
-
export {
|
|
13407
|
+
export { Qa as AiChatTranslationsProvider, g as AreaChart, Fo as Await, p as BarChart, ze as BarChartSkeleton, Ut as CardSelectableContainer, se as CategoryBarChart, Sr as ChatSpinner, $o as Chip, Na as CollapsibleGroup, yt as ComboChart, Dt as DATA_COLLECTION_URL_PARAMS, ut as DATA_COLLECTION_URL_PARAM_PREFIX, Hl as Dashboard, we as DataChartEmptyStateView, mn as DataTestIdWrapper, xt as DndProvider, Cr as DropOverlay, $n as EmojiImage, rd as F0Accordion, Ye as F0ActionBar, Tr as F0ActionItem, ur as F0AiChat, Ya as F0AiChatHeader, qa as F0AiChatHistory, Hr as F0AiChatProvider, ba as F0AiChatTextArea, eo as F0AiChatUsageLimitsButton, _a as F0AiFileAttachments, li as F0AiFilePreviewsProvider, Jr as F0AiFormRegistryProvider, La as F0AiInsightCard, Xa as F0AiMask, Fa as F0AiMessageSources, Za as F0AiMessagesContainer, Wr as F0AiPong, Ja as F0AiProcessingOverlay, Ga as F0AiProposalCard, Pa as F0AiTableCard, xc as F0Alert, I_ as F0AnalyticsDashboard, ji as F0AudioPlayer, $i as F0AudioPlayerCard, Aa as F0AuraVoiceAnimation, ko as F0Avatar, Kr as F0AvatarAlert, fo as F0AvatarCompany, Fr as F0AvatarDate, go as F0AvatarEmoji, bo as F0AvatarFile, vo as F0AvatarIcon, Mo as F0AvatarList, Eo as F0AvatarModule, Co as F0AvatarPerson, wo as F0AvatarTeam, qu as F0BigNumber, Ch as F0BookAMeetingCard, ho as F0Box, V as F0Button, oa as F0ButtonDropdown, Wo as F0ButtonToggle, pa as F0CanvasCard, Xi as F0CanvasPanel, qr as F0Card, ni as F0CardRow, ma as F0ChatComposer, Cs as F0Checkbox, od as F0ChipList, $a as F0ClarifyingPanel, Xt as F0DataChart, Ne as F0DatePicker, O as F0DatePickerInline, yh as F0DemoCard, na as F0Dialog, ke as F0DialogAlikeContext, b as F0DialogAlikeProvider, Go as F0DialogContext, ps as F0DialogProvider, wc as F0DocumentViewer, pd as F0Drawer, fn as F0DurationInput, Ws as F0EventCatcherProvider, xh as F0FAQCard, Vr as F0FileItem, gd as F0FilterPickerContent, d as F0Form, Ad as F0FormField, Ml as F0GridStack, Ia as F0HILActionConfirmation, m as F0Heading, H as F0Icon, Lo as F0Link, Bu as F0MatrixChart, Sh as F0ModuleCard, rn as F0NotesTextEditor, _e as F0NotesTextEditorSkeleton, ee as F0NumberInput, E as F0NumberInputInline, Ur as F0OneIcon, Ei as F0OneSwitch, Sc as F0PdfViewer, cy as F0Provider, wh as F0QuestionCardMultiStep, Mr as F0RichTextDisplay, re as F0RichTextEditor, Es as F0SearchInput, Rs as F0Select, P as F0SelectInline, _f as F0Slider, Nf as F0TableOfContentPopover, as as F0TagAlert, Ko as F0TagBalance, Ps as F0TagCompany, Jo as F0TagDot, vs as F0TagList, Bo as F0TagPerson, rs as F0TagRaw, Io as F0TagStatus, ls as F0TagTeam, bc as F0Text, ue as F0TextAreaInput, F as F0TextAreaInputInline, si as F0TextInput, te as F0TextInputInline, xe as F0TimelineRow, Ec as F0VideoPlayer, $d as F0WizardForm, Ts as F1SearchBox, _ as FILE_TYPES, Gr as FileItem, ga as FormCardValueFormatterProvider, Qt as FunnelChartSkeleton, Oo as GROUP_ID_SYMBOL, jo as GROUP_KEY_SEPARATOR, un as GaugeChartSkeleton, Ge as HeatmapChartSkeleton, iu as HomeLayout, l as InlineFieldRow, tn as InlineFieldRowList, Mi as Input, tu as Layout, o as LineChart, sn as LineChartSkeleton, st as MAX_URL_FILTER_VALUES, Hu as MatrixChartSkeleton, c as NotesTextEditor, en as NotesTextEditorSkeleton, he as NumberInput, gs as OneCalendar, ar as OneEllipsis, y as OneEmptyState, Fs as OneFilterPicker, gt as PieChart, be as PieChartSkeleton, gr as PongBall, rt as PrivacyModeProvider, oh as ProductBlankslate, Zt as ProductCard, lh as ProductModal, dh as ProductWidget, ne as ProgressBarChart, ie as RadarChart, u as RadarChartSkeleton, Ai as RichTextDisplay, le as RichTextEditor, nn as ScatterChartSkeleton, nu as StandardLayout, hm as SurveyAllQuestionsLoadingSkeleton, Xm as SurveyAnsweringForm, sm as SurveyFormBuilder, eh as SurveySampleQuestion, gm as SurveySteppedLoadingSkeleton, Uo as Tag, Us as TagCounter, v as Textarea, Va as ThreadItem, Wa as ThreadListSkeleton, ny as ToastProvider, ru as TwoColumnLayout, T as UPLOAD_INPUT_ID, N as UpsellRequestResponseDialog, mh as UpsellingAlert, gh as UpsellingBanner, D as UpsellingButton, vh as UpsellingPopover, de as VerticalBarChart, Js as WeekStartDay, Ea as WelcomeScreenCardsRow, St as actionBarStatuses, ya as actionItemStatuses, Yr as adaptDataAdapterToInfiniteScroll, za as aiChatFileFromShowFilesItem, Sa as aiChatFileFromUploadedFile, Ca as aiChatFilesFromMessage, Ta as aiChatMessageText, ha as aiTranslations, ld as alertVariantOptions, Zu as audioPlayerSizes, au as avatarVariants, Be as buildDataCollectionUrlParams, hn as buildTranslations, Xu as buttonDropdownModes, Yu as buttonDropdownSizes, Ju as buttonDropdownVariants, Rl as buttonSizes, pt as buttonToggleColors, He as buttonToggleSizes, Mt as buttonToggleVariants, Ll as buttonVariants, Di as cardAlertVariants, Ir as cardImageAspectRatios, sr as cardImageFits, hi as cardImageSizes, Zi as cardLayouts, ws as chartColorTokens, Ka as chatHistoryIndicators, Ra as chatThreadStatuses, Zs as chipVariants, Rf as computeSectionEndIds, Tc as configurePdfWorker, Ha as contentTypes, Yt as createAtlaskitDriver, zo as createDataSourceDefinition, bd as createF0FormDefinitionTester, yd as createF0FormTester, Fl as createPageLayoutBlock, Il as createPageLayoutBlockGroup, xa as createPersonMentionSource, ud as dataCollectionLocalStorageHandler, sd as datePickerInlineDismissReasons, cd as datepickerSizes, lo as defaultTranslations, Zr as defineAvailableForm, _d as describeFormSchema, M as dialog, M as dialogs, Lt as drawers, xi as durationInputSizes, ei as durationUnits, lr as escapeUserText, oe as evaluateRenderIf, vn as experimental, vr as f0FileItemSizes, Bi as f0FormField, Hi as fieldsToSeconds, Pf as flattenElements, ta as formatPlaybackTime, of as forms, h as generateAnchorId, ns as getAnimationVariants, da as getDataCollectionStorageKey, qo as getDataSourcePaginationType, rr as getEmojiLabel, Yi as getF0Config, Hs as getGranularityDefinition, js as getGranularityDefinitions, qs as getGranularitySimpleDefinition, vt as getSchemaDefinition, Is as granularityDefinitions, ui as hasF0Config, oo as iconSets, Ni as inferFieldType, Lf as injectSectionEnds, Do as isInfiniteScrollPagination, Ao as isPageBasedPagination, ea as isZodType, Qu as linkVariants, va as markdownRenderers, kr as mergeDataCollectionFilters, uo as modules, ka as oneIconSizes, To as paginationTotals, $t as parseDataCollectionUrlParams, Cc as pdfScales, Bt as predefinedPresets, Vs as rangeSeparator, Pr as readDataCollectionStorage, If as reconstructElements, mr as resolveDataCollectionFilters, Ds as resolveGranularityDefinition, kt as resolveItemNeighbors, et as resolveWindowNeighbors, Ii as secondsToFields, Ti as secondsToVisibleFields, sf as selectInlineDismissReasons, je as selectSizes, Ie as selectVariants, dn as setDataCollectionUrlParams, cf as sliderTooltipModes, $m as surveyDraftSaveTriggers, Ke as syncDataCollectionUrlParams, xf as tagDotColors, yf as timelineRowApproverStatuses, vf as timelineRowStatuses, bf as timelineRowTagVariants, Vt as toasts, vi as unwrapZodSchema, Ua as usageLimitsPopoverSides, br as useAiChat, Da as useAiChatTranslations, Qr as useAudioPlayer, Ma as useCanvasEntity, ja as useChatHistory, yo as useData, Ns as useDataSource, n as useDataSourceItemNavigation, bi as useDerivedTranscription, jt as useDndEvents, Ht as useDraggable, Je as useDroppableList, tr as useEmojiConfetti, Lr as useF0AiFormRegistry, us as useF0Dialog, j as useF0DialogAlikeContext, ye as useF0Form, Ot as useF0FormDefinition, wa as useFormCardValueFormatter, sy as useFormComponent, cs as useGroups, no as useIconSet, L_ as useIsDesktop, R_ as useIsMobile, qt as useItemNeighbors, Nt as usePrivacyMode, er as useReducedMotion, a as useSchemaDefinition, Vo as useSelectable, Ba as useSetFormCardValueFormatter, Oa as useToolCallId, ro as useXRay, L as withDataTestId, cn as writeDataCollectionStorage };
|