izen-react-starter 2.7.24 → 2.7.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{2SSKDMRQ-BOFTPtN8.js → 2SSKDMRQ-BKQXw_O8.js} +2 -2
- package/dist/{AP7HFJJL-Ctf7e6p3.js → AP7HFJJL-CUndpFwm.js} +1 -1
- package/dist/{WDYDFRGG-DHl8MKfC.js → WDYDFRGG-C0LIooDk.js} +2 -2
- package/dist/{index-DQKKp1En.js → index-STpCW09w.js} +3 -3
- package/dist/react-starter.js +1 -1
- package/dist/react-starter.umd.cjs +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./AP7HFJJL-
|
|
2
|
-
import { g as h, c as v, a as e } from "./index-
|
|
1
|
+
import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./AP7HFJJL-CUndpFwm.js";
|
|
2
|
+
import { g as h, c as v, a as e } from "./index-STpCW09w.js";
|
|
3
3
|
var C = (r) => {
|
|
4
4
|
const [t, o] = s({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var xs = Object.defineProperty;
|
|
2
2
|
var $s = (e, t, n) => t in e ? xs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var Re = (e, t, n) => $s(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { b as $e, d as B, o as ft, e as H, c as P, a as m, P as No, m as ve, S as K, t as _, i as k, f as U, h as F, j as Cs, k as ur, u as Ce, l as V, s as Qn, n as Yn, p as gt, q as T, r as Ss, v as Ut, w as _t, x as qe, y as ks, z as Rt, A as Bt, B as Es, C as Ds, D as En, F as As, E as Ht, $ as Ho, G as Ms, H as Ts, I as W, J as Vr, K as Fs, L as Is, M as cr, N as Os, O as Ls, Q as Hn, R as Ps, T as qs, U as ie, V as _s, W as Rs } from "./index-
|
|
4
|
+
import { b as $e, d as B, o as ft, e as H, c as P, a as m, P as No, m as ve, S as K, t as _, i as k, f as U, h as F, j as Cs, k as ur, u as Ce, l as V, s as Qn, n as Yn, p as gt, q as T, r as Ss, v as Ut, w as _t, x as qe, y as ks, z as Rt, A as Bt, B as Es, C as Ds, D as En, F as As, E as Ht, $ as Ho, G as Ms, H as Ts, I as W, J as Vr, K as Fs, L as Is, M as cr, N as Os, O as Ls, Q as Hn, R as Ps, T as qs, U as ie, V as _s, W as Rs } from "./index-STpCW09w.js";
|
|
5
5
|
var zs = (e) => e != null, Ks = (e) => e.filter(zs);
|
|
6
6
|
function Bs(e) {
|
|
7
7
|
return (...t) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c, T as l, P as m, a as u, D as v, Q as i } from "./AP7HFJJL-
|
|
2
|
-
import { g as d, c as f, a as e } from "./index-
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./AP7HFJJL-CUndpFwm.js";
|
|
2
|
+
import { g as d, c as f, a as e } from "./index-STpCW09w.js";
|
|
3
3
|
var h = (t) => {
|
|
4
4
|
const [r, o] = c({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -9247,7 +9247,7 @@ var J3e = (e, t = !1) => {
|
|
|
9247
9247
|
const t = _$(() => {
|
|
9248
9248
|
const n = this, [r] = I(this, xc), [o] = I(this, Sc), [i] = I(this, Cc), [a] = I(this, Ec), [s] = I(this, $f), [l] = I(this, bc), [c] = I(this, Oc);
|
|
9249
9249
|
let u;
|
|
9250
|
-
return I(this, _c) ? u = I(this, _c) : (u = C$(() => import("./WDYDFRGG-
|
|
9250
|
+
return I(this, _c) ? u = I(this, _c) : (u = C$(() => import("./WDYDFRGG-C0LIooDk.js")), fe(this, _c, u)), W$(I(this, If), I(this, wc)), x$(u, S$({
|
|
9251
9251
|
get queryFlavor() {
|
|
9252
9252
|
return I(n, Mf);
|
|
9253
9253
|
},
|
|
@@ -9354,7 +9354,7 @@ var J3e = (e, t = !1) => {
|
|
|
9354
9354
|
const t = _$(() => {
|
|
9355
9355
|
const n = this, [r] = I(this, kc), [o] = I(this, Ac), [i] = I(this, Tc), [a] = I(this, Rc), [s] = I(this, Bf), [l] = I(this, Pc), [c] = I(this, Mc), [u] = I(this, Ic);
|
|
9356
9356
|
let d;
|
|
9357
|
-
return I(this, Dc) ? d = I(this, Dc) : (d = C$(() => import("./2SSKDMRQ-
|
|
9357
|
+
return I(this, Dc) ? d = I(this, Dc) : (d = C$(() => import("./2SSKDMRQ-BKQXw_O8.js")), fe(this, Dc, d)), W$(I(this, Vf), I(this, Nc)), x$(d, S$({
|
|
9358
9358
|
get queryFlavor() {
|
|
9359
9359
|
return I(n, Lf);
|
|
9360
9360
|
},
|
|
@@ -13998,7 +13998,7 @@ const zc = ra(
|
|
|
13998
13998
|
({ className: e, variant: t, size: n, asChild: r = !1, ...o }, i) => /* @__PURE__ */ v(
|
|
13999
13999
|
r ? Za : "button",
|
|
14000
14000
|
{
|
|
14001
|
-
className: j(zc({ variant: t, size: n, className: e })),
|
|
14001
|
+
className: j(zc({ variant: t ?? "default", size: n, className: e })),
|
|
14002
14002
|
ref: i,
|
|
14003
14003
|
...o
|
|
14004
14004
|
}
|
package/dist/react-starter.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a_ as t, bo as o, br as r, bp as n, bq as i, fg as d, a5 as l, a6 as u, bs as c, bu as b, bv as g, bE as p, bF as S, bz as C, bD as m, bB as T, bA as D, bx as M, bw as f, bC as A, by as v, fw as h, bt as I, bb as P, bG as F, b3 as w, bH as x, bJ as B, bI as R, bK as G, bM as L, bS as k, bO as y, bP as H, bN as N, bQ as O, bR as E, Y as U, bT as V, bV as z, Z as W, b_ as q, bZ as X, bX as j, bW as Y, bY as Z, b$ as _, c0 as J, c1 as K, c3 as Q, c2 as $, fd as aa, c4 as ea, c7 as sa, c8 as ta, c9 as oa, c5 as ra, c6 as na, ca as ia, cb as da, cd as la, cc as ua, ce as ca, cf as ba, ci as ga, cj as pa, cg as Sa, ck as Ca, ch as ma, cm as Ta, cl as Da, aX as Ma, cn as fa, cr as Aa, cp as va, cw as ha, cq as Ia, ct as Pa, cx as Fa, cB as wa, cs as xa, cu as Ba, cv as Ra, cy as Ga, cz as La, cA as ka, co as ya, fv as Ha, a0 as Na, fj as Oa, fl as Ea, aa as Ua, ab as Va, fz as za, fA as Wa, fx as qa, cC as Xa, cG as ja, cH as Ya, cL as Za, cJ as _a, cI as Ja, cE as Ka, cD as Qa, cK as $a, cF as ae, cM as ee, cQ as se, cR as te, cV as oe, cT as re, cS as ne, cO as ie, cN as de, cU as le, cP as ue, cW as ce, c_ as be, cY as ge, d3 as pe, cZ as Se, d0 as Ce, d4 as me, d8 as Te, c$ as De, d1 as Me, d2 as fe, d5 as Ae, d6 as ve, d7 as he, cX as Ie, a4 as Pe, ai as Fe, da as we, bf as xe, dd as Be, de as Re, dg as Ge, db as Le, dc as ke, a3 as ye, df as He, bd as Ne, fo as Oe, fF as Ee, fC as Ue, dh as Ve, dj as ze, di as We, dk as qe, ac as Xe, ad as je, ae as Ye, af as Ze, dl as _e, a7 as Je, dm as Ke, dn as Qe, dq as $e, dp as as, dr as es, aj as ss, ds as ts, dz as os, dv as rs, dF as ns, dw as is, dy as ds, dt as ls, dC as us, dA as cs, dB as bs, dx as gs, dH as ps, dG as Ss, dD as Cs, dE as ms, du as Ts, a2 as Ds, dI as Ms, b5 as fs, fu as As, fr as vs, fs as hs, ft as Is, dK as Ps, dN as Fs, dQ as ws, dM as xs, dP as Bs, dL as Rs, dO as Gs, dR as Ls, fp as ks, b7 as ys, fD as Hs, fe as Ns, fm as Os, dS as Es, dV as Us, dU as Vs, dT as zs, fy as Ws, dW as qs, dY as Xs, dX as js, dZ as Ys, b1 as Zs, d_ as _s, d$ as Js, bg as Ks, e2 as Qs, e1 as $s, e0 as at, ag as et, e3 as st, e4 as tt, e5 as ot, e9 as rt, a9 as nt, e6 as it, a8 as dt, eb as lt, ea as ut, ee as ct, ed as bt, ec as gt, e8 as pt, e7 as St, ef as Ct, fn as mt, eg as Tt, ek as Dt, el as Mt, ep as ft, en as At, em as vt, ei as ht, eh as It, eo as Pt, ej as Ft, a1 as wt, eq as xt, er as Bt, es as Rt, et as Gt, eu as Lt, ev as kt, ew as yt, ex as Ht, ey as Nt, ez as Ot, eA as Et, eB as Ut, eC as Vt, eD as zt, eE as Wt, eF as qt, eG as Xt, eH as jt, eI as Yt, eJ as Zt, eK as _t, eL as Jt, fq as Kt, eN as Qt, eO as $t, eP as ao, eR as eo, fi as so, ff as to, fh as oo, fB as ro, eS as no, eV as io, eT as lo, eU as uo, eW as co, b9 as bo, fE as go, ah as po, eZ as So, f1 as Co, f0 as mo, e$ as To, eX as Do, e_ as Mo, bn as fo, eY as Ao, eQ as vo, f2 as ho, f4 as Io, f5 as Po, f6 as Fo, f8 as wo, f9 as xo, f7 as Bo, b0 as Ro, _ as Go, bk as Lo, at as ko, bL as yo, aw as Ho, au as No, av as Oo, bU as Eo, an as Uo, am as Vo, ao as zo, aN as Wo, aM as qo, as as Xo, fk as jo, ar as Yo, aI as Zo, X as _o, aD as Jo, ay as Ko, aq as Qo, ap as $o, ax as ar, aG as er, aH as sr, aK as tr, aL as or, dJ as rr, aO as nr, bm as ir, aC as dr, bc as lr, fa as ur, az as cr, aE as br, aF as gr, X as pr, aJ as Sr, aA as Cr, aB as mr, fc as Tr, f3 as Dr, aZ as Mr, bl as fr, bh as Ar, b4 as vr, aQ as hr, aR as Ir, aS as Pr, be as Fr, d9 as wr, aT as xr, aU as Br, al as Rr, ak as Gr, b6 as Lr, b8 as kr, bi as yr, b2 as Hr, aP as Nr, bj as Or, aW as Er, eM as Ur, ba as Vr, fb as zr, aV as Wr, aY as qr, a$ as Xr } from "./index-
|
|
1
|
+
import { a_ as t, bo as o, br as r, bp as n, bq as i, fg as d, a5 as l, a6 as u, bs as c, bu as b, bv as g, bE as p, bF as S, bz as C, bD as m, bB as T, bA as D, bx as M, bw as f, bC as A, by as v, fw as h, bt as I, bb as P, bG as F, b3 as w, bH as x, bJ as B, bI as R, bK as G, bM as L, bS as k, bO as y, bP as H, bN as N, bQ as O, bR as E, Y as U, bT as V, bV as z, Z as W, b_ as q, bZ as X, bX as j, bW as Y, bY as Z, b$ as _, c0 as J, c1 as K, c3 as Q, c2 as $, fd as aa, c4 as ea, c7 as sa, c8 as ta, c9 as oa, c5 as ra, c6 as na, ca as ia, cb as da, cd as la, cc as ua, ce as ca, cf as ba, ci as ga, cj as pa, cg as Sa, ck as Ca, ch as ma, cm as Ta, cl as Da, aX as Ma, cn as fa, cr as Aa, cp as va, cw as ha, cq as Ia, ct as Pa, cx as Fa, cB as wa, cs as xa, cu as Ba, cv as Ra, cy as Ga, cz as La, cA as ka, co as ya, fv as Ha, a0 as Na, fj as Oa, fl as Ea, aa as Ua, ab as Va, fz as za, fA as Wa, fx as qa, cC as Xa, cG as ja, cH as Ya, cL as Za, cJ as _a, cI as Ja, cE as Ka, cD as Qa, cK as $a, cF as ae, cM as ee, cQ as se, cR as te, cV as oe, cT as re, cS as ne, cO as ie, cN as de, cU as le, cP as ue, cW as ce, c_ as be, cY as ge, d3 as pe, cZ as Se, d0 as Ce, d4 as me, d8 as Te, c$ as De, d1 as Me, d2 as fe, d5 as Ae, d6 as ve, d7 as he, cX as Ie, a4 as Pe, ai as Fe, da as we, bf as xe, dd as Be, de as Re, dg as Ge, db as Le, dc as ke, a3 as ye, df as He, bd as Ne, fo as Oe, fF as Ee, fC as Ue, dh as Ve, dj as ze, di as We, dk as qe, ac as Xe, ad as je, ae as Ye, af as Ze, dl as _e, a7 as Je, dm as Ke, dn as Qe, dq as $e, dp as as, dr as es, aj as ss, ds as ts, dz as os, dv as rs, dF as ns, dw as is, dy as ds, dt as ls, dC as us, dA as cs, dB as bs, dx as gs, dH as ps, dG as Ss, dD as Cs, dE as ms, du as Ts, a2 as Ds, dI as Ms, b5 as fs, fu as As, fr as vs, fs as hs, ft as Is, dK as Ps, dN as Fs, dQ as ws, dM as xs, dP as Bs, dL as Rs, dO as Gs, dR as Ls, fp as ks, b7 as ys, fD as Hs, fe as Ns, fm as Os, dS as Es, dV as Us, dU as Vs, dT as zs, fy as Ws, dW as qs, dY as Xs, dX as js, dZ as Ys, b1 as Zs, d_ as _s, d$ as Js, bg as Ks, e2 as Qs, e1 as $s, e0 as at, ag as et, e3 as st, e4 as tt, e5 as ot, e9 as rt, a9 as nt, e6 as it, a8 as dt, eb as lt, ea as ut, ee as ct, ed as bt, ec as gt, e8 as pt, e7 as St, ef as Ct, fn as mt, eg as Tt, ek as Dt, el as Mt, ep as ft, en as At, em as vt, ei as ht, eh as It, eo as Pt, ej as Ft, a1 as wt, eq as xt, er as Bt, es as Rt, et as Gt, eu as Lt, ev as kt, ew as yt, ex as Ht, ey as Nt, ez as Ot, eA as Et, eB as Ut, eC as Vt, eD as zt, eE as Wt, eF as qt, eG as Xt, eH as jt, eI as Yt, eJ as Zt, eK as _t, eL as Jt, fq as Kt, eN as Qt, eO as $t, eP as ao, eR as eo, fi as so, ff as to, fh as oo, fB as ro, eS as no, eV as io, eT as lo, eU as uo, eW as co, b9 as bo, fE as go, ah as po, eZ as So, f1 as Co, f0 as mo, e$ as To, eX as Do, e_ as Mo, bn as fo, eY as Ao, eQ as vo, f2 as ho, f4 as Io, f5 as Po, f6 as Fo, f8 as wo, f9 as xo, f7 as Bo, b0 as Ro, _ as Go, bk as Lo, at as ko, bL as yo, aw as Ho, au as No, av as Oo, bU as Eo, an as Uo, am as Vo, ao as zo, aN as Wo, aM as qo, as as Xo, fk as jo, ar as Yo, aI as Zo, X as _o, aD as Jo, ay as Ko, aq as Qo, ap as $o, ax as ar, aG as er, aH as sr, aK as tr, aL as or, dJ as rr, aO as nr, bm as ir, aC as dr, bc as lr, fa as ur, az as cr, aE as br, aF as gr, X as pr, aJ as Sr, aA as Cr, aB as mr, fc as Tr, f3 as Dr, aZ as Mr, bl as fr, bh as Ar, b4 as vr, aQ as hr, aR as Ir, aS as Pr, be as Fr, d9 as wr, aT as xr, aU as Br, al as Rr, ak as Gr, b6 as Lr, b8 as kr, bi as yr, b2 as Hr, aP as Nr, bj as Or, aW as Er, eM as Ur, ba as Vr, fb as zr, aV as Wr, aY as qr, a$ as Xr } from "./index-STpCW09w.js";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
export {
|
|
4
4
|
t as AccessControlWrapper,
|
|
@@ -53,7 +53,7 @@ You can add a description to the \`${vu}\` by passing a \`${B$}\` component as a
|
|
|
53
53
|
|
|
54
54
|
Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${vu}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
|
|
55
55
|
|
|
56
|
-
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return y.useEffect(()=>{var r;document.getElementById((r=e.current)==null?void 0:r.getAttribute("aria-describedby"))||console.warn(t)},[t,e]),null},Hce=$$,Wce=I$,Kce=F$,W$=L$,K$=z$,G$=q$,Y$=H$,Z$=R$,X$=V$,Gce=Symbol.for("react.lazy"),Xm=y[" use ".trim().toString()];function Yce(e){return typeof e=="object"&&e!==null&&"then"in e}function Q$(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Gce&&"_payload"in e&&Yce(e._payload)}function yu(e){const t=Zce(e),n=y.forwardRef((r,o)=>{let{children:i,...a}=r;Q$(i)&&typeof Xm=="function"&&(i=Xm(i._payload));const s=y.Children.toArray(i),l=s.find(Qce);if(l){const c=l.props.children,u=s.map(d=>d===l?y.Children.count(c)>1?y.Children.only(null):y.isValidElement(c)?c.props.children:null:d);return g.jsx(t,{...a,ref:o,children:y.isValidElement(c)?y.cloneElement(c,void 0,u):null})}return g.jsx(t,{...a,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}var Ss=yu("Slot");function Zce(e){const t=y.forwardRef((n,r)=>{let{children:o,...i}=n;if(Q$(o)&&typeof Xm=="function"&&(o=Xm(o._payload)),y.isValidElement(o)){const a=eue(o),s=Jce(i,o.props);return o.type!==y.Fragment&&(s.ref=r?fr(r,a):a),y.cloneElement(o,s)}return y.Children.count(o)>1?y.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Xce=Symbol("radix.slottable");function Qce(e){return y.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Xce}function Jce(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{const l=i(...s);return o(...s),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function eue(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}const Ol=ba("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-slate-400",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-slate-400",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),mt=y.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},i)=>{const a=r?Ss:"button";return g.jsx(a,{className:U(Ol({variant:t,size:n,className:e})),ref:i,...o})});mt.displayName="Button";const tue=Hce,nue=Wce,J$=Kce,fx=y.forwardRef(({className:e,...t},n)=>g.jsx(W$,{className:U("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));fx.displayName=W$.displayName;const eI=y.forwardRef(({className:e,...t},n)=>g.jsxs(J$,{children:[g.jsx(fx,{}),g.jsx(K$,{ref:n,className:U("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...t})]}));eI.displayName=K$.displayName;const tI=({className:e,...t})=>g.jsx("div",{className:U("flex flex-col space-y-2 text-center sm:text-left",e),...t});tI.displayName="AlertDialogHeader";const nI=({className:e,...t})=>g.jsx("div",{className:U("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});nI.displayName="AlertDialogFooter";const rI=y.forwardRef(({className:e,...t},n)=>g.jsx(Z$,{ref:n,className:U("text-lg font-semibold",e),...t}));rI.displayName=Z$.displayName;const oI=y.forwardRef(({className:e,...t},n)=>g.jsx(X$,{ref:n,className:U("text-sm text-muted-foreground",e),...t}));oI.displayName=X$.displayName;const iI=y.forwardRef(({className:e,...t},n)=>g.jsx(G$,{ref:n,className:U(Ol(),e),...t}));iI.displayName=G$.displayName;const aI=y.forwardRef(({className:e,...t},n)=>g.jsx(Y$,{ref:n,className:U(Ol({variant:"outline"}),"mt-2 sm:mt-0",e),...t}));aI.displayName=Y$.displayName;var rue=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],oue=rue.reduce((e,t)=>{const n=yu(`Primitive.${t}`),r=y.forwardRef((o,i)=>{const{asChild:a,...s}=o,l=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),g.jsx(l,{...s,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),iue="AspectRatio",sI=y.forwardRef((e,t)=>{const{ratio:n=1/1,style:r,...o}=e;return g.jsx("div",{style:{position:"relative",width:"100%",paddingBottom:`${100/n}%`},"data-radix-aspect-ratio-wrapper":"",children:g.jsx(oue.div,{...o,ref:t,style:{...r,position:"absolute",top:0,right:0,bottom:0,left:0}})})});sI.displayName=iue;var aue=sI;const sue=aue;function lue(e,t=[]){let n=[];function r(i,a){const s=y.createContext(a);s.displayName=i+"Context";const l=n.length;n=[...n,a];const c=d=>{var b;const{scope:f,children:p,...h}=d,m=((b=f==null?void 0:f[e])==null?void 0:b[l])||s,v=y.useMemo(()=>h,Object.values(h));return g.jsx(m.Provider,{value:v,children:p})};c.displayName=i+"Provider";function u(d,f){var m;const p=((m=f==null?void 0:f[e])==null?void 0:m[l])||s,h=y.useContext(p);if(h)return h;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[c,u]}const o=()=>{const i=n.map(a=>y.createContext(a));return function(s){const l=(s==null?void 0:s[e])||i;return y.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,cue(o,...t)]}function cue(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((s,{useScope:l,scopeName:c})=>{const d=l(i)[`__scope${c}`];return{...s,...d}},{});return y.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}var uue=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],px=uue.reduce((e,t)=>{const n=yu(`Primitive.${t}`),r=y.forwardRef((o,i)=>{const{asChild:a,...s}=o,l=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),g.jsx(l,{...s,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),Qm={exports:{}},hx={};/**
|
|
56
|
+
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return y.useEffect(()=>{var r;document.getElementById((r=e.current)==null?void 0:r.getAttribute("aria-describedby"))||console.warn(t)},[t,e]),null},Hce=$$,Wce=I$,Kce=F$,W$=L$,K$=z$,G$=q$,Y$=H$,Z$=R$,X$=V$,Gce=Symbol.for("react.lazy"),Xm=y[" use ".trim().toString()];function Yce(e){return typeof e=="object"&&e!==null&&"then"in e}function Q$(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Gce&&"_payload"in e&&Yce(e._payload)}function yu(e){const t=Zce(e),n=y.forwardRef((r,o)=>{let{children:i,...a}=r;Q$(i)&&typeof Xm=="function"&&(i=Xm(i._payload));const s=y.Children.toArray(i),l=s.find(Qce);if(l){const c=l.props.children,u=s.map(d=>d===l?y.Children.count(c)>1?y.Children.only(null):y.isValidElement(c)?c.props.children:null:d);return g.jsx(t,{...a,ref:o,children:y.isValidElement(c)?y.cloneElement(c,void 0,u):null})}return g.jsx(t,{...a,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}var Ss=yu("Slot");function Zce(e){const t=y.forwardRef((n,r)=>{let{children:o,...i}=n;if(Q$(o)&&typeof Xm=="function"&&(o=Xm(o._payload)),y.isValidElement(o)){const a=eue(o),s=Jce(i,o.props);return o.type!==y.Fragment&&(s.ref=r?fr(r,a):a),y.cloneElement(o,s)}return y.Children.count(o)>1?y.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Xce=Symbol("radix.slottable");function Qce(e){return y.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Xce}function Jce(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{const l=i(...s);return o(...s),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function eue(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}const Ol=ba("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-slate-400",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-slate-400",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),mt=y.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},i)=>{const a=r?Ss:"button";return g.jsx(a,{className:U(Ol({variant:t??"default",size:n,className:e})),ref:i,...o})});mt.displayName="Button";const tue=Hce,nue=Wce,J$=Kce,fx=y.forwardRef(({className:e,...t},n)=>g.jsx(W$,{className:U("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));fx.displayName=W$.displayName;const eI=y.forwardRef(({className:e,...t},n)=>g.jsxs(J$,{children:[g.jsx(fx,{}),g.jsx(K$,{ref:n,className:U("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...t})]}));eI.displayName=K$.displayName;const tI=({className:e,...t})=>g.jsx("div",{className:U("flex flex-col space-y-2 text-center sm:text-left",e),...t});tI.displayName="AlertDialogHeader";const nI=({className:e,...t})=>g.jsx("div",{className:U("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});nI.displayName="AlertDialogFooter";const rI=y.forwardRef(({className:e,...t},n)=>g.jsx(Z$,{ref:n,className:U("text-lg font-semibold",e),...t}));rI.displayName=Z$.displayName;const oI=y.forwardRef(({className:e,...t},n)=>g.jsx(X$,{ref:n,className:U("text-sm text-muted-foreground",e),...t}));oI.displayName=X$.displayName;const iI=y.forwardRef(({className:e,...t},n)=>g.jsx(G$,{ref:n,className:U(Ol(),e),...t}));iI.displayName=G$.displayName;const aI=y.forwardRef(({className:e,...t},n)=>g.jsx(Y$,{ref:n,className:U(Ol({variant:"outline"}),"mt-2 sm:mt-0",e),...t}));aI.displayName=Y$.displayName;var rue=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],oue=rue.reduce((e,t)=>{const n=yu(`Primitive.${t}`),r=y.forwardRef((o,i)=>{const{asChild:a,...s}=o,l=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),g.jsx(l,{...s,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),iue="AspectRatio",sI=y.forwardRef((e,t)=>{const{ratio:n=1/1,style:r,...o}=e;return g.jsx("div",{style:{position:"relative",width:"100%",paddingBottom:`${100/n}%`},"data-radix-aspect-ratio-wrapper":"",children:g.jsx(oue.div,{...o,ref:t,style:{...r,position:"absolute",top:0,right:0,bottom:0,left:0}})})});sI.displayName=iue;var aue=sI;const sue=aue;function lue(e,t=[]){let n=[];function r(i,a){const s=y.createContext(a);s.displayName=i+"Context";const l=n.length;n=[...n,a];const c=d=>{var b;const{scope:f,children:p,...h}=d,m=((b=f==null?void 0:f[e])==null?void 0:b[l])||s,v=y.useMemo(()=>h,Object.values(h));return g.jsx(m.Provider,{value:v,children:p})};c.displayName=i+"Provider";function u(d,f){var m;const p=((m=f==null?void 0:f[e])==null?void 0:m[l])||s,h=y.useContext(p);if(h)return h;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[c,u]}const o=()=>{const i=n.map(a=>y.createContext(a));return function(s){const l=(s==null?void 0:s[e])||i;return y.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,cue(o,...t)]}function cue(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((s,{useScope:l,scopeName:c})=>{const d=l(i)[`__scope${c}`];return{...s,...d}},{});return y.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}var uue=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],px=uue.reduce((e,t)=>{const n=yu(`Primitive.${t}`),r=y.forwardRef((o,i)=>{const{asChild:a,...s}=o,l=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),g.jsx(l,{...s,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),Qm={exports:{}},hx={};/**
|
|
57
57
|
* @license React
|
|
58
58
|
* use-sync-external-store-shim.production.js
|
|
59
59
|
*
|
package/package.json
CHANGED