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