@neobrut-vue/core 0.2.0 → 0.4.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 (36) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +71 -4
  3. package/dist/components/NbAlertDialog/NbAlertDialog.vue.d.ts +40 -0
  4. package/dist/components/NbAlertDialog/index.d.ts +1 -0
  5. package/dist/components/NbCollapsible/NbCollapsible.vue.d.ts +31 -0
  6. package/dist/components/NbCollapsible/index.d.ts +1 -0
  7. package/dist/components/NbCommand/NbCommand.vue.d.ts +44 -0
  8. package/dist/components/NbCommand/NbCommandPanel.vue.d.ts +18 -0
  9. package/dist/components/NbCommand/index.d.ts +2 -0
  10. package/dist/components/NbCommand/types.d.ts +8 -0
  11. package/dist/components/NbContextMenu/NbContextMenu.vue.d.ts +29 -0
  12. package/dist/components/NbContextMenu/NbContextMenuCheckboxItem.vue.d.ts +28 -0
  13. package/dist/components/NbContextMenu/NbContextMenuItem.vue.d.ts +28 -0
  14. package/dist/components/NbContextMenu/NbContextMenuLabel.vue.d.ts +17 -0
  15. package/dist/components/NbContextMenu/NbContextMenuRadioGroup.vue.d.ts +24 -0
  16. package/dist/components/NbContextMenu/NbContextMenuRadioItem.vue.d.ts +23 -0
  17. package/dist/components/NbContextMenu/NbContextMenuSeparator.vue.d.ts +2 -0
  18. package/dist/components/NbContextMenu/NbContextMenuShortcut.vue.d.ts +17 -0
  19. package/dist/components/NbContextMenu/NbContextMenuSub.vue.d.ts +23 -0
  20. package/dist/components/NbContextMenu/index.d.ts +9 -0
  21. package/dist/components/NbHoverCard/NbHoverCard.vue.d.ts +37 -0
  22. package/dist/components/NbHoverCard/index.d.ts +1 -0
  23. package/dist/components/NbNavigationMenu/NbNavigationMenu.vue.d.ts +25 -0
  24. package/dist/components/NbNavigationMenu/index.d.ts +2 -0
  25. package/dist/components/NbPinInput/NbPinInput.vue.d.ts +28 -0
  26. package/dist/components/NbPinInput/index.d.ts +1 -0
  27. package/dist/components/NbRating/NbRating.vue.d.ts +21 -0
  28. package/dist/components/NbRating/index.d.ts +1 -0
  29. package/dist/components/NbSheet/NbSheet.vue.d.ts +35 -0
  30. package/dist/components/NbSheet/index.d.ts +2 -0
  31. package/dist/components/NbTagsInput/NbTagsInput.vue.d.ts +22 -0
  32. package/dist/components/NbTagsInput/index.d.ts +1 -0
  33. package/dist/index.d.ts +14 -1
  34. package/dist/neobrut-vue.css +1 -1
  35. package/dist/neobrut-vue.js +1766 -777
  36. package/package.json +1 -1
@@ -1,13 +1,13 @@
1
- import { defineComponent as v, openBlock as o, createBlock as N, unref as a, withCtx as u, renderSlot as _, createVNode as m, createElementVNode as c, toDisplayString as p, computed as $, createElementBlock as i, normalizeClass as B, createCommentVNode as h, createTextVNode as V, Fragment as P, renderList as D, mergeProps as k, ref as x, watch as M, onBeforeUnmount as F, withModifiers as K, nextTick as j, useSlots as H, resolveDynamicComponent as J, normalizeStyle as O, inject as X, provide as Q, withDirectives as W, vShow as Y } from "vue";
2
- import { AccordionRoot as Z, AccordionItem as ee, AccordionHeader as te, AccordionTrigger as ae, AccordionContent as le, AspectRatio as ne, AvatarRoot as oe, AvatarImage as se, AvatarFallback as ie, ComboboxRoot as de, ComboboxAnchor as re, ComboboxInput as ue, ComboboxTrigger as ce, ComboboxPortal as be, ComboboxContent as fe, ComboboxViewport as me, ComboboxEmpty as pe, ComboboxItem as he, ComboboxItemIndicator as ve, DropdownMenuRoot as ge, DropdownMenuTrigger as _e, DropdownMenuPortal as ye, DropdownMenuContent as $e, DropdownMenuItem as Ne, DropdownMenuSeparator as ke, NumberFieldRoot as Ie, NumberFieldDecrement as Be, NumberFieldInput as Ve, NumberFieldIncrement as we, PaginationRoot as xe, PaginationPrev as Se, PaginationList as Te, PaginationListItem as Ae, PaginationEllipsis as Ce, PaginationNext as Pe, PopoverRoot as De, PopoverTrigger as Me, PopoverPortal as Re, PopoverContent as qe, PopoverClose as Oe, ProgressRoot as Ee, ProgressIndicator as Ge, ScrollAreaRoot as ze, ScrollAreaViewport as Le, ScrollAreaScrollbar as Ue, ScrollAreaThumb as Fe, SelectRoot as Ke, SelectTrigger as je, SelectValue as He, SelectIcon as Je, SelectPortal as Xe, SelectContent as Qe, SelectScrollUpButton as We, SelectViewport as Ye, SelectScrollDownButton as Ze, SelectItem as et, SelectItemText as tt, SelectItemIndicator as at, Separator as lt, SliderRoot as nt, SliderTrack as ot, SliderRange as st, SliderThumb as it, ToastProvider as dt, ToastRoot as rt, ToastTitle as ut, ToastDescription as ct, ToastClose as bt, ToastViewport as ft, Toggle as mt, ToggleGroupRoot as pt, ToggleGroupItem as ht } from "reka-ui";
3
- function vt(e) {
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) {
4
4
  return {
5
- install(n) {
6
- Object.entries(e).forEach(([t, s]) => n.component(t, s));
5
+ install(o) {
6
+ Object.entries(e).forEach(([a, s]) => o.component(a, s));
7
7
  }
8
8
  };
9
9
  }
10
- const gt = /* @__PURE__ */ v({
10
+ const ga = /* @__PURE__ */ h({
11
11
  __name: "NbAccordion",
12
12
  props: {
13
13
  modelValue: {},
@@ -16,24 +16,24 @@ const gt = /* @__PURE__ */ v({
16
16
  disabled: { type: Boolean, default: !1 }
17
17
  },
18
18
  emits: ["update:modelValue"],
19
- setup(e, { emit: n }) {
20
- const t = n;
21
- return (s, l) => (o(), N(a(Z), {
19
+ setup(e, { emit: o }) {
20
+ const a = o;
21
+ return (s, l) => (n(), y(t(ve), {
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) => t("update:modelValue", b))
28
+ "onUpdate:modelValue": l[0] || (l[0] = (b) => a("update:modelValue", b))
29
29
  }, {
30
- default: u(() => [
30
+ default: d(() => [
31
31
  _(s.$slots, "default")
32
32
  ]),
33
33
  _: 3
34
34
  }, 8, ["model-value", "default-value", "collapsible", "disabled"]));
35
35
  }
36
- }), _t = { class: "nb-accordion__body" }, yt = /* @__PURE__ */ v({
36
+ }), _a = { class: "nb-accordion__body" }, ya = /* @__PURE__ */ h({
37
37
  __name: "NbAccordionItem",
38
38
  props: {
39
39
  value: {},
@@ -41,24 +41,24 @@ const gt = /* @__PURE__ */ v({
41
41
  disabled: { type: Boolean, default: !1 }
42
42
  },
43
43
  setup(e) {
44
- return (n, t) => (o(), N(a(ee), {
44
+ return (o, a) => (n(), y(t(he), {
45
45
  class: "nb-accordion__item",
46
46
  value: e.value,
47
47
  disabled: e.disabled
48
48
  }, {
49
- default: u(() => [
50
- m(a(te), { class: "nb-accordion__header" }, {
51
- default: u(() => [
52
- m(a(ae), { class: "nb-accordion__trigger" }, {
53
- default: u(() => [
54
- c("span", null, p(e.title), 1),
55
- t[0] || (t[0] = c("svg", {
49
+ default: d(() => [
50
+ c(t(ge), { class: "nb-accordion__header" }, {
51
+ default: d(() => [
52
+ c(t(_e), { class: "nb-accordion__trigger" }, {
53
+ default: d(() => [
54
+ f("span", null, p(e.title), 1),
55
+ a[0] || (a[0] = f("svg", {
56
56
  class: "nb-accordion__icon",
57
57
  viewBox: "0 0 16 16",
58
58
  "aria-hidden": "true",
59
59
  focusable: "false"
60
60
  }, [
61
- c("path", { d: "m3 6 5 5 5-5" })
61
+ f("path", { d: "m3 6 5 5 5-5" })
62
62
  ], -1))
63
63
  ]),
64
64
  _: 1
@@ -66,10 +66,10 @@ const gt = /* @__PURE__ */ v({
66
66
  ]),
67
67
  _: 1
68
68
  }),
69
- m(a(le), { class: "nb-accordion__content" }, {
70
- default: u(() => [
71
- c("div", _t, [
72
- _(n.$slots, "default")
69
+ c(t(ye), { class: "nb-accordion__content" }, {
70
+ default: d(() => [
71
+ f("div", _a, [
72
+ _(o.$slots, "default")
73
73
  ])
74
74
  ]),
75
75
  _: 3
@@ -78,41 +78,41 @@ const gt = /* @__PURE__ */ v({
78
78
  _: 3
79
79
  }, 8, ["value", "disabled"]));
80
80
  }
81
- }), $t = /* @__PURE__ */ v({
81
+ }), $a = /* @__PURE__ */ h({
82
82
  __name: "NbAspectRatio",
83
83
  props: {
84
84
  ratio: { default: 1 }
85
85
  },
86
86
  setup(e) {
87
- return (n, t) => (o(), N(a(ne), {
87
+ return (o, a) => (n(), y(t($e), {
88
88
  class: "nb-root nb-aspect-ratio",
89
89
  ratio: e.ratio
90
90
  }, {
91
- default: u(() => [
92
- _(n.$slots, "default")
91
+ default: d(() => [
92
+ _(o.$slots, "default")
93
93
  ]),
94
94
  _: 3
95
95
  }, 8, ["ratio"]));
96
96
  }
97
97
  });
98
- function C(...e) {
98
+ function O(...e) {
99
99
  return e.filter(Boolean).join(" ");
100
100
  }
101
- const Nt = /* @__PURE__ */ v({
101
+ const Na = /* @__PURE__ */ h({
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 n = e, t = $(() => C(`nb-badge--${n.tone}`, `nb-badge--${n.size}`));
109
- return (s, l) => (o(), i("span", {
110
- class: B(["nb-root nb-badge", t.value])
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])
111
111
  }, [
112
112
  _(s.$slots, "default")
113
113
  ], 2));
114
114
  }
115
- }), kt = /* @__PURE__ */ v({
115
+ }), Ia = /* @__PURE__ */ h({
116
116
  __name: "NbAvatar",
117
117
  props: {
118
118
  name: {},
@@ -121,26 +121,26 @@ const Nt = /* @__PURE__ */ v({
121
121
  tone: { default: "primary" }
122
122
  },
123
123
  setup(e) {
124
- const n = e, t = $(() => n.name.trim().split(/\s+/).slice(0, 2).map((s) => s[0]?.toUpperCase()).join(""));
125
- return (s, l) => (o(), N(a(oe), {
126
- class: B(["nb-root nb-avatar", [`nb-avatar--${e.size}`, `nb-avatar--${e.tone}`]]),
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}`]]),
127
127
  role: "img",
128
128
  "aria-label": e.name
129
129
  }, {
130
- default: u(() => [
131
- e.src ? (o(), N(a(se), {
130
+ default: d(() => [
131
+ e.src ? (n(), y(t(Ie), {
132
132
  key: 0,
133
133
  class: "nb-avatar__image",
134
134
  src: e.src,
135
135
  alt: "",
136
136
  "aria-hidden": "true"
137
- }, null, 8, ["src"])) : h("", !0),
138
- m(a(ie), {
137
+ }, null, 8, ["src"])) : g("", !0),
138
+ c(t(ke), {
139
139
  class: "nb-avatar__fallback",
140
140
  "aria-hidden": "true"
141
141
  }, {
142
- default: u(() => [
143
- V(p(t.value), 1)
142
+ default: d(() => [
143
+ I(p(a.value), 1)
144
144
  ]),
145
145
  _: 1
146
146
  })
@@ -148,46 +148,46 @@ const Nt = /* @__PURE__ */ v({
148
148
  _: 1
149
149
  }, 8, ["class", "aria-label"]));
150
150
  }
151
- }), It = ["aria-label"], Bt = ["href"], Vt = ["aria-current"], wt = {
151
+ }), ka = ["aria-label"], xa = ["href"], Va = ["aria-current"], Ba = {
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
- }, xt = /* @__PURE__ */ v({
157
+ }, Ca = /* @__PURE__ */ h({
158
158
  __name: "NbBreadcrumbs",
159
159
  props: {
160
160
  items: {},
161
161
  label: { default: "Breadcrumb" }
162
162
  },
163
163
  setup(e) {
164
- return (n, t) => (o(), i("nav", {
164
+ return (o, a) => (n(), u("nav", {
165
165
  class: "nb-root nb-breadcrumbs",
166
166
  "aria-label": e.label
167
167
  }, [
168
- c("ol", null, [
169
- (o(!0), i(P, null, D(e.items, (s, l) => (o(), i("li", {
168
+ f("ol", null, [
169
+ (n(!0), u(B, null, T(e.items, (s, l) => (n(), u("li", {
170
170
  key: `${s.label}-${l}`
171
171
  }, [
172
- s.href && l < e.items.length - 1 ? (o(), i("a", {
172
+ s.href && l < e.items.length - 1 ? (n(), u("a", {
173
173
  key: 0,
174
174
  href: s.href
175
- }, p(s.label), 9, Bt)) : (o(), i("span", {
175
+ }, p(s.label), 9, xa)) : (n(), u("span", {
176
176
  key: 1,
177
177
  "aria-current": l === e.items.length - 1 ? "page" : void 0
178
- }, p(s.label), 9, Vt)),
179
- l < e.items.length - 1 ? (o(), i("svg", wt, [...t[0] || (t[0] = [
180
- c("path", { d: "m6 3 5 5-5 5" }, null, -1)
181
- ])])) : h("", !0)
178
+ }, p(s.label), 9, Va)),
179
+ l < e.items.length - 1 ? (n(), u("svg", Ba, [...a[0] || (a[0] = [
180
+ f("path", { d: "m6 3 5 5-5 5" }, null, -1)
181
+ ])])) : g("", !0)
182
182
  ]))), 128))
183
183
  ])
184
- ], 8, It));
184
+ ], 8, ka));
185
185
  }
186
- }), St = ["type", "disabled", "aria-busy"], Tt = {
186
+ }), wa = ["type", "disabled", "aria-busy"], Ta = {
187
187
  key: 0,
188
188
  class: "nb-button__loader",
189
189
  "aria-hidden": "true"
190
- }, At = /* @__PURE__ */ v({
190
+ }, Sa = /* @__PURE__ */ h({
191
191
  inheritAttrs: !1,
192
192
  __name: "NbButton",
193
193
  props: {
@@ -198,46 +198,46 @@ const Nt = /* @__PURE__ */ v({
198
198
  disabled: { type: Boolean, default: !1 }
199
199
  },
200
200
  setup(e) {
201
- const n = e, t = $(() => C(
202
- `nb-button--${n.variant}`,
203
- `nb-button--${n.size}`,
204
- n.loading && "is-loading"
201
+ const o = e, a = N(() => O(
202
+ `nb-button--${o.variant}`,
203
+ `nb-button--${o.size}`,
204
+ o.loading && "is-loading"
205
205
  ));
206
- return (s, l) => (o(), i("button", k(s.$attrs, {
207
- class: ["nb-root nb-button", t.value],
206
+ return (s, l) => (n(), u("button", k(s.$attrs, {
207
+ class: ["nb-root nb-button", a.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 ? (o(), i("span", Tt, "✦")) : h("", !0),
213
- c("span", null, [
212
+ e.loading ? (n(), u("span", Ta, "✦")) : g("", !0),
213
+ f("span", null, [
214
214
  _(s.$slots, "default")
215
215
  ])
216
- ], 16, St));
216
+ ], 16, wa));
217
217
  }
218
- }), Ct = ["aria-label", "data-orientation"], Pt = /* @__PURE__ */ v({
218
+ }), Aa = ["aria-label", "data-orientation"], Ma = /* @__PURE__ */ h({
219
219
  __name: "NbButtonGroup",
220
220
  props: {
221
221
  orientation: { default: "horizontal" },
222
222
  label: {}
223
223
  },
224
224
  setup(e) {
225
- return (n, t) => (o(), i("div", {
225
+ return (o, a) => (n(), 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
- _(n.$slots, "default")
232
- ], 8, Ct));
231
+ _(o.$slots, "default")
232
+ ], 8, Aa));
233
233
  }
234
- }), Dt = {
234
+ }), Da = {
235
235
  key: 0,
236
236
  class: "nb-card__header"
237
- }, Mt = { class: "nb-card__body" }, Rt = {
237
+ }, Oa = { class: "nb-card__body" }, Pa = {
238
238
  key: 1,
239
239
  class: "nb-card__footer"
240
- }, qt = /* @__PURE__ */ v({
240
+ }, Ra = /* @__PURE__ */ h({
241
241
  inheritAttrs: !1,
242
242
  __name: "NbCard",
243
243
  props: {
@@ -245,41 +245,41 @@ const Nt = /* @__PURE__ */ v({
245
245
  interactive: { type: Boolean, default: !1 }
246
246
  },
247
247
  setup(e) {
248
- const n = e, t = $(() => C(
249
- `nb-card--${n.tone}`,
250
- n.interactive && "nb-card--interactive"
248
+ const o = e, a = N(() => O(
249
+ `nb-card--${o.tone}`,
250
+ o.interactive && "nb-card--interactive"
251
251
  ));
252
- return (s, l) => (o(), i("article", k(s.$attrs, {
253
- class: ["nb-root nb-card", t.value]
252
+ return (s, l) => (n(), u("article", k(s.$attrs, {
253
+ class: ["nb-root nb-card", a.value]
254
254
  }), [
255
- s.$slots.header ? (o(), i("header", Dt, [
255
+ s.$slots.header ? (n(), u("header", Da, [
256
256
  _(s.$slots, "header")
257
- ])) : h("", !0),
258
- c("div", Mt, [
257
+ ])) : g("", !0),
258
+ f("div", Oa, [
259
259
  _(s.$slots, "default")
260
260
  ]),
261
- s.$slots.footer ? (o(), i("footer", Rt, [
261
+ s.$slots.footer ? (n(), u("footer", Pa, [
262
262
  _(s.$slots, "footer")
263
- ])) : h("", !0)
263
+ ])) : g("", !0)
264
264
  ], 16));
265
265
  }
266
266
  });
267
- let L = 0;
268
- function S(e = "nb") {
269
- return L += 1, `${e}-${L}`;
267
+ let E = 0;
268
+ function M(e = "nb") {
269
+ return E += 1, `${e}-${E}`;
270
270
  }
271
- function w(e, n) {
272
- const t = n ?? S(e);
271
+ function w(e, o) {
272
+ const a = o ?? M(e);
273
273
  return {
274
- inputId: t,
275
- hintId: `${t}-hint`,
276
- errorId: `${t}-error`
274
+ inputId: a,
275
+ hintId: `${a}-hint`,
276
+ errorId: `${a}-error`
277
277
  };
278
278
  }
279
- function A(e, n, t, s) {
280
- return [e && t, n && s].filter(Boolean).join(" ") || void 0;
279
+ function S(e, o, a, s) {
280
+ return [e && a, o && s].filter(Boolean).join(" ") || void 0;
281
281
  }
282
- const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkbox__label" }, zt = /* @__PURE__ */ v({
282
+ const qa = ["for"], Ua = ["id", "checked", "disabled"], La = { class: "nb-checkbox__label" }, Ga = /* @__PURE__ */ h({
283
283
  inheritAttrs: !1,
284
284
  __name: "NbCheckbox",
285
285
  props: {
@@ -289,28 +289,73 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
289
289
  id: {}
290
290
  },
291
291
  emits: ["update:modelValue"],
292
- setup(e, { emit: n }) {
293
- const t = e, s = n, l = w("checkbox", t.id);
294
- return (b, f) => (o(), i("label", {
292
+ setup(e, { emit: o }) {
293
+ const a = e, s = o, l = w("checkbox", a.id);
294
+ return (b, m) => (n(), u("label", {
295
295
  class: "nb-root nb-checkbox",
296
- for: a(l).inputId
296
+ for: t(l).inputId
297
297
  }, [
298
- c("input", k(b.$attrs, {
299
- id: a(l).inputId,
298
+ f("input", k(b.$attrs, {
299
+ id: t(l).inputId,
300
300
  class: "nb-checkbox__input",
301
301
  type: "checkbox",
302
302
  checked: e.modelValue,
303
303
  disabled: e.disabled,
304
- onChange: f[0] || (f[0] = (d) => s("update:modelValue", d.target.checked))
305
- }), null, 16, Et),
306
- f[1] || (f[1] = c("span", {
304
+ onChange: m[0] || (m[0] = (i) => s("update:modelValue", i.target.checked))
305
+ }), null, 16, Ua),
306
+ m[1] || (m[1] = f("span", {
307
307
  class: "nb-checkbox__box",
308
308
  "aria-hidden": "true"
309
309
  }, "✓", -1)),
310
- c("span", Gt, p(e.label), 1)
311
- ], 8, Ot));
310
+ f("span", La, p(e.label), 1)
311
+ ], 8, qa));
312
312
  }
313
- }), Lt = { class: "nb-root nb-field" }, Ut = ["for"], Ft = ["id"], Kt = ["id"], jt = /* @__PURE__ */ v({
313
+ }), za = { class: "nb-collapsible__body" }, Ea = /* @__PURE__ */ h({
314
+ __name: "NbCollapsible",
315
+ props: {
316
+ title: {},
317
+ open: { type: Boolean, default: void 0 },
318
+ defaultOpen: { type: Boolean, default: !1 },
319
+ disabled: { type: Boolean, default: !1 }
320
+ },
321
+ emits: ["update:open"],
322
+ setup(e, { emit: o }) {
323
+ const a = o;
324
+ return (s, l) => (n(), y(t(xe), {
325
+ class: "nb-root nb-collapsible",
326
+ open: e.open,
327
+ "default-open": e.defaultOpen,
328
+ disabled: e.disabled,
329
+ "onUpdate:open": l[0] || (l[0] = (b) => a("update:open", b))
330
+ }, {
331
+ default: d(() => [
332
+ c(t(Ve), { class: "nb-collapsible__trigger" }, {
333
+ default: d(() => [
334
+ f("span", null, p(e.title), 1),
335
+ l[1] || (l[1] = f("svg", {
336
+ class: "nb-collapsible__icon",
337
+ viewBox: "0 0 16 16",
338
+ "aria-hidden": "true",
339
+ focusable: "false"
340
+ }, [
341
+ f("path", { d: "m3 6 5 5 5-5" })
342
+ ], -1))
343
+ ]),
344
+ _: 1
345
+ }),
346
+ c(t(Be), { class: "nb-collapsible__content" }, {
347
+ default: d(() => [
348
+ f("div", za, [
349
+ _(s.$slots, "default")
350
+ ])
351
+ ]),
352
+ _: 3
353
+ })
354
+ ]),
355
+ _: 3
356
+ }, 8, ["open", "default-open", "disabled"]));
357
+ }
358
+ }), Fa = { class: "nb-root nb-field" }, Ha = ["for"], Ka = ["id"], ja = ["id"], Xa = /* @__PURE__ */ h({
314
359
  inheritAttrs: !1,
315
360
  __name: "NbCombobox",
316
361
  props: {
@@ -327,50 +372,50 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
327
372
  id: {}
328
373
  },
329
374
  emits: ["update:modelValue"],
330
- setup(e, { emit: n }) {
331
- const t = e, s = n, l = w("combobox", t.id), b = $(() => A(t.hint, t.error, l.hintId, l.errorId));
332
- function f(r) {
333
- return t.options.find((g) => g.value === r)?.label ?? "";
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));
377
+ function m(r) {
378
+ return a.options.find((v) => v.value === r)?.label ?? "";
334
379
  }
335
- function d(r) {
380
+ function i(r) {
336
381
  typeof r == "string" && s("update:modelValue", r);
337
382
  }
338
- return (r, g) => (o(), i("div", Lt, [
339
- e.label ? (o(), i("label", {
383
+ return (r, v) => (n(), u("div", Fa, [
384
+ e.label ? (n(), u("label", {
340
385
  key: 0,
341
386
  class: "nb-field__label",
342
- for: a(l).inputId
343
- }, p(e.label), 9, Ut)) : h("", !0),
344
- m(a(de), {
387
+ for: t(l).inputId
388
+ }, p(e.label), 9, Ha)) : g("", !0),
389
+ c(t(H), {
345
390
  "model-value": e.modelValue,
346
391
  disabled: e.disabled,
347
392
  required: e.required,
348
393
  name: e.name,
349
394
  "open-on-click": "",
350
- "onUpdate:modelValue": d
395
+ "onUpdate:modelValue": i
351
396
  }, {
352
- default: u(() => [
353
- m(a(re), { class: "nb-combobox__anchor" }, {
354
- default: u(() => [
355
- m(a(ue), k(r.$attrs, {
356
- id: a(l).inputId,
397
+ default: d(() => [
398
+ c(t(K), { class: "nb-combobox__anchor" }, {
399
+ default: d(() => [
400
+ c(t(j), k(r.$attrs, {
401
+ id: t(l).inputId,
357
402
  class: "nb-combobox__input",
358
- "display-value": f,
403
+ "display-value": m,
359
404
  placeholder: e.placeholder,
360
405
  "aria-invalid": e.error ? "true" : void 0,
361
406
  "aria-describedby": b.value
362
407
  }), null, 16, ["id", "placeholder", "aria-invalid", "aria-describedby"]),
363
- m(a(ce), {
408
+ c(t(Ce), {
364
409
  class: "nb-combobox__trigger",
365
410
  "aria-label": "Show options"
366
411
  }, {
367
- default: u(() => [...g[0] || (g[0] = [
368
- c("svg", {
412
+ default: d(() => [...v[0] || (v[0] = [
413
+ f("svg", {
369
414
  viewBox: "0 0 16 16",
370
415
  "aria-hidden": "true",
371
416
  focusable: "false"
372
417
  }, [
373
- c("path", { d: "m3 6 5 5 5-5" })
418
+ f("path", { d: "m3 6 5 5 5-5" })
374
419
  ], -1)
375
420
  ])]),
376
421
  _: 1
@@ -378,43 +423,43 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
378
423
  ]),
379
424
  _: 1
380
425
  }),
381
- m(a(be), null, {
382
- default: u(() => [
383
- m(a(fe), {
426
+ c(t(we), null, {
427
+ default: d(() => [
428
+ c(t(X), {
384
429
  class: "nb-root nb-combobox__content",
385
430
  position: "popper",
386
431
  align: "start",
387
432
  "side-offset": 5
388
433
  }, {
389
- default: u(() => [
390
- m(a(me), { class: "nb-combobox__viewport" }, {
391
- default: u(() => [
392
- m(a(pe), { class: "nb-combobox__empty" }, {
393
- default: u(() => [
394
- V(p(e.emptyText), 1)
434
+ default: d(() => [
435
+ c(t(J), { class: "nb-combobox__viewport" }, {
436
+ default: d(() => [
437
+ c(t(Q), { class: "nb-combobox__empty" }, {
438
+ default: d(() => [
439
+ I(p(e.emptyText), 1)
395
440
  ]),
396
441
  _: 1
397
442
  }),
398
- (o(!0), i(P, null, D(e.options, (y) => (o(), N(a(he), {
399
- key: y.value,
443
+ (n(!0), u(B, null, T(e.options, ($) => (n(), y(t(W), {
444
+ key: $.value,
400
445
  class: "nb-combobox__item",
401
- value: y.value,
402
- "text-value": y.label,
403
- disabled: y.disabled,
404
- "data-value": y.value
446
+ value: $.value,
447
+ "text-value": $.label,
448
+ disabled: $.disabled,
449
+ "data-value": $.value
405
450
  }, {
406
- default: u(() => [
407
- c("span", null, p(y.label), 1),
408
- m(a(ve), {
451
+ default: d(() => [
452
+ f("span", null, p($.label), 1),
453
+ c(t(Te), {
409
454
  class: "nb-combobox__indicator",
410
455
  "aria-hidden": "true"
411
456
  }, {
412
- default: u(() => [...g[1] || (g[1] = [
413
- c("svg", {
457
+ default: d(() => [...v[1] || (v[1] = [
458
+ f("svg", {
414
459
  viewBox: "0 0 16 16",
415
460
  focusable: "false"
416
461
  }, [
417
- c("path", { d: "m3 8 3 3 7-7" })
462
+ f("path", { d: "m3 8 3 3 7-7" })
418
463
  ], -1)
419
464
  ])]),
420
465
  _: 1
@@ -434,19 +479,425 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
434
479
  ]),
435
480
  _: 1
436
481
  }, 8, ["model-value", "disabled", "required", "name"]),
437
- e.hint ? (o(), i("span", {
482
+ e.hint ? (n(), u("span", {
438
483
  key: 1,
439
- id: a(l).hintId,
484
+ id: t(l).hintId,
440
485
  class: "nb-field__hint"
441
- }, p(e.hint), 9, Ft)) : h("", !0),
442
- e.error ? (o(), i("span", {
486
+ }, p(e.hint), 9, Ka)) : g("", !0),
487
+ e.error ? (n(), u("span", {
443
488
  key: 2,
444
- id: a(l).errorId,
489
+ id: t(l).errorId,
445
490
  class: "nb-field__error"
446
- }, p(e.error), 9, Kt)) : h("", !0)
491
+ }, p(e.error), 9, ja)) : g("", !0)
447
492
  ]));
448
493
  }
449
- }), Ht = { class: "nb-alert__content" }, Jt = { key: 0 }, Xt = /* @__PURE__ */ v({
494
+ }), Ja = {
495
+ key: 0,
496
+ class: "nb-command__shortcut",
497
+ "aria-hidden": "true"
498
+ }, F = /* @__PURE__ */ h({
499
+ __name: "NbCommandPanel",
500
+ props: {
501
+ modelValue: { default: "" },
502
+ options: {},
503
+ label: {},
504
+ placeholder: {},
505
+ emptyText: {}
506
+ },
507
+ emits: ["update:modelValue", "select"],
508
+ setup(e, { emit: o }) {
509
+ const a = e, s = o, l = N(() => {
510
+ const m = /* @__PURE__ */ new Map();
511
+ for (const i of a.options) {
512
+ const r = i.group ?? "";
513
+ m.set(r, [...m.get(r) ?? [], i]);
514
+ }
515
+ return Array.from(m, ([i, r]) => ({ label: i, options: r }));
516
+ });
517
+ function b(m) {
518
+ if (typeof m != "string") return;
519
+ const i = a.options.find((r) => r.value === m);
520
+ i && (s("update:modelValue", m), s("select", i));
521
+ }
522
+ return (m, i) => (n(), y(t(H), {
523
+ class: "nb-command",
524
+ "model-value": e.modelValue,
525
+ open: !0,
526
+ "reset-search-term-on-select": !1,
527
+ "onUpdate:modelValue": b
528
+ }, {
529
+ default: d(() => [
530
+ c(t(K), { class: "nb-command__search" }, {
531
+ default: d(() => [
532
+ i[0] || (i[0] = f("svg", {
533
+ viewBox: "0 0 20 20",
534
+ "aria-hidden": "true",
535
+ focusable: "false"
536
+ }, [
537
+ f("circle", {
538
+ cx: "8.5",
539
+ cy: "8.5",
540
+ r: "5.5"
541
+ }),
542
+ f("path", { d: "m13 13 4 4" })
543
+ ], -1)),
544
+ c(t(j), {
545
+ class: "nb-command__input",
546
+ "aria-label": e.label,
547
+ placeholder: e.placeholder,
548
+ "display-value": () => ""
549
+ }, null, 8, ["aria-label", "placeholder"])
550
+ ]),
551
+ _: 1
552
+ }),
553
+ c(t(X), { class: "nb-command__content" }, {
554
+ default: d(() => [
555
+ c(t(J), { class: "nb-command__viewport" }, {
556
+ default: d(() => [
557
+ c(t(Q), { class: "nb-command__empty" }, {
558
+ default: d(() => [
559
+ I(p(e.emptyText), 1)
560
+ ]),
561
+ _: 1
562
+ }),
563
+ (n(!0), u(B, null, T(l.value, (r) => (n(), y(t(Se), {
564
+ key: r.label || "default",
565
+ class: "nb-command__group"
566
+ }, {
567
+ default: d(() => [
568
+ r.label ? (n(), y(t(Ae), {
569
+ key: 0,
570
+ class: "nb-command__group-label"
571
+ }, {
572
+ default: d(() => [
573
+ I(p(r.label), 1)
574
+ ]),
575
+ _: 2
576
+ }, 1024)) : g("", !0),
577
+ (n(!0), u(B, null, T(r.options, (v) => (n(), y(t(W), {
578
+ key: v.value,
579
+ 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
584
+ }, {
585
+ default: d(() => [
586
+ f("span", null, p(v.label), 1),
587
+ v.shortcut ? (n(), u("span", Ja, p(v.shortcut), 1)) : g("", !0)
588
+ ]),
589
+ _: 2
590
+ }, 1032, ["value", "text-value", "disabled", "data-value"]))), 128))
591
+ ]),
592
+ _: 2
593
+ }, 1024))), 128))
594
+ ]),
595
+ _: 1
596
+ })
597
+ ]),
598
+ _: 1
599
+ })
600
+ ]),
601
+ _: 1
602
+ }, 8, ["model-value"]));
603
+ }
604
+ }), Qa = { class: "nb-command-dialog__header" }, Wa = /* @__PURE__ */ h({
605
+ __name: "NbCommand",
606
+ props: {
607
+ modelValue: { default: "" },
608
+ options: {},
609
+ label: { default: "Command menu" },
610
+ placeholder: { default: "Type a command or search…" },
611
+ emptyText: { default: "No commands found" },
612
+ dialog: { type: Boolean, default: !1 },
613
+ open: { type: Boolean, default: void 0 },
614
+ defaultOpen: { type: Boolean, default: !1 }
615
+ },
616
+ 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) => {
620
+ r !== void 0 && (l.value = r);
621
+ });
622
+ function m(r) {
623
+ l.value = r, s("update:open", r);
624
+ }
625
+ function i(r) {
626
+ s("select", r), a.dialog && m(!1);
627
+ }
628
+ return (r, v) => e.dialog ? (n(), y(t(Y), {
629
+ key: 0,
630
+ open: b.value,
631
+ "onUpdate:open": m
632
+ }, {
633
+ default: d(() => [
634
+ c(t(Z), { class: "nb-root nb-overlay-trigger" }, {
635
+ default: d(() => [
636
+ _(r.$slots, "trigger")
637
+ ]),
638
+ _: 3
639
+ }),
640
+ c(t(ee), null, {
641
+ default: d(() => [
642
+ c(t(te), { class: "nb-root nb-command-dialog__overlay" }),
643
+ c(t(ae), {
644
+ "aria-describedby": void 0,
645
+ class: "nb-root nb-command-dialog"
646
+ }, {
647
+ default: d(() => [
648
+ f("header", Qa, [
649
+ c(t(le), { class: "nb-command-dialog__title" }, {
650
+ default: d(() => [
651
+ I(p(e.label), 1)
652
+ ]),
653
+ _: 1
654
+ }),
655
+ c(t(ne), {
656
+ class: "nb-overlay-close",
657
+ "aria-label": "Close command menu"
658
+ }, {
659
+ default: d(() => [...v[2] || (v[2] = [
660
+ I("×", -1)
661
+ ])]),
662
+ _: 1
663
+ })
664
+ ]),
665
+ c(F, {
666
+ "model-value": e.modelValue,
667
+ options: e.options,
668
+ label: e.label,
669
+ placeholder: e.placeholder,
670
+ "empty-text": e.emptyText,
671
+ "onUpdate:modelValue": v[0] || (v[0] = ($) => s("update:modelValue", $)),
672
+ onSelect: i
673
+ }, null, 8, ["model-value", "options", "label", "placeholder", "empty-text"])
674
+ ]),
675
+ _: 1
676
+ })
677
+ ]),
678
+ _: 1
679
+ })
680
+ ]),
681
+ _: 3
682
+ }, 8, ["open"])) : (n(), y(F, {
683
+ key: 1,
684
+ class: "nb-root",
685
+ "model-value": e.modelValue,
686
+ options: e.options,
687
+ label: e.label,
688
+ placeholder: e.placeholder,
689
+ "empty-text": e.emptyText,
690
+ "onUpdate:modelValue": v[1] || (v[1] = ($) => s("update:modelValue", $)),
691
+ onSelect: i
692
+ }, null, 8, ["model-value", "options", "label", "placeholder", "empty-text"]));
693
+ }
694
+ }), Ya = /* @__PURE__ */ h({
695
+ __name: "NbContextMenu",
696
+ props: {
697
+ open: { type: Boolean, default: void 0 },
698
+ defaultOpen: { type: Boolean, default: !1 }
699
+ },
700
+ 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) => {
704
+ i !== void 0 && (l.value = i);
705
+ });
706
+ function m(i) {
707
+ l.value = i, s("update:open", i);
708
+ }
709
+ return (i, r) => (n(), y(t(Me), {
710
+ open: b.value,
711
+ "onUpdate:open": m
712
+ }, {
713
+ default: d(() => [
714
+ c(t(De), { "as-child": "" }, {
715
+ default: d(() => [
716
+ _(i.$slots, "trigger")
717
+ ]),
718
+ _: 3
719
+ }),
720
+ c(t(Oe), null, {
721
+ default: d(() => [
722
+ c(t(Pe), {
723
+ class: "nb-root nb-context-menu",
724
+ "side-offset": 6
725
+ }, {
726
+ default: d(() => [
727
+ _(i.$slots, "default")
728
+ ]),
729
+ _: 3
730
+ })
731
+ ]),
732
+ _: 3
733
+ })
734
+ ]),
735
+ _: 3
736
+ }, 8, ["open"]));
737
+ }
738
+ }), Za = /* @__PURE__ */ h({
739
+ __name: "NbContextMenuCheckboxItem",
740
+ props: {
741
+ modelValue: { type: Boolean, default: !1 },
742
+ disabled: { type: Boolean, default: !1 }
743
+ },
744
+ emits: ["update:modelValue"],
745
+ setup(e, { emit: o }) {
746
+ const a = o;
747
+ return (s, l) => (n(), y(t(Re), {
748
+ class: "nb-context-menu__item nb-context-menu__item--choice",
749
+ "model-value": e.modelValue,
750
+ disabled: e.disabled,
751
+ "onUpdate:modelValue": l[0] || (l[0] = (b) => a("update:modelValue", b))
752
+ }, {
753
+ default: d(() => [
754
+ c(t(oe), {
755
+ class: "nb-context-menu__indicator",
756
+ "aria-hidden": "true"
757
+ }, {
758
+ default: d(() => [...l[1] || (l[1] = [
759
+ I("✓", -1)
760
+ ])]),
761
+ _: 1
762
+ }),
763
+ _(s.$slots, "default")
764
+ ]),
765
+ _: 3
766
+ }, 8, ["model-value", "disabled"]));
767
+ }
768
+ }), el = /* @__PURE__ */ h({
769
+ __name: "NbContextMenuItem",
770
+ props: {
771
+ disabled: { type: Boolean, default: !1 },
772
+ destructive: { type: Boolean, default: !1 }
773
+ },
774
+ 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 }]),
779
+ disabled: e.disabled,
780
+ onSelect: l[0] || (l[0] = (b) => a("select", b))
781
+ }, {
782
+ default: d(() => [
783
+ _(s.$slots, "default")
784
+ ]),
785
+ _: 3
786
+ }, 8, ["class", "disabled"]));
787
+ }
788
+ }), tl = /* @__PURE__ */ h({
789
+ __name: "NbContextMenuLabel",
790
+ setup(e) {
791
+ return (o, a) => (n(), y(t(Ue), { class: "nb-context-menu__label" }, {
792
+ default: d(() => [
793
+ _(o.$slots, "default")
794
+ ]),
795
+ _: 3
796
+ }));
797
+ }
798
+ }), al = /* @__PURE__ */ h({
799
+ __name: "NbContextMenuRadioGroup",
800
+ props: {
801
+ modelValue: {}
802
+ },
803
+ emits: ["update:modelValue"],
804
+ setup(e, { emit: o }) {
805
+ const a = o;
806
+ function s(l) {
807
+ typeof l == "string" && a("update:modelValue", l);
808
+ }
809
+ return (l, b) => (n(), y(t(Le), {
810
+ "model-value": e.modelValue,
811
+ "onUpdate:modelValue": s
812
+ }, {
813
+ default: d(() => [
814
+ _(l.$slots, "default")
815
+ ]),
816
+ _: 3
817
+ }, 8, ["model-value"]));
818
+ }
819
+ }), ll = /* @__PURE__ */ h({
820
+ __name: "NbContextMenuRadioItem",
821
+ props: {
822
+ value: {},
823
+ disabled: { type: Boolean, default: !1 }
824
+ },
825
+ setup(e) {
826
+ return (o, a) => (n(), y(t(Ge), {
827
+ class: "nb-context-menu__item nb-context-menu__item--choice",
828
+ value: e.value,
829
+ disabled: e.disabled
830
+ }, {
831
+ default: d(() => [
832
+ c(t(oe), {
833
+ class: "nb-context-menu__indicator",
834
+ "aria-hidden": "true"
835
+ }, {
836
+ default: d(() => [...a[0] || (a[0] = [
837
+ I("●", -1)
838
+ ])]),
839
+ _: 1
840
+ }),
841
+ _(o.$slots, "default")
842
+ ]),
843
+ _: 3
844
+ }, 8, ["value", "disabled"]));
845
+ }
846
+ }), nl = /* @__PURE__ */ h({
847
+ __name: "NbContextMenuSeparator",
848
+ 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 = {
857
+ class: "nb-context-menu__shortcut",
858
+ "aria-hidden": "true"
859
+ };
860
+ function dl(e, o) {
861
+ return n(), u("span", il, [
862
+ _(e.$slots, "default")
863
+ ]);
864
+ }
865
+ const rl = /* @__PURE__ */ ol(sl, [["render", dl]]), ul = /* @__PURE__ */ h({
866
+ __name: "NbContextMenuSub",
867
+ props: {
868
+ label: {},
869
+ disabled: { type: Boolean, default: !1 }
870
+ },
871
+ setup(e) {
872
+ return (o, a) => (n(), y(t(Ee), null, {
873
+ default: d(() => [
874
+ c(t(Fe), {
875
+ class: "nb-context-menu__item",
876
+ disabled: e.disabled
877
+ }, {
878
+ default: d(() => [
879
+ I(p(e.label) + " ", 1),
880
+ a[0] || (a[0] = f("span", {
881
+ class: "nb-context-menu__shortcut",
882
+ "aria-hidden": "true"
883
+ }, "›", -1))
884
+ ]),
885
+ _: 1
886
+ }, 8, ["disabled"]),
887
+ c(t(He), {
888
+ class: "nb-root nb-context-menu",
889
+ "side-offset": 6
890
+ }, {
891
+ default: d(() => [
892
+ _(o.$slots, "default")
893
+ ]),
894
+ _: 3
895
+ })
896
+ ]),
897
+ _: 3
898
+ }));
899
+ }
900
+ }), cl = { class: "nb-alert__content" }, bl = { key: 0 }, fl = /* @__PURE__ */ h({
450
901
  __name: "NbAlert",
451
902
  props: {
452
903
  tone: { default: "info" },
@@ -454,35 +905,113 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
454
905
  dismissible: { type: Boolean, default: !1 }
455
906
  },
456
907
  emits: ["dismiss"],
457
- setup(e, { emit: n }) {
458
- const t = e, s = n, l = x(!1), b = $(() => C(`nb-alert--${t.tone}`));
459
- function f() {
908
+ setup(e, { emit: o }) {
909
+ const a = e, s = o, l = C(!1), b = N(() => O(`nb-alert--${a.tone}`));
910
+ function m() {
460
911
  l.value = !0, s("dismiss");
461
912
  }
462
- return (d, r) => l.value ? h("", !0) : (o(), i("div", {
913
+ return (i, r) => l.value ? g("", !0) : (n(), u("div", {
463
914
  key: 0,
464
- class: B(["nb-root nb-alert", b.value]),
915
+ class: x(["nb-root nb-alert", b.value]),
465
916
  role: "alert"
466
917
  }, [
467
- c("div", Ht, [
468
- e.title ? (o(), i("strong", Jt, p(e.title), 1)) : h("", !0),
469
- c("span", null, [
470
- _(d.$slots, "default")
918
+ f("div", cl, [
919
+ e.title ? (n(), u("strong", bl, p(e.title), 1)) : g("", !0),
920
+ f("span", null, [
921
+ _(i.$slots, "default")
471
922
  ])
472
923
  ]),
473
- e.dismissible ? (o(), i("button", {
924
+ e.dismissible ? (n(), u("button", {
474
925
  key: 0,
475
926
  class: "nb-alert__close",
476
927
  type: "button",
477
928
  "aria-label": "Dismiss",
478
- onClick: f
479
- }, "×")) : h("", !0)
929
+ onClick: m
930
+ }, "×")) : g("", !0)
480
931
  ], 2));
481
932
  }
482
- }), Qt = { class: "nb-dialog__header" }, Wt = { class: "nb-dialog__body" }, Yt = {
933
+ }), ml = { class: "nb-alert-dialog__actions" }, pl = /* @__PURE__ */ h({
934
+ __name: "NbAlertDialog",
935
+ props: {
936
+ open: { type: Boolean, default: void 0 },
937
+ defaultOpen: { type: Boolean, default: !1 },
938
+ title: {},
939
+ description: {},
940
+ actionLabel: { default: "Continue" },
941
+ cancelLabel: { default: "Cancel" },
942
+ destructive: { type: Boolean, default: !1 }
943
+ },
944
+ 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) => {
948
+ i !== void 0 && (l.value = i);
949
+ });
950
+ function m(i) {
951
+ l.value = i, s("update:open", i);
952
+ }
953
+ return (i, r) => (n(), y(t(Ke), {
954
+ open: b.value,
955
+ "onUpdate:open": m
956
+ }, {
957
+ default: d(() => [
958
+ c(t(je), { class: "nb-root nb-overlay-trigger" }, {
959
+ default: d(() => [
960
+ _(i.$slots, "trigger")
961
+ ]),
962
+ _: 3
963
+ }),
964
+ c(t(Xe), null, {
965
+ default: d(() => [
966
+ c(t(Je), { class: "nb-root nb-alert-dialog__overlay" }),
967
+ c(t(Qe), { class: "nb-root nb-alert-dialog" }, {
968
+ default: d(() => [
969
+ c(t(We), { class: "nb-alert-dialog__title" }, {
970
+ default: d(() => [
971
+ I(p(e.title), 1)
972
+ ]),
973
+ _: 1
974
+ }),
975
+ c(t(Ye), { class: "nb-alert-dialog__description" }, {
976
+ default: d(() => [
977
+ I(p(e.description), 1)
978
+ ]),
979
+ _: 1
980
+ }),
981
+ f("div", ml, [
982
+ c(t(Ze), {
983
+ class: "nb-alert-dialog__button nb-alert-dialog__button--cancel",
984
+ onClick: r[0] || (r[0] = (v) => s("cancel"))
985
+ }, {
986
+ default: d(() => [
987
+ I(p(e.cancelLabel), 1)
988
+ ]),
989
+ _: 1
990
+ }),
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"))
994
+ }, {
995
+ default: d(() => [
996
+ I(p(e.actionLabel), 1)
997
+ ]),
998
+ _: 1
999
+ }, 8, ["class"])
1000
+ ])
1001
+ ]),
1002
+ _: 1
1003
+ })
1004
+ ]),
1005
+ _: 1
1006
+ })
1007
+ ]),
1008
+ _: 3
1009
+ }, 8, ["open"]));
1010
+ }
1011
+ }), vl = { class: "nb-dialog__header" }, hl = { class: "nb-dialog__body" }, gl = {
483
1012
  key: 0,
484
1013
  class: "nb-dialog__footer"
485
- }, Zt = /* @__PURE__ */ v({
1014
+ }, _l = /* @__PURE__ */ h({
486
1015
  inheritAttrs: !1,
487
1016
  __name: "NbDialog",
488
1017
  props: {
@@ -491,68 +1020,68 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
491
1020
  closeOnBackdrop: { type: Boolean, default: !0 }
492
1021
  },
493
1022
  emits: ["update:open", "close"],
494
- setup(e, { emit: n }) {
495
- const t = e, s = n, b = `${S("dialog")}-title`, f = x(null), d = x(null);
1023
+ setup(e, { emit: o }) {
1024
+ const a = e, s = o, b = `${M("dialog")}-title`, m = C(null), i = C(null);
496
1025
  function r() {
497
1026
  s("update:open", !1), s("close");
498
1027
  }
499
- function g() {
500
- return Array.from(f.value?.querySelectorAll(
1028
+ function v() {
1029
+ return Array.from(m.value?.querySelectorAll(
501
1030
  'button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])'
502
1031
  ) ?? []);
503
1032
  }
504
- function y(I) {
505
- if (I.key === "Escape") {
506
- I.preventDefault(), r();
1033
+ function $(V) {
1034
+ if (V.key === "Escape") {
1035
+ V.preventDefault(), r();
507
1036
  return;
508
1037
  }
509
- if (I.key !== "Tab") return;
510
- const T = g();
511
- if (!T.length) return;
512
- const q = T[0], z = T[T.length - 1];
513
- I.shiftKey && document.activeElement === q ? (I.preventDefault(), z.focus()) : !I.shiftKey && document.activeElement === z && (I.preventDefault(), q.focus());
1038
+ if (V.key !== "Tab") return;
1039
+ const D = v();
1040
+ if (!D.length) return;
1041
+ 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());
514
1043
  }
515
- function R() {
516
- d.value = document.activeElement instanceof HTMLElement ? document.activeElement : null, document.addEventListener("keydown", y), j(() => (g()[0] ?? f.value)?.focus());
1044
+ function P() {
1045
+ i.value = document.activeElement instanceof HTMLElement ? document.activeElement : null, document.addEventListener("keydown", $), re(() => (v()[0] ?? m.value)?.focus());
517
1046
  }
518
- function G() {
519
- document.removeEventListener("keydown", y), d.value?.focus(), d.value = null;
1047
+ function L() {
1048
+ document.removeEventListener("keydown", $), i.value?.focus(), i.value = null;
520
1049
  }
521
- return M(() => t.open, (I) => {
522
- I ? R() : G();
523
- }, { immediate: !0 }), F(G), (I, T) => e.open ? (o(), i("div", {
1050
+ return A(() => a.open, (V) => {
1051
+ V ? P() : L();
1052
+ }, { immediate: !0 }), ie(L), (V, D) => e.open ? (n(), u("div", {
524
1053
  key: 0,
525
1054
  class: "nb-root nb-dialog-layer",
526
- onMousedown: T[0] || (T[0] = K((q) => e.closeOnBackdrop && r(), ["self"]))
1055
+ onMousedown: D[0] || (D[0] = de((R) => e.closeOnBackdrop && r(), ["self"]))
527
1056
  }, [
528
- c("section", k(I.$attrs, {
1057
+ f("section", k(V.$attrs, {
529
1058
  ref_key: "dialogRef",
530
- ref: f,
1059
+ ref: m,
531
1060
  class: "nb-dialog",
532
1061
  role: "dialog",
533
1062
  "aria-modal": "true",
534
1063
  "aria-labelledby": b,
535
1064
  tabindex: "-1"
536
1065
  }), [
537
- c("header", Qt, [
538
- c("h2", { id: b }, p(e.title), 1),
539
- c("button", {
1066
+ f("header", vl, [
1067
+ f("h2", { id: b }, p(e.title), 1),
1068
+ f("button", {
540
1069
  class: "nb-dialog__close",
541
1070
  type: "button",
542
1071
  "aria-label": "Close dialog",
543
1072
  onClick: r
544
1073
  }, "×")
545
1074
  ]),
546
- c("div", Wt, [
547
- _(I.$slots, "default")
1075
+ f("div", hl, [
1076
+ _(V.$slots, "default")
548
1077
  ]),
549
- I.$slots.footer ? (o(), i("footer", Yt, [
550
- _(I.$slots, "footer")
551
- ])) : h("", !0)
1078
+ V.$slots.footer ? (n(), u("footer", gl, [
1079
+ _(V.$slots, "footer")
1080
+ ])) : g("", !0)
552
1081
  ], 16)
553
- ], 32)) : h("", !0);
1082
+ ], 32)) : g("", !0);
554
1083
  }
555
- }), ea = /* @__PURE__ */ v({
1084
+ }), yl = /* @__PURE__ */ h({
556
1085
  __name: "NbDropdownMenu",
557
1086
  props: {
558
1087
  open: { type: Boolean, default: void 0 },
@@ -562,47 +1091,47 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
562
1091
  disabled: { type: Boolean, default: !1 }
563
1092
  },
564
1093
  emits: ["update:open"],
565
- setup(e, { emit: n }) {
566
- const t = e, s = n, l = x(t.open ?? t.defaultOpen), b = $(() => t.open ?? l.value);
567
- M(() => t.open, (d) => {
568
- d !== void 0 && (l.value = d);
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) => {
1097
+ i !== void 0 && (l.value = i);
569
1098
  });
570
- function f(d) {
571
- l.value = d, s("update:open", d);
1099
+ function m(i) {
1100
+ l.value = i, s("update:open", i);
572
1101
  }
573
- return (d, r) => (o(), N(a(ge), {
1102
+ return (i, r) => (n(), y(t(tt), {
574
1103
  open: b.value,
575
1104
  "default-open": e.defaultOpen,
576
- "onUpdate:open": f
1105
+ "onUpdate:open": m
577
1106
  }, {
578
- default: u(() => [
579
- m(a(_e), {
1107
+ default: d(() => [
1108
+ c(t(at), {
580
1109
  class: "nb-root nb-overlay-trigger",
581
1110
  "aria-label": e.label,
582
1111
  disabled: e.disabled
583
1112
  }, {
584
- default: u(() => [
585
- _(d.$slots, "trigger"),
586
- r[0] || (r[0] = c("svg", {
1113
+ default: d(() => [
1114
+ _(i.$slots, "trigger"),
1115
+ r[0] || (r[0] = f("svg", {
587
1116
  class: "nb-overlay-trigger__icon",
588
1117
  viewBox: "0 0 16 16",
589
1118
  "aria-hidden": "true",
590
1119
  focusable: "false"
591
1120
  }, [
592
- c("path", { d: "m3 6 5 5 5-5" })
1121
+ f("path", { d: "m3 6 5 5 5-5" })
593
1122
  ], -1))
594
1123
  ]),
595
1124
  _: 3
596
1125
  }, 8, ["aria-label", "disabled"]),
597
- m(a(ye), null, {
598
- default: u(() => [
599
- m(a($e), {
1126
+ c(t(lt), null, {
1127
+ default: d(() => [
1128
+ c(t(nt), {
600
1129
  class: "nb-root nb-dropdown-menu",
601
1130
  align: e.align,
602
1131
  "side-offset": 8
603
1132
  }, {
604
- default: u(() => [
605
- _(d.$slots, "default")
1133
+ default: d(() => [
1134
+ _(i.$slots, "default")
606
1135
  ]),
607
1136
  _: 3
608
1137
  }, 8, ["align"])
@@ -613,65 +1142,65 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
613
1142
  _: 3
614
1143
  }, 8, ["open", "default-open"]));
615
1144
  }
616
- }), ta = /* @__PURE__ */ v({
1145
+ }), $l = /* @__PURE__ */ h({
617
1146
  __name: "NbDropdownMenuItem",
618
1147
  props: {
619
1148
  disabled: { type: Boolean, default: !1 },
620
1149
  destructive: { type: Boolean, default: !1 }
621
1150
  },
622
1151
  emits: ["select"],
623
- setup(e, { emit: n }) {
624
- const t = n;
625
- return (s, l) => (o(), N(a(Ne), {
626
- class: B(["nb-dropdown-menu__item", { "nb-dropdown-menu__item--destructive": e.destructive }]),
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 }]),
627
1156
  disabled: e.disabled,
628
- onSelect: l[0] || (l[0] = (b) => t("select", b))
1157
+ onSelect: l[0] || (l[0] = (b) => a("select", b))
629
1158
  }, {
630
- default: u(() => [
1159
+ default: d(() => [
631
1160
  _(s.$slots, "default")
632
1161
  ]),
633
1162
  _: 3
634
1163
  }, 8, ["class", "disabled"]));
635
1164
  }
636
- }), aa = /* @__PURE__ */ v({
1165
+ }), Nl = /* @__PURE__ */ h({
637
1166
  __name: "NbDropdownMenuSeparator",
638
1167
  setup(e) {
639
- return (n, t) => (o(), N(a(ke), { class: "nb-dropdown-menu__separator" }));
1168
+ return (o, a) => (n(), y(t(st), { class: "nb-dropdown-menu__separator" }));
640
1169
  }
641
- }), la = ["aria-labelledby"], na = {
1170
+ }), Il = ["aria-labelledby"], kl = {
642
1171
  key: 0,
643
1172
  class: "nb-empty-state__icon",
644
1173
  "aria-hidden": "true"
645
- }, oa = ["id"], sa = { key: 1 }, ia = {
1174
+ }, xl = ["id"], Vl = { key: 1 }, Bl = {
646
1175
  key: 2,
647
1176
  class: "nb-empty-state__action"
648
- }, da = /* @__PURE__ */ v({
1177
+ }, Cl = /* @__PURE__ */ h({
649
1178
  __name: "NbEmptyState",
650
1179
  props: {
651
1180
  title: {},
652
1181
  description: {}
653
1182
  },
654
1183
  setup(e) {
655
- const n = S("empty-state-title");
656
- return (t, s) => (o(), i("section", {
1184
+ const o = M("empty-state-title");
1185
+ return (a, s) => (n(), u("section", {
657
1186
  class: "nb-root nb-empty-state",
658
1187
  role: "region",
659
- "aria-labelledby": a(n)
1188
+ "aria-labelledby": t(o)
660
1189
  }, [
661
- t.$slots.icon ? (o(), i("div", na, [
662
- _(t.$slots, "icon")
663
- ])) : h("", !0),
664
- c("h2", { id: a(n) }, p(e.title), 9, oa),
665
- e.description ? (o(), i("p", sa, p(e.description), 1)) : h("", !0),
666
- t.$slots.default ? (o(), i("div", ia, [
667
- _(t.$slots, "default")
668
- ])) : h("", !0)
669
- ], 8, la));
670
- }
671
- }), ra = ["disabled", "aria-describedby"], ua = {
1190
+ a.$slots.icon ? (n(), u("div", kl, [
1191
+ _(a.$slots, "icon")
1192
+ ])) : 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")
1197
+ ])) : g("", !0)
1198
+ ], 8, Il));
1199
+ }
1200
+ }), wl = ["disabled", "aria-describedby"], Tl = {
672
1201
  key: 0,
673
1202
  class: "nb-fieldset__legend"
674
- }, ca = { class: "nb-fieldset__content" }, ba = /* @__PURE__ */ v({
1203
+ }, Sl = { class: "nb-fieldset__content" }, Al = /* @__PURE__ */ h({
675
1204
  __name: "NbFieldset",
676
1205
  props: {
677
1206
  legend: {},
@@ -679,24 +1208,24 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
679
1208
  disabled: { type: Boolean, default: !1 }
680
1209
  },
681
1210
  setup(e) {
682
- const n = `${S("fieldset")}-description`;
683
- return (t, s) => (o(), i("fieldset", {
1211
+ const o = `${M("fieldset")}-description`;
1212
+ return (a, s) => (n(), u("fieldset", {
684
1213
  class: "nb-root nb-fieldset",
685
1214
  disabled: e.disabled,
686
- "aria-describedby": e.description ? n : void 0
1215
+ "aria-describedby": e.description ? o : void 0
687
1216
  }, [
688
- e.legend ? (o(), i("legend", ua, p(e.legend), 1)) : h("", !0),
689
- e.description ? (o(), i("p", {
1217
+ e.legend ? (n(), u("legend", Tl, p(e.legend), 1)) : g("", !0),
1218
+ e.description ? (n(), u("p", {
690
1219
  key: 1,
691
- id: n,
1220
+ id: o,
692
1221
  class: "nb-fieldset__description"
693
- }, p(e.description), 1)) : h("", !0),
694
- c("div", ca, [
695
- _(t.$slots, "default")
1222
+ }, p(e.description), 1)) : g("", !0),
1223
+ f("div", Sl, [
1224
+ _(a.$slots, "default")
696
1225
  ])
697
- ], 8, ra));
1226
+ ], 8, wl));
698
1227
  }
699
- }), fa = { class: "nb-root nb-field" }, ma = ["for"], pa = ["id", "value", "disabled", "aria-invalid", "aria-describedby"], ha = ["id"], va = ["id"], ga = /* @__PURE__ */ v({
1228
+ }), Ml = { class: "nb-root nb-field" }, Dl = ["for"], Ol = ["id", "value", "disabled", "aria-invalid", "aria-describedby"], Pl = ["id"], Rl = ["id"], ql = /* @__PURE__ */ h({
700
1229
  inheritAttrs: !1,
701
1230
  __name: "NbInput",
702
1231
  props: {
@@ -708,70 +1237,122 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
708
1237
  id: {}
709
1238
  },
710
1239
  emits: ["update:modelValue"],
711
- setup(e, { emit: n }) {
712
- const t = e, s = n, l = w("input", t.id), b = $(() => A(t.hint, t.error, l.hintId, l.errorId));
713
- return (f, d) => (o(), i("div", fa, [
714
- e.label ? (o(), i("label", {
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", {
715
1244
  key: 0,
716
1245
  class: "nb-field__label",
717
- for: a(l).inputId
718
- }, p(e.label), 9, ma)) : h("", !0),
719
- c("input", k(f.$attrs, {
720
- id: a(l).inputId,
1246
+ for: t(l).inputId
1247
+ }, p(e.label), 9, Dl)) : g("", !0),
1248
+ f("input", k(m.$attrs, {
1249
+ id: t(l).inputId,
721
1250
  class: "nb-field__control",
722
1251
  value: e.modelValue,
723
1252
  disabled: e.disabled,
724
1253
  "aria-invalid": e.error ? "true" : void 0,
725
1254
  "aria-describedby": b.value,
726
- onInput: d[0] || (d[0] = (r) => s("update:modelValue", r.target.value))
727
- }), null, 16, pa),
728
- e.hint ? (o(), i("span", {
1255
+ onInput: i[0] || (i[0] = (r) => s("update:modelValue", r.target.value))
1256
+ }), null, 16, Ol),
1257
+ e.hint ? (n(), u("span", {
729
1258
  key: 1,
730
- id: a(l).hintId,
1259
+ id: t(l).hintId,
731
1260
  class: "nb-field__hint"
732
- }, p(e.hint), 9, ha)) : h("", !0),
733
- e.error ? (o(), i("span", {
1261
+ }, p(e.hint), 9, Pl)) : g("", !0),
1262
+ e.error ? (n(), u("span", {
734
1263
  key: 2,
735
- id: a(l).errorId,
1264
+ id: t(l).errorId,
736
1265
  class: "nb-field__error"
737
- }, p(e.error), 9, va)) : h("", !0)
1266
+ }, p(e.error), 9, Rl)) : g("", !0)
738
1267
  ]));
739
1268
  }
740
- }), _a = { class: "nb-root nb-input-group" }, ya = {
1269
+ }), Ul = { class: "nb-root nb-input-group" }, Ll = {
741
1270
  key: 0,
742
1271
  class: "nb-input-group__addon"
743
- }, $a = { class: "nb-input-group__control" }, Na = {
1272
+ }, Gl = { class: "nb-input-group__control" }, zl = {
744
1273
  key: 1,
745
1274
  class: "nb-input-group__addon"
746
- }, ka = /* @__PURE__ */ v({
1275
+ }, El = /* @__PURE__ */ h({
747
1276
  __name: "NbInputGroup",
748
1277
  setup(e) {
749
- const n = H();
750
- return (t, s) => (o(), i("div", _a, [
751
- a(n).start ? (o(), i("span", ya, [
752
- _(t.$slots, "start")
753
- ])) : h("", !0),
754
- c("div", $a, [
755
- _(t.$slots, "default")
1278
+ const o = ue();
1279
+ return (a, s) => (n(), u("div", Ul, [
1280
+ t(o).start ? (n(), u("span", Ll, [
1281
+ _(a.$slots, "start")
1282
+ ])) : g("", !0),
1283
+ f("div", Gl, [
1284
+ _(a.$slots, "default")
756
1285
  ]),
757
- a(n).end ? (o(), i("span", Na, [
758
- _(t.$slots, "end")
759
- ])) : h("", !0)
1286
+ t(o).end ? (n(), u("span", zl, [
1287
+ _(a.$slots, "end")
1288
+ ])) : g("", !0)
760
1289
  ]));
761
1290
  }
762
- }), Ia = /* @__PURE__ */ v({
1291
+ }), Fl = /* @__PURE__ */ h({
1292
+ __name: "NbHoverCard",
1293
+ props: {
1294
+ open: { type: Boolean, default: void 0 },
1295
+ defaultOpen: { type: Boolean, default: !1 },
1296
+ openDelay: { default: 300 },
1297
+ closeDelay: { default: 150 },
1298
+ align: { default: "center" },
1299
+ side: { default: "bottom" }
1300
+ },
1301
+ 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) => {
1305
+ i !== void 0 && (l.value = i);
1306
+ });
1307
+ function m(i) {
1308
+ l.value = i, s("update:open", i);
1309
+ }
1310
+ return (i, r) => (n(), y(t(it), {
1311
+ open: b.value,
1312
+ "open-delay": e.openDelay,
1313
+ "close-delay": e.closeDelay,
1314
+ "onUpdate:open": m
1315
+ }, {
1316
+ default: d(() => [
1317
+ c(t(dt), { "as-child": "" }, {
1318
+ default: d(() => [
1319
+ _(i.$slots, "trigger")
1320
+ ]),
1321
+ _: 3
1322
+ }),
1323
+ c(t(rt), null, {
1324
+ default: d(() => [
1325
+ c(t(ut), {
1326
+ class: "nb-root nb-hover-card",
1327
+ align: e.align,
1328
+ side: e.side,
1329
+ "side-offset": 8
1330
+ }, {
1331
+ default: d(() => [
1332
+ _(i.$slots, "default")
1333
+ ]),
1334
+ _: 3
1335
+ }, 8, ["align", "side"])
1336
+ ]),
1337
+ _: 3
1338
+ })
1339
+ ]),
1340
+ _: 3
1341
+ }, 8, ["open", "open-delay", "close-delay"]));
1342
+ }
1343
+ }), Hl = /* @__PURE__ */ h({
763
1344
  __name: "NbKbd",
764
1345
  props: {
765
1346
  size: { default: "md" }
766
1347
  },
767
1348
  setup(e) {
768
- return (n, t) => (o(), i("kbd", {
769
- class: B(["nb-root nb-kbd", `nb-kbd--${e.size}`])
1349
+ return (o, a) => (n(), u("kbd", {
1350
+ class: x(["nb-root nb-kbd", `nb-kbd--${e.size}`])
770
1351
  }, [
771
- _(n.$slots, "default")
1352
+ _(o.$slots, "default")
772
1353
  ], 2));
773
1354
  }
774
- }), Ba = /* @__PURE__ */ v({
1355
+ }), Kl = /* @__PURE__ */ h({
775
1356
  inheritAttrs: !1,
776
1357
  __name: "NbLink",
777
1358
  props: {
@@ -779,29 +1360,109 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
779
1360
  tone: { default: "primary" }
780
1361
  },
781
1362
  setup(e) {
782
- const n = e, t = $(() => C(`nb-link--${n.tone}`));
783
- return (s, l) => (o(), N(J(e.as), k(s.$attrs, {
784
- class: ["nb-root nb-link", t.value]
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]
785
1366
  }), {
786
- default: u(() => [
1367
+ default: d(() => [
787
1368
  _(s.$slots, "default")
788
1369
  ]),
789
1370
  _: 3
790
1371
  }, 16, ["class"]));
791
1372
  }
792
- }), Va = /* @__PURE__ */ v({
1373
+ }), jl = /* @__PURE__ */ h({
793
1374
  __name: "NbMarker",
794
1375
  props: {
795
1376
  tone: { default: "primary" }
796
1377
  },
797
1378
  setup(e) {
798
- return (n, t) => (o(), i("mark", {
799
- class: B(["nb-root nb-marker", `nb-marker--${e.tone}`])
1379
+ return (o, a) => (n(), u("mark", {
1380
+ class: x(["nb-root nb-marker", `nb-marker--${e.tone}`])
800
1381
  }, [
801
- _(n.$slots, "default")
1382
+ _(o.$slots, "default")
802
1383
  ], 2));
803
1384
  }
804
- }), wa = { class: "nb-root nb-field" }, xa = ["for"], Sa = ["id"], Ta = ["id"], Aa = /* @__PURE__ */ v({
1385
+ }), Xl = ["href", "target"], Jl = { key: 0 }, Ql = ["href", "target"], Wl = /* @__PURE__ */ h({
1386
+ __name: "NbNavigationMenu",
1387
+ props: {
1388
+ items: {},
1389
+ label: { default: "Main navigation" }
1390
+ },
1391
+ setup(e) {
1392
+ return (o, a) => (n(), y(t(ct), {
1393
+ class: "nb-root nb-navigation-menu",
1394
+ "aria-label": e.label
1395
+ }, {
1396
+ default: d(() => [
1397
+ c(t(bt), { class: "nb-navigation-menu__list" }, {
1398
+ default: d(() => [
1399
+ (n(!0), u(B, null, T(e.items, (s, l) => (n(), y(t(ft), {
1400
+ key: `${l}-${s.label}`,
1401
+ value: `${l}-${s.label}`,
1402
+ class: "nb-navigation-menu__item"
1403
+ }, {
1404
+ default: d(() => [
1405
+ s.children?.length ? (n(), u(B, { key: 0 }, [
1406
+ c(t(mt), { class: "nb-navigation-menu__trigger" }, {
1407
+ default: d(() => [
1408
+ I(p(s.label) + " ", 1),
1409
+ a[0] || (a[0] = f("svg", {
1410
+ viewBox: "0 0 16 16",
1411
+ "aria-hidden": "true",
1412
+ focusable: "false"
1413
+ }, [
1414
+ f("path", { d: "m3 6 5 5 5-5" })
1415
+ ], -1))
1416
+ ]),
1417
+ _: 2
1418
+ }, 1024),
1419
+ c(t(pt), { class: "nb-navigation-menu__content" }, {
1420
+ default: d(() => [
1421
+ (n(!0), u(B, null, T(s.children, (b) => (n(), y(t(z), {
1422
+ key: b.label,
1423
+ "as-child": "",
1424
+ active: b.active
1425
+ }, {
1426
+ default: d(() => [
1427
+ f("a", {
1428
+ class: "nb-navigation-menu__link nb-navigation-menu__link--panel",
1429
+ href: b.href,
1430
+ target: b.target
1431
+ }, [
1432
+ f("strong", null, p(b.label), 1),
1433
+ b.description ? (n(), u("span", Jl, p(b.description), 1)) : g("", !0)
1434
+ ], 8, Xl)
1435
+ ]),
1436
+ _: 2
1437
+ }, 1032, ["active"]))), 128))
1438
+ ]),
1439
+ _: 2
1440
+ }, 1024)
1441
+ ], 64)) : (n(), y(t(z), {
1442
+ key: 1,
1443
+ "as-child": "",
1444
+ active: s.active
1445
+ }, {
1446
+ default: d(() => [
1447
+ f("a", {
1448
+ class: "nb-navigation-menu__link",
1449
+ href: s.href,
1450
+ target: s.target
1451
+ }, p(s.label), 9, Ql)
1452
+ ]),
1453
+ _: 2
1454
+ }, 1032, ["active"]))
1455
+ ]),
1456
+ _: 2
1457
+ }, 1032, ["value"]))), 128))
1458
+ ]),
1459
+ _: 1
1460
+ })
1461
+ ]),
1462
+ _: 1
1463
+ }, 8, ["aria-label"]));
1464
+ }
1465
+ }), Yl = { class: "nb-root nb-field" }, Zl = ["for"], en = ["id"], tn = ["id"], an = /* @__PURE__ */ h({
805
1466
  inheritAttrs: !1,
806
1467
  __name: "NbNumberInput",
807
1468
  props: {
@@ -819,15 +1480,15 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
819
1480
  step: { default: 1 }
820
1481
  },
821
1482
  emits: ["update:modelValue"],
822
- setup(e, { emit: n }) {
823
- const t = e, s = n, l = w("number-input", t.id), b = $(() => A(t.hint, t.error, l.hintId, l.errorId)), f = $(() => t.label ?? "value");
824
- return (d, r) => (o(), i("div", wa, [
825
- e.label ? (o(), i("label", {
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", {
826
1487
  key: 0,
827
1488
  class: "nb-field__label",
828
- for: a(l).inputId
829
- }, p(e.label), 9, xa)) : h("", !0),
830
- m(a(Ie), {
1489
+ for: t(l).inputId
1490
+ }, p(e.label), 9, Zl)) : g("", !0),
1491
+ c(t(vt), {
831
1492
  class: "nb-number-input",
832
1493
  "model-value": e.modelValue,
833
1494
  min: e.min,
@@ -837,49 +1498,49 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
837
1498
  readonly: e.readonly,
838
1499
  required: e.required,
839
1500
  name: e.name,
840
- "onUpdate:modelValue": r[0] || (r[0] = (g) => s("update:modelValue", g))
1501
+ "onUpdate:modelValue": r[0] || (r[0] = (v) => s("update:modelValue", v))
841
1502
  }, {
842
- default: u(() => [
843
- m(a(Be), {
1503
+ default: d(() => [
1504
+ c(t(ht), {
844
1505
  class: "nb-number-input__button",
845
- "aria-label": `Decrease ${f.value}`
1506
+ "aria-label": `Decrease ${m.value}`
846
1507
  }, {
847
- default: u(() => [...r[1] || (r[1] = [
848
- V("−", -1)
1508
+ default: d(() => [...r[1] || (r[1] = [
1509
+ I("−", -1)
849
1510
  ])]),
850
1511
  _: 1
851
1512
  }, 8, ["aria-label"]),
852
- m(a(Ve), k(d.$attrs, {
853
- id: a(l).inputId,
1513
+ c(t(gt), k(i.$attrs, {
1514
+ id: t(l).inputId,
854
1515
  class: "nb-number-input__input",
855
1516
  "aria-invalid": e.error ? "true" : void 0,
856
1517
  "aria-describedby": b.value
857
1518
  }), null, 16, ["id", "aria-invalid", "aria-describedby"]),
858
- m(a(we), {
1519
+ c(t(_t), {
859
1520
  class: "nb-number-input__button",
860
- "aria-label": `Increase ${f.value}`
1521
+ "aria-label": `Increase ${m.value}`
861
1522
  }, {
862
- default: u(() => [...r[2] || (r[2] = [
863
- V("+", -1)
1523
+ default: d(() => [...r[2] || (r[2] = [
1524
+ I("+", -1)
864
1525
  ])]),
865
1526
  _: 1
866
1527
  }, 8, ["aria-label"])
867
1528
  ]),
868
1529
  _: 1
869
1530
  }, 8, ["model-value", "min", "max", "step", "disabled", "readonly", "required", "name"]),
870
- e.hint ? (o(), i("span", {
1531
+ e.hint ? (n(), u("span", {
871
1532
  key: 1,
872
- id: a(l).hintId,
1533
+ id: t(l).hintId,
873
1534
  class: "nb-field__hint"
874
- }, p(e.hint), 9, Sa)) : h("", !0),
875
- e.error ? (o(), i("span", {
1535
+ }, p(e.hint), 9, en)) : g("", !0),
1536
+ e.error ? (n(), u("span", {
876
1537
  key: 2,
877
- id: a(l).errorId,
1538
+ id: t(l).errorId,
878
1539
  class: "nb-field__error"
879
- }, p(e.error), 9, Ta)) : h("", !0)
1540
+ }, p(e.error), 9, tn)) : g("", !0)
880
1541
  ]));
881
1542
  }
882
- }), Ca = /* @__PURE__ */ v({
1543
+ }), ln = /* @__PURE__ */ h({
883
1544
  __name: "NbPagination",
884
1545
  props: {
885
1546
  page: {},
@@ -891,9 +1552,9 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
891
1552
  label: { default: "Pagination" }
892
1553
  },
893
1554
  emits: ["update:page"],
894
- setup(e, { emit: n }) {
895
- const t = n;
896
- return (s, l) => (o(), N(a(xe), {
1555
+ setup(e, { emit: o }) {
1556
+ const a = o;
1557
+ return (s, l) => (n(), y(t(yt), {
897
1558
  class: "nb-root nb-pagination",
898
1559
  page: e.page,
899
1560
  "default-page": e.defaultPage,
@@ -903,44 +1564,44 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
903
1564
  disabled: e.disabled,
904
1565
  "show-edges": "",
905
1566
  "aria-label": e.label,
906
- "onUpdate:page": l[0] || (l[0] = (b) => t("update:page", b))
1567
+ "onUpdate:page": l[0] || (l[0] = (b) => a("update:page", b))
907
1568
  }, {
908
- default: u(() => [
909
- m(a(Se), {
1569
+ default: d(() => [
1570
+ c(t($t), {
910
1571
  class: "nb-pagination__button",
911
1572
  "aria-label": "Go to previous page"
912
1573
  }, {
913
- default: u(() => [...l[1] || (l[1] = [
914
- c("svg", {
1574
+ default: d(() => [...l[1] || (l[1] = [
1575
+ f("svg", {
915
1576
  viewBox: "0 0 16 16",
916
1577
  "aria-hidden": "true",
917
1578
  focusable: "false"
918
1579
  }, [
919
- c("path", { d: "m10 3-5 5 5 5" })
1580
+ f("path", { d: "m10 3-5 5 5 5" })
920
1581
  ], -1)
921
1582
  ])]),
922
1583
  _: 1
923
1584
  }),
924
- m(a(Te), { class: "nb-pagination__list" }, {
925
- default: u(({ items: b }) => [
926
- (o(!0), i(P, null, D(b, (f, d) => (o(), i(P, {
927
- key: f.type === "page" ? f.value : `ellipsis-${d}`
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, {
1588
+ key: m.type === "page" ? m.value : `ellipsis-${i}`
928
1589
  }, [
929
- f.type === "page" ? (o(), N(a(Ae), {
1590
+ m.type === "page" ? (n(), y(t(It), {
930
1591
  key: 0,
931
1592
  class: "nb-pagination__button",
932
- value: f.value
1593
+ value: m.value
933
1594
  }, {
934
- default: u(() => [
935
- V(p(f.value), 1)
1595
+ default: d(() => [
1596
+ I(p(m.value), 1)
936
1597
  ]),
937
1598
  _: 2
938
- }, 1032, ["value"])) : (o(), N(a(Ce), {
1599
+ }, 1032, ["value"])) : (n(), y(t(kt), {
939
1600
  key: 1,
940
1601
  class: "nb-pagination__ellipsis"
941
1602
  }, {
942
- default: u(() => [...l[2] || (l[2] = [
943
- V("…", -1)
1603
+ default: d(() => [...l[2] || (l[2] = [
1604
+ I("…", -1)
944
1605
  ])]),
945
1606
  _: 1
946
1607
  }))
@@ -948,17 +1609,17 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
948
1609
  ]),
949
1610
  _: 1
950
1611
  }),
951
- m(a(Pe), {
1612
+ c(t(xt), {
952
1613
  class: "nb-pagination__button",
953
1614
  "aria-label": "Go to next page"
954
1615
  }, {
955
- default: u(() => [...l[3] || (l[3] = [
956
- c("svg", {
1616
+ default: d(() => [...l[3] || (l[3] = [
1617
+ f("svg", {
957
1618
  viewBox: "0 0 16 16",
958
1619
  "aria-hidden": "true",
959
1620
  focusable: "false"
960
1621
  }, [
961
- c("path", { d: "m6 3 5 5-5 5" })
1622
+ f("path", { d: "m6 3 5 5-5 5" })
962
1623
  ], -1)
963
1624
  ])]),
964
1625
  _: 1
@@ -967,10 +1628,78 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
967
1628
  _: 1
968
1629
  }, 8, ["page", "default-page", "total", "items-per-page", "sibling-count", "disabled", "aria-label"]));
969
1630
  }
970
- }), Pa = {
1631
+ }), nn = { class: "nb-root nb-field" }, on = ["id"], sn = ["id"], dn = /* @__PURE__ */ h({
1632
+ inheritAttrs: !1,
1633
+ __name: "NbPinInput",
1634
+ props: {
1635
+ modelValue: { default: () => [] },
1636
+ length: { default: 6 },
1637
+ label: {},
1638
+ hint: {},
1639
+ error: {},
1640
+ name: {},
1641
+ id: {},
1642
+ disabled: { type: Boolean, default: !1 },
1643
+ required: { type: Boolean, default: !1 },
1644
+ mask: { type: Boolean, default: !1 },
1645
+ otp: { type: Boolean, default: !1 }
1646
+ },
1647
+ 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));
1650
+ function i(r) {
1651
+ r.inputType === "insertText" && r.data && /\D/.test(r.data) && r.preventDefault();
1652
+ }
1653
+ return (r, v) => (n(), u("div", nn, [
1654
+ e.label ? (n(), u("span", {
1655
+ key: 0,
1656
+ id: b,
1657
+ class: "nb-field__label"
1658
+ }, p(e.label), 1)) : g("", !0),
1659
+ c(t(Vt), k(r.$attrs, {
1660
+ class: "nb-pin-input",
1661
+ role: "group",
1662
+ id: t(l).inputId,
1663
+ "model-value": e.modelValue,
1664
+ name: e.name,
1665
+ type: "number",
1666
+ disabled: e.disabled,
1667
+ mask: e.mask,
1668
+ otp: e.otp,
1669
+ "aria-label": e.label ? void 0 : "PIN input",
1670
+ "aria-labelledby": e.label ? b : void 0,
1671
+ "aria-invalid": e.error ? "true" : void 0,
1672
+ "aria-describedby": m.value,
1673
+ "onUpdate:modelValue": v[0] || (v[0] = ($) => s("update:modelValue", $)),
1674
+ onComplete: v[1] || (v[1] = ($) => s("complete", $))
1675
+ }), {
1676
+ default: d(() => [
1677
+ (n(!0), u(B, null, T(e.length, ($) => (n(), y(t(Bt), {
1678
+ key: $,
1679
+ class: "nb-pin-input__digit",
1680
+ index: $ - 1,
1681
+ required: e.required,
1682
+ onBeforeinput: i
1683
+ }, null, 8, ["index", "required"]))), 128))
1684
+ ]),
1685
+ _: 1
1686
+ }, 16, ["id", "model-value", "name", "disabled", "mask", "otp", "aria-label", "aria-labelledby", "aria-invalid", "aria-describedby"]),
1687
+ e.hint ? (n(), u("span", {
1688
+ key: 1,
1689
+ id: t(l).hintId,
1690
+ class: "nb-field__hint"
1691
+ }, p(e.hint), 9, on)) : g("", !0),
1692
+ e.error ? (n(), u("span", {
1693
+ key: 2,
1694
+ id: t(l).errorId,
1695
+ class: "nb-field__error"
1696
+ }, p(e.error), 9, sn)) : g("", !0)
1697
+ ]));
1698
+ }
1699
+ }), rn = {
971
1700
  key: 0,
972
1701
  class: "nb-popover__header"
973
- }, Da = ["id"], Ma = { class: "nb-popover__body" }, Ra = /* @__PURE__ */ v({
1702
+ }, un = ["id"], cn = { class: "nb-popover__body" }, bn = /* @__PURE__ */ h({
974
1703
  __name: "NbPopover",
975
1704
  props: {
976
1705
  open: { type: Boolean, default: void 0 },
@@ -981,52 +1710,52 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
981
1710
  disabled: { type: Boolean, default: !1 }
982
1711
  },
983
1712
  emits: ["update:open"],
984
- setup(e, { emit: n }) {
985
- const t = e, s = n, l = S("popover-title"), b = x(t.open ?? t.defaultOpen), f = $(() => t.open ?? b.value);
986
- M(() => t.open, (r) => {
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) => {
987
1716
  r !== void 0 && (b.value = r);
988
1717
  });
989
- function d(r) {
1718
+ function i(r) {
990
1719
  b.value = r, s("update:open", r);
991
1720
  }
992
- return (r, g) => (o(), N(a(De), {
993
- open: f.value,
1721
+ return (r, v) => (n(), y(t(Ct), {
1722
+ open: m.value,
994
1723
  "default-open": e.defaultOpen,
995
- "onUpdate:open": d
1724
+ "onUpdate:open": i
996
1725
  }, {
997
- default: u(() => [
998
- m(a(Me), {
1726
+ default: d(() => [
1727
+ c(t(wt), {
999
1728
  class: "nb-root nb-overlay-trigger",
1000
1729
  disabled: e.disabled
1001
1730
  }, {
1002
- default: u(() => [
1731
+ default: d(() => [
1003
1732
  _(r.$slots, "trigger")
1004
1733
  ]),
1005
1734
  _: 3
1006
1735
  }, 8, ["disabled"]),
1007
- m(a(Re), null, {
1008
- default: u(() => [
1009
- m(a(qe), {
1736
+ c(t(Tt), null, {
1737
+ default: d(() => [
1738
+ c(t(St), {
1010
1739
  class: "nb-root nb-popover",
1011
1740
  align: e.align,
1012
1741
  side: e.side,
1013
1742
  "side-offset": 8,
1014
- "aria-labelledby": e.title ? a(l) : void 0
1743
+ "aria-labelledby": e.title ? t(l) : void 0
1015
1744
  }, {
1016
- default: u(() => [
1017
- e.title ? (o(), i("header", Pa, [
1018
- c("h2", { id: a(l) }, p(e.title), 9, Da),
1019
- m(a(Oe), {
1745
+ default: d(() => [
1746
+ e.title ? (n(), u("header", rn, [
1747
+ f("h2", { id: t(l) }, p(e.title), 9, un),
1748
+ c(t(At), {
1020
1749
  class: "nb-overlay-close",
1021
1750
  "aria-label": "Close popover"
1022
1751
  }, {
1023
- default: u(() => [...g[0] || (g[0] = [
1024
- V("×", -1)
1752
+ default: d(() => [...v[0] || (v[0] = [
1753
+ I("×", -1)
1025
1754
  ])]),
1026
1755
  _: 1
1027
1756
  })
1028
- ])) : h("", !0),
1029
- c("div", Ma, [
1757
+ ])) : g("", !0),
1758
+ f("div", cn, [
1030
1759
  _(r.$slots, "default")
1031
1760
  ])
1032
1761
  ]),
@@ -1039,10 +1768,10 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
1039
1768
  _: 3
1040
1769
  }, 8, ["open", "default-open"]));
1041
1770
  }
1042
- }), qa = { class: "nb-root nb-progress-wrap" }, Oa = {
1771
+ }), fn = { class: "nb-root nb-progress-wrap" }, mn = {
1043
1772
  key: 0,
1044
1773
  class: "nb-progress__header"
1045
- }, Ea = /* @__PURE__ */ v({
1774
+ }, pn = /* @__PURE__ */ h({
1046
1775
  __name: "NbProgress",
1047
1776
  props: {
1048
1777
  value: { default: null },
@@ -1051,35 +1780,35 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
1051
1780
  showValue: { type: Boolean, default: !1 }
1052
1781
  },
1053
1782
  setup(e) {
1054
- const n = e, t = $(() => n.value === null ? 0 : Math.min(100, Math.max(0, n.value / n.max * 100)));
1055
- return (s, l) => (o(), i("div", qa, [
1056
- e.showValue ? (o(), i("div", Oa, [
1057
- c("span", null, p(e.label), 1),
1058
- c("span", null, p(Math.round(t.value)) + "%", 1)
1059
- ])) : h("", !0),
1060
- m(a(Ee), {
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, [
1786
+ f("span", null, p(e.label), 1),
1787
+ f("span", null, p(Math.round(a.value)) + "%", 1)
1788
+ ])) : g("", !0),
1789
+ c(t(Mt), {
1061
1790
  class: "nb-progress",
1062
1791
  "model-value": e.value,
1063
1792
  max: e.max,
1064
1793
  "get-value-label": () => e.label
1065
1794
  }, {
1066
- default: u(() => [
1067
- m(a(Ge), {
1795
+ default: d(() => [
1796
+ c(t(Dt), {
1068
1797
  class: "nb-progress__indicator",
1069
- style: O(e.value === null ? void 0 : { transform: `translateX(-${100 - t.value}%)` })
1798
+ style: q(e.value === null ? void 0 : { transform: `translateX(-${100 - a.value}%)` })
1070
1799
  }, null, 8, ["style"])
1071
1800
  ]),
1072
1801
  _: 1
1073
1802
  }, 8, ["model-value", "max", "get-value-label"])
1074
1803
  ]));
1075
1804
  }
1076
- }), Ga = ["disabled", "aria-describedby"], za = {
1805
+ }), vn = ["disabled", "aria-describedby"], hn = {
1077
1806
  key: 0,
1078
1807
  class: "nb-radio-group__legend"
1079
- }, La = { class: "nb-radio-group__options" }, Ua = ["for"], Fa = ["id", "name", "value", "checked", "disabled", "onChange"], Ka = { class: "nb-radio__content" }, ja = { class: "nb-radio__label" }, Ha = {
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 = {
1080
1809
  key: 0,
1081
1810
  class: "nb-radio__description"
1082
- }, Ja = /* @__PURE__ */ v({
1811
+ }, kn = /* @__PURE__ */ h({
1083
1812
  __name: "NbRadioGroup",
1084
1813
  props: {
1085
1814
  modelValue: { default: "" },
@@ -1090,48 +1819,113 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
1090
1819
  options: {}
1091
1820
  },
1092
1821
  emits: ["update:modelValue"],
1093
- setup(e, { emit: n }) {
1094
- const t = e, s = n, l = S("radio-group"), b = t.name ?? l, f = `${l}-hint`;
1095
- return (d, r) => (o(), i("fieldset", {
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", {
1096
1825
  class: "nb-root nb-radio-group",
1097
1826
  disabled: e.disabled,
1098
- "aria-describedby": e.hint ? f : void 0
1827
+ "aria-describedby": e.hint ? m : void 0
1099
1828
  }, [
1100
- e.label ? (o(), i("legend", za, p(e.label), 1)) : h("", !0),
1101
- e.hint ? (o(), i("p", {
1829
+ e.label ? (n(), u("legend", hn, p(e.label), 1)) : g("", !0),
1830
+ e.hint ? (n(), u("p", {
1102
1831
  key: 1,
1103
- id: f,
1832
+ id: m,
1104
1833
  class: "nb-field__hint nb-radio-group__hint"
1105
- }, p(e.hint), 1)) : h("", !0),
1106
- c("div", La, [
1107
- (o(!0), i(P, null, D(e.options, (g, y) => (o(), i("label", {
1108
- key: g.value,
1109
- class: B(["nb-radio", { "is-checked": e.modelValue === g.value }]),
1110
- for: `${a(l)}-${y}`
1834
+ }, 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)}-${$}`
1111
1840
  }, [
1112
- c("input", {
1113
- id: `${a(l)}-${y}`,
1841
+ f("input", {
1842
+ id: `${t(l)}-${$}`,
1114
1843
  class: "nb-radio__input",
1115
1844
  type: "radio",
1116
- name: a(b),
1117
- value: g.value,
1118
- checked: e.modelValue === g.value,
1119
- disabled: e.disabled || g.disabled,
1120
- onChange: (R) => s("update:modelValue", g.value)
1121
- }, null, 40, Fa),
1122
- r[0] || (r[0] = c("span", {
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),
1851
+ r[0] || (r[0] = f("span", {
1123
1852
  class: "nb-radio__mark",
1124
1853
  "aria-hidden": "true"
1125
1854
  }, null, -1)),
1126
- c("span", Ka, [
1127
- c("span", ja, p(g.label), 1),
1128
- g.description ? (o(), i("span", Ha, p(g.description), 1)) : h("", !0)
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)
1129
1858
  ])
1130
- ], 10, Ua))), 128))
1859
+ ], 10, _n))), 128))
1131
1860
  ])
1132
- ], 8, Ga));
1861
+ ], 8, vn));
1862
+ }
1863
+ }), xn = ["id", "disabled", "aria-label", "aria-invalid", "aria-describedby"], Vn = {
1864
+ key: 0,
1865
+ class: "nb-field__label"
1866
+ }, Bn = { class: "nb-rating__options" }, Cn = ["name", "value", "checked", "required", "aria-label"], wn = ["id"], Tn = ["id"], Sn = /* @__PURE__ */ h({
1867
+ inheritAttrs: !1,
1868
+ __name: "NbRating",
1869
+ props: {
1870
+ modelValue: {},
1871
+ length: { default: 5 },
1872
+ label: {},
1873
+ hint: {},
1874
+ error: {},
1875
+ name: {},
1876
+ id: {},
1877
+ disabled: { type: Boolean, default: !1 },
1878
+ required: { type: Boolean, default: !1 }
1879
+ },
1880
+ 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,
1885
+ class: "nb-root nb-field nb-rating",
1886
+ disabled: e.disabled,
1887
+ "aria-label": e.label ? void 0 : "Rating",
1888
+ "aria-invalid": e.error ? "true" : void 0,
1889
+ "aria-describedby": b.value
1890
+ }), [
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", {
1894
+ key: r,
1895
+ class: x(["nb-rating__option", { "is-active": e.modelValue !== void 0 && r <= e.modelValue }])
1896
+ }, [
1897
+ f("input", {
1898
+ class: "nb-rating__input",
1899
+ type: "radio",
1900
+ name: e.name ?? t(l).inputId,
1901
+ value: r,
1902
+ checked: e.modelValue === r,
1903
+ required: e.required,
1904
+ "aria-label": `${r} of ${e.length}`,
1905
+ onChange: i[0] || (i[0] = (v) => s("update:modelValue", Number(v.target.value)))
1906
+ }, null, 40, Cn),
1907
+ i[1] || (i[1] = f("svg", {
1908
+ viewBox: "0 0 24 24",
1909
+ "aria-hidden": "true",
1910
+ focusable: "false"
1911
+ }, [
1912
+ f("path", { d: "m12 2 2.9 6.1 6.7 1-4.8 4.7 1.1 6.7-5.9-3.1-5.9 3.1 1.1-6.7-4.8-4.7 6.7-1z" })
1913
+ ], -1))
1914
+ ], 2))), 128))
1915
+ ]),
1916
+ e.hint ? (n(), u("span", {
1917
+ key: 1,
1918
+ id: t(l).hintId,
1919
+ class: "nb-field__hint"
1920
+ }, p(e.hint), 9, wn)) : g("", !0),
1921
+ e.error ? (n(), u("span", {
1922
+ key: 2,
1923
+ id: t(l).errorId,
1924
+ class: "nb-field__error"
1925
+ }, p(e.error), 9, Tn)) : g("", !0)
1926
+ ], 16, xn));
1133
1927
  }
1134
- }), Xa = /* @__PURE__ */ v({
1928
+ }), An = /* @__PURE__ */ h({
1135
1929
  __name: "NbScrollArea",
1136
1930
  props: {
1137
1931
  label: { default: "Scrollable content" },
@@ -1139,27 +1933,27 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
1139
1933
  type: { default: "hover" }
1140
1934
  },
1141
1935
  setup(e) {
1142
- return (n, t) => (o(), N(a(ze), {
1936
+ return (o, a) => (n(), y(t(Ot), {
1143
1937
  class: "nb-root nb-scroll-area",
1144
1938
  type: e.type,
1145
- style: O({ height: e.height })
1939
+ style: q({ height: e.height })
1146
1940
  }, {
1147
- default: u(() => [
1148
- m(a(Le), {
1941
+ default: d(() => [
1942
+ c(t(Pt), {
1149
1943
  class: "nb-scroll-area__viewport",
1150
1944
  "aria-label": e.label
1151
1945
  }, {
1152
- default: u(() => [
1153
- _(n.$slots, "default")
1946
+ default: d(() => [
1947
+ _(o.$slots, "default")
1154
1948
  ]),
1155
1949
  _: 3
1156
1950
  }, 8, ["aria-label"]),
1157
- m(a(Ue), {
1951
+ c(t(Rt), {
1158
1952
  class: "nb-scroll-area__scrollbar",
1159
1953
  orientation: "vertical"
1160
1954
  }, {
1161
- default: u(() => [
1162
- m(a(Fe), { class: "nb-scroll-area__thumb" })
1955
+ default: d(() => [
1956
+ c(t(qt), { class: "nb-scroll-area__thumb" })
1163
1957
  ]),
1164
1958
  _: 1
1165
1959
  })
@@ -1167,7 +1961,90 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
1167
1961
  _: 3
1168
1962
  }, 8, ["type", "style"]));
1169
1963
  }
1170
- }), Qa = { class: "nb-root nb-field" }, Wa = ["for"], Ya = ["id"], Za = ["id"], el = /* @__PURE__ */ v({
1964
+ }), Mn = { class: "nb-sheet__header" }, Dn = { class: "nb-sheet__body" }, On = {
1965
+ key: 0,
1966
+ class: "nb-sheet__footer"
1967
+ }, Pn = /* @__PURE__ */ h({
1968
+ __name: "NbSheet",
1969
+ props: {
1970
+ open: { type: Boolean, default: void 0 },
1971
+ defaultOpen: { type: Boolean, default: !1 },
1972
+ title: {},
1973
+ description: {},
1974
+ side: { default: "right" }
1975
+ },
1976
+ 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) => {
1980
+ i !== void 0 && (l.value = i);
1981
+ });
1982
+ function m(i) {
1983
+ l.value = i, s("update:open", i);
1984
+ }
1985
+ return (i, r) => (n(), y(t(Y), {
1986
+ open: b.value,
1987
+ "onUpdate:open": m
1988
+ }, {
1989
+ default: d(() => [
1990
+ c(t(Z), { class: "nb-root nb-overlay-trigger" }, {
1991
+ default: d(() => [
1992
+ _(i.$slots, "trigger")
1993
+ ]),
1994
+ _: 3
1995
+ }),
1996
+ c(t(ee), null, {
1997
+ default: d(() => [
1998
+ c(t(te), { class: "nb-root nb-sheet__overlay" }),
1999
+ c(t(ae), k(e.description ? {} : { "aria-describedby": void 0 }, {
2000
+ class: ["nb-root nb-sheet", `nb-sheet--${e.side}`]
2001
+ }), {
2002
+ default: d(() => [
2003
+ f("header", Mn, [
2004
+ f("div", null, [
2005
+ c(t(le), { class: "nb-sheet__title" }, {
2006
+ default: d(() => [
2007
+ I(p(e.title), 1)
2008
+ ]),
2009
+ _: 1
2010
+ }),
2011
+ e.description ? (n(), y(t(Ut), {
2012
+ key: 0,
2013
+ class: "nb-sheet__description"
2014
+ }, {
2015
+ default: d(() => [
2016
+ I(p(e.description), 1)
2017
+ ]),
2018
+ _: 1
2019
+ })) : g("", !0)
2020
+ ]),
2021
+ c(t(ne), {
2022
+ class: "nb-overlay-close",
2023
+ "aria-label": "Close sheet"
2024
+ }, {
2025
+ default: d(() => [...r[0] || (r[0] = [
2026
+ I("×", -1)
2027
+ ])]),
2028
+ _: 1
2029
+ })
2030
+ ]),
2031
+ f("div", Dn, [
2032
+ _(i.$slots, "default")
2033
+ ]),
2034
+ i.$slots.footer ? (n(), u("footer", On, [
2035
+ _(i.$slots, "footer")
2036
+ ])) : g("", !0)
2037
+ ]),
2038
+ _: 3
2039
+ }, 16, ["class"])
2040
+ ]),
2041
+ _: 3
2042
+ })
2043
+ ]),
2044
+ _: 3
2045
+ }, 8, ["open"]));
2046
+ }
2047
+ }), Rn = { class: "nb-root nb-field" }, qn = ["for"], Un = ["id"], Ln = ["id"], Gn = /* @__PURE__ */ h({
1171
2048
  inheritAttrs: !1,
1172
2049
  __name: "NbSelect",
1173
2050
  props: {
@@ -1182,43 +2059,43 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
1182
2059
  id: {}
1183
2060
  },
1184
2061
  emits: ["update:modelValue"],
1185
- setup(e, { emit: n }) {
1186
- const t = e, s = n, l = w("select", t.id), b = $(() => A(t.hint, t.error, l.hintId, l.errorId));
1187
- function f(d) {
1188
- typeof d == "string" && s("update:modelValue", d);
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));
2064
+ function m(i) {
2065
+ typeof i == "string" && s("update:modelValue", i);
1189
2066
  }
1190
- return (d, r) => (o(), i("div", Qa, [
1191
- e.label ? (o(), i("label", {
2067
+ return (i, r) => (n(), u("div", Rn, [
2068
+ e.label ? (n(), u("label", {
1192
2069
  key: 0,
1193
2070
  class: "nb-field__label",
1194
- for: a(l).inputId
1195
- }, p(e.label), 9, Wa)) : h("", !0),
1196
- m(a(Ke), {
2071
+ for: t(l).inputId
2072
+ }, p(e.label), 9, qn)) : g("", !0),
2073
+ c(t(Lt), {
1197
2074
  "model-value": e.modelValue,
1198
2075
  disabled: e.disabled,
1199
2076
  required: e.required,
1200
2077
  name: e.name,
1201
- "onUpdate:modelValue": f
2078
+ "onUpdate:modelValue": m
1202
2079
  }, {
1203
- default: u(() => [
1204
- m(a(je), k(d.$attrs, {
1205
- id: a(l).inputId,
2080
+ default: d(() => [
2081
+ c(t(Gt), k(i.$attrs, {
2082
+ id: t(l).inputId,
1206
2083
  class: "nb-select__trigger",
1207
2084
  "aria-invalid": e.error ? "true" : void 0,
1208
2085
  "aria-describedby": b.value
1209
2086
  }), {
1210
- default: u(() => [
1211
- m(a(He), { placeholder: e.placeholder }, null, 8, ["placeholder"]),
1212
- m(a(Je), {
2087
+ default: d(() => [
2088
+ c(t(zt), { placeholder: e.placeholder }, null, 8, ["placeholder"]),
2089
+ c(t(Et), {
1213
2090
  class: "nb-select__icon",
1214
2091
  "aria-hidden": "true"
1215
2092
  }, {
1216
- default: u(() => [...r[0] || (r[0] = [
1217
- c("svg", {
2093
+ default: d(() => [...r[0] || (r[0] = [
2094
+ f("svg", {
1218
2095
  viewBox: "0 0 16 16",
1219
2096
  focusable: "false"
1220
2097
  }, [
1221
- c("path", { d: "m3 6 5 5 5-5" })
2098
+ f("path", { d: "m3 6 5 5 5-5" })
1222
2099
  ], -1)
1223
2100
  ])]),
1224
2101
  _: 1
@@ -1226,46 +2103,46 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
1226
2103
  ]),
1227
2104
  _: 1
1228
2105
  }, 16, ["id", "aria-invalid", "aria-describedby"]),
1229
- m(a(Xe), null, {
1230
- default: u(() => [
1231
- m(a(Qe), {
2106
+ c(t(Ft), null, {
2107
+ default: d(() => [
2108
+ c(t(Ht), {
1232
2109
  class: "nb-root nb-select__content",
1233
2110
  position: "popper",
1234
2111
  "side-offset": 5
1235
2112
  }, {
1236
- default: u(() => [
1237
- m(a(We), {
2113
+ default: d(() => [
2114
+ c(t(Kt), {
1238
2115
  class: "nb-select__scroll-button",
1239
2116
  "aria-label": "Scroll up"
1240
2117
  }, {
1241
- default: u(() => [...r[1] || (r[1] = [
1242
- c("svg", {
2118
+ default: d(() => [...r[1] || (r[1] = [
2119
+ f("svg", {
1243
2120
  viewBox: "0 0 16 16",
1244
2121
  "aria-hidden": "true",
1245
2122
  focusable: "false"
1246
2123
  }, [
1247
- c("path", { d: "m3 10 5-5 5 5" })
2124
+ f("path", { d: "m3 10 5-5 5 5" })
1248
2125
  ], -1)
1249
2126
  ])]),
1250
2127
  _: 1
1251
2128
  }),
1252
- m(a(Ye), { class: "nb-select__viewport" }, {
1253
- default: u(() => [
1254
- _(d.$slots, "default")
2129
+ c(t(jt), { class: "nb-select__viewport" }, {
2130
+ default: d(() => [
2131
+ _(i.$slots, "default")
1255
2132
  ]),
1256
2133
  _: 3
1257
2134
  }),
1258
- m(a(Ze), {
2135
+ c(t(Xt), {
1259
2136
  class: "nb-select__scroll-button",
1260
2137
  "aria-label": "Scroll down"
1261
2138
  }, {
1262
- default: u(() => [...r[2] || (r[2] = [
1263
- c("svg", {
2139
+ default: d(() => [...r[2] || (r[2] = [
2140
+ f("svg", {
1264
2141
  viewBox: "0 0 16 16",
1265
2142
  "aria-hidden": "true",
1266
2143
  focusable: "false"
1267
2144
  }, [
1268
- c("path", { d: "m3 6 5 5 5-5" })
2145
+ f("path", { d: "m3 6 5 5 5-5" })
1269
2146
  ], -1)
1270
2147
  ])]),
1271
2148
  _: 1
@@ -1279,48 +2156,48 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
1279
2156
  ]),
1280
2157
  _: 3
1281
2158
  }, 8, ["model-value", "disabled", "required", "name"]),
1282
- e.hint ? (o(), i("span", {
2159
+ e.hint ? (n(), u("span", {
1283
2160
  key: 1,
1284
- id: a(l).hintId,
2161
+ id: t(l).hintId,
1285
2162
  class: "nb-field__hint"
1286
- }, p(e.hint), 9, Ya)) : h("", !0),
1287
- e.error ? (o(), i("span", {
2163
+ }, p(e.hint), 9, Un)) : g("", !0),
2164
+ e.error ? (n(), u("span", {
1288
2165
  key: 2,
1289
- id: a(l).errorId,
2166
+ id: t(l).errorId,
1290
2167
  class: "nb-field__error"
1291
- }, p(e.error), 9, Za)) : h("", !0)
2168
+ }, p(e.error), 9, Ln)) : g("", !0)
1292
2169
  ]));
1293
2170
  }
1294
- }), tl = /* @__PURE__ */ v({
2171
+ }), zn = /* @__PURE__ */ h({
1295
2172
  __name: "NbSelectItem",
1296
2173
  props: {
1297
2174
  value: {},
1298
2175
  disabled: { type: Boolean, default: !1 }
1299
2176
  },
1300
2177
  setup(e) {
1301
- return (n, t) => (o(), N(a(et), {
2178
+ return (o, a) => (n(), y(t(Jt), {
1302
2179
  class: "nb-select__item",
1303
2180
  value: e.value,
1304
2181
  disabled: e.disabled,
1305
2182
  "data-value": e.value
1306
2183
  }, {
1307
- default: u(() => [
1308
- m(a(tt), null, {
1309
- default: u(() => [
1310
- _(n.$slots, "default")
2184
+ default: d(() => [
2185
+ c(t(Qt), null, {
2186
+ default: d(() => [
2187
+ _(o.$slots, "default")
1311
2188
  ]),
1312
2189
  _: 3
1313
2190
  }),
1314
- m(a(at), {
2191
+ c(t(Wt), {
1315
2192
  class: "nb-select__indicator",
1316
2193
  "aria-hidden": "true"
1317
2194
  }, {
1318
- default: u(() => [...t[0] || (t[0] = [
1319
- c("svg", {
2195
+ default: d(() => [...a[0] || (a[0] = [
2196
+ f("svg", {
1320
2197
  viewBox: "0 0 16 16",
1321
2198
  focusable: "false"
1322
2199
  }, [
1323
- c("path", { d: "m2.5 8.5 3.5 3.5 7.5-8" })
2200
+ f("path", { d: "m2.5 8.5 3.5 3.5 7.5-8" })
1324
2201
  ], -1)
1325
2202
  ])]),
1326
2203
  _: 1
@@ -1329,26 +2206,26 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
1329
2206
  _: 3
1330
2207
  }, 8, ["value", "disabled", "data-value"]));
1331
2208
  }
1332
- }), al = /* @__PURE__ */ v({
2209
+ }), En = /* @__PURE__ */ h({
1333
2210
  __name: "NbSeparator",
1334
2211
  props: {
1335
2212
  orientation: { default: "horizontal" },
1336
2213
  decorative: { type: Boolean, default: !0 }
1337
2214
  },
1338
2215
  setup(e) {
1339
- return (n, t) => (o(), N(a(lt), {
2216
+ return (o, a) => (n(), y(t(Yt), {
1340
2217
  class: "nb-root nb-separator",
1341
2218
  orientation: e.orientation,
1342
2219
  decorative: e.decorative
1343
2220
  }, null, 8, ["orientation", "decorative"]));
1344
2221
  }
1345
- }), ll = { class: "nb-root nb-field" }, nl = {
2222
+ }), Fn = { class: "nb-root nb-field" }, Hn = {
1346
2223
  key: 0,
1347
2224
  class: "nb-slider__header"
1348
- }, ol = {
2225
+ }, Kn = {
1349
2226
  key: 1,
1350
2227
  class: "nb-slider__value"
1351
- }, sl = ["id"], il = ["id"], dl = /* @__PURE__ */ v({
2228
+ }, jn = ["id"], Xn = ["id"], Jn = /* @__PURE__ */ h({
1352
2229
  inheritAttrs: !1,
1353
2230
  __name: "NbSlider",
1354
2231
  props: {
@@ -1366,24 +2243,24 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
1366
2243
  showValue: { type: Boolean, default: !0 }
1367
2244
  },
1368
2245
  emits: ["update:modelValue", "change"],
1369
- setup(e, { emit: n }) {
1370
- const t = e, s = n, l = w("slider", t.id), b = `${l.inputId}-label`, f = $(() => A(t.hint, t.error, l.hintId, l.errorId));
1371
- function d(g) {
1372
- g?.[0] !== void 0 && s("update:modelValue", g[0]);
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]);
1373
2250
  }
1374
- function r(g) {
1375
- g[0] !== void 0 && s("change", g[0]);
2251
+ function r(v) {
2252
+ v[0] !== void 0 && s("change", v[0]);
1376
2253
  }
1377
- return (g, y) => (o(), i("div", ll, [
1378
- e.label || e.showValue ? (o(), i("div", nl, [
1379
- e.label ? (o(), i("span", {
2254
+ return (v, $) => (n(), u("div", Fn, [
2255
+ e.label || e.showValue ? (n(), u("div", Hn, [
2256
+ e.label ? (n(), u("span", {
1380
2257
  key: 0,
1381
2258
  id: b,
1382
2259
  class: "nb-field__label"
1383
- }, p(e.label), 1)) : h("", !0),
1384
- e.showValue ? (o(), i("output", ol, p(e.modelValue), 1)) : h("", !0)
1385
- ])) : h("", !0),
1386
- m(a(nt), {
2260
+ }, p(e.label), 1)) : g("", !0),
2261
+ e.showValue ? (n(), u("output", Kn, p(e.modelValue), 1)) : g("", !0)
2262
+ ])) : g("", !0),
2263
+ c(t(Zt), {
1387
2264
  class: "nb-slider",
1388
2265
  "model-value": [e.modelValue],
1389
2266
  min: e.min,
@@ -1392,39 +2269,39 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
1392
2269
  disabled: e.disabled,
1393
2270
  required: e.required,
1394
2271
  name: e.name,
1395
- "onUpdate:modelValue": d,
2272
+ "onUpdate:modelValue": i,
1396
2273
  onValueCommit: r
1397
2274
  }, {
1398
- default: u(() => [
1399
- m(a(ot), { class: "nb-slider__track" }, {
1400
- default: u(() => [
1401
- m(a(st), { class: "nb-slider__range" })
2275
+ default: d(() => [
2276
+ c(t(ea), { class: "nb-slider__track" }, {
2277
+ default: d(() => [
2278
+ c(t(ta), { class: "nb-slider__range" })
1402
2279
  ]),
1403
2280
  _: 1
1404
2281
  }),
1405
- m(a(it), k(g.$attrs, {
1406
- id: a(l).inputId,
2282
+ c(t(aa), k(v.$attrs, {
2283
+ id: t(l).inputId,
1407
2284
  class: "nb-slider__thumb",
1408
2285
  "aria-labelledby": e.label ? b : void 0,
1409
2286
  "aria-invalid": e.error ? "true" : void 0,
1410
- "aria-describedby": f.value
2287
+ "aria-describedby": m.value
1411
2288
  }), null, 16, ["id", "aria-labelledby", "aria-invalid", "aria-describedby"])
1412
2289
  ]),
1413
2290
  _: 1
1414
2291
  }, 8, ["model-value", "min", "max", "step", "disabled", "required", "name"]),
1415
- e.hint ? (o(), i("span", {
2292
+ e.hint ? (n(), u("span", {
1416
2293
  key: 1,
1417
- id: a(l).hintId,
2294
+ id: t(l).hintId,
1418
2295
  class: "nb-field__hint"
1419
- }, p(e.hint), 9, sl)) : h("", !0),
1420
- e.error ? (o(), i("span", {
2296
+ }, p(e.hint), 9, jn)) : g("", !0),
2297
+ e.error ? (n(), u("span", {
1421
2298
  key: 2,
1422
- id: a(l).errorId,
2299
+ id: t(l).errorId,
1423
2300
  class: "nb-field__error"
1424
- }, p(e.error), 9, il)) : h("", !0)
2301
+ }, p(e.error), 9, Xn)) : g("", !0)
1425
2302
  ]));
1426
2303
  }
1427
- }), rl = /* @__PURE__ */ v({
2304
+ }), Qn = /* @__PURE__ */ h({
1428
2305
  __name: "NbSkeleton",
1429
2306
  props: {
1430
2307
  width: { default: "100%" },
@@ -1432,32 +2309,32 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
1432
2309
  rounded: { type: Boolean, default: !1 }
1433
2310
  },
1434
2311
  setup(e) {
1435
- const n = e, t = $(() => ({ width: n.width, height: n.height }));
1436
- return (s, l) => (o(), i("div", {
1437
- class: B(["nb-root nb-skeleton", { "nb-skeleton--rounded": e.rounded }]),
1438
- style: O(t.value),
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),
1439
2316
  "aria-hidden": "true"
1440
2317
  }, null, 6));
1441
2318
  }
1442
- }), ul = ["aria-label"], cl = /* @__PURE__ */ v({
2319
+ }), Wn = ["aria-label"], Yn = /* @__PURE__ */ h({
1443
2320
  __name: "NbSpinner",
1444
2321
  props: {
1445
2322
  label: { default: "Loading" },
1446
2323
  size: { default: "md" }
1447
2324
  },
1448
2325
  setup(e) {
1449
- return (n, t) => (o(), i("span", {
2326
+ return (o, a) => (n(), u("span", {
1450
2327
  class: "nb-root nb-spinner-wrap",
1451
2328
  role: "status",
1452
2329
  "aria-label": e.label
1453
2330
  }, [
1454
- c("span", {
1455
- class: B(["nb-spinner", `nb-spinner--${e.size}`]),
2331
+ f("span", {
2332
+ class: x(["nb-spinner", `nb-spinner--${e.size}`]),
1456
2333
  "aria-hidden": "true"
1457
2334
  }, null, 2)
1458
- ], 8, ul));
2335
+ ], 8, Wn));
1459
2336
  }
1460
- }), bl = ["for"], fl = ["id", "checked", "disabled", "aria-checked", "aria-describedby"], ml = { class: "nb-switch__content" }, pl = { class: "nb-switch__label" }, hl = ["id"], vl = /* @__PURE__ */ v({
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({
1461
2338
  inheritAttrs: !1,
1462
2339
  __name: "NbSwitch",
1463
2340
  props: {
@@ -1468,46 +2345,122 @@ const Ot = ["for"], Et = ["id", "checked", "disabled"], Gt = { class: "nb-checkb
1468
2345
  id: {}
1469
2346
  },
1470
2347
  emits: ["update:modelValue"],
1471
- setup(e, { emit: n }) {
1472
- const t = e, s = n, l = w("switch", t.id);
1473
- return (b, f) => (o(), i("label", {
1474
- class: B(["nb-root nb-switch", { "is-disabled": e.disabled }]),
1475
- for: a(l).inputId
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
1476
2353
  }, [
1477
- c("input", k(b.$attrs, {
1478
- id: a(l).inputId,
2354
+ f("input", k(b.$attrs, {
2355
+ id: t(l).inputId,
1479
2356
  class: "nb-switch__input",
1480
2357
  type: "checkbox",
1481
2358
  role: "switch",
1482
2359
  checked: e.modelValue,
1483
2360
  disabled: e.disabled,
1484
2361
  "aria-checked": e.modelValue ? "true" : "false",
1485
- "aria-describedby": e.description ? a(l).hintId : void 0,
1486
- onChange: f[0] || (f[0] = (d) => s("update:modelValue", d.target.checked))
1487
- }), null, 16, fl),
1488
- f[1] || (f[1] = c("span", {
2362
+ "aria-describedby": e.description ? t(l).hintId : void 0,
2363
+ onChange: m[0] || (m[0] = (i) => s("update:modelValue", i.target.checked))
2364
+ }), null, 16, eo),
2365
+ m[1] || (m[1] = f("span", {
1489
2366
  class: "nb-switch__track",
1490
2367
  "aria-hidden": "true"
1491
2368
  }, [
1492
- c("span", { class: "nb-switch__thumb" })
2369
+ f("span", { class: "nb-switch__thumb" })
1493
2370
  ], -1)),
1494
- c("span", ml, [
1495
- c("span", pl, p(e.label), 1),
1496
- e.description ? (o(), i("span", {
2371
+ f("span", to, [
2372
+ f("span", ao, p(e.label), 1),
2373
+ e.description ? (n(), u("span", {
1497
2374
  key: 0,
1498
- id: a(l).hintId,
2375
+ id: t(l).hintId,
1499
2376
  class: "nb-switch__description"
1500
- }, p(e.description), 9, hl)) : h("", !0)
2377
+ }, p(e.description), 9, lo)) : g("", !0)
1501
2378
  ])
1502
- ], 10, bl));
2379
+ ], 10, Zn));
2380
+ }
2381
+ }), oo = { class: "nb-root nb-field" }, so = ["for"], io = ["id"], ro = ["id"], uo = /* @__PURE__ */ h({
2382
+ inheritAttrs: !1,
2383
+ __name: "NbTagsInput",
2384
+ props: {
2385
+ modelValue: { default: () => [] },
2386
+ label: {},
2387
+ hint: {},
2388
+ error: {},
2389
+ placeholder: {},
2390
+ name: {},
2391
+ id: {},
2392
+ max: {},
2393
+ disabled: { type: Boolean, default: !1 },
2394
+ required: { type: Boolean, default: !1 }
2395
+ },
2396
+ 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", {
2401
+ key: 0,
2402
+ class: "nb-field__label",
2403
+ for: t(l).inputId
2404
+ }, p(e.label), 9, so)) : g("", !0),
2405
+ c(t(la), {
2406
+ class: "nb-tags-input",
2407
+ "model-value": e.modelValue,
2408
+ name: e.name ?? (e.required ? t(l).inputId : void 0),
2409
+ id: t(l).inputId,
2410
+ max: e.max,
2411
+ disabled: e.disabled,
2412
+ required: e.required,
2413
+ "onUpdate:modelValue": i[0] || (i[0] = (r) => s("update:modelValue", r))
2414
+ }, {
2415
+ default: d(() => [
2416
+ (n(!0), u(B, null, T(e.modelValue, (r) => (n(), y(t(na), {
2417
+ key: r,
2418
+ class: "nb-tags-input__tag",
2419
+ value: r
2420
+ }, {
2421
+ default: d(() => [
2422
+ c(t(oa)),
2423
+ c(t(sa), {
2424
+ class: "nb-tags-input__remove",
2425
+ "aria-label": `Remove ${r}`,
2426
+ "aria-labelledby": void 0
2427
+ }, {
2428
+ default: d(() => [...i[1] || (i[1] = [
2429
+ I("×", -1)
2430
+ ])]),
2431
+ _: 1
2432
+ }, 8, ["aria-label"])
2433
+ ]),
2434
+ _: 2
2435
+ }, 1032, ["value"]))), 128)),
2436
+ c(t(ia), k(m.$attrs, {
2437
+ class: "nb-tags-input__input",
2438
+ placeholder: e.placeholder,
2439
+ "aria-invalid": e.error ? "true" : void 0,
2440
+ "aria-describedby": b.value
2441
+ }), null, 16, ["placeholder", "aria-invalid", "aria-describedby"])
2442
+ ]),
2443
+ _: 1
2444
+ }, 8, ["model-value", "name", "id", "max", "disabled", "required"]),
2445
+ e.hint ? (n(), u("span", {
2446
+ key: 1,
2447
+ id: t(l).hintId,
2448
+ class: "nb-field__hint"
2449
+ }, p(e.hint), 9, io)) : g("", !0),
2450
+ e.error ? (n(), u("span", {
2451
+ key: 2,
2452
+ id: t(l).errorId,
2453
+ class: "nb-field__error"
2454
+ }, p(e.error), 9, ro)) : g("", !0)
2455
+ ]));
1503
2456
  }
1504
- }), U = /* @__PURE__ */ Symbol("nb-tabs");
1505
- function E() {
1506
- const e = X(U);
2457
+ }), se = /* @__PURE__ */ Symbol("nb-tabs");
2458
+ function U() {
2459
+ const e = be(se);
1507
2460
  if (!e) throw new Error("Tabs components must be used inside NbTabs");
1508
2461
  return e;
1509
2462
  }
1510
- const gl = ["data-orientation"], _l = /* @__PURE__ */ v({
2463
+ const co = ["data-orientation"], bo = /* @__PURE__ */ h({
1511
2464
  __name: "NbTabs",
1512
2465
  props: {
1513
2466
  modelValue: {},
@@ -1515,90 +2468,90 @@ const gl = ["data-orientation"], _l = /* @__PURE__ */ v({
1515
2468
  orientation: { default: "horizontal" }
1516
2469
  },
1517
2470
  emits: ["update:modelValue"],
1518
- setup(e, { emit: n }) {
1519
- const t = e, s = n, l = S("tabs"), b = x(t.defaultValue), f = $(() => t.modelValue ?? b.value), d = $(() => t.orientation), r = (y) => encodeURIComponent(y);
1520
- function g(y) {
1521
- t.modelValue === void 0 && (b.value = y), s("update:modelValue", y);
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", $);
1522
2475
  }
1523
- return Q(U, {
1524
- activeValue: f,
1525
- orientation: d,
1526
- select: g,
1527
- triggerId: (y) => `${l}-tab-${r(y)}`,
1528
- panelId: (y) => `${l}-panel-${r(y)}`
1529
- }), (y, R) => (o(), i("div", {
1530
- class: B(["nb-root nb-tabs", `nb-tabs--${d.value}`]),
1531
- "data-orientation": d.value
2476
+ return fe(se, {
2477
+ activeValue: m,
2478
+ orientation: i,
2479
+ select: v,
2480
+ triggerId: ($) => `${l}-tab-${r($)}`,
2481
+ panelId: ($) => `${l}-panel-${r($)}`
2482
+ }), ($, P) => (n(), u("div", {
2483
+ class: x(["nb-root nb-tabs", `nb-tabs--${i.value}`]),
2484
+ "data-orientation": i.value
1532
2485
  }, [
1533
- _(y.$slots, "default")
1534
- ], 10, gl));
2486
+ _($.$slots, "default")
2487
+ ], 10, co));
1535
2488
  }
1536
- }), yl = ["id", "aria-labelledby", "hidden"], $l = /* @__PURE__ */ v({
2489
+ }), fo = ["id", "aria-labelledby", "hidden"], mo = /* @__PURE__ */ h({
1537
2490
  __name: "NbTabsContent",
1538
2491
  props: {
1539
2492
  value: {}
1540
2493
  },
1541
2494
  setup(e) {
1542
- const n = e, t = E(), s = $(() => t.activeValue.value === n.value);
1543
- return (l, b) => W((o(), i("div", {
2495
+ const o = e, a = U(), s = N(() => a.activeValue.value === o.value);
2496
+ return (l, b) => me((n(), u("div", {
1544
2497
  class: "nb-tabs__content",
1545
2498
  role: "tabpanel",
1546
- id: a(t).panelId(e.value),
1547
- "aria-labelledby": a(t).triggerId(e.value),
2499
+ id: t(a).panelId(e.value),
2500
+ "aria-labelledby": t(a).triggerId(e.value),
1548
2501
  hidden: !s.value,
1549
2502
  tabindex: "0"
1550
2503
  }, [
1551
2504
  _(l.$slots, "default")
1552
- ], 8, yl)), [
1553
- [Y, s.value]
2505
+ ], 8, fo)), [
2506
+ [pe, s.value]
1554
2507
  ]);
1555
2508
  }
1556
- }), Nl = ["aria-orientation"], kl = /* @__PURE__ */ v({
2509
+ }), po = ["aria-orientation"], vo = /* @__PURE__ */ h({
1557
2510
  __name: "NbTabsList",
1558
2511
  setup(e) {
1559
- const { orientation: n } = E();
1560
- function t(s) {
1561
- const l = n.value === "vertical" ? "ArrowUp" : "ArrowLeft", b = n.value === "vertical" ? "ArrowDown" : "ArrowRight";
2512
+ const { orientation: o } = U();
2513
+ function a(s) {
2514
+ const l = o.value === "vertical" ? "ArrowUp" : "ArrowLeft", b = o.value === "vertical" ? "ArrowDown" : "ArrowRight";
1562
2515
  if (![l, b, "Home", "End"].includes(s.key)) return;
1563
- const f = s.currentTarget, d = Array.from(f.querySelectorAll('[role="tab"]:not(:disabled)')), r = s.target.closest('[role="tab"]'), g = r ? d.indexOf(r) : -1;
1564
- if (!d.length || g < 0) 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;
1565
2518
  s.preventDefault();
1566
- const y = s.key === "Home" ? 0 : s.key === "End" ? d.length - 1 : (g + (s.key === b ? 1 : -1) + d.length) % d.length;
1567
- d[y]?.focus(), d[y]?.click();
2519
+ const $ = s.key === "Home" ? 0 : s.key === "End" ? i.length - 1 : (v + (s.key === b ? 1 : -1) + i.length) % i.length;
2520
+ i[$]?.focus(), i[$]?.click();
1568
2521
  }
1569
- return (s, l) => (o(), i("div", {
2522
+ return (s, l) => (n(), u("div", {
1570
2523
  class: "nb-tabs__list",
1571
2524
  role: "tablist",
1572
- "aria-orientation": a(n),
1573
- onKeydown: t
2525
+ "aria-orientation": t(o),
2526
+ onKeydown: a
1574
2527
  }, [
1575
2528
  _(s.$slots, "default")
1576
- ], 40, Nl));
2529
+ ], 40, po));
1577
2530
  }
1578
- }), Il = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "data-active"], Bl = /* @__PURE__ */ v({
2531
+ }), ho = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "data-active"], go = /* @__PURE__ */ h({
1579
2532
  __name: "NbTabsTrigger",
1580
2533
  props: {
1581
2534
  value: {},
1582
2535
  disabled: { type: Boolean, default: !1 }
1583
2536
  },
1584
2537
  setup(e) {
1585
- const n = e, t = E(), s = $(() => t.activeValue.value === n.value);
1586
- return (l, b) => (o(), i("button", {
1587
- class: B(["nb-tabs__trigger", { "is-active": s.value }]),
1588
- id: a(t).triggerId(e.value),
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),
1589
2542
  type: "button",
1590
2543
  role: "tab",
1591
2544
  "aria-selected": s.value,
1592
- "aria-controls": a(t).panelId(e.value),
2545
+ "aria-controls": t(a).panelId(e.value),
1593
2546
  tabindex: s.value ? 0 : -1,
1594
2547
  disabled: e.disabled,
1595
2548
  "data-active": s.value ? "" : void 0,
1596
- onClick: b[0] || (b[0] = (f) => a(t).select(e.value))
2549
+ onClick: b[0] || (b[0] = (m) => t(a).select(e.value))
1597
2550
  }, [
1598
2551
  _(l.$slots, "default")
1599
- ], 10, Il));
2552
+ ], 10, ho));
1600
2553
  }
1601
- }), Vl = { class: "nb-root nb-field" }, wl = ["for"], xl = ["id", "value", "disabled", "aria-invalid", "aria-describedby"], Sl = ["id"], Tl = ["id"], Al = /* @__PURE__ */ v({
2554
+ }), _o = { class: "nb-root nb-field" }, yo = ["for"], $o = ["id", "value", "disabled", "aria-invalid", "aria-describedby"], No = ["id"], Io = ["id"], ko = /* @__PURE__ */ h({
1602
2555
  inheritAttrs: !1,
1603
2556
  __name: "NbTextarea",
1604
2557
  props: {
@@ -1610,50 +2563,50 @@ const gl = ["data-orientation"], _l = /* @__PURE__ */ v({
1610
2563
  id: {}
1611
2564
  },
1612
2565
  emits: ["update:modelValue"],
1613
- setup(e, { emit: n }) {
1614
- const t = e, s = n, l = w("textarea", t.id), b = $(() => A(t.hint, t.error, l.hintId, l.errorId));
1615
- return (f, d) => (o(), i("div", Vl, [
1616
- e.label ? (o(), i("label", {
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", {
1617
2570
  key: 0,
1618
2571
  class: "nb-field__label",
1619
- for: a(l).inputId
1620
- }, p(e.label), 9, wl)) : h("", !0),
1621
- c("textarea", k(f.$attrs, {
1622
- id: a(l).inputId,
2572
+ for: t(l).inputId
2573
+ }, p(e.label), 9, yo)) : g("", !0),
2574
+ f("textarea", k(m.$attrs, {
2575
+ id: t(l).inputId,
1623
2576
  class: "nb-field__control nb-field__control--textarea",
1624
2577
  value: e.modelValue,
1625
2578
  disabled: e.disabled,
1626
2579
  "aria-invalid": e.error ? "true" : void 0,
1627
2580
  "aria-describedby": b.value,
1628
- onInput: d[0] || (d[0] = (r) => s("update:modelValue", r.target.value))
1629
- }), null, 16, xl),
1630
- e.hint ? (o(), i("span", {
2581
+ onInput: i[0] || (i[0] = (r) => s("update:modelValue", r.target.value))
2582
+ }), null, 16, $o),
2583
+ e.hint ? (n(), u("span", {
1631
2584
  key: 1,
1632
- id: a(l).hintId,
2585
+ id: t(l).hintId,
1633
2586
  class: "nb-field__hint"
1634
- }, p(e.hint), 9, Sl)) : h("", !0),
1635
- e.error ? (o(), i("span", {
2587
+ }, p(e.hint), 9, No)) : g("", !0),
2588
+ e.error ? (n(), u("span", {
1636
2589
  key: 2,
1637
- id: a(l).errorId,
2590
+ id: t(l).errorId,
1638
2591
  class: "nb-field__error"
1639
- }, p(e.error), 9, Tl)) : h("", !0)
2592
+ }, p(e.error), 9, Io)) : g("", !0)
1640
2593
  ]));
1641
2594
  }
1642
- }), Cl = { class: "nb-root nb-table-wrap" }, Pl = { key: 0 }, Dl = /* @__PURE__ */ v({
2595
+ }), xo = { class: "nb-root nb-table-wrap" }, Vo = { key: 0 }, Bo = /* @__PURE__ */ h({
1643
2596
  inheritAttrs: !1,
1644
2597
  __name: "NbTable",
1645
2598
  props: {
1646
2599
  caption: {}
1647
2600
  },
1648
2601
  setup(e) {
1649
- return (n, t) => (o(), i("div", Cl, [
1650
- c("table", k(n.$attrs, { class: "nb-table" }), [
1651
- e.caption ? (o(), i("caption", Pl, p(e.caption), 1)) : h("", !0),
1652
- _(n.$slots, "default")
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")
1653
2606
  ], 16)
1654
2607
  ]));
1655
2608
  }
1656
- }), Ml = { class: "nb-toast__content" }, Rl = /* @__PURE__ */ v({
2609
+ }), Co = { class: "nb-toast__content" }, wo = /* @__PURE__ */ h({
1657
2610
  __name: "NbToast",
1658
2611
  props: {
1659
2612
  open: { type: Boolean, default: void 0 },
@@ -1664,64 +2617,64 @@ const gl = ["data-orientation"], _l = /* @__PURE__ */ v({
1664
2617
  duration: { default: 5e3 }
1665
2618
  },
1666
2619
  emits: ["update:open"],
1667
- setup(e, { emit: n }) {
1668
- const t = e, s = n, l = x(t.open ?? t.defaultOpen), b = $(() => t.open ?? l.value);
1669
- M(() => t.open, (d) => {
1670
- d !== void 0 && (l.value = d);
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) => {
2623
+ i !== void 0 && (l.value = i);
1671
2624
  });
1672
- function f(d) {
1673
- l.value = d, s("update:open", d);
2625
+ function m(i) {
2626
+ l.value = i, s("update:open", i);
1674
2627
  }
1675
- return (d, r) => (o(), N(a(dt), {
2628
+ return (i, r) => (n(), y(t(da), {
1676
2629
  label: "Notification",
1677
2630
  duration: e.duration
1678
2631
  }, {
1679
- default: u(() => [
1680
- m(a(rt), {
1681
- class: B(["nb-root nb-toast", `nb-toast--${e.tone}`]),
2632
+ default: d(() => [
2633
+ c(t(ra), {
2634
+ class: x(["nb-root nb-toast", `nb-toast--${e.tone}`]),
1682
2635
  open: b.value,
1683
2636
  "default-open": e.defaultOpen,
1684
2637
  type: "foreground",
1685
2638
  role: "status",
1686
- "onUpdate:open": f
2639
+ "onUpdate:open": m
1687
2640
  }, {
1688
- default: u(() => [
1689
- c("div", Ml, [
1690
- m(a(ut), { class: "nb-toast__title" }, {
1691
- default: u(() => [
1692
- V(p(e.title), 1)
2641
+ default: d(() => [
2642
+ f("div", Co, [
2643
+ c(t(ua), { class: "nb-toast__title" }, {
2644
+ default: d(() => [
2645
+ I(p(e.title), 1)
1693
2646
  ]),
1694
2647
  _: 1
1695
2648
  }),
1696
- e.description ? (o(), N(a(ct), {
2649
+ e.description ? (n(), y(t(ca), {
1697
2650
  key: 0,
1698
2651
  class: "nb-toast__description"
1699
2652
  }, {
1700
- default: u(() => [
1701
- V(p(e.description), 1)
2653
+ default: d(() => [
2654
+ I(p(e.description), 1)
1702
2655
  ]),
1703
2656
  _: 1
1704
- })) : h("", !0),
1705
- _(d.$slots, "default")
2657
+ })) : g("", !0),
2658
+ _(i.$slots, "default")
1706
2659
  ]),
1707
- m(a(bt), {
2660
+ c(t(ba), {
1708
2661
  class: "nb-overlay-close",
1709
2662
  "aria-label": "Dismiss notification"
1710
2663
  }, {
1711
- default: u(() => [...r[0] || (r[0] = [
1712
- V("×", -1)
2664
+ default: d(() => [...r[0] || (r[0] = [
2665
+ I("×", -1)
1713
2666
  ])]),
1714
2667
  _: 1
1715
2668
  })
1716
2669
  ]),
1717
2670
  _: 3
1718
2671
  }, 8, ["class", "open", "default-open"]),
1719
- m(a(ft), { class: "nb-root nb-toast-viewport" })
2672
+ c(t(fa), { class: "nb-root nb-toast-viewport" })
1720
2673
  ]),
1721
2674
  _: 3
1722
2675
  }, 8, ["duration"]));
1723
2676
  }
1724
- }), ql = /* @__PURE__ */ v({
2677
+ }), To = /* @__PURE__ */ h({
1725
2678
  inheritAttrs: !1,
1726
2679
  __name: "NbToggle",
1727
2680
  props: {
@@ -1733,23 +2686,23 @@ const gl = ["data-orientation"], _l = /* @__PURE__ */ v({
1733
2686
  size: { default: "md" }
1734
2687
  },
1735
2688
  emits: ["update:modelValue"],
1736
- setup(e, { emit: n }) {
1737
- const t = e, s = n, l = $(() => C(`nb-toggle--${t.tone}`, `nb-toggle--${t.size}`));
1738
- return (b, f) => (o(), N(a(mt), k(b.$attrs, {
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, {
1739
2692
  class: ["nb-root nb-toggle", l.value],
1740
2693
  "model-value": e.modelValue,
1741
2694
  "default-value": e.defaultValue,
1742
2695
  disabled: e.disabled,
1743
2696
  "aria-label": e.label,
1744
- "onUpdate:modelValue": f[0] || (f[0] = (d) => s("update:modelValue", d))
2697
+ "onUpdate:modelValue": m[0] || (m[0] = (i) => s("update:modelValue", i))
1745
2698
  }), {
1746
- default: u(() => [
2699
+ default: d(() => [
1747
2700
  _(b.$slots, "default")
1748
2701
  ]),
1749
2702
  _: 3
1750
2703
  }, 16, ["class", "model-value", "default-value", "disabled", "aria-label"]));
1751
2704
  }
1752
- }), Ol = { class: "nb-root nb-field" }, El = ["id"], Gl = ["id"], zl = /* @__PURE__ */ v({
2705
+ }), So = { class: "nb-root nb-field" }, Ao = ["id"], Mo = ["id"], Do = /* @__PURE__ */ h({
1753
2706
  inheritAttrs: !1,
1754
2707
  __name: "NbToggleGroup",
1755
2708
  props: {
@@ -1765,19 +2718,19 @@ const gl = ["data-orientation"], _l = /* @__PURE__ */ v({
1765
2718
  id: {}
1766
2719
  },
1767
2720
  emits: ["update:modelValue"],
1768
- setup(e, { emit: n }) {
1769
- const t = e, s = n, l = w("toggle-group", t.id), b = `${l.inputId}-label`, f = $(() => A(t.hint, t.error, l.hintId, l.errorId));
1770
- function d(r) {
1771
- (typeof r == "string" || Array.isArray(r) && r.every((g) => typeof g == "string")) && s("update:modelValue", r);
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));
2723
+ function i(r) {
2724
+ (typeof r == "string" || Array.isArray(r) && r.every((v) => typeof v == "string")) && s("update:modelValue", r);
1772
2725
  }
1773
- return (r, g) => (o(), i("div", Ol, [
1774
- e.label ? (o(), i("span", {
2726
+ return (r, v) => (n(), u("div", So, [
2727
+ e.label ? (n(), u("span", {
1775
2728
  key: 0,
1776
2729
  id: b,
1777
2730
  class: "nb-field__label"
1778
- }, p(e.label), 1)) : h("", !0),
1779
- m(a(pt), k(r.$attrs, {
1780
- id: a(l).inputId,
2731
+ }, p(e.label), 1)) : g("", !0),
2732
+ c(t(pa), k(r.$attrs, {
2733
+ id: t(l).inputId,
1781
2734
  class: "nb-toggle-group",
1782
2735
  "model-value": e.modelValue,
1783
2736
  type: e.type,
@@ -1788,27 +2741,27 @@ const gl = ["data-orientation"], _l = /* @__PURE__ */ v({
1788
2741
  "data-orientation": e.orientation,
1789
2742
  "aria-labelledby": e.label ? b : void 0,
1790
2743
  "aria-invalid": e.error ? "true" : void 0,
1791
- "aria-describedby": f.value,
1792
- "onUpdate:modelValue": d
2744
+ "aria-describedby": m.value,
2745
+ "onUpdate:modelValue": i
1793
2746
  }), {
1794
- default: u(() => [
2747
+ default: d(() => [
1795
2748
  _(r.$slots, "default")
1796
2749
  ]),
1797
2750
  _: 3
1798
2751
  }, 16, ["id", "model-value", "type", "orientation", "disabled", "required", "name", "data-orientation", "aria-labelledby", "aria-invalid", "aria-describedby"]),
1799
- e.hint ? (o(), i("span", {
2752
+ e.hint ? (n(), u("span", {
1800
2753
  key: 1,
1801
- id: a(l).hintId,
2754
+ id: t(l).hintId,
1802
2755
  class: "nb-field__hint"
1803
- }, p(e.hint), 9, El)) : h("", !0),
1804
- e.error ? (o(), i("span", {
2756
+ }, p(e.hint), 9, Ao)) : g("", !0),
2757
+ e.error ? (n(), u("span", {
1805
2758
  key: 2,
1806
- id: a(l).errorId,
2759
+ id: t(l).errorId,
1807
2760
  class: "nb-field__error"
1808
- }, p(e.error), 9, Gl)) : h("", !0)
2761
+ }, p(e.error), 9, Mo)) : g("", !0)
1809
2762
  ]));
1810
2763
  }
1811
- }), Ll = /* @__PURE__ */ v({
2764
+ }), Oo = /* @__PURE__ */ h({
1812
2765
  inheritAttrs: !1,
1813
2766
  __name: "NbToggleGroupItem",
1814
2767
  props: {
@@ -1816,156 +2769,192 @@ const gl = ["data-orientation"], _l = /* @__PURE__ */ v({
1816
2769
  disabled: { type: Boolean, default: !1 }
1817
2770
  },
1818
2771
  setup(e) {
1819
- return (n, t) => (o(), N(a(ht), k(n.$attrs, {
2772
+ return (o, a) => (n(), y(t(va), k(o.$attrs, {
1820
2773
  class: "nb-toggle-group__item",
1821
2774
  value: e.value,
1822
2775
  disabled: e.disabled
1823
2776
  }), {
1824
- default: u(() => [
1825
- _(n.$slots, "default")
2777
+ default: d(() => [
2778
+ _(o.$slots, "default")
1826
2779
  ]),
1827
2780
  _: 3
1828
2781
  }, 16, ["value", "disabled"]));
1829
2782
  }
1830
- }), Ul = ["aria-describedby"], Fl = ["id", "hidden"], Kl = /* @__PURE__ */ v({
2783
+ }), Po = ["aria-describedby"], Ro = ["id", "hidden"], qo = /* @__PURE__ */ h({
1831
2784
  __name: "NbTooltip",
1832
2785
  props: {
1833
2786
  content: {}
1834
2787
  },
1835
2788
  setup(e) {
1836
- const n = e, t = x(!1), s = S("tooltip");
2789
+ const o = e, a = C(!1), s = M("tooltip");
1837
2790
  function l() {
1838
- t.value = !0;
2791
+ a.value = !0;
1839
2792
  }
1840
2793
  function b() {
1841
- t.value = !1;
2794
+ a.value = !1;
1842
2795
  }
1843
- function f(d) {
1844
- d.key === "Escape" && b();
2796
+ function m(i) {
2797
+ i.key === "Escape" && b();
1845
2798
  }
1846
- return (d, r) => (o(), i("span", {
2799
+ return (i, r) => (n(), u("span", {
1847
2800
  class: "nb-root nb-tooltip",
1848
2801
  onMouseenter: l,
1849
2802
  onMouseleave: b
1850
2803
  }, [
1851
- c("span", {
2804
+ f("span", {
1852
2805
  class: "nb-tooltip__trigger",
1853
2806
  tabindex: "0",
1854
- "aria-describedby": a(s),
2807
+ "aria-describedby": t(s),
1855
2808
  onFocus: l,
1856
2809
  onBlur: b,
1857
- onKeydown: f
2810
+ onKeydown: m
1858
2811
  }, [
1859
- _(d.$slots, "default")
1860
- ], 40, Ul),
1861
- c("span", {
1862
- id: a(s),
2812
+ _(i.$slots, "default")
2813
+ ], 40, Po),
2814
+ f("span", {
2815
+ id: t(s),
1863
2816
  class: "nb-tooltip__content",
1864
2817
  role: "tooltip",
1865
- hidden: !t.value
2818
+ hidden: !a.value
1866
2819
  }, [
1867
- _(d.$slots, "content", {}, () => [
1868
- V(p(n.content), 1)
2820
+ _(i.$slots, "content", {}, () => [
2821
+ I(p(o.content), 1)
1869
2822
  ])
1870
- ], 8, Fl)
2823
+ ], 8, Ro)
1871
2824
  ], 32));
1872
2825
  }
1873
- }), Jl = vt({
1874
- NbAccordion: gt,
1875
- NbAccordionItem: yt,
1876
- NbAlert: Xt,
1877
- NbAspectRatio: $t,
1878
- NbAvatar: kt,
1879
- NbBadge: Nt,
1880
- NbBreadcrumbs: xt,
1881
- NbButton: At,
1882
- NbButtonGroup: Pt,
1883
- NbCard: qt,
1884
- NbCheckbox: zt,
1885
- NbCombobox: jt,
1886
- NbDialog: Zt,
1887
- NbDropdownMenu: ea,
1888
- NbDropdownMenuItem: ta,
1889
- NbDropdownMenuSeparator: aa,
1890
- NbEmptyState: da,
1891
- NbFieldset: ba,
1892
- NbInput: ga,
1893
- NbInputGroup: ka,
1894
- NbKbd: Ia,
1895
- NbLink: Ba,
1896
- NbMarker: Va,
1897
- NbNumberInput: Aa,
1898
- NbPagination: Ca,
1899
- NbPopover: Ra,
1900
- NbProgress: Ea,
1901
- NbRadioGroup: Ja,
1902
- NbScrollArea: Xa,
1903
- NbSelect: el,
1904
- NbSelectItem: tl,
1905
- NbSeparator: al,
1906
- NbSkeleton: rl,
1907
- NbSlider: dl,
1908
- NbSpinner: cl,
1909
- NbSwitch: vl,
1910
- NbTable: Dl,
1911
- NbTabs: _l,
1912
- NbTabsContent: $l,
1913
- NbTabsList: kl,
1914
- NbTabsTrigger: Bl,
1915
- NbTextarea: Al,
1916
- NbToast: Rl,
1917
- NbToggle: ql,
1918
- NbToggleGroup: zl,
1919
- NbToggleGroupItem: Ll,
1920
- NbTooltip: Kl
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
1921
2892
  });
1922
2893
  export {
1923
- gt as NbAccordion,
1924
- yt as NbAccordionItem,
1925
- Xt as NbAlert,
1926
- $t as NbAspectRatio,
1927
- kt as NbAvatar,
1928
- Nt as NbBadge,
1929
- xt as NbBreadcrumbs,
1930
- At as NbButton,
1931
- Pt as NbButtonGroup,
1932
- qt as NbCard,
1933
- zt as NbCheckbox,
1934
- jt as NbCombobox,
1935
- Zt as NbDialog,
1936
- ea as NbDropdownMenu,
1937
- ta as NbDropdownMenuItem,
1938
- aa as NbDropdownMenuSeparator,
1939
- da as NbEmptyState,
1940
- ba as NbFieldset,
1941
- ga as NbInput,
1942
- ka as NbInputGroup,
1943
- Ia as NbKbd,
1944
- Ba as NbLink,
1945
- Va as NbMarker,
1946
- Aa as NbNumberInput,
1947
- Ca as NbPagination,
1948
- Ra as NbPopover,
1949
- Ea as NbProgress,
1950
- Ja as NbRadioGroup,
1951
- Xa as NbScrollArea,
1952
- el as NbSelect,
1953
- tl as NbSelectItem,
1954
- al as NbSeparator,
1955
- rl as NbSkeleton,
1956
- dl as NbSlider,
1957
- cl as NbSpinner,
1958
- vl as NbSwitch,
1959
- Dl as NbTable,
1960
- _l as NbTabs,
1961
- $l as NbTabsContent,
1962
- kl as NbTabsList,
1963
- Bl as NbTabsTrigger,
1964
- Al as NbTextarea,
1965
- Rl as NbToast,
1966
- ql as NbToggle,
1967
- zl as NbToggleGroup,
1968
- Ll as NbToggleGroupItem,
1969
- Kl as NbTooltip,
1970
- Jl as NeoBrutalVue
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
1971
2960
  };