@factorialco/f0-react 4.10.0 → 4.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/{F0AiProcessingOverlay-aRzAETGm.js → F0AiProcessingOverlay-BbAadqE5.js} +1 -1
- package/dist/{F0CanvasPanel-DlvTIHHX.js → F0CanvasPanel-CsVpTFqp.js} +25392 -24739
- package/dist/ai.d.ts +4 -0
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +10 -1
- package/dist/experimental.js +1381 -1432
- package/dist/f0.d.ts +30 -3
- package/dist/f0.js +60 -42
- package/dist/i18n-provider-defaults.d.ts +4 -0
- package/dist/i18n-provider-defaults.js +4 -0
- package/dist/{useDataCollectionSource-CNcaLmV5.js → useDataCollectionSource-C257Ssnk.js} +12701 -13216
- package/package.json +1 -1
package/dist/f0.d.ts
CHANGED
|
@@ -4366,6 +4366,10 @@ export declare const defaultTranslations: {
|
|
|
4366
4366
|
readonly show: "Show password";
|
|
4367
4367
|
readonly hide: "Hide password";
|
|
4368
4368
|
};
|
|
4369
|
+
readonly private: {
|
|
4370
|
+
readonly show: "Show {{label}}";
|
|
4371
|
+
readonly hide: "Hide {{label}}";
|
|
4372
|
+
};
|
|
4369
4373
|
};
|
|
4370
4374
|
readonly link: {
|
|
4371
4375
|
readonly opensInNewTab: "opens in new tab";
|
|
@@ -5329,6 +5333,20 @@ export declare type DragPayload<T = unknown> = {
|
|
|
5329
5333
|
data?: T;
|
|
5330
5334
|
};
|
|
5331
5335
|
|
|
5336
|
+
export declare type DrawerControls = {
|
|
5337
|
+
kind: "resource";
|
|
5338
|
+
expand?: {
|
|
5339
|
+
label: string;
|
|
5340
|
+
url?: string;
|
|
5341
|
+
onClick?: () => void;
|
|
5342
|
+
};
|
|
5343
|
+
navigation?: NavigationProps;
|
|
5344
|
+
} | {
|
|
5345
|
+
kind: "back";
|
|
5346
|
+
label: string;
|
|
5347
|
+
onClick: () => void;
|
|
5348
|
+
};
|
|
5349
|
+
|
|
5332
5350
|
export declare type DrawerDefinition = {
|
|
5333
5351
|
/** The size of the drawer. */
|
|
5334
5352
|
size?: DrawerSize;
|
|
@@ -10719,8 +10737,12 @@ export declare type F0TextAreaInputProps = Pick<ComponentProps<typeof Textarea_2
|
|
|
10719
10737
|
* F0 config options specific to text fields
|
|
10720
10738
|
*/
|
|
10721
10739
|
export declare interface F0TextConfig {
|
|
10722
|
-
/**
|
|
10723
|
-
|
|
10740
|
+
/**
|
|
10741
|
+
* Input type. `"private"` is a non-HTML F0 subtype for sensitive,
|
|
10742
|
+
* non-credential data — masked like a password but with no lock icon, an
|
|
10743
|
+
* eye toggle, and password managers disabled.
|
|
10744
|
+
*/
|
|
10745
|
+
inputType?: "text" | "email" | "password" | "tel" | "url" | "private";
|
|
10724
10746
|
}
|
|
10725
10747
|
|
|
10726
10748
|
/**
|
|
@@ -12317,7 +12339,12 @@ declare const inputFieldStatus: readonly ["default", "warning", "info", "error"]
|
|
|
12317
12339
|
declare type InputFieldStatusType = (typeof inputFieldStatus)[number];
|
|
12318
12340
|
|
|
12319
12341
|
declare type InputInternalProps = Pick<ComponentProps<typeof Input_2>, "ref" | "id" | "aria-describedby" | "aria-invalid"> & Pick<InputFieldProps<string>, "autoFocus" | "required" | "disabled" | "size" | "onChange" | "value" | "placeholder" | "clearable" | "maxLength" | "label" | "labelIcon" | "icon" | "hideLabel" | "name" | "error" | "status" | "hint" | "autocomplete" | "buttonToggle" | "hideMaxLength" | "loading" | "transparent" | "onBlur" | "readonly"> & {
|
|
12320
|
-
|
|
12342
|
+
/**
|
|
12343
|
+
* `"private"` is a non-HTML subtype for sensitive, non-credential data:
|
|
12344
|
+
* masked like a password but with no lock icon and with password managers
|
|
12345
|
+
* disabled. It never reaches the DOM (mapped to text/password internally).
|
|
12346
|
+
*/
|
|
12347
|
+
type?: Exclude<HTMLInputTypeAttribute, "number"> | "private";
|
|
12321
12348
|
onPressEnter?: () => void;
|
|
12322
12349
|
};
|
|
12323
12350
|
|
package/dist/f0.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { a8 as rt, bt as K_, o as ae, q as Nn, gr as u2, p as Mn, eH as IG, gx as c2, af as Jp, U as K, u as We, H as tt, c_ as hu, A as Xl, j as RG, L as xv, cK as no, a9 as Gt, a5 as Wf, gy as PG, ae as kl, go as cb, gz as kG, gA as OG, gB as uC, dR as BG, gC as zG, gD as f2, fg as eg, gE as VG, gF as FG, gG as Al, gH as $f, gI as vu, gJ as GG, gK as d2, gL as HG, gM as WG, bN as $G, bM as UG, v as Es, J as Uf, K as Yf, Q as nt, O as Xf, fG as h2, Y as Zt, ad as qf, _ as ys, aQ as Q_, am as J_, gN as YG, b9 as XG, dM as cC, cE as v2, ba as ql, bb as qG, aE as ew, aF as tw, aG as rw, ci as _v, gO as p2, gP as ZG, fk as jG, gq as fC, gQ as KG, gR as QG, gS as JG, gT as e3, gU as t3, dK as nw, aD as g2, gV as dC, fe as r3, gW as n3, fN as pu, fO as Zf, f_ as i3, fE as m2, aa as bn, ar as a3, cx as fb, cw as y2, gX as o3, fQ as b2, fD as s3, gY as tg, d8 as iw, gc as l3, a3 as x2, fd as u3, bP as c3, g1 as aw, dD as f3, dE as d3, dF as h3, d as v3, er as p3, G as _2, cD as Ls, ds as w2, d7 as S2, bS as ow, du as C2, co as sw, fI as Ol, fJ as Bl, N as zl, fK as Vl, fH as Ga, cq as T2, at as g3, d5 as wv, bj as Zl, bd as Br, b_ as m3, a2 as D2, d9 as db, dN as sf, bZ as y3, $ as jf, aZ as A2, g6 as qr, gZ as b3, g_ as x3, g$ as M2, h0 as rg, h1 as _3, h2 as w3, dc as E2, da as L2, h3 as S3, aT as N2, g0 as I2, bu as gu, by as mu, bF as Kf, dv as C3, bv as T3, b8 as D3, S as R2, bc as A3, a1 as M3, d2 as hC, dr as lf, fh as E3, fi as L3, h4 as N3, aY as I3, bz as R3, cI as P2, a6 as P3, cv as k3, gu as O3, h5 as hb, bH as k2, b0 as B3, y as O2, h6 as B2, h7 as z2, h8 as z3, h9 as V3, I as F3, ha as G3, hb as H3, hc as W3, hd as $3 } from "./F0CanvasPanel-CsVpTFqp.js";
|
|
2
|
+
import { ht as mge, C as yge, D as bge, aR as xge, c as _ge, F as wge, a as Sge, hm as Cge, f as Tge, be as Dge, aS as Age, bI as Mge, dH as Ege, aJ as Lge, bo as Nge, al as Ige, dQ as Rge, au as Pge, bW as kge, g as Oge, dG as Bge, hh as zge, hh as Vge, hy as Fge, cl as Gge, e as Hge, bY as Wge, aw as $ge, bA as Uge, ho as Yge, b4 as Xge, hp as qge, hr as Zge, hs as jge, cm as Kge, hv as Qge, ce as Jge, cf as eme, P as tme, cj as rme, hq as nme, cg as ime, hu as ame, hz as ome, he as sme, hf as lme, hg as ume, ch as cme, hx as fme, hn as dme, hk as hme, hj as vme, ck as pme, fB as gme, gd as mme, hw as yme, aW as bme, cd as xme, ca as _me, cc as wme, c9 as Sme, hl as Cme, gf as Tme, g9 as Dme, fR as Ame, hC as Mme, c1 as Eme, cb as Lme, hB as Nme, bp as Ime, dI as Rme, fA as Pme, fS as kme, b as Ome, bs as Bme, gw as zme, aU as Vme, dJ as Fme, hi as Gme, hi as Hme, gb as Wme, ga as $me, hA as Ume } from "./F0CanvasPanel-CsVpTFqp.js";
|
|
3
3
|
import { jsx as S, jsxs as B, Fragment as it } from "react/jsx-runtime";
|
|
4
4
|
import * as wt from "react";
|
|
5
5
|
import xt, { forwardRef as yr, useRef as ie, useImperativeHandle as U3, Children as Sv, createContext as nn, useContext as Lr, useState as re, useMemo as le, useEffect as de, useCallback as oe, useLayoutEffect as vb, isValidElement as V2, Fragment as yu, memo as F2, useReducer as Y3, cloneElement as X3, useId as Hc, useSyncExternalStore as jl } from "react";
|
|
6
|
-
import { z as q3, B as Z3, C as j3, D as G2, E as Cv, G as
|
|
7
|
-
import { A as Xme, s as qme, t as Zme, w as jme, l as Kme, i as Qme, q as Jme, x as eye, y as tye, p as rye, r as nye, j as iye, e as aye, g as oye, k as sye, h as lye, a as uye, n as cye, m as fye, o as dye, b as hye, f as vye, v as pye, c as gye, d as mye, u as yye } from "./F0AiProcessingOverlay-
|
|
6
|
+
import { z as q3, B as Z3, C as j3, D as G2, E as Cv, G as lw, H as H2, I as W2, J as bi, K as K3, L as Q3, M as J3, N as eH, O as tH, F as rH } from "./F0AiProcessingOverlay-BbAadqE5.js";
|
|
7
|
+
import { A as Xme, s as qme, t as Zme, w as jme, l as Kme, i as Qme, q as Jme, x as eye, y as tye, p as rye, r as nye, j as iye, e as aye, g as oye, k as sye, h as lye, a as uye, n as cye, m as fye, o as dye, b as hye, f as vye, v as pye, c as gye, d as mye, u as yye } from "./F0AiProcessingOverlay-BbAadqE5.js";
|
|
8
8
|
import { createPortal as Qf, unstable_batchedUpdates as Sd } from "react-dom";
|
|
9
|
-
import { ah as $2, C as nH, F as U2, ai as Y2, aj as iH, ak as aH, al as oH, am as ng, an as ig, G as sH, ao as lH, ap as pa,
|
|
10
|
-
import { r as xye, s as _ye, H as wye, t as Sye, z as Cye,
|
|
9
|
+
import { ah as $2, C as nH, F as U2, ai as Y2, aj as iH, ak as aH, al as oH, am as ng, an as ig, G as sH, ao as lH, ap as pa, Y as uH, a8 as cH, aq as fH, Q as dH, ar as hH, as as vH, c as ag, R as uw, u as cw, W as X2, O as fw, at as pH, au as gH, av as q2, aw as vC, ax as dw, o as mH, d as Z2, $ as j2, ay as yH, az as bH, aA as xH, aB as _H, aC as wH, M as SH } from "./useDataCollectionSource-C257Ssnk.js";
|
|
10
|
+
import { r as xye, s as _ye, H as wye, t as Sye, z as Cye, aT as Tye, aS as Dye, aO as Aye, aE as Mye, aD as Eye, aF as Lye, aG as Nye, aa as Iye, a9 as Rye, ad as Pye, U as kye, J as Oye, af as Bye, K as zye, v as Vye, aU as Fye, ab as Gye, ac as Hye, N as Wye, w as $ye, P as Uye, y as Yye, D as Xye, ae as qye, T as Zye, ag as jye, x as Kye, E as Qye, aW as Jye, m as e0e, n as t0e, aN as r0e, aJ as n0e, aI as i0e, aV as a0e, a6 as o0e, aL as s0e, aM as l0e, I as u0e, aX as c0e, aY as f0e, e as d0e, aP as h0e, aQ as v0e, aR as p0e, aK as g0e, f as m0e, h as y0e, aH as b0e, aZ as x0e } from "./useDataCollectionSource-C257Ssnk.js";
|
|
11
11
|
import { utils as Fl, write as K2 } from "./xlsx-Bedf3nwD.js";
|
|
12
12
|
import { defaultTranslations as w0e } from "./i18n-provider-defaults.js";
|
|
13
13
|
import './f0.css';const CH = {
|
|
@@ -59192,18 +59192,21 @@ const Ipe = rt(
|
|
|
59192
59192
|
description: u,
|
|
59193
59193
|
module: c,
|
|
59194
59194
|
otherActions: f,
|
|
59195
|
-
|
|
59196
|
-
|
|
59197
|
-
|
|
59198
|
-
|
|
59199
|
-
|
|
59200
|
-
|
|
59195
|
+
navigation: d,
|
|
59196
|
+
resourceHeader: h,
|
|
59197
|
+
controls: v,
|
|
59198
|
+
tabs: p,
|
|
59199
|
+
modal: g = !1,
|
|
59200
|
+
activeTabId: m,
|
|
59201
|
+
setActiveTabId: y,
|
|
59202
|
+
disableContentPadding: b,
|
|
59203
|
+
container: x
|
|
59201
59204
|
}) => {
|
|
59202
|
-
const [
|
|
59205
|
+
const [w, _] = re(t);
|
|
59203
59206
|
de(() => {
|
|
59204
|
-
|
|
59207
|
+
_(t);
|
|
59205
59208
|
}, [t]);
|
|
59206
|
-
const
|
|
59209
|
+
const C = le(() => /* @__PURE__ */ B(it, { children: [
|
|
59207
59210
|
/* @__PURE__ */ S(
|
|
59208
59211
|
KG,
|
|
59209
59212
|
{
|
|
@@ -59211,19 +59214,22 @@ const Ipe = rt(
|
|
|
59211
59214
|
description: u,
|
|
59212
59215
|
module: c,
|
|
59213
59216
|
otherActions: f,
|
|
59214
|
-
|
|
59215
|
-
|
|
59216
|
-
|
|
59217
|
+
navigation: d,
|
|
59218
|
+
resourceHeader: h,
|
|
59219
|
+
controls: v,
|
|
59220
|
+
tabs: p,
|
|
59221
|
+
activeTabId: m,
|
|
59222
|
+
setActiveTabId: y,
|
|
59217
59223
|
disableClose: r
|
|
59218
59224
|
}
|
|
59219
59225
|
),
|
|
59220
|
-
/* @__PURE__ */ S(QG, { disableContentPadding:
|
|
59226
|
+
/* @__PURE__ */ S(QG, { disableContentPadding: b ?? !1, children: n }),
|
|
59221
59227
|
/* @__PURE__ */ S(
|
|
59222
59228
|
JG,
|
|
59223
59229
|
{
|
|
59224
59230
|
primaryAction: o ?? [],
|
|
59225
59231
|
secondaryAction: s ?? [],
|
|
59226
|
-
onClose: () =>
|
|
59232
|
+
onClose: () => _(!1)
|
|
59227
59233
|
}
|
|
59228
59234
|
)
|
|
59229
59235
|
] }), [
|
|
@@ -59232,10 +59238,13 @@ const Ipe = rt(
|
|
|
59232
59238
|
c,
|
|
59233
59239
|
f,
|
|
59234
59240
|
d,
|
|
59241
|
+
h,
|
|
59235
59242
|
v,
|
|
59236
59243
|
p,
|
|
59244
|
+
m,
|
|
59245
|
+
y,
|
|
59237
59246
|
r,
|
|
59238
|
-
|
|
59247
|
+
b,
|
|
59239
59248
|
n,
|
|
59240
59249
|
o,
|
|
59241
59250
|
s
|
|
@@ -59243,16 +59252,16 @@ const Ipe = rt(
|
|
|
59243
59252
|
return /* @__PURE__ */ S(
|
|
59244
59253
|
e3,
|
|
59245
59254
|
{
|
|
59246
|
-
isOpen:
|
|
59255
|
+
isOpen: w,
|
|
59247
59256
|
onClose: e,
|
|
59248
59257
|
position: i,
|
|
59249
59258
|
size: a,
|
|
59250
|
-
modal:
|
|
59251
|
-
showOverlay:
|
|
59259
|
+
modal: g,
|
|
59260
|
+
showOverlay: g,
|
|
59252
59261
|
fullHeight: !0,
|
|
59253
|
-
onOpenChange:
|
|
59254
|
-
container:
|
|
59255
|
-
children:
|
|
59262
|
+
onOpenChange: _,
|
|
59263
|
+
container: x,
|
|
59264
|
+
children: C
|
|
59256
59265
|
}
|
|
59257
59266
|
);
|
|
59258
59267
|
}, xfe = t3, P5 = (r) => {
|
|
@@ -59280,8 +59289,7 @@ const k5 = Gt("F0Drawer", P5), O5 = ({
|
|
|
59280
59289
|
tabs: h,
|
|
59281
59290
|
activeTabId: v,
|
|
59282
59291
|
setActiveTabId: p,
|
|
59283
|
-
//
|
|
59284
|
-
// not forwarded; kept in the signature for backward compatibility.
|
|
59292
|
+
// Accepted but ignored — mobile behaviour is handled internally.
|
|
59285
59293
|
asBottomSheetInMobile: g,
|
|
59286
59294
|
navigation: m,
|
|
59287
59295
|
resourceHeader: y,
|
|
@@ -59300,7 +59308,17 @@ const k5 = Gt("F0Drawer", P5), O5 = ({
|
|
|
59300
59308
|
container: d,
|
|
59301
59309
|
...h ? { tabs: h, activeTabId: v, setActiveTabId: p } : {}
|
|
59302
59310
|
};
|
|
59303
|
-
return t === "left" || t === "right" ? /* @__PURE__ */ S(
|
|
59311
|
+
return t === "left" || t === "right" ? /* @__PURE__ */ S(
|
|
59312
|
+
k5,
|
|
59313
|
+
{
|
|
59314
|
+
position: t,
|
|
59315
|
+
navigation: m,
|
|
59316
|
+
resourceHeader: y,
|
|
59317
|
+
controls: b,
|
|
59318
|
+
...x,
|
|
59319
|
+
children: c
|
|
59320
|
+
}
|
|
59321
|
+
) : /* @__PURE__ */ S(
|
|
59304
59322
|
nw,
|
|
59305
59323
|
{
|
|
59306
59324
|
size: t === "fullscreen" ? "fullscreen" : n,
|
|
@@ -60965,7 +60983,7 @@ const tde = ({ hideLabel: r = !1 }) => /* @__PURE__ */ B(
|
|
|
60965
60983
|
} = r, d = Hc(), h = a ? i : !0, v = l?.some(Boolean), p = u || c && c.length > 0 || f && f.length > 0;
|
|
60966
60984
|
return /* @__PURE__ */ B(qS, { status: e, isLast: t, hideStatus: n, children: [
|
|
60967
60985
|
/* @__PURE__ */ S("div", { className: "flex min-h-8 items-center gap-3", children: /* @__PURE__ */ S(nde, { props: r, contentId: d }) }),
|
|
60968
|
-
l && v && /* @__PURE__ */ S("div", { className: "pl-9", children: /* @__PURE__ */ S(
|
|
60986
|
+
l && v && /* @__PURE__ */ S("div", { className: "pl-9", children: /* @__PURE__ */ S(aw, { items: l }) }),
|
|
60969
60987
|
h && /* @__PURE__ */ S("div", { id: d, role: "region", className: "flex flex-col gap-0 pl-4", children: s !== void 0 ? s : o?.map((g, m) => /* @__PURE__ */ S(ode, { props: g }, `${g.title}-${m}`)) }),
|
|
60970
60988
|
p && /* @__PURE__ */ S("div", { className: "pl-9", children: /* @__PURE__ */ S(
|
|
60971
60989
|
X5,
|
|
@@ -60979,7 +60997,7 @@ const tde = ({ hideLabel: r = !1 }) => /* @__PURE__ */ B(
|
|
|
60979
60997
|
}, sde = ({ props: r }) => {
|
|
60980
60998
|
const { metadata: e, primaryAction: t, secondaryActions: n, otherActions: i } = r, a = e?.some(Boolean), o = t || n && n.length > 0 || i && i.length > 0;
|
|
60981
60999
|
return /* @__PURE__ */ B("div", { className: "pl-9", children: [
|
|
60982
|
-
e && a && /* @__PURE__ */ S("div", { className: "mb-3", children: /* @__PURE__ */ S(
|
|
61000
|
+
e && a && /* @__PURE__ */ S("div", { className: "mb-3", children: /* @__PURE__ */ S(aw, { items: e }) }),
|
|
60983
61001
|
o && /* @__PURE__ */ S("div", { className: "mb-3", children: /* @__PURE__ */ S(
|
|
60984
61002
|
X5,
|
|
60985
61003
|
{
|
|
@@ -61006,7 +61024,7 @@ const tde = ({ hideLabel: r = !1 }) => /* @__PURE__ */ B(
|
|
|
61006
61024
|
),
|
|
61007
61025
|
i && /* @__PURE__ */ S(ff, { content: i, variant: "description" })
|
|
61008
61026
|
] }),
|
|
61009
|
-
/* @__PURE__ */ S("div", { className: "flex justify-end items-center gap-3 pl-9", children: e === "completed" && a && o && /* @__PURE__ */ S(
|
|
61027
|
+
/* @__PURE__ */ S("div", { className: "flex justify-end items-center gap-3 pl-9", children: e === "completed" && a && o && /* @__PURE__ */ S(aw, { items: a }) })
|
|
61010
61028
|
] });
|
|
61011
61029
|
}, Z5 = ({ props: r }) => {
|
|
61012
61030
|
const { status: e, isLast: t = !1, hideStatus: n = !1 } = r;
|
|
@@ -61706,7 +61724,7 @@ const KS = () => {
|
|
|
61706
61724
|
},
|
|
61707
61725
|
{
|
|
61708
61726
|
label: t("surveyFormBuilder.questionTypes.date"),
|
|
61709
|
-
icon:
|
|
61727
|
+
icon: ow,
|
|
61710
61728
|
questionType: "date"
|
|
61711
61729
|
},
|
|
61712
61730
|
{
|
|
@@ -61736,7 +61754,7 @@ const KS = () => {
|
|
|
61736
61754
|
longText: iw,
|
|
61737
61755
|
numeric: Cv,
|
|
61738
61756
|
link: S2,
|
|
61739
|
-
date:
|
|
61757
|
+
date: ow,
|
|
61740
61758
|
"dropdown-single": ql,
|
|
61741
61759
|
"dropdown-multi": ql,
|
|
61742
61760
|
file: C2,
|
|
@@ -61755,7 +61773,7 @@ const KS = () => {
|
|
|
61755
61773
|
/* @__PURE__ */ S(Yf, { asChild: !0, children: /* @__PURE__ */ S(
|
|
61756
61774
|
nt,
|
|
61757
61775
|
{
|
|
61758
|
-
icon:
|
|
61776
|
+
icon: sw,
|
|
61759
61777
|
label: s("surveyFormBuilder.actions.addQuestion"),
|
|
61760
61778
|
size: "md",
|
|
61761
61779
|
variant: "outline",
|
|
@@ -61764,7 +61782,7 @@ const KS = () => {
|
|
|
61764
61782
|
) }),
|
|
61765
61783
|
/* @__PURE__ */ B(Xf, { align: "center", className: "w-80", children: [
|
|
61766
61784
|
/* @__PURE__ */ S(Zt, { onClick: u, children: /* @__PURE__ */ B("div", { className: "flex w-full flex-row items-center gap-2", children: [
|
|
61767
|
-
/* @__PURE__ */ S(tt, { icon:
|
|
61785
|
+
/* @__PURE__ */ S(tt, { icon: lw, color: "default" }),
|
|
61768
61786
|
/* @__PURE__ */ S("span", { className: "flex-1 text-base font-medium", children: s("surveyFormBuilder.questionTypes.section") })
|
|
61769
61787
|
] }) }),
|
|
61770
61788
|
/* @__PURE__ */ S(ys, {}),
|
|
@@ -62419,7 +62437,7 @@ const zI = {
|
|
|
62419
62437
|
/* @__PURE__ */ S(Yf, { asChild: !0, children: /* @__PURE__ */ S(
|
|
62420
62438
|
nt,
|
|
62421
62439
|
{
|
|
62422
|
-
icon:
|
|
62440
|
+
icon: sw,
|
|
62423
62441
|
label: T("surveyFormBuilder.actions.addQuestion"),
|
|
62424
62442
|
size: "sm",
|
|
62425
62443
|
variant: "outline",
|
|
@@ -62429,7 +62447,7 @@ const zI = {
|
|
|
62429
62447
|
/* @__PURE__ */ B(Xf, { align: "center", className: "w-80", children: [
|
|
62430
62448
|
!y && /* @__PURE__ */ B(it, { children: [
|
|
62431
62449
|
/* @__PURE__ */ S(Zt, { onClick: L, children: /* @__PURE__ */ B("div", { className: "flex w-full flex-row items-center gap-2", children: [
|
|
62432
|
-
/* @__PURE__ */ S(tt, { icon:
|
|
62450
|
+
/* @__PURE__ */ S(tt, { icon: lw, color: "default" }),
|
|
62433
62451
|
/* @__PURE__ */ S("span", { className: "flex-1 text-base font-medium", children: T("surveyFormBuilder.questionTypes.section") })
|
|
62434
62452
|
] }) }),
|
|
62435
62453
|
/* @__PURE__ */ S(ys, {})
|
|
@@ -63154,7 +63172,7 @@ const Yde = {
|
|
|
63154
63172
|
{
|
|
63155
63173
|
label: u("surveyFormBuilder.selectQuestion.addOption"),
|
|
63156
63174
|
variant: "ghost",
|
|
63157
|
-
icon:
|
|
63175
|
+
icon: sw,
|
|
63158
63176
|
onClick: v
|
|
63159
63177
|
}
|
|
63160
63178
|
) })
|
|
@@ -63710,7 +63728,7 @@ const Yde = {
|
|
|
63710
63728
|
return {
|
|
63711
63729
|
id: T,
|
|
63712
63730
|
label: C.title || t,
|
|
63713
|
-
icon:
|
|
63731
|
+
icon: lw,
|
|
63714
63732
|
onClick: b,
|
|
63715
63733
|
...!p && !g && !C.locked && {
|
|
63716
63734
|
otherActions: [
|
|
@@ -66049,7 +66067,7 @@ const rge = rt(Rhe), nge = ({
|
|
|
66049
66067
|
const n = We()?.ai?.growth?.bookAMeetingCard, i = n?.title ?? "Talk with an expert", a = n?.schedule ?? "Mon-Fri · 09:00-21:00 (CEST)", o = n?.actionLabel ?? "Book a meeting";
|
|
66050
66068
|
return /* @__PURE__ */ B(gu, { className: "flex flex-col overflow-hidden", children: [
|
|
66051
66069
|
/* @__PURE__ */ B(mu, { className: "flex flex-col gap-3 p-0", children: [
|
|
66052
|
-
/* @__PURE__ */ S(tt, { icon:
|
|
66070
|
+
/* @__PURE__ */ S(tt, { icon: ow, size: "lg" }),
|
|
66053
66071
|
/* @__PURE__ */ B("div", { className: "flex flex-col gap-0.5", children: [
|
|
66054
66072
|
/* @__PURE__ */ S("h3", { className: "text-base font-semibold text-f1-foreground", children: i }),
|
|
66055
66073
|
/* @__PURE__ */ S("p", { className: "text-sm text-f1-foreground-secondary", children: a })
|
|
@@ -135,6 +135,10 @@ export declare const defaultTranslations: {
|
|
|
135
135
|
readonly show: "Show password";
|
|
136
136
|
readonly hide: "Hide password";
|
|
137
137
|
};
|
|
138
|
+
readonly private: {
|
|
139
|
+
readonly show: "Show {{label}}";
|
|
140
|
+
readonly hide: "Hide {{label}}";
|
|
141
|
+
};
|
|
138
142
|
};
|
|
139
143
|
readonly link: {
|
|
140
144
|
readonly opensInNewTab: "opens in new tab";
|