@factorialco/f0-react 14.24.1 → 14.24.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ArchiveThumbnail-CNwNABoZ.js → ArchiveThumbnail-PVkC6VXz.js} +1 -1
- package/dist/{ArchiveViewer-Cx_a5j2o.js → ArchiveViewer-Cn-oG8RH.js} +2 -2
- package/dist/{ChatPostComposerDialog-Dz_9Ks7f.js → ChatPostComposerDialog-CJQOWulJ.js} +2 -2
- package/dist/{CoachmarkProvider-DXN2crWr.js → CoachmarkProvider-QrO-tdON.js} +144 -144
- package/dist/{CodeThumbnail-Db8LfjSF.js → CodeThumbnail-DkZny9-j.js} +1 -1
- package/dist/{CodeViewer-BOFV_AEQ.js → CodeViewer-B-3LUvC-.js} +4 -4
- package/dist/{DocumentToolbar-DPh7FeVr.js → DocumentToolbar-CqspH1SG.js} +4 -4
- package/dist/{DocxViewer-BjL_QmSN.js → DocxViewer-Ce7Kynur.js} +1 -1
- package/dist/{F0AiProcessingOverlay-Cpl8LOW4.js → F0AiProcessingOverlay-CTd0ECZR.js} +15 -15
- package/dist/{F0Alert-B_bHfx7-.js → F0Alert-DCWi9gfo.js} +1 -1
- package/dist/F0AudioPlayer-C-_daVcw.js +2 -0
- package/dist/{F0CanvasPanel-DYzczaYb.js → F0CanvasPanel-ChwPSkt5.js} +8713 -8714
- package/dist/{F0DocumentViewer-BShllEI-.js → F0DocumentViewer-bJpcM7F1.js} +2 -2
- package/dist/{F0DocumentViewer-Bvy8NFIe.js → F0DocumentViewer-fElV28Kj.js} +1 -1
- package/dist/{F0Map--4ctj6U5.js → F0Map-DbNnWrp1.js} +3 -3
- package/dist/{F0Select-RYHUj-Cv.js → F0Select-BCGkExvm.js} +6835 -6816
- package/dist/{F0VideoPlayer-G3qooKdm.js → F0VideoPlayer-6d4qmY2v.js} +1 -1
- package/dist/F0VideoPlayer-Besp9ug5.js +1 -0
- package/dist/{HtmlViewer-CYgzwlc0.js → HtmlViewer-BFS35H8C.js} +4 -4
- package/dist/{Map-DUGg1a7X.js → Map-BmF_3dIV.js} +3 -3
- package/dist/{PdfThumbnail-Rj57-2z2.js → PdfThumbnail-CE32uH2v.js} +1 -1
- package/dist/{PdfViewer-B34v0zt2.js → PdfViewer-D_cERe4x.js} +5 -5
- package/dist/{SheetViewer-Cx31tuyM.js → SheetViewer-BJOQkdXz.js} +2 -2
- package/dist/{TextViewer-CZG3N6VS.js → TextViewer-CHWTOlCP.js} +1 -1
- package/dist/ai.js +2 -2
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +21 -9
- package/dist/experimental.js +140 -144
- package/dist/f0.d.ts +1 -1
- package/dist/f0.js +52 -52
- package/dist/{highlight-B2bjK65S.js → highlight--hep12tV.js} +1 -1
- package/dist/{maplibre-DJfKmeQV.js → maplibre-CO7pXrjB.js} +1 -1
- package/dist/{pdfWorker-DRDg9gXd.js → pdfWorker-Cb5nM3G0.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{types-Dus9MWIy.d.ts → types-G8Px2ItY.d.ts} +6 -0
- package/package.json +2 -1
- package/dist/F0AudioPlayer-CWkFeThK.js +0 -2
- package/dist/F0VideoPlayer-Cdzwp0OP.js +0 -1
|
@@ -3,11 +3,11 @@ import { a as r, c as i, i as a, r as o, s } from "./i18n-provider-DzFN07EQ.js";
|
|
|
3
3
|
import { n as c, t as l } from "./skeleton-DISb7cNz.js";
|
|
4
4
|
import { L as u, R as d, i as f, r as p, t as m, u as h, z as g } from "./tooltip-DFMOxXQO.js";
|
|
5
5
|
import { $ as _, B as v, Ct as y, Dt as b, E as x, F as S, G as C, J as w, K as T, Mt as E, N as D, Nt as O, O as k, R as A, S as j, T as M, U as N, W as P, b as F, bt as I, ct as ee, et as L, g as R, h as z, ht as te, jt as ne, k as re, kt as ie, lt as ae, n as B, q as oe, r as se, t as ce, tt as le, ut as ue, vt as de, w as fe, x as pe, yt as me } from "./F0Button-D5dCyc5y.js";
|
|
6
|
-
import { $c as he, $i as ge, $n as _e, $s as ve, Aa as ye, Ac as be, An as xe, Ao as Se, Ar as Ce, Ba as we, Bc as Te, Bi as Ee, Bn as De, Bs as Oe, Ca as ke, Cc as Ae, Cn as je, Co as Me, Da as Ne, Dc as Pe, Di as Fe, Dn as Ie, Do as Le, Dr as Re, Ea as ze, Ei as Be, En as Ve, Eo as He, Fa as Ue, Fn as We, Fr as Ge, Fs as Ke, Ga as qe, Gc as Je, Gi as Ye, Gn as Xe, Ha as Ze, Hc as Qe, Hi as $e, Ho as et, Ia as tt, In as nt, Ir as rt, Ja as it, Jc as at, Ji as ot, Jn as st, Jr as ct, Js as lt, Ka as ut, Kc as dt, Ki as ft, Kn as pt, Kr as mt, Ks as ht, La as gt, Ln as _t, M as vt, Ma as yt, Mc as bt, Mi as xt, Mn as St, Mo as Ct, Ms as wt, Na as Tt, Nn as Et, Nr as Dt, Ns as Ot, Oa as kt, On as At, Oo as jt, Pn as Mt, Po as Nt, Pr as Pt, Qc as Ft, Qi as It, Qn as Lt, Qo as Rt, Qs as zt, Ra as Bt, Rn as Vt, Rr as Ht, Sa as Ut, Sc as Wt, Sn as Gt, Sr as Kt, Ta as qt, Ti as Jt, Tn as Yt, To as Xt, Ts as Zt, Ua as Qt, Ui as $t, Un as en, Uo as tn, Us as nn, Va as rn, Vc as an, Vi as on, Vo as sn, Vr as cn, Wa as ln, Wc as un, Wi as dn, Wn as fn, Wo as pn, Wr as mn, Ws as hn, Xa as gn, Xc as _n, Xi as eee, Xn as vn, Xo as yn, Xs as bn, Ya as xn, Yc as Sn, Yi as Cn, Yn as tee, Yr as wn, Za as nee, Zc as ree, Zi as iee, Zn as Tn, Zr as aee, _a as En, _c as oee, _i as see, _o as cee, _r as lee, aa as uee, ar as dee, as as fee, ba as pee, bc as Dn, bi as mee, bo as On, br as hee, bs as gee, ca as _ee, ci as vee, co as kn, cr as An, da as yee, dc as bee, di as xee, do as See, dr as jn, ea as Mn, ec as Nn, ei as Cee, er as wee, es as Tee, fa as Pn, fc as Eee, fn as Dee, fo as Oee, fr as Fn, ga as In, gi as Ln, gn as kee, go as Rn, gr as Aee, gs as jee, ha as zn, hc as Mee, hi as Bn, ho as Vn, hr as Nee, hs as Pee, ia as Hn, ir as Fee, is as Iee, jo as Lee, jr as Un, ka as Wn, ki as Gn, kn as Kn, ko as qn, la as Jn, lo as Yn, lr as Xn, ls as Ree, ma as Zn, mc as zee, mi as Bee, mo as Vee, mr as Hee, na as Qn, nc as $n, nl as Uee, nr as Wee, oa as er, or as Gee, pa as tr, pc as Kee, pn as qee, po as Jee, pr as Yee, qa as nr, qi as Xee, qn as Zee, qr as Qee, qs as $ee, ra as rr, rc as ete, rl as tte, rr as nte, rs as rte, sa as ir, sc as ite, si as ate, sr as ote, ss as ste, ta as ar, tr as cte, ua as lte, uo as ute, ur as dte, us as fte, va as pte, vn as mte, vo as hte, vr as or, wa as gte, wc as sr, wn as cr, wo as lr, ws as _te, xa as vte, xn as yte, xo as ur, xr as bte, xs as xte, yc as Ste, yi as dr, yr as Cte, za as fr, zn as pr, zs as wte } from "./F0CanvasPanel-
|
|
6
|
+
import { $c as he, $i as ge, $n as _e, $s as ve, Aa as ye, Ac as be, An as xe, Ao as Se, Ar as Ce, Ba as we, Bc as Te, Bi as Ee, Bn as De, Bs as Oe, Ca as ke, Cc as Ae, Cn as je, Co as Me, Da as Ne, Dc as Pe, Di as Fe, Dn as Ie, Do as Le, Dr as Re, Ea as ze, Ei as Be, En as Ve, Eo as He, Fa as Ue, Fn as We, Fr as Ge, Fs as Ke, Ga as qe, Gc as Je, Gi as Ye, Gn as Xe, Ha as Ze, Hc as Qe, Hi as $e, Ho as et, Ia as tt, In as nt, Ir as rt, Ja as it, Jc as at, Ji as ot, Jn as st, Jr as ct, Js as lt, Ka as ut, Kc as dt, Ki as ft, Kn as pt, Kr as mt, Ks as ht, La as gt, Ln as _t, M as vt, Ma as yt, Mc as bt, Mi as xt, Mn as St, Mo as Ct, Ms as wt, Na as Tt, Nn as Et, Nr as Dt, Ns as Ot, Oa as kt, On as At, Oo as jt, Pn as Mt, Po as Nt, Pr as Pt, Qc as Ft, Qi as It, Qn as Lt, Qo as Rt, Qs as zt, Ra as Bt, Rn as Vt, Rr as Ht, Sa as Ut, Sc as Wt, Sn as Gt, Sr as Kt, Ta as qt, Ti as Jt, Tn as Yt, To as Xt, Ts as Zt, Ua as Qt, Ui as $t, Un as en, Uo as tn, Us as nn, Va as rn, Vc as an, Vi as on, Vo as sn, Vr as cn, Wa as ln, Wc as un, Wi as dn, Wn as fn, Wo as pn, Wr as mn, Ws as hn, Xa as gn, Xc as _n, Xi as eee, Xn as vn, Xo as yn, Xs as bn, Ya as xn, Yc as Sn, Yi as Cn, Yn as tee, Yr as wn, Za as nee, Zc as ree, Zi as iee, Zn as Tn, Zr as aee, _a as En, _c as oee, _i as see, _o as cee, _r as lee, aa as uee, ar as dee, as as fee, ba as pee, bc as Dn, bi as mee, bo as On, br as hee, bs as gee, ca as _ee, ci as vee, co as kn, cr as An, da as yee, dc as bee, di as xee, do as See, dr as jn, ea as Mn, ec as Nn, ei as Cee, er as wee, es as Tee, fa as Pn, fc as Eee, fn as Dee, fo as Oee, fr as Fn, ga as In, gi as Ln, gn as kee, go as Rn, gr as Aee, gs as jee, ha as zn, hc as Mee, hi as Bn, ho as Vn, hr as Nee, hs as Pee, ia as Hn, ir as Fee, is as Iee, jo as Lee, jr as Un, ka as Wn, ki as Gn, kn as Kn, ko as qn, la as Jn, lo as Yn, lr as Xn, ls as Ree, ma as Zn, mc as zee, mi as Bee, mo as Vee, mr as Hee, na as Qn, nc as $n, nl as Uee, nr as Wee, oa as er, or as Gee, pa as tr, pc as Kee, pn as qee, po as Jee, pr as Yee, qa as nr, qi as Xee, qn as Zee, qr as Qee, qs as $ee, ra as rr, rc as ete, rl as tte, rr as nte, rs as rte, sa as ir, sc as ite, si as ate, sr as ote, ss as ste, ta as ar, tr as cte, ua as lte, uo as ute, ur as dte, us as fte, va as pte, vn as mte, vo as hte, vr as or, wa as gte, wc as sr, wn as cr, wo as lr, ws as _te, xa as vte, xn as yte, xo as ur, xr as bte, xs as xte, yc as Ste, yi as dr, yr as Cte, za as fr, zn as pr, zs as wte } from "./F0CanvasPanel-ChwPSkt5.js";
|
|
7
7
|
import { t as Tte } from "./LayoutGroup-dta1FPDC.js";
|
|
8
8
|
import { n as mr, o as hr, r as gr, t as _r } from "./F0Icon-DFarlnfh.js";
|
|
9
9
|
import { B as vr, D as yr, F as Ete, H as br, L as xr, M as Sr, N as Cr, O as Dte, P as Ote, R as wr, V as Tr, _ as kte, c as Er, f as Dr, g as Or, h as kr, i as Ar, l as Ate, n as jr, o as jte, r as Mte, v as Mr, x as Nr, y as Pr, z as Nte } from "./useData-CXiRC0OP.js";
|
|
10
|
-
import { $ as Fr, $t as Pte, Ar as Ir, At as Lr, C as Fte, Cn as Ite,
|
|
10
|
+
import { $ as Fr, $t as Pte, Ar as Ir, At as Lr, C as Fte, Cn as Ite, Ct as Rr, D as zr, Dn as Br, E as Lte, Er as Vr, Gt as Hr, H as Ur, Ht as Rte, I as zte, In as Bte, J as Wr, Jt as Vte, Kt as Gr, L as Kr, Ln as Hte, M as qr, Mn as Ute, N as Wte, Nt as Gte, O as Kte, On as qte, Or as Jte, Ot as Jr, P as Yte, Q as Yr, Qt as Xte, R as Xr, S as Zte, T as Qte, Tr as Zr, Tt as $te, U as ene, Ut as tne, V as nne, Vt as Qr, W as $r, Wt as ei, Xt as rne, Yt as ine, Z as ane, Zt as one, _ as sne, _r as cne, an as ti, at as lne, b as ni, bt as ri, ct as une, dr as ii, dt as ai, en as oi, et as si, f as dne, ft as fne, h as pne, hn as mne, i as hne, in as ci, it as li, j as gne, jr as ui, k as _ne, kr as vne, ln as yne, lr as di, lt as bne, m as fi, mt as xne, n as Sne, nn as Cne, nt as pi, on as mi, ot as wne, p as Tne, pn as hi, pr as gi, q as Ene, qt as Dne, r as One, rr as kne, rt as _i, st as Ane, t as vi, tn as yi, tt as jne, u as Mne, un as bi, vn as Nne, vr as Pne, vt as Fne, wr as xi, wt as Si, x as Ine, yn as Lne, yt as Rne, z as Ci, zt as zne } from "./F0Select-BCGkExvm.js";
|
|
11
11
|
import { t as wi } from "./Check-DAp9gCRh.js";
|
|
12
12
|
import { a as Ti } from "./dist-C-wwIRyX.js";
|
|
13
13
|
import { t as Ei } from "./Ellipsis-CBouJQYY.js";
|
|
@@ -18,7 +18,7 @@ import { c as ere, l as tre, n as Ui, r as nre } from "./scrollarea-DPbrJPjr.js"
|
|
|
18
18
|
import { t as Wi } from "./F0Text-Dx5e8OZ6.js";
|
|
19
19
|
import { t as Gi } from "./dist-Cuwaibqg.js";
|
|
20
20
|
import { i as rre, r as ire } from "./dist-CEFKbl8D.js";
|
|
21
|
-
import { t as Ki } from "./F0Alert-
|
|
21
|
+
import { t as Ki } from "./F0Alert-DCWi9gfo.js";
|
|
22
22
|
import './RichText.css';import './CoachmarkProvider.css';/* empty css */
|
|
23
23
|
import { t as are } from "./dist-Dt-cTb6D.js";
|
|
24
24
|
import * as qi from "react";
|
|
@@ -1966,7 +1966,7 @@ var vo = qi.forwardRef(({ className: e, variant: t = "outline", ...n }, r) => {
|
|
|
1966
1966
|
onClick: a,
|
|
1967
1967
|
...n,
|
|
1968
1968
|
label: "Previous",
|
|
1969
|
-
icon:
|
|
1969
|
+
icon: vne,
|
|
1970
1970
|
hideLabel: !0
|
|
1971
1971
|
})
|
|
1972
1972
|
});
|
|
@@ -2064,7 +2064,7 @@ var xo = qi.forwardRef(({ className: e, labels: t, showDots: n = !0, ...r }, i)
|
|
|
2064
2064
|
/* @__PURE__ */ q(B, {
|
|
2065
2065
|
size: "md",
|
|
2066
2066
|
variant: "outline",
|
|
2067
|
-
icon:
|
|
2067
|
+
icon: Vr,
|
|
2068
2068
|
label: t?.previous ?? "Previous",
|
|
2069
2069
|
hideLabel: !0,
|
|
2070
2070
|
disabled: !o,
|
|
@@ -2074,7 +2074,7 @@ var xo = qi.forwardRef(({ className: e, labels: t, showDots: n = !0, ...r }, i)
|
|
|
2074
2074
|
/* @__PURE__ */ q(B, {
|
|
2075
2075
|
size: "md",
|
|
2076
2076
|
variant: "outline",
|
|
2077
|
-
icon:
|
|
2077
|
+
icon: Zr,
|
|
2078
2078
|
label: t?.next ?? "Next",
|
|
2079
2079
|
hideLabel: !0,
|
|
2080
2080
|
loading: l,
|
|
@@ -2159,7 +2159,7 @@ var Mie = ({ children: e }) => {
|
|
|
2159
2159
|
variant: "outline",
|
|
2160
2160
|
className: u("absolute opacity-100 transition-all", "-left-4 top-1/2 -translate-y-1/2 rounded-lg"),
|
|
2161
2161
|
onClick: c,
|
|
2162
|
-
icon:
|
|
2162
|
+
icon: Vr,
|
|
2163
2163
|
label: "Previous",
|
|
2164
2164
|
hideLabel: !0
|
|
2165
2165
|
}) : null,
|
|
@@ -2169,7 +2169,7 @@ var Mie = ({ children: e }) => {
|
|
|
2169
2169
|
compact: !0,
|
|
2170
2170
|
className: u("absolute opacity-100 transition-all", "-right-4 top-1/2 -translate-y-1/2 rounded-lg"),
|
|
2171
2171
|
onClick: s,
|
|
2172
|
-
icon:
|
|
2172
|
+
icon: Zr,
|
|
2173
2173
|
label: "Next",
|
|
2174
2174
|
hideLabel: !0
|
|
2175
2175
|
}) : null
|
|
@@ -2392,7 +2392,7 @@ var Pie = r(c("Carousel", ({ children: e, columns: t, showArrows: n = !0, showDo
|
|
|
2392
2392
|
children: e
|
|
2393
2393
|
}), /* @__PURE__ */ q(_r, {
|
|
2394
2394
|
size: "sm",
|
|
2395
|
-
icon: t.icon ??
|
|
2395
|
+
icon: t.icon ?? Zr
|
|
2396
2396
|
})] }), a = t.url ? /* @__PURE__ */ q(A, {
|
|
2397
2397
|
href: t.url,
|
|
2398
2398
|
onClick: t.onClick,
|
|
@@ -2464,7 +2464,7 @@ var Pie = r(c("Carousel", ({ children: e, columns: t, showArrows: n = !0, showDo
|
|
|
2464
2464
|
e.info ? /* @__PURE__ */ q(D, {
|
|
2465
2465
|
label: e.info,
|
|
2466
2466
|
children: /* @__PURE__ */ q(_r, {
|
|
2467
|
-
icon:
|
|
2467
|
+
icon: gi,
|
|
2468
2468
|
size: "sm",
|
|
2469
2469
|
className: "text-f1-foreground-secondary"
|
|
2470
2470
|
})
|
|
@@ -2482,7 +2482,7 @@ var Pie = r(c("Carousel", ({ children: e, columns: t, showArrows: n = !0, showDo
|
|
|
2482
2482
|
text: a,
|
|
2483
2483
|
level: "critical"
|
|
2484
2484
|
}) : null,
|
|
2485
|
-
s ? /* @__PURE__ */ q(
|
|
2485
|
+
s ? /* @__PURE__ */ q(Br, {
|
|
2486
2486
|
text: s.text,
|
|
2487
2487
|
variant: s.variant
|
|
2488
2488
|
}) : null,
|
|
@@ -2510,7 +2510,7 @@ var Pie = r(c("Carousel", ({ children: e, columns: t, showArrows: n = !0, showDo
|
|
|
2510
2510
|
}), e.comment ? /* @__PURE__ */ J("div", {
|
|
2511
2511
|
className: "flex flex-row items-center gap-3 overflow-visible",
|
|
2512
2512
|
children: [/* @__PURE__ */ q(To, { children: /* @__PURE__ */ q(Xt, { children: e.comment }) }), e.canBeBlurred ? /* @__PURE__ */ q("span", { children: /* @__PURE__ */ q(ce, {
|
|
2513
|
-
icon: T ?
|
|
2513
|
+
icon: T ? Pne : cne,
|
|
2514
2514
|
hideLabel: !0,
|
|
2515
2515
|
label: "hide/show",
|
|
2516
2516
|
variant: "outline",
|
|
@@ -2590,7 +2590,7 @@ var Pie = r(c("Carousel", ({ children: e, columns: t, showArrows: n = !0, showDo
|
|
|
2590
2590
|
][t]}` }, t))
|
|
2591
2591
|
})]
|
|
2592
2592
|
});
|
|
2593
|
-
}), Gie = r(c("Widget", On(Hie, Wie))), Ao = /* @__PURE__ */ e(
|
|
2593
|
+
}), Gie = r(c("Widget", On(Hie, Wie))), Ao = /* @__PURE__ */ e(kne()), jo = /* @__PURE__ */ e(Hte());
|
|
2594
2594
|
function Kie() {
|
|
2595
2595
|
var e = [...arguments];
|
|
2596
2596
|
return W(() => (t) => {
|
|
@@ -5138,7 +5138,7 @@ function cse(e) {
|
|
|
5138
5138
|
let t = e.match(rse);
|
|
5139
5139
|
if (!t) return NaN;
|
|
5140
5140
|
let n = oc(t[1]), r = oc(t[2]), i = oc(t[3]);
|
|
5141
|
-
return gse(n, r, i) ? n *
|
|
5141
|
+
return gse(n, r, i) ? n * Nne + r * Lne + i * 1e3 : NaN;
|
|
5142
5142
|
}
|
|
5143
5143
|
function oc(e) {
|
|
5144
5144
|
return e && parseFloat(e.replace(",", ".")) || 0;
|
|
@@ -5148,7 +5148,7 @@ function lse(e) {
|
|
|
5148
5148
|
let t = e.match(ise);
|
|
5149
5149
|
if (!t) return 0;
|
|
5150
5150
|
let n = t[1] === "+" ? -1 : 1, r = parseInt(t[2]), i = t[3] && parseInt(t[3]) || 0;
|
|
5151
|
-
return _se(r, i) ? n * (r *
|
|
5151
|
+
return _se(r, i) ? n * (r * Nne + i * Lne) : NaN;
|
|
5152
5152
|
}
|
|
5153
5153
|
function use(e, t, n) {
|
|
5154
5154
|
let r = /* @__PURE__ */ new Date(0);
|
|
@@ -5196,7 +5196,7 @@ function sc(e, t) {
|
|
|
5196
5196
|
//#endregion
|
|
5197
5197
|
//#region ../../node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/subYears.mjs
|
|
5198
5198
|
function vse(e, t) {
|
|
5199
|
-
return
|
|
5199
|
+
return mne(e, -t);
|
|
5200
5200
|
}
|
|
5201
5201
|
//#endregion
|
|
5202
5202
|
//#region ../../node_modules/.pnpm/nanoid@5.1.5/node_modules/nanoid/url-alphabet/index.js
|
|
@@ -8415,11 +8415,11 @@ var Mue = 8, Nue = (e, t, n) => {
|
|
|
8415
8415
|
y2: "1",
|
|
8416
8416
|
children: [/* @__PURE__ */ q("stop", {
|
|
8417
8417
|
offset: "5%",
|
|
8418
|
-
stopColor: t[e].color ?
|
|
8418
|
+
stopColor: t[e].color ? yi(t[e].color) : oi(n),
|
|
8419
8419
|
stopOpacity: .8
|
|
8420
8420
|
}), /* @__PURE__ */ q("stop", {
|
|
8421
8421
|
offset: "95%",
|
|
8422
|
-
stopColor: t[e].color ?
|
|
8422
|
+
stopColor: t[e].color ? yi(t[e].color) : oi(n),
|
|
8423
8423
|
stopOpacity: .1
|
|
8424
8424
|
})]
|
|
8425
8425
|
}, n))
|
|
@@ -8466,7 +8466,7 @@ var Mue = 8, Nue = (e, t, n) => {
|
|
|
8466
8466
|
mask: `url(#${f}-transparent-edges)`,
|
|
8467
8467
|
fill: `url(#fill${e}-${f})`,
|
|
8468
8468
|
fillOpacity: t[e].dashed ? 0 : .4,
|
|
8469
|
-
stroke: t[e].color ?
|
|
8469
|
+
stroke: t[e].color ? yi(t[e].color) : oi(n),
|
|
8470
8470
|
strokeWidth: 1.5,
|
|
8471
8471
|
strokeDasharray: t[e].dashed ? "4 4" : void 0
|
|
8472
8472
|
}, e)),
|
|
@@ -8546,7 +8546,7 @@ var Mue = 8, Nue = (e, t, n) => {
|
|
|
8546
8546
|
isAnimationActive: !1,
|
|
8547
8547
|
dataKey: t,
|
|
8548
8548
|
stackId: a === "stacked" || a === "stacked-by-sign" ? "stack" : void 0,
|
|
8549
|
-
fill: d ? ((e) => e.fill) : e[t].color ?
|
|
8549
|
+
fill: d ? ((e) => e.fill) : e[t].color ? yi(e[t].color) : oi(n),
|
|
8550
8550
|
radius: a === "stacked-by-sign" ? [
|
|
8551
8551
|
4,
|
|
8552
8552
|
4,
|
|
@@ -8572,7 +8572,7 @@ var Mue = 8, Nue = (e, t, n) => {
|
|
|
8572
8572
|
})
|
|
8573
8573
|
});
|
|
8574
8574
|
}), Lue = jl(({ data: e, legend: t = !0, hideTooltip: n = !1 }, r) => {
|
|
8575
|
-
let i = e.reduce((e, t) => e + t.value, 0), [a, o] = K(void 0), s = one(e, i, (e, t) => e.color ?
|
|
8575
|
+
let i = e.reduce((e, t) => e + t.value, 0), [a, o] = K(void 0), s = one(e, i, (e, t) => e.color ? yi(e.color) : oi(t)), c = Pte(s, i);
|
|
8576
8576
|
return /* @__PURE__ */ J(ca, { children: [/* @__PURE__ */ q("div", {
|
|
8577
8577
|
className: "w-full",
|
|
8578
8578
|
ref: r,
|
|
@@ -8606,7 +8606,7 @@ var Mue = 8, Nue = (e, t, n) => {
|
|
|
8606
8606
|
className: "mt-2 flex w-full flex-wrap gap-x-2.5 gap-y-0.5",
|
|
8607
8607
|
role: "list",
|
|
8608
8608
|
children: e.map((e, t) => {
|
|
8609
|
-
let n = e.color ?
|
|
8609
|
+
let n = e.color ? yi(e.color) : oi(t);
|
|
8610
8610
|
return /* @__PURE__ */ J("div", {
|
|
8611
8611
|
className: "flex items-center gap-1.5",
|
|
8612
8612
|
role: "listitem",
|
|
@@ -8714,7 +8714,7 @@ var Mue = 8, Nue = (e, t, n) => {
|
|
|
8714
8714
|
};
|
|
8715
8715
|
return r.displayName = `StackedBar-${e}`, r;
|
|
8716
8716
|
}, Vue = jl(({ dataConfig: e, data: t, xAxis: n, yAxis: r = { hide: !0 }, label: i = !1, hideTooltip: a = !1, hideGrid: o = !1, aspect: s, legend: c, showValueUnderLabel: l = !1, bar: u, line: d, scatter: f, onClick: p }, m) => {
|
|
8717
|
-
let h = Ml(jue(t, e)), g = u?.categories ? Array.isArray(u.categories) ? u.categories : [u.categories] : [], _ = u?.type === "stacked" || u?.type === "stacked-by-sign", v = new Set(g.filter((t) => e[t].projected).map(String)), y = (t, n) => e[t].color ?
|
|
8717
|
+
let h = Ml(jue(t, e)), g = u?.categories ? Array.isArray(u.categories) ? u.categories : [u.categories] : [], _ = u?.type === "stacked" || u?.type === "stacked-by-sign", v = new Set(g.filter((t) => e[t].projected).map(String)), y = (t, n) => e[t].color ? yi(e[t].color) : oi(n), b = d?.categories ? Array.isArray(d.categories) ? d.categories : [d.categories] : [], x = f?.categories ? Array.isArray(f.categories) ? f.categories : [f.categories] : [], S = [
|
|
8718
8718
|
...g,
|
|
8719
8719
|
...b,
|
|
8720
8720
|
...x
|
|
@@ -8830,7 +8830,7 @@ var Mue = 8, Nue = (e, t, n) => {
|
|
|
8830
8830
|
}, `bar-${String(e)}`);
|
|
8831
8831
|
}),
|
|
8832
8832
|
b.map((t, n) => {
|
|
8833
|
-
let r = e[t].color ?
|
|
8833
|
+
let r = e[t].color ? yi(e[t].color) : oi(g.length + n);
|
|
8834
8834
|
return /* @__PURE__ */ q(ol, {
|
|
8835
8835
|
type: d?.lineType ?? "natural",
|
|
8836
8836
|
dataKey: String(t),
|
|
@@ -8849,7 +8849,7 @@ var Mue = 8, Nue = (e, t, n) => {
|
|
|
8849
8849
|
}),
|
|
8850
8850
|
x.map((t, n) => /* @__PURE__ */ q(vl, {
|
|
8851
8851
|
dataKey: String(t),
|
|
8852
|
-
fill: e[t].color ?
|
|
8852
|
+
fill: e[t].color ? yi(e[t].color) : oi(g.length + b.length + n),
|
|
8853
8853
|
r: 4,
|
|
8854
8854
|
isAnimationActive: !1,
|
|
8855
8855
|
yAxisId: f?.axisPosition === "right" ? "right" : void 0,
|
|
@@ -8893,7 +8893,7 @@ var Mue = 8, Nue = (e, t, n) => {
|
|
|
8893
8893
|
dataKey: e,
|
|
8894
8894
|
isAnimationActive: !1,
|
|
8895
8895
|
type: i,
|
|
8896
|
-
stroke: t[e].color ?
|
|
8896
|
+
stroke: t[e].color ? yi(t[e].color) : oi(n),
|
|
8897
8897
|
strokeWidth: 1.5,
|
|
8898
8898
|
strokeDasharray: t[e].dashed ? "4 4" : void 0,
|
|
8899
8899
|
dot: !1
|
|
@@ -8908,7 +8908,7 @@ var Mue = 8, Nue = (e, t, n) => {
|
|
|
8908
8908
|
function Gue({ data: e, dataConfig: t, overview: n, aspect: r, tickFormatter: i, forwardedRef: a }) {
|
|
8909
8909
|
let s = o(), [c, l] = K(void 0), u = e.map((e, n) => ({
|
|
8910
8910
|
...e,
|
|
8911
|
-
fill: t[e.label]?.color ?
|
|
8911
|
+
fill: t[e.label]?.color ? yi(t[e.label].color) : oi(n)
|
|
8912
8912
|
})), d = e.map((e) => e.value).reduce((e, t) => e + t), f = (e) => i ? i(String(e)) : e, p = d !== 0 && c !== void 0 ? e[c] : void 0, m = p ? {
|
|
8913
8913
|
label: t[p.label]?.label ?? p.label,
|
|
8914
8914
|
number: p.value,
|
|
@@ -8999,7 +8999,7 @@ function Gue({ data: e, dataConfig: t, overview: n, aspect: r, tickFormatter: i,
|
|
|
8999
8999
|
});
|
|
9000
9000
|
}
|
|
9001
9001
|
var Nl = jl(Wue), Pl = jl(({ value: e, max: t = 100, label: n, color: r }, i) => {
|
|
9002
|
-
let a =
|
|
9002
|
+
let a = yi(r || "categorical-1"), o = e / t * 100;
|
|
9003
9003
|
return /* @__PURE__ */ J("div", {
|
|
9004
9004
|
className: "flex items-center space-x-2",
|
|
9005
9005
|
"aria-live": "polite",
|
|
@@ -9041,7 +9041,7 @@ var Nl = jl(Wue), Pl = jl(({ value: e, max: t = 100, label: n, color: r }, i) =>
|
|
|
9041
9041
|
}), que = jl(({ data: e, dataConfig: t, scaleMin: n, scaleMax: r, aspect: i, defaultHiddenSeries: o, dataTestId: s }, c) => {
|
|
9042
9042
|
let [l, u] = K(o ?? []), d = Object.entries(t).map(([e, t], n) => ({
|
|
9043
9043
|
key: e,
|
|
9044
|
-
color: t.color ?
|
|
9044
|
+
color: t.color ? yi(t.color) : oi(n),
|
|
9045
9045
|
label: t.label
|
|
9046
9046
|
})), f = (e) => {
|
|
9047
9047
|
u((t) => t.includes(e) ? t.filter((t) => t !== e) : t.length >= d.length - 1 ? t : [...t, e]);
|
|
@@ -9092,7 +9092,7 @@ var Nl = jl(Wue), Pl = jl(({ value: e, max: t = 100, label: n, color: r }, i) =>
|
|
|
9092
9092
|
})
|
|
9093
9093
|
})
|
|
9094
9094
|
});
|
|
9095
|
-
}), Fl =
|
|
9095
|
+
}), Fl = Vte();
|
|
9096
9096
|
function Jue(e) {
|
|
9097
9097
|
return e.map((e) => ({
|
|
9098
9098
|
x: e.label,
|
|
@@ -9153,7 +9153,7 @@ var Yue = (e) => {
|
|
|
9153
9153
|
isAnimationActive: !1,
|
|
9154
9154
|
layout: "vertical",
|
|
9155
9155
|
dataKey: t,
|
|
9156
|
-
fill: e[t].color ?
|
|
9156
|
+
fill: e[t].color ? yi(e[t].color) : oi(n),
|
|
9157
9157
|
radius: 4,
|
|
9158
9158
|
maxBarSize: 24,
|
|
9159
9159
|
children: i || c ? /* @__PURE__ */ q(ir, {
|
|
@@ -10027,7 +10027,7 @@ function Gl(e) {
|
|
|
10027
10027
|
return {
|
|
10028
10028
|
mode: t ? "dark" : "light",
|
|
10029
10029
|
colors: r,
|
|
10030
|
-
palette:
|
|
10030
|
+
palette: Rte,
|
|
10031
10031
|
tooltip: t ? Wl : Ul,
|
|
10032
10032
|
axisPointer: {
|
|
10033
10033
|
color: r.border,
|
|
@@ -55842,7 +55842,7 @@ function HBe(e, { series: t, sort: n = "descending", gap: r = 0, orient: i = "ho
|
|
|
55842
55842
|
value: e.value,
|
|
55843
55843
|
name: e.name,
|
|
55844
55844
|
itemStyle: {
|
|
55845
|
-
color:
|
|
55845
|
+
color: Dne(e.color, o, t, l ? {
|
|
55846
55846
|
ratio: e.value / b,
|
|
55847
55847
|
lightColor: y,
|
|
55848
55848
|
baseColor: v
|
|
@@ -56526,7 +56526,7 @@ function mVe(e, { series: t, innerRadius: n = 0, showLegend: r = !0, showLabels:
|
|
|
56526
56526
|
value: e.value,
|
|
56527
56527
|
name: e.name,
|
|
56528
56528
|
itemStyle: {
|
|
56529
|
-
color:
|
|
56529
|
+
color: Dne(e.color, m, t),
|
|
56530
56530
|
borderWidth: 2,
|
|
56531
56531
|
borderColor: f.colors.background
|
|
56532
56532
|
}
|
|
@@ -57236,7 +57236,7 @@ var zVe = (e) => Array.isArray(e) ? e.every((e) => RVe(e)) ? e : [{ items: e }]
|
|
|
57236
57236
|
animate: "animate",
|
|
57237
57237
|
className: "h-5 w-5 text-f1-icon-positive"
|
|
57238
57238
|
}) : e === "error" ? /* @__PURE__ */ q(_r, {
|
|
57239
|
-
icon:
|
|
57239
|
+
icon: ui,
|
|
57240
57240
|
size: "md",
|
|
57241
57241
|
color: t ? "critical" : "inverse"
|
|
57242
57242
|
}) : /* @__PURE__ */ q(_r, {
|
|
@@ -57587,17 +57587,17 @@ var EV = r(KVe), qVe = [
|
|
|
57587
57587
|
today: {
|
|
57588
57588
|
label: "Today",
|
|
57589
57589
|
granularity: "day",
|
|
57590
|
-
value: () =>
|
|
57590
|
+
value: () => _i.day.toRange(/* @__PURE__ */ new Date())
|
|
57591
57591
|
},
|
|
57592
57592
|
yesterday: {
|
|
57593
57593
|
label: "Yesterday",
|
|
57594
57594
|
granularity: "day",
|
|
57595
|
-
value: () =>
|
|
57595
|
+
value: () => _i.day.toRange(mi(/* @__PURE__ */ new Date(), 1))
|
|
57596
57596
|
},
|
|
57597
57597
|
last7Days: {
|
|
57598
57598
|
label: "Last 7 days",
|
|
57599
57599
|
granularity: "day",
|
|
57600
|
-
value: () =>
|
|
57600
|
+
value: () => _i.day.toRange({
|
|
57601
57601
|
from: mi(/* @__PURE__ */ new Date(), 7),
|
|
57602
57602
|
to: /* @__PURE__ */ new Date()
|
|
57603
57603
|
})
|
|
@@ -57605,62 +57605,62 @@ var EV = r(KVe), qVe = [
|
|
|
57605
57605
|
thisWeek: {
|
|
57606
57606
|
label: "This week",
|
|
57607
57607
|
granularity: "week",
|
|
57608
|
-
value: () =>
|
|
57608
|
+
value: () => _i.week.toRange(/* @__PURE__ */ new Date())
|
|
57609
57609
|
},
|
|
57610
57610
|
lastWeek: {
|
|
57611
57611
|
label: "Last week",
|
|
57612
57612
|
granularity: "week",
|
|
57613
|
-
value: () =>
|
|
57613
|
+
value: () => _i.week.toRange(mi(/* @__PURE__ */ new Date(), 7))
|
|
57614
57614
|
},
|
|
57615
57615
|
thisMonth: {
|
|
57616
57616
|
label: "This month",
|
|
57617
57617
|
granularity: "month",
|
|
57618
|
-
value: () =>
|
|
57618
|
+
value: () => _i.month.toRange(/* @__PURE__ */ new Date())
|
|
57619
57619
|
},
|
|
57620
57620
|
lastMonth: {
|
|
57621
57621
|
label: "Last month",
|
|
57622
57622
|
granularity: "month",
|
|
57623
|
-
value: () =>
|
|
57623
|
+
value: () => _i.month.toRange(sc(/* @__PURE__ */ new Date(), 1))
|
|
57624
57624
|
},
|
|
57625
57625
|
last3Months: {
|
|
57626
57626
|
label: "Last 3 months",
|
|
57627
57627
|
granularity: "month",
|
|
57628
|
-
value: () =>
|
|
57628
|
+
value: () => _i.month.toRange(sc(/* @__PURE__ */ new Date(), 3))
|
|
57629
57629
|
},
|
|
57630
57630
|
last6Months: {
|
|
57631
57631
|
label: "Last 6 months",
|
|
57632
57632
|
granularity: "month",
|
|
57633
|
-
value: () =>
|
|
57633
|
+
value: () => _i.month.toRange(sc(/* @__PURE__ */ new Date(), 6))
|
|
57634
57634
|
},
|
|
57635
57635
|
thisQuarter: {
|
|
57636
57636
|
label: "This quarter",
|
|
57637
57637
|
granularity: "quarter",
|
|
57638
|
-
value: () =>
|
|
57638
|
+
value: () => _i.quarter.toRange(/* @__PURE__ */ new Date())
|
|
57639
57639
|
},
|
|
57640
57640
|
lastQuarter: {
|
|
57641
57641
|
label: "Last quarter",
|
|
57642
57642
|
granularity: "quarter",
|
|
57643
|
-
value: () =>
|
|
57643
|
+
value: () => _i.quarter.toRange(sc(/* @__PURE__ */ new Date(), 3))
|
|
57644
57644
|
},
|
|
57645
57645
|
thisHalfYear: {
|
|
57646
57646
|
label: "This half year",
|
|
57647
57647
|
granularity: "halfyear",
|
|
57648
|
-
value: () =>
|
|
57648
|
+
value: () => _i.halfyear.toRange(/* @__PURE__ */ new Date())
|
|
57649
57649
|
},
|
|
57650
57650
|
lastHalfYear: {
|
|
57651
57651
|
label: "Last half year",
|
|
57652
57652
|
granularity: "halfyear",
|
|
57653
|
-
value: () =>
|
|
57653
|
+
value: () => _i.halfyear.toRange(sc(/* @__PURE__ */ new Date(), 6))
|
|
57654
57654
|
},
|
|
57655
57655
|
lastYear: {
|
|
57656
57656
|
label: "Last year",
|
|
57657
57657
|
granularity: "year",
|
|
57658
|
-
value: () =>
|
|
57658
|
+
value: () => _i.year.toRange(vse(/* @__PURE__ */ new Date(), 1))
|
|
57659
57659
|
},
|
|
57660
57660
|
last3Years: {
|
|
57661
57661
|
label: "Last 3 years",
|
|
57662
57662
|
granularity: "year",
|
|
57663
|
-
value: () =>
|
|
57663
|
+
value: () => _i.year.toRange(vse(/* @__PURE__ */ new Date(), 3))
|
|
57664
57664
|
}
|
|
57665
57665
|
};
|
|
57666
57666
|
//#endregion
|
|
@@ -57990,8 +57990,8 @@ function $Ve(e) {
|
|
|
57990
57990
|
}
|
|
57991
57991
|
//#endregion
|
|
57992
57992
|
//#region src/blocks/F0Select/types.ts
|
|
57993
|
-
var eHe = ["field", "inline"], tHe =
|
|
57994
|
-
let r =
|
|
57993
|
+
var eHe = ["field", "inline"], tHe = jne, nHe = (e, t, n) => {
|
|
57994
|
+
let r = _i[n];
|
|
57995
57995
|
return r ? r.add(e, t) : {
|
|
57996
57996
|
from: /* @__PURE__ */ new Date(),
|
|
57997
57997
|
to: /* @__PURE__ */ new Date()
|
|
@@ -58012,7 +58012,7 @@ function rHe({ granularities: e, value: t, onChange: n, definitions: r }) {
|
|
|
58012
58012
|
value: t,
|
|
58013
58013
|
onValueChange: a,
|
|
58014
58014
|
as: "list",
|
|
58015
|
-
children: /* @__PURE__ */ q(qr, { children: e.map((e) => /* @__PURE__ */ q(
|
|
58015
|
+
children: /* @__PURE__ */ q(qr, { children: e.map((e) => /* @__PURE__ */ q(zr, {
|
|
58016
58016
|
value: e,
|
|
58017
58017
|
children: s(e)
|
|
58018
58018
|
}, e)) })
|
|
@@ -58024,7 +58024,7 @@ function rHe({ granularities: e, value: t, onChange: n, definitions: r }) {
|
|
|
58024
58024
|
var jV = "__custom__", iHe = (e, t) => {
|
|
58025
58025
|
if (!e?.value) return !1;
|
|
58026
58026
|
let n = typeof t.value == "function" ? t.value() : t.value;
|
|
58027
|
-
return e.granularity === t.granularity &&
|
|
58027
|
+
return e.granularity === t.granularity && yne(e.value.from, n.from) && (!e.value.to || !n.to || yne(e.value.to, n.to));
|
|
58028
58028
|
}, aHe = ({ presets: e, ...t }) => {
|
|
58029
58029
|
let [n, r] = K();
|
|
58030
58030
|
return U(() => {
|
|
@@ -58039,12 +58039,12 @@ var jV = "__custom__", iHe = (e, t) => {
|
|
|
58039
58039
|
r(e), t.onSelect?.(e);
|
|
58040
58040
|
},
|
|
58041
58041
|
children: /* @__PURE__ */ J(qr, { children: [
|
|
58042
|
-
Object.entries(e).map(([e, t]) => /* @__PURE__ */ q(
|
|
58042
|
+
Object.entries(e).map(([e, t]) => /* @__PURE__ */ q(zr, {
|
|
58043
58043
|
value: e,
|
|
58044
58044
|
children: t?.label || e
|
|
58045
58045
|
}, e)),
|
|
58046
|
-
/* @__PURE__ */ q(
|
|
58047
|
-
/* @__PURE__ */ q(
|
|
58046
|
+
/* @__PURE__ */ q(gne, {}),
|
|
58047
|
+
/* @__PURE__ */ q(zr, {
|
|
58048
58048
|
value: jV,
|
|
58049
58049
|
children: "Custom"
|
|
58050
58050
|
}, jV)
|
|
@@ -58077,7 +58077,7 @@ var jV = "__custom__", iHe = (e, t) => {
|
|
|
58077
58077
|
};
|
|
58078
58078
|
}, FV = (e, t) => !e && !t ? !0 : !e || !t ? !1 : e.value?.from.getTime() === t.value?.from.getTime() && e.value?.to.getTime() === t.value?.to.getTime() && e.granularity === t.granularity, IV = "__custom__";
|
|
58079
58079
|
function LV({ onSelect: e, defaultValue: t, presets: n = [], granularities: r = ["day"], children: i, compareTo: a, defaultCompareTo: s, onCompareToChange: c, hideCalendarInput: l, value: u, asChild: d, weekStartsOn: f, selectOnCellOnly: p = !1, periods: m, ...h }) {
|
|
58080
|
-
let g = ta(ni), _ = o(), v =
|
|
58080
|
+
let g = ta(ni), _ = o(), v = ci(), [y, b] = K(u || t), x = f ?? v.date?.weekStartsOn ?? ti.Monday, S = ta(Wr), C = S.portalContainer && (S.position === "center" || S.position === "fullscreen") ? S.portalContainer : void 0, w = G(null), T = W(() => sHe(() => w.current), []);
|
|
58081
58081
|
U(() => {
|
|
58082
58082
|
FV(u, y) || b(u || t);
|
|
58083
58083
|
}, [u, t]);
|
|
@@ -58166,7 +58166,7 @@ function LV({ onSelect: e, defaultValue: t, presets: n = [], granularities: r =
|
|
|
58166
58166
|
}) : /* @__PURE__ */ J("div", {
|
|
58167
58167
|
className: "flex gap-4",
|
|
58168
58168
|
children: [n.length > 0 || k.length > 1 ? /* @__PURE__ */ J("div", { children: [n.length > 0 ? /* @__PURE__ */ q(ce, {
|
|
58169
|
-
icon:
|
|
58169
|
+
icon: Vr,
|
|
58170
58170
|
variant: "neutral",
|
|
58171
58171
|
size: "sm",
|
|
58172
58172
|
hideLabel: !0,
|
|
@@ -58195,7 +58195,7 @@ function LV({ onSelect: e, defaultValue: t, presets: n = [], granularities: r =
|
|
|
58195
58195
|
children: [/* @__PURE__ */ q("div", {
|
|
58196
58196
|
className: "text-gray-500 text-sm",
|
|
58197
58197
|
children: _.date.compareTo
|
|
58198
|
-
}), /* @__PURE__ */ q(
|
|
58198
|
+
}), /* @__PURE__ */ q(vi, {
|
|
58199
58199
|
label: _.date.compareTo,
|
|
58200
58200
|
hideLabel: !0,
|
|
58201
58201
|
placeholder: _.date.compareTo,
|
|
@@ -58228,7 +58228,7 @@ function RV(e) {
|
|
|
58228
58228
|
//#endregion
|
|
58229
58229
|
//#region src/blocks/F0DatePicker/components/DateInput.tsx
|
|
58230
58230
|
var zV = $i(({ value: e, onDateChange: t, granularity: n, onOpenChange: r, minDate: i, maxDate: a, onClear: s, showIcon: c = !0, displayFormat: l, ...u }, d) => {
|
|
58231
|
-
let f = o(), { locale: p } =
|
|
58231
|
+
let f = o(), { locale: p } = ci(), [m, h] = K(() => n.toString(e?.value, f, l ?? "long", p)), [g, _] = K(null), v = g !== null && g.range === e?.value;
|
|
58232
58232
|
U(() => {
|
|
58233
58233
|
h(n.toString(e?.value, f, l ?? "long", p));
|
|
58234
58234
|
}, [
|
|
@@ -58238,7 +58238,7 @@ var zV = $i(({ value: e, onDateChange: t, granularity: n, onOpenChange: r, minDa
|
|
|
58238
58238
|
l,
|
|
58239
58239
|
p
|
|
58240
58240
|
]);
|
|
58241
|
-
let y = (e) =>
|
|
58241
|
+
let y = (e) => Ane(e, n, {
|
|
58242
58242
|
minDate: i,
|
|
58243
58243
|
maxDate: a
|
|
58244
58244
|
}), b = (n, r) => {
|
|
@@ -58285,7 +58285,7 @@ zV.displayName = "DateInput";
|
|
|
58285
58285
|
function BV(e, t) {
|
|
58286
58286
|
let n = e || t;
|
|
58287
58287
|
return {
|
|
58288
|
-
...
|
|
58288
|
+
...li(n),
|
|
58289
58289
|
key: n
|
|
58290
58290
|
};
|
|
58291
58291
|
}
|
|
@@ -58405,11 +58405,11 @@ function uHe({ enabled: e, onDismiss: t, rootRef: n }) {
|
|
|
58405
58405
|
//#endregion
|
|
58406
58406
|
//#region src/blocks/F0DatePicker/F0DatePickerInline.tsx
|
|
58407
58407
|
function qV({ editing: e = !1, onDismiss: t, ...n }) {
|
|
58408
|
-
let r = o(), { locale: i } =
|
|
58408
|
+
let r = o(), { locale: i } = ci(), a = ra(), s = G(null), c = e && !n.disabled && !n.readonly, l = uHe({
|
|
58409
58409
|
enabled: c,
|
|
58410
58410
|
onDismiss: t,
|
|
58411
58411
|
rootRef: s
|
|
58412
|
-
}), d =
|
|
58412
|
+
}), d = li(n.value?.granularity ?? n.granularities?.[0] ?? "day"), f = d.toRange(d.calendarMode === "range" ? n.value?.value : n.value?.value?.from), p = d.toString(f, r, n.displayFormat ?? "long", i), m = n.status;
|
|
58413
58413
|
n.hint && (m = {
|
|
58414
58414
|
type: "default",
|
|
58415
58415
|
message: n.hint
|
|
@@ -59036,14 +59036,14 @@ var dH = r(gr({
|
|
|
59036
59036
|
name: "F0DurationInput",
|
|
59037
59037
|
type: "form"
|
|
59038
59038
|
}, uH)), fH = $i(function(e, t) {
|
|
59039
|
-
return /* @__PURE__ */ q(
|
|
59039
|
+
return /* @__PURE__ */ q(Tne, {
|
|
59040
59040
|
...e,
|
|
59041
59041
|
ref: t
|
|
59042
59042
|
});
|
|
59043
59043
|
});
|
|
59044
59044
|
fH.displayName = "F0NumberInput";
|
|
59045
59045
|
var CHe = fH, pH = $i(function({ editing: e = !1, onDismiss: t, ...n }, r) {
|
|
59046
|
-
return /* @__PURE__ */ q(
|
|
59046
|
+
return /* @__PURE__ */ q(Tne, {
|
|
59047
59047
|
...n,
|
|
59048
59048
|
ref: r,
|
|
59049
59049
|
variant: "inline",
|
|
@@ -61021,7 +61021,7 @@ var QUe = 1400, $Ue = u("pointer-events-none opacity-0 transition-opacity motion
|
|
|
61021
61021
|
"aria-label": e,
|
|
61022
61022
|
className: u("flex h-5 w-5 shrink-0 !cursor-help items-center justify-center rounded-xs border-0 bg-transparent p-0 text-f1-foreground-secondary", d()),
|
|
61023
61023
|
children: /* @__PURE__ */ q(_r, {
|
|
61024
|
-
icon:
|
|
61024
|
+
icon: gi,
|
|
61025
61025
|
size: "sm"
|
|
61026
61026
|
})
|
|
61027
61027
|
})
|
|
@@ -64756,7 +64756,7 @@ function RGe({ title: e, items: t, className: n, activeItem: r, collapsible: i =
|
|
|
64756
64756
|
className: u("shrink-0 pb-2", ze.block, ze.header),
|
|
64757
64757
|
children: [s ? /* @__PURE__ */ q("div", {
|
|
64758
64758
|
className: "mb-4",
|
|
64759
|
-
children: /* @__PURE__ */ q(
|
|
64759
|
+
children: /* @__PURE__ */ q(pne, {
|
|
64760
64760
|
placeholder: C,
|
|
64761
64761
|
onChange: k,
|
|
64762
64762
|
value: w,
|
|
@@ -65034,7 +65034,7 @@ var oK = qi.forwardRef(({ className: e, children: t, fallback: n, ...r }, i) =>
|
|
|
65034
65034
|
className: u("flex gap-1", e),
|
|
65035
65035
|
...r,
|
|
65036
65036
|
children: [/* @__PURE__ */ q(_r, {
|
|
65037
|
-
icon:
|
|
65037
|
+
icon: ui,
|
|
65038
65038
|
color: "critical"
|
|
65039
65039
|
}), /* @__PURE__ */ q("span", {
|
|
65040
65040
|
className: "text-base font-medium text-f1-foreground-critical",
|
|
@@ -65057,7 +65057,7 @@ var sK = $i(function({ isActionBar: e, isDirty: t, actionBarStatus: n, hasErrors
|
|
|
65057
65057
|
children: [/* @__PURE__ */ J("div", {
|
|
65058
65058
|
className: "flex items-center gap-0.5",
|
|
65059
65059
|
children: [/* @__PURE__ */ q(_r, {
|
|
65060
|
-
icon:
|
|
65060
|
+
icon: ui,
|
|
65061
65061
|
size: "md",
|
|
65062
65062
|
color: "critical"
|
|
65063
65063
|
}), /* @__PURE__ */ q("span", {
|
|
@@ -65067,7 +65067,7 @@ var sK = $i(function({ isActionBar: e, isDirty: t, actionBarStatus: n, hasErrors
|
|
|
65067
65067
|
}), a > 1 ? /* @__PURE__ */ J("div", {
|
|
65068
65068
|
className: "flex items-center gap-2",
|
|
65069
65069
|
children: [/* @__PURE__ */ q(ce, {
|
|
65070
|
-
icon:
|
|
65070
|
+
icon: xi,
|
|
65071
65071
|
onClick: g,
|
|
65072
65072
|
variant: "outline",
|
|
65073
65073
|
label: "Go to previous error",
|
|
@@ -65336,7 +65336,7 @@ function bK(e, t) {
|
|
|
65336
65336
|
}
|
|
65337
65337
|
var eKe = (e) => e === "12h" ? "hh:mm a" : "HH:mm";
|
|
65338
65338
|
function xK(e, t) {
|
|
65339
|
-
return !e || !(e instanceof Date) || isNaN(e.getTime()) ? "" :
|
|
65339
|
+
return !e || !(e instanceof Date) || isNaN(e.getTime()) ? "" : bi(e, eKe(t));
|
|
65340
65340
|
}
|
|
65341
65341
|
var tKe = (e, t) => t === "12h" ? e >= 1 && e <= 12 : e <= 23;
|
|
65342
65342
|
function SK(e, t) {
|
|
@@ -65679,7 +65679,7 @@ function _Ke({ message: e, children: t }) {
|
|
|
65679
65679
|
side: "top",
|
|
65680
65680
|
className: "border-black/10 flex items-center gap-1 bg-[#fff] shadow-md",
|
|
65681
65681
|
children: [/* @__PURE__ */ q(_r, {
|
|
65682
|
-
icon:
|
|
65682
|
+
icon: ui,
|
|
65683
65683
|
color: "critical",
|
|
65684
65684
|
size: "sm"
|
|
65685
65685
|
}), /* @__PURE__ */ q("span", {
|
|
@@ -65759,7 +65759,7 @@ function xKe({ editableColumn: e, value: t, inputPlaceholder: n, error: r, loadi
|
|
|
65759
65759
|
to: e
|
|
65760
65760
|
}
|
|
65761
65761
|
};
|
|
65762
|
-
}, [t]), f = n ?? e.inputPlaceholder, p = d?.value?.from ?
|
|
65762
|
+
}, [t]), f = n ?? e.inputPlaceholder, p = d?.value?.from ? bi(d.value.from, "dd/MM/yyyy") : f ?? _i.day.placeholder();
|
|
65763
65763
|
return /* @__PURE__ */ q(OK, {
|
|
65764
65764
|
showRightBorder: !a,
|
|
65765
65765
|
error: r,
|
|
@@ -65779,7 +65779,7 @@ function xKe({ editableColumn: e, value: t, inputPlaceholder: n, error: r, loadi
|
|
|
65779
65779
|
displayFormat: "default",
|
|
65780
65780
|
value: d,
|
|
65781
65781
|
onChange: (e) => {
|
|
65782
|
-
let n = e?.value?.from, r = n ?
|
|
65782
|
+
let n = e?.value?.from, r = n ? bi(n, bKe) : "";
|
|
65783
65783
|
r !== t && o(r);
|
|
65784
65784
|
},
|
|
65785
65785
|
loading: i,
|
|
@@ -65796,7 +65796,7 @@ function kK(e, t) {
|
|
|
65796
65796
|
}
|
|
65797
65797
|
var SKe = 4;
|
|
65798
65798
|
function CKe(e, t, n, { truncates: r = !1 } = {}) {
|
|
65799
|
-
let { locale: i } =
|
|
65799
|
+
let { locale: i } = ci(), a = e?.locale ?? i, o = kK(e, n), s = o ? e?.unitsPosition === "before" : !1, c = e?.grouping ?? !0, l = W(() => new Intl.NumberFormat(a, {
|
|
65800
65800
|
maximumFractionDigits: e?.maxDecimals,
|
|
65801
65801
|
useGrouping: c
|
|
65802
65802
|
}), [
|
|
@@ -65884,7 +65884,7 @@ var wKe = (e, t = "USD") => {
|
|
|
65884
65884
|
}
|
|
65885
65885
|
};
|
|
65886
65886
|
function TKe(e) {
|
|
65887
|
-
let { locale: t } =
|
|
65887
|
+
let { locale: t } = ci(), n = e.editableColumn.numberConfig, r = n?.locale ?? t, i = kK(n, e.item), a = W(() => i ? wKe(r, i) : void 0, [r, i]), o = W(() => i ? n?.unitsPosition ? n.unitsPosition === "before" : a?.before ?? !1 : !1, [
|
|
65888
65888
|
i,
|
|
65889
65889
|
n?.unitsPosition,
|
|
65890
65890
|
a
|
|
@@ -65908,7 +65908,7 @@ var jK = {
|
|
|
65908
65908
|
list: void 0
|
|
65909
65909
|
}, MK = ({ item: e, property: t, visualization: n, i18n: r, tableAlign: i, maxWidth: a }) => {
|
|
65910
65910
|
let o = t.render(e), s = n in jK ? jK[n] : jK.default;
|
|
65911
|
-
return
|
|
65911
|
+
return xne(o, {
|
|
65912
65912
|
visualization: n,
|
|
65913
65913
|
i18n: r,
|
|
65914
65914
|
tableAlign: i,
|
|
@@ -65947,12 +65947,12 @@ function DKe({ editableColumn: e, error: t, loading: n, onChange: r, item: i, hi
|
|
|
65947
65947
|
cursor: "pointer",
|
|
65948
65948
|
children: /* @__PURE__ */ q("div", {
|
|
65949
65949
|
className: u("flex w-full min-w-0 h-full", "items-center", "[&_[data-testid=input-field-wrapper]]:border-0", "[&_[data-testid=input-field-wrapper]]:bg-transparent", "[&_[data-testid=input-field-wrapper]]:shadow-none", "[&_[data-testid=input-field-wrapper]]:ring-0", "[&_[data-testid=input-field-wrapper]]:focus-within:ring-0", "[&_[data-testid=input-field-wrapper]]:focus-within:ring-offset-0", "[&_[data-testid=input-field-wrapper]]:h-full", "[&_[data-testid=input-field-wrapper]_.absolute]:top-1/2", "[&_[data-testid=input-field-wrapper]_.absolute]:-translate-y-1/2", "[&_[data-testid=input-field-wrapper]_.absolute]:bottom-auto", "[&>div]:h-full", "[&>div]:w-full", "[&>div>button]:h-full", !c && "[@media(hover:hover)]:[&_[data-testid=select-arrow]]:opacity-0", "group-hover:[&_[data-testid=select-arrow]]:opacity-100", "focus-within:[&_[data-testid=select-arrow]]:opacity-100", e.align === "right" && "justify-end"),
|
|
65950
|
-
children: "source" in d && d.source ? /* @__PURE__ */ q(
|
|
65950
|
+
children: "source" in d && d.source ? /* @__PURE__ */ q(vi, {
|
|
65951
65951
|
...p,
|
|
65952
65952
|
...m,
|
|
65953
65953
|
source: d.source,
|
|
65954
65954
|
mapOptions: d.mapOptions
|
|
65955
|
-
}) : /* @__PURE__ */ q(
|
|
65955
|
+
}) : /* @__PURE__ */ q(vi, {
|
|
65956
65956
|
...p,
|
|
65957
65957
|
...m,
|
|
65958
65958
|
options: typeof d.options == "function" ? d.options(i) : d.options
|
|
@@ -65995,7 +65995,7 @@ function jKe({ submenu: e, onPick: t }) {
|
|
|
65995
65995
|
ref: n,
|
|
65996
65996
|
onKeyDown: AKe,
|
|
65997
65997
|
className: "flex max-h-[min(var(--radix-dropdown-menu-content-available-height),24rem)] flex-col [&>*]:min-h-0",
|
|
65998
|
-
children: /* @__PURE__ */ q(
|
|
65998
|
+
children: /* @__PURE__ */ q(vi, {
|
|
65999
65999
|
asList: !0,
|
|
66000
66000
|
hideLabel: !0,
|
|
66001
66001
|
label: e.label,
|
|
@@ -66163,12 +66163,12 @@ function RKe({ editableColumn: e, value: t, error: n, loading: r, onChange: i, i
|
|
|
66163
66163
|
},
|
|
66164
66164
|
children: /* @__PURE__ */ q("div", {
|
|
66165
66165
|
className: u("flex w-full min-w-0 h-full", "items-center", "[&_[data-testid=input-field-wrapper]]:border-0", "[&_[data-testid=input-field-wrapper]]:bg-transparent", "[&_[data-testid=input-field-wrapper]]:shadow-none", "[&_[data-testid=input-field-wrapper]]:ring-0", "[&_[data-testid=input-field-wrapper]]:focus-within:ring-0", "[&_[data-testid=input-field-wrapper]]:focus-within:ring-offset-0", "[&_[data-testid=input-field-wrapper]]:h-full", "[&_[data-testid=input-field-wrapper]_.absolute]:top-1/2", "[&_[data-testid=input-field-wrapper]_.absolute]:-translate-y-1/2", "[&_[data-testid=input-field-wrapper]_.absolute]:bottom-auto", "[&>div]:h-full", "[&>div]:w-full", "[&>div>button]:h-full", e.maxWidth !== void 0 && "[&_input]:text-ellipsis", !l && "[@media(hover:hover)]:[&_[data-testid=select-arrow]]:opacity-0", "group-hover:[&_[data-testid=select-arrow]]:opacity-100", "focus-within:[&_[data-testid=select-arrow]]:opacity-100", e.align === "right" && "justify-end"),
|
|
66166
|
-
children: "source" in f && f.source ? /* @__PURE__ */ q(
|
|
66166
|
+
children: "source" in f && f.source ? /* @__PURE__ */ q(vi, {
|
|
66167
66167
|
...m,
|
|
66168
66168
|
...g,
|
|
66169
66169
|
source: f.source,
|
|
66170
66170
|
mapOptions: f.mapOptions
|
|
66171
|
-
}) : /* @__PURE__ */ q(
|
|
66171
|
+
}) : /* @__PURE__ */ q(vi, {
|
|
66172
66172
|
...m,
|
|
66173
66173
|
...g,
|
|
66174
66174
|
options: FK(f, a) ?? []
|
|
@@ -66181,7 +66181,7 @@ function RKe({ editableColumn: e, value: t, error: n, loading: r, onChange: i, i
|
|
|
66181
66181
|
function zKe(e, t) {
|
|
66182
66182
|
if (!e.dateConfig || e.id === void 0) return;
|
|
66183
66183
|
let n = t[e.id];
|
|
66184
|
-
if (typeof n == "string" && n && hi(rc(n))) return
|
|
66184
|
+
if (typeof n == "string" && n && hi(rc(n))) return bi(rc(n), wne);
|
|
66185
66185
|
}
|
|
66186
66186
|
function BKe(e, t, n) {
|
|
66187
66187
|
let r = e.selectConfig, i = r && typeof r.options == "function" ? r.options(t) : r?.options, a = new Map((Array.isArray(i) ? i : []).filter((e) => "value" in e).map((e) => [e.value, e.label]));
|
|
@@ -66615,7 +66615,7 @@ var VK = ({ depth: e, padding: t = 0 }) => `${e * 32 + t}px`, uqe = ({ depth: e
|
|
|
66615
66615
|
children: /* @__PURE__ */ q(ce, {
|
|
66616
66616
|
variant: "ghost",
|
|
66617
66617
|
size: "md",
|
|
66618
|
-
icon:
|
|
66618
|
+
icon: Ir,
|
|
66619
66619
|
label: s.table.seeMoreChildren,
|
|
66620
66620
|
onClick: (e) => {
|
|
66621
66621
|
e.stopPropagation(), p?.();
|
|
@@ -66631,7 +66631,7 @@ var VK = ({ depth: e, padding: t = 0 }) => `${e * 32 + t}px`, uqe = ({ depth: e
|
|
|
66631
66631
|
onClick: (e) => {
|
|
66632
66632
|
c && (e.stopPropagation(), r?.onExpand?.());
|
|
66633
66633
|
},
|
|
66634
|
-
children: c ? r?.expanded ? /* @__PURE__ */ q(
|
|
66634
|
+
children: c ? r?.expanded ? /* @__PURE__ */ q(Bte, {
|
|
66635
66635
|
className: "pointer-events-none shrink-0",
|
|
66636
66636
|
size: 18
|
|
66637
66637
|
}) : /* @__PURE__ */ q(Wne, {
|
|
@@ -66803,7 +66803,7 @@ function Sqe({ info: e, icon: t, label: n }) {
|
|
|
66803
66803
|
})]
|
|
66804
66804
|
});
|
|
66805
66805
|
}
|
|
66806
|
-
function GK({ info: e, icon: t =
|
|
66806
|
+
function GK({ info: e, icon: t = gi, label: n }) {
|
|
66807
66807
|
return typeof e == "string" ? /* @__PURE__ */ q(D, {
|
|
66808
66808
|
label: e,
|
|
66809
66809
|
children: /* @__PURE__ */ q("div", {
|
|
@@ -66822,7 +66822,7 @@ function GK({ info: e, icon: t = ci, label: n }) {
|
|
|
66822
66822
|
}
|
|
66823
66823
|
//#endregion
|
|
66824
66824
|
//#region src/addons/data-collection/OneTable/TableHead/TableHead.tsx
|
|
66825
|
-
function KK({ children: e, width: t = "auto", minWidth: n, maxWidth: r, sortState: i = "none", onSortClick: a, onClick: o, info: s, infoIcon: c =
|
|
66825
|
+
function KK({ children: e, width: t = "auto", minWidth: n, maxWidth: r, sortState: i = "none", onSortClick: a, onClick: o, info: s, infoIcon: c = gi, sticky: l, hidden: f = !1, highlighted: p = !1, align: m = "left", className: h, colSpan: g }) {
|
|
66826
66826
|
let { isScrolled: _, isScrolledRight: v } = BK(), y = l?.left !== void 0, b = l?.right !== void 0, x = y || b, S = l?.left ?? 0, C = l?.right ?? 0, w = a || s, E = t !== "auto" || r !== void 0, D = a || o ? () => {
|
|
66827
66827
|
a?.(), o?.();
|
|
66828
66828
|
} : void 0, O = /* @__PURE__ */ J("div", {
|
|
@@ -66866,7 +66866,7 @@ function KK({ children: e, width: t = "auto", minWidth: n, maxWidth: r, sortStat
|
|
|
66866
66866
|
]
|
|
66867
66867
|
},
|
|
66868
66868
|
children: /* @__PURE__ */ q(_r, {
|
|
66869
|
-
icon:
|
|
66869
|
+
icon: Ir,
|
|
66870
66870
|
size: "xs"
|
|
66871
66871
|
})
|
|
66872
66872
|
}, "sort-arrow"), i === "none" ? /* @__PURE__ */ q(N.div, {
|
|
@@ -66899,7 +66899,7 @@ function KK({ children: e, width: t = "auto", minWidth: n, maxWidth: r, sortStat
|
|
|
66899
66899
|
]
|
|
66900
66900
|
},
|
|
66901
66901
|
children: /* @__PURE__ */ q(_r, {
|
|
66902
|
-
icon:
|
|
66902
|
+
icon: Ir,
|
|
66903
66903
|
size: "xs"
|
|
66904
66904
|
})
|
|
66905
66905
|
}, "sort-arrow-secondary") : null] })
|
|
@@ -67643,9 +67643,9 @@ function oJe(e) {
|
|
|
67643
67643
|
//#endregion
|
|
67644
67644
|
//#region src/blocks/OneDateNavigator/components/DateNavigatorTrigger.tsx
|
|
67645
67645
|
var sJe = $i(({ value: e, compareToValue: t, onDateChange: n, disabled: r, error: i, className: a, highlighted: s, onClick: c, navigation: l, granularity: f, hideGoToCurrent: p, ...m }, h) => {
|
|
67646
|
-
let g = o(), _ =
|
|
67646
|
+
let g = o(), _ = ci(), v = W(() => {
|
|
67647
67647
|
if (!e || !e.value) return [g.date.selectDate];
|
|
67648
|
-
let n = f ||
|
|
67648
|
+
let n = f || li(e.granularity);
|
|
67649
67649
|
return [e.value, Array.isArray(t) ? t[0] : t].filter((e) => e !== void 0).sort((e, t) => e?.from.getTime() - t?.from.getTime()).map((e) => n.toString(e, g, "long", _.locale));
|
|
67650
67650
|
}, [
|
|
67651
67651
|
e,
|
|
@@ -67664,7 +67664,7 @@ var sJe = $i(({ value: e, compareToValue: t, onDateChange: n, disabled: r, error
|
|
|
67664
67664
|
w(f?.toRange(/* @__PURE__ */ new Date()) ?? null);
|
|
67665
67665
|
let e = () => {
|
|
67666
67666
|
let e = f?.toRange(/* @__PURE__ */ new Date()) ?? null;
|
|
67667
|
-
e && une(e.from, x) &&
|
|
67667
|
+
e && une(e.from, x) && bne(e.to || e.from, S) ? w(e) : w(null);
|
|
67668
67668
|
}, t = setInterval(() => {
|
|
67669
67669
|
e();
|
|
67670
67670
|
}, 6e4);
|
|
@@ -67688,7 +67688,7 @@ var sJe = $i(({ value: e, compareToValue: t, onDateChange: n, disabled: r, error
|
|
|
67688
67688
|
l ? /* @__PURE__ */ q(ce, {
|
|
67689
67689
|
size: "sm",
|
|
67690
67690
|
variant: "ghost",
|
|
67691
|
-
icon:
|
|
67691
|
+
icon: Vr,
|
|
67692
67692
|
label: "Previous",
|
|
67693
67693
|
hideLabel: !0,
|
|
67694
67694
|
disabled: r || !T?.prev,
|
|
@@ -67706,7 +67706,7 @@ var sJe = $i(({ value: e, compareToValue: t, onDateChange: n, disabled: r, error
|
|
|
67706
67706
|
}),
|
|
67707
67707
|
l ? /* @__PURE__ */ q(ce, {
|
|
67708
67708
|
variant: "ghost",
|
|
67709
|
-
icon:
|
|
67709
|
+
icon: Zr,
|
|
67710
67710
|
label: "Next",
|
|
67711
67711
|
hideLabel: !0,
|
|
67712
67712
|
size: "sm",
|
|
@@ -67739,7 +67739,7 @@ function cJe({ onSelect: e, defaultValue: t, presets: n = [], granularities: r =
|
|
|
67739
67739
|
U(() => {
|
|
67740
67740
|
FV(m, g) || _(m || h);
|
|
67741
67741
|
}, [m, h]);
|
|
67742
|
-
let [v, y] = K(), [b, x] = K(!1), S =
|
|
67742
|
+
let [v, y] = K(), [b, x] = K(!1), S = ci(), C = p.weekStartsOn ?? S.date?.weekStartsOn ?? ti.Monday, w = W(() => {
|
|
67743
67743
|
let e = g?.granularity ?? "day";
|
|
67744
67744
|
return pi({
|
|
67745
67745
|
weekStartsOn: C,
|
|
@@ -67837,14 +67837,14 @@ var dJe = (e) => "date" in e, _q = { "date-navigator": {
|
|
|
67837
67837
|
},
|
|
67838
67838
|
render: (e) => /* @__PURE__ */ q(uJe, { ...e })
|
|
67839
67839
|
} }, fJe = (e, t = []) => {
|
|
67840
|
-
let n = o(), { navigationFilters: r, summaries: i, currentNavigationFilters: a } = e, s =
|
|
67840
|
+
let n = o(), { navigationFilters: r, summaries: i, currentNavigationFilters: a } = e, s = Ene({
|
|
67841
67841
|
...e,
|
|
67842
67842
|
dataAdapter: e.dataAdapter
|
|
67843
67843
|
}, t), [c, l] = K(() => r ? Object.fromEntries(Object.entries(r).map(([e, t]) => {
|
|
67844
67844
|
let r = _q[t.type];
|
|
67845
67845
|
return [e, r.valueConverter ? r.valueConverter(t.defaultValue, t, n) : t.defaultValue];
|
|
67846
67846
|
})) : {});
|
|
67847
|
-
|
|
67847
|
+
di(() => {
|
|
67848
67848
|
a && l(a);
|
|
67849
67849
|
}, [a]);
|
|
67850
67850
|
let u = W(() => i, t), d = W(() => e, t), f = e.memoizeDefinition ? d : void 0;
|
|
@@ -68732,7 +68732,7 @@ var qJe = ({ className: e, ...t }) => /* @__PURE__ */ q(Eq, {
|
|
|
68732
68732
|
"aria-label": "Go to previous page",
|
|
68733
68733
|
className: u("border border-solid border-f1-border hover:border-f1-border-hover hover:bg-f1-background", e),
|
|
68734
68734
|
...t,
|
|
68735
|
-
children: /* @__PURE__ */ q(_r, { icon:
|
|
68735
|
+
children: /* @__PURE__ */ q(_r, { icon: Vr })
|
|
68736
68736
|
});
|
|
68737
68737
|
qJe.displayName = "PaginationPrevious";
|
|
68738
68738
|
var JJe = ({ className: e, ...t }) => /* @__PURE__ */ q(Eq, {
|
|
@@ -68740,7 +68740,7 @@ var JJe = ({ className: e, ...t }) => /* @__PURE__ */ q(Eq, {
|
|
|
68740
68740
|
"aria-label": "Go to next page",
|
|
68741
68741
|
className: u("border border-solid border-f1-border hover:border-f1-border-hover hover:bg-f1-background", e),
|
|
68742
68742
|
...t,
|
|
68743
|
-
children: /* @__PURE__ */ q(_r, { icon:
|
|
68743
|
+
children: /* @__PURE__ */ q(_r, { icon: Zr })
|
|
68744
68744
|
});
|
|
68745
68745
|
JJe.displayName = "PaginationNext";
|
|
68746
68746
|
var YJe = ({ className: e, ...t }) => /* @__PURE__ */ q("span", {
|
|
@@ -69738,7 +69738,7 @@ var uYe = ({ header: e, description: t, onClick: n, collapsible: r, selectable:
|
|
|
69738
69738
|
}) : null,
|
|
69739
69739
|
i.map((n, r) => {
|
|
69740
69740
|
let a = S?.find((e) => e.type === "group" && e.columnIndices.includes(r)), o = !!S && (!a || a.columnIndices[a.columnIndices.length - 1] === r), s = /* @__PURE__ */ q("div", {
|
|
69741
|
-
className: u(n.align === "right" ? "justify-end" : "", "flex",
|
|
69741
|
+
className: u(n.align === "right" ? "justify-end" : "", "flex", Rr),
|
|
69742
69742
|
children: L(t, n)
|
|
69743
69743
|
});
|
|
69744
69744
|
return /* @__PURE__ */ q(WK, {
|
|
@@ -70553,7 +70553,7 @@ var rXe = (e, t, n, r = !0) => {
|
|
|
70553
70553
|
getScrollElement: () => k?.current ?? null,
|
|
70554
70554
|
estimateSize: () => L.current,
|
|
70555
70555
|
measureElement: (e, t, n) => {
|
|
70556
|
-
let r =
|
|
70556
|
+
let r = zte(e, t, n);
|
|
70557
70557
|
return r > 0 && (L.current = r), r;
|
|
70558
70558
|
},
|
|
70559
70559
|
overscan: dXe,
|
|
@@ -70867,7 +70867,7 @@ var rXe = (e, t, n, r = !0) => {
|
|
|
70867
70867
|
}) : null]
|
|
70868
70868
|
})
|
|
70869
70869
|
}) : null,
|
|
70870
|
-
a ? e.disabledReason ? /* @__PURE__ */ q(
|
|
70870
|
+
a ? e.disabledReason ? /* @__PURE__ */ q(Ute, {
|
|
70871
70871
|
tooltip: e.disabledReason,
|
|
70872
70872
|
children: /* @__PURE__ */ q("span", {
|
|
70873
70873
|
className: "inline-flex cursor-not-allowed",
|
|
@@ -71449,7 +71449,7 @@ var rXe = (e, t, n, r = !0) => {
|
|
|
71449
71449
|
className: "font-medium text-f1-foreground-secondary",
|
|
71450
71450
|
children: We.label
|
|
71451
71451
|
}) : /* @__PURE__ */ q("div", {
|
|
71452
|
-
className: u(e.align === "right" ? "justify-end" : "", "flex",
|
|
71452
|
+
className: u(e.align === "right" ? "justify-end" : "", "flex", Rr),
|
|
71453
71453
|
children: (() => {
|
|
71454
71454
|
let n = qe(e.summaryPlaceholder);
|
|
71455
71455
|
if (e.summary && t.summaries && t.summaries[e.summary]?.type === "sum") {
|
|
@@ -82011,7 +82011,7 @@ var r7e = ({ label: e, variant: t, color: n, count: r, info: i, onPrimaryAction:
|
|
|
82011
82011
|
n ? /* @__PURE__ */ q(Gte, {
|
|
82012
82012
|
text: e,
|
|
82013
82013
|
color: n
|
|
82014
|
-
}) : /* @__PURE__ */ q(
|
|
82014
|
+
}) : /* @__PURE__ */ q(Br, {
|
|
82015
82015
|
text: e,
|
|
82016
82016
|
variant: t || "neutral"
|
|
82017
82017
|
}),
|
|
@@ -82030,7 +82030,7 @@ var r7e = ({ label: e, variant: t, color: n, count: r, info: i, onPrimaryAction:
|
|
|
82030
82030
|
variant: "ghost",
|
|
82031
82031
|
size: "sm",
|
|
82032
82032
|
label: "Add",
|
|
82033
|
-
icon:
|
|
82033
|
+
icon: ii,
|
|
82034
82034
|
hideLabel: !0,
|
|
82035
82035
|
onClick: a
|
|
82036
82036
|
}) : null]
|
|
@@ -82104,7 +82104,7 @@ function i7e({ title: e, items: t, renderCard: n, getKey: r, emptyState: i, fetc
|
|
|
82104
82104
|
variant: "ghost",
|
|
82105
82105
|
size: "md",
|
|
82106
82106
|
className: "w-full justify-center",
|
|
82107
|
-
icon:
|
|
82107
|
+
icon: ii,
|
|
82108
82108
|
label: "Add",
|
|
82109
82109
|
hideLabel: !0,
|
|
82110
82110
|
onClick: h
|
|
@@ -83068,7 +83068,7 @@ var AX = ({ lanes: e, renderCard: t, getKey: n, onCreate: r, onMove: i, idProvid
|
|
|
83068
83068
|
"aria-hidden": "true",
|
|
83069
83069
|
className: u("absolute inset-0 flex items-center justify-center rounded border border-solid border-f1-border-secondary bg-f1-background transition-opacity duration-200 motion-reduce:transition-none", t && "opacity-0 group-hover/row:opacity-100 group-focus-visible/toggle:opacity-100 [@media(hover:none)]:opacity-100"),
|
|
83070
83070
|
children: /* @__PURE__ */ q(_r, {
|
|
83071
|
-
icon: n.expanded ?
|
|
83071
|
+
icon: n.expanded ? xi : Tr,
|
|
83072
83072
|
size: "md"
|
|
83073
83073
|
})
|
|
83074
83074
|
})]
|
|
@@ -83505,7 +83505,7 @@ var AX = ({ lanes: e, renderCard: t, getKey: n, onCreate: r, onMove: i, idProvid
|
|
|
83505
83505
|
})]
|
|
83506
83506
|
})
|
|
83507
83507
|
});
|
|
83508
|
-
}, z7e = lre(() => import("./Map-
|
|
83508
|
+
}, z7e = lre(() => import("./Map-BmF_3dIV.js").then((e) => ({ default: e.MapCollection }))), PX = {
|
|
83509
83509
|
table: {
|
|
83510
83510
|
name: "Table",
|
|
83511
83511
|
icon: Rt,
|
|
@@ -83964,7 +83964,7 @@ var Z7e = [
|
|
|
83964
83964
|
m,
|
|
83965
83965
|
h,
|
|
83966
83966
|
_
|
|
83967
|
-
]),
|
|
83967
|
+
]), di(() => {
|
|
83968
83968
|
if (!(e || !v || T)) return M({
|
|
83969
83969
|
state: O,
|
|
83970
83970
|
url: A.current ?? ""
|
|
@@ -84510,7 +84510,7 @@ var YX = "dc_shared_view", net = (e) => {
|
|
|
84510
84510
|
className: "flex items-end gap-2",
|
|
84511
84511
|
children: [/* @__PURE__ */ q("div", {
|
|
84512
84512
|
className: "shrink grow [&_button]:h-8 [&_button]:rounded",
|
|
84513
|
-
children: /* @__PURE__ */ q(
|
|
84513
|
+
children: /* @__PURE__ */ q(vi, {
|
|
84514
84514
|
label: r.collections.sorting.sortBy,
|
|
84515
84515
|
options: i,
|
|
84516
84516
|
value: a.field,
|
|
@@ -84588,7 +84588,7 @@ var YX = "dc_shared_view", net = (e) => {
|
|
|
84588
84588
|
align: "end",
|
|
84589
84589
|
sideOffset: 8,
|
|
84590
84590
|
children: [
|
|
84591
|
-
h &&
|
|
84591
|
+
h && Lte(n) && /* @__PURE__ */ q("div", {
|
|
84592
84592
|
className: "p-3",
|
|
84593
84593
|
children: /* @__PURE__ */ q(Qte, {
|
|
84594
84594
|
grouping: n,
|
|
@@ -84753,14 +84753,14 @@ var YX = "dc_shared_view", net = (e) => {
|
|
|
84753
84753
|
primary: (s?.primary || []).map(l),
|
|
84754
84754
|
secondary: (s?.secondary || []).map(l)
|
|
84755
84755
|
}) : "warningMessage" in s && Ge({ warningMessage: s.warningMessage }));
|
|
84756
|
-
}, [bt, xt] = K(void 0), [St, Ct] = K(void 0), [wt, Tt] = K(!0), Et = W(() => [O?.enabled, t.length > 1].some(Boolean), [O, t]), Dt =
|
|
84756
|
+
}, [bt, xt] = K(void 0), [St, Ct] = K(void 0), [wt, Tt] = K(!0), Et = W(() => [O?.enabled, t.length > 1].some(Boolean), [O, t]), Dt = hne(pe, he), { emptyState: Ot, setEmptyStateType: kt } = I9e(l, {
|
|
84757
84757
|
retry: () => {
|
|
84758
84758
|
kt(!1), ge({ ...he });
|
|
84759
84759
|
},
|
|
84760
84760
|
clearFilters: () => {
|
|
84761
84761
|
kt(!1), Dt({}, "clear"), ge({}), A(void 0);
|
|
84762
84762
|
}
|
|
84763
|
-
}), At = (e, t, n) => e === 0 ? pe &&
|
|
84763
|
+
}), At = (e, t, n) => e === 0 ? pe && Mne(pe, t, _t).length > 0 || n ? "no-results" : "no-data" : !1, jt = ({ totalItems: e, selectableTotal: t, filters: n, isInitialLoading: r, search: i }) => {
|
|
84764
84764
|
r || (Tt(r), xt(e), Ct(t ?? e), Se(!0), kt(At(e, n, i)));
|
|
84765
84765
|
}, Mt = (e) => {
|
|
84766
84766
|
kt("error", e.cause instanceof Error ? e.cause.message : e.message);
|
|
@@ -85045,7 +85045,7 @@ var YX = "dc_shared_view", net = (e) => {
|
|
|
85045
85045
|
value: wt && gn,
|
|
85046
85046
|
delay: 100
|
|
85047
85047
|
});
|
|
85048
|
-
|
|
85048
|
+
di(() => {
|
|
85049
85049
|
c?.({
|
|
85050
85050
|
filters: he,
|
|
85051
85051
|
sortings: te,
|
|
@@ -85114,7 +85114,7 @@ var YX = "dc_shared_view", net = (e) => {
|
|
|
85114
85114
|
})
|
|
85115
85115
|
}) : null, /* @__PURE__ */ q("div", {
|
|
85116
85116
|
className: "flex-1",
|
|
85117
|
-
children: /* @__PURE__ */ q(
|
|
85117
|
+
children: /* @__PURE__ */ q(One, {
|
|
85118
85118
|
quickFilter: n,
|
|
85119
85119
|
filters: pe,
|
|
85120
85120
|
value: he,
|
|
@@ -85272,10 +85272,10 @@ function yet(e) {
|
|
|
85272
85272
|
};
|
|
85273
85273
|
}
|
|
85274
85274
|
function bet(e, t) {
|
|
85275
|
-
return e == null ? "" : e instanceof Date ? hi(e) ?
|
|
85275
|
+
return e == null ? "" : e instanceof Date ? hi(e) ? bi(e, "dd MMM yyyy", { locale: t }) : "" : Array.isArray(e) ? e.map((e) => String(e)).join(", ") : String(e);
|
|
85276
85276
|
}
|
|
85277
85277
|
function xet({ rows: e, fields: t, listItem: n, onEditRow: r, onRemoveRow: i, isRemovePending: a, canEditRow: o, canRemoveRow: s, onRowClick: c, getRowHref: l, getRowActions: u, editLabel: d, removeLabel: f, viewLabel: p }) {
|
|
85278
|
-
let m =
|
|
85278
|
+
let m = Cne(), h = t[0], g = t.slice(1), _ = g.filter((e) => e.tag), v = g.filter((e) => !e.tag), y = !!l, b = W(() => e.map(({ __key: e, ...t }) => ({
|
|
85279
85279
|
...t,
|
|
85280
85280
|
id: e
|
|
85281
85281
|
})), [e]), x = !!r || !!i || !!u, S = fJe({
|
|
@@ -85338,7 +85338,7 @@ function xet({ rows: e, fields: t, listItem: n, onEditRow: r, onRemoveRow: i, is
|
|
|
85338
85338
|
render: () => ({
|
|
85339
85339
|
type: "icon",
|
|
85340
85340
|
value: {
|
|
85341
|
-
icon:
|
|
85341
|
+
icon: Zr,
|
|
85342
85342
|
label: p,
|
|
85343
85343
|
hideLabel: !0
|
|
85344
85344
|
}
|
|
@@ -86180,7 +86180,7 @@ function Uet({ field: e, formField: t, error: n, statusType: r, initialFiles: i
|
|
|
86180
86180
|
y ? /* @__PURE__ */ J("div", {
|
|
86181
86181
|
className: "-mt-2 flex items-center gap-1",
|
|
86182
86182
|
children: [/* @__PURE__ */ q(_r, {
|
|
86183
|
-
icon:
|
|
86183
|
+
icon: ui,
|
|
86184
86184
|
color: "critical"
|
|
86185
86185
|
}), /* @__PURE__ */ q("p", {
|
|
86186
86186
|
className: "text-base font-medium text-f1-foreground-critical",
|
|
@@ -86369,13 +86369,13 @@ var Wet = {
|
|
|
86369
86369
|
"aria-live": "polite",
|
|
86370
86370
|
children: R
|
|
86371
86371
|
});
|
|
86372
|
-
return /* @__PURE__ */ J(ca, { children: [y ? /* @__PURE__ */ q(
|
|
86372
|
+
return /* @__PURE__ */ J(ca, { children: [y ? /* @__PURE__ */ q(vi, {
|
|
86373
86373
|
...te,
|
|
86374
86374
|
clearable: !0,
|
|
86375
86375
|
onChangeSelectedOption: (e, t) => {
|
|
86376
86376
|
(!e || !t) && (I.current = !0, u());
|
|
86377
86377
|
}
|
|
86378
|
-
}) : /* @__PURE__ */ q(
|
|
86378
|
+
}) : /* @__PURE__ */ q(vi, { ...te }), ne] });
|
|
86379
86379
|
}, $et = (e, t) => (t ?? Object.keys(e)).filter((t) => t in e).map((t) => ({
|
|
86380
86380
|
value: t,
|
|
86381
86381
|
label: e[t],
|
|
@@ -86385,7 +86385,7 @@ var Wet = {
|
|
|
86385
86385
|
} : void 0
|
|
86386
86386
|
})).sort((e, t) => e.label.localeCompare(t.label)), ett = ({ label: e, value: t, onChange: n, allowedCountries: r, size: i, disabled: a, readonly: s, name: c }) => {
|
|
86387
86387
|
let l = o(), u = W(() => $et(l.countries, r), [l.countries, r]);
|
|
86388
|
-
return /* @__PURE__ */ q(
|
|
86388
|
+
return /* @__PURE__ */ q(vi, {
|
|
86389
86389
|
label: e,
|
|
86390
86390
|
placeholder: l.locationInput.selectCountry,
|
|
86391
86391
|
options: u,
|
|
@@ -88752,7 +88752,7 @@ var Hrt = Vrt(Aee), Urt = ({ country: e }) => {
|
|
|
88752
88752
|
}) : c.phoneInput.country;
|
|
88753
88753
|
return /* @__PURE__ */ q("div", {
|
|
88754
88754
|
className: "h-full shrink-0",
|
|
88755
|
-
children: /* @__PURE__ */ q(
|
|
88755
|
+
children: /* @__PURE__ */ q(vi, {
|
|
88756
88756
|
label: m,
|
|
88757
88757
|
hideLabel: !0,
|
|
88758
88758
|
size: a,
|
|
@@ -101431,7 +101431,7 @@ var h2 = ({ onSelect: e, enhancementOptions: t, inputPlaceholder: n, darkMode: r
|
|
|
101431
101431
|
className: "relative z-20 w-fit py-px",
|
|
101432
101432
|
children: /* @__PURE__ */ q(ce, {
|
|
101433
101433
|
variant: "default",
|
|
101434
|
-
icon:
|
|
101434
|
+
icon: Jte,
|
|
101435
101435
|
label: "send",
|
|
101436
101436
|
hideLabel: !0,
|
|
101437
101437
|
onClick: () => {
|
|
@@ -110850,7 +110850,7 @@ var U6 = On(r(PSt), FSt), ISt = /^\s*(\[([( |x])?\])\s$/, W6 = r0.create({
|
|
|
110850
110850
|
variant: "outline",
|
|
110851
110851
|
hideLabel: !0,
|
|
110852
110852
|
label: i ? r.actions.collapse : r.actions.expand,
|
|
110853
|
-
icon: i ?
|
|
110853
|
+
icon: i ? xi : Tr,
|
|
110854
110854
|
size: "sm"
|
|
110855
110855
|
}), /* @__PURE__ */ q(Yn, {
|
|
110856
110856
|
items: l,
|
|
@@ -111463,7 +111463,7 @@ var HCt = ({ aiBlockConfig: e, translations: t, imageUploadConfig: n }) => {
|
|
|
111463
111463
|
}], u = (e) => s.users.find((t) => t.id === e), d = (e) => {
|
|
111464
111464
|
try {
|
|
111465
111465
|
let t = new Date(e);
|
|
111466
|
-
return
|
|
111466
|
+
return bi(t, "HH:mm");
|
|
111467
111467
|
} catch (t) {
|
|
111468
111468
|
return console.error(t), e;
|
|
111469
111469
|
}
|
|
@@ -111497,7 +111497,7 @@ var HCt = ({ aiBlockConfig: e, translations: t, imageUploadConfig: n }) => {
|
|
|
111497
111497
|
variant: "outline",
|
|
111498
111498
|
hideLabel: !0,
|
|
111499
111499
|
label: i ? r.actions.collapse : r.actions.expand,
|
|
111500
|
-
icon: i ?
|
|
111500
|
+
icon: i ? xi : Tr,
|
|
111501
111501
|
size: "sm"
|
|
111502
111502
|
}), /* @__PURE__ */ q(Yn, {
|
|
111503
111503
|
items: l,
|
|
@@ -112573,7 +112573,7 @@ function r8({ editing: e = !1, onDismiss: t, ...n }) {
|
|
|
112573
112573
|
...r.source === n.source ? r.options : [],
|
|
112574
112574
|
...Xr(n.defaultItem),
|
|
112575
112575
|
...n.options ?? []
|
|
112576
|
-
].filter((e) => e.type !== "separator").map((e) => [String(e.value), e])), l =
|
|
112576
|
+
].filter((e) => e.type !== "separator").map((e) => [String(e.value), e])), l = Ene(n.source ?? Twt, [n.source]), { data: d } = Ar(l, { enabled: !!n.source && s.some((e) => !c.has(e)) });
|
|
112577
112577
|
d.records.forEach((e) => {
|
|
112578
112578
|
let t = n.mapOptions?.(e);
|
|
112579
112579
|
t && t.type !== "separator" && !c.has(String(t.value)) && c.set(String(t.value), t);
|
|
@@ -112641,7 +112641,7 @@ function r8({ editing: e = !1, onDismiss: t, ...n }) {
|
|
|
112641
112641
|
label: n.label,
|
|
112642
112642
|
hideLabel: n.hideLabel && !p,
|
|
112643
112643
|
disabled: n.disabled,
|
|
112644
|
-
text: f.map(
|
|
112644
|
+
text: f.map(_ne).filter(Boolean).join(", "),
|
|
112645
112645
|
empty: s.length === 0,
|
|
112646
112646
|
placeholder: n.placeholder,
|
|
112647
112647
|
children: /* @__PURE__ */ q(Kte, {
|
|
@@ -112674,7 +112674,7 @@ function r8({ editing: e = !1, onDismiss: t, ...n }) {
|
|
|
112674
112674
|
disabled: n.disabled
|
|
112675
112675
|
}), p ? /* @__PURE__ */ q("div", {
|
|
112676
112676
|
className: "min-h-0 w-full flex-1 rounded-md bg-f1-background-hover",
|
|
112677
|
-
children: /* @__PURE__ */ q(
|
|
112677
|
+
children: /* @__PURE__ */ q(Sne, {
|
|
112678
112678
|
...T,
|
|
112679
112679
|
defaultOpen: !0,
|
|
112680
112680
|
hideLabel: !0,
|
|
@@ -112753,7 +112753,7 @@ function kwt({ field: e, formField: t, error: n, loading: r, status: i }) {
|
|
|
112753
112753
|
size: "md",
|
|
112754
112754
|
hideLabel: !0
|
|
112755
112755
|
};
|
|
112756
|
-
return e.multiple ? /* @__PURE__ */ q(
|
|
112756
|
+
return e.multiple ? /* @__PURE__ */ q(vi, {
|
|
112757
112757
|
...o,
|
|
112758
112758
|
multiple: !0,
|
|
112759
112759
|
clearable: e.clearable,
|
|
@@ -112761,12 +112761,12 @@ function kwt({ field: e, formField: t, error: n, loading: r, status: i }) {
|
|
|
112761
112761
|
onChange: (e) => {
|
|
112762
112762
|
t.onChange(e), t.onBlur();
|
|
112763
112763
|
}
|
|
112764
|
-
}) : e.clearable ? /* @__PURE__ */ q(
|
|
112764
|
+
}) : e.clearable ? /* @__PURE__ */ q(vi, {
|
|
112765
112765
|
...o,
|
|
112766
112766
|
clearable: !0,
|
|
112767
112767
|
value: t.value ?? void 0,
|
|
112768
112768
|
onChange: a
|
|
112769
|
-
}) : /* @__PURE__ */ q(
|
|
112769
|
+
}) : /* @__PURE__ */ q(vi, {
|
|
112770
112770
|
...o,
|
|
112771
112771
|
value: t.value ?? void 0,
|
|
112772
112772
|
onChange: (e) => {
|
|
@@ -112793,7 +112793,7 @@ function Awt({ field: e, formField: t, error: n, loading: r, status: i }) {
|
|
|
112793
112793
|
size: "md",
|
|
112794
112794
|
hideLabel: !0
|
|
112795
112795
|
};
|
|
112796
|
-
return e.multiple ? /* @__PURE__ */ q(
|
|
112796
|
+
return e.multiple ? /* @__PURE__ */ q(vi, {
|
|
112797
112797
|
...o,
|
|
112798
112798
|
multiple: !0,
|
|
112799
112799
|
clearable: e.clearable,
|
|
@@ -112801,12 +112801,12 @@ function Awt({ field: e, formField: t, error: n, loading: r, status: i }) {
|
|
|
112801
112801
|
onChange: (e) => {
|
|
112802
112802
|
t.onChange(e), t.onBlur();
|
|
112803
112803
|
}
|
|
112804
|
-
}) : e.clearable ? /* @__PURE__ */ q(
|
|
112804
|
+
}) : e.clearable ? /* @__PURE__ */ q(vi, {
|
|
112805
112805
|
...o,
|
|
112806
112806
|
clearable: !0,
|
|
112807
112807
|
value: t.value ?? void 0,
|
|
112808
112808
|
onChange: a
|
|
112809
|
-
}) : /* @__PURE__ */ q(
|
|
112809
|
+
}) : /* @__PURE__ */ q(vi, {
|
|
112810
112810
|
...o,
|
|
112811
112811
|
value: t.value ?? void 0,
|
|
112812
112812
|
onChange: (e) => {
|
|
@@ -113152,7 +113152,7 @@ function Kwt(e, t) {
|
|
|
113152
113152
|
//#endregion
|
|
113153
113153
|
//#region src/blocks/F0Form/fields/inline/copyValue.ts
|
|
113154
113154
|
function qwt(e, t) {
|
|
113155
|
-
let n = o(), { locale: r } =
|
|
113155
|
+
let n = o(), { locale: r } = ci();
|
|
113156
113156
|
if (!Hwt(e, t)) switch (e.type) {
|
|
113157
113157
|
case "text":
|
|
113158
113158
|
case "textarea":
|
|
@@ -113171,7 +113171,7 @@ function qwt(e, t) {
|
|
|
113171
113171
|
}
|
|
113172
113172
|
case "date": {
|
|
113173
113173
|
if (!(t instanceof Date)) return;
|
|
113174
|
-
let i = e.granularities?.[0] ?? "day", a =
|
|
113174
|
+
let i = e.granularities?.[0] ?? "day", a = _i[i];
|
|
113175
113175
|
return a ? a.toString({
|
|
113176
113176
|
from: t,
|
|
113177
113177
|
to: t
|
|
@@ -115537,7 +115537,7 @@ var aEt = r(iEt), oEt = (e) => ("items" in e || "content" in e) && "icon" in e &
|
|
|
115537
115537
|
color: "critical"
|
|
115538
115538
|
},
|
|
115539
115539
|
"changes-requested": {
|
|
115540
|
-
icon:
|
|
115540
|
+
icon: ui,
|
|
115541
115541
|
color: "warning"
|
|
115542
115542
|
},
|
|
115543
115543
|
skipped: {
|
|
@@ -115830,7 +115830,7 @@ var aEt = r(iEt), oEt = (e) => ("items" in e || "content" in e) && "icon" in e &
|
|
|
115830
115830
|
"aria-hidden": !0,
|
|
115831
115831
|
className: "flex text-f1-icon-secondary",
|
|
115832
115832
|
children: /* @__PURE__ */ q(_r, {
|
|
115833
|
-
icon:
|
|
115833
|
+
icon: gi,
|
|
115834
115834
|
size: "sm"
|
|
115835
115835
|
})
|
|
115836
115836
|
}) : null,
|
|
@@ -115870,7 +115870,7 @@ var aEt = r(iEt), oEt = (e) => ("items" in e || "content" in e) && "icon" in e &
|
|
|
115870
115870
|
...N8,
|
|
115871
115871
|
transition: r.exit
|
|
115872
115872
|
},
|
|
115873
|
-
children: /* @__PURE__ */ q(
|
|
115873
|
+
children: /* @__PURE__ */ q(Br, {
|
|
115874
115874
|
text: c,
|
|
115875
115875
|
variant: l,
|
|
115876
115876
|
additionalAccessibleText: u
|
|
@@ -120805,7 +120805,7 @@ var Ojt = (e) => {
|
|
|
120805
120805
|
onClick: I,
|
|
120806
120806
|
label: "Add paragraph",
|
|
120807
120807
|
hideLabel: !0,
|
|
120808
|
-
icon:
|
|
120808
|
+
icon: ii
|
|
120809
120809
|
}), /* @__PURE__ */ q("div", {
|
|
120810
120810
|
className: "flex cursor-move items-center justify-center p-0.5 text-f1-icon-secondary",
|
|
120811
120811
|
draggable: !0,
|