@nxgt/material 3.48.0 → 3.50.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.
Files changed (120) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/README.md +3 -3
  3. package/dist/{async-slice-DlvKCKAa.js → async-slice-3loEtzUY.js} +2 -2
  4. package/dist/{button-yaltbQmC.js → button-BRUaHD8z.js} +81 -112
  5. package/dist/charts.js +144 -144
  6. package/dist/{chip-BqWbbr1b.js → chip-DneTrtNj.js} +56 -56
  7. package/dist/{code-editor-C9qBNoYb.js → code-editor-R_nPN_-d.js} +308 -308
  8. package/dist/code-editor.js +47 -47
  9. package/dist/{code-language-items-DAHtfQ7W.js → code-language-items-BKEUhQlF.js} +2 -2
  10. package/dist/components/components.css +1 -0
  11. package/dist/components/ui/actions/action-card/action-card-indicator.css +48 -0
  12. package/dist/components/ui/actions/action-card/action-card-modes.css +4 -1
  13. package/dist/components/ui/actions/action-card/action-card-tile.css +141 -0
  14. package/dist/components/ui/actions/action-card/action-card.css +33 -3
  15. package/dist/{components-Ox6FHmpx.js → components-D6xFLcoE.js} +17646 -17567
  16. package/dist/components.js +26 -27
  17. package/dist/{dialog-CCCcnTIx.js → dialog-S7dLsYRZ.js} +16 -16
  18. package/dist/dnd.js +1 -1
  19. package/dist/{dropdown-menu-Df8785nt.js → dropdown-menu-XLlxfDgq.js} +271 -272
  20. package/dist/editor.js +1028 -1028
  21. package/dist/{empty-state-DcF4TBzi.js → empty-state-Dsf6R-Zo.js} +37 -37
  22. package/dist/{escape-owner-C4W_sOAU.js → escape-owner-B9eCwjLw.js} +1 -1
  23. package/dist/{field-blur-CJHzVSh9.js → field-blur-5uRDFHvB.js} +1 -1
  24. package/dist/{field-blur-context-Cft9s7Hg.js → field-blur-context-Cwt4TuBq.js} +1 -1
  25. package/dist/hooks.js +4 -4
  26. package/dist/{hover-card-C0fw2kLK.js → hover-card-PHUgRSjJ.js} +24 -24
  27. package/dist/{i18n-provider-C0fB0sEL.js → i18n-provider-DPM_ALQ4.js} +1 -1
  28. package/dist/i18n.js +5 -5
  29. package/dist/{icon-badge-aJ22mKGh.js → icon-badge-Dh6-FNOF.js} +3 -3
  30. package/dist/{icon-button-CN9r5TNE.js → icon-button-DSC2-IAG.js} +118 -86
  31. package/dist/lib/components/ui/actions/action-card/action-card-semantics.d.ts +25 -2
  32. package/dist/lib/components/ui/actions/action-card/action-card.d.ts +18 -2
  33. package/dist/lib/components/ui/actions/action-card/partials/action-card-icon.d.ts +6 -0
  34. package/dist/lib/components/ui/actions/action-card/partials/action-card-meta.d.ts +15 -0
  35. package/dist/lib/components/ui/actions/action-card/partials/action-card-status.d.ts +6 -0
  36. package/dist/lib/components/ui/actions/action-card/partials/action-card-text.d.ts +20 -0
  37. package/dist/lib/components/ui/actions/action-card/partials/action-card-title-button.d.ts +14 -0
  38. package/dist/lib/components/ui/actions/action-card/partials/action-card-trail.d.ts +6 -0
  39. package/dist/lib/components/ui/actions/action-card/use-action-card-names.d.ts +22 -0
  40. package/dist/lib/components/ui/actions/action-card/use-reveal.d.ts +23 -0
  41. package/dist/lib/components/ui/actions/button/button.variants.d.ts +1 -1
  42. package/dist/lib/components/ui/actions/icon-button/icon-button-busy.d.ts +22 -0
  43. package/dist/lib/components/ui/actions/icon-button/icon-button-shape.d.ts +2 -0
  44. package/dist/lib/components/ui/actions/icon-button/icon-button.d.ts +7 -0
  45. package/dist/lib/components/ui/actions/icon-button/icon-button.variants.d.ts +1 -1
  46. package/dist/lib/components/ui/collections/filter/bar/partials/filter-quick-toggle.d.ts +3 -2
  47. package/dist/lib/components/ui/collections/filter/sections/filter-sections-classes.d.ts +7 -1
  48. package/dist/lib/components/ui/collections/page-footer/page-footer.d.ts +6 -1
  49. package/dist/lib/components/ui/collections/row-menu/row-menu-trigger.d.ts +5 -2
  50. package/dist/lib/components/ui/collections/row-menu/row-menu.d.ts +1 -1
  51. package/dist/lib/components/ui/collections/server-table/index.d.ts +1 -1
  52. package/dist/lib/components/ui/collections/server-table/partials/server-table-empty-chips.d.ts +5 -3
  53. package/dist/lib/components/ui/collections/server-table/types-paging.d.ts +17 -0
  54. package/dist/lib/components/ui/collections/server-table/types.d.ts +3 -10
  55. package/dist/lib/components/ui/dates/duration-field/partials/use-duration-box.d.ts +1 -1
  56. package/dist/lib/components/ui/display/badge/badge.d.ts +1 -1
  57. package/dist/lib/components/ui/display/day-separator/day-separator.d.ts +1 -1
  58. package/dist/lib/components/ui/feedback/step-up-dialog/partials/step-up-body.d.ts +5 -3
  59. package/dist/lib/components/ui/feedback/step-up-dialog/partials/step-up-request-error.d.ts +15 -0
  60. package/dist/lib/components/ui/feedback/step-up-dialog/step-up-dialog.d.ts +6 -3
  61. package/dist/lib/components/ui/feedback/step-up-dialog/types.d.ts +12 -1
  62. package/dist/lib/components/ui/feedback/step-up-dialog/use-retry-focus.d.ts +27 -0
  63. package/dist/lib/components/ui/feedback/step-up-dialog/use-retry.d.ts +11 -0
  64. package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
  65. package/dist/lib/components/ui/fields/slider/split-slider-props.d.ts +20 -20
  66. package/dist/lib/components/ui/fields/slider/use-slider-control.d.ts +20 -20
  67. package/dist/lib/components/ui/fields/verification-code/use-settled-focus.d.ts +10 -0
  68. package/dist/lib/components/ui/layout/app-shell/route-transition.d.ts +1 -1
  69. package/dist/lib/components/ui/media/carousel/use-carousel-engine.d.ts +1 -1
  70. package/dist/lib/components/ui/media/media-player/engine/use-queue-actions.d.ts +1 -1
  71. package/dist/lib/components/ui/media/pdf-reader/pdf-reader.slice.d.ts +1 -1
  72. package/dist/lib/components/ui/selection/choice-group/use-choice-group-field.d.ts +34 -34
  73. package/dist/lib/components/ui/widgets/chat/chat-message.variants.d.ts +2 -2
  74. package/dist/lib/components/ui/widgets/event-calendar/use-event-calendar.d.ts +1 -1
  75. package/dist/lib/i18n/resources/en/en.d.ts +1 -0
  76. package/dist/lib/i18n/resources/en/material.json.d.ts +2 -1
  77. package/dist/lib/i18n/resources/fr/fr.d.ts +1 -0
  78. package/dist/lib/i18n/resources/fr/material.json.d.ts +2 -1
  79. package/dist/lib/i18n/resources/resources.d.ts +2 -0
  80. package/dist/lib/i18n/translator.d.ts +1 -1
  81. package/dist/lib.js +1 -1
  82. package/dist/main.js +43 -44
  83. package/dist/map.js +79 -79
  84. package/dist/material.css +1 -1
  85. package/dist/nxgt-theme-ivgNca3z.js +37 -0
  86. package/dist/pdf-reader.js +1 -1
  87. package/dist/print.js +2 -2
  88. package/dist/{public-zVb_Nq_D.js → public-vxiijIJF.js} +82 -82
  89. package/dist/{rich-code-block-DMWZZJma.js → rich-code-block-BwvCXPqq.js} +52 -52
  90. package/dist/{sortable-provider-DstbgMVf.js → sortable-provider-D2pAFWQB.js} +218 -218
  91. package/dist/{tooltip-CkttDIab.js → spinner-BpVwI1ps.js} +503 -278
  92. package/dist/{stored-language-IaL1Ftn_.js → stored-language-Beyj2ult.js} +4 -2
  93. package/dist/theme-picker.js +45 -45
  94. package/dist/{theme-store-CSl51uNH.js → theme-store-BdPp43cV.js} +13 -13
  95. package/dist/{theme-toggle-CGW2_K54.js → theme-toggle-BTYRPkP4.js} +16 -16
  96. package/dist/themes.js +17 -17
  97. package/dist/{toggle-group-BMJNcFAC.js → toggle-group-BkH23Jk4.js} +11 -11
  98. package/dist/{toolbar-items-CsLGJMEJ.js → toolbar-items-CIMo4F9q.js} +421 -421
  99. package/dist/{translate-material-v9u-e7Kd.js → translate-material-DEUlaL_1.js} +2 -2
  100. package/dist/{translator-Dk4_qE6U.js → translator-CBgIb3zP.js} +1 -1
  101. package/dist/{use-chat-composer-Brcb5f7r.js → use-chat-composer-D8UAsX0f.js} +6228 -5999
  102. package/dist/{button-tones-BwuVvAmd.js → use-click-lock-BZYtTmVt.js} +37 -7
  103. package/dist/{use-heading-spy-DjKixjLm.js → use-heading-spy-C5LXtA8Z.js} +1 -1
  104. package/dist/{use-material-translation-DOkTaWK_.js → use-material-translation-DWWeeg-B.js} +2 -2
  105. package/dist/{use-theme-DMcyJ52N.js → use-theme-BCLireTd.js} +1 -1
  106. package/docs/components/buttons-and-actions.md +64 -5
  107. package/docs/components/data-table-filter-and-lists.md +30 -10
  108. package/docs/components/feedback-and-status.md +22 -3
  109. package/docs/components/form-fields.md +7 -0
  110. package/docs/guides/cards-and-tiles.md +60 -0
  111. package/docs/guides/server-lists-url.md +3 -2
  112. package/docs/roadmap.md +11 -0
  113. package/lib/components/components.css +1 -0
  114. package/lib/components/ui/actions/action-card/action-card-indicator.css +48 -0
  115. package/lib/components/ui/actions/action-card/action-card-modes.css +4 -1
  116. package/lib/components/ui/actions/action-card/action-card-tile.css +141 -0
  117. package/lib/components/ui/actions/action-card/action-card.css +33 -3
  118. package/package.json +1 -1
  119. package/dist/nxgt-theme-ZS945iMP.js +0 -37
  120. package/dist/spinner-C4CgDEYm.js +0 -229
