@factorialco/f0-react 13.12.0 → 14.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ArchiveThumbnail-BKLyYbOq.js → ArchiveThumbnail-CWbHqWac.js} +1 -1
- package/dist/{ArchiveViewer-Cz5T16vE.js → ArchiveViewer-BoRgb-kZ.js} +2 -2
- package/dist/{ChatPostComposerDialog-C67F4elc.js → ChatPostComposerDialog-D5bqpNEA.js} +2 -2
- package/dist/{CoachmarkProvider-BuWFPpmG.js → CoachmarkProvider-D-MDnUFV.js} +23651 -23539
- package/dist/{CodeThumbnail-D-wJheIP.js → CodeThumbnail-Bj-Abcwc.js} +1 -1
- package/dist/{CodeViewer-gDQOS6iI.js → CodeViewer-wZ8404xZ.js} +4 -4
- package/dist/{DocumentToolbar-DLK2n_-s.js → DocumentToolbar-BzEUGQ-2.js} +4 -4
- package/dist/{DocxViewer-9hhmeMbJ.js → DocxViewer-iewvkeU1.js} +1 -1
- package/dist/{F0AiProcessingOverlay-CbHR_I3P.js → F0AiProcessingOverlay-BwpYdSpL.js} +172 -172
- package/dist/{F0Alert-BibfCJRG.js → F0Alert-B4OGXz1X.js} +3 -3
- package/dist/F0AudioPlayer-DcdzvgBI.js +2 -0
- package/dist/{F0Button-Cql35ZB4.js → F0Button-DliApWoo.js} +5764 -5335
- package/dist/{F0CanvasPanel-DjbzJ4if.js → F0CanvasPanel-D8tYmeE6.js} +9616 -9564
- package/dist/{F0DocumentViewer-DdQaLXAs.js → F0DocumentViewer-BVMBxQHk.js} +2 -2
- package/dist/{F0DocumentViewer-Biac8pVX.js → F0DocumentViewer-bdMJ__pm.js} +1 -1
- package/dist/{F0Map-BgIwfjqD.js → F0Map-CFrkRgDC.js} +56 -56
- package/dist/{F0Select-qyqqfXH7.js → F0Select-DLK87Tv6.js} +187 -187
- package/dist/{F0Text-DulwHmaW.js → F0Text-Cb-FVBzx.js} +1 -1
- package/dist/F0VideoPlayer-BmIMWeWW.js +1 -0
- package/dist/{F0VideoPlayer-BbmoKHh4.js → F0VideoPlayer-Dlwo-iuI.js} +2 -2
- package/dist/{HtmlThumbnail-lVNYvRe4.js → HtmlThumbnail-B_9tldlm.js} +1 -1
- package/dist/{HtmlViewer-DTorB5Ni.js → HtmlViewer-Bq-aon1a.js} +6 -6
- package/dist/LayoutGroup-gwem4ADm.js +57 -0
- package/dist/{Map-B6eQeS3P.js → Map-C21lIrof.js} +7 -7
- package/dist/{PdfThumbnail-Ds_9D-7B.js → PdfThumbnail-Bb-KOb3F.js} +1 -1
- package/dist/{PdfViewer-e2eSdSp-.js → PdfViewer-Xiqq3HFU.js} +6 -6
- package/dist/{SandboxedHtmlFrame-C6RrQ2yQ.js → SandboxedHtmlFrame-CWcJ_fWA.js} +1 -1
- package/dist/{SheetViewer-CSkVsC3-.js → SheetViewer-DH28ndQ_.js} +3 -3
- package/dist/{TextViewer-10UG7pXL.js → TextViewer-DjfPIFEN.js} +2 -2
- package/dist/__vite-browser-external-beAkYNVS.js +7 -0
- package/dist/ai.d.ts +2 -2
- package/dist/ai.js +3 -3
- package/dist/component-status.js +1 -1
- package/dist/{dist-BJcZ_X3W.js → dist-2k-bLufS.js} +1 -1
- package/dist/experimental.d.ts +3 -3
- package/dist/experimental.js +502 -502
- package/dist/{exports-B2pLsxhF.d.ts → exports-CXZ5MFdq.d.ts} +1 -1
- package/dist/f0.d.ts +3 -3
- package/dist/f0.js +202 -202
- package/dist/{highlight-CKsTraEJ.js → highlight-zua_Bm-I.js} +1 -1
- package/dist/{maplibre-DZrUxuUr.js → maplibre-D1XfKyDL.js} +1 -1
- package/dist/pdfWorker-CB3PMTjf.js +12788 -0
- package/dist/pdfWorker.css +1 -1
- package/dist/{scrollarea-NoqKFiLU.js → scrollarea-B6RGaKme.js} +1 -1
- package/dist/{toolbarStyles-BgK2AYri.js → toolbarStyles-Bm2pq-KH.js} +1 -1
- package/dist/{types-BD4eJ3Ek.d.ts → types-CntCsM69.d.ts} +3 -18
- package/dist/{useData-DPmbJ0Mf.js → useData-CuyhVJ87.js} +2 -2
- package/icons/animated/PalmTree.js +2 -2
- package/package.json +7 -6
- package/dist/F0AudioPlayer-CWwt7LV6.js +0 -2
- package/dist/F0VideoPlayer-y0zqezdL.js +0 -1
- package/dist/LayoutGroup-OL4BUDqc.js +0 -57
- package/dist/pdfWorker-Dhn7-lDq.js +0 -11908
- /package/dist/{index-D87y-J1D.d.ts → index-BRJdHLME.d.ts} +0 -0
package/dist/f0.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { o as e } from "./rolldown-runtime-BItFwnF5.js";
|
|
2
|
-
import { $r as t, $t as n, A as r, An as i, Ar as a, Bn as o, Bt 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, Fn as _, Ft as v, Gn as y, Gt as b, Hn as x, Ht as S, In as C, It as w, Jn as T, Jr as E, Jt as D, Kn as O, Kr as k, Kt as A, Ln as j, Lt as M, M as N, Mn as P, Mr as F, N as I, Nn as ee, Nr as te, O as ne, On as re, Or as ie, P as ae, Pn as oe, Qn as se, Qr as ce, Qt as le, Rn as ue, Rt as de, S as fe, Sn as pe, Sr as me, St as he, T as ge, Tn as _e, Tr as ve, Un as ye, Ut as be, Vn as xe, Wn as Se, Wr as Ce, Wt as we, X as Te, Xn as Ee, Xt as De, Yn as Oe, Yr as ke, Yt as Ae, Z as je, Zn as Me, Zr as Ne, _ as Pe, _r as Fe, _t as Ie, ai as Le, ar as Re, b as ze, bi as Be, br as Ve, bt as He, c as Ue, cn as We, cr as Ge, d as Ke, di as qe, dn as Je, dr as Ye, ei as Xe, er as Ze, f as Qe, fi as $e, fr as et, g as tt, gr as nt, gt as rt, h as it, hr as at, ht as ot, i as st, ii as ct, in as lt, ir as ut, j as dt, jn as ft, jr as pt, k as mt, kn as ht, kr as gt, kt as _t, l as vt, ln as yt, lr as bt, mr as xt, ni as St, nn as Ct, nr as wt, or as Tt, ot as Et, p as Dt, pi as Ot, pr as kt, qn as At, qr as jt, qt as Mt, ri as Nt, rn as Pt, rr as Ft, s as It, sn as Lt, sr as Rt, t as zt, tn as Bt, tr as Vt, u as Ht, un as Ut, ur as Wt, ut as Gt, v as Kt, vr as qt, vt as Jt, w as Yt, wi as Xt, wn as Zt, wr as Qt, x as $t, xi as en, xr as tn, xt as nn, y as rn, yi as an, yr as on, yt as sn, zn as cn, zt as ln } from "./CoachmarkProvider-
|
|
2
|
+
import { $r as t, $t as n, A as r, An as i, Ar as a, Bn as o, Bt 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, Fn as _, Ft as v, Gn as y, Gt as b, Hn as x, Ht as S, In as C, It as w, Jn as T, Jr as E, Jt as D, Kn as O, Kr as k, Kt as A, Ln as j, Lt as M, M as N, Mn as P, Mr as F, N as I, Nn as ee, Nr as te, O as ne, On as re, Or as ie, P as ae, Pn as oe, Qn as se, Qr as ce, Qt as le, Rn as ue, Rt as de, S as fe, Sn as pe, Sr as me, St as he, T as ge, Tn as _e, Tr as ve, Un as ye, Ut as be, Vn as xe, Wn as Se, Wr as Ce, Wt as we, X as Te, Xn as Ee, Xt as De, Yn as Oe, Yr as ke, Yt as Ae, Z as je, Zn as Me, Zr as Ne, _ as Pe, _r as Fe, _t as Ie, ai as Le, ar as Re, b as ze, bi as Be, br as Ve, bt as He, c as Ue, cn as We, cr as Ge, d as Ke, di as qe, dn as Je, dr as Ye, ei as Xe, er as Ze, f as Qe, fi as $e, fr as et, g as tt, gr as nt, gt as rt, h as it, hr as at, ht as ot, i as st, ii as ct, in as lt, ir as ut, j as dt, jn as ft, jr as pt, k as mt, kn as ht, kr as gt, kt as _t, l as vt, ln as yt, lr as bt, mr as xt, ni as St, nn as Ct, nr as wt, or as Tt, ot as Et, p as Dt, pi as Ot, pr as kt, qn as At, qr as jt, qt as Mt, ri as Nt, rn as Pt, rr as Ft, s as It, sn as Lt, sr as Rt, t as zt, tn as Bt, tr as Vt, u as Ht, un as Ut, ur as Wt, ut as Gt, v as Kt, vr as qt, vt as Jt, w as Yt, wi as Xt, wn as Zt, wr as Qt, x as $t, xi as en, xr as tn, xt as nn, y as rn, yi as an, yr as on, yt as sn, zn as cn, zt as ln } from "./CoachmarkProvider-D-MDnUFV.js";
|
|
3
3
|
import { a as L, i as un, n as dn, o as fn, r as R, t as pn } from "./i18n-provider-C_jciu_6.js";
|
|
4
4
|
import { n as mn, t as z } from "./skeleton-BEiQvWC1.js";
|
|
5
5
|
import { A as hn, C as gn, D as _n, F as vn, I as yn, L as B, M as bn, N as xn, O as Sn, P as Cn, R as wn, S as Tn, _ as En, b as Dn, c as On, f as kn, g as An, h as jn, j as Mn, k as Nn, l as Pn, m as Fn, p as In, v as Ln, w as Rn, x as zn, y as Bn } from "./tooltip-BX4dSfeL.js";
|
|
6
|
-
import { A as Vn,
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
6
|
+
import { A as Vn, K as Hn, M as Un, N as Wn, U as Gn, b as Kn, f as qn, h as Jn, j as Yn, m as Xn, n as Zn, p as Qn, r as $n, t as V, w as er, y as tr, z as nr } from "./F0Button-DliApWoo.js";
|
|
7
|
+
import { Ai as rr, An as ir, B as ar, Bi as or, Br as sr, Cc as cr, Ci as lr, Co as ur, Cr as dr, Di as fr, Do as pr, Dr as mr, Ei as hr, Eo as gr, Er as _r, Es as vr, F as yr, Fc as br, Fi as xr, Fn as Sr, Gs as Cr, Ho as wr, Hs as Tr, I as Er, Ic as Dr, Ii as Or, Ir as kr, L as Ar, Lc as jr, Li as Mr, Lr as Nr, M as Pr, Mc as Fr, Mi as Ir, Mn as Lr, Mo as Rr, Mr as zr, Ms as Br, N as Vr, Nc as Hr, Ni as Ur, Nn as Wr, Oi as Gr, Or as Kr, P as qr, Pc as Jr, Pi as Yr, Pn as Xr, Qa as Zr, Qr, R as $r, Ri as ei, Rr as ti, Sc as ni, Si as ri, To as ii, Tr as ai, Us as oi, Vo as si, Vr as ci, Wc as li, Xs as ui, Yo as di, Ys as fi, Zc as pi, Zo as mi, Zr as hi, _n as gi, bn as _i, bo as vi, ci as yi, co as bi, dn as xi, el as Si, gi as Ci, gn as wi, hi as Ti, hn as Ei, ii as Di, jc as Oi, ji as ki, jn as Ai, jo as ji, jr as Mi, jt as Ni, ki as Pi, kn as Fi, kr as Ii, lo as Li, mi as Ri, mn as zi, n as Bi, ni as Vi, oi as Hi, pn as Ui, ri as Wi, rt as Gi, t as Ki, tc as qi, ts as Ji, us as Yi, vc as Xi, vi as Zi, wr as Qi, xi as $i, xn as ea, yi as ta, yn as na, z as ra, zc as ia, zi as aa, zr as oa, zs as sa } from "./F0CanvasPanel-D8tYmeE6.js";
|
|
8
|
+
import { A as ca, B as la, C as ua, D as da, E as fa, F as pa, I as ma, L as ha, M as ga, N as _a, O as va, P as ya, R as ba, S as xa, T as Sa, _ as Ca, a as wa, b as Ta, c as Ea, d as Da, f as Oa, g as ka, h as Aa, i as ja, j as Ma, k as Na, l as Pa, m as Fa, n as Ia, o as La, p as Ra, r as za, s as Ba, t as Va, u as Ha, v as Ua, w as Wa, x as Ga, y as Ka, z as qa } from "./F0AiProcessingOverlay-BwpYdSpL.js";
|
|
9
9
|
import { a as Ja, i as Ya, n as Xa, o as Za, r as Qa, t as H } from "./F0Icon-Dw-YD4Mz.js";
|
|
10
10
|
import { t as $a } from "./i18n-provider-defaults-zH8WIgXQ.js";
|
|
11
|
-
import { E as eo, H as to, M as no, O as ro, S as io, V as ao, a as oo, f as so, g as co, h as lo, i as uo, k as fo, l as po, m as mo, n as ho, r as go, t as _o, u as vo, x as yo, y as bo } from "./useData-
|
|
12
|
-
import { $ as xo, At as So, B as Co, C as wo, Cr as To, Dn as Eo, Dr as Do, Dt as Oo, En as ko, Er as Ao, Et as jo, Ft as Mo, G as No, H as Po, I as Fo, It as Io, J as Lo, K as Ro, Mt as zo, Nt as Bo, Pn as Vo, Pt as Ho, R as Uo, Rt as Wo, Sr as Go, St as Ko, Tn as qo, Tr as Jo, Tt as Yo, U as Xo, V as Zo, W as Qo, X as $o, Z as es, _ as ts, _t as ns, a as rs, bt as is, c as as, cr as os, ct as ss, et as cs, g as ls, gt as us, h as ds, ht as fs, i as ps, jt as ms, kt as hs, l as gs, lt as _s, m as vs, mt as ys, nt as bs, o as xs, or as Ss, p as Cs, pr as ws, q as Ts, r as Es, rn as Ds, s as Os, t as ks, tn as As, tt as js, u as Ms, ur as Ns, v as Ps, vt as Fs, wt as Is, xr as Ls } from "./F0Select-
|
|
11
|
+
import { E as eo, H as to, M as no, O as ro, S as io, V as ao, a as oo, f as so, g as co, h as lo, i as uo, k as fo, l as po, m as mo, n as ho, r as go, t as _o, u as vo, x as yo, y as bo } from "./useData-CuyhVJ87.js";
|
|
12
|
+
import { $ as xo, At as So, B as Co, C as wo, Cr as To, Dn as Eo, Dr as Do, Dt as Oo, En as ko, Er as Ao, Et as jo, Ft as Mo, G as No, H as Po, I as Fo, It as Io, J as Lo, K as Ro, Mt as zo, Nt as Bo, Pn as Vo, Pt as Ho, R as Uo, Rt as Wo, Sr as Go, St as Ko, Tn as qo, Tr as Jo, Tt as Yo, U as Xo, V as Zo, W as Qo, X as $o, Z as es, _ as ts, _t as ns, a as rs, bt as is, c as as, cr as os, ct as ss, et as cs, g as ls, gt as us, h as ds, ht as fs, i as ps, jt as ms, kt as hs, l as gs, lt as _s, m as vs, mt as ys, nt as bs, o as xs, or as Ss, p as Cs, pr as ws, q as Ts, r as Es, rn as Ds, s as Os, t as ks, tn as As, tt as js, u as Ms, ur as Ns, v as Ps, vt as Fs, wt as Is, xr as Ls } from "./F0Select-DLK87Tv6.js";
|
|
13
13
|
import { t as Rs } from "./Check-DAp9gCRh.js";
|
|
14
14
|
import { a as zs } from "./dist-DJwNiwmx.js";
|
|
15
15
|
import { t as Bs } from "./Ellipsis-CBouJQYY.js";
|
|
16
16
|
import { t as Vs } from "./LockLocked-gdodYvT_.js";
|
|
17
17
|
import { t as Hs } from "./purify.es-ZpfdAuNV.js";
|
|
18
18
|
import { A as Us, B as Ws, H as Gs, L as Ks, M as qs, N as Js, P as Ys, R as Xs, a as Zs, ft as Qs, i as $s, j as ec, k as tc, t as nc, z as rc } from "./popover-Cd6ZZfjD.js";
|
|
19
|
-
import { n as ic, r as ac } from "./scrollarea-
|
|
20
|
-
import { t as oc } from "./F0Text-
|
|
21
|
-
import { t as sc } from "./F0Alert-
|
|
22
|
-
import { n as cc, r as lc, t as uc } from "./F0DocumentViewer-
|
|
19
|
+
import { n as ic, r as ac } from "./scrollarea-B6RGaKme.js";
|
|
20
|
+
import { t as oc } from "./F0Text-Cb-FVBzx.js";
|
|
21
|
+
import { t as sc } from "./F0Alert-B4OGXz1X.js";
|
|
22
|
+
import { n as cc, r as lc, t as uc } from "./F0DocumentViewer-BVMBxQHk.js";
|
|
23
23
|
import { t as dc } from "./pdfWorkerConfig-BwllKt1K.js";
|
|
24
|
-
import { t as fc } from "./F0VideoPlayer-
|
|
24
|
+
import { t as fc } from "./F0VideoPlayer-Dlwo-iuI.js";
|
|
25
25
|
import * as U from "react";
|
|
26
26
|
import pc, { Children as mc, Fragment as hc, createContext as gc, forwardRef as _c, isValidElement as vc, memo as yc, useCallback as W, useContext as bc, useEffect as G, useId as xc, useImperativeHandle as Sc, useLayoutEffect as Cc, useMemo as K, useRef as q, useState as J, useSyncExternalStore as wc } from "react";
|
|
27
27
|
import { Fragment as Y, jsx as X, jsxs as Z } from "react/jsx-runtime";
|
|
@@ -45,7 +45,7 @@ var Oc = {
|
|
|
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(Rr, {
|
|
49
49
|
layout: "home",
|
|
50
50
|
children: /* @__PURE__ */ Z("div", {
|
|
51
51
|
ref: r,
|
|
@@ -79,7 +79,7 @@ var Oc = {
|
|
|
79
79
|
}), Ac = Za({
|
|
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
|
-
}), jc = pc.forwardRef(({ children: e, variant: t, scrollable: n = !0, className: r, ...i }, a) => /* @__PURE__ */ X(
|
|
82
|
+
}), jc = pc.forwardRef(({ children: e, variant: t, scrollable: n = !0, className: r, ...i }, a) => /* @__PURE__ */ X(Rr, {
|
|
83
83
|
layout: "standard",
|
|
84
84
|
children: /* @__PURE__ */ X("section", {
|
|
85
85
|
ref: a,
|
|
@@ -264,7 +264,7 @@ function Uc({ children: e, options: t, onResizeStop: n, onChange: r, widgets: i,
|
|
|
264
264
|
return e.forEach((e) => {
|
|
265
265
|
if (n.get(e)) {
|
|
266
266
|
let t = s.el.querySelector(`[gs-id="${e}"] .grid-stack-item-content`), r = "";
|
|
267
|
-
t && (r = Hs.sanitize(Hc(t))), n.set(e, /* @__PURE__ */ X(
|
|
267
|
+
t && (r = Hs.sanitize(Hc(t))), n.set(e, /* @__PURE__ */ X(Gn.div, {
|
|
268
268
|
className: "h-full w-full",
|
|
269
269
|
initial: {
|
|
270
270
|
opacity: 1,
|
|
@@ -2729,7 +2729,7 @@ var vl = ({ options: e, widgets: t, onChange: n, className: r, static: i, forceP
|
|
|
2729
2729
|
};
|
|
2730
2730
|
vl.displayName = "F0GridStack";
|
|
2731
2731
|
var yl = L(mn("F0GridStack", vl)), bl = (e, t, n) => /* @__PURE__ */ X("div", { children: e }), xl = ({ widgets: e = [], editMode: t = !1, onChange: n = () => {}, WidgetWrapper: r = bl, main: i = !1, deps: a }) => {
|
|
2732
|
-
let o = W((e, t, n) => /* @__PURE__ */ X(
|
|
2732
|
+
let o = W((e, t, n) => /* @__PURE__ */ X(Gn.div, {
|
|
2733
2733
|
className: "h-full w-full",
|
|
2734
2734
|
initial: {
|
|
2735
2735
|
opacity: 0,
|
|
@@ -2912,7 +2912,7 @@ var Sl = (e, t) => {
|
|
|
2912
2912
|
}, Cl = (e, t) => {
|
|
2913
2913
|
let n = t;
|
|
2914
2914
|
return n.displayName = e, n.__isPageLayoutGroup = !0, n;
|
|
2915
|
-
}, wl = Vn.filter((e) => e !== "ai"), Tl =
|
|
2915
|
+
}, wl = Vn.filter((e) => e !== "ai"), Tl = Un, El = ({ children: e, title: t, draggable: n = !1, actions: r, aiButton: i }) => /* @__PURE__ */ X(Le, {
|
|
2916
2916
|
header: { title: t },
|
|
2917
2917
|
draggable: n,
|
|
2918
2918
|
actions: r,
|
|
@@ -2954,7 +2954,7 @@ var Ol = Cl("Dashboard", Dl), kl = L(mn("Dashboard", Ol)), Al = Za({
|
|
|
2954
2954
|
...l,
|
|
2955
2955
|
children: [p ? /* @__PURE__ */ Z("div", {
|
|
2956
2956
|
className: "absolute right-0 top-0 flex items-center justify-end gap-2 p-4",
|
|
2957
|
-
children: [c || null, f.length > 0 ? /* @__PURE__ */ X(
|
|
2957
|
+
children: [c || null, f.length > 0 ? /* @__PURE__ */ X(Li, {
|
|
2958
2958
|
items: jl(d),
|
|
2959
2959
|
"data-testid": "actions-dropdown"
|
|
2960
2960
|
}) : null]
|
|
@@ -3139,22 +3139,22 @@ var Vl = _c(function({ children: e, aside: t, header: n, variant: r = "main-asid
|
|
|
3139
3139
|
})]
|
|
3140
3140
|
});
|
|
3141
3141
|
Jl.displayName = "F0BigNumber";
|
|
3142
|
-
var Xl =
|
|
3142
|
+
var Xl = vi(Jl, Yl), Zl = L(Xl), Ql = [
|
|
3143
3143
|
"default",
|
|
3144
3144
|
"outline",
|
|
3145
3145
|
"neutral"
|
|
3146
|
-
], $l =
|
|
3146
|
+
], $l = Un, eu = ["split", "dropdown"], tu = ["sm", "md"], nu = Yn, ru = ({ actions: e }) => /* @__PURE__ */ X("div", {
|
|
3147
3147
|
className: "flex items-center gap-2",
|
|
3148
3148
|
children: e.map((e, t) => {
|
|
3149
3149
|
switch (e.type) {
|
|
3150
|
-
case "segmentedControl": return /* @__PURE__ */ X(
|
|
3150
|
+
case "segmentedControl": return /* @__PURE__ */ X(Ir, {
|
|
3151
3151
|
items: e.items,
|
|
3152
3152
|
value: e.value,
|
|
3153
3153
|
onChange: e.onChange,
|
|
3154
3154
|
disabled: e.disabled,
|
|
3155
3155
|
ariaLabel: e.ariaLabel
|
|
3156
3156
|
}, t);
|
|
3157
|
-
case "dropdown": return /* @__PURE__ */ X(
|
|
3157
|
+
case "dropdown": return /* @__PURE__ */ X(Li, {
|
|
3158
3158
|
items: e.items,
|
|
3159
3159
|
disabled: e.disabled,
|
|
3160
3160
|
children: /* @__PURE__ */ X(V, {
|
|
@@ -3169,8 +3169,8 @@ var Xl = ia(Jl, Yl), Zl = L(Xl), Ql = [
|
|
|
3169
3169
|
}
|
|
3170
3170
|
})
|
|
3171
3171
|
}), iu = ({ item: e, open: t, onOpenChange: n }) => {
|
|
3172
|
-
let r =
|
|
3173
|
-
return /* @__PURE__ */ X(
|
|
3172
|
+
let r = Jn(), i = R().t(t ? "actions.collapseItem" : "actions.expandItem", { title: e.title }), a = !!e.actions && e.actions.length > 0;
|
|
3173
|
+
return /* @__PURE__ */ X(hr, {
|
|
3174
3174
|
open: t,
|
|
3175
3175
|
onOpenChange: n,
|
|
3176
3176
|
asChild: !0,
|
|
@@ -3178,7 +3178,7 @@ var Xl = ia(Jl, Yl), Zl = L(Xl), Ql = [
|
|
|
3178
3178
|
className: "flex flex-col",
|
|
3179
3179
|
children: [/* @__PURE__ */ Z("div", {
|
|
3180
3180
|
className: "flex items-center",
|
|
3181
|
-
children: [/* @__PURE__ */ X(
|
|
3181
|
+
children: [/* @__PURE__ */ X(Gr, {
|
|
3182
3182
|
asChild: !0,
|
|
3183
3183
|
children: /* @__PURE__ */ X("button", {
|
|
3184
3184
|
type: "button",
|
|
@@ -3196,7 +3196,7 @@ var Xl = ia(Jl, Yl), Zl = L(Xl), Ql = [
|
|
|
3196
3196
|
children: e.summary
|
|
3197
3197
|
}) : null,
|
|
3198
3198
|
a ? /* @__PURE__ */ X(ru, { actions: e.actions }) : null,
|
|
3199
|
-
/* @__PURE__ */ X(
|
|
3199
|
+
/* @__PURE__ */ X(Gr, {
|
|
3200
3200
|
asChild: !0,
|
|
3201
3201
|
children: /* @__PURE__ */ X(V, {
|
|
3202
3202
|
variant: "outline",
|
|
@@ -3208,9 +3208,9 @@ var Xl = ia(Jl, Yl), Zl = L(Xl), Ql = [
|
|
|
3208
3208
|
})
|
|
3209
3209
|
]
|
|
3210
3210
|
})]
|
|
3211
|
-
}), /* @__PURE__ */ X(
|
|
3211
|
+
}), /* @__PURE__ */ X(Hn, {
|
|
3212
3212
|
initial: !1,
|
|
3213
|
-
children: t ? /* @__PURE__ */ X(
|
|
3213
|
+
children: t ? /* @__PURE__ */ X(Gn.div, {
|
|
3214
3214
|
initial: {
|
|
3215
3215
|
height: 0,
|
|
3216
3216
|
opacity: 0
|
|
@@ -3225,7 +3225,7 @@ var Xl = ia(Jl, Yl), Zl = L(Xl), Ql = [
|
|
|
3225
3225
|
},
|
|
3226
3226
|
transition: { duration: r ? 0 : .2 },
|
|
3227
3227
|
className: "overflow-hidden",
|
|
3228
|
-
children: /* @__PURE__ */ X(
|
|
3228
|
+
children: /* @__PURE__ */ X(fr, {
|
|
3229
3229
|
forceMount: !0,
|
|
3230
3230
|
asChild: !0,
|
|
3231
3231
|
children: /* @__PURE__ */ Z("div", {
|
|
@@ -3269,7 +3269,7 @@ var Xl = ia(Jl, Yl), Zl = L(Xl), Ql = [
|
|
|
3269
3269
|
});
|
|
3270
3270
|
});
|
|
3271
3271
|
ou.displayName = "F0Accordion";
|
|
3272
|
-
var su = L(mn("F0Accordion",
|
|
3272
|
+
var su = L(mn("F0Accordion", vi(ou, au))), cu = [
|
|
3273
3273
|
"info",
|
|
3274
3274
|
"warning",
|
|
3275
3275
|
"critical",
|
|
@@ -3340,9 +3340,9 @@ var du = L(mn("F0ChipList", uu)), fu = [
|
|
|
3340
3340
|
"positive",
|
|
3341
3341
|
"transparent"
|
|
3342
3342
|
], hu = {
|
|
3343
|
-
get: async (e) => JSON.parse(localStorage.getItem(
|
|
3343
|
+
get: async (e) => JSON.parse(localStorage.getItem(yi(e)) ?? "{}"),
|
|
3344
3344
|
set: async (e, t) => {
|
|
3345
|
-
localStorage.setItem(
|
|
3345
|
+
localStorage.setItem(yi(e), JSON.stringify(t));
|
|
3346
3346
|
}
|
|
3347
3347
|
}, gu = ({ disableClose: e = !1, onClose: t, isOpen: n, children: r, position: i = "right", size: a = "md", primaryAction: o, secondaryAction: s, title: c, description: l, module: u, otherActions: d, tabs: f, modal: p = !1, activeTabId: m, setActiveTabId: h, disableContentPadding: g, container: _, onWidthChange: v }) => {
|
|
3348
3348
|
let [y, b] = J(n);
|
|
@@ -3459,11 +3459,11 @@ var xu = bu;
|
|
|
3459
3459
|
//#endregion
|
|
3460
3460
|
//#region src/blocks/F0Form/describeFormSchema.ts
|
|
3461
3461
|
function Su(e) {
|
|
3462
|
-
let t =
|
|
3462
|
+
let t = Xr(e).shape, n = [];
|
|
3463
3463
|
for (let [e, r] of Object.entries(t)) {
|
|
3464
|
-
let t = r, i =
|
|
3464
|
+
let t = r, i = ir(t);
|
|
3465
3465
|
if (!i) continue;
|
|
3466
|
-
let a =
|
|
3466
|
+
let a = Lr(t, i), o = P(t, a), s = {
|
|
3467
3467
|
name: e,
|
|
3468
3468
|
type: a,
|
|
3469
3469
|
label: i.label,
|
|
@@ -3535,9 +3535,9 @@ function wu(e) {
|
|
|
3535
3535
|
let r = {
|
|
3536
3536
|
...n,
|
|
3537
3537
|
...e
|
|
3538
|
-
}, i =
|
|
3538
|
+
}, i = Xr(t), a = [];
|
|
3539
3539
|
for (let [e, t] of Object.entries(i.shape)) {
|
|
3540
|
-
let n =
|
|
3540
|
+
let n = ir(t);
|
|
3541
3541
|
n?.renderIf ? ht(n.renderIf, r) && a.push(e) : a.push(e);
|
|
3542
3542
|
}
|
|
3543
3543
|
return a;
|
|
@@ -3581,12 +3581,12 @@ var Eu = ({ isOpen: e = !1, onClose: t = () => {}, type: n, title: r, descriptio
|
|
|
3581
3581
|
modal: !0,
|
|
3582
3582
|
children: /* @__PURE__ */ Z("div", {
|
|
3583
3583
|
className: "flex flex-col gap-4 py-2",
|
|
3584
|
-
children: [/* @__PURE__ */ X(
|
|
3584
|
+
children: [/* @__PURE__ */ X(bi, {
|
|
3585
3585
|
type: n,
|
|
3586
3586
|
size: "lg"
|
|
3587
3587
|
}), /* @__PURE__ */ Z("div", {
|
|
3588
3588
|
className: "flex flex-col gap-0.5",
|
|
3589
|
-
children: [/* @__PURE__ */ X(
|
|
3589
|
+
children: [/* @__PURE__ */ X(Ti, {
|
|
3590
3590
|
className: "text-xl sm:text-lg",
|
|
3591
3591
|
children: r
|
|
3592
3592
|
}), /* @__PURE__ */ X(T, {
|
|
@@ -3863,7 +3863,7 @@ function Vu({ state: e, index: t }) {
|
|
|
3863
3863
|
return e === "completed" ? /* @__PURE__ */ X("span", {
|
|
3864
3864
|
className: "flex h-5 w-5 min-w-5 shrink-0 items-center justify-center rounded-xs bg-f1-background-secondary text-f1-foreground-secondary",
|
|
3865
3865
|
children: /* @__PURE__ */ X(Rs, { className: "h-3 w-3" })
|
|
3866
|
-
}) : /* @__PURE__ */ X(
|
|
3866
|
+
}) : /* @__PURE__ */ X(er, {
|
|
3867
3867
|
value: t + 1,
|
|
3868
3868
|
type: e === "active" ? "selected" : "default",
|
|
3869
3869
|
size: "md"
|
|
@@ -3973,7 +3973,7 @@ var Wu = () => {}, Gu = ({ steps: e, children: t, isOpen: n, onClose: r = Wu, ti
|
|
|
3973
3973
|
onClose: r
|
|
3974
3974
|
}), 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, S = K(() => ({
|
|
3975
3975
|
label: b,
|
|
3976
|
-
icon: y ? void 0 :
|
|
3976
|
+
icon: y ? void 0 : li,
|
|
3977
3977
|
onClick: () => void h.goNext(),
|
|
3978
3978
|
disabled: _?.isCompleted?.() === !1 || _?.hasErrors?.() === !0,
|
|
3979
3979
|
loading: h.loading
|
|
@@ -4030,14 +4030,14 @@ Gu.displayName = "F0Wizard", L(Gu);
|
|
|
4030
4030
|
//#endregion
|
|
4031
4031
|
//#region src/blocks/F0WizardForm/F0WizardForm.tsx
|
|
4032
4032
|
function Ku(e) {
|
|
4033
|
-
let t =
|
|
4034
|
-
return n.length !== 0 && n.every(([, e]) =>
|
|
4033
|
+
let t = Xr(e).shape, n = Object.entries(t);
|
|
4034
|
+
return n.length !== 0 && n.every(([, e]) => ir(e)?.disabled === !0);
|
|
4035
4035
|
}
|
|
4036
4036
|
function qu(e, t) {
|
|
4037
4037
|
if (t) return Object.keys(t);
|
|
4038
|
-
let n =
|
|
4038
|
+
let n = Xr(e).shape, r = /* @__PURE__ */ new Set();
|
|
4039
4039
|
for (let e of Object.values(n)) {
|
|
4040
|
-
let t =
|
|
4040
|
+
let t = ir(e);
|
|
4041
4041
|
t?.section && r.add(t.section);
|
|
4042
4042
|
}
|
|
4043
4043
|
return Array.from(r);
|
|
@@ -4045,15 +4045,15 @@ function qu(e, t) {
|
|
|
4045
4045
|
function Ju(e, t) {
|
|
4046
4046
|
let n = e.shape, r = {};
|
|
4047
4047
|
for (let [e, i] of Object.entries(n)) {
|
|
4048
|
-
let n =
|
|
4048
|
+
let n = ir(i);
|
|
4049
4049
|
n?.section && t.includes(n.section) && (r[e] = i);
|
|
4050
4050
|
}
|
|
4051
|
-
return
|
|
4051
|
+
return mr(r);
|
|
4052
4052
|
}
|
|
4053
4053
|
function Yu(e, t, n) {
|
|
4054
4054
|
let r = t ?? {};
|
|
4055
4055
|
if (n) return n({ data: r });
|
|
4056
|
-
let i =
|
|
4056
|
+
let i = Xr(e).shape;
|
|
4057
4057
|
return Object.entries(i).every(([e, t]) => {
|
|
4058
4058
|
if (t.isOptional()) return !0;
|
|
4059
4059
|
let n = r[e];
|
|
@@ -4279,7 +4279,7 @@ function td({ sectionId: e, formName: t, schema: n, sectionConfig: r, defaultVal
|
|
|
4279
4279
|
});
|
|
4280
4280
|
}
|
|
4281
4281
|
function nd({ formDefinition: e, steps: t, isOpen: n, onClose: r, title: i, width: a, size: o, defaultStepIndex: s, nextLabel: c, previousLabel: u, onStepChanged: d, allowStepSkipping: f, autoCloseOnLastStepSubmit: p, linkAfterLastStepSubmit: h, autoSkipCompletedSteps: g = !1, renderCustomField: _ }) {
|
|
4282
|
-
let { name: v, schema: y, sections: b, defaultValues: x, onSubmit: S, submitConfig: C, errorTriggerMode: w = "on-blur" } = e, T = C?.label, E = K(() =>
|
|
4282
|
+
let { name: v, schema: y, sections: b, defaultValues: x, onSubmit: S, submitConfig: C, errorTriggerMode: w = "on-blur" } = e, T = C?.label, E = K(() => Xr(y), [y]), D = K(() => qu(y, b), [y, b]), O = W((e) => Ku(Ju(E, e)), [E]), k = l(), A = q(x ? { ...x } : {}), j = q(s ?? 0), M = W((e) => async () => {
|
|
4283
4283
|
await k.submit();
|
|
4284
4284
|
}, [k]), N = W((e) => k.hasErrors, [k.hasErrors]), P = t ?? e.steps, F = K(() => P ?? D.map((e) => ({
|
|
4285
4285
|
title: b?.[e]?.title ?? e,
|
|
@@ -4463,8 +4463,8 @@ var ud = { open: ld }, dd = [
|
|
|
4463
4463
|
className: "flex justify-between text-sm text-f1-foreground-secondary",
|
|
4464
4464
|
children: [/* @__PURE__ */ X("span", { children: e }), /* @__PURE__ */ X("span", { children: t })]
|
|
4465
4465
|
}), md = ({ visible: e, content: t, style: n }) => {
|
|
4466
|
-
let r =
|
|
4467
|
-
return /* @__PURE__ */ X(
|
|
4466
|
+
let r = Jn() ? 0 : .15;
|
|
4467
|
+
return /* @__PURE__ */ X(Hn, { children: e ? /* @__PURE__ */ X(Gn.div, {
|
|
4468
4468
|
initial: {
|
|
4469
4469
|
opacity: 0,
|
|
4470
4470
|
x: "-50%",
|
|
@@ -4569,7 +4569,7 @@ var ud = { open: ld }, dd = [
|
|
|
4569
4569
|
id: C,
|
|
4570
4570
|
disabled: c
|
|
4571
4571
|
}) : null,
|
|
4572
|
-
/* @__PURE__ */ Z(
|
|
4572
|
+
/* @__PURE__ */ Z(Ur, {
|
|
4573
4573
|
value: [O],
|
|
4574
4574
|
onValueChange: j,
|
|
4575
4575
|
onValueCommit: M,
|
|
@@ -4584,14 +4584,14 @@ var ud = { open: ld }, dd = [
|
|
|
4584
4584
|
onMouseEnter: () => P(!0),
|
|
4585
4585
|
onMouseLeave: () => P(!1),
|
|
4586
4586
|
children: [
|
|
4587
|
-
/* @__PURE__ */ X(
|
|
4587
|
+
/* @__PURE__ */ X(Or, {
|
|
4588
4588
|
className: gd({ status: ie }),
|
|
4589
|
-
children: /* @__PURE__ */ X(
|
|
4589
|
+
children: /* @__PURE__ */ X(Yr, { className: _d({
|
|
4590
4590
|
status: ie,
|
|
4591
4591
|
disabled: c
|
|
4592
4592
|
}) })
|
|
4593
4593
|
}),
|
|
4594
|
-
/* @__PURE__ */ X(
|
|
4594
|
+
/* @__PURE__ */ X(xr, {
|
|
4595
4595
|
id: S,
|
|
4596
4596
|
"aria-label": ae ? void 0 : T,
|
|
4597
4597
|
"aria-labelledby": ae ? C : void 0,
|
|
@@ -4630,7 +4630,7 @@ var ud = { open: ld }, dd = [
|
|
|
4630
4630
|
});
|
|
4631
4631
|
});
|
|
4632
4632
|
bd.displayName = "F0Slider";
|
|
4633
|
-
var xd = mn("F0Slider",
|
|
4633
|
+
var xd = mn("F0Slider", vi(L(bd), hd)), Sd = [
|
|
4634
4634
|
"completed",
|
|
4635
4635
|
"in-progress",
|
|
4636
4636
|
"not-started",
|
|
@@ -4911,7 +4911,7 @@ function Hd(e) {
|
|
|
4911
4911
|
}
|
|
4912
4912
|
//#endregion
|
|
4913
4913
|
//#region src/domains/talent/surveys/surveys/SurveyFormBuilder/ApplyingChangesTag/ApplyingChangesTag.tsx
|
|
4914
|
-
var Ud =
|
|
4914
|
+
var Ud = Gn.create(xi), Wd = yc(() => {
|
|
4915
4915
|
let e = R();
|
|
4916
4916
|
return /* @__PURE__ */ Z("div", {
|
|
4917
4917
|
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",
|
|
@@ -5267,12 +5267,12 @@ var of = () => {
|
|
|
5267
5267
|
let { isQuestionTypeAllowed: e, datasets: t } = tf(), { t: n } = R(), r = [
|
|
5268
5268
|
{
|
|
5269
5269
|
label: n("surveyFormBuilder.questionTypes.rating"),
|
|
5270
|
-
icon:
|
|
5270
|
+
icon: Ji,
|
|
5271
5271
|
questionType: "rating"
|
|
5272
5272
|
},
|
|
5273
5273
|
{
|
|
5274
5274
|
label: n("surveyFormBuilder.questionTypes.multipleChoice"),
|
|
5275
|
-
icon:
|
|
5275
|
+
icon: Oi,
|
|
5276
5276
|
questionType: "multi-select"
|
|
5277
5277
|
},
|
|
5278
5278
|
{
|
|
@@ -5282,32 +5282,32 @@ var of = () => {
|
|
|
5282
5282
|
},
|
|
5283
5283
|
{
|
|
5284
5284
|
label: n("surveyFormBuilder.questionTypes.text"),
|
|
5285
|
-
icon:
|
|
5285
|
+
icon: di,
|
|
5286
5286
|
questionType: "text"
|
|
5287
5287
|
},
|
|
5288
5288
|
{
|
|
5289
5289
|
label: n("surveyFormBuilder.questionTypes.longText"),
|
|
5290
|
-
icon:
|
|
5290
|
+
icon: Tr,
|
|
5291
5291
|
questionType: "longText"
|
|
5292
5292
|
},
|
|
5293
5293
|
{
|
|
5294
5294
|
label: n("surveyFormBuilder.questionTypes.numeric"),
|
|
5295
|
-
icon:
|
|
5295
|
+
icon: vr,
|
|
5296
5296
|
questionType: "numeric"
|
|
5297
5297
|
},
|
|
5298
5298
|
{
|
|
5299
5299
|
label: n("surveyFormBuilder.questionTypes.link"),
|
|
5300
|
-
icon:
|
|
5300
|
+
icon: oi,
|
|
5301
5301
|
questionType: "link"
|
|
5302
5302
|
},
|
|
5303
5303
|
{
|
|
5304
5304
|
label: n("surveyFormBuilder.questionTypes.date"),
|
|
5305
|
-
icon:
|
|
5305
|
+
icon: ia,
|
|
5306
5306
|
questionType: "date"
|
|
5307
5307
|
},
|
|
5308
5308
|
{
|
|
5309
5309
|
label: n("surveyFormBuilder.questionTypes.file"),
|
|
5310
|
-
icon:
|
|
5310
|
+
icon: wr,
|
|
5311
5311
|
questionType: "file"
|
|
5312
5312
|
},
|
|
5313
5313
|
{
|
|
@@ -5323,17 +5323,17 @@ var of = () => {
|
|
|
5323
5323
|
})) : [];
|
|
5324
5324
|
return [...r, ...i];
|
|
5325
5325
|
}, sf = {
|
|
5326
|
-
rating:
|
|
5327
|
-
"multi-select":
|
|
5326
|
+
rating: Ji,
|
|
5327
|
+
"multi-select": Oi,
|
|
5328
5328
|
select: Rs,
|
|
5329
|
-
text:
|
|
5330
|
-
longText:
|
|
5331
|
-
numeric:
|
|
5332
|
-
link:
|
|
5333
|
-
date:
|
|
5329
|
+
text: di,
|
|
5330
|
+
longText: Tr,
|
|
5331
|
+
numeric: vr,
|
|
5332
|
+
link: oi,
|
|
5333
|
+
date: ia,
|
|
5334
5334
|
"dropdown-single": ao,
|
|
5335
5335
|
"dropdown-multi": ao,
|
|
5336
|
-
file:
|
|
5336
|
+
file: wr,
|
|
5337
5337
|
checkbox: zs
|
|
5338
5338
|
}, cf = () => {
|
|
5339
5339
|
let { disabled: e, answering: t, onAddNewElement: n, isQuestionTypeAllowed: r, labels: i } = tf(), [a, o] = J(!1), s = of(), { t: c } = R(), l = i?.addQuestion ?? c("surveyFormBuilder.actions.addQuestion"), u = (e, t) => {
|
|
@@ -5367,7 +5367,7 @@ var of = () => {
|
|
|
5367
5367
|
children: /* @__PURE__ */ Z("div", {
|
|
5368
5368
|
className: "flex w-full flex-row items-center gap-2",
|
|
5369
5369
|
children: [/* @__PURE__ */ X(H, {
|
|
5370
|
-
icon:
|
|
5370
|
+
icon: Si,
|
|
5371
5371
|
color: "default"
|
|
5372
5372
|
}), /* @__PURE__ */ X("span", {
|
|
5373
5373
|
className: "flex-1 text-base font-medium",
|
|
@@ -5420,7 +5420,7 @@ var of = () => {
|
|
|
5420
5420
|
children: /* @__PURE__ */ Z("div", {
|
|
5421
5421
|
className: "flex w-full flex-row items-center gap-2",
|
|
5422
5422
|
children: [/* @__PURE__ */ X(H, {
|
|
5423
|
-
icon:
|
|
5423
|
+
icon: Oi,
|
|
5424
5424
|
color: "default"
|
|
5425
5425
|
}), /* @__PURE__ */ X("span", {
|
|
5426
5426
|
className: "flex-1",
|
|
@@ -5600,7 +5600,7 @@ var hf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(q
|
|
|
5600
5600
|
className: "flex w-full flex-row items-center gap-2",
|
|
5601
5601
|
children: [
|
|
5602
5602
|
/* @__PURE__ */ X(Xa, {
|
|
5603
|
-
icon:
|
|
5603
|
+
icon: ui,
|
|
5604
5604
|
color: "default"
|
|
5605
5605
|
}),
|
|
5606
5606
|
/* @__PURE__ */ X("span", {
|
|
@@ -5712,7 +5712,7 @@ var hf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(q
|
|
|
5712
5712
|
className: "flex w-full flex-row items-center gap-2",
|
|
5713
5713
|
children: [
|
|
5714
5714
|
/* @__PURE__ */ X(Xa, {
|
|
5715
|
-
icon:
|
|
5715
|
+
icon: Oi,
|
|
5716
5716
|
color: "default"
|
|
5717
5717
|
}),
|
|
5718
5718
|
/* @__PURE__ */ X("span", {
|
|
@@ -5741,11 +5741,11 @@ var hf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(q
|
|
|
5741
5741
|
let { t: a } = R(), { labels: o } = tf();
|
|
5742
5742
|
return !e && !t ? null : /* @__PURE__ */ Z(Y, { children: [n ? /* @__PURE__ */ X(Ks, {}) : null, /* @__PURE__ */ Z(ec, { children: [e ? /* @__PURE__ */ X(_f, {
|
|
5743
5743
|
label: o?.duplicateQuestion ?? a("surveyFormBuilder.actions.duplicateQuestion"),
|
|
5744
|
-
icon:
|
|
5744
|
+
icon: Cr,
|
|
5745
5745
|
onClick: r
|
|
5746
5746
|
}) : null, t ? /* @__PURE__ */ X(_f, {
|
|
5747
5747
|
label: o?.deleteQuestion ?? a("surveyFormBuilder.actions.deleteQuestion"),
|
|
5748
|
-
icon:
|
|
5748
|
+
icon: ni,
|
|
5749
5749
|
onClick: i,
|
|
5750
5750
|
critical: !0
|
|
5751
5751
|
}) : null] })] });
|
|
@@ -5780,13 +5780,13 @@ function yf({ open: e, setOpen: t, questionId: n, questionType: r, canDeleteQues
|
|
|
5780
5780
|
}),
|
|
5781
5781
|
T ? /* @__PURE__ */ X(ec, { children: /* @__PURE__ */ X(hf, {
|
|
5782
5782
|
label: o("surveyFormBuilder.labels.required"),
|
|
5783
|
-
icon:
|
|
5783
|
+
icon: pi,
|
|
5784
5784
|
checked: !!l?.required,
|
|
5785
5785
|
onChange: _
|
|
5786
5786
|
}) }) : null,
|
|
5787
5787
|
E ? /* @__PURE__ */ X(ec, { children: /* @__PURE__ */ X(hf, {
|
|
5788
5788
|
label: o("surveyFormBuilder.labels.allowMultiSelection"),
|
|
5789
|
-
icon:
|
|
5789
|
+
icon: Oi,
|
|
5790
5790
|
checked: p,
|
|
5791
5791
|
onChange: b
|
|
5792
5792
|
}) }) : null,
|
|
@@ -5824,7 +5824,7 @@ var bf = ({ notice: e, className: t, children: n }) => {
|
|
|
5824
5824
|
className: t,
|
|
5825
5825
|
children: n
|
|
5826
5826
|
});
|
|
5827
|
-
return e ? /* @__PURE__ */ X(
|
|
5827
|
+
return e ? /* @__PURE__ */ X(Wn, {
|
|
5828
5828
|
instant: !0,
|
|
5829
5829
|
...e,
|
|
5830
5830
|
children: r
|
|
@@ -5895,7 +5895,7 @@ var bf = ({ notice: e, className: t, children: n }) => {
|
|
|
5895
5895
|
}) : null]
|
|
5896
5896
|
})] })
|
|
5897
5897
|
}),
|
|
5898
|
-
!p && b ? /* @__PURE__ */ X("div", { children: ue ? /* @__PURE__ */ X(
|
|
5898
|
+
!p && b ? /* @__PURE__ */ X("div", { children: ue ? /* @__PURE__ */ X(Wn, {
|
|
5899
5899
|
instant: !0,
|
|
5900
5900
|
...ue,
|
|
5901
5901
|
children: /* @__PURE__ */ X("span", {
|
|
@@ -5976,7 +5976,7 @@ var bf = ({ notice: e, className: t, children: n }) => {
|
|
|
5976
5976
|
children: /* @__PURE__ */ Z("div", {
|
|
5977
5977
|
className: "flex w-full flex-row items-center gap-2",
|
|
5978
5978
|
children: [/* @__PURE__ */ X(H, {
|
|
5979
|
-
icon:
|
|
5979
|
+
icon: Si,
|
|
5980
5980
|
color: "default"
|
|
5981
5981
|
}), /* @__PURE__ */ X("span", {
|
|
5982
5982
|
className: "flex-1 text-base font-medium",
|
|
@@ -6028,7 +6028,7 @@ var bf = ({ notice: e, className: t, children: n }) => {
|
|
|
6028
6028
|
children: /* @__PURE__ */ Z("div", {
|
|
6029
6029
|
className: "flex w-full flex-row items-center gap-2",
|
|
6030
6030
|
children: [/* @__PURE__ */ X(H, {
|
|
6031
|
-
icon:
|
|
6031
|
+
icon: Oi,
|
|
6032
6032
|
color: "default"
|
|
6033
6033
|
}), /* @__PURE__ */ X("span", {
|
|
6034
6034
|
className: "flex-1",
|
|
@@ -6262,8 +6262,8 @@ var Cf = ({ value: e, label: t, ...n }) => {
|
|
|
6262
6262
|
required: t.required,
|
|
6263
6263
|
maxDecimals: 0,
|
|
6264
6264
|
placeholder: s,
|
|
6265
|
-
icon:
|
|
6266
|
-
}) : /* @__PURE__ */ X(
|
|
6265
|
+
icon: vr
|
|
6266
|
+
}) : /* @__PURE__ */ X(Mi, {
|
|
6267
6267
|
type: "text",
|
|
6268
6268
|
size: "md",
|
|
6269
6269
|
value: s,
|
|
@@ -6271,7 +6271,7 @@ var Cf = ({ value: e, label: t, ...n }) => {
|
|
|
6271
6271
|
disabled: !0,
|
|
6272
6272
|
label: n("surveyFormBuilder.answer.label"),
|
|
6273
6273
|
hideLabel: !0,
|
|
6274
|
-
icon:
|
|
6274
|
+
icon: vr
|
|
6275
6275
|
})
|
|
6276
6276
|
});
|
|
6277
6277
|
}, jf = ({ option: e, selected: t, onClick: n, onChangeLabel: r, disabled: i, isEmojiMode: a = !1 }) => {
|
|
@@ -6445,7 +6445,7 @@ var If = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6445
6445
|
children: /* @__PURE__ */ X("div", {
|
|
6446
6446
|
className: B("flex aspect-square scale-90 items-center justify-center", u === "multi-select" ? "w-6" : "w-5"),
|
|
6447
6447
|
children: /* @__PURE__ */ X(Xa, {
|
|
6448
|
-
icon:
|
|
6448
|
+
icon: qi,
|
|
6449
6449
|
size: "sm"
|
|
6450
6450
|
})
|
|
6451
6451
|
})
|
|
@@ -6468,13 +6468,13 @@ var If = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6468
6468
|
children: [/* @__PURE__ */ X(V, {
|
|
6469
6469
|
label: _("surveyFormBuilder.selectQuestion.markAsCorrect"),
|
|
6470
6470
|
variant: "ghost",
|
|
6471
|
-
icon: c ?
|
|
6471
|
+
icon: c ? cr : Fr,
|
|
6472
6472
|
onClick: x,
|
|
6473
6473
|
hideLabel: !0
|
|
6474
6474
|
}), /* @__PURE__ */ X(V, {
|
|
6475
6475
|
label: _("surveyFormBuilder.selectQuestion.remove"),
|
|
6476
6476
|
variant: "ghost",
|
|
6477
|
-
icon:
|
|
6477
|
+
icon: ni,
|
|
6478
6478
|
hideLabel: !0,
|
|
6479
6479
|
onClick: S
|
|
6480
6480
|
})]
|
|
@@ -6701,7 +6701,7 @@ var If = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6701
6701
|
h && c.start(e);
|
|
6702
6702
|
},
|
|
6703
6703
|
children: /* @__PURE__ */ X(H, {
|
|
6704
|
-
icon:
|
|
6704
|
+
icon: qi,
|
|
6705
6705
|
size: "sm"
|
|
6706
6706
|
})
|
|
6707
6707
|
}) : null, /* @__PURE__ */ X(zf, { ...e.question })]
|
|
@@ -6731,7 +6731,7 @@ var If = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6731
6731
|
f && i.start(e);
|
|
6732
6732
|
},
|
|
6733
6733
|
children: /* @__PURE__ */ X(H, {
|
|
6734
|
-
icon:
|
|
6734
|
+
icon: qi,
|
|
6735
6735
|
size: "sm"
|
|
6736
6736
|
})
|
|
6737
6737
|
}) : null, /* @__PURE__ */ X(zf, { ...e })]
|
|
@@ -6763,7 +6763,7 @@ var If = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6763
6763
|
});
|
|
6764
6764
|
}, x = [{
|
|
6765
6765
|
label: h("surveyFormBuilder.actions.duplicateSection"),
|
|
6766
|
-
icon:
|
|
6766
|
+
icon: Cr,
|
|
6767
6767
|
onClick: () => {
|
|
6768
6768
|
d?.({
|
|
6769
6769
|
elementId: e,
|
|
@@ -6772,7 +6772,7 @@ var If = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6772
6772
|
}
|
|
6773
6773
|
}, {
|
|
6774
6774
|
label: h("surveyFormBuilder.actions.deleteSection"),
|
|
6775
|
-
icon:
|
|
6775
|
+
icon: ni,
|
|
6776
6776
|
onClick: () => {
|
|
6777
6777
|
u(e);
|
|
6778
6778
|
},
|
|
@@ -6806,7 +6806,7 @@ var If = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6806
6806
|
}) : null,
|
|
6807
6807
|
D ? /* @__PURE__ */ X("div", {
|
|
6808
6808
|
className: "ml-auto flex shrink-0 items-center",
|
|
6809
|
-
children: /* @__PURE__ */ X(
|
|
6809
|
+
children: /* @__PURE__ */ X(Wn, {
|
|
6810
6810
|
description: E,
|
|
6811
6811
|
instant: !0,
|
|
6812
6812
|
children: /* @__PURE__ */ X("span", {
|
|
@@ -6817,7 +6817,7 @@ var If = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6817
6817
|
}) : null,
|
|
6818
6818
|
!c && !l && !a ? /* @__PURE__ */ X("div", {
|
|
6819
6819
|
className: B("opacity-0 group-hover/section:opacity-100", p && "opacity-100"),
|
|
6820
|
-
children: /* @__PURE__ */ X(
|
|
6820
|
+
children: /* @__PURE__ */ X(Li, {
|
|
6821
6821
|
items: x,
|
|
6822
6822
|
icon: Bs,
|
|
6823
6823
|
open: p,
|
|
@@ -6893,7 +6893,7 @@ var If = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6893
6893
|
o.start(e);
|
|
6894
6894
|
},
|
|
6895
6895
|
children: /* @__PURE__ */ X(H, {
|
|
6896
|
-
icon:
|
|
6896
|
+
icon: qi,
|
|
6897
6897
|
size: "sm"
|
|
6898
6898
|
})
|
|
6899
6899
|
}) : null, /* @__PURE__ */ X(Uf, {
|
|
@@ -6923,7 +6923,7 @@ var If = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6923
6923
|
p || x.push({
|
|
6924
6924
|
type: "toggle",
|
|
6925
6925
|
label: l,
|
|
6926
|
-
icon:
|
|
6926
|
+
icon: pi,
|
|
6927
6927
|
checked: !!r?.required,
|
|
6928
6928
|
onCheckedChange: m
|
|
6929
6929
|
});
|
|
@@ -6968,7 +6968,7 @@ var If = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6968
6968
|
selected: s === e && t === "dropdown-single"
|
|
6969
6969
|
}, {
|
|
6970
6970
|
label: f,
|
|
6971
|
-
icon:
|
|
6971
|
+
icon: Oi,
|
|
6972
6972
|
onClick: () => h("dropdown-multi", e),
|
|
6973
6973
|
selected: s === e && t === "dropdown-multi"
|
|
6974
6974
|
}]
|
|
@@ -6982,16 +6982,16 @@ var If = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6982
6982
|
return x.push({
|
|
6983
6983
|
type: "submenu",
|
|
6984
6984
|
label: u,
|
|
6985
|
-
icon:
|
|
6985
|
+
icon: ui,
|
|
6986
6986
|
selectedLabel: E,
|
|
6987
6987
|
children: w
|
|
6988
6988
|
}), x.push({ type: "separator" }), x.push({
|
|
6989
6989
|
label: i,
|
|
6990
|
-
icon:
|
|
6990
|
+
icon: Cr,
|
|
6991
6991
|
onClick: y
|
|
6992
6992
|
}), n && x.push({
|
|
6993
6993
|
label: a,
|
|
6994
|
-
icon:
|
|
6994
|
+
icon: ni,
|
|
6995
6995
|
onClick: b,
|
|
6996
6996
|
critical: !0
|
|
6997
6997
|
}), x;
|
|
@@ -7012,12 +7012,12 @@ var If = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7012
7012
|
return {
|
|
7013
7013
|
id: i,
|
|
7014
7014
|
label: t.title || n,
|
|
7015
|
-
icon:
|
|
7015
|
+
icon: Si,
|
|
7016
7016
|
onClick: y,
|
|
7017
7017
|
...!h && !g && !t.locked && { otherActions: [
|
|
7018
7018
|
{
|
|
7019
7019
|
label: o,
|
|
7020
|
-
icon:
|
|
7020
|
+
icon: Cr,
|
|
7021
7021
|
onClick: () => m?.({
|
|
7022
7022
|
elementId: t.id,
|
|
7023
7023
|
type: "section"
|
|
@@ -7026,7 +7026,7 @@ var If = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7026
7026
|
{ type: "separator" },
|
|
7027
7027
|
{
|
|
7028
7028
|
label: s,
|
|
7029
|
-
icon:
|
|
7029
|
+
icon: ni,
|
|
7030
7030
|
onClick: () => p(t.id),
|
|
7031
7031
|
critical: !0
|
|
7032
7032
|
}
|
|
@@ -7291,7 +7291,7 @@ var ep = (e, t, n) => {
|
|
|
7291
7291
|
onChange: n
|
|
7292
7292
|
}) : null, /* @__PURE__ */ Z("div", {
|
|
7293
7293
|
className: "relative flex flex-1 flex-col",
|
|
7294
|
-
children: [/* @__PURE__ */ Z(
|
|
7294
|
+
children: [/* @__PURE__ */ Z(Gn.div, {
|
|
7295
7295
|
className: B("flex w-full max-w-[750px] self-center flex-col gap-6", a && "pointer-events-none"),
|
|
7296
7296
|
initial: { filter: "blur(0px)" },
|
|
7297
7297
|
animate: { filter: a ? "blur(2px)" : "none" },
|
|
@@ -7312,7 +7312,7 @@ var ep = (e, t, n) => {
|
|
|
7312
7312
|
})
|
|
7313
7313
|
})
|
|
7314
7314
|
}), d ? /* @__PURE__ */ X(cf, {}) : null]
|
|
7315
|
-
}), a ? /* @__PURE__ */ X(
|
|
7315
|
+
}), a ? /* @__PURE__ */ X(Gn.div, {
|
|
7316
7316
|
className: "sticky bottom-1/2 left-0 z-50 flex w-full items-center justify-center",
|
|
7317
7317
|
initial: {
|
|
7318
7318
|
opacity: 0,
|
|
@@ -7554,7 +7554,7 @@ function gp({ value: e, onChange: t, onBlur: n, config: r }) {
|
|
|
7554
7554
|
u ? /* @__PURE__ */ X("div", {
|
|
7555
7555
|
className: "min-h-8 p-1",
|
|
7556
7556
|
children: /* @__PURE__ */ X(H, {
|
|
7557
|
-
icon: t.correct ?
|
|
7557
|
+
icon: t.correct ? Fr : cr,
|
|
7558
7558
|
color: t.correct ? "positive" : "critical",
|
|
7559
7559
|
"aria-hidden": !0
|
|
7560
7560
|
})
|
|
@@ -7576,7 +7576,7 @@ var _p = /^(https?:\/\/)?[\w.-]+\.[a-z]{2,}(:\d+)?(\/[^\s]*)?$/i, vp = () => ({
|
|
|
7576
7576
|
status: "idle"
|
|
7577
7577
|
});
|
|
7578
7578
|
function yp(e, t) {
|
|
7579
|
-
return
|
|
7579
|
+
return Kr().optional().superRefine((n, r) => {
|
|
7580
7580
|
e && (!n || n.trim() === "") && r.addIssue({
|
|
7581
7581
|
code: "custom",
|
|
7582
7582
|
message: t("forms.validation.required")
|
|
@@ -7584,7 +7584,7 @@ function yp(e, t) {
|
|
|
7584
7584
|
});
|
|
7585
7585
|
}
|
|
7586
7586
|
function bp(e, t) {
|
|
7587
|
-
return
|
|
7587
|
+
return Kr().optional().superRefine((n, r) => {
|
|
7588
7588
|
e && (!n || n.trim() === "") ? r.addIssue({
|
|
7589
7589
|
code: "custom",
|
|
7590
7590
|
message: t("forms.validation.required")
|
|
@@ -7595,7 +7595,7 @@ function bp(e, t) {
|
|
|
7595
7595
|
});
|
|
7596
7596
|
}
|
|
7597
7597
|
function xp(e, t) {
|
|
7598
|
-
return
|
|
7598
|
+
return _r().optional().superRefine((n, r) => {
|
|
7599
7599
|
e && n == null && r.addIssue({
|
|
7600
7600
|
code: "custom",
|
|
7601
7601
|
message: t("forms.validation.required")
|
|
@@ -7603,7 +7603,7 @@ function xp(e, t) {
|
|
|
7603
7603
|
});
|
|
7604
7604
|
}
|
|
7605
7605
|
function Sp(e, t) {
|
|
7606
|
-
return
|
|
7606
|
+
return dr(Kr()).optional().superRefine((n, r) => {
|
|
7607
7607
|
e && (!n || n.length === 0) && r.addIssue({
|
|
7608
7608
|
code: "custom",
|
|
7609
7609
|
message: t("forms.validation.required")
|
|
@@ -7611,7 +7611,7 @@ function Sp(e, t) {
|
|
|
7611
7611
|
});
|
|
7612
7612
|
}
|
|
7613
7613
|
function Cp(e, t) {
|
|
7614
|
-
return
|
|
7614
|
+
return ai().optional().superRefine((n, r) => {
|
|
7615
7615
|
e && !n && r.addIssue({
|
|
7616
7616
|
code: "custom",
|
|
7617
7617
|
message: t("forms.validation.required")
|
|
@@ -7620,7 +7620,7 @@ function Cp(e, t) {
|
|
|
7620
7620
|
}
|
|
7621
7621
|
var wp = Sp;
|
|
7622
7622
|
function Tp(e, t) {
|
|
7623
|
-
return
|
|
7623
|
+
return Qi().optional().superRefine((n, r) => {
|
|
7624
7624
|
e && !n && r.addIssue({
|
|
7625
7625
|
code: "custom",
|
|
7626
7626
|
message: t("forms.validation.required")
|
|
@@ -7673,7 +7673,7 @@ function Ap({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
7673
7673
|
placeholder: t("surveyFormBuilder.answer.textPlaceholder"),
|
|
7674
7674
|
disabled: i
|
|
7675
7675
|
};
|
|
7676
|
-
return
|
|
7676
|
+
return Fi(yp(!!e.required, t), {
|
|
7677
7677
|
...l,
|
|
7678
7678
|
fieldType: "custom",
|
|
7679
7679
|
render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(xf, {
|
|
@@ -7701,7 +7701,7 @@ function Ap({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
7701
7701
|
rows: 4,
|
|
7702
7702
|
disabled: i
|
|
7703
7703
|
};
|
|
7704
|
-
return
|
|
7704
|
+
return Fi(yp(!!e.required, t), {
|
|
7705
7705
|
...l,
|
|
7706
7706
|
fieldType: "custom",
|
|
7707
7707
|
render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(xf, {
|
|
@@ -7728,7 +7728,7 @@ function Ap({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
7728
7728
|
placeholder: t("surveyFormBuilder.answer.numericPlaceholder"),
|
|
7729
7729
|
disabled: i
|
|
7730
7730
|
};
|
|
7731
|
-
return
|
|
7731
|
+
return Fi(xp(!!e.required, t), {
|
|
7732
7732
|
...l,
|
|
7733
7733
|
fieldType: "custom",
|
|
7734
7734
|
render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(xf, {
|
|
@@ -7756,7 +7756,7 @@ function Ap({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
7756
7756
|
placeholder: t("surveyFormBuilder.answer.linkPlaceholder"),
|
|
7757
7757
|
disabled: i
|
|
7758
7758
|
};
|
|
7759
|
-
return
|
|
7759
|
+
return Fi(bp(!!e.required, t), {
|
|
7760
7760
|
...l,
|
|
7761
7761
|
fieldType: "custom",
|
|
7762
7762
|
render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(xf, {
|
|
@@ -7783,7 +7783,7 @@ function Ap({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
7783
7783
|
clearable: !e.required,
|
|
7784
7784
|
disabled: i
|
|
7785
7785
|
};
|
|
7786
|
-
return
|
|
7786
|
+
return Fi(Cp(!!e.required, t), {
|
|
7787
7787
|
...l,
|
|
7788
7788
|
fieldType: "custom",
|
|
7789
7789
|
render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(xf, {
|
|
@@ -7819,7 +7819,7 @@ function Ap({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
7819
7819
|
showSearchBox: r,
|
|
7820
7820
|
searchBoxPlaceholder: e.searchBoxPlaceholder
|
|
7821
7821
|
};
|
|
7822
|
-
return
|
|
7822
|
+
return Fi(yp(!!e.required, t), {
|
|
7823
7823
|
...l,
|
|
7824
7824
|
fieldType: "custom",
|
|
7825
7825
|
render: ({ value: t, onChange: r, onBlur: i, error: o }) => {
|
|
@@ -7868,7 +7868,7 @@ function Ap({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
7868
7868
|
showSearchBox: r,
|
|
7869
7869
|
searchBoxPlaceholder: e.searchBoxPlaceholder
|
|
7870
7870
|
};
|
|
7871
|
-
return
|
|
7871
|
+
return Fi(Sp(!!e.required, t), {
|
|
7872
7872
|
...l,
|
|
7873
7873
|
fieldType: "custom",
|
|
7874
7874
|
render: ({ value: e, onChange: t, onBlur: n, error: r }) => /* @__PURE__ */ X(xf, {
|
|
@@ -7895,7 +7895,7 @@ function Ap({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
7895
7895
|
disabled: i,
|
|
7896
7896
|
showAnswerValidation: r
|
|
7897
7897
|
};
|
|
7898
|
-
return
|
|
7898
|
+
return Fi(yp(!!e.required, t), {
|
|
7899
7899
|
...l,
|
|
7900
7900
|
fieldType: "custom",
|
|
7901
7901
|
fieldConfig: n,
|
|
@@ -7918,7 +7918,7 @@ function Ap({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
7918
7918
|
disabled: i,
|
|
7919
7919
|
showAnswerValidation: r
|
|
7920
7920
|
};
|
|
7921
|
-
return
|
|
7921
|
+
return Fi(Sp(!!e.required, t), {
|
|
7922
7922
|
...l,
|
|
7923
7923
|
fieldType: "custom",
|
|
7924
7924
|
fieldConfig: n,
|
|
@@ -7940,7 +7940,7 @@ function Ap({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
7940
7940
|
maxLabel: n.maxLabel,
|
|
7941
7941
|
disabled: i
|
|
7942
7942
|
};
|
|
7943
|
-
return
|
|
7943
|
+
return Fi(xp(!!e.required, t), {
|
|
7944
7944
|
...l,
|
|
7945
7945
|
fieldType: "custom",
|
|
7946
7946
|
fieldConfig: r,
|
|
@@ -7966,7 +7966,7 @@ function Ap({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
7966
7966
|
useUpload: r ?? vp,
|
|
7967
7967
|
disabled: i || !r
|
|
7968
7968
|
};
|
|
7969
|
-
return
|
|
7969
|
+
return Fi(wp(!!e.required, t), {
|
|
7970
7970
|
...l,
|
|
7971
7971
|
fieldType: "custom",
|
|
7972
7972
|
render: ({ value: e, onChange: t, onBlur: n, error: r }) => /* @__PURE__ */ X(xf, {
|
|
@@ -7992,7 +7992,7 @@ function Ap({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
7992
7992
|
label: n.label || c,
|
|
7993
7993
|
disabled: i
|
|
7994
7994
|
};
|
|
7995
|
-
return
|
|
7995
|
+
return Fi(Tp(!!e.required, t), {
|
|
7996
7996
|
...l,
|
|
7997
7997
|
fieldType: "custom",
|
|
7998
7998
|
render: ({ value: e, onChange: t, onBlur: n, error: i }) => /* @__PURE__ */ X(xf, {
|
|
@@ -8011,7 +8011,7 @@ function Ap({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8011
8011
|
})
|
|
8012
8012
|
});
|
|
8013
8013
|
}
|
|
8014
|
-
default: return
|
|
8014
|
+
default: return Fi(Ii(), {
|
|
8015
8015
|
...l,
|
|
8016
8016
|
fieldType: "custom",
|
|
8017
8017
|
render: () => null
|
|
@@ -8052,7 +8052,7 @@ function jp({ elements: e, mode: t, t: n, defaultValues: r, currentQuestionId: i
|
|
|
8052
8052
|
}), f[e.id] = a?.[e.id] ?? Ep(e, r);
|
|
8053
8053
|
}
|
|
8054
8054
|
return {
|
|
8055
|
-
schema:
|
|
8055
|
+
schema: mr(d),
|
|
8056
8056
|
defaultValues: f,
|
|
8057
8057
|
flatQuestions: m,
|
|
8058
8058
|
sections: p
|
|
@@ -8157,12 +8157,12 @@ function Ip({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
|
|
|
8157
8157
|
]);
|
|
8158
8158
|
let ye = d && !h ? [{
|
|
8159
8159
|
label: b(C ? "surveyAnsweringForm.actions.collapse" : "surveyAnsweringForm.actions.expand"),
|
|
8160
|
-
icon: C ?
|
|
8160
|
+
icon: C ? Br : sa,
|
|
8161
8161
|
onClick: () => T((e) => !e)
|
|
8162
8162
|
}] : void 0, be = N ? h || I ? void 0 : ee ? F && !M.isLastStep ? {
|
|
8163
8163
|
label: b("surveyAnsweringForm.actions.next"),
|
|
8164
8164
|
onClick: M.goToNext,
|
|
8165
|
-
icon:
|
|
8165
|
+
icon: li
|
|
8166
8166
|
} : {
|
|
8167
8167
|
label: b("surveyAnsweringForm.actions.submit"),
|
|
8168
8168
|
onClick: Mp,
|
|
@@ -8170,7 +8170,7 @@ function Ip({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
|
|
|
8170
8170
|
} : F && !M.isLastStep ? {
|
|
8171
8171
|
label: b("surveyAnsweringForm.actions.next"),
|
|
8172
8172
|
onClick: he,
|
|
8173
|
-
icon:
|
|
8173
|
+
icon: li
|
|
8174
8174
|
} : {
|
|
8175
8175
|
label: b("surveyAnsweringForm.actions.submit"),
|
|
8176
8176
|
onClick: he,
|
|
@@ -8181,7 +8181,7 @@ function Ip({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
|
|
|
8181
8181
|
onClick: ge,
|
|
8182
8182
|
icon: Ao
|
|
8183
8183
|
} : void 0 : void 0, Se = n === "all-questions" && N && !h, Ce = F && N && !h, we = F && !!M.currentQuestion?.sectionTitle && !h, Te = le === "center" || le === "fullscreen";
|
|
8184
|
-
return /* @__PURE__ */ X(
|
|
8184
|
+
return /* @__PURE__ */ X(ci, {
|
|
8185
8185
|
isOpen: o,
|
|
8186
8186
|
onClose: s,
|
|
8187
8187
|
title: r,
|
|
@@ -8460,26 +8460,26 @@ function Gp({ isOpen: e, onClose: t, title: n, children: r, module: i, portalCon
|
|
|
8460
8460
|
let [o, s] = J(e);
|
|
8461
8461
|
return G(() => {
|
|
8462
8462
|
s(e);
|
|
8463
|
-
}, [e]), /* @__PURE__ */ X(
|
|
8463
|
+
}, [e]), /* @__PURE__ */ X(Ri, {
|
|
8464
8464
|
open: o,
|
|
8465
8465
|
onOpenChange: (e) => {
|
|
8466
8466
|
s(e), e || t();
|
|
8467
8467
|
},
|
|
8468
8468
|
modal: !0,
|
|
8469
|
-
children: /* @__PURE__ */ Z(
|
|
8469
|
+
children: /* @__PURE__ */ Z(Ci, {
|
|
8470
8470
|
className: "max-h-[620px] w-[760px] overflow-y-auto overflow-x-hidden bg-f1-background",
|
|
8471
8471
|
container: a,
|
|
8472
8472
|
children: [/* @__PURE__ */ Z("div", {
|
|
8473
8473
|
className: "flex flex-row items-center justify-between px-4 py-4",
|
|
8474
|
-
children: [/* @__PURE__ */ Z(
|
|
8474
|
+
children: [/* @__PURE__ */ Z(Ti, {
|
|
8475
8475
|
className: "flex flex-row items-center gap-2 text-lg font-semibold text-f1-foreground",
|
|
8476
8476
|
children: [i ? /* @__PURE__ */ X(ro, {
|
|
8477
8477
|
module: i,
|
|
8478
8478
|
size: "md"
|
|
8479
8479
|
}) : null, n]
|
|
8480
|
-
}), /* @__PURE__ */ X(
|
|
8480
|
+
}), /* @__PURE__ */ X(Zn, {
|
|
8481
8481
|
variant: "outline",
|
|
8482
|
-
icon:
|
|
8482
|
+
icon: cr,
|
|
8483
8483
|
onClick: t,
|
|
8484
8484
|
label: "Close modal",
|
|
8485
8485
|
hideLabel: !0
|
|
@@ -8569,14 +8569,14 @@ function Jp({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
|
|
|
8569
8569
|
o && o(!l);
|
|
8570
8570
|
}, [o, l]);
|
|
8571
8571
|
let f = e?.includes(".mp4");
|
|
8572
|
-
return /* @__PURE__ */ X(Y, { children: l ? null : /* @__PURE__ */ Z(
|
|
8572
|
+
return /* @__PURE__ */ X(Y, { children: l ? null : /* @__PURE__ */ Z(ur, {
|
|
8573
8573
|
style: { width: a },
|
|
8574
8574
|
className: "relative bg-f1-background p-1",
|
|
8575
|
-
children: [/* @__PURE__ */ Z(
|
|
8575
|
+
children: [/* @__PURE__ */ Z(ii, { children: [i ? /* @__PURE__ */ X("div", {
|
|
8576
8576
|
className: "absolute right-2 top-2 z-10",
|
|
8577
8577
|
children: /* @__PURE__ */ X(V, {
|
|
8578
8578
|
variant: "ghost",
|
|
8579
|
-
icon:
|
|
8579
|
+
icon: cr,
|
|
8580
8580
|
size: "sm",
|
|
8581
8581
|
hideLabel: !0,
|
|
8582
8582
|
onClick: d,
|
|
@@ -8602,7 +8602,7 @@ function Jp({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
|
|
|
8602
8602
|
className: "line-clamp-3 text-base font-normal text-f1-foreground-secondary",
|
|
8603
8603
|
children: n
|
|
8604
8604
|
})]
|
|
8605
|
-
})] })] }), s ? /* @__PURE__ */ X(
|
|
8605
|
+
})] })] }), s ? /* @__PURE__ */ X(gr, {
|
|
8606
8606
|
className: "p-3",
|
|
8607
8607
|
children: s.map((e) => e.type === "upsell" ? /* @__PURE__ */ X(M, {
|
|
8608
8608
|
label: e.label,
|
|
@@ -8625,7 +8625,7 @@ function Jp({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
|
|
|
8625
8625
|
var Yp = L(Jp), Xp = ({ onDismiss: e }) => {
|
|
8626
8626
|
let { actions: t } = R();
|
|
8627
8627
|
return /* @__PURE__ */ X(V, {
|
|
8628
|
-
icon:
|
|
8628
|
+
icon: cr,
|
|
8629
8629
|
label: t.close,
|
|
8630
8630
|
hideLabel: !0,
|
|
8631
8631
|
variant: "outline",
|
|
@@ -8716,7 +8716,7 @@ $p.displayName = "UpsellingBanner";
|
|
|
8716
8716
|
var em = L($p);
|
|
8717
8717
|
//#endregion
|
|
8718
8718
|
//#region src/domains/growth/upselling/UpsellingKit/UpsellingPopover/UpsellingPopover.tsx
|
|
8719
|
-
function tm({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i = "md", showIcon: a = !0, side: o = "right", align: s = "center", icon: c =
|
|
8719
|
+
function tm({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i = "md", showIcon: a = !0, side: o = "right", align: s = "center", icon: c = si, mediaUrl: l, title: u, description: d, width: f = "300px", trackVisibility: p, actions: m, onClick: h, hideLabel: g = !1 }) {
|
|
8720
8720
|
let [_, v] = J(!1), [y, b] = J(null), [x, S] = J(null), C = (e) => {
|
|
8721
8721
|
t(e), h && h();
|
|
8722
8722
|
}, w = async (e) => {
|
|
@@ -8776,9 +8776,9 @@ function tm({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i
|
|
|
8776
8776
|
}
|
|
8777
8777
|
var nm = L(tm), rm = ({ preview: e, moduleName: t, description: n, onAction: r, actionHref: i }) => {
|
|
8778
8778
|
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);
|
|
8779
|
-
return /* @__PURE__ */ Z(
|
|
8779
|
+
return /* @__PURE__ */ Z(ur, {
|
|
8780
8780
|
className: "flex flex-col overflow-hidden",
|
|
8781
|
-
children: [/* @__PURE__ */ Z(
|
|
8781
|
+
children: [/* @__PURE__ */ Z(ii, {
|
|
8782
8782
|
className: "flex flex-col gap-4 p-0",
|
|
8783
8783
|
children: [/* @__PURE__ */ X("div", {
|
|
8784
8784
|
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"),
|
|
@@ -8793,7 +8793,7 @@ var nm = L(tm), rm = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
8793
8793
|
children: n
|
|
8794
8794
|
})]
|
|
8795
8795
|
})]
|
|
8796
|
-
}), /* @__PURE__ */ X(
|
|
8796
|
+
}), /* @__PURE__ */ X(gr, {
|
|
8797
8797
|
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",
|
|
8798
8798
|
children: i ? /* @__PURE__ */ X(V, {
|
|
8799
8799
|
variant: "default",
|
|
@@ -8840,7 +8840,7 @@ var nm = L(tm), rm = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
8840
8840
|
})
|
|
8841
8841
|
})]
|
|
8842
8842
|
}), am = ({ headerIcon: e, items: t, defaultExpandedId: n, expandedId: r, onExpandedChange: i, allowMultiple: a = !1 }) => {
|
|
8843
|
-
let o = R()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", s = e ??
|
|
8843
|
+
let o = R()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", s = e ?? Yi, [c, l] = J(() => new Set(n ? [n] : [])), u = r !== void 0, d = W((e) => u ? r === e : c.has(e), [
|
|
8844
8844
|
u,
|
|
8845
8845
|
r,
|
|
8846
8846
|
c
|
|
@@ -8855,9 +8855,9 @@ var nm = L(tm), rm = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
8855
8855
|
i,
|
|
8856
8856
|
a
|
|
8857
8857
|
]);
|
|
8858
|
-
return t.length === 0 ? null : /* @__PURE__ */ Z(
|
|
8858
|
+
return t.length === 0 ? null : /* @__PURE__ */ Z(ur, {
|
|
8859
8859
|
className: "flex flex-col overflow-hidden",
|
|
8860
|
-
children: [/* @__PURE__ */ Z(
|
|
8860
|
+
children: [/* @__PURE__ */ Z(pr, {
|
|
8861
8861
|
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",
|
|
8862
8862
|
children: [/* @__PURE__ */ X("div", {
|
|
8863
8863
|
className: "flex h-6 w-6 items-center justify-center rounded-full border border-f1-border-secondary",
|
|
@@ -8870,7 +8870,7 @@ var nm = L(tm), rm = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
8870
8870
|
className: "text-base font-semibold text-f1-foreground",
|
|
8871
8871
|
children: o
|
|
8872
8872
|
})]
|
|
8873
|
-
}), /* @__PURE__ */ X(
|
|
8873
|
+
}), /* @__PURE__ */ X(ii, {
|
|
8874
8874
|
className: "flex flex-col divide-y divide-f1-border p-0",
|
|
8875
8875
|
children: t.map((e) => /* @__PURE__ */ X(im, {
|
|
8876
8876
|
item: e,
|
|
@@ -8881,9 +8881,9 @@ var nm = L(tm), rm = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
8881
8881
|
});
|
|
8882
8882
|
}, om = ({ moduleName: e, description: t, onAction: n, actionHref: r, imageSrc: i }) => {
|
|
8883
8883
|
let a = R()?.ai?.growth?.moduleCard?.actionLabel ?? "Learn more";
|
|
8884
|
-
return /* @__PURE__ */ Z(
|
|
8884
|
+
return /* @__PURE__ */ Z(ur, {
|
|
8885
8885
|
className: "flex flex-col overflow-hidden",
|
|
8886
|
-
children: [/* @__PURE__ */ X(
|
|
8886
|
+
children: [/* @__PURE__ */ X(ii, {
|
|
8887
8887
|
className: "flex flex-col gap-3 p-0",
|
|
8888
8888
|
children: /* @__PURE__ */ Z("div", {
|
|
8889
8889
|
className: "flex items-start gap-3",
|
|
@@ -8905,7 +8905,7 @@ var nm = L(tm), rm = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
8905
8905
|
})]
|
|
8906
8906
|
})]
|
|
8907
8907
|
})
|
|
8908
|
-
}), /* @__PURE__ */ X(
|
|
8908
|
+
}), /* @__PURE__ */ X(gr, {
|
|
8909
8909
|
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",
|
|
8910
8910
|
children: r ? /* @__PURE__ */ X(V, {
|
|
8911
8911
|
variant: "outline",
|
|
@@ -8923,12 +8923,12 @@ var nm = L(tm), rm = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
8923
8923
|
});
|
|
8924
8924
|
}, sm = ({ onAction: e, actionHref: t }) => {
|
|
8925
8925
|
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";
|
|
8926
|
-
return /* @__PURE__ */ Z(
|
|
8926
|
+
return /* @__PURE__ */ Z(ur, {
|
|
8927
8927
|
className: "flex flex-col overflow-hidden",
|
|
8928
|
-
children: [/* @__PURE__ */ Z(
|
|
8928
|
+
children: [/* @__PURE__ */ Z(ii, {
|
|
8929
8929
|
className: "flex flex-col gap-3 p-0",
|
|
8930
8930
|
children: [/* @__PURE__ */ X(H, {
|
|
8931
|
-
icon:
|
|
8931
|
+
icon: ia,
|
|
8932
8932
|
size: "lg"
|
|
8933
8933
|
}), /* @__PURE__ */ Z("div", {
|
|
8934
8934
|
className: "flex flex-col gap-0.5",
|
|
@@ -8940,7 +8940,7 @@ var nm = L(tm), rm = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
8940
8940
|
children: i
|
|
8941
8941
|
})]
|
|
8942
8942
|
})]
|
|
8943
|
-
}), /* @__PURE__ */ X(
|
|
8943
|
+
}), /* @__PURE__ */ X(gr, {
|
|
8944
8944
|
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",
|
|
8945
8945
|
children: t ? /* @__PURE__ */ X(V, {
|
|
8946
8946
|
variant: "default",
|
|
@@ -8986,9 +8986,9 @@ var nm = L(tm), rm = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
8986
8986
|
e,
|
|
8987
8987
|
t
|
|
8988
8988
|
]), g = a === u - 1, _ = u > 1, v = n != null;
|
|
8989
|
-
return u === 0 || !d ? null : /* @__PURE__ */ Z(
|
|
8989
|
+
return u === 0 || !d ? null : /* @__PURE__ */ Z(ur, {
|
|
8990
8990
|
className: "flex flex-col overflow-hidden",
|
|
8991
|
-
children: [/* @__PURE__ */ Z(
|
|
8991
|
+
children: [/* @__PURE__ */ Z(ii, {
|
|
8992
8992
|
className: "flex flex-col gap-4",
|
|
8993
8993
|
children: [/* @__PURE__ */ X("h3", {
|
|
8994
8994
|
className: "text-base font-semibold text-f1-foreground",
|
|
@@ -9005,7 +9005,7 @@ var nm = L(tm), rm = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9005
9005
|
})
|
|
9006
9006
|
}, e.id))
|
|
9007
9007
|
})]
|
|
9008
|
-
}), /* @__PURE__ */ Z(
|
|
9008
|
+
}), /* @__PURE__ */ Z(gr, {
|
|
9009
9009
|
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",
|
|
9010
9010
|
children: [/* @__PURE__ */ X("div", {
|
|
9011
9011
|
className: "flex min-w-[7.5rem] items-center justify-start gap-1",
|
|
@@ -9469,7 +9469,7 @@ function Um(e, t) {
|
|
|
9469
9469
|
n.href = URL.createObjectURL(e), n.download = t, n.click(), URL.revokeObjectURL(n.href);
|
|
9470
9470
|
}
|
|
9471
9471
|
async function Wm(e, t, n, { keys: r, preamble: i } = {}) {
|
|
9472
|
-
Um(await
|
|
9472
|
+
Um(await Pr([{
|
|
9473
9473
|
name: "Data",
|
|
9474
9474
|
rows: Vm({
|
|
9475
9475
|
columns: e,
|
|
@@ -9491,7 +9491,7 @@ function Km(e, t, n) {
|
|
|
9491
9491
|
r.href = e, r.download = `${t}.${n}`, r.click();
|
|
9492
9492
|
}
|
|
9493
9493
|
async function qm(e, t) {
|
|
9494
|
-
Um(await
|
|
9494
|
+
Um(await Pr(e.map((e) => ({
|
|
9495
9495
|
name: e.name,
|
|
9496
9496
|
rows: Vm(e)
|
|
9497
9497
|
}))), `${t}.xlsx`);
|
|
@@ -9552,23 +9552,23 @@ function Xm({ chartContainerRef: e, chartConfig: t, data: n, title: r }) {
|
|
|
9552
9552
|
return K(() => n ? [
|
|
9553
9553
|
{
|
|
9554
9554
|
label: i("ai.dataDownload.download", { format: "PNG" }),
|
|
9555
|
-
icon:
|
|
9555
|
+
icon: fi,
|
|
9556
9556
|
onClick: () => a("png")
|
|
9557
9557
|
},
|
|
9558
9558
|
{
|
|
9559
9559
|
label: i("ai.dataDownload.download", { format: "JPG" }),
|
|
9560
|
-
icon:
|
|
9560
|
+
icon: fi,
|
|
9561
9561
|
onClick: () => a("jpg")
|
|
9562
9562
|
},
|
|
9563
9563
|
{ type: "separator" },
|
|
9564
9564
|
{
|
|
9565
9565
|
label: i("ai.dataDownload.download", { format: "Excel" }),
|
|
9566
|
-
icon:
|
|
9566
|
+
icon: mi,
|
|
9567
9567
|
onClick: s
|
|
9568
9568
|
},
|
|
9569
9569
|
{
|
|
9570
9570
|
label: i("ai.dataDownload.download", { format: "CSV" }),
|
|
9571
|
-
icon:
|
|
9571
|
+
icon: mi,
|
|
9572
9572
|
onClick: c
|
|
9573
9573
|
}
|
|
9574
9574
|
] : [], [
|
|
@@ -9664,7 +9664,7 @@ function Qm({ filters: e, value: t, onChange: n, onOpenChange: r }) {
|
|
|
9664
9664
|
children: [
|
|
9665
9665
|
/* @__PURE__ */ X(Zs, {
|
|
9666
9666
|
asChild: !0,
|
|
9667
|
-
children: /* @__PURE__ */ X(
|
|
9667
|
+
children: /* @__PURE__ */ X(Zn, {
|
|
9668
9668
|
label: i.filters.label,
|
|
9669
9669
|
icon: ws,
|
|
9670
9670
|
variant: "ghost",
|
|
@@ -9798,7 +9798,7 @@ function th({ title: e, enabled: t, actionsCollapse: n }) {
|
|
|
9798
9798
|
//#endregion
|
|
9799
9799
|
//#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/DashboardItem/DashboardItem.tsx
|
|
9800
9800
|
function nh({ 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: y, headerLines: b = 2, fitContent: x = !1, onFullscreenChange: S }) {
|
|
9801
|
-
let [C, T] = J(!1), [E, D] = J(!1), O = q(!1), [k, A] = J(!1), j = R(), { enabled: M, setPendingQuote: N, setOpen: P, focusChatInput: F } =
|
|
9801
|
+
let [C, T] = J(!1), [E, D] = J(!1), O = q(!1), [k, A] = J(!1), j = R(), { enabled: M, setPendingQuote: N, setOpen: P, focusChatInput: F } = Gi(), I = (e) => {
|
|
9802
9802
|
T(e), e || A(!1);
|
|
9803
9803
|
}, ee = c.filter((e) => !("type" in e) || e.type === "item" || e.type === void 0), te = ee.length > 0, ne = u && f && h, re = g && g.length > 0, ie = !!_ && _.trim().length > 0, ae = !!S, oe = !d && e.trim().length > 0 && (p ? !!h : M), se = oe || te || ne || re || ie, ce = !!l || ae || !!se, ue = !v && (C || 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"), fe = 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]"), pe = th({
|
|
9804
9804
|
title: e,
|
|
@@ -9826,7 +9826,7 @@ function nh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
9826
9826
|
onClick: ge,
|
|
9827
9827
|
children: /* @__PURE__ */ Z("div", {
|
|
9828
9828
|
className: "flex w-full flex-row items-center gap-2",
|
|
9829
|
-
children: [/* @__PURE__ */ X(H, { icon:
|
|
9829
|
+
children: [/* @__PURE__ */ X(H, { icon: ji }), /* @__PURE__ */ X("span", {
|
|
9830
9830
|
className: "flex-1",
|
|
9831
9831
|
children: j.ai.dashboardItem.askOne
|
|
9832
9832
|
})]
|
|
@@ -9861,7 +9861,7 @@ function nh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
9861
9861
|
onOpenChange: I,
|
|
9862
9862
|
children: [/* @__PURE__ */ X(Gs, {
|
|
9863
9863
|
asChild: !0,
|
|
9864
|
-
children: /* @__PURE__ */ X(
|
|
9864
|
+
children: /* @__PURE__ */ X(Zn, {
|
|
9865
9865
|
label: j.actions.other,
|
|
9866
9866
|
icon: Bs,
|
|
9867
9867
|
variant: "ghost",
|
|
@@ -9905,7 +9905,7 @@ function nh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
9905
9905
|
alignItems: me > 1 ? "start" : "center",
|
|
9906
9906
|
children: [/* @__PURE__ */ Z("div", {
|
|
9907
9907
|
className: B("flex min-w-0 flex-1 gap-1", me > 1 ? "items-start" : "items-center"),
|
|
9908
|
-
children: [/* @__PURE__ */ X(
|
|
9908
|
+
children: [/* @__PURE__ */ X($n, {
|
|
9909
9909
|
tag: "h3",
|
|
9910
9910
|
lines: me,
|
|
9911
9911
|
className: B("text-base font-semibold text-f1-foreground", me > 1 && "hyphens-auto"),
|
|
@@ -9927,9 +9927,9 @@ function nh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
9927
9927
|
...l,
|
|
9928
9928
|
onOpenChange: D
|
|
9929
9929
|
}) : null,
|
|
9930
|
-
ae ? /* @__PURE__ */ X(
|
|
9930
|
+
ae ? /* @__PURE__ */ X(Zn, {
|
|
9931
9931
|
label: v ? j.actions.collapse : j.actions.expand,
|
|
9932
|
-
icon: v ?
|
|
9932
|
+
icon: v ? Br : sa,
|
|
9933
9933
|
variant: "ghost",
|
|
9934
9934
|
size: "md",
|
|
9935
9935
|
hideLabel: !0,
|
|
@@ -9941,7 +9941,7 @@ function nh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
9941
9941
|
onOpenChange: I,
|
|
9942
9942
|
children: [/* @__PURE__ */ X(Gs, {
|
|
9943
9943
|
asChild: !0,
|
|
9944
|
-
children: /* @__PURE__ */ X(
|
|
9944
|
+
children: /* @__PURE__ */ X(Zn, {
|
|
9945
9945
|
label: j.actions.other,
|
|
9946
9946
|
icon: Bs,
|
|
9947
9947
|
variant: "ghost",
|
|
@@ -9957,14 +9957,14 @@ function nh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
9957
9957
|
onCloseAutoFocus: _e,
|
|
9958
9958
|
children: k && ie ? /* @__PURE__ */ X("div", {
|
|
9959
9959
|
className: "px-3 py-2 text-base text-f1-foreground [&>div]:flex [&>div]:flex-col [&>div]:gap-2",
|
|
9960
|
-
children: /* @__PURE__ */ X(
|
|
9960
|
+
children: /* @__PURE__ */ X(hi, {
|
|
9961
9961
|
content: _,
|
|
9962
9962
|
format: "markdown"
|
|
9963
9963
|
})
|
|
9964
9964
|
}) : /* @__PURE__ */ Z(Y, { children: [
|
|
9965
9965
|
re ? /* @__PURE__ */ Z("div", {
|
|
9966
9966
|
className: "mb-1 flex flex-col items-start gap-2 border-0 border-b border-solid border-f1-border-secondary p-3",
|
|
9967
|
-
children: [/* @__PURE__ */ X(
|
|
9967
|
+
children: [/* @__PURE__ */ X($n, {
|
|
9968
9968
|
className: "text-base font-medium text-f1-foreground-tertiary",
|
|
9969
9969
|
children: j.ai.dashboardItem.chartType
|
|
9970
9970
|
}), /* @__PURE__ */ X(Dt, {
|
|
@@ -10000,7 +10000,7 @@ function nh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
10000
10000
|
className: "mx-1 rounded-sm px-2",
|
|
10001
10001
|
children: /* @__PURE__ */ Z("div", {
|
|
10002
10002
|
className: "flex w-full flex-row items-center gap-2 pr-2",
|
|
10003
|
-
children: [/* @__PURE__ */ X(H, { icon:
|
|
10003
|
+
children: [/* @__PURE__ */ X(H, { icon: Xi }), /* @__PURE__ */ X("span", {
|
|
10004
10004
|
className: "flex-1 text-base font-medium",
|
|
10005
10005
|
children: j.ai.dataDownload.title
|
|
10006
10006
|
})]
|
|
@@ -10022,7 +10022,7 @@ function nh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
10022
10022
|
className: B("text-f1-foreground-critical"),
|
|
10023
10023
|
children: /* @__PURE__ */ Z("div", {
|
|
10024
10024
|
className: "flex w-full flex-row items-center gap-2",
|
|
10025
|
-
children: [/* @__PURE__ */ X(H, { icon:
|
|
10025
|
+
children: [/* @__PURE__ */ X(H, { icon: ni }), /* @__PURE__ */ X("span", {
|
|
10026
10026
|
className: "flex-1",
|
|
10027
10027
|
children: j.actions.delete
|
|
10028
10028
|
})]
|
|
@@ -10037,7 +10037,7 @@ function nh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
10037
10037
|
}) : null]
|
|
10038
10038
|
}), t || y ? /* @__PURE__ */ Z("div", {
|
|
10039
10039
|
className: "relative flex items-baseline gap-1",
|
|
10040
|
-
children: [t ? /* @__PURE__ */ X(
|
|
10040
|
+
children: [t ? /* @__PURE__ */ X($n, {
|
|
10041
10041
|
lines: he,
|
|
10042
10042
|
className: "text-base text-f1-foreground-secondary",
|
|
10043
10043
|
children: t
|
|
@@ -10109,11 +10109,11 @@ function ah({ anchor: e, onAsk: t, onDismiss: n, returnFocusTo: r }) {
|
|
|
10109
10109
|
visibility: o ? "visible" : "hidden"
|
|
10110
10110
|
},
|
|
10111
10111
|
className: B("z-50 rounded-md bg-f1-background p-1 border border-solid border-f1-border-secondary", "drop-shadow"),
|
|
10112
|
-
children: /* @__PURE__ */ X(
|
|
10112
|
+
children: /* @__PURE__ */ X(Zn, {
|
|
10113
10113
|
type: "button",
|
|
10114
10114
|
variant: "ghost",
|
|
10115
10115
|
label: i.ai.dashboardItem.askOne,
|
|
10116
|
-
icon:
|
|
10116
|
+
icon: ji,
|
|
10117
10117
|
onClick: t
|
|
10118
10118
|
})
|
|
10119
10119
|
}), document.body);
|
|
@@ -10156,39 +10156,39 @@ function mh(e) {
|
|
|
10156
10156
|
{
|
|
10157
10157
|
label: e.dataChart.barChartVertical,
|
|
10158
10158
|
value: "bar-vertical",
|
|
10159
|
-
icon:
|
|
10159
|
+
icon: Hr,
|
|
10160
10160
|
type: "bar",
|
|
10161
10161
|
orientation: "vertical"
|
|
10162
10162
|
},
|
|
10163
10163
|
{
|
|
10164
10164
|
label: e.dataChart.barChartHorizontal,
|
|
10165
10165
|
value: "bar-horizontal",
|
|
10166
|
-
icon:
|
|
10166
|
+
icon: Dr,
|
|
10167
10167
|
type: "bar",
|
|
10168
10168
|
orientation: "horizontal"
|
|
10169
10169
|
},
|
|
10170
10170
|
{
|
|
10171
10171
|
label: e.dataChart.lineChart,
|
|
10172
10172
|
value: "line",
|
|
10173
|
-
icon:
|
|
10173
|
+
icon: br,
|
|
10174
10174
|
type: "line"
|
|
10175
10175
|
},
|
|
10176
10176
|
{
|
|
10177
10177
|
label: e.dataChart.funnel,
|
|
10178
10178
|
value: "funnel",
|
|
10179
|
-
icon:
|
|
10179
|
+
icon: jr,
|
|
10180
10180
|
type: "funnel"
|
|
10181
10181
|
},
|
|
10182
10182
|
{
|
|
10183
10183
|
label: e.dataChart.pieChart,
|
|
10184
10184
|
value: "pie",
|
|
10185
|
-
icon:
|
|
10185
|
+
icon: Jr,
|
|
10186
10186
|
type: "pie"
|
|
10187
10187
|
},
|
|
10188
10188
|
{
|
|
10189
10189
|
label: e.dataChart.table,
|
|
10190
10190
|
value: "table",
|
|
10191
|
-
icon:
|
|
10191
|
+
icon: mi,
|
|
10192
10192
|
type: "table"
|
|
10193
10193
|
}
|
|
10194
10194
|
];
|
|
@@ -10356,7 +10356,7 @@ function xh(e) {
|
|
|
10356
10356
|
return gm(e.chart) && e.chart.type === "bar" && "orientation" in e.chart && e.chart.orientation === "horizontal";
|
|
10357
10357
|
}
|
|
10358
10358
|
function Sh({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, readOnly: a, handleDelete: o, onAskAi: s, onAskAiTarget: c, onTransformChart: l, isFullscreen: u, onFullscreenChange: d }) {
|
|
10359
|
-
let f = R(), [p, m] = J("chart"), { enabled: h, setPendingQuote: g, setOpen: _, focusChatInput: v } =
|
|
10359
|
+
let f = R(), [p, m] = J("chart"), { enabled: h, setPendingQuote: g, setOpen: _, focusChatInput: v } = Gi(), y = !gm(e.chart), b = y ? hh : e.chart, [x, S] = J(null), C = e.useDashboardFilters !== !1, w = JSON.stringify(r?.value ?? {}), { data: T, isLoading: E, error: D, retry: O } = Zm(e.fetchData, t, C, w), k = q(null), A = K(() => T && !y ? vh(e, T) : void 0, [
|
|
10360
10360
|
e,
|
|
10361
10361
|
T,
|
|
10362
10362
|
y
|
|
@@ -10581,11 +10581,11 @@ function Ah({ source: e, title: t, description: n, columns: r, tableSettings: i
|
|
|
10581
10581
|
]), l = W(() => c("excel"), [c]), u = W(() => c("csv"), [c]);
|
|
10582
10582
|
return K(() => e ? [{
|
|
10583
10583
|
label: a("ai.dataDownload.download", { format: "Excel" }),
|
|
10584
|
-
icon:
|
|
10584
|
+
icon: mi,
|
|
10585
10585
|
onClick: l
|
|
10586
10586
|
}, {
|
|
10587
10587
|
label: a("ai.dataDownload.download", { format: "CSV" }),
|
|
10588
|
-
icon:
|
|
10588
|
+
icon: mi,
|
|
10589
10589
|
onClick: u
|
|
10590
10590
|
}] : [], [
|
|
10591
10591
|
e,
|
|
@@ -10913,7 +10913,7 @@ function Gh({ items: e, itemFilters: t, filters: n, editMode: r, readOnly: i, on
|
|
|
10913
10913
|
if (Math.hypot(t.clientX - n, t.clientY - r) < Bh) return;
|
|
10914
10914
|
i = !0, T(e), N.current = Array.from(document.querySelectorAll("[data-ai-chat-dropzone]"));
|
|
10915
10915
|
let a = k.current.get(e)?.title ?? "";
|
|
10916
|
-
a && window.dispatchEvent(new CustomEvent(
|
|
10916
|
+
a && window.dispatchEvent(new CustomEvent(Er, { detail: {
|
|
10917
10917
|
id: e,
|
|
10918
10918
|
title: a,
|
|
10919
10919
|
onAskAi: c,
|
|
@@ -10927,7 +10927,7 @@ function Gh({ items: e, itemFilters: t, filters: n, editMode: r, readOnly: i, on
|
|
|
10927
10927
|
}, o = (e) => {
|
|
10928
10928
|
document.removeEventListener("pointermove", a), document.removeEventListener("pointerup", s), document.removeEventListener("pointercancel", u), P.current = null;
|
|
10929
10929
|
let t = A.current, n = j.current;
|
|
10930
|
-
e && i && t && n && F(t, n), A.current = null, j.current = null, N.current = [], T(null), D(null), i && window.dispatchEvent(new CustomEvent(
|
|
10930
|
+
e && i && t && n && F(t, n), A.current = null, j.current = null, N.current = [], T(null), D(null), i && window.dispatchEvent(new CustomEvent(yr));
|
|
10931
10931
|
}, s = (e) => {
|
|
10932
10932
|
i && (N.current = Array.from(document.querySelectorAll("[data-ai-chat-dropzone]")), j.current = I(e.clientX, e.clientY)), o(!0);
|
|
10933
10933
|
}, u = () => o(!1);
|
|
@@ -11105,7 +11105,7 @@ function Kh({ id: e, isDragging: t, showIndicatorBefore: n, showIndicatorAfter:
|
|
|
11105
11105
|
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",
|
|
11106
11106
|
"aria-label": "Drag to reorder",
|
|
11107
11107
|
children: /* @__PURE__ */ X(H, {
|
|
11108
|
-
icon:
|
|
11108
|
+
icon: qi,
|
|
11109
11109
|
size: "xs"
|
|
11110
11110
|
})
|
|
11111
11111
|
}) : null, s]
|
|
@@ -11275,10 +11275,10 @@ function og({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, read
|
|
|
11275
11275
|
//#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/ExportDropdown/ExportDropdown.tsx
|
|
11276
11276
|
function sg({ onExportExcel: e, isExporting: t }) {
|
|
11277
11277
|
let { t: n } = R();
|
|
11278
|
-
return /* @__PURE__ */ X(
|
|
11278
|
+
return /* @__PURE__ */ X(Li, {
|
|
11279
11279
|
items: [{
|
|
11280
11280
|
label: t ? n("ai.dataDownload.exporting") : n("ai.dataDownload.exportDashboard", { format: "Excel" }),
|
|
11281
|
-
icon:
|
|
11281
|
+
icon: Xi,
|
|
11282
11282
|
onClick: t ? () => {} : e
|
|
11283
11283
|
}],
|
|
11284
11284
|
icon: Bs
|
|
@@ -11502,7 +11502,7 @@ var gg = ({ filters: e, presets: t, defaultFilters: n, filtersValue: r, onFilter
|
|
|
11502
11502
|
});
|
|
11503
11503
|
};
|
|
11504
11504
|
gg.displayName = "F0AnalyticsDashboard";
|
|
11505
|
-
var _g = mn("F0AnalyticsDashboard", gg), vg = () =>
|
|
11505
|
+
var _g = mn("F0AnalyticsDashboard", gg), vg = () => Kn("(min-width: 640px)", { initializeWithValue: !1 }), yg = () => Kn("(max-width: 639px)", { initializeWithValue: !1 }), bg = /*#__PURE__*/ U.createContext(void 0);
|
|
11506
11506
|
process.env.NODE_ENV !== "production" && (bg.displayName = "ToastContext");
|
|
11507
11507
|
function xg() {
|
|
11508
11508
|
let e = U.useContext(bg);
|
|
@@ -12247,7 +12247,7 @@ var n_ = ({ onClose: e }) => {
|
|
|
12247
12247
|
className: "dark flex-shrink-0",
|
|
12248
12248
|
children: /* @__PURE__ */ X(V, {
|
|
12249
12249
|
variant: "outline",
|
|
12250
|
-
icon:
|
|
12250
|
+
icon: cr,
|
|
12251
12251
|
size: "sm",
|
|
12252
12252
|
hideLabel: !0,
|
|
12253
12253
|
onClick: e,
|
|
@@ -12264,7 +12264,7 @@ var n_ = ({ onClose: e }) => {
|
|
|
12264
12264
|
className: "dark flex flex-shrink-0 flex-row flex-wrap items-center gap-3",
|
|
12265
12265
|
children: [e.map((e) => /* @__PURE__ */ X("div", {
|
|
12266
12266
|
onClick: () => n(e),
|
|
12267
|
-
children: /* @__PURE__ */ X(
|
|
12267
|
+
children: /* @__PURE__ */ X(Pi, {
|
|
12268
12268
|
href: e.href,
|
|
12269
12269
|
children: e.label
|
|
12270
12270
|
})
|
|
@@ -12332,7 +12332,7 @@ var n_ = ({ onClose: e }) => {
|
|
|
12332
12332
|
}) : g && /* @__PURE__ */ X("div", {
|
|
12333
12333
|
className: "flex-shrink-0",
|
|
12334
12334
|
"aria-hidden": "true",
|
|
12335
|
-
children: /* @__PURE__ */ X(
|
|
12335
|
+
children: /* @__PURE__ */ X(bi, {
|
|
12336
12336
|
type: g,
|
|
12337
12337
|
size: "sm"
|
|
12338
12338
|
})
|
|
@@ -12695,9 +12695,9 @@ var g_ = B("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
|
|
|
12695
12695
|
renderDataTestIdAttribute: d,
|
|
12696
12696
|
children: /* @__PURE__ */ X(V_, {
|
|
12697
12697
|
...t,
|
|
12698
|
-
children: /* @__PURE__ */ X(
|
|
12698
|
+
children: /* @__PURE__ */ X(Hi, {
|
|
12699
12699
|
handler: l,
|
|
12700
|
-
children: /* @__PURE__ */ X(
|
|
12700
|
+
children: /* @__PURE__ */ X(fa, { children: /* @__PURE__ */ X(st, {
|
|
12701
12701
|
...p,
|
|
12702
12702
|
children: /* @__PURE__ */ X(H_.Provider, {
|
|
12703
12703
|
value: f,
|
|
@@ -12714,4 +12714,4 @@ var g_ = B("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
|
|
|
12714
12714
|
})
|
|
12715
12715
|
});
|
|
12716
12716
|
//#endregion
|
|
12717
|
-
export {
|
|
12717
|
+
export { Ta as AiChatTranslationsProvider, ve as AreaChart, Uo as Await, g as BarChart, nt as BarChartSkeleton, Ge as CardSelectableContainer, p as CategoryBarChart, gi as ChatSpinner, Is as Chip, La as CollapsibleGroup, ie as ComboChart, ot as DATA_COLLECTION_URL_PARAMS, rt as DATA_COLLECTION_URL_PARAM_PREFIX, kl as Dashboard, Qt as DataChartEmptyStateView, un as DataTestIdWrapper, Ut as DndProvider, ra as DropOverlay, qn as EmojiImage, su as F0Accordion, bt as F0ActionBar, wi as F0ActionItem, Vr as F0AiChat, Ea as F0AiChatCreditsButton, Pa as F0AiChatHeader, ja as F0AiChatHistory, qr as F0AiChatProvider, pa as F0AiChatTextArea, ha as F0AiChatUsageLimitsButton, Sa as F0AiFileAttachments, Ni as F0AiFilePreviewsProvider, na as F0AiFormRegistryProvider, Fa as F0AiInsightCard, Ca as F0AiMask, Da as F0AiMessageSources, ua as F0AiMessagesContainer, Ar as F0AiPong, Va as F0AiProcessingOverlay, Oa as F0AiProposalCard, Ha as F0AiTableCard, sc as F0Alert, _g as F0AnalyticsDashboard, rr as F0AudioPlayer, ki as F0AudioPlayerCard, ka as F0AuraVoiceAnimation, so as F0Avatar, bi as F0AvatarAlert, io as F0AvatarCompany, Zr as F0AvatarDate, yo as F0AvatarEmoji, bo as F0AvatarFile, co as F0AvatarIcon, po as F0AvatarList, ro as F0AvatarModule, lo as F0AvatarPerson, mo as F0AvatarTeam, Zl as F0BigNumber, sm as F0BookAMeetingCard, no as F0Box, V as F0Button, or as F0ButtonDropdown, Ko as F0ButtonToggle, Na as F0CanvasCard, Ki as F0CanvasPanel, ta as F0Card, ar as F0CardRow, ba as F0ChatComposer, _s as F0Checkbox, du as F0ChipList, Ua as F0ClarifyingPanel, Ye as F0DataChart, Ee as F0DatePicker, Oe as F0DatePickerInline, rm as F0DemoCard, ci as F0Dialog, y as F0DialogAlikeContext, O as F0DialogAlikeProvider, Ro as F0DialogContext, Ts as F0DialogProvider, uc as F0DocumentViewer, vu as F0Drawer, o as F0DurationInput, wo as F0EventCatcherProvider, am as F0FAQCard, Ui as F0FileItem, xu as F0FilterPickerContent, ge as F0Form, Fu as F0FormField, yl as F0GridStack, Aa as F0HILActionConfirmation, Yt as F0Heading, H as F0Icon, Pi as F0Link, om as F0ModuleCard, rn as F0NotesTextEditor, ze as F0NotesTextEditorSkeleton, ue as F0NumberInput, j as F0NumberInputInline, xi as F0OneIcon, Bi as F0OneSwitch, cc as F0PdfViewer, W_ as F0Provider, cm as F0QuestionCardMultiStep, hi as F0RichTextDisplay, dt as F0RichTextEditor, vs as F0SearchInput, ks as F0Select, r as F0SelectInline, xd as F0Slider, Ld as F0TableOfContentPopover, ko as F0TagAlert, Bo as F0TagBalance, zo as F0TagCompany, ms as F0TagDot, ys as F0TagList, So as F0TagPerson, Eo as F0TagRaw, qo as F0TagStatus, hs as F0TagTeam, oc as F0Text, _ as F0TextAreaInput, oe as F0TextAreaInputInline, Mi as F0TextInput, ee as F0TextInputInline, c as F0TimelineRow, fc as F0VideoPlayer, id as F0WizardForm, ds as F1SearchBox, I as FILE_TYPES, zi as FileItem, fa as FormCardValueFormatterProvider, Fe as FunnelChartSkeleton, oo as GROUP_ID_SYMBOL, _o as GROUP_KEY_SEPARATOR, qt as GaugeChartSkeleton, on as HeatmapChartSkeleton, Gl as HomeLayout, Zt as InlineFieldRow, _e as InlineFieldRowList, zr as Input, Hl as Layout, gt as LineChart, Ve as LineChartSkeleton, Ie as MAX_URL_FILTER_VALUES, $t as NotesTextEditor, fe as NotesTextEditorSkeleton, cn as NumberInput, ls as OneCalendar, $n as OneEllipsis, w as OneEmptyState, Es as OneFilterPicker, a as PieChart, tn as PieChartSkeleton, $r as PongBall, qe as PrivacyModeProvider, Wp as ProductBlankslate, tt as ProductCard, qp as ProductModal, Yp as ProductWidget, pt as ProgressBarChart, F as RadarChart, me as RadarChartSkeleton, Qr as RichTextDisplay, N as RichTextEditor, u as ScatterChartSkeleton, Ul as StandardLayout, dp as SurveyAllQuestionsLoadingSkeleton, Fp as SurveyAnsweringForm, rp as SurveyFormBuilder, Rp as SurveySampleQuestion, fp as SurveySteppedLoadingSkeleton, Oo as Tag, fs as TagCounter, C as Textarea, Ba as ThreadItem, wa as ThreadListSkeleton, R_ as ToastProvider, Wl as TwoColumnLayout, ae as UPLOAD_INPUT_ID, de as UpsellRequestResponseDialog, Qp as UpsellingAlert, em as UpsellingBanner, M as UpsellingButton, nm as UpsellingPopover, te as VerticalBarChart, Ds as WeekStartDay, Wt as actionBarStatuses, la as actionItemStatuses, Zi as adaptDataAdapterToInfiniteScroll, ca as aiChatFileFromShowFilesItem, Ma as aiChatFileFromUploadedFile, ga as aiChatFilesFromMessage, _a as aiChatMessageText, xa as aiTranslations, mu as alertVariantOptions, tu as audioPlayerSizes, Kl as avatarVariants, Jt as buildDataCollectionUrlParams, dn as buildTranslations, eu as buttonDropdownModes, $l as buttonDropdownSizes, Ql as buttonDropdownVariants, Tl as buttonSizes, Re as buttonToggleColors, Tt as buttonToggleSizes, Rt as buttonToggleVariants, wl as buttonVariants, cu as cardAlertVariants, $i as cardImageAspectRatios, ri as cardImageFits, lr as cardImageSizes, Wo as chartColorTokens, Yo as chipVariants, Hd as computeSectionEndIds, dc as configurePdfWorker, Ra as contentTypes, Je as createAtlaskitDriver, Xo as createDataSourceDefinition, Tu as createF0FormDefinitionTester, wu as createF0FormTester, Sl as createPageLayoutBlock, Cl as createPageLayoutBlockGroup, ma as createPersonMentionSource, hu as dataCollectionLocalStorageHandler, fu as datePickerInlineDismissReasons, pu as datepickerSizes, $a as defaultTranslations, _i as defineAvailableForm, Su as describeFormSchema, Mt as dialog, Mt as dialogs, D as drawers, oa as durationInputSizes, sr as durationUnits, ht as evaluateRenderIf, mn as experimental, Ei as f0FileItemSizes, Fi as f0FormField, kr as fieldsToSeconds, Rd as flattenElements, aa as formatPlaybackTime, ud as forms, f as generateAnchorId, Zo as getAnimationVariants, yi as getDataCollectionStorageKey, Qo as getDataSourcePaginationType, Qn as getEmojiLabel, ir as getF0Config, ts as getGranularityDefinition, cs as getGranularityDefinitions, Ps as getGranularitySimpleDefinition, i as getSchemaDefinition, js as granularityDefinitions, Ai as hasF0Config, Lr as inferFieldType, Vd as injectSectionEnds, ho as isInfiniteScrollPagination, go as isPageBasedPagination, Wr as isZodType, nu as linkVariants, ya as markdownRenderers, Vi as mergeDataCollectionFilters, fo as modules, qa as oneIconSizes, sn as parseDataCollectionUrlParams, lc as pdfScales, ut as predefinedPresets, ss as rangeSeparator, Wi as readDataCollectionStorage, Bd as reconstructElements, Di as resolveDataCollectionFilters, bs as resolveGranularityDefinition, Ft as resolveItemNeighbors, Vt as resolveWindowNeighbors, Nr as secondsToFields, ti as secondsToVisibleFields, dd as selectInlineDismissReasons, Me as selectSizes, se as selectVariants, He as setDataCollectionUrlParams, fd as sliderTooltipModes, nn as syncDataCollectionUrlParams, Td as tagDotColors, Cd as timelineRowApproverStatuses, Sd as timelineRowStatuses, wd as timelineRowTagVariants, It as toasts, Sr as unwrapZodSchema, Ia as usageLimitsPopoverSides, Gi as useAiChat, Ga as useAiChatTranslations, ei as useAudioPlayer, Ka as useCanvasEntity, za as useChatHistory, uo as useData, No as useDataSource, Ze as useDataSourceItemNavigation, Mr as useDerivedTranscription, Lt as useDndEvents, We as useDraggable, yt as useDroppableList, Xn as useEmojiConfetti, ea as useF0AiFormRegistry, Lo as useF0Dialog, At as useF0DialogAlikeContext, l as useF0Form, Pt as useF0FormDefinition, da as useFormCardValueFormatter, U_ as useFormComponent, Po as useGroups, vg as useIsDesktop, yg as useIsMobile, wt as useItemNeighbors, $e as usePrivacyMode, Jn as useReducedMotion, ft as useSchemaDefinition, Co as useSelectable, va as useSetFormCardValueFormatter, Wa as useToolCallId, Ja as useXRay, L as withDataTestId, he as writeDataCollectionStorage };
|