@vmscloud/moz-ui-components-react 0.1.48 → 0.1.50

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/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  var vt = Object.defineProperty;
2
2
  var Tt = (e, t, o) => t in e ? vt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
3
3
  var q = (e, t, o) => Tt(e, typeof t != "symbol" ? t + "" : t, o);
4
- import { createElement as $, createContext as W, useContext as D, useRef as L, forwardRef as bt, useState as U, useLayoutEffect as st, useEffect as Q, useImperativeHandle as ht, Fragment as At, Children as ct, isValidElement as K, useId as Z, useCallback as _, useMemo as N, cloneElement as F } from "react";
4
+ import { createElement as $, createContext as W, useContext as D, useRef as I, forwardRef as bt, useState as U, useLayoutEffect as st, useEffect as Q, useImperativeHandle as ht, Fragment as At, Children as ct, isValidElement as K, useId as Z, useCallback as _, useMemo as N, cloneElement as F } from "react";
5
5
  import { createPortal as gt } from "react-dom";
6
6
  import { createRoot as Rt } from "react-dom/client";
7
- import { koKR as lt, createValidator as Ot, SPLITPANE_SPEC as _t, TOOLTIP_SPEC as It, POPOVER_SPEC as Lt, COLLAPSIBLE_SPEC as xt, AVATAR_SPEC as Mt, SCROLLAREA_SPEC as kt, BUTTON_SPEC as wt, LABEL_SPEC as zt, BADGE_SPEC as jt, CHIP_SPEC as Nt, TOGGLE_SPEC as Bt, BREADCRUMB_SPEC as Ut, EMPTYSTATE_SPEC as Dt, CHECKBOX_SPEC as Kt, RADIO_SPEC as Vt, INPUT_SPEC as Wt, PASSWORDINPUT_SPEC as $t, TEXTAREA_SPEC as Ft, NUMBERINPUT_SPEC as Ht, TAB_SPEC as Gt, SLIDER_SPEC as qt, CALENDAR_SPEC as Xt, DATEINPUT_SPEC as Yt, POPUP_SPEC as Jt, SELECT_SPEC as Qt, MULTISELECT_SPEC as Zt, TIMEPICKER_SPEC as te, TAGINPUT_SPEC as ee, CONTEXTMENU_SPEC as oe, TABLESELECT_SPEC as ne, TREESELECT_SPEC as re, CONTROLLER_SPEC as se, TOAST_SPEC as ce } from "@vmscloud/moz-ui-components-core";
8
- import { createValidator as ho, enUS as Ao, jaJP as go, koKR as Ro, useToast as Oo, zhCN as _o } from "@vmscloud/moz-ui-components-core";
9
- import { jsx as x, jsxs as le } from "react/jsx-runtime";
7
+ import { koKR as lt, createValidator as Ot, SPLITPANE_SPEC as _t, TOOLTIP_SPEC as Lt, POPOVER_SPEC as It, COLLAPSIBLE_SPEC as xt, AVATAR_SPEC as Mt, SCROLLAREA_SPEC as kt, BUTTON_SPEC as wt, LABEL_SPEC as zt, BADGE_SPEC as jt, CHIP_SPEC as Nt, CALLOUT_SPEC as Bt, TOGGLE_SPEC as Ut, BREADCRUMB_SPEC as Dt, EMPTYSTATE_SPEC as Kt, CHECKBOX_SPEC as Vt, RADIO_SPEC as Wt, INPUT_SPEC as $t, PASSWORDINPUT_SPEC as Ft, TEXTAREA_SPEC as Ht, NUMBERINPUT_SPEC as Gt, TAB_SPEC as qt, SLIDER_SPEC as Xt, CALENDAR_SPEC as Yt, DATEINPUT_SPEC as Jt, POPUP_SPEC as Qt, SELECT_SPEC as Zt, MULTISELECT_SPEC as te, TIMEPICKER_SPEC as ee, TAGINPUT_SPEC as oe, CONTEXTMENU_SPEC as ne, TABLESELECT_SPEC as re, TREESELECT_SPEC as se, CONTROLLER_SPEC as ce, TOAST_SPEC as le } from "@vmscloud/moz-ui-components-core";
8
+ import { createValidator as go, enUS as Ro, jaJP as Oo, koKR as _o, useToast as Lo, zhCN as Io } from "@vmscloud/moz-ui-components-core";
9
+ import { jsx as x, jsxs as ue } from "react/jsx-runtime";
10
10
  const X = /* @__PURE__ */ new Set();
