@factorialco/f0-react 2.45.0 → 2.47.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/{F0CanvasPanel-DMLQMGBW.js → F0CanvasPanel-DAS9OuMu.js} +206 -203
- package/dist/ai.d.ts +438 -14
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +13 -7
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +43 -16
- package/dist/f0.js +12530 -13235
- package/dist/i18n-provider-defaults.d.ts +7 -6
- package/dist/i18n-provider-defaults.js +1 -0
- package/dist/styles.css +1 -1
- package/dist/{useChatHistory-DvbntgsJ.js → useChatHistory-widnlpnJ.js} +4553 -3852
- package/dist/{useDataCollectionSource-iZJIN18U.js → useDataCollectionSource-RSypR7CQ.js} +1 -1
- package/package.json +1 -1
|
@@ -22095,33 +22095,34 @@ const Ac = D1(
|
|
|
22095
22095
|
noAutoTooltip: b,
|
|
22096
22096
|
noTitle: w,
|
|
22097
22097
|
iconRotate: L = !1,
|
|
22098
|
-
|
|
22099
|
-
|
|
22100
|
-
|
|
22098
|
+
block: x = !1,
|
|
22099
|
+
counterValue: k,
|
|
22100
|
+
...E
|
|
22101
|
+
}, _) {
|
|
22101
22102
|
N8(
|
|
22102
22103
|
t,
|
|
22103
22104
|
{ disallowEmpty: !0, disallowEmojis: !0 },
|
|
22104
22105
|
{ warn: !0, componentName: "F0Button" }
|
|
22105
22106
|
);
|
|
22106
|
-
const [
|
|
22107
|
-
const
|
|
22108
|
-
if (
|
|
22109
|
-
|
|
22107
|
+
const [S, A] = w2(!1), [T, O] = w2(!1), j = async (W) => {
|
|
22108
|
+
const K = r?.(W);
|
|
22109
|
+
if (K instanceof Promise) {
|
|
22110
|
+
A(!0);
|
|
22110
22111
|
try {
|
|
22111
|
-
await
|
|
22112
|
+
await K;
|
|
22112
22113
|
} finally {
|
|
22113
|
-
|
|
22114
|
+
A(!1);
|
|
22114
22115
|
}
|
|
22115
22116
|
}
|
|
22116
|
-
},
|
|
22117
|
+
}, z = s || S, X = n || u, Y = (t ?? "").toString(), U = h ?? f, B = l ? L ? /* @__PURE__ */ a(
|
|
22117
22118
|
ah2,
|
|
22118
22119
|
{
|
|
22119
22120
|
size: f === "sm" ? "sm" : "md",
|
|
22120
22121
|
icon: l,
|
|
22121
22122
|
animate: {
|
|
22122
|
-
rotate:
|
|
22123
|
-
scale:
|
|
22124
|
-
filter:
|
|
22123
|
+
rotate: T ? 90 : 0,
|
|
22124
|
+
scale: T ? [1, 0.8, 1] : 1,
|
|
22125
|
+
filter: T ? ["blur(0px)", "blur(1px)", "blur(0px)"] : "blur(0px)"
|
|
22125
22126
|
},
|
|
22126
22127
|
transition: {
|
|
22127
22128
|
rotate: {
|
|
@@ -22167,33 +22168,34 @@ const Ac = D1(
|
|
|
22167
22168
|
{
|
|
22168
22169
|
variant: d,
|
|
22169
22170
|
size: f,
|
|
22170
|
-
disabled: o ||
|
|
22171
|
-
ref:
|
|
22172
|
-
...
|
|
22171
|
+
disabled: o || z,
|
|
22172
|
+
ref: _,
|
|
22173
|
+
...E,
|
|
22173
22174
|
tooltip: y ?? (!b && n && t),
|
|
22174
|
-
onClick:
|
|
22175
|
-
loading:
|
|
22175
|
+
onClick: j,
|
|
22176
|
+
loading: z,
|
|
22176
22177
|
className: n2(
|
|
22177
22178
|
"max-w-full",
|
|
22179
|
+
x && "w-full",
|
|
22178
22180
|
i && o && "disabled:pointer-events-none disabled:opacity-100 disabled:cursor-default",
|
|
22179
22181
|
v
|
|
22180
22182
|
),
|
|
22181
22183
|
mode: n ? "only" : "default",
|
|
22182
|
-
"aria-label": g ||
|
|
22183
|
-
title: w ? void 0 :
|
|
22184
|
-
compact: !!
|
|
22185
|
-
onMouseEnter: () =>
|
|
22186
|
-
onMouseLeave: () =>
|
|
22184
|
+
"aria-label": g || E.title || Y,
|
|
22185
|
+
title: w ? void 0 : E.title || (n ? Y : void 0),
|
|
22186
|
+
compact: !!X,
|
|
22187
|
+
onMouseEnter: () => O(!0),
|
|
22188
|
+
onMouseLeave: () => O(!1),
|
|
22187
22189
|
children: /* @__PURE__ */ P(
|
|
22188
22190
|
"div",
|
|
22189
22191
|
{
|
|
22190
22192
|
className: n2(
|
|
22191
|
-
|
|
22193
|
+
z && "invisible",
|
|
22192
22194
|
"flex min-w-0 flex-1 items-center justify-center gap-1",
|
|
22193
22195
|
l && !n && (c === "right" ? "-mr-[3px]" : "-ml-[3px]")
|
|
22194
22196
|
),
|
|
22195
22197
|
children: [
|
|
22196
|
-
c === "left" &&
|
|
22198
|
+
c === "left" && B,
|
|
22197
22199
|
u && /* @__PURE__ */ a(
|
|
22198
22200
|
SL,
|
|
22199
22201
|
{
|
|
@@ -22202,21 +22204,21 @@ const Ac = D1(
|
|
|
22202
22204
|
alt: ""
|
|
22203
22205
|
}
|
|
22204
22206
|
),
|
|
22205
|
-
|
|
22207
|
+
X ? /* @__PURE__ */ a("span", { className: "sr-only", children: Y }) : /* @__PURE__ */ a(
|
|
22206
22208
|
te,
|
|
22207
22209
|
{
|
|
22208
22210
|
className: n2(
|
|
22209
|
-
|
|
22210
|
-
oh2({ fontSize:
|
|
22211
|
+
X && "sr-only",
|
|
22212
|
+
oh2({ fontSize: U })
|
|
22211
22213
|
),
|
|
22212
22214
|
tag: "span",
|
|
22213
|
-
children:
|
|
22215
|
+
children: Y
|
|
22214
22216
|
}
|
|
22215
22217
|
),
|
|
22216
|
-
c === "right" &&
|
|
22218
|
+
c === "right" && B,
|
|
22217
22219
|
m,
|
|
22218
22220
|
" ",
|
|
22219
|
-
|
|
22221
|
+
k && /* @__PURE__ */ a(Ac, { value: k, size: "sm", type: "selected" })
|
|
22220
22222
|
]
|
|
22221
22223
|
}
|
|
22222
22224
|
)
|
|
@@ -82356,7 +82358,8 @@ const E11 = D1(vK), P11 = (e) => {
|
|
|
82356
82358
|
"compact",
|
|
82357
82359
|
"noTitle",
|
|
82358
82360
|
"noAutoTooltip",
|
|
82359
|
-
"style"
|
|
82361
|
+
"style",
|
|
82362
|
+
"block"
|
|
82360
82363
|
], yK = $((e, t) => {
|
|
82361
82364
|
const n = H11.reduce((r, o) => {
|
|
82362
82365
|
const { [o]: i, ...s } = r;
|
|
@@ -135237,7 +135240,7 @@ export {
|
|
|
135237
135240
|
cK1 as cy,
|
|
135238
135241
|
uK1 as cz,
|
|
135239
135242
|
iJ1 as d,
|
|
135240
|
-
|
|
135243
|
+
dK as d$,
|
|
135241
135244
|
Sf2 as d0,
|
|
135242
135245
|
Tf2 as d1,
|
|
135243
135246
|
FK1 as d2,
|
|
@@ -135248,33 +135251,33 @@ export {
|
|
|
135248
135251
|
ZK1 as d7,
|
|
135249
135252
|
OK1 as d8,
|
|
135250
135253
|
$W as d9,
|
|
135251
|
-
|
|
135252
|
-
|
|
135253
|
-
|
|
135254
|
-
|
|
135255
|
-
|
|
135256
|
-
|
|
135257
|
-
|
|
135258
|
-
|
|
135259
|
-
|
|
135260
|
-
|
|
135261
|
-
|
|
135262
|
-
|
|
135263
|
-
|
|
135264
|
-
|
|
135265
|
-
|
|
135266
|
-
|
|
135267
|
-
|
|
135268
|
-
|
|
135269
|
-
|
|
135270
|
-
|
|
135271
|
-
|
|
135272
|
-
|
|
135273
|
-
|
|
135274
|
-
|
|
135275
|
-
|
|
135276
|
-
|
|
135277
|
-
|
|
135254
|
+
YD2 as dA,
|
|
135255
|
+
f31 as dB,
|
|
135256
|
+
L31 as dC,
|
|
135257
|
+
BK as dD,
|
|
135258
|
+
aJ1 as dE,
|
|
135259
|
+
vQ1 as dF,
|
|
135260
|
+
zr as dG,
|
|
135261
|
+
kB1 as dH,
|
|
135262
|
+
dZ2 as dI,
|
|
135263
|
+
oJ1 as dJ,
|
|
135264
|
+
Wq as dK,
|
|
135265
|
+
jw as dL,
|
|
135266
|
+
Bq as dM,
|
|
135267
|
+
rJ1 as dN,
|
|
135268
|
+
MB1 as dO,
|
|
135269
|
+
iq as dP,
|
|
135270
|
+
VQ1 as dQ,
|
|
135271
|
+
ZG as dR,
|
|
135272
|
+
OG as dS,
|
|
135273
|
+
iM as dT,
|
|
135274
|
+
JQ1 as dU,
|
|
135275
|
+
na as dV,
|
|
135276
|
+
cY1 as dW,
|
|
135277
|
+
qQ1 as dX,
|
|
135278
|
+
n0 as dY,
|
|
135279
|
+
tK1 as dZ,
|
|
135280
|
+
cq as d_,
|
|
135278
135281
|
Gf2 as da,
|
|
135279
135282
|
DK1 as db,
|
|
135280
135283
|
NK1 as dc,
|
|
@@ -135299,148 +135302,148 @@ export {
|
|
|
135299
135302
|
OC2 as dw,
|
|
135300
135303
|
fQ1 as dx,
|
|
135301
135304
|
IC2 as dy,
|
|
135302
|
-
|
|
135305
|
+
sc2 as dz,
|
|
135303
135306
|
vY1 as e,
|
|
135304
|
-
|
|
135305
|
-
|
|
135306
|
-
|
|
135307
|
-
|
|
135308
|
-
|
|
135309
|
-
|
|
135310
|
-
|
|
135311
|
-
|
|
135312
|
-
|
|
135313
|
-
|
|
135314
|
-
|
|
135315
|
-
|
|
135316
|
-
|
|
135317
|
-
|
|
135318
|
-
|
|
135319
|
-
|
|
135320
|
-
|
|
135321
|
-
|
|
135322
|
-
|
|
135323
|
-
|
|
135324
|
-
|
|
135325
|
-
|
|
135326
|
-
|
|
135327
|
-
|
|
135328
|
-
|
|
135329
|
-
|
|
135330
|
-
|
|
135331
|
-
|
|
135332
|
-
|
|
135333
|
-
|
|
135334
|
-
|
|
135335
|
-
|
|
135336
|
-
|
|
135337
|
-
|
|
135338
|
-
|
|
135339
|
-
|
|
135340
|
-
|
|
135341
|
-
|
|
135342
|
-
|
|
135343
|
-
|
|
135344
|
-
|
|
135345
|
-
|
|
135346
|
-
|
|
135347
|
-
|
|
135348
|
-
|
|
135349
|
-
|
|
135350
|
-
|
|
135351
|
-
|
|
135352
|
-
|
|
135353
|
-
|
|
135354
|
-
|
|
135355
|
-
|
|
135356
|
-
|
|
135357
|
-
|
|
135358
|
-
|
|
135359
|
-
|
|
135360
|
-
|
|
135361
|
-
|
|
135362
|
-
|
|
135363
|
-
|
|
135364
|
-
|
|
135365
|
-
|
|
135366
|
-
|
|
135367
|
-
|
|
135307
|
+
u7 as e$,
|
|
135308
|
+
AQ1 as e0,
|
|
135309
|
+
RQ1 as e1,
|
|
135310
|
+
ak as e2,
|
|
135311
|
+
R7 as e3,
|
|
135312
|
+
tG as e4,
|
|
135313
|
+
nG as e5,
|
|
135314
|
+
Z7 as e6,
|
|
135315
|
+
Mn as e7,
|
|
135316
|
+
TB1 as e8,
|
|
135317
|
+
$B1 as e9,
|
|
135318
|
+
Ue as eA,
|
|
135319
|
+
KM as eB,
|
|
135320
|
+
Er as eC,
|
|
135321
|
+
q1 as eD,
|
|
135322
|
+
Yt as eE,
|
|
135323
|
+
yK2 as eF,
|
|
135324
|
+
h6 as eG,
|
|
135325
|
+
L5 as eH,
|
|
135326
|
+
f5 as eI,
|
|
135327
|
+
G9 as eJ,
|
|
135328
|
+
z2 as eK,
|
|
135329
|
+
nn as eL,
|
|
135330
|
+
la as eM,
|
|
135331
|
+
U8 as eN,
|
|
135332
|
+
j5 as eO,
|
|
135333
|
+
q5 as eP,
|
|
135334
|
+
qG2 as eQ,
|
|
135335
|
+
W5 as eR,
|
|
135336
|
+
m7 as eS,
|
|
135337
|
+
vX2 as eT,
|
|
135338
|
+
HY as eU,
|
|
135339
|
+
_Y as eV,
|
|
135340
|
+
NQ1 as eW,
|
|
135341
|
+
OQ1 as eX,
|
|
135342
|
+
DQ1 as eY,
|
|
135343
|
+
TQ1 as eZ,
|
|
135344
|
+
EJ2 as e_,
|
|
135345
|
+
dc as ea,
|
|
135346
|
+
cc as eb,
|
|
135347
|
+
jn2 as ec,
|
|
135348
|
+
Kb as ed,
|
|
135349
|
+
q3 as ee,
|
|
135350
|
+
an as ef,
|
|
135351
|
+
YP as eg,
|
|
135352
|
+
p92 as eh,
|
|
135353
|
+
JY1 as ei,
|
|
135354
|
+
bZ2 as ej,
|
|
135355
|
+
qv as ek,
|
|
135356
|
+
ie as el,
|
|
135357
|
+
dn as em,
|
|
135358
|
+
Q1 as en,
|
|
135359
|
+
z1 as eo,
|
|
135360
|
+
je as ep,
|
|
135361
|
+
xU as eq,
|
|
135362
|
+
fq2 as er,
|
|
135363
|
+
En as es,
|
|
135364
|
+
w3 as et,
|
|
135365
|
+
mq2 as eu,
|
|
135366
|
+
Z1 as ev,
|
|
135367
|
+
ul as ew,
|
|
135368
|
+
ee as ex,
|
|
135369
|
+
ZQ1 as ey,
|
|
135370
|
+
Js as ez,
|
|
135368
135371
|
zY1 as f,
|
|
135369
|
-
|
|
135370
|
-
|
|
135371
|
-
|
|
135372
|
-
|
|
135373
|
-
|
|
135374
|
-
|
|
135375
|
-
|
|
135376
|
-
|
|
135377
|
-
|
|
135378
|
-
|
|
135379
|
-
|
|
135380
|
-
|
|
135381
|
-
|
|
135382
|
-
|
|
135383
|
-
|
|
135384
|
-
|
|
135385
|
-
|
|
135386
|
-
|
|
135387
|
-
|
|
135388
|
-
|
|
135389
|
-
|
|
135390
|
-
|
|
135391
|
-
|
|
135392
|
-
|
|
135393
|
-
|
|
135394
|
-
|
|
135395
|
-
|
|
135396
|
-
|
|
135397
|
-
|
|
135398
|
-
|
|
135399
|
-
|
|
135400
|
-
|
|
135401
|
-
|
|
135402
|
-
|
|
135403
|
-
|
|
135404
|
-
|
|
135405
|
-
|
|
135406
|
-
|
|
135407
|
-
|
|
135408
|
-
|
|
135409
|
-
|
|
135410
|
-
|
|
135411
|
-
|
|
135412
|
-
|
|
135413
|
-
|
|
135414
|
-
|
|
135415
|
-
|
|
135416
|
-
|
|
135417
|
-
|
|
135418
|
-
|
|
135419
|
-
|
|
135420
|
-
|
|
135421
|
-
|
|
135422
|
-
|
|
135423
|
-
|
|
135424
|
-
|
|
135425
|
-
|
|
135426
|
-
|
|
135427
|
-
|
|
135428
|
-
|
|
135429
|
-
|
|
135430
|
-
|
|
135431
|
-
|
|
135432
|
-
|
|
135372
|
+
PZ2 as f$,
|
|
135373
|
+
Eu as f0,
|
|
135374
|
+
vu as f1,
|
|
135375
|
+
eR2 as f2,
|
|
135376
|
+
PZ as f3,
|
|
135377
|
+
yM as f4,
|
|
135378
|
+
SQ1 as f5,
|
|
135379
|
+
a11 as f6,
|
|
135380
|
+
ok as f7,
|
|
135381
|
+
wQ2 as f8,
|
|
135382
|
+
Ca as f9,
|
|
135383
|
+
_b2 as fA,
|
|
135384
|
+
Fb2 as fB,
|
|
135385
|
+
yQ1 as fC,
|
|
135386
|
+
BD2 as fD,
|
|
135387
|
+
qD2 as fE,
|
|
135388
|
+
GD2 as fF,
|
|
135389
|
+
PG as fG,
|
|
135390
|
+
aw as fH,
|
|
135391
|
+
zD2 as fI,
|
|
135392
|
+
gQ1 as fJ,
|
|
135393
|
+
y31 as fK,
|
|
135394
|
+
v31 as fL,
|
|
135395
|
+
vw as fM,
|
|
135396
|
+
p6 as fN,
|
|
135397
|
+
m6 as fO,
|
|
135398
|
+
rK1 as fP,
|
|
135399
|
+
zI as fQ,
|
|
135400
|
+
HJ as fR,
|
|
135401
|
+
zz1 as fS,
|
|
135402
|
+
Qz1 as fT,
|
|
135403
|
+
Xz1 as fU,
|
|
135404
|
+
tq1 as fV,
|
|
135405
|
+
cJ1 as fW,
|
|
135406
|
+
fe1 as fX,
|
|
135407
|
+
qz1 as fY,
|
|
135408
|
+
UQ1 as fZ,
|
|
135409
|
+
Nz1 as f_,
|
|
135410
|
+
$Q1 as fa,
|
|
135411
|
+
Y4 as fb,
|
|
135412
|
+
$9 as fc,
|
|
135413
|
+
YI as fd,
|
|
135414
|
+
f7 as fe,
|
|
135415
|
+
IQ1 as ff,
|
|
135416
|
+
sK as fg,
|
|
135417
|
+
Gt as fh,
|
|
135418
|
+
m11 as fi,
|
|
135419
|
+
M4 as fj,
|
|
135420
|
+
pk as fk,
|
|
135421
|
+
DK as fl,
|
|
135422
|
+
A$2 as fm,
|
|
135423
|
+
eJ1 as fn,
|
|
135424
|
+
Db as fo,
|
|
135425
|
+
o22 as fp,
|
|
135426
|
+
a22 as fq,
|
|
135427
|
+
i22 as fr,
|
|
135428
|
+
Yq as fs,
|
|
135429
|
+
k8 as ft,
|
|
135430
|
+
II1 as fu,
|
|
135431
|
+
ws as fv,
|
|
135432
|
+
Rb as fw,
|
|
135433
|
+
Az as fx,
|
|
135434
|
+
bQ1 as fy,
|
|
135435
|
+
wQ1 as fz,
|
|
135433
135436
|
ta as g,
|
|
135434
|
-
|
|
135435
|
-
|
|
135436
|
-
|
|
135437
|
-
|
|
135438
|
-
|
|
135439
|
-
|
|
135440
|
-
|
|
135441
|
-
|
|
135442
|
-
|
|
135443
|
-
|
|
135437
|
+
Me1 as g0,
|
|
135438
|
+
V9 as g1,
|
|
135439
|
+
DG1 as g2,
|
|
135440
|
+
sG1 as g3,
|
|
135441
|
+
OG1 as g4,
|
|
135442
|
+
_J as g5,
|
|
135443
|
+
VX as g6,
|
|
135444
|
+
hb as g7,
|
|
135445
|
+
b11 as g8,
|
|
135446
|
+
FD as g9,
|
|
135444
135447
|
YK as gA,
|
|
135445
135448
|
mK as gB,
|
|
135446
135449
|
E11 as gC,
|
|
@@ -135451,10 +135454,10 @@ export {
|
|
|
135451
135454
|
uJ1 as gH,
|
|
135452
135455
|
hQ1 as gI,
|
|
135453
135456
|
YY1 as gJ,
|
|
135454
|
-
|
|
135455
|
-
|
|
135456
|
-
|
|
135457
|
-
|
|
135457
|
+
Cb as ga,
|
|
135458
|
+
QC2 as gb,
|
|
135459
|
+
pQ1 as gc,
|
|
135460
|
+
IW as gd,
|
|
135458
135461
|
Br as ge,
|
|
135459
135462
|
Yk as gf,
|
|
135460
135463
|
rc as gg,
|