@factorialco/f0-react 1.355.2 → 1.356.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/{DataCollectionStorageProvider-D464tg7a.js → DataCollectionStorageProvider-CYjGlOJW.js} +7377 -7480
- package/dist/{F0AiChat-DSTFlRy-.js → F0AiChat-CiIS6L-I.js} +20849 -20191
- package/dist/{F0HILActionConfirmation-CzSWycy_.js → F0HILActionConfirmation-DYjm5fCH.js} +1 -1
- package/dist/ai.d.ts +27 -5
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +27 -5
- package/dist/experimental.js +748 -748
- package/dist/f0.d.ts +27 -5
- package/dist/f0.js +76 -76
- package/dist/i18n-provider-defaults.d.ts +27 -5
- package/dist/i18n-provider-defaults.js +23 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/f0.d.ts
CHANGED
|
@@ -2356,6 +2356,28 @@ export declare const defaultTranslations: {
|
|
|
2356
2356
|
};
|
|
2357
2357
|
};
|
|
2358
2358
|
readonly ask: "Ask One";
|
|
2359
|
+
readonly growth: {
|
|
2360
|
+
readonly demoCard: {
|
|
2361
|
+
readonly title: "See {{moduleName}} in action";
|
|
2362
|
+
readonly actionLabel: "Start demo";
|
|
2363
|
+
};
|
|
2364
|
+
readonly bookAMeetingCard: {
|
|
2365
|
+
readonly title: "Talk with an expert";
|
|
2366
|
+
readonly schedule: "Mon-Fri · 09:00-21:00 (CEST)";
|
|
2367
|
+
readonly actionLabel: "Book a meeting";
|
|
2368
|
+
};
|
|
2369
|
+
readonly questionCard: {
|
|
2370
|
+
readonly actionLabel: "Next";
|
|
2371
|
+
readonly skipLabel: "Skip";
|
|
2372
|
+
readonly sendLabel: "Send";
|
|
2373
|
+
};
|
|
2374
|
+
readonly moduleCard: {
|
|
2375
|
+
readonly actionLabel: "Learn more";
|
|
2376
|
+
};
|
|
2377
|
+
readonly faqCard: {
|
|
2378
|
+
readonly title: "Questions before getting started";
|
|
2379
|
+
};
|
|
2380
|
+
};
|
|
2359
2381
|
};
|
|
2360
2382
|
readonly select: {
|
|
2361
2383
|
readonly noResults: "No results found";
|
|
@@ -7329,11 +7351,6 @@ declare module "gridstack" {
|
|
|
7329
7351
|
}
|
|
7330
7352
|
|
|
7331
7353
|
|
|
7332
|
-
declare namespace Calendar {
|
|
7333
|
-
var displayName: string;
|
|
7334
|
-
}
|
|
7335
|
-
|
|
7336
|
-
|
|
7337
7354
|
declare module "@tiptap/core" {
|
|
7338
7355
|
interface Commands<ReturnType> {
|
|
7339
7356
|
aiBlock: {
|
|
@@ -7370,3 +7387,8 @@ declare module "@tiptap/core" {
|
|
|
7370
7387
|
};
|
|
7371
7388
|
}
|
|
7372
7389
|
}
|
|
7390
|
+
|
|
7391
|
+
|
|
7392
|
+
declare namespace Calendar {
|
|
7393
|
+
var displayName: string;
|
|
7394
|
+
}
|
package/dist/f0.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a6 as X, a7 as mt, aa as qi, ab as Nn, ac as Dn, ad as Io, ae as Po, af as Yi, ag as $e, u as Tn, ah as An, ai as Bo, aj as Fo, ak as Ho, al as jo, am as De, an as Te, ao as $o, ap as Wo, aq as Ki, ar as Go, as as _r, at as Xi, au as Ji, av as Qi, aw as es, ax as ts, ay as rs, az as Vo, aA as Zo, aB as Uo, aC as qo, aD as Yo, a8 as Ge, aE as ri, aF as Ko, aG as Xo, aH as Rt, aI as Jo, aJ as Qo, aK as ea, aL as ta, aM as ra, aN as na, aO as ia, aP as sa, aQ as oa, aR as aa, aS as la, aT as ca, aU as ns, aV as da, aW as ua, aX as ha, aY as fa, aZ as ma, a_ as is, a$ as pa, b0 as ga, b1 as va,
|
|
2
|
-
import { A as Rm,
|
|
1
|
+
import { a6 as X, a7 as mt, aa as qi, ab as Nn, ac as Dn, ad as Io, ae as Po, af as Yi, ag as $e, u as Tn, ah as An, ai as Bo, aj as Fo, ak as Ho, al as jo, am as De, an as Te, ao as $o, ap as Wo, aq as Ki, ar as Go, as as _r, at as Xi, au as Ji, av as Qi, aw as es, ax as ts, ay as rs, az as Vo, aA as Zo, aB as Uo, aC as qo, aD as Yo, a8 as Ge, aE as ri, aF as Ko, aG as Xo, aH as Rt, aI as Jo, aJ as Qo, aK as ea, aL as ta, aM as ra, aN as na, aO as ia, aP as sa, aQ as oa, aR as aa, aS as la, aT as ca, aU as ns, aV as da, aW as ua, aX as ha, aY as fa, aZ as ma, a_ as is, a$ as pa, b0 as ga, b1 as va, b2 as ya, b3 as ba, b4 as xa, I as wa, b5 as _a, b6 as Ca, b7 as Ea, b8 as ka } from "./F0AiChat-CiIS6L-I.js";
|
|
2
|
+
import { A as Rm, bn as Nm, B as Dm, C as Tm, E as Am, bC as Om, h as Mm, F as Lm, a as zm, x as Im, i as Pm, b as Bm, b9 as Fm, ba as Hm, bb as jm, bc as $m, be as Wm, bf as Gm, bg as Vm, bh as Zm, bi as Um, bj as qm, bk as Ym, by as Km, s as Xm, t as Jm, v as Qm, w as ep, c as tp, bo as rp, n as np, o as ip, p as sp, H as op, k as ap, L as lp, O as cp, bm as dp, q as up, P as hp, S as fp, T as mp, l as pp, m as gp, U as vp, bz as yp, bt as bp, r as xp, j as wp, bw as _p, bs as Cp, bD as Ep, br as kp, bq as Sp, bd as Rp, d as Np, bp as Dp, bu as Tp, e as Ap, bE as Op, bl as Mp, bv as Lp, g as zp, f as Ip, bB as Pp, bx as Bp, bA as Fp } from "./F0AiChat-CiIS6L-I.js";
|
|
3
3
|
import { jsx as h, jsxs as I, Fragment as sr } from "react/jsx-runtime";
|
|
4
|
-
import G, { forwardRef as ye, useRef as $, useImperativeHandle as
|
|
4
|
+
import G, { forwardRef as ye, useRef as $, useImperativeHandle as Sa, Children as Cr, createContext as Ze, useContext as ze, useState as Z, useMemo as F, useEffect as V, useCallback as te, useLayoutEffect as mn, createElement as ni, isValidElement as ss, Fragment as Ra, memo as Na, useReducer as Da, cloneElement as Ta, PureComponent as Aa } from "react";
|
|
5
5
|
import { createPortal as os, unstable_batchedUpdates as gr } from "react-dom";
|
|
6
|
-
import { L as as, C as
|
|
7
|
-
import {
|
|
8
|
-
import { A as dg, F as ug, c as hg, b as fg, a as mg, o as pg, u as gg } from "./F0HILActionConfirmation-
|
|
6
|
+
import { L as as, C as Oa, i as ls, D as Ma, S as ii, a as La, f as sn, b as Wt, c as za, A as Ia, d as vr, e as cs, E as Pa, g as xr, h as Ba, j as Fa, k as Ha, l as Et, m as ds, u as ja, G as $a, n as Wa, o as si, p as Ga, q as us, r as Va, B as hs, X as fs, Y as pn, s as Za, t as ms, v as Ua, w as qa, x as Ya, y as Ka, z as Xa, F as Ja, H as Qa, I as el, J as oi, K as tl, M as Vt, N as on, O as rl, P as nl, Q as il, R as sl, T as ol, U as al, V as ll, W as cl, Z as dl, _ as ul, $ as hl, a0 as ai, a1 as fl, a2 as ml, a3 as ps, a4 as pl, a5 as gl, a6 as vl, a7 as On, a8 as li, a9 as yl, aa as bl, ab as xl, ac as wl, ad as _l, ae as Cl, af as El, ag as kl, ah as Sl, ai as Rl, aj as Nl, ak as Dl, al as gs, am as ci, an as vs, ao as Tl, ap as Al, aq as Ol, ar as Ml } from "./DataCollectionStorageProvider-CYjGlOJW.js";
|
|
7
|
+
import { aJ as jp, as as $p, at as Wp, aw as Gp, aA as Vp, aB as Zp, aC as Up, aE as qp, aF as Yp, aG as Kp, aH as Xp, az as Jp, aD as Qp, au as eg, av as tg, aI as rg, ax as ng, ay as ig, aK as sg, aL as og, aM as ag, aN as lg } from "./DataCollectionStorageProvider-CYjGlOJW.js";
|
|
8
|
+
import { A as dg, F as ug, c as hg, b as fg, a as mg, o as pg, u as gg } from "./F0HILActionConfirmation-DYjm5fCH.js";
|
|
9
9
|
import { defaultTranslations as yg } from "./i18n-provider-defaults.js";
|
|
10
10
|
import './f0.css';const Ll = {
|
|
11
11
|
xs: 1,
|
|
@@ -14,7 +14,7 @@ import './f0.css';const Ll = {
|
|
|
14
14
|
lg: 2
|
|
15
15
|
}, zl = ye(function({ widgets: e, children: t }, n) {
|
|
16
16
|
const i = $(null);
|
|
17
|
-
|
|
17
|
+
Sa(n, () => i.current);
|
|
18
18
|
const s = Cr.toArray(e).filter((o) => !!o).map((o, a) => h("div", {
|
|
19
19
|
className: "h-full @5xl:h-auto [&>div]:h-full",
|
|
20
20
|
children: o
|
|
@@ -26,7 +26,7 @@ import './f0.css';const Ll = {
|
|
|
26
26
|
className: "@container",
|
|
27
27
|
children: [I("div", {
|
|
28
28
|
className: "flex flex-col gap-6 px-5 pt-4 @md:pt-2 @5xl:hidden",
|
|
29
|
-
children: [h(
|
|
29
|
+
children: [h(Oa, {
|
|
30
30
|
columns: Ll,
|
|
31
31
|
showArrows: !1,
|
|
32
32
|
children: s
|
|
@@ -4389,7 +4389,7 @@ const oc = Ql("Dashboard", Rs), Wf = De("Dashboard", oc), ac = mt({
|
|
|
4389
4389
|
...d,
|
|
4390
4390
|
children: [m && I("div", {
|
|
4391
4391
|
className: "absolute right-0 top-0 flex items-center justify-end gap-2 p-4",
|
|
4392
|
-
children: [!!l && l, f.length > 0 && h(
|
|
4392
|
+
children: [!!l && l, f.length > 0 && h(Ma, {
|
|
4393
4393
|
items: lc(u)
|
|
4394
4394
|
})]
|
|
4395
4395
|
}), h("div", {
|
|
@@ -4443,7 +4443,7 @@ const dc = ({ title: r = "", description: e, titleLevel: t = "h2", children: n,
|
|
|
4443
4443
|
}, [i, e]), h("div", {
|
|
4444
4444
|
ref: n,
|
|
4445
4445
|
...t,
|
|
4446
|
-
children: i.map((o, a) => h(
|
|
4446
|
+
children: i.map((o, a) => h(Ra, {
|
|
4447
4447
|
children: o
|
|
4448
4448
|
}, a))
|
|
4449
4449
|
});
|
|
@@ -6482,7 +6482,7 @@ var at;
|
|
|
6482
6482
|
(function(r) {
|
|
6483
6483
|
r[r.Uninitialized = 0] = "Uninitialized", r[r.Initializing = 1] = "Initializing", r[r.Initialized = 2] = "Initialized";
|
|
6484
6484
|
})(at || (at = {}));
|
|
6485
|
-
const Rd = /* @__PURE__ */
|
|
6485
|
+
const Rd = /* @__PURE__ */ Na(function(e) {
|
|
6486
6486
|
var t, n, i, s;
|
|
6487
6487
|
let {
|
|
6488
6488
|
id: o,
|
|
@@ -6495,7 +6495,7 @@ const Rd = /* @__PURE__ */ ka(function(e) {
|
|
|
6495
6495
|
modifiers: m,
|
|
6496
6496
|
...x
|
|
6497
6497
|
} = e;
|
|
6498
|
-
const v =
|
|
6498
|
+
const v = Da(Cd, void 0, _d), [w, S] = v, [D, _] = Ec(), [R, y] = Z(at.Uninitialized), b = R === at.Initialized, {
|
|
6499
6499
|
draggable: {
|
|
6500
6500
|
active: g,
|
|
6501
6501
|
nodes: E,
|
|
@@ -7016,7 +7016,7 @@ function Ld(r) {
|
|
|
7016
7016
|
Promise.resolve(e(d, s)).then(() => {
|
|
7017
7017
|
i(null);
|
|
7018
7018
|
});
|
|
7019
|
-
}, [e, n, s]), G.createElement(G.Fragment, null, t, n ?
|
|
7019
|
+
}, [e, n, s]), G.createElement(G.Fragment, null, t, n ? Ta(n, {
|
|
7020
7020
|
ref: o
|
|
7021
7021
|
}) : null);
|
|
7022
7022
|
}
|
|
@@ -7896,7 +7896,7 @@ function bu(r, e) {
|
|
|
7896
7896
|
function xu(r) {
|
|
7897
7897
|
var e = r.option, t = r.isActive, n = yu(r, vu);
|
|
7898
7898
|
return typeof e == "string" ? /* @__PURE__ */ G.createElement(ii, Yt({
|
|
7899
|
-
option: /* @__PURE__ */ G.createElement(
|
|
7899
|
+
option: /* @__PURE__ */ G.createElement(La, Yt({
|
|
7900
7900
|
type: e
|
|
7901
7901
|
}, n)),
|
|
7902
7902
|
isActive: t,
|
|
@@ -8032,7 +8032,7 @@ var dr = /* @__PURE__ */ (function(r) {
|
|
|
8032
8032
|
t.setState({
|
|
8033
8033
|
isAnimationFinished: !1
|
|
8034
8034
|
});
|
|
8035
|
-
}), ct(t, "id",
|
|
8035
|
+
}), ct(t, "id", ja("recharts-scatter-")), t;
|
|
8036
8036
|
}
|
|
8037
8037
|
return Su(e, r), _u(e, [{
|
|
8038
8038
|
key: "renderSymbolsStatically",
|
|
@@ -8043,7 +8043,7 @@ var dr = /* @__PURE__ */ (function(r) {
|
|
|
8043
8043
|
return /* @__PURE__ */ G.createElement(Wt, Kt({
|
|
8044
8044
|
className: "recharts-scatter-symbol",
|
|
8045
8045
|
key: "symbol-".concat(c?.cx, "-").concat(c?.cy, "-").concat(c?.size, "-").concat(u)
|
|
8046
|
-
},
|
|
8046
|
+
}, za(i.props, c, u), {
|
|
8047
8047
|
role: "img"
|
|
8048
8048
|
}), /* @__PURE__ */ G.createElement(xu, Kt({
|
|
8049
8049
|
option: m,
|
|
@@ -8056,7 +8056,7 @@ var dr = /* @__PURE__ */ (function(r) {
|
|
|
8056
8056
|
key: "renderSymbolsWithAnimation",
|
|
8057
8057
|
value: function() {
|
|
8058
8058
|
var n = this, i = this.props, s = i.points, o = i.isAnimationActive, a = i.animationBegin, l = i.animationDuration, d = i.animationEasing, c = i.animationId, u = this.state.prevPoints;
|
|
8059
|
-
return /* @__PURE__ */ G.createElement(
|
|
8059
|
+
return /* @__PURE__ */ G.createElement(Ia, {
|
|
8060
8060
|
begin: a,
|
|
8061
8061
|
duration: l,
|
|
8062
8062
|
isActive: o,
|
|
@@ -8101,7 +8101,7 @@ var dr = /* @__PURE__ */ (function(r) {
|
|
|
8101
8101
|
var n = this.props.isAnimationActive;
|
|
8102
8102
|
if (n && !this.state.isAnimationFinished)
|
|
8103
8103
|
return null;
|
|
8104
|
-
var i = this.props, s = i.points, o = i.xAxis, a = i.yAxis, l = i.children, d = cs(l,
|
|
8104
|
+
var i = this.props, s = i.points, o = i.xAxis, a = i.yAxis, l = i.children, d = cs(l, Pa);
|
|
8105
8105
|
return d ? d.map(function(c, u) {
|
|
8106
8106
|
var f = c.props, m = f.direction, x = f.dataKey;
|
|
8107
8107
|
return /* @__PURE__ */ G.cloneElement(c, {
|
|
@@ -8133,7 +8133,7 @@ var dr = /* @__PURE__ */ (function(r) {
|
|
|
8133
8133
|
};
|
|
8134
8134
|
});
|
|
8135
8135
|
else if (o === "fitting") {
|
|
8136
|
-
var f =
|
|
8136
|
+
var f = Ba(i), m = f.xmin, x = f.xmax, v = f.a, w = f.b, S = function(R) {
|
|
8137
8137
|
return v * R + w;
|
|
8138
8138
|
};
|
|
8139
8139
|
c = [{
|
|
@@ -8150,7 +8150,7 @@ var dr = /* @__PURE__ */ (function(r) {
|
|
|
8150
8150
|
}, d), {}, {
|
|
8151
8151
|
points: c
|
|
8152
8152
|
});
|
|
8153
|
-
return /* @__PURE__ */ G.isValidElement(s) ? u = /* @__PURE__ */ G.cloneElement(s, D) :
|
|
8153
|
+
return /* @__PURE__ */ G.isValidElement(s) ? u = /* @__PURE__ */ G.cloneElement(s, D) : Fa(s) ? u = s(D) : u = /* @__PURE__ */ G.createElement(Ha, Kt({}, D, {
|
|
8154
8154
|
type: a
|
|
8155
8155
|
})), /* @__PURE__ */ G.createElement(Wt, {
|
|
8156
8156
|
className: "recharts-scatter-line",
|
|
@@ -8190,7 +8190,7 @@ var dr = /* @__PURE__ */ (function(r) {
|
|
|
8190
8190
|
} : null;
|
|
8191
8191
|
}
|
|
8192
8192
|
}]);
|
|
8193
|
-
})(
|
|
8193
|
+
})(Aa);
|
|
8194
8194
|
ct(dr, "displayName", "Scatter");
|
|
8195
8195
|
ct(dr, "defaultProps", {
|
|
8196
8196
|
xAxisId: 0,
|
|
@@ -8202,13 +8202,13 @@ ct(dr, "defaultProps", {
|
|
|
8202
8202
|
data: [],
|
|
8203
8203
|
shape: "circle",
|
|
8204
8204
|
hide: !1,
|
|
8205
|
-
isAnimationActive:
|
|
8205
|
+
isAnimationActive: !$a.isSsr,
|
|
8206
8206
|
animationBegin: 0,
|
|
8207
8207
|
animationDuration: 400,
|
|
8208
8208
|
animationEasing: "linear"
|
|
8209
8209
|
});
|
|
8210
8210
|
ct(dr, "getComposedData", function(r) {
|
|
8211
|
-
var e = r.xAxis, t = r.yAxis, n = r.zAxis, i = r.item, s = r.displayedData, o = r.xAxisTicks, a = r.yAxisTicks, l = r.offset, d = i.props.tooltipType, c = cs(i.props.children,
|
|
8211
|
+
var e = r.xAxis, t = r.yAxis, n = r.zAxis, i = r.item, s = r.displayedData, o = r.xAxisTicks, a = r.yAxisTicks, l = r.offset, d = i.props.tooltipType, c = cs(i.props.children, Wa), u = Et(e.dataKey) ? i.props.dataKey : e.dataKey, f = Et(t.dataKey) ? i.props.dataKey : t.dataKey, m = n && n.dataKey, x = n ? n.range : Qr.defaultProps.range, v = x && x[0], w = e.scale.bandwidth ? e.scale.bandwidth() : 0, S = t.scale.bandwidth ? t.scale.bandwidth() : 0, D = s.map(function(_, R) {
|
|
8212
8212
|
var y = xr(_, u), b = xr(_, f), g = !Et(m) && xr(_, m) || "-", E = [{
|
|
8213
8213
|
name: Et(e.dataKey) ? i.props.name : e.name || e.dataKey,
|
|
8214
8214
|
unit: e.unit || "",
|
|
@@ -8275,9 +8275,9 @@ ct(dr, "getComposedData", function(r) {
|
|
|
8275
8275
|
points: D
|
|
8276
8276
|
}, l);
|
|
8277
8277
|
});
|
|
8278
|
-
var Nu =
|
|
8278
|
+
var Nu = Ga({
|
|
8279
8279
|
chartName: "ComposedChart",
|
|
8280
|
-
GraphicalChild: [us,
|
|
8280
|
+
GraphicalChild: [us, Va, hs, dr],
|
|
8281
8281
|
axisComponents: [{
|
|
8282
8282
|
axisType: "xAxis",
|
|
8283
8283
|
AxisComp: fs
|
|
@@ -8288,7 +8288,7 @@ var Nu = ja({
|
|
|
8288
8288
|
axisType: "zAxis",
|
|
8289
8289
|
AxisComp: Qr
|
|
8290
8290
|
}],
|
|
8291
|
-
formatAxisMap:
|
|
8291
|
+
formatAxisMap: Za
|
|
8292
8292
|
});
|
|
8293
8293
|
const Du = (r) => {
|
|
8294
8294
|
const e = (t) => {
|
|
@@ -8317,8 +8317,8 @@ const Du = (r) => {
|
|
|
8317
8317
|
}, Tu = ({ dataConfig: r, data: e, xAxis: t, yAxis: n = {
|
|
8318
8318
|
hide: !0
|
|
8319
8319
|
}, label: i = !1, hideTooltip: s = !1, hideGrid: o = !1, aspect: a, legend: l, showValueUnderLabel: d = !1, bar: c, line: u, scatter: f, onClick: m }, x) => {
|
|
8320
|
-
const v =
|
|
8321
|
-
return h(
|
|
8320
|
+
const v = Ua(e), w = c?.categories ? Array.isArray(c.categories) ? c.categories : [c.categories] : [], S = u?.categories ? Array.isArray(u.categories) ? u.categories : [u.categories] : [], D = f?.categories ? Array.isArray(f.categories) ? f.categories : [f.categories] : [], _ = [...w, ...S, ...D], R = Math.max(...v.flatMap((g) => _.map((E) => qa(n?.tickFormatter ? n.tickFormatter(`${g[E]}`) : `${g[E]}`)))), y = [c, u, f].filter((g) => g?.axisPosition === "left"), b = [c, u, f].filter((g) => g?.axisPosition === "right");
|
|
8321
|
+
return h(Ya, {
|
|
8322
8322
|
config: r,
|
|
8323
8323
|
ref: x,
|
|
8324
8324
|
aspect: a,
|
|
@@ -8343,13 +8343,13 @@ const Du = (r) => {
|
|
|
8343
8343
|
E.values[M.name] = M.value;
|
|
8344
8344
|
m(E);
|
|
8345
8345
|
},
|
|
8346
|
-
children: [!s && h(
|
|
8347
|
-
...
|
|
8348
|
-
content: h(
|
|
8346
|
+
children: [!s && h(Ka, {
|
|
8347
|
+
...Xa(),
|
|
8348
|
+
content: h(Ja, {
|
|
8349
8349
|
yAxisFormatter: n.tickFormatter
|
|
8350
8350
|
})
|
|
8351
|
-
}), !o && h(
|
|
8352
|
-
...
|
|
8351
|
+
}), !o && h(Qa, {
|
|
8352
|
+
...el()
|
|
8353
8353
|
}), y.length > 0 && h(pn, {
|
|
8354
8354
|
...oi(n),
|
|
8355
8355
|
tick: !0,
|
|
@@ -8373,7 +8373,7 @@ const Du = (r) => {
|
|
|
8373
8373
|
position: "insideRight"
|
|
8374
8374
|
} : void 0
|
|
8375
8375
|
}), h(fs, {
|
|
8376
|
-
...
|
|
8376
|
+
...tl(t),
|
|
8377
8377
|
hide: t?.hide,
|
|
8378
8378
|
tick: d ? (g) => {
|
|
8379
8379
|
const { x: E, y: M, payload: T } = g, C = e.find((H) => H.label === T.value)?.values || "", N = Object.keys(C).length === 1 ? Object.values(C)?.[0] : void 0, A = N !== void 0 && n.tickFormatter ? n.tickFormatter(`${N}`) : N.toLocaleString();
|
|
@@ -8423,8 +8423,8 @@ const Du = (r) => {
|
|
|
8423
8423
|
isAnimationActive: !1,
|
|
8424
8424
|
yAxisId: f?.axisPosition === "right" ? "right" : void 0,
|
|
8425
8425
|
shape: Du(String(g))
|
|
8426
|
-
}, `scatter-${String(g)}`)), l && h(
|
|
8427
|
-
content: h(
|
|
8426
|
+
}, `scatter-${String(g)}`)), l && h(rl, {
|
|
8427
|
+
content: h(nl, {
|
|
8428
8428
|
nameKey: "label"
|
|
8429
8429
|
}),
|
|
8430
8430
|
align: "center",
|
|
@@ -8441,7 +8441,7 @@ const Du = (r) => {
|
|
|
8441
8441
|
"aria-live": "polite",
|
|
8442
8442
|
children: [h("div", {
|
|
8443
8443
|
className: "flex-grow",
|
|
8444
|
-
children: h(
|
|
8444
|
+
children: h(il, {
|
|
8445
8445
|
color: s,
|
|
8446
8446
|
value: o,
|
|
8447
8447
|
className: "w-full",
|
|
@@ -8460,37 +8460,37 @@ const Du = (r) => {
|
|
|
8460
8460
|
name: "AreaChart",
|
|
8461
8461
|
type: "info"
|
|
8462
8462
|
},
|
|
8463
|
-
|
|
8463
|
+
sl
|
|
8464
8464
|
), Yf = Te(
|
|
8465
8465
|
{
|
|
8466
8466
|
name: "BarChart",
|
|
8467
8467
|
type: "info"
|
|
8468
8468
|
},
|
|
8469
|
-
|
|
8469
|
+
ol
|
|
8470
8470
|
), Kf = Te(
|
|
8471
8471
|
{
|
|
8472
8472
|
name: "CategoryBarChart",
|
|
8473
8473
|
type: "info"
|
|
8474
8474
|
},
|
|
8475
|
-
|
|
8475
|
+
al
|
|
8476
8476
|
), Xf = Te(
|
|
8477
8477
|
{
|
|
8478
8478
|
name: "LineChart",
|
|
8479
8479
|
type: "info"
|
|
8480
8480
|
},
|
|
8481
|
-
|
|
8481
|
+
ll
|
|
8482
8482
|
), Jf = Te(
|
|
8483
8483
|
{
|
|
8484
8484
|
name: "PieChart",
|
|
8485
8485
|
type: "info"
|
|
8486
8486
|
},
|
|
8487
|
-
|
|
8487
|
+
cl
|
|
8488
8488
|
), Qf = Te(
|
|
8489
8489
|
{
|
|
8490
8490
|
name: "VerticalBarChart",
|
|
8491
8491
|
type: "info"
|
|
8492
8492
|
},
|
|
8493
|
-
|
|
8493
|
+
dl
|
|
8494
8494
|
), em = Te(
|
|
8495
8495
|
{
|
|
8496
8496
|
name: "ProgressBarChart",
|
|
@@ -8510,11 +8510,11 @@ const Du = (r) => {
|
|
|
8510
8510
|
show: r.show ?? !0,
|
|
8511
8511
|
invertStatus: r.invertStatus ?? !1
|
|
8512
8512
|
}, so = ({ label: r, ...e }) => {
|
|
8513
|
-
const t =
|
|
8513
|
+
const t = ul(), n = t(e.value, {
|
|
8514
8514
|
formatterOptions: {
|
|
8515
8515
|
decimalPlaces: 2
|
|
8516
8516
|
}
|
|
8517
|
-
}), i = Lu(e.trend), s = t(e.comparison), o =
|
|
8517
|
+
}), i = Lu(e.trend), s = t(e.comparison), o = hl(n.numericValue, n.formatterOptions), a = ai(s.numericValue), l = ai(n.numericValue), d = F(() => {
|
|
8518
8518
|
if (!(!a || !i.show) && !(!a || !l))
|
|
8519
8519
|
return (l - a) / a * 100;
|
|
8520
8520
|
}, [l, a, i.show]);
|
|
@@ -8527,7 +8527,7 @@ const Du = (r) => {
|
|
|
8527
8527
|
children: [h("span", {
|
|
8528
8528
|
className: "font-bold text-2xl",
|
|
8529
8529
|
children: o
|
|
8530
|
-
}), a !== void 0 && h(
|
|
8530
|
+
}), a !== void 0 && h(fl, {
|
|
8531
8531
|
percentage: d,
|
|
8532
8532
|
amount: s,
|
|
8533
8533
|
invertStatus: i.invertStatus,
|
|
@@ -9604,7 +9604,7 @@ const hm = De("F0ChipList", yo), fm = Zo, eh = mt({
|
|
|
9604
9604
|
children: s === "neutral" ? h(Uo, {
|
|
9605
9605
|
icon: i || qo,
|
|
9606
9606
|
size: "sm"
|
|
9607
|
-
}) : h(
|
|
9607
|
+
}) : h(ml, {
|
|
9608
9608
|
type: s,
|
|
9609
9609
|
size: "sm"
|
|
9610
9610
|
})
|
|
@@ -9879,7 +9879,7 @@ function gh({ field: r, formField: e, error: t, loading: n }) {
|
|
|
9879
9879
|
});
|
|
9880
9880
|
}
|
|
9881
9881
|
function vh({ field: r, formField: e, error: t, loading: n }) {
|
|
9882
|
-
return h(
|
|
9882
|
+
return h(pl, {
|
|
9883
9883
|
label: r.label,
|
|
9884
9884
|
placeholder: r.placeholder,
|
|
9885
9885
|
disabled: r.disabled,
|
|
@@ -9898,7 +9898,7 @@ function vh({ field: r, formField: e, error: t, loading: n }) {
|
|
|
9898
9898
|
}
|
|
9899
9899
|
function yh({ field: r, formField: e }) {
|
|
9900
9900
|
const t = e.value;
|
|
9901
|
-
return h(
|
|
9901
|
+
return h(gl, {
|
|
9902
9902
|
title: r.label,
|
|
9903
9903
|
placeholder: r.placeholder ?? "",
|
|
9904
9904
|
maxCharacters: r.maxCharacters,
|
|
@@ -10030,7 +10030,7 @@ function Sh({ field: r, formField: e, error: t, loading: n }) {
|
|
|
10030
10030
|
});
|
|
10031
10031
|
}
|
|
10032
10032
|
function Rh({ field: r, formField: e, error: t, loading: n }) {
|
|
10033
|
-
return h(
|
|
10033
|
+
return h(vl, {
|
|
10034
10034
|
label: r.label,
|
|
10035
10035
|
placeholder: r.placeholder,
|
|
10036
10036
|
disabled: r.disabled,
|
|
@@ -10147,7 +10147,7 @@ function Kn({ field: r, sectionId: e }) {
|
|
|
10147
10147
|
return o ? h(li, {
|
|
10148
10148
|
control: t.control,
|
|
10149
10149
|
name: r.id,
|
|
10150
|
-
render: ({ field: c, fieldState: u }) => I(
|
|
10150
|
+
render: ({ field: c, fieldState: u }) => I(yl, {
|
|
10151
10151
|
id: d,
|
|
10152
10152
|
className: "scroll-mt-4",
|
|
10153
10153
|
children: [a && I("label", {
|
|
@@ -10157,16 +10157,16 @@ function Kn({ field: r, sectionId: e }) {
|
|
|
10157
10157
|
className: "ml-0.5 text-f1-foreground-critical",
|
|
10158
10158
|
children: "*"
|
|
10159
10159
|
})]
|
|
10160
|
-
}), h(
|
|
10160
|
+
}), h(bl, {
|
|
10161
10161
|
children: Nh({
|
|
10162
10162
|
field: r,
|
|
10163
10163
|
formField: c,
|
|
10164
10164
|
fieldState: u,
|
|
10165
10165
|
isSubmitting: i
|
|
10166
10166
|
})
|
|
10167
|
-
}), r.helpText && h(
|
|
10167
|
+
}), r.helpText && h(xl, {
|
|
10168
10168
|
children: r.helpText
|
|
10169
|
-
}), h(
|
|
10169
|
+
}), h(wl, {})]
|
|
10170
10170
|
})
|
|
10171
10171
|
}) : h(li, {
|
|
10172
10172
|
control: t.control,
|
|
@@ -10198,7 +10198,7 @@ function Co({ fields: r }) {
|
|
|
10198
10198
|
disabled: c.disabled || i,
|
|
10199
10199
|
required: !!(c.validation && Dh(c.validation))
|
|
10200
10200
|
})), [o, i]), l = F(() => o.filter((c) => s[c.id]).map((c) => c.id), [o, s]);
|
|
10201
|
-
return o.length === 0 ? null : h(
|
|
10201
|
+
return o.length === 0 ? null : h(_l, {
|
|
10202
10202
|
multiple: !0,
|
|
10203
10203
|
isToggle: !0,
|
|
10204
10204
|
grouped: !0,
|
|
@@ -10247,7 +10247,7 @@ function Oh({ section: r }) {
|
|
|
10247
10247
|
className: "flex flex-col scroll-mt-4",
|
|
10248
10248
|
children: [h("div", {
|
|
10249
10249
|
className: "[&>div]:px-0.5 [&>div]:mx-0 [&>div]:border-0 py-5",
|
|
10250
|
-
children: h(
|
|
10250
|
+
children: h(Cl, {
|
|
10251
10251
|
title: i,
|
|
10252
10252
|
description: s ?? ""
|
|
10253
10253
|
})
|
|
@@ -12873,7 +12873,7 @@ Lt.create;
|
|
|
12873
12873
|
function lf(r, e) {
|
|
12874
12874
|
return async (t, n, i) => {
|
|
12875
12875
|
const s = cf(r, t);
|
|
12876
|
-
return
|
|
12876
|
+
return El(s, e)(t, n, i);
|
|
12877
12877
|
};
|
|
12878
12878
|
}
|
|
12879
12879
|
function cf(r, e) {
|
|
@@ -13323,7 +13323,7 @@ const bf = {
|
|
|
13323
13323
|
function xf(r) {
|
|
13324
13324
|
const e = Tn(), { forms: t } = e, { name: n, schema: i, sections: s, defaultValues: o, onSubmit: a, submitConfig: l, className: d, errorTriggerMode: c = "on-blur" } = r, u = l?.type === "action-bar", f = l?.label ?? "Submit", m = l?.icon === null ? void 0 : l?.icon ?? ra, x = !u, v = l?.type === "action-bar" && l?.discardable, w = u ? l?.discardConfig : void 0, S = w?.label ?? t.actionBar.discard, D = w?.icon === null ? void 0 : w?.icon ?? na, _ = u ? l?.actionBarLabel ?? t.actionBar.unsavedChanges : t.actionBar.unsavedChanges, R = u && !!l?.centerActionBarInFrameContent, y = gf(i, s), b = F(() => vf(e), [e]), g = bf[c], E = F(() => lf(i, {
|
|
13325
13325
|
errorMap: b
|
|
13326
|
-
}), [i, b]), M =
|
|
13326
|
+
}), [i, b]), M = kl({
|
|
13327
13327
|
resolver: E,
|
|
13328
13328
|
mode: g,
|
|
13329
13329
|
defaultValues: o
|
|
@@ -13346,7 +13346,7 @@ function xf(r) {
|
|
|
13346
13346
|
}), [n]);
|
|
13347
13347
|
return h(bo.Provider, {
|
|
13348
13348
|
value: le,
|
|
13349
|
-
children: I(
|
|
13349
|
+
children: I(Sl, {
|
|
13350
13350
|
...M,
|
|
13351
13351
|
children: [I("form", {
|
|
13352
13352
|
onSubmit: M.handleSubmit(J),
|
|
@@ -13385,7 +13385,7 @@ function xf(r) {
|
|
|
13385
13385
|
loading: N,
|
|
13386
13386
|
disabled: H
|
|
13387
13387
|
})]
|
|
13388
|
-
}), u && h(
|
|
13388
|
+
}), u && h(Rl, {
|
|
13389
13389
|
isOpen: C,
|
|
13390
13390
|
variant: "light",
|
|
13391
13391
|
centerInFrameContent: R,
|
|
@@ -13559,7 +13559,7 @@ function Nf({ title: r, items: e, className: t, activeItem: n, collapsible: i =
|
|
|
13559
13559
|
className: X(Rf({
|
|
13560
13560
|
size: a
|
|
13561
13561
|
}), !r && "pt-2", "scrollbar-macos"),
|
|
13562
|
-
children: h(
|
|
13562
|
+
children: h(Nl, {
|
|
13563
13563
|
title: r,
|
|
13564
13564
|
items: e,
|
|
13565
13565
|
activeItem: n,
|
|
@@ -13616,7 +13616,7 @@ const xm = De(
|
|
|
13616
13616
|
children: [a && h(da, {
|
|
13617
13617
|
icon: a.icon,
|
|
13618
13618
|
text: a.label
|
|
13619
|
-
}), l && h(
|
|
13619
|
+
}), l && h(Dl, {
|
|
13620
13620
|
variant: l.variant || "positive",
|
|
13621
13621
|
text: l.label
|
|
13622
13622
|
})]
|
|
@@ -13745,12 +13745,12 @@ function Of({ mediaUrl: r, title: e, description: t, onClose: n, dismissible: i,
|
|
|
13745
13745
|
}, [o, d]);
|
|
13746
13746
|
const f = r?.includes(".mp4");
|
|
13747
13747
|
return h(sr, {
|
|
13748
|
-
children: d ? null : I(
|
|
13748
|
+
children: d ? null : I(pa, {
|
|
13749
13749
|
style: {
|
|
13750
13750
|
width: s
|
|
13751
13751
|
},
|
|
13752
13752
|
className: "relative bg-f1-background p-1",
|
|
13753
|
-
children: [I(
|
|
13753
|
+
children: [I(ga, {
|
|
13754
13754
|
children: [i && h("div", {
|
|
13755
13755
|
className: "absolute right-2 top-2 z-10",
|
|
13756
13756
|
children: h(Ge, {
|
|
@@ -13786,7 +13786,7 @@ function Of({ mediaUrl: r, title: e, description: t, onClose: n, dismissible: i,
|
|
|
13786
13786
|
})]
|
|
13787
13787
|
})]
|
|
13788
13788
|
})]
|
|
13789
|
-
}), a && h(
|
|
13789
|
+
}), a && h(va, {
|
|
13790
13790
|
className: "p-3",
|
|
13791
13791
|
children: a.map((m) => m.type === "upsell" ? h(vs, {
|
|
13792
13792
|
label: m.label,
|
|
@@ -13837,7 +13837,7 @@ const Mf = ye(function({ primaryAction: e, secondaryAction: t, ...n }, i) {
|
|
|
13837
13837
|
});
|
|
13838
13838
|
});
|
|
13839
13839
|
Mf.displayName = "UpsellingBanner";
|
|
13840
|
-
function _m({ isOpen: r, setIsOpen: e, label: t, variant: n = "promote", size: i = "md", showIcon: s = !0, side: o = "right", align: a = "center", icon: l =
|
|
13840
|
+
function _m({ isOpen: r, setIsOpen: e, label: t, variant: n = "promote", size: i = "md", showIcon: s = !0, side: o = "right", align: a = "center", icon: l = ya, mediaUrl: d, title: c, description: u, width: f = "300px", trackVisibility: m, actions: x, onClick: v, hideLabel: w = !1 }) {
|
|
13841
13841
|
const [S, D] = Z(!1), [_, R] = Z(null), [y, b] = Z(null), g = (N) => {
|
|
13842
13842
|
e(N), v && v();
|
|
13843
13843
|
}, E = async (N) => {
|
|
@@ -13899,7 +13899,7 @@ function _m({ isOpen: r, setIsOpen: e, label: t, variant: n = "promote", size: i
|
|
|
13899
13899
|
}
|
|
13900
13900
|
const Lf = Ze(null), zf = ({ children: r, fullScreen: e = !0 }) => {
|
|
13901
13901
|
const t = $(null), [n, i] = Z(t.current);
|
|
13902
|
-
return
|
|
13902
|
+
return ka(() => {
|
|
13903
13903
|
i(t.current);
|
|
13904
13904
|
}, []), h(Lf.Provider, {
|
|
13905
13905
|
value: {
|
|
@@ -13918,21 +13918,21 @@ const Lf = Ze(null), zf = ({ children: r, fullScreen: e = !0 }) => {
|
|
|
13918
13918
|
reducedMotion: "user",
|
|
13919
13919
|
children: r
|
|
13920
13920
|
}), Cm = ({ children: r, layout: e, link: t, privacyModeInitiallyEnabled: n, image: i, i18n: s, l10n: o, isDev: a = !1, dataCollectionStorageHandler: l, showExperimentalWarnings: d = !1 }) => h(If, {
|
|
13921
|
-
children: h(
|
|
13921
|
+
children: h(ba, {
|
|
13922
13922
|
isDev: a,
|
|
13923
13923
|
showExperimentalWarnings: d,
|
|
13924
|
-
children: h(
|
|
13924
|
+
children: h(xa, {
|
|
13925
13925
|
...o,
|
|
13926
|
-
children: h(
|
|
13926
|
+
children: h(wa, {
|
|
13927
13927
|
...s,
|
|
13928
|
-
children: h(
|
|
13928
|
+
children: h(_a, {
|
|
13929
13929
|
...t,
|
|
13930
13930
|
children: h(zf, {
|
|
13931
13931
|
...e,
|
|
13932
|
-
children: h(
|
|
13932
|
+
children: h(Ca, {
|
|
13933
13933
|
children: h(Al, {
|
|
13934
13934
|
initiallyEnabled: n,
|
|
13935
|
-
children: h(
|
|
13935
|
+
children: h(Ea, {
|
|
13936
13936
|
...i,
|
|
13937
13937
|
children: h(Ol, {
|
|
13938
13938
|
handler: l,
|
|
@@ -13977,7 +13977,7 @@ export {
|
|
|
13977
13977
|
mm as F0Alert,
|
|
13978
13978
|
ug as F0AuraVoiceAnimation,
|
|
13979
13979
|
Fm as F0Avatar,
|
|
13980
|
-
|
|
13980
|
+
ml as F0AvatarAlert,
|
|
13981
13981
|
Hm as F0AvatarCompany,
|
|
13982
13982
|
$p as F0AvatarDate,
|
|
13983
13983
|
jm as F0AvatarEmoji,
|
|
@@ -14014,13 +14014,13 @@ export {
|
|
|
14014
14014
|
Rt as F0Select,
|
|
14015
14015
|
xm as F0TableOfContentPopover,
|
|
14016
14016
|
Vp as F0TagAlert,
|
|
14017
|
-
|
|
14017
|
+
fl as F0TagBalance,
|
|
14018
14018
|
Zp as F0TagCompany,
|
|
14019
14019
|
Up as F0TagDot,
|
|
14020
14020
|
qp as F0TagList,
|
|
14021
14021
|
Yp as F0TagPerson,
|
|
14022
14022
|
da as F0TagRaw,
|
|
14023
|
-
|
|
14023
|
+
Dl as F0TagStatus,
|
|
14024
14024
|
Kp as F0TagTeam,
|
|
14025
14025
|
ks as F0Text,
|
|
14026
14026
|
ep as F0Thinking,
|
|
@@ -378,6 +378,28 @@ export declare const defaultTranslations: {
|
|
|
378
378
|
};
|
|
379
379
|
};
|
|
380
380
|
readonly ask: "Ask One";
|
|
381
|
+
readonly growth: {
|
|
382
|
+
readonly demoCard: {
|
|
383
|
+
readonly title: "See {{moduleName}} in action";
|
|
384
|
+
readonly actionLabel: "Start demo";
|
|
385
|
+
};
|
|
386
|
+
readonly bookAMeetingCard: {
|
|
387
|
+
readonly title: "Talk with an expert";
|
|
388
|
+
readonly schedule: "Mon-Fri · 09:00-21:00 (CEST)";
|
|
389
|
+
readonly actionLabel: "Book a meeting";
|
|
390
|
+
};
|
|
391
|
+
readonly questionCard: {
|
|
392
|
+
readonly actionLabel: "Next";
|
|
393
|
+
readonly skipLabel: "Skip";
|
|
394
|
+
readonly sendLabel: "Send";
|
|
395
|
+
};
|
|
396
|
+
readonly moduleCard: {
|
|
397
|
+
readonly actionLabel: "Learn more";
|
|
398
|
+
};
|
|
399
|
+
readonly faqCard: {
|
|
400
|
+
readonly title: "Questions before getting started";
|
|
401
|
+
};
|
|
402
|
+
};
|
|
381
403
|
};
|
|
382
404
|
readonly select: {
|
|
383
405
|
readonly noResults: "No results found";
|
|
@@ -586,11 +608,6 @@ declare module "gridstack" {
|
|
|
586
608
|
}
|
|
587
609
|
|
|
588
610
|
|
|
589
|
-
declare namespace Calendar {
|
|
590
|
-
var displayName: string;
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
|
|
594
611
|
declare module "@tiptap/core" {
|
|
595
612
|
interface Commands<ReturnType> {
|
|
596
613
|
aiBlock: {
|
|
@@ -627,3 +644,8 @@ declare module "@tiptap/core" {
|
|
|
627
644
|
};
|
|
628
645
|
}
|
|
629
646
|
}
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
declare namespace Calendar {
|
|
650
|
+
var displayName: string;
|
|
651
|
+
}
|
|
@@ -377,7 +377,29 @@ const e = {
|
|
|
377
377
|
placeholder: "Share what didn’t work"
|
|
378
378
|
}
|
|
379
379
|
},
|
|
380
|
-
ask: "Ask One"
|
|
380
|
+
ask: "Ask One",
|
|
381
|
+
growth: {
|
|
382
|
+
demoCard: {
|
|
383
|
+
title: "See {{moduleName}} in action",
|
|
384
|
+
actionLabel: "Start demo"
|
|
385
|
+
},
|
|
386
|
+
bookAMeetingCard: {
|
|
387
|
+
title: "Talk with an expert",
|
|
388
|
+
schedule: "Mon-Fri · 09:00-21:00 (CEST)",
|
|
389
|
+
actionLabel: "Book a meeting"
|
|
390
|
+
},
|
|
391
|
+
questionCard: {
|
|
392
|
+
actionLabel: "Next",
|
|
393
|
+
skipLabel: "Skip",
|
|
394
|
+
sendLabel: "Send"
|
|
395
|
+
},
|
|
396
|
+
moduleCard: {
|
|
397
|
+
actionLabel: "Learn more"
|
|
398
|
+
},
|
|
399
|
+
faqCard: {
|
|
400
|
+
title: "Questions before getting started"
|
|
401
|
+
}
|
|
402
|
+
}
|
|
381
403
|
},
|
|
382
404
|
select: {
|
|
383
405
|
noResults: "No results found",
|