11
11
  let Y = null;
12
12
  function et(e) {
@@ -17,7 +17,7 @@ function et(e) {
17
17
  for (const o of t) o.unmount();
18
18
  }, 0));
19
19
  }
20
- class ue {
20
+ class ae {
21
21
  constructor() {
22
22
  q(this, "contextWrapper", null);
23
23
  q(this, "roots", /* @__PURE__ */ new Set());
@@ -69,17 +69,17 @@ function Ie({
69
69
  )
70
70
  );
71
71
  }
72
- function ae() {
72
+ function ie() {
73
73
  return D(ut);
74
74
  }
75
- function ie() {
75
+ function pe() {
76
76
  return D(at);
77
77
  }
78
78
  const tt = W(null);
79
- function Le({
79
+ function xe({
80
80
  children: e
81
81
  }) {
82
- const t = L();
82
+ const t = I();
83
83
  t.current || (t.current = Ot());
84
84
  const o = { validate: t.current.validate, initValidator: t.current.initValidator };
85
85
  return $(
@@ -88,13 +88,13 @@ function Le({
88
88
  typeof e == "function" ? e(o) : e
89
89
  );
90
90
  }
91
- function xe() {
91
+ function Me() {
92
92
  return D(tt);
93
93
  }
94
94
  function H(e) {
95
95
  return e.startsWith("update:") ? "on" + e.slice(7).charAt(0).toUpperCase() + e.slice(8) + "Change" : "on" + e.charAt(0).toUpperCase() + e.slice(1);
96
96
  }
97
- function pe(e, t) {
97
+ function fe(e, t) {
98
98
  if (Object.is(e, t)) return !0;
99
99
  if (typeof e != "object" || typeof t != "object" || e === null || t === null) return !1;
100
100
  const o = Object.keys(e), r = Object.keys(t);
@@ -127,7 +127,7 @@ function p(e) {
127
127
  // 코어(Tab)는 이 통로 없이는 React 에서 콘텐츠를 받을 수 없었다.
128
128
  "slots"
129
129
  ]), r = bt((n, c) => {
130
- const s = L(null), l = L(void 0), f = L(void 0), [m, y] = U(() => /* @__PURE__ */ new Map());
130
+ const s = I(null), l = I(void 0), f = I(void 0), [m, y] = U(() => /* @__PURE__ */ new Map());
131
131
  if (!f.current) {
132
132
  const E = {};
133
133
  Object.defineProperty(E, "el", {
@@ -138,11 +138,11 @@ function p(e) {
138
138
  enumerable: !0
139
139
  }), f.current = E;
140
140
  }
141
- const u = L();
142
- u.current || (u.current = new ue());
143
- const d = ie();
141
+ const u = I();
142
+ u.current || (u.current = new ae());
143
+ const d = pe();
144
144
  u.current.setContextWrapper(d);
145
- const a = ae(), S = D(tt), T = L(n);
145
+ const a = ie(), S = D(tt), T = I(n);
146
146
  T.current = n;
147
147
  const b = ((E, ...i) => {
148
148
  const v = H(String(E)), h = T.current[v];
@@ -178,7 +178,7 @@ function p(e) {
178
178
  // setState … 로 끝나지 않는 비동기 루프가 된다(소비처 실측: 페이지 테스트 타임아웃).
179
179
  update: (k) => y((w) => {
180
180
  const j = w.get(M);
181
- return !j || pe(j.scope, k) ? w : new Map(w).set(M, { ...j, scope: k });
181
+ return !j || fe(j.scope, k) ? w : new Map(w).set(M, { ...j, scope: k });
182
182
  }),
183
183
  dispose: () => y((k) => {
184
184
  if (!k.has(M)) return k;
@@ -213,15 +213,15 @@ function p(e) {
213
213
  }
214
214
  const v = E.slots;
215
215
  return i.__dynamicSlotKeys = v ? Object.keys(v).sort().join("\0") : "", i;
216
- }, R = L(null);
216
+ }, R = I(null);
217
217
  Q(() => {
218
218
  const E = l.current;
219
219
  if (!E) return;
220
220
  const i = C(), v = g(), h = R.current;
221
221
  h && h.locale === a && ot(h.props, i) && ot(h.slots, v) || (R.current = { props: i, slots: v, locale: a }, (!h || h.locale !== a) && E.setLocale(a), E.update(i, { replace: !0, sync: e.syncUpdate }));
222
222
  }), ht(c, () => f.current, []);
223
- const I = n.slots, B = Array.from(m, ([E, i]) => {
224
- const v = I == null ? void 0 : I[i.name], h = (typeof v == "function" ? v(i.scope) : v) ?? null;
223
+ const L = n.slots, B = Array.from(m, ([E, i]) => {
224
+ const v = L == null ? void 0 : L[i.name], h = (typeof v == "function" ? v(i.scope) : v) ?? null;
225
225
  return gt(h, i.el, E);
226
226
  });
227
227
  return $(
@@ -233,9 +233,9 @@ function p(e) {
233
233
  });
234
234
  return r.displayName = e.name, r;
235
235
  }
236
- const fe = p(_t), de = (e) => null, Me = ({ horizontal: e, children: t }) => {
236
+ const de = p(_t), Ce = (e) => null, ke = ({ horizontal: e, children: t }) => {
237
237
  const o = ct.toArray(t).filter(
238
- (c) => K(c) && c.type === de
238
+ (c) => K(c) && c.type === Ce
239
239
  ), r = o.map((c) => ({
240
240
  size: c.props.size,
241
241
  minSize: c.props.minSize,
@@ -244,12 +244,12 @@ const fe = p(_t), de = (e) => null, Me = ({ horizontal: e, children: t }) => {
244
244
  })), n = {};
245
245
  return o.forEach((c, s) => {
246
246
  n[`pane-${s}`] = c.props.children;
247
- }), /* @__PURE__ */ x(fe, { panes: r, horizontal: e, ...n });
248
- }, Ce = p(It), J = /* @__PURE__ */ new Set(), it = 200, Ee = 100, pt = W({
247
+ }), /* @__PURE__ */ x(de, { panes: r, horizontal: e, ...n });
248
+ }, Ee = p(Lt), J = /* @__PURE__ */ new Set(), it = 200, Pe = 100, pt = W({
249
249
  delayDuration: it,
250
250
  disableHoverableContent: !1
251
251
  });
252
- function ke({
252
+ function we({
253
253
  delayDuration: e = it,
254
254
  disableHoverableContent: t = !1,
255
255
  children: o
@@ -266,7 +266,7 @@ function dt(e) {
266
266
  if (!t) throw new Error(`${e} 는 <Tooltip> 안에서만 쓸 수 있습니다.`);
267
267
  return t;
268
268
  }
269
- function we({
269
+ function ze({
270
270
  open: e,
271
271
  defaultOpen: t = !1,
272
272
  onOpenChange: o,
@@ -274,43 +274,43 @@ function we({
274
274
  disableHoverableContent: n,
275
275
  children: c
276
276
  }) {
277
- const s = D(pt), l = r ?? s.delayDuration, f = !(n ?? s.disableHoverableContent), [m, y] = U(t), u = e !== void 0, d = u ? !!e : m, [a, S] = U(null), T = `moz-tooltip-${Z()}`, b = L(null), C = L(null), g = L(o);
277
+ const s = D(pt), l = r ?? s.delayDuration, f = !(n ?? s.disableHoverableContent), [m, y] = U(t), u = e !== void 0, d = u ? !!e : m, [a, S] = U(null), T = `moz-tooltip-${Z()}`, b = I(null), C = I(null), g = I(o);
278
278
  g.current = o;
279
279
  const R = _(() => {
280
280
  b.current && clearTimeout(b.current), C.current && clearTimeout(C.current), b.current = null, C.current = null;
281
- }, []), I = _(
281
+ }, []), L = _(
282
282
  (A) => {
283
283
  var z;
284
284
  u || y(A), (z = g.current) == null || z.call(g, A);
285
285
  },
286
286
  [u]
287
287
  ), B = _(() => {
288
- R(), I(!0);
289
- }, [R, I]), E = _(() => {
288
+ R(), L(!0);
289
+ }, [R, L]), E = _(() => {
290
290
  if (C.current && (clearTimeout(C.current), C.current = null), !b.current) {
291
291
  if (l <= 0) {
292
- I(!0);
292
+ L(!0);
293
293
  return;
294
294
  }
295
295
  b.current = setTimeout(() => {
296
- b.current = null, I(!0);
296
+ b.current = null, L(!0);
297
297
  }, l);
298
298
  }
299
- }, [l, I]), i = _(() => {
300
- R(), I(!1);
301
- }, [R, I]), v = _(() => {
299
+ }, [l, L]), i = _(() => {
300
+ R(), L(!1);
301
+ }, [R, L]), v = _(() => {
302
302
  if (b.current && (clearTimeout(b.current), b.current = null), !f) {
303
- I(!1);
303
+ L(!1);
304
304
  return;
305
305
  }
306
306
  C.current || (C.current = setTimeout(() => {
307
- C.current = null, I(!1);
308
- }, Ee));
309
- }, [f, I]), h = _(() => {
307
+ C.current = null, L(!1);
308
+ }, Pe));
309
+ }, [f, L]), h = _(() => {
310
310
  C.current && (clearTimeout(C.current), C.current = null);
311
311
  }, []);
312
312
  Q(() => R, [R]);
313
- const P = L(i);
313
+ const P = I(i);
314
314
  P.current = i, Q(() => {
315
315
  if (!d) return;
316
316
  const A = () => P.current();
@@ -348,15 +348,15 @@ function V(e, t) {
348
348
  function nt(e, t) {
349
349
  e && (typeof e == "function" ? e(t) : e.current = t);
350
350
  }
351
- function ze({ asChild: e = !1, children: t }) {
352
- const o = dt("TooltipTrigger"), { open: r, contentId: n, setAnchor: c, openNow: s, openDelayed: l, closeNow: f, closeSoon: m } = o, y = K(t) ? t : null, u = (y == null ? void 0 : y.props) ?? {}, d = y == null ? void 0 : y.ref, a = L(d);
351
+ function je({ asChild: e = !1, children: t }) {
352
+ const o = dt("TooltipTrigger"), { open: r, contentId: n, setAnchor: c, openNow: s, openDelayed: l, closeNow: f, closeSoon: m } = o, y = K(t) ? t : null, u = (y == null ? void 0 : y.props) ?? {}, d = y == null ? void 0 : y.ref, a = I(d);
353
353
  a.current = d;
354
- const S = L(null), T = _(
354
+ const S = I(null), T = _(
355
355
  (g) => {
356
356
  S.current = g, c(g), nt(a.current, g);
357
357
  },
358
358
  [c]
359
- ), b = L(d);
359
+ ), b = I(d);
360
360
  st(() => {
361
361
  b.current !== d && (b.current = d, nt(d, S.current));
362
362
  });
@@ -380,7 +380,7 @@ function ze({ asChild: e = !1, children: t }) {
380
380
  };
381
381
  return e && y ? F(y, C) : /* @__PURE__ */ x("span", { ...C, children: t });
382
382
  }
383
- function je({
383
+ function Ne({
384
384
  side: e = "top",
385
385
  align: t = "center",
386
386
  sideOffset: o = 8,
@@ -391,11 +391,11 @@ function je({
391
391
  children: l,
392
392
  ...f
393
393
  }) {
394
- const m = dt("TooltipContent"), { open: y, anchor: u, contentId: d, hoverable: a, cancelClose: S, closeSoon: T } = m, b = L({ cancelClose: S, closeSoon: T });
394
+ const m = dt("TooltipContent"), { open: y, anchor: u, contentId: d, hoverable: a, cancelClose: S, closeSoon: T } = m, b = I({ cancelClose: S, closeSoon: T });
395
395
  b.current = { cancelClose: S, closeSoon: T };
396
396
  const C = _(() => b.current.cancelClose(), []), g = _(() => b.current.closeSoon(), []), R = N(() => ({ content: l }), [l]);
397
397
  return /* @__PURE__ */ x(
398
- Ce,
398
+ Ee,
399
399
  {
400
400
  open: y,
401
401
  anchor: u,
@@ -415,7 +415,7 @@ function je({
415
415
  }
416
416
  );
417
417
  }
418
- const Pe = p(Lt), Ct = W(null);
418
+ const me = p(It), Ct = W(null);
419
419
  function G(e) {
420
420
  const t = D(Ct);
421
421
  if (!t) throw new Error(`${e} 는 <Popover> 안에서만 쓸 수 있습니다.`);
@@ -432,8 +432,8 @@ function Pt(e, t) {
432
432
  typeof e == "function" && e(o), t(o);
433
433
  };
434
434
  }
435
- function Ne({ open: e, defaultOpen: t = !1, onOpenChange: o, children: r }) {
436
- const [n, c] = U(t), s = e !== void 0, l = s ? !!e : n, [f, m] = U(null), [y, u] = U(null), d = `moz-popover-${Z()}`, a = L(o);
435
+ function Be({ open: e, defaultOpen: t = !1, onOpenChange: o, children: r }) {
436
+ const [n, c] = U(t), s = e !== void 0, l = s ? !!e : n, [f, m] = U(null), [y, u] = U(null), d = `moz-popover-${Z()}`, a = I(o);
437
437
  a.current = o;
438
438
  const S = _(
439
439
  (b) => {
@@ -447,7 +447,7 @@ function Ne({ open: e, defaultOpen: t = !1, onOpenChange: o, children: r }) {
447
447
  );
448
448
  return /* @__PURE__ */ x(Ct.Provider, { value: T, children: r });
449
449
  }
450
- function Be({ asChild: e = !1, children: t }) {
450
+ function Ue({ asChild: e = !1, children: t }) {
451
451
  const { open: o, setOpen: r, contentId: n, setTriggerEl: c } = G("PopoverTrigger"), s = K(t) ? t : null, l = (s == null ? void 0 : s.props) ?? {}, m = {
452
452
  ref: N(
453
453
  () => Et(c, s == null ? void 0 : s.ref),
@@ -461,20 +461,20 @@ function Be({ asChild: e = !1, children: t }) {
461
461
  };
462
462
  return e && s ? F(s, m) : /* @__PURE__ */ x("span", { ...m, children: t });
463
463
  }
464
- function Ue({ asChild: e = !1, children: t }) {
464
+ function De({ asChild: e = !1, children: t }) {
465
465
  const { setAnchorEl: o } = G("PopoverAnchor"), r = K(t) ? t : null, n = N(
466
466
  () => Et(o, r == null ? void 0 : r.ref),
467
467
  [o, r]
468
468
  );
469
469
  return e && r ? F(r, { ref: n }) : /* @__PURE__ */ x("span", { ref: n, children: t });
470
470
  }
471
- function De({ asChild: e = !1, children: t }) {
471
+ function Ke({ asChild: e = !1, children: t }) {
472
472
  const { setOpen: o } = G("PopoverClose"), r = K(t) ? t : null, n = (r == null ? void 0 : r.props) ?? {}, c = {
473
473
  onClick: Pt(n.onClick, () => o(!1))
474
474
  };
475
475
  return e && r ? F(r, c) : /* @__PURE__ */ x("button", { type: "button", ...c, children: t });
476
476
  }
477
- function Ke({
477
+ function Ve({
478
478
  side: e = "bottom",
479
479
  align: t = "start",
480
480
  sideOffset: o = 4,
@@ -490,9 +490,9 @@ function Ke({
490
490
  children: d,
491
491
  ...a
492
492
  }) {
493
- const { open: S, setOpen: T, contentId: b, triggerEl: C, anchorEl: g } = G("PopoverContent"), R = L({ setOpen: T, triggerEl: C, anchorEl: g, onOpenAutoFocus: f, onCloseAutoFocus: m, onEscapeKeyDown: y, onInteractOutside: u });
493
+ const { open: S, setOpen: T, contentId: b, triggerEl: C, anchorEl: g } = G("PopoverContent"), R = I({ setOpen: T, triggerEl: C, anchorEl: g, onOpenAutoFocus: f, onCloseAutoFocus: m, onEscapeKeyDown: y, onInteractOutside: u });
494
494
  R.current = { setOpen: T, triggerEl: C, anchorEl: g, onOpenAutoFocus: f, onCloseAutoFocus: m, onEscapeKeyDown: y, onInteractOutside: u };
495
- const I = _((P) => {
495
+ const L = _((P) => {
496
496
  R.current.setOpen(!1);
497
497
  }, []), B = _((P) => {
498
498
  var O, A;
@@ -513,7 +513,7 @@ function Ke({
513
513
  (A = (O = R.current).onCloseAutoFocus) == null || A.call(O, P);
514
514
  }, []), h = N(() => ({ content: d }), [d]);
515
515
  return /* @__PURE__ */ x(
516
- Pe,
516
+ me,
517
517
  {
518
518
  open: S,
519
519
  anchor: g ?? C,
@@ -527,7 +527,7 @@ function Ke({
527
527
  className: s,
528
528
  style: l,
529
529
  slots: h,
530
- onRequestClose: I,
530
+ onRequestClose: L,
531
531
  onEscapeKeyDown: B,
532
532
  onInteractOutside: E,
533
533
  onOpenAutoFocus: i,
@@ -536,13 +536,13 @@ function Ke({
536
536
  }
537
537
  );
538
538
  }
539
- const me = p(xt), mt = W(null);
539
+ const ye = p(xt), mt = W(null);
540
540
  function yt(e) {
541
541
  const t = D(mt);
542
542
  if (!t) throw new Error(`${e} 는 <Collapsible> 안에서만 쓸 수 있습니다.`);
543
543
  return t;
544
544
  }
545
- function ye(...e) {
545
+ function Se(...e) {
546
546
  return (t) => {
547
547
  for (const o of e)
548
548
  o && (typeof o == "function" ? o(t) : o.current = t);
@@ -557,7 +557,7 @@ function St(e, t) {
557
557
  const o = [e, t].filter((r) => typeof r == "string" && r.length > 0).join(" ");
558
558
  return o.length > 0 ? o : void 0;
559
559
  }
560
- function Ve({
560
+ function We({
561
561
  open: e,
562
562
  defaultOpen: t = !1,
563
563
  onOpenChange: o,
@@ -568,12 +568,12 @@ function Ve({
568
568
  children: l,
569
569
  ...f
570
570
  }) {
571
- const [m, y] = U(t), u = e !== void 0, d = u ? !!e : m, a = `moz-collapsible-${Z()}`, S = L(o);
571
+ const [m, y] = U(t), u = e !== void 0, d = u ? !!e : m, a = `moz-collapsible-${Z()}`, S = I(o);
572
572
  S.current = o;
573
573
  const T = _(
574
- (I) => {
574
+ (L) => {
575
575
  var B;
576
- u || y(I), (B = S.current) == null || B.call(S, I);
576
+ u || y(L), (B = S.current) == null || B.call(S, L);
577
577
  },
578
578
  [u]
579
579
  ), b = N(
@@ -590,7 +590,7 @@ function Ve({
590
590
  }) : /* @__PURE__ */ x("div", { ...C, className: c, style: s, children: l });
591
591
  return /* @__PURE__ */ x(mt.Provider, { value: b, children: R });
592
592
  }
593
- function We({
593
+ function $e({
594
594
  asChild: e = !1,
595
595
  disabled: t,
596
596
  className: o,
@@ -609,7 +609,7 @@ function We({
609
609
  ...s
610
610
  };
611
611
  if (e && a) {
612
- const b = ye(a.ref);
612
+ const b = Se(a.ref);
613
613
  return F(a, {
614
614
  ...T,
615
615
  ref: b,
@@ -636,7 +636,7 @@ function We({
636
636
  }
637
637
  );
638
638
  }
639
- function $e({
639
+ function Fe({
640
640
  forceMount: e = !1,
641
641
  className: t,
642
642
  style: o,
@@ -644,14 +644,14 @@ function $e({
644
644
  children: n,
645
645
  ...c
646
646
  }) {
647
- const { open: s, contentId: l, disabled: f } = yt("CollapsibleContent"), m = L({ onHeightChange: r });
647
+ const { open: s, contentId: l, disabled: f } = yt("CollapsibleContent"), m = I({ onHeightChange: r });
648
648
  m.current = { onHeightChange: r };
649
649
  const y = _((d) => {
650
650
  var a, S;
651
651
  (S = (a = m.current).onHeightChange) == null || S.call(a, d);
652
652
  }, []), u = N(() => ({ content: n }), [n]);
653
653
  return /* @__PURE__ */ x(
654
- me,
654
+ ye,
655
655
  {
656
656
  open: s,
657
657
  forceMount: e,
@@ -665,21 +665,21 @@ function $e({
665
665
  }
666
666
  );
667
667
  }
668
- const Se = p(Mt);
669
- function ve(e) {
668
+ const ve = p(Mt);
669
+ function Te(e) {
670
670
  return null;
671
671
  }
672
- function Te(e) {
672
+ function be(e) {
673
673
  return null;
674
674
  }
675
- function Fe({ className: e, style: t, onLoadingStatusChange: o, children: r, ...n }) {
675
+ function He({ className: e, style: t, onLoadingStatusChange: o, children: r, ...n }) {
676
676
  let c, s;
677
677
  ct.forEach(r, (m) => {
678
- K(m) && (m.type === ve ? c = m.props : m.type === Te && (s = m.props));
678
+ K(m) && (m.type === Te ? c = m.props : m.type === be && (s = m.props));
679
679
  });
680
680
  const l = s == null ? void 0 : s.children, f = N(() => ({ fallback: l }), [l]);
681
681
  return /* @__PURE__ */ x(
682
- Se,
682
+ ve,
683
683
  {
684
684
  src: c == null ? void 0 : c.src,
685
685
  alt: c == null ? void 0 : c.alt,
@@ -694,8 +694,8 @@ function Fe({ className: e, style: t, onLoadingStatusChange: o, children: r, ...
694
694
  }
695
695
  );
696
696
  }
697
- const be = p(kt);
698
- function He({
697
+ const he = p(kt);
698
+ function Ge({
699
699
  orientation: e = "vertical",
700
700
  scrollbarVisibility: t = "always",
701
701
  className: o,
@@ -714,7 +714,7 @@ function He({
714
714
  },
715
715
  [s]
716
716
  );
717
- return /* @__PURE__ */ le("div", { className: ["moz-scroll-area", o].filter(Boolean).join(" "), style: l, ...y, children: [
717
+ return /* @__PURE__ */ ue("div", { className: ["moz-scroll-area", o].filter(Boolean).join(" "), style: l, ...y, children: [
718
718
  /* @__PURE__ */ x(
719
719
  "div",
720
720
  {
@@ -725,7 +725,7 @@ function He({
725
725
  }
726
726
  ),
727
727
  /* @__PURE__ */ x(
728
- be,
728
+ he,
729
729
  {
730
730
  viewport: u,
731
731
  interactionRoot: u == null ? void 0 : u.parentElement,
@@ -738,68 +738,69 @@ function He({
738
738
  )
739
739
  ] });
740
740
  }
741
- const Ge = p(wt), qe = p(zt), Xe = p(jt), Ye = p(Nt), Je = p(Bt), Qe = p(Ut), Ze = p(Dt), to = p(Kt), eo = p(Vt), oo = p(Wt), no = p($t), ro = p(Ft), so = p(Ht), co = p(Gt), lo = p(qt), uo = p(Xt), ao = p(Yt), io = p(Jt), po = p(Qt), fo = p(Zt), Co = p(te), Eo = p(ee), Po = p(oe), mo = p(ne), yo = p(re), So = p(se), vo = p(ce);
741
+ const qe = p(wt), Xe = p(zt), Ye = p(jt), Je = p(Nt), Qe = p(Bt), Ze = p(Ut), to = p(Dt), eo = p(Kt), oo = p(Vt), no = p(Wt), ro = p($t), so = p(Ft), co = p(Ht), lo = p(Gt), uo = p(qt), ao = p(Xt), io = p(Yt), po = p(Jt), fo = p(Qt), Co = p(Zt), Eo = p(te), Po = p(ee), mo = p(oe), yo = p(ne), So = p(re), vo = p(se), To = p(ce), bo = p(le);
742
742
  export {
743
- Fe as Avatar,
744
- Te as AvatarFallback,
745
- ve as AvatarImage,
746
- Xe as Badge,
747
- Qe as BreadCrumb,
748
- Ge as Button,
749
- uo as Calendar,
750
- to as CheckBox,
751
- Ye as Chip,
752
- Ve as Collapsible,
753
- $e as CollapsibleContent,
754
- We as CollapsibleTrigger,
755
- Po as ContextMenu,
756
- So as Controller,
757
- ao as DateInput,
758
- Ze as EmptyState,
759
- oo as Input,
760
- qe as Label,
743
+ He as Avatar,
744
+ be as AvatarFallback,
745
+ Te as AvatarImage,
746
+ Ye as Badge,
747
+ to as BreadCrumb,
748
+ qe as Button,
749
+ io as Calendar,
750
+ Qe as Callout,
751
+ oo as CheckBox,
752
+ Je as Chip,
753
+ We as Collapsible,
754
+ Fe as CollapsibleContent,
755
+ $e as CollapsibleTrigger,
756
+ yo as ContextMenu,
757
+ To as Controller,
758
+ po as DateInput,
759
+ eo as EmptyState,
760
+ ro as Input,
761
+ Xe as Label,
761
762
  Ie as MozConfigProvider,
762
763
  at as MozContextWrapperContext,
763
764
  ut as MozLocaleContext,
764
- fo as MultiSelect,
765
- so as NumberInput,
766
- de as Pane,
767
- no as PasswordInput,
768
- Ne as Popover,
769
- Ue as PopoverAnchor,
770
- De as PopoverClose,
771
- Ke as PopoverContent,
772
- Be as PopoverTrigger,
773
- io as Popup,
774
- eo as Radio,
775
- ue as ReactRenderer,
776
- He as ScrollArea,
777
- po as Select,
778
- lo as Slider,
779
- Me as SplitPane,
780
- co as Tab,
781
- mo as TableSelect,
782
- Eo as TagInput,
783
- ro as TextArea,
784
- Co as TimePicker,
785
- vo as Toast,
786
- Je as Toggle,
787
- we as Tooltip,
788
- je as TooltipContent,
789
- ke as TooltipProvider,
790
- ze as TooltipTrigger,
791
- yo as TreeSelect,
792
- Le as Validator,
765
+ Eo as MultiSelect,
766
+ lo as NumberInput,
767
+ Ce as Pane,
768
+ so as PasswordInput,
769
+ Be as Popover,
770
+ De as PopoverAnchor,
771
+ Ke as PopoverClose,
772
+ Ve as PopoverContent,
773
+ Ue as PopoverTrigger,
774
+ fo as Popup,
775
+ no as Radio,
776
+ ae as ReactRenderer,
777
+ Ge as ScrollArea,
778
+ Co as Select,
779
+ ao as Slider,
780
+ ke as SplitPane,
781
+ uo as Tab,
782
+ So as TableSelect,
783
+ mo as TagInput,
784
+ co as TextArea,
785
+ Po as TimePicker,
786
+ bo as Toast,
787
+ Ze as Toggle,
788
+ ze as Tooltip,
789
+ Ne as TooltipContent,
790
+ we as TooltipProvider,
791
+ je as TooltipTrigger,
792
+ vo as TreeSelect,
793
+ xe as Validator,
793
794
  tt as ValidatorReactContext,
794
795
  p as createMozComponent,
795
- ho as createValidator,
796
- Ao as enUS,
797
- go as jaJP,
798
- Ro as koKR,
799
- ie as useMozContextWrapper,
800
- ae as useMozLocale,
801
- Oo as useToast,
802
- xe as useValidatorContext,
803
- _o as zhCN
796
+ go as createValidator,
797
+ Ro as enUS,
798
+ Oo as jaJP,
799
+ _o as koKR,
800
+ pe as useMozContextWrapper,
801
+ ie as useMozLocale,
802
+ Lo as useToast,
803
+ Me as useValidatorContext,
804
+ Io as zhCN
804
805
  };
805
806
  //# sourceMappingURL=index.js.map