@nxgt/material 2.0.0 → 2.1.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/README.md +92 -1
- package/dist/{blockDiagram-BEXU5L5S-DF3vGlXD.js → blockDiagram-BEXU5L5S-DLqZARaF.js} +2 -2
- package/dist/{chunk-3FUC2YCW-CAJ0rgCP.js → chunk-3FUC2YCW-C3UF_VLZ.js} +2 -2
- package/dist/{chunk-7M6MHVWA-DAfeILvI.js → chunk-7M6MHVWA-DhVIMmqx.js} +1 -1
- package/dist/{chunk-GNY47TPC-CN53JUAg.js → chunk-GNY47TPC-ItV2FvY4.js} +4 -4
- package/dist/{chunk-NETBCI7D-D-hMoCi1.js → chunk-NETBCI7D-DDgfuS2X.js} +1 -1
- package/dist/{chunk-Z7XXMR3K-DFs9CL0g.js → chunk-Z7XXMR3K-9wNLyUjb.js} +1 -1
- package/dist/{classDiagram-v2-NBCMYWYE-4wLAMwQS.js → classDiagram-v2-NBCMYWYE-Bnc_Rw-F.js} +2 -2
- package/dist/components.js +2 -2
- package/dist/{dagre-6A5THRUB-0G8VOjTo.js → dagre-6A5THRUB-BzZODvtv.js} +3 -3
- package/dist/{diagram-22UHCM2B-DpQbjmb8.js → diagram-22UHCM2B-CtvoZXaL.js} +2 -2
- package/dist/{elk-276RUBZZ-DgpGvMfb.js → elk-276RUBZZ-DWlp7lAW.js} +3 -3
- package/dist/{erDiagram-OPXOYQCR-BQdPcP9U.js → erDiagram-OPXOYQCR-BNnvl0WV.js} +2 -2
- package/dist/{flowDiagram-KWPJA3E3-Dip-pIe-.js → flowDiagram-KWPJA3E3-COO8DqZK.js} +3 -3
- package/dist/{ganttDiagram-FUAMR5RP-B5YjspG8.js → ganttDiagram-FUAMR5RP-D0YYQV0q.js} +1 -1
- package/dist/{graphlib-DXJ-RYOD.js → graphlib-CIkkh3QG.js} +1 -1
- package/dist/{journeyDiagram-ZHPQQLJL-BHYQHz8d.js → journeyDiagram-ZHPQQLJL-Cr1khCo3.js} +1 -1
- package/dist/lib/lib/index.d.ts +1 -0
- package/dist/lib/lib/print-format.utils.d.ts +15 -0
- package/dist/lib/map/components/consts.d.ts +6 -0
- package/dist/lib/map/components/index.d.ts +5 -0
- package/dist/lib/map/components/location-field.d.ts +10 -0
- package/dist/lib/map/components/location-form-field.d.ts +3 -0
- package/dist/lib/map/components/map.d.ts +6 -0
- package/dist/lib/map/components/map.stories.d.ts +13 -0
- package/dist/lib/map/components/partials/index.d.ts +5 -0
- package/dist/lib/map/components/partials/location-marker.d.ts +5 -0
- package/dist/lib/map/components/partials/location-preview.d.ts +7 -0
- package/dist/lib/map/components/partials/map-actions.d.ts +6 -0
- package/dist/lib/map/components/partials/marker.d.ts +11 -0
- package/dist/lib/map/components/partials/minimap-control.d.ts +5 -0
- package/dist/lib/map/index.d.ts +38 -0
- package/dist/lib/map/index.test.d.ts +1 -0
- package/dist/lib/map/use-geolocation.d.ts +2 -0
- package/dist/lib/print/index.d.ts +1 -1
- package/dist/lib.js +2 -1
- package/dist/{main-C6rjLaqK.js → main-DeilmPv5.js} +2 -2
- package/dist/main.js +3 -2
- package/dist/map.js +285 -0
- package/dist/material.css +1 -1
- package/dist/{mermaid.core-DPqKYf9L.js → mermaid.core-CsGdwvR0.js} +20 -20
- package/dist/{mindmap-definition-NLK3R4M7-DbG40nE4.js → mindmap-definition-NLK3R4M7-IZYTe2Mh.js} +2 -2
- package/dist/{pieDiagram-5QR66LMP-dMM51IAn.js → pieDiagram-5QR66LMP-DqnWu-Zg.js} +1 -1
- package/dist/print-format.utils-CyR00FwK.js +24 -0
- package/dist/print.js +97 -119
- package/dist/{quadrantDiagram-O4NWA36T-BaSKZiw5.js → quadrantDiagram-O4NWA36T-tobrs5dc.js} +1 -1
- package/dist/{requirementDiagram-PLB6GJNP-DxwpOB3H.js → requirementDiagram-PLB6GJNP-Lm5o98ZN.js} +2 -2
- package/dist/{sankeyDiagram-IPEJSGJF-PcxB8umJ.js → sankeyDiagram-IPEJSGJF-ClWq95mY.js} +1 -1
- package/dist/{stateDiagram-v2-GCMORJYK-DXqVvjkk.js → stateDiagram-v2-GCMORJYK-CbrdDeDZ.js} +2 -2
- package/dist/{swimlanes-2SLR337P-MVsSgObR.js → swimlanes-2SLR337P-4Oufc9Ey.js} +3 -3
- package/dist/{swimlanesDiagram-TC7HE7FX-fSzW_vlb.js → swimlanesDiagram-TC7HE7FX-DQu480YU.js} +3 -3
- package/dist/{timeline-definition-EJHVYXUP-DtX7hK_l.js → timeline-definition-EJHVYXUP-CLerfWh1.js} +1 -1
- package/dist/{usecaseDiagram-POWQR4AR-DmFl7fb7.js → usecaseDiagram-POWQR4AR-BwE2bgk0.js} +2 -2
- package/dist/{xychartDiagram-PMCCYNJV-BZsPm_3V.js → xychartDiagram-PMCCYNJV-D-ynJEtr.js} +1 -1
- package/lib/map/map.css +9 -0
- package/package.json +37 -2
- package/dist/lib/print/utils.d.ts +0 -5
- /package/dist/lib/{print/utils.test.d.ts → lib/print-format.utils.test.d.ts} +0 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Leaflet maps: the map itself, its markers and controls, a location field and
|
|
3
|
+
* its react-hook-form wrapper, and the geolocation hook they share.
|
|
4
|
+
*
|
|
5
|
+
* **This entry cannot be imported in a process without a DOM.** `leaflet` reads
|
|
6
|
+
* `window` at module scope — `import 'leaflet'` in bun or node throws
|
|
7
|
+
* `window is not defined` before any of this code runs — and `react-leaflet`,
|
|
8
|
+
* `@react-leaflet/core` and `@adamscybot/react-leaflet-component-marker` all
|
|
9
|
+
* import leaflet, so they throw too. Measured 2026-09-22.
|
|
10
|
+
*
|
|
11
|
+
* That is why it is a separate entry, and why it must stay out of every barrel:
|
|
12
|
+
* `.`, `./components` and the rest are imported by SSR servers at boot, and one
|
|
13
|
+
* `export * from './map'` in `lib/main.ts` would kill every consumer that renders
|
|
14
|
+
* on a server — the same failure `@nxgt/material/print` was split out for, with a
|
|
15
|
+
* different dependency. `scripts/verify-ssr-safe.ts` fails the build if `leaflet`
|
|
16
|
+
* appears in any built entry but `map.js`, and deliberately does not try to import
|
|
17
|
+
* `map.js` itself.
|
|
18
|
+
*
|
|
19
|
+
* So a consumer renders these components **client-side only**: behind a
|
|
20
|
+
* `clientOnly` boundary, a `useEffect`, or in an SPA, where there is no server
|
|
21
|
+
* pass at all. An SSR app that renders `<Map>` directly gets a blank page and
|
|
22
|
+
* `window is not defined` in its server log.
|
|
23
|
+
*
|
|
24
|
+
* `leaflet`, `react-leaflet`, `@react-leaflet/core`,
|
|
25
|
+
* `@adamscybot/react-leaflet-component-marker` and `react-geolocated` are
|
|
26
|
+
* **optional peer dependencies**: an app that imports this entry installs them
|
|
27
|
+
* itself, and an app that does not never has them in its tree. Leaflet's own CSS
|
|
28
|
+
* comes from `@nxgt/material/map.css`, which is not part of `styles.css`.
|
|
29
|
+
*
|
|
30
|
+
* This code was `@nxgt/map` until 2026-09-22, extracted into its own package for
|
|
31
|
+
* exactly the SSR crash described above. The optional-peer entry solves it without
|
|
32
|
+
* a second repository, a second release train, or a second copy of
|
|
33
|
+
* `@nxgt/material` in the consumer's bundle — which is what that split actually
|
|
34
|
+
* cost: `@nxgt/map` pinned `@nxgt/material: ^1.0.0`, so `oauth-admin` could not
|
|
35
|
+
* take the 2.x major at all while it depended on both.
|
|
36
|
+
*/
|
|
37
|
+
export * from './components';
|
|
38
|
+
export * from './use-geolocation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
* server whose runtime image has no `node_modules`, you also want
|
|
21
21
|
* `pdfkitStandardFonts()` from `@nxgt/material/vite`.
|
|
22
22
|
*/
|
|
23
|
+
export * from '../lib/print-format.utils';
|
|
23
24
|
export * from './components/print-badge';
|
|
24
25
|
export * from './components/print-card';
|
|
25
26
|
export * from './components/print-header';
|
|
@@ -28,4 +29,3 @@ export * from './components/print-table';
|
|
|
28
29
|
export * from './components/print-totals';
|
|
29
30
|
export * from './styles';
|
|
30
31
|
export * from './tailwind';
|
|
31
|
-
export * from './utils';
|
package/dist/lib.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./utils-Brj-Qb2N.js";
|
|
2
2
|
import { A as t, B as n, C as r, D as i, E as a, F as o, H as s, I as c, L as l, M as u, N as d, O as f, P as p, R as m, S as h, T as g, U as _, V as v, _ as y, a as b, b as x, c as S, d as C, f as w, g as T, h as E, i as D, j as O, k, l as A, m as j, n as M, o as N, p as P, r as F, s as I, t as L, u as R, v as z, w as B, x as V, y as H, z as U } from "./lib-BDc9msmn.js";
|
|
3
3
|
import { n as W, r as G, t as K } from "./number.utils-BR3XO6me.js";
|
|
4
|
-
|
|
4
|
+
import { n as q, t as J } from "./print-format.utils-CyR00FwK.js";
|
|
5
|
+
export { W as DATE_UTILS, j as LOCALE_STORE_UTILS, U as STRING_UTILS, S as STYLES_UTILS, d as buildFieldOptions, r as cast, B as castAsync, g as cleanObject, u as clientOnly, e as cn, N as convertToFormData, V as createAsyncSlice, x as createSliceWithFilter, z as createStatusSlice, H as createStatusesSlice, P as createStepFormSlice, h as delay, n as enumToKebabCase, p as findByKey, o as findByKeyIn, f as formDataToObject, J as formatAmount, q as formatDate, G as formatDateRangeFilter, K as formatNumber, k as ifEmptyList, t as ifEmptyString, F as isExternalHref, v as joinTruthyParts, O as objectToFormData, a as omit, L as parsedType, i as pick, I as renderSlot, R as resolveSliceState, E as safeGetItem, T as safeRemoveItem, y as safeSetItem, D as searchParam, b as searchParams, s as slugify, _ as splitMatch, c as uniqueArray, w as useActions, l as useFindById, m as useFindByKey, C as useSliceReducer, A as useSliceSelector, M as zodLocaleError };
|
|
@@ -154098,7 +154098,7 @@ function Y_t(e) {
|
|
|
154098
154098
|
//#region lib/components/ui/markdown/mermaid.lazy.ts
|
|
154099
154099
|
var X_t;
|
|
154100
154100
|
function Z_t() {
|
|
154101
|
-
return X_t ??= import("./mermaid.core-
|
|
154101
|
+
return X_t ??= import("./mermaid.core-CsGdwvR0.js").then((e) => {
|
|
154102
154102
|
let t = e.default;
|
|
154103
154103
|
return t.initialize({
|
|
154104
154104
|
startOnLoad: !1,
|
|
@@ -191330,4 +191330,4 @@ function nUt({ nodes: e, selectionMode: t = "single", selectedIds: n, defaultSel
|
|
|
191330
191330
|
});
|
|
191331
191331
|
}
|
|
191332
191332
|
//#endregion
|
|
191333
|
-
export { Dzt as $, pkt as $a, LXe as $c,
|
|
191333
|
+
export { Dzt as $, pkt as $a, LXe as $c, Td as $d, cge as $f, MMt as $i, nk as $l, KPt as $n, hwt as $o, $Nt as $r, fvt as $s, z7 as $t, hv as $u, mHt as A, OAt as Aa, cY as Ac, Ud as Ad, $u as Af, LNt as Ai, vYe as Al, nIt as An, UOt as Ao, Whe as Ap, Z5 as Ar, M4 as As, B7 as At, Iv as Au, X7 as B, w8 as Ba, dU as Bc, zd as Bd, Ju as Bf, b5 as Bi, jI as Bl, o7 as Bn, o8 as Bo, ope as Bp, K5 as Br, wvt as Bs, uRt as Bt, jv as Bu, G9 as C, FAt as Ca, oet as Cc, Y_ as Cd, ad as Cf, RNt as Ci, gXe as Cl, RIt as Cn, KOt as Co, pu as Cp, vPt as Cr, byt as Cs, NRt as Ct, Kv as Cu, yHt as D, NAt as Da, o7e as Dc, lp as Dd, $ge as Df, NNt as Di, pXe as Dl, aIt as Dn, u8 as Do, Qhe as Dp, n7 as Dr, fyt as Ds, ORt as Dt, zv as Du, xHt as E, kAt as Ea, D7e as Ec, lxe as Ed, t_e as Ef, INt as Ei, pL as El, oIt as En, GOt as Eo, $he as Ep, r7 as Er, hyt as Es, kRt as Et, Wv as Eu, qBt as F, Nkt as Fa, iY as Fc, Wd as Fd, Qu as Ff, DNt as Fi, zI as Fl, jFt as Fn, s8 as Fo, fl as Fp, Y5 as Fr, L4 as Fs, pRt as Ft, kv as Fu, cBt as G, xkt as Ga, TH as Gc, Ad as Gd, Ou as Gf, _Nt as Gi, FJe as Gl, eFt as Gn, IOt as Go, U5 as Gr, yvt as Gs, bRt as Gt, wv as Gu, bBt as H, C8 as Ha, YH as Hc, Ld as Hd, Wu as Hf, v5 as Hi, OI as Hl, rFt as Hn, zOt as Ho, Gie as Hp, lPt as Hr, g4 as Hs, gRt as Ht, Ov as Hu, kBt as I, Mkt as Ia, rY as Ic, Hd as Id, ed as If, ENt as Ii, RI as Il, OFt as In, a8 as Io, dl as Ip, pPt as Ir, P4 as Is, lRt as It, vxe as Iu, Uzt as J, vkt as Ja, SZe as Jc, Md as Jd, hge as Jf, f5 as Ji, CI as Jl, ZPt as Jn, ywt as Jo, aPt as Jr, p4 as Js, fRt as Jt, Cv as Ju, eBt as K, bkt as Ka, bZe as Kc, jd as Kd, Eu as Kf, g5 as Ki, TI as Kl, $Pt as Kn, FOt as Ko, H5 as Kr, h4 as Ks, SRt as Kt, xv as Ku, OBt as L, kkt as La, MG as Lc, Jd as Ld, Xu as Lf, C5 as Li, LI as Ll, DFt as Ln, i8 as Lo, ul as Lp, q5 as Lr, syt as Ls, mRt as Lt, Av as Lu, cHt as M, MAt as Ma, J8e as Mc, Yd as Md, nd as Mf, T5 as Mi, gYe as Ml, NFt as Mn, c8 as Mo, au as Mp, gPt as Mr, F4 as Ms, wRt as Mt, Nv as Mu, lHt as N, TAt as Na, q8e as Nc, qd as Nd, Zge as Nf, jNt as Ni, WI as Nl, MFt as Nn, l8 as No, hpe as Np, X5 as Nr, I4 as Ns, sRt as Nt, Pv as Nu, vHt as O, jAt as Oa, Z8e as Oc, Ef as Od, rd as Of, PNt as Oi, fXe as Ol, l7 as On, WOt as Oo, su as Op, t7 as Or, z4 as Os, DRt as Ot, Rv as Ou, uHt as P, Pkt as Pa, aY as Pc, Kd as Pd, td as Pf, w5 as Pi, BI as Pl, kFt as Pn, r8 as Po, pl as Pp, mPt as Pr, N4 as Ps, hRt as Pt, Ev as Pu, Ezt as Q, mkt as Qa, RXe as Qc, wd as Qd, lge as Qf, NMt as Qi, ik as Ql, qPt as Qn, _wt as Qo, ePt as Qr, mvt as Qs, L7 as Qt, gv as Qu, wBt as R, Dkt as Ra, EG as Rc, Vd as Rd, Yu as Rf, S5 as Ri, II as Rl, EFt as Rn, VOt as Ro, ape as Rp, J5 as Rr, cyt as Rs, _Rt as Rt, yxe as Ru, q9 as S, PAt as Sa, Tet as Sc, dxe as Sd, r_e as Sf, GNt as Si, mL as Sl, zIt as Sn, JOt as So, du as Sp, yPt as Sr, Tyt as Ss, PRt as St, Gv as Su, bHt as T, DAt as Ta, $7e as Tc, q_ as Td, n_e as Tf, FNt as Ti, mXe as Tl, sIt as Tn, qOt as To, Zhe as Tp, i7 as Tr, _yt as Ts, jRt as Tt, Uv as Tu, xBt as U, Ckt as Ua, KH as Uc, Id as Ud, Gu as Uf, _5 as Ui, DI as Ul, nFt as Un, ROt as Uo, rre as Up, cPt as Ur, vvt as Us, vRt as Ut, Dv as Uu, SBt as V, wkt as Va, ZH as Vc, Rd as Vd, Ku as Vf, y5 as Vi, RJe as Vl, iFt as Vn, n8 as Vo, spe as Vp, uPt as Vr, Cvt as Vs, dRt as Vt, bxe as Vu, pBt as W, Skt as Wa, EH as Wc, Fd as Wd, Tu as Wf, gNt as Wi, PJe as Wl, tFt as Wn, LOt as Wo, W5 as Wr, bvt as Ws, yRt as Wt, Tv as Wu, Mzt as X, gkt as Xa, CZe as Xc, s_e as Xd, pge as Xf, FMt as Xi, ak as Xl, YPt as Xn, vwt as Xo, oPt as Xr, d4 as Xs, I7 as Xt, _v as Xu, Nzt as Y, _kt as Ya, wZe as Yc, Pd as Yd, Cu as Yf, HMt as Yi, ok as Yl, XPt as Yn, W3 as Yo, iPt as Yr, f4 as Ys, oRt as Yt, yv as Yu, jzt as Z, hkt as Za, zXe as Zc, Sd as Zd, fge as Zf, PMt as Zi, rk as Zl, JPt as Zn, U3 as Zo, tPt as Zr, hvt as Zs, R7 as Zt, vv as Zu, IHt as _, G8 as _a, NX as _c, X_ as _d, ud as _f, HNt as _i, xXe as _l, HIt as _n, _8 as _o, Jhe as _p, wPt as _r, Ayt as _s, zRt as _t, FD as _u, QHt as a, Vjt as aa, $_t as ac, hxe as ad, vd as af, F5 as ai, _L as al, A7 as an, okt as ao, rge as ap, IPt as ar, V3 as as, Tzt as at, YO as au, W9 as b, H8 as ba, jX as bc, ev as bd, fd as bf, WNt as bi, vXe as bl, VIt as bn, m8 as bo, qhe as bp, xPt as br, Cyt as bs, IRt as bt, ND as bu, YHt as c, hjt as ca, H_t as cc, pxe as cd, bd as cf, KNt as ci, AXe as cl, eRt as cn, b8 as co, ige as cp, NPt as cr, Pyt as cs, bzt as ct, HO as cu, GHt as d, ujt as da, s4 as dc, mxe as dd, hd as df, qNt as di, DXe as dl, DLt as dn, y8 as do, tge as dp, APt as dr, Dyt as ds, W7 as dt, UO as du, AMt as ea, dvt as ec, mv as ed, kd as ef, L5 as ei, IXe as el, F7 as en, fkt as eo, Su as ep, UPt as er, fwt as es, Azt as et, QO as eu, VHt as f, ijt as fa, G2 as fc, cv as fd, pd as ff, j5 as fi, EXe as fl, ELt as fn, QOt as fo, mu as fp, kPt as fr, xyt as fs, gzt as ft, BO as fu, Y9 as g, XAt as ga, FX as gc, pv as gd, ld as gf, D5 as gi, SXe as gl, GIt as gn, ZOt as go, cu as gp, TPt as gr, wyt as gs, HRt as gt, LD as gu, X9 as h, K8 as ha, IX as hc, iv as hd, i_e as hf, UNt as hi, CXe as hl, _7 as hn, g8 as ho, Yhe as hp, EPt as hr, Syt as hs, GRt as ht, LO as hu, $9 as i, Xjt as ia, tvt as ic, fv as id, Cd as if, I5 as ii, MXe as il, P7 as in, skt as io, hu as ip, zPt as ir, H3 as is, Ozt as it, XO as iu, dHt as j, EAt as ja, oY as jc, Gd as jd, Qge as jf, E5 as ji, GI as jl, tIt as jn, t8 as jo, Khe as jp, hPt as jr, oyt as js, TRt as jt, Fv as ju, gHt as k, AAt as ka, lY as kc, Bd as kd, Zu as kf, MNt as ki, bYe as kl, rIt as kn, HOt as ko, Ghe as kp, e7 as kr, R4 as ks, ERt as kt, Lv as ku, Z9 as l, mjt as la, B_t as lc, ov as ld, gd as lf, N5 as li, kXe as ll, kLt as ln, tkt as lo, nge as lp, MPt as lr, yyt as ls, yzt as lt, GO as lu, zHt as m, $At as ma, Fet as mc, av as md, sd as mf, k5 as mi, wXe as ml, qIt as mn, XOt as mo, ou as mp, DPt as mr, jyt as ms, ZRt as mt, RO as mu, tUt as n, a5 as na, svt as nc, _xe as nd, Ed as nf, XNt as ni, PXe as nl, j7 as nn, ukt as no, bu as np, VPt as nr, pwt as ns, K7 as nt, uVe as nu, ZHt as o, t5 as oa, J_t as oc, sv as od, yd as of, JNt as oi, gL as ol, rRt as on, ikt as oo, vu as op, FPt as or, B4 as os, Czt as ot, JO as ou, BHt as p, sjt as pa, Iet as pc, gxe as pd, md as pf, M5 as pi, TXe as pl, T7 as pn, v8 as po, ege as pp, OPt as pr, Oyt as ps, $Rt as pt, zO as pu, Qzt as q, ykt as qa, xZe as qc, Nd as qd, Du as qf, KMt as qi, wI as ql, a7 as qn, POt as qo, sPt as qr, m4 as qs, xRt as qt, bv as qu, Q9 as r, Zjt as ra, nvt as rc, dv as rd, Od as rf, YNt as ri, NXe as rl, M7 as rn, ckt as ro, yu as rp, BPt as rr, mwt as rs, kzt as rt, lVe as ru, XHt as s, gjt as sa, V_t as sc, uv as sd, xd as sf, P5 as si, hL as sl, tRt as sn, rkt as so, _u as sp, PPt as sr, Fyt as ss, Szt as st, KO as su, nUt as t, kMt as ta, lvt as tc, rv as td, Dd as tf, ZNt as ti, FXe as tl, N7 as tn, S8 as to, xu as tp, HPt as tr, B3 as ts, G7 as tt, $O as tu, qHt as u, pjt as ua, c4 as uc, lv as ud, _d as uf, A5 as ui, OXe as ul, E7 as un, nkt as uo, gu as up, jPt as ur, kyt as us, vzt as ut, WO as uu, J9 as v, WAt as va, PX as vc, Z_ as vd, cd as vf, BNt as vi, bXe as vl, WIt as vn, h8 as vo, lu as vp, CPt as vr, Myt as vs, RRt as vt, ID as vu, H9 as w, wAt as wa, U9e as wc, J_ as wd, id as wf, zNt as wi, hXe as wl, g7 as wn, f8 as wo, Xhe as wp, _Pt as wr, vyt as ws, MRt as wt, qv as wu, K9 as x, IAt as xa, AX as xc, $_ as xd, od as xf, O5 as xi, _Xe as xl, BIt as xn, p8 as xo, uu as xp, bPt as xr, Eyt as xs, FRt as xt, Jv as xu, PHt as y, U8 as ya, MX as yc, Q_ as yd, dd as yf, VNt as yi, yXe as yl, UIt as yn, YOt as yo, fu as yp, SPt as yr, Nyt as ys, LRt as yt, PD as yu, CBt as z, Tkt as za, NU as zc, c_e as zd, qu as zf, x5 as zi, sYe as zl, aFt as zn, BOt as zo, cpe as zp, dPt as zr, _4 as zs, cRt as zt, Mv as zu };
|
package/dist/main.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { C as ee, D as te, S as e, T as t, _ as ne, a as n, b as r, c as i, d as a, f as o, g as s, h as c, i as l, l as u, m as d, n as f, o as p, p as m, r as h, s as g, t as _, u as v, v as y, w as b, x, y as S } from "./sortable-provider-BCaeM3pZ.js";
|
|
2
|
-
import { $ as C, $a as w, $c as T, $d as E, $f as D, $i as O, $l as k, $n as A, $o as j, $r as M, $s as N, $t as P, $u as F, A as I, Aa as L, Ac as R, Ad as z, Af as B, Ai as V, Al as H, An as U, Ao as W, Ap as G, Ar as K, As as q, At as J, Au as Y, B as X, Ba as Z, Bd as re, Bf as ie, Bi as ae, Bl as oe, Bn as se, Bo as ce, Bp as le, Br as ue, Bs as de, Bt as fe, Bu as pe, C as me, Ca as he, Cc as ge, Cd as _e, Cf as ve, Ci as ye, Cl as be, Cn as xe, Co as Se, Cp as Ce, Cr as we, Cs as Te, Ct as Ee, Cu as De, D as Oe, Da as ke, Dc as Ae, Dd as je, Df as Me, Di as Ne, Dl as Pe, Dn as Fe, Do as Ie, Dp as Le, Dr as Re, Ds as ze, Dt as Be, Du as Ve, E as He, Ea as Ue, Ec as We, Ed as Ge, Ef as Ke, Ei as qe, El as Je, En as Ye, Eo as Xe, Ep as Ze, Er as Qe, Es as $e, Et as et, Eu as tt, F as nt, Fa as rt, Fc as it, Fd as at, Ff as ot, Fi as st, Fl as ct, Fn as lt, Fo as ut, Fp as dt, Fr as ft, Fs as pt, Ft as mt, Fu as ht, G as gt, Ga as _t, Gd as vt, Gf as yt, Gi as bt, Gl as xt, Gn as St, Go as Ct, Gr as wt, Gs as Tt, Gt as Et, Gu as Dt, H as Ot, Ha as kt, Hd as At, Hf as jt, Hi as Mt, Hl as Nt, Hn as Pt, Ho as Ft, Hp as It, Hr as Lt, Hs as Rt, Ht as zt, Hu as Bt, I as Vt, Ia as Ht, Ic as Ut, Id as Wt, If as Gt, Ii as Kt, Il as qt, In as Jt, Io as Yt,
|
|
2
|
+
import { $ as C, $a as w, $c as T, $d as E, $f as D, $i as O, $l as k, $n as A, $o as j, $r as M, $s as N, $t as P, $u as F, A as I, Aa as L, Ac as R, Ad as z, Af as B, Ai as V, Al as H, An as U, Ao as W, Ap as G, Ar as K, As as q, At as J, Au as Y, B as X, Ba as Z, Bd as re, Bf as ie, Bi as ae, Bl as oe, Bn as se, Bo as ce, Bp as le, Br as ue, Bs as de, Bt as fe, Bu as pe, C as me, Ca as he, Cc as ge, Cd as _e, Cf as ve, Ci as ye, Cl as be, Cn as xe, Co as Se, Cp as Ce, Cr as we, Cs as Te, Ct as Ee, Cu as De, D as Oe, Da as ke, Dc as Ae, Dd as je, Df as Me, Di as Ne, Dl as Pe, Dn as Fe, Do as Ie, Dp as Le, Dr as Re, Ds as ze, Dt as Be, Du as Ve, E as He, Ea as Ue, Ec as We, Ed as Ge, Ef as Ke, Ei as qe, El as Je, En as Ye, Eo as Xe, Ep as Ze, Er as Qe, Es as $e, Et as et, Eu as tt, F as nt, Fa as rt, Fc as it, Fd as at, Ff as ot, Fi as st, Fl as ct, Fn as lt, Fo as ut, Fp as dt, Fr as ft, Fs as pt, Ft as mt, Fu as ht, G as gt, Ga as _t, Gd as vt, Gf as yt, Gi as bt, Gl as xt, Gn as St, Go as Ct, Gr as wt, Gs as Tt, Gt as Et, Gu as Dt, H as Ot, Ha as kt, Hd as At, Hf as jt, Hi as Mt, Hl as Nt, Hn as Pt, Ho as Ft, Hp as It, Hr as Lt, Hs as Rt, Ht as zt, Hu as Bt, I as Vt, Ia as Ht, Ic as Ut, Id as Wt, If as Gt, Ii as Kt, Il as qt, In as Jt, Io as Yt, Ip as Xt, Ir as Zt, Is as Qt, It as $t, Iu as en, J as tn, Ja as nn, Jc as rn, Jd as an, Jf as on, Ji as sn, Jl as cn, Jn as ln, Jo as un, Jr as dn, Js as fn, Jt as pn, Ju as mn, K as hn, Ka as gn, Kc as _n, Kd as vn, Kf as yn, Ki as bn, Kl as xn, Kn as Sn, Ko as Cn, Kr as wn, Ks as Tn, Kt as En, Ku as Dn, L as On, La as kn, Ld as An, Lf as jn, Li as Mn, Ll as Nn, Ln as Pn, Lo as Fn, Lr as In, Ls as Ln, Lt as Rn, Lu as zn, M as Bn, Ma as Vn, Mc as Hn, Md as Un, Mf as Wn, Mi as Gn, Ml as Kn, Mn as qn, Mo as Jn, Mp as Yn, Mr as Xn, Ms as Zn, Mt as Qn, Mu as $n, N as er, Na as tr, Nc as nr, Nd as rr, Nf as ir, Ni as ar, Nl as or, Nn as sr, No as cr, Np as lr, Nr as ur, Ns as dr, Nt as fr, Nu as pr, O as mr, Oa as hr, Oc as gr, Of as _r, Oi as vr, Ol as yr, On as br, Oo as xr, Op as Sr, Or as Cr, Os as wr, Ot as Tr, Ou as Er, P as Dr, Pa as Or, Pc as kr, Pd as Ar, Pf as jr, Pi as Mr, Pl as Nr, Pn as Pr, Po as Fr, Pp as Ir, Pr as Lr, Ps as Rr, Pt as zr, Pu as Br, Q as Vr, Qa as Hr, Qc as Ur, Qd as Wr, Qf as Gr, Qi as Kr, Ql as qr, Qn as Jr, Qo as Yr, Qr as Xr, Qs as Zr, Qt as Qr, Qu as $r, R as ei, Ra as ti, Rd as ni, Rf as ri, Ri as ii, Rl as ai, Rn as oi, Ro as si, Rp as ci, Rr as li, Rs as ui, Rt as di, Ru as fi, S as pi, Sa as mi, Sc as hi, Sd as gi, Sf as _i, Si as vi, Sl as yi, Sn as bi, So as xi, Sp as Si, Sr as Ci, Ss as wi, St as Ti, Su as Ei, T as Di, Ta as Oi, Tc as ki, Td as Ai, Tf as ji, Ti as Mi, Tl as Ni, Tn as Pi, To as Fi, Tp as Ii, Tr as Li, Ts as Ri, Tt as zi, Tu as Bi, U as Vi, Ua as Hi, Ud as Ui, Uf as Wi, Ui as Gi, Ul as Ki, Un as qi, Uo as Ji, Up as Yi, Ur as Xi, Us as Zi, Ut as Qi, Uu as $i, V as ea, Va as ta, Vd as na, Vf as ra, Vi as ia, Vl as aa, Vn as oa, Vo as sa, Vp as ca, Vr as la, Vs as ua, Vt as da, Vu as fa, W as pa, Wa as ma, Wd as ha, Wf as ga, Wi as _a, Wl as va, Wn as ya, Wo as ba, Wr as xa, Ws as Sa, Wt as Ca, Wu as wa, X as Ta, Xa as Ea, Xc as Da, Xd as Oa, Xf as ka, Xi as Aa, Xl as ja, Xn as Ma, Xo as Na, Xr as Pa, Xs as Fa, Xt as Ia, Xu as La, Y as Ra, Ya as za, Yc as Ba, Yd as Va, Yf as Ha, Yi as Ua, Yl as Wa, Yn as Ga, Yo as Ka, Yr as qa, Ys as Ja, Yt as Ya, Yu as Xa, Z as Za, Za as Qa, Zc as $a, Zd as eo, Zf as to, Zi as no, Zl as ro, Zn as io, Zo as ao, Zr as oo, Zs as so, Zt as co, Zu as lo, _ as uo, _a as fo, _c as po, _d as mo, _f as ho, _i as go, _l as _o, _n as vo, _o as yo, _p as bo, _r as xo, _s as So, _t as Co, _u as wo, a as To, aa as Eo, ac as Do, ad as Oo, af as ko, ai as Ao, al as jo, an as Mo, ao as No, ap as Po, ar as Fo, as as Io, at as Lo, au as Ro, b as zo, ba as Bo, bc as Vo, bd as Ho, bf as Uo, bi as Wo, bl as Go, bn as Ko, bo as qo, bp as Jo, br as Yo, bs as Xo, bt as Zo, bu as Qo, c as $o, ca as es, cc as ts, cd as ns, cf as rs, ci as is, cl as as, cn as os, co as ss, cp as cs, cr as ls, cs as us, ct as ds, cu as fs, d as Q, da as ps, dc as ms, dd as hs, df as gs, di as _s, dl as vs, dn as ys, do as bs, dp as xs, dr as Ss, ds as Cs, dt as ws, du as Ts, ea as Es, ec as Ds, ed as Os, ef as ks, ei as As, el as js, en as Ms, eo as Ns, ep as Ps, er as Fs, es as Is, et as Ls, eu as Rs, f as zs, fa as Bs, fc as Vs, fd as Hs, ff as $, fi as Us, fl as Ws, fn as Gs, fo as Ks, fp as qs, fr as Js, fs as Ys, ft as Xs, fu as Zs, g as Qs, ga as $s, gc as ec, gd as tc, gf as nc, gi as rc, gl as ic, gn as ac, go as oc, gp as sc, gr as cc, gs as lc, gt as uc, gu as dc, h as fc, ha as pc, hc as mc, hd as hc, hf as gc, hi as _c, hl as vc, hn as yc, ho as bc, hp as xc, hr as Sc, hs as Cc, ht as wc, hu as Tc, i as Ec, ia as Dc, ic as Oc, id as kc, if as Ac, ii as jc, il as Mc, in as Nc, io as Pc, ip as Fc, ir as Ic, is as Lc, it as Rc, iu as zc, j as Bc, ja as Vc, jc as Hc, jd as Uc, jf as Wc, ji as Gc, jl as Kc, jn as qc, jo as Jc, jp as Yc, jr as Xc, js as Zc, jt as Qc, ju as $c, k as el, ka as tl, kc as nl, kd as rl, kf as il, ki as al, kl as ol, kn as sl, ko as cl, kp as ll, kr as ul, ks as dl, kt as fl, ku as pl, l as ml, la as hl, lc as gl, ld as _l, lf as vl, li as yl, ll as bl, ln as xl, lo as Sl, lp as Cl, lr as wl, ls as Tl, lt as El, lu as Dl, m as Ol, ma as kl, mc as Al, md as jl, mf as Ml, mi as Nl, ml as Pl, mn as Fl, mo as Il, mp as Ll, mr as Rl, ms as zl, mt as Bl, mu as Vl, n as Hl, na as Ul, nc as Wl, nd as Gl, nf as Kl, ni as ql, nl as Jl, nn as Yl, no as Xl, np as Zl, nr as Ql, ns as $l, nt as eu, nu as tu, o as nu, oa as ru, oc as iu, od as au, of as ou, oi as su, ol as cu, on as lu, oo as uu, op as du, or as fu, os as pu, ot as mu, ou as hu, p as gu, pa as _u, pc as vu, pd as yu, pf as bu, pi as xu, pl as Su, pn as Cu, po as wu, pp as Tu, pr as Eu, ps as Du, pt as Ou, pu as ku, q as Au, qa as ju, qc as Mu, qd as Nu, qf as Pu, qi as Fu, ql as Iu, qn as Lu, qo as Ru, qr as zu, qs as Bu, qt as Vu, qu as Hu, r as Uu, ra as Wu, rc as Gu, rd as Ku, rf as qu, ri as Ju, rl as Yu, rn as Xu, ro as Zu, rp as Qu, rr as $u, rs as ed, rt as td, ru as nd, s as rd, sa as id, sc as ad, sd as od, sf as sd, si as cd, sl as ld, sn as ud, so as dd, sp as fd, sr as pd, ss as md, st as hd, su as gd, t as _d, ta as vd, tc as yd, td as bd, tf as xd, ti as Sd, tl as Cd, tn as wd, to as Td, tp as Ed, tr as Dd, ts as Od, tt as kd, tu as Ad, u as jd, ua as Md, uc as Nd, ud as Pd, uf as Fd, ui as Id, ul as Ld, un as Rd, uo as zd, up as Bd, ur as Vd, us as Hd, ut as Ud, uu as Wd, v as Gd, va as Kd, vc as qd, vd as Jd, vf as Yd, vi as Xd, vl as Zd, vn as Qd, vo as $d, vp as ef, vr as tf, vs as nf, vt as rf, vu as af, w as of, wa as sf, wc as cf, wd as lf, wf as uf, wi as df, wl as ff, wn as pf, wo as mf, wp as hf, wr as gf, ws as _f, wt as vf, wu as yf, x as bf, xa as xf, xc as Sf, xd as Cf, xf as wf, xi as Tf, xl as Ef, xn as Df, xo as Of, xp as kf, xr as Af, xs as jf, xt as Mf, xu as Nf, y as Pf, ya as Ff, yc as If, yd as Lf, yf as Rf, yi as zf, yl as Bf, yn as Vf, yo as Hf, yp as Uf, yr as Wf, ys as Gf, yt as Kf, yu as qf, z as Jf, za as Yf, zd as Xf, zf as Zf, zi as Qf, zl as $f, zn as ep, zo as tp, zp as np, zr as rp, zs as ip, zt as ap, zu as op } from "./main-DeilmPv5.js";
|
|
3
3
|
import { t as sp } from "./utils-Brj-Qb2N.js";
|
|
4
4
|
import { A as cp, B as lp, C as up, D as dp, E as fp, F as pp, H as mp, I as hp, L as gp, M as _p, N as vp, O as yp, P as bp, R as xp, S as Sp, T as Cp, U as wp, V as Tp, _ as Ep, a as Dp, b as Op, c as kp, d as Ap, f as jp, g as Mp, h as Np, i as Pp, j as Fp, k as Ip, l as Lp, m as Rp, n as zp, o as Bp, p as Vp, r as Hp, s as Up, t as Wp, u as Gp, v as Kp, w as qp, x as Jp, y as Yp, z as Xp } from "./lib-BDc9msmn.js";
|
|
5
5
|
import { a as Zp, c as Qp, d as $p, f as em, i as tm, l as nm, n as rm, o as im, p as am, r as om, s as sm, t as cm, u as lm } from "./i18n-CGol3PGw.js";
|
|
6
6
|
import { _ as um, a as dm, c as fm, g as pm, h as mm, i as hm, l as gm, n as _m, o as vm, r as ym, s as bm, t as xm, v as Sm, y as Cm } from "./hooks-tbav1b16.js";
|
|
7
7
|
import { L as wm, n as Tm, r as Em, t as Dm } from "./number.utils-BR3XO6me.js";
|
|
8
|
-
export { Fn as Accordion, Bd as AccordionCard, li as AccordionContent, np as AccordionItem, It as AccordionPrimitive, le as AccordionTrigger, Zl as ActionCard, Ed as Activity, wf as ActivityContent, ri as ActivityLayout, Pe as AlbumCard, O as Alert, Jc as AlertDialog, Jn as AlertDialogAction, cr as AlertDialogCancel, Ir as AlertDialogContent, ut as AlertDialogDescription, Yt as AlertDialogFooter, Pn as AlertDialogHeader, ci as AlertDialogOverlay, tp as AlertDialogPortal, ca as AlertDialogPrimitive, ce as AlertDialogTitle, sa as AlertDialogTrigger, ka as AnchorHeading, Pu as ApiEndpoint, Ke as ApiOperation, Fd as AppBreadcrumb, gs as AppBreadcrumbItem, $ as AppBreadcrumbSeparator, Xf as AppHeader, re as AppSidebar, gr as AreaChart, Iu as AttributeDialog, sn as AttributeForm, Wa as AttributeValueFormField, qi as AttributeValuesForm, aa as AttributeValuesFormFieldSet, or as AttributesField, Kn as AttributesFormField, Pr as AttributesList, La as Autocomplete, lo as AutocompleteChips, Xa as AutocompleteFormField, Ac as Avatar, ko as AvatarBase, ou as AvatarFallback, H as AvatarGroup, sd as AvatarImage, Uo as Background, an as Badge, Qn as BandCard, ol as Banner, Ae as BarChart, br as Barecode, Mi as BottomAppBar, bu as Breadcrumb, Ml as BreadcrumbEllipsis, gc as BreadcrumbItem, nc as BreadcrumbLink, ho as BreadcrumbList, Yd as BreadcrumbPage, Rf as BreadcrumbSeparator, Qc as BreakdownCard, lr as Button, Yn as ButtonGroup, ra as CODE_LANGUAGES, S as CSS, Vi as Calendar, tt as CalendarDayButton, Qu as Card, Fc as CardAction, Po as CardContent, du as CardDescription, fd as CardFooter, cs as CardHeader, Cl as CardTitle, gn as Carousel, Mu as CarouselContent, nn as CarouselItem, Ba as CarouselNext, Da as CarouselPrevious, Hc as ChartContainer, ec as ChatComposer, Sf as ChatComposerAttachmentChip, If as ChatComposerAttachmentList, Vo as ChatComposerAttachments, Al as ChatConversationItem, vu as ChatInbox, Gu as ChatMarkdown, Wl as ChatMessage, Ds as ChatMessageList, N as ChatMessageSeparator, Qr as ChatReactionGroup, so as ChatThread, yd as ChatTypingIndicator, Ja as CheckCardField, wi as CheckCardFormField, dn as Checkbox, Af as CheckboxFormField, Bu as CheckboxGroup, Yo as CheckboxGroupFormField, Je as ChecklistCard, je as Chip, pc as CircularProgress, An as CodeBlock, gl as CodeDiff, wn as CodeEditor, Wf as CodeEditorFormField, Gt as CodeGroup, Zi as Collapsible, Sa as CollapsibleContent, Tt as CollapsibleTrigger, de as ColorField, tf as ColorFormField, bd as Combobox, Gl as ComboboxChip, Ku as ComboboxChips, kc as ComboboxChipsInput, Oo as ComboboxCollection, au as ComboboxContent, od as ComboboxEmpty, ip as ComboboxField, xo as ComboboxFormField, ns as ComboboxGroup, _l as ComboboxInput, Pd as ComboboxItem, hs as ComboboxLabel, Hs as ComboboxList, Ge as ComboboxPrimitive, yu as ComboboxSeparator, jl as ComboboxTrigger, hc as ComboboxValue, q as Command, Zc as CommandDialog, Zn as CommandEmpty, dr as CommandGroup, zr as CommandInput, pt as CommandItem, Zt as CommandList, Ln as CommandSeparator, di as CommandShortcut, fl as CompareCard, Wu as ConfirmDialog, no as ConfirmationDialog, ze as ContactDialog, $e as ContactItem, dl as ContactType, zi as Contacts, _f as ContactsFormField, Tl as ContextMenu, Hd as ContextMenuCheckboxItem, Cs as ContextMenuContent, Ys as ContextMenuGroup, Du as ContextMenuItem, zl as ContextMenuLabel, Cc as ContextMenuPortal, lc as ContextMenuRadioGroup, So as ContextMenuRadioItem, nf as ContextMenuSeparator, Gf as ContextMenuShortcut, Xo as ContextMenuSub, jf as ContextMenuSubContent, Ti as ContextMenuSubTrigger, Te as ContextMenuTrigger, D as CopyButton, to as CopyValue, mc as CountBadge, Na as CountryField, cc as CountryFormField, Pi as CrewCard, ln as CurrencyField, Sc as CurrencyFormField, Aa as CustomAlertDialog, qr as CustomDialog, Tm as DATE_UTILS, El as DAY_OF_WEEK_FALLBACKS, ua as DEFAULT_COLOR, Ni as DEFAULT_FILTER_STATE, qe as DEFAULT_MAX_VISIBLE_CHIPS, Ne as DEFAULT_PERSISTENCE_CONFIG, yr as DEFAULT_PRESET_CONFIG, al as DEFAULT_VALIDATION_RULES, Yi as DataTable, Ft as DataTableColumnHeader, Sn as DataTablePagination, Ct as DataTableViewOptions, Di as DateField, De as DateFieldContent, yf as DateFieldTrigger, Nf as DateFormField, Ie as DateRangeField, Sr as DateRangeFieldTrigger, Rl as DateRangeFormField, dd as DefaultDocLink, Er as DeltaListCard, Xe as Description, _r as Dialog, rl as DialogClose, z as DialogContent, Uc as DialogDescription, Un as DialogFooter, rr as DialogHeader, jr as DialogOverlay, at as DialogPortal, Wt as DialogTitle, kn as DialogTrigger, u as DndOverlay, i as DndProvider, ju as Doc, Si as DocArticle, hn as DocChildCards, ma as DocCopyMarkdown, _t as DocCopyPage, Ui as DocEmpty, Yf as DocHeader, ss as DocLink, uu as DocNav, kr as DocPage, On as DocPager, w as DocProgress, Se as DocProvider, Ks as DocSearch, rt as DocSeeAlso, No as DocSidebar, Zu as DocSkipLink, Td as DocToc, Ur as DocTopbar, g as DragHandle, g as SortableHandle, p as Draggable, n as DraggableDroppable, sf as Drawer, ki as DrawerClose, Ue as DrawerContent, ke as DrawerDescription, hr as DrawerFooter, tl as DrawerHeader, L as DrawerOverlay, Vc as DrawerPortal, Vn as DrawerTitle, tr as DrawerTrigger, Tu as DropdownMenu, Ll as DropdownMenuCheckboxItem, xc as DropdownMenuContent, sc as DropdownMenuGroup, bo as DropdownMenuItem, ef as DropdownMenuLabel, Uf as DropdownMenuPortal, Jo as DropdownMenuRadioGroup, kf as DropdownMenuRadioItem, Ci as DropdownMenuSeparator, Ce as DropdownMenuShortcut, hf as DropdownMenuSub, Li as DropdownMenuSubContent, Ze as DropdownMenuSubTrigger, Le as DropdownMenuTrigger, l as Droppable, xf as DurationField, Eu as DurationFormField, hl as EmailField, Js as EmailFormField, Zs as EmojiList, gd as EmojiPicker, qt as EmptyState, id as EntityHeader, Es as EventCalendar, Eo as EventCalendarProvider, ff as EventCard, Dc as EventChip, Nt as ExtendedLabel, lm as FALLBACK_LANGUAGE, V as FILTER_CONTAINER_BREAKPOINTS, be as FeatureCard, jn as Field, Kt as Figure, Ef as FileCard, st as FileList, Nr as FileListField, Ss as FileListFormField, ar as FileListS3Field, Vd as FileListS3FormField, wl as FilesFormField, gf as Filter, ft as FilterActions, Rr as FilterChips, K as FilterContent, ul as FilterDialog, wr as FilterDrawer, ur as FilterField, we as FilterFormField, Xc as FilterGroup, Xn as FilterGroups, Re as FilterInline, Qe as FilterPopover, Xt as FilterPresets, In as FilterProvider, Ri as FilterSheet, ls as FormField, Be as FunnelCard, We as FunnelChart, pf as Gallery, kl as GaugeCard, et as GoalCard, Ai as HeatmapChart, Bi as HeatweekCard, Os as HelperText, Df as Hero, Of as HighlightText, vf as HistogramCard, vo as HoverCard, Qd as HoverCardContent, Vf as HoverCardTrigger, Ko as HydrateLoading, sm as I18nProvider, Cu as IMAGE_CROP_ASPECTS, xs as Icon, r as IconButton, Cr as IconLinkButton, Gs as ImageCropper, ys as ImageCropperDialog, on as ImageField, pd as ImageFormField, Fu as ImageS3Field, fu as ImageS3FormField, Ul as InlineEdit, Fo as InlineEditFormField, lf as Input, mo as InputGroup, Jd as InputGroupAddon, Lf as InputGroupButton, Ic as InputGroupField, $u as InputGroupFormField, Ho as InputGroupInput, Cf as InputGroupText, _i as InputGroupTextarea, iu as JsonViewer, ud as Kanban, xl as KanbanProvider, ld as Kbd, jo as KbdShortcut, $p as LANGUAGE_KEY, Rp as LOCALE_STORE_UTILS, F as Label, lu as LanguageSwitcher, Ee as LatencyCard, xe as LightboxGallery, nl as LineChart, ll as LinkButton, Go as LinkCard, wd as ListDetailsDetails, Yl as ListDetailsLayout, Xu as ListDetailsList, Nc as ListDetailsTrigger, Qo as ListTile, Ru as LoadMoreButton, ii as MOONLIGHT_DARK, Zf as MOONLIGHT_DAY, Oc as Markdown, Bf as MediaCard, qf as MentionList, fr as Menubar, Br as MenubarCheckboxItem, mt as MenubarContent, Qt as MenubarGroup, Rn as MenubarItem, fi as MenubarLabel, ap as MenubarMenu, fe as MenubarPortal, da as MenubarRadioGroup, zt as MenubarRadioItem, Qi as MenubarSeparator, Ca as MenubarShortcut, Et as MenubarSub, Tn as MenubarSubContent, Vu as MenubarSubTrigger, fn as MenubarTrigger, Do as MermaidDiagram, Zd as MessageCard, xi as MiniGallery, wc as NavigationRail, Qf as NetworkUploadField, Ql as NetworkUploadFormField, _o as NoticeCard, Xs as Notifications, Dt as NumberField, wa as NumberFormField, ic as OfferCard, ds as OpeningHours, hd as OpeningHoursDialog, mu as OpeningHoursFormField, Lo as OpeningHoursItem, Ud as OpeningHoursSchema, yn as OtpField, Dd as OtpFormField, vc as OverlayCard, pu as PHONE_COUNTRIES, Ei as PaceCard, ni as Pager, Hr as Pagination, Ta as PaginationBar, C as PaginationContent, Ls as PaginationEllipsis, kd as PaginationItem, eu as PaginationLink, td as PaginationNext, Rc as PaginationPrevious, Ia as PaneLayout, co as PaneLayoutContent, $r as PaneLayoutPane, P as PaneLayoutTrigger, Me as ParamTable, A as PasswordField, Yr as PasswordFormField, Ra as PdfOutlineSidebar, en as PdfPageList, Ot as PdfReader, mn as PdfSidebar, Au as PdfThumbnailSidebar, gt as PdfToolbar, Hi as PdfViewer, io as PercentField, Ma as PercentFormField, Xr as PhoneField, Ga as PhoneFormField, cf as PieChart, Pl as PlaceCard, fs as Popover, Dl as PopoverAnchor, Wd as PopoverContent, Ts as PopoverTrigger, ti as PostalAddress, Dn as PostalAddressDialog, Vt as PostalAddressFormField, Su as PricingCard, Ws as ProfileCard, fo as Progress, $s as ProgressField, nt as QRCode, Kd as QuestionCard, ps as Quiz, vs as QuoteCard, ge as RadarChart, Ki as RadioGroup, _a as RadioGroupBase, cn as RadioGroupFormField, bt as RadioGroupItem, Mf as RankCard, xn as RatingField, St as RatingFormField, Zo as RatioCard, Ld as ReceiptCard, Z as RelativeTime, Bn as ResizableGroup, er as ResizablePanel, Or as ResizableSeparator, Yc as ResponsiveButton, ct as ResponsiveGrid, G as ResponsiveLinkButton, bl as ReviewCard, hu as RichTextEditor, Ro as RichTextEditorFormField, ya as S3UploadField, Ji as S3UploadFormField, Xp as STRING_UTILS, kp as STYLES_UTILS, em as SUPPORTED_LANGUAGES, gi as ScatterChart, as as ScoreCard, Ns as ScrollProgress, Bc as ScrollToTop, ku as SearchField, Pt as SearchFormField, Ht as SeeAlso, Vr as Select, Fa as SelectCardField, oa as SelectCardFormField, Mt as SelectChipField, se as SelectChipFormField, ht as SelectContent, $n as SelectField, pr as SelectFieldTrigger, $c as SelectFormField, $t as SelectGroup, zn as SelectItem, pi as SelectLabel, op as SelectScrollDownButton, pe as SelectScrollUpButton, fa as SelectSeparator, Bt as SelectTrigger, $i as SelectValue, ei as Separator, Oa as Sheet, eo as SheetClose, Gr as SheetContent, E as SheetDescription, ks as SheetFooter, xd as SheetHeader, Kl as SheetTitle, qu as SheetTrigger, Mc as ShortcutCard, ha as Sidebar, vt as SidebarContent, _n as SidebarFooter, Nu as SidebarHeader, rn as SidebarMenuItem, Va as SidebarMenuLabel, Ut as Skeleton, it as SkeletonAvatar, nr as SkeletonCard, Hn as SkeletonTable, Ar as SkeletonText, Pc as SkipLink, ia as Slider, ep as SliderFormField, f as Sortable, si as SortableList, Nn as SortableListFormField, _ as SortableProvider, Kf as SparkbarCard, rf as Sparkline, dt as Spinner, qs as SplitButton, Yu as SplitCard, Jl as SpotlightCard, Cd as StackCard, I as StatCard, js as StatusCard, vl as StatusIndicator, Oe as Stepper, mr as StepperIndicator, Oi as Steps, He as StepsItem, Q as StxPlayer, Q as VideoPlayer, Qs as StxPlayerControls, fc as StxPlayerExtras, Ol as StxPlayerMini, uo as StxPlayerProvider, gu as StxPlayerQueue, zs as StxPlayerViewport, es as SummaryData, ae as Switch, Jt as SwitchFormField, jd as Switcher, Fr as TIMEZONES, vr as Table, il as TableBody, B as TableCaption, Wc as TableCell, Wn as TableFooter, ir as TableHead, Mr as TableHeader, ot as TableRow, Gi as Tabs, ga as TabsContent, yt as TabsList, vn as TabsTrigger, T as TagCard, rd as Terminal, Y as TextField, pl as TextFormField, _e as Textarea, Dr as TextareaField, Ve as TextareaFormField, nu as ThemeToggle, Ya as ThreadLayout, Co as ThresholdCard, Wr as TicketCard, ro as TimeField, Jr as TimeFieldTrigger, ja as TimeFormField, k as TimePicker, Ou as Timeline, $a as TimelineCard, Bl as TimelineItem, sr as TimezoneField, qn as TimezoneFormField, Mn as Toast, $f as Toaster, Xl as Toc, nd as Toggle, Rs as ToggleGroup, Ad as ToggleGroupItem, tu as ToggleGroupSeparator, e as Tooltip, ee as TooltipContent, te as TooltipPrimitive, b as TooltipProvider, t as TooltipTrigger, uf as TopAppBar, qc as TransferList, U as TransferListFormField, _d as Tree, To as TreeItem, uc as TrendCard, vi as Typography, Gc as URL_PARAM_SEPARATORS, ai as UploadField, sl as UploadFormField, Ye as UrlField, Fi as UrlFormField, Gn as VALIDATION_MESSAGES, As as VALIDATION_PATTERNS, Sd as VALIDATION_PRESETS, Bs as answeredCount, dc as applyMention, Sm as applyResolvedTheme, is as areFilterValuesEqual, m as arrayMove, Ha as badgeVariants, vp as buildFieldOptions, ym as buildOptions, Lr as buttonVariants, up as cast, qp as castAsync, Jf as cityLine, En as clampNumber, Lu as clampRating, yl as cleanFilterValues, Cp as cleanObject, oo as clearFromStorage, xa as clearPersistedFilterValues, la as clearPresets, _p as clientOnly, s as closestCenter, sp as cn, po as collectComposerAttachments, o as composeRefs, Tr as contactTypeLabel, va as convertAttributesToRecord, Bp as convertToFormData, Kr as copyToClipboard, Id as countActiveFilters, ao as countryOptions, Jp as createAsyncSlice, zo as createInitialState, Op as createSliceWithFilter, Kp as createStatusSlice, Yp as createStatusesSlice, Vp as createStepFormSlice, om as createTranslator, cm as createTypedTranslation, ql as createValidationRule, Fl as cropImageToFile, ba as dataTableFeatures, ws as dayOfWeekLabel, Vl as debounce, Sp as delay, Sl as docActions, zd as docSelectors, bs as docSlice, lp as enumToKebabCase, j as exampleNational, Tc as expandEmojiShortcodes, hm as extractNode, wu as filterDocNav, wo as filterMentions, Il as findActiveDocHref, na as findActiveMenuItem, bp as findByKey, pp as findByKeyIn, md as findCountry, bc as findDocChildren, oc as findDocPager, yo as findDocSiblings, Uu as findTreeNode, us as flagEmoji, $d as flattenDocNav, Ec as flattenVisibleTree, yp as formDataToObject, xt as formatAttributeDisplayedValue, bn as formatAttributesValues, Em as formatDateRangeFilter, bi as formatFileSize, _s as formatFilterValue, Is as formatInternational, Od as formatNational, Dm as formatNumber, ta as formatRelativeTime, J as formatStatDelta, of as formatTime, ye as generatePresetId, _c as getDefaultValuesFromSchema, rc as getFilterField, go as getFilterFieldLabel, Xd as getGroupFields, tm as getLanguage, yc as getRadianAngle, zf as getUngroupedFields, Ju as getValidationError, Wo as getVisibleFields, za as handleDocKeyDown, Us as hasActiveFilters, jc as hasValidationErrors, xu as haveFiltersChanged, Ps as headingText, ie as highlightCode, d as horizontalListSortingStrategy, x as iconButtonVariants, x as variants, Ip as ifEmptyList, cp as ifEmptyString, ji as inputDefaultClassNames, h as insertIds, Ff as isAnswerCorrect, Bo as isAnswered, Hf as isDocPathActive, Ea as isDocSearchHotkey, Md as isEmail, Hp as isExternalHref, Tf as isFieldVisible, Nl as isFilterValueEmpty, At as isMenuItemActive, $l as isPossiblePhoneNumber, X as isPostalAddressEmpty, Qa as isTypingTarget, Fe as isUrl, ed as isValidPhoneNumber, $o as joinTerminalLines, Tp as joinTruthyParts, Zr as loadFromStorage, zu as loadFromUrl, wt as loadPersistedFilterValues, Lt as loadPresets, yi as mapFilterFieldToFieldConfig, af as mentionQueryAt, im as mergeResources, hi as minutesToParts, Nd as moonlightThemeName, qo as navLabel, Rt as normalizeHex, xr as normalizeUrl, Fp as objectToFormData, fp as omit, Za as paginationItems, Ka as parseCurrencyInput, un as parseFromUrlParams, ad as parseJsonSource, Hu as parseNumberInput, Lc as parsePhoneInput, Wp as parsedType, Wi as partitionMenu, he as partsToMinutes, Cn as persistFilterValues, dp as pick, ne as pointerWithin, ea as postalAddressCountryName, ts as prettyJson, y as rectIntersection, ms as registerMoonlightThemes, Up as renderSlot, jt as resolveCodeLanguage, Gp as resolveSliceState, el as resolveStepState, Cm as resolveTheme, am as resources, ac as rotateSize, Np as safeGetItem, Mp as safeRemoveItem, Ep as safeSetItem, Vs as sanitizeHref, Xi as savePresets, M as saveToStorage, Fs as scorePassword, _u as scoreQuiz, Pp as searchParam, Dp as searchParams, qa as serializeToUrlParams, cu as shortcutGlyph, mp as slugify, oe as sonnerToast, df as sortPresets, Kc as splitAvatarOverflow, wp as splitMatch, rs as statusToneDotClass, pn as stepNumber, ml as stripAnsi, bf as stxPlayerActions, mi as stxPlayerSelectors, me as stxPlayerSlice, lt as timezoneLabel, kt as toDate, Io as toE164, oi as toast, Ua as toasts, zc as toggleVariants, Zp as translate, ve as typographyVariants, hp as uniqueArray, Pa as updateUrlWithFilters, jp as useActions, um as useAllowedTransitions, R as useChartTheme, qd as useChatComposerAttachments, cl as useColumnHelpers, tc as useComboboxAnchor, W as useDeleteRowsHandler, v as useDndActiveId, a as useDndItem, tn as useDoc, mf as useDocContext, vd as useEventCalendar, ru as useEventCalendarContext, rp as useFilter, ui as useFilterContext, ue as useFilterSelector, gp as useFindById, xp as useFindByKey, pm as useHeadingSpy, Qp as useI18nContext, wm as useIsClient, gm as useIsMobile, os as useKanban, Rd as useKanbanContext, Mo as useListDetails, mm as useLocalizedDate, rm as useMaterialTranslation, bm as useNavigationHandler, fm as useNavigationHandlers, vm as useNumberFormatter, Ii as useOptionalDocContext, nm as useOptionalI18nContext, dm as useOptions, Ms as usePaneLayout, pa as usePdfReader, _m as useSearchParam, Ap as useSliceReducer, Lp as useSliceSelector, Pf as useStxPlayer, Gd as useStxPlayerContext, xm as useTheme, Hl as useTree, Ao as validateAllFilters, su as validateField, cd as validateFilterValue, c as verticalListSortingStrategy, zp as zodLocaleError };
|
|
8
|
+
import { n as Om, t as km } from "./print-format.utils-CyR00FwK.js";
|
|
9
|
+
export { ci as Accordion, xs as AccordionCard, np as AccordionContent, le as AccordionItem, Yi as AccordionPrimitive, ca as AccordionTrigger, Qu as ActionCard, Zl as Activity, _i as ActivityContent, Xf as ActivityLayout, Pe as AlbumCard, O as Alert, Jc as AlertDialog, Jn as AlertDialogAction, cr as AlertDialogCancel, Fr as AlertDialogContent, ut as AlertDialogDescription, Yt as AlertDialogFooter, Fn as AlertDialogHeader, si as AlertDialogOverlay, tp as AlertDialogPortal, It as AlertDialogPrimitive, ce as AlertDialogTitle, sa as AlertDialogTrigger, to as AnchorHeading, on as ApiEndpoint, Me as ApiOperation, gs as AppBreadcrumb, $ as AppBreadcrumbItem, bu as AppBreadcrumbSeparator, re as AppHeader, na as AppSidebar, gr as AreaChart, Iu as AttributeDialog, cn as AttributeForm, Wa as AttributeValueFormField, Ki as AttributeValuesForm, aa as AttributeValuesFormFieldSet, or as AttributesField, Kn as AttributesFormField, Nr as AttributesList, La as Autocomplete, lo as AutocompleteChips, Xa as AutocompleteFormField, ko as Avatar, ou as AvatarBase, sd as AvatarFallback, H as AvatarGroup, rs as AvatarImage, wf as Background, Ha as Badge, Qn as BandCard, ol as Banner, Ae as BarChart, yr as Barecode, Ke as BottomAppBar, Ml as Breadcrumb, gc as BreadcrumbEllipsis, nc as BreadcrumbItem, ho as BreadcrumbLink, Yd as BreadcrumbList, Rf as BreadcrumbPage, Uo as BreadcrumbSeparator, Qc as BreakdownCard, Ir as Button, lr as ButtonGroup, jt as CODE_LANGUAGES, S as CSS, Bi as Calendar, tt as CalendarDayButton, Fc as Card, Po as CardAction, du as CardContent, fd as CardDescription, cs as CardFooter, Cl as CardHeader, Bd as CardTitle, _n as Carousel, Mu as CarouselContent, rn as CarouselItem, Ba as CarouselNext, Da as CarouselPrevious, Hc as ChartContainer, ec as ChatComposer, Sf as ChatComposerAttachmentChip, If as ChatComposerAttachmentList, Vo as ChatComposerAttachments, Al as ChatConversationItem, vu as ChatInbox, Gu as ChatMarkdown, Wl as ChatMessage, Ds as ChatMessageList, N as ChatMessageSeparator, Zr as ChatReactionGroup, so as ChatThread, yd as ChatTypingIndicator, Ja as CheckCardField, Ci as CheckCardFormField, fn as Checkbox, Af as CheckboxFormField, Bu as CheckboxGroup, Yo as CheckboxGroupFormField, Je as ChecklistCard, je as Chip, pc as CircularProgress, ri as CodeBlock, gl as CodeDiff, Tn as CodeEditor, Wf as CodeEditorFormField, jn as CodeGroup, Zi as Collapsible, Sa as CollapsibleContent, Tt as CollapsibleTrigger, de as ColorField, tf as ColorFormField, bd as Combobox, Gl as ComboboxChip, Ku as ComboboxChips, kc as ComboboxChipsInput, Oo as ComboboxCollection, au as ComboboxContent, od as ComboboxEmpty, ip as ComboboxField, xo as ComboboxFormField, ns as ComboboxGroup, _l as ComboboxInput, Pd as ComboboxItem, hs as ComboboxLabel, Hs as ComboboxList, Ge as ComboboxPrimitive, yu as ComboboxSeparator, jl as ComboboxTrigger, hc as ComboboxValue, q as Command, Zc as CommandDialog, Zn as CommandEmpty, dr as CommandGroup, Rr as CommandInput, pt as CommandItem, Qt as CommandList, Ln as CommandSeparator, ui as CommandShortcut, fl as CompareCard, Wu as ConfirmDialog, no as ConfirmationDialog, ze as ContactDialog, $e as ContactItem, dl as ContactType, Ri as Contacts, _f as ContactsFormField, Tl as ContextMenu, Hd as ContextMenuCheckboxItem, Cs as ContextMenuContent, Ys as ContextMenuGroup, Du as ContextMenuItem, zl as ContextMenuLabel, Cc as ContextMenuPortal, lc as ContextMenuRadioGroup, So as ContextMenuRadioItem, nf as ContextMenuSeparator, Gf as ContextMenuShortcut, Xo as ContextMenuSub, jf as ContextMenuSubContent, wi as ContextMenuSubTrigger, Te as ContextMenuTrigger, Ps as CopyButton, Gr as CopyValue, mc as CountBadge, Na as CountryField, cc as CountryFormField, Ni as CrewCard, un as CurrencyField, Sc as CurrencyFormField, Aa as CustomAlertDialog, Kr as CustomDialog, Tm as DATE_UTILS, El as DAY_OF_WEEK_FALLBACKS, ua as DEFAULT_COLOR, Mi as DEFAULT_FILTER_STATE, qe as DEFAULT_MAX_VISIBLE_CHIPS, Ne as DEFAULT_PERSISTENCE_CONFIG, vr as DEFAULT_PRESET_CONFIG, al as DEFAULT_VALIDATION_RULES, Ji as DataTable, Ft as DataTableColumnHeader, Cn as DataTablePagination, Ct as DataTableViewOptions, Ei as DateField, De as DateFieldContent, yf as DateFieldTrigger, Nf as DateFormField, Ie as DateRangeField, xr as DateRangeFieldTrigger, Rl as DateRangeFormField, dd as DefaultDocLink, Tr as DeltaListCard, Xe as Description, rl as Dialog, z as DialogClose, Uc as DialogContent, Un as DialogDescription, rr as DialogFooter, Ar as DialogHeader, at as DialogOverlay, Wt as DialogPortal, An as DialogTitle, ni as DialogTrigger, u as DndOverlay, i as DndProvider, ju as Doc, xi as DocArticle, gn as DocChildCards, ma as DocCopyMarkdown, _t as DocCopyPage, Hi as DocEmpty, Yf as DocHeader, ss as DocLink, uu as DocNav, Or as DocPage, kn as DocPager, w as DocProgress, Se as DocProvider, Ks as DocSearch, rt as DocSeeAlso, No as DocSidebar, Zu as DocSkipLink, Td as DocToc, Hr as DocTopbar, g as DragHandle, g as SortableHandle, p as Draggable, n as DraggableDroppable, sf as Drawer, Oi as DrawerClose, Ue as DrawerContent, ke as DrawerDescription, hr as DrawerFooter, tl as DrawerHeader, L as DrawerOverlay, Vc as DrawerPortal, Vn as DrawerTitle, tr as DrawerTrigger, Ll as DropdownMenu, xc as DropdownMenuCheckboxItem, sc as DropdownMenuContent, bo as DropdownMenuGroup, ef as DropdownMenuItem, Uf as DropdownMenuLabel, Jo as DropdownMenuPortal, kf as DropdownMenuRadioGroup, Si as DropdownMenuRadioItem, Ce as DropdownMenuSeparator, hf as DropdownMenuShortcut, Ii as DropdownMenuSub, Ze as DropdownMenuSubContent, Le as DropdownMenuSubTrigger, Sr as DropdownMenuTrigger, l as Droppable, xf as DurationField, Eu as DurationFormField, hl as EmailField, Js as EmailFormField, Zs as EmojiList, gd as EmojiPicker, qt as EmptyState, id as EntityHeader, Es as EventCalendar, Eo as EventCalendarProvider, ff as EventCard, Dc as EventChip, Nt as ExtendedLabel, lm as FALLBACK_LANGUAGE, V as FILTER_CONTAINER_BREAKPOINTS, be as FeatureCard, Mn as Field, Kt as Figure, Ef as FileCard, st as FileList, Mr as FileListField, Ss as FileListFormField, ar as FileListS3Field, Vd as FileListS3FormField, wl as FilesFormField, gf as Filter, ft as FilterActions, Lr as FilterChips, K as FilterContent, ul as FilterDialog, Cr as FilterDrawer, ur as FilterField, we as FilterFormField, Xc as FilterGroup, Xn as FilterGroups, Re as FilterInline, Qe as FilterPopover, Zt as FilterPresets, In as FilterProvider, Li as FilterSheet, ls as FormField, Be as FunnelCard, We as FunnelChart, pf as Gallery, kl as GaugeCard, et as GoalCard, ki as HeatmapChart, zi as HeatweekCard, Os as HelperText, Df as Hero, Of as HighlightText, vf as HistogramCard, vo as HoverCard, Qd as HoverCardContent, Vf as HoverCardTrigger, Ko as HydrateLoading, sm as I18nProvider, Cu as IMAGE_CROP_ASPECTS, qs as Icon, r as IconButton, ll as IconLinkButton, Gs as ImageCropper, ys as ImageCropperDialog, sn as ImageField, pd as ImageFormField, Fu as ImageS3Field, fu as ImageS3FormField, Ul as InlineEdit, Fo as InlineEditFormField, lf as Input, mo as InputGroup, Jd as InputGroupAddon, Lf as InputGroupButton, Ic as InputGroupField, $u as InputGroupFormField, Ho as InputGroupInput, Cf as InputGroupText, gi as InputGroupTextarea, iu as JsonViewer, ud as Kanban, xl as KanbanProvider, ld as Kbd, jo as KbdShortcut, $p as LANGUAGE_KEY, Rp as LOCALE_STORE_UTILS, F as Label, lu as LanguageSwitcher, Ee as LatencyCard, xe as LightboxGallery, nl as LineChart, G as LinkButton, Go as LinkCard, wd as ListDetailsDetails, Yl as ListDetailsLayout, Xu as ListDetailsList, Nc as ListDetailsTrigger, Qo as ListTile, Ru as LoadMoreButton, Zf as MOONLIGHT_DARK, ie as MOONLIGHT_DAY, Oc as Markdown, Bf as MediaCard, qf as MentionList, fr as Menubar, zr as MenubarCheckboxItem, mt as MenubarContent, $t as MenubarGroup, Rn as MenubarItem, di as MenubarLabel, ap as MenubarMenu, fe as MenubarPortal, da as MenubarRadioGroup, zt as MenubarRadioItem, Qi as MenubarSeparator, Ca as MenubarShortcut, Et as MenubarSub, En as MenubarSubContent, Vu as MenubarSubTrigger, pn as MenubarTrigger, Do as MermaidDiagram, Zd as MessageCard, bi as MiniGallery, wc as NavigationRail, Qf as NetworkUploadField, Ql as NetworkUploadFormField, _o as NoticeCard, Xs as Notifications, Dt as NumberField, wa as NumberFormField, ic as OfferCard, ds as OpeningHours, hd as OpeningHoursDialog, mu as OpeningHoursFormField, Lo as OpeningHoursItem, Ud as OpeningHoursSchema, bn as OtpField, Dd as OtpFormField, vc as OverlayCard, pu as PHONE_COUNTRIES, Ti as PaceCard, ti as Pager, Vr as Pagination, Ta as PaginationBar, C as PaginationContent, Ls as PaginationEllipsis, kd as PaginationItem, eu as PaginationLink, td as PaginationNext, Rc as PaginationPrevious, Ia as PaneLayout, co as PaneLayoutContent, Qr as PaneLayoutPane, P as PaneLayoutTrigger, _r as ParamTable, A as PasswordField, Jr as PasswordFormField, Ra as PdfOutlineSidebar, tn as PdfPageList, Ot as PdfReader, hn as PdfSidebar, Au as PdfThumbnailSidebar, gt as PdfToolbar, Vi as PdfViewer, io as PercentField, Ma as PercentFormField, Yr as PhoneField, Ga as PhoneFormField, cf as PieChart, Pl as PlaceCard, fs as Popover, Dl as PopoverAnchor, Wd as PopoverContent, Ts as PopoverTrigger, ei as PostalAddress, On as PostalAddressDialog, Vt as PostalAddressFormField, Su as PricingCard, Ws as ProfileCard, fo as Progress, $s as ProgressField, nt as QRCode, Kd as QuestionCard, ps as Quiz, vs as QuoteCard, ge as RadarChart, Gi as RadioGroup, _a as RadioGroupBase, ln as RadioGroupFormField, bt as RadioGroupItem, Mf as RankCard, Sn as RatingField, St as RatingFormField, Zo as RatioCard, Ld as ReceiptCard, Z as RelativeTime, Bn as ResizableGroup, er as ResizablePanel, Dr as ResizableSeparator, Yn as ResponsiveButton, ct as ResponsiveGrid, Yc as ResponsiveLinkButton, bl as ReviewCard, hu as RichTextEditor, Ro as RichTextEditorFormField, ya as S3UploadField, qi as S3UploadFormField, Xp as STRING_UTILS, kp as STYLES_UTILS, em as SUPPORTED_LANGUAGES, hi as ScatterChart, as as ScoreCard, Ns as ScrollProgress, Bc as ScrollToTop, ku as SearchField, Pt as SearchFormField, Ht as SeeAlso, Br as Select, Fa as SelectCardField, oa as SelectCardFormField, Mt as SelectChipField, se as SelectChipFormField, ht as SelectContent, $n as SelectField, pr as SelectFieldTrigger, $c as SelectFormField, en as SelectGroup, zn as SelectItem, fi as SelectLabel, op as SelectScrollDownButton, pe as SelectScrollUpButton, fa as SelectSeparator, Bt as SelectTrigger, $i as SelectValue, $r as Separator, eo as Sheet, Wr as SheetClose, E as SheetContent, ks as SheetDescription, xd as SheetFooter, Kl as SheetHeader, qu as SheetTitle, Ac as SheetTrigger, Mc as ShortcutCard, vt as Sidebar, vn as SidebarContent, Nu as SidebarFooter, an as SidebarHeader, Va as SidebarMenuItem, Oa as SidebarMenuLabel, Ut as Skeleton, it as SkeletonAvatar, nr as SkeletonCard, Hn as SkeletonTable, kr as SkeletonText, Pc as SkipLink, ia as Slider, ep as SliderFormField, f as Sortable, oi as SortableList, Pn as SortableListFormField, _ as SortableProvider, Kf as SparkbarCard, rf as Sparkline, Xt as Spinner, Tu as SplitButton, Yu as SplitCard, Jl as SpotlightCard, Cd as StackCard, I as StatCard, js as StatusCard, Fd as StatusIndicator, Oe as Stepper, mr as StepperIndicator, Di as Steps, He as StepsItem, Q as StxPlayer, Q as VideoPlayer, Qs as StxPlayerControls, fc as StxPlayerExtras, Ol as StxPlayerMini, uo as StxPlayerProvider, gu as StxPlayerQueue, zs as StxPlayerViewport, es as SummaryData, ae as Switch, Jt as SwitchFormField, jd as Switcher, Pr as TIMEZONES, il as Table, B as TableBody, Wc as TableCaption, Wn as TableCell, ir as TableFooter, jr as TableHead, ot as TableHeader, Gt as TableRow, ga as Tabs, yt as TabsContent, yn as TabsList, Pu as TabsTrigger, T as TagCard, rd as Terminal, Y as TextField, pl as TextFormField, _e as Textarea, Er as TextareaField, Ve as TextareaFormField, nu as ThemeToggle, Ya as ThreadLayout, Co as ThresholdCard, Ur as TicketCard, ro as TimeField, qr as TimeFieldTrigger, ja as TimeFormField, k as TimePicker, Ou as Timeline, $a as TimelineCard, Bl as TimelineItem, sr as TimezoneField, qn as TimezoneFormField, Nn as Toast, $f as Toaster, Xl as Toc, nd as Toggle, Rs as ToggleGroup, Ad as ToggleGroupItem, tu as ToggleGroupSeparator, e as Tooltip, ee as TooltipContent, te as TooltipPrimitive, b as TooltipProvider, t as TooltipTrigger, ji as TopAppBar, qc as TransferList, U as TransferListFormField, _d as Tree, To as TreeItem, uc as TrendCard, ve as Typography, Gc as URL_PARAM_SEPARATORS, ii as UploadField, sl as UploadFormField, Ye as UrlField, Pi as UrlFormField, Gn as VALIDATION_MESSAGES, As as VALIDATION_PATTERNS, Sd as VALIDATION_PRESETS, Bs as answeredCount, dc as applyMention, Sm as applyResolvedTheme, is as areFilterValuesEqual, m as arrayMove, ka as badgeVariants, vp as buildFieldOptions, ym as buildOptions, dt as buttonVariants, up as cast, qp as castAsync, Jf as cityLine, Dn as clampNumber, Lu as clampRating, yl as cleanFilterValues, Cp as cleanObject, oo as clearFromStorage, xa as clearPersistedFilterValues, la as clearPresets, _p as clientOnly, s as closestCenter, sp as cn, po as collectComposerAttachments, o as composeRefs, wr as contactTypeLabel, va as convertAttributesToRecord, Bp as convertToFormData, D as copyToClipboard, Id as countActiveFilters, ao as countryOptions, Jp as createAsyncSlice, zo as createInitialState, Op as createSliceWithFilter, Kp as createStatusSlice, Yp as createStatusesSlice, Vp as createStepFormSlice, om as createTranslator, cm as createTypedTranslation, ql as createValidationRule, Fl as cropImageToFile, ba as dataTableFeatures, ws as dayOfWeekLabel, Vl as debounce, Sp as delay, Sl as docActions, zd as docSelectors, bs as docSlice, lp as enumToKebabCase, j as exampleNational, Tc as expandEmojiShortcodes, hm as extractNode, wu as filterDocNav, wo as filterMentions, Il as findActiveDocHref, At as findActiveMenuItem, bp as findByKey, pp as findByKeyIn, md as findCountry, bc as findDocChildren, oc as findDocPager, yo as findDocSiblings, Uu as findTreeNode, us as flagEmoji, $d as flattenDocNav, Ec as flattenVisibleTree, yp as formDataToObject, km as formatAmount, xt as formatAttributeDisplayedValue, xn as formatAttributesValues, Om as formatDate, Em as formatDateRangeFilter, yi as formatFileSize, _s as formatFilterValue, Is as formatInternational, Od as formatNational, Dm as formatNumber, ta as formatRelativeTime, J as formatStatDelta, of as formatTime, ye as generatePresetId, _c as getDefaultValuesFromSchema, rc as getFilterField, go as getFilterFieldLabel, Xd as getGroupFields, tm as getLanguage, yc as getRadianAngle, zf as getUngroupedFields, Ju as getValidationError, Wo as getVisibleFields, za as handleDocKeyDown, Us as hasActiveFilters, jc as hasValidationErrors, xu as haveFiltersChanged, Ed as headingText, ra as highlightCode, d as horizontalListSortingStrategy, x as iconButtonVariants, x as variants, Ip as ifEmptyList, cp as ifEmptyString, Ai as inputDefaultClassNames, h as insertIds, Ff as isAnswerCorrect, Bo as isAnswered, Hf as isDocPathActive, Ea as isDocSearchHotkey, Md as isEmail, Hp as isExternalHref, Tf as isFieldVisible, Nl as isFilterValueEmpty, Ui as isMenuItemActive, $l as isPossiblePhoneNumber, X as isPostalAddressEmpty, Qa as isTypingTarget, Fe as isUrl, ed as isValidPhoneNumber, $o as joinTerminalLines, Tp as joinTruthyParts, Xr as loadFromStorage, zu as loadFromUrl, wt as loadPersistedFilterValues, Lt as loadPresets, vi as mapFilterFieldToFieldConfig, af as mentionQueryAt, im as mergeResources, mi as minutesToParts, Nd as moonlightThemeName, qo as navLabel, Rt as normalizeHex, br as normalizeUrl, Fp as objectToFormData, fp as omit, Za as paginationItems, Ka as parseCurrencyInput, dn as parseFromUrlParams, ad as parseJsonSource, Hu as parseNumberInput, Lc as parsePhoneInput, Wp as parsedType, ha as partitionMenu, he as partsToMinutes, wn as persistFilterValues, dp as pick, ne as pointerWithin, ea as postalAddressCountryName, ts as prettyJson, y as rectIntersection, ms as registerMoonlightThemes, Up as renderSlot, Wi as resolveCodeLanguage, Gp as resolveSliceState, el as resolveStepState, Cm as resolveTheme, am as resources, ac as rotateSize, Np as safeGetItem, Mp as safeRemoveItem, Ep as safeSetItem, Vs as sanitizeHref, Xi as savePresets, M as saveToStorage, Fs as scorePassword, _u as scoreQuiz, Pp as searchParam, Dp as searchParams, qa as serializeToUrlParams, cu as shortcutGlyph, mp as slugify, oe as sonnerToast, df as sortPresets, Kc as splitAvatarOverflow, wp as splitMatch, vl as statusToneDotClass, mn as stepNumber, ml as stripAnsi, bf as stxPlayerActions, pi as stxPlayerSelectors, me as stxPlayerSlice, lt as timezoneLabel, kt as toDate, Io as toE164, ai as toast, Ua as toasts, zc as toggleVariants, Zp as translate, uf as typographyVariants, hp as uniqueArray, Pa as updateUrlWithFilters, jp as useActions, um as useAllowedTransitions, R as useChartTheme, qd as useChatComposerAttachments, cl as useColumnHelpers, tc as useComboboxAnchor, W as useDeleteRowsHandler, v as useDndActiveId, a as useDndItem, nn as useDoc, mf as useDocContext, vd as useEventCalendar, ru as useEventCalendarContext, rp as useFilter, li as useFilterContext, ue as useFilterSelector, gp as useFindById, xp as useFindByKey, pm as useHeadingSpy, Qp as useI18nContext, wm as useIsClient, gm as useIsMobile, os as useKanban, Rd as useKanbanContext, Mo as useListDetails, mm as useLocalizedDate, rm as useMaterialTranslation, bm as useNavigationHandler, fm as useNavigationHandlers, vm as useNumberFormatter, Fi as useOptionalDocContext, nm as useOptionalI18nContext, dm as useOptions, Ms as usePaneLayout, pa as usePdfReader, _m as useSearchParam, Ap as useSliceReducer, Lp as useSliceSelector, Pf as useStxPlayer, Gd as useStxPlayerContext, xm as useTheme, Hl as useTree, Ao as validateAllFilters, su as validateField, cd as validateFilterValue, c as verticalListSortingStrategy, zp as zodLocaleError };
|
package/dist/map.js
ADDED
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
import { S as e, b as t } from "./sortable-provider-BCaeM3pZ.js";
|
|
2
|
+
import { Ad as n, Au as r, Ld as i, Md as a, Nd as o, Od as s, Pp as c, Rd as l, _n as u, jd as d, kd as f, np as p, vn as m, yn as h } from "./main-DeilmPv5.js";
|
|
3
|
+
import { t as g } from "./utils-Brj-Qb2N.js";
|
|
4
|
+
import { MapIcon as _, MapPin as v, Minus as y, Plus as b } from "lucide-react";
|
|
5
|
+
import { useCallback as x, useEffect as S, useEffectEvent as C, useMemo as w, useRef as T, useState as E } from "react";
|
|
6
|
+
import { jsx as D, jsxs as O } from "react/jsx-runtime";
|
|
7
|
+
import { MapContainer as k, Rectangle as A, TileLayer as j, ZoomControl as M, useMap as N, useMapEvent as P, useMapEvents as F } from "react-leaflet";
|
|
8
|
+
import { useGeolocated as I } from "react-geolocated";
|
|
9
|
+
import { Marker as L } from "@adamscybot/react-leaflet-component-marker";
|
|
10
|
+
import { useEventHandlers as R, useLeafletContext as z } from "@react-leaflet/core";
|
|
11
|
+
//#region lib/map/components/consts.ts
|
|
12
|
+
var B = {
|
|
13
|
+
bottomleft: "leaflet-bottom leaflet-left",
|
|
14
|
+
bottomright: "leaflet-bottom leaflet-right",
|
|
15
|
+
topleft: "leaflet-top leaflet-left",
|
|
16
|
+
topright: "leaflet-top leaflet-right"
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region lib/map/use-geolocation.ts
|
|
20
|
+
function V(e = {}) {
|
|
21
|
+
return I({
|
|
22
|
+
...e,
|
|
23
|
+
positionOptions: e.positionOptions ?? { enableHighAccuracy: !1 },
|
|
24
|
+
userDecisionTimeout: e.userDecisionTimeout ?? 5e3
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region lib/map/components/partials/marker.tsx
|
|
29
|
+
function H({ position: n, onChange: r, draggable: i, children: a, tooltip: o, reference: s, icon: c, ...l }) {
|
|
30
|
+
let u = F({ viewreset() {
|
|
31
|
+
s && r?.(u.getCenter());
|
|
32
|
+
} }), d = T(null), f = w(() => ({ dragend() {
|
|
33
|
+
let e = d.current;
|
|
34
|
+
e != null && r?.(e.getLatLng());
|
|
35
|
+
} }), [r]), p = C((e) => {
|
|
36
|
+
s && u.flyTo(e, u.getZoom());
|
|
37
|
+
});
|
|
38
|
+
return S(() => {
|
|
39
|
+
p(n);
|
|
40
|
+
}, [n]), /* @__PURE__ */ D(L, {
|
|
41
|
+
...l,
|
|
42
|
+
draggable: i,
|
|
43
|
+
eventHandlers: f,
|
|
44
|
+
position: n,
|
|
45
|
+
ref: d,
|
|
46
|
+
icon: o ? /* @__PURE__ */ D(e, {
|
|
47
|
+
content: o,
|
|
48
|
+
children: c ?? /* @__PURE__ */ D(t, {
|
|
49
|
+
color: "error",
|
|
50
|
+
variant: "tonal",
|
|
51
|
+
children: /* @__PURE__ */ D(v, {})
|
|
52
|
+
})
|
|
53
|
+
}) : c ?? /* @__PURE__ */ D(t, {
|
|
54
|
+
color: "error",
|
|
55
|
+
variant: "tonal",
|
|
56
|
+
children: /* @__PURE__ */ D(v, {})
|
|
57
|
+
}),
|
|
58
|
+
children: a
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region lib/map/components/partials/location-marker.tsx
|
|
63
|
+
function U({ ...e }) {
|
|
64
|
+
let { coords: n } = V(), r = N();
|
|
65
|
+
return S(() => {
|
|
66
|
+
n && r.flyTo([n.latitude, n.longitude], r.getZoom());
|
|
67
|
+
}, [
|
|
68
|
+
n,
|
|
69
|
+
r.flyTo,
|
|
70
|
+
r.getZoom
|
|
71
|
+
]), n ? /* @__PURE__ */ D(H, {
|
|
72
|
+
...e,
|
|
73
|
+
tooltip: "You are here",
|
|
74
|
+
icon: e.icon ?? /* @__PURE__ */ D(t, {
|
|
75
|
+
color: "error",
|
|
76
|
+
children: /* @__PURE__ */ D(v, {})
|
|
77
|
+
}),
|
|
78
|
+
position: [n.latitude, n.longitude],
|
|
79
|
+
draggable: !0
|
|
80
|
+
}) : null;
|
|
81
|
+
}
|
|
82
|
+
//#endregion
|
|
83
|
+
//#region lib/map/components/partials/location-preview.tsx
|
|
84
|
+
function W({ name: e, position: n, children: r }) {
|
|
85
|
+
"use no memo";
|
|
86
|
+
let [i, a] = E(!1);
|
|
87
|
+
return /* @__PURE__ */ O(u, {
|
|
88
|
+
open: i,
|
|
89
|
+
onOpenChange: a,
|
|
90
|
+
children: [/* @__PURE__ */ D(h, {
|
|
91
|
+
asChild: !0,
|
|
92
|
+
children: r ?? /* @__PURE__ */ D(t, {
|
|
93
|
+
variant: "tonal",
|
|
94
|
+
"data-pw": `${e ?? "location"}-preview`,
|
|
95
|
+
color: "info",
|
|
96
|
+
children: /* @__PURE__ */ D(_, {})
|
|
97
|
+
})
|
|
98
|
+
}), /* @__PURE__ */ D(m, {
|
|
99
|
+
className: "aspect-square",
|
|
100
|
+
children: /* @__PURE__ */ D(Y, {
|
|
101
|
+
center: n,
|
|
102
|
+
showMinicardControl: !1,
|
|
103
|
+
children: /* @__PURE__ */ D(H, { position: n })
|
|
104
|
+
})
|
|
105
|
+
})]
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
//#endregion
|
|
109
|
+
//#region lib/map/components/partials/map-actions.tsx
|
|
110
|
+
function G({ position: e = "topleft", className: n, ...r }) {
|
|
111
|
+
let i = N(), { coords: a } = V(), o = x(() => {
|
|
112
|
+
i.setView(i.getCenter(), i.getZoom() + 1, { animate: !0 });
|
|
113
|
+
}, [i]), s = x(() => {
|
|
114
|
+
i.setView(i.getCenter(), Math.max(i.getZoom() - 1, 0), { animate: !0 });
|
|
115
|
+
}, [i]);
|
|
116
|
+
return S(() => {
|
|
117
|
+
a && i.setView([a.latitude, a.longitude], i.getZoom());
|
|
118
|
+
}, [a, i]), /* @__PURE__ */ D("div", {
|
|
119
|
+
className: g(B[e], "border-primary"),
|
|
120
|
+
children: /* @__PURE__ */ D("div", {
|
|
121
|
+
className: "leaflet-control leaflet-bar border-primary",
|
|
122
|
+
children: /* @__PURE__ */ O("div", {
|
|
123
|
+
className: g("grid gap-1 p-0.5 bg-paper rounded *:z-[300]", n),
|
|
124
|
+
...r,
|
|
125
|
+
children: [/* @__PURE__ */ D(t, {
|
|
126
|
+
onClick: o,
|
|
127
|
+
children: /* @__PURE__ */ D(b, {})
|
|
128
|
+
}), /* @__PURE__ */ D(t, {
|
|
129
|
+
disabled: i.getZoom() === 0,
|
|
130
|
+
onClick: s,
|
|
131
|
+
children: /* @__PURE__ */ D(y, {})
|
|
132
|
+
})]
|
|
133
|
+
})
|
|
134
|
+
})
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
//#endregion
|
|
138
|
+
//#region lib/map/components/partials/minimap-control.tsx
|
|
139
|
+
var K = { weight: 1 };
|
|
140
|
+
function q({ parentMap: e, zoom: t }) {
|
|
141
|
+
let n = N();
|
|
142
|
+
P("click", x((t) => {
|
|
143
|
+
e.setView(t.latlng, e.getZoom());
|
|
144
|
+
}, [e]));
|
|
145
|
+
let r = z(), [i, a] = E(e.getBounds()), o = x(() => {
|
|
146
|
+
a(e.getBounds()), n.setView(e.getCenter(), t);
|
|
147
|
+
}, [
|
|
148
|
+
n,
|
|
149
|
+
e,
|
|
150
|
+
t
|
|
151
|
+
]), s = w(() => ({
|
|
152
|
+
move: o,
|
|
153
|
+
zoom: o
|
|
154
|
+
}), [o]);
|
|
155
|
+
return R({
|
|
156
|
+
instance: e,
|
|
157
|
+
context: r
|
|
158
|
+
}, s), /* @__PURE__ */ D(A, {
|
|
159
|
+
bounds: i,
|
|
160
|
+
pathOptions: K
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
function J({ position: e, zoom: t }) {
|
|
164
|
+
let n = N(), r = t || 0, i = w(() => /* @__PURE__ */ O(k, {
|
|
165
|
+
className: g("size-24 ring-1 ring-error border-none rounded-xs hover:shadow p-0.5 bg-background", "cursor-pointer"),
|
|
166
|
+
center: n.getCenter(),
|
|
167
|
+
zoom: r,
|
|
168
|
+
dragging: !1,
|
|
169
|
+
doubleClickZoom: !1,
|
|
170
|
+
scrollWheelZoom: !1,
|
|
171
|
+
attributionControl: !1,
|
|
172
|
+
zoomControl: !1,
|
|
173
|
+
children: [/* @__PURE__ */ D(j, { url: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" }), /* @__PURE__ */ D(q, {
|
|
174
|
+
parentMap: n,
|
|
175
|
+
zoom: r
|
|
176
|
+
})]
|
|
177
|
+
}), [n, r]);
|
|
178
|
+
return /* @__PURE__ */ D("div", {
|
|
179
|
+
className: e && B[e] || B.topright,
|
|
180
|
+
children: /* @__PURE__ */ D("div", {
|
|
181
|
+
className: "leaflet-control leaflet-bar",
|
|
182
|
+
children: i
|
|
183
|
+
})
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
//#endregion
|
|
187
|
+
//#region lib/map/components/map.tsx
|
|
188
|
+
function Y({ className: e, children: t, showMinicardControl: n = !0, zoom: r = 13, zoomControl: i = !1, scrollWheelZoom: a = !1, ...o }) {
|
|
189
|
+
let { coords: s } = V();
|
|
190
|
+
return /* @__PURE__ */ O(k, {
|
|
191
|
+
...o,
|
|
192
|
+
center: o.center ?? [s?.latitude ?? 5.44087, s?.longitude ?? 10.06843],
|
|
193
|
+
zoomControl: i,
|
|
194
|
+
zoom: r,
|
|
195
|
+
scrollWheelZoom: a,
|
|
196
|
+
className: g("size-full ring-1 ring-primary rounded", e),
|
|
197
|
+
children: [
|
|
198
|
+
/* @__PURE__ */ D(j, {
|
|
199
|
+
attribution: "© <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors",
|
|
200
|
+
url: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
|
|
201
|
+
}),
|
|
202
|
+
/* @__PURE__ */ D(p, {
|
|
203
|
+
visible: n,
|
|
204
|
+
children: /* @__PURE__ */ D(J, {
|
|
205
|
+
position: "topright",
|
|
206
|
+
zoom: 6
|
|
207
|
+
})
|
|
208
|
+
}),
|
|
209
|
+
/* @__PURE__ */ D(M, { position: "topleft" }),
|
|
210
|
+
t
|
|
211
|
+
]
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
//#endregion
|
|
215
|
+
//#region lib/map/components/location-field.tsx
|
|
216
|
+
function X({ value: e, onChange: s, dialogTitle: u, closeLabel: p, mapClassName: m, ...h }) {
|
|
217
|
+
let _ = x((e) => {
|
|
218
|
+
e && s?.([parseFloat(e.lat.toFixed(7)), parseFloat(e.lng.toFixed(7))]);
|
|
219
|
+
}, [s]), [y, b] = E(!1), S = x(() => {
|
|
220
|
+
b(!1);
|
|
221
|
+
}, []), C = [e?.[0] ?? 5.44087, e?.[1] ?? 10.06843];
|
|
222
|
+
return /* @__PURE__ */ D(r, {
|
|
223
|
+
...h,
|
|
224
|
+
value: C.join(" - "),
|
|
225
|
+
leading: /* @__PURE__ */ D(W, {
|
|
226
|
+
position: C,
|
|
227
|
+
children: h.leading
|
|
228
|
+
}),
|
|
229
|
+
trailing: /* @__PURE__ */ O(f, {
|
|
230
|
+
open: y,
|
|
231
|
+
onOpenChange: b,
|
|
232
|
+
children: [/* @__PURE__ */ D(l, {
|
|
233
|
+
asChild: !0,
|
|
234
|
+
children: h.trailing ?? /* @__PURE__ */ D(t, {
|
|
235
|
+
"data-pw": `${h.name}-trailing`,
|
|
236
|
+
variant: "tonal",
|
|
237
|
+
children: /* @__PURE__ */ D(v, {})
|
|
238
|
+
})
|
|
239
|
+
}), /* @__PURE__ */ O(d, { children: [
|
|
240
|
+
/* @__PURE__ */ D(n, {
|
|
241
|
+
variant: "tonal",
|
|
242
|
+
color: "primary"
|
|
243
|
+
}),
|
|
244
|
+
/* @__PURE__ */ D(i, { children: u ?? "Choose a location" }),
|
|
245
|
+
/* @__PURE__ */ D(a, { hidden: !0 }),
|
|
246
|
+
/* @__PURE__ */ D(Y, {
|
|
247
|
+
center: C,
|
|
248
|
+
className: g(m),
|
|
249
|
+
children: /* @__PURE__ */ D(H, {
|
|
250
|
+
position: C,
|
|
251
|
+
onChange: _,
|
|
252
|
+
draggable: !h.disabled && !h.readOnly,
|
|
253
|
+
reference: !h.disabled && !h.readOnly
|
|
254
|
+
})
|
|
255
|
+
}),
|
|
256
|
+
/* @__PURE__ */ D(o, { children: /* @__PURE__ */ D(c, {
|
|
257
|
+
onClick: S,
|
|
258
|
+
children: p ?? "OK"
|
|
259
|
+
}) })
|
|
260
|
+
] })]
|
|
261
|
+
})
|
|
262
|
+
});
|
|
263
|
+
}
|
|
264
|
+
//#endregion
|
|
265
|
+
//#region lib/map/components/location-form-field.tsx
|
|
266
|
+
function Z({ control: e, name: t, ...n }) {
|
|
267
|
+
return /* @__PURE__ */ D(s, {
|
|
268
|
+
control: e,
|
|
269
|
+
name: t,
|
|
270
|
+
render: ({ field: e, fieldState: t }) => /* @__PURE__ */ D(X, {
|
|
271
|
+
...n,
|
|
272
|
+
id: n.id ?? e.name,
|
|
273
|
+
"aria-invalid": t.invalid,
|
|
274
|
+
name: e.name,
|
|
275
|
+
value: e.value,
|
|
276
|
+
disabled: e.disabled,
|
|
277
|
+
onBlur: e.onBlur,
|
|
278
|
+
onChange: e.onChange,
|
|
279
|
+
error: t.invalid,
|
|
280
|
+
helperText: t.error?.message
|
|
281
|
+
})
|
|
282
|
+
});
|
|
283
|
+
}
|
|
284
|
+
//#endregion
|
|
285
|
+
export { X as LocationField, Z as LocationFormField, U as LocationMarker, W as LocationPreview, Y as Map, Y as MapComponent, G as MapActions, H as Marker, J as MinimapControl, B as POSITION_CLASSES, V as useGeolocation };
|