@factorialco/f0-react 10.10.0 → 10.11.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/{ChatPostComposerDialog-Fz7bdV_-.js → ChatPostComposerDialog-DtnQi3aj.js} +2 -2
- package/dist/{CoachmarkProvider-DqNqwEPd.js → CoachmarkProvider-jyLtxTVG.js} +14125 -14125
- package/dist/{DocumentToolbar-B4aCipER.js → DocumentToolbar-DN4zdfiO.js} +2 -2
- package/dist/{DocxViewer-BOdYordL.js → DocxViewer-DsvcWnn4.js} +1 -1
- package/dist/{F0AiProcessingOverlay-BTW13lnQ.js → F0AiProcessingOverlay-yQIsYRms.js} +107 -107
- package/dist/{F0CanvasPanel-BcBFycU-.js → F0CanvasPanel-CLp2sCjm.js} +4 -4
- package/dist/{F0DocumentViewer-CWZNde9w.js → F0DocumentViewer-Bd3izb6I.js} +5 -5
- package/dist/F0DocumentViewer-DcJ7xzOj.js +3 -0
- package/dist/{F0Map-4fqLL5gP.js → F0Map-CeP8-2ww.js} +3 -3
- package/dist/{F0VideoPlayer-CTsCZ4u5.js → F0VideoPlayer-CQagh8Eo.js} +20 -20
- package/dist/F0VideoPlayer-iAcACeDO.js +1 -0
- package/dist/{Map-B_fzR9ly.js → Map-xessP8Rf.js} +3 -3
- package/dist/{PdfThumbnail-BLNfQ1EH.js → PdfThumbnail-BpiRg0m6.js} +1 -1
- package/dist/{SheetViewer-BhZTOpb4.js → SheetViewer-BSwX6EZX.js} +3 -3
- package/dist/{TextViewer-B1eR_7q4.js → TextViewer-K_7wKV8e.js} +1 -1
- package/dist/ai.js +2 -2
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +44 -1
- package/dist/experimental.js +3646 -3559
- package/dist/f0.js +158 -158
- package/dist/{maplibre-NpfvETJP.js → maplibre-Cj0jFYG6.js} +1 -1
- package/dist/{pdfWorker-CA8jPCRh.js → pdfWorker-Tv3MY3tw.js} +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/tailwind.config.ts +8 -0
- package/dist/F0DocumentViewer-BqRsz00c.js +0 -3
- package/dist/F0VideoPlayer-DEpDxvjC.js +0 -1
package/dist/f0.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { o as e } from "./rolldown-runtime-BItFwnF5.js";
|
|
2
|
-
import { $n as t, $t as n, A as r, An as i, Ar as a, Bn as o, Br as s, Bt as c, C as l, Cn as u, D as d, Dn as f, Dr as p, E as m, En as h, Fn as g, Fr as _, Ft as v, Gn as y, Gt as b, Hn as x, Hr as S, Ht as C, In as w, Ir as T, It as E, Jn as D, Jr as O, Jt as k, Kn as A, Kr as j, Kt as ee, Ln as M, Lr as N, Lt as P, M as te, Mn as ne, Mr as re, N as F, Nn as ie, Nt as I, O as ae, On as oe, P as se, Pn as ce, Pr as le, Pt as ue, Qn as de, Rn as fe, Rt as pe, S as me, Sn as he, St as ge, T as _e, Tn as ve, Ut as ye, Vn as be, Vr as xe, Vt as Se, Wn as Ce, Wt as we, X as Te, Xn as Ee, Xt as De, Yn as Oe, Z as ke, Zn as Ae, Zt as je, _ as Me, _n as Ne, _r as Pe, _t as Fe, ai as Ie, an as Le, ar as Re, b as ze, bn as Be, bt as Ve, c as He, cn as Ue, cr as We, d as Ge, dn as Ke, dr as qe, ei as Je, en as Ye, er as Xe, f as Ze, fn as Qe, fr as $e, g as et, gn as tt, gr as nt, gt as rt, h as it, hn as at, hr as ot, ht as st, i as ct, ir as lt, j as ut, jn as dt, jr as ft, k as pt, kn as mt, kr as ht, l as gt, ln as _t, lr as vt, mn as yt, mr as bt, ni as xt, nn as St, nr as Ct, on as wt, or as Tt, ot as Et, p as Dt, pn as Ot, pr as kt, qn as At, qr as jt, qt as Mt, rr as Nt, s as Pt, sn as Ft, sr as It, t as Lt, ti as Rt, tn as zt, tr as Bt, u as Vt, un as Ht, ur as Ut, ut as Wt, v as Gt, vn as Kt, vr as qt, vt as Jt, w as Yt, wn as Xt, x as Zt, xn as Qt, xt as $t, y as en, yn as tn, yt as nn, zn as rn, zr as an } from "./CoachmarkProvider-
|
|
2
|
+
import { $n as t, $t as n, A as r, An as i, Ar as a, Bn as o, Br as s, Bt as c, C as l, Cn as u, D as d, Dn as f, Dr as p, E as m, En as h, Fn as g, Fr as _, Ft as v, Gn as y, Gt as b, Hn as x, Hr as S, Ht as C, In as w, Ir as T, It as E, Jn as D, Jr as O, Jt as k, Kn as A, Kr as j, Kt as ee, Ln as M, Lr as N, Lt as P, M as te, Mn as ne, Mr as re, N as F, Nn as ie, Nt as I, O as ae, On as oe, P as se, Pn as ce, Pr as le, Pt as ue, Qn as de, Rn as fe, Rt as pe, S as me, Sn as he, St as ge, T as _e, Tn as ve, Ut as ye, Vn as be, Vr as xe, Vt as Se, Wn as Ce, Wt as we, X as Te, Xn as Ee, Xt as De, Yn as Oe, Z as ke, Zn as Ae, Zt as je, _ as Me, _n as Ne, _r as Pe, _t as Fe, ai as Ie, an as Le, ar as Re, b as ze, bn as Be, bt as Ve, c as He, cn as Ue, cr as We, d as Ge, dn as Ke, dr as qe, ei as Je, en as Ye, er as Xe, f as Ze, fn as Qe, fr as $e, g as et, gn as tt, gr as nt, gt as rt, h as it, hn as at, hr as ot, ht as st, i as ct, ir as lt, j as ut, jn as dt, jr as ft, k as pt, kn as mt, kr as ht, l as gt, ln as _t, lr as vt, mn as yt, mr as bt, ni as xt, nn as St, nr as Ct, on as wt, or as Tt, ot as Et, p as Dt, pn as Ot, pr as kt, qn as At, qr as jt, qt as Mt, rr as Nt, s as Pt, sn as Ft, sr as It, t as Lt, ti as Rt, tn as zt, tr as Bt, u as Vt, un as Ht, ur as Ut, ut as Wt, v as Gt, vn as Kt, vr as qt, vt as Jt, w as Yt, wn as Xt, x as Zt, xn as Qt, xt as $t, y as en, yn as tn, yt as nn, zn as rn, zr as an } from "./CoachmarkProvider-jyLtxTVG.js";
|
|
3
3
|
import { A as on, At as sn, B as cn, Dt as ln, F as un, It as dn, Jt as fn, Lt as pn, M as mn, Mt as hn, N as gn, P as _n, R as vn, U as yn, V as bn, Vt as xn, Xt as Sn, Yt as Cn, Zn as wn, _t as Tn, a as En, an as Dn, ar as L, b as R, cn as On, ct as kn, dn as An, gn as jn, gt as Mn, hn as Nn, ht as Pn, i as Fn, in as z, ir as In, j as Ln, jt as Rn, kt as zn, ln as B, lt as Bn, nn as Vn, nt as Hn, on as Un, or as Wn, pt as Gn, qt as Kn, rn as V, rr as qn, sn as Jn, t as Yn, tn as Xn, ut as Zn, vt as Qn, yt as $n, z as er } from "./popover-B7fqB9lu.js";
|
|
4
4
|
import { A as tr, C as nr, D as rr, E as ir, F as ar, I as H, L as or, M as sr, N as cr, O as lr, P as ur, S as dr, _ as fr, b as pr, c as mr, d as hr, f as gr, g as _r, h as vr, j as yr, k as br, m as xr, p as Sr, s as Cr, v as wr, x as Tr, y as Er } from "./tooltip-TOvfXq9F.js";
|
|
5
5
|
import { n as Dr, t as Or } from "./F0Box-CYL5_Zhb.js";
|
|
6
|
-
import { A as kr, C as Ar, D as jr, E as Mr, F as Nr, I as Pr, L as Fr, M as Ir, N as Lr, O as Rr, P as zr, R as Br, S as Vr, T as Hr, _ as Ur, a as Wr, b as Gr, c as Kr, d as qr, f as Jr, g as Yr, h as Xr, i as Zr, j as Qr, k as $r, l as ei, m as ti, n as ni, o as ri, p as ii, r as ai, s as oi, t as si, u as ci, v as li, w as ui, x as di, y as fi, z as pi } from "./F0AiProcessingOverlay-
|
|
7
|
-
import { $n as mi,
|
|
6
|
+
import { A as kr, C as Ar, D as jr, E as Mr, F as Nr, I as Pr, L as Fr, M as Ir, N as Lr, O as Rr, P as zr, R as Br, S as Vr, T as Hr, _ as Ur, a as Wr, b as Gr, c as Kr, d as qr, f as Jr, g as Yr, h as Xr, i as Zr, j as Qr, k as $r, l as ei, m as ti, n as ni, o as ri, p as ii, r as ai, s as oi, t as si, u as ci, v as li, w as ui, x as di, y as fi, z as pi } from "./F0AiProcessingOverlay-yQIsYRms.js";
|
|
7
|
+
import { $n as mi, A as hi, Aa as gi, Ar as _i, At as vi, B as yi, Bn as bi, Bs as xi, D as Si, Ds as Ci, Dt as wi, E as Ti, Fo as Ei, Fr as Di, Ft as Oi, Gn as ki, Gr as Ai, Gt as ji, Hn as Mi, Hr as Ni, Hs as Pi, It as Fi, Ja as Ii, Jn as Li, Jo as Ri, Jr as zi, Jt as Bi, Ks as Vi, Kt as Hi, Lr as Ui, Lt as Wi, M as Gi, Ma as Ki, Mr as qi, Mt as Ji, Na as Yi, Nt as Xi, O as Zi, Oa as Qi, Pa as $i, Pr as ea, Qn as ta, Qo as na, R as ra, Ra as ia, Rr as aa, Rs as oa, Sr as sa, T as ca, Ts as la, Un as ua, Ur as da, Us as fa, Vn as pa, Vo as ma, Vs as ha, Wn as ga, Wr as _a, Ws as va, Xt as ya, Ya as ba, Yt as xa, Zo as Sa, Zs as Ca, Zt as wa, _a as Ta, as as Ea, br as Da, co as Oa, do as ka, er as Aa, es as ja, et as Ma, ga as Na, io as Pa, is as Fa, j as Ia, jr as La, js as Ra, jt as za, k as Ba, kt as Va, mr as Ha, n as Ua, no as Wa, nr as Ga, oa as Ka, oc as qa, pr as Ja, qn as Ya, qt as Xa, rc as Za, rr as Qa, t as $a, tr as eo, uo as to, us as no, vr as ro, w as io, wr as ao, yo as oo, yr as so, za as co, zn as lo, zr as uo, zs as fo } from "./F0CanvasPanel-CLp2sCjm.js";
|
|
8
8
|
import { t as po } from "./i18n-provider-defaults-BA2_-hRH.js";
|
|
9
9
|
import { A as mo, C as ho, F as go, J as _o, L as vo, R as yo, T as bo, a as xo, d as So, i as Co, j as wo, k as To, m as Eo, n as Do, p as Oo, q as ko, r as Ao, t as jo, w as Mo, x as No, y as Po } from "./useData-CAl9SKtE.js";
|
|
10
10
|
import { $ as Fo, B as Io, Bt as Lo, Ct as Ro, Dn as zo, Dr as Bo, Dt as Vo, Er as Ho, Fn as Uo, Ft as Wo, G as Go, H as Ko, It as qo, J as Jo, K as Yo, L as Xo, Ln as Zo, Lt as Qo, Mr as $o, Mt as es, Nr as ts, Nt as ns, On as rs, Or as is, Ot as as, Pt as os, Rt as ss, U as cs, V as ls, W as us, X as ds, Z as fs, _ as ps, _t as ms, a as hs, an as gs, c as _s, ct as vs, dr as ys, et as bs, fr as xs, g as Ss, gt as Cs, h as ws, ht as Ts, i as Es, jr as Ds, jt as Os, kn as ks, kr as As, kt as js, l as Ms, lr as Ns, m as Ps, mr as Fs, mt as Is, nt as Ls, o as Rs, p as zs, pt as Bs, q as Vs, r as Hs, rn as Us, s as Ws, st as Gs, t as Ks, tt as qs, u as Js, v as Ys, vr as Xs, w as Zs, wt as Qs, xt as $s, y as ec, yt as tc, z as nc } from "./F0Select-By_QpX1S.js";
|
|
11
11
|
import { t as rc } from "./Check-DAp9gCRh.js";
|
|
12
|
-
import { a as ic, i as ac, n as oc, r as sc, t as cc } from "./F0VideoPlayer-
|
|
13
|
-
import { t as lc } from "./pdfWorker-
|
|
14
|
-
import { n as uc, t as dc } from "./F0DocumentViewer-
|
|
12
|
+
import { a as ic, i as ac, n as oc, r as sc, t as cc } from "./F0VideoPlayer-CQagh8Eo.js";
|
|
13
|
+
import { t as lc } from "./pdfWorker-Tv3MY3tw.js";
|
|
14
|
+
import { n as uc, t as dc } from "./F0DocumentViewer-Bd3izb6I.js";
|
|
15
15
|
import * as U from "react";
|
|
16
16
|
import fc, { Children as pc, Fragment as mc, createContext as hc, forwardRef as gc, isValidElement as _c, memo as vc, useCallback as W, useContext as yc, useEffect as G, useId as bc, useImperativeHandle as xc, useLayoutEffect as Sc, useMemo as K, useRef as q, useState as J, useSyncExternalStore as Cc } from "react";
|
|
17
17
|
import { Fragment as Y, jsx as X, jsxs as Z } from "react/jsx-runtime";
|
|
@@ -3783,7 +3783,7 @@ var au = (e) => typeof e == "boolean" || !e ? {
|
|
|
3783
3783
|
})]
|
|
3784
3784
|
});
|
|
3785
3785
|
ou.displayName = "F0BigNumber";
|
|
3786
|
-
var cu =
|
|
3786
|
+
var cu = Qi(ou, su), lu = L(cu), uu = [
|
|
3787
3787
|
"default",
|
|
3788
3788
|
"outline",
|
|
3789
3789
|
"neutral"
|
|
@@ -4345,7 +4345,7 @@ var hd = Nn({
|
|
|
4345
4345
|
hu(t)
|
|
4346
4346
|
]
|
|
4347
4347
|
}), _d = ({ isPlaying: e, disabled: t, size: n = "md", onToggle: r }) => {
|
|
4348
|
-
let i = V(), a = e ?
|
|
4348
|
+
let i = V(), a = e ? ka : to;
|
|
4349
4349
|
return /* @__PURE__ */ X("button", {
|
|
4350
4350
|
type: "button",
|
|
4351
4351
|
"aria-label": e ? i.audioPlayer.pause : i.audioPlayer.play,
|
|
@@ -4361,7 +4361,7 @@ var hd = Nn({
|
|
|
4361
4361
|
children: /* @__PURE__ */ X(R, {
|
|
4362
4362
|
variant: "ghost",
|
|
4363
4363
|
size: "sm",
|
|
4364
|
-
icon:
|
|
4364
|
+
icon: la,
|
|
4365
4365
|
label: c.audioPlayer.options,
|
|
4366
4366
|
hideLabel: !0,
|
|
4367
4367
|
disabled: r
|
|
@@ -4868,7 +4868,7 @@ var kd = qn("F0AudioPlayer", L(Od)), Ad = qn("F0AudioPlayerCard", L(Ed)), jd = f
|
|
|
4868
4868
|
children: /* @__PURE__ */ X(R, {
|
|
4869
4869
|
variant: "outline",
|
|
4870
4870
|
size: "sm",
|
|
4871
|
-
icon:
|
|
4871
|
+
icon: la,
|
|
4872
4872
|
label: e.ariaLabel,
|
|
4873
4873
|
hideLabel: !0,
|
|
4874
4874
|
disabled: e.disabled
|
|
@@ -4878,7 +4878,7 @@ var kd = qn("F0AudioPlayer", L(Od)), Ad = qn("F0AudioPlayerCard", L(Ed)), jd = f
|
|
|
4878
4878
|
})
|
|
4879
4879
|
}), Nd = ({ item: e, open: t, onOpenChange: n }) => {
|
|
4880
4880
|
let r = hn(), i = V().t(t ? "actions.collapseItem" : "actions.expandItem", { title: e.title }), a = !!e.actions && e.actions.length > 0;
|
|
4881
|
-
return /* @__PURE__ */ X(
|
|
4881
|
+
return /* @__PURE__ */ X(Ni, {
|
|
4882
4882
|
open: t,
|
|
4883
4883
|
onOpenChange: n,
|
|
4884
4884
|
asChild: !0,
|
|
@@ -4933,7 +4933,7 @@ var kd = qn("F0AudioPlayer", L(Od)), Ad = qn("F0AudioPlayerCard", L(Ed)), jd = f
|
|
|
4933
4933
|
},
|
|
4934
4934
|
transition: { duration: r ? 0 : .2 },
|
|
4935
4935
|
className: "overflow-hidden",
|
|
4936
|
-
children: /* @__PURE__ */ X(
|
|
4936
|
+
children: /* @__PURE__ */ X(da, {
|
|
4937
4937
|
forceMount: !0,
|
|
4938
4938
|
asChild: !0,
|
|
4939
4939
|
children: /* @__PURE__ */ Z("div", {
|
|
@@ -4977,7 +4977,7 @@ var kd = qn("F0AudioPlayer", L(Od)), Ad = qn("F0AudioPlayerCard", L(Ed)), jd = f
|
|
|
4977
4977
|
});
|
|
4978
4978
|
});
|
|
4979
4979
|
Fd.displayName = "F0Accordion";
|
|
4980
|
-
var Id = L(qn("F0Accordion",
|
|
4980
|
+
var Id = L(qn("F0Accordion", Qi(Fd, Pd))), Ld = [
|
|
4981
4981
|
"info",
|
|
4982
4982
|
"warning",
|
|
4983
4983
|
"critical",
|
|
@@ -5173,11 +5173,11 @@ var Zd = Xd;
|
|
|
5173
5173
|
//#endregion
|
|
5174
5174
|
//#region src/blocks/F0Form/describeFormSchema.ts
|
|
5175
5175
|
function Qd(e) {
|
|
5176
|
-
let t =
|
|
5176
|
+
let t = ya(e).shape, n = [];
|
|
5177
5177
|
for (let [e, r] of Object.entries(t)) {
|
|
5178
|
-
let t = r, i =
|
|
5178
|
+
let t = r, i = Hi(t);
|
|
5179
5179
|
if (!i) continue;
|
|
5180
|
-
let a =
|
|
5180
|
+
let a = Bi(t, i), o = Be(t, a), s = {
|
|
5181
5181
|
name: e,
|
|
5182
5182
|
type: a,
|
|
5183
5183
|
label: i.label,
|
|
@@ -5249,9 +5249,9 @@ function ef(e) {
|
|
|
5249
5249
|
let r = {
|
|
5250
5250
|
...n,
|
|
5251
5251
|
...e
|
|
5252
|
-
}, i =
|
|
5252
|
+
}, i = ya(t), a = [];
|
|
5253
5253
|
for (let [e, t] of Object.entries(i.shape)) {
|
|
5254
|
-
let n =
|
|
5254
|
+
let n = Hi(t);
|
|
5255
5255
|
n?.renderIf ? Ne(n.renderIf, r) && a.push(e) : a.push(e);
|
|
5256
5256
|
}
|
|
5257
5257
|
return a;
|
|
@@ -5295,12 +5295,12 @@ var nf = ({ isOpen: e = !1, onClose: t = () => {}, type: n, title: r, descriptio
|
|
|
5295
5295
|
modal: !0,
|
|
5296
5296
|
children: /* @__PURE__ */ Z("div", {
|
|
5297
5297
|
className: "flex flex-col gap-4 py-2",
|
|
5298
|
-
children: [/* @__PURE__ */ X(
|
|
5298
|
+
children: [/* @__PURE__ */ X(Na, {
|
|
5299
5299
|
type: n,
|
|
5300
5300
|
size: "lg"
|
|
5301
5301
|
}), /* @__PURE__ */ Z("div", {
|
|
5302
5302
|
className: "flex flex-col gap-0.5",
|
|
5303
|
-
children: [/* @__PURE__ */ X(
|
|
5303
|
+
children: [/* @__PURE__ */ X(La, {
|
|
5304
5304
|
className: "text-xl sm:text-lg",
|
|
5305
5305
|
children: r
|
|
5306
5306
|
}), /* @__PURE__ */ X(M, {
|
|
@@ -5687,7 +5687,7 @@ var xf = () => {}, Sf = ({ steps: e, children: t, isOpen: n, onClose: r = xf, ti
|
|
|
5687
5687
|
onClose: r
|
|
5688
5688
|
}), g = V(), _ = 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(() => ({
|
|
5689
5689
|
label: b,
|
|
5690
|
-
icon: y ? void 0 :
|
|
5690
|
+
icon: y ? void 0 : Ca,
|
|
5691
5691
|
onClick: () => void h.goNext(),
|
|
5692
5692
|
disabled: _?.isCompleted?.() === !1 || _?.hasErrors?.() === !0,
|
|
5693
5693
|
loading: h.loading
|
|
@@ -5744,14 +5744,14 @@ Sf.displayName = "F0Wizard", L(Sf);
|
|
|
5744
5744
|
//#endregion
|
|
5745
5745
|
//#region src/blocks/F0WizardForm/F0WizardForm.tsx
|
|
5746
5746
|
function Cf(e) {
|
|
5747
|
-
let t =
|
|
5748
|
-
return n.length !== 0 && n.every(([, e]) =>
|
|
5747
|
+
let t = ya(e).shape, n = Object.entries(t);
|
|
5748
|
+
return n.length !== 0 && n.every(([, e]) => Hi(e)?.disabled === !0);
|
|
5749
5749
|
}
|
|
5750
5750
|
function wf(e, t) {
|
|
5751
5751
|
if (t) return Object.keys(t);
|
|
5752
|
-
let n =
|
|
5752
|
+
let n = ya(e).shape, r = /* @__PURE__ */ new Set();
|
|
5753
5753
|
for (let e of Object.values(n)) {
|
|
5754
|
-
let t =
|
|
5754
|
+
let t = Hi(e);
|
|
5755
5755
|
t?.section && r.add(t.section);
|
|
5756
5756
|
}
|
|
5757
5757
|
return Array.from(r);
|
|
@@ -5759,15 +5759,15 @@ function wf(e, t) {
|
|
|
5759
5759
|
function Tf(e, t) {
|
|
5760
5760
|
let n = e.shape, r = {};
|
|
5761
5761
|
for (let [e, i] of Object.entries(n)) {
|
|
5762
|
-
let n =
|
|
5762
|
+
let n = Hi(i);
|
|
5763
5763
|
n?.section && t.includes(n.section) && (r[e] = i);
|
|
5764
5764
|
}
|
|
5765
|
-
return
|
|
5765
|
+
return ua(r);
|
|
5766
5766
|
}
|
|
5767
5767
|
function Ef(e, t, n) {
|
|
5768
5768
|
let r = t ?? {};
|
|
5769
5769
|
if (n) return n({ data: r });
|
|
5770
|
-
let i =
|
|
5770
|
+
let i = ya(e).shape;
|
|
5771
5771
|
return Object.entries(i).every(([e, t]) => {
|
|
5772
5772
|
if (t.isOptional()) return !0;
|
|
5773
5773
|
let n = r[e];
|
|
@@ -5993,7 +5993,7 @@ function Mf({ sectionId: e, formName: t, schema: n, sectionConfig: r, defaultVal
|
|
|
5993
5993
|
});
|
|
5994
5994
|
}
|
|
5995
5995
|
function Nf({ 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: h = !1, renderCustomField: g }) {
|
|
5996
|
-
let { name: _, schema: v, sections: y, defaultValues: b, onSubmit: x, submitConfig: S, errorTriggerMode: C = "on-blur" } = e, w = S?.label, T = K(() =>
|
|
5996
|
+
let { name: _, schema: v, sections: y, defaultValues: b, onSubmit: x, submitConfig: S, errorTriggerMode: C = "on-blur" } = e, w = S?.label, T = K(() => ya(v), [v]), E = K(() => wf(v, y), [v, y]), D = W((e) => Cf(Tf(T, e)), [T]), O = Ke(), k = q(b ? { ...b } : {}), A = q(s ?? 0), j = W((e) => async () => {
|
|
5997
5997
|
await O.submit();
|
|
5998
5998
|
}, [O]), ee = W((e) => O.hasErrors, [O.hasErrors]), M = t ?? e.steps, N = K(() => M ?? E.map((e) => ({
|
|
5999
5999
|
title: y?.[e]?.title ?? e,
|
|
@@ -6355,7 +6355,7 @@ var Vf = { open: Bf }, Hf = [
|
|
|
6355
6355
|
});
|
|
6356
6356
|
});
|
|
6357
6357
|
Qf.displayName = "F0Slider";
|
|
6358
|
-
var $f = qn("F0Slider",
|
|
6358
|
+
var $f = qn("F0Slider", Qi(L(Qf), qf)), ep = [
|
|
6359
6359
|
"completed",
|
|
6360
6360
|
"in-progress",
|
|
6361
6361
|
"not-started"
|
|
@@ -6609,7 +6609,7 @@ function _p(e) {
|
|
|
6609
6609
|
}
|
|
6610
6610
|
//#endregion
|
|
6611
6611
|
//#region src/domains/talent/surveys/surveys/SurveyFormBuilder/ApplyingChangesTag/ApplyingChangesTag.tsx
|
|
6612
|
-
var vp = jn.create(
|
|
6612
|
+
var vp = jn.create(wi), yp = vc(() => {
|
|
6613
6613
|
let e = V();
|
|
6614
6614
|
return /* @__PURE__ */ Z("div", {
|
|
6615
6615
|
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",
|
|
@@ -6961,12 +6961,12 @@ var Pp = () => {
|
|
|
6961
6961
|
let { isQuestionTypeAllowed: e, datasets: t } = Ap(), { t: n } = V(), r = [
|
|
6962
6962
|
{
|
|
6963
6963
|
label: n("surveyFormBuilder.questionTypes.rating"),
|
|
6964
|
-
icon:
|
|
6964
|
+
icon: Oa,
|
|
6965
6965
|
questionType: "rating"
|
|
6966
6966
|
},
|
|
6967
6967
|
{
|
|
6968
6968
|
label: n("surveyFormBuilder.questionTypes.multipleChoice"),
|
|
6969
|
-
icon:
|
|
6969
|
+
icon: oa,
|
|
6970
6970
|
questionType: "multi-select"
|
|
6971
6971
|
},
|
|
6972
6972
|
{
|
|
@@ -6976,32 +6976,32 @@ var Pp = () => {
|
|
|
6976
6976
|
},
|
|
6977
6977
|
{
|
|
6978
6978
|
label: n("surveyFormBuilder.questionTypes.text"),
|
|
6979
|
-
icon:
|
|
6979
|
+
icon: Wa,
|
|
6980
6980
|
questionType: "text"
|
|
6981
6981
|
},
|
|
6982
6982
|
{
|
|
6983
6983
|
label: n("surveyFormBuilder.questionTypes.longText"),
|
|
6984
|
-
icon:
|
|
6984
|
+
icon: Sa,
|
|
6985
6985
|
questionType: "longText"
|
|
6986
6986
|
},
|
|
6987
6987
|
{
|
|
6988
6988
|
label: n("surveyFormBuilder.questionTypes.numeric"),
|
|
6989
|
-
icon:
|
|
6989
|
+
icon: Ei,
|
|
6990
6990
|
questionType: "numeric"
|
|
6991
6991
|
},
|
|
6992
6992
|
{
|
|
6993
6993
|
label: n("surveyFormBuilder.questionTypes.link"),
|
|
6994
|
-
icon:
|
|
6994
|
+
icon: na,
|
|
6995
6995
|
questionType: "link"
|
|
6996
6996
|
},
|
|
6997
6997
|
{
|
|
6998
6998
|
label: n("surveyFormBuilder.questionTypes.date"),
|
|
6999
|
-
icon:
|
|
6999
|
+
icon: Vi,
|
|
7000
7000
|
questionType: "date"
|
|
7001
7001
|
},
|
|
7002
7002
|
{
|
|
7003
7003
|
label: n("surveyFormBuilder.questionTypes.file"),
|
|
7004
|
-
icon:
|
|
7004
|
+
icon: ba,
|
|
7005
7005
|
questionType: "file"
|
|
7006
7006
|
},
|
|
7007
7007
|
{
|
|
@@ -7017,17 +7017,17 @@ var Pp = () => {
|
|
|
7017
7017
|
})) : [];
|
|
7018
7018
|
return [...r, ...i];
|
|
7019
7019
|
}, Fp = {
|
|
7020
|
-
rating:
|
|
7021
|
-
"multi-select":
|
|
7020
|
+
rating: Oa,
|
|
7021
|
+
"multi-select": oa,
|
|
7022
7022
|
select: rc,
|
|
7023
|
-
text:
|
|
7024
|
-
longText:
|
|
7025
|
-
numeric:
|
|
7026
|
-
link:
|
|
7027
|
-
date:
|
|
7023
|
+
text: Wa,
|
|
7024
|
+
longText: Sa,
|
|
7025
|
+
numeric: Ei,
|
|
7026
|
+
link: na,
|
|
7027
|
+
date: Vi,
|
|
7028
7028
|
"dropdown-single": ko,
|
|
7029
7029
|
"dropdown-multi": ko,
|
|
7030
|
-
file:
|
|
7030
|
+
file: ba,
|
|
7031
7031
|
checkbox: As
|
|
7032
7032
|
}, Ip = () => {
|
|
7033
7033
|
let { disabled: e, answering: t, onAddNewElement: n, isQuestionTypeAllowed: r, labels: i } = Ap(), [a, o] = J(!1), s = Pp(), { t: c } = V(), l = i?.addQuestion ?? c("surveyFormBuilder.actions.addQuestion"), u = (e, t) => {
|
|
@@ -7061,7 +7061,7 @@ var Pp = () => {
|
|
|
7061
7061
|
children: /* @__PURE__ */ Z("div", {
|
|
7062
7062
|
className: "flex w-full flex-row items-center gap-2",
|
|
7063
7063
|
children: [/* @__PURE__ */ X(z, {
|
|
7064
|
-
icon:
|
|
7064
|
+
icon: qa,
|
|
7065
7065
|
color: "default"
|
|
7066
7066
|
}), /* @__PURE__ */ X("span", {
|
|
7067
7067
|
className: "flex-1 text-base font-medium",
|
|
@@ -7114,7 +7114,7 @@ var Pp = () => {
|
|
|
7114
7114
|
children: /* @__PURE__ */ Z("div", {
|
|
7115
7115
|
className: "flex w-full flex-row items-center gap-2",
|
|
7116
7116
|
children: [/* @__PURE__ */ X(z, {
|
|
7117
|
-
icon:
|
|
7117
|
+
icon: oa,
|
|
7118
7118
|
color: "default"
|
|
7119
7119
|
}), /* @__PURE__ */ X("span", {
|
|
7120
7120
|
className: "flex-1",
|
|
@@ -7294,7 +7294,7 @@ var Up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(g
|
|
|
7294
7294
|
className: "flex w-full flex-row items-center gap-2",
|
|
7295
7295
|
children: [
|
|
7296
7296
|
/* @__PURE__ */ X(Dn, {
|
|
7297
|
-
icon:
|
|
7297
|
+
icon: Ea,
|
|
7298
7298
|
color: "default"
|
|
7299
7299
|
}),
|
|
7300
7300
|
/* @__PURE__ */ X("span", {
|
|
@@ -7406,7 +7406,7 @@ var Up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(g
|
|
|
7406
7406
|
className: "flex w-full flex-row items-center gap-2",
|
|
7407
7407
|
children: [
|
|
7408
7408
|
/* @__PURE__ */ X(Dn, {
|
|
7409
|
-
icon:
|
|
7409
|
+
icon: oa,
|
|
7410
7410
|
color: "default"
|
|
7411
7411
|
}),
|
|
7412
7412
|
/* @__PURE__ */ X("span", {
|
|
@@ -7435,11 +7435,11 @@ var Up = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(g
|
|
|
7435
7435
|
let { t: a } = V(), { labels: o } = Ap();
|
|
7436
7436
|
return !e && !t ? null : /* @__PURE__ */ Z(Y, { children: [n ? /* @__PURE__ */ X(vn, {}) : null, /* @__PURE__ */ Z(mn, { children: [e ? /* @__PURE__ */ X(Gp, {
|
|
7437
7437
|
label: o?.duplicateQuestion ?? a("surveyFormBuilder.actions.duplicateQuestion"),
|
|
7438
|
-
icon:
|
|
7438
|
+
icon: ja,
|
|
7439
7439
|
onClick: r
|
|
7440
7440
|
}) : null, t ? /* @__PURE__ */ X(Gp, {
|
|
7441
7441
|
label: o?.deleteQuestion ?? a("surveyFormBuilder.actions.deleteQuestion"),
|
|
7442
|
-
icon:
|
|
7442
|
+
icon: Ra,
|
|
7443
7443
|
onClick: i,
|
|
7444
7444
|
critical: !0
|
|
7445
7445
|
}) : null] })] });
|
|
@@ -7457,7 +7457,7 @@ function qp({ open: e, setOpen: t, questionId: n, questionType: r, canDeleteQues
|
|
|
7457
7457
|
tabIndex: -1,
|
|
7458
7458
|
asChild: !0,
|
|
7459
7459
|
children: /* @__PURE__ */ X(R, {
|
|
7460
|
-
icon:
|
|
7460
|
+
icon: la,
|
|
7461
7461
|
label: o("surveyFormBuilder.labels.actions"),
|
|
7462
7462
|
size: "md",
|
|
7463
7463
|
variant: "ghost",
|
|
@@ -7474,13 +7474,13 @@ function qp({ open: e, setOpen: t, questionId: n, questionType: r, canDeleteQues
|
|
|
7474
7474
|
}),
|
|
7475
7475
|
T ? /* @__PURE__ */ X(mn, { children: /* @__PURE__ */ X(Up, {
|
|
7476
7476
|
label: o("surveyFormBuilder.labels.required"),
|
|
7477
|
-
icon:
|
|
7477
|
+
icon: Za,
|
|
7478
7478
|
checked: !!l?.required,
|
|
7479
7479
|
onChange: _
|
|
7480
7480
|
}) }) : null,
|
|
7481
7481
|
E ? /* @__PURE__ */ X(mn, { children: /* @__PURE__ */ X(Up, {
|
|
7482
7482
|
label: o("surveyFormBuilder.labels.allowMultiSelection"),
|
|
7483
|
-
icon:
|
|
7483
|
+
icon: oa,
|
|
7484
7484
|
checked: p,
|
|
7485
7485
|
onChange: b
|
|
7486
7486
|
}) }) : null,
|
|
@@ -7670,7 +7670,7 @@ var Jp = ({ notice: e, className: t, children: n }) => {
|
|
|
7670
7670
|
children: /* @__PURE__ */ Z("div", {
|
|
7671
7671
|
className: "flex w-full flex-row items-center gap-2",
|
|
7672
7672
|
children: [/* @__PURE__ */ X(z, {
|
|
7673
|
-
icon:
|
|
7673
|
+
icon: qa,
|
|
7674
7674
|
color: "default"
|
|
7675
7675
|
}), /* @__PURE__ */ X("span", {
|
|
7676
7676
|
className: "flex-1 text-base font-medium",
|
|
@@ -7722,7 +7722,7 @@ var Jp = ({ notice: e, className: t, children: n }) => {
|
|
|
7722
7722
|
children: /* @__PURE__ */ Z("div", {
|
|
7723
7723
|
className: "flex w-full flex-row items-center gap-2",
|
|
7724
7724
|
children: [/* @__PURE__ */ X(z, {
|
|
7725
|
-
icon:
|
|
7725
|
+
icon: oa,
|
|
7726
7726
|
color: "default"
|
|
7727
7727
|
}), /* @__PURE__ */ X("span", {
|
|
7728
7728
|
className: "flex-1",
|
|
@@ -7956,8 +7956,8 @@ var Zp = ({ value: e, label: t, ...n }) => {
|
|
|
7956
7956
|
required: t.required,
|
|
7957
7957
|
maxDecimals: 0,
|
|
7958
7958
|
placeholder: s,
|
|
7959
|
-
icon:
|
|
7960
|
-
}) : /* @__PURE__ */ X(
|
|
7959
|
+
icon: Ei
|
|
7960
|
+
}) : /* @__PURE__ */ X(Ya, {
|
|
7961
7961
|
type: "text",
|
|
7962
7962
|
size: "md",
|
|
7963
7963
|
value: s,
|
|
@@ -7965,7 +7965,7 @@ var Zp = ({ value: e, label: t, ...n }) => {
|
|
|
7965
7965
|
disabled: !0,
|
|
7966
7966
|
label: n("surveyFormBuilder.answer.label"),
|
|
7967
7967
|
hideLabel: !0,
|
|
7968
|
-
icon:
|
|
7968
|
+
icon: Ei
|
|
7969
7969
|
})
|
|
7970
7970
|
});
|
|
7971
7971
|
}, am = ({ option: e, selected: t, onClick: n, onChangeLabel: r, disabled: i, isEmojiMode: a = !1 }) => {
|
|
@@ -8139,7 +8139,7 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
8139
8139
|
children: /* @__PURE__ */ X("div", {
|
|
8140
8140
|
className: H("flex aspect-square scale-90 items-center justify-center", u === "multi-select" ? "w-6" : "w-5"),
|
|
8141
8141
|
children: /* @__PURE__ */ X(Dn, {
|
|
8142
|
-
icon:
|
|
8142
|
+
icon: no,
|
|
8143
8143
|
size: "sm"
|
|
8144
8144
|
})
|
|
8145
8145
|
})
|
|
@@ -8162,13 +8162,13 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
8162
8162
|
children: [/* @__PURE__ */ X(R, {
|
|
8163
8163
|
label: _("surveyFormBuilder.selectQuestion.markAsCorrect"),
|
|
8164
8164
|
variant: "ghost",
|
|
8165
|
-
icon: c ? Dr :
|
|
8165
|
+
icon: c ? Dr : fo,
|
|
8166
8166
|
onClick: x,
|
|
8167
8167
|
hideLabel: !0
|
|
8168
8168
|
}), /* @__PURE__ */ X(R, {
|
|
8169
8169
|
label: _("surveyFormBuilder.selectQuestion.remove"),
|
|
8170
8170
|
variant: "ghost",
|
|
8171
|
-
icon:
|
|
8171
|
+
icon: Ra,
|
|
8172
8172
|
hideLabel: !0,
|
|
8173
8173
|
onClick: S
|
|
8174
8174
|
})]
|
|
@@ -8395,7 +8395,7 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
8395
8395
|
g && s.start(e);
|
|
8396
8396
|
},
|
|
8397
8397
|
children: /* @__PURE__ */ X(z, {
|
|
8398
|
-
icon:
|
|
8398
|
+
icon: no,
|
|
8399
8399
|
size: "sm"
|
|
8400
8400
|
})
|
|
8401
8401
|
}) : null, /* @__PURE__ */ X(pm, { ...e.question })]
|
|
@@ -8425,7 +8425,7 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
8425
8425
|
f && i.start(e);
|
|
8426
8426
|
},
|
|
8427
8427
|
children: /* @__PURE__ */ X(z, {
|
|
8428
|
-
icon:
|
|
8428
|
+
icon: no,
|
|
8429
8429
|
size: "sm"
|
|
8430
8430
|
})
|
|
8431
8431
|
}) : null, /* @__PURE__ */ X(pm, { ...e })]
|
|
@@ -8457,7 +8457,7 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
8457
8457
|
});
|
|
8458
8458
|
}, x = [{
|
|
8459
8459
|
label: h("surveyFormBuilder.actions.duplicateSection"),
|
|
8460
|
-
icon:
|
|
8460
|
+
icon: ja,
|
|
8461
8461
|
onClick: () => {
|
|
8462
8462
|
d?.({
|
|
8463
8463
|
elementId: e,
|
|
@@ -8466,7 +8466,7 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
8466
8466
|
}
|
|
8467
8467
|
}, {
|
|
8468
8468
|
label: h("surveyFormBuilder.actions.deleteSection"),
|
|
8469
|
-
icon:
|
|
8469
|
+
icon: Ra,
|
|
8470
8470
|
onClick: () => {
|
|
8471
8471
|
u(e);
|
|
8472
8472
|
},
|
|
@@ -8513,12 +8513,12 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
8513
8513
|
className: H("opacity-0 group-hover/section:opacity-100", p && "opacity-100"),
|
|
8514
8514
|
children: /* @__PURE__ */ X(Ta, {
|
|
8515
8515
|
items: x,
|
|
8516
|
-
icon:
|
|
8516
|
+
icon: la,
|
|
8517
8517
|
open: p,
|
|
8518
8518
|
onOpenChange: m,
|
|
8519
8519
|
align: "start",
|
|
8520
8520
|
children: /* @__PURE__ */ X(R, {
|
|
8521
|
-
icon:
|
|
8521
|
+
icon: la,
|
|
8522
8522
|
label: h("surveyFormBuilder.actions.actions"),
|
|
8523
8523
|
size: "md",
|
|
8524
8524
|
variant: "ghost",
|
|
@@ -8587,7 +8587,7 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
8587
8587
|
o.start(e);
|
|
8588
8588
|
},
|
|
8589
8589
|
children: /* @__PURE__ */ X(z, {
|
|
8590
|
-
icon:
|
|
8590
|
+
icon: no,
|
|
8591
8591
|
size: "sm"
|
|
8592
8592
|
})
|
|
8593
8593
|
}) : null, /* @__PURE__ */ X(_m, {
|
|
@@ -8617,7 +8617,7 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
8617
8617
|
p || x.push({
|
|
8618
8618
|
type: "toggle",
|
|
8619
8619
|
label: l,
|
|
8620
|
-
icon:
|
|
8620
|
+
icon: Za,
|
|
8621
8621
|
checked: !!r?.required,
|
|
8622
8622
|
onCheckedChange: m
|
|
8623
8623
|
});
|
|
@@ -8662,7 +8662,7 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
8662
8662
|
selected: s === e && t === "dropdown-single"
|
|
8663
8663
|
}, {
|
|
8664
8664
|
label: f,
|
|
8665
|
-
icon:
|
|
8665
|
+
icon: oa,
|
|
8666
8666
|
onClick: () => h("dropdown-multi", e),
|
|
8667
8667
|
selected: s === e && t === "dropdown-multi"
|
|
8668
8668
|
}]
|
|
@@ -8676,16 +8676,16 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
8676
8676
|
return x.push({
|
|
8677
8677
|
type: "submenu",
|
|
8678
8678
|
label: u,
|
|
8679
|
-
icon:
|
|
8679
|
+
icon: Ea,
|
|
8680
8680
|
selectedLabel: E,
|
|
8681
8681
|
children: w
|
|
8682
8682
|
}), x.push({ type: "separator" }), x.push({
|
|
8683
8683
|
label: i,
|
|
8684
|
-
icon:
|
|
8684
|
+
icon: ja,
|
|
8685
8685
|
onClick: y
|
|
8686
8686
|
}), n && x.push({
|
|
8687
8687
|
label: a,
|
|
8688
|
-
icon:
|
|
8688
|
+
icon: Ra,
|
|
8689
8689
|
onClick: b,
|
|
8690
8690
|
critical: !0
|
|
8691
8691
|
}), x;
|
|
@@ -8706,12 +8706,12 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
8706
8706
|
return {
|
|
8707
8707
|
id: i,
|
|
8708
8708
|
label: t.title || n,
|
|
8709
|
-
icon:
|
|
8709
|
+
icon: qa,
|
|
8710
8710
|
onClick: y,
|
|
8711
8711
|
...!h && !g && !t.locked && { otherActions: [
|
|
8712
8712
|
{
|
|
8713
8713
|
label: o,
|
|
8714
|
-
icon:
|
|
8714
|
+
icon: ja,
|
|
8715
8715
|
onClick: () => m?.({
|
|
8716
8716
|
elementId: t.id,
|
|
8717
8717
|
type: "section"
|
|
@@ -8720,7 +8720,7 @@ var um = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
8720
8720
|
{ type: "separator" },
|
|
8721
8721
|
{
|
|
8722
8722
|
label: s,
|
|
8723
|
-
icon:
|
|
8723
|
+
icon: Ra,
|
|
8724
8724
|
onClick: () => p(t.id),
|
|
8725
8725
|
critical: !0
|
|
8726
8726
|
}
|
|
@@ -9239,7 +9239,7 @@ function Wm({ value: e, onChange: t, onBlur: n, config: r }) {
|
|
|
9239
9239
|
u ? /* @__PURE__ */ X("div", {
|
|
9240
9240
|
className: "min-h-8 p-1",
|
|
9241
9241
|
children: /* @__PURE__ */ X(z, {
|
|
9242
|
-
icon: t.correct ?
|
|
9242
|
+
icon: t.correct ? fo : Dr,
|
|
9243
9243
|
color: t.correct ? "positive" : "critical",
|
|
9244
9244
|
"aria-hidden": !0
|
|
9245
9245
|
})
|
|
@@ -9280,7 +9280,7 @@ function Jm(e, t) {
|
|
|
9280
9280
|
});
|
|
9281
9281
|
}
|
|
9282
9282
|
function Ym(e, t) {
|
|
9283
|
-
return
|
|
9283
|
+
return Mi().optional().superRefine((n, r) => {
|
|
9284
9284
|
e && n == null && r.addIssue({
|
|
9285
9285
|
code: "custom",
|
|
9286
9286
|
message: t("forms.validation.required")
|
|
@@ -9296,7 +9296,7 @@ function Xm(e, t) {
|
|
|
9296
9296
|
});
|
|
9297
9297
|
}
|
|
9298
9298
|
function Zm(e, t) {
|
|
9299
|
-
return
|
|
9299
|
+
return pa().optional().superRefine((n, r) => {
|
|
9300
9300
|
e && !n && r.addIssue({
|
|
9301
9301
|
code: "custom",
|
|
9302
9302
|
message: t("forms.validation.required")
|
|
@@ -9305,7 +9305,7 @@ function Zm(e, t) {
|
|
|
9305
9305
|
}
|
|
9306
9306
|
var Qm = Xm;
|
|
9307
9307
|
function $m(e, t) {
|
|
9308
|
-
return
|
|
9308
|
+
return bi().optional().superRefine((n, r) => {
|
|
9309
9309
|
e && !n && r.addIssue({
|
|
9310
9310
|
code: "custom",
|
|
9311
9311
|
message: t("forms.validation.required")
|
|
@@ -9355,7 +9355,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
9355
9355
|
placeholder: t("surveyFormBuilder.answer.textPlaceholder"),
|
|
9356
9356
|
disabled: i
|
|
9357
9357
|
};
|
|
9358
|
-
return
|
|
9358
|
+
return ji(qm(!!e.required, t), {
|
|
9359
9359
|
...c,
|
|
9360
9360
|
fieldType: "custom",
|
|
9361
9361
|
render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Yp, {
|
|
@@ -9383,7 +9383,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
9383
9383
|
rows: 4,
|
|
9384
9384
|
disabled: i
|
|
9385
9385
|
};
|
|
9386
|
-
return
|
|
9386
|
+
return ji(qm(!!e.required, t), {
|
|
9387
9387
|
...c,
|
|
9388
9388
|
fieldType: "custom",
|
|
9389
9389
|
render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Yp, {
|
|
@@ -9410,7 +9410,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
9410
9410
|
placeholder: t("surveyFormBuilder.answer.numericPlaceholder"),
|
|
9411
9411
|
disabled: i
|
|
9412
9412
|
};
|
|
9413
|
-
return
|
|
9413
|
+
return ji(Ym(!!e.required, t), {
|
|
9414
9414
|
...c,
|
|
9415
9415
|
fieldType: "custom",
|
|
9416
9416
|
render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Yp, {
|
|
@@ -9438,7 +9438,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
9438
9438
|
placeholder: t("surveyFormBuilder.answer.linkPlaceholder"),
|
|
9439
9439
|
disabled: i
|
|
9440
9440
|
};
|
|
9441
|
-
return
|
|
9441
|
+
return ji(Jm(!!e.required, t), {
|
|
9442
9442
|
...c,
|
|
9443
9443
|
fieldType: "custom",
|
|
9444
9444
|
render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Yp, {
|
|
@@ -9465,7 +9465,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
9465
9465
|
clearable: !e.required,
|
|
9466
9466
|
disabled: i
|
|
9467
9467
|
};
|
|
9468
|
-
return
|
|
9468
|
+
return ji(Zm(!!e.required, t), {
|
|
9469
9469
|
...c,
|
|
9470
9470
|
fieldType: "custom",
|
|
9471
9471
|
render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Yp, {
|
|
@@ -9501,7 +9501,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
9501
9501
|
showSearchBox: r,
|
|
9502
9502
|
searchBoxPlaceholder: e.searchBoxPlaceholder
|
|
9503
9503
|
};
|
|
9504
|
-
return
|
|
9504
|
+
return ji(qm(!!e.required, t), {
|
|
9505
9505
|
...c,
|
|
9506
9506
|
fieldType: "custom",
|
|
9507
9507
|
render: ({ value: t, onChange: r, onBlur: i, error: o }) => {
|
|
@@ -9550,7 +9550,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
9550
9550
|
showSearchBox: r,
|
|
9551
9551
|
searchBoxPlaceholder: e.searchBoxPlaceholder
|
|
9552
9552
|
};
|
|
9553
|
-
return
|
|
9553
|
+
return ji(Xm(!!e.required, t), {
|
|
9554
9554
|
...c,
|
|
9555
9555
|
fieldType: "custom",
|
|
9556
9556
|
render: ({ value: e, onChange: t, onBlur: n, error: r }) => /* @__PURE__ */ X(Yp, {
|
|
@@ -9577,7 +9577,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
9577
9577
|
disabled: i,
|
|
9578
9578
|
showAnswerValidation: r
|
|
9579
9579
|
};
|
|
9580
|
-
return
|
|
9580
|
+
return ji(qm(!!e.required, t), {
|
|
9581
9581
|
...c,
|
|
9582
9582
|
fieldType: "custom",
|
|
9583
9583
|
fieldConfig: n,
|
|
@@ -9600,7 +9600,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
9600
9600
|
disabled: i,
|
|
9601
9601
|
showAnswerValidation: r
|
|
9602
9602
|
};
|
|
9603
|
-
return
|
|
9603
|
+
return ji(Xm(!!e.required, t), {
|
|
9604
9604
|
...c,
|
|
9605
9605
|
fieldType: "custom",
|
|
9606
9606
|
fieldConfig: n,
|
|
@@ -9622,7 +9622,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
9622
9622
|
maxLabel: n.maxLabel,
|
|
9623
9623
|
disabled: i
|
|
9624
9624
|
};
|
|
9625
|
-
return
|
|
9625
|
+
return ji(Ym(!!e.required, t), {
|
|
9626
9626
|
...c,
|
|
9627
9627
|
fieldType: "custom",
|
|
9628
9628
|
fieldConfig: r,
|
|
@@ -9648,7 +9648,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
9648
9648
|
useUpload: r ?? Km,
|
|
9649
9649
|
disabled: i || !r
|
|
9650
9650
|
};
|
|
9651
|
-
return
|
|
9651
|
+
return ji(Qm(!!e.required, t), {
|
|
9652
9652
|
...c,
|
|
9653
9653
|
fieldType: "custom",
|
|
9654
9654
|
render: ({ value: e, onChange: t, onBlur: n, error: r }) => /* @__PURE__ */ X(Yp, {
|
|
@@ -9674,7 +9674,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
9674
9674
|
label: n.label || s,
|
|
9675
9675
|
disabled: i
|
|
9676
9676
|
};
|
|
9677
|
-
return
|
|
9677
|
+
return ji($m(!!e.required, t), {
|
|
9678
9678
|
...c,
|
|
9679
9679
|
fieldType: "custom",
|
|
9680
9680
|
render: ({ value: e, onChange: t, onBlur: n, error: i }) => /* @__PURE__ */ X(Yp, {
|
|
@@ -9693,7 +9693,7 @@ function nh({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
9693
9693
|
})
|
|
9694
9694
|
});
|
|
9695
9695
|
}
|
|
9696
|
-
default: return
|
|
9696
|
+
default: return ji(ki(), {
|
|
9697
9697
|
...c,
|
|
9698
9698
|
fieldType: "custom",
|
|
9699
9699
|
render: () => null
|
|
@@ -9732,7 +9732,7 @@ function rh({ elements: e, mode: t, t: n, defaultValues: r, currentQuestionId: i
|
|
|
9732
9732
|
}), d[e.id] = a?.[e.id] ?? eh(e, r);
|
|
9733
9733
|
}
|
|
9734
9734
|
return {
|
|
9735
|
-
schema:
|
|
9735
|
+
schema: ua(u),
|
|
9736
9736
|
defaultValues: d,
|
|
9737
9737
|
flatQuestions: p,
|
|
9738
9738
|
sections: f
|
|
@@ -9823,12 +9823,12 @@ function sh({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
|
|
|
9823
9823
|
}, A.goToPrevious();
|
|
9824
9824
|
}, [w, A.goToPrevious]), de = u && !p ? [{
|
|
9825
9825
|
label: y(S ? "surveyAnsweringForm.actions.collapse" : "surveyAnsweringForm.actions.expand"),
|
|
9826
|
-
icon: S ?
|
|
9826
|
+
icon: S ? ma : Ri,
|
|
9827
9827
|
onClick: () => C((e) => !e)
|
|
9828
9828
|
}] : void 0, fe = j ? p || N ? void 0 : P ? M && !A.isLastStep ? {
|
|
9829
9829
|
label: y("surveyAnsweringForm.actions.next"),
|
|
9830
9830
|
onClick: A.goToNext,
|
|
9831
|
-
icon:
|
|
9831
|
+
icon: Ca
|
|
9832
9832
|
} : {
|
|
9833
9833
|
label: y("surveyAnsweringForm.actions.submit"),
|
|
9834
9834
|
onClick: ih,
|
|
@@ -9836,7 +9836,7 @@ function sh({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
|
|
|
9836
9836
|
} : M && !A.isLastStep ? {
|
|
9837
9837
|
label: y("surveyAnsweringForm.actions.next"),
|
|
9838
9838
|
onClick: ce,
|
|
9839
|
-
icon:
|
|
9839
|
+
icon: Ca
|
|
9840
9840
|
} : {
|
|
9841
9841
|
label: y("surveyAnsweringForm.actions.submit"),
|
|
9842
9842
|
onClick: ce,
|
|
@@ -9847,7 +9847,7 @@ function sh({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
|
|
|
9847
9847
|
onClick: le,
|
|
9848
9848
|
icon: $o
|
|
9849
9849
|
} : void 0 : void 0, me = n === "all-questions" && j && !p, he = M && j && !p, ge = M && !!A.currentQuestion?.sectionTitle && !p, _e = F === "center" || F === "fullscreen";
|
|
9850
|
-
return /* @__PURE__ */ X(
|
|
9850
|
+
return /* @__PURE__ */ X(Qa, {
|
|
9851
9851
|
isOpen: o,
|
|
9852
9852
|
onClose: s,
|
|
9853
9853
|
title: r,
|
|
@@ -10126,18 +10126,18 @@ function gh({ isOpen: e, onClose: t, title: n, children: r, module: i, portalCon
|
|
|
10126
10126
|
let [o, s] = J(e);
|
|
10127
10127
|
return G(() => {
|
|
10128
10128
|
s(e);
|
|
10129
|
-
}, [e]), /* @__PURE__ */ X(
|
|
10129
|
+
}, [e]), /* @__PURE__ */ X(_i, {
|
|
10130
10130
|
open: o,
|
|
10131
10131
|
onOpenChange: (e) => {
|
|
10132
10132
|
s(e), e || t();
|
|
10133
10133
|
},
|
|
10134
10134
|
modal: !0,
|
|
10135
|
-
children: /* @__PURE__ */ Z(
|
|
10135
|
+
children: /* @__PURE__ */ Z(qi, {
|
|
10136
10136
|
className: "max-h-[620px] w-[760px] overflow-y-auto overflow-x-hidden bg-f1-background",
|
|
10137
10137
|
container: a,
|
|
10138
10138
|
children: [/* @__PURE__ */ Z("div", {
|
|
10139
10139
|
className: "flex flex-row items-center justify-between px-4 py-4",
|
|
10140
|
-
children: [/* @__PURE__ */ Z(
|
|
10140
|
+
children: [/* @__PURE__ */ Z(La, {
|
|
10141
10141
|
className: "flex flex-row items-center gap-2 text-lg font-semibold text-f1-foreground",
|
|
10142
10142
|
children: [i ? /* @__PURE__ */ X(vo, {
|
|
10143
10143
|
module: i,
|
|
@@ -10235,10 +10235,10 @@ function yh({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
|
|
|
10235
10235
|
o && o(!l);
|
|
10236
10236
|
}, [o, l]);
|
|
10237
10237
|
let f = e?.includes(".mp4");
|
|
10238
|
-
return /* @__PURE__ */ X(Y, { children: l ? null : /* @__PURE__ */ Z(
|
|
10238
|
+
return /* @__PURE__ */ X(Y, { children: l ? null : /* @__PURE__ */ Z(gi, {
|
|
10239
10239
|
style: { width: a },
|
|
10240
10240
|
className: "relative bg-f1-background p-1",
|
|
10241
|
-
children: [/* @__PURE__ */ Z(
|
|
10241
|
+
children: [/* @__PURE__ */ Z(Ki, { children: [i ? /* @__PURE__ */ X("div", {
|
|
10242
10242
|
className: "absolute right-2 top-2 z-10",
|
|
10243
10243
|
children: /* @__PURE__ */ X(R, {
|
|
10244
10244
|
variant: "ghost",
|
|
@@ -10268,7 +10268,7 @@ function yh({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
|
|
|
10268
10268
|
className: "line-clamp-3 text-base font-normal text-f1-foreground-secondary",
|
|
10269
10269
|
children: n
|
|
10270
10270
|
})]
|
|
10271
|
-
})] })] }), s ? /* @__PURE__ */ X(
|
|
10271
|
+
})] })] }), s ? /* @__PURE__ */ X(Yi, {
|
|
10272
10272
|
className: "p-3",
|
|
10273
10273
|
children: s.map((e) => e.type === "upsell" ? /* @__PURE__ */ X(v, {
|
|
10274
10274
|
label: e.label,
|
|
@@ -10382,7 +10382,7 @@ wh.displayName = "UpsellingBanner";
|
|
|
10382
10382
|
var Th = L(wh);
|
|
10383
10383
|
//#endregion
|
|
10384
10384
|
//#region src/domains/growth/upselling/UpsellingKit/UpsellingPopover/UpsellingPopover.tsx
|
|
10385
|
-
function Eh({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i = "md", showIcon: a = !0, side: o = "right", align: s = "center", icon: c =
|
|
10385
|
+
function Eh({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i = "md", showIcon: a = !0, side: o = "right", align: s = "center", icon: c = Ii, mediaUrl: l, title: u, description: d, width: f = "300px", trackVisibility: p, actions: m, onClick: h, hideLabel: g = !1 }) {
|
|
10386
10386
|
let [_, v] = J(!1), [y, b] = J(null), [x, S] = J(null), C = (e) => {
|
|
10387
10387
|
t(e), h && h();
|
|
10388
10388
|
}, w = async (e) => {
|
|
@@ -10442,9 +10442,9 @@ function Eh({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i
|
|
|
10442
10442
|
}
|
|
10443
10443
|
var Dh = L(Eh), Oh = ({ preview: e, moduleName: t, description: n, onAction: r, actionHref: i }) => {
|
|
10444
10444
|
let a = V(), o = a?.ai?.growth?.demoCard?.title ?? "Show {{moduleName}} in action", s = a?.ai?.growth?.demoCard?.actionLabel ?? "Start demo", c = o.replace("{{moduleName}}", t);
|
|
10445
|
-
return /* @__PURE__ */ Z(
|
|
10445
|
+
return /* @__PURE__ */ Z(gi, {
|
|
10446
10446
|
className: "flex flex-col overflow-hidden",
|
|
10447
|
-
children: [/* @__PURE__ */ Z(
|
|
10447
|
+
children: [/* @__PURE__ */ Z(Ki, {
|
|
10448
10448
|
className: "flex flex-col gap-4 p-0",
|
|
10449
10449
|
children: [/* @__PURE__ */ X("div", {
|
|
10450
10450
|
className: H("overflow-hidden rounded-lg border border-f1-border", "ring-1 ring-f1-border/50 bg-f1-background-inverse-secondary dark:bg-f1-background-tertiary"),
|
|
@@ -10459,7 +10459,7 @@ var Dh = L(Eh), Oh = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
10459
10459
|
children: n
|
|
10460
10460
|
})]
|
|
10461
10461
|
})]
|
|
10462
|
-
}), /* @__PURE__ */ X(
|
|
10462
|
+
}), /* @__PURE__ */ X(Yi, {
|
|
10463
10463
|
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",
|
|
10464
10464
|
children: i ? /* @__PURE__ */ X(R, {
|
|
10465
10465
|
variant: "default",
|
|
@@ -10506,7 +10506,7 @@ var Dh = L(Eh), Oh = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
10506
10506
|
})
|
|
10507
10507
|
})]
|
|
10508
10508
|
}), Ah = ({ headerIcon: e, items: t, defaultExpandedId: n, expandedId: r, onExpandedChange: i, allowMultiple: a = !1 }) => {
|
|
10509
|
-
let o = V()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", s = e ??
|
|
10509
|
+
let o = V()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", s = e ?? oo, [c, l] = J(() => new Set(n ? [n] : [])), u = r !== void 0, d = W((e) => u ? r === e : c.has(e), [
|
|
10510
10510
|
u,
|
|
10511
10511
|
r,
|
|
10512
10512
|
c
|
|
@@ -10521,9 +10521,9 @@ var Dh = L(Eh), Oh = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
10521
10521
|
i,
|
|
10522
10522
|
a
|
|
10523
10523
|
]);
|
|
10524
|
-
return t.length === 0 ? null : /* @__PURE__ */ Z(
|
|
10524
|
+
return t.length === 0 ? null : /* @__PURE__ */ Z(gi, {
|
|
10525
10525
|
className: "flex flex-col overflow-hidden",
|
|
10526
|
-
children: [/* @__PURE__ */ Z(
|
|
10526
|
+
children: [/* @__PURE__ */ Z($i, {
|
|
10527
10527
|
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",
|
|
10528
10528
|
children: [/* @__PURE__ */ X("div", {
|
|
10529
10529
|
className: "flex h-6 w-6 items-center justify-center rounded-full border border-f1-border-secondary",
|
|
@@ -10536,7 +10536,7 @@ var Dh = L(Eh), Oh = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
10536
10536
|
className: "text-base font-semibold text-f1-foreground",
|
|
10537
10537
|
children: o
|
|
10538
10538
|
})]
|
|
10539
|
-
}), /* @__PURE__ */ X(
|
|
10539
|
+
}), /* @__PURE__ */ X(Ki, {
|
|
10540
10540
|
className: "flex flex-col divide-y divide-f1-border p-0",
|
|
10541
10541
|
children: t.map((e) => /* @__PURE__ */ X(kh, {
|
|
10542
10542
|
item: e,
|
|
@@ -10547,9 +10547,9 @@ var Dh = L(Eh), Oh = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
10547
10547
|
});
|
|
10548
10548
|
}, jh = ({ moduleName: e, description: t, onAction: n, actionHref: r, imageSrc: i }) => {
|
|
10549
10549
|
let a = V()?.ai?.growth?.moduleCard?.actionLabel ?? "Learn more";
|
|
10550
|
-
return /* @__PURE__ */ Z(
|
|
10550
|
+
return /* @__PURE__ */ Z(gi, {
|
|
10551
10551
|
className: "flex flex-col overflow-hidden",
|
|
10552
|
-
children: [/* @__PURE__ */ X(
|
|
10552
|
+
children: [/* @__PURE__ */ X(Ki, {
|
|
10553
10553
|
className: "flex flex-col gap-3 p-0",
|
|
10554
10554
|
children: /* @__PURE__ */ Z("div", {
|
|
10555
10555
|
className: "flex items-start gap-3",
|
|
@@ -10571,7 +10571,7 @@ var Dh = L(Eh), Oh = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
10571
10571
|
})]
|
|
10572
10572
|
})]
|
|
10573
10573
|
})
|
|
10574
|
-
}), /* @__PURE__ */ X(
|
|
10574
|
+
}), /* @__PURE__ */ X(Yi, {
|
|
10575
10575
|
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",
|
|
10576
10576
|
children: r ? /* @__PURE__ */ X(R, {
|
|
10577
10577
|
variant: "outline",
|
|
@@ -10589,12 +10589,12 @@ var Dh = L(Eh), Oh = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
10589
10589
|
});
|
|
10590
10590
|
}, Mh = ({ onAction: e, actionHref: t }) => {
|
|
10591
10591
|
let n = V()?.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";
|
|
10592
|
-
return /* @__PURE__ */ Z(
|
|
10592
|
+
return /* @__PURE__ */ Z(gi, {
|
|
10593
10593
|
className: "flex flex-col overflow-hidden",
|
|
10594
|
-
children: [/* @__PURE__ */ Z(
|
|
10594
|
+
children: [/* @__PURE__ */ Z(Ki, {
|
|
10595
10595
|
className: "flex flex-col gap-3 p-0",
|
|
10596
10596
|
children: [/* @__PURE__ */ X(z, {
|
|
10597
|
-
icon:
|
|
10597
|
+
icon: Vi,
|
|
10598
10598
|
size: "lg"
|
|
10599
10599
|
}), /* @__PURE__ */ Z("div", {
|
|
10600
10600
|
className: "flex flex-col gap-0.5",
|
|
@@ -10606,7 +10606,7 @@ var Dh = L(Eh), Oh = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
10606
10606
|
children: i
|
|
10607
10607
|
})]
|
|
10608
10608
|
})]
|
|
10609
|
-
}), /* @__PURE__ */ X(
|
|
10609
|
+
}), /* @__PURE__ */ X(Yi, {
|
|
10610
10610
|
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",
|
|
10611
10611
|
children: t ? /* @__PURE__ */ X(R, {
|
|
10612
10612
|
variant: "default",
|
|
@@ -10652,9 +10652,9 @@ var Dh = L(Eh), Oh = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
10652
10652
|
e,
|
|
10653
10653
|
t
|
|
10654
10654
|
]), g = a === u - 1, _ = u > 1, v = n != null;
|
|
10655
|
-
return u === 0 || !d ? null : /* @__PURE__ */ Z(
|
|
10655
|
+
return u === 0 || !d ? null : /* @__PURE__ */ Z(gi, {
|
|
10656
10656
|
className: "flex flex-col overflow-hidden",
|
|
10657
|
-
children: [/* @__PURE__ */ Z(
|
|
10657
|
+
children: [/* @__PURE__ */ Z(Ki, {
|
|
10658
10658
|
className: "flex flex-col gap-4",
|
|
10659
10659
|
children: [/* @__PURE__ */ X("h3", {
|
|
10660
10660
|
className: "text-base font-semibold text-f1-foreground",
|
|
@@ -10671,7 +10671,7 @@ var Dh = L(Eh), Oh = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
10671
10671
|
})
|
|
10672
10672
|
}, e.id))
|
|
10673
10673
|
})]
|
|
10674
|
-
}), /* @__PURE__ */ Z(
|
|
10674
|
+
}), /* @__PURE__ */ Z(Yi, {
|
|
10675
10675
|
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",
|
|
10676
10676
|
children: [/* @__PURE__ */ X("div", {
|
|
10677
10677
|
className: "flex min-w-[7.5rem] items-center justify-start gap-1",
|
|
@@ -11218,23 +11218,23 @@ function xg({ chartContainerRef: e, chartConfig: t, data: n, title: r }) {
|
|
|
11218
11218
|
return K(() => n ? [
|
|
11219
11219
|
{
|
|
11220
11220
|
label: i("ai.dataDownload.download", { format: "PNG" }),
|
|
11221
|
-
icon:
|
|
11221
|
+
icon: Fa,
|
|
11222
11222
|
onClick: () => a("png")
|
|
11223
11223
|
},
|
|
11224
11224
|
{
|
|
11225
11225
|
label: i("ai.dataDownload.download", { format: "JPG" }),
|
|
11226
|
-
icon:
|
|
11226
|
+
icon: Fa,
|
|
11227
11227
|
onClick: () => a("jpg")
|
|
11228
11228
|
},
|
|
11229
11229
|
{ type: "separator" },
|
|
11230
11230
|
{
|
|
11231
11231
|
label: i("ai.dataDownload.download", { format: "Excel" }),
|
|
11232
|
-
icon:
|
|
11232
|
+
icon: Pa,
|
|
11233
11233
|
onClick: s
|
|
11234
11234
|
},
|
|
11235
11235
|
{
|
|
11236
11236
|
label: i("ai.dataDownload.download", { format: "CSV" }),
|
|
11237
|
-
icon:
|
|
11237
|
+
icon: Pa,
|
|
11238
11238
|
onClick: c
|
|
11239
11239
|
}
|
|
11240
11240
|
] : [], [
|
|
@@ -11464,7 +11464,7 @@ function Eg({ title: e, enabled: t, actionsCollapse: n }) {
|
|
|
11464
11464
|
//#endregion
|
|
11465
11465
|
//#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/DashboardItem/DashboardItem.tsx
|
|
11466
11466
|
function Dg({ 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 }) {
|
|
11467
|
-
let [C, w] = J(!1), [T, E] = J(!1), D = q(!1), [O, k] = J(!1), A = V(), { enabled: j, setPendingQuote: ee, setOpen: M, focusChatInput: N } =
|
|
11467
|
+
let [C, w] = J(!1), [T, E] = J(!1), D = q(!1), [O, k] = J(!1), A = V(), { enabled: j, setPendingQuote: ee, setOpen: M, focusChatInput: N } = ra(), P = (e) => {
|
|
11468
11468
|
w(e), e || k(!1);
|
|
11469
11469
|
}, te = c.filter((e) => !("type" in e) || e.type === "item" || e.type === void 0), ne = te.length > 0, re = u && f && h, F = g && g.length > 0, ie = !!_ && _.trim().length > 0, I = !!S, ae = !d && e.trim().length > 0 && (p ? !!h : j), oe = ae || ne || re || F || ie, se = !!l || I || !!oe, ce = !v && (C || T), le = H("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", ce && "delay-0 !opacity-100"), de = H("-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]", ce && "delay-0 !grid-cols-[1fr]"), fe = Eg({
|
|
11470
11470
|
title: e,
|
|
@@ -11492,7 +11492,7 @@ function Dg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
11492
11492
|
onClick: he,
|
|
11493
11493
|
children: /* @__PURE__ */ Z("div", {
|
|
11494
11494
|
className: "flex w-full flex-row items-center gap-2",
|
|
11495
|
-
children: [/* @__PURE__ */ X(z, { icon:
|
|
11495
|
+
children: [/* @__PURE__ */ X(z, { icon: ia }), /* @__PURE__ */ X("span", {
|
|
11496
11496
|
className: "flex-1",
|
|
11497
11497
|
children: A.ai.dashboardItem.askOne
|
|
11498
11498
|
})]
|
|
@@ -11529,7 +11529,7 @@ function Dg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
11529
11529
|
asChild: !0,
|
|
11530
11530
|
children: /* @__PURE__ */ X(Qn, {
|
|
11531
11531
|
label: A.actions.other,
|
|
11532
|
-
icon:
|
|
11532
|
+
icon: la,
|
|
11533
11533
|
variant: "ghost",
|
|
11534
11534
|
size: "md",
|
|
11535
11535
|
hideLabel: !0,
|
|
@@ -11595,7 +11595,7 @@ function Dg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
11595
11595
|
}) : null,
|
|
11596
11596
|
I ? /* @__PURE__ */ X(Qn, {
|
|
11597
11597
|
label: v ? A.actions.collapse : A.actions.expand,
|
|
11598
|
-
icon: v ?
|
|
11598
|
+
icon: v ? ma : Ri,
|
|
11599
11599
|
variant: "ghost",
|
|
11600
11600
|
size: "md",
|
|
11601
11601
|
hideLabel: !0,
|
|
@@ -11609,7 +11609,7 @@ function Dg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
11609
11609
|
asChild: !0,
|
|
11610
11610
|
children: /* @__PURE__ */ X(Qn, {
|
|
11611
11611
|
label: A.actions.other,
|
|
11612
|
-
icon:
|
|
11612
|
+
icon: la,
|
|
11613
11613
|
variant: "ghost",
|
|
11614
11614
|
size: "md",
|
|
11615
11615
|
hideLabel: !0,
|
|
@@ -11623,7 +11623,7 @@ function Dg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
11623
11623
|
onCloseAutoFocus: ge,
|
|
11624
11624
|
children: O && ie ? /* @__PURE__ */ X("div", {
|
|
11625
11625
|
className: "px-3 py-2 text-base text-f1-foreground [&>div]:flex [&>div]:flex-col [&>div]:gap-2",
|
|
11626
|
-
children: /* @__PURE__ */ X(
|
|
11626
|
+
children: /* @__PURE__ */ X(Ja, {
|
|
11627
11627
|
content: _,
|
|
11628
11628
|
format: "markdown"
|
|
11629
11629
|
})
|
|
@@ -11666,7 +11666,7 @@ function Dg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
11666
11666
|
className: "mx-1 rounded-sm px-2",
|
|
11667
11667
|
children: /* @__PURE__ */ Z("div", {
|
|
11668
11668
|
className: "flex w-full flex-row items-center gap-2 pr-2",
|
|
11669
|
-
children: [/* @__PURE__ */ X(z, { icon:
|
|
11669
|
+
children: [/* @__PURE__ */ X(z, { icon: Ci }), /* @__PURE__ */ X("span", {
|
|
11670
11670
|
className: "flex-1 text-base font-medium",
|
|
11671
11671
|
children: A.ai.dataDownload.title
|
|
11672
11672
|
})]
|
|
@@ -11688,7 +11688,7 @@ function Dg({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
11688
11688
|
className: H("text-f1-foreground-critical"),
|
|
11689
11689
|
children: /* @__PURE__ */ Z("div", {
|
|
11690
11690
|
className: "flex w-full flex-row items-center gap-2",
|
|
11691
|
-
children: [/* @__PURE__ */ X(z, { icon:
|
|
11691
|
+
children: [/* @__PURE__ */ X(z, { icon: Ra }), /* @__PURE__ */ X("span", {
|
|
11692
11692
|
className: "flex-1",
|
|
11693
11693
|
children: A.actions.delete
|
|
11694
11694
|
})]
|
|
@@ -11779,7 +11779,7 @@ function Ag({ anchor: e, onAsk: t, onDismiss: n, returnFocusTo: r }) {
|
|
|
11779
11779
|
type: "button",
|
|
11780
11780
|
variant: "ghost",
|
|
11781
11781
|
label: i.ai.dashboardItem.askOne,
|
|
11782
|
-
icon:
|
|
11782
|
+
icon: ia,
|
|
11783
11783
|
onClick: t
|
|
11784
11784
|
})
|
|
11785
11785
|
}), document.body);
|
|
@@ -11822,39 +11822,39 @@ function zg(e) {
|
|
|
11822
11822
|
{
|
|
11823
11823
|
label: e.dataChart.barChartVertical,
|
|
11824
11824
|
value: "bar-vertical",
|
|
11825
|
-
icon:
|
|
11825
|
+
icon: xi,
|
|
11826
11826
|
type: "bar",
|
|
11827
11827
|
orientation: "vertical"
|
|
11828
11828
|
},
|
|
11829
11829
|
{
|
|
11830
11830
|
label: e.dataChart.barChartHorizontal,
|
|
11831
11831
|
value: "bar-horizontal",
|
|
11832
|
-
icon:
|
|
11832
|
+
icon: fa,
|
|
11833
11833
|
type: "bar",
|
|
11834
11834
|
orientation: "horizontal"
|
|
11835
11835
|
},
|
|
11836
11836
|
{
|
|
11837
11837
|
label: e.dataChart.lineChart,
|
|
11838
11838
|
value: "line",
|
|
11839
|
-
icon:
|
|
11839
|
+
icon: Pi,
|
|
11840
11840
|
type: "line"
|
|
11841
11841
|
},
|
|
11842
11842
|
{
|
|
11843
11843
|
label: e.dataChart.funnel,
|
|
11844
11844
|
value: "funnel",
|
|
11845
|
-
icon:
|
|
11845
|
+
icon: va,
|
|
11846
11846
|
type: "funnel"
|
|
11847
11847
|
},
|
|
11848
11848
|
{
|
|
11849
11849
|
label: e.dataChart.pieChart,
|
|
11850
11850
|
value: "pie",
|
|
11851
|
-
icon:
|
|
11851
|
+
icon: ha,
|
|
11852
11852
|
type: "pie"
|
|
11853
11853
|
},
|
|
11854
11854
|
{
|
|
11855
11855
|
label: e.dataChart.table,
|
|
11856
11856
|
value: "table",
|
|
11857
|
-
icon:
|
|
11857
|
+
icon: Pa,
|
|
11858
11858
|
type: "table"
|
|
11859
11859
|
}
|
|
11860
11860
|
];
|
|
@@ -12022,7 +12022,7 @@ function Kg(e) {
|
|
|
12022
12022
|
return Vh(e.chart) && e.chart.type === "bar" && "orientation" in e.chart && e.chart.orientation === "horizontal";
|
|
12023
12023
|
}
|
|
12024
12024
|
function qg({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, readOnly: a, handleDelete: o, onAskAi: s, onAskAiTarget: c, onTransformChart: l, isFullscreen: u, onFullscreenChange: d }) {
|
|
12025
|
-
let f = V(), [p, m] = J("chart"), { enabled: h, setPendingQuote: g, setOpen: _, focusChatInput: v } =
|
|
12025
|
+
let f = V(), [p, m] = J("chart"), { enabled: h, setPendingQuote: g, setOpen: _, focusChatInput: v } = ra(), y = !Vh(e.chart), b = y ? Bg : e.chart, [x, S] = J(null), C = e.useDashboardFilters !== !1, w = JSON.stringify(r?.value ?? {}), { data: T, isLoading: E, error: D, retry: O } = Sg(e.fetchData, t, C, w), k = q(null), A = K(() => T && !y ? Ug(e, T) : void 0, [
|
|
12026
12026
|
e,
|
|
12027
12027
|
T,
|
|
12028
12028
|
y
|
|
@@ -12247,11 +12247,11 @@ function t_({ source: e, title: t, description: n, columns: r, tableSettings: i
|
|
|
12247
12247
|
]), l = W(() => c("excel"), [c]), u = W(() => c("csv"), [c]);
|
|
12248
12248
|
return K(() => e ? [{
|
|
12249
12249
|
label: a("ai.dataDownload.download", { format: "Excel" }),
|
|
12250
|
-
icon:
|
|
12250
|
+
icon: Pa,
|
|
12251
12251
|
onClick: l
|
|
12252
12252
|
}, {
|
|
12253
12253
|
label: a("ai.dataDownload.download", { format: "CSV" }),
|
|
12254
|
-
icon:
|
|
12254
|
+
icon: Pa,
|
|
12255
12255
|
onClick: u
|
|
12256
12256
|
}] : [], [
|
|
12257
12257
|
e,
|
|
@@ -12360,9 +12360,9 @@ function o_({ value: e, trend: t, comparison: n }) {
|
|
|
12360
12360
|
]), /* @__PURE__ */ X("div", {
|
|
12361
12361
|
ref: r,
|
|
12362
12362
|
tabIndex: o ? 0 : void 0,
|
|
12363
|
-
className: H("flex h-full min-h-0 overflow-auto px-4", c ? "items-center
|
|
12363
|
+
className: H("flex h-full min-h-0 overflow-auto px-4 pb-4", c ? "items-center" : "items-end", o && or("rounded-sm focus-visible:ring-inset focus-visible:ring-offset-0")),
|
|
12364
12364
|
children: /* @__PURE__ */ Z("div", {
|
|
12365
|
-
className: H("flex flex-col gap-1", c && "mx-auto -translate-y-
|
|
12365
|
+
className: H("flex flex-col gap-1", c && "mx-auto -translate-y-2"),
|
|
12366
12366
|
children: [/* @__PURE__ */ Z("div", {
|
|
12367
12367
|
className: "flex items-baseline gap-3",
|
|
12368
12368
|
children: [/* @__PURE__ */ X("span", {
|
|
@@ -12579,7 +12579,7 @@ function g_({ items: e, itemFilters: t, filters: n, editMode: r, readOnly: i, on
|
|
|
12579
12579
|
if (Math.hypot(t.clientX - n, t.clientY - r) < d_) return;
|
|
12580
12580
|
i = !0, T(e), M.current = Array.from(document.querySelectorAll("[data-ai-chat-dropzone]"));
|
|
12581
12581
|
let a = k.current.get(e)?.title ?? "";
|
|
12582
|
-
a && window.dispatchEvent(new CustomEvent(
|
|
12582
|
+
a && window.dispatchEvent(new CustomEvent(Zi, { detail: {
|
|
12583
12583
|
id: e,
|
|
12584
12584
|
title: a,
|
|
12585
12585
|
onAskAi: c,
|
|
@@ -12593,7 +12593,7 @@ function g_({ items: e, itemFilters: t, filters: n, editMode: r, readOnly: i, on
|
|
|
12593
12593
|
}, o = (e) => {
|
|
12594
12594
|
document.removeEventListener("pointermove", a), document.removeEventListener("pointerup", s), document.removeEventListener("pointercancel", u), N.current = null;
|
|
12595
12595
|
let t = A.current, n = j.current;
|
|
12596
|
-
e && i && t && n && P(t, n), A.current = null, j.current = null, M.current = [], T(null), D(null), i && window.dispatchEvent(new CustomEvent(
|
|
12596
|
+
e && i && t && n && P(t, n), A.current = null, j.current = null, M.current = [], T(null), D(null), i && window.dispatchEvent(new CustomEvent(Si));
|
|
12597
12597
|
}, s = (e) => {
|
|
12598
12598
|
i && (M.current = Array.from(document.querySelectorAll("[data-ai-chat-dropzone]")), j.current = te(e.clientX, e.clientY)), o(!0);
|
|
12599
12599
|
}, u = () => o(!1);
|
|
@@ -12771,7 +12771,7 @@ function __({ id: e, isDragging: t, showIndicatorBefore: n, showIndicatorAfter:
|
|
|
12771
12771
|
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",
|
|
12772
12772
|
"aria-label": "Drag to reorder",
|
|
12773
12773
|
children: /* @__PURE__ */ X(z, {
|
|
12774
|
-
icon:
|
|
12774
|
+
icon: no,
|
|
12775
12775
|
size: "xs"
|
|
12776
12776
|
})
|
|
12777
12777
|
}) : null, s]
|
|
@@ -12944,10 +12944,10 @@ function M_({ onExportExcel: e, isExporting: t }) {
|
|
|
12944
12944
|
return /* @__PURE__ */ X(Ta, {
|
|
12945
12945
|
items: [{
|
|
12946
12946
|
label: t ? n("ai.dataDownload.exporting") : n("ai.dataDownload.exportDashboard", { format: "Excel" }),
|
|
12947
|
-
icon:
|
|
12947
|
+
icon: Ci,
|
|
12948
12948
|
onClick: t ? () => {} : e
|
|
12949
12949
|
}],
|
|
12950
|
-
icon:
|
|
12950
|
+
icon: la
|
|
12951
12951
|
});
|
|
12952
12952
|
}
|
|
12953
12953
|
//#endregion
|
|
@@ -13930,7 +13930,7 @@ var Dv = ({ onClose: e }) => {
|
|
|
13930
13930
|
className: "dark flex flex-shrink-0 flex-row flex-wrap items-center gap-3",
|
|
13931
13931
|
children: [e.map((e) => /* @__PURE__ */ X("div", {
|
|
13932
13932
|
onClick: () => n(e),
|
|
13933
|
-
children: /* @__PURE__ */ X(
|
|
13933
|
+
children: /* @__PURE__ */ X(Ai, {
|
|
13934
13934
|
href: e.href,
|
|
13935
13935
|
children: e.label
|
|
13936
13936
|
})
|
|
@@ -13998,7 +13998,7 @@ var Dv = ({ onClose: e }) => {
|
|
|
13998
13998
|
}) : g && /* @__PURE__ */ X("div", {
|
|
13999
13999
|
className: "flex-shrink-0",
|
|
14000
14000
|
"aria-hidden": "true",
|
|
14001
|
-
children: /* @__PURE__ */ X(
|
|
14001
|
+
children: /* @__PURE__ */ X(Na, {
|
|
14002
14002
|
type: g,
|
|
14003
14003
|
size: "sm"
|
|
14004
14004
|
})
|
|
@@ -14361,7 +14361,7 @@ var Vv = H("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
|
|
|
14361
14361
|
renderDataTestIdAttribute: d,
|
|
14362
14362
|
children: /* @__PURE__ */ X(fy, {
|
|
14363
14363
|
...t,
|
|
14364
|
-
children: /* @__PURE__ */ X(
|
|
14364
|
+
children: /* @__PURE__ */ X(sa, {
|
|
14365
14365
|
handler: l,
|
|
14366
14366
|
children: /* @__PURE__ */ X(Mr, { children: /* @__PURE__ */ X(ct, {
|
|
14367
14367
|
...p,
|
|
@@ -14380,4 +14380,4 @@ var Vv = H("group/toast pointer-events-auto absolute bottom-0 left-0 right-0 fle
|
|
|
14380
14380
|
})
|
|
14381
14381
|
});
|
|
14382
14382
|
//#endregion
|
|
14383
|
-
export { Gr as AiChatTranslationsProvider, Ut as AreaChart, nc as Await, qe as BarChart, ql as BarChartSkeleton, de as CardSelectableContainer, $e as CategoryBarChart,
|
|
14383
|
+
export { Gr as AiChatTranslationsProvider, Ut as AreaChart, nc as Await, qe as BarChart, ql as BarChartSkeleton, de as CardSelectableContainer, $e as CategoryBarChart, Xi as ChatSpinner, Ro as Chip, ri as CollapsibleGroup, kt as ComboChart, st as DATA_COLLECTION_URL_PARAMS, rt as DATA_COLLECTION_URL_PARAM_PREFIX, Ol as Dashboard, vt as DataChartEmptyStateView, In as DataTestIdWrapper, Ue as DndProvider, Ia as DropOverlay, zn as EmojiImage, Id as F0Accordion, Ct as F0ActionBar, Ji as F0ActionItem, ca as F0AiChat, Kr as F0AiChatCreditsButton, ei as F0AiChatHeader, Zr as F0AiChatHistory, Ti as F0AiChatProvider, Nr as F0AiChatTextArea, Fr as F0AiChatUsageLimitsButton, Hr as F0AiFileAttachments, Ma as F0AiFilePreviewsProvider, Oi as F0AiFormRegistryProvider, ti as F0AiInsightCard, Ur as F0AiMask, qr as F0AiMessageSources, Ar as F0AiMessagesContainer, Ba as F0AiPong, si as F0AiProcessingOverlay, Jr as F0AiProposalCard, ci as F0AiTableCard, fe as F0Alert, H_ as F0AnalyticsDashboard, kd as F0AudioPlayer, Ad as F0AudioPlayerCard, Yr as F0AuraVoiceAnimation, No as F0Avatar, Na as F0AvatarAlert, wo as F0AvatarCompany, Ka as F0AvatarDate, mo as F0AvatarEmoji, To as F0AvatarFile, bo as F0AvatarIcon, So as F0AvatarList, vo as F0AvatarModule, Mo as F0AvatarPerson, ho as F0AvatarTeam, lu as F0BigNumber, Mh as F0BookAMeetingCard, Or as F0Box, R as F0Button, zi as F0ButtonDropdown, $s as F0ButtonToggle, $r as F0CanvasCard, $a as F0CanvasPanel, Di as F0Card, Gi as F0CardRow, yi as F0ChatComposer, vs as F0Checkbox, Bd as F0ChipList, li as F0ClarifyingPanel, lt as F0DataChart, o as F0DatePicker, rn as F0DatePickerInline, Oh as F0DemoCard, Qa as F0Dialog, ce as F0DialogAlikeContext, g as F0DialogAlikeProvider, Yo as F0DialogContext, Vs as F0DialogProvider, dc as F0DocumentViewer, Jd as F0Drawer, oe as F0DurationInput, Zs as F0EventCatcherProvider, Ah as F0FAQCard, Va as F0FileItem, Zd as F0FilterPickerContent, _e as F0Form, ff as F0FormField, vl as F0GridStack, Xr as F0HILActionConfirmation, Yt as F0Heading, z as F0Icon, Ai as F0Link, jh as F0ModuleCard, en as F0NotesTextEditor, ze as F0NotesTextEditorSkeleton, h as F0NumberInput, ve as F0NumberInputInline, wi as F0OneIcon, Ua as F0OneSwitch, uc as F0PdfViewer, hy as F0Provider, Nh as F0QuestionCardMultiStep, Ja as F0RichTextDisplay, ut as F0RichTextEditor, Ps as F0SearchInput, Ks as F0Select, r as F0SelectInline, $f as F0Slider, pp as F0TableOfContentPopover, rs as F0TagAlert, Wo as F0TagBalance, os as F0TagCompany, ns as F0TagDot, Bs as F0TagList, es as F0TagPerson, ks as F0TagRaw, zo as F0TagStatus, Os as F0TagTeam, t as F0Text, u as F0TextAreaInput, he as F0TextAreaInputInline, Ya as F0TextInput, Qt as F0TextInputInline, l as F0TimelineRow, cc as F0VideoPlayer, Ff as F0WizardForm, ws as F1SearchBox, F as FILE_TYPES, vi as FileItem, Mr as FormCardValueFormatterProvider, eu as FunnelChartSkeleton, xo as GROUP_ID_SYMBOL, jo as GROUP_KEY_SEPARATOR, ru as GaugeChartSkeleton, iu as HeatmapChartSkeleton, Wl as HomeLayout, Qe as InlineFieldRow, Ot as InlineFieldRowList, Li as Input, Vl as Layout, bt as LineChart, Xl as LineChartSkeleton, Fe as MAX_URL_FILTER_VALUES, Zt as NotesTextEditor, me as NotesTextEditorSkeleton, f as NumberInput, Ss as OneCalendar, ps as OneCalendarInternal, $n as OneEllipsis, ue as OneEmptyState, Hs as OneFilterPicker, ot as PieChart, tu as PieChartSkeleton, hi as PongBall, j as PrivacyModeProvider, hh as ProductBlankslate, et as ProductCard, vh as ProductModal, bh as ProductWidget, nt as ProgressBarChart, Pe as RadarChart, nu as RadarChartSkeleton, Ha as RichTextDisplay, te as RichTextEditor, Ql as ScatterChartSkeleton, Hl as StandardLayout, zm as SurveyAllQuestionsLoadingSkeleton, oh as SurveyAnsweringForm, jm as SurveyFormBuilder, lh as SurveySampleQuestion, Bm as SurveySteppedLoadingSkeleton, js as Tag, Is as TagCounter, Xt as Textarea, oi as ThreadItem, Wr as ThreadListSkeleton, ly as ToastProvider, Ul as TwoColumnLayout, se as UPLOAD_INPUT_ID, E as UpsellRequestResponseDialog, Ch as UpsellingAlert, Th as UpsellingBanner, v as UpsellingButton, Dh as UpsellingPopover, qt as VerticalBarChart, gs as WeekStartDay, Nt as actionBarStatuses, pi as actionItemStatuses, ea as adaptDataAdapterToInfiniteScroll, kr as aiChatFileFromShowFilesItem, Qr as aiChatFileFromUploadedFile, Ir as aiChatFilesFromMessage, Lr as aiChatMessageText, Vr as aiTranslations, Ud as alertVariantOptions, pu as audioPlayerSizes, Gl as avatarVariants, Jt as buildDataCollectionUrlParams, Vn as buildTranslations, fu as buttonDropdownModes, du as buttonDropdownSizes, uu as buttonDropdownVariants, wl as buttonSizes, Oe as buttonToggleColors, Ee as buttonToggleSizes, Ae as buttonToggleVariants, Cl as buttonVariants, Ld as cardAlertVariants, Ui as cardImageAspectRatios, aa as cardImageFits, uo as cardImageSizes, Lo as chartColorTokens, Qs as chipVariants, _p as computeSectionEndIds, lc as configurePdfWorker, ii as contentTypes, _t as createAtlaskitDriver, cs as createDataSourceDefinition, tf as createF0FormDefinitionTester, ef as createF0FormTester, xl as createPageLayoutBlock, Sl as createPageLayoutBlockGroup, Pr as createPersonMentionSource, Wd as dataCollectionLocalStorageHandler, Vd as datePickerInlineDismissReasons, Hd as datepickerSizes, po as defaultTranslations, Fi as defineAvailableForm, Qd as describeFormSchema, b as dialog, b as dialogs, ee as drawers, eo as durationInputSizes, Ga as durationUnits, Ne as evaluateRenderIf, qn as experimental, za as f0FileItemSizes, ji as f0FormField, ta as fieldsToSeconds, mp as flattenElements, hu as formatPlaybackTime, Vf as forms, at as generateAnchorId, ls as getAnimationVariants, ao as getDataCollectionStorageKey, us as getDataSourcePaginationType, sn as getEmojiLabel, Hi as getF0Config, Ys as getGranularityDefinition, bs as getGranularityDefinitions, ec as getGranularitySimpleDefinition, Kt as getSchemaDefinition, qs as granularityDefinitions, Xa as hasF0Config, Bi as inferFieldType, gp as injectSectionEnds, Do as isInfiniteScrollPagination, Ao as isPageBasedPagination, xa as isZodType, jd as linkVariants, zr as markdownRenderers, ro as mergeDataCollectionFilters, yo as modules, Br as oneIconSizes, nn as parseDataCollectionUrlParams, Hf as pdfScales, D as predefinedPresets, Gs as rangeSeparator, so as readDataCollectionStorage, hp as reconstructElements, Da as resolveDataCollectionFilters, Ls as resolveGranularityDefinition, At as resolveItemNeighbors, y as resolveWindowNeighbors, mi as secondsToFields, Aa as secondsToVisibleFields, Uf as selectInlineDismissReasons, be as selectSizes, x as selectVariants, Ve as setDataCollectionUrlParams, Wf as sliderTooltipModes, $t as syncDataCollectionUrlParams, tp as tagDotColors, ep as timelineRowStatuses, Pt as toasts, wa as unwrapZodSchema, ni as usageLimitsPopoverSides, ra as useAiChat, di as useAiChatTranslations, Bt as useAudioPlayer, fi as useCanvasEntity, ai as useChatHistory, Co as useData, Go as useDataSource, Ce as useDataSourceItemNavigation, Su as useDerivedTranscription, Le as useDndEvents, wt as useDraggable, Ft as useDroppableList, Rn as useEmojiConfetti, Wi as useF0AiFormRegistry, Jo as useF0Dialog, w as useF0DialogAlikeContext, Ke as useF0Form, zt as useF0FormDefinition, jr as useFormCardValueFormatter, my as useFormComponent, Ko as useGroups, U_ as useIsDesktop, W_ as useIsMobile, A as useItemNeighbors, jt as usePrivacyMode, hn as useReducedMotion, tn as useSchemaDefinition, Io as useSelectable, Rr as useSetFormCardValueFormatter, ui as useToolCallId, On as useXRay, L as withDataTestId, ge as writeDataCollectionStorage };
|