@factorialco/f0-react 16.11.0 → 16.12.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-DJweQgX7.js → ArchiveThumbnail-BwCie4ZN.js} +4 -4
- package/dist/{ArchiveViewer-Km1TKgFb.js → ArchiveViewer-J99cTOZk.js} +2 -2
- package/dist/{ChatPostComposerDialog-CCC7YKUD.js → ChatPostComposerDialog-C6P_gLjC.js} +2 -2
- package/dist/{CoachmarkProvider-BcEZ_QWn.js → CoachmarkProvider-BihAvRd7.js} +14505 -14505
- package/dist/{CodeThumbnail-Chb0ieho.js → CodeThumbnail-BrXM_Etf.js} +1 -1
- package/dist/{CodeViewer-WLo5D_RK.js → CodeViewer-B1CdgUib.js} +3 -3
- package/dist/{DocumentToolbar-lmyD37ld.js → DocumentToolbar-B4FTTNkN.js} +1 -1
- package/dist/{DocxViewer-BlqUv7RG.js → DocxViewer-CMX0V1kB.js} +1 -1
- package/dist/{F0AiProcessingOverlay-N5Ksi59G.js → F0AiProcessingOverlay-B0Dhl0ek.js} +1587 -1587
- package/dist/{F0Alert-E_q63x7K.js → F0Alert-CXtfc-sL.js} +11 -11
- package/dist/F0AudioPlayer-Cx38C20T.js +2 -0
- package/dist/{F0CanvasPanel-BA3Mt1E-.js → F0CanvasPanel-BlTALv-d.js} +7657 -7521
- package/dist/{F0DocumentViewer-Ci5emCop.js → F0DocumentViewer-IO5gGhnu.js} +2 -2
- package/dist/{F0DocumentViewer-pjbU0u6F.js → F0DocumentViewer-rkhoBKx6.js} +1 -1
- package/dist/{F0Map-DoaIix0D.js → F0Map-bWn-jjyc.js} +14 -14
- package/dist/{F0VideoPlayer-JnUz6Unm.js → F0VideoPlayer-CAsJ7Htq.js} +19 -19
- package/dist/F0VideoPlayer-V-YsiPSM.js +1 -0
- package/dist/{HtmlViewer-Ia6kpATq.js → HtmlViewer-DyBvJkO4.js} +3 -3
- package/dist/{Map-CKsBbgc9.js → Map-Dsd3Z0cP.js} +3 -3
- package/dist/{PdfThumbnail-BFjLupts.js → PdfThumbnail-C9Mhhpth.js} +1 -1
- package/dist/{PdfViewer-DbIa5mSo.js → PdfViewer-Dgm0q0TP.js} +4 -4
- package/dist/{SheetViewer-CrbAJuUQ.js → SheetViewer-BKqsZMnt.js} +11 -11
- package/dist/{TextViewer-kmTbiEeQ.js → TextViewer-jXuXWITH.js} +1 -1
- package/dist/ai.d.ts +2 -2
- package/dist/ai.js +3 -3
- package/dist/component-status.js +2 -2
- package/dist/experimental.d.ts +19 -7
- package/dist/experimental.js +7642 -7179
- package/dist/{exports-DRNFj_kP.d.ts → exports-CgvkBoX5.d.ts} +2 -2
- package/dist/f0.d.ts +3 -3
- package/dist/f0.js +167 -167
- package/dist/{highlight-BmsUBNJ7.js → highlight-ZvTVxgBP.js} +7 -7
- package/dist/{index-Ccf5oVQR.d.ts → index-BBZI0n84.d.ts} +44 -8
- package/dist/{maplibre-B7l-aZmn.js → maplibre-D1MYjVVW.js} +1 -1
- package/dist/{pdfWorker-CR7OMtno.js → pdfWorker-B9zZWGPx.js} +1 -1
- package/dist/{types-BsDbQl1T.d.ts → types-B9V_H7Le.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/F0AudioPlayer-BJB9yshW.js +0 -2
- package/dist/F0VideoPlayer-Wq4GqCKm.js +0 -1
package/dist/f0.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { o as e } from "./rolldown-runtime-BItFwnF5.js";
|
|
2
|
-
import { $ as t, $n as n, $r as r, A as i, An as a, Ar as o, Bn as s, C as c, Cn as l, Cr as u, D as d, Dn as f, Dr as p, E as m, En as h, Er as g, F as _, Fn as v, Ft as y, Gn as b, Gt as x, Hn as S, Ht as C, I as w, In as T, It as E, Jn as D, Jr as O, Jt as k, Kn as A, Kr as j, Kt as M, Ln as N, Lt as P, M as F, Mn as I, Mr as ee, N as te, Nn as L, Nr as ne, O as re, On as ie, Or as ae, Ot as oe, P as se, Pn as ce, Pt as le, Q as ue, Qr as de, Qt as fe, Rn as pe, Rt as me, S as he, Sn as ge, Sr as _e, T as ve, Tn as ye, Tr as be, Un as xe, Ut as Se, Vn as Ce, Vt as we, Wn as Te, Wr as Ee, Wt as De, Xn as Oe, Yn as ke, Yr as Ae, Yt as je, Zn as Me, Zr as Ne, Zt as Pe, _ as Fe, _r as Ie, _t as Le, ai as Re, ar as ze, b as Be, bi as Ve, br as He, bt as Ue, c as We, cn as Ge, cr as Ke, d as qe, di as Je, dr as Ye, ei as Xe, en as Ze, er as Qe, et as $e, f as et, fi as tt, fr as nt, ft as rt, gr as it, gt as at, h as ot, hr as st, ht as ct, i as lt, ii as ut, ir as dt, j as ft, jn as pt, jr as mt, k as ht, kn as gt, kr as _t, l as vt, ln as yt, lr as bt, lt as xt, m as St, mr as Ct, mt as wt, ni as Tt, nn as Et, nr as Dt, on as Ot, or as kt, pi as At, pr as jt, qn as Mt, qr as Nt, qt as Pt, ri as Ft, rn as It, rr as Lt, s as Rt, sn as zt, sr as Bt, t as Vt, tn as Ht, tr as Ut, u as Wt, un as Gt, ur as Kt, v as qt, vr as Jt, vt as Yt, w as Xt, wi as Zt, wn as Qt, wr as $t, x as en, xi as tn, xn as nn, xr as rn, xt as an, y as on, yi as sn, yr as cn, yt as ln, zn as un, zt as dn } from "./CoachmarkProvider-
|
|
2
|
+
import { $ as t, $n as n, $r as r, A as i, An as a, Ar as o, Bn as s, C as c, Cn as l, Cr as u, D as d, Dn as f, Dr as p, E as m, En as h, Er as g, F as _, Fn as v, Ft as y, Gn as b, Gt as x, Hn as S, Ht as C, I as w, In as T, It as E, Jn as D, Jr as O, Jt as k, Kn as A, Kr as j, Kt as M, Ln as N, Lt as P, M as F, Mn as I, Mr as ee, N as te, Nn as L, Nr as ne, O as re, On as ie, Or as ae, Ot as oe, P as se, Pn as ce, Pt as le, Q as ue, Qr as de, Qt as fe, Rn as pe, Rt as me, S as he, Sn as ge, Sr as _e, T as ve, Tn as ye, Tr as be, Un as xe, Ut as Se, Vn as Ce, Vt as we, Wn as Te, Wr as Ee, Wt as De, Xn as Oe, Yn as ke, Yr as Ae, Yt as je, Zn as Me, Zr as Ne, Zt as Pe, _ as Fe, _r as Ie, _t as Le, ai as Re, ar as ze, b as Be, bi as Ve, br as He, bt as Ue, c as We, cn as Ge, cr as Ke, d as qe, di as Je, dr as Ye, ei as Xe, en as Ze, er as Qe, et as $e, f as et, fi as tt, fr as nt, ft as rt, gr as it, gt as at, h as ot, hr as st, ht as ct, i as lt, ii as ut, ir as dt, j as ft, jn as pt, jr as mt, k as ht, kn as gt, kr as _t, l as vt, ln as yt, lr as bt, lt as xt, m as St, mr as Ct, mt as wt, ni as Tt, nn as Et, nr as Dt, on as Ot, or as kt, pi as At, pr as jt, qn as Mt, qr as Nt, qt as Pt, ri as Ft, rn as It, rr as Lt, s as Rt, sn as zt, sr as Bt, t as Vt, tn as Ht, tr as Ut, u as Wt, un as Gt, ur as Kt, v as qt, vr as Jt, vt as Yt, w as Xt, wi as Zt, wn as Qt, wr as $t, x as en, xi as tn, xn as nn, xr as rn, xt as an, y as on, yi as sn, yr as cn, yt as ln, zn as un, zt as dn } from "./CoachmarkProvider-BihAvRd7.js";
|
|
3
3
|
import { a as R, i as fn, n as pn, o as mn, r as z, t as hn } from "./i18n-provider-C-057er8.js";
|
|
4
4
|
import { n as gn, t as _n } from "./skeleton-C__vPA8D.js";
|
|
5
5
|
import { A as vn, C as yn, D as bn, F as xn, I as Sn, L as B, M as Cn, N as wn, O as Tn, P as En, R as Dn, S as On, _ as kn, b as An, c as jn, f as Mn, g as Nn, h as Pn, j as Fn, k as In, l as Ln, m as Rn, p as zn, v as Bn, w as Vn, x as Hn, y as Un } from "./tooltip-NXXT56H4.js";
|
|
6
6
|
import { E as Wn, F as Gn, H as Kn, I as qn, K as Jn, N as Yn, P as Xn, Y as Zn, b as Qn, f as $n, h as er, m as tr, n as nr, p as rr, r as ir, t as V, x as ar } from "./F0Button-CfK_6Dfx.js";
|
|
7
|
-
import { $
|
|
8
|
-
import { A as pa, B as ma, C as ha, D as ga, E as _a, F as va, I as ya, L as ba, M as xa, N as Sa, O as Ca, P as wa, R as Ta, S as Ea, T as Da, _ as Oa, a as ka, b as Aa, c as ja, d as Ma, f as Na, g as Pa, h as Fa, i as Ia, j as La, k as Ra, l as za, m as Ba, n as Va, o as Ha, p as Ua, r as Wa, s as Ga, t as Ka, u as qa, v as Ja, w as Ya, x as Xa, y as Za, z as Qa } from "./F0AiProcessingOverlay-
|
|
7
|
+
import { $c as or, $i as sr, $n as cr, $o as lr, Ac as ur, Al as dr, B as fr, Bn as pr, Co as mr, Cs as hr, Di as gr, Dl as _r, Ei as vr, Et as yr, F as br, Fn as xr, Fo as Sr, Gi as Cr, H as wr, Hi as Tr, Hn as Er, I as Dr, In as Or, Jc as kr, Jr as Ar, Ki as jr, Kr as Mr, L as Nr, Li as Pr, Ln as Fr, Nn as Ir, Po as Lr, Ps as Rr, Qc as zr, Qi as Br, Qn as Vr, Qr as Hr, R as Ur, Ri as Wr, Rn as Gr, Tc as Kr, Ti as qr, Ts as Jr, U as Yr, Un as Xr, V as Zr, Vi as Qr, Wi as $r, Wn as ei, Xi as ti, Xr as ni, Yo as ri, Yr as ii, Zi as ai, Zr as oi, _c as si, aa as ci, ai as li, bc as ui, bi as di, bl as fi, ca as pi, ci as mi, cl as hi, dl as gi, ea as _i, ei as vi, en as yi, er as bi, fl as xi, gs as Si, hl as Ci, hs as wi, ia as Ti, ir as Ei, ji as Di, ki as Oi, ks as ki, la as Ai, li as ji, ll as Mi, mc as Ni, n as Pi, na as Fi, nr as Ii, ns as Li, oa as Ri, oi as zi, os as Bi, pl as Vi, qi as Hi, qr as Ui, ra as Wi, rr as Gi, rs as Ki, sa as qi, sc as Ji, si as Yi, sl as Xi, t as Zi, ta as Qi, tc as $i, ti as ea, tr as ta, ts as na, ua as ra, ui as ia, ul as aa, vc as oa, wc as sa, xi as ca, z as la, zi as ua, zs as da, zt as fa } from "./F0CanvasPanel-BlTALv-d.js";
|
|
8
|
+
import { A as pa, B as ma, C as ha, D as ga, E as _a, F as va, I as ya, L as ba, M as xa, N as Sa, O as Ca, P as wa, R as Ta, S as Ea, T as Da, _ as Oa, a as ka, b as Aa, c as ja, d as Ma, f as Na, g as Pa, h as Fa, i as Ia, j as La, k as Ra, l as za, m as Ba, n as Va, o as Ha, p as Ua, r as Wa, s as Ga, t as Ka, u as qa, v as Ja, w as Ya, x as Xa, y as Za, z as Qa } from "./F0AiProcessingOverlay-B0Dhl0ek.js";
|
|
9
9
|
import { a as $a, i as eo, n as to, o as no, r as ro, t as H } from "./F0Icon-BPx-9kOK.js";
|
|
10
10
|
import { t as io } from "./i18n-provider-defaults-C660Phfh.js";
|
|
11
11
|
import { F as ao, G as oo, M as so, S as co, W as lo, a as uo, f as fo, g as po, h as mo, i as ho, j as go, k as _o, l as vo, m as yo, n as bo, r as xo, t as So, u as Co, x as wo, y as To } from "./useData-CaY41foq.js";
|
|
@@ -18,10 +18,10 @@ import { t as qs } from "./purify.es-CJ7gZxxn.js";
|
|
|
18
18
|
import { J as Js, S as Ys, a as Xs, b as Zs, d as Qs, f as $s, g as ec, h as tc, i as nc, m as rc, p as ic, t as ac, w as oc, x as sc, y as cc } from "./popover-BVz3QY-0.js";
|
|
19
19
|
import { i as lc, r as uc } from "./dist-BWgB2Pxk.js";
|
|
20
20
|
import { t as dc } from "./F0Text-1893f70w.js";
|
|
21
|
-
import { t as fc } from "./F0Alert-
|
|
22
|
-
import { n as pc, r as mc, t as hc } from "./F0DocumentViewer-
|
|
21
|
+
import { t as fc } from "./F0Alert-CXtfc-sL.js";
|
|
22
|
+
import { n as pc, r as mc, t as hc } from "./F0DocumentViewer-IO5gGhnu.js";
|
|
23
23
|
import { t as gc } from "./pdfWorkerConfig-BwllKt1K.js";
|
|
24
|
-
import { t as _c } from "./F0VideoPlayer-
|
|
24
|
+
import { t as _c } from "./F0VideoPlayer-CAsJ7Htq.js";
|
|
25
25
|
import * as U from "react";
|
|
26
26
|
import vc, { Children as yc, Fragment as bc, createContext as xc, forwardRef as Sc, isValidElement as Cc, memo as wc, useCallback as W, useContext as Tc, useEffect as G, useId as Ec, useImperativeHandle as Dc, useLayoutEffect as Oc, useMemo as K, useRef as q, useState as J, useSyncExternalStore as kc } from "react";
|
|
27
27
|
import { Fragment as Y, jsx as X, jsxs as Z } from "react/jsx-runtime";
|
|
@@ -45,7 +45,7 @@ var Nc = {
|
|
|
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(Bi, {
|
|
49
49
|
layout: "home",
|
|
50
50
|
children: /* @__PURE__ */ Z("div", {
|
|
51
51
|
ref: r,
|
|
@@ -79,7 +79,7 @@ var Nc = {
|
|
|
79
79
|
}), Fc = no({
|
|
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
|
-
}), Ic = vc.forwardRef(({ children: e, variant: t, scrollable: n = !0, className: r, ...i }, a) => /* @__PURE__ */ X(
|
|
82
|
+
}), Ic = vc.forwardRef(({ children: e, variant: t, scrollable: n = !0, className: r, ...i }, a) => /* @__PURE__ */ X(Bi, {
|
|
83
83
|
layout: "standard",
|
|
84
84
|
children: /* @__PURE__ */ X("section", {
|
|
85
85
|
ref: a,
|
|
@@ -2928,7 +2928,7 @@ var Ml = Dl("Dashboard", jl), Nl = R(gn("Dashboard", Ml)), Pl = no({
|
|
|
2928
2928
|
...l,
|
|
2929
2929
|
children: [p ? /* @__PURE__ */ Z("div", {
|
|
2930
2930
|
className: "absolute right-0 top-0 flex items-center justify-end gap-2 p-4",
|
|
2931
|
-
children: [c || null, f.length > 0 ? /* @__PURE__ */ X(
|
|
2931
|
+
children: [c || null, f.length > 0 ? /* @__PURE__ */ X(Sr, {
|
|
2932
2932
|
items: Fl(d),
|
|
2933
2933
|
"data-testid": "actions-dropdown"
|
|
2934
2934
|
}) : null]
|
|
@@ -3113,7 +3113,7 @@ var Gl = Sc(function({ children: e, aside: t, header: n, variant: r = "main-asid
|
|
|
3113
3113
|
})]
|
|
3114
3114
|
});
|
|
3115
3115
|
Ql.displayName = "F0BigNumber";
|
|
3116
|
-
var eu =
|
|
3116
|
+
var eu = ri(Ql, $l), tu = R(eu), nu = [
|
|
3117
3117
|
"default",
|
|
3118
3118
|
"outline",
|
|
3119
3119
|
"neutral"
|
|
@@ -3121,14 +3121,14 @@ var eu = Dr(Ql, $l), tu = R(eu), nu = [
|
|
|
3121
3121
|
className: "flex items-center gap-2",
|
|
3122
3122
|
children: e.map((e, t) => {
|
|
3123
3123
|
switch (e.type) {
|
|
3124
|
-
case "segmentedControl": return /* @__PURE__ */ X(
|
|
3124
|
+
case "segmentedControl": return /* @__PURE__ */ X(Fi, {
|
|
3125
3125
|
items: e.items,
|
|
3126
3126
|
value: e.value,
|
|
3127
3127
|
onChange: e.onChange,
|
|
3128
3128
|
disabled: e.disabled,
|
|
3129
3129
|
ariaLabel: e.ariaLabel
|
|
3130
3130
|
}, t);
|
|
3131
|
-
case "dropdown": return /* @__PURE__ */ X(
|
|
3131
|
+
case "dropdown": return /* @__PURE__ */ X(Sr, {
|
|
3132
3132
|
items: e.items,
|
|
3133
3133
|
disabled: e.disabled,
|
|
3134
3134
|
children: /* @__PURE__ */ X(V, {
|
|
@@ -3144,7 +3144,7 @@ var eu = Dr(Ql, $l), tu = R(eu), nu = [
|
|
|
3144
3144
|
})
|
|
3145
3145
|
}), cu = ({ item: e, open: t, onOpenChange: n }) => {
|
|
3146
3146
|
let r = er(), i = z().t(t ? "actions.collapseItem" : "actions.expandItem", { title: e.title }), a = !!e.actions && e.actions.length > 0;
|
|
3147
|
-
return /* @__PURE__ */ X(
|
|
3147
|
+
return /* @__PURE__ */ X(ti, {
|
|
3148
3148
|
open: t,
|
|
3149
3149
|
onOpenChange: n,
|
|
3150
3150
|
asChild: !0,
|
|
@@ -3152,7 +3152,7 @@ var eu = Dr(Ql, $l), tu = R(eu), nu = [
|
|
|
3152
3152
|
className: "flex flex-col",
|
|
3153
3153
|
children: [/* @__PURE__ */ Z("div", {
|
|
3154
3154
|
className: "flex items-center",
|
|
3155
|
-
children: [/* @__PURE__ */ X(
|
|
3155
|
+
children: [/* @__PURE__ */ X(Br, {
|
|
3156
3156
|
asChild: !0,
|
|
3157
3157
|
children: /* @__PURE__ */ X("button", {
|
|
3158
3158
|
type: "button",
|
|
@@ -3170,7 +3170,7 @@ var eu = Dr(Ql, $l), tu = R(eu), nu = [
|
|
|
3170
3170
|
children: e.summary
|
|
3171
3171
|
}) : null,
|
|
3172
3172
|
a ? /* @__PURE__ */ X(su, { actions: e.actions }) : null,
|
|
3173
|
-
/* @__PURE__ */ X(
|
|
3173
|
+
/* @__PURE__ */ X(Br, {
|
|
3174
3174
|
asChild: !0,
|
|
3175
3175
|
children: /* @__PURE__ */ X(V, {
|
|
3176
3176
|
variant: "outline",
|
|
@@ -3199,7 +3199,7 @@ var eu = Dr(Ql, $l), tu = R(eu), nu = [
|
|
|
3199
3199
|
},
|
|
3200
3200
|
transition: { duration: r ? 0 : .2 },
|
|
3201
3201
|
className: "overflow-hidden",
|
|
3202
|
-
children: /* @__PURE__ */ X(
|
|
3202
|
+
children: /* @__PURE__ */ X(ai, {
|
|
3203
3203
|
forceMount: !0,
|
|
3204
3204
|
asChild: !0,
|
|
3205
3205
|
children: /* @__PURE__ */ Z("div", {
|
|
@@ -3243,7 +3243,7 @@ var eu = Dr(Ql, $l), tu = R(eu), nu = [
|
|
|
3243
3243
|
});
|
|
3244
3244
|
});
|
|
3245
3245
|
uu.displayName = "F0Accordion";
|
|
3246
|
-
var du = R(gn("F0Accordion",
|
|
3246
|
+
var du = R(gn("F0Accordion", ri(uu, lu))), fu = [
|
|
3247
3247
|
"info",
|
|
3248
3248
|
"warning",
|
|
3249
3249
|
"critical",
|
|
@@ -3314,9 +3314,9 @@ var hu = R(gn("F0ChipList", mu)), gu = [
|
|
|
3314
3314
|
"positive",
|
|
3315
3315
|
"transparent"
|
|
3316
3316
|
], yu = {
|
|
3317
|
-
get: async (e) => JSON.parse(localStorage.getItem(
|
|
3317
|
+
get: async (e) => JSON.parse(localStorage.getItem(Di(e)) ?? "{}"),
|
|
3318
3318
|
set: async (e, t) => {
|
|
3319
|
-
localStorage.setItem(
|
|
3319
|
+
localStorage.setItem(Di(e), JSON.stringify(t));
|
|
3320
3320
|
}
|
|
3321
3321
|
}, bu = ({ disableClose: e = !1, onClose: t, isOpen: n, children: r, position: i = "right", size: a = "md", primaryAction: o, secondaryAction: c, title: l, description: u, module: d, otherActions: f, tabs: p, modal: m = !1, activeTabId: h, setActiveTabId: g, disableContentPadding: _, container: v, onWidthChange: y }) => {
|
|
3322
3322
|
let [b, x] = J(n);
|
|
@@ -3433,11 +3433,11 @@ var Tu = wu;
|
|
|
3433
3433
|
//#endregion
|
|
3434
3434
|
//#region src/blocks/F0Form/describeFormSchema.ts
|
|
3435
3435
|
function Eu(e) {
|
|
3436
|
-
let t =
|
|
3436
|
+
let t = Gi(e).shape, n = [];
|
|
3437
3437
|
for (let [e, r] of Object.entries(t)) {
|
|
3438
|
-
let t = r, i =
|
|
3438
|
+
let t = r, i = cr(t);
|
|
3439
3439
|
if (!i) continue;
|
|
3440
|
-
let a =
|
|
3440
|
+
let a = ta(t, i), o = pt(t, a), s = {
|
|
3441
3441
|
name: e,
|
|
3442
3442
|
type: a,
|
|
3443
3443
|
label: i.label,
|
|
@@ -3509,9 +3509,9 @@ function Ou(e) {
|
|
|
3509
3509
|
let r = {
|
|
3510
3510
|
...n,
|
|
3511
3511
|
...e
|
|
3512
|
-
}, i =
|
|
3512
|
+
}, i = Gi(t), a = [];
|
|
3513
3513
|
for (let [e, t] of Object.entries(i.shape)) {
|
|
3514
|
-
let n =
|
|
3514
|
+
let n = cr(t);
|
|
3515
3515
|
n?.renderIf ? ie(n.renderIf, r) && a.push(e) : a.push(e);
|
|
3516
3516
|
}
|
|
3517
3517
|
return a;
|
|
@@ -3555,12 +3555,12 @@ var Au = ({ isOpen: e = !1, onClose: t = () => {}, type: n, title: r, descriptio
|
|
|
3555
3555
|
modal: !0,
|
|
3556
3556
|
children: /* @__PURE__ */ Z("div", {
|
|
3557
3557
|
className: "flex flex-col gap-4 py-2",
|
|
3558
|
-
children: [/* @__PURE__ */ X(
|
|
3558
|
+
children: [/* @__PURE__ */ X(Lr, {
|
|
3559
3559
|
type: n,
|
|
3560
3560
|
size: "lg"
|
|
3561
3561
|
}), /* @__PURE__ */ Z("div", {
|
|
3562
3562
|
className: "flex flex-col gap-0.5",
|
|
3563
|
-
children: [/* @__PURE__ */ X(
|
|
3563
|
+
children: [/* @__PURE__ */ X(Wr, {
|
|
3564
3564
|
className: "text-xl sm:text-lg",
|
|
3565
3565
|
children: r
|
|
3566
3566
|
}), /* @__PURE__ */ X(Mt, {
|
|
@@ -3947,7 +3947,7 @@ var Ju = () => {}, Yu = ({ steps: e, children: t, isOpen: n, onClose: r = Ju, ti
|
|
|
3947
3947
|
onClose: r
|
|
3948
3948
|
}), g = z(), _ = 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, S = _?.previousLabel ?? c ?? g.wizard.previous, C = K(() => ({
|
|
3949
3949
|
label: b,
|
|
3950
|
-
icon: y ? void 0 :
|
|
3950
|
+
icon: y ? void 0 : fi,
|
|
3951
3951
|
onClick: () => void h.goNext(),
|
|
3952
3952
|
disabled: _?.isCompleted?.() === !1 || _?.hasErrors?.() === !0,
|
|
3953
3953
|
loading: h.loading
|
|
@@ -4004,14 +4004,14 @@ Yu.displayName = "F0Wizard", R(Yu);
|
|
|
4004
4004
|
//#endregion
|
|
4005
4005
|
//#region src/blocks/F0WizardForm/F0WizardForm.tsx
|
|
4006
4006
|
function Xu(e) {
|
|
4007
|
-
let t =
|
|
4008
|
-
return n.length !== 0 && n.every(([, e]) =>
|
|
4007
|
+
let t = Gi(e).shape, n = Object.entries(t);
|
|
4008
|
+
return n.length !== 0 && n.every(([, e]) => cr(e)?.disabled === !0);
|
|
4009
4009
|
}
|
|
4010
4010
|
function Zu(e, t) {
|
|
4011
4011
|
if (t) return Object.keys(t);
|
|
4012
|
-
let n =
|
|
4012
|
+
let n = Gi(e).shape, r = /* @__PURE__ */ new Set();
|
|
4013
4013
|
for (let e of Object.values(n)) {
|
|
4014
|
-
let t =
|
|
4014
|
+
let t = cr(e);
|
|
4015
4015
|
t?.section && r.add(t.section);
|
|
4016
4016
|
}
|
|
4017
4017
|
return Array.from(r);
|
|
@@ -4019,15 +4019,15 @@ function Zu(e, t) {
|
|
|
4019
4019
|
function Qu(e, t) {
|
|
4020
4020
|
let n = e.shape, r = {};
|
|
4021
4021
|
for (let [e, i] of Object.entries(n)) {
|
|
4022
|
-
let n =
|
|
4022
|
+
let n = cr(i);
|
|
4023
4023
|
n?.section && t.includes(n.section) && (r[e] = i);
|
|
4024
4024
|
}
|
|
4025
|
-
return
|
|
4025
|
+
return ni(r);
|
|
4026
4026
|
}
|
|
4027
4027
|
function $u(e, t, n) {
|
|
4028
4028
|
let r = t ?? {};
|
|
4029
4029
|
if (n) return n({ data: r });
|
|
4030
|
-
let i =
|
|
4030
|
+
let i = Gi(e).shape;
|
|
4031
4031
|
return Object.entries(i).every(([e, t]) => {
|
|
4032
4032
|
if (t.isOptional()) return !0;
|
|
4033
4033
|
let n = r[e];
|
|
@@ -4253,7 +4253,7 @@ function ad({ sectionId: e, formName: t, schema: n, sectionConfig: r, defaultVal
|
|
|
4253
4253
|
});
|
|
4254
4254
|
}
|
|
4255
4255
|
function od({ formDefinition: e, steps: t, isOpen: n, onClose: r, title: i, width: a, size: o, defaultStepIndex: s, nextLabel: c, previousLabel: l, onStepChanged: u, allowStepSkipping: d, autoCloseOnLastStepSubmit: f, linkAfterLastStepSubmit: p, autoSkipCompletedSteps: m = !1, renderCustomField: h }) {
|
|
4256
|
-
let { name: g, schema: _, sections: v, defaultValues: y, onSubmit: b, submitConfig: x, errorTriggerMode: S = "on-blur" } = e, C = x?.label, w = K(() =>
|
|
4256
|
+
let { name: g, schema: _, sections: v, defaultValues: y, onSubmit: b, submitConfig: x, errorTriggerMode: S = "on-blur" } = e, C = x?.label, w = K(() => Gi(_), [_]), T = K(() => Zu(_, v), [_, v]), E = W((e) => Xu(Qu(w, e)), [w]), D = ge(), O = q(y ? { ...y } : {}), k = q(s ?? 0), A = W((e) => async () => {
|
|
4257
4257
|
await D.submit();
|
|
4258
4258
|
}, [D]), j = W((e) => D.hasErrors, [D.hasErrors]), M = t ?? e.steps, N = K(() => M ?? T.map((e) => ({
|
|
4259
4259
|
title: v?.[e]?.title ?? e,
|
|
@@ -4543,7 +4543,7 @@ var md = { open: pd }, hd = [
|
|
|
4543
4543
|
id: C,
|
|
4544
4544
|
disabled: c
|
|
4545
4545
|
}) : null,
|
|
4546
|
-
/* @__PURE__ */ Z(
|
|
4546
|
+
/* @__PURE__ */ Z(Wi, {
|
|
4547
4547
|
value: [O],
|
|
4548
4548
|
onValueChange: j,
|
|
4549
4549
|
onValueCommit: M,
|
|
@@ -4558,14 +4558,14 @@ var md = { open: pd }, hd = [
|
|
|
4558
4558
|
onMouseEnter: () => P(!0),
|
|
4559
4559
|
onMouseLeave: () => P(!1),
|
|
4560
4560
|
children: [
|
|
4561
|
-
/* @__PURE__ */ X(
|
|
4561
|
+
/* @__PURE__ */ X(Ri, {
|
|
4562
4562
|
className: bd({ status: re }),
|
|
4563
|
-
children: /* @__PURE__ */ X(
|
|
4563
|
+
children: /* @__PURE__ */ X(Ti, { className: xd({
|
|
4564
4564
|
status: re,
|
|
4565
4565
|
disabled: c
|
|
4566
4566
|
}) })
|
|
4567
4567
|
}),
|
|
4568
|
-
/* @__PURE__ */ X(
|
|
4568
|
+
/* @__PURE__ */ X(ci, {
|
|
4569
4569
|
id: S,
|
|
4570
4570
|
"aria-label": ie ? void 0 : T,
|
|
4571
4571
|
"aria-labelledby": ie ? C : void 0,
|
|
@@ -4604,7 +4604,7 @@ var md = { open: pd }, hd = [
|
|
|
4604
4604
|
});
|
|
4605
4605
|
});
|
|
4606
4606
|
wd.displayName = "F0Slider";
|
|
4607
|
-
var Td = gn("F0Slider",
|
|
4607
|
+
var Td = gn("F0Slider", ri(R(wd), yd)), Ed = [
|
|
4608
4608
|
"completed",
|
|
4609
4609
|
"in-progress",
|
|
4610
4610
|
"not-started",
|
|
@@ -4885,7 +4885,7 @@ function Kd(e) {
|
|
|
4885
4885
|
}
|
|
4886
4886
|
//#endregion
|
|
4887
4887
|
//#region src/domains/talent/surveys/surveys/SurveyFormBuilder/ApplyingChangesTag/ApplyingChangesTag.tsx
|
|
4888
|
-
var qd = Jn.create(
|
|
4888
|
+
var qd = Jn.create(Ir), Jd = wc(() => {
|
|
4889
4889
|
let e = z();
|
|
4890
4890
|
return /* @__PURE__ */ Z("div", {
|
|
4891
4891
|
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",
|
|
@@ -5241,12 +5241,12 @@ var uf = () => {
|
|
|
5241
5241
|
let { isQuestionTypeAllowed: e, datasets: t } = of(), { t: n } = z(), r = [
|
|
5242
5242
|
{
|
|
5243
5243
|
label: n("surveyFormBuilder.questionTypes.rating"),
|
|
5244
|
-
icon:
|
|
5244
|
+
icon: ki,
|
|
5245
5245
|
questionType: "rating"
|
|
5246
5246
|
},
|
|
5247
5247
|
{
|
|
5248
5248
|
label: n("surveyFormBuilder.questionTypes.multipleChoice"),
|
|
5249
|
-
icon:
|
|
5249
|
+
icon: Xi,
|
|
5250
5250
|
questionType: "multi-select"
|
|
5251
5251
|
},
|
|
5252
5252
|
{
|
|
@@ -5256,22 +5256,22 @@ var uf = () => {
|
|
|
5256
5256
|
},
|
|
5257
5257
|
{
|
|
5258
5258
|
label: n("surveyFormBuilder.questionTypes.text"),
|
|
5259
|
-
icon:
|
|
5259
|
+
icon: hr,
|
|
5260
5260
|
questionType: "text"
|
|
5261
5261
|
},
|
|
5262
5262
|
{
|
|
5263
5263
|
label: n("surveyFormBuilder.questionTypes.longText"),
|
|
5264
|
-
icon:
|
|
5264
|
+
icon: si,
|
|
5265
5265
|
questionType: "longText"
|
|
5266
5266
|
},
|
|
5267
5267
|
{
|
|
5268
5268
|
label: n("surveyFormBuilder.questionTypes.numeric"),
|
|
5269
|
-
icon:
|
|
5269
|
+
icon: $i,
|
|
5270
5270
|
questionType: "numeric"
|
|
5271
5271
|
},
|
|
5272
5272
|
{
|
|
5273
5273
|
label: n("surveyFormBuilder.questionTypes.link"),
|
|
5274
|
-
icon:
|
|
5274
|
+
icon: oa,
|
|
5275
5275
|
questionType: "link"
|
|
5276
5276
|
},
|
|
5277
5277
|
{
|
|
@@ -5281,7 +5281,7 @@ var uf = () => {
|
|
|
5281
5281
|
},
|
|
5282
5282
|
{
|
|
5283
5283
|
label: n("surveyFormBuilder.questionTypes.file"),
|
|
5284
|
-
icon:
|
|
5284
|
+
icon: Si,
|
|
5285
5285
|
questionType: "file"
|
|
5286
5286
|
},
|
|
5287
5287
|
{
|
|
@@ -5297,17 +5297,17 @@ var uf = () => {
|
|
|
5297
5297
|
})) : [];
|
|
5298
5298
|
return [...r, ...i];
|
|
5299
5299
|
}, df = {
|
|
5300
|
-
rating:
|
|
5301
|
-
"multi-select":
|
|
5300
|
+
rating: ki,
|
|
5301
|
+
"multi-select": Xi,
|
|
5302
5302
|
select: Us,
|
|
5303
|
-
text:
|
|
5304
|
-
longText:
|
|
5305
|
-
numeric:
|
|
5306
|
-
link:
|
|
5303
|
+
text: hr,
|
|
5304
|
+
longText: si,
|
|
5305
|
+
numeric: $i,
|
|
5306
|
+
link: oa,
|
|
5307
5307
|
date: Ci,
|
|
5308
5308
|
"dropdown-single": lo,
|
|
5309
5309
|
"dropdown-multi": lo,
|
|
5310
|
-
file:
|
|
5310
|
+
file: Si,
|
|
5311
5311
|
checkbox: Ws
|
|
5312
5312
|
}, ff = () => {
|
|
5313
5313
|
let { disabled: e, answering: t, onAddNewElement: n, isQuestionTypeAllowed: r, labels: i } = of(), [a, o] = J(!1), s = uf(), { t: c } = z(), l = i?.addQuestion ?? c("surveyFormBuilder.actions.addQuestion"), u = (e, t) => {
|
|
@@ -5341,7 +5341,7 @@ var uf = () => {
|
|
|
5341
5341
|
children: /* @__PURE__ */ Z("div", {
|
|
5342
5342
|
className: "flex w-full flex-row items-center gap-2",
|
|
5343
5343
|
children: [/* @__PURE__ */ X(H, {
|
|
5344
|
-
icon:
|
|
5344
|
+
icon: dr,
|
|
5345
5345
|
color: "default"
|
|
5346
5346
|
}), /* @__PURE__ */ X("span", {
|
|
5347
5347
|
className: "flex-1 text-base font-medium",
|
|
@@ -5394,7 +5394,7 @@ var uf = () => {
|
|
|
5394
5394
|
children: /* @__PURE__ */ Z("div", {
|
|
5395
5395
|
className: "flex w-full flex-row items-center gap-2",
|
|
5396
5396
|
children: [/* @__PURE__ */ X(H, {
|
|
5397
|
-
icon:
|
|
5397
|
+
icon: Xi,
|
|
5398
5398
|
color: "default"
|
|
5399
5399
|
}), /* @__PURE__ */ X("span", {
|
|
5400
5400
|
className: "flex-1",
|
|
@@ -5574,7 +5574,7 @@ var yf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(r
|
|
|
5574
5574
|
className: "flex w-full flex-row items-center gap-2",
|
|
5575
5575
|
children: [
|
|
5576
5576
|
/* @__PURE__ */ X(to, {
|
|
5577
|
-
icon:
|
|
5577
|
+
icon: Kr,
|
|
5578
5578
|
color: "default"
|
|
5579
5579
|
}),
|
|
5580
5580
|
/* @__PURE__ */ X("span", {
|
|
@@ -5686,7 +5686,7 @@ var yf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(r
|
|
|
5686
5686
|
className: "flex w-full flex-row items-center gap-2",
|
|
5687
5687
|
children: [
|
|
5688
5688
|
/* @__PURE__ */ X(to, {
|
|
5689
|
-
icon:
|
|
5689
|
+
icon: Xi,
|
|
5690
5690
|
color: "default"
|
|
5691
5691
|
}),
|
|
5692
5692
|
/* @__PURE__ */ X("span", {
|
|
@@ -5715,11 +5715,11 @@ var yf = ({ label: e, icon: t, checked: n, onChange: r }) => /* @__PURE__ */ X(r
|
|
|
5715
5715
|
let { t: a } = z(), { labels: o } = of();
|
|
5716
5716
|
return !e && !t ? null : /* @__PURE__ */ Z(Y, { children: [n ? /* @__PURE__ */ X(cc, {}) : null, /* @__PURE__ */ Z(ic, { children: [e ? /* @__PURE__ */ X(xf, {
|
|
5717
5717
|
label: o?.duplicateQuestion ?? a("surveyFormBuilder.actions.duplicateQuestion"),
|
|
5718
|
-
icon:
|
|
5718
|
+
icon: ui,
|
|
5719
5719
|
onClick: r
|
|
5720
5720
|
}) : null, t ? /* @__PURE__ */ X(xf, {
|
|
5721
5721
|
label: o?.deleteQuestion ?? a("surveyFormBuilder.actions.deleteQuestion"),
|
|
5722
|
-
icon:
|
|
5722
|
+
icon: zr,
|
|
5723
5723
|
onClick: i,
|
|
5724
5724
|
critical: !0
|
|
5725
5725
|
}) : null] })] });
|
|
@@ -5754,13 +5754,13 @@ function Cf({ open: e, setOpen: t, questionId: n, questionType: r, canDeleteQues
|
|
|
5754
5754
|
}),
|
|
5755
5755
|
T ? /* @__PURE__ */ X(ic, { children: /* @__PURE__ */ X(yf, {
|
|
5756
5756
|
label: o("surveyFormBuilder.labels.required"),
|
|
5757
|
-
icon:
|
|
5757
|
+
icon: _r,
|
|
5758
5758
|
checked: !!l?.required,
|
|
5759
5759
|
onChange: _
|
|
5760
5760
|
}) }) : null,
|
|
5761
5761
|
E ? /* @__PURE__ */ X(ic, { children: /* @__PURE__ */ X(yf, {
|
|
5762
5762
|
label: o("surveyFormBuilder.labels.allowMultiSelection"),
|
|
5763
|
-
icon:
|
|
5763
|
+
icon: Xi,
|
|
5764
5764
|
checked: p,
|
|
5765
5765
|
onChange: b
|
|
5766
5766
|
}) }) : null,
|
|
@@ -5811,7 +5811,7 @@ function Mf({ text: e }) {
|
|
|
5811
5811
|
return /* @__PURE__ */ X(Y, { children: t.map((e, t) => {
|
|
5812
5812
|
if (t % 2 == 0) return /* @__PURE__ */ X(bc, { children: e }, t);
|
|
5813
5813
|
let [n, r] = Af(e), i = jf(n);
|
|
5814
|
-
return i ? /* @__PURE__ */ Z(bc, { children: [/* @__PURE__ */ X(
|
|
5814
|
+
return i ? /* @__PURE__ */ Z(bc, { children: [/* @__PURE__ */ X(sr, {
|
|
5815
5815
|
variant: "inline",
|
|
5816
5816
|
href: i,
|
|
5817
5817
|
target: "_blank",
|
|
@@ -5981,7 +5981,7 @@ var Nf = ({ notice: e, className: t, children: n }) => {
|
|
|
5981
5981
|
children: /* @__PURE__ */ Z("div", {
|
|
5982
5982
|
className: "flex w-full flex-row items-center gap-2",
|
|
5983
5983
|
children: [/* @__PURE__ */ X(H, {
|
|
5984
|
-
icon:
|
|
5984
|
+
icon: dr,
|
|
5985
5985
|
color: "default"
|
|
5986
5986
|
}), /* @__PURE__ */ X("span", {
|
|
5987
5987
|
className: "flex-1 text-base font-medium",
|
|
@@ -6033,7 +6033,7 @@ var Nf = ({ notice: e, className: t, children: n }) => {
|
|
|
6033
6033
|
children: /* @__PURE__ */ Z("div", {
|
|
6034
6034
|
className: "flex w-full flex-row items-center gap-2",
|
|
6035
6035
|
children: [/* @__PURE__ */ X(H, {
|
|
6036
|
-
icon:
|
|
6036
|
+
icon: Xi,
|
|
6037
6037
|
color: "default"
|
|
6038
6038
|
}), /* @__PURE__ */ X("span", {
|
|
6039
6039
|
className: "flex-1",
|
|
@@ -6267,8 +6267,8 @@ var If = ({ value: e, label: t, ...n }) => {
|
|
|
6267
6267
|
required: t.required,
|
|
6268
6268
|
maxDecimals: 0,
|
|
6269
6269
|
placeholder: s,
|
|
6270
|
-
icon:
|
|
6271
|
-
}) : /* @__PURE__ */ X(
|
|
6270
|
+
icon: $i
|
|
6271
|
+
}) : /* @__PURE__ */ X(vi, {
|
|
6272
6272
|
type: "text",
|
|
6273
6273
|
size: "md",
|
|
6274
6274
|
value: s,
|
|
@@ -6276,7 +6276,7 @@ var If = ({ value: e, label: t, ...n }) => {
|
|
|
6276
6276
|
disabled: !0,
|
|
6277
6277
|
label: n("surveyFormBuilder.answer.label"),
|
|
6278
6278
|
hideLabel: !0,
|
|
6279
|
-
icon:
|
|
6279
|
+
icon: $i
|
|
6280
6280
|
})
|
|
6281
6281
|
});
|
|
6282
6282
|
}, Wf = ({ option: e, selected: n, onClick: r, onChangeLabel: i, disabled: a, isEmojiMode: o = !1 }) => {
|
|
@@ -6450,7 +6450,7 @@ var Yf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6450
6450
|
children: /* @__PURE__ */ X("div", {
|
|
6451
6451
|
className: B("flex aspect-square scale-90 items-center justify-center", u === "multi-select" ? "w-6" : "w-5"),
|
|
6452
6452
|
children: /* @__PURE__ */ X(to, {
|
|
6453
|
-
icon:
|
|
6453
|
+
icon: ur,
|
|
6454
6454
|
size: "sm"
|
|
6455
6455
|
})
|
|
6456
6456
|
})
|
|
@@ -6473,13 +6473,13 @@ var Yf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6473
6473
|
children: [/* @__PURE__ */ X(V, {
|
|
6474
6474
|
label: _("surveyFormBuilder.selectQuestion.markAsCorrect"),
|
|
6475
6475
|
variant: "ghost",
|
|
6476
|
-
icon: c ?
|
|
6476
|
+
icon: c ? or : hi,
|
|
6477
6477
|
onClick: x,
|
|
6478
6478
|
hideLabel: !0
|
|
6479
6479
|
}), /* @__PURE__ */ X(V, {
|
|
6480
6480
|
label: _("surveyFormBuilder.selectQuestion.remove"),
|
|
6481
6481
|
variant: "ghost",
|
|
6482
|
-
icon:
|
|
6482
|
+
icon: zr,
|
|
6483
6483
|
hideLabel: !0,
|
|
6484
6484
|
onClick: S
|
|
6485
6485
|
})]
|
|
@@ -6706,7 +6706,7 @@ var Yf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6706
6706
|
h && c.start(e);
|
|
6707
6707
|
},
|
|
6708
6708
|
children: /* @__PURE__ */ X(H, {
|
|
6709
|
-
icon:
|
|
6709
|
+
icon: ur,
|
|
6710
6710
|
size: "sm"
|
|
6711
6711
|
})
|
|
6712
6712
|
}) : null, /* @__PURE__ */ X(Qf, { ...e.question })]
|
|
@@ -6736,7 +6736,7 @@ var Yf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6736
6736
|
f && i.start(e);
|
|
6737
6737
|
},
|
|
6738
6738
|
children: /* @__PURE__ */ X(H, {
|
|
6739
|
-
icon:
|
|
6739
|
+
icon: ur,
|
|
6740
6740
|
size: "sm"
|
|
6741
6741
|
})
|
|
6742
6742
|
}) : null, /* @__PURE__ */ X(Qf, { ...e })]
|
|
@@ -6768,7 +6768,7 @@ var Yf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6768
6768
|
});
|
|
6769
6769
|
}, x = [{
|
|
6770
6770
|
label: h("surveyFormBuilder.actions.duplicateSection"),
|
|
6771
|
-
icon:
|
|
6771
|
+
icon: ui,
|
|
6772
6772
|
onClick: () => {
|
|
6773
6773
|
d?.({
|
|
6774
6774
|
elementId: e,
|
|
@@ -6777,7 +6777,7 @@ var Yf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6777
6777
|
}
|
|
6778
6778
|
}, {
|
|
6779
6779
|
label: h("surveyFormBuilder.actions.deleteSection"),
|
|
6780
|
-
icon:
|
|
6780
|
+
icon: zr,
|
|
6781
6781
|
onClick: () => {
|
|
6782
6782
|
u(e);
|
|
6783
6783
|
},
|
|
@@ -6822,7 +6822,7 @@ var Yf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6822
6822
|
}) : null,
|
|
6823
6823
|
!c && !l && !a ? /* @__PURE__ */ X("div", {
|
|
6824
6824
|
className: B("opacity-0 group-hover/section:opacity-100", p && "opacity-100"),
|
|
6825
|
-
children: /* @__PURE__ */ X(
|
|
6825
|
+
children: /* @__PURE__ */ X(Sr, {
|
|
6826
6826
|
items: x,
|
|
6827
6827
|
icon: Gs,
|
|
6828
6828
|
open: p,
|
|
@@ -6901,7 +6901,7 @@ var Yf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6901
6901
|
o.start(e);
|
|
6902
6902
|
},
|
|
6903
6903
|
children: /* @__PURE__ */ X(H, {
|
|
6904
|
-
icon:
|
|
6904
|
+
icon: ur,
|
|
6905
6905
|
size: "sm"
|
|
6906
6906
|
})
|
|
6907
6907
|
}) : null, /* @__PURE__ */ X(np, {
|
|
@@ -6931,7 +6931,7 @@ var Yf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6931
6931
|
p || x.push({
|
|
6932
6932
|
type: "toggle",
|
|
6933
6933
|
label: l,
|
|
6934
|
-
icon:
|
|
6934
|
+
icon: _r,
|
|
6935
6935
|
checked: !!r?.required,
|
|
6936
6936
|
onCheckedChange: m
|
|
6937
6937
|
});
|
|
@@ -6976,7 +6976,7 @@ var Yf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6976
6976
|
selected: s === e && t === "dropdown-single"
|
|
6977
6977
|
}, {
|
|
6978
6978
|
label: f,
|
|
6979
|
-
icon:
|
|
6979
|
+
icon: Xi,
|
|
6980
6980
|
onClick: () => h("dropdown-multi", e),
|
|
6981
6981
|
selected: s === e && t === "dropdown-multi"
|
|
6982
6982
|
}]
|
|
@@ -6990,16 +6990,16 @@ var Yf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
6990
6990
|
return x.push({
|
|
6991
6991
|
type: "submenu",
|
|
6992
6992
|
label: u,
|
|
6993
|
-
icon:
|
|
6993
|
+
icon: Kr,
|
|
6994
6994
|
selectedLabel: E,
|
|
6995
6995
|
children: w
|
|
6996
6996
|
}), x.push({ type: "separator" }), x.push({
|
|
6997
6997
|
label: i,
|
|
6998
|
-
icon:
|
|
6998
|
+
icon: ui,
|
|
6999
6999
|
onClick: y
|
|
7000
7000
|
}), n && x.push({
|
|
7001
7001
|
label: a,
|
|
7002
|
-
icon:
|
|
7002
|
+
icon: zr,
|
|
7003
7003
|
onClick: b,
|
|
7004
7004
|
critical: !0
|
|
7005
7005
|
}), x;
|
|
@@ -7020,12 +7020,12 @@ var Yf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7020
7020
|
return {
|
|
7021
7021
|
id: i,
|
|
7022
7022
|
label: t.title || n,
|
|
7023
|
-
icon:
|
|
7023
|
+
icon: dr,
|
|
7024
7024
|
onClick: y,
|
|
7025
7025
|
...!h && !g && !t.locked && { otherActions: [
|
|
7026
7026
|
{
|
|
7027
7027
|
label: o,
|
|
7028
|
-
icon:
|
|
7028
|
+
icon: ui,
|
|
7029
7029
|
onClick: () => m?.({
|
|
7030
7030
|
elementId: t.id,
|
|
7031
7031
|
type: "section"
|
|
@@ -7034,7 +7034,7 @@ var Yf = ({ index: e, option: t, onClick: n, onClickAction: r, onChangeLabel: i,
|
|
|
7034
7034
|
{ type: "separator" },
|
|
7035
7035
|
{
|
|
7036
7036
|
label: s,
|
|
7037
|
-
icon:
|
|
7037
|
+
icon: zr,
|
|
7038
7038
|
onClick: () => p(t.id),
|
|
7039
7039
|
critical: !0
|
|
7040
7040
|
}
|
|
@@ -7562,7 +7562,7 @@ function kp({ value: e, onChange: t, onBlur: n, config: r }) {
|
|
|
7562
7562
|
u ? /* @__PURE__ */ X("div", {
|
|
7563
7563
|
className: "min-h-8 p-1",
|
|
7564
7564
|
children: /* @__PURE__ */ X(H, {
|
|
7565
|
-
icon: t.correct ?
|
|
7565
|
+
icon: t.correct ? hi : or,
|
|
7566
7566
|
color: t.correct ? "positive" : "critical",
|
|
7567
7567
|
"aria-hidden": !0
|
|
7568
7568
|
})
|
|
@@ -7584,7 +7584,7 @@ var Ap = /^(https?:\/\/)?[\w.-]+\.[a-z]{2,}(:\d+)?(\/[^\s]*)?$/i, jp = () => ({
|
|
|
7584
7584
|
status: "idle"
|
|
7585
7585
|
});
|
|
7586
7586
|
function Mp(e, t) {
|
|
7587
|
-
return
|
|
7587
|
+
return oi().optional().superRefine((n, r) => {
|
|
7588
7588
|
e && (!n || n.trim() === "") && r.addIssue({
|
|
7589
7589
|
code: "custom",
|
|
7590
7590
|
message: t("forms.validation.required")
|
|
@@ -7592,7 +7592,7 @@ function Mp(e, t) {
|
|
|
7592
7592
|
});
|
|
7593
7593
|
}
|
|
7594
7594
|
function Np(e, t) {
|
|
7595
|
-
return
|
|
7595
|
+
return oi().optional().superRefine((n, r) => {
|
|
7596
7596
|
e && (!n || n.trim() === "") ? r.addIssue({
|
|
7597
7597
|
code: "custom",
|
|
7598
7598
|
message: t("forms.validation.required")
|
|
@@ -7603,7 +7603,7 @@ function Np(e, t) {
|
|
|
7603
7603
|
});
|
|
7604
7604
|
}
|
|
7605
7605
|
function Pp(e, t) {
|
|
7606
|
-
return
|
|
7606
|
+
return ii().optional().superRefine((n, r) => {
|
|
7607
7607
|
e && n == null && r.addIssue({
|
|
7608
7608
|
code: "custom",
|
|
7609
7609
|
message: t("forms.validation.required")
|
|
@@ -7611,7 +7611,7 @@ function Pp(e, t) {
|
|
|
7611
7611
|
});
|
|
7612
7612
|
}
|
|
7613
7613
|
function Fp(e, t) {
|
|
7614
|
-
return
|
|
7614
|
+
return Mr(oi()).optional().superRefine((n, r) => {
|
|
7615
7615
|
e && (!n || n.length === 0) && r.addIssue({
|
|
7616
7616
|
code: "custom",
|
|
7617
7617
|
message: t("forms.validation.required")
|
|
@@ -7619,7 +7619,7 @@ function Fp(e, t) {
|
|
|
7619
7619
|
});
|
|
7620
7620
|
}
|
|
7621
7621
|
function Ip(e, t) {
|
|
7622
|
-
return
|
|
7622
|
+
return Ar().optional().superRefine((n, r) => {
|
|
7623
7623
|
e && !n && r.addIssue({
|
|
7624
7624
|
code: "custom",
|
|
7625
7625
|
message: t("forms.validation.required")
|
|
@@ -7628,7 +7628,7 @@ function Ip(e, t) {
|
|
|
7628
7628
|
}
|
|
7629
7629
|
var Lp = Fp;
|
|
7630
7630
|
function Rp(e, t) {
|
|
7631
|
-
return
|
|
7631
|
+
return Ui().optional().superRefine((n, r) => {
|
|
7632
7632
|
e && !n && r.addIssue({
|
|
7633
7633
|
code: "custom",
|
|
7634
7634
|
message: t("forms.validation.required")
|
|
@@ -7681,7 +7681,7 @@ function Up({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
7681
7681
|
placeholder: t("surveyFormBuilder.answer.textPlaceholder"),
|
|
7682
7682
|
disabled: i
|
|
7683
7683
|
};
|
|
7684
|
-
return
|
|
7684
|
+
return Vr(Mp(!!e.required, t), {
|
|
7685
7685
|
...l,
|
|
7686
7686
|
fieldType: "custom",
|
|
7687
7687
|
render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Pf, {
|
|
@@ -7709,7 +7709,7 @@ function Up({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
7709
7709
|
rows: 4,
|
|
7710
7710
|
disabled: i
|
|
7711
7711
|
};
|
|
7712
|
-
return
|
|
7712
|
+
return Vr(Mp(!!e.required, t), {
|
|
7713
7713
|
...l,
|
|
7714
7714
|
fieldType: "custom",
|
|
7715
7715
|
render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Pf, {
|
|
@@ -7736,7 +7736,7 @@ function Up({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
7736
7736
|
placeholder: t("surveyFormBuilder.answer.numericPlaceholder"),
|
|
7737
7737
|
disabled: i
|
|
7738
7738
|
};
|
|
7739
|
-
return
|
|
7739
|
+
return Vr(Pp(!!e.required, t), {
|
|
7740
7740
|
...l,
|
|
7741
7741
|
fieldType: "custom",
|
|
7742
7742
|
render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Pf, {
|
|
@@ -7764,7 +7764,7 @@ function Up({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
7764
7764
|
placeholder: t("surveyFormBuilder.answer.linkPlaceholder"),
|
|
7765
7765
|
disabled: i
|
|
7766
7766
|
};
|
|
7767
|
-
return
|
|
7767
|
+
return Vr(Np(!!e.required, t), {
|
|
7768
7768
|
...l,
|
|
7769
7769
|
fieldType: "custom",
|
|
7770
7770
|
render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Pf, {
|
|
@@ -7791,7 +7791,7 @@ function Up({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
7791
7791
|
clearable: !e.required,
|
|
7792
7792
|
disabled: i
|
|
7793
7793
|
};
|
|
7794
|
-
return
|
|
7794
|
+
return Vr(Ip(!!e.required, t), {
|
|
7795
7795
|
...l,
|
|
7796
7796
|
fieldType: "custom",
|
|
7797
7797
|
render: ({ value: e, onChange: t, onBlur: r, error: i }) => /* @__PURE__ */ X(Pf, {
|
|
@@ -7827,7 +7827,7 @@ function Up({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
7827
7827
|
showSearchBox: r,
|
|
7828
7828
|
searchBoxPlaceholder: e.searchBoxPlaceholder
|
|
7829
7829
|
};
|
|
7830
|
-
return
|
|
7830
|
+
return Vr(Mp(!!e.required, t), {
|
|
7831
7831
|
...l,
|
|
7832
7832
|
fieldType: "custom",
|
|
7833
7833
|
render: ({ value: t, onChange: r, onBlur: i, error: o }) => {
|
|
@@ -7876,7 +7876,7 @@ function Up({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
7876
7876
|
showSearchBox: r,
|
|
7877
7877
|
searchBoxPlaceholder: e.searchBoxPlaceholder
|
|
7878
7878
|
};
|
|
7879
|
-
return
|
|
7879
|
+
return Vr(Fp(!!e.required, t), {
|
|
7880
7880
|
...l,
|
|
7881
7881
|
fieldType: "custom",
|
|
7882
7882
|
render: ({ value: e, onChange: t, onBlur: n, error: r }) => /* @__PURE__ */ X(Pf, {
|
|
@@ -7903,7 +7903,7 @@ function Up({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
7903
7903
|
disabled: i,
|
|
7904
7904
|
showAnswerValidation: r
|
|
7905
7905
|
};
|
|
7906
|
-
return
|
|
7906
|
+
return Vr(Mp(!!e.required, t), {
|
|
7907
7907
|
...l,
|
|
7908
7908
|
fieldType: "custom",
|
|
7909
7909
|
fieldConfig: n,
|
|
@@ -7926,7 +7926,7 @@ function Up({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
7926
7926
|
disabled: i,
|
|
7927
7927
|
showAnswerValidation: r
|
|
7928
7928
|
};
|
|
7929
|
-
return
|
|
7929
|
+
return Vr(Fp(!!e.required, t), {
|
|
7930
7930
|
...l,
|
|
7931
7931
|
fieldType: "custom",
|
|
7932
7932
|
fieldConfig: n,
|
|
@@ -7948,7 +7948,7 @@ function Up({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
7948
7948
|
maxLabel: n.maxLabel,
|
|
7949
7949
|
disabled: i
|
|
7950
7950
|
};
|
|
7951
|
-
return
|
|
7951
|
+
return Vr(Pp(!!e.required, t), {
|
|
7952
7952
|
...l,
|
|
7953
7953
|
fieldType: "custom",
|
|
7954
7954
|
fieldConfig: r,
|
|
@@ -7974,7 +7974,7 @@ function Up({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
7974
7974
|
useUpload: r ?? jp,
|
|
7975
7975
|
disabled: i || !r
|
|
7976
7976
|
};
|
|
7977
|
-
return
|
|
7977
|
+
return Vr(Lp(!!e.required, t), {
|
|
7978
7978
|
...l,
|
|
7979
7979
|
fieldType: "custom",
|
|
7980
7980
|
render: ({ value: e, onChange: t, onBlur: n, error: r }) => /* @__PURE__ */ X(Pf, {
|
|
@@ -8000,7 +8000,7 @@ function Up({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8000
8000
|
label: n.label || c,
|
|
8001
8001
|
disabled: i
|
|
8002
8002
|
};
|
|
8003
|
-
return
|
|
8003
|
+
return Vr(Rp(!!e.required, t), {
|
|
8004
8004
|
...l,
|
|
8005
8005
|
fieldType: "custom",
|
|
8006
8006
|
render: ({ value: e, onChange: t, onBlur: n, error: i }) => /* @__PURE__ */ X(Pf, {
|
|
@@ -8019,7 +8019,7 @@ function Up({ q: e, t, sectionId: n, previewMode: r = !1, disableFields: i = r,
|
|
|
8019
8019
|
})
|
|
8020
8020
|
});
|
|
8021
8021
|
}
|
|
8022
|
-
default: return
|
|
8022
|
+
default: return Vr(Hr(), {
|
|
8023
8023
|
...l,
|
|
8024
8024
|
fieldType: "custom",
|
|
8025
8025
|
render: () => null
|
|
@@ -8066,7 +8066,7 @@ function qp({ elements: e, mode: t, t: n, defaultValues: r, currentQuestionId: i
|
|
|
8066
8066
|
}), f[t] = a?.[t] ?? zp(e, r);
|
|
8067
8067
|
}
|
|
8068
8068
|
return {
|
|
8069
|
-
schema:
|
|
8069
|
+
schema: ni(d),
|
|
8070
8070
|
defaultValues: f,
|
|
8071
8071
|
flatQuestions: m,
|
|
8072
8072
|
sections: p
|
|
@@ -8202,16 +8202,16 @@ function em({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
|
|
|
8202
8202
|
]);
|
|
8203
8203
|
let Se = !!v && P && !p && !h, Ce = u && !p, we = Se || Ce ? [...Se ? [{
|
|
8204
8204
|
label: v.label,
|
|
8205
|
-
icon:
|
|
8205
|
+
icon: Rr,
|
|
8206
8206
|
onClick: ye
|
|
8207
8207
|
}] : [], ...Ce ? [{
|
|
8208
8208
|
label: b(T ? "surveyAnsweringForm.actions.collapse" : "surveyAnsweringForm.actions.expand"),
|
|
8209
|
-
icon: T ?
|
|
8209
|
+
icon: T ? Ji : Ni,
|
|
8210
8210
|
onClick: () => E((e) => !e)
|
|
8211
8211
|
}] : []] : void 0, Te = P ? p || ee ? void 0 : te ? I && !N.isLastStep ? {
|
|
8212
8212
|
label: b("surveyAnsweringForm.actions.next"),
|
|
8213
8213
|
onClick: N.goToNext,
|
|
8214
|
-
icon:
|
|
8214
|
+
icon: fi
|
|
8215
8215
|
} : {
|
|
8216
8216
|
label: b("surveyAnsweringForm.actions.submit"),
|
|
8217
8217
|
onClick: Jp,
|
|
@@ -8219,7 +8219,7 @@ function em({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
|
|
|
8219
8219
|
} : I && !N.isLastStep ? {
|
|
8220
8220
|
label: b("surveyAnsweringForm.actions.next"),
|
|
8221
8221
|
onClick: _e,
|
|
8222
|
-
icon:
|
|
8222
|
+
icon: fi,
|
|
8223
8223
|
disabled: x
|
|
8224
8224
|
} : {
|
|
8225
8225
|
label: b("surveyAnsweringForm.actions.submit"),
|
|
@@ -8231,7 +8231,7 @@ function em({ elements: e, onSubmit: t, mode: n, title: r, description: i, resou
|
|
|
8231
8231
|
onClick: ve,
|
|
8232
8232
|
icon: ys
|
|
8233
8233
|
} : void 0 : void 0, De = n === "all-questions" && P && !p, Oe = I && P && !p, ke = I && !!N.currentQuestion?.sectionTitle && !p, Ae = ue === "center" || ue === "fullscreen";
|
|
8234
|
-
return /* @__PURE__ */ X(
|
|
8234
|
+
return /* @__PURE__ */ X(ia, {
|
|
8235
8235
|
isOpen: o,
|
|
8236
8236
|
onClose: s,
|
|
8237
8237
|
title: r,
|
|
@@ -8510,18 +8510,18 @@ function lm({ isOpen: e, onClose: t, title: n, children: r, module: i, portalCon
|
|
|
8510
8510
|
let [o, s] = J(e);
|
|
8511
8511
|
return G(() => {
|
|
8512
8512
|
s(e);
|
|
8513
|
-
}, [e]), /* @__PURE__ */ X(
|
|
8513
|
+
}, [e]), /* @__PURE__ */ X(Pr, {
|
|
8514
8514
|
open: o,
|
|
8515
8515
|
onOpenChange: (e) => {
|
|
8516
8516
|
s(e), e || t();
|
|
8517
8517
|
},
|
|
8518
8518
|
modal: !0,
|
|
8519
|
-
children: /* @__PURE__ */ Z(
|
|
8519
|
+
children: /* @__PURE__ */ Z(ua, {
|
|
8520
8520
|
className: "max-h-[620px] w-[760px] overflow-y-auto overflow-x-hidden bg-f1-background",
|
|
8521
8521
|
container: a,
|
|
8522
8522
|
children: [/* @__PURE__ */ Z("div", {
|
|
8523
8523
|
className: "flex flex-row items-center justify-between px-4 py-4",
|
|
8524
|
-
children: [/* @__PURE__ */ Z(
|
|
8524
|
+
children: [/* @__PURE__ */ Z(Wr, {
|
|
8525
8525
|
className: "flex flex-row items-center gap-2 text-lg font-semibold text-f1-foreground",
|
|
8526
8526
|
children: [i ? /* @__PURE__ */ X(go, {
|
|
8527
8527
|
module: i,
|
|
@@ -8529,7 +8529,7 @@ function lm({ isOpen: e, onClose: t, title: n, children: r, module: i, portalCon
|
|
|
8529
8529
|
}) : null, n]
|
|
8530
8530
|
}), /* @__PURE__ */ X(nr, {
|
|
8531
8531
|
variant: "outline",
|
|
8532
|
-
icon:
|
|
8532
|
+
icon: or,
|
|
8533
8533
|
onClick: t,
|
|
8534
8534
|
label: "Close modal",
|
|
8535
8535
|
hideLabel: !0
|
|
@@ -8619,14 +8619,14 @@ function fm({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
|
|
|
8619
8619
|
o && o(!l);
|
|
8620
8620
|
}, [o, l]);
|
|
8621
8621
|
let f = e?.includes(".mp4");
|
|
8622
|
-
return /* @__PURE__ */ X(Y, { children: l ? null : /* @__PURE__ */ Z(
|
|
8622
|
+
return /* @__PURE__ */ X(Y, { children: l ? null : /* @__PURE__ */ Z(lr, {
|
|
8623
8623
|
style: { width: a },
|
|
8624
8624
|
className: "relative bg-f1-background p-1",
|
|
8625
|
-
children: [/* @__PURE__ */ Z(
|
|
8625
|
+
children: [/* @__PURE__ */ Z(na, { children: [i ? /* @__PURE__ */ X("div", {
|
|
8626
8626
|
className: "absolute right-2 top-2 z-10",
|
|
8627
8627
|
children: /* @__PURE__ */ X(V, {
|
|
8628
8628
|
variant: "ghost",
|
|
8629
|
-
icon:
|
|
8629
|
+
icon: or,
|
|
8630
8630
|
size: "sm",
|
|
8631
8631
|
hideLabel: !0,
|
|
8632
8632
|
onClick: d,
|
|
@@ -8652,7 +8652,7 @@ function fm({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
|
|
|
8652
8652
|
className: "line-clamp-3 text-base font-normal text-f1-foreground-secondary",
|
|
8653
8653
|
children: n
|
|
8654
8654
|
})]
|
|
8655
|
-
})] })] }), s ? /* @__PURE__ */ X(
|
|
8655
|
+
})] })] }), s ? /* @__PURE__ */ X(Li, {
|
|
8656
8656
|
className: "p-3",
|
|
8657
8657
|
children: s.map((e) => e.type === "upsell" ? /* @__PURE__ */ X(E, {
|
|
8658
8658
|
label: e.label,
|
|
@@ -8675,7 +8675,7 @@ function fm({ mediaUrl: e, title: t, description: n, onClose: r, dismissible: i,
|
|
|
8675
8675
|
var pm = R(fm), mm = ({ onDismiss: e }) => {
|
|
8676
8676
|
let { actions: t } = z();
|
|
8677
8677
|
return /* @__PURE__ */ X(V, {
|
|
8678
|
-
icon:
|
|
8678
|
+
icon: or,
|
|
8679
8679
|
label: t.close,
|
|
8680
8680
|
hideLabel: !0,
|
|
8681
8681
|
variant: "outline",
|
|
@@ -8826,9 +8826,9 @@ function ym({ isOpen: e, setIsOpen: t, label: n, variant: r = "promote", size: i
|
|
|
8826
8826
|
}
|
|
8827
8827
|
var bm = R(ym), xm = ({ preview: e, moduleName: t, description: n, onAction: r, actionHref: i }) => {
|
|
8828
8828
|
let a = z(), o = a?.ai?.growth?.demoCard?.title ?? "Show {{moduleName}} in action", s = a?.ai?.growth?.demoCard?.actionLabel ?? "Start demo", c = o.replace("{{moduleName}}", t);
|
|
8829
|
-
return /* @__PURE__ */ Z(
|
|
8829
|
+
return /* @__PURE__ */ Z(lr, {
|
|
8830
8830
|
className: "flex flex-col overflow-hidden",
|
|
8831
|
-
children: [/* @__PURE__ */ Z(
|
|
8831
|
+
children: [/* @__PURE__ */ Z(na, {
|
|
8832
8832
|
className: "flex flex-col gap-4 p-0",
|
|
8833
8833
|
children: [/* @__PURE__ */ X("div", {
|
|
8834
8834
|
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"),
|
|
@@ -8843,7 +8843,7 @@ var bm = R(ym), xm = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
8843
8843
|
children: n
|
|
8844
8844
|
})]
|
|
8845
8845
|
})]
|
|
8846
|
-
}), /* @__PURE__ */ X(
|
|
8846
|
+
}), /* @__PURE__ */ X(Li, {
|
|
8847
8847
|
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",
|
|
8848
8848
|
children: i ? /* @__PURE__ */ X(V, {
|
|
8849
8849
|
variant: "default",
|
|
@@ -8890,7 +8890,7 @@ var bm = R(ym), xm = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
8890
8890
|
})
|
|
8891
8891
|
})]
|
|
8892
8892
|
}), Cm = ({ headerIcon: e, items: t, defaultExpandedId: n, expandedId: r, onExpandedChange: i, allowMultiple: a = !1 }) => {
|
|
8893
|
-
let o = z()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", s = e ??
|
|
8893
|
+
let o = z()?.ai?.growth?.faqCard?.title ?? "Questions before getting started", s = e ?? da, [c, l] = J(() => new Set(n ? [n] : [])), u = r !== void 0, d = W((e) => u ? r === e : c.has(e), [
|
|
8894
8894
|
u,
|
|
8895
8895
|
r,
|
|
8896
8896
|
c
|
|
@@ -8905,9 +8905,9 @@ var bm = R(ym), xm = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
8905
8905
|
i,
|
|
8906
8906
|
a
|
|
8907
8907
|
]);
|
|
8908
|
-
return t.length === 0 ? null : /* @__PURE__ */ Z(
|
|
8908
|
+
return t.length === 0 ? null : /* @__PURE__ */ Z(lr, {
|
|
8909
8909
|
className: "flex flex-col overflow-hidden",
|
|
8910
|
-
children: [/* @__PURE__ */ Z(
|
|
8910
|
+
children: [/* @__PURE__ */ Z(Ki, {
|
|
8911
8911
|
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",
|
|
8912
8912
|
children: [/* @__PURE__ */ X("div", {
|
|
8913
8913
|
className: "flex h-6 w-6 items-center justify-center rounded-full border border-f1-border-secondary",
|
|
@@ -8920,7 +8920,7 @@ var bm = R(ym), xm = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
8920
8920
|
className: "text-base font-semibold text-f1-foreground",
|
|
8921
8921
|
children: o
|
|
8922
8922
|
})]
|
|
8923
|
-
}), /* @__PURE__ */ X(
|
|
8923
|
+
}), /* @__PURE__ */ X(na, {
|
|
8924
8924
|
className: "flex flex-col divide-y divide-f1-border p-0",
|
|
8925
8925
|
children: t.map((e) => /* @__PURE__ */ X(Sm, {
|
|
8926
8926
|
item: e,
|
|
@@ -8931,9 +8931,9 @@ var bm = R(ym), xm = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
8931
8931
|
});
|
|
8932
8932
|
}, wm = ({ moduleName: e, description: t, onAction: n, actionHref: r, imageSrc: i }) => {
|
|
8933
8933
|
let a = z()?.ai?.growth?.moduleCard?.actionLabel ?? "Learn more";
|
|
8934
|
-
return /* @__PURE__ */ Z(
|
|
8934
|
+
return /* @__PURE__ */ Z(lr, {
|
|
8935
8935
|
className: "flex flex-col overflow-hidden",
|
|
8936
|
-
children: [/* @__PURE__ */ X(
|
|
8936
|
+
children: [/* @__PURE__ */ X(na, {
|
|
8937
8937
|
className: "flex flex-col gap-3 p-0",
|
|
8938
8938
|
children: /* @__PURE__ */ Z("div", {
|
|
8939
8939
|
className: "flex items-start gap-3",
|
|
@@ -8955,7 +8955,7 @@ var bm = R(ym), xm = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
8955
8955
|
})]
|
|
8956
8956
|
})]
|
|
8957
8957
|
})
|
|
8958
|
-
}), /* @__PURE__ */ X(
|
|
8958
|
+
}), /* @__PURE__ */ X(Li, {
|
|
8959
8959
|
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",
|
|
8960
8960
|
children: r ? /* @__PURE__ */ X(V, {
|
|
8961
8961
|
variant: "outline",
|
|
@@ -8973,9 +8973,9 @@ var bm = R(ym), xm = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
8973
8973
|
});
|
|
8974
8974
|
}, Tm = ({ onAction: e, actionHref: t }) => {
|
|
8975
8975
|
let n = z()?.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";
|
|
8976
|
-
return /* @__PURE__ */ Z(
|
|
8976
|
+
return /* @__PURE__ */ Z(lr, {
|
|
8977
8977
|
className: "flex flex-col overflow-hidden",
|
|
8978
|
-
children: [/* @__PURE__ */ Z(
|
|
8978
|
+
children: [/* @__PURE__ */ Z(na, {
|
|
8979
8979
|
className: "flex flex-col gap-3 p-0",
|
|
8980
8980
|
children: [/* @__PURE__ */ X(H, {
|
|
8981
8981
|
icon: Ci,
|
|
@@ -8990,7 +8990,7 @@ var bm = R(ym), xm = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
8990
8990
|
children: i
|
|
8991
8991
|
})]
|
|
8992
8992
|
})]
|
|
8993
|
-
}), /* @__PURE__ */ X(
|
|
8993
|
+
}), /* @__PURE__ */ X(Li, {
|
|
8994
8994
|
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",
|
|
8995
8995
|
children: t ? /* @__PURE__ */ X(V, {
|
|
8996
8996
|
variant: "default",
|
|
@@ -9036,9 +9036,9 @@ var bm = R(ym), xm = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9036
9036
|
e,
|
|
9037
9037
|
t
|
|
9038
9038
|
]), g = a === u - 1, _ = u > 1, v = n != null;
|
|
9039
|
-
return u === 0 || !d ? null : /* @__PURE__ */ Z(
|
|
9039
|
+
return u === 0 || !d ? null : /* @__PURE__ */ Z(lr, {
|
|
9040
9040
|
className: "flex flex-col overflow-hidden",
|
|
9041
|
-
children: [/* @__PURE__ */ Z(
|
|
9041
|
+
children: [/* @__PURE__ */ Z(na, {
|
|
9042
9042
|
className: "flex flex-col gap-4",
|
|
9043
9043
|
children: [/* @__PURE__ */ X("h3", {
|
|
9044
9044
|
className: "text-base font-semibold text-f1-foreground",
|
|
@@ -9055,7 +9055,7 @@ var bm = R(ym), xm = ({ preview: e, moduleName: t, description: n, onAction: r,
|
|
|
9055
9055
|
})
|
|
9056
9056
|
}, e.id))
|
|
9057
9057
|
})]
|
|
9058
|
-
}), /* @__PURE__ */ Z(
|
|
9058
|
+
}), /* @__PURE__ */ Z(Li, {
|
|
9059
9059
|
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",
|
|
9060
9060
|
children: [/* @__PURE__ */ X("div", {
|
|
9061
9061
|
className: "flex min-w-[7.5rem] items-center justify-start gap-1",
|
|
@@ -9522,7 +9522,7 @@ function sh(e, t) {
|
|
|
9522
9522
|
n.href = URL.createObjectURL(e), n.download = t, n.click(), URL.revokeObjectURL(n.href);
|
|
9523
9523
|
}
|
|
9524
9524
|
async function ch(e, t, n, { keys: r, preamble: i } = {}) {
|
|
9525
|
-
sh(await
|
|
9525
|
+
sh(await br([{
|
|
9526
9526
|
name: "Data",
|
|
9527
9527
|
rows: ah({
|
|
9528
9528
|
columns: e,
|
|
@@ -9544,7 +9544,7 @@ function uh(e, t, n) {
|
|
|
9544
9544
|
r.href = e, r.download = `${t}.${n}`, r.click();
|
|
9545
9545
|
}
|
|
9546
9546
|
async function dh(e, t) {
|
|
9547
|
-
sh(await
|
|
9547
|
+
sh(await br(e.map((e) => ({
|
|
9548
9548
|
name: e.name,
|
|
9549
9549
|
rows: ah(e)
|
|
9550
9550
|
}))), `${t}.xlsx`);
|
|
@@ -9605,23 +9605,23 @@ function mh({ chartContainerRef: e, chartConfig: t, data: n, title: r }) {
|
|
|
9605
9605
|
return K(() => n ? [
|
|
9606
9606
|
{
|
|
9607
9607
|
label: i("ai.dataDownload.download", { format: "PNG" }),
|
|
9608
|
-
icon:
|
|
9608
|
+
icon: sa,
|
|
9609
9609
|
onClick: () => a("png")
|
|
9610
9610
|
},
|
|
9611
9611
|
{
|
|
9612
9612
|
label: i("ai.dataDownload.download", { format: "JPG" }),
|
|
9613
|
-
icon:
|
|
9613
|
+
icon: sa,
|
|
9614
9614
|
onClick: () => a("jpg")
|
|
9615
9615
|
},
|
|
9616
9616
|
{ type: "separator" },
|
|
9617
9617
|
{
|
|
9618
9618
|
label: i("ai.dataDownload.download", { format: "Excel" }),
|
|
9619
|
-
icon:
|
|
9619
|
+
icon: Jr,
|
|
9620
9620
|
onClick: s
|
|
9621
9621
|
},
|
|
9622
9622
|
{
|
|
9623
9623
|
label: i("ai.dataDownload.download", { format: "CSV" }),
|
|
9624
|
-
icon:
|
|
9624
|
+
icon: Jr,
|
|
9625
9625
|
onClick: c
|
|
9626
9626
|
}
|
|
9627
9627
|
] : [], [
|
|
@@ -9851,7 +9851,7 @@ function yh({ title: e, enabled: t, actionsCollapse: n }) {
|
|
|
9851
9851
|
//#endregion
|
|
9852
9852
|
//#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/DashboardItem/DashboardItem.tsx
|
|
9853
9853
|
function bh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry: a, skeleton: o, children: s, actions: c = [], itemFilters: l, editMode: u, readOnly: d = !1, handleDelete: f, onAskAi: p, onAskAiTarget: m, itemId: h, chartTypeOptions: g, explanation: _, isFullscreen: v = !1, descriptionAction: b, headerLines: x = 2, fitContent: S = !1, onFullscreenChange: C }) {
|
|
9854
|
-
let [w, T] = J(!1), [E, D] = J(!1), O = q(!1), [k, A] = J(!1), j = z(), { enabled: M, setPendingQuote: N, setOpen: P, focusChatInput: F } =
|
|
9854
|
+
let [w, T] = J(!1), [E, D] = J(!1), O = q(!1), [k, A] = J(!1), j = z(), { enabled: M, setPendingQuote: N, setOpen: P, focusChatInput: F } = fa(), I = (e) => {
|
|
9855
9855
|
T(e), e || A(!1);
|
|
9856
9856
|
}, ee = c.filter((e) => !("type" in e) || e.type === "item" || e.type === void 0), te = ee.length > 0, L = u && f && h, ne = g && g.length > 0, re = !!_ && _.trim().length > 0, ie = !!C, ae = !d && e.trim().length > 0 && (p ? !!h : M), oe = ae || te || L || ne || re, se = !!l || ie || !!oe, ce = !v && (w || E), le = 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", ce && "delay-0 !opacity-100"), ue = 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]", ce && "delay-0 !grid-cols-[1fr]"), de = yh({
|
|
9857
9857
|
title: e,
|
|
@@ -9982,7 +9982,7 @@ function bh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
9982
9982
|
}) : null,
|
|
9983
9983
|
ie ? /* @__PURE__ */ X(nr, {
|
|
9984
9984
|
label: v ? j.actions.collapse : j.actions.expand,
|
|
9985
|
-
icon: v ?
|
|
9985
|
+
icon: v ? Ji : Ni,
|
|
9986
9986
|
variant: "ghost",
|
|
9987
9987
|
size: "md",
|
|
9988
9988
|
hideLabel: !0,
|
|
@@ -10010,7 +10010,7 @@ function bh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
10010
10010
|
onCloseAutoFocus: he,
|
|
10011
10011
|
children: k && re ? /* @__PURE__ */ X("div", {
|
|
10012
10012
|
className: "px-3 py-2 text-base text-f1-foreground [&>div]:flex [&>div]:flex-col [&>div]:gap-2",
|
|
10013
|
-
children: /* @__PURE__ */ X(
|
|
10013
|
+
children: /* @__PURE__ */ X(di, {
|
|
10014
10014
|
content: _,
|
|
10015
10015
|
format: "markdown"
|
|
10016
10016
|
})
|
|
@@ -10053,7 +10053,7 @@ function bh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
10053
10053
|
className: "mx-1 rounded-sm px-2",
|
|
10054
10054
|
children: /* @__PURE__ */ Z("div", {
|
|
10055
10055
|
className: "flex w-full flex-row items-center gap-2 pr-2",
|
|
10056
|
-
children: [/* @__PURE__ */ X(H, { icon:
|
|
10056
|
+
children: [/* @__PURE__ */ X(H, { icon: kr }), /* @__PURE__ */ X("span", {
|
|
10057
10057
|
className: "flex-1 text-base font-medium",
|
|
10058
10058
|
children: j.ai.dataDownload.title
|
|
10059
10059
|
})]
|
|
@@ -10075,7 +10075,7 @@ function bh({ title: e, description: t, info: n, isLoading: r, error: i, onRetry
|
|
|
10075
10075
|
className: B("text-f1-foreground-critical"),
|
|
10076
10076
|
children: /* @__PURE__ */ Z("div", {
|
|
10077
10077
|
className: "flex w-full flex-row items-center gap-2",
|
|
10078
|
-
children: [/* @__PURE__ */ X(H, { icon:
|
|
10078
|
+
children: [/* @__PURE__ */ X(H, { icon: zr }), /* @__PURE__ */ X("span", {
|
|
10079
10079
|
className: "flex-1",
|
|
10080
10080
|
children: j.actions.delete
|
|
10081
10081
|
})]
|
|
@@ -10209,39 +10209,39 @@ function Mh(e) {
|
|
|
10209
10209
|
{
|
|
10210
10210
|
label: e.dataChart.barChartVertical,
|
|
10211
10211
|
value: "bar-vertical",
|
|
10212
|
-
icon:
|
|
10212
|
+
icon: Mi,
|
|
10213
10213
|
type: "bar",
|
|
10214
10214
|
orientation: "vertical"
|
|
10215
10215
|
},
|
|
10216
10216
|
{
|
|
10217
10217
|
label: e.dataChart.barChartHorizontal,
|
|
10218
10218
|
value: "bar-horizontal",
|
|
10219
|
-
icon:
|
|
10219
|
+
icon: xi,
|
|
10220
10220
|
type: "bar",
|
|
10221
10221
|
orientation: "horizontal"
|
|
10222
10222
|
},
|
|
10223
10223
|
{
|
|
10224
10224
|
label: e.dataChart.lineChart,
|
|
10225
10225
|
value: "line",
|
|
10226
|
-
icon:
|
|
10226
|
+
icon: gi,
|
|
10227
10227
|
type: "line"
|
|
10228
10228
|
},
|
|
10229
10229
|
{
|
|
10230
10230
|
label: e.dataChart.funnel,
|
|
10231
10231
|
value: "funnel",
|
|
10232
|
-
icon:
|
|
10232
|
+
icon: Vi,
|
|
10233
10233
|
type: "funnel"
|
|
10234
10234
|
},
|
|
10235
10235
|
{
|
|
10236
10236
|
label: e.dataChart.pieChart,
|
|
10237
10237
|
value: "pie",
|
|
10238
|
-
icon:
|
|
10238
|
+
icon: aa,
|
|
10239
10239
|
type: "pie"
|
|
10240
10240
|
},
|
|
10241
10241
|
{
|
|
10242
10242
|
label: e.dataChart.table,
|
|
10243
10243
|
value: "table",
|
|
10244
|
-
icon:
|
|
10244
|
+
icon: Jr,
|
|
10245
10245
|
type: "table"
|
|
10246
10246
|
}
|
|
10247
10247
|
];
|
|
@@ -10409,7 +10409,7 @@ function zh(e) {
|
|
|
10409
10409
|
return Nm(e.chart) && e.chart.type === "bar" && "orientation" in e.chart && e.chart.orientation === "horizontal";
|
|
10410
10410
|
}
|
|
10411
10411
|
function Bh({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, readOnly: a, handleDelete: o, onAskAi: s, onAskAiTarget: c, onTransformChart: l, isFullscreen: u, onFullscreenChange: d }) {
|
|
10412
|
-
let f = z(), [p, m] = J("chart"), { enabled: h, setPendingQuote: g, setOpen: _, focusChatInput: v } =
|
|
10412
|
+
let f = z(), [p, m] = J("chart"), { enabled: h, setPendingQuote: g, setOpen: _, focusChatInput: v } = fa(), y = !Nm(e.chart), b = y ? Nh : e.chart, [x, S] = J(null), C = e.useDashboardFilters !== !1, w = JSON.stringify(r?.value ?? {}), { data: T, isLoading: E, error: D, retry: O } = hh(e.fetchData, t, C, w), k = q(null), A = K(() => T && !y ? Ih(e, T) : void 0, [
|
|
10413
10413
|
e,
|
|
10414
10414
|
T,
|
|
10415
10415
|
y
|
|
@@ -10641,11 +10641,11 @@ function Jh({ source: e, title: t, description: n, columns: r, tableSettings: i
|
|
|
10641
10641
|
]), l = W(() => c("excel"), [c]), u = W(() => c("csv"), [c]);
|
|
10642
10642
|
return K(() => e ? [{
|
|
10643
10643
|
label: a("ai.dataDownload.download", { format: "Excel" }),
|
|
10644
|
-
icon:
|
|
10644
|
+
icon: Jr,
|
|
10645
10645
|
onClick: l
|
|
10646
10646
|
}, {
|
|
10647
10647
|
label: a("ai.dataDownload.download", { format: "CSV" }),
|
|
10648
|
-
icon:
|
|
10648
|
+
icon: Jr,
|
|
10649
10649
|
onClick: u
|
|
10650
10650
|
}] : [], [
|
|
10651
10651
|
e,
|
|
@@ -10973,7 +10973,7 @@ function lg({ items: e, itemFilters: t, filters: n, editMode: r, readOnly: i, on
|
|
|
10973
10973
|
if (Math.hypot(t.clientX - n, t.clientY - r) < ig) return;
|
|
10974
10974
|
i = !0, T(e), N.current = Array.from(document.querySelectorAll("[data-ai-chat-dropzone]"));
|
|
10975
10975
|
let a = k.current.get(e)?.title ?? "";
|
|
10976
|
-
a && window.dispatchEvent(new CustomEvent(
|
|
10976
|
+
a && window.dispatchEvent(new CustomEvent(la, { detail: {
|
|
10977
10977
|
id: e,
|
|
10978
10978
|
title: a,
|
|
10979
10979
|
onAskAi: c,
|
|
@@ -10987,7 +10987,7 @@ function lg({ items: e, itemFilters: t, filters: n, editMode: r, readOnly: i, on
|
|
|
10987
10987
|
}, o = (e) => {
|
|
10988
10988
|
document.removeEventListener("pointermove", a), document.removeEventListener("pointerup", s), document.removeEventListener("pointercancel", u), P.current = null;
|
|
10989
10989
|
let t = A.current, n = j.current;
|
|
10990
|
-
e && i && t && n && F(t, n), A.current = null, j.current = null, N.current = [], T(null), D(null), i && window.dispatchEvent(new CustomEvent(
|
|
10990
|
+
e && i && t && n && F(t, n), A.current = null, j.current = null, N.current = [], T(null), D(null), i && window.dispatchEvent(new CustomEvent(Ur));
|
|
10991
10991
|
}, s = (e) => {
|
|
10992
10992
|
i && (N.current = Array.from(document.querySelectorAll("[data-ai-chat-dropzone]")), j.current = I(e.clientX, e.clientY)), o(!0);
|
|
10993
10993
|
}, u = () => o(!1);
|
|
@@ -11165,7 +11165,7 @@ function ug({ id: e, isDragging: t, showIndicatorBefore: n, showIndicatorAfter:
|
|
|
11165
11165
|
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",
|
|
11166
11166
|
"aria-label": "Drag to reorder",
|
|
11167
11167
|
children: /* @__PURE__ */ X(H, {
|
|
11168
|
-
icon:
|
|
11168
|
+
icon: ur,
|
|
11169
11169
|
size: "xs"
|
|
11170
11170
|
})
|
|
11171
11171
|
}) : null, s]
|
|
@@ -11335,10 +11335,10 @@ function wg({ item: e, filters: t, actions: n, itemFilters: r, editMode: i, read
|
|
|
11335
11335
|
//#region src/domains/platform/ai/analytics/F0AnalyticsDashboard/components/ExportDropdown/ExportDropdown.tsx
|
|
11336
11336
|
function Tg({ onExportExcel: e, isExporting: t }) {
|
|
11337
11337
|
let { t: n } = z();
|
|
11338
|
-
return /* @__PURE__ */ X(
|
|
11338
|
+
return /* @__PURE__ */ X(Sr, {
|
|
11339
11339
|
items: [{
|
|
11340
11340
|
label: t ? n("ai.dataDownload.exporting") : n("ai.dataDownload.exportDashboard", { format: "Excel" }),
|
|
11341
|
-
icon:
|
|
11341
|
+
icon: kr,
|
|
11342
11342
|
onClick: t ? () => {} : e
|
|
11343
11343
|
}],
|
|
11344
11344
|
icon: Gs
|
|
@@ -12307,7 +12307,7 @@ var b_ = ({ onClose: e }) => {
|
|
|
12307
12307
|
className: "dark flex-shrink-0",
|
|
12308
12308
|
children: /* @__PURE__ */ X(V, {
|
|
12309
12309
|
variant: "outline",
|
|
12310
|
-
icon:
|
|
12310
|
+
icon: or,
|
|
12311
12311
|
size: "sm",
|
|
12312
12312
|
hideLabel: !0,
|
|
12313
12313
|
onClick: e,
|
|
@@ -12324,7 +12324,7 @@ var b_ = ({ onClose: e }) => {
|
|
|
12324
12324
|
className: "dark flex flex-shrink-0 flex-row flex-wrap items-center gap-3",
|
|
12325
12325
|
children: [e.map((e) => /* @__PURE__ */ X("div", {
|
|
12326
12326
|
onClick: () => n(e),
|
|
12327
|
-
children: /* @__PURE__ */ X(
|
|
12327
|
+
children: /* @__PURE__ */ X(sr, {
|
|
12328
12328
|
href: e.href,
|
|
12329
12329
|
children: e.label
|
|
12330
12330
|
})
|
|
@@ -12392,7 +12392,7 @@ var b_ = ({ onClose: e }) => {
|
|
|
12392
12392
|
}) : g && /* @__PURE__ */ X("div", {
|
|
12393
12393
|
className: "flex-shrink-0",
|
|
12394
12394
|
"aria-hidden": "true",
|
|
12395
|
-
children: /* @__PURE__ */ X(
|
|
12395
|
+
children: /* @__PURE__ */ X(Lr, {
|
|
12396
12396
|
type: g,
|
|
12397
12397
|
size: "sm"
|
|
12398
12398
|
})
|
|
@@ -12765,7 +12765,7 @@ var P_ = B("group/toast pointer-events-auto absolute left-0 right-0 top-0 flex w
|
|
|
12765
12765
|
newButtonStyles: f,
|
|
12766
12766
|
children: /* @__PURE__ */ X(iv, {
|
|
12767
12767
|
...t,
|
|
12768
|
-
children: /* @__PURE__ */ X(
|
|
12768
|
+
children: /* @__PURE__ */ X(Oi, {
|
|
12769
12769
|
handler: l,
|
|
12770
12770
|
children: /* @__PURE__ */ X(Da, { children: /* @__PURE__ */ X(lt, {
|
|
12771
12771
|
...m,
|
|
@@ -12784,4 +12784,4 @@ var P_ = B("group/toast pointer-events-auto absolute left-0 right-0 top-0 flex w
|
|
|
12784
12784
|
})
|
|
12785
12785
|
});
|
|
12786
12786
|
//#endregion
|
|
12787
|
-
export { Za as AiChatTranslationsProvider, be as AreaChart, ko as Await, g as BarChart, it as BarChartSkeleton, Bt as CardSelectableContainer, p as CategoryBarChart,
|
|
12787
|
+
export { Za as AiChatTranslationsProvider, be as AreaChart, ko as Await, g as BarChart, it as BarChartSkeleton, Bt as CardSelectableContainer, p as CategoryBarChart, pr as ChatSpinner, Po as Chip, Ha as CollapsibleGroup, ae as ComboChart, wt as DATA_COLLECTION_URL_PARAMS, ct as DATA_COLLECTION_URL_PARAM_PREFIX, Nl as Dashboard, $t as DataChartEmptyStateView, fn as DataTestIdWrapper, yt as DndProvider, wr as DropOverlay, $n as EmojiImage, du as F0Accordion, Ke as F0ActionBar, Gr as F0ActionItem, Dr as F0AiChat, ja as F0AiChatHeader, ka as F0AiChatHistory, Nr as F0AiChatProvider, wa as F0AiChatTextArea, ba as F0AiChatUsageLimitsButton, Ya as F0AiFileAttachments, yi as F0AiFilePreviewsProvider, Er as F0AiFormRegistryProvider, Ua as F0AiInsightCard, Pa as F0AiMask, qa as F0AiMessageSources, Ea as F0AiMessagesContainer, fr as F0AiPong, Ka as F0AiProcessingOverlay, Ma as F0AiProposalCard, za as F0AiTableCard, fc as F0Alert, Fg as F0AnalyticsDashboard, _i as F0AudioPlayer, Qi as F0AudioPlayerCard, Fa as F0AuraVoiceAnimation, fo as F0Avatar, Lr as F0AvatarAlert, co as F0AvatarCompany, mr as F0AvatarDate, wo as F0AvatarEmoji, To as F0AvatarFile, po as F0AvatarIcon, vo as F0AvatarList, go as F0AvatarModule, mo as F0AvatarPerson, yo as F0AvatarTeam, tu as F0BigNumber, Tm as F0BookAMeetingCard, ao as F0Box, V as F0Button, ra as F0ButtonDropdown, Bs as F0ButtonToggle, Ca as F0CanvasCard, Zi as F0CanvasPanel, Tr as F0Card, Yr as F0CardRow, Ta as F0ChatComposer, fs as F0Checkbox, hu as F0ChipList, Oa as F0ClarifyingPanel, Kt as F0DataChart, ke as F0DatePicker, D as F0DatePickerInline, xm as F0DemoCard, ia as F0Dialog, Te as F0DialogAlikeContext, b as F0DialogAlikeProvider, zo as F0DialogContext, rs as F0DialogProvider, hc as F0DocumentViewer, Su as F0Drawer, un as F0DurationInput, Rs as F0EventCatcherProvider, Cm as F0FAQCard, xr as F0FileItem, Tu as F0FilterPickerContent, d as F0Form, zu as F0FormField, Cl as F0GridStack, Ba as F0HILActionConfirmation, m as F0Heading, H as F0Icon, sr as F0Link, wm as F0ModuleCard, en as F0NotesTextEditor, he as F0NotesTextEditorSkeleton, N as F0NumberInput, T as F0NumberInputInline, Ir as F0OneIcon, Pi as F0OneSwitch, pc as F0PdfViewer, sv as F0Provider, Em as F0QuestionCardMultiStep, di as F0RichTextDisplay, te as F0RichTextEditor, gs as F0SearchInput, Ms as F0Select, F as F0SelectInline, Td as F0Slider, Vd as F0TableOfContentPopover, Go as F0TagAlert, Fo as F0TagBalance, Jo as F0TagCompany, Wo as F0TagDot, hs as F0TagList, Uo as F0TagPerson, Do as F0TagRaw, jo as F0TagStatus, vs as F0TagTeam, dc as F0Text, ce as F0TextAreaInput, L as F0TextAreaInputInline, vi as F0TextInput, I as F0TextInputInline, ve as F0TimelineRow, _c as F0VideoPlayer, cd as F0WizardForm, ps as F1SearchBox, _ as FILE_TYPES, Or as FileItem, Da as FormCardValueFormatterProvider, Ie as FunnelChartSkeleton, uo as GROUP_ID_SYMBOL, So as GROUP_KEY_SEPARATOR, Jt as GaugeChartSkeleton, cn as HeatmapChartSkeleton, Yl as HomeLayout, l as InlineFieldRow, Qt as InlineFieldRowList, ea as Input, Kl as Layout, _t as LineChart, He as LineChartSkeleton, at as MAX_URL_FILTER_VALUES, c as NotesTextEditor, Xt as NotesTextEditorSkeleton, pe as NumberInput, is as OneCalendar, ir as OneEllipsis, y as OneEmptyState, Os as OneFilterPicker, o as PieChart, rn as PieChartSkeleton, Zr as PongBall, Je as PrivacyModeProvider, cm as ProductBlankslate, qt as ProductCard, dm as ProductModal, pm as ProductWidget, mt as ProgressBarChart, ee as RadarChart, _e as RadarChartSkeleton, ca as RichTextDisplay, se as RichTextEditor, u as ScatterChartSkeleton, ql as StandardLayout, wp as SurveyAllQuestionsLoadingSkeleton, $p as SurveyAnsweringForm, gp as SurveyFormBuilder, nm as SurveySampleQuestion, Tp as SurveySteppedLoadingSkeleton, bs as Tag, as as TagCounter, v as Textarea, Ga as ThreadItem, Ia as ThreadListSkeleton, tv as ToastProvider, Jl as TwoColumnLayout, w as UPLOAD_INPUT_ID, P as UpsellRequestResponseDialog, gm as UpsellingAlert, vm as UpsellingBanner, E as UpsellingButton, bm as UpsellingPopover, ne as VerticalBarChart, ss as WeekStartDay, ya as WelcomeScreenCardsRow, bt as actionBarStatuses, ma as actionItemStatuses, Qr as adaptDataAdapterToInfiniteScroll, Ra as aiChatFileFromShowFilesItem, pa as aiChatFileFromUploadedFile, La as aiChatFilesFromMessage, xa as aiChatMessageText, Xa as aiTranslations, vu as alertVariantOptions, au as audioPlayerSizes, Xl as avatarVariants, Le as buildDataCollectionUrlParams, pn as buildTranslations, iu as buttonDropdownModes, ru as buttonDropdownSizes, nu as buttonDropdownVariants, kl as buttonSizes, dt as buttonToggleColors, ze as buttonToggleSizes, kt as buttonToggleVariants, Ol as buttonVariants, fu as cardAlertVariants, $r as cardImageAspectRatios, Cr as cardImageFits, jr as cardImageSizes, Hi as cardLayouts, Ao as chartColorTokens, Mo as chipVariants, Kd as computeSectionEndIds, gc as configurePdfWorker, Na as contentTypes, Gt as createAtlaskitDriver, Io as createDataSourceDefinition, ku as createF0FormDefinitionTester, Ou as createF0FormTester, El as createPageLayoutBlock, Dl as createPageLayoutBlockGroup, va as createPersonMentionSource, yu as dataCollectionLocalStorageHandler, gu as datePickerInlineDismissReasons, _u as datepickerSizes, io as defaultTranslations, Xr as defineAvailableForm, Eu as describeFormSchema, M as dialog, M as dialogs, Pt as drawers, mi as durationInputSizes, ji as durationUnits, yr as escapeUserText, ie as evaluateRenderIf, gn as experimental, Fr as f0FileItemSizes, Vr as f0FormField, li as fieldsToSeconds, Hd as flattenElements, Ai as formatPlaybackTime, md as forms, h as generateAnchorId, es as getAnimationVariants, Di as getDataCollectionStorageKey, Bo as getDataSourcePaginationType, rr as getEmojiLabel, cr as getF0Config, Is as getGranularityDefinition, ws as getGranularityDefinitions, Vs as getGranularitySimpleDefinition, gt as getSchemaDefinition, As as granularityDefinitions, bi as hasF0Config, ta as inferFieldType, Gd as injectSectionEnds, bo as isInfiniteScrollPagination, xo as isPageBasedPagination, Ii as isZodType, ou as linkVariants, Sa as markdownRenderers, qr as mergeDataCollectionFilters, so as modules, Qa as oneIconSizes, Yt as parseDataCollectionUrlParams, mc as pdfScales, Lt as predefinedPresets, Fs as rangeSeparator, vr as readDataCollectionStorage, Wd as reconstructElements, gr as resolveDataCollectionFilters, _s as resolveGranularityDefinition, Dt as resolveItemNeighbors, Qe as resolveWindowNeighbors, zi as secondsToFields, Yi as secondsToVisibleFields, hd as selectInlineDismissReasons, Oe as selectSizes, Me as selectVariants, ln as setDataCollectionUrlParams, gd as sliderTooltipModes, Ue as syncDataCollectionUrlParams, kd as tagDotColors, Dd as timelineRowApproverStatuses, Ed as timelineRowStatuses, Od as timelineRowTagVariants, Rt as toasts, Ei as unwrapZodSchema, Va as usageLimitsPopoverSides, fa as useAiChat, Aa as useAiChatTranslations, pi as useAudioPlayer, Ja as useCanvasEntity, Wa as useChatHistory, ho as useData, Ds as useDataSource, n as useDataSourceItemNavigation, qi as useDerivedTranscription, Ot as useDndEvents, zt as useDraggable, Ge as useDroppableList, tr as useEmojiConfetti, ei as useF0AiFormRegistry, ns as useF0Dialog, A as useF0DialogAlikeContext, ge as useF0Form, Et as useF0FormDefinition, _a as useFormCardValueFormatter, ov as useFormComponent, ts as useGroups, Ig as useIsDesktop, Lg as useIsMobile, Ut as useItemNeighbors, tt as usePrivacyMode, er as useReducedMotion, a as useSchemaDefinition, Lo as useSelectable, ga as useSetFormCardValueFormatter, ha as useToolCallId, $a as useXRay, R as withDataTestId, an as writeDataCollectionStorage };
|