@factorialco/f0-react 6.6.0 → 6.7.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/{ChatPdfThumbnail-D64TOT76.js → ChatPdfThumbnail-Bwr9S-w4.js} +1 -1
- package/dist/{DocumentToolbar-BnzDBY9A.js → DocumentToolbar-CGLWhffv.js} +2 -2
- package/dist/{DocxViewer-K910aw8q.js → DocxViewer-MGvSjqx6.js} +2 -2
- package/dist/{F0AiProcessingOverlay-BkfsZ5Iy.js → F0AiProcessingOverlay-BoGKj-lN.js} +110 -110
- package/dist/{F0CanvasPanel-C6qzM_nP.js → F0CanvasPanel-BImifyj_.js} +28416 -26472
- package/dist/{F0VideoPlayer-FW15Bsth.js → F0VideoPlayer-je4bZKr4.js} +43 -43
- package/dist/{SheetViewer-DLlvoFk3.js → SheetViewer-BDzFzATl.js} +2 -2
- package/dist/{TextViewer-CUtAVCh5.js → TextViewer-C2p1KLbB.js} +2 -2
- package/dist/{VolumeMuted-BBB_OqPt.js → VolumeMuted-DKLKhxyd.js} +7 -43
- package/dist/ai.d.ts +154 -0
- package/dist/ai.js +2 -2
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +254 -0
- package/dist/experimental.js +1366 -1362
- package/dist/f0.d.ts +219 -5
- package/dist/f0.js +10 -10
- package/dist/i18n-provider-defaults.d.ts +154 -0
- package/dist/i18n-provider-defaults.js +157 -3
- package/dist/index-BUBmSLPT.js +4 -0
- package/dist/{index-BW-Go-y_.js → index-C9yL20Zh.js} +3 -3
- package/dist/{index-GMJbBTvj.js → index-Dwlrr2o1.js} +31879 -27476
- package/dist/{pdfWorker-M-OJp-Of.js → pdfWorker-BZTw2yWQ.js} +2 -2
- package/package.json +3 -1
- package/dist/index-3FYXCO1b.js +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as i, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { useState as u, useCallback as m, useMemo as p } from "react";
|
|
3
|
-
import { u as x, i as w, j as k, k as S, l as C } from "./F0CanvasPanel-
|
|
4
|
-
import { n as g, a as h, f as v, T as r, d as F } from "./index-
|
|
3
|
+
import { u as x, i as w, j as k, k as S, l as C } from "./F0CanvasPanel-BImifyj_.js";
|
|
4
|
+
import { n as g, a as h, f as v, T as r, d as F } from "./index-C9yL20Zh.js";
|
|
5
5
|
const D = () => {
|
|
6
6
|
const [t, a] = u(1), n = m(
|
|
7
7
|
() => a((e) => g(e) ?? e),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as c, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as g, useState as h, useEffect as b } from "react";
|
|
3
3
|
import { r as p } from "./docx-preview-BaRDMyPN.js";
|
|
4
|
-
import { u as v, S as w } from "./F0CanvasPanel-
|
|
5
|
-
import { u as x, D as y } from "./DocumentToolbar-
|
|
4
|
+
import { u as v, S as w } from "./F0CanvasPanel-BImifyj_.js";
|
|
5
|
+
import { u as x, D as y } from "./DocumentToolbar-CGLWhffv.js";
|
|
6
6
|
const V = ({
|
|
7
7
|
url: o,
|
|
8
8
|
filename: d,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs as a, jsx as t, Fragment as R1 } from "react/jsx-runtime";
|
|
2
2
|
import { useInsertionEffect as Ar, forwardRef as m, useRef as $, useEffect as W, useLayoutEffect as ie, useState as D, useId as G1, useMemo as K, useCallback as O, createContext as W1, useContext as I1, createElement as Er, memo as $r } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { d as k, f as p1, g as
|
|
3
|
+
import { dg as Br, aI as Ir, dh as Pr, an as nt, cf as Dr, di as jr, dj as _r, dk as Zr, dl as Or, cg as Ur, cl as st, ce as zr, dm as Gr, ax as ae, dn as Wr, b7 as qr, dp as Xr, dq as Yr, dr as Kr, aP as Qr, ds as Jr, cL as eo, y as it, aC as to, dt as ro, o as le, ar as at, ai as q1, n as lt, bF as oo, cj as no, du as so, bs as io, cK as ao, ap as F1, aZ as lo, bJ as ct, dv as co, cI as uo, l as y1, cG as fo, dw as ho, ca as dt, br as po, dx as mo, dy as Co, dz as go, dA as wo, dB as vo, dC as ut, cz as xo, cA as bo, dD as Lo, dE as ko, dF as yo, dG as Mo, dH as Ro, bU as Fo, ci as No, dI as Vo, dJ as So, dK as To, E as Ho, dL as Ao, dM as Eo, dN as $o, dO as Bo, dP as Io, bT as Po, cJ as Do, aA as jo, cv as _o, dQ as Zo, dR as Oo, dS as Uo, dT as zo, dU as Go, dV as Wo, dW as qo, aV as Xo, bV as Yo, U as ft, dX as Ko, ah as Qo, aq as Jo, bW as ht, c9 as en, R as pt, dY as tn, i as rn, bI as on, bH as nn, dZ as sn, d_ as an, bX as mt, bY as ln, bZ as cn, bq as dn, a$ as un, d$ as fn, j as hn, bD as Ct, bC as gt, bx as pn, e0 as wt, az as mn, ch as ce, q as Cn, bA as de, e1 as gn, e2 as wn, e3 as ue, O as vn, Q as xn, cH as vt, e4 as bn, af as Ln, ae as kn, e5 as yn, e6 as Mn, e7 as Rn, e8 as Fn, c7 as Nn, e9 as xt, ea as Vn, aH as Sn, aB as Tn, eb as Hn, ag as i1, a7 as H1, cq as An, u as G, c6 as En, S as h1, bS as bt, V as a1, as as $n, m as w1, ec as Bn, aD as l1, aJ as v1, ad as M1, a6 as Q, cQ as Lt, t as fe, ed as In, x as he, b as k1, c4 as Pn, ee as Dn, c5 as jn, aj as _n, bp as Zn, av as pe, b_ as On, b$ as Un, c0 as zn, c1 as Me, at as Gn, aQ as kt, bf as yt, bR as Wn, b6 as qn, cY as Xn, ef as Yn, eg as Kn, bl as Mt, eh as Qn, cU as Jn, ei as es, bh as B1, by as Rt, ej as Ft, bz as Nt, c as oe, ck as Re, ek as Vt, el as ts, em as rs, aG as os, en as ns, bE as me, cw as ss, eo as is, ep as as, eq as ls, er as cs, es as ds, w as us, s as fs, v as St, ab as hs, ac as ps, aE as Fe, et as Tt, eu as Ht, ev as ms, ew as Cs, aM as gs, ay as ws, ex as vs, ey as xs, d as bs } from "./F0CanvasPanel-BImifyj_.js";
|
|
4
|
+
import { d as k, f as p1, g as Ls } from "./tooltip-Cik7KBQT.js";
|
|
5
5
|
import { createPortal as At } from "react-dom";
|
|
6
|
-
import { defaultTranslations as
|
|
7
|
-
import { useTrackVolume as
|
|
8
|
-
import {
|
|
9
|
-
import { F as Vs } from "./
|
|
6
|
+
import { defaultTranslations as ks } from "./i18n-provider-defaults.js";
|
|
7
|
+
import { useTrackVolume as ys } from "@livekit/components-react";
|
|
8
|
+
import { F as Ms } from "./Printer-BD-FEi_2.js";
|
|
9
|
+
import { F as Rs, c as Fs, b as Ns, a as Vs } from "./VolumeMuted-DKLKhxyd.js";
|
|
10
10
|
function Ss(e, r, o) {
|
|
11
11
|
Ar(() => e.on(r, o), [e, r, o]);
|
|
12
12
|
}
|
|
@@ -3954,61 +3954,61 @@ const T0 = (e, r) => /* @__PURE__ */ a(
|
|
|
3954
3954
|
Flask: pa,
|
|
3955
3955
|
Folder: To,
|
|
3956
3956
|
Folders: Ca,
|
|
3957
|
-
Globe:
|
|
3957
|
+
Globe: Ho,
|
|
3958
3958
|
Graph: wa,
|
|
3959
|
-
Greater:
|
|
3959
|
+
Greater: Ao,
|
|
3960
3960
|
Group: xa,
|
|
3961
3961
|
GroupBy: La,
|
|
3962
|
-
Handle:
|
|
3962
|
+
Handle: Eo,
|
|
3963
3963
|
Handshake: ya,
|
|
3964
3964
|
HardDrive: Ra,
|
|
3965
3965
|
HeadcountPlanning: Na,
|
|
3966
|
-
Heading1:
|
|
3967
|
-
Heading2:
|
|
3968
|
-
Heading3:
|
|
3966
|
+
Heading1: $o,
|
|
3967
|
+
Heading2: Bo,
|
|
3968
|
+
Heading3: Io,
|
|
3969
3969
|
Headset: Sa,
|
|
3970
3970
|
Heart: Ha,
|
|
3971
3971
|
HoldHeart: Ea,
|
|
3972
3972
|
Home: Ba,
|
|
3973
3973
|
Hub: Pa,
|
|
3974
|
-
Image:
|
|
3975
|
-
InProgressTask:
|
|
3974
|
+
Image: Po,
|
|
3975
|
+
InProgressTask: Do,
|
|
3976
3976
|
Inbox: ja,
|
|
3977
3977
|
Info: Za,
|
|
3978
|
-
InfoCircle:
|
|
3979
|
-
InfoCircleLine:
|
|
3978
|
+
InfoCircle: jo,
|
|
3979
|
+
InfoCircleLine: _o,
|
|
3980
3980
|
InputField: Ua,
|
|
3981
|
-
Italic:
|
|
3982
|
-
Kanban:
|
|
3981
|
+
Italic: Zo,
|
|
3982
|
+
Kanban: Oo,
|
|
3983
3983
|
Keyboard: Ga,
|
|
3984
3984
|
Laptop: qa,
|
|
3985
|
-
LayersFront:
|
|
3986
|
-
Less:
|
|
3985
|
+
LayersFront: Uo,
|
|
3986
|
+
Less: zo,
|
|
3987
3987
|
Lightbulb: Et,
|
|
3988
|
-
Link:
|
|
3988
|
+
Link: Go,
|
|
3989
3989
|
LinkRemove: Ka,
|
|
3990
|
-
List:
|
|
3991
|
-
LockLocked:
|
|
3990
|
+
List: Wo,
|
|
3991
|
+
LockLocked: qo,
|
|
3992
3992
|
LockUnlocked: Ja,
|
|
3993
|
-
LogoAvatar:
|
|
3993
|
+
LogoAvatar: Xo,
|
|
3994
3994
|
LogoEruditai: t5,
|
|
3995
3995
|
LogoTravelperk: o5,
|
|
3996
|
-
Marker:
|
|
3996
|
+
Marker: Yo,
|
|
3997
3997
|
Marketplace: s5,
|
|
3998
3998
|
Masonry: a5,
|
|
3999
3999
|
Maximize: ft,
|
|
4000
|
-
MaximizeHorizontal:
|
|
4001
|
-
Megaphone:
|
|
4002
|
-
Menu:
|
|
4000
|
+
MaximizeHorizontal: Ko,
|
|
4001
|
+
Megaphone: Qo,
|
|
4002
|
+
Menu: Jo,
|
|
4003
4003
|
MessageFilled: c5,
|
|
4004
4004
|
MessageFrown: u5,
|
|
4005
4005
|
MessageHeart: h5,
|
|
4006
4006
|
Messages: m5,
|
|
4007
4007
|
Microphone: ht,
|
|
4008
|
-
MicrophoneNegative:
|
|
4008
|
+
MicrophoneNegative: en,
|
|
4009
4009
|
Minimize: pt,
|
|
4010
|
-
MinimizeHorizontal:
|
|
4011
|
-
Minus:
|
|
4010
|
+
MinimizeHorizontal: tn,
|
|
4011
|
+
Minus: rn,
|
|
4012
4012
|
Mobile: g5,
|
|
4013
4013
|
Money: $t,
|
|
4014
4014
|
MoneyBag: x5,
|
|
@@ -4016,99 +4016,99 @@ const T0 = (e, r) => /* @__PURE__ */ a(
|
|
|
4016
4016
|
MonitorSmartphone: y5,
|
|
4017
4017
|
Moon: R5,
|
|
4018
4018
|
Mouse: N5,
|
|
4019
|
-
MoveDown:
|
|
4019
|
+
MoveDown: on,
|
|
4020
4020
|
MoveTop: S5,
|
|
4021
|
-
MoveUp:
|
|
4021
|
+
MoveUp: nn,
|
|
4022
4022
|
Multitask: H5,
|
|
4023
4023
|
New: Ce,
|
|
4024
4024
|
Numbers: $5,
|
|
4025
4025
|
Office: I5,
|
|
4026
|
-
OlList:
|
|
4027
|
-
Organization:
|
|
4026
|
+
OlList: sn,
|
|
4027
|
+
Organization: an,
|
|
4028
4028
|
PalmTree: D5,
|
|
4029
4029
|
Paperclip: mt,
|
|
4030
4030
|
PartiallyCompleted: _5,
|
|
4031
4031
|
Password: O5,
|
|
4032
4032
|
PauseCircle: z5,
|
|
4033
|
-
Pencil:
|
|
4034
|
-
People:
|
|
4035
|
-
Person:
|
|
4033
|
+
Pencil: ln,
|
|
4034
|
+
People: cn,
|
|
4035
|
+
Person: dn,
|
|
4036
4036
|
PersonMinus: W5,
|
|
4037
|
-
PersonNegative:
|
|
4037
|
+
PersonNegative: un,
|
|
4038
4038
|
PersonPlus: X5,
|
|
4039
4039
|
Phone: K5,
|
|
4040
4040
|
Pig: J5,
|
|
4041
4041
|
Pin: t0,
|
|
4042
4042
|
PixBrazil: o0,
|
|
4043
|
-
Placeholder:
|
|
4043
|
+
Placeholder: fn,
|
|
4044
4044
|
Plane: s0,
|
|
4045
|
-
Plus:
|
|
4045
|
+
Plus: hn,
|
|
4046
4046
|
Present: a0,
|
|
4047
|
-
Printer:
|
|
4047
|
+
Printer: Ms,
|
|
4048
4048
|
Proyector: c0,
|
|
4049
4049
|
PushPin: Ct,
|
|
4050
4050
|
PushPinSolid: gt,
|
|
4051
|
-
Question:
|
|
4051
|
+
Question: pn,
|
|
4052
4052
|
QuestionCircle: u0,
|
|
4053
4053
|
Quote: wt,
|
|
4054
|
-
Reaction:
|
|
4054
|
+
Reaction: mn,
|
|
4055
4055
|
Receipt: h0,
|
|
4056
4056
|
Record: m0,
|
|
4057
4057
|
RemoveFavorite: g0,
|
|
4058
4058
|
Replace: v0,
|
|
4059
4059
|
Reply: ce,
|
|
4060
|
-
Reset:
|
|
4060
|
+
Reset: Cn,
|
|
4061
4061
|
Rocket: b0,
|
|
4062
4062
|
Salad: k0,
|
|
4063
4063
|
Save: M0,
|
|
4064
4064
|
Schedule: F0,
|
|
4065
4065
|
Search: de,
|
|
4066
|
-
SearchPerson:
|
|
4067
|
-
Settings:
|
|
4068
|
-
Share:
|
|
4066
|
+
SearchPerson: gn,
|
|
4067
|
+
Settings: Rs,
|
|
4068
|
+
Share: wn,
|
|
4069
4069
|
Shield: V0,
|
|
4070
4070
|
ShoppingCart: Bt,
|
|
4071
4071
|
SignPost: H0,
|
|
4072
4072
|
Sleep: E0,
|
|
4073
4073
|
Sliders: ue,
|
|
4074
|
-
SolidPause:
|
|
4075
|
-
SolidPlay:
|
|
4074
|
+
SolidPause: vn,
|
|
4075
|
+
SolidPlay: xn,
|
|
4076
4076
|
SolidStop: vt,
|
|
4077
4077
|
Sort: B0,
|
|
4078
4078
|
Sparkles: P0,
|
|
4079
|
-
Spinner:
|
|
4079
|
+
Spinner: bn,
|
|
4080
4080
|
Split: j0,
|
|
4081
|
-
Star:
|
|
4082
|
-
StarFilled:
|
|
4083
|
-
Strikethrough:
|
|
4081
|
+
Star: Ln,
|
|
4082
|
+
StarFilled: kn,
|
|
4083
|
+
Strikethrough: yn,
|
|
4084
4084
|
Suitcase: Z0,
|
|
4085
4085
|
Swap: U0,
|
|
4086
|
-
Table:
|
|
4086
|
+
Table: Mn,
|
|
4087
4087
|
Tablet: G0,
|
|
4088
4088
|
Tag: q0,
|
|
4089
4089
|
Target: Y0,
|
|
4090
|
-
TextSize:
|
|
4090
|
+
TextSize: Rn,
|
|
4091
4091
|
ThumbsDown: It,
|
|
4092
4092
|
ThumbsDownFilled: Pt,
|
|
4093
4093
|
ThumbsUp: Dt,
|
|
4094
4094
|
ThumbsUpFilled: jt,
|
|
4095
4095
|
Timer: r2,
|
|
4096
|
-
Underline:
|
|
4097
|
-
Upload:
|
|
4096
|
+
Underline: Fn,
|
|
4097
|
+
Upload: Nn,
|
|
4098
4098
|
Upsell: xt,
|
|
4099
4099
|
UserProtected: n2,
|
|
4100
|
-
Video:
|
|
4101
|
-
VideoRecorder:
|
|
4100
|
+
Video: Vn,
|
|
4101
|
+
VideoRecorder: Sn,
|
|
4102
4102
|
VideoRecorderNegative: i2,
|
|
4103
|
-
VolumeHigh:
|
|
4104
|
-
VolumeMid:
|
|
4105
|
-
VolumeMuted:
|
|
4103
|
+
VolumeHigh: Fs,
|
|
4104
|
+
VolumeMid: Ns,
|
|
4105
|
+
VolumeMuted: Vs,
|
|
4106
4106
|
Wallet: l2,
|
|
4107
|
-
Warning:
|
|
4107
|
+
Warning: Tn,
|
|
4108
4108
|
Watch: d2,
|
|
4109
4109
|
WhatsappChat: f2,
|
|
4110
4110
|
Wifi: p2,
|
|
4111
|
-
Windows:
|
|
4111
|
+
Windows: Hn
|
|
4112
4112
|
}, Symbol.toStringTag, { value: "Module" })), C2 = (e, r) => /* @__PURE__ */ t(
|
|
4113
4113
|
"svg",
|
|
4114
4114
|
{
|
|
@@ -5250,7 +5250,7 @@ const $2 = H1({
|
|
|
5250
5250
|
}
|
|
5251
5251
|
);
|
|
5252
5252
|
er.displayName = "F0Box";
|
|
5253
|
-
const te =
|
|
5253
|
+
const te = An(
|
|
5254
5254
|
{
|
|
5255
5255
|
name: "F0Box",
|
|
5256
5256
|
type: "layout"
|
|
@@ -5282,7 +5282,7 @@ const te = Hn(
|
|
|
5282
5282
|
const w = G();
|
|
5283
5283
|
return p === "recording" ? /* @__PURE__ */ a("div", { className: "flex shrink-0 items-center gap-3 p-3", children: [
|
|
5284
5284
|
/* @__PURE__ */ t(
|
|
5285
|
-
|
|
5285
|
+
En,
|
|
5286
5286
|
{
|
|
5287
5287
|
stream: C ?? null,
|
|
5288
5288
|
className: "min-w-0 flex-1"
|
|
@@ -5452,7 +5452,7 @@ function D2({
|
|
|
5452
5452
|
}
|
|
5453
5453
|
)
|
|
5454
5454
|
] });
|
|
5455
|
-
return e.errorMessage ? /* @__PURE__ */ t(
|
|
5455
|
+
return e.errorMessage ? /* @__PURE__ */ t($n, { label: e.errorMessage, children: n }) : n;
|
|
5456
5456
|
}
|
|
5457
5457
|
const j2 = {
|
|
5458
5458
|
soft: {
|
|
@@ -5584,7 +5584,7 @@ function Z2({
|
|
|
5584
5584
|
},
|
|
5585
5585
|
children: [
|
|
5586
5586
|
/* @__PURE__ */ t(
|
|
5587
|
-
|
|
5587
|
+
Bn,
|
|
5588
5588
|
{
|
|
5589
5589
|
firstName: d.firstName,
|
|
5590
5590
|
lastName: d.lastName,
|
|
@@ -5856,7 +5856,7 @@ const Y2 = ({
|
|
|
5856
5856
|
C || (i(null), o?.(null));
|
|
5857
5857
|
},
|
|
5858
5858
|
children: [
|
|
5859
|
-
/* @__PURE__ */ t(
|
|
5859
|
+
/* @__PURE__ */ t(In, { asChild: !0, children: /* @__PURE__ */ t(
|
|
5860
5860
|
"div",
|
|
5861
5861
|
{
|
|
5862
5862
|
ref: c,
|
|
@@ -6359,7 +6359,7 @@ const al = /[\\`*_{}[\]()#+\-.!|~>]/g, ll = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
6359
6359
|
"permission-denied": y.ai.micPermissionDenied,
|
|
6360
6360
|
"device-error": y.ai.micError,
|
|
6361
6361
|
"transcription-failed": y.ai.transcriptionError
|
|
6362
|
-
}, x1 =
|
|
6362
|
+
}, x1 = Pn({
|
|
6363
6363
|
onTranscribe: h,
|
|
6364
6364
|
onPartial: S1,
|
|
6365
6365
|
onFinal: (Y) => {
|
|
@@ -6446,7 +6446,7 @@ const al = /[\\`*_{}[\]()#+\-.!|~>]/g, ll = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
6446
6446
|
onItemHover: X,
|
|
6447
6447
|
side: "top"
|
|
6448
6448
|
}
|
|
6449
|
-
) : null, Tr = H && A && !!x && x.length > 0, be = A && H, { motionProps: Hr } =
|
|
6449
|
+
) : null, Tr = H && A && !!x && x.length > 0, be = A && H, { motionProps: Hr } = Dn(
|
|
6450
6450
|
H,
|
|
6451
6451
|
160,
|
|
6452
6452
|
0.5
|
|
@@ -6580,7 +6580,7 @@ const al = /[\\`*_{}[\]()#+\-.!|~>]/g, ll = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
6580
6580
|
"bg-f1-background-critical text-f1-foreground"
|
|
6581
6581
|
),
|
|
6582
6582
|
children: [
|
|
6583
|
-
/* @__PURE__ */ t("div", { className: "h-6 w-6 flex-shrink-0", children: /* @__PURE__ */ t(
|
|
6583
|
+
/* @__PURE__ */ t("div", { className: "h-6 w-6 flex-shrink-0", children: /* @__PURE__ */ t(jn, { type: "critical", size: "sm" }) }),
|
|
6584
6584
|
/* @__PURE__ */ t("p", { className: "font-medium text-f1-foreground-critical", children: u1 })
|
|
6585
6585
|
]
|
|
6586
6586
|
}
|
|
@@ -6712,7 +6712,7 @@ const al = /[\\`*_{}[\]()#+\-.!|~>]/g, ll = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
6712
6712
|
}
|
|
6713
6713
|
) : /* @__PURE__ */ t(l1, { className: "text-sm font-medium text-f1-foreground-tertiary", children: w.text }),
|
|
6714
6714
|
w.link && w.linkText && /* @__PURE__ */ t(
|
|
6715
|
-
|
|
6715
|
+
_n,
|
|
6716
6716
|
{
|
|
6717
6717
|
href: w.link,
|
|
6718
6718
|
target: "_blank",
|
|
@@ -6826,7 +6826,7 @@ function pl({
|
|
|
6826
6826
|
children: e,
|
|
6827
6827
|
...r
|
|
6828
6828
|
}) {
|
|
6829
|
-
return /* @__PURE__ */ t(
|
|
6829
|
+
return /* @__PURE__ */ t(Zn, { ...r, variant: "link", href: r.href, children: e });
|
|
6830
6830
|
}
|
|
6831
6831
|
function ml({
|
|
6832
6832
|
children: e,
|
|
@@ -7058,7 +7058,7 @@ function A1({
|
|
|
7058
7058
|
});
|
|
7059
7059
|
}, [o, e, c, l]), g = d || !c ? s : n(c);
|
|
7060
7060
|
return /* @__PURE__ */ a(
|
|
7061
|
-
|
|
7061
|
+
On,
|
|
7062
7062
|
{
|
|
7063
7063
|
openDelay: 300,
|
|
7064
7064
|
closeDelay: 100,
|
|
@@ -7066,9 +7066,9 @@ function A1({
|
|
|
7066
7066
|
v && h();
|
|
7067
7067
|
},
|
|
7068
7068
|
children: [
|
|
7069
|
-
/* @__PURE__ */ t(
|
|
7069
|
+
/* @__PURE__ */ t(Un, { asChild: !0, children: r }),
|
|
7070
7070
|
/* @__PURE__ */ t(
|
|
7071
|
-
|
|
7071
|
+
zn,
|
|
7072
7072
|
{
|
|
7073
7073
|
side: "top",
|
|
7074
7074
|
align: "start",
|
|
@@ -7298,7 +7298,7 @@ function Hl({
|
|
|
7298
7298
|
l.status ? {
|
|
7299
7299
|
label: s.t("ai.entityRef.requisition.status"),
|
|
7300
7300
|
value: /* @__PURE__ */ t("div", { className: "flex items-center pt-1", children: /* @__PURE__ */ t(
|
|
7301
|
-
|
|
7301
|
+
Gn,
|
|
7302
7302
|
{
|
|
7303
7303
|
text: l.status,
|
|
7304
7304
|
variant: l.statusVariant ?? "neutral"
|
|
@@ -7544,8 +7544,8 @@ function ar({
|
|
|
7544
7544
|
children: [
|
|
7545
7545
|
/* @__PURE__ */ a("div", { className: "flex w-full min-w-0 flex-row items-center gap-3", children: [
|
|
7546
7546
|
e?.type === "module" && /* @__PURE__ */ t(yt, { module: e.module, size: "md" }),
|
|
7547
|
-
e?.type === "file" && /* @__PURE__ */ t(
|
|
7548
|
-
e?.type === "icon" && /* @__PURE__ */ t(
|
|
7547
|
+
e?.type === "file" && /* @__PURE__ */ t(Wn, { file: e.file, size: "lg" }),
|
|
7548
|
+
e?.type === "icon" && /* @__PURE__ */ t(qn, { icon: e.icon, size: "md" }),
|
|
7549
7549
|
/* @__PURE__ */ a("div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
7550
7550
|
/* @__PURE__ */ t(l1, { className: "text-lg font-semibold text-f1-foreground", children: r }),
|
|
7551
7551
|
o && /* @__PURE__ */ t(l1, { className: "text-base text-f1-foreground-secondary", children: o })
|
|
@@ -7629,7 +7629,7 @@ function _l(e) {
|
|
|
7629
7629
|
return e && e.charAt(0).toUpperCase() + e.slice(1);
|
|
7630
7630
|
}
|
|
7631
7631
|
function Zl(e) {
|
|
7632
|
-
const { days: r, hours: o, minutes: n, seconds: s } =
|
|
7632
|
+
const { days: r, hours: o, minutes: n, seconds: s } = Yn(e), i = [];
|
|
7633
7633
|
return r > 0 && i.push(`${r}d`), o > 0 && i.push(`${o}h`), n > 0 && i.push(`${n}m`), (s > 0 || i.length === 0) && i.push(`${s}s`), i.join(" ");
|
|
7634
7634
|
}
|
|
7635
7635
|
function Te(e) {
|
|
@@ -7725,7 +7725,7 @@ function cr({
|
|
|
7725
7725
|
showButton: w
|
|
7726
7726
|
},
|
|
7727
7727
|
children: A.length > 0 && !w && /* @__PURE__ */ t("div", { className: "-mx-3 flex w-full flex-col overflow-hidden pb-1", children: /* @__PURE__ */ t(
|
|
7728
|
-
|
|
7728
|
+
Xn,
|
|
7729
7729
|
{
|
|
7730
7730
|
details: A.map((F) => ({
|
|
7731
7731
|
title: F.label,
|
|
@@ -7742,7 +7742,7 @@ function cr({
|
|
|
7742
7742
|
}
|
|
7743
7743
|
cr.displayName = "FormCard";
|
|
7744
7744
|
function Ol() {
|
|
7745
|
-
const e =
|
|
7745
|
+
const e = Kn(), r = e?.activeForm;
|
|
7746
7746
|
if (!r) return null;
|
|
7747
7747
|
const o = r.cardTitle, n = r.cardDescription, s = (e?.getFillVersion(r.formName) ?? 0) > 0;
|
|
7748
7748
|
return !o || !n || !s ? null : /* @__PURE__ */ t("div", { className: "mt-2 w-full", children: /* @__PURE__ */ t(
|
|
@@ -7908,7 +7908,7 @@ const fr = W1(void 0), z4 = () => I1(fr), Gl = (e) => /* @__PURE__ */ t(Mt, { co
|
|
|
7908
7908
|
document.removeEventListener("keydown", C);
|
|
7909
7909
|
};
|
|
7910
7910
|
}, [d]), /* @__PURE__ */ t(
|
|
7911
|
-
|
|
7911
|
+
Qn,
|
|
7912
7912
|
{
|
|
7913
7913
|
position: "center",
|
|
7914
7914
|
isOpen: !0,
|
|
@@ -7925,7 +7925,7 @@ const fr = W1(void 0), z4 = () => I1(fr), Gl = (e) => /* @__PURE__ */ t(Mt, { co
|
|
|
7925
7925
|
onClick: p
|
|
7926
7926
|
},
|
|
7927
7927
|
children: /* @__PURE__ */ t("div", { className: "flex flex-col gap-6", children: /* @__PURE__ */ t(
|
|
7928
|
-
|
|
7928
|
+
Jn,
|
|
7929
7929
|
{
|
|
7930
7930
|
autoFocus: !0,
|
|
7931
7931
|
label: l,
|
|
@@ -7977,7 +7977,7 @@ const Kl = ({
|
|
|
7977
7977
|
const n = G(), { open: s } = pr(), [i, c] = D(null);
|
|
7978
7978
|
return /* @__PURE__ */ a("div", { className: "flex", children: [
|
|
7979
7979
|
/* @__PURE__ */ t(
|
|
7980
|
-
|
|
7980
|
+
es,
|
|
7981
7981
|
{
|
|
7982
7982
|
size: "md",
|
|
7983
7983
|
variant: "ghost",
|
|
@@ -8546,7 +8546,7 @@ const u6 = {
|
|
|
8546
8546
|
/* @__PURE__ */ t(h1, { className: "h-5 w-2/5 rounded-md" }),
|
|
8547
8547
|
/* @__PURE__ */ t(h1, { className: "h-5 w-4/5 rounded-md" })
|
|
8548
8548
|
] }) }), W4 = {
|
|
8549
|
-
ai:
|
|
8549
|
+
ai: ks.ai
|
|
8550
8550
|
}, Cr = W1(null);
|
|
8551
8551
|
function q4({
|
|
8552
8552
|
children: e,
|
|
@@ -8622,7 +8622,7 @@ const m6 = ({
|
|
|
8622
8622
|
onToggleActive: f,
|
|
8623
8623
|
onConfirm: d
|
|
8624
8624
|
}) => {
|
|
8625
|
-
const C = G().ai.clarifyingQuestion.typeYourAnswer, h = $(null), g =
|
|
8625
|
+
const C = G().ai.clarifyingQuestion.typeYourAnswer, h = $(null), g = Ls(h, c);
|
|
8626
8626
|
ie(() => {
|
|
8627
8627
|
const w = h.current;
|
|
8628
8628
|
if (!w) return;
|
|
@@ -10343,11 +10343,11 @@ void mainImage(out vec4 fragColor, in vec2 fragCoord) {
|
|
|
10343
10343
|
repeatType: "mirror"
|
|
10344
10344
|
};
|
|
10345
10345
|
function U1(e) {
|
|
10346
|
-
const [r, o] = D(e), n =
|
|
10346
|
+
const [r, o] = D(e), n = ts(e), s = $(null);
|
|
10347
10347
|
Ss(n, "change", (c) => o(c));
|
|
10348
10348
|
const i = O(
|
|
10349
10349
|
(c, u) => {
|
|
10350
|
-
s.current =
|
|
10350
|
+
s.current = rs(n, c, u);
|
|
10351
10351
|
},
|
|
10352
10352
|
[n]
|
|
10353
10353
|
);
|
|
@@ -10358,7 +10358,7 @@ function z6(e, r) {
|
|
|
10358
10358
|
value: s,
|
|
10359
10359
|
animate: i,
|
|
10360
10360
|
motionValue: c
|
|
10361
|
-
} = U1(O6), { value: u, animate: l } = U1(_6), { value: f, animate: d } = U1(Z6), { value: p, animate: C } = U1(U6), h =
|
|
10361
|
+
} = U1(O6), { value: u, animate: l } = U1(_6), { value: f, animate: d } = U1(Z6), { value: p, animate: C } = U1(U6), h = ys(r, {
|
|
10362
10362
|
fftSize: 512,
|
|
10363
10363
|
smoothingTimeConstant: 0.55
|
|
10364
10364
|
});
|
|
@@ -10613,7 +10613,7 @@ const e3 = ({
|
|
|
10613
10613
|
"alert",
|
|
10614
10614
|
"balance"
|
|
10615
10615
|
]), Q6 = ({ balance: e }) => /* @__PURE__ */ t(
|
|
10616
|
-
|
|
10616
|
+
is,
|
|
10617
10617
|
{
|
|
10618
10618
|
amount: e.amount,
|
|
10619
10619
|
percentage: e.percentage ?? void 0,
|
|
@@ -10650,7 +10650,7 @@ const e3 = ({
|
|
|
10650
10650
|
o && /* @__PURE__ */ t("span", { className: k(z1()), children: o })
|
|
10651
10651
|
] }),
|
|
10652
10652
|
n === "people" && /* @__PURE__ */ t(
|
|
10653
|
-
|
|
10653
|
+
os,
|
|
10654
10654
|
{
|
|
10655
10655
|
type: "person",
|
|
10656
10656
|
avatars: e.avatars,
|
|
@@ -10660,7 +10660,7 @@ const e3 = ({
|
|
|
10660
10660
|
),
|
|
10661
10661
|
n === "team" && /* @__PURE__ */ a("div", { className: "flex items-center gap-1", children: [
|
|
10662
10662
|
/* @__PURE__ */ t(
|
|
10663
|
-
|
|
10663
|
+
ns,
|
|
10664
10664
|
{
|
|
10665
10665
|
name: e.avatar.name,
|
|
10666
10666
|
src: e.avatar.src,
|
|
@@ -10680,7 +10680,7 @@ const e3 = ({
|
|
|
10680
10680
|
),
|
|
10681
10681
|
o && /* @__PURE__ */ t("span", { className: k(z1()), children: o })
|
|
10682
10682
|
] }),
|
|
10683
|
-
n === "alert" && /* @__PURE__ */ t(
|
|
10683
|
+
n === "alert" && /* @__PURE__ */ t(ss, { text: e.alertLabel, level: e.level }),
|
|
10684
10684
|
n === "balance" && /* @__PURE__ */ t(Q6, { balance: e.balance })
|
|
10685
10685
|
]
|
|
10686
10686
|
}
|
|
@@ -10757,8 +10757,8 @@ const t4 = ({
|
|
|
10757
10757
|
role: "img",
|
|
10758
10758
|
"aria-label": `Sparkline chart showing ${i} trend`,
|
|
10759
10759
|
children: [
|
|
10760
|
-
/* @__PURE__ */ t(
|
|
10761
|
-
|
|
10760
|
+
/* @__PURE__ */ t(as, { width: "100%", height: "100%", children: /* @__PURE__ */ a(
|
|
10761
|
+
ls,
|
|
10762
10762
|
{
|
|
10763
10763
|
data: e,
|
|
10764
10764
|
margin: { top: 4, right: 4, bottom: 0, left: 0 },
|
|
@@ -10767,9 +10767,9 @@ const t4 = ({
|
|
|
10767
10767
|
/* @__PURE__ */ t("stop", { offset: "5%", stopColor: c.fill, stopOpacity: 0.3 }),
|
|
10768
10768
|
/* @__PURE__ */ t("stop", { offset: "95%", stopColor: c.fill, stopOpacity: 0.02 })
|
|
10769
10769
|
] }) }),
|
|
10770
|
-
/* @__PURE__ */ t(
|
|
10770
|
+
/* @__PURE__ */ t(cs, { hide: !0, domain: ["dataMin - 1", "dataMax + 1"] }),
|
|
10771
10771
|
/* @__PURE__ */ t(
|
|
10772
|
-
|
|
10772
|
+
ds,
|
|
10773
10773
|
{
|
|
10774
10774
|
type: "linear",
|
|
10775
10775
|
dataKey: "value",
|
|
@@ -10934,8 +10934,8 @@ const s4 = () => /* @__PURE__ */ a(
|
|
|
10934
10934
|
] })
|
|
10935
10935
|
]
|
|
10936
10936
|
}
|
|
10937
|
-
), t3 =
|
|
10938
|
-
|
|
10937
|
+
), t3 = us(
|
|
10938
|
+
fs(kr, s4)
|
|
10939
10939
|
), r3 = [
|
|
10940
10940
|
"text",
|
|
10941
10941
|
"person",
|
|
@@ -11483,7 +11483,7 @@ const se = ({
|
|
|
11483
11483
|
compact: C = !1,
|
|
11484
11484
|
actions: h
|
|
11485
11485
|
}) => {
|
|
11486
|
-
const g = G(), v = v1(), w =
|
|
11486
|
+
const g = G(), v = v1(), w = hs(`(max-width: ${ps.md}px)`, {
|
|
11487
11487
|
initializeWithValue: !0
|
|
11488
11488
|
}), b = !s && !w && /* @__PURE__ */ t(
|
|
11489
11489
|
i1,
|
|
@@ -11633,13 +11633,13 @@ const se = ({
|
|
|
11633
11633
|
};
|
|
11634
11634
|
function x4(e) {
|
|
11635
11635
|
const r = new Date(e), o = /* @__PURE__ */ new Date();
|
|
11636
|
-
return Tt(r) ? "today" : Ht(r) ? "yesterday" :
|
|
11636
|
+
return Tt(r) ? "today" : Ht(r) ? "yesterday" : Cs(r, o) ? "thisMonth" : "older";
|
|
11637
11637
|
}
|
|
11638
11638
|
function b4(e, r, o) {
|
|
11639
11639
|
const n = new Date(e), s = Fe(n, "p", { locale: o });
|
|
11640
11640
|
if (Tt(n)) return `${r.today}, ${s}`;
|
|
11641
11641
|
if (Ht(n)) return `${r.yesterday}, ${s}`;
|
|
11642
|
-
const i = !
|
|
11642
|
+
const i = !ms(n, /* @__PURE__ */ new Date());
|
|
11643
11643
|
return `${Fe(n, i ? "MMM d yyyy" : "MMM d", {
|
|
11644
11644
|
locale: o
|
|
11645
11645
|
})}, ${s}`;
|
|
@@ -11668,7 +11668,7 @@ function k4({
|
|
|
11668
11668
|
onDelete: u,
|
|
11669
11669
|
className: l
|
|
11670
11670
|
}) {
|
|
11671
|
-
const f = G(), d =
|
|
11671
|
+
const f = G(), d = gs(), p = K(
|
|
11672
11672
|
() => [
|
|
11673
11673
|
{
|
|
11674
11674
|
label: r ? f.ai.unpinChat : f.ai.pinChat,
|
|
@@ -11740,7 +11740,7 @@ function k4({
|
|
|
11740
11740
|
{
|
|
11741
11741
|
className: "flex h-7 w-7 shrink-0 items-center justify-center",
|
|
11742
11742
|
"aria-label": f.ai.threadOptions,
|
|
11743
|
-
children: /* @__PURE__ */ t(
|
|
11743
|
+
children: /* @__PURE__ */ t(ws, { size: "small" })
|
|
11744
11744
|
}
|
|
11745
11745
|
)
|
|
11746
11746
|
) : /* @__PURE__ */ t(
|
|
@@ -11998,11 +11998,11 @@ const s3 = ({
|
|
|
11998
11998
|
);
|
|
11999
11999
|
}, Mr = "f0-ai-pinned-threads";
|
|
12000
12000
|
function R4() {
|
|
12001
|
-
const e =
|
|
12001
|
+
const e = vs(Mr, []);
|
|
12002
12002
|
return new Set(Array.isArray(e) ? e : []);
|
|
12003
12003
|
}
|
|
12004
12004
|
function ot(e) {
|
|
12005
|
-
|
|
12005
|
+
xs(Mr, [...e]);
|
|
12006
12006
|
}
|
|
12007
12007
|
function i3({
|
|
12008
12008
|
enabled: e = !1,
|
|
@@ -12076,7 +12076,7 @@ function i3({
|
|
|
12076
12076
|
deleteThread: F
|
|
12077
12077
|
};
|
|
12078
12078
|
}
|
|
12079
|
-
const F4 = Q.create(
|
|
12079
|
+
const F4 = Q.create(bs), N4 = ({
|
|
12080
12080
|
label: e,
|
|
12081
12081
|
reduceMotion: r
|
|
12082
12082
|
}) => (
|