@nxgt/material 3.96.2 → 3.97.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/README.md +2 -2
- package/dist/calculator-field.js +2 -2
- package/dist/{calculator-BVuQG9PG.js → calculator-kdSjeRhf.js} +1 -1
- package/dist/calculator.js +1 -1
- package/dist/{components-B125euHt.js → components-Bk8KDjaj.js} +11542 -11417
- package/dist/components.js +5 -5
- package/dist/{currency-field-Dj1mBZ9n.js → currency-field-5Zg_sjY1.js} +91 -57
- package/dist/editor.js +1 -1
- package/dist/{financial-variant-DnHWDZ8t.js → financial-variant-DR7pCGqi.js} +2 -2
- package/dist/lib/components/ui/collections/filter/use-filter-field-config.d.ts +1 -0
- package/dist/lib/components/ui/collections/row-menu/use-row-menu-focus.d.ts +4 -2
- package/dist/lib/components/ui/display/event-chip/event-chip-badges.d.ts +2 -1
- package/dist/lib/components/ui/display/event-chip/event-chip-content.d.ts +2 -0
- package/dist/lib/components/ui/display/event-chip/event-chip.d.ts +3 -1
- package/dist/lib/components/ui/fields/currency-field/currency-field.d.ts +9 -1
- package/dist/lib/components/ui/fields/currency-field/use-currency-amount.d.ts +3 -1
- package/dist/lib/components/ui/fields/currency-field/use-minor-units.d.ts +9 -0
- package/dist/lib/components/ui/fields/repeatable-group/partials/repeatable-group-heading.d.ts +12 -0
- package/dist/lib/components/ui/fields/repeatable-group/repeatable-group.d.ts +1 -1
- package/dist/lib/components/ui/fields/repeatable-group/types.d.ts +5 -0
- package/dist/lib/components/ui/fields/repeatable-group/use-repeatable-group-text.d.ts +19 -0
- package/dist/lib/components/ui/fields/textarea-field/textarea-field.d.ts +3 -1
- package/dist/lib/components/ui/media/image-cropper/image-cropper.d.ts +6 -1
- package/dist/lib/components/ui/media/image-cropper/use-apply-crop.d.ts +16 -0
- package/dist/lib/components/ui/media/image-cropper/use-image-cropper.d.ts +2 -2
- package/dist/lib/components/ui/widgets/education/questions/partials/content-lang.d.ts +14 -0
- package/dist/lib/components/ui/widgets/education/questions/partials/question-content.d.ts +1 -1
- package/dist/lib/components/ui/widgets/education/questions/question-props.types.d.ts +87 -0
- package/dist/lib/components/ui/widgets/education/questions/question.d.ts +1 -1
- package/dist/lib/components/ui/widgets/education/questions/types.d.ts +1 -74
- package/dist/lib/components/ui/widgets/event-calendar/partials/calendar-event-chip.d.ts +3 -1
- package/dist/main.js +5 -5
- package/dist/material.css +1 -1
- package/dist/{pdf-MkmivNXn.js → pdf-9BAZhzg9.js} +9777 -7726
- package/dist/pdf-reader.js +1 -1
- package/dist/pdf.worker.min.mjs +5 -5
- package/dist/{percent-field-DT4qNaCH.js → percent-field-D1Y4HUPt.js} +1 -1
- package/dist/{public-BxLp7Qn8.js → public-BuRnxJOK.js} +2 -2
- package/dist/{use-chat-composer-U7jZfdQN.js → use-chat-composer-4cs6opDX.js} +2092 -2085
- package/docs/components/data-display.md +3 -2
- package/docs/components/data-table-filter-and-lists.md +3 -1
- package/docs/components/form-fields.md +6 -2
- package/docs/components/media-and-files.md +20 -2
- package/docs/components/rich-widgets.md +13 -3
- package/docs/guides/csp.md +0 -1
- package/docs/guides/event-calendar.md +7 -2
- package/docs/guides/forms.md +1 -1
- package/docs/guides/i18n.md +1 -1
- package/docs/guides/pdf-reader.md +13 -2
- package/docs/troubleshooting.md +7 -0
- package/package.json +3 -3
package/dist/components.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { $ as ee, $t as te, Ai as ne, Ar as re, B as e, Cr as t, Dr as n, Er as r, F as i, Fi as a, Fn as o, Hi as s, Ii as c, In as l, Li as u, Ln as d, M as f, Mi as p, Mn as m, Mr as h, N as g, Nr as _, Oi as v, P as y, Pi as b, Pn as x, Qt as S, R as C, Ri as w, Rn as T, Rt as E, Sr as D, Tr as O, Ui as k, Wi as A, Zt as j, _ as M, _n as N, _r as P, bn as F, br as I, c as L, cn as R, d as z, dr as B, en as V, er as H, f as U, g as W, gr as G, h as K, i as q, ji as J, jr as Y, ki as X, l as ie, ln as ae, m as oe, mr as se, nn as ce, o as le, p as ue, pr as de, pt as fe, qn as pe, r as me, sr as he, tn as ge, tr as _e, tt as ve, u as ye, un as be, v as xe, vr as Se, wn as Ce, wr as we, wt as Te, xr as Ee, y as De, yn as Oe, yr as ke, z as Ae, zn as je } from "./use-chat-composer-
|
|
1
|
+
import { $ as ee, $t as te, Ai as ne, Ar as re, B as e, Cr as t, Dr as n, Er as r, F as i, Fi as a, Fn as o, Hi as s, Ii as c, In as l, Li as u, Ln as d, M as f, Mi as p, Mn as m, Mr as h, N as g, Nr as _, Oi as v, P as y, Pi as b, Pn as x, Qt as S, R as C, Ri as w, Rn as T, Rt as E, Sr as D, Tr as O, Ui as k, Wi as A, Zt as j, _ as M, _n as N, _r as P, bn as F, br as I, c as L, cn as R, d as z, dr as B, en as V, er as H, f as U, g as W, gr as G, h as K, i as q, ji as J, jr as Y, ki as X, l as ie, ln as ae, m as oe, mr as se, nn as ce, o as le, p as ue, pr as de, pt as fe, qn as pe, r as me, sr as he, tn as ge, tr as _e, tt as ve, u as ye, un as be, v as xe, vr as Se, wn as Ce, wr as we, wt as Te, xr as Ee, y as De, yn as Oe, yr as ke, z as Ae, zn as je } from "./use-chat-composer-4cs6opDX.js";
|
|
2
2
|
import { a as Me, c as Ne, i as Pe, n as Fe, r as Ie, t as Le } from "./spinner-BiGzIQFB.js";
|
|
3
3
|
import { a as Re, c as ze, f as Be, i as Ve, l as He, n as Ue, o as We, r as Ge, s as Ke, t as qe } from "./alert-dialog-VyVfYwzv.js";
|
|
4
4
|
import { a as Je, c as Ye, d as Xe, f as Ze, i as Qe, l as $e, n as et, o as tt, r as nt, s as rt, t as it, u as at } from "./dropdown-menu-B21gOpBE.js";
|
|
5
|
-
import { $ as ot, $a as st, $c as ct, $d as lt, $f as ut, $i as dt, $l as ft, $n as pt, $o as mt, $p as ht, $r as gt, $s as _t, $t as vt, $u as yt, A as bt, Aa as xt, Ac as St, Ad as Ct, Af as wt, Ai as Tt, Al as Et, An as Dt, Ao as Ot, Ap as kt, Ar as At, As as jt, At as Mt, Au as Nt, B as Pt, Ba as Ft, Bc as It, Bd as Lt, Bf as Rt, Bi as zt, Bl as Bt, Bn as Vt, Bo as Ht, Bp as Ut, Br as Wt, Bs as Gt, Bt as Kt, Bu as qt, C as Jt, Ca as Yt, Cc as Xt, Cd as Zt, Cf as Qt, Ci as $t, Cl as en, Cm as tn, Cn as nn, Co as rn, Cp as an, Cr as on, Cs as sn, Ct as cn, Cu as ln, D as un, Da as dn, Dc as fn, Dd as pn, Df as mn, Di as hn, Dl as gn, Dm as _n, Dn as vn, Do as yn, Dp as bn, Dr as xn, Ds as Sn, Dt as Cn, Du as wn, E as Tn, Ea as En, Ec as Dn, Ed as On, Ef as kn, Ei as An, El as jn, Em as Mn, En as Nn, Eo as Pn, Ep as Fn, Er as In, Es as Ln, Et as Rn, Eu as zn, F as Bn, Fa as Vn, Fc as Hn, Fd as Un, Ff as Wn, Fi as Gn, Fl as Kn, Fn as qn, Fo as Jn, Fp as Yn, Fr as Xn, Fs as Zn, Ft as Qn, Fu as $n, G as er, Ga as tr, Gc as nr, Gd as rr, Gf as ir, Gi as ar, Gl as or, Gn as sr, Go as cr, Gp as lr, Gr as ur, Gs as dr, Gt as fr, Gu as pr, H as mr, Ha as hr, Hc as gr, Hd as _r, Hf as vr, Hi as yr, Hl as br, Hn as xr, Ho as Sr, Hp as Cr, Hr as wr, Hs as Tr, Ht as Er, Hu as Dr, I as Or, Ia as kr, Ic as Ar, Id as jr, If as Mr, Ii as Nr, Il as Pr, In as Fr, Io as Ir, Ip as Lr, Ir as Rr, Is as zr, It as Br, Iu as Vr, J as Hr, Ja as Ur, Jc as Wr, Jd as Gr, Jf as Kr, Ji as qr, Jl as Jr, Jn as Yr, Jo as Xr, Jp as Zr, Jr as Qr, Js as $r, Jt as ei, Ju as ti, K as ni, Ka as ri, Kc as ii, Kd as ai, Kf as oi, Ki as si, Kl as ci, Kn as li, Ko as ui, Kp as di, Kr as fi, Ks as pi, Kt as mi, Ku as hi, L as gi, La as _i, Lc as vi, Ld as yi, Lf as bi, Li as xi, Ll as Si, Ln as Ci, Lo as wi, Lp as Ti, Lr as Ei, Ls as Di, Lt as Oi, Lu as ki, M as Ai, Ma as ji, Mc as Mi, Md as Ni, Mf as Pi, Mi as Fi, Ml as Ii, Mn as Li, Mo as Ri, Mp as zi, Mr as Bi, Ms as Vi, Mt as Hi, Mu as Ui, N as Wi, Na as Gi, Nc as Ki, Nd as qi, Nf as Ji, Ni as Yi, Nl as Xi, Nn as Zi, No as Qi, Np as $i, Nr as ea, Ns as ta, Nt as na, Nu as ra, O as ia, Oa as aa, Oc as oa, Od as sa, Of as ca, Oi as la, Ol as ua, Om as da, On as fa, Oo as pa, Op as ma, Or as ha, Os as ga, Ot as _a, Ou as va, P as ya, Pa as ba, Pc as xa, Pd as Sa, Pf as Ca, Pi as wa, Pl as Ta, Pn as Ea, Po as Da, Pp as Oa, Pr as ka, Ps as Aa, Pt as ja, Pu as Ma, Q as Na, Qa as Pa, Qc as Fa, Qd as Ia, Qf as La, Qi as Ra, Ql as za, Qn as Ba, Qo as Va, Qp as Ha, Qr as Ua, Qs as Wa, Qt as Ga, Qu as Ka, R as qa, Ra as Ja, Rc as Ya, Rd as Xa, Rf as Za, Ri as Qa, Rl as $a, Rn as eo, Ro as to, Rp as no, Rr as ro, Rs as io, Rt as ao, Ru as oo, S as so, Sa as co, Sc as lo, Sd as uo, Sf as fo, Si as po, Sl as mo, Sm as ho, Sn as go, So as _o, Sp as vo, Sr as yo, Ss as bo, St as xo, Su as So, T as Co, Ta as wo, Tc as To, Td as Eo, Tf as Do, Ti as Oo, Tl as ko, Tm as Ao, Tn as jo, To as Mo, Tp as No, Tr as Po, Ts as Fo, Tt as Io, Tu as Lo, U as Ro, Ua as zo, Uc as Bo, Ud as Vo, Uf as Ho, Ui as Uo, Ul as Wo, Un as Go, Uo as Ko, Up as qo, Ur as Jo, Us as Yo, Ut as Xo, Uu as Zo, V as Qo, Va as $o, Vc as es, Vd as ts, Vf as ns, Vi as rs, Vl as is, Vn as as, Vo as os, Vp as ss, Vr as cs, Vs as ls, Vt as us, Vu as ds, W as fs, Wa as ps, Wc as ms, Wd as hs, Wf as gs, Wi as _s, Wl as vs, Wn as ys, Wo as bs, Wp as xs, Wr as Ss, Ws as Cs, Wt as ws, Wu as Ts, X as Es, Xa as Ds, Xc as Os, Xd as ks, Xf as As, Xi as js, Xl as Ms, Xn as Ns, Xo as Ps, Xp as Fs, Xr as Is, Xs as Ls, Xt as Rs, Xu as zs, Y as Bs, Ya as Vs, Yc as Hs, Yd as Us, Yf as Ws, Yi as Gs, Yl as Ks, Yn as qs, Yo as Js, Yp as Ys, Yr as Xs, Ys as Zs, Yt as Qs, Yu as $s, Z as ec, Za as tc, Zc as nc, Zd as rc, Zf as ic, Zi as ac, Zl as oc, Zn as sc, Zo as cc, Zp as lc, Zr as uc, Zs as dc, Zt as fc, Zu as pc, _ as mc, _a as hc, _c as gc, _d as _c, _f as vc, _i as yc, _l as bc, _m as xc, _n as Sc, _o as Cc, _p as wc, _r as Tc, _s as Ec, _t as Dc, _u as Oc, a as kc, aa as Ac, ac as jc, ad as Mc, af as Nc, ai as Pc, al as Fc, am as Ic, an as Lc, ao as Rc, ap as zc, ar as Bc, as as Vc, at as Hc, au as Uc, b as Wc, ba as Gc, bc as Kc, bd as qc, bf as Jc, bi as Yc, bl as Xc, bm as Zc, bn as Qc, bo as $c, bp as el, br as tl, bs as nl, bt as rl, bu as il, c as al, ca as ol, cc as sl, cd as cl, cf as ll, ci as ul, cl as dl, cm as fl, cn as pl, co as ml, cp as hl, cr as gl, cs as _l, ct as vl, cu as yl, d as bl, da as xl, dc as Sl, dd as Cl, df as wl, di as Tl, dl as El, dm as Dl, dn as Ol, do as kl, dp as Al, dr as jl, ds as Ml, dt as Nl, du as Pl, ea as Fl, ec as Il, ed as Ll, ef as Rl, ei as zl, el as Bl, em as Vl, en as Hl, eo as Ul, ep as Wl, er as Gl, es as Kl, et as ql, eu as Jl, f as Yl, fa as Xl, fc as Zl, fd as Ql, ff as Z, fi as $l, fl as eu, fm as tu, fn as nu, fo as ru, fp as iu, fr as au, fs as ou, ft as su, fu as cu, g as lu, ga as uu, gc as du, gd as fu, gf as pu, gi as mu, gl as hu, gm as gu, gn as _u, go as vu, gp as yu, gr as bu, gs as xu, gt as Su, gu as Cu, h as wu, ha as Tu, hc as Eu, hd as Du, hf as Ou, hi as ku, hl as Au, hm as ju, hn as Mu, ho as Nu, hp as Pu, hr as Fu, hs as Iu, ht as Lu, hu as Ru, i as zu, ia as Bu, ic as Vu, id as Hu, if as Uu, ii as Wu, il as Gu, im as Ku, in as qu, io as Ju, ip as Yu, ir as Xu, is as Zu, it as Qu, iu as $u, j as ed, ja as td, jc as nd, jd as rd, jf as id, ji as ad, jl as od, jn as sd, jo as cd, jp as ld, jr as ud, js as dd, jt as fd, ju as pd, k as md, ka as hd, kc as gd, kd as _d, kf as vd, ki as yd, kl as bd, km as xd, kn as Sd, ko as Cd, kp as wd, kr as Td, ks as Ed, kt as Dd, ku as Od, l as kd, la as Ad, lc as jd, ld as Md, lf as Nd, li as Pd, ll as Fd, lm as Id, ln as Ld, lo as Rd, lp as zd, lr as Bd, ls as Vd, lt as Hd, lu as Ud, m as Wd, ma as Gd, mc as Kd, md as qd, mf as Jd, mi as Yd, ml as Xd, mm as Zd, mn as Qd, mo as $d, mp as ef, mr as tf, ms as nf, mt as rf, mu as af, n as of, na as sf, nc as cf, nd as lf, nf as uf, ni as df, nl as ff, nm as pf, nn as mf, no as hf, np as gf, nr as _f, ns as vf, nt as yf, nu as bf, o as xf, oa as Sf, oc as Cf, od as wf, of as Tf, oi as Ef, ol as Df, om as Of, on as kf, oo as Af, op as jf, or as Mf, os as Nf, ot as Pf, ou as Ff, p as If, pa as Lf, pc as Rf, pd as zf, pf as Bf, pi as Vf, pl as Hf, pm as Uf, pn as Wf, po as Gf, pp as Kf, pr as qf, ps as Jf, pt as Yf, pu as Xf, q as Zf, qa as Qf, qc as $f, qd as ep, qf as tp, qi as np, ql as rp, qn as ip, qo as ap, qp as op, qr as sp, qs as cp, qt as lp, qu as up, r as dp, ra as fp, rc as pp, rd as mp, rf as hp, ri as gp, rl as _p, rm as vp, rn as yp, ro as bp, rp as xp, rr as Sp, rs as Cp, rt as wp, ru as Tp, s as Ep, sa as Dp, sc as Op, sd as kp, sf as Ap, si as jp, sl as Mp, sm as Np, sn as Pp, so as Fp, sp as Ip, sr as Lp, ss as Rp, st as zp, su as Bp, t as Vp, ta as Hp, tc as Up, td as Wp, tf as Gp, ti as Kp, tl as qp, tm as Jp, tn as Yp, to as Xp, tp as Zp, tr as Qp, ts as $p, tt as em, tu as tm, u as nm, ua as rm, uc as im, ud as am, uf as om, ui as sm, ul as cm, um as lm, un as um, uo as dm, up as fm, ur as pm, us as mm, ut as hm, uu as gm, v as _m, va as vm, vc as ym, vd as bm, vf as xm, vi as Sm, vl as Cm, vm as wm, vn as Tm, vo as Em, vp as Dm, vr as Om, vs as km, vt as Am, vu as jm, w as Mm, wa as Nm, wc as Pm, wd as Fm, wf as Im, wi as Lm, wl as Rm, wm as zm, wn as Bm, wo as Vm, wp as Hm, wr as Um, ws as Wm, wt as Gm, wu as Km, x as qm, xa as Jm, xc as Ym, xd as Xm, xf as Zm, xi as Qm, xl as $m, xm as eh, xn as th, xo as nh, xp as rh, xr as ih, xs as ah, xt as oh, xu as sh, y as ch, ya as lh, yc as uh, yd as dh, yf as fh, yi as ph, yl as mh, ym as hh, yn as gh, yo as _h, yp as vh, yr as yh, ys as bh, yt as xh, yu as Sh, z as Ch, za as wh, zc as Th, zd as Eh, zf as Dh, zi as Oh, zl as kh, zn as Ah, zo as jh, zp as Mh, zr as Nh, zs as Ph, zt as Fh, zu as Ih } from "./components-
|
|
5
|
+
import { $ as ot, $a as st, $c as ct, $d as lt, $f as ut, $i as dt, $l as ft, $n as pt, $o as mt, $p as ht, $r as gt, $s as _t, $t as vt, $u as yt, A as bt, Aa as xt, Ac as St, Ad as Ct, Af as wt, Ai as Tt, Al as Et, An as Dt, Ao as Ot, Ap as kt, Ar as At, As as jt, At as Mt, Au as Nt, B as Pt, Ba as Ft, Bc as It, Bd as Lt, Bf as Rt, Bi as zt, Bl as Bt, Bn as Vt, Bo as Ht, Bp as Ut, Br as Wt, Bs as Gt, Bt as Kt, Bu as qt, C as Jt, Ca as Yt, Cc as Xt, Cd as Zt, Cf as Qt, Ci as $t, Cl as en, Cm as tn, Cn as nn, Co as rn, Cp as an, Cr as on, Cs as sn, Ct as cn, Cu as ln, D as un, Da as dn, Dc as fn, Dd as pn, Df as mn, Di as hn, Dl as gn, Dm as _n, Dn as vn, Do as yn, Dp as bn, Dr as xn, Ds as Sn, Dt as Cn, Du as wn, E as Tn, Ea as En, Ec as Dn, Ed as On, Ef as kn, Ei as An, El as jn, Em as Mn, En as Nn, Eo as Pn, Ep as Fn, Er as In, Es as Ln, Et as Rn, Eu as zn, F as Bn, Fa as Vn, Fc as Hn, Fd as Un, Ff as Wn, Fi as Gn, Fl as Kn, Fn as qn, Fo as Jn, Fp as Yn, Fr as Xn, Fs as Zn, Ft as Qn, Fu as $n, G as er, Ga as tr, Gc as nr, Gd as rr, Gf as ir, Gi as ar, Gl as or, Gn as sr, Go as cr, Gp as lr, Gr as ur, Gs as dr, Gt as fr, Gu as pr, H as mr, Ha as hr, Hc as gr, Hd as _r, Hf as vr, Hi as yr, Hl as br, Hn as xr, Ho as Sr, Hp as Cr, Hr as wr, Hs as Tr, Ht as Er, Hu as Dr, I as Or, Ia as kr, Ic as Ar, Id as jr, If as Mr, Ii as Nr, Il as Pr, In as Fr, Io as Ir, Ip as Lr, Ir as Rr, Is as zr, It as Br, Iu as Vr, J as Hr, Ja as Ur, Jc as Wr, Jd as Gr, Jf as Kr, Ji as qr, Jl as Jr, Jn as Yr, Jo as Xr, Jp as Zr, Jr as Qr, Js as $r, Jt as ei, Ju as ti, K as ni, Ka as ri, Kc as ii, Kd as ai, Kf as oi, Ki as si, Kl as ci, Kn as li, Ko as ui, Kp as di, Kr as fi, Ks as pi, Kt as mi, Ku as hi, L as gi, La as _i, Lc as vi, Ld as yi, Lf as bi, Li as xi, Ll as Si, Ln as Ci, Lo as wi, Lp as Ti, Lr as Ei, Ls as Di, Lt as Oi, Lu as ki, M as Ai, Ma as ji, Mc as Mi, Md as Ni, Mf as Pi, Mi as Fi, Ml as Ii, Mn as Li, Mo as Ri, Mp as zi, Mr as Bi, Ms as Vi, Mt as Hi, Mu as Ui, N as Wi, Na as Gi, Nc as Ki, Nd as qi, Nf as Ji, Ni as Yi, Nl as Xi, Nn as Zi, No as Qi, Np as $i, Nr as ea, Ns as ta, Nt as na, Nu as ra, O as ia, Oa as aa, Oc as oa, Od as sa, Of as ca, Oi as la, Ol as ua, Om as da, On as fa, Oo as pa, Op as ma, Or as ha, Os as ga, Ot as _a, Ou as va, P as ya, Pa as ba, Pc as xa, Pd as Sa, Pf as Ca, Pi as wa, Pl as Ta, Pn as Ea, Po as Da, Pp as Oa, Pr as ka, Ps as Aa, Pt as ja, Pu as Ma, Q as Na, Qa as Pa, Qc as Fa, Qd as Ia, Qf as La, Qi as Ra, Ql as za, Qn as Ba, Qo as Va, Qp as Ha, Qr as Ua, Qs as Wa, Qt as Ga, Qu as Ka, R as qa, Ra as Ja, Rc as Ya, Rd as Xa, Rf as Za, Ri as Qa, Rl as $a, Rn as eo, Ro as to, Rp as no, Rr as ro, Rs as io, Rt as ao, Ru as oo, S as so, Sa as co, Sc as lo, Sd as uo, Sf as fo, Si as po, Sl as mo, Sm as ho, Sn as go, So as _o, Sp as vo, Sr as yo, Ss as bo, St as xo, Su as So, T as Co, Ta as wo, Tc as To, Td as Eo, Tf as Do, Ti as Oo, Tl as ko, Tm as Ao, Tn as jo, To as Mo, Tp as No, Tr as Po, Ts as Fo, Tt as Io, Tu as Lo, U as Ro, Ua as zo, Uc as Bo, Ud as Vo, Uf as Ho, Ui as Uo, Ul as Wo, Un as Go, Uo as Ko, Up as qo, Ur as Jo, Us as Yo, Ut as Xo, Uu as Zo, V as Qo, Va as $o, Vc as es, Vd as ts, Vf as ns, Vi as rs, Vl as is, Vn as as, Vo as os, Vp as ss, Vr as cs, Vs as ls, Vt as us, Vu as ds, W as fs, Wa as ps, Wc as ms, Wd as hs, Wf as gs, Wi as _s, Wl as vs, Wn as ys, Wo as bs, Wp as xs, Wr as Ss, Ws as Cs, Wt as ws, Wu as Ts, X as Es, Xa as Ds, Xc as Os, Xd as ks, Xf as As, Xi as js, Xl as Ms, Xn as Ns, Xo as Ps, Xp as Fs, Xr as Is, Xs as Ls, Xt as Rs, Xu as zs, Y as Bs, Ya as Vs, Yc as Hs, Yd as Us, Yf as Ws, Yi as Gs, Yl as Ks, Yn as qs, Yo as Js, Yp as Ys, Yr as Xs, Ys as Zs, Yt as Qs, Yu as $s, Z as ec, Za as tc, Zc as nc, Zd as rc, Zf as ic, Zi as ac, Zl as oc, Zn as sc, Zo as cc, Zp as lc, Zr as uc, Zs as dc, Zt as fc, Zu as pc, _ as mc, _a as hc, _c as gc, _d as _c, _f as vc, _i as yc, _l as bc, _m as xc, _n as Sc, _o as Cc, _p as wc, _r as Tc, _s as Ec, _t as Dc, _u as Oc, a as kc, aa as Ac, ac as jc, ad as Mc, af as Nc, ai as Pc, al as Fc, am as Ic, an as Lc, ao as Rc, ap as zc, ar as Bc, as as Vc, at as Hc, au as Uc, b as Wc, ba as Gc, bc as Kc, bd as qc, bf as Jc, bi as Yc, bl as Xc, bm as Zc, bn as Qc, bo as $c, bp as el, br as tl, bs as nl, bt as rl, bu as il, c as al, ca as ol, cc as sl, cd as cl, cf as ll, ci as ul, cl as dl, cm as fl, cn as pl, co as ml, cp as hl, cr as gl, cs as _l, ct as vl, cu as yl, d as bl, da as xl, dc as Sl, dd as Cl, df as wl, di as Tl, dl as El, dm as Dl, dn as Ol, do as kl, dp as Al, dr as jl, ds as Ml, dt as Nl, du as Pl, ea as Fl, ec as Il, ed as Ll, ef as Rl, ei as zl, el as Bl, em as Vl, en as Hl, eo as Ul, ep as Wl, er as Gl, es as Kl, et as ql, eu as Jl, f as Yl, fa as Xl, fc as Zl, fd as Ql, ff as Z, fi as $l, fl as eu, fm as tu, fn as nu, fo as ru, fp as iu, fr as au, fs as ou, ft as su, fu as cu, g as lu, ga as uu, gc as du, gd as fu, gf as pu, gi as mu, gl as hu, gm as gu, gn as _u, go as vu, gp as yu, gr as bu, gs as xu, gt as Su, gu as Cu, h as wu, ha as Tu, hc as Eu, hd as Du, hf as Ou, hi as ku, hl as Au, hm as ju, hn as Mu, ho as Nu, hp as Pu, hr as Fu, hs as Iu, ht as Lu, hu as Ru, i as zu, ia as Bu, ic as Vu, id as Hu, if as Uu, ii as Wu, il as Gu, im as Ku, in as qu, io as Ju, ip as Yu, ir as Xu, is as Zu, it as Qu, iu as $u, j as ed, ja as td, jc as nd, jd as rd, jf as id, ji as ad, jl as od, jn as sd, jo as cd, jp as ld, jr as ud, js as dd, jt as fd, ju as pd, k as md, ka as hd, kc as gd, kd as _d, kf as vd, ki as yd, kl as bd, km as xd, kn as Sd, ko as Cd, kp as wd, kr as Td, ks as Ed, kt as Dd, ku as Od, l as kd, la as Ad, lc as jd, ld as Md, lf as Nd, li as Pd, ll as Fd, lm as Id, ln as Ld, lo as Rd, lp as zd, lr as Bd, ls as Vd, lt as Hd, lu as Ud, m as Wd, ma as Gd, mc as Kd, md as qd, mf as Jd, mi as Yd, ml as Xd, mm as Zd, mn as Qd, mo as $d, mp as ef, mr as tf, ms as nf, mt as rf, mu as af, n as of, na as sf, nc as cf, nd as lf, nf as uf, ni as df, nl as ff, nm as pf, nn as mf, no as hf, np as gf, nr as _f, ns as vf, nt as yf, nu as bf, o as xf, oa as Sf, oc as Cf, od as wf, of as Tf, oi as Ef, ol as Df, om as Of, on as kf, oo as Af, op as jf, or as Mf, os as Nf, ot as Pf, ou as Ff, p as If, pa as Lf, pc as Rf, pd as zf, pf as Bf, pi as Vf, pl as Hf, pm as Uf, pn as Wf, po as Gf, pp as Kf, pr as qf, ps as Jf, pt as Yf, pu as Xf, q as Zf, qa as Qf, qc as $f, qd as ep, qf as tp, qi as np, ql as rp, qn as ip, qo as ap, qp as op, qr as sp, qs as cp, qt as lp, qu as up, r as dp, ra as fp, rc as pp, rd as mp, rf as hp, ri as gp, rl as _p, rm as vp, rn as yp, ro as bp, rp as xp, rr as Sp, rs as Cp, rt as wp, ru as Tp, s as Ep, sa as Dp, sc as Op, sd as kp, sf as Ap, si as jp, sl as Mp, sm as Np, sn as Pp, so as Fp, sp as Ip, sr as Lp, ss as Rp, st as zp, su as Bp, t as Vp, ta as Hp, tc as Up, td as Wp, tf as Gp, ti as Kp, tl as qp, tm as Jp, tn as Yp, to as Xp, tp as Zp, tr as Qp, ts as $p, tt as em, tu as tm, u as nm, ua as rm, uc as im, ud as am, uf as om, ui as sm, ul as cm, um as lm, un as um, uo as dm, up as fm, ur as pm, us as mm, ut as hm, uu as gm, v as _m, va as vm, vc as ym, vd as bm, vf as xm, vi as Sm, vl as Cm, vm as wm, vn as Tm, vo as Em, vp as Dm, vr as Om, vs as km, vt as Am, vu as jm, w as Mm, wa as Nm, wc as Pm, wd as Fm, wf as Im, wi as Lm, wl as Rm, wm as zm, wn as Bm, wo as Vm, wp as Hm, wr as Um, ws as Wm, wt as Gm, wu as Km, x as qm, xa as Jm, xc as Ym, xd as Xm, xf as Zm, xi as Qm, xl as $m, xm as eh, xn as th, xo as nh, xp as rh, xr as ih, xs as ah, xt as oh, xu as sh, y as ch, ya as lh, yc as uh, yd as dh, yf as fh, yi as ph, yl as mh, ym as hh, yn as gh, yo as _h, yp as vh, yr as yh, ys as bh, yt as xh, yu as Sh, z as Ch, za as wh, zc as Th, zd as Eh, zf as Dh, zi as Oh, zl as kh, zn as Ah, zo as jh, zp as Mh, zr as Nh, zs as Ph, zt as Fh, zu as Ih } from "./components-Bk8KDjaj.js";
|
|
6
6
|
import { a as Lh, i as Rh } from "./field-blur-context-BLGgf_3z.js";
|
|
7
7
|
import { i as zh, n as Bh, r as Vh, t as Hh } from "./hover-card-tmyRjh2p.js";
|
|
8
|
-
import { a as Uh, c as Wh, d as Gh, f as Kh, l as qh, m as Jh, o as Yh, p as Xh, r as Zh, s as Qh, t as $h, u as eg, v as tg, y as ng } from "./public-
|
|
8
|
+
import { a as Uh, c as Wh, d as Gh, f as Kh, l as qh, m as Jh, o as Yh, p as Xh, r as Zh, s as Qh, t as $h, u as eg, v as tg, y as ng } from "./public-BuRnxJOK.js";
|
|
9
9
|
import { i as rg, n as ig, r as ag, t as og } from "./popover-C2AG-fER.js";
|
|
10
10
|
import { d as sg, n as cg, r as lg, t as ug } from "./tabs-CzBz8Doo.js";
|
|
11
11
|
import { _ as dg, a as fg, f as pg, g as mg, h as hg, l as gg, m as _g, n as vg, o as yg, p as bg, r as xg, s as Sg, t as Cg } from "./toolbar-items-CBv3l8sn.js";
|
|
@@ -30,8 +30,8 @@ import { t as O_ } from "./skeleton-DSdtr2qc.js";
|
|
|
30
30
|
import { _ as k_, a as A_, c as j_, d as M_, f as N_, g as P_, h as F_, i as I_, l as L_, n as R_, o as z_, p as B_, r as V_, s as $, t as H_, u as U_, v as W_, x as G_ } from "./sortable-provider-DZzc_tN2.js";
|
|
31
31
|
import { a as K_, c as q_, i as J_, l as Y_, n as X_, o as Z_, r as Q_, s as $_, t as ev, u as tv } from "./dialog-Bti9bn6a.js";
|
|
32
32
|
import { t as nv } from "./react-node-text-Crkpfpco.js";
|
|
33
|
-
import { c as rv, n as iv, o as av, s as ov, t as sv } from "./currency-field-
|
|
34
|
-
import { n as cv, t as lv } from "./percent-field-
|
|
33
|
+
import { c as rv, n as iv, o as av, s as ov, t as sv } from "./currency-field-5Zg_sjY1.js";
|
|
34
|
+
import { n as cv, t as lv } from "./percent-field-D1Y4HUPt.js";
|
|
35
35
|
import { n as uv, r as dv, t as fv } from "./native-select-w_FlBLHV.js";
|
|
36
36
|
import { n as pv, t as mv } from "./toggle-FeCCJqbg.js";
|
|
37
37
|
export { l as Accordion, o as AccordionCard, d as AccordionContent, T as AccordionItem, w as AccordionPrimitive, je as AccordionTrigger, yr as AccountMenu, b as ActionCard, Jg as ActionRefusal, zh as Activity, xi as ActivityContent, fi as ActivityLayout, Uc as AgeField, $u as AgeFormField, en as AlbumCard, tu as Alert, qe as AlertDialog, qg as AlertDialogAction, Xg as AlertDialogCancel, Ue as AlertDialogContent, Ge as AlertDialogDescription, Ve as AlertDialogFooter, Re as AlertDialogHeader, We as AlertDialogOverlay, Ke as AlertDialogPortal, Be as AlertDialogPrimitive, ze as AlertDialogTitle, He as AlertDialogTrigger, vl as AnchorHeading, Et as ApiEndpoint, ko as ApiOperation, uc as AppBreadcrumb, Ua as AppBreadcrumbItem, gt as AppBreadcrumbSeparator, ur as AppHeader, Qa as AppSearchBar, Tl as AppSidebar, cr as AttributeDialog, ui as AttributeForm, ap as AttributeValueFormField, os as AttributeValuesForm, jh as AttributeValuesFormFieldSet, Jn as AttributesEditor, cd as AttributesField, Ot as AttributesFormField, Ri as AttributesList, Cd as AttributesSummary, Qc as AudioPlayer, Ss as AuthCard, N as Autocomplete, Oe as AutocompleteChips, mt as AutocompleteFormField, ue as Avatar, oe as AvatarBase, K as AvatarFallback, z as AvatarGroup, W as AvatarImage, yd as BAR_MAX, tn as BackLink, Ec as Background, a as Badge, jd as BandCard, Fo as Banner, Rm as Barecode, rs as BottomAppBar, zl as Breadcrumb, Kp as BreadcrumbEllipsis, df as BreadcrumbItem, gp as BreadcrumbLink, Wu as BreadcrumbList, Pc as BreadcrumbPage, Ef as BreadcrumbSeparator, sl as BreakdownCard, jg as Button, ho as ButtonGroup, Lg as CODE_LANGUAGES, G_ as CSS, Xf as CUT_MARK, no as Calendar, Mh as CalendarDayButton, nu as Camera, od as Card, Ii as CardAction, Xi as CardContent, Ta as CardDescription, Kn as CardFooter, Pr as CardHeader, Si as CardTitle, j as Carousel, Gr as CarouselAutoplayToggle, V as CarouselContent, te as CarouselIndicators, S as CarouselItem, ge as CarouselNext, ce as CarouselPrevious, Wm as Celebration, Ya as ChangeHistory, so as ChatActionProposal, gi as ChatComposer, ye as ChatComposerAttachmentChip, L as ChatComposerAttachmentList, ie as ChatComposerAttachments, Or as ChatConversationItem, ya as ChatInbox, Ai as ChatLayoutContext, ed as ChatMarkdown, md as ChatMessage, un as ChatMessageList, Tn as ChatMessageSeparator, bt as ChatReactionGroup, le as ChatReplyQuote, Co as ChatThread, Mm as ChatThreadHeader, qm as ChatToolActivity, ia as ChatTypingIndicator, Jt as ChatWidget, yi as CheckCardField, ot as CheckCardFormField, v as Checkbox, Na as CheckboxFormField, F as CheckboxGroup, ec as CheckboxGroupFormField, mo as ChecklistCard, Qg as Chip, Ce as ChipGroupField, Es as ChipGroupFormField, Xa as ChoiceCardGroup, Bs as ChoiceCardGroupFormField, Pn as ChoiceListField, Mo as ChoiceListFormField, Ia as CircularProgress, ua as CodeBlock, gn as CodeGroup, xp as Collapsible, Yu as CollapsibleContent, zc as CollapsibleTrigger, Ir as ColorField, Vm as ColorFormField, Er as ColorSwatches, _ as Combobox, re as ComboboxChip, Y as ComboboxChips, h as ComboboxChipsInput, G as ComboboxCollection, r as ComboboxContent, O as ComboboxEmpty, Nu as ComboboxField, Hr as ComboboxFormField, P as ComboboxGroup, t as ComboboxInput, Se as ComboboxItem, ke as ComboboxLabel, n as ComboboxList, Ti as ComboboxPrimitive, I as ComboboxSeparator, we as ComboboxTrigger, Ee as ComboboxValue, bm as Command, Rn as CommandDialog, Eo as CommandEmpty, dh as CommandGroup, qc as CommandInput, Fm as CommandItem, Xm as CommandList, uo as CommandSeparator, Zt as CommandShortcut, Op as CompareCard, Ol as CompareSlider, Kg as ConfirmDialog, bo as ConfirmationDialog, nh as ContactDialog, rn as ContactType, $c as Contacts, _h as ContactsEditor, Em as ContactsFormField, Cc as ContactsSummary, xs as ContextMenu, Jp as ContextMenuCheckboxItem, lr as ContextMenuContent, di as ContextMenuGroup, pf as ContextMenuItem, op as ContextMenuLabel, Zr as ContextMenuPortal, vp as ContextMenuRadioGroup, Ku as ContextMenuRadioItem, Ys as ContextMenuSeparator, Fs as ContextMenuShortcut, Ha as ContextMenuSub, ht as ContextMenuSubContent, Vl as ContextMenuSubTrigger, lc as ContextMenuTrigger, eh as CopyButton, Zc as CopyValue, Mi as CountBadge, bh as CountdownTimer, ml as CountryField, Fp as CountryFormField, $m as CrewCard, sv as CurrencyField, Af as CurrencyFormField, km as CustomAlertDialog, sn as CustomDialog, tm as DATE_RANGE_PRESET_IDS, zd as DAY_GROUP_ORDER, zo as DAY_OF_WEEK_FALLBACKS, ws as DEFAULT_ASPECT_PRESETS, Ag as DEFAULT_CANCEL_VARIANT, wi as DEFAULT_COLOR, tp as DEFAULT_FILTER_STATE, Kr as DEFAULT_MAX_VISIBLE_CHIPS, po as DEFAULT_NAVIGATION, Ws as DEFAULT_PERSISTENCE_CONFIG, As as DEFAULT_PRESET_CONFIG, ic as DEFAULT_VALIDATION_RULES, Jo as DashboardGrid, wr as DashboardTile, vh as DataGrid, el as DataGridColumnsMenu, ss as DataGridMenuItem, Cr as DataGridMenuLabel, qo as DataGridMenuSeparator, Pu as DataTable, ef as DataTableColumnHeader, Dm as DataTablePagination, wc as DataTableServerFooter, yu as DataTableViewOptions, Oa as DateField, Yn as DateFieldContent, Tp as DateFormField, Rl as DateRangeField, bf as DateRangeFormField, Ip as DayGroupedList, It as DaySeparator, Um as DefaultDocLink, Cf as DeltaListCard, nd as Description, St as DescriptionList, ev as Dialog, Uu as DialogBody, X_ as DialogClose, Q_ as DialogContent, $_ as DialogDescription, q_ as DialogFooter, Y_ as DialogHeader, J_ as DialogOverlay, K_ as DialogPortal, Io as DialogScrollContent, tv as DialogTitle, Z_ as DialogTrigger, L_ as DndOverlay, j_ as DndProvider, jl as Doc, ro as DocArticle, pm as DocChildCards, gl as DocCopyMarkdown, Bd as DocCopyPage, Lp as DocEmpty, Mf as DocHeader, Po as DocLink, on as DocNav, Qp as DocPage, Xu as DocPager, Tc as DocProgress, Nh as DocProvider, Td as DocSearch, _f as DocSeeAlso, yo as DocSidebar, tl as DocSkipLink, Om as DocToc, bu as DocTopbar, $ as DragHandle, $ as SortableHandle, z_ as Draggable, A_ as DraggableDroppable, l_ as Drawer, m_ as DrawerClose, __ as DrawerContent, h_ as DrawerDescription, p_ as DrawerFooter, f_ as DrawerHeader, u_ as DrawerOverlay, d_ as DrawerPortal, c_ as DrawerTitle, g_ as DrawerTrigger, it as DropdownMenu, $e as DropdownMenuCheckboxItem, et as DropdownMenuContent, nt as DropdownMenuGroup, at as DropdownMenuItem, Qe as DropdownMenuLabel, Je as DropdownMenuPortal, Xe as DropdownMenuRadioGroup, Ze as DropdownMenuRadioItem, tt as DropdownMenuSeparator, rt as DropdownMenuShortcut, hg as DropdownMenuSub, mg as DropdownMenuSubContent, dg as DropdownMenuSubTrigger, Ye as DropdownMenuTrigger, I_ as Droppable, za as DurationField, oc as DurationFormField, Yr as EditorLayout, Ju as EmailField, bp as EmailFormField, ae as EmojiList, R as EmojiPicker, D_ as EmptyState, Xt as EnrolmentCard, oa as EnrolmentSecret, ym as EntityHeader, Zh as ErrorState, kc as EventCalendar, Ep as EventCalendarProvider, Xc as EventCard, gc as EventChip, Ht as ExtendedLabel, xc as FAB_TONES, wm as FAB_VARIANTS, La as FILTER_CONTAINER_BREAKPOINTS, ut as FILTER_VALUE_WORDS, af as FIRST_PAGE, hh as Fab, gu as FabDock, p as FabMenu, gf as FacetGroup, mh as FeatureCard, jr as Field, du as Figure, Cm as FileCard, um as FileList, Ld as FileListField, pl as FileListFormField, Pp as FileListS3Field, kf as FileListS3FormField, qu as FilePreview, Hl as FilePreviewHttpError, Yp as FilePreviewUnsafeUrlError, vt as FilesFormField, _c as Filter, uf as FilterActions, Du as FilterBar, Gp as FilterChips, Ni as FilterContent, rd as FilterDialog, Ct as FilterDrawer, Un as FilterField, qd as FilterFormField, qi as FilterGroup, Sa as FilterGroups, _d as FilterInline, sa as FilterPopover, hp as FilterPresets, Nc as FilterProvider, pn as FilterSheet, On as FilterSheetTrigger, js as FormField, hf as FormSection, jc as FunnelCard, ee as Gallery, Vu as GaugeCard, pp as GoalCard, rp as HALF_DAYS, ci as HalfDayRangeField, or as HalfDayRangeFormField, cf as HeatweekCard, Lh as HelperText, ip as Hero, ju as HighlightText, Kd as HighlightedText, Up as HistogramCard, Hh as HoverCard, Bh as HoverCardContent, Vh as HoverCardTrigger, xu as HydrateLoading, lp as IMAGE_CROP_ASPECTS, Xo as IMAGE_EDITOR_FILTERS, kl as ISO_COUNTRY_CODES, u as Icon, Pg as IconButton, zm as IconLinkButton, Og as IconSpritesProvider, mi as ImageCropper, fr as ImageCropperDialog, us as ImageEditor, Kt as ImageEditorDialog, rc as ImageField, Fh as ImageFormField, ao as ImageS3Field, Oi as ImageS3FormField, Xp as InlineEdit, Ul as InlineEditFormField, e_ as Input, r_ as InputGroup, a_ as InputGroupAddon, n_ as InputGroupButton, st as InputGroupField, Pa as InputGroupFormField, t_ as InputGroupInput, i_ as InputGroupText, o_ as InputGroupTextarea, Vo as InputOTP, hs as InputOTPGroup, rr as InputOTPSeparator, ai as InputOTPSlot, Ki as JsonViewer, Vp as Kanban, dp as KanbanProvider, X as Kbd, ff as KbdShortcut, Rh as Label, li as LandingLayout, sr as LandingSection, Zd as LanguageSwitcher, Il as LatencyCard, Ga as LightboxGallery, Ao as LinkButton, bc as LinkCard, da as LinkComponentProvider, xr as ListDetailsBack, as as ListDetailsDetails, Vt as ListDetailsInspector, Fr as ListDetailsLayout, Ah as ListDetailsList, eo as ListDetailsTrigger, zf as ListEmpty, Ql as ListPane, am as ListPaneItem, cm as ListTile, Uf as LoadMoreButton, Dl as LoadMoreFooter, De as LoadingIndicator, tc as LocalizedTextFields, Vs as LocalizedTextFormField, xa as MOONLIGHT_DARK, Hn as MOONLIGHT_DAY, im as Markdown, Ur as MarkdownTextareaField, Qf as MarkdownTextareaFormField, Md as MarkingList, hu as MediaCard, ve as MediaPlayer, Qn as MediaPlayerHost, ja as MediaPlayerLightbox, na as MediaPlayerMini, Hi as MediaTranscript, qa as MentionList, Hd as Menubar, xh as MenubarCheckboxItem, hm as MenubarContent, Nl as MenubarGroup, rl as MenubarItem, oh as MenubarLabel, su as MenubarMenu, Yf as MenubarPortal, rf as MenubarRadioGroup, xo as MenubarRadioItem, cn as MenubarSeparator, Gm as MenubarShortcut, Su as MenubarSub, Dc as MenubarSubContent, Am as MenubarSubTrigger, Lu as MenubarTrigger, Sl as MermaidDiagram, Au as MessageCard, fc as MiniGallery, vs as MiniMonth, Iu as Moment, fv as NativeSelect, uv as NativeSelectOptGroup, dv as NativeSelectOption, An as NavigationBar, Qr as NavigationDrawer, Is as NavigationDrawerItem, Xs as NavigationDrawerSection, mu as NavigationRail, sp as NavigationRailPanel, yc as NavigationToolbar, ks as NetworkUploadField, Ra as NetworkUploadFormField, zp as NonceProvider, Xd as NoticeCard, nf as NotificationRow, Jf as Notifications, Bt as NowIndicator, cv as NumberField, Va as NumberFormField, Hf as OfferCard, hr as OpeningHours, $o as OpeningHoursDialog, Ft as OpeningHoursEditor, wh as OpeningHoursFormField, Ja as OpeningHoursSummary, Eh as OptionTile, _r as OtpField, _i as OtpFormField, eu as OverlayCard, ru as PHONE_COUNTRIES, he as PROGRESS_THICKNESSES, B as PROGRESS_TONES, _t as PaceCard, cl as PageFooter, ou as PageLoadFailed, Bc as Pager, yt as Pagination, pc as PaginationBar, Ll as PaginationContent, Wp as PaginationEllipsis, lf as PaginationFirst, mp as PaginationItem, Hu as PaginationLast, Mc as PaginationLink, wf as PaginationNext, kp as PaginationPrevious, Ns as PaneLayout, pt as PaneLayoutContent, Ba as PaneLayoutPane, sc as PaneLayoutTrigger, jn as ParamTable, Vn as PasswordField, ba as PasswordFormField, $h as PdfReader, lv as PercentField, Gi as PercentFormField, pi as PeriodCards, dr as PersonCell, Nm as PhoneField, Yt as PhoneFormField, El as PlaceCard, og as Popover, ig as PopoverAnchor, ag as PopoverContent, rg as PopoverTrigger, vm as PostalAddress, hc as PostalAddressDialog, uu as PostalAddressFormField, Fd as PricingCard, dl as ProfileCard, pe as Progress, Ml as ProgressField, gd as QRCode, Bp as QuantityField, Tu as QuantityFormField, wu as QuestionCard, Wd as QuestionMediaView, Wc as QuestionNavigator, kd as Quiz, Mp as QuoteCard, Ch as RESERVED_TONES, jp as ROUTE_TRANSITION_CLASS, f as RadioGroup, y as RadioGroupBase, g as RadioGroupField, Zf as RadioGroupFormField, i as RadioGroupItem, Wa as RankCard, Lf as RatingField, Xl as RatingFormField, dc as RatioCard, Df as ReceiptCard, Dr as RecordActionsMenu, qn as RecordDetails, Ea as RecordPage, Cs as RecoveryCodes, ls as RecoveryCodesStatus, Th as RelativeTime, yn as RepeatableGroup, xl as RepeatableGroupFormField, sd as ResizableGroup, Li as ResizablePanel, Zi as ResizableSeparator, _n as ResponsiveButton, Qi as ResponsiveGrid, Da as ResponsiveGridItem, Mn as ResponsiveLinkButton, Fc as ReviewCard, ep as RichTextEditor, Js as RichTextEditorFormField, $s as RowMenu, zs as RowMenuTrigger, _a as S3UploadField, Cn as S3UploadFormField, io as SHAPE_NAMES, k as SHAPE_TONES, A as SHAPE_VARIANTS, Np as SHARE_BUTTON_LABEL, Gu as ScoreCard, Uh as ScrollArea, Yh as ScrollBar, mm as ScrollProgress, lm as ScrollToLatestButton, Id as ScrollToTop, be as SearchField, rm as SearchFormField, Oh as SearchView, Gt as SeatRing, Ph as SecretCard, Dt as SectionColumns, Sp as SeeAlso, ql as SegmentedNav, em as SegmentedNavItem, $i as Select, kt as SelectContent, vo as SelectField, an as SelectFieldTrigger, Kl as SelectFormField, Hm as SelectGroup, No as SelectItem, Fn as SelectLabel, ld as SelectScrollDownButton, zi as SelectScrollUpButton, bn as SelectSeparator, ma as SelectTrigger, wd as SelectValue, Bg as Separator, Vr as ServerTable, Sd as SettingsLayout, s as Shape, fl as ShareButton, Qh as Sheet, Wh as SheetClose, qh as SheetContent, Gh as SheetDescription, Kh as SheetFooter, Xh as SheetHeader, Jh as SheetTitle, eg as SheetTrigger, Sm as ShellScrollContext, ph as ShellScrollProvider, qp as ShortcutCard, ku as Sidebar, Yd as SidebarContent, Vf as SidebarFooter, $l as SidebarHeader, hn as SidebarMenuItem, fa as SidebarMenuLabel, ys as SiteFooter, O_ as Skeleton, Vd as SkeletonAvatar, Rp as SkeletonCard, Nf as SkeletonTable, _l as SkeletonText, ih as SkipLink, Lt as Slider, ts as SliderField, ol as SliderFormField, R_ as Sortable, ni as SortableList, er as SortableListFormField, H_ as SortableProvider, Ls as SparkbarCard, Zs as Sparkline, Le as Spinner, J as SplitButton, Bl as SplitCard, ct as SpotlightCard, Fa as StackCard, Vc as StaleNotice, Kc as StatCard, uh as StatCardGroup, nc as StatusCard, xe as StatusIndicator, Zu as StepDots, Cp as StepUpDialog, jo as Stepper, Nn as StepperIndicator, nn as Steps, Bm as StepsItem, go as StickyActionBar, Di as SummaryData, de as Switch, se as SwitchField, Xr as SwitchFormField, fs as Switcher, mf as TEXT_PREVIEW_MAX_BYTES, Ac as TIMEZONES, Of as TOOLBAR_TONES, ga as TUBE_CAP_KINDS, v_ as Table, C_ as TableBody, T_ as TableCaption, y_ as TableCell, S_ as TableEmpty, E_ as TableFooter, b_ as TableHead, x_ as TableHeader, w_ as TableRow, ug as Tabs, sg as TabsContent, lg as TabsList, Hc as TabsNav, Pf as TabsNavLink, cg as TabsTrigger, Os as TagCard, Aa as Terminal, s_ as TextField, cc as TextFormField, x as Textarea, m as TextareaField, Ps as TextareaFormField, Wg as ThemeToggle, th as ThreadLayout, $r as ThresholdCard, Hs as TicketCard, lt as TimeField, kh as TimeFormField, Lr as TimePicker, $a as TimeStringField, Vi as Timeline, Wr as TimelineCard, ta as TimelineItem, Bu as TimezoneField, fp as TimezoneFormField, pr as Toast, up as Toaster, yh as Toc, mv as Toggle, Ug as ToggleGroup, Vg as ToggleGroupItem, Hg as ToggleGroupSeparator, Ut as ToneValue, Sg as Toolbar, Cg as ToolbarButton, yg as ToolbarGroup, fg as ToolbarItemSlot, gg as ToolbarMore, ne as ToolbarPair, vg as ToolbarSeparator, xg as ToolbarToggle, tg as ToolbarToggleGroup, ng as ToolbarToggleItem, Fe as Tooltip, Ie as TooltipContent, Ne as TooltipPrimitive, Pe as TooltipProvider, Me as TooltipTrigger, zt as TopAppBar, ul as TopNav, sm as TopNavItem, Pd as TopNavMenu, jt as TotalsList, Ro as TransferList, mr as TransferListFormField, yl as Tree, cu as TreeItem, Qo as TreeSelectField, Pt as TreeSelectFormField, cp as TrendCard, Ed as TubeCap, $p as TypingIndicator, zg as Typography, Wl as URL_PARAM_SEPARATORS, Yg as UnsavedDialog, H as UploadError, Us as UploadField, ac as UploadFormField, Fl as UrlField, dt as UrlFormField, Zp as VALIDATION_MESSAGES, Ou as VALIDATION_PATTERNS, pu as VALIDATION_PRESETS, Pm as VerificationCode, Dn as VerificationLockProvider, Sn as VoteTally, Ln as ZonedTime, Ff as ageReading, lu as answerParts, nm as answeredCount, C as applyMention, wt as areFilterValuesEqual, N_ as arrayMove, pa as attributesListSchema, c as badgeVariants, kg as buttonVariants, Sc as capturePhotoFromVideo, Bn as chatGroupPosition, lh as cityLine, av as clampNumber, Gd as clampRating, id as cleanFilterValues, mn as clearFromStorage, Jc as clearPersistedFilterValues, vc as clearPresets, P_ as closestCenter, me as collectComposerAttachments, Jr as compareHalfDays, Gg as composeRefs, _o as contactTypeLabel, vu as contactsListSchema, Sr as convertAttributesToRecord, Fg as copyToClipboard, Pi as countActiveFilters, nl as countdownTone, Rd as countryOptions, Wf as createCameraStore, si as createCodeErrorMap, Ru as createSorting, Nd as createValidationRule, ei as cropImageToFile, rh as dataTableFeatures, fm as dayGroupOf, ps as dayOfWeekLabel, es as daySeparatorVariants, ms as daysAgo, Ad as debounce, np as defaultCodeOf, Cu as defineFilterModel, In as docActions, xn as docSelectors, ha as docSlice, Tr as downloadText, Oc as effectiveConditions, wo as exampleNational, Rf as expandEmojiShortcodes, yp as fileKind, At as filterDocNav, Ae as filterMentions, ud as findActiveDocHref, ad as findActiveMenuItem, Fi as findActiveSection, Gf as findCountry, Bi as findDocChildren, ea as findDocPager, ka as findDocSiblings, ki as findRowMenuTrigger, gm as findTreeNode, jm as firstPage, $d as flagEmoji, Xn as flattenDocNav, Yi as flattenItems, Pl as flattenVisibleTree, oo as focusRowMenuTrigger, Ko as formatAttributeDisplayedValue, bs as formatAttributesValues, ah as formatClock, nr as formatDayLabel, Lc as formatFileSize, Ji as formatFilterValue, En as formatInternational, dn as formatNational, Gc as formatPostalAddress, gr as formatRelativeTime, Ym as formatStatDelta, ir as generatePresetId, Qd as getCameraDevices, bi as getDefaultValuesFromSchema, Za as getFilterField, Dh as getFilterFieldLabel, Rt as getGroupFields, Qs as getRadianAngle, ns as getUngroupedFields, om as getValidationError, vr as getVisibleFields, jf as groupByDate, Al as groupByDay, lo as groupSecret, Ks as halfDaysIn, qf as handleDocKeyDown, Ca as hasActiveFilters, wl as hasValidationErrors, Wn as haveFiltersChanged, nv as headingText, bd as highlightCode, Eu as highlightRanges, B_ as horizontalListSortingStrategy, Q as iconButtonVariants, Q as variants, $g as inputDefaultClassNames, V_ as insertIds, Zg as isActionRefusal, mc as isAnswerCorrect, _m as isAnswered, Mu as isCameraSupported, dm as isCountryCode, Rr as isDocPathActive, tf as isDocSearchHotkey, Rc as isEmail, qr as isEmptyRequired, Ng as isExternalHref, Ho as isFieldVisible, Mr as isFilterValueEmpty, Sh as isFiltered, Ms as isHalfDayRangeOrdered, aa as isIncompletePhone, wa as isMenuItemActive, ii as isNewDay, il as isNewQuery, hd as isPossiblePhoneNumber, Jm as isPostalAddressEmpty, Fu as isTypingTarget, _e as isUploadError, Hp as isUrl, xt as isValidPhoneNumber, Zn as joinTerminalLines, Cl as listPaneItemClasses, ca as loadFromStorage, Qt as loadFromUrl, Zm as loadPersistedFilterValues, xm as loadPresets, $f as localIsoDay, Ds as localizedTextErrors, gs as mapFilterFieldToFieldConfig, e as mentionQueryAt, Gn as menuChildren, br as minutesOfDay, ft as minutesToParts, Ei as navLabel, $t as navigationClasses, sh as nextPage, to as normalizeHex, sf as normalizeUrl, Wo as nowPosition, tr as openingHoursListSchema, ri as openingHoursSchema, So as pageIndex, ln as pageOffset, Ka as paginationItems, Km as pagingNames, Lo as paramsFromQuery, ch as parseAnswerNumber, iv as parseCurrencyInput, zn as parseFilterQuery, Im as parseFromUrlParams, Ar as parseJsonSource, ov as parseNumberInput, td as parsePhoneInput, Nr as partitionMenu, Jl as partsToMinutes, fo as persistFilterValues, k_ as pointerWithin, co as postalAddressCountryName, vi as prettyJson, wn as previousPage, va as queryFromParams, Od as queryKey, Nt as readCursor, Yo as recoveryCodesText, W_ as rectIntersection, _u as requestCameraPermissions, Ig as resolveCodeLanguage, Lm as resolveHeader, Oo as resolveNavigation, vn as resolveStepState, Rs as rotateSize, Ih as rowFocusProps, ds as rowMenuColumn, Zl as sanitizeHref, fh as savePresets, vd as saveToStorage, bl as scoreBand, kr as scorePassword, Yl as scoreQuiz, pd as serializeFilterQuery, Do as serializeToUrlParams, Ui as serverPagination, _p as shortcutGlyph, yf as skipTabChange, Mg as slugify, ti as sonnerToast, oi as sortPresets, U as splitAvatarOverflow, Tt as splitBarItems, ra as splitFilterErrors, M as statusToneDotClass, rv as stepNumber, zr as stripAnsi, Qu as tabIds, Ma as tableFilters, Sf as timezoneLabel, Dp as timezoneOffset, Bo as toDate, ji as toE164, Dd as toPdfjsParams, Mt as toPdfjsSource, hi as toast, Ts as toasts, pv as toggleVariants, dd as toneBands, vf as typingIndicatorVariants, Rg as typographyVariants, kn as updateUrlWithFilters, Eg as useBackdropSprite, Tm as useCamera, gh as useCameraContext, q as useChatComposerAttachments, Wi as useChatLayout, Gs as useCodeResolver, iu as useColumnHelpers, D as useComboboxAnchor, hl as useDayGroups, Kf as useDeleteRowsHandler, U_ as useDndActiveId, M_ as useDndItem, au as useDoc, Wt as useDocContext, qs as useEditorLayout, xf as useEventCalendar, al as useEventCalendarContext, ar as useFastForm, Ap as useFilter, Tf as useFilterContext, ll as useFilterSelector, fu as useFilterUrlQuery, _s as useFocusOnRefusal, Dg as useIconEdition, of as useKanban, zu as useKanbanContext, xd as useLinkComponent, Go as useListDetails, Ci as useListDetailsParam, Br as useMediaPlayer, E as useMediaPlayerHost, is as useNow, cs as useOptionalDocContext, la as usePageTitleFocus, Gl as usePaneLayout, fd as usePdfSource, Zo as useRecordActions, qt as useRowMenuFocus, Yc as useScrollTracker, Tg as useServedStyles, Uo as useServerFieldErrors, Qm as useShellScroll, wg as useSpriteBase, wp as useTabParam, pg as useToolbarEntry, bg as useToolbarMoreAnchor, Ic as useToolbarOverflow, _g as useToolbarSpilled, Te as useTrackChapters, fe as useTrackThumbnails, Ud as useTree, To as useVerificationLabels, fn as useVerificationLock, Z as validateAllFilters, Bf as validateField, Jd as validateFilterValue, F_ as verticalListSortingStrategy, $n as withoutFilters, If as wrongIds };
|
|
@@ -9,29 +9,29 @@ import { useCallback as p, useEffect as m, useId as h, useMemo as g, useRef as _
|
|
|
9
9
|
import { jsx as y, jsxs as b } from "react/jsx-runtime";
|
|
10
10
|
import { Minus as x, Plus as S } from "lucide-react";
|
|
11
11
|
import { clampNumber as C, parseNumberInput as w, stepNumber as T } from "@nxgt/material-core/parse-number";
|
|
12
|
-
import { currencyFractionDigits as E } from "@nxgt/material-core/currency-digits";
|
|
12
|
+
import { currencyFractionDigits as E, fromMinorUnits as D, toMinorUnits as O } from "@nxgt/material-core/currency-digits";
|
|
13
13
|
//#region lib/components/ui/fields/number-field/number-stepper.tsx
|
|
14
|
-
function
|
|
14
|
+
function k({ hovered: e, focused: t, focusVisible: n }) {
|
|
15
15
|
return e || !t || n;
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function A(e) {
|
|
18
18
|
try {
|
|
19
19
|
return e.matches(":focus-visible");
|
|
20
20
|
} catch {
|
|
21
21
|
return !0;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function j({ direction: n, label: r, disabled: i, atLimit: a, onStep: o, className: s }) {
|
|
25
25
|
let c = _(null), l = _(!1), [u, d] = v(!1);
|
|
26
26
|
return /* @__PURE__ */ y(t, {
|
|
27
27
|
content: r,
|
|
28
28
|
open: u,
|
|
29
29
|
onOpenChange: (e) => {
|
|
30
30
|
let t = c.current;
|
|
31
|
-
d(e &&
|
|
31
|
+
d(e && k({
|
|
32
32
|
hovered: l.current,
|
|
33
33
|
focused: t != null && document.activeElement === t,
|
|
34
|
-
focusVisible: t != null &&
|
|
34
|
+
focusVisible: t != null && A(t)
|
|
35
35
|
}));
|
|
36
36
|
},
|
|
37
37
|
children: /* @__PURE__ */ y("button", {
|
|
@@ -55,18 +55,18 @@ function k({ direction: n, label: r, disabled: i, atLimit: a, onStep: o, classNa
|
|
|
55
55
|
})
|
|
56
56
|
});
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function M({ decreaseLabel: e, increaseLabel: t, atMin: n, atMax: r, fieldDisabled: i, onStep: a }) {
|
|
59
59
|
return /* @__PURE__ */ b(u, {
|
|
60
60
|
align: "inline-end",
|
|
61
61
|
"data-disabled": i || void 0,
|
|
62
62
|
className: "nxgt-field-steps p-0 has-[>button]:p-0 has-[>button]:pe-1",
|
|
63
|
-
children: [/* @__PURE__ */ y(
|
|
63
|
+
children: [/* @__PURE__ */ y(j, {
|
|
64
64
|
direction: -1,
|
|
65
65
|
label: e,
|
|
66
66
|
disabled: i,
|
|
67
67
|
atLimit: n,
|
|
68
68
|
onStep: a
|
|
69
|
-
}), /* @__PURE__ */ y(
|
|
69
|
+
}), /* @__PURE__ */ y(j, {
|
|
70
70
|
direction: 1,
|
|
71
71
|
label: t,
|
|
72
72
|
disabled: i,
|
|
@@ -75,7 +75,7 @@ function A({ decreaseLabel: e, increaseLabel: t, atMin: n, atMax: r, fieldDisabl
|
|
|
75
75
|
})]
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function N(e) {
|
|
79
79
|
let { t } = o();
|
|
80
80
|
return e ? {
|
|
81
81
|
decreaseLabel: t("material.number-field.decrease-named", "Decrease {label}", { label: e }),
|
|
@@ -87,7 +87,7 @@ function j(e) {
|
|
|
87
87
|
}
|
|
88
88
|
//#endregion
|
|
89
89
|
//#region lib/components/ui/fields/number-field/format-number-input.ts
|
|
90
|
-
function
|
|
90
|
+
function P(e, t = "en") {
|
|
91
91
|
let n = String(e === 0 ? 0 : e);
|
|
92
92
|
try {
|
|
93
93
|
let r = f(e === 0 ? 0 : e, {
|
|
@@ -103,10 +103,10 @@ function M(e, t = "en") {
|
|
|
103
103
|
}
|
|
104
104
|
//#endregion
|
|
105
105
|
//#region lib/components/ui/fields/number-field/use-number-input.ts
|
|
106
|
-
function
|
|
107
|
-
let s = (e) =>
|
|
106
|
+
function F({ value: e, defaultValue: t, onChange: n, min: r, max: i, step: a, language: o }) {
|
|
107
|
+
let s = (e) => P(e, o), c = e !== void 0, [l, u] = v(t), d = c ? e : l, [f, p] = v(() => d == null ? "" : s(d));
|
|
108
108
|
m(() => {
|
|
109
|
-
c && p((t) => e == null ? t.trim() === "" ? t : "" : w(t) === e ? t :
|
|
109
|
+
c && p((t) => e == null ? t.trim() === "" ? t : "" : w(t) === e ? t : P(e, o));
|
|
110
110
|
}, [
|
|
111
111
|
c,
|
|
112
112
|
e,
|
|
@@ -114,7 +114,7 @@ function N({ value: e, defaultValue: t, onChange: n, min: r, max: i, step: a, la
|
|
|
114
114
|
]);
|
|
115
115
|
let h = _(o);
|
|
116
116
|
m(() => {
|
|
117
|
-
h.current !== o && (h.current = o, p((e) => d != null && w(e) === d ?
|
|
117
|
+
h.current !== o && (h.current = o, p((e) => d != null && w(e) === d ? P(d, o) : e));
|
|
118
118
|
}, [o, d]);
|
|
119
119
|
let g = (e) => {
|
|
120
120
|
c || u(e), n?.(e);
|
|
@@ -141,9 +141,9 @@ function N({ value: e, defaultValue: t, onChange: n, min: r, max: i, step: a, la
|
|
|
141
141
|
}
|
|
142
142
|
//#endregion
|
|
143
143
|
//#region lib/components/ui/fields/number-field/number-control.tsx
|
|
144
|
-
var
|
|
145
|
-
function
|
|
146
|
-
let { language: S } = o(), { draft: C, amount: w, type: T, commit: E, stepBy: D } =
|
|
144
|
+
var I = (t, n) => e("min-w-[7ch]", t === "end" ? "text-end" : "text-start", "tabular-nums", n && "pe-1!");
|
|
145
|
+
function L({ error: e, disabled: t, value: n, defaultValue: r = null, onChange: i, onBlur: a, min: d, max: f, step: p = 1, hideSteppers: m = !1, suffix: h, stepperName: g, endAdornment: _, valueAlign: v = "end", ...x }) {
|
|
146
|
+
let { language: S } = o(), { draft: C, amount: w, type: T, commit: E, stepBy: D } = F({
|
|
147
147
|
value: n,
|
|
148
148
|
defaultValue: r,
|
|
149
149
|
onChange: i,
|
|
@@ -151,7 +151,7 @@ function F({ error: e, disabled: t, value: n, defaultValue: r = null, onChange:
|
|
|
151
151
|
max: f,
|
|
152
152
|
step: p,
|
|
153
153
|
language: S
|
|
154
|
-
}), { decreaseLabel: O, increaseLabel: k } =
|
|
154
|
+
}), { decreaseLabel: O, increaseLabel: k } = N(g), A = d != null && w != null && w <= d, j = f != null && w != null && w >= f;
|
|
155
155
|
return /* @__PURE__ */ b(c, { children: [
|
|
156
156
|
/* @__PURE__ */ y(s, {
|
|
157
157
|
...x,
|
|
@@ -160,7 +160,7 @@ function F({ error: e, disabled: t, value: n, defaultValue: r = null, onChange:
|
|
|
160
160
|
disabled: t,
|
|
161
161
|
"aria-invalid": e || void 0,
|
|
162
162
|
value: C,
|
|
163
|
-
className:
|
|
163
|
+
className: I(v, h != null),
|
|
164
164
|
onChange: (e) => T(e.target.value),
|
|
165
165
|
onBlur: (e) => {
|
|
166
166
|
E(e.target.value), a?.(e);
|
|
@@ -172,11 +172,11 @@ function F({ error: e, disabled: t, value: n, defaultValue: r = null, onChange:
|
|
|
172
172
|
children: /* @__PURE__ */ y(l, { children: h })
|
|
173
173
|
}),
|
|
174
174
|
_,
|
|
175
|
-
!m && /* @__PURE__ */ y(
|
|
175
|
+
!m && /* @__PURE__ */ y(M, {
|
|
176
176
|
decreaseLabel: O,
|
|
177
177
|
increaseLabel: k,
|
|
178
|
-
atMin:
|
|
179
|
-
atMax:
|
|
178
|
+
atMin: A,
|
|
179
|
+
atMax: j,
|
|
180
180
|
fieldDisabled: t,
|
|
181
181
|
onStep: D
|
|
182
182
|
})
|
|
@@ -184,7 +184,7 @@ function F({ error: e, disabled: t, value: n, defaultValue: r = null, onChange:
|
|
|
184
184
|
}
|
|
185
185
|
//#endregion
|
|
186
186
|
//#region lib/components/ui/fields/number-field/number-field-base.tsx
|
|
187
|
-
function
|
|
187
|
+
function R({ label: t, helperText: a, error: o, required: s, className: c, name: l, id: u, "aria-describedby": d, variant: f, tone: p, locked: m, lockedReason: g, ..._ }) {
|
|
188
188
|
let v = i(), x = h(), S = u ?? x, C = h();
|
|
189
189
|
return /* @__PURE__ */ b("div", {
|
|
190
190
|
ref: v,
|
|
@@ -197,7 +197,7 @@ function I({ label: t, helperText: a, error: o, required: s, className: c, name:
|
|
|
197
197
|
withAsterisk: s,
|
|
198
198
|
children: t
|
|
199
199
|
}),
|
|
200
|
-
/* @__PURE__ */ y(
|
|
200
|
+
/* @__PURE__ */ y(L, {
|
|
201
201
|
..._,
|
|
202
202
|
id: S,
|
|
203
203
|
name: l,
|
|
@@ -216,74 +216,108 @@ function I({ label: t, helperText: a, error: o, required: s, className: c, name:
|
|
|
216
216
|
}
|
|
217
217
|
//#endregion
|
|
218
218
|
//#region lib/components/ui/fields/currency-field/parse-currency.ts
|
|
219
|
-
function
|
|
219
|
+
function z(e) {
|
|
220
220
|
let t = e.trim().replace(/[\s\u00a0]/g, "");
|
|
221
221
|
if (!t) return null;
|
|
222
222
|
let n = t.lastIndexOf(",") > t.lastIndexOf(".") ? t.replace(/\./g, "").replace(",", ".") : t.replace(/,/g, ""), r = Number(n);
|
|
223
223
|
return Number.isFinite(r) ? r : null;
|
|
224
224
|
}
|
|
225
225
|
//#endregion
|
|
226
|
+
//#region lib/components/ui/fields/currency-field/use-minor-units.ts
|
|
227
|
+
function B(e, t, n) {
|
|
228
|
+
return {
|
|
229
|
+
toMajor: p((r) => e && r != null ? D(r, t, n) : r, [
|
|
230
|
+
e,
|
|
231
|
+
t,
|
|
232
|
+
n
|
|
233
|
+
]),
|
|
234
|
+
toExternal: p((r) => e && r != null ? O(r, t, n) : r, [
|
|
235
|
+
e,
|
|
236
|
+
t,
|
|
237
|
+
n
|
|
238
|
+
])
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
//#endregion
|
|
226
242
|
//#region lib/components/ui/fields/currency-field/use-currency-amount.ts
|
|
227
|
-
function
|
|
243
|
+
function V(e, t, n) {
|
|
228
244
|
return f(e, {
|
|
229
245
|
language: n,
|
|
230
246
|
minimumFractionDigits: t,
|
|
231
247
|
maximumFractionDigits: t
|
|
232
248
|
});
|
|
233
249
|
}
|
|
234
|
-
function
|
|
235
|
-
let
|
|
236
|
-
let t =
|
|
237
|
-
return
|
|
250
|
+
function H(e, t) {
|
|
251
|
+
let n = g(() => E(e, t), [e, t]), r = a()?.language, i = _(null), o = p((e) => {
|
|
252
|
+
let t = V(e, n, r);
|
|
253
|
+
return i.current = {
|
|
238
254
|
text: t,
|
|
239
255
|
value: e
|
|
240
256
|
}, t;
|
|
241
|
-
}, [
|
|
257
|
+
}, [n, r]);
|
|
258
|
+
return {
|
|
259
|
+
shown: p(() => i.current, []),
|
|
260
|
+
display: o
|
|
261
|
+
};
|
|
262
|
+
}
|
|
263
|
+
function U({ value: e, defaultValue: t, onChange: n, currency: r, fractionDigits: i, minorUnits: a = !1 }) {
|
|
264
|
+
let { shown: o, display: s } = H(r, i), { toMajor: c, toExternal: l } = B(a, r, i), u = e !== void 0, [d, f] = v(t), p = c(u ? e : d), [h, g] = v(() => p == null ? "" : s(p));
|
|
242
265
|
m(() => {
|
|
243
|
-
|
|
266
|
+
u && g((t) => {
|
|
267
|
+
if (e == null) return "";
|
|
268
|
+
let n = z(t);
|
|
269
|
+
if (n != null && l(n) === e) return t;
|
|
270
|
+
let r = o();
|
|
271
|
+
return r?.text === t && l(r.value) === e ? t : s(c(e));
|
|
272
|
+
});
|
|
244
273
|
}, [
|
|
245
|
-
|
|
274
|
+
u,
|
|
246
275
|
e,
|
|
247
|
-
|
|
276
|
+
s,
|
|
277
|
+
l,
|
|
278
|
+
c,
|
|
279
|
+
o
|
|
248
280
|
]);
|
|
249
|
-
let
|
|
250
|
-
|
|
251
|
-
let e =
|
|
252
|
-
|
|
253
|
-
}, [
|
|
254
|
-
let
|
|
255
|
-
|
|
281
|
+
let y = _(p);
|
|
282
|
+
y.current = p, m(() => {
|
|
283
|
+
let e = y.current;
|
|
284
|
+
g(e == null ? "" : s(e));
|
|
285
|
+
}, [s]);
|
|
286
|
+
let b = (e) => {
|
|
287
|
+
let t = l(e);
|
|
288
|
+
u || f(t), n?.(t);
|
|
256
289
|
};
|
|
257
290
|
return {
|
|
258
|
-
draft:
|
|
291
|
+
draft: h,
|
|
259
292
|
change: (e) => {
|
|
260
|
-
|
|
261
|
-
let t =
|
|
262
|
-
e.trim() === "" ?
|
|
293
|
+
g(e);
|
|
294
|
+
let t = z(e);
|
|
295
|
+
e.trim() === "" ? b(null) : t != null && b(t);
|
|
263
296
|
},
|
|
264
297
|
commit: (e) => {
|
|
265
|
-
let t = e.trim(), n =
|
|
266
|
-
|
|
298
|
+
let t = e.trim(), n = o()?.text === t ? o()?.value ?? null : z(e);
|
|
299
|
+
g(n == null ? t : s(c(l(n)))), b(n);
|
|
267
300
|
}
|
|
268
301
|
};
|
|
269
302
|
}
|
|
270
303
|
//#endregion
|
|
271
304
|
//#region lib/components/ui/fields/currency-field/currency-field.tsx
|
|
272
|
-
function
|
|
273
|
-
let { draft:
|
|
305
|
+
function W({ value: t, defaultValue: n = null, onChange: r, currency: i = "EUR", fractionDigits: a, trailingAction: o, minorUnits: s, className: c, ...l }) {
|
|
306
|
+
let { draft: u, change: f, commit: p } = U({
|
|
274
307
|
value: t,
|
|
275
308
|
defaultValue: n,
|
|
276
309
|
onChange: r,
|
|
277
310
|
currency: i,
|
|
278
|
-
fractionDigits: a
|
|
311
|
+
fractionDigits: a,
|
|
312
|
+
minorUnits: s
|
|
279
313
|
});
|
|
280
314
|
return /* @__PURE__ */ y(d, {
|
|
281
|
-
...
|
|
282
|
-
className: e(o && "[&_input]:pr-28!",
|
|
315
|
+
...l,
|
|
316
|
+
className: e(o && "[&_input]:pr-28!", c),
|
|
283
317
|
inputMode: "decimal",
|
|
284
318
|
autoComplete: "off",
|
|
285
319
|
spellCheck: !1,
|
|
286
|
-
value:
|
|
320
|
+
value: u,
|
|
287
321
|
trailing: o ? /* @__PURE__ */ b("span", {
|
|
288
322
|
"data-slot": "currency-trailing",
|
|
289
323
|
className: "flex h-8! w-auto! items-center gap-1 pointer-coarse:h-11! ps-1 pe-1.5 text-xs font-medium text-muted-foreground",
|
|
@@ -293,11 +327,11 @@ function B({ value: t, defaultValue: n = null, onChange: r, currency: i = "EUR",
|
|
|
293
327
|
className: "flex h-8! w-auto! items-center justify-center px-1 text-xs leading-none font-medium text-muted-foreground pointer-coarse:h-11!",
|
|
294
328
|
children: i
|
|
295
329
|
}),
|
|
296
|
-
onChange: (e) =>
|
|
330
|
+
onChange: (e) => f(e.target.value),
|
|
297
331
|
onBlur: (e) => {
|
|
298
|
-
|
|
332
|
+
p(e.target.value), l.onBlur?.(e);
|
|
299
333
|
}
|
|
300
334
|
});
|
|
301
335
|
}
|
|
302
336
|
//#endregion
|
|
303
|
-
export {
|
|
337
|
+
export { F as a, T as c, L as i, z as n, C as o, R as r, w as s, W as t };
|
package/dist/editor.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./ui.utils-CAnKTCw5.js";
|
|
2
2
|
import { t } from "./utils-BLfntITJ.js";
|
|
3
|
-
import { A as n, Ai as r, An as i, Bn as a, C as o, Cn as s, D as c, Dn as l, E as u, G as d, H as f, Hn as p, I as m, J as h, K as g, Kn as _, L as v, Mi as y, Mn as b, O as x, On as S, Q as C, S as w, Sn as T, T as E, U as D, Un as ee, V as O, Vn as k, W as te, Wn as ne, X as re, Y as ie, Z as ae, a as oe, an as se, b as A, c as ce, d as le, dn as ue, fn as de, gn as fe, hn as pe, i as me, j as he, ji as ge, jn as _e, k as ve, kn as ye, l as be, on as xe, p as Se, pr as Ce, q as we, qn as Te, s as Ee, sn as De, t as Oe, v as ke, w as Ae, x as je, xn as Me, y as Ne } from "./use-chat-composer-
|
|
3
|
+
import { A as n, Ai as r, An as i, Bn as a, C as o, Cn as s, D as c, Dn as l, E as u, G as d, H as f, Hn as p, I as m, J as h, K as g, Kn as _, L as v, Mi as y, Mn as b, O as x, On as S, Q as C, S as w, Sn as T, T as E, U as D, Un as ee, V as O, Vn as k, W as te, Wn as ne, X as re, Y as ie, Z as ae, a as oe, an as se, b as A, c as ce, d as le, dn as ue, fn as de, gn as fe, hn as pe, i as me, j as he, ji as ge, jn as _e, k as ve, kn as ye, l as be, on as xe, p as Se, pr as Ce, q as we, qn as Te, s as Ee, sn as De, t as Oe, v as ke, w as Ae, x as je, xn as Me, y as Ne } from "./use-chat-composer-4cs6opDX.js";
|
|
4
4
|
import { c as Pe, l as Fe, n as Ie, t as Le } from "./alert-dialog-VyVfYwzv.js";
|
|
5
5
|
import { c as Re, i as ze, n as Be, o as Ve, r as He, s as Ue, t as We, u as j } from "./dropdown-menu-B21gOpBE.js";
|
|
6
6
|
import { n as Ge, r as Ke, t as qe } from "./popover-C2AG-fER.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as e, n as t, r as n, t as r } from "./tabs-CzBz8Doo.js";
|
|
2
2
|
import { t as i } from "./use-material-translation-DM4nCI16.js";
|
|
3
|
-
import { t as a } from "./currency-field-
|
|
4
|
-
import { n as o, t as s } from "./percent-field-
|
|
3
|
+
import { t as a } from "./currency-field-5Zg_sjY1.js";
|
|
4
|
+
import { n as o, t as s } from "./percent-field-D1Y4HUPt.js";
|
|
5
5
|
import { n as c } from "./calculator-context-BugcKuVG.js";
|
|
6
6
|
import { t as l } from "./calculator-announce-DRd2c6Dq.js";
|
|
7
7
|
import { n as u, t as d } from "./calculator-panel-announce-AZSnZUSr.js";
|
|
@@ -657,6 +657,7 @@ export declare function useFilterFieldConfig({ field, value, onChange, error, di
|
|
|
657
657
|
minRows?: number;
|
|
658
658
|
maxRows?: number;
|
|
659
659
|
showCount?: boolean;
|
|
660
|
+
monospace?: boolean;
|
|
660
661
|
ref?: import('react').Ref<HTMLTextAreaElement> | undefined;
|
|
661
662
|
key?: import('react').Key | null | undefined;
|
|
662
663
|
autoComplete?: string | undefined;
|
|
@@ -14,7 +14,8 @@ export declare function rowFocusProps(rowId: string): {
|
|
|
14
14
|
* the next frames if something takes the focus meanwhile (a dialog's
|
|
15
15
|
* focus scope restores the focus in its own `setTimeout(0)`, a toast can
|
|
16
16
|
* grab it). Answers at once: `true` when the trigger is found and holds the
|
|
17
|
-
* focus right now.
|
|
17
|
+
* focus right now. The reclaim stops when `scope` is an element that gets
|
|
18
|
+
* disconnected; `useRowMenuFocus` also cancels it on unmount.
|
|
18
19
|
*/
|
|
19
20
|
export declare function focusRowMenuTrigger(rowId: string, scope?: ParentNode): boolean;
|
|
20
21
|
/**
|
|
@@ -29,7 +30,8 @@ export declare function focusRowMenuTrigger(rowId: string, scope?: ParentNode):
|
|
|
29
30
|
* frames if a dialog's focus restore or a toast takes it. For those two frames
|
|
30
31
|
* the focus is claimed back to the trigger whatever took it, so a deliberate
|
|
31
32
|
* focus move (Tab, or a dialog or toast opened right after the call) within
|
|
32
|
-
* them is overridden: call it once the follow-up UI is done.
|
|
33
|
+
* them is overridden: call it once the follow-up UI is done. The frames still pending are
|
|
34
|
+
* cancelled when the component unmounts. Returns `true`
|
|
33
35
|
* when the trigger was found and holds the focus; `false` for a row that went
|
|
34
36
|
* away
|
|
35
37
|
* (archived, deleted) or a trigger that cannot take it (disabled, inert).
|
|
@@ -7,9 +7,10 @@ export type EventChipBadge = {
|
|
|
7
7
|
/** The `badge` then the further `badges`: the one place that order is made. */
|
|
8
8
|
export declare function eventChipBadges(badge?: EventChipBadge, badges?: EventChipBadge[]): EventChipBadge[];
|
|
9
9
|
/** Every badge as a pill or a tone dot. */
|
|
10
|
-
export declare function ChipBadges({ badges, tight, }: {
|
|
10
|
+
export declare function ChipBadges({ badges, tight, inline, }: {
|
|
11
11
|
badges: EventChipBadge[];
|
|
12
12
|
tight: boolean;
|
|
13
|
+
inline?: boolean;
|
|
13
14
|
}): import("react").JSX.Element;
|
|
14
15
|
/**
|
|
15
16
|
* The badges as a wrapping row of small pills, for a place with room (an
|
|
@@ -8,6 +8,8 @@ type ContentProps = {
|
|
|
8
8
|
allDay: boolean;
|
|
9
9
|
compact: boolean;
|
|
10
10
|
tight: boolean;
|
|
11
|
+
/** The box is too short for title, time and a badge row: the badges join the time's line. */
|
|
12
|
+
short?: boolean;
|
|
11
13
|
solid: boolean;
|
|
12
14
|
/** Already merged by `eventChipBadges`. */
|
|
13
15
|
badges?: EventChipBadge[];
|
|
@@ -27,6 +27,8 @@ export type EventChipProps = {
|
|
|
27
27
|
compact?: boolean;
|
|
28
28
|
/** The box is under 20px: no padding or line gap, the title clips inside it. */
|
|
29
29
|
tight?: boolean;
|
|
30
|
+
/** The box is too short for title, time and a badge row: the badge joins the time's line. */
|
|
31
|
+
short?: boolean;
|
|
30
32
|
/** `soft` (the default): a tint and a bar; `solid`: filled; `outline`: a border. */
|
|
31
33
|
variant?: EventChipVariant;
|
|
32
34
|
/** A small label (and tone) after the title; hidden but still named where the box is tiny. */
|
|
@@ -47,4 +49,4 @@ export type EventChipProps = {
|
|
|
47
49
|
* is set from script (a CSS custom property), never as inline style in server
|
|
48
50
|
* markup.
|
|
49
51
|
*/
|
|
50
|
-
export declare function EventChip({ title, time, endTime, color: ownColor, tone, cancelled, allDay, compact, tight, variant, badge, badges, selected, disabled, continuesBefore, continuesAfter, onClick, className, style, }: EventChipProps): import("react").JSX.Element;
|
|
52
|
+
export declare function EventChip({ title, time, endTime, color: ownColor, tone, cancelled, allDay, compact, tight, short, variant, badge, badges, selected, disabled, continuesBefore, continuesAfter, onClick, className, style, }: EventChipProps): import("react").JSX.Element;
|
|
@@ -17,5 +17,13 @@ export type CurrencyFieldProps = Omit<TextFieldProps, 'type' | 'value' | 'defaul
|
|
|
17
17
|
* (`CalculatorField`'s "Open calculator"). It keeps its own name and focus.
|
|
18
18
|
*/
|
|
19
19
|
trailingAction?: ReactNode;
|
|
20
|
+
/**
|
|
21
|
+
* `value`, `defaultValue` and `onChange` are whole minor units (cents,
|
|
22
|
+
* centimes, yen) instead of major units: `1999` shows `19.99` in EUR.
|
|
23
|
+
* The decimals are the currency's own (EUR 2, XAF 0, KWD 3), or
|
|
24
|
+
* `fractionDigits` when given, as `formatAmount`'s `minorUnits` option.
|
|
25
|
+
* Off by default.
|
|
26
|
+
*/
|
|
27
|
+
minorUnits?: boolean;
|
|
20
28
|
};
|
|
21
|
-
export declare function CurrencyField({ value, defaultValue, onChange, currency, fractionDigits, trailingAction, className, ...props }: CurrencyFieldProps): import("react").JSX.Element;
|
|
29
|
+
export declare function CurrencyField({ value, defaultValue, onChange, currency, fractionDigits, trailingAction, minorUnits, className, ...props }: CurrencyFieldProps): import("react").JSX.Element;
|
|
@@ -4,12 +4,14 @@ type Options = {
|
|
|
4
4
|
onChange?: (value: number | null) => void;
|
|
5
5
|
currency: string;
|
|
6
6
|
fractionDigits?: number;
|
|
7
|
+
/** `value`, `defaultValue` and `onChange` are whole minor units. */
|
|
8
|
+
minorUnits?: boolean;
|
|
7
9
|
};
|
|
8
10
|
/**
|
|
9
11
|
* The text a currency field shows and the amount it holds, controlled or
|
|
10
12
|
* not: `change` follows typing, `commit` formats the amount on blur.
|
|
11
13
|
*/
|
|
12
|
-
export declare function useCurrencyAmount({ value, defaultValue, onChange, currency, fractionDigits, }: Options): {
|
|
14
|
+
export declare function useCurrencyAmount({ value, defaultValue, onChange, currency, fractionDigits, minorUnits, }: Options): {
|
|
13
15
|
draft: string;
|
|
14
16
|
change: (raw: string) => void;
|
|
15
17
|
commit: (raw: string) => void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The two conversions between the amount a currency field holds (major
|
|
3
|
+
* units) and the one its props carry: identity, or whole minor units when
|
|
4
|
+
* `minorUnits` is set.
|
|
5
|
+
*/
|
|
6
|
+
export declare function useMinorUnits(minorUnits: boolean, currency: string, fractionDigits?: number): {
|
|
7
|
+
toMajor: (external: number | null | undefined) => number | null | undefined;
|
|
8
|
+
toExternal: (major: number | null) => number | null;
|
|
9
|
+
};
|
package/dist/lib/components/ui/fields/repeatable-group/partials/repeatable-group-heading.d.ts
CHANGED
|
@@ -6,6 +6,18 @@ export declare function RepeatableGroupLabel({ id, children, }: {
|
|
|
6
6
|
}): import("react").JSX.Element;
|
|
7
7
|
/** An error about the whole group, under the rows; it describes the group. */
|
|
8
8
|
export declare function RepeatableGroupError({ id, children, }: {
|
|
9
|
+
id: string;
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
}): import("react").JSX.Element | null;
|
|
12
|
+
/** Help text under the label; it describes the group. */
|
|
13
|
+
export declare function RepeatableGroupDescription({ id, children, }: {
|
|
9
14
|
id: string;
|
|
10
15
|
children: ReactNode;
|
|
11
16
|
}): import("react").JSX.Element;
|
|
17
|
+
/** The label, then the description under it, each only when given. */
|
|
18
|
+
export declare function RepeatableGroupHeading({ label, labelId, description, descriptionId, }: {
|
|
19
|
+
label?: ReactNode;
|
|
20
|
+
labelId: string;
|
|
21
|
+
description?: ReactNode;
|
|
22
|
+
descriptionId: string;
|
|
23
|
+
}): import("react").JSX.Element;
|
|
@@ -9,4 +9,4 @@ export type { RepeatableGroupProps, RepeatableGroupRowContext, } from './types.j
|
|
|
9
9
|
* politely. For react-hook-form, `RepeatableGroupFormField` wires it to
|
|
10
10
|
* `useFieldArray`.
|
|
11
11
|
*/
|
|
12
|
-
export declare function RepeatableGroup<TItem>({ items, renderRow, getKey, label, rowLabel, addLabel, onAdd, onRemove, onMove, reorderable, min, removeAtMin, max, removable, removeDisabledReason, disabled, error, emptyTitle, emptyDescription, className, ref, ...props }: RepeatableGroupProps<TItem>): import("react").JSX.Element;
|
|
12
|
+
export declare function RepeatableGroup<TItem>({ items, renderRow, getKey, label, description, rowLabel, addLabel, onAdd, onRemove, onMove, reorderable, min, removeAtMin, max, removable, removeDisabledReason, disabled, error, emptyTitle, emptyDescription, className, ref, 'aria-describedby': own, ...props }: RepeatableGroupProps<TItem>): import("react").JSX.Element;
|
|
@@ -19,6 +19,11 @@ export type RepeatableGroupProps<TItem> = Omit<ComponentProps<'div'>, 'children'
|
|
|
19
19
|
getKey?: (item: TItem, index: number) => Key;
|
|
20
20
|
/** The group's label, above the rows; it names the group and the list. */
|
|
21
21
|
label?: ReactNode;
|
|
22
|
+
/**
|
|
23
|
+
* Help text under the label, like other fields' help text; the group's
|
|
24
|
+
* `aria-describedby` points at it, so it is announced with the group.
|
|
25
|
+
*/
|
|
26
|
+
description?: ReactNode;
|
|
22
27
|
/**
|
|
23
28
|
* What one row is, lower case: it names the row's buttons ("Remove
|
|
24
29
|
* period 2") and the announcements. Default "row", translated.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* The ids of the group's label, description and error, which of the three are
|
|
4
|
+
* given, and the group's `aria-describedby` (the caller's own ids, then the
|
|
5
|
+
* description's and the error's).
|
|
6
|
+
*/
|
|
7
|
+
export declare function useRepeatableGroupText(label: ReactNode, description: ReactNode, error: ReactNode, own?: string): {
|
|
8
|
+
named: boolean;
|
|
9
|
+
failed: boolean;
|
|
10
|
+
errorId: string;
|
|
11
|
+
/** The `RepeatableGroupHeading` props: what is not given stays undefined. */
|
|
12
|
+
heading: {
|
|
13
|
+
label: ReactNode;
|
|
14
|
+
labelId: string;
|
|
15
|
+
description: ReactNode;
|
|
16
|
+
descriptionId: string;
|
|
17
|
+
};
|
|
18
|
+
describedBy: string | undefined;
|
|
19
|
+
};
|
|
@@ -6,5 +6,7 @@ export type TextareaProps = {
|
|
|
6
6
|
minRows?: number;
|
|
7
7
|
maxRows?: number;
|
|
8
8
|
showCount?: boolean;
|
|
9
|
+
/** Sets the theme's monospace font (`--font-mono`) for code-like plain text. */
|
|
10
|
+
monospace?: boolean;
|
|
9
11
|
} & ComponentProps<'textarea'>;
|
|
10
|
-
export declare function TextareaField({ error, helperText, label, className, placeholder, minRows, maxRows, showCount, maxLength, value, defaultValue, onChange, ...props }: TextareaProps): import("react").JSX.Element;
|
|
12
|
+
export declare function TextareaField({ error, helperText, label, className, placeholder, minRows, maxRows, showCount, monospace, maxLength, value, defaultValue, onChange, ...props }: TextareaProps): import("react").JSX.Element;
|