@@ -1,38 +1,37 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { n as t, o as n, r } from "./dist-DVRQkaTK.js";
3
3
  import { a as i, c as a, i as o, l as s, n as c, r as l, s as u, u as d } from "./dist-lmHmz_bu.js";
4
- import { b as f, c as p, d as m, f as h, u as ee, x as te } from "./tooltip-CkttDIab.js";
5
- import { a as g, i as _, n as ne, r as v, t as y } from "./dist-C4wtXCjf.js";
6
- import { a as re, c as ie, l as ae, o as oe, r as b, s as se, t as ce } from "./in-dialog-Vwkyp-M5.js";
7
- import { t as x } from "./spinner-C4CgDEYm.js";
8
- import * as S from "react";
9
- import { Fragment as C, jsx as w, jsxs as T } from "react/jsx-runtime";
4
+ import { C as f, S as p, f as m, m as h, p as g, t as ee, u as _ } from "./spinner-BpVwI1ps.js";
5
+ import { a as v, i as y, n as te, r as b, t as ne } from "./dist-C4wtXCjf.js";
6
+ import { a as re, c as ie, l as ae, o as x, r as oe, s as se, t as S } from "./in-dialog-Vwkyp-M5.js";
7
+ import * as C from "react";
8
+ import { Fragment as w, jsx as T, jsxs as E } from "react/jsx-runtime";
10
9
  //#region ../../node_modules/@radix-ui/react-menu/dist/index.mjs
11
- var E = Object.defineProperty, D = (e, t) => E(e, "name", {
10
+ var D = Object.defineProperty, O = (e, t) => D(e, "name", {
12
11
  value: t,
13
12
  configurable: !0
14
- }), O = ["Enter", " "], le = [
13
+ }), k = ["Enter", " "], ce = [
15
14
  "ArrowDown",
16
15
  "PageUp",
17
16
  "Home"
18
- ], ue = [
17
+ ], le = [
19
18
  "ArrowUp",
20
19
  "PageDown",
21
20
  "End"
22
- ], de = [...le, ...ue], k = {
23
- ltr: [...O, "ArrowRight"],
24
- rtl: [...O, "ArrowLeft"]
25
- }, A = {
21
+ ], ue = [...ce, ...le], A = {
22
+ ltr: [...k, "ArrowRight"],
23
+ rtl: [...k, "ArrowLeft"]
24
+ }, j = {
26
25
  ltr: ["ArrowLeft"],
27
26
  rtl: ["ArrowRight"]
28
- }, j = "Menu", [M, fe, pe] = g(j), [N, P] = a(j, [
29
- pe,
27
+ }, M = "Menu", [N, de, fe] = v(M), [P, F] = a(M, [
28
+ fe,
30
29
  h,
31
- v
32
- ]), F = h(), me = v(), [he, I] = N(j), [ge, L] = N(j), _e = /* @__PURE__ */ D((e) => {
33
- let { __scopeMenu: t, open: n = !1, children: r, dir: i, onOpenChange: a, modal: o = !0 } = e, s = F(t), [l, u] = S.useState(null), d = S.useRef(!1), f = c(a), p = _(i);
34
- return S.useEffect(() => {
35
- let e = /* @__PURE__ */ D(() => {
30
+ b
31
+ ]), I = h(), pe = b(), [me, L] = P(M), [he, R] = P(M), ge = /* @__PURE__ */ O((e) => {
32
+ let { __scopeMenu: t, open: n = !1, children: r, dir: i, onOpenChange: a, modal: o = !0 } = e, s = I(t), [l, u] = C.useState(null), d = C.useRef(!1), f = c(a), p = y(i);
33
+ return C.useEffect(() => {
34
+ let e = /* @__PURE__ */ O(() => {
36
35
  d.current = !0, document.addEventListener("pointerdown", t, {
37
36
  capture: !0,
38
37
  once: !0
@@ -40,25 +39,25 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
40
39
  capture: !0,
41
40
  once: !0
42
41
  });
43
- }, "handleKeyDown"), t = /* @__PURE__ */ D(() => d.current = !1, "handlePointer");
42
+ }, "handleKeyDown"), t = /* @__PURE__ */ O(() => d.current = !1, "handlePointer");
44
43
  return document.addEventListener("keydown", e, { capture: !0 }), () => {
45
44
  document.removeEventListener("keydown", e, { capture: !0 }), document.removeEventListener("pointerdown", t, { capture: !0 }), document.removeEventListener("pointermove", t, { capture: !0 });
46
45
  };
47
- }, []), S.useEffect(() => {
46
+ }, []), C.useEffect(() => {
48
47
  if (!n) return;
49
- let e = /* @__PURE__ */ D(() => f(!1), "handleBlur");
48
+ let e = /* @__PURE__ */ O(() => f(!1), "handleBlur");
50
49
  return window.addEventListener("blur", e), () => window.removeEventListener("blur", e);
51
- }, [n, f]), /* @__PURE__ */ w(m, {
50
+ }, [n, f]), /* @__PURE__ */ T(g, {
52
51
  ...s,
53
- children: /* @__PURE__ */ w(he, {
52
+ children: /* @__PURE__ */ T(me, {
54
53
  scope: t,
55
54
  open: n,
56
55
  onOpenChange: f,
57
56
  content: l,
58
57
  onContentChange: u,
59
- children: /* @__PURE__ */ w(ge, {
58
+ children: /* @__PURE__ */ T(he, {
60
59
  scope: t,
61
- onClose: S.useCallback(() => f(!1), [f]),
60
+ onClose: C.useCallback(() => f(!1), [f]),
62
61
  isUsingKeyboardRef: d,
63
62
  dir: p,
64
63
  modal: o,
@@ -66,51 +65,51 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
66
65
  })
67
66
  })
68
67
  });
69
- }, "Menu"), ve = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
68
+ }, "Menu"), _e = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
70
69
  let { __scopeMenu: n, ...r } = e;
71
- return /* @__PURE__ */ w(p, {
72
- ...F(n),
70
+ return /* @__PURE__ */ T(_, {
71
+ ...I(n),
73
72
  ...r,
74
73
  ref: t
75
74
  });
76
- }, "MenuAnchor")), ye = "MenuPortal", [be, xe] = N(ye, { forceMount: void 0 }), Se = /* @__PURE__ */ D((e) => {
77
- let { __scopeMenu: t, forceMount: n, children: r, container: i } = e, a = I(ye, t);
78
- return /* @__PURE__ */ w(be, {
75
+ }, "MenuAnchor")), ve = "MenuPortal", [ye, be] = P(ve, { forceMount: void 0 }), xe = /* @__PURE__ */ O((e) => {
76
+ let { __scopeMenu: t, forceMount: n, children: r, container: i } = e, a = L(ve, t);
77
+ return /* @__PURE__ */ T(ye, {
79
78
  scope: t,
80
79
  forceMount: n,
81
- children: /* @__PURE__ */ w(o, {
80
+ children: /* @__PURE__ */ T(o, {
82
81
  present: n || a.open,
83
- children: /* @__PURE__ */ w(f, {
82
+ children: /* @__PURE__ */ T(p, {
84
83
  asChild: !0,
85
84
  container: i,
86
85
  children: r
87
86
  })
88
87
  })
89
88
  });
90
- }, "MenuPortal"), R = "MenuContent", [Ce, z] = N(R), we = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
91
- let n = xe(R, e.__scopeMenu), { forceMount: r = n.forceMount, ...i } = e, a = I(R, e.__scopeMenu), s = L(R, e.__scopeMenu);
92
- return /* @__PURE__ */ w(M.Provider, {
89
+ }, "MenuPortal"), z = "MenuContent", [Se, B] = P(z), Ce = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
90
+ let n = be(z, e.__scopeMenu), { forceMount: r = n.forceMount, ...i } = e, a = L(z, e.__scopeMenu), s = R(z, e.__scopeMenu);
91
+ return /* @__PURE__ */ T(N.Provider, {
93
92
  scope: e.__scopeMenu,
94
- children: /* @__PURE__ */ w(o, {
93
+ children: /* @__PURE__ */ T(o, {
95
94
  present: r || a.open,
96
- children: /* @__PURE__ */ w(M.Slot, {
95
+ children: /* @__PURE__ */ T(N.Slot, {
97
96
  scope: e.__scopeMenu,
98
- children: s.modal ? /* @__PURE__ */ w(Te, {
97
+ children: s.modal ? /* @__PURE__ */ T(we, {
99
98
  ...i,
100
99
  ref: t
101
- }) : /* @__PURE__ */ w(Ee, {
100
+ }) : /* @__PURE__ */ T(Te, {
102
101
  ...i,
103
102
  ref: t
104
103
  })
105
104
  })
106
105
  })
107
106
  });
108
- }, "MenuContent")), Te = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
109
- let r = I(R, e.__scopeMenu), i = S.useRef(null), a = n(t, i);
110
- return S.useEffect(() => {
107
+ }, "MenuContent")), we = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
108
+ let r = L(z, e.__scopeMenu), i = C.useRef(null), a = n(t, i);
109
+ return C.useEffect(() => {
111
110
  let e = i.current;
112
- if (e) return oe(e);
113
- }, []), /* @__PURE__ */ w(B, {
111
+ if (e) return x(e);
112
+ }, []), /* @__PURE__ */ T(V, {
114
113
  ...e,
115
114
  ref: a,
116
115
  trapFocus: r.open,
@@ -119,9 +118,9 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
119
118
  onFocusOutside: u(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 }),
120
119
  onDismiss: () => r.onOpenChange(!1)
121
120
  });
122
- }, "MenuRootContentModal")), Ee = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
123
- let n = I(R, e.__scopeMenu);
124
- return /* @__PURE__ */ w(B, {
121
+ }, "MenuRootContentModal")), Te = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
122
+ let n = L(z, e.__scopeMenu);
123
+ return /* @__PURE__ */ T(V, {
125
124
  ...e,
126
125
  ref: t,
127
126
  trapFocus: !1,
@@ -129,93 +128,93 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
129
128
  disableOutsideScroll: !1,
130
129
  onDismiss: () => n.onOpenChange(!1)
131
130
  });
132
- }, "MenuRootContentNonModal")), De = r("MenuContent.ScrollLock"), B = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
133
- let { __scopeMenu: r, loop: i = !1, trapFocus: a, onOpenAutoFocus: o, onCloseAutoFocus: s, disableOutsidePointerEvents: c, onEntryFocus: l, onEscapeKeyDown: d, onPointerDownOutside: f, onFocusOutside: p, onInteractOutside: m, onDismiss: h, disableOutsideScroll: g, ..._ } = e, v = I(R, r), y = L(R, r), re = F(r), oe = me(r), b = fe(r), [ce, x] = S.useState(null), C = S.useRef(null), T = n(t, C, v.onContentChange), E = S.useRef(0), O = S.useRef(""), le = S.useRef(0), k = S.useRef(null), A = S.useRef("right"), j = S.useRef(0), M = g ? se : S.Fragment, pe = g ? {
134
- as: De,
131
+ }, "MenuRootContentNonModal")), Ee = r("MenuContent.ScrollLock"), V = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
132
+ let { __scopeMenu: r, loop: i = !1, trapFocus: a, onOpenAutoFocus: o, onCloseAutoFocus: s, disableOutsidePointerEvents: c, onEntryFocus: l, onEscapeKeyDown: d, onPointerDownOutside: p, onFocusOutside: h, onInteractOutside: g, onDismiss: ee, disableOutsideScroll: _, ...v } = e, y = L(z, r), b = R(z, r), ne = I(r), re = pe(r), x = de(r), [oe, S] = C.useState(null), w = C.useRef(null), E = n(t, w, y.onContentChange), D = C.useRef(0), k = C.useRef(""), ce = C.useRef(0), A = C.useRef(null), j = C.useRef("right"), M = C.useRef(0), N = _ ? se : C.Fragment, fe = _ ? {
133
+ as: Ee,
135
134
  allowPinchZoom: !0
136
- } : void 0, N = /* @__PURE__ */ D((e) => {
137
- let t = O.current + e, n = b().filter((e) => !e.disabled), r = document.activeElement, i = n.find((e) => e.ref.current === r)?.textValue, a = Qe(n.map((e) => e.textValue), t, i), o = n.find((e) => e.textValue === a)?.ref.current;
138
- (/* @__PURE__ */ D((function e(t) {
139
- O.current = t, window.clearTimeout(E.current), t !== "" && (E.current = window.setTimeout(() => e(""), 1e3));
135
+ } : void 0, P = /* @__PURE__ */ O((e) => {
136
+ let t = k.current + e, n = x().filter((e) => !e.disabled), r = document.activeElement, i = n.find((e) => e.ref.current === r)?.textValue, a = Ze(n.map((e) => e.textValue), t, i), o = n.find((e) => e.textValue === a)?.ref.current;
137
+ (/* @__PURE__ */ O((function e(t) {
138
+ k.current = t, window.clearTimeout(D.current), t !== "" && (D.current = window.setTimeout(() => e(""), 1e3));
140
139
  }), "updateSearch"))(t), o && setTimeout(() => o.focus());
141
140
  }, "handleTypeaheadSearch");
142
- S.useEffect(() => () => window.clearTimeout(E.current), []), ie();
143
- let P = S.useCallback((e) => A.current === k.current?.side && et(e, k.current?.area), []);
144
- return /* @__PURE__ */ w(Ce, {
141
+ C.useEffect(() => () => window.clearTimeout(D.current), []), ie();
142
+ let F = C.useCallback((e) => j.current === A.current?.side && $e(e, A.current?.area), []);
143
+ return /* @__PURE__ */ T(Se, {
145
144
  scope: r,
146
- searchRef: O,
147
- onItemEnter: S.useCallback((e) => {
148
- P(e) && e.preventDefault();
149
- }, [P]),
150
- onItemLeave: S.useCallback((e) => {
151
- P(e) || (C.current?.focus(), x(null));
152
- }, [P]),
153
- onTriggerLeave: S.useCallback((e) => {
154
- P(e) && e.preventDefault();
155
- }, [P]),
156
- pointerGraceTimerRef: le,
157
- onPointerGraceIntentChange: S.useCallback((e) => {
158
- k.current = e;
145
+ searchRef: k,
146
+ onItemEnter: C.useCallback((e) => {
147
+ F(e) && e.preventDefault();
148
+ }, [F]),
149
+ onItemLeave: C.useCallback((e) => {
150
+ F(e) || (w.current?.focus(), S(null));
151
+ }, [F]),
152
+ onTriggerLeave: C.useCallback((e) => {
153
+ F(e) && e.preventDefault();
154
+ }, [F]),
155
+ pointerGraceTimerRef: ce,
156
+ onPointerGraceIntentChange: C.useCallback((e) => {
157
+ A.current = e;
159
158
  }, []),
160
- children: /* @__PURE__ */ w(M, {
161
- ...pe,
162
- children: /* @__PURE__ */ w(ae, {
159
+ children: /* @__PURE__ */ T(N, {
160
+ ...fe,
161
+ children: /* @__PURE__ */ T(ae, {
163
162
  asChild: !0,
164
163
  trapped: a,
165
164
  onMountAutoFocus: u(o, (e) => {
166
- e.preventDefault(), C.current?.focus({ preventScroll: !0 });
165
+ e.preventDefault(), w.current?.focus({ preventScroll: !0 });
167
166
  }),
168
167
  onUnmountAutoFocus: s,
169
- children: /* @__PURE__ */ w(te, {
168
+ children: /* @__PURE__ */ T(f, {
170
169
  asChild: !0,
171
170
  disableOutsidePointerEvents: c,
172
171
  onEscapeKeyDown: d,
173
- onPointerDownOutside: f,
174
- onFocusOutside: p,
175
- onInteractOutside: m,
176
- onDismiss: h,
177
- children: /* @__PURE__ */ w(ne, {
172
+ onPointerDownOutside: p,
173
+ onFocusOutside: h,
174
+ onInteractOutside: g,
175
+ onDismiss: ee,
176
+ children: /* @__PURE__ */ T(te, {
178
177
  asChild: !0,
179
- ...oe,
180
- dir: y.dir,
178
+ ...re,
179
+ dir: b.dir,
181
180
  orientation: "vertical",
182
181
  loop: i,
183
- currentTabStopId: ce,
184
- onCurrentTabStopIdChange: x,
182
+ currentTabStopId: oe,
183
+ onCurrentTabStopIdChange: S,
185
184
  onEntryFocus: u(l, (e) => {
186
- y.isUsingKeyboardRef.current || e.preventDefault();
185
+ b.isUsingKeyboardRef.current || e.preventDefault();
187
186
  }),
188
187
  preventScrollOnEntryFocus: !0,
189
- children: /* @__PURE__ */ w(ee, {
188
+ children: /* @__PURE__ */ T(m, {
190
189
  role: "menu",
191
190
  "aria-orientation": "vertical",
192
- "data-state": W(v.open),
191
+ "data-state": G(y.open),
193
192
  "data-radix-menu-content": "",
194
- dir: y.dir,
195
- ...re,
196
- ..._,
197
- ref: T,
193
+ dir: b.dir,
194
+ ...ne,
195
+ ...v,
196
+ ref: E,
198
197
  style: {
199
198
  outline: "none",
200
- ..._.style
199
+ ...v.style
201
200
  },
202
- onKeyDown: u(_.onKeyDown, (e) => {
201
+ onKeyDown: u(v.onKeyDown, (e) => {
203
202
  let t = e.target.closest("[data-radix-menu-content]") === e.currentTarget, n = e.ctrlKey || e.altKey || e.metaKey, r = e.key.length === 1;
204
- t && (e.key === "Tab" && e.preventDefault(), !n && r && N(e.key));
205
- let i = C.current;
206
- if (e.target !== i || !de.includes(e.key)) return;
203
+ t && (e.key === "Tab" && e.preventDefault(), !n && r && P(e.key));
204
+ let i = w.current;
205
+ if (e.target !== i || !ue.includes(e.key)) return;
207
206
  e.preventDefault();
208
- let a = b().filter((e) => !e.disabled).map((e) => e.ref.current);
209
- ue.includes(e.key) && a.reverse(), Xe(a);
207
+ let a = x().filter((e) => !e.disabled).map((e) => e.ref.current);
208
+ le.includes(e.key) && a.reverse(), Ye(a);
210
209
  }),
211
210
  onBlur: u(e.onBlur, (e) => {
212
- e.currentTarget.contains(e.target) || (window.clearTimeout(E.current), O.current = "");
211
+ e.currentTarget.contains(e.target) || (window.clearTimeout(D.current), k.current = "");
213
212
  }),
214
- onPointerMove: u(e.onPointerMove, q((e) => {
215
- let t = e.target, n = j.current !== e.clientX;
213
+ onPointerMove: u(e.onPointerMove, J((e) => {
214
+ let t = e.target, n = M.current !== e.clientX;
216
215
  if (e.currentTarget.contains(t) && n) {
217
- let t = e.clientX > j.current ? "right" : "left";
218
- A.current = t, j.current = e.clientX;
216
+ let t = e.clientX > M.current ? "right" : "left";
217
+ j.current = t, M.current = e.clientX;
219
218
  }
220
219
  }))
221
220
  })
@@ -224,31 +223,31 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
224
223
  })
225
224
  })
226
225
  });
227
- }, "MenuContentImpl")), Oe = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
226
+ }, "MenuContentImpl")), De = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
228
227
  let { __scopeMenu: n, ...r } = e;
229
- return /* @__PURE__ */ w(s.div, {
228
+ return /* @__PURE__ */ T(s.div, {
230
229
  role: "group",
231
230
  ...r,
232
231
  ref: t
233
232
  });
234
- }, "MenuGroup")), ke = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
233
+ }, "MenuGroup")), Oe = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
235
234
  let { __scopeMenu: n, ...r } = e;
236
- return /* @__PURE__ */ w(s.div, {
235
+ return /* @__PURE__ */ T(s.div, {
237
236
  ...r,
238
237
  ref: t
239
238
  });
240
- }, "MenuLabel")), V = "MenuItem", Ae = "menu.itemSelect", H = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
241
- let { disabled: r = !1, onSelect: i, ...a } = e, o = S.useRef(null), s = L(V, e.__scopeMenu), c = z(V, e.__scopeMenu), l = n(t, o), f = S.useRef(!1), p = /* @__PURE__ */ D(() => {
239
+ }, "MenuLabel")), H = "MenuItem", ke = "menu.itemSelect", U = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
240
+ let { disabled: r = !1, onSelect: i, ...a } = e, o = C.useRef(null), s = R(H, e.__scopeMenu), c = B(H, e.__scopeMenu), l = n(t, o), f = C.useRef(!1), p = /* @__PURE__ */ O(() => {
242
241
  let e = o.current;
243
242
  if (!r && e) {
244
- let t = new CustomEvent(Ae, {
243
+ let t = new CustomEvent(ke, {
245
244
  bubbles: !0,
246
245
  cancelable: !0
247
246
  });
248
- e.addEventListener(Ae, (e) => i?.(e), { once: !0 }), d(e, t), t.defaultPrevented ? f.current = !1 : s.onClose();
247
+ e.addEventListener(ke, (e) => i?.(e), { once: !0 }), d(e, t), t.defaultPrevented ? f.current = !1 : s.onClose();
249
248
  }
250
249
  }, "handleSelect");
251
- return /* @__PURE__ */ w(je, {
250
+ return /* @__PURE__ */ T(Ae, {
252
251
  ...a,
253
252
  ref: l,
254
253
  disabled: r,
@@ -260,109 +259,109 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
260
259
  f.current || e.currentTarget?.click();
261
260
  }),
262
261
  onKeyDown: u(e.onKeyDown, (e) => {
263
- r || e.target !== e.currentTarget || c.searchRef.current !== "" && e.key === " " || O.includes(e.key) && (e.currentTarget.click(), e.preventDefault());
262
+ r || e.target !== e.currentTarget || c.searchRef.current !== "" && e.key === " " || k.includes(e.key) && (e.currentTarget.click(), e.preventDefault());
264
263
  })
265
264
  });
266
- }, "MenuItem")), je = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
267
- let { __scopeMenu: r, disabled: i = !1, textValue: a, ...o } = e, c = z(V, r), l = me(r), d = S.useRef(null), f = n(t, d), [p, m] = S.useState(!1), [h, ee] = S.useState("");
268
- return S.useEffect(() => {
265
+ }, "MenuItem")), Ae = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
266
+ let { __scopeMenu: r, disabled: i = !1, textValue: a, ...o } = e, c = B(H, r), l = pe(r), d = C.useRef(null), f = n(t, d), [p, m] = C.useState(!1), [h, g] = C.useState("");
267
+ return C.useEffect(() => {
269
268
  let e = d.current;
270
- e && ee((e.textContent ?? "").trim());
271
- }, [o.children]), /* @__PURE__ */ w(M.ItemSlot, {
269
+ e && g((e.textContent ?? "").trim());
270
+ }, [o.children]), /* @__PURE__ */ T(N.ItemSlot, {
272
271
  scope: r,
273
272
  disabled: i,
274
273
  textValue: a ?? h,
275
- children: /* @__PURE__ */ w(y, {
274
+ children: /* @__PURE__ */ T(ne, {
276
275
  asChild: !0,
277
276
  ...l,
278
277
  focusable: !i,
279
- children: /* @__PURE__ */ w(s.div, {
278
+ children: /* @__PURE__ */ T(s.div, {
280
279
  role: "menuitem",
281
280
  "data-highlighted": p ? "" : void 0,
282
281
  "aria-disabled": i || void 0,
283
282
  "data-disabled": i ? "" : void 0,
284
283
  ...o,
285
284
  ref: f,
286
- onPointerMove: u(e.onPointerMove, q((e) => {
285
+ onPointerMove: u(e.onPointerMove, J((e) => {
287
286
  i ? c.onItemLeave(e) : (c.onItemEnter(e), e.defaultPrevented || e.currentTarget.focus({ preventScroll: !0 }));
288
287
  })),
289
- onPointerLeave: u(e.onPointerLeave, q((e) => c.onItemLeave(e))),
288
+ onPointerLeave: u(e.onPointerLeave, J((e) => c.onItemLeave(e))),
290
289
  onFocus: u(e.onFocus, () => m(!0)),
291
290
  onBlur: u(e.onBlur, () => m(!1))
292
291
  })
293
292
  })
294
293
  });
295
- }, "MenuItemImpl")), Me = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
294
+ }, "MenuItemImpl")), je = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
296
295
  let { checked: n = !1, onCheckedChange: r, ...i } = e;
297
- return /* @__PURE__ */ w(ze, {
296
+ return /* @__PURE__ */ T(Re, {
298
297
  scope: e.__scopeMenu,
299
298
  checked: n,
300
- children: /* @__PURE__ */ w(H, {
299
+ children: /* @__PURE__ */ T(U, {
301
300
  role: "menuitemcheckbox",
302
- "aria-checked": G(n) ? "mixed" : n,
301
+ "aria-checked": K(n) ? "mixed" : n,
303
302
  ...i,
304
303
  ref: t,
305
- "data-state": K(n),
306
- onSelect: u(i.onSelect, () => r?.(G(n) ? !0 : !n), { checkForDefaultPrevented: !1 })
304
+ "data-state": q(n),
305
+ onSelect: u(i.onSelect, () => r?.(K(n) ? !0 : !n), { checkForDefaultPrevented: !1 })
307
306
  })
308
307
  });
309
- }, "MenuCheckboxItem")), [Ne, Pe] = N("MenuRadioGroup", {
308
+ }, "MenuCheckboxItem")), [Me, Ne] = P("MenuRadioGroup", {
310
309
  value: void 0,
311
- onValueChange: /* @__PURE__ */ D(() => {}, "onValueChange")
312
- }), Fe = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
310
+ onValueChange: /* @__PURE__ */ O(() => {}, "onValueChange")
311
+ }), Pe = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
313
312
  let { value: n, onValueChange: r, ...i } = e, a = c(r);
314
- return /* @__PURE__ */ w(Ne, {
313
+ return /* @__PURE__ */ T(Me, {
315
314
  scope: e.__scopeMenu,
316
315
  value: n,
317
316
  onValueChange: a,
318
- children: /* @__PURE__ */ w(Oe, {
317
+ children: /* @__PURE__ */ T(De, {
319
318
  ...i,
320
319
  ref: t
321
320
  })
322
321
  });
323
- }, "MenuRadioGroup")), Ie = "MenuRadioItem", Le = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
324
- let { value: n, ...r } = e, i = Pe(Ie, e.__scopeMenu), a = n === i.value;
325
- return /* @__PURE__ */ w(ze, {
322
+ }, "MenuRadioGroup")), Fe = "MenuRadioItem", Ie = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
323
+ let { value: n, ...r } = e, i = Ne(Fe, e.__scopeMenu), a = n === i.value;
324
+ return /* @__PURE__ */ T(Re, {
326
325
  scope: e.__scopeMenu,
327
326
  checked: a,
328
- children: /* @__PURE__ */ w(H, {
327
+ children: /* @__PURE__ */ T(U, {
329
328
  role: "menuitemradio",
330
329
  "aria-checked": a,
331
330
  ...r,
332
331
  ref: t,
333
- "data-state": K(a),
332
+ "data-state": q(a),
334
333
  onSelect: u(r.onSelect, () => i.onValueChange?.(n), { checkForDefaultPrevented: !1 })
335
334
  })
336
335
  });
337
- }, "MenuRadioItem")), Re = "MenuItemIndicator", [ze, Be] = N(Re, { checked: !1 }), Ve = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
338
- let { __scopeMenu: n, forceMount: r, ...i } = e, a = Be(Re, n);
339
- return /* @__PURE__ */ w(o, {
340
- present: r || G(a.checked) || a.checked === !0,
341
- children: /* @__PURE__ */ w(s.span, {
336
+ }, "MenuRadioItem")), Le = "MenuItemIndicator", [Re, ze] = P(Le, { checked: !1 }), Be = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
337
+ let { __scopeMenu: n, forceMount: r, ...i } = e, a = ze(Le, n);
338
+ return /* @__PURE__ */ T(o, {
339
+ present: r || K(a.checked) || a.checked === !0,
340
+ children: /* @__PURE__ */ T(s.span, {
342
341
  ...i,
343
342
  ref: t,
344
- "data-state": K(a.checked)
343
+ "data-state": q(a.checked)
345
344
  })
346
345
  });
347
- }, "MenuItemIndicator")), He = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
346
+ }, "MenuItemIndicator")), Ve = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
348
347
  let { __scopeMenu: n, ...r } = e;
349
- return /* @__PURE__ */ w(s.div, {
348
+ return /* @__PURE__ */ T(s.div, {
350
349
  role: "separator",
351
350
  "aria-orientation": "horizontal",
352
351
  ...r,
353
352
  ref: t
354
353
  });
355
- }, "MenuSeparator")), Ue = "MenuSub", [We, Ge] = N(Ue), Ke = /* @__PURE__ */ D((e) => {
356
- let { __scopeMenu: t, children: n, open: r = !1, onOpenChange: i } = e, a = I(Ue, t), o = F(t), [s, u] = S.useState(null), [d, f] = S.useState(null), p = c(i);
357
- return S.useEffect(() => (a.open === !1 && p(!1), () => p(!1)), [a.open, p]), /* @__PURE__ */ w(m, {
354
+ }, "MenuSeparator")), He = "MenuSub", [Ue, We] = P(He), Ge = /* @__PURE__ */ O((e) => {
355
+ let { __scopeMenu: t, children: n, open: r = !1, onOpenChange: i } = e, a = L(He, t), o = I(t), [s, u] = C.useState(null), [d, f] = C.useState(null), p = c(i);
356
+ return C.useEffect(() => (a.open === !1 && p(!1), () => p(!1)), [a.open, p]), /* @__PURE__ */ T(g, {
358
357
  ...o,
359
- children: /* @__PURE__ */ w(he, {
358
+ children: /* @__PURE__ */ T(me, {
360
359
  scope: t,
361
360
  open: r,
362
361
  onOpenChange: p,
363
362
  content: d,
364
363
  onContentChange: f,
365
- children: /* @__PURE__ */ w(We, {
364
+ children: /* @__PURE__ */ T(Ue, {
366
365
  scope: t,
367
366
  contentId: l(),
368
367
  triggerId: l(),
@@ -372,37 +371,37 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
372
371
  })
373
372
  })
374
373
  });
375
- }, "MenuSub"), U = "MenuSubTrigger", qe = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
376
- let r = I(U, e.__scopeMenu), i = L(U, e.__scopeMenu), a = Ge(U, e.__scopeMenu), o = z(U, e.__scopeMenu), s = S.useRef(null), { pointerGraceTimerRef: c, onPointerGraceIntentChange: l } = o, d = { __scopeMenu: e.__scopeMenu }, f = S.useCallback(() => {
374
+ }, "MenuSub"), W = "MenuSubTrigger", Ke = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
375
+ let r = L(W, e.__scopeMenu), i = R(W, e.__scopeMenu), a = We(W, e.__scopeMenu), o = B(W, e.__scopeMenu), s = C.useRef(null), { pointerGraceTimerRef: c, onPointerGraceIntentChange: l } = o, d = { __scopeMenu: e.__scopeMenu }, f = C.useCallback(() => {
377
376
  s.current && window.clearTimeout(s.current), s.current = null;
378
377
  }, []);
379
- S.useEffect(() => f, [f]), S.useEffect(() => {
378
+ C.useEffect(() => f, [f]), C.useEffect(() => {
380
379
  let e = c.current;
381
380
  return () => {
382
381
  window.clearTimeout(e), l(null);
383
382
  };
384
383
  }, [c, l]);
385
384
  let p = n(t, a.onTriggerChange);
386
- return /* @__PURE__ */ w(ve, {
385
+ return /* @__PURE__ */ T(_e, {
387
386
  asChild: !0,
388
387
  ...d,
389
- children: /* @__PURE__ */ w(je, {
388
+ children: /* @__PURE__ */ T(Ae, {
390
389
  id: a.triggerId,
391
390
  "aria-haspopup": "menu",
392
391
  "aria-expanded": r.open,
393
392
  "aria-controls": r.open ? a.contentId : void 0,
394
- "data-state": W(r.open),
393
+ "data-state": G(r.open),
395
394
  ...e,
396
395
  ref: p,
397
396
  onClick: (t) => {
398
397
  e.onClick?.(t), !(e.disabled || t.defaultPrevented) && (t.currentTarget.focus(), r.open || r.onOpenChange(!0));
399
398
  },
400
- onPointerMove: u(e.onPointerMove, q((t) => {
399
+ onPointerMove: u(e.onPointerMove, J((t) => {
401
400
  o.onItemEnter(t), !t.defaultPrevented && !e.disabled && !r.open && !s.current && (o.onPointerGraceIntentChange(null), s.current = window.setTimeout(() => {
402
401
  r.onOpenChange(!0), f();
403
402
  }, 100));
404
403
  })),
405
- onPointerLeave: u(e.onPointerLeave, q((e) => {
404
+ onPointerLeave: u(e.onPointerLeave, J((e) => {
406
405
  f();
407
406
  let t = r.content?.getBoundingClientRect();
408
407
  if (t) {
@@ -438,19 +437,19 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
438
437
  }
439
438
  })),
440
439
  onKeyDown: u(e.onKeyDown, (t) => {
441
- e.disabled || t.target !== t.currentTarget || o.searchRef.current !== "" && t.key === " " || k[i.dir].includes(t.key) && (r.onOpenChange(!0), r.content?.focus(), t.preventDefault());
440
+ e.disabled || t.target !== t.currentTarget || o.searchRef.current !== "" && t.key === " " || A[i.dir].includes(t.key) && (r.onOpenChange(!0), r.content?.focus(), t.preventDefault());
442
441
  })
443
442
  })
444
443
  });
445
- }, "MenuSubTrigger")), Je = "MenuSubContent", Ye = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ D(function(e, t) {
446
- let r = xe(R, e.__scopeMenu), { forceMount: i = r.forceMount, align: a = "start", ...s } = e, c = I(R, e.__scopeMenu), l = L(R, e.__scopeMenu), d = Ge(Je, e.__scopeMenu), f = S.useRef(null), p = n(t, f);
447
- return /* @__PURE__ */ w(M.Provider, {
444
+ }, "MenuSubTrigger")), qe = "MenuSubContent", Je = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ O(function(e, t) {
445
+ let r = be(z, e.__scopeMenu), { forceMount: i = r.forceMount, align: a = "start", ...s } = e, c = L(z, e.__scopeMenu), l = R(z, e.__scopeMenu), d = We(qe, e.__scopeMenu), f = C.useRef(null), p = n(t, f);
446
+ return /* @__PURE__ */ T(N.Provider, {
448
447
  scope: e.__scopeMenu,
449
- children: /* @__PURE__ */ w(o, {
448
+ children: /* @__PURE__ */ T(o, {
450
449
  present: i || c.open,
451
- children: /* @__PURE__ */ w(M.Slot, {
450
+ children: /* @__PURE__ */ T(N.Slot, {
452
451
  scope: e.__scopeMenu,
453
- children: /* @__PURE__ */ w(B, {
452
+ children: /* @__PURE__ */ T(V, {
454
453
  id: d.contentId,
455
454
  "aria-labelledby": d.triggerId,
456
455
  ...s,
@@ -471,7 +470,7 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
471
470
  l.onClose(), e.preventDefault();
472
471
  }),
473
472
  onKeyDown: u(e.onKeyDown, (e) => {
474
- let t = e.currentTarget.contains(e.target), n = A[l.dir].includes(e.key);
473
+ let t = e.currentTarget.contains(e.target), n = j[l.dir].includes(e.key);
475
474
  t && n && (c.onOpenChange(!1), d.trigger?.focus(), e.preventDefault());
476
475
  })
477
476
  })
@@ -479,35 +478,35 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
479
478
  })
480
479
  });
481
480
  }, "MenuSubContent"));
482
- function W(e) {
481
+ function G(e) {
483
482
  return e ? "open" : "closed";
484
483
  }
485
- D(W, "getOpenState");
486
- function G(e) {
484
+ O(G, "getOpenState");
485
+ function K(e) {
487
486
  return e === "indeterminate";
488
487
  }
489
- D(G, "isIndeterminate");
490
- function K(e) {
491
- return G(e) ? "indeterminate" : e ? "checked" : "unchecked";
488
+ O(K, "isIndeterminate");
489
+ function q(e) {
490
+ return K(e) ? "indeterminate" : e ? "checked" : "unchecked";
492
491
  }
493
- D(K, "getCheckedState");
494
- function Xe(e) {
492
+ O(q, "getCheckedState");
493
+ function Ye(e) {
495
494
  let t = document.activeElement;
496
495
  for (let n of e) if (n === t || (n.focus(), document.activeElement !== t)) return;
497
496
  }
498
- D(Xe, "focusFirst");
499
- function Ze(e, t) {
497
+ O(Ye, "focusFirst");
498
+ function Xe(e, t) {
500
499
  return e.map((n, r) => e[(t + r) % e.length]);
501
500
  }
502
- D(Ze, "wrapArray");
503
- function Qe(e, t, n) {
504
- let r = t.length > 1 && Array.from(t).every((e) => e === t[0]) ? t[0] : t, i = n ? e.indexOf(n) : -1, a = Ze(e, Math.max(i, 0));
501
+ O(Xe, "wrapArray");
502
+ function Ze(e, t, n) {
503
+ let r = t.length > 1 && Array.from(t).every((e) => e === t[0]) ? t[0] : t, i = n ? e.indexOf(n) : -1, a = Xe(e, Math.max(i, 0));
505
504
  r.length === 1 && (a = a.filter((e) => e !== n));
506
505
  let o = a.find((e) => e.toLowerCase().startsWith(r.toLowerCase()));
507
506
  return o === n ? void 0 : o;
508
507
  }
509
- D(Qe, "getNextMatch");
510
- function $e(e, t) {
508
+ O(Ze, "getNextMatch");
509
+ function Qe(e, t) {
511
510
  let { x: n, y: r } = e, i = !1;
512
511
  for (let e = 0, a = t.length - 1; e < t.length; a = e++) {
513
512
  let o = t[e], s = t[a], c = o.x, l = o.y, u = s.x, d = s.y;
@@ -515,38 +514,38 @@ function $e(e, t) {
515
514
  }
516
515
  return i;
517
516
  }
518
- D($e, "isPointInPolygon");
519
- function et(e, t) {
520
- return t ? $e({
517
+ O(Qe, "isPointInPolygon");
518
+ function $e(e, t) {
519
+ return t ? Qe({
521
520
  x: e.clientX,
522
521
  y: e.clientY
523
522
  }, t) : !1;
524
523
  }
525
- D(et, "isPointerInGraceArea");
526
- function q(e) {
524
+ O($e, "isPointerInGraceArea");
525
+ function J(e) {
527
526
  return (t) => t.pointerType === "mouse" ? e(t) : void 0;
528
527
  }
529
- D(q, "whenMouse");
530
- var tt = _e, nt = ve, rt = Se, it = we, at = Oe, ot = ke, st = H, ct = Me, lt = Fe, ut = Le, dt = Ve, ft = He, pt = Ke, mt = qe, ht = Ye, gt = Object.defineProperty, J = (e, t) => gt(e, "name", {
528
+ O(J, "whenMouse");
529
+ var et = ge, tt = _e, nt = xe, rt = Ce, it = De, at = Oe, ot = U, st = je, ct = Pe, lt = Ie, ut = Be, dt = Ve, ft = Ge, pt = Ke, mt = Je, ht = Object.defineProperty, Y = (e, t) => ht(e, "name", {
531
530
  value: t,
532
531
  configurable: !0
533
- }), Y = "DropdownMenu", [_t, vt] = a(Y, [P]), X = P(), [yt, bt] = _t(Y), xt = /* @__PURE__ */ J((e) => {
534
- let { __scopeDropdownMenu: t, children: n, dir: r, open: a, defaultOpen: o, onOpenChange: s, modal: c = !0 } = e, u = X(t), d = S.useRef(null), [f, p] = i({
532
+ }), X = "DropdownMenu", [gt, _t] = a(X, [F]), Z = F(), [vt, yt] = gt(X), bt = /* @__PURE__ */ Y((e) => {
533
+ let { __scopeDropdownMenu: t, children: n, dir: r, open: a, defaultOpen: o, onOpenChange: s, modal: c = !0 } = e, u = Z(t), d = C.useRef(null), [f, p] = i({
535
534
  prop: a,
536
535
  defaultProp: o ?? !1,
537
536
  onChange: s,
538
- caller: Y
537
+ caller: X
539
538
  });
540
- return /* @__PURE__ */ w(yt, {
539
+ return /* @__PURE__ */ T(vt, {
541
540
  scope: t,
542
541
  triggerId: l(),
543
542
  triggerRef: d,
544
543
  contentId: l(),
545
544
  open: f,
546
545
  onOpenChange: p,
547
- onOpenToggle: S.useCallback(() => p((e) => !e), [p]),
546
+ onOpenToggle: C.useCallback(() => p((e) => !e), [p]),
548
547
  modal: c,
549
- children: /* @__PURE__ */ w(tt, {
548
+ children: /* @__PURE__ */ T(et, {
550
549
  ...u,
551
550
  open: f,
552
551
  onOpenChange: p,
@@ -555,12 +554,12 @@ var tt = _e, nt = ve, rt = Se, it = we, at = Oe, ot = ke, st = H, ct = Me, lt =
555
554
  children: n
556
555
  })
557
556
  });
558
- }, "DropdownMenu"), St = "DropdownMenuTrigger", Ct = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ J(function(e, t) {
559
- let { __scopeDropdownMenu: r, disabled: i = !1, ...a } = e, o = bt(St, r), c = X(r), l = n(t, o.triggerRef);
560
- return /* @__PURE__ */ w(nt, {
557
+ }, "DropdownMenu"), xt = "DropdownMenuTrigger", St = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ Y(function(e, t) {
558
+ let { __scopeDropdownMenu: r, disabled: i = !1, ...a } = e, o = yt(xt, r), c = Z(r), l = n(t, o.triggerRef);
559
+ return /* @__PURE__ */ T(tt, {
561
560
  asChild: !0,
562
561
  ...c,
563
- children: /* @__PURE__ */ w(s.button, {
562
+ children: /* @__PURE__ */ T(s.button, {
564
563
  type: "button",
565
564
  id: o.triggerId,
566
565
  "aria-haspopup": "menu",
@@ -583,15 +582,15 @@ var tt = _e, nt = ve, rt = Se, it = we, at = Oe, ot = ke, st = H, ct = Me, lt =
583
582
  })
584
583
  })
585
584
  });
586
- }, "DropdownMenuTrigger")), wt = /* @__PURE__ */ J((e) => {
585
+ }, "DropdownMenuTrigger")), Ct = /* @__PURE__ */ Y((e) => {
587
586
  let { __scopeDropdownMenu: t, ...n } = e;
588
- return /* @__PURE__ */ w(rt, {
589
- ...X(t),
587
+ return /* @__PURE__ */ T(nt, {
588
+ ...Z(t),
590
589
  ...n
591
590
  });
592
- }, "DropdownMenuPortal"), Tt = "DropdownMenuContent", Et = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ J(function(e, t) {
593
- let { __scopeDropdownMenu: n, ...r } = e, i = bt(Tt, n), a = X(n), o = S.useRef(!1);
594
- return /* @__PURE__ */ w(it, {
591
+ }, "DropdownMenuPortal"), wt = "DropdownMenuContent", Tt = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ Y(function(e, t) {
592
+ let { __scopeDropdownMenu: n, ...r } = e, i = yt(wt, n), a = Z(n), o = C.useRef(!1);
593
+ return /* @__PURE__ */ T(rt, {
595
594
  id: i.contentId,
596
595
  "aria-labelledby": i.triggerId,
597
596
  ...a,
@@ -613,86 +612,86 @@ var tt = _e, nt = ve, rt = Se, it = we, at = Oe, ot = ke, st = H, ct = Me, lt =
613
612
  "--radix-dropdown-menu-trigger-height": "var(--radix-popper-anchor-height)"
614
613
  }
615
614
  });
616
- }, "DropdownMenuContent")), Dt = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ J(function(e, t) {
615
+ }, "DropdownMenuContent")), Et = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ Y(function(e, t) {
617
616
  let { __scopeDropdownMenu: n, ...r } = e;
618
- return /* @__PURE__ */ w(at, {
619
- ...X(n),
617
+ return /* @__PURE__ */ T(it, {
618
+ ...Z(n),
620
619
  ...r,
621
620
  ref: t
622
621
  });
623
- }, "DropdownMenuGroup")), Ot = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ J(function(e, t) {
622
+ }, "DropdownMenuGroup")), Dt = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ Y(function(e, t) {
624
623
  let { __scopeDropdownMenu: n, ...r } = e;
625
- return /* @__PURE__ */ w(ot, {
626
- ...X(n),
624
+ return /* @__PURE__ */ T(at, {
625
+ ...Z(n),
627
626
  ...r,
628
627
  ref: t
629
628
  });
630
- }, "DropdownMenuLabel")), kt = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ J(function(e, t) {
629
+ }, "DropdownMenuLabel")), Ot = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ Y(function(e, t) {
631
630
  let { __scopeDropdownMenu: n, ...r } = e;
632
- return /* @__PURE__ */ w(st, {
633
- ...X(n),
631
+ return /* @__PURE__ */ T(ot, {
632
+ ...Z(n),
634
633
  ...r,
635
634
  ref: t
636
635
  });
637
- }, "DropdownMenuItem")), At = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ J(function(e, t) {
636
+ }, "DropdownMenuItem")), kt = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ Y(function(e, t) {
638
637
  let { __scopeDropdownMenu: n, ...r } = e;
639
- return /* @__PURE__ */ w(ct, {
640
- ...X(n),
638
+ return /* @__PURE__ */ T(st, {
639
+ ...Z(n),
641
640
  ...r,
642
641
  ref: t
643
642
  });
644
- }, "DropdownMenuCheckboxItem")), jt = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ J(function(e, t) {
643
+ }, "DropdownMenuCheckboxItem")), At = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ Y(function(e, t) {
645
644
  let { __scopeDropdownMenu: n, ...r } = e;
646
- return /* @__PURE__ */ w(lt, {
647
- ...X(n),
645
+ return /* @__PURE__ */ T(ct, {
646
+ ...Z(n),
648
647
  ...r,
649
648
  ref: t
650
649
  });
651
- }, "DropdownMenuRadioGroup")), Mt = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ J(function(e, t) {
650
+ }, "DropdownMenuRadioGroup")), jt = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ Y(function(e, t) {
652
651
  let { __scopeDropdownMenu: n, ...r } = e;
653
- return /* @__PURE__ */ w(ut, {
654
- ...X(n),
652
+ return /* @__PURE__ */ T(lt, {
653
+ ...Z(n),
655
654
  ...r,
656
655
  ref: t
657
656
  });
658
- }, "DropdownMenuRadioItem")), Nt = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ J(function(e, t) {
657
+ }, "DropdownMenuRadioItem")), Mt = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ Y(function(e, t) {
659
658
  let { __scopeDropdownMenu: n, ...r } = e;
660
- return /* @__PURE__ */ w(dt, {
661
- ...X(n),
659
+ return /* @__PURE__ */ T(ut, {
660
+ ...Z(n),
662
661
  ...r,
663
662
  ref: t
664
663
  });
665
- }, "DropdownMenuItemIndicator")), Pt = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ J(function(e, t) {
664
+ }, "DropdownMenuItemIndicator")), Nt = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ Y(function(e, t) {
666
665
  let { __scopeDropdownMenu: n, ...r } = e;
667
- return /* @__PURE__ */ w(ft, {
668
- ...X(n),
666
+ return /* @__PURE__ */ T(dt, {
667
+ ...Z(n),
669
668
  ...r,
670
669
  ref: t
671
670
  });
672
- }, "DropdownMenuSeparator")), Ft = /* @__PURE__ */ J((e) => {
673
- let { __scopeDropdownMenu: t, children: n, open: r, onOpenChange: a, defaultOpen: o } = e, s = X(t), [c, l] = i({
671
+ }, "DropdownMenuSeparator")), Pt = /* @__PURE__ */ Y((e) => {
672
+ let { __scopeDropdownMenu: t, children: n, open: r, onOpenChange: a, defaultOpen: o } = e, s = Z(t), [c, l] = i({
674
673
  prop: r,
675
674
  defaultProp: o ?? !1,
676
675
  onChange: a,
677
676
  caller: "DropdownMenuSub"
678
677
  });
679
- return /* @__PURE__ */ w(pt, {
678
+ return /* @__PURE__ */ T(ft, {
680
679
  ...s,
681
680
  open: c,
682
681
  onOpenChange: l,
683
682
  children: n
684
683
  });
685
- }, "DropdownMenuSub"), It = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ J(function(e, t) {
684
+ }, "DropdownMenuSub"), Ft = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ Y(function(e, t) {
686
685
  let { __scopeDropdownMenu: n, ...r } = e;
687
- return /* @__PURE__ */ w(mt, {
688
- ...X(n),
686
+ return /* @__PURE__ */ T(pt, {
687
+ ...Z(n),
689
688
  ...r,
690
689
  ref: t
691
690
  });
692
- }, "DropdownMenuSubTrigger")), Lt = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ J(function(e, t) {
691
+ }, "DropdownMenuSubTrigger")), It = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ Y(function(e, t) {
693
692
  let { __scopeDropdownMenu: n, ...r } = e;
694
- return /* @__PURE__ */ w(ht, {
695
- ...X(n),
693
+ return /* @__PURE__ */ T(mt, {
694
+ ...Z(n),
696
695
  ...r,
697
696
  ref: t,
698
697
  style: {
@@ -704,7 +703,7 @@ var tt = _e, nt = ve, rt = Se, it = we, at = Oe, ot = ke, st = H, ct = Me, lt =
704
703
  "--radix-dropdown-menu-trigger-height": "var(--radix-popper-anchor-height)"
705
704
  }
706
705
  });
707
- }, "DropdownMenuSubContent")), Rt = xt, zt = Ct, Z = wt, Bt = Et, Vt = Dt, Ht = Ot, Ut = kt, Wt = At, Gt = jt, Kt = Mt, qt = Nt, Jt = Pt, Yt = Ft, Xt = It, Zt = Lt;
706
+ }, "DropdownMenuSubContent")), Lt = bt, Rt = St, zt = Ct, Bt = Tt, Vt = Et, Ht = Dt, Ut = Ot, Wt = kt, Gt = At, Kt = jt, qt = Mt, Jt = Nt, Yt = Pt, Xt = Ft, Zt = It;
708
707
  //#endregion
709
708
  //#region lib/components/ui/menu-item-loading.tsx
710
709
  function Qt(e) {
@@ -718,7 +717,7 @@ function Qt(e) {
718
717
  }
719
718
  var $t = "data-[loading]:cursor-progress data-[loading]:opacity-70 data-[loading]:[&>svg]:hidden";
720
719
  function en({ className: t }) {
721
- return /* @__PURE__ */ w(x, {
720
+ return /* @__PURE__ */ T(ee, {
722
721
  "aria-hidden": "true",
723
722
  color: "default",
724
723
  className: e("size-4", t)
@@ -761,17 +760,17 @@ var tn = "relative before:pointer-events-none before:absolute before:inset-y-1 b
761
760
  //#region lib/components/ui/selection/option-mark.tsx
762
761
  function $({ kind: t, animate: n = "state", className: r }) {
763
762
  let i = n === "enter" ? "nxgt-option-mark-enter" : "";
764
- return t === "dot" ? /* @__PURE__ */ w("span", {
763
+ return t === "dot" ? /* @__PURE__ */ T("span", {
765
764
  "aria-hidden": "true",
766
765
  "data-slot": "option-mark",
767
766
  className: e("nxgt-option-dot", i, r)
768
- }) : /* @__PURE__ */ w("svg", {
767
+ }) : /* @__PURE__ */ T("svg", {
769
768
  "aria-hidden": "true",
770
769
  focusable: "false",
771
770
  "data-slot": "option-mark",
772
771
  viewBox: "0 0 24 24",
773
772
  className: e("nxgt-option-check", i, r),
774
- children: /* @__PURE__ */ w("path", {
773
+ children: /* @__PURE__ */ T("path", {
775
774
  d: "M5.5 12.5l4.2 4.2L18.5 7.5",
776
775
  pathLength: 1
777
776
  })
@@ -780,7 +779,7 @@ function $({ kind: t, animate: n = "state", className: r }) {
780
779
  //#endregion
781
780
  //#region lib/components/ui/overlays/dropdown-menu/dropdown-menu-items.tsx
782
781
  function fn({ className: n, inset: r, variant: i = "default", active: a, loading: o, children: s, ...c }) {
783
- return /* @__PURE__ */ T(Ut, {
782
+ return /* @__PURE__ */ E(Ut, {
784
783
  "data-slot": "dropdown-menu-item",
785
784
  "data-pw": "dropdown-menu-item",
786
785
  "data-inset": r,
@@ -789,47 +788,47 @@ function fn({ className: n, inset: r, variant: i = "default", active: a, loading
789
788
  className: e("data-[variant=error]:text-error-text data-[variant=error]:data-[highlighted]:bg-error/10 dark:data-[variant=error]:data-[highlighted]:bg-error/20 data-[variant=error]:*:[svg]:!text-error-text [&_svg:not([class*='text-'])]:text-muted-foreground flex cursor-default items-center gap-2 rounded-(--nxgt-item-radius) px-2 py-1.5 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:ps-8", "[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", nn, sn, $t, n),
790
789
  ...c,
791
790
  ...Qt(o),
792
- children: [o && /* @__PURE__ */ w(en, {}), /* @__PURE__ */ w(t, { children: s })]
791
+ children: [o && /* @__PURE__ */ T(en, {}), /* @__PURE__ */ T(t, { children: s })]
793
792
  });
794
793
  }
795
794
  function pn({ className: t, children: n, checked: r, ...i }) {
796
- return /* @__PURE__ */ T(Wt, {
795
+ return /* @__PURE__ */ E(Wt, {
797
796
  "data-slot": "dropdown-menu-checkbox-item",
798
797
  className: e("flex cursor-default items-center gap-2 rounded-(--nxgt-item-radius) py-1.5 pe-2 ps-8 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", un, t),
799
798
  checked: r,
800
799
  ...i,
801
- children: [/* @__PURE__ */ w("span", {
800
+ children: [/* @__PURE__ */ T("span", {
802
801
  className: "pointer-events-none absolute start-2 flex size-3.5 center",
803
- children: /* @__PURE__ */ w(qt, {
802
+ children: /* @__PURE__ */ T(qt, {
804
803
  forceMount: !0,
805
- children: /* @__PURE__ */ w($, { kind: "check" })
804
+ children: /* @__PURE__ */ T($, { kind: "check" })
806
805
  })
807
806
  }), n]
808
807
  });
809
808
  }
810
809
  function mn({ ...e }) {
811
- return /* @__PURE__ */ w(Gt, {
810
+ return /* @__PURE__ */ T(Gt, {
812
811
  "data-slot": "dropdown-menu-radio-group",
813
812
  ...e
814
813
  });
815
814
  }
816
815
  function hn({ className: t, children: n, mark: r = "start", ...i }) {
817
816
  let a = r === "end";
818
- return /* @__PURE__ */ w(Kt, {
817
+ return /* @__PURE__ */ T(Kt, {
819
818
  "data-slot": "dropdown-menu-radio-item",
820
819
  className: e("flex cursor-default items-center gap-2 rounded-(--nxgt-item-radius) py-1.5 pe-2 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", a ? "ps-2" : "ps-8", nn, t),
821
820
  ...i,
822
- children: a ? /* @__PURE__ */ T(C, { children: [n, /* @__PURE__ */ w("span", {
821
+ children: a ? /* @__PURE__ */ E(w, { children: [n, /* @__PURE__ */ T("span", {
823
822
  className: "pointer-events-none ms-auto flex size-3.5 center",
824
- children: /* @__PURE__ */ w(qt, {
823
+ children: /* @__PURE__ */ T(qt, {
825
824
  forceMount: !0,
826
- children: /* @__PURE__ */ w($, { kind: "check" })
825
+ children: /* @__PURE__ */ T($, { kind: "check" })
827
826
  })
828
- })] }) : /* @__PURE__ */ T(C, { children: [/* @__PURE__ */ w("span", {
827
+ })] }) : /* @__PURE__ */ E(w, { children: [/* @__PURE__ */ T("span", {
829
828
  className: "pointer-events-none absolute start-2 flex size-3.5 center",
830
- children: /* @__PURE__ */ w(qt, {
829
+ children: /* @__PURE__ */ T(qt, {
831
830
  forceMount: !0,
832
- children: /* @__PURE__ */ w($, { kind: "dot" })
831
+ children: /* @__PURE__ */ T($, { kind: "dot" })
833
832
  })
834
833
  }), n] })
835
834
  });
@@ -837,9 +836,9 @@ function hn({ className: t, children: n, mark: r = "start", ...i }) {
837
836
  //#endregion
838
837
  //#region lib/components/ui/overlays/dropdown-menu/dropdown-menu.tsx
839
838
  function gn(e) {
840
- return /* @__PURE__ */ w(b, {
839
+ return /* @__PURE__ */ T(oe, {
841
840
  value: e.modal ?? !1,
842
- children: /* @__PURE__ */ w(Rt, {
841
+ children: /* @__PURE__ */ T(Lt, {
843
842
  "data-slot": "dropdown-menu",
844
843
  modal: !1,
845
844
  ...e
@@ -847,13 +846,13 @@ function gn(e) {
847
846
  });
848
847
  }
849
848
  function _n({ ...e }) {
850
- return /* @__PURE__ */ w(Z, {
849
+ return /* @__PURE__ */ T(zt, {
851
850
  "data-slot": "dropdown-menu-portal",
852
851
  ...e
853
852
  });
854
853
  }
855
854
  function vn({ className: t, ...n }) {
856
- return /* @__PURE__ */ w(zt, {
855
+ return /* @__PURE__ */ T(Rt, {
857
856
  "data-slot": "dropdown-menu-trigger",
858
857
  "data-pw": n.name ?? "dropdown-menu",
859
858
  className: e("transition-all focus:bg-primary/10 hover:bg-primary/10 rounded-(--nxgt-item-radius)", t),
@@ -861,11 +860,11 @@ function vn({ className: t, ...n }) {
861
860
  });
862
861
  }
863
862
  function yn({ className: t, sideOffset: n = 4, container: r, ref: i, ...a }) {
864
- return /* @__PURE__ */ w(ce, {
863
+ return /* @__PURE__ */ T(S, {
865
864
  value: !1,
866
- children: /* @__PURE__ */ w(Z, {
865
+ children: /* @__PURE__ */ T(zt, {
867
866
  container: r,
868
- children: /* @__PURE__ */ w(Bt, {
867
+ children: /* @__PURE__ */ T(Bt, {
869
868
  ref: re(!1, i),
870
869
  "data-slot": "dropdown-menu-content",
871
870
  sideOffset: n,
@@ -876,14 +875,14 @@ function yn({ className: t, sideOffset: n = 4, container: r, ref: i, ...a }) {
876
875
  });
877
876
  }
878
877
  function bn({ className: t, ...n }) {
879
- return /* @__PURE__ */ w(Vt, {
878
+ return /* @__PURE__ */ T(Vt, {
880
879
  "data-slot": "dropdown-menu-group",
881
880
  className: e("grid gap-0.5", t),
882
881
  ...n
883
882
  });
884
883
  }
885
884
  function xn({ className: t, inset: n, ...r }) {
886
- return /* @__PURE__ */ w(Ht, {
885
+ return /* @__PURE__ */ T(Ht, {
887
886
  "data-slot": "dropdown-menu-label",
888
887
  "data-inset": n,
889
888
  className: e("px-2 py-1.5 text-xs font-medium data-[inset]:ps-8 text-muted-foreground", t),
@@ -891,18 +890,18 @@ function xn({ className: t, inset: n, ...r }) {
891
890
  });
892
891
  }
893
892
  function Sn({ className: t, ...n }) {
894
- return /* @__PURE__ */ w(Jt, {
893
+ return /* @__PURE__ */ T(Jt, {
895
894
  "data-slot": "dropdown-menu-separator",
896
895
  className: e("bg-border -mx-1 my-1 h-px", t),
897
896
  ...n
898
897
  });
899
898
  }
900
899
  function Cn({ className: t, ...n }) {
901
- return /* @__PURE__ */ w("span", {
900
+ return /* @__PURE__ */ T("span", {
902
901
  "data-slot": "dropdown-menu-shortcut",
903
902
  className: e("text-muted-foreground ms-auto text-xs tracking-widest in-data-[active]:text-foreground/70 in-data-[highlighted]:text-accent-foreground", t),
904
903
  ...n
905
904
  });
906
905
  }
907
906
  //#endregion
908
- export { Yt as A, ot as B, $t as C, Ut as D, Bt as E, ct as F, ft as G, lt as H, it as I, mt as J, pt as K, at as L, Xt as M, zt as N, Z as O, nt as P, st as R, rn as S, Qt as T, ut as U, rt as V, tt as W, P as Y, tn as _, _n as a, on as b, vn as c, mn as d, hn as f, ln as g, dn as h, xn as i, Zt as j, Rt as k, pn as l, cn as m, yn as n, Sn as o, $ as p, ht as q, bn as r, Cn as s, gn as t, fn as u, un as v, en as w, an as x, nn as y, dt as z };
907
+ export { Yt as A, at as B, $t as C, Ut as D, Bt as E, st as F, dt as G, ct as H, rt as I, pt as J, ft as K, it as L, Xt as M, Rt as N, zt as O, tt as P, ot as R, rn as S, Qt as T, lt as U, nt as V, et as W, F as Y, tn as _, _n as a, on as b, vn as c, mn as d, hn as f, ln as g, dn as h, xn as i, Zt as j, Lt as k, pn as l, cn as m, yn as n, Sn as o, $ as p, mt as q, bn as r, Cn as s, gn as t, fn as u, un as v, en as w, an as x, nn as y, ut as z };