@neobrut-vue/core 0.4.0 → 0.6.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 (32) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +54 -6
  3. package/dist/components/NbCarousel/NbCarousel.vue.d.ts +26 -0
  4. package/dist/components/NbCarousel/NbCarouselSlide.vue.d.ts +20 -0
  5. package/dist/components/NbCarousel/index.d.ts +2 -0
  6. package/dist/components/NbCopyButton/NbCopyButton.vue.d.ts +20 -0
  7. package/dist/components/NbCopyButton/index.d.ts +1 -0
  8. package/dist/components/NbDrawer/NbDrawer.vue.d.ts +35 -0
  9. package/dist/components/NbDrawer/index.d.ts +2 -0
  10. package/dist/components/NbField/NbField.vue.d.ts +27 -0
  11. package/dist/components/NbField/index.d.ts +1 -0
  12. package/dist/components/NbLabel/NbLabel.vue.d.ts +17 -0
  13. package/dist/components/NbLabel/index.d.ts +1 -0
  14. package/dist/components/NbMenubar/NbMenubar.vue.d.ts +22 -0
  15. package/dist/components/NbMenubar/NbMenubarItem.vue.d.ts +28 -0
  16. package/dist/components/NbMenubar/NbMenubarMenu.vue.d.ts +20 -0
  17. package/dist/components/NbMenubar/NbMenubarSeparator.vue.d.ts +2 -0
  18. package/dist/components/NbMenubar/index.d.ts +4 -0
  19. package/dist/components/NbMeter/NbMeter.vue.d.ts +16 -0
  20. package/dist/components/NbMeter/index.d.ts +1 -0
  21. package/dist/components/NbNativeSelect/NbNativeSelect.vue.d.ts +35 -0
  22. package/dist/components/NbNativeSelect/index.d.ts +1 -0
  23. package/dist/components/NbStepper/NbStepper.vue.d.ts +33 -0
  24. package/dist/components/NbStepper/NbStepperItem.vue.d.ts +9 -0
  25. package/dist/components/NbStepper/index.d.ts +2 -0
  26. package/dist/components/NbTimeline/NbTimeline.vue.d.ts +20 -0
  27. package/dist/components/NbTimeline/NbTimelineItem.vue.d.ts +22 -0
  28. package/dist/components/NbTimeline/index.d.ts +2 -0
  29. package/dist/index.d.ts +12 -1
  30. package/dist/neobrut-vue.css +1 -1
  31. package/dist/neobrut-vue.js +1433 -870
  32. package/package.json +6 -2
@@ -1,13 +1,13 @@
1
- import { defineComponent as h, openBlock as n, createBlock as y, unref as t, withCtx as d, renderSlot as _, createVNode as c, createElementVNode as f, toDisplayString as p, computed as N, createElementBlock as u, normalizeClass as x, createCommentVNode as g, createTextVNode as I, Fragment as B, renderList as T, mergeProps as k, ref as C, watch as A, onBeforeUnmount as ie, withModifiers as de, nextTick as re, useSlots as ue, resolveDynamicComponent as ce, normalizeStyle as q, inject as be, provide as fe, withDirectives as me, vShow as pe } from "vue";
2
- import { AccordionRoot as ve, AccordionItem as he, AccordionHeader as ge, AccordionTrigger as _e, AccordionContent as ye, AspectRatio as $e, AvatarRoot as Ne, AvatarImage as Ie, AvatarFallback as ke, CollapsibleRoot as xe, CollapsibleTrigger as Ve, CollapsibleContent as Be, ComboboxRoot as H, ComboboxAnchor as K, ComboboxInput as j, ComboboxTrigger as Ce, ComboboxPortal as we, ComboboxContent as X, ComboboxViewport as J, ComboboxEmpty as Q, ComboboxItem as W, ComboboxItemIndicator as Te, ComboboxGroup as Se, ComboboxLabel as Ae, DialogRoot as Y, DialogTrigger as Z, DialogPortal as ee, DialogOverlay as te, DialogContent as ae, DialogTitle as le, DialogClose as ne, ContextMenuRoot as Me, ContextMenuTrigger as De, ContextMenuPortal as Oe, ContextMenuContent as Pe, ContextMenuCheckboxItem as Re, ContextMenuItemIndicator as oe, ContextMenuItem as qe, ContextMenuLabel as Ue, ContextMenuRadioGroup as Le, ContextMenuRadioItem as Ge, ContextMenuSeparator as ze, ContextMenuSub as Ee, ContextMenuSubTrigger as Fe, ContextMenuSubContent as He, AlertDialogRoot as Ke, AlertDialogTrigger as je, AlertDialogPortal as Xe, AlertDialogOverlay as Je, AlertDialogContent as Qe, AlertDialogTitle as We, AlertDialogDescription as Ye, AlertDialogCancel as Ze, AlertDialogAction as et, DropdownMenuRoot as tt, DropdownMenuTrigger as at, DropdownMenuPortal as lt, DropdownMenuContent as nt, DropdownMenuItem as ot, DropdownMenuSeparator as st, HoverCardRoot as it, HoverCardTrigger as dt, HoverCardPortal as rt, HoverCardContent as ut, NavigationMenuRoot as ct, NavigationMenuList as bt, NavigationMenuItem as ft, NavigationMenuTrigger as mt, NavigationMenuContent as pt, NavigationMenuLink as z, NumberFieldRoot as vt, NumberFieldDecrement as ht, NumberFieldInput as gt, NumberFieldIncrement as _t, PaginationRoot as yt, PaginationPrev as $t, PaginationList as Nt, PaginationListItem as It, PaginationEllipsis as kt, PaginationNext as xt, PinInputRoot as Vt, PinInputInput as Bt, PopoverRoot as Ct, PopoverTrigger as wt, PopoverPortal as Tt, PopoverContent as St, PopoverClose as At, ProgressRoot as Mt, ProgressIndicator as Dt, ScrollAreaRoot as Ot, ScrollAreaViewport as Pt, ScrollAreaScrollbar as Rt, ScrollAreaThumb as qt, DialogDescription as Ut, SelectRoot as Lt, SelectTrigger as Gt, SelectValue as zt, SelectIcon as Et, SelectPortal as Ft, SelectContent as Ht, SelectScrollUpButton as Kt, SelectViewport as jt, SelectScrollDownButton as Xt, SelectItem as Jt, SelectItemText as Qt, SelectItemIndicator as Wt, Separator as Yt, SliderRoot as Zt, SliderTrack as ea, SliderRange as ta, SliderThumb as aa, TagsInputRoot as la, TagsInputItem as na, TagsInputItemText as oa, TagsInputItemDelete as sa, TagsInputInput as ia, ToastProvider as da, ToastRoot as ra, ToastTitle as ua, ToastDescription as ca, ToastClose as ba, ToastViewport as fa, Toggle as ma, ToggleGroupRoot as pa, ToggleGroupItem as va } from "reka-ui";
3
- function ha(e) {
1
+ import { defineComponent as v, openBlock as o, createBlock as y, unref as a, withCtx as d, renderSlot as _, createVNode as b, createElementVNode as f, toDisplayString as p, computed as N, createElementBlock as u, normalizeClass as C, createCommentVNode as g, createTextVNode as I, Fragment as V, renderList as S, mergeProps as k, ref as x, onMounted as be, onUpdated as fe, nextTick as H, watch as M, onBeforeUnmount as K, withModifiers as me, useSlots as pe, resolveDynamicComponent as ve, normalizeStyle as q, inject as he, provide as _e, withDirectives as ge, vShow as ye } from "vue";
2
+ import { AccordionRoot as $e, AccordionItem as Ne, AccordionHeader as Ie, AccordionTrigger as ke, AccordionContent as xe, AspectRatio as Ce, AvatarRoot as Be, AvatarImage as Ve, AvatarFallback as we, CollapsibleRoot as Se, CollapsibleTrigger as Me, CollapsibleContent as Te, ComboboxRoot as j, ComboboxAnchor as W, ComboboxInput as J, ComboboxTrigger as Ae, ComboboxPortal as De, ComboboxContent as X, ComboboxViewport as Q, ComboboxEmpty as Y, ComboboxItem as Z, ComboboxItemIndicator as Oe, ComboboxGroup as Pe, ComboboxLabel as Re, DialogRoot as ee, DialogTrigger as te, DialogPortal as ae, DialogOverlay as le, DialogContent as ne, DialogTitle as oe, DialogClose as se, ContextMenuRoot as qe, ContextMenuTrigger as Le, ContextMenuPortal as Ue, ContextMenuContent as Ge, ContextMenuCheckboxItem as Ee, ContextMenuItemIndicator as ie, ContextMenuItem as ze, ContextMenuLabel as Fe, ContextMenuRadioGroup as He, ContextMenuRadioItem as Ke, ContextMenuSeparator as je, ContextMenuSub as We, ContextMenuSubTrigger as Je, ContextMenuSubContent as Xe, AlertDialogRoot as Qe, AlertDialogTrigger as Ye, AlertDialogPortal as Ze, AlertDialogOverlay as et, AlertDialogContent as tt, AlertDialogTitle as at, AlertDialogDescription as lt, AlertDialogCancel as nt, AlertDialogAction as ot, DrawerRoot as st, DrawerTrigger as it, DrawerPortal as dt, DrawerOverlay as rt, DrawerContent as ut, DrawerHandle as ct, DrawerTitle as bt, DrawerDescription as ft, DrawerClose as mt, DropdownMenuRoot as pt, DropdownMenuTrigger as vt, DropdownMenuPortal as ht, DropdownMenuContent as _t, DropdownMenuItem as gt, DropdownMenuSeparator as yt, HoverCardRoot as $t, HoverCardTrigger as Nt, HoverCardPortal as It, HoverCardContent as kt, MenubarRoot as xt, MenubarMenu as Ct, MenubarTrigger as Bt, MenubarPortal as Vt, MenubarContent as wt, MenubarItem as St, MenubarSeparator as Mt, NavigationMenuRoot as Tt, NavigationMenuList as At, NavigationMenuItem as Dt, NavigationMenuTrigger as Ot, NavigationMenuContent as Pt, NavigationMenuLink as E, NumberFieldRoot as Rt, NumberFieldDecrement as qt, NumberFieldInput as Lt, NumberFieldIncrement as Ut, PaginationRoot as Gt, PaginationPrev as Et, PaginationList as zt, PaginationListItem as Ft, PaginationEllipsis as Ht, PaginationNext as Kt, PinInputRoot as jt, PinInputInput as Wt, PopoverRoot as Jt, PopoverTrigger as Xt, PopoverPortal as Qt, PopoverContent as Yt, PopoverClose as Zt, ProgressRoot as ea, ProgressIndicator as ta, ScrollAreaRoot as aa, ScrollAreaViewport as la, ScrollAreaScrollbar as na, ScrollAreaThumb as oa, DialogDescription as sa, SelectRoot as ia, SelectTrigger as da, SelectValue as ra, SelectIcon as ua, SelectPortal as ca, SelectContent as ba, SelectScrollUpButton as fa, SelectViewport as ma, SelectScrollDownButton as pa, SelectItem as va, SelectItemText as ha, SelectItemIndicator as _a, Separator as ga, SliderRoot as ya, SliderTrack as $a, SliderRange as Na, SliderThumb as Ia, StepperRoot as ka, StepperItem as xa, StepperTrigger as Ca, StepperIndicator as Ba, StepperTitle as Va, StepperDescription as wa, TagsInputRoot as Sa, TagsInputItem as Ma, TagsInputItemText as Ta, TagsInputItemDelete as Aa, TagsInputInput as Da, ToastProvider as Oa, ToastRoot as Pa, ToastTitle as Ra, ToastDescription as qa, ToastClose as La, ToastViewport as Ua, Toggle as Ga, ToggleGroupRoot as Ea, ToggleGroupItem as za } from "reka-ui";
3
+ function Fa(e) {
4
4
  return {
5
- install(o) {
6
- Object.entries(e).forEach(([a, s]) => o.component(a, s));
5
+ install(n) {
6
+ Object.entries(e).forEach(([t, s]) => n.component(t, s));
7
7
  }
8
8
  };
9
9
  }
10
- const ga = /* @__PURE__ */ h({
10
+ const Ha = /* @__PURE__ */ v({
11
11
  __name: "NbAccordion",
12
12
  props: {
13
13
  modelValue: {},
@@ -16,16 +16,16 @@ const ga = /* @__PURE__ */ h({
16
16
  disabled: { type: Boolean, default: !1 }
17
17
  },
18
18
  emits: ["update:modelValue"],
19
- setup(e, { emit: o }) {
20
- const a = o;
21
- return (s, l) => (n(), y(t(ve), {
19
+ setup(e, { emit: n }) {
20
+ const t = n;
21
+ return (s, l) => (o(), y(a($e), {
22
22
  class: "nb-root nb-accordion",
23
23
  type: "single",
24
24
  "model-value": e.modelValue,
25
25
  "default-value": e.defaultValue,
26
26
  collapsible: e.collapsible,
27
27
  disabled: e.disabled,
28
- "onUpdate:modelValue": l[0] || (l[0] = (b) => a("update:modelValue", b))
28
+ "onUpdate:modelValue": l[0] || (l[0] = (c) => t("update:modelValue", c))
29
29
  }, {
30
30
  default: d(() => [
31
31
  _(s.$slots, "default")
@@ -33,7 +33,7 @@ const ga = /* @__PURE__ */ h({
33
33
  _: 3
34
34
  }, 8, ["model-value", "default-value", "collapsible", "disabled"]));
35
35
  }
36
- }), _a = { class: "nb-accordion__body" }, ya = /* @__PURE__ */ h({
36
+ }), Ka = { class: "nb-accordion__body" }, ja = /* @__PURE__ */ v({
37
37
  __name: "NbAccordionItem",
38
38
  props: {
39
39
  value: {},
@@ -41,18 +41,18 @@ const ga = /* @__PURE__ */ h({
41
41
  disabled: { type: Boolean, default: !1 }
42
42
  },
43
43
  setup(e) {
44
- return (o, a) => (n(), y(t(he), {
44
+ return (n, t) => (o(), y(a(Ne), {
45
45
  class: "nb-accordion__item",
46
46
  value: e.value,
47
47
  disabled: e.disabled
48
48
  }, {
49
49
  default: d(() => [
50
- c(t(ge), { class: "nb-accordion__header" }, {
50
+ b(a(Ie), { class: "nb-accordion__header" }, {
51
51
  default: d(() => [
52
- c(t(_e), { class: "nb-accordion__trigger" }, {
52
+ b(a(ke), { class: "nb-accordion__trigger" }, {
53
53
  default: d(() => [
54
54
  f("span", null, p(e.title), 1),
55
- a[0] || (a[0] = f("svg", {
55
+ t[0] || (t[0] = f("svg", {
56
56
  class: "nb-accordion__icon",
57
57
  viewBox: "0 0 16 16",
58
58
  "aria-hidden": "true",
@@ -66,10 +66,10 @@ const ga = /* @__PURE__ */ h({
66
66
  ]),
67
67
  _: 1
68
68
  }),
69
- c(t(ye), { class: "nb-accordion__content" }, {
69
+ b(a(xe), { class: "nb-accordion__content" }, {
70
70
  default: d(() => [
71
- f("div", _a, [
72
- _(o.$slots, "default")
71
+ f("div", Ka, [
72
+ _(n.$slots, "default")
73
73
  ])
74
74
  ]),
75
75
  _: 3
@@ -78,41 +78,41 @@ const ga = /* @__PURE__ */ h({
78
78
  _: 3
79
79
  }, 8, ["value", "disabled"]));
80
80
  }
81
- }), $a = /* @__PURE__ */ h({
81
+ }), Wa = /* @__PURE__ */ v({
82
82
  __name: "NbAspectRatio",
83
83
  props: {
84
84
  ratio: { default: 1 }
85
85
  },
86
86
  setup(e) {
87
- return (o, a) => (n(), y(t($e), {
87
+ return (n, t) => (o(), y(a(Ce), {
88
88
  class: "nb-root nb-aspect-ratio",
89
89
  ratio: e.ratio
90
90
  }, {
91
91
  default: d(() => [
92
- _(o.$slots, "default")
92
+ _(n.$slots, "default")
93
93
  ]),
94
94
  _: 3
95
95
  }, 8, ["ratio"]));
96
96
  }
97
97
  });
98
- function O(...e) {
98
+ function P(...e) {
99
99
  return e.filter(Boolean).join(" ");
100
100
  }
101
- const Na = /* @__PURE__ */ h({
101
+ const Ja = /* @__PURE__ */ v({
102
102
  __name: "NbBadge",
103
103
  props: {
104
104
  tone: { default: "primary" },
105
105
  size: { default: "md" }
106
106
  },
107
107
  setup(e) {
108
- const o = e, a = N(() => O(`nb-badge--${o.tone}`, `nb-badge--${o.size}`));
109
- return (s, l) => (n(), u("span", {
110
- class: x(["nb-root nb-badge", a.value])
108
+ const n = e, t = N(() => P(`nb-badge--${n.tone}`, `nb-badge--${n.size}`));
109
+ return (s, l) => (o(), u("span", {
110
+ class: C(["nb-root nb-badge", t.value])
111
111
  }, [
112
112
  _(s.$slots, "default")
113
113
  ], 2));
114
114
  }
115
- }), Ia = /* @__PURE__ */ h({
115
+ }), Xa = /* @__PURE__ */ v({
116
116
  __name: "NbAvatar",
117
117
  props: {
118
118
  name: {},
@@ -121,26 +121,26 @@ const Na = /* @__PURE__ */ h({
121
121
  tone: { default: "primary" }
122
122
  },
123
123
  setup(e) {
124
- const o = e, a = N(() => o.name.trim().split(/\s+/).slice(0, 2).map((s) => s[0]?.toUpperCase()).join(""));
125
- return (s, l) => (n(), y(t(Ne), {
126
- class: x(["nb-root nb-avatar", [`nb-avatar--${e.size}`, `nb-avatar--${e.tone}`]]),
124
+ const n = e, t = N(() => n.name.trim().split(/\s+/).slice(0, 2).map((s) => s[0]?.toUpperCase()).join(""));
125
+ return (s, l) => (o(), y(a(Be), {
126
+ class: C(["nb-root nb-avatar", [`nb-avatar--${e.size}`, `nb-avatar--${e.tone}`]]),
127
127
  role: "img",
128
128
  "aria-label": e.name
129
129
  }, {
130
130
  default: d(() => [
131
- e.src ? (n(), y(t(Ie), {
131
+ e.src ? (o(), y(a(Ve), {
132
132
  key: 0,
133
133
  class: "nb-avatar__image",
134
134
  src: e.src,
135
135
  alt: "",
136
136
  "aria-hidden": "true"
137
137
  }, null, 8, ["src"])) : g("", !0),
138
- c(t(ke), {
138
+ b(a(we), {
139
139
  class: "nb-avatar__fallback",
140
140
  "aria-hidden": "true"
141
141
  }, {
142
142
  default: d(() => [
143
- I(p(a.value), 1)
143
+ I(p(t.value), 1)
144
144
  ]),
145
145
  _: 1
146
146
  })
@@ -148,46 +148,46 @@ const Na = /* @__PURE__ */ h({
148
148
  _: 1
149
149
  }, 8, ["class", "aria-label"]));
150
150
  }
151
- }), ka = ["aria-label"], xa = ["href"], Va = ["aria-current"], Ba = {
151
+ }), Qa = ["aria-label"], Ya = ["href"], Za = ["aria-current"], el = {
152
152
  key: 2,
153
153
  class: "nb-breadcrumbs__separator",
154
154
  viewBox: "0 0 16 16",
155
155
  "aria-hidden": "true",
156
156
  focusable: "false"
157
- }, Ca = /* @__PURE__ */ h({
157
+ }, tl = /* @__PURE__ */ v({
158
158
  __name: "NbBreadcrumbs",
159
159
  props: {
160
160
  items: {},
161
161
  label: { default: "Breadcrumb" }
162
162
  },
163
163
  setup(e) {
164
- return (o, a) => (n(), u("nav", {
164
+ return (n, t) => (o(), u("nav", {
165
165
  class: "nb-root nb-breadcrumbs",
166
166
  "aria-label": e.label
167
167
  }, [
168
168
  f("ol", null, [
169
- (n(!0), u(B, null, T(e.items, (s, l) => (n(), u("li", {
169
+ (o(!0), u(V, null, S(e.items, (s, l) => (o(), u("li", {
170
170
  key: `${s.label}-${l}`
171
171
  }, [
172
- s.href && l < e.items.length - 1 ? (n(), u("a", {
172
+ s.href && l < e.items.length - 1 ? (o(), u("a", {
173
173
  key: 0,
174
174
  href: s.href
175
- }, p(s.label), 9, xa)) : (n(), u("span", {
175
+ }, p(s.label), 9, Ya)) : (o(), u("span", {
176
176
  key: 1,
177
177
  "aria-current": l === e.items.length - 1 ? "page" : void 0
178
- }, p(s.label), 9, Va)),
179
- l < e.items.length - 1 ? (n(), u("svg", Ba, [...a[0] || (a[0] = [
178
+ }, p(s.label), 9, Za)),
179
+ l < e.items.length - 1 ? (o(), u("svg", el, [...t[0] || (t[0] = [
180
180
  f("path", { d: "m6 3 5 5-5 5" }, null, -1)
181
181
  ])])) : g("", !0)
182
182
  ]))), 128))
183
183
  ])
184
- ], 8, ka));
184
+ ], 8, Qa));
185
185
  }
186
- }), wa = ["type", "disabled", "aria-busy"], Ta = {
186
+ }), al = ["type", "disabled", "aria-busy"], ll = {
187
187
  key: 0,
188
188
  class: "nb-button__loader",
189
189
  "aria-hidden": "true"
190
- }, Sa = /* @__PURE__ */ h({
190
+ }, de = /* @__PURE__ */ v({
191
191
  inheritAttrs: !1,
192
192
  __name: "NbButton",
193
193
  props: {
@@ -198,46 +198,114 @@ const Na = /* @__PURE__ */ h({
198
198
  disabled: { type: Boolean, default: !1 }
199
199
  },
200
200
  setup(e) {
201
- const o = e, a = N(() => O(
202
- `nb-button--${o.variant}`,
203
- `nb-button--${o.size}`,
204
- o.loading && "is-loading"
201
+ const n = e, t = N(() => P(
202
+ `nb-button--${n.variant}`,
203
+ `nb-button--${n.size}`,
204
+ n.loading && "is-loading"
205
205
  ));
206
- return (s, l) => (n(), u("button", k(s.$attrs, {
207
- class: ["nb-root nb-button", a.value],
206
+ return (s, l) => (o(), u("button", k(s.$attrs, {
207
+ class: ["nb-root nb-button", t.value],
208
208
  type: e.type,
209
209
  disabled: e.disabled || e.loading,
210
210
  "aria-busy": e.loading || void 0
211
211
  }), [
212
- e.loading ? (n(), u("span", Ta, "✦")) : g("", !0),
212
+ e.loading ? (o(), u("span", ll, "✦")) : g("", !0),
213
213
  f("span", null, [
214
214
  _(s.$slots, "default")
215
215
  ])
216
- ], 16, wa));
216
+ ], 16, al));
217
217
  }
218
- }), Aa = ["aria-label", "data-orientation"], Ma = /* @__PURE__ */ h({
218
+ }), nl = ["aria-label", "data-orientation"], ol = /* @__PURE__ */ v({
219
219
  __name: "NbButtonGroup",
220
220
  props: {
221
221
  orientation: { default: "horizontal" },
222
222
  label: {}
223
223
  },
224
224
  setup(e) {
225
- return (o, a) => (n(), u("div", {
225
+ return (n, t) => (o(), u("div", {
226
226
  class: "nb-root nb-button-group",
227
227
  role: "group",
228
228
  "aria-label": e.label,
229
229
  "data-orientation": e.orientation
230
230
  }, [
231
- _(o.$slots, "default")
232
- ], 8, Aa));
231
+ _(n.$slots, "default")
232
+ ], 8, nl));
233
233
  }
234
- }), Da = {
234
+ }), sl = ["aria-label"], il = { class: "nb-carousel__controls" }, dl = { "aria-live": "polite" }, rl = ["disabled"], ul = ["disabled"], cl = /* @__PURE__ */ v({
235
+ __name: "NbCarousel",
236
+ props: {
237
+ label: { default: "Carousel" }
238
+ },
239
+ setup(e) {
240
+ const n = x(null), t = x(0), s = x(0);
241
+ function l() {
242
+ const m = n.value;
243
+ m && (s.value = m.children.length, t.value = s.value ? Math.min(s.value - 1, Math.round(m.scrollLeft / (m.clientWidth || 1))) : 0);
244
+ }
245
+ function c(m) {
246
+ const i = n.value;
247
+ if (!i) return;
248
+ const r = Math.max(0, Math.min(s.value - 1, t.value + m));
249
+ i.scrollTo({ left: r * i.clientWidth, behavior: "smooth" });
250
+ }
251
+ return be(l), fe(() => {
252
+ H(l);
253
+ }), (m, i) => (o(), u("section", {
254
+ class: "nb-root nb-carousel",
255
+ role: "region",
256
+ "aria-roledescription": "carousel",
257
+ "aria-label": e.label
258
+ }, [
259
+ f("div", {
260
+ ref_key: "track",
261
+ ref: n,
262
+ class: "nb-carousel__track",
263
+ tabindex: "0",
264
+ onScrollPassive: l
265
+ }, [
266
+ _(m.$slots, "default")
267
+ ], 544),
268
+ f("div", il, [
269
+ f("span", dl, p(s.value ? `${t.value + 1} / ${s.value}` : ""), 1),
270
+ f("div", null, [
271
+ f("button", {
272
+ type: "button",
273
+ "aria-label": "Previous slide",
274
+ disabled: t.value === 0,
275
+ onClick: i[0] || (i[0] = (r) => c(-1))
276
+ }, "←", 8, rl),
277
+ f("button", {
278
+ type: "button",
279
+ "aria-label": "Next slide",
280
+ disabled: t.value >= s.value - 1,
281
+ onClick: i[1] || (i[1] = (r) => c(1))
282
+ }, "→", 8, ul)
283
+ ])
284
+ ])
285
+ ], 8, sl));
286
+ }
287
+ }), bl = ["aria-label"], fl = /* @__PURE__ */ v({
288
+ __name: "NbCarouselSlide",
289
+ props: {
290
+ label: {}
291
+ },
292
+ setup(e) {
293
+ return (n, t) => (o(), u("div", {
294
+ class: "nb-carousel__slide",
295
+ role: "group",
296
+ "aria-roledescription": "slide",
297
+ "aria-label": e.label
298
+ }, [
299
+ _(n.$slots, "default")
300
+ ], 8, bl));
301
+ }
302
+ }), ml = {
235
303
  key: 0,
236
304
  class: "nb-card__header"
237
- }, Oa = { class: "nb-card__body" }, Pa = {
305
+ }, pl = { class: "nb-card__body" }, vl = {
238
306
  key: 1,
239
307
  class: "nb-card__footer"
240
- }, Ra = /* @__PURE__ */ h({
308
+ }, hl = /* @__PURE__ */ v({
241
309
  inheritAttrs: !1,
242
310
  __name: "NbCard",
243
311
  props: {
@@ -245,41 +313,41 @@ const Na = /* @__PURE__ */ h({
245
313
  interactive: { type: Boolean, default: !1 }
246
314
  },
247
315
  setup(e) {
248
- const o = e, a = N(() => O(
249
- `nb-card--${o.tone}`,
250
- o.interactive && "nb-card--interactive"
316
+ const n = e, t = N(() => P(
317
+ `nb-card--${n.tone}`,
318
+ n.interactive && "nb-card--interactive"
251
319
  ));
252
- return (s, l) => (n(), u("article", k(s.$attrs, {
253
- class: ["nb-root nb-card", a.value]
320
+ return (s, l) => (o(), u("article", k(s.$attrs, {
321
+ class: ["nb-root nb-card", t.value]
254
322
  }), [
255
- s.$slots.header ? (n(), u("header", Da, [
323
+ s.$slots.header ? (o(), u("header", ml, [
256
324
  _(s.$slots, "header")
257
325
  ])) : g("", !0),
258
- f("div", Oa, [
326
+ f("div", pl, [
259
327
  _(s.$slots, "default")
260
328
  ]),
261
- s.$slots.footer ? (n(), u("footer", Pa, [
329
+ s.$slots.footer ? (o(), u("footer", vl, [
262
330
  _(s.$slots, "footer")
263
331
  ])) : g("", !0)
264
332
  ], 16));
265
333
  }
266
334
  });
267
- let E = 0;
268
- function M(e = "nb") {
269
- return E += 1, `${e}-${E}`;
335
+ let z = 0;
336
+ function A(e = "nb") {
337
+ return z += 1, `${e}-${z}`;
270
338
  }
271
- function w(e, o) {
272
- const a = o ?? M(e);
339
+ function w(e, n) {
340
+ const t = n ?? A(e);
273
341
  return {
274
- inputId: a,
275
- hintId: `${a}-hint`,
276
- errorId: `${a}-error`
342
+ inputId: t,
343
+ hintId: `${t}-hint`,
344
+ errorId: `${t}-error`
277
345
  };
278
346
  }
279
- function S(e, o, a, s) {
280
- return [e && a, o && s].filter(Boolean).join(" ") || void 0;
347
+ function T(e, n, t, s) {
348
+ return [e && t, n && s].filter(Boolean).join(" ") || void 0;
281
349
  }
282
- const qa = ["for"], Ua = ["id", "checked", "disabled"], La = { class: "nb-checkbox__label" }, Ga = /* @__PURE__ */ h({
350
+ const _l = ["for"], gl = ["id", "checked", "disabled"], yl = { class: "nb-checkbox__label" }, $l = /* @__PURE__ */ v({
283
351
  inheritAttrs: !1,
284
352
  __name: "NbCheckbox",
285
353
  props: {
@@ -289,28 +357,28 @@ const qa = ["for"], Ua = ["id", "checked", "disabled"], La = { class: "nb-checkb
289
357
  id: {}
290
358
  },
291
359
  emits: ["update:modelValue"],
292
- setup(e, { emit: o }) {
293
- const a = e, s = o, l = w("checkbox", a.id);
294
- return (b, m) => (n(), u("label", {
360
+ setup(e, { emit: n }) {
361
+ const t = e, s = n, l = w("checkbox", t.id);
362
+ return (c, m) => (o(), u("label", {
295
363
  class: "nb-root nb-checkbox",
296
- for: t(l).inputId
364
+ for: a(l).inputId
297
365
  }, [
298
- f("input", k(b.$attrs, {
299
- id: t(l).inputId,
366
+ f("input", k(c.$attrs, {
367
+ id: a(l).inputId,
300
368
  class: "nb-checkbox__input",
301
369
  type: "checkbox",
302
370
  checked: e.modelValue,
303
371
  disabled: e.disabled,
304
372
  onChange: m[0] || (m[0] = (i) => s("update:modelValue", i.target.checked))
305
- }), null, 16, Ua),
373
+ }), null, 16, gl),
306
374
  m[1] || (m[1] = f("span", {
307
375
  class: "nb-checkbox__box",
308
376
  "aria-hidden": "true"
309
377
  }, "✓", -1)),
310
- f("span", La, p(e.label), 1)
311
- ], 8, qa));
378
+ f("span", yl, p(e.label), 1)
379
+ ], 8, _l));
312
380
  }
313
- }), za = { class: "nb-collapsible__body" }, Ea = /* @__PURE__ */ h({
381
+ }), Nl = { class: "nb-collapsible__body" }, Il = /* @__PURE__ */ v({
314
382
  __name: "NbCollapsible",
315
383
  props: {
316
384
  title: {},
@@ -319,17 +387,17 @@ const qa = ["for"], Ua = ["id", "checked", "disabled"], La = { class: "nb-checkb
319
387
  disabled: { type: Boolean, default: !1 }
320
388
  },
321
389
  emits: ["update:open"],
322
- setup(e, { emit: o }) {
323
- const a = o;
324
- return (s, l) => (n(), y(t(xe), {
390
+ setup(e, { emit: n }) {
391
+ const t = n;
392
+ return (s, l) => (o(), y(a(Se), {
325
393
  class: "nb-root nb-collapsible",
326
394
  open: e.open,
327
395
  "default-open": e.defaultOpen,
328
396
  disabled: e.disabled,
329
- "onUpdate:open": l[0] || (l[0] = (b) => a("update:open", b))
397
+ "onUpdate:open": l[0] || (l[0] = (c) => t("update:open", c))
330
398
  }, {
331
399
  default: d(() => [
332
- c(t(Ve), { class: "nb-collapsible__trigger" }, {
400
+ b(a(Me), { class: "nb-collapsible__trigger" }, {
333
401
  default: d(() => [
334
402
  f("span", null, p(e.title), 1),
335
403
  l[1] || (l[1] = f("svg", {
@@ -343,9 +411,9 @@ const qa = ["for"], Ua = ["id", "checked", "disabled"], La = { class: "nb-checkb
343
411
  ]),
344
412
  _: 1
345
413
  }),
346
- c(t(Be), { class: "nb-collapsible__content" }, {
414
+ b(a(Te), { class: "nb-collapsible__content" }, {
347
415
  default: d(() => [
348
- f("div", za, [
416
+ f("div", Nl, [
349
417
  _(s.$slots, "default")
350
418
  ])
351
419
  ]),
@@ -355,7 +423,61 @@ const qa = ["for"], Ua = ["id", "checked", "disabled"], La = { class: "nb-checkb
355
423
  _: 3
356
424
  }, 8, ["open", "default-open", "disabled"]));
357
425
  }
358
- }), Fa = { class: "nb-root nb-field" }, Ha = ["for"], Ka = ["id"], ja = ["id"], Xa = /* @__PURE__ */ h({
426
+ }), kl = {
427
+ role: "status",
428
+ "aria-live": "polite"
429
+ }, xl = /* @__PURE__ */ v({
430
+ inheritAttrs: !1,
431
+ __name: "NbCopyButton",
432
+ props: {
433
+ text: {},
434
+ label: { default: "Copy" },
435
+ copiedLabel: { default: "Copied" },
436
+ errorLabel: { default: "Copy failed" },
437
+ disabled: { type: Boolean, default: !1 }
438
+ },
439
+ emits: ["copied", "error"],
440
+ setup(e, { emit: n }) {
441
+ const t = e, s = n, l = x("idle"), c = x(!1);
442
+ let m, i = !1;
443
+ M(() => t.text, () => {
444
+ clearTimeout(m), l.value = "idle";
445
+ }), K(() => {
446
+ i = !0, clearTimeout(m);
447
+ });
448
+ function r($) {
449
+ l.value = $, clearTimeout(m), m = setTimeout(() => {
450
+ l.value = "idle";
451
+ }, 2e3);
452
+ }
453
+ async function h() {
454
+ if (c.value || t.disabled) return;
455
+ c.value = !0;
456
+ const $ = t.text;
457
+ try {
458
+ if (!navigator.clipboard?.writeText) throw new Error("Clipboard is unavailable");
459
+ if (await navigator.clipboard.writeText($), i) return;
460
+ s("copied", $), t.text === $ && r("copied");
461
+ } catch (O) {
462
+ if (i) return;
463
+ s("error", O), t.text === $ && r("error");
464
+ } finally {
465
+ c.value = !1;
466
+ }
467
+ }
468
+ return ($, O) => (o(), y(de, k($.$attrs, {
469
+ variant: "secondary",
470
+ type: "button",
471
+ disabled: e.disabled || c.value,
472
+ onClick: h
473
+ }), {
474
+ default: d(() => [
475
+ f("span", kl, p(l.value === "copied" ? e.copiedLabel : l.value === "error" ? e.errorLabel : e.label), 1)
476
+ ]),
477
+ _: 1
478
+ }, 16, ["disabled"]));
479
+ }
480
+ }), Cl = { class: "nb-root nb-field" }, Bl = ["for"], Vl = ["id"], wl = ["id"], Sl = /* @__PURE__ */ v({
359
481
  inheritAttrs: !1,
360
482
  __name: "NbCombobox",
361
483
  props: {
@@ -372,21 +494,21 @@ const qa = ["for"], Ua = ["id", "checked", "disabled"], La = { class: "nb-checkb
372
494
  id: {}
373
495
  },
374
496
  emits: ["update:modelValue"],
375
- setup(e, { emit: o }) {
376
- const a = e, s = o, l = w("combobox", a.id), b = N(() => S(a.hint, a.error, l.hintId, l.errorId));
497
+ setup(e, { emit: n }) {
498
+ const t = e, s = n, l = w("combobox", t.id), c = N(() => T(t.hint, t.error, l.hintId, l.errorId));
377
499
  function m(r) {
378
- return a.options.find((v) => v.value === r)?.label ?? "";
500
+ return t.options.find((h) => h.value === r)?.label ?? "";
379
501
  }
380
502
  function i(r) {
381
503
  typeof r == "string" && s("update:modelValue", r);
382
504
  }
383
- return (r, v) => (n(), u("div", Fa, [
384
- e.label ? (n(), u("label", {
505
+ return (r, h) => (o(), u("div", Cl, [
506
+ e.label ? (o(), u("label", {
385
507
  key: 0,
386
508
  class: "nb-field__label",
387
- for: t(l).inputId
388
- }, p(e.label), 9, Ha)) : g("", !0),
389
- c(t(H), {
509
+ for: a(l).inputId
510
+ }, p(e.label), 9, Bl)) : g("", !0),
511
+ b(a(j), {
390
512
  "model-value": e.modelValue,
391
513
  disabled: e.disabled,
392
514
  required: e.required,
@@ -395,21 +517,21 @@ const qa = ["for"], Ua = ["id", "checked", "disabled"], La = { class: "nb-checkb
395
517
  "onUpdate:modelValue": i
396
518
  }, {
397
519
  default: d(() => [
398
- c(t(K), { class: "nb-combobox__anchor" }, {
520
+ b(a(W), { class: "nb-combobox__anchor" }, {
399
521
  default: d(() => [
400
- c(t(j), k(r.$attrs, {
401
- id: t(l).inputId,
522
+ b(a(J), k(r.$attrs, {
523
+ id: a(l).inputId,
402
524
  class: "nb-combobox__input",
403
525
  "display-value": m,
404
526
  placeholder: e.placeholder,
405
527
  "aria-invalid": e.error ? "true" : void 0,
406
- "aria-describedby": b.value
528
+ "aria-describedby": c.value
407
529
  }), null, 16, ["id", "placeholder", "aria-invalid", "aria-describedby"]),
408
- c(t(Ce), {
530
+ b(a(Ae), {
409
531
  class: "nb-combobox__trigger",
410
532
  "aria-label": "Show options"
411
533
  }, {
412
- default: d(() => [...v[0] || (v[0] = [
534
+ default: d(() => [...h[0] || (h[0] = [
413
535
  f("svg", {
414
536
  viewBox: "0 0 16 16",
415
537
  "aria-hidden": "true",
@@ -423,24 +545,24 @@ const qa = ["for"], Ua = ["id", "checked", "disabled"], La = { class: "nb-checkb
423
545
  ]),
424
546
  _: 1
425
547
  }),
426
- c(t(we), null, {
548
+ b(a(De), null, {
427
549
  default: d(() => [
428
- c(t(X), {
550
+ b(a(X), {
429
551
  class: "nb-root nb-combobox__content",
430
552
  position: "popper",
431
553
  align: "start",
432
554
  "side-offset": 5
433
555
  }, {
434
556
  default: d(() => [
435
- c(t(J), { class: "nb-combobox__viewport" }, {
557
+ b(a(Q), { class: "nb-combobox__viewport" }, {
436
558
  default: d(() => [
437
- c(t(Q), { class: "nb-combobox__empty" }, {
559
+ b(a(Y), { class: "nb-combobox__empty" }, {
438
560
  default: d(() => [
439
561
  I(p(e.emptyText), 1)
440
562
  ]),
441
563
  _: 1
442
564
  }),
443
- (n(!0), u(B, null, T(e.options, ($) => (n(), y(t(W), {
565
+ (o(!0), u(V, null, S(e.options, ($) => (o(), y(a(Z), {
444
566
  key: $.value,
445
567
  class: "nb-combobox__item",
446
568
  value: $.value,
@@ -450,11 +572,11 @@ const qa = ["for"], Ua = ["id", "checked", "disabled"], La = { class: "nb-checkb
450
572
  }, {
451
573
  default: d(() => [
452
574
  f("span", null, p($.label), 1),
453
- c(t(Te), {
575
+ b(a(Oe), {
454
576
  class: "nb-combobox__indicator",
455
577
  "aria-hidden": "true"
456
578
  }, {
457
- default: d(() => [...v[1] || (v[1] = [
579
+ default: d(() => [...h[1] || (h[1] = [
458
580
  f("svg", {
459
581
  viewBox: "0 0 16 16",
460
582
  focusable: "false"
@@ -479,23 +601,23 @@ const qa = ["for"], Ua = ["id", "checked", "disabled"], La = { class: "nb-checkb
479
601
  ]),
480
602
  _: 1
481
603
  }, 8, ["model-value", "disabled", "required", "name"]),
482
- e.hint ? (n(), u("span", {
604
+ e.hint ? (o(), u("span", {
483
605
  key: 1,
484
- id: t(l).hintId,
606
+ id: a(l).hintId,
485
607
  class: "nb-field__hint"
486
- }, p(e.hint), 9, Ka)) : g("", !0),
487
- e.error ? (n(), u("span", {
608
+ }, p(e.hint), 9, Vl)) : g("", !0),
609
+ e.error ? (o(), u("span", {
488
610
  key: 2,
489
- id: t(l).errorId,
611
+ id: a(l).errorId,
490
612
  class: "nb-field__error"
491
- }, p(e.error), 9, ja)) : g("", !0)
613
+ }, p(e.error), 9, wl)) : g("", !0)
492
614
  ]));
493
615
  }
494
- }), Ja = {
616
+ }), Ml = {
495
617
  key: 0,
496
618
  class: "nb-command__shortcut",
497
619
  "aria-hidden": "true"
498
- }, F = /* @__PURE__ */ h({
620
+ }, F = /* @__PURE__ */ v({
499
621
  __name: "NbCommandPanel",
500
622
  props: {
501
623
  modelValue: { default: "" },
@@ -505,29 +627,29 @@ const qa = ["for"], Ua = ["id", "checked", "disabled"], La = { class: "nb-checkb
505
627
  emptyText: {}
506
628
  },
507
629
  emits: ["update:modelValue", "select"],
508
- setup(e, { emit: o }) {
509
- const a = e, s = o, l = N(() => {
630
+ setup(e, { emit: n }) {
631
+ const t = e, s = n, l = N(() => {
510
632
  const m = /* @__PURE__ */ new Map();
511
- for (const i of a.options) {
633
+ for (const i of t.options) {
512
634
  const r = i.group ?? "";
513
635
  m.set(r, [...m.get(r) ?? [], i]);
514
636
  }
515
637
  return Array.from(m, ([i, r]) => ({ label: i, options: r }));
516
638
  });
517
- function b(m) {
639
+ function c(m) {
518
640
  if (typeof m != "string") return;
519
- const i = a.options.find((r) => r.value === m);
641
+ const i = t.options.find((r) => r.value === m);
520
642
  i && (s("update:modelValue", m), s("select", i));
521
643
  }
522
- return (m, i) => (n(), y(t(H), {
644
+ return (m, i) => (o(), y(a(j), {
523
645
  class: "nb-command",
524
646
  "model-value": e.modelValue,
525
647
  open: !0,
526
648
  "reset-search-term-on-select": !1,
527
- "onUpdate:modelValue": b
649
+ "onUpdate:modelValue": c
528
650
  }, {
529
651
  default: d(() => [
530
- c(t(K), { class: "nb-command__search" }, {
652
+ b(a(W), { class: "nb-command__search" }, {
531
653
  default: d(() => [
532
654
  i[0] || (i[0] = f("svg", {
533
655
  viewBox: "0 0 20 20",
@@ -541,7 +663,7 @@ const qa = ["for"], Ua = ["id", "checked", "disabled"], La = { class: "nb-checkb
541
663
  }),
542
664
  f("path", { d: "m13 13 4 4" })
543
665
  ], -1)),
544
- c(t(j), {
666
+ b(a(J), {
545
667
  class: "nb-command__input",
546
668
  "aria-label": e.label,
547
669
  placeholder: e.placeholder,
@@ -550,22 +672,22 @@ const qa = ["for"], Ua = ["id", "checked", "disabled"], La = { class: "nb-checkb
550
672
  ]),
551
673
  _: 1
552
674
  }),
553
- c(t(X), { class: "nb-command__content" }, {
675
+ b(a(X), { class: "nb-command__content" }, {
554
676
  default: d(() => [
555
- c(t(J), { class: "nb-command__viewport" }, {
677
+ b(a(Q), { class: "nb-command__viewport" }, {
556
678
  default: d(() => [
557
- c(t(Q), { class: "nb-command__empty" }, {
679
+ b(a(Y), { class: "nb-command__empty" }, {
558
680
  default: d(() => [
559
681
  I(p(e.emptyText), 1)
560
682
  ]),
561
683
  _: 1
562
684
  }),
563
- (n(!0), u(B, null, T(l.value, (r) => (n(), y(t(Se), {
685
+ (o(!0), u(V, null, S(l.value, (r) => (o(), y(a(Pe), {
564
686
  key: r.label || "default",
565
687
  class: "nb-command__group"
566
688
  }, {
567
689
  default: d(() => [
568
- r.label ? (n(), y(t(Ae), {
690
+ r.label ? (o(), y(a(Re), {
569
691
  key: 0,
570
692
  class: "nb-command__group-label"
571
693
  }, {
@@ -574,17 +696,17 @@ const qa = ["for"], Ua = ["id", "checked", "disabled"], La = { class: "nb-checkb
574
696
  ]),
575
697
  _: 2
576
698
  }, 1024)) : g("", !0),
577
- (n(!0), u(B, null, T(r.options, (v) => (n(), y(t(W), {
578
- key: v.value,
699
+ (o(!0), u(V, null, S(r.options, (h) => (o(), y(a(Z), {
700
+ key: h.value,
579
701
  class: "nb-command__item",
580
- value: v.value,
581
- "text-value": [v.label, ...v.keywords ?? []].join(" "),
582
- disabled: v.disabled,
583
- "data-value": v.value
702
+ value: h.value,
703
+ "text-value": [h.label, ...h.keywords ?? []].join(" "),
704
+ disabled: h.disabled,
705
+ "data-value": h.value
584
706
  }, {
585
707
  default: d(() => [
586
- f("span", null, p(v.label), 1),
587
- v.shortcut ? (n(), u("span", Ja, p(v.shortcut), 1)) : g("", !0)
708
+ f("span", null, p(h.label), 1),
709
+ h.shortcut ? (o(), u("span", Ml, p(h.shortcut), 1)) : g("", !0)
588
710
  ]),
589
711
  _: 2
590
712
  }, 1032, ["value", "text-value", "disabled", "data-value"]))), 128))
@@ -601,7 +723,7 @@ const qa = ["for"], Ua = ["id", "checked", "disabled"], La = { class: "nb-checkb
601
723
  _: 1
602
724
  }, 8, ["model-value"]));
603
725
  }
604
- }), Qa = { class: "nb-command-dialog__header" }, Wa = /* @__PURE__ */ h({
726
+ }), Tl = { class: "nb-command-dialog__header" }, Al = /* @__PURE__ */ v({
605
727
  __name: "NbCommand",
606
728
  props: {
607
729
  modelValue: { default: "" },
@@ -614,61 +736,61 @@ const qa = ["for"], Ua = ["id", "checked", "disabled"], La = { class: "nb-checkb
614
736
  defaultOpen: { type: Boolean, default: !1 }
615
737
  },
616
738
  emits: ["update:modelValue", "update:open", "select"],
617
- setup(e, { emit: o }) {
618
- const a = e, s = o, l = C(a.open ?? a.defaultOpen), b = N(() => a.open ?? l.value);
619
- A(() => a.open, (r) => {
739
+ setup(e, { emit: n }) {
740
+ const t = e, s = n, l = x(t.open ?? t.defaultOpen), c = N(() => t.open ?? l.value);
741
+ M(() => t.open, (r) => {
620
742
  r !== void 0 && (l.value = r);
621
743
  });
622
744
  function m(r) {
623
745
  l.value = r, s("update:open", r);
624
746
  }
625
747
  function i(r) {
626
- s("select", r), a.dialog && m(!1);
748
+ s("select", r), t.dialog && m(!1);
627
749
  }
628
- return (r, v) => e.dialog ? (n(), y(t(Y), {
750
+ return (r, h) => e.dialog ? (o(), y(a(ee), {
629
751
  key: 0,
630
- open: b.value,
752
+ open: c.value,
631
753
  "onUpdate:open": m
632
754
  }, {
633
755
  default: d(() => [
634
- c(t(Z), { class: "nb-root nb-overlay-trigger" }, {
756
+ b(a(te), { class: "nb-root nb-overlay-trigger" }, {
635
757
  default: d(() => [
636
758
  _(r.$slots, "trigger")
637
759
  ]),
638
760
  _: 3
639
761
  }),
640
- c(t(ee), null, {
762
+ b(a(ae), null, {
641
763
  default: d(() => [
642
- c(t(te), { class: "nb-root nb-command-dialog__overlay" }),
643
- c(t(ae), {
764
+ b(a(le), { class: "nb-root nb-command-dialog__overlay" }),
765
+ b(a(ne), {
644
766
  "aria-describedby": void 0,
645
767
  class: "nb-root nb-command-dialog"
646
768
  }, {
647
769
  default: d(() => [
648
- f("header", Qa, [
649
- c(t(le), { class: "nb-command-dialog__title" }, {
770
+ f("header", Tl, [
771
+ b(a(oe), { class: "nb-command-dialog__title" }, {
650
772
  default: d(() => [
651
773
  I(p(e.label), 1)
652
774
  ]),
653
775
  _: 1
654
776
  }),
655
- c(t(ne), {
777
+ b(a(se), {
656
778
  class: "nb-overlay-close",
657
779
  "aria-label": "Close command menu"
658
780
  }, {
659
- default: d(() => [...v[2] || (v[2] = [
781
+ default: d(() => [...h[2] || (h[2] = [
660
782
  I("×", -1)
661
783
  ])]),
662
784
  _: 1
663
785
  })
664
786
  ]),
665
- c(F, {
787
+ b(F, {
666
788
  "model-value": e.modelValue,
667
789
  options: e.options,
668
790
  label: e.label,
669
791
  placeholder: e.placeholder,
670
792
  "empty-text": e.emptyText,
671
- "onUpdate:modelValue": v[0] || (v[0] = ($) => s("update:modelValue", $)),
793
+ "onUpdate:modelValue": h[0] || (h[0] = ($) => s("update:modelValue", $)),
672
794
  onSelect: i
673
795
  }, null, 8, ["model-value", "options", "label", "placeholder", "empty-text"])
674
796
  ]),
@@ -679,7 +801,7 @@ const qa = ["for"], Ua = ["id", "checked", "disabled"], La = { class: "nb-checkb
679
801
  })
680
802
  ]),
681
803
  _: 3
682
- }, 8, ["open"])) : (n(), y(F, {
804
+ }, 8, ["open"])) : (o(), y(F, {
683
805
  key: 1,
684
806
  class: "nb-root",
685
807
  "model-value": e.modelValue,
@@ -687,39 +809,39 @@ const qa = ["for"], Ua = ["id", "checked", "disabled"], La = { class: "nb-checkb
687
809
  label: e.label,
688
810
  placeholder: e.placeholder,
689
811
  "empty-text": e.emptyText,
690
- "onUpdate:modelValue": v[1] || (v[1] = ($) => s("update:modelValue", $)),
812
+ "onUpdate:modelValue": h[1] || (h[1] = ($) => s("update:modelValue", $)),
691
813
  onSelect: i
692
814
  }, null, 8, ["model-value", "options", "label", "placeholder", "empty-text"]));
693
815
  }
694
- }), Ya = /* @__PURE__ */ h({
816
+ }), Dl = /* @__PURE__ */ v({
695
817
  __name: "NbContextMenu",
696
818
  props: {
697
819
  open: { type: Boolean, default: void 0 },
698
820
  defaultOpen: { type: Boolean, default: !1 }
699
821
  },
700
822
  emits: ["update:open"],
701
- setup(e, { emit: o }) {
702
- const a = e, s = o, l = C(a.open ?? a.defaultOpen), b = N(() => a.open ?? l.value);
703
- A(() => a.open, (i) => {
823
+ setup(e, { emit: n }) {
824
+ const t = e, s = n, l = x(t.open ?? t.defaultOpen), c = N(() => t.open ?? l.value);
825
+ M(() => t.open, (i) => {
704
826
  i !== void 0 && (l.value = i);
705
827
  });
706
828
  function m(i) {
707
829
  l.value = i, s("update:open", i);
708
830
  }
709
- return (i, r) => (n(), y(t(Me), {
710
- open: b.value,
831
+ return (i, r) => (o(), y(a(qe), {
832
+ open: c.value,
711
833
  "onUpdate:open": m
712
834
  }, {
713
835
  default: d(() => [
714
- c(t(De), { "as-child": "" }, {
836
+ b(a(Le), { "as-child": "" }, {
715
837
  default: d(() => [
716
838
  _(i.$slots, "trigger")
717
839
  ]),
718
840
  _: 3
719
841
  }),
720
- c(t(Oe), null, {
842
+ b(a(Ue), null, {
721
843
  default: d(() => [
722
- c(t(Pe), {
844
+ b(a(Ge), {
723
845
  class: "nb-root nb-context-menu",
724
846
  "side-offset": 6
725
847
  }, {
@@ -735,23 +857,23 @@ const qa = ["for"], Ua = ["id", "checked", "disabled"], La = { class: "nb-checkb
735
857
  _: 3
736
858
  }, 8, ["open"]));
737
859
  }
738
- }), Za = /* @__PURE__ */ h({
860
+ }), Ol = /* @__PURE__ */ v({
739
861
  __name: "NbContextMenuCheckboxItem",
740
862
  props: {
741
863
  modelValue: { type: Boolean, default: !1 },
742
864
  disabled: { type: Boolean, default: !1 }
743
865
  },
744
866
  emits: ["update:modelValue"],
745
- setup(e, { emit: o }) {
746
- const a = o;
747
- return (s, l) => (n(), y(t(Re), {
867
+ setup(e, { emit: n }) {
868
+ const t = n;
869
+ return (s, l) => (o(), y(a(Ee), {
748
870
  class: "nb-context-menu__item nb-context-menu__item--choice",
749
871
  "model-value": e.modelValue,
750
872
  disabled: e.disabled,
751
- "onUpdate:modelValue": l[0] || (l[0] = (b) => a("update:modelValue", b))
873
+ "onUpdate:modelValue": l[0] || (l[0] = (c) => t("update:modelValue", c))
752
874
  }, {
753
875
  default: d(() => [
754
- c(t(oe), {
876
+ b(a(ie), {
755
877
  class: "nb-context-menu__indicator",
756
878
  "aria-hidden": "true"
757
879
  }, {
@@ -765,19 +887,19 @@ const qa = ["for"], Ua = ["id", "checked", "disabled"], La = { class: "nb-checkb
765
887
  _: 3
766
888
  }, 8, ["model-value", "disabled"]));
767
889
  }
768
- }), el = /* @__PURE__ */ h({
890
+ }), Pl = /* @__PURE__ */ v({
769
891
  __name: "NbContextMenuItem",
770
892
  props: {
771
893
  disabled: { type: Boolean, default: !1 },
772
894
  destructive: { type: Boolean, default: !1 }
773
895
  },
774
896
  emits: ["select"],
775
- setup(e, { emit: o }) {
776
- const a = o;
777
- return (s, l) => (n(), y(t(qe), {
778
- class: x(["nb-context-menu__item", { "nb-context-menu__item--destructive": e.destructive }]),
897
+ setup(e, { emit: n }) {
898
+ const t = n;
899
+ return (s, l) => (o(), y(a(ze), {
900
+ class: C(["nb-context-menu__item", { "nb-context-menu__item--destructive": e.destructive }]),
779
901
  disabled: e.disabled,
780
- onSelect: l[0] || (l[0] = (b) => a("select", b))
902
+ onSelect: l[0] || (l[0] = (c) => t("select", c))
781
903
  }, {
782
904
  default: d(() => [
783
905
  _(s.$slots, "default")
@@ -785,28 +907,28 @@ const qa = ["for"], Ua = ["id", "checked", "disabled"], La = { class: "nb-checkb
785
907
  _: 3
786
908
  }, 8, ["class", "disabled"]));
787
909
  }
788
- }), tl = /* @__PURE__ */ h({
910
+ }), Rl = /* @__PURE__ */ v({
789
911
  __name: "NbContextMenuLabel",
790
912
  setup(e) {
791
- return (o, a) => (n(), y(t(Ue), { class: "nb-context-menu__label" }, {
913
+ return (n, t) => (o(), y(a(Fe), { class: "nb-context-menu__label" }, {
792
914
  default: d(() => [
793
- _(o.$slots, "default")
915
+ _(n.$slots, "default")
794
916
  ]),
795
917
  _: 3
796
918
  }));
797
919
  }
798
- }), al = /* @__PURE__ */ h({
920
+ }), ql = /* @__PURE__ */ v({
799
921
  __name: "NbContextMenuRadioGroup",
800
922
  props: {
801
923
  modelValue: {}
802
924
  },
803
925
  emits: ["update:modelValue"],
804
- setup(e, { emit: o }) {
805
- const a = o;
926
+ setup(e, { emit: n }) {
927
+ const t = n;
806
928
  function s(l) {
807
- typeof l == "string" && a("update:modelValue", l);
929
+ typeof l == "string" && t("update:modelValue", l);
808
930
  }
809
- return (l, b) => (n(), y(t(Le), {
931
+ return (l, c) => (o(), y(a(He), {
810
932
  "model-value": e.modelValue,
811
933
  "onUpdate:modelValue": s
812
934
  }, {
@@ -816,80 +938,80 @@ const qa = ["for"], Ua = ["id", "checked", "disabled"], La = { class: "nb-checkb
816
938
  _: 3
817
939
  }, 8, ["model-value"]));
818
940
  }
819
- }), ll = /* @__PURE__ */ h({
941
+ }), Ll = /* @__PURE__ */ v({
820
942
  __name: "NbContextMenuRadioItem",
821
943
  props: {
822
944
  value: {},
823
945
  disabled: { type: Boolean, default: !1 }
824
946
  },
825
947
  setup(e) {
826
- return (o, a) => (n(), y(t(Ge), {
948
+ return (n, t) => (o(), y(a(Ke), {
827
949
  class: "nb-context-menu__item nb-context-menu__item--choice",
828
950
  value: e.value,
829
951
  disabled: e.disabled
830
952
  }, {
831
953
  default: d(() => [
832
- c(t(oe), {
954
+ b(a(ie), {
833
955
  class: "nb-context-menu__indicator",
834
956
  "aria-hidden": "true"
835
957
  }, {
836
- default: d(() => [...a[0] || (a[0] = [
958
+ default: d(() => [...t[0] || (t[0] = [
837
959
  I("●", -1)
838
960
  ])]),
839
961
  _: 1
840
962
  }),
841
- _(o.$slots, "default")
963
+ _(n.$slots, "default")
842
964
  ]),
843
965
  _: 3
844
966
  }, 8, ["value", "disabled"]));
845
967
  }
846
- }), nl = /* @__PURE__ */ h({
968
+ }), Ul = /* @__PURE__ */ v({
847
969
  __name: "NbContextMenuSeparator",
848
970
  setup(e) {
849
- return (o, a) => (n(), y(t(ze), { class: "nb-context-menu__separator" }));
850
- }
851
- }), ol = (e, o) => {
852
- const a = e.__vccOpts || e;
853
- for (const [s, l] of o)
854
- a[s] = l;
855
- return a;
856
- }, sl = {}, il = {
971
+ return (n, t) => (o(), y(a(je), { class: "nb-context-menu__separator" }));
972
+ }
973
+ }), Gl = (e, n) => {
974
+ const t = e.__vccOpts || e;
975
+ for (const [s, l] of n)
976
+ t[s] = l;
977
+ return t;
978
+ }, El = {}, zl = {
857
979
  class: "nb-context-menu__shortcut",
858
980
  "aria-hidden": "true"
859
981
  };
860
- function dl(e, o) {
861
- return n(), u("span", il, [
982
+ function Fl(e, n) {
983
+ return o(), u("span", zl, [
862
984
  _(e.$slots, "default")
863
985
  ]);
864
986
  }
865
- const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
987
+ const Hl = /* @__PURE__ */ Gl(El, [["render", Fl]]), Kl = /* @__PURE__ */ v({
866
988
  __name: "NbContextMenuSub",
867
989
  props: {
868
990
  label: {},
869
991
  disabled: { type: Boolean, default: !1 }
870
992
  },
871
993
  setup(e) {
872
- return (o, a) => (n(), y(t(Ee), null, {
994
+ return (n, t) => (o(), y(a(We), null, {
873
995
  default: d(() => [
874
- c(t(Fe), {
996
+ b(a(Je), {
875
997
  class: "nb-context-menu__item",
876
998
  disabled: e.disabled
877
999
  }, {
878
1000
  default: d(() => [
879
1001
  I(p(e.label) + " ", 1),
880
- a[0] || (a[0] = f("span", {
1002
+ t[0] || (t[0] = f("span", {
881
1003
  class: "nb-context-menu__shortcut",
882
1004
  "aria-hidden": "true"
883
1005
  }, "›", -1))
884
1006
  ]),
885
1007
  _: 1
886
1008
  }, 8, ["disabled"]),
887
- c(t(He), {
1009
+ b(a(Xe), {
888
1010
  class: "nb-root nb-context-menu",
889
1011
  "side-offset": 6
890
1012
  }, {
891
1013
  default: d(() => [
892
- _(o.$slots, "default")
1014
+ _(n.$slots, "default")
893
1015
  ]),
894
1016
  _: 3
895
1017
  })
@@ -897,7 +1019,7 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
897
1019
  _: 3
898
1020
  }));
899
1021
  }
900
- }), cl = { class: "nb-alert__content" }, bl = { key: 0 }, fl = /* @__PURE__ */ h({
1022
+ }), jl = { class: "nb-alert__content" }, Wl = { key: 0 }, Jl = /* @__PURE__ */ v({
901
1023
  __name: "NbAlert",
902
1024
  props: {
903
1025
  tone: { default: "info" },
@@ -905,23 +1027,23 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
905
1027
  dismissible: { type: Boolean, default: !1 }
906
1028
  },
907
1029
  emits: ["dismiss"],
908
- setup(e, { emit: o }) {
909
- const a = e, s = o, l = C(!1), b = N(() => O(`nb-alert--${a.tone}`));
1030
+ setup(e, { emit: n }) {
1031
+ const t = e, s = n, l = x(!1), c = N(() => P(`nb-alert--${t.tone}`));
910
1032
  function m() {
911
1033
  l.value = !0, s("dismiss");
912
1034
  }
913
- return (i, r) => l.value ? g("", !0) : (n(), u("div", {
1035
+ return (i, r) => l.value ? g("", !0) : (o(), u("div", {
914
1036
  key: 0,
915
- class: x(["nb-root nb-alert", b.value]),
1037
+ class: C(["nb-root nb-alert", c.value]),
916
1038
  role: "alert"
917
1039
  }, [
918
- f("div", cl, [
919
- e.title ? (n(), u("strong", bl, p(e.title), 1)) : g("", !0),
1040
+ f("div", jl, [
1041
+ e.title ? (o(), u("strong", Wl, p(e.title), 1)) : g("", !0),
920
1042
  f("span", null, [
921
1043
  _(i.$slots, "default")
922
1044
  ])
923
1045
  ]),
924
- e.dismissible ? (n(), u("button", {
1046
+ e.dismissible ? (o(), u("button", {
925
1047
  key: 0,
926
1048
  class: "nb-alert__close",
927
1049
  type: "button",
@@ -930,7 +1052,7 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
930
1052
  }, "×")) : g("", !0)
931
1053
  ], 2));
932
1054
  }
933
- }), ml = { class: "nb-alert-dialog__actions" }, pl = /* @__PURE__ */ h({
1055
+ }), Xl = { class: "nb-alert-dialog__actions" }, Ql = /* @__PURE__ */ v({
934
1056
  __name: "NbAlertDialog",
935
1057
  props: {
936
1058
  open: { type: Boolean, default: void 0 },
@@ -942,55 +1064,55 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
942
1064
  destructive: { type: Boolean, default: !1 }
943
1065
  },
944
1066
  emits: ["update:open", "action", "cancel"],
945
- setup(e, { emit: o }) {
946
- const a = e, s = o, l = C(a.open ?? a.defaultOpen), b = N(() => a.open ?? l.value);
947
- A(() => a.open, (i) => {
1067
+ setup(e, { emit: n }) {
1068
+ const t = e, s = n, l = x(t.open ?? t.defaultOpen), c = N(() => t.open ?? l.value);
1069
+ M(() => t.open, (i) => {
948
1070
  i !== void 0 && (l.value = i);
949
1071
  });
950
1072
  function m(i) {
951
1073
  l.value = i, s("update:open", i);
952
1074
  }
953
- return (i, r) => (n(), y(t(Ke), {
954
- open: b.value,
1075
+ return (i, r) => (o(), y(a(Qe), {
1076
+ open: c.value,
955
1077
  "onUpdate:open": m
956
1078
  }, {
957
1079
  default: d(() => [
958
- c(t(je), { class: "nb-root nb-overlay-trigger" }, {
1080
+ b(a(Ye), { class: "nb-root nb-overlay-trigger" }, {
959
1081
  default: d(() => [
960
1082
  _(i.$slots, "trigger")
961
1083
  ]),
962
1084
  _: 3
963
1085
  }),
964
- c(t(Xe), null, {
1086
+ b(a(Ze), null, {
965
1087
  default: d(() => [
966
- c(t(Je), { class: "nb-root nb-alert-dialog__overlay" }),
967
- c(t(Qe), { class: "nb-root nb-alert-dialog" }, {
1088
+ b(a(et), { class: "nb-root nb-alert-dialog__overlay" }),
1089
+ b(a(tt), { class: "nb-root nb-alert-dialog" }, {
968
1090
  default: d(() => [
969
- c(t(We), { class: "nb-alert-dialog__title" }, {
1091
+ b(a(at), { class: "nb-alert-dialog__title" }, {
970
1092
  default: d(() => [
971
1093
  I(p(e.title), 1)
972
1094
  ]),
973
1095
  _: 1
974
1096
  }),
975
- c(t(Ye), { class: "nb-alert-dialog__description" }, {
1097
+ b(a(lt), { class: "nb-alert-dialog__description" }, {
976
1098
  default: d(() => [
977
1099
  I(p(e.description), 1)
978
1100
  ]),
979
1101
  _: 1
980
1102
  }),
981
- f("div", ml, [
982
- c(t(Ze), {
1103
+ f("div", Xl, [
1104
+ b(a(nt), {
983
1105
  class: "nb-alert-dialog__button nb-alert-dialog__button--cancel",
984
- onClick: r[0] || (r[0] = (v) => s("cancel"))
1106
+ onClick: r[0] || (r[0] = (h) => s("cancel"))
985
1107
  }, {
986
1108
  default: d(() => [
987
1109
  I(p(e.cancelLabel), 1)
988
1110
  ]),
989
1111
  _: 1
990
1112
  }),
991
- c(t(et), {
992
- class: x(["nb-alert-dialog__button", { "nb-alert-dialog__button--destructive": e.destructive }]),
993
- onClick: r[1] || (r[1] = (v) => s("action"))
1113
+ b(a(ot), {
1114
+ class: C(["nb-alert-dialog__button", { "nb-alert-dialog__button--destructive": e.destructive }]),
1115
+ onClick: r[1] || (r[1] = (h) => s("action"))
994
1116
  }, {
995
1117
  default: d(() => [
996
1118
  I(p(e.actionLabel), 1)
@@ -1008,10 +1130,10 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1008
1130
  _: 3
1009
1131
  }, 8, ["open"]));
1010
1132
  }
1011
- }), vl = { class: "nb-dialog__header" }, hl = { class: "nb-dialog__body" }, gl = {
1133
+ }), Yl = { class: "nb-dialog__header" }, Zl = { class: "nb-dialog__body" }, en = {
1012
1134
  key: 0,
1013
1135
  class: "nb-dialog__footer"
1014
- }, _l = /* @__PURE__ */ h({
1136
+ }, tn = /* @__PURE__ */ v({
1015
1137
  inheritAttrs: !1,
1016
1138
  __name: "NbDialog",
1017
1139
  props: {
@@ -1020,51 +1142,51 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1020
1142
  closeOnBackdrop: { type: Boolean, default: !0 }
1021
1143
  },
1022
1144
  emits: ["update:open", "close"],
1023
- setup(e, { emit: o }) {
1024
- const a = e, s = o, b = `${M("dialog")}-title`, m = C(null), i = C(null);
1145
+ setup(e, { emit: n }) {
1146
+ const t = e, s = n, c = `${A("dialog")}-title`, m = x(null), i = x(null);
1025
1147
  function r() {
1026
1148
  s("update:open", !1), s("close");
1027
1149
  }
1028
- function v() {
1150
+ function h() {
1029
1151
  return Array.from(m.value?.querySelectorAll(
1030
1152
  'button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])'
1031
1153
  ) ?? []);
1032
1154
  }
1033
- function $(V) {
1034
- if (V.key === "Escape") {
1035
- V.preventDefault(), r();
1155
+ function $(B) {
1156
+ if (B.key === "Escape") {
1157
+ B.preventDefault(), r();
1036
1158
  return;
1037
1159
  }
1038
- if (V.key !== "Tab") return;
1039
- const D = v();
1160
+ if (B.key !== "Tab") return;
1161
+ const D = h();
1040
1162
  if (!D.length) return;
1041
1163
  const R = D[0], G = D[D.length - 1];
1042
- V.shiftKey && document.activeElement === R ? (V.preventDefault(), G.focus()) : !V.shiftKey && document.activeElement === G && (V.preventDefault(), R.focus());
1164
+ B.shiftKey && document.activeElement === R ? (B.preventDefault(), G.focus()) : !B.shiftKey && document.activeElement === G && (B.preventDefault(), R.focus());
1043
1165
  }
1044
- function P() {
1045
- i.value = document.activeElement instanceof HTMLElement ? document.activeElement : null, document.addEventListener("keydown", $), re(() => (v()[0] ?? m.value)?.focus());
1166
+ function O() {
1167
+ i.value = document.activeElement instanceof HTMLElement ? document.activeElement : null, document.addEventListener("keydown", $), H(() => (h()[0] ?? m.value)?.focus());
1046
1168
  }
1047
- function L() {
1169
+ function U() {
1048
1170
  document.removeEventListener("keydown", $), i.value?.focus(), i.value = null;
1049
1171
  }
1050
- return A(() => a.open, (V) => {
1051
- V ? P() : L();
1052
- }, { immediate: !0 }), ie(L), (V, D) => e.open ? (n(), u("div", {
1172
+ return M(() => t.open, (B) => {
1173
+ B ? O() : U();
1174
+ }, { immediate: !0 }), K(U), (B, D) => e.open ? (o(), u("div", {
1053
1175
  key: 0,
1054
1176
  class: "nb-root nb-dialog-layer",
1055
- onMousedown: D[0] || (D[0] = de((R) => e.closeOnBackdrop && r(), ["self"]))
1177
+ onMousedown: D[0] || (D[0] = me((R) => e.closeOnBackdrop && r(), ["self"]))
1056
1178
  }, [
1057
- f("section", k(V.$attrs, {
1179
+ f("section", k(B.$attrs, {
1058
1180
  ref_key: "dialogRef",
1059
1181
  ref: m,
1060
1182
  class: "nb-dialog",
1061
1183
  role: "dialog",
1062
1184
  "aria-modal": "true",
1063
- "aria-labelledby": b,
1185
+ "aria-labelledby": c,
1064
1186
  tabindex: "-1"
1065
1187
  }), [
1066
- f("header", vl, [
1067
- f("h2", { id: b }, p(e.title), 1),
1188
+ f("header", Yl, [
1189
+ f("h2", { id: c }, p(e.title), 1),
1068
1190
  f("button", {
1069
1191
  class: "nb-dialog__close",
1070
1192
  type: "button",
@@ -1072,16 +1194,104 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1072
1194
  onClick: r
1073
1195
  }, "×")
1074
1196
  ]),
1075
- f("div", hl, [
1076
- _(V.$slots, "default")
1197
+ f("div", Zl, [
1198
+ _(B.$slots, "default")
1077
1199
  ]),
1078
- V.$slots.footer ? (n(), u("footer", gl, [
1079
- _(V.$slots, "footer")
1200
+ B.$slots.footer ? (o(), u("footer", en, [
1201
+ _(B.$slots, "footer")
1080
1202
  ])) : g("", !0)
1081
1203
  ], 16)
1082
1204
  ], 32)) : g("", !0);
1083
1205
  }
1084
- }), yl = /* @__PURE__ */ h({
1206
+ }), an = { class: "nb-drawer__header" }, ln = { class: "nb-drawer__body" }, nn = {
1207
+ key: 0,
1208
+ class: "nb-drawer__footer"
1209
+ }, on = /* @__PURE__ */ v({
1210
+ __name: "NbDrawer",
1211
+ props: {
1212
+ open: { type: Boolean, default: void 0 },
1213
+ defaultOpen: { type: Boolean, default: !1 },
1214
+ title: {},
1215
+ description: {},
1216
+ side: { default: "bottom" }
1217
+ },
1218
+ emits: ["update:open"],
1219
+ setup(e, { emit: n }) {
1220
+ const t = e, s = n, l = x(t.open ?? t.defaultOpen), c = N(() => t.open ?? l.value), m = N(() => ({ bottom: "down", top: "up", left: "left", right: "right" })[t.side]);
1221
+ M(() => t.open, (r) => {
1222
+ r !== void 0 && (l.value = r);
1223
+ });
1224
+ function i(r) {
1225
+ l.value = r, s("update:open", r);
1226
+ }
1227
+ return (r, h) => (o(), y(a(st), {
1228
+ open: c.value,
1229
+ "swipe-direction": m.value,
1230
+ "onUpdate:open": i
1231
+ }, {
1232
+ default: d(() => [
1233
+ b(a(it), { class: "nb-root nb-overlay-trigger" }, {
1234
+ default: d(() => [
1235
+ _(r.$slots, "trigger")
1236
+ ]),
1237
+ _: 3
1238
+ }),
1239
+ b(a(dt), null, {
1240
+ default: d(() => [
1241
+ b(a(rt), { class: "nb-root nb-drawer__overlay" }),
1242
+ b(a(ut), k(e.description ? {} : { "aria-describedby": void 0 }, {
1243
+ class: ["nb-root nb-drawer", `nb-drawer--${e.side}`]
1244
+ }), {
1245
+ default: d(() => [
1246
+ b(a(ct), {
1247
+ class: "nb-drawer__handle",
1248
+ "aria-hidden": "true"
1249
+ }),
1250
+ f("header", an, [
1251
+ f("div", null, [
1252
+ b(a(bt), { class: "nb-drawer__title" }, {
1253
+ default: d(() => [
1254
+ I(p(e.title), 1)
1255
+ ]),
1256
+ _: 1
1257
+ }),
1258
+ e.description ? (o(), y(a(ft), {
1259
+ key: 0,
1260
+ class: "nb-drawer__description"
1261
+ }, {
1262
+ default: d(() => [
1263
+ I(p(e.description), 1)
1264
+ ]),
1265
+ _: 1
1266
+ })) : g("", !0)
1267
+ ]),
1268
+ b(a(mt), {
1269
+ class: "nb-overlay-close",
1270
+ "aria-label": "Close drawer"
1271
+ }, {
1272
+ default: d(() => [...h[0] || (h[0] = [
1273
+ I("×", -1)
1274
+ ])]),
1275
+ _: 1
1276
+ })
1277
+ ]),
1278
+ f("div", ln, [
1279
+ _(r.$slots, "default")
1280
+ ]),
1281
+ r.$slots.footer ? (o(), u("footer", nn, [
1282
+ _(r.$slots, "footer")
1283
+ ])) : g("", !0)
1284
+ ]),
1285
+ _: 3
1286
+ }, 16, ["class"])
1287
+ ]),
1288
+ _: 3
1289
+ })
1290
+ ]),
1291
+ _: 3
1292
+ }, 8, ["open", "swipe-direction"]));
1293
+ }
1294
+ }), sn = /* @__PURE__ */ v({
1085
1295
  __name: "NbDropdownMenu",
1086
1296
  props: {
1087
1297
  open: { type: Boolean, default: void 0 },
@@ -1091,21 +1301,21 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1091
1301
  disabled: { type: Boolean, default: !1 }
1092
1302
  },
1093
1303
  emits: ["update:open"],
1094
- setup(e, { emit: o }) {
1095
- const a = e, s = o, l = C(a.open ?? a.defaultOpen), b = N(() => a.open ?? l.value);
1096
- A(() => a.open, (i) => {
1304
+ setup(e, { emit: n }) {
1305
+ const t = e, s = n, l = x(t.open ?? t.defaultOpen), c = N(() => t.open ?? l.value);
1306
+ M(() => t.open, (i) => {
1097
1307
  i !== void 0 && (l.value = i);
1098
1308
  });
1099
1309
  function m(i) {
1100
1310
  l.value = i, s("update:open", i);
1101
1311
  }
1102
- return (i, r) => (n(), y(t(tt), {
1103
- open: b.value,
1312
+ return (i, r) => (o(), y(a(pt), {
1313
+ open: c.value,
1104
1314
  "default-open": e.defaultOpen,
1105
1315
  "onUpdate:open": m
1106
1316
  }, {
1107
1317
  default: d(() => [
1108
- c(t(at), {
1318
+ b(a(vt), {
1109
1319
  class: "nb-root nb-overlay-trigger",
1110
1320
  "aria-label": e.label,
1111
1321
  disabled: e.disabled
@@ -1123,9 +1333,9 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1123
1333
  ]),
1124
1334
  _: 3
1125
1335
  }, 8, ["aria-label", "disabled"]),
1126
- c(t(lt), null, {
1336
+ b(a(ht), null, {
1127
1337
  default: d(() => [
1128
- c(t(nt), {
1338
+ b(a(_t), {
1129
1339
  class: "nb-root nb-dropdown-menu",
1130
1340
  align: e.align,
1131
1341
  "side-offset": 8
@@ -1142,19 +1352,19 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1142
1352
  _: 3
1143
1353
  }, 8, ["open", "default-open"]));
1144
1354
  }
1145
- }), $l = /* @__PURE__ */ h({
1355
+ }), dn = /* @__PURE__ */ v({
1146
1356
  __name: "NbDropdownMenuItem",
1147
1357
  props: {
1148
1358
  disabled: { type: Boolean, default: !1 },
1149
1359
  destructive: { type: Boolean, default: !1 }
1150
1360
  },
1151
1361
  emits: ["select"],
1152
- setup(e, { emit: o }) {
1153
- const a = o;
1154
- return (s, l) => (n(), y(t(ot), {
1155
- class: x(["nb-dropdown-menu__item", { "nb-dropdown-menu__item--destructive": e.destructive }]),
1362
+ setup(e, { emit: n }) {
1363
+ const t = n;
1364
+ return (s, l) => (o(), y(a(gt), {
1365
+ class: C(["nb-dropdown-menu__item", { "nb-dropdown-menu__item--destructive": e.destructive }]),
1156
1366
  disabled: e.disabled,
1157
- onSelect: l[0] || (l[0] = (b) => a("select", b))
1367
+ onSelect: l[0] || (l[0] = (c) => t("select", c))
1158
1368
  }, {
1159
1369
  default: d(() => [
1160
1370
  _(s.$slots, "default")
@@ -1162,45 +1372,45 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1162
1372
  _: 3
1163
1373
  }, 8, ["class", "disabled"]));
1164
1374
  }
1165
- }), Nl = /* @__PURE__ */ h({
1375
+ }), rn = /* @__PURE__ */ v({
1166
1376
  __name: "NbDropdownMenuSeparator",
1167
1377
  setup(e) {
1168
- return (o, a) => (n(), y(t(st), { class: "nb-dropdown-menu__separator" }));
1378
+ return (n, t) => (o(), y(a(yt), { class: "nb-dropdown-menu__separator" }));
1169
1379
  }
1170
- }), Il = ["aria-labelledby"], kl = {
1380
+ }), un = ["aria-labelledby"], cn = {
1171
1381
  key: 0,
1172
1382
  class: "nb-empty-state__icon",
1173
1383
  "aria-hidden": "true"
1174
- }, xl = ["id"], Vl = { key: 1 }, Bl = {
1384
+ }, bn = ["id"], fn = { key: 1 }, mn = {
1175
1385
  key: 2,
1176
1386
  class: "nb-empty-state__action"
1177
- }, Cl = /* @__PURE__ */ h({
1387
+ }, pn = /* @__PURE__ */ v({
1178
1388
  __name: "NbEmptyState",
1179
1389
  props: {
1180
1390
  title: {},
1181
1391
  description: {}
1182
1392
  },
1183
1393
  setup(e) {
1184
- const o = M("empty-state-title");
1185
- return (a, s) => (n(), u("section", {
1394
+ const n = A("empty-state-title");
1395
+ return (t, s) => (o(), u("section", {
1186
1396
  class: "nb-root nb-empty-state",
1187
1397
  role: "region",
1188
- "aria-labelledby": t(o)
1398
+ "aria-labelledby": a(n)
1189
1399
  }, [
1190
- a.$slots.icon ? (n(), u("div", kl, [
1191
- _(a.$slots, "icon")
1400
+ t.$slots.icon ? (o(), u("div", cn, [
1401
+ _(t.$slots, "icon")
1192
1402
  ])) : g("", !0),
1193
- f("h2", { id: t(o) }, p(e.title), 9, xl),
1194
- e.description ? (n(), u("p", Vl, p(e.description), 1)) : g("", !0),
1195
- a.$slots.default ? (n(), u("div", Bl, [
1196
- _(a.$slots, "default")
1403
+ f("h2", { id: a(n) }, p(e.title), 9, bn),
1404
+ e.description ? (o(), u("p", fn, p(e.description), 1)) : g("", !0),
1405
+ t.$slots.default ? (o(), u("div", mn, [
1406
+ _(t.$slots, "default")
1197
1407
  ])) : g("", !0)
1198
- ], 8, Il));
1408
+ ], 8, un));
1199
1409
  }
1200
- }), wl = ["disabled", "aria-describedby"], Tl = {
1410
+ }), vn = ["disabled", "aria-describedby"], hn = {
1201
1411
  key: 0,
1202
1412
  class: "nb-fieldset__legend"
1203
- }, Sl = { class: "nb-fieldset__content" }, Al = /* @__PURE__ */ h({
1413
+ }, _n = { class: "nb-fieldset__content" }, gn = /* @__PURE__ */ v({
1204
1414
  __name: "NbFieldset",
1205
1415
  props: {
1206
1416
  legend: {},
@@ -1208,24 +1418,69 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1208
1418
  disabled: { type: Boolean, default: !1 }
1209
1419
  },
1210
1420
  setup(e) {
1211
- const o = `${M("fieldset")}-description`;
1212
- return (a, s) => (n(), u("fieldset", {
1421
+ const n = `${A("fieldset")}-description`;
1422
+ return (t, s) => (o(), u("fieldset", {
1213
1423
  class: "nb-root nb-fieldset",
1214
1424
  disabled: e.disabled,
1215
- "aria-describedby": e.description ? o : void 0
1425
+ "aria-describedby": e.description ? n : void 0
1216
1426
  }, [
1217
- e.legend ? (n(), u("legend", Tl, p(e.legend), 1)) : g("", !0),
1218
- e.description ? (n(), u("p", {
1427
+ e.legend ? (o(), u("legend", hn, p(e.legend), 1)) : g("", !0),
1428
+ e.description ? (o(), u("p", {
1219
1429
  key: 1,
1220
- id: o,
1430
+ id: n,
1221
1431
  class: "nb-fieldset__description"
1222
1432
  }, p(e.description), 1)) : g("", !0),
1223
- f("div", Sl, [
1224
- _(a.$slots, "default")
1433
+ f("div", _n, [
1434
+ _(t.$slots, "default")
1225
1435
  ])
1226
- ], 8, wl));
1436
+ ], 8, vn));
1227
1437
  }
1228
- }), Ml = { class: "nb-root nb-field" }, Dl = ["for"], Ol = ["id", "value", "disabled", "aria-invalid", "aria-describedby"], Pl = ["id"], Rl = ["id"], ql = /* @__PURE__ */ h({
1438
+ }), re = /* @__PURE__ */ v({
1439
+ inheritAttrs: !1,
1440
+ __name: "NbLabel",
1441
+ setup(e) {
1442
+ return (n, t) => (o(), u("label", k(n.$attrs, { class: "nb-root nb-label" }), [
1443
+ _(n.$slots, "default")
1444
+ ], 16));
1445
+ }
1446
+ }), yn = { class: "nb-root nb-field" }, $n = ["id"], Nn = ["id"], ue = /* @__PURE__ */ v({
1447
+ __name: "NbField",
1448
+ props: {
1449
+ id: {},
1450
+ label: {},
1451
+ hint: {},
1452
+ error: {}
1453
+ },
1454
+ setup(e) {
1455
+ const n = e, t = w("field", n.id), s = N(() => T(n.hint, n.error, t.hintId, t.errorId));
1456
+ return (l, c) => (o(), u("div", yn, [
1457
+ e.label ? (o(), y(a(re), {
1458
+ key: 0,
1459
+ for: a(t).inputId
1460
+ }, {
1461
+ default: d(() => [
1462
+ I(p(e.label), 1)
1463
+ ]),
1464
+ _: 1
1465
+ }, 8, ["for"])) : g("", !0),
1466
+ _(l.$slots, "default", {
1467
+ inputId: a(t).inputId,
1468
+ describedBy: s.value,
1469
+ invalid: !!e.error
1470
+ }),
1471
+ e.hint ? (o(), u("span", {
1472
+ key: 1,
1473
+ id: a(t).hintId,
1474
+ class: "nb-field__hint"
1475
+ }, p(e.hint), 9, $n)) : g("", !0),
1476
+ e.error ? (o(), u("span", {
1477
+ key: 2,
1478
+ id: a(t).errorId,
1479
+ class: "nb-field__error"
1480
+ }, p(e.error), 9, Nn)) : g("", !0)
1481
+ ]));
1482
+ }
1483
+ }), In = { class: "nb-root nb-field" }, kn = ["for"], xn = ["id", "value", "disabled", "aria-invalid", "aria-describedby"], Cn = ["id"], Bn = ["id"], Vn = /* @__PURE__ */ v({
1229
1484
  inheritAttrs: !1,
1230
1485
  __name: "NbInput",
1231
1486
  props: {
@@ -1237,58 +1492,58 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1237
1492
  id: {}
1238
1493
  },
1239
1494
  emits: ["update:modelValue"],
1240
- setup(e, { emit: o }) {
1241
- const a = e, s = o, l = w("input", a.id), b = N(() => S(a.hint, a.error, l.hintId, l.errorId));
1242
- return (m, i) => (n(), u("div", Ml, [
1243
- e.label ? (n(), u("label", {
1495
+ setup(e, { emit: n }) {
1496
+ const t = e, s = n, l = w("input", t.id), c = N(() => T(t.hint, t.error, l.hintId, l.errorId));
1497
+ return (m, i) => (o(), u("div", In, [
1498
+ e.label ? (o(), u("label", {
1244
1499
  key: 0,
1245
1500
  class: "nb-field__label",
1246
- for: t(l).inputId
1247
- }, p(e.label), 9, Dl)) : g("", !0),
1501
+ for: a(l).inputId
1502
+ }, p(e.label), 9, kn)) : g("", !0),
1248
1503
  f("input", k(m.$attrs, {
1249
- id: t(l).inputId,
1504
+ id: a(l).inputId,
1250
1505
  class: "nb-field__control",
1251
1506
  value: e.modelValue,
1252
1507
  disabled: e.disabled,
1253
1508
  "aria-invalid": e.error ? "true" : void 0,
1254
- "aria-describedby": b.value,
1509
+ "aria-describedby": c.value,
1255
1510
  onInput: i[0] || (i[0] = (r) => s("update:modelValue", r.target.value))
1256
- }), null, 16, Ol),
1257
- e.hint ? (n(), u("span", {
1511
+ }), null, 16, xn),
1512
+ e.hint ? (o(), u("span", {
1258
1513
  key: 1,
1259
- id: t(l).hintId,
1514
+ id: a(l).hintId,
1260
1515
  class: "nb-field__hint"
1261
- }, p(e.hint), 9, Pl)) : g("", !0),
1262
- e.error ? (n(), u("span", {
1516
+ }, p(e.hint), 9, Cn)) : g("", !0),
1517
+ e.error ? (o(), u("span", {
1263
1518
  key: 2,
1264
- id: t(l).errorId,
1519
+ id: a(l).errorId,
1265
1520
  class: "nb-field__error"
1266
- }, p(e.error), 9, Rl)) : g("", !0)
1521
+ }, p(e.error), 9, Bn)) : g("", !0)
1267
1522
  ]));
1268
1523
  }
1269
- }), Ul = { class: "nb-root nb-input-group" }, Ll = {
1524
+ }), wn = { class: "nb-root nb-input-group" }, Sn = {
1270
1525
  key: 0,
1271
1526
  class: "nb-input-group__addon"
1272
- }, Gl = { class: "nb-input-group__control" }, zl = {
1527
+ }, Mn = { class: "nb-input-group__control" }, Tn = {
1273
1528
  key: 1,
1274
1529
  class: "nb-input-group__addon"
1275
- }, El = /* @__PURE__ */ h({
1530
+ }, An = /* @__PURE__ */ v({
1276
1531
  __name: "NbInputGroup",
1277
1532
  setup(e) {
1278
- const o = ue();
1279
- return (a, s) => (n(), u("div", Ul, [
1280
- t(o).start ? (n(), u("span", Ll, [
1281
- _(a.$slots, "start")
1533
+ const n = pe();
1534
+ return (t, s) => (o(), u("div", wn, [
1535
+ a(n).start ? (o(), u("span", Sn, [
1536
+ _(t.$slots, "start")
1282
1537
  ])) : g("", !0),
1283
- f("div", Gl, [
1284
- _(a.$slots, "default")
1538
+ f("div", Mn, [
1539
+ _(t.$slots, "default")
1285
1540
  ]),
1286
- t(o).end ? (n(), u("span", zl, [
1287
- _(a.$slots, "end")
1541
+ a(n).end ? (o(), u("span", Tn, [
1542
+ _(t.$slots, "end")
1288
1543
  ])) : g("", !0)
1289
1544
  ]));
1290
1545
  }
1291
- }), Fl = /* @__PURE__ */ h({
1546
+ }), Dn = /* @__PURE__ */ v({
1292
1547
  __name: "NbHoverCard",
1293
1548
  props: {
1294
1549
  open: { type: Boolean, default: void 0 },
@@ -1299,30 +1554,30 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1299
1554
  side: { default: "bottom" }
1300
1555
  },
1301
1556
  emits: ["update:open"],
1302
- setup(e, { emit: o }) {
1303
- const a = e, s = o, l = C(a.open ?? a.defaultOpen), b = N(() => a.open ?? l.value);
1304
- A(() => a.open, (i) => {
1557
+ setup(e, { emit: n }) {
1558
+ const t = e, s = n, l = x(t.open ?? t.defaultOpen), c = N(() => t.open ?? l.value);
1559
+ M(() => t.open, (i) => {
1305
1560
  i !== void 0 && (l.value = i);
1306
1561
  });
1307
1562
  function m(i) {
1308
1563
  l.value = i, s("update:open", i);
1309
1564
  }
1310
- return (i, r) => (n(), y(t(it), {
1311
- open: b.value,
1565
+ return (i, r) => (o(), y(a($t), {
1566
+ open: c.value,
1312
1567
  "open-delay": e.openDelay,
1313
1568
  "close-delay": e.closeDelay,
1314
1569
  "onUpdate:open": m
1315
1570
  }, {
1316
1571
  default: d(() => [
1317
- c(t(dt), { "as-child": "" }, {
1572
+ b(a(Nt), { "as-child": "" }, {
1318
1573
  default: d(() => [
1319
1574
  _(i.$slots, "trigger")
1320
1575
  ]),
1321
1576
  _: 3
1322
1577
  }),
1323
- c(t(rt), null, {
1578
+ b(a(It), null, {
1324
1579
  default: d(() => [
1325
- c(t(ut), {
1580
+ b(a(kt), {
1326
1581
  class: "nb-root nb-hover-card",
1327
1582
  align: e.align,
1328
1583
  side: e.side,
@@ -1340,19 +1595,19 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1340
1595
  _: 3
1341
1596
  }, 8, ["open", "open-delay", "close-delay"]));
1342
1597
  }
1343
- }), Hl = /* @__PURE__ */ h({
1598
+ }), On = /* @__PURE__ */ v({
1344
1599
  __name: "NbKbd",
1345
1600
  props: {
1346
1601
  size: { default: "md" }
1347
1602
  },
1348
1603
  setup(e) {
1349
- return (o, a) => (n(), u("kbd", {
1350
- class: x(["nb-root nb-kbd", `nb-kbd--${e.size}`])
1604
+ return (n, t) => (o(), u("kbd", {
1605
+ class: C(["nb-root nb-kbd", `nb-kbd--${e.size}`])
1351
1606
  }, [
1352
- _(o.$slots, "default")
1607
+ _(n.$slots, "default")
1353
1608
  ], 2));
1354
1609
  }
1355
- }), Kl = /* @__PURE__ */ h({
1610
+ }), Pn = /* @__PURE__ */ v({
1356
1611
  inheritAttrs: !1,
1357
1612
  __name: "NbLink",
1358
1613
  props: {
@@ -1360,9 +1615,9 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1360
1615
  tone: { default: "primary" }
1361
1616
  },
1362
1617
  setup(e) {
1363
- const o = e, a = N(() => O(`nb-link--${o.tone}`));
1364
- return (s, l) => (n(), y(ce(e.as), k(s.$attrs, {
1365
- class: ["nb-root nb-link", a.value]
1618
+ const n = e, t = N(() => P(`nb-link--${n.tone}`));
1619
+ return (s, l) => (o(), y(ve(e.as), k(s.$attrs, {
1620
+ class: ["nb-root nb-link", t.value]
1366
1621
  }), {
1367
1622
  default: d(() => [
1368
1623
  _(s.$slots, "default")
@@ -1370,43 +1625,149 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1370
1625
  _: 3
1371
1626
  }, 16, ["class"]));
1372
1627
  }
1373
- }), jl = /* @__PURE__ */ h({
1628
+ }), Rn = /* @__PURE__ */ v({
1374
1629
  __name: "NbMarker",
1375
1630
  props: {
1376
1631
  tone: { default: "primary" }
1377
1632
  },
1378
1633
  setup(e) {
1379
- return (o, a) => (n(), u("mark", {
1380
- class: x(["nb-root nb-marker", `nb-marker--${e.tone}`])
1634
+ return (n, t) => (o(), u("mark", {
1635
+ class: C(["nb-root nb-marker", `nb-marker--${e.tone}`])
1381
1636
  }, [
1382
- _(o.$slots, "default")
1637
+ _(n.$slots, "default")
1383
1638
  ], 2));
1384
1639
  }
1385
- }), Xl = ["href", "target"], Jl = { key: 0 }, Ql = ["href", "target"], Wl = /* @__PURE__ */ h({
1640
+ }), qn = { class: "nb-root nb-meter" }, Ln = { class: "nb-meter__header" }, Un = ["for"], Gn = {
1641
+ key: 0,
1642
+ "aria-hidden": "true"
1643
+ }, En = ["id", "value", "min", "max", "low", "high", "optimum"], zn = /* @__PURE__ */ v({
1644
+ __name: "NbMeter",
1645
+ props: {
1646
+ value: {},
1647
+ min: { default: 0 },
1648
+ max: { default: 100 },
1649
+ label: {},
1650
+ showValue: { type: Boolean, default: !1 },
1651
+ low: {},
1652
+ high: {},
1653
+ optimum: {}
1654
+ },
1655
+ setup(e) {
1656
+ const n = e, t = A("meter"), s = N(() => n.max > n.min ? Math.round(Math.min(100, Math.max(0, (n.value - n.min) / (n.max - n.min) * 100))) : 0);
1657
+ return (l, c) => (o(), u("div", qn, [
1658
+ f("div", Ln, [
1659
+ f("label", { for: a(t) }, p(e.label), 9, Un),
1660
+ e.showValue ? (o(), u("span", Gn, p(s.value) + "%", 1)) : g("", !0)
1661
+ ]),
1662
+ f("meter", {
1663
+ id: a(t),
1664
+ value: e.value,
1665
+ min: e.min,
1666
+ max: e.max,
1667
+ low: e.low,
1668
+ high: e.high,
1669
+ optimum: e.optimum
1670
+ }, p(s.value) + "%", 9, En)
1671
+ ]));
1672
+ }
1673
+ }), Fn = /* @__PURE__ */ v({
1674
+ __name: "NbMenubar",
1675
+ props: {
1676
+ label: { default: "Actions" }
1677
+ },
1678
+ setup(e) {
1679
+ return (n, t) => (o(), y(a(xt), {
1680
+ class: "nb-root nb-menubar",
1681
+ "aria-label": e.label
1682
+ }, {
1683
+ default: d(() => [
1684
+ _(n.$slots, "default")
1685
+ ]),
1686
+ _: 3
1687
+ }, 8, ["aria-label"]));
1688
+ }
1689
+ }), Hn = /* @__PURE__ */ v({
1690
+ __name: "NbMenubarMenu",
1691
+ props: {
1692
+ label: {}
1693
+ },
1694
+ setup(e) {
1695
+ return (n, t) => (o(), y(a(Ct), null, {
1696
+ default: d(() => [
1697
+ b(a(Bt), { class: "nb-menubar__trigger" }, {
1698
+ default: d(() => [
1699
+ I(p(e.label), 1)
1700
+ ]),
1701
+ _: 1
1702
+ }),
1703
+ b(a(Vt), null, {
1704
+ default: d(() => [
1705
+ b(a(wt), {
1706
+ class: "nb-root nb-menubar__content",
1707
+ "side-offset": 6
1708
+ }, {
1709
+ default: d(() => [
1710
+ _(n.$slots, "default")
1711
+ ]),
1712
+ _: 3
1713
+ })
1714
+ ]),
1715
+ _: 3
1716
+ })
1717
+ ]),
1718
+ _: 3
1719
+ }));
1720
+ }
1721
+ }), Kn = /* @__PURE__ */ v({
1722
+ __name: "NbMenubarItem",
1723
+ props: {
1724
+ disabled: { type: Boolean, default: !1 },
1725
+ destructive: { type: Boolean, default: !1 }
1726
+ },
1727
+ emits: ["select"],
1728
+ setup(e, { emit: n }) {
1729
+ const t = n;
1730
+ return (s, l) => (o(), y(a(St), {
1731
+ class: C(["nb-menubar__item", { "nb-menubar__item--destructive": e.destructive }]),
1732
+ disabled: e.disabled,
1733
+ onSelect: l[0] || (l[0] = (c) => t("select", c))
1734
+ }, {
1735
+ default: d(() => [
1736
+ _(s.$slots, "default")
1737
+ ]),
1738
+ _: 3
1739
+ }, 8, ["class", "disabled"]));
1740
+ }
1741
+ }), jn = /* @__PURE__ */ v({
1742
+ __name: "NbMenubarSeparator",
1743
+ setup(e) {
1744
+ return (n, t) => (o(), y(a(Mt), { class: "nb-menubar__separator" }));
1745
+ }
1746
+ }), Wn = ["href", "target"], Jn = { key: 0 }, Xn = ["href", "target"], Qn = /* @__PURE__ */ v({
1386
1747
  __name: "NbNavigationMenu",
1387
1748
  props: {
1388
1749
  items: {},
1389
1750
  label: { default: "Main navigation" }
1390
1751
  },
1391
1752
  setup(e) {
1392
- return (o, a) => (n(), y(t(ct), {
1753
+ return (n, t) => (o(), y(a(Tt), {
1393
1754
  class: "nb-root nb-navigation-menu",
1394
1755
  "aria-label": e.label
1395
1756
  }, {
1396
1757
  default: d(() => [
1397
- c(t(bt), { class: "nb-navigation-menu__list" }, {
1758
+ b(a(At), { class: "nb-navigation-menu__list" }, {
1398
1759
  default: d(() => [
1399
- (n(!0), u(B, null, T(e.items, (s, l) => (n(), y(t(ft), {
1760
+ (o(!0), u(V, null, S(e.items, (s, l) => (o(), y(a(Dt), {
1400
1761
  key: `${l}-${s.label}`,
1401
1762
  value: `${l}-${s.label}`,
1402
1763
  class: "nb-navigation-menu__item"
1403
1764
  }, {
1404
1765
  default: d(() => [
1405
- s.children?.length ? (n(), u(B, { key: 0 }, [
1406
- c(t(mt), { class: "nb-navigation-menu__trigger" }, {
1766
+ s.children?.length ? (o(), u(V, { key: 0 }, [
1767
+ b(a(Ot), { class: "nb-navigation-menu__trigger" }, {
1407
1768
  default: d(() => [
1408
1769
  I(p(s.label) + " ", 1),
1409
- a[0] || (a[0] = f("svg", {
1770
+ t[0] || (t[0] = f("svg", {
1410
1771
  viewBox: "0 0 16 16",
1411
1772
  "aria-hidden": "true",
1412
1773
  focusable: "false"
@@ -1416,29 +1777,29 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1416
1777
  ]),
1417
1778
  _: 2
1418
1779
  }, 1024),
1419
- c(t(pt), { class: "nb-navigation-menu__content" }, {
1780
+ b(a(Pt), { class: "nb-navigation-menu__content" }, {
1420
1781
  default: d(() => [
1421
- (n(!0), u(B, null, T(s.children, (b) => (n(), y(t(z), {
1422
- key: b.label,
1782
+ (o(!0), u(V, null, S(s.children, (c) => (o(), y(a(E), {
1783
+ key: c.label,
1423
1784
  "as-child": "",
1424
- active: b.active
1785
+ active: c.active
1425
1786
  }, {
1426
1787
  default: d(() => [
1427
1788
  f("a", {
1428
1789
  class: "nb-navigation-menu__link nb-navigation-menu__link--panel",
1429
- href: b.href,
1430
- target: b.target
1790
+ href: c.href,
1791
+ target: c.target
1431
1792
  }, [
1432
- f("strong", null, p(b.label), 1),
1433
- b.description ? (n(), u("span", Jl, p(b.description), 1)) : g("", !0)
1434
- ], 8, Xl)
1793
+ f("strong", null, p(c.label), 1),
1794
+ c.description ? (o(), u("span", Jn, p(c.description), 1)) : g("", !0)
1795
+ ], 8, Wn)
1435
1796
  ]),
1436
1797
  _: 2
1437
1798
  }, 1032, ["active"]))), 128))
1438
1799
  ]),
1439
1800
  _: 2
1440
1801
  }, 1024)
1441
- ], 64)) : (n(), y(t(z), {
1802
+ ], 64)) : (o(), y(a(E), {
1442
1803
  key: 1,
1443
1804
  "as-child": "",
1444
1805
  active: s.active
@@ -1448,7 +1809,7 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1448
1809
  class: "nb-navigation-menu__link",
1449
1810
  href: s.href,
1450
1811
  target: s.target
1451
- }, p(s.label), 9, Ql)
1812
+ }, p(s.label), 9, Xn)
1452
1813
  ]),
1453
1814
  _: 2
1454
1815
  }, 1032, ["active"]))
@@ -1462,7 +1823,56 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1462
1823
  _: 1
1463
1824
  }, 8, ["aria-label"]));
1464
1825
  }
1465
- }), Yl = { class: "nb-root nb-field" }, Zl = ["for"], en = ["id"], tn = ["id"], an = /* @__PURE__ */ h({
1826
+ }), Yn = { class: "nb-native-select" }, Zn = ["id", "name", "value", "required", "disabled", "aria-invalid", "aria-describedby"], eo = /* @__PURE__ */ v({
1827
+ inheritAttrs: !1,
1828
+ __name: "NbNativeSelect",
1829
+ props: {
1830
+ modelValue: { default: "" },
1831
+ label: {},
1832
+ hint: {},
1833
+ error: {},
1834
+ id: {},
1835
+ name: {},
1836
+ required: { type: Boolean, default: !1 },
1837
+ disabled: { type: Boolean, default: !1 }
1838
+ },
1839
+ emits: ["update:modelValue"],
1840
+ setup(e, { emit: n }) {
1841
+ const t = e, s = n;
1842
+ return (l, c) => (o(), y(a(ue), {
1843
+ id: t.id,
1844
+ label: e.label,
1845
+ hint: e.hint,
1846
+ error: e.error
1847
+ }, {
1848
+ default: d(({ inputId: m, describedBy: i, invalid: r }) => [
1849
+ f("span", Yn, [
1850
+ f("select", k(l.$attrs, {
1851
+ id: m,
1852
+ class: "nb-field__control nb-native-select__control",
1853
+ name: e.name,
1854
+ value: e.modelValue,
1855
+ required: e.required,
1856
+ disabled: e.disabled,
1857
+ "aria-invalid": r || void 0,
1858
+ "aria-describedby": i,
1859
+ onChange: c[0] || (c[0] = (h) => s("update:modelValue", h.target.value))
1860
+ }), [
1861
+ _(l.$slots, "default")
1862
+ ], 16, Zn),
1863
+ c[1] || (c[1] = f("svg", {
1864
+ viewBox: "0 0 16 16",
1865
+ "aria-hidden": "true",
1866
+ focusable: "false"
1867
+ }, [
1868
+ f("path", { d: "m3 6 5 5 5-5" })
1869
+ ], -1))
1870
+ ])
1871
+ ]),
1872
+ _: 3
1873
+ }, 8, ["id", "label", "hint", "error"]));
1874
+ }
1875
+ }), to = { class: "nb-root nb-field" }, ao = ["for"], lo = ["id"], no = ["id"], oo = /* @__PURE__ */ v({
1466
1876
  inheritAttrs: !1,
1467
1877
  __name: "NbNumberInput",
1468
1878
  props: {
@@ -1480,15 +1890,15 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1480
1890
  step: { default: 1 }
1481
1891
  },
1482
1892
  emits: ["update:modelValue"],
1483
- setup(e, { emit: o }) {
1484
- const a = e, s = o, l = w("number-input", a.id), b = N(() => S(a.hint, a.error, l.hintId, l.errorId)), m = N(() => a.label ?? "value");
1485
- return (i, r) => (n(), u("div", Yl, [
1486
- e.label ? (n(), u("label", {
1893
+ setup(e, { emit: n }) {
1894
+ const t = e, s = n, l = w("number-input", t.id), c = N(() => T(t.hint, t.error, l.hintId, l.errorId)), m = N(() => t.label ?? "value");
1895
+ return (i, r) => (o(), u("div", to, [
1896
+ e.label ? (o(), u("label", {
1487
1897
  key: 0,
1488
1898
  class: "nb-field__label",
1489
- for: t(l).inputId
1490
- }, p(e.label), 9, Zl)) : g("", !0),
1491
- c(t(vt), {
1899
+ for: a(l).inputId
1900
+ }, p(e.label), 9, ao)) : g("", !0),
1901
+ b(a(Rt), {
1492
1902
  class: "nb-number-input",
1493
1903
  "model-value": e.modelValue,
1494
1904
  min: e.min,
@@ -1498,10 +1908,10 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1498
1908
  readonly: e.readonly,
1499
1909
  required: e.required,
1500
1910
  name: e.name,
1501
- "onUpdate:modelValue": r[0] || (r[0] = (v) => s("update:modelValue", v))
1911
+ "onUpdate:modelValue": r[0] || (r[0] = (h) => s("update:modelValue", h))
1502
1912
  }, {
1503
1913
  default: d(() => [
1504
- c(t(ht), {
1914
+ b(a(qt), {
1505
1915
  class: "nb-number-input__button",
1506
1916
  "aria-label": `Decrease ${m.value}`
1507
1917
  }, {
@@ -1510,13 +1920,13 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1510
1920
  ])]),
1511
1921
  _: 1
1512
1922
  }, 8, ["aria-label"]),
1513
- c(t(gt), k(i.$attrs, {
1514
- id: t(l).inputId,
1923
+ b(a(Lt), k(i.$attrs, {
1924
+ id: a(l).inputId,
1515
1925
  class: "nb-number-input__input",
1516
1926
  "aria-invalid": e.error ? "true" : void 0,
1517
- "aria-describedby": b.value
1927
+ "aria-describedby": c.value
1518
1928
  }), null, 16, ["id", "aria-invalid", "aria-describedby"]),
1519
- c(t(_t), {
1929
+ b(a(Ut), {
1520
1930
  class: "nb-number-input__button",
1521
1931
  "aria-label": `Increase ${m.value}`
1522
1932
  }, {
@@ -1528,19 +1938,19 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1528
1938
  ]),
1529
1939
  _: 1
1530
1940
  }, 8, ["model-value", "min", "max", "step", "disabled", "readonly", "required", "name"]),
1531
- e.hint ? (n(), u("span", {
1941
+ e.hint ? (o(), u("span", {
1532
1942
  key: 1,
1533
- id: t(l).hintId,
1943
+ id: a(l).hintId,
1534
1944
  class: "nb-field__hint"
1535
- }, p(e.hint), 9, en)) : g("", !0),
1536
- e.error ? (n(), u("span", {
1945
+ }, p(e.hint), 9, lo)) : g("", !0),
1946
+ e.error ? (o(), u("span", {
1537
1947
  key: 2,
1538
- id: t(l).errorId,
1948
+ id: a(l).errorId,
1539
1949
  class: "nb-field__error"
1540
- }, p(e.error), 9, tn)) : g("", !0)
1950
+ }, p(e.error), 9, no)) : g("", !0)
1541
1951
  ]));
1542
1952
  }
1543
- }), ln = /* @__PURE__ */ h({
1953
+ }), so = /* @__PURE__ */ v({
1544
1954
  __name: "NbPagination",
1545
1955
  props: {
1546
1956
  page: {},
@@ -1552,9 +1962,9 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1552
1962
  label: { default: "Pagination" }
1553
1963
  },
1554
1964
  emits: ["update:page"],
1555
- setup(e, { emit: o }) {
1556
- const a = o;
1557
- return (s, l) => (n(), y(t(yt), {
1965
+ setup(e, { emit: n }) {
1966
+ const t = n;
1967
+ return (s, l) => (o(), y(a(Gt), {
1558
1968
  class: "nb-root nb-pagination",
1559
1969
  page: e.page,
1560
1970
  "default-page": e.defaultPage,
@@ -1564,10 +1974,10 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1564
1974
  disabled: e.disabled,
1565
1975
  "show-edges": "",
1566
1976
  "aria-label": e.label,
1567
- "onUpdate:page": l[0] || (l[0] = (b) => a("update:page", b))
1977
+ "onUpdate:page": l[0] || (l[0] = (c) => t("update:page", c))
1568
1978
  }, {
1569
1979
  default: d(() => [
1570
- c(t($t), {
1980
+ b(a(Et), {
1571
1981
  class: "nb-pagination__button",
1572
1982
  "aria-label": "Go to previous page"
1573
1983
  }, {
@@ -1582,12 +1992,12 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1582
1992
  ])]),
1583
1993
  _: 1
1584
1994
  }),
1585
- c(t(Nt), { class: "nb-pagination__list" }, {
1586
- default: d(({ items: b }) => [
1587
- (n(!0), u(B, null, T(b, (m, i) => (n(), u(B, {
1995
+ b(a(zt), { class: "nb-pagination__list" }, {
1996
+ default: d(({ items: c }) => [
1997
+ (o(!0), u(V, null, S(c, (m, i) => (o(), u(V, {
1588
1998
  key: m.type === "page" ? m.value : `ellipsis-${i}`
1589
1999
  }, [
1590
- m.type === "page" ? (n(), y(t(It), {
2000
+ m.type === "page" ? (o(), y(a(Ft), {
1591
2001
  key: 0,
1592
2002
  class: "nb-pagination__button",
1593
2003
  value: m.value
@@ -1596,7 +2006,7 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1596
2006
  I(p(m.value), 1)
1597
2007
  ]),
1598
2008
  _: 2
1599
- }, 1032, ["value"])) : (n(), y(t(kt), {
2009
+ }, 1032, ["value"])) : (o(), y(a(Ht), {
1600
2010
  key: 1,
1601
2011
  class: "nb-pagination__ellipsis"
1602
2012
  }, {
@@ -1609,7 +2019,7 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1609
2019
  ]),
1610
2020
  _: 1
1611
2021
  }),
1612
- c(t(xt), {
2022
+ b(a(Kt), {
1613
2023
  class: "nb-pagination__button",
1614
2024
  "aria-label": "Go to next page"
1615
2025
  }, {
@@ -1628,7 +2038,7 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1628
2038
  _: 1
1629
2039
  }, 8, ["page", "default-page", "total", "items-per-page", "sibling-count", "disabled", "aria-label"]));
1630
2040
  }
1631
- }), nn = { class: "nb-root nb-field" }, on = ["id"], sn = ["id"], dn = /* @__PURE__ */ h({
2041
+ }), io = { class: "nb-root nb-field" }, ro = ["id"], uo = ["id"], co = /* @__PURE__ */ v({
1632
2042
  inheritAttrs: !1,
1633
2043
  __name: "NbPinInput",
1634
2044
  props: {
@@ -1645,21 +2055,21 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1645
2055
  otp: { type: Boolean, default: !1 }
1646
2056
  },
1647
2057
  emits: ["update:modelValue", "complete"],
1648
- setup(e, { emit: o }) {
1649
- const a = e, s = o, l = w("pin-input", a.id), b = `${l.inputId}-label`, m = N(() => S(a.hint, a.error, l.hintId, l.errorId));
2058
+ setup(e, { emit: n }) {
2059
+ const t = e, s = n, l = w("pin-input", t.id), c = `${l.inputId}-label`, m = N(() => T(t.hint, t.error, l.hintId, l.errorId));
1650
2060
  function i(r) {
1651
2061
  r.inputType === "insertText" && r.data && /\D/.test(r.data) && r.preventDefault();
1652
2062
  }
1653
- return (r, v) => (n(), u("div", nn, [
1654
- e.label ? (n(), u("span", {
2063
+ return (r, h) => (o(), u("div", io, [
2064
+ e.label ? (o(), u("span", {
1655
2065
  key: 0,
1656
- id: b,
2066
+ id: c,
1657
2067
  class: "nb-field__label"
1658
2068
  }, p(e.label), 1)) : g("", !0),
1659
- c(t(Vt), k(r.$attrs, {
2069
+ b(a(jt), k(r.$attrs, {
1660
2070
  class: "nb-pin-input",
1661
2071
  role: "group",
1662
- id: t(l).inputId,
2072
+ id: a(l).inputId,
1663
2073
  "model-value": e.modelValue,
1664
2074
  name: e.name,
1665
2075
  type: "number",
@@ -1667,14 +2077,14 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1667
2077
  mask: e.mask,
1668
2078
  otp: e.otp,
1669
2079
  "aria-label": e.label ? void 0 : "PIN input",
1670
- "aria-labelledby": e.label ? b : void 0,
2080
+ "aria-labelledby": e.label ? c : void 0,
1671
2081
  "aria-invalid": e.error ? "true" : void 0,
1672
2082
  "aria-describedby": m.value,
1673
- "onUpdate:modelValue": v[0] || (v[0] = ($) => s("update:modelValue", $)),
1674
- onComplete: v[1] || (v[1] = ($) => s("complete", $))
2083
+ "onUpdate:modelValue": h[0] || (h[0] = ($) => s("update:modelValue", $)),
2084
+ onComplete: h[1] || (h[1] = ($) => s("complete", $))
1675
2085
  }), {
1676
2086
  default: d(() => [
1677
- (n(!0), u(B, null, T(e.length, ($) => (n(), y(t(Bt), {
2087
+ (o(!0), u(V, null, S(e.length, ($) => (o(), y(a(Wt), {
1678
2088
  key: $,
1679
2089
  class: "nb-pin-input__digit",
1680
2090
  index: $ - 1,
@@ -1684,22 +2094,22 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1684
2094
  ]),
1685
2095
  _: 1
1686
2096
  }, 16, ["id", "model-value", "name", "disabled", "mask", "otp", "aria-label", "aria-labelledby", "aria-invalid", "aria-describedby"]),
1687
- e.hint ? (n(), u("span", {
2097
+ e.hint ? (o(), u("span", {
1688
2098
  key: 1,
1689
- id: t(l).hintId,
2099
+ id: a(l).hintId,
1690
2100
  class: "nb-field__hint"
1691
- }, p(e.hint), 9, on)) : g("", !0),
1692
- e.error ? (n(), u("span", {
2101
+ }, p(e.hint), 9, ro)) : g("", !0),
2102
+ e.error ? (o(), u("span", {
1693
2103
  key: 2,
1694
- id: t(l).errorId,
2104
+ id: a(l).errorId,
1695
2105
  class: "nb-field__error"
1696
- }, p(e.error), 9, sn)) : g("", !0)
2106
+ }, p(e.error), 9, uo)) : g("", !0)
1697
2107
  ]));
1698
2108
  }
1699
- }), rn = {
2109
+ }), bo = {
1700
2110
  key: 0,
1701
2111
  class: "nb-popover__header"
1702
- }, un = ["id"], cn = { class: "nb-popover__body" }, bn = /* @__PURE__ */ h({
2112
+ }, fo = ["id"], mo = { class: "nb-popover__body" }, po = /* @__PURE__ */ v({
1703
2113
  __name: "NbPopover",
1704
2114
  props: {
1705
2115
  open: { type: Boolean, default: void 0 },
@@ -1710,21 +2120,21 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1710
2120
  disabled: { type: Boolean, default: !1 }
1711
2121
  },
1712
2122
  emits: ["update:open"],
1713
- setup(e, { emit: o }) {
1714
- const a = e, s = o, l = M("popover-title"), b = C(a.open ?? a.defaultOpen), m = N(() => a.open ?? b.value);
1715
- A(() => a.open, (r) => {
1716
- r !== void 0 && (b.value = r);
2123
+ setup(e, { emit: n }) {
2124
+ const t = e, s = n, l = A("popover-title"), c = x(t.open ?? t.defaultOpen), m = N(() => t.open ?? c.value);
2125
+ M(() => t.open, (r) => {
2126
+ r !== void 0 && (c.value = r);
1717
2127
  });
1718
2128
  function i(r) {
1719
- b.value = r, s("update:open", r);
2129
+ c.value = r, s("update:open", r);
1720
2130
  }
1721
- return (r, v) => (n(), y(t(Ct), {
2131
+ return (r, h) => (o(), y(a(Jt), {
1722
2132
  open: m.value,
1723
2133
  "default-open": e.defaultOpen,
1724
2134
  "onUpdate:open": i
1725
2135
  }, {
1726
2136
  default: d(() => [
1727
- c(t(wt), {
2137
+ b(a(Xt), {
1728
2138
  class: "nb-root nb-overlay-trigger",
1729
2139
  disabled: e.disabled
1730
2140
  }, {
@@ -1733,29 +2143,29 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1733
2143
  ]),
1734
2144
  _: 3
1735
2145
  }, 8, ["disabled"]),
1736
- c(t(Tt), null, {
2146
+ b(a(Qt), null, {
1737
2147
  default: d(() => [
1738
- c(t(St), {
2148
+ b(a(Yt), {
1739
2149
  class: "nb-root nb-popover",
1740
2150
  align: e.align,
1741
2151
  side: e.side,
1742
2152
  "side-offset": 8,
1743
- "aria-labelledby": e.title ? t(l) : void 0
2153
+ "aria-labelledby": e.title ? a(l) : void 0
1744
2154
  }, {
1745
2155
  default: d(() => [
1746
- e.title ? (n(), u("header", rn, [
1747
- f("h2", { id: t(l) }, p(e.title), 9, un),
1748
- c(t(At), {
2156
+ e.title ? (o(), u("header", bo, [
2157
+ f("h2", { id: a(l) }, p(e.title), 9, fo),
2158
+ b(a(Zt), {
1749
2159
  class: "nb-overlay-close",
1750
2160
  "aria-label": "Close popover"
1751
2161
  }, {
1752
- default: d(() => [...v[0] || (v[0] = [
2162
+ default: d(() => [...h[0] || (h[0] = [
1753
2163
  I("×", -1)
1754
2164
  ])]),
1755
2165
  _: 1
1756
2166
  })
1757
2167
  ])) : g("", !0),
1758
- f("div", cn, [
2168
+ f("div", mo, [
1759
2169
  _(r.$slots, "default")
1760
2170
  ])
1761
2171
  ]),
@@ -1768,10 +2178,10 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1768
2178
  _: 3
1769
2179
  }, 8, ["open", "default-open"]));
1770
2180
  }
1771
- }), fn = { class: "nb-root nb-progress-wrap" }, mn = {
2181
+ }), vo = { class: "nb-root nb-progress-wrap" }, ho = {
1772
2182
  key: 0,
1773
2183
  class: "nb-progress__header"
1774
- }, pn = /* @__PURE__ */ h({
2184
+ }, _o = /* @__PURE__ */ v({
1775
2185
  __name: "NbProgress",
1776
2186
  props: {
1777
2187
  value: { default: null },
@@ -1780,35 +2190,35 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1780
2190
  showValue: { type: Boolean, default: !1 }
1781
2191
  },
1782
2192
  setup(e) {
1783
- const o = e, a = N(() => o.value === null ? 0 : Math.min(100, Math.max(0, o.value / o.max * 100)));
1784
- return (s, l) => (n(), u("div", fn, [
1785
- e.showValue ? (n(), u("div", mn, [
2193
+ const n = e, t = N(() => n.value === null ? 0 : Math.min(100, Math.max(0, n.value / n.max * 100)));
2194
+ return (s, l) => (o(), u("div", vo, [
2195
+ e.showValue ? (o(), u("div", ho, [
1786
2196
  f("span", null, p(e.label), 1),
1787
- f("span", null, p(Math.round(a.value)) + "%", 1)
2197
+ f("span", null, p(Math.round(t.value)) + "%", 1)
1788
2198
  ])) : g("", !0),
1789
- c(t(Mt), {
2199
+ b(a(ea), {
1790
2200
  class: "nb-progress",
1791
2201
  "model-value": e.value,
1792
2202
  max: e.max,
1793
2203
  "get-value-label": () => e.label
1794
2204
  }, {
1795
2205
  default: d(() => [
1796
- c(t(Dt), {
2206
+ b(a(ta), {
1797
2207
  class: "nb-progress__indicator",
1798
- style: q(e.value === null ? void 0 : { transform: `translateX(-${100 - a.value}%)` })
2208
+ style: q(e.value === null ? void 0 : { transform: `translateX(-${100 - t.value}%)` })
1799
2209
  }, null, 8, ["style"])
1800
2210
  ]),
1801
2211
  _: 1
1802
2212
  }, 8, ["model-value", "max", "get-value-label"])
1803
2213
  ]));
1804
2214
  }
1805
- }), vn = ["disabled", "aria-describedby"], hn = {
2215
+ }), go = ["disabled", "aria-describedby"], yo = {
1806
2216
  key: 0,
1807
2217
  class: "nb-radio-group__legend"
1808
- }, gn = { class: "nb-radio-group__options" }, _n = ["for"], yn = ["id", "name", "value", "checked", "disabled", "onChange"], $n = { class: "nb-radio__content" }, Nn = { class: "nb-radio__label" }, In = {
2218
+ }, $o = { class: "nb-radio-group__options" }, No = ["for"], Io = ["id", "name", "value", "checked", "disabled", "onChange"], ko = { class: "nb-radio__content" }, xo = { class: "nb-radio__label" }, Co = {
1809
2219
  key: 0,
1810
2220
  class: "nb-radio__description"
1811
- }, kn = /* @__PURE__ */ h({
2221
+ }, Bo = /* @__PURE__ */ v({
1812
2222
  __name: "NbRadioGroup",
1813
2223
  props: {
1814
2224
  modelValue: { default: "" },
@@ -1819,51 +2229,51 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1819
2229
  options: {}
1820
2230
  },
1821
2231
  emits: ["update:modelValue"],
1822
- setup(e, { emit: o }) {
1823
- const a = e, s = o, l = M("radio-group"), b = a.name ?? l, m = `${l}-hint`;
1824
- return (i, r) => (n(), u("fieldset", {
2232
+ setup(e, { emit: n }) {
2233
+ const t = e, s = n, l = A("radio-group"), c = t.name ?? l, m = `${l}-hint`;
2234
+ return (i, r) => (o(), u("fieldset", {
1825
2235
  class: "nb-root nb-radio-group",
1826
2236
  disabled: e.disabled,
1827
2237
  "aria-describedby": e.hint ? m : void 0
1828
2238
  }, [
1829
- e.label ? (n(), u("legend", hn, p(e.label), 1)) : g("", !0),
1830
- e.hint ? (n(), u("p", {
2239
+ e.label ? (o(), u("legend", yo, p(e.label), 1)) : g("", !0),
2240
+ e.hint ? (o(), u("p", {
1831
2241
  key: 1,
1832
2242
  id: m,
1833
2243
  class: "nb-field__hint nb-radio-group__hint"
1834
2244
  }, p(e.hint), 1)) : g("", !0),
1835
- f("div", gn, [
1836
- (n(!0), u(B, null, T(e.options, (v, $) => (n(), u("label", {
1837
- key: v.value,
1838
- class: x(["nb-radio", { "is-checked": e.modelValue === v.value }]),
1839
- for: `${t(l)}-${$}`
2245
+ f("div", $o, [
2246
+ (o(!0), u(V, null, S(e.options, (h, $) => (o(), u("label", {
2247
+ key: h.value,
2248
+ class: C(["nb-radio", { "is-checked": e.modelValue === h.value }]),
2249
+ for: `${a(l)}-${$}`
1840
2250
  }, [
1841
2251
  f("input", {
1842
- id: `${t(l)}-${$}`,
2252
+ id: `${a(l)}-${$}`,
1843
2253
  class: "nb-radio__input",
1844
2254
  type: "radio",
1845
- name: t(b),
1846
- value: v.value,
1847
- checked: e.modelValue === v.value,
1848
- disabled: e.disabled || v.disabled,
1849
- onChange: (P) => s("update:modelValue", v.value)
1850
- }, null, 40, yn),
2255
+ name: a(c),
2256
+ value: h.value,
2257
+ checked: e.modelValue === h.value,
2258
+ disabled: e.disabled || h.disabled,
2259
+ onChange: (O) => s("update:modelValue", h.value)
2260
+ }, null, 40, Io),
1851
2261
  r[0] || (r[0] = f("span", {
1852
2262
  class: "nb-radio__mark",
1853
2263
  "aria-hidden": "true"
1854
2264
  }, null, -1)),
1855
- f("span", $n, [
1856
- f("span", Nn, p(v.label), 1),
1857
- v.description ? (n(), u("span", In, p(v.description), 1)) : g("", !0)
2265
+ f("span", ko, [
2266
+ f("span", xo, p(h.label), 1),
2267
+ h.description ? (o(), u("span", Co, p(h.description), 1)) : g("", !0)
1858
2268
  ])
1859
- ], 10, _n))), 128))
2269
+ ], 10, No))), 128))
1860
2270
  ])
1861
- ], 8, vn));
2271
+ ], 8, go));
1862
2272
  }
1863
- }), xn = ["id", "disabled", "aria-label", "aria-invalid", "aria-describedby"], Vn = {
2273
+ }), Vo = ["id", "disabled", "aria-label", "aria-invalid", "aria-describedby"], wo = {
1864
2274
  key: 0,
1865
2275
  class: "nb-field__label"
1866
- }, Bn = { class: "nb-rating__options" }, Cn = ["name", "value", "checked", "required", "aria-label"], wn = ["id"], Tn = ["id"], Sn = /* @__PURE__ */ h({
2276
+ }, So = { class: "nb-rating__options" }, Mo = ["name", "value", "checked", "required", "aria-label"], To = ["id"], Ao = ["id"], Do = /* @__PURE__ */ v({
1867
2277
  inheritAttrs: !1,
1868
2278
  __name: "NbRating",
1869
2279
  props: {
@@ -1878,32 +2288,32 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1878
2288
  required: { type: Boolean, default: !1 }
1879
2289
  },
1880
2290
  emits: ["update:modelValue"],
1881
- setup(e, { emit: o }) {
1882
- const a = e, s = o, l = w("rating", a.id), b = N(() => S(a.hint, a.error, l.hintId, l.errorId));
1883
- return (m, i) => (n(), u("fieldset", k(m.$attrs, {
1884
- id: t(l).inputId,
2291
+ setup(e, { emit: n }) {
2292
+ const t = e, s = n, l = w("rating", t.id), c = N(() => T(t.hint, t.error, l.hintId, l.errorId));
2293
+ return (m, i) => (o(), u("fieldset", k(m.$attrs, {
2294
+ id: a(l).inputId,
1885
2295
  class: "nb-root nb-field nb-rating",
1886
2296
  disabled: e.disabled,
1887
2297
  "aria-label": e.label ? void 0 : "Rating",
1888
2298
  "aria-invalid": e.error ? "true" : void 0,
1889
- "aria-describedby": b.value
2299
+ "aria-describedby": c.value
1890
2300
  }), [
1891
- e.label ? (n(), u("legend", Vn, p(e.label), 1)) : g("", !0),
1892
- f("div", Bn, [
1893
- (n(!0), u(B, null, T(e.length, (r) => (n(), u("label", {
2301
+ e.label ? (o(), u("legend", wo, p(e.label), 1)) : g("", !0),
2302
+ f("div", So, [
2303
+ (o(!0), u(V, null, S(e.length, (r) => (o(), u("label", {
1894
2304
  key: r,
1895
- class: x(["nb-rating__option", { "is-active": e.modelValue !== void 0 && r <= e.modelValue }])
2305
+ class: C(["nb-rating__option", { "is-active": e.modelValue !== void 0 && r <= e.modelValue }])
1896
2306
  }, [
1897
2307
  f("input", {
1898
2308
  class: "nb-rating__input",
1899
2309
  type: "radio",
1900
- name: e.name ?? t(l).inputId,
2310
+ name: e.name ?? a(l).inputId,
1901
2311
  value: r,
1902
2312
  checked: e.modelValue === r,
1903
2313
  required: e.required,
1904
2314
  "aria-label": `${r} of ${e.length}`,
1905
- onChange: i[0] || (i[0] = (v) => s("update:modelValue", Number(v.target.value)))
1906
- }, null, 40, Cn),
2315
+ onChange: i[0] || (i[0] = (h) => s("update:modelValue", Number(h.target.value)))
2316
+ }, null, 40, Mo),
1907
2317
  i[1] || (i[1] = f("svg", {
1908
2318
  viewBox: "0 0 24 24",
1909
2319
  "aria-hidden": "true",
@@ -1913,19 +2323,19 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1913
2323
  ], -1))
1914
2324
  ], 2))), 128))
1915
2325
  ]),
1916
- e.hint ? (n(), u("span", {
2326
+ e.hint ? (o(), u("span", {
1917
2327
  key: 1,
1918
- id: t(l).hintId,
2328
+ id: a(l).hintId,
1919
2329
  class: "nb-field__hint"
1920
- }, p(e.hint), 9, wn)) : g("", !0),
1921
- e.error ? (n(), u("span", {
2330
+ }, p(e.hint), 9, To)) : g("", !0),
2331
+ e.error ? (o(), u("span", {
1922
2332
  key: 2,
1923
- id: t(l).errorId,
2333
+ id: a(l).errorId,
1924
2334
  class: "nb-field__error"
1925
- }, p(e.error), 9, Tn)) : g("", !0)
1926
- ], 16, xn));
2335
+ }, p(e.error), 9, Ao)) : g("", !0)
2336
+ ], 16, Vo));
1927
2337
  }
1928
- }), An = /* @__PURE__ */ h({
2338
+ }), Oo = /* @__PURE__ */ v({
1929
2339
  __name: "NbScrollArea",
1930
2340
  props: {
1931
2341
  label: { default: "Scrollable content" },
@@ -1933,27 +2343,27 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1933
2343
  type: { default: "hover" }
1934
2344
  },
1935
2345
  setup(e) {
1936
- return (o, a) => (n(), y(t(Ot), {
2346
+ return (n, t) => (o(), y(a(aa), {
1937
2347
  class: "nb-root nb-scroll-area",
1938
2348
  type: e.type,
1939
2349
  style: q({ height: e.height })
1940
2350
  }, {
1941
2351
  default: d(() => [
1942
- c(t(Pt), {
2352
+ b(a(la), {
1943
2353
  class: "nb-scroll-area__viewport",
1944
2354
  "aria-label": e.label
1945
2355
  }, {
1946
2356
  default: d(() => [
1947
- _(o.$slots, "default")
2357
+ _(n.$slots, "default")
1948
2358
  ]),
1949
2359
  _: 3
1950
2360
  }, 8, ["aria-label"]),
1951
- c(t(Rt), {
2361
+ b(a(na), {
1952
2362
  class: "nb-scroll-area__scrollbar",
1953
2363
  orientation: "vertical"
1954
2364
  }, {
1955
2365
  default: d(() => [
1956
- c(t(qt), { class: "nb-scroll-area__thumb" })
2366
+ b(a(oa), { class: "nb-scroll-area__thumb" })
1957
2367
  ]),
1958
2368
  _: 1
1959
2369
  })
@@ -1961,10 +2371,10 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1961
2371
  _: 3
1962
2372
  }, 8, ["type", "style"]));
1963
2373
  }
1964
- }), Mn = { class: "nb-sheet__header" }, Dn = { class: "nb-sheet__body" }, On = {
2374
+ }), Po = { class: "nb-sheet__header" }, Ro = { class: "nb-sheet__body" }, qo = {
1965
2375
  key: 0,
1966
2376
  class: "nb-sheet__footer"
1967
- }, Pn = /* @__PURE__ */ h({
2377
+ }, Lo = /* @__PURE__ */ v({
1968
2378
  __name: "NbSheet",
1969
2379
  props: {
1970
2380
  open: { type: Boolean, default: void 0 },
@@ -1974,41 +2384,41 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
1974
2384
  side: { default: "right" }
1975
2385
  },
1976
2386
  emits: ["update:open"],
1977
- setup(e, { emit: o }) {
1978
- const a = e, s = o, l = C(a.open ?? a.defaultOpen), b = N(() => a.open ?? l.value);
1979
- A(() => a.open, (i) => {
2387
+ setup(e, { emit: n }) {
2388
+ const t = e, s = n, l = x(t.open ?? t.defaultOpen), c = N(() => t.open ?? l.value);
2389
+ M(() => t.open, (i) => {
1980
2390
  i !== void 0 && (l.value = i);
1981
2391
  });
1982
2392
  function m(i) {
1983
2393
  l.value = i, s("update:open", i);
1984
2394
  }
1985
- return (i, r) => (n(), y(t(Y), {
1986
- open: b.value,
2395
+ return (i, r) => (o(), y(a(ee), {
2396
+ open: c.value,
1987
2397
  "onUpdate:open": m
1988
2398
  }, {
1989
2399
  default: d(() => [
1990
- c(t(Z), { class: "nb-root nb-overlay-trigger" }, {
2400
+ b(a(te), { class: "nb-root nb-overlay-trigger" }, {
1991
2401
  default: d(() => [
1992
2402
  _(i.$slots, "trigger")
1993
2403
  ]),
1994
2404
  _: 3
1995
2405
  }),
1996
- c(t(ee), null, {
2406
+ b(a(ae), null, {
1997
2407
  default: d(() => [
1998
- c(t(te), { class: "nb-root nb-sheet__overlay" }),
1999
- c(t(ae), k(e.description ? {} : { "aria-describedby": void 0 }, {
2408
+ b(a(le), { class: "nb-root nb-sheet__overlay" }),
2409
+ b(a(ne), k(e.description ? {} : { "aria-describedby": void 0 }, {
2000
2410
  class: ["nb-root nb-sheet", `nb-sheet--${e.side}`]
2001
2411
  }), {
2002
2412
  default: d(() => [
2003
- f("header", Mn, [
2413
+ f("header", Po, [
2004
2414
  f("div", null, [
2005
- c(t(le), { class: "nb-sheet__title" }, {
2415
+ b(a(oe), { class: "nb-sheet__title" }, {
2006
2416
  default: d(() => [
2007
2417
  I(p(e.title), 1)
2008
2418
  ]),
2009
2419
  _: 1
2010
2420
  }),
2011
- e.description ? (n(), y(t(Ut), {
2421
+ e.description ? (o(), y(a(sa), {
2012
2422
  key: 0,
2013
2423
  class: "nb-sheet__description"
2014
2424
  }, {
@@ -2018,7 +2428,7 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
2018
2428
  _: 1
2019
2429
  })) : g("", !0)
2020
2430
  ]),
2021
- c(t(ne), {
2431
+ b(a(se), {
2022
2432
  class: "nb-overlay-close",
2023
2433
  "aria-label": "Close sheet"
2024
2434
  }, {
@@ -2028,10 +2438,10 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
2028
2438
  _: 1
2029
2439
  })
2030
2440
  ]),
2031
- f("div", Dn, [
2441
+ f("div", Ro, [
2032
2442
  _(i.$slots, "default")
2033
2443
  ]),
2034
- i.$slots.footer ? (n(), u("footer", On, [
2444
+ i.$slots.footer ? (o(), u("footer", qo, [
2035
2445
  _(i.$slots, "footer")
2036
2446
  ])) : g("", !0)
2037
2447
  ]),
@@ -2044,7 +2454,7 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
2044
2454
  _: 3
2045
2455
  }, 8, ["open"]));
2046
2456
  }
2047
- }), Rn = { class: "nb-root nb-field" }, qn = ["for"], Un = ["id"], Ln = ["id"], Gn = /* @__PURE__ */ h({
2457
+ }), Uo = { class: "nb-root nb-field" }, Go = ["for"], Eo = ["id"], zo = ["id"], Fo = /* @__PURE__ */ v({
2048
2458
  inheritAttrs: !1,
2049
2459
  __name: "NbSelect",
2050
2460
  props: {
@@ -2059,18 +2469,18 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
2059
2469
  id: {}
2060
2470
  },
2061
2471
  emits: ["update:modelValue"],
2062
- setup(e, { emit: o }) {
2063
- const a = e, s = o, l = w("select", a.id), b = N(() => S(a.hint, a.error, l.hintId, l.errorId));
2472
+ setup(e, { emit: n }) {
2473
+ const t = e, s = n, l = w("select", t.id), c = N(() => T(t.hint, t.error, l.hintId, l.errorId));
2064
2474
  function m(i) {
2065
2475
  typeof i == "string" && s("update:modelValue", i);
2066
2476
  }
2067
- return (i, r) => (n(), u("div", Rn, [
2068
- e.label ? (n(), u("label", {
2477
+ return (i, r) => (o(), u("div", Uo, [
2478
+ e.label ? (o(), u("label", {
2069
2479
  key: 0,
2070
2480
  class: "nb-field__label",
2071
- for: t(l).inputId
2072
- }, p(e.label), 9, qn)) : g("", !0),
2073
- c(t(Lt), {
2481
+ for: a(l).inputId
2482
+ }, p(e.label), 9, Go)) : g("", !0),
2483
+ b(a(ia), {
2074
2484
  "model-value": e.modelValue,
2075
2485
  disabled: e.disabled,
2076
2486
  required: e.required,
@@ -2078,15 +2488,15 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
2078
2488
  "onUpdate:modelValue": m
2079
2489
  }, {
2080
2490
  default: d(() => [
2081
- c(t(Gt), k(i.$attrs, {
2082
- id: t(l).inputId,
2491
+ b(a(da), k(i.$attrs, {
2492
+ id: a(l).inputId,
2083
2493
  class: "nb-select__trigger",
2084
2494
  "aria-invalid": e.error ? "true" : void 0,
2085
- "aria-describedby": b.value
2495
+ "aria-describedby": c.value
2086
2496
  }), {
2087
2497
  default: d(() => [
2088
- c(t(zt), { placeholder: e.placeholder }, null, 8, ["placeholder"]),
2089
- c(t(Et), {
2498
+ b(a(ra), { placeholder: e.placeholder }, null, 8, ["placeholder"]),
2499
+ b(a(ua), {
2090
2500
  class: "nb-select__icon",
2091
2501
  "aria-hidden": "true"
2092
2502
  }, {
@@ -2103,15 +2513,15 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
2103
2513
  ]),
2104
2514
  _: 1
2105
2515
  }, 16, ["id", "aria-invalid", "aria-describedby"]),
2106
- c(t(Ft), null, {
2516
+ b(a(ca), null, {
2107
2517
  default: d(() => [
2108
- c(t(Ht), {
2518
+ b(a(ba), {
2109
2519
  class: "nb-root nb-select__content",
2110
2520
  position: "popper",
2111
2521
  "side-offset": 5
2112
2522
  }, {
2113
2523
  default: d(() => [
2114
- c(t(Kt), {
2524
+ b(a(fa), {
2115
2525
  class: "nb-select__scroll-button",
2116
2526
  "aria-label": "Scroll up"
2117
2527
  }, {
@@ -2126,13 +2536,13 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
2126
2536
  ])]),
2127
2537
  _: 1
2128
2538
  }),
2129
- c(t(jt), { class: "nb-select__viewport" }, {
2539
+ b(a(ma), { class: "nb-select__viewport" }, {
2130
2540
  default: d(() => [
2131
2541
  _(i.$slots, "default")
2132
2542
  ]),
2133
2543
  _: 3
2134
2544
  }),
2135
- c(t(Xt), {
2545
+ b(a(pa), {
2136
2546
  class: "nb-select__scroll-button",
2137
2547
  "aria-label": "Scroll down"
2138
2548
  }, {
@@ -2156,43 +2566,43 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
2156
2566
  ]),
2157
2567
  _: 3
2158
2568
  }, 8, ["model-value", "disabled", "required", "name"]),
2159
- e.hint ? (n(), u("span", {
2569
+ e.hint ? (o(), u("span", {
2160
2570
  key: 1,
2161
- id: t(l).hintId,
2571
+ id: a(l).hintId,
2162
2572
  class: "nb-field__hint"
2163
- }, p(e.hint), 9, Un)) : g("", !0),
2164
- e.error ? (n(), u("span", {
2573
+ }, p(e.hint), 9, Eo)) : g("", !0),
2574
+ e.error ? (o(), u("span", {
2165
2575
  key: 2,
2166
- id: t(l).errorId,
2576
+ id: a(l).errorId,
2167
2577
  class: "nb-field__error"
2168
- }, p(e.error), 9, Ln)) : g("", !0)
2578
+ }, p(e.error), 9, zo)) : g("", !0)
2169
2579
  ]));
2170
2580
  }
2171
- }), zn = /* @__PURE__ */ h({
2581
+ }), Ho = /* @__PURE__ */ v({
2172
2582
  __name: "NbSelectItem",
2173
2583
  props: {
2174
2584
  value: {},
2175
2585
  disabled: { type: Boolean, default: !1 }
2176
2586
  },
2177
2587
  setup(e) {
2178
- return (o, a) => (n(), y(t(Jt), {
2588
+ return (n, t) => (o(), y(a(va), {
2179
2589
  class: "nb-select__item",
2180
2590
  value: e.value,
2181
2591
  disabled: e.disabled,
2182
2592
  "data-value": e.value
2183
2593
  }, {
2184
2594
  default: d(() => [
2185
- c(t(Qt), null, {
2595
+ b(a(ha), null, {
2186
2596
  default: d(() => [
2187
- _(o.$slots, "default")
2597
+ _(n.$slots, "default")
2188
2598
  ]),
2189
2599
  _: 3
2190
2600
  }),
2191
- c(t(Wt), {
2601
+ b(a(_a), {
2192
2602
  class: "nb-select__indicator",
2193
2603
  "aria-hidden": "true"
2194
2604
  }, {
2195
- default: d(() => [...a[0] || (a[0] = [
2605
+ default: d(() => [...t[0] || (t[0] = [
2196
2606
  f("svg", {
2197
2607
  viewBox: "0 0 16 16",
2198
2608
  focusable: "false"
@@ -2206,26 +2616,26 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
2206
2616
  _: 3
2207
2617
  }, 8, ["value", "disabled", "data-value"]));
2208
2618
  }
2209
- }), En = /* @__PURE__ */ h({
2619
+ }), Ko = /* @__PURE__ */ v({
2210
2620
  __name: "NbSeparator",
2211
2621
  props: {
2212
2622
  orientation: { default: "horizontal" },
2213
2623
  decorative: { type: Boolean, default: !0 }
2214
2624
  },
2215
2625
  setup(e) {
2216
- return (o, a) => (n(), y(t(Yt), {
2626
+ return (n, t) => (o(), y(a(ga), {
2217
2627
  class: "nb-root nb-separator",
2218
2628
  orientation: e.orientation,
2219
2629
  decorative: e.decorative
2220
2630
  }, null, 8, ["orientation", "decorative"]));
2221
2631
  }
2222
- }), Fn = { class: "nb-root nb-field" }, Hn = {
2632
+ }), jo = { class: "nb-root nb-field" }, Wo = {
2223
2633
  key: 0,
2224
2634
  class: "nb-slider__header"
2225
- }, Kn = {
2635
+ }, Jo = {
2226
2636
  key: 1,
2227
2637
  class: "nb-slider__value"
2228
- }, jn = ["id"], Xn = ["id"], Jn = /* @__PURE__ */ h({
2638
+ }, Xo = ["id"], Qo = ["id"], Yo = /* @__PURE__ */ v({
2229
2639
  inheritAttrs: !1,
2230
2640
  __name: "NbSlider",
2231
2641
  props: {
@@ -2243,24 +2653,24 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
2243
2653
  showValue: { type: Boolean, default: !0 }
2244
2654
  },
2245
2655
  emits: ["update:modelValue", "change"],
2246
- setup(e, { emit: o }) {
2247
- const a = e, s = o, l = w("slider", a.id), b = `${l.inputId}-label`, m = N(() => S(a.hint, a.error, l.hintId, l.errorId));
2248
- function i(v) {
2249
- v?.[0] !== void 0 && s("update:modelValue", v[0]);
2656
+ setup(e, { emit: n }) {
2657
+ const t = e, s = n, l = w("slider", t.id), c = `${l.inputId}-label`, m = N(() => T(t.hint, t.error, l.hintId, l.errorId));
2658
+ function i(h) {
2659
+ h?.[0] !== void 0 && s("update:modelValue", h[0]);
2250
2660
  }
2251
- function r(v) {
2252
- v[0] !== void 0 && s("change", v[0]);
2661
+ function r(h) {
2662
+ h[0] !== void 0 && s("change", h[0]);
2253
2663
  }
2254
- return (v, $) => (n(), u("div", Fn, [
2255
- e.label || e.showValue ? (n(), u("div", Hn, [
2256
- e.label ? (n(), u("span", {
2664
+ return (h, $) => (o(), u("div", jo, [
2665
+ e.label || e.showValue ? (o(), u("div", Wo, [
2666
+ e.label ? (o(), u("span", {
2257
2667
  key: 0,
2258
- id: b,
2668
+ id: c,
2259
2669
  class: "nb-field__label"
2260
2670
  }, p(e.label), 1)) : g("", !0),
2261
- e.showValue ? (n(), u("output", Kn, p(e.modelValue), 1)) : g("", !0)
2671
+ e.showValue ? (o(), u("output", Jo, p(e.modelValue), 1)) : g("", !0)
2262
2672
  ])) : g("", !0),
2263
- c(t(Zt), {
2673
+ b(a(ya), {
2264
2674
  class: "nb-slider",
2265
2675
  "model-value": [e.modelValue],
2266
2676
  min: e.min,
@@ -2273,35 +2683,35 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
2273
2683
  onValueCommit: r
2274
2684
  }, {
2275
2685
  default: d(() => [
2276
- c(t(ea), { class: "nb-slider__track" }, {
2686
+ b(a($a), { class: "nb-slider__track" }, {
2277
2687
  default: d(() => [
2278
- c(t(ta), { class: "nb-slider__range" })
2688
+ b(a(Na), { class: "nb-slider__range" })
2279
2689
  ]),
2280
2690
  _: 1
2281
2691
  }),
2282
- c(t(aa), k(v.$attrs, {
2283
- id: t(l).inputId,
2692
+ b(a(Ia), k(h.$attrs, {
2693
+ id: a(l).inputId,
2284
2694
  class: "nb-slider__thumb",
2285
- "aria-labelledby": e.label ? b : void 0,
2695
+ "aria-labelledby": e.label ? c : void 0,
2286
2696
  "aria-invalid": e.error ? "true" : void 0,
2287
2697
  "aria-describedby": m.value
2288
2698
  }), null, 16, ["id", "aria-labelledby", "aria-invalid", "aria-describedby"])
2289
2699
  ]),
2290
2700
  _: 1
2291
2701
  }, 8, ["model-value", "min", "max", "step", "disabled", "required", "name"]),
2292
- e.hint ? (n(), u("span", {
2702
+ e.hint ? (o(), u("span", {
2293
2703
  key: 1,
2294
- id: t(l).hintId,
2704
+ id: a(l).hintId,
2295
2705
  class: "nb-field__hint"
2296
- }, p(e.hint), 9, jn)) : g("", !0),
2297
- e.error ? (n(), u("span", {
2706
+ }, p(e.hint), 9, Xo)) : g("", !0),
2707
+ e.error ? (o(), u("span", {
2298
2708
  key: 2,
2299
- id: t(l).errorId,
2709
+ id: a(l).errorId,
2300
2710
  class: "nb-field__error"
2301
- }, p(e.error), 9, Xn)) : g("", !0)
2711
+ }, p(e.error), 9, Qo)) : g("", !0)
2302
2712
  ]));
2303
2713
  }
2304
- }), Qn = /* @__PURE__ */ h({
2714
+ }), Zo = /* @__PURE__ */ v({
2305
2715
  __name: "NbSkeleton",
2306
2716
  props: {
2307
2717
  width: { default: "100%" },
@@ -2309,32 +2719,114 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
2309
2719
  rounded: { type: Boolean, default: !1 }
2310
2720
  },
2311
2721
  setup(e) {
2312
- const o = e, a = N(() => ({ width: o.width, height: o.height }));
2313
- return (s, l) => (n(), u("div", {
2314
- class: x(["nb-root nb-skeleton", { "nb-skeleton--rounded": e.rounded }]),
2315
- style: q(a.value),
2722
+ const n = e, t = N(() => ({ width: n.width, height: n.height }));
2723
+ return (s, l) => (o(), u("div", {
2724
+ class: C(["nb-root nb-skeleton", { "nb-skeleton--rounded": e.rounded }]),
2725
+ style: q(t.value),
2316
2726
  "aria-hidden": "true"
2317
2727
  }, null, 6));
2318
2728
  }
2319
- }), Wn = ["aria-label"], Yn = /* @__PURE__ */ h({
2729
+ }), es = ["aria-label"], ts = /* @__PURE__ */ v({
2320
2730
  __name: "NbSpinner",
2321
2731
  props: {
2322
2732
  label: { default: "Loading" },
2323
2733
  size: { default: "md" }
2324
2734
  },
2325
2735
  setup(e) {
2326
- return (o, a) => (n(), u("span", {
2736
+ return (n, t) => (o(), u("span", {
2327
2737
  class: "nb-root nb-spinner-wrap",
2328
2738
  role: "status",
2329
2739
  "aria-label": e.label
2330
2740
  }, [
2331
2741
  f("span", {
2332
- class: x(["nb-spinner", `nb-spinner--${e.size}`]),
2742
+ class: C(["nb-spinner", `nb-spinner--${e.size}`]),
2333
2743
  "aria-hidden": "true"
2334
2744
  }, null, 2)
2335
- ], 8, Wn));
2745
+ ], 8, es));
2336
2746
  }
2337
- }), Zn = ["for"], eo = ["id", "checked", "disabled", "aria-checked", "aria-describedby"], to = { class: "nb-switch__content" }, ao = { class: "nb-switch__label" }, lo = ["id"], no = /* @__PURE__ */ h({
2747
+ }), as = /* @__PURE__ */ v({
2748
+ __name: "NbStepper",
2749
+ props: {
2750
+ modelValue: {},
2751
+ defaultValue: { default: 1 },
2752
+ label: { default: "Progress" },
2753
+ orientation: { default: "horizontal" },
2754
+ linear: { type: Boolean, default: !0 }
2755
+ },
2756
+ emits: ["update:modelValue"],
2757
+ setup(e, { emit: n }) {
2758
+ const t = n;
2759
+ function s(l) {
2760
+ l !== void 0 && t("update:modelValue", l);
2761
+ }
2762
+ return (l, c) => (o(), y(a(ka), {
2763
+ class: "nb-root nb-stepper",
2764
+ "model-value": e.modelValue,
2765
+ "default-value": e.defaultValue,
2766
+ "aria-label": e.label,
2767
+ orientation: e.orientation,
2768
+ linear: e.linear,
2769
+ "onUpdate:modelValue": s
2770
+ }, {
2771
+ default: d(() => [
2772
+ _(l.$slots, "default")
2773
+ ]),
2774
+ _: 3
2775
+ }, 8, ["model-value", "default-value", "aria-label", "orientation", "linear"]));
2776
+ }
2777
+ }), ls = { class: "nb-stepper__copy" }, ns = /* @__PURE__ */ v({
2778
+ __name: "NbStepperItem",
2779
+ props: {
2780
+ step: {},
2781
+ title: {},
2782
+ description: {},
2783
+ disabled: { type: Boolean },
2784
+ completed: { type: Boolean }
2785
+ },
2786
+ setup(e) {
2787
+ return (n, t) => (o(), y(a(xa), {
2788
+ class: "nb-stepper__item",
2789
+ step: e.step,
2790
+ disabled: e.disabled,
2791
+ completed: e.completed
2792
+ }, {
2793
+ default: d(() => [
2794
+ b(a(Ca), { class: "nb-stepper__trigger" }, {
2795
+ default: d(() => [
2796
+ b(a(Ba), { class: "nb-stepper__indicator" }, {
2797
+ default: d(() => [
2798
+ I(p(e.step), 1)
2799
+ ]),
2800
+ _: 1
2801
+ }),
2802
+ f("span", ls, [
2803
+ b(a(Va), {
2804
+ as: "span",
2805
+ class: "nb-stepper__title"
2806
+ }, {
2807
+ default: d(() => [
2808
+ I(p(e.title), 1)
2809
+ ]),
2810
+ _: 1
2811
+ }),
2812
+ b(a(wa), {
2813
+ as: "span",
2814
+ class: "nb-stepper__description"
2815
+ }, {
2816
+ default: d(() => [
2817
+ I(p(e.description || `Step ${e.step}`), 1)
2818
+ ]),
2819
+ _: 1
2820
+ })
2821
+ ])
2822
+ ]),
2823
+ _: 1
2824
+ })
2825
+ ]),
2826
+ _: 1
2827
+ }, 8, ["step", "disabled", "completed"]));
2828
+ }
2829
+ }), os = ["for"], ss = ["id", "checked", "disabled", "aria-checked", "aria-describedby"], is = { class: "nb-switch__content" }, ds = { class: "nb-switch__label" }, rs = ["id"], us = /* @__PURE__ */ v({
2338
2830
  inheritAttrs: !1,
2339
2831
  __name: "NbSwitch",
2340
2832
  props: {
@@ -2345,40 +2837,40 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
2345
2837
  id: {}
2346
2838
  },
2347
2839
  emits: ["update:modelValue"],
2348
- setup(e, { emit: o }) {
2349
- const a = e, s = o, l = w("switch", a.id);
2350
- return (b, m) => (n(), u("label", {
2351
- class: x(["nb-root nb-switch", { "is-disabled": e.disabled }]),
2352
- for: t(l).inputId
2840
+ setup(e, { emit: n }) {
2841
+ const t = e, s = n, l = w("switch", t.id);
2842
+ return (c, m) => (o(), u("label", {
2843
+ class: C(["nb-root nb-switch", { "is-disabled": e.disabled }]),
2844
+ for: a(l).inputId
2353
2845
  }, [
2354
- f("input", k(b.$attrs, {
2355
- id: t(l).inputId,
2846
+ f("input", k(c.$attrs, {
2847
+ id: a(l).inputId,
2356
2848
  class: "nb-switch__input",
2357
2849
  type: "checkbox",
2358
2850
  role: "switch",
2359
2851
  checked: e.modelValue,
2360
2852
  disabled: e.disabled,
2361
2853
  "aria-checked": e.modelValue ? "true" : "false",
2362
- "aria-describedby": e.description ? t(l).hintId : void 0,
2854
+ "aria-describedby": e.description ? a(l).hintId : void 0,
2363
2855
  onChange: m[0] || (m[0] = (i) => s("update:modelValue", i.target.checked))
2364
- }), null, 16, eo),
2856
+ }), null, 16, ss),
2365
2857
  m[1] || (m[1] = f("span", {
2366
2858
  class: "nb-switch__track",
2367
2859
  "aria-hidden": "true"
2368
2860
  }, [
2369
2861
  f("span", { class: "nb-switch__thumb" })
2370
2862
  ], -1)),
2371
- f("span", to, [
2372
- f("span", ao, p(e.label), 1),
2373
- e.description ? (n(), u("span", {
2863
+ f("span", is, [
2864
+ f("span", ds, p(e.label), 1),
2865
+ e.description ? (o(), u("span", {
2374
2866
  key: 0,
2375
- id: t(l).hintId,
2867
+ id: a(l).hintId,
2376
2868
  class: "nb-switch__description"
2377
- }, p(e.description), 9, lo)) : g("", !0)
2869
+ }, p(e.description), 9, rs)) : g("", !0)
2378
2870
  ])
2379
- ], 10, Zn));
2871
+ ], 10, os));
2380
2872
  }
2381
- }), oo = { class: "nb-root nb-field" }, so = ["for"], io = ["id"], ro = ["id"], uo = /* @__PURE__ */ h({
2873
+ }), cs = { class: "nb-root nb-field" }, bs = ["for"], fs = ["id"], ms = ["id"], ps = /* @__PURE__ */ v({
2382
2874
  inheritAttrs: !1,
2383
2875
  __name: "NbTagsInput",
2384
2876
  props: {
@@ -2394,33 +2886,33 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
2394
2886
  required: { type: Boolean, default: !1 }
2395
2887
  },
2396
2888
  emits: ["update:modelValue"],
2397
- setup(e, { emit: o }) {
2398
- const a = e, s = o, l = w("tags-input", a.id), b = N(() => S(a.hint, a.error, l.hintId, l.errorId));
2399
- return (m, i) => (n(), u("div", oo, [
2400
- e.label ? (n(), u("label", {
2889
+ setup(e, { emit: n }) {
2890
+ const t = e, s = n, l = w("tags-input", t.id), c = N(() => T(t.hint, t.error, l.hintId, l.errorId));
2891
+ return (m, i) => (o(), u("div", cs, [
2892
+ e.label ? (o(), u("label", {
2401
2893
  key: 0,
2402
2894
  class: "nb-field__label",
2403
- for: t(l).inputId
2404
- }, p(e.label), 9, so)) : g("", !0),
2405
- c(t(la), {
2895
+ for: a(l).inputId
2896
+ }, p(e.label), 9, bs)) : g("", !0),
2897
+ b(a(Sa), {
2406
2898
  class: "nb-tags-input",
2407
2899
  "model-value": e.modelValue,
2408
- name: e.name ?? (e.required ? t(l).inputId : void 0),
2409
- id: t(l).inputId,
2900
+ name: e.name ?? (e.required ? a(l).inputId : void 0),
2901
+ id: a(l).inputId,
2410
2902
  max: e.max,
2411
2903
  disabled: e.disabled,
2412
2904
  required: e.required,
2413
2905
  "onUpdate:modelValue": i[0] || (i[0] = (r) => s("update:modelValue", r))
2414
2906
  }, {
2415
2907
  default: d(() => [
2416
- (n(!0), u(B, null, T(e.modelValue, (r) => (n(), y(t(na), {
2908
+ (o(!0), u(V, null, S(e.modelValue, (r) => (o(), y(a(Ma), {
2417
2909
  key: r,
2418
2910
  class: "nb-tags-input__tag",
2419
2911
  value: r
2420
2912
  }, {
2421
2913
  default: d(() => [
2422
- c(t(oa)),
2423
- c(t(sa), {
2914
+ b(a(Ta)),
2915
+ b(a(Aa), {
2424
2916
  class: "nb-tags-input__remove",
2425
2917
  "aria-label": `Remove ${r}`,
2426
2918
  "aria-labelledby": void 0
@@ -2433,34 +2925,34 @@ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
2433
2925
  ]),
2434
2926
  _: 2
2435
2927
  }, 1032, ["value"]))), 128)),
2436
- c(t(ia), k(m.$attrs, {
2928
+ b(a(Da), k(m.$attrs, {
2437
2929
  class: "nb-tags-input__input",
2438
2930
  placeholder: e.placeholder,
2439
2931
  "aria-invalid": e.error ? "true" : void 0,
2440
- "aria-describedby": b.value
2932
+ "aria-describedby": c.value
2441
2933
  }), null, 16, ["placeholder", "aria-invalid", "aria-describedby"])
2442
2934
  ]),
2443
2935
  _: 1
2444
2936
  }, 8, ["model-value", "name", "id", "max", "disabled", "required"]),
2445
- e.hint ? (n(), u("span", {
2937
+ e.hint ? (o(), u("span", {
2446
2938
  key: 1,
2447
- id: t(l).hintId,
2939
+ id: a(l).hintId,
2448
2940
  class: "nb-field__hint"
2449
- }, p(e.hint), 9, io)) : g("", !0),
2450
- e.error ? (n(), u("span", {
2941
+ }, p(e.hint), 9, fs)) : g("", !0),
2942
+ e.error ? (o(), u("span", {
2451
2943
  key: 2,
2452
- id: t(l).errorId,
2944
+ id: a(l).errorId,
2453
2945
  class: "nb-field__error"
2454
- }, p(e.error), 9, ro)) : g("", !0)
2946
+ }, p(e.error), 9, ms)) : g("", !0)
2455
2947
  ]));
2456
2948
  }
2457
- }), se = /* @__PURE__ */ Symbol("nb-tabs");
2458
- function U() {
2459
- const e = be(se);
2949
+ }), ce = /* @__PURE__ */ Symbol("nb-tabs");
2950
+ function L() {
2951
+ const e = he(ce);
2460
2952
  if (!e) throw new Error("Tabs components must be used inside NbTabs");
2461
2953
  return e;
2462
2954
  }
2463
- const co = ["data-orientation"], bo = /* @__PURE__ */ h({
2955
+ const vs = ["data-orientation"], hs = /* @__PURE__ */ v({
2464
2956
  __name: "NbTabs",
2465
2957
  props: {
2466
2958
  modelValue: {},
@@ -2468,90 +2960,90 @@ const co = ["data-orientation"], bo = /* @__PURE__ */ h({
2468
2960
  orientation: { default: "horizontal" }
2469
2961
  },
2470
2962
  emits: ["update:modelValue"],
2471
- setup(e, { emit: o }) {
2472
- const a = e, s = o, l = M("tabs"), b = C(a.defaultValue), m = N(() => a.modelValue ?? b.value), i = N(() => a.orientation), r = ($) => encodeURIComponent($);
2473
- function v($) {
2474
- a.modelValue === void 0 && (b.value = $), s("update:modelValue", $);
2963
+ setup(e, { emit: n }) {
2964
+ const t = e, s = n, l = A("tabs"), c = x(t.defaultValue), m = N(() => t.modelValue ?? c.value), i = N(() => t.orientation), r = ($) => encodeURIComponent($);
2965
+ function h($) {
2966
+ t.modelValue === void 0 && (c.value = $), s("update:modelValue", $);
2475
2967
  }
2476
- return fe(se, {
2968
+ return _e(ce, {
2477
2969
  activeValue: m,
2478
2970
  orientation: i,
2479
- select: v,
2971
+ select: h,
2480
2972
  triggerId: ($) => `${l}-tab-${r($)}`,
2481
2973
  panelId: ($) => `${l}-panel-${r($)}`
2482
- }), ($, P) => (n(), u("div", {
2483
- class: x(["nb-root nb-tabs", `nb-tabs--${i.value}`]),
2974
+ }), ($, O) => (o(), u("div", {
2975
+ class: C(["nb-root nb-tabs", `nb-tabs--${i.value}`]),
2484
2976
  "data-orientation": i.value
2485
2977
  }, [
2486
2978
  _($.$slots, "default")
2487
- ], 10, co));
2979
+ ], 10, vs));
2488
2980
  }
2489
- }), fo = ["id", "aria-labelledby", "hidden"], mo = /* @__PURE__ */ h({
2981
+ }), _s = ["id", "aria-labelledby", "hidden"], gs = /* @__PURE__ */ v({
2490
2982
  __name: "NbTabsContent",
2491
2983
  props: {
2492
2984
  value: {}
2493
2985
  },
2494
2986
  setup(e) {
2495
- const o = e, a = U(), s = N(() => a.activeValue.value === o.value);
2496
- return (l, b) => me((n(), u("div", {
2987
+ const n = e, t = L(), s = N(() => t.activeValue.value === n.value);
2988
+ return (l, c) => ge((o(), u("div", {
2497
2989
  class: "nb-tabs__content",
2498
2990
  role: "tabpanel",
2499
- id: t(a).panelId(e.value),
2500
- "aria-labelledby": t(a).triggerId(e.value),
2991
+ id: a(t).panelId(e.value),
2992
+ "aria-labelledby": a(t).triggerId(e.value),
2501
2993
  hidden: !s.value,
2502
2994
  tabindex: "0"
2503
2995
  }, [
2504
2996
  _(l.$slots, "default")
2505
- ], 8, fo)), [
2506
- [pe, s.value]
2997
+ ], 8, _s)), [
2998
+ [ye, s.value]
2507
2999
  ]);
2508
3000
  }
2509
- }), po = ["aria-orientation"], vo = /* @__PURE__ */ h({
3001
+ }), ys = ["aria-orientation"], $s = /* @__PURE__ */ v({
2510
3002
  __name: "NbTabsList",
2511
3003
  setup(e) {
2512
- const { orientation: o } = U();
2513
- function a(s) {
2514
- const l = o.value === "vertical" ? "ArrowUp" : "ArrowLeft", b = o.value === "vertical" ? "ArrowDown" : "ArrowRight";
2515
- if (![l, b, "Home", "End"].includes(s.key)) return;
2516
- const m = s.currentTarget, i = Array.from(m.querySelectorAll('[role="tab"]:not(:disabled)')), r = s.target.closest('[role="tab"]'), v = r ? i.indexOf(r) : -1;
2517
- if (!i.length || v < 0) return;
3004
+ const { orientation: n } = L();
3005
+ function t(s) {
3006
+ const l = n.value === "vertical" ? "ArrowUp" : "ArrowLeft", c = n.value === "vertical" ? "ArrowDown" : "ArrowRight";
3007
+ if (![l, c, "Home", "End"].includes(s.key)) return;
3008
+ const m = s.currentTarget, i = Array.from(m.querySelectorAll('[role="tab"]:not(:disabled)')), r = s.target.closest('[role="tab"]'), h = r ? i.indexOf(r) : -1;
3009
+ if (!i.length || h < 0) return;
2518
3010
  s.preventDefault();
2519
- const $ = s.key === "Home" ? 0 : s.key === "End" ? i.length - 1 : (v + (s.key === b ? 1 : -1) + i.length) % i.length;
3011
+ const $ = s.key === "Home" ? 0 : s.key === "End" ? i.length - 1 : (h + (s.key === c ? 1 : -1) + i.length) % i.length;
2520
3012
  i[$]?.focus(), i[$]?.click();
2521
3013
  }
2522
- return (s, l) => (n(), u("div", {
3014
+ return (s, l) => (o(), u("div", {
2523
3015
  class: "nb-tabs__list",
2524
3016
  role: "tablist",
2525
- "aria-orientation": t(o),
2526
- onKeydown: a
3017
+ "aria-orientation": a(n),
3018
+ onKeydown: t
2527
3019
  }, [
2528
3020
  _(s.$slots, "default")
2529
- ], 40, po));
3021
+ ], 40, ys));
2530
3022
  }
2531
- }), ho = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "data-active"], go = /* @__PURE__ */ h({
3023
+ }), Ns = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "data-active"], Is = /* @__PURE__ */ v({
2532
3024
  __name: "NbTabsTrigger",
2533
3025
  props: {
2534
3026
  value: {},
2535
3027
  disabled: { type: Boolean, default: !1 }
2536
3028
  },
2537
3029
  setup(e) {
2538
- const o = e, a = U(), s = N(() => a.activeValue.value === o.value);
2539
- return (l, b) => (n(), u("button", {
2540
- class: x(["nb-tabs__trigger", { "is-active": s.value }]),
2541
- id: t(a).triggerId(e.value),
3030
+ const n = e, t = L(), s = N(() => t.activeValue.value === n.value);
3031
+ return (l, c) => (o(), u("button", {
3032
+ class: C(["nb-tabs__trigger", { "is-active": s.value }]),
3033
+ id: a(t).triggerId(e.value),
2542
3034
  type: "button",
2543
3035
  role: "tab",
2544
3036
  "aria-selected": s.value,
2545
- "aria-controls": t(a).panelId(e.value),
3037
+ "aria-controls": a(t).panelId(e.value),
2546
3038
  tabindex: s.value ? 0 : -1,
2547
3039
  disabled: e.disabled,
2548
3040
  "data-active": s.value ? "" : void 0,
2549
- onClick: b[0] || (b[0] = (m) => t(a).select(e.value))
3041
+ onClick: c[0] || (c[0] = (m) => a(t).select(e.value))
2550
3042
  }, [
2551
3043
  _(l.$slots, "default")
2552
- ], 10, ho));
3044
+ ], 10, Ns));
2553
3045
  }
2554
- }), _o = { class: "nb-root nb-field" }, yo = ["for"], $o = ["id", "value", "disabled", "aria-invalid", "aria-describedby"], No = ["id"], Io = ["id"], ko = /* @__PURE__ */ h({
3046
+ }), ks = { class: "nb-root nb-field" }, xs = ["for"], Cs = ["id", "value", "disabled", "aria-invalid", "aria-describedby"], Bs = ["id"], Vs = ["id"], ws = /* @__PURE__ */ v({
2555
3047
  inheritAttrs: !1,
2556
3048
  __name: "NbTextarea",
2557
3049
  props: {
@@ -2563,50 +3055,50 @@ const co = ["data-orientation"], bo = /* @__PURE__ */ h({
2563
3055
  id: {}
2564
3056
  },
2565
3057
  emits: ["update:modelValue"],
2566
- setup(e, { emit: o }) {
2567
- const a = e, s = o, l = w("textarea", a.id), b = N(() => S(a.hint, a.error, l.hintId, l.errorId));
2568
- return (m, i) => (n(), u("div", _o, [
2569
- e.label ? (n(), u("label", {
3058
+ setup(e, { emit: n }) {
3059
+ const t = e, s = n, l = w("textarea", t.id), c = N(() => T(t.hint, t.error, l.hintId, l.errorId));
3060
+ return (m, i) => (o(), u("div", ks, [
3061
+ e.label ? (o(), u("label", {
2570
3062
  key: 0,
2571
3063
  class: "nb-field__label",
2572
- for: t(l).inputId
2573
- }, p(e.label), 9, yo)) : g("", !0),
3064
+ for: a(l).inputId
3065
+ }, p(e.label), 9, xs)) : g("", !0),
2574
3066
  f("textarea", k(m.$attrs, {
2575
- id: t(l).inputId,
3067
+ id: a(l).inputId,
2576
3068
  class: "nb-field__control nb-field__control--textarea",
2577
3069
  value: e.modelValue,
2578
3070
  disabled: e.disabled,
2579
3071
  "aria-invalid": e.error ? "true" : void 0,
2580
- "aria-describedby": b.value,
3072
+ "aria-describedby": c.value,
2581
3073
  onInput: i[0] || (i[0] = (r) => s("update:modelValue", r.target.value))
2582
- }), null, 16, $o),
2583
- e.hint ? (n(), u("span", {
3074
+ }), null, 16, Cs),
3075
+ e.hint ? (o(), u("span", {
2584
3076
  key: 1,
2585
- id: t(l).hintId,
3077
+ id: a(l).hintId,
2586
3078
  class: "nb-field__hint"
2587
- }, p(e.hint), 9, No)) : g("", !0),
2588
- e.error ? (n(), u("span", {
3079
+ }, p(e.hint), 9, Bs)) : g("", !0),
3080
+ e.error ? (o(), u("span", {
2589
3081
  key: 2,
2590
- id: t(l).errorId,
3082
+ id: a(l).errorId,
2591
3083
  class: "nb-field__error"
2592
- }, p(e.error), 9, Io)) : g("", !0)
3084
+ }, p(e.error), 9, Vs)) : g("", !0)
2593
3085
  ]));
2594
3086
  }
2595
- }), xo = { class: "nb-root nb-table-wrap" }, Vo = { key: 0 }, Bo = /* @__PURE__ */ h({
3087
+ }), Ss = { class: "nb-root nb-table-wrap" }, Ms = { key: 0 }, Ts = /* @__PURE__ */ v({
2596
3088
  inheritAttrs: !1,
2597
3089
  __name: "NbTable",
2598
3090
  props: {
2599
3091
  caption: {}
2600
3092
  },
2601
3093
  setup(e) {
2602
- return (o, a) => (n(), u("div", xo, [
2603
- f("table", k(o.$attrs, { class: "nb-table" }), [
2604
- e.caption ? (n(), u("caption", Vo, p(e.caption), 1)) : g("", !0),
2605
- _(o.$slots, "default")
3094
+ return (n, t) => (o(), u("div", Ss, [
3095
+ f("table", k(n.$attrs, { class: "nb-table" }), [
3096
+ e.caption ? (o(), u("caption", Ms, p(e.caption), 1)) : g("", !0),
3097
+ _(n.$slots, "default")
2606
3098
  ], 16)
2607
3099
  ]));
2608
3100
  }
2609
- }), Co = { class: "nb-toast__content" }, wo = /* @__PURE__ */ h({
3101
+ }), As = { class: "nb-toast__content" }, Ds = /* @__PURE__ */ v({
2610
3102
  __name: "NbToast",
2611
3103
  props: {
2612
3104
  open: { type: Boolean, default: void 0 },
@@ -2617,36 +3109,36 @@ const co = ["data-orientation"], bo = /* @__PURE__ */ h({
2617
3109
  duration: { default: 5e3 }
2618
3110
  },
2619
3111
  emits: ["update:open"],
2620
- setup(e, { emit: o }) {
2621
- const a = e, s = o, l = C(a.open ?? a.defaultOpen), b = N(() => a.open ?? l.value);
2622
- A(() => a.open, (i) => {
3112
+ setup(e, { emit: n }) {
3113
+ const t = e, s = n, l = x(t.open ?? t.defaultOpen), c = N(() => t.open ?? l.value);
3114
+ M(() => t.open, (i) => {
2623
3115
  i !== void 0 && (l.value = i);
2624
3116
  });
2625
3117
  function m(i) {
2626
3118
  l.value = i, s("update:open", i);
2627
3119
  }
2628
- return (i, r) => (n(), y(t(da), {
3120
+ return (i, r) => (o(), y(a(Oa), {
2629
3121
  label: "Notification",
2630
3122
  duration: e.duration
2631
3123
  }, {
2632
3124
  default: d(() => [
2633
- c(t(ra), {
2634
- class: x(["nb-root nb-toast", `nb-toast--${e.tone}`]),
2635
- open: b.value,
3125
+ b(a(Pa), {
3126
+ class: C(["nb-root nb-toast", `nb-toast--${e.tone}`]),
3127
+ open: c.value,
2636
3128
  "default-open": e.defaultOpen,
2637
3129
  type: "foreground",
2638
3130
  role: "status",
2639
3131
  "onUpdate:open": m
2640
3132
  }, {
2641
3133
  default: d(() => [
2642
- f("div", Co, [
2643
- c(t(ua), { class: "nb-toast__title" }, {
3134
+ f("div", As, [
3135
+ b(a(Ra), { class: "nb-toast__title" }, {
2644
3136
  default: d(() => [
2645
3137
  I(p(e.title), 1)
2646
3138
  ]),
2647
3139
  _: 1
2648
3140
  }),
2649
- e.description ? (n(), y(t(ca), {
3141
+ e.description ? (o(), y(a(qa), {
2650
3142
  key: 0,
2651
3143
  class: "nb-toast__description"
2652
3144
  }, {
@@ -2657,7 +3149,7 @@ const co = ["data-orientation"], bo = /* @__PURE__ */ h({
2657
3149
  })) : g("", !0),
2658
3150
  _(i.$slots, "default")
2659
3151
  ]),
2660
- c(t(ba), {
3152
+ b(a(La), {
2661
3153
  class: "nb-overlay-close",
2662
3154
  "aria-label": "Dismiss notification"
2663
3155
  }, {
@@ -2669,12 +3161,51 @@ const co = ["data-orientation"], bo = /* @__PURE__ */ h({
2669
3161
  ]),
2670
3162
  _: 3
2671
3163
  }, 8, ["class", "open", "default-open"]),
2672
- c(t(fa), { class: "nb-root nb-toast-viewport" })
3164
+ b(a(Ua), { class: "nb-root nb-toast-viewport" })
2673
3165
  ]),
2674
3166
  _: 3
2675
3167
  }, 8, ["duration"]));
2676
3168
  }
2677
- }), To = /* @__PURE__ */ h({
3169
+ }), Os = ["aria-label"], Ps = /* @__PURE__ */ v({
3170
+ __name: "NbTimeline",
3171
+ props: {
3172
+ label: {}
3173
+ },
3174
+ setup(e) {
3175
+ return (n, t) => (o(), u("ol", {
3176
+ class: "nb-root nb-timeline",
3177
+ "aria-label": e.label
3178
+ }, [
3179
+ _(n.$slots, "default")
3180
+ ], 8, Os));
3181
+ }
3182
+ }), Rs = { class: "nb-timeline__item" }, qs = { class: "nb-timeline__card" }, Ls = { class: "nb-timeline__heading" }, Us = ["datetime"], Gs = {
3183
+ key: 0,
3184
+ class: "nb-timeline__body"
3185
+ }, Es = /* @__PURE__ */ v({
3186
+ __name: "NbTimelineItem",
3187
+ props: {
3188
+ title: {},
3189
+ date: {},
3190
+ datetime: {}
3191
+ },
3192
+ setup(e) {
3193
+ return (n, t) => (o(), u("li", Rs, [
3194
+ f("div", qs, [
3195
+ f("div", Ls, [
3196
+ f("strong", null, p(e.title), 1),
3197
+ e.date ? (o(), u("time", {
3198
+ key: 0,
3199
+ datetime: e.datetime
3200
+ }, p(e.date), 9, Us)) : g("", !0)
3201
+ ]),
3202
+ n.$slots.default ? (o(), u("div", Gs, [
3203
+ _(n.$slots, "default")
3204
+ ])) : g("", !0)
3205
+ ])
3206
+ ]));
3207
+ }
3208
+ }), zs = /* @__PURE__ */ v({
2678
3209
  inheritAttrs: !1,
2679
3210
  __name: "NbToggle",
2680
3211
  props: {
@@ -2686,9 +3217,9 @@ const co = ["data-orientation"], bo = /* @__PURE__ */ h({
2686
3217
  size: { default: "md" }
2687
3218
  },
2688
3219
  emits: ["update:modelValue"],
2689
- setup(e, { emit: o }) {
2690
- const a = e, s = o, l = N(() => O(`nb-toggle--${a.tone}`, `nb-toggle--${a.size}`));
2691
- return (b, m) => (n(), y(t(ma), k(b.$attrs, {
3220
+ setup(e, { emit: n }) {
3221
+ const t = e, s = n, l = N(() => P(`nb-toggle--${t.tone}`, `nb-toggle--${t.size}`));
3222
+ return (c, m) => (o(), y(a(Ga), k(c.$attrs, {
2692
3223
  class: ["nb-root nb-toggle", l.value],
2693
3224
  "model-value": e.modelValue,
2694
3225
  "default-value": e.defaultValue,
@@ -2697,12 +3228,12 @@ const co = ["data-orientation"], bo = /* @__PURE__ */ h({
2697
3228
  "onUpdate:modelValue": m[0] || (m[0] = (i) => s("update:modelValue", i))
2698
3229
  }), {
2699
3230
  default: d(() => [
2700
- _(b.$slots, "default")
3231
+ _(c.$slots, "default")
2701
3232
  ]),
2702
3233
  _: 3
2703
3234
  }, 16, ["class", "model-value", "default-value", "disabled", "aria-label"]));
2704
3235
  }
2705
- }), So = { class: "nb-root nb-field" }, Ao = ["id"], Mo = ["id"], Do = /* @__PURE__ */ h({
3236
+ }), Fs = { class: "nb-root nb-field" }, Hs = ["id"], Ks = ["id"], js = /* @__PURE__ */ v({
2706
3237
  inheritAttrs: !1,
2707
3238
  __name: "NbToggleGroup",
2708
3239
  props: {
@@ -2718,19 +3249,19 @@ const co = ["data-orientation"], bo = /* @__PURE__ */ h({
2718
3249
  id: {}
2719
3250
  },
2720
3251
  emits: ["update:modelValue"],
2721
- setup(e, { emit: o }) {
2722
- const a = e, s = o, l = w("toggle-group", a.id), b = `${l.inputId}-label`, m = N(() => S(a.hint, a.error, l.hintId, l.errorId));
3252
+ setup(e, { emit: n }) {
3253
+ const t = e, s = n, l = w("toggle-group", t.id), c = `${l.inputId}-label`, m = N(() => T(t.hint, t.error, l.hintId, l.errorId));
2723
3254
  function i(r) {
2724
- (typeof r == "string" || Array.isArray(r) && r.every((v) => typeof v == "string")) && s("update:modelValue", r);
3255
+ (typeof r == "string" || Array.isArray(r) && r.every((h) => typeof h == "string")) && s("update:modelValue", r);
2725
3256
  }
2726
- return (r, v) => (n(), u("div", So, [
2727
- e.label ? (n(), u("span", {
3257
+ return (r, h) => (o(), u("div", Fs, [
3258
+ e.label ? (o(), u("span", {
2728
3259
  key: 0,
2729
- id: b,
3260
+ id: c,
2730
3261
  class: "nb-field__label"
2731
3262
  }, p(e.label), 1)) : g("", !0),
2732
- c(t(pa), k(r.$attrs, {
2733
- id: t(l).inputId,
3263
+ b(a(Ea), k(r.$attrs, {
3264
+ id: a(l).inputId,
2734
3265
  class: "nb-toggle-group",
2735
3266
  "model-value": e.modelValue,
2736
3267
  type: e.type,
@@ -2739,7 +3270,7 @@ const co = ["data-orientation"], bo = /* @__PURE__ */ h({
2739
3270
  required: e.required,
2740
3271
  name: e.name,
2741
3272
  "data-orientation": e.orientation,
2742
- "aria-labelledby": e.label ? b : void 0,
3273
+ "aria-labelledby": e.label ? c : void 0,
2743
3274
  "aria-invalid": e.error ? "true" : void 0,
2744
3275
  "aria-describedby": m.value,
2745
3276
  "onUpdate:modelValue": i
@@ -2749,19 +3280,19 @@ const co = ["data-orientation"], bo = /* @__PURE__ */ h({
2749
3280
  ]),
2750
3281
  _: 3
2751
3282
  }, 16, ["id", "model-value", "type", "orientation", "disabled", "required", "name", "data-orientation", "aria-labelledby", "aria-invalid", "aria-describedby"]),
2752
- e.hint ? (n(), u("span", {
3283
+ e.hint ? (o(), u("span", {
2753
3284
  key: 1,
2754
- id: t(l).hintId,
3285
+ id: a(l).hintId,
2755
3286
  class: "nb-field__hint"
2756
- }, p(e.hint), 9, Ao)) : g("", !0),
2757
- e.error ? (n(), u("span", {
3287
+ }, p(e.hint), 9, Hs)) : g("", !0),
3288
+ e.error ? (o(), u("span", {
2758
3289
  key: 2,
2759
- id: t(l).errorId,
3290
+ id: a(l).errorId,
2760
3291
  class: "nb-field__error"
2761
- }, p(e.error), 9, Mo)) : g("", !0)
3292
+ }, p(e.error), 9, Ks)) : g("", !0)
2762
3293
  ]));
2763
3294
  }
2764
- }), Oo = /* @__PURE__ */ h({
3295
+ }), Ws = /* @__PURE__ */ v({
2765
3296
  inheritAttrs: !1,
2766
3297
  __name: "NbToggleGroupItem",
2767
3298
  props: {
@@ -2769,192 +3300,224 @@ const co = ["data-orientation"], bo = /* @__PURE__ */ h({
2769
3300
  disabled: { type: Boolean, default: !1 }
2770
3301
  },
2771
3302
  setup(e) {
2772
- return (o, a) => (n(), y(t(va), k(o.$attrs, {
3303
+ return (n, t) => (o(), y(a(za), k(n.$attrs, {
2773
3304
  class: "nb-toggle-group__item",
2774
3305
  value: e.value,
2775
3306
  disabled: e.disabled
2776
3307
  }), {
2777
3308
  default: d(() => [
2778
- _(o.$slots, "default")
3309
+ _(n.$slots, "default")
2779
3310
  ]),
2780
3311
  _: 3
2781
3312
  }, 16, ["value", "disabled"]));
2782
3313
  }
2783
- }), Po = ["aria-describedby"], Ro = ["id", "hidden"], qo = /* @__PURE__ */ h({
3314
+ }), Js = ["aria-describedby"], Xs = ["id", "hidden"], Qs = /* @__PURE__ */ v({
2784
3315
  __name: "NbTooltip",
2785
3316
  props: {
2786
3317
  content: {}
2787
3318
  },
2788
3319
  setup(e) {
2789
- const o = e, a = C(!1), s = M("tooltip");
3320
+ const n = e, t = x(!1), s = A("tooltip");
2790
3321
  function l() {
2791
- a.value = !0;
3322
+ t.value = !0;
2792
3323
  }
2793
- function b() {
2794
- a.value = !1;
3324
+ function c() {
3325
+ t.value = !1;
2795
3326
  }
2796
3327
  function m(i) {
2797
- i.key === "Escape" && b();
3328
+ i.key === "Escape" && c();
2798
3329
  }
2799
- return (i, r) => (n(), u("span", {
3330
+ return (i, r) => (o(), u("span", {
2800
3331
  class: "nb-root nb-tooltip",
2801
3332
  onMouseenter: l,
2802
- onMouseleave: b
3333
+ onMouseleave: c
2803
3334
  }, [
2804
3335
  f("span", {
2805
3336
  class: "nb-tooltip__trigger",
2806
3337
  tabindex: "0",
2807
- "aria-describedby": t(s),
3338
+ "aria-describedby": a(s),
2808
3339
  onFocus: l,
2809
- onBlur: b,
3340
+ onBlur: c,
2810
3341
  onKeydown: m
2811
3342
  }, [
2812
3343
  _(i.$slots, "default")
2813
- ], 40, Po),
3344
+ ], 40, Js),
2814
3345
  f("span", {
2815
- id: t(s),
3346
+ id: a(s),
2816
3347
  class: "nb-tooltip__content",
2817
3348
  role: "tooltip",
2818
- hidden: !a.value
3349
+ hidden: !t.value
2819
3350
  }, [
2820
3351
  _(i.$slots, "content", {}, () => [
2821
- I(p(o.content), 1)
3352
+ I(p(n.content), 1)
2822
3353
  ])
2823
- ], 8, Ro)
3354
+ ], 8, Xs)
2824
3355
  ], 32));
2825
3356
  }
2826
- }), Go = ha({
2827
- NbAccordion: ga,
2828
- NbAccordionItem: ya,
2829
- NbAlert: fl,
2830
- NbAlertDialog: pl,
2831
- NbAspectRatio: $a,
2832
- NbAvatar: Ia,
2833
- NbBadge: Na,
2834
- NbBreadcrumbs: Ca,
2835
- NbButton: Sa,
2836
- NbButtonGroup: Ma,
2837
- NbCard: Ra,
2838
- NbCheckbox: Ga,
2839
- NbCollapsible: Ea,
2840
- NbCombobox: Xa,
2841
- NbCommand: Wa,
2842
- NbContextMenu: Ya,
2843
- NbContextMenuCheckboxItem: Za,
2844
- NbContextMenuItem: el,
2845
- NbContextMenuLabel: tl,
2846
- NbContextMenuRadioGroup: al,
2847
- NbContextMenuRadioItem: ll,
2848
- NbContextMenuSeparator: nl,
2849
- NbContextMenuShortcut: rl,
2850
- NbContextMenuSub: ul,
2851
- NbDialog: _l,
2852
- NbDropdownMenu: yl,
2853
- NbDropdownMenuItem: $l,
2854
- NbDropdownMenuSeparator: Nl,
2855
- NbEmptyState: Cl,
2856
- NbFieldset: Al,
2857
- NbHoverCard: Fl,
2858
- NbInput: ql,
2859
- NbInputGroup: El,
2860
- NbKbd: Hl,
2861
- NbLink: Kl,
2862
- NbMarker: jl,
2863
- NbNavigationMenu: Wl,
2864
- NbNumberInput: an,
2865
- NbPagination: ln,
2866
- NbPinInput: dn,
2867
- NbPopover: bn,
2868
- NbProgress: pn,
2869
- NbRadioGroup: kn,
2870
- NbRating: Sn,
2871
- NbScrollArea: An,
2872
- NbSheet: Pn,
2873
- NbSelect: Gn,
2874
- NbSelectItem: zn,
2875
- NbSeparator: En,
2876
- NbSkeleton: Qn,
2877
- NbSlider: Jn,
2878
- NbSpinner: Yn,
2879
- NbSwitch: no,
2880
- NbTagsInput: uo,
2881
- NbTable: Bo,
2882
- NbTabs: bo,
2883
- NbTabsContent: mo,
2884
- NbTabsList: vo,
2885
- NbTabsTrigger: go,
2886
- NbTextarea: ko,
2887
- NbToast: wo,
2888
- NbToggle: To,
2889
- NbToggleGroup: Do,
2890
- NbToggleGroupItem: Oo,
2891
- NbTooltip: qo
3357
+ }), ei = Fa({
3358
+ NbAccordion: Ha,
3359
+ NbAccordionItem: ja,
3360
+ NbAlert: Jl,
3361
+ NbAlertDialog: Ql,
3362
+ NbAspectRatio: Wa,
3363
+ NbAvatar: Xa,
3364
+ NbBadge: Ja,
3365
+ NbBreadcrumbs: tl,
3366
+ NbButton: de,
3367
+ NbButtonGroup: ol,
3368
+ NbCarousel: cl,
3369
+ NbCarouselSlide: fl,
3370
+ NbCard: hl,
3371
+ NbCheckbox: $l,
3372
+ NbCollapsible: Il,
3373
+ NbCopyButton: xl,
3374
+ NbCombobox: Sl,
3375
+ NbCommand: Al,
3376
+ NbContextMenu: Dl,
3377
+ NbContextMenuCheckboxItem: Ol,
3378
+ NbContextMenuItem: Pl,
3379
+ NbContextMenuLabel: Rl,
3380
+ NbContextMenuRadioGroup: ql,
3381
+ NbContextMenuRadioItem: Ll,
3382
+ NbContextMenuSeparator: Ul,
3383
+ NbContextMenuShortcut: Hl,
3384
+ NbContextMenuSub: Kl,
3385
+ NbDialog: tn,
3386
+ NbDrawer: on,
3387
+ NbDropdownMenu: sn,
3388
+ NbDropdownMenuItem: dn,
3389
+ NbDropdownMenuSeparator: rn,
3390
+ NbEmptyState: pn,
3391
+ NbField: ue,
3392
+ NbFieldset: gn,
3393
+ NbHoverCard: Dn,
3394
+ NbInput: Vn,
3395
+ NbInputGroup: An,
3396
+ NbKbd: On,
3397
+ NbLabel: re,
3398
+ NbLink: Pn,
3399
+ NbMarker: Rn,
3400
+ NbMenubar: Fn,
3401
+ NbMenubarMenu: Hn,
3402
+ NbMenubarItem: Kn,
3403
+ NbMenubarSeparator: jn,
3404
+ NbMeter: zn,
3405
+ NbNativeSelect: eo,
3406
+ NbNavigationMenu: Qn,
3407
+ NbNumberInput: oo,
3408
+ NbPagination: so,
3409
+ NbPinInput: co,
3410
+ NbPopover: po,
3411
+ NbProgress: _o,
3412
+ NbRadioGroup: Bo,
3413
+ NbRating: Do,
3414
+ NbScrollArea: Oo,
3415
+ NbSheet: Lo,
3416
+ NbSelect: Fo,
3417
+ NbSelectItem: Ho,
3418
+ NbSeparator: Ko,
3419
+ NbSkeleton: Zo,
3420
+ NbSlider: Yo,
3421
+ NbSpinner: ts,
3422
+ NbStepper: as,
3423
+ NbStepperItem: ns,
3424
+ NbSwitch: us,
3425
+ NbTagsInput: ps,
3426
+ NbTable: Ts,
3427
+ NbTabs: hs,
3428
+ NbTabsContent: gs,
3429
+ NbTabsList: $s,
3430
+ NbTabsTrigger: Is,
3431
+ NbTextarea: ws,
3432
+ NbTimeline: Ps,
3433
+ NbTimelineItem: Es,
3434
+ NbToast: Ds,
3435
+ NbToggle: zs,
3436
+ NbToggleGroup: js,
3437
+ NbToggleGroupItem: Ws,
3438
+ NbTooltip: Qs
2892
3439
  });
2893
3440
  export {
2894
- ga as NbAccordion,
2895
- ya as NbAccordionItem,
2896
- fl as NbAlert,
2897
- pl as NbAlertDialog,
2898
- $a as NbAspectRatio,
2899
- Ia as NbAvatar,
2900
- Na as NbBadge,
2901
- Ca as NbBreadcrumbs,
2902
- Sa as NbButton,
2903
- Ma as NbButtonGroup,
2904
- Ra as NbCard,
2905
- Ga as NbCheckbox,
2906
- Ea as NbCollapsible,
2907
- Xa as NbCombobox,
2908
- Wa as NbCommand,
2909
- Ya as NbContextMenu,
2910
- Za as NbContextMenuCheckboxItem,
2911
- el as NbContextMenuItem,
2912
- tl as NbContextMenuLabel,
2913
- al as NbContextMenuRadioGroup,
2914
- ll as NbContextMenuRadioItem,
2915
- nl as NbContextMenuSeparator,
2916
- rl as NbContextMenuShortcut,
2917
- ul as NbContextMenuSub,
2918
- _l as NbDialog,
2919
- yl as NbDropdownMenu,
2920
- $l as NbDropdownMenuItem,
2921
- Nl as NbDropdownMenuSeparator,
2922
- Cl as NbEmptyState,
2923
- Al as NbFieldset,
2924
- Fl as NbHoverCard,
2925
- ql as NbInput,
2926
- El as NbInputGroup,
2927
- Hl as NbKbd,
2928
- Kl as NbLink,
2929
- jl as NbMarker,
2930
- Wl as NbNavigationMenu,
2931
- an as NbNumberInput,
2932
- ln as NbPagination,
2933
- dn as NbPinInput,
2934
- bn as NbPopover,
2935
- pn as NbProgress,
2936
- kn as NbRadioGroup,
2937
- Sn as NbRating,
2938
- An as NbScrollArea,
2939
- Gn as NbSelect,
2940
- zn as NbSelectItem,
2941
- En as NbSeparator,
2942
- Pn as NbSheet,
2943
- Qn as NbSkeleton,
2944
- Jn as NbSlider,
2945
- Yn as NbSpinner,
2946
- no as NbSwitch,
2947
- Bo as NbTable,
2948
- bo as NbTabs,
2949
- mo as NbTabsContent,
2950
- vo as NbTabsList,
2951
- go as NbTabsTrigger,
2952
- uo as NbTagsInput,
2953
- ko as NbTextarea,
2954
- wo as NbToast,
2955
- To as NbToggle,
2956
- Do as NbToggleGroup,
2957
- Oo as NbToggleGroupItem,
2958
- qo as NbTooltip,
2959
- Go as NeoBrutalVue
3441
+ Ha as NbAccordion,
3442
+ ja as NbAccordionItem,
3443
+ Jl as NbAlert,
3444
+ Ql as NbAlertDialog,
3445
+ Wa as NbAspectRatio,
3446
+ Xa as NbAvatar,
3447
+ Ja as NbBadge,
3448
+ tl as NbBreadcrumbs,
3449
+ de as NbButton,
3450
+ ol as NbButtonGroup,
3451
+ hl as NbCard,
3452
+ cl as NbCarousel,
3453
+ fl as NbCarouselSlide,
3454
+ $l as NbCheckbox,
3455
+ Il as NbCollapsible,
3456
+ Sl as NbCombobox,
3457
+ Al as NbCommand,
3458
+ Dl as NbContextMenu,
3459
+ Ol as NbContextMenuCheckboxItem,
3460
+ Pl as NbContextMenuItem,
3461
+ Rl as NbContextMenuLabel,
3462
+ ql as NbContextMenuRadioGroup,
3463
+ Ll as NbContextMenuRadioItem,
3464
+ Ul as NbContextMenuSeparator,
3465
+ Hl as NbContextMenuShortcut,
3466
+ Kl as NbContextMenuSub,
3467
+ xl as NbCopyButton,
3468
+ tn as NbDialog,
3469
+ on as NbDrawer,
3470
+ sn as NbDropdownMenu,
3471
+ dn as NbDropdownMenuItem,
3472
+ rn as NbDropdownMenuSeparator,
3473
+ pn as NbEmptyState,
3474
+ ue as NbField,
3475
+ gn as NbFieldset,
3476
+ Dn as NbHoverCard,
3477
+ Vn as NbInput,
3478
+ An as NbInputGroup,
3479
+ On as NbKbd,
3480
+ re as NbLabel,
3481
+ Pn as NbLink,
3482
+ Rn as NbMarker,
3483
+ Fn as NbMenubar,
3484
+ Kn as NbMenubarItem,
3485
+ Hn as NbMenubarMenu,
3486
+ jn as NbMenubarSeparator,
3487
+ zn as NbMeter,
3488
+ eo as NbNativeSelect,
3489
+ Qn as NbNavigationMenu,
3490
+ oo as NbNumberInput,
3491
+ so as NbPagination,
3492
+ co as NbPinInput,
3493
+ po as NbPopover,
3494
+ _o as NbProgress,
3495
+ Bo as NbRadioGroup,
3496
+ Do as NbRating,
3497
+ Oo as NbScrollArea,
3498
+ Fo as NbSelect,
3499
+ Ho as NbSelectItem,
3500
+ Ko as NbSeparator,
3501
+ Lo as NbSheet,
3502
+ Zo as NbSkeleton,
3503
+ Yo as NbSlider,
3504
+ ts as NbSpinner,
3505
+ as as NbStepper,
3506
+ ns as NbStepperItem,
3507
+ us as NbSwitch,
3508
+ Ts as NbTable,
3509
+ hs as NbTabs,
3510
+ gs as NbTabsContent,
3511
+ $s as NbTabsList,
3512
+ Is as NbTabsTrigger,
3513
+ ps as NbTagsInput,
3514
+ ws as NbTextarea,
3515
+ Ps as NbTimeline,
3516
+ Es as NbTimelineItem,
3517
+ Ds as NbToast,
3518
+ zs as NbToggle,
3519
+ js as NbToggleGroup,
3520
+ Ws as NbToggleGroupItem,
3521
+ Qs as NbTooltip,
3522
+ ei as NeoBrutalVue
2960
3523
  };