@nonsuch/component-library 0.7.1 → 0.8.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,53 +1,56 @@
1
- import H from "quasar/src/components/btn/QBtn.js";
2
- import { defineComponent as d, openBlock as s, createBlock as r, mergeProps as u, withCtx as n, renderSlot as l, createVNode as h, unref as j, provide as Z, inject as x, createSlots as B, renderList as E, normalizeProps as A, guardReactiveProps as D, useId as I, createElementVNode as M, toDisplayString as T, createElementBlock as K, createCommentVNode as $, computed as v, ref as w, onMounted as G, onUnmounted as J, readonly as P } from "vue";
3
- import z from "quasar/src/components/spinner/QSpinnerDots.js";
4
- import Y from "quasar/src/components/skeleton/QSkeleton.js";
5
- import W from "quasar/src/components/input/QInput.js";
6
- import g from "quasar/src/components/card/QCardSection.js";
7
- import S from "quasar/src/components/card/QCardActions.js";
8
- import F from "quasar/src/components/card/QCard.js";
9
- import X from "quasar/src/components/select/QSelect.js";
10
- import ee from "quasar/src/components/checkbox/QCheckbox.js";
11
- import te from "quasar/src/components/toggle/QToggle.js";
12
- import ae from "quasar/src/components/form/QForm.js";
13
- import se from "quasar/src/components/dialog/QDialog.js";
14
- import oe from "quasar/src/components/banner/QBanner.js";
15
- import ne from "quasar/src/components/avatar/QAvatar.js";
16
- import re from "quasar/src/components/chip/QChip.js";
17
- import le from "quasar/src/components/item/QList.js";
18
- import de from "quasar/src/components/tooltip/QTooltip.js";
19
- import ue from "quasar/src/components/badge/QBadge.js";
20
- import ie from "quasar/src/components/breadcrumbs/QBreadcrumbs.js";
21
- import ce from "quasar/src/components/breadcrumbs/QBreadcrumbsEl.js";
22
- import me from "quasar/src/components/btn-toggle/QBtnToggle.js";
23
- import fe from "quasar/src/components/footer/QFooter.js";
24
- import pe from "quasar/src/components/header/QHeader.js";
25
- import _e from "quasar/src/components/icon/QIcon.js";
26
- import ve from "quasar/src/components/img/QImg.js";
27
- import be from "quasar/src/components/inner-loading/QInnerLoading.js";
28
- import $e from "quasar/src/components/item/QItem.js";
29
- import ge from "quasar/src/components/item/QItemLabel.js";
30
- import Ne from "quasar/src/components/item/QItemSection.js";
31
- import he from "quasar/src/components/layout/QLayout.js";
32
- import ye from "quasar/src/components/linear-progress/QLinearProgress.js";
33
- import Qe from "quasar/src/components/menu/QMenu.js";
34
- import Ie from "quasar/src/components/page/QPage.js";
35
- import Te from "quasar/src/components/page/QPageContainer.js";
36
- import Be from "quasar/src/components/pagination/QPagination.js";
37
- import Se from "quasar/src/components/separator/QSeparator.js";
38
- import Ce from "quasar/src/components/space/QSpace.js";
39
- import ke from "quasar/src/components/spinner/QSpinner.js";
40
- import Ve from "quasar/src/components/tabs/QTab.js";
41
- import Le from "quasar/src/components/table/QTable.js";
42
- import we from "quasar/src/components/table/QTd.js";
43
- import Pe from "quasar/src/components/tab-panels/QTabPanel.js";
44
- import Ee from "quasar/src/components/tab-panels/QTabPanels.js";
45
- import Ae from "quasar/src/components/tabs/QTabs.js";
46
- import De from "quasar/src/components/timeline/QTimeline.js";
47
- import Me from "quasar/src/components/timeline/QTimelineEntry.js";
48
- import ze from "quasar/src/components/toolbar/QToolbar.js";
49
- import Fe from "quasar/src/components/toolbar/QToolbarTitle.js";
50
- const Oe = /* @__PURE__ */ d({
1
+ import se from "quasar/src/components/btn/QBtn.js";
2
+ import { defineComponent as d, openBlock as o, createBlock as l, mergeProps as c, withCtx as s, renderSlot as r, createVNode as f, unref as oe, provide as le, inject as ne, createSlots as O, renderList as P, normalizeProps as W, guardReactiveProps as J, useId as z, createElementVNode as F, toDisplayString as E, createElementBlock as Q, createCommentVNode as y, computed as I, ref as B, Fragment as V, withKeys as U, createTextVNode as re, normalizeClass as de, normalizeStyle as ue, useSlots as ie, h as H, onMounted as ce, onUnmounted as me, readonly as j } from "vue";
3
+ import Y from "quasar/src/components/spinner/QSpinnerDots.js";
4
+ import fe from "quasar/src/components/skeleton/QSkeleton.js";
5
+ import pe from "quasar/src/components/input/QInput.js";
6
+ import C from "quasar/src/components/card/QCardSection.js";
7
+ import q from "quasar/src/components/card/QCardActions.js";
8
+ import X from "quasar/src/components/card/QCard.js";
9
+ import _e from "quasar/src/components/select/QSelect.js";
10
+ import ve from "quasar/src/components/checkbox/QCheckbox.js";
11
+ import be from "quasar/src/components/toggle/QToggle.js";
12
+ import $e from "quasar/src/components/form/QForm.js";
13
+ import he from "quasar/src/components/dialog/QDialog.js";
14
+ import ge from "quasar/src/components/drawer/QDrawer.js";
15
+ import Ne from "quasar/src/components/expansion-item/QExpansionItem.js";
16
+ import ye from "quasar/src/components/banner/QBanner.js";
17
+ import Ie from "quasar/src/components/avatar/QAvatar.js";
18
+ import Qe from "quasar/src/components/chip/QChip.js";
19
+ import Se from "quasar/src/components/item/QList.js";
20
+ import Te from "quasar/src/components/tooltip/QTooltip.js";
21
+ import Be from "quasar/src/components/badge/QBadge.js";
22
+ import ke from "quasar/src/components/breadcrumbs/QBreadcrumbs.js";
23
+ import we from "quasar/src/components/breadcrumbs/QBreadcrumbsEl.js";
24
+ import Ve from "quasar/src/components/btn-toggle/QBtnToggle.js";
25
+ import Ce from "quasar/src/components/footer/QFooter.js";
26
+ import Le from "quasar/src/components/header/QHeader.js";
27
+ import Pe from "quasar/src/components/icon/QIcon.js";
28
+ import Ee from "quasar/src/components/img/QImg.js";
29
+ import De from "quasar/src/components/inner-loading/QInnerLoading.js";
30
+ import Ae from "quasar/src/components/item/QItem.js";
31
+ import Me from "quasar/src/components/item/QItemLabel.js";
32
+ import ze from "quasar/src/components/item/QItemSection.js";
33
+ import Oe from "quasar/src/components/layout/QLayout.js";
34
+ import Fe from "quasar/src/components/linear-progress/QLinearProgress.js";
35
+ import qe from "quasar/src/components/menu/QMenu.js";
36
+ import xe from "quasar/src/components/page/QPage.js";
37
+ import Re from "quasar/src/components/page/QPageContainer.js";
38
+ import Ue from "quasar/src/components/pagination/QPagination.js";
39
+ import He from "quasar/src/components/separator/QSeparator.js";
40
+ import je from "quasar/src/components/space/QSpace.js";
41
+ import Ke from "quasar/src/components/spinner/QSpinner.js";
42
+ import Ge from "quasar/src/components/tabs/QTab.js";
43
+ import Ze from "quasar/src/components/table/QTable.js";
44
+ import We from "quasar/src/components/table/QTd.js";
45
+ import Je from "quasar/src/components/tab-panels/QTabPanel.js";
46
+ import Ye from "quasar/src/components/tab-panels/QTabPanels.js";
47
+ import Xe from "quasar/src/components/tabs/QTabs.js";
48
+ import et from "quasar/src/components/timeline/QTimeline.js";
49
+ import tt from "quasar/src/components/timeline/QTimelineEntry.js";
50
+ import at from "quasar/src/components/toolbar/QToolbar.js";
51
+ import st from "quasar/src/components/toolbar/QToolbarTitle.js";
52
+ import ot from "quasar/src/composables/use-quasar/use-quasar.js";
53
+ const lt = /* @__PURE__ */ d({
51
54
  __name: "NsButton",
52
55
  props: {
53
56
  color: { default: "primary" },
@@ -58,7 +61,7 @@ const Oe = /* @__PURE__ */ d({
58
61
  loading: { type: Boolean, default: !1 }
59
62
  },
60
63
  setup(t) {
61
- return (e, a) => (s(), r(H, u(e.$attrs, {
64
+ return (e, a) => (o(), l(se, c(e.$attrs, {
62
65
  color: t.color,
63
66
  size: t.size,
64
67
  unelevated: t.unelevated,
@@ -68,23 +71,23 @@ const Oe = /* @__PURE__ */ d({
68
71
  "aria-busy": t.loading,
69
72
  class: "ns-button"
70
73
  }), {
71
- loading: n(() => [
72
- l(e.$slots, "loading", {}, () => [
73
- h(j(z), { color: "white" })
74
+ loading: s(() => [
75
+ r(e.$slots, "loading", {}, () => [
76
+ f(oe(Y), { color: "white" })
74
77
  ], !0)
75
78
  ]),
76
- default: n(() => [
77
- l(e.$slots, "default", {}, void 0, !0)
79
+ default: s(() => [
80
+ r(e.$slots, "default", {}, void 0, !0)
78
81
  ]),
79
82
  _: 3
80
83
  }, 16, ["color", "size", "unelevated", "no-caps", "rounded", "loading", "aria-busy"]));
81
84
  }
82
85
  }), i = (t, e) => {
83
86
  const a = t.__vccOpts || t;
84
- for (const [o, c] of e)
85
- a[o] = c;
87
+ for (const [n, u] of e)
88
+ a[n] = u;
86
89
  return a;
87
- }, Ma = /* @__PURE__ */ i(Oe, [["__scopeId", "data-v-59b40e5f"]]), qe = /* @__PURE__ */ d({
90
+ }, A = /* @__PURE__ */ i(lt, [["__scopeId", "data-v-59b40e5f"]]), nt = /* @__PURE__ */ d({
88
91
  __name: "NsSkeleton",
89
92
  props: {
90
93
  type: { default: "rect" },
@@ -95,7 +98,7 @@ const Oe = /* @__PURE__ */ d({
95
98
  height: { default: void 0 }
96
99
  },
97
100
  setup(t) {
98
- return (e, a) => (s(), r(Y, u(e.$attrs, {
101
+ return (e, a) => (o(), l(fe, c(e.$attrs, {
99
102
  type: t.type,
100
103
  animation: t.animation,
101
104
  square: t.square,
@@ -106,7 +109,7 @@ const Oe = /* @__PURE__ */ d({
106
109
  class: "ns-skeleton"
107
110
  }), null, 16, ["type", "animation", "square", "bordered", "width", "height"]));
108
111
  }
109
- }), za = /* @__PURE__ */ i(qe, [["__scopeId", "data-v-dfd40b8a"]]), C = {
112
+ }), ys = /* @__PURE__ */ i(nt, [["__scopeId", "data-v-dfd40b8a"]]), x = {
110
113
  common: {
111
114
  loading: "Loading…",
112
115
  retry: "Retry",
@@ -142,22 +145,22 @@ const Oe = /* @__PURE__ */ d({
142
145
  tooShort: "Too short",
143
146
  tooLong: "Too long"
144
147
  }
145
- }, k = /* @__PURE__ */ Symbol("ns-locale");
146
- function Re(t) {
147
- Z(k, t);
148
+ }, R = /* @__PURE__ */ Symbol("ns-locale");
149
+ function rt(t) {
150
+ le(R, t);
148
151
  }
149
- function Ue() {
150
- return x(k, C);
152
+ function dt() {
153
+ return ne(R, x);
151
154
  }
152
- const Fa = /* @__PURE__ */ d({
155
+ const Is = /* @__PURE__ */ d({
153
156
  __name: "NsThemeProvider",
154
157
  props: {
155
- locale: { default: () => C }
158
+ locale: { default: () => x }
156
159
  },
157
160
  setup(t) {
158
- return Re(t.locale), (a, o) => l(a.$slots, "default");
161
+ return rt(t.locale), (a, n) => r(a.$slots, "default");
159
162
  }
160
- }), He = /* @__PURE__ */ d({
163
+ }), ut = /* @__PURE__ */ d({
161
164
  __name: "NsInput",
162
165
  props: {
163
166
  label: { default: void 0 },
@@ -168,27 +171,27 @@ const Fa = /* @__PURE__ */ d({
168
171
  },
169
172
  emits: ["update:modelValue"],
170
173
  setup(t) {
171
- return (e, a) => (s(), r(W, u(e.$attrs, {
174
+ return (e, a) => (o(), l(pe, c(e.$attrs, {
172
175
  "model-value": t.modelValue,
173
176
  label: t.label,
174
177
  outlined: t.outlined,
175
178
  dense: t.dense,
176
179
  rules: t.rules,
177
180
  class: "ns-input",
178
- "onUpdate:modelValue": a[0] || (a[0] = (o) => e.$emit("update:modelValue", o))
179
- }), B({ _: 2 }, [
180
- E(e.$slots, (o, c) => ({
181
- name: c,
182
- fn: n((m) => [
183
- l(e.$slots, c, A(D(m ?? {})), void 0, !0)
181
+ "onUpdate:modelValue": a[0] || (a[0] = (n) => e.$emit("update:modelValue", n))
182
+ }), O({ _: 2 }, [
183
+ P(e.$slots, (n, u) => ({
184
+ name: u,
185
+ fn: s((m) => [
186
+ r(e.$slots, u, W(J(m ?? {})), void 0, !0)
184
187
  ])
185
188
  }))
186
189
  ]), 1040, ["model-value", "label", "outlined", "dense", "rules"]));
187
190
  }
188
- }), Oa = /* @__PURE__ */ i(He, [["__scopeId", "data-v-7ebf3284"]]), je = { class: "text-h6" }, Ze = {
191
+ }), K = /* @__PURE__ */ i(ut, [["__scopeId", "data-v-7ebf3284"]]), it = { class: "text-h6" }, ct = {
189
192
  key: 0,
190
193
  class: "text-subtitle2 text-grey"
191
- }, xe = /* @__PURE__ */ d({
194
+ }, mt = /* @__PURE__ */ d({
192
195
  __name: "NsCard",
193
196
  props: {
194
197
  title: { default: void 0 },
@@ -196,46 +199,46 @@ const Fa = /* @__PURE__ */ d({
196
199
  flat: { type: Boolean, default: !1 }
197
200
  },
198
201
  setup(t) {
199
- const e = `ns-card-header-${I()}`;
200
- return (a, o) => (s(), r(F, u(a.$attrs, {
202
+ const e = `ns-card-header-${z()}`;
203
+ return (a, n) => (o(), l(X, c(a.$attrs, {
201
204
  class: ["ns-card", { "ns-card--flat": t.flat }],
202
205
  role: t.title || a.$slots.header ? "region" : void 0,
203
206
  "aria-labelledby": t.title || a.$slots.header ? e : void 0
204
207
  }), {
205
- default: n(() => [
206
- t.title || a.$slots.header ? (s(), r(g, {
208
+ default: s(() => [
209
+ t.title || a.$slots.header ? (o(), l(C, {
207
210
  key: 0,
208
211
  id: e,
209
212
  class: "ns-card__header"
210
213
  }, {
211
- default: n(() => [
212
- l(a.$slots, "header", {}, () => [
213
- M("div", je, T(t.title), 1),
214
- t.subtitle ? (s(), K("div", Ze, T(t.subtitle), 1)) : $("", !0)
214
+ default: s(() => [
215
+ r(a.$slots, "header", {}, () => [
216
+ F("div", it, E(t.title), 1),
217
+ t.subtitle ? (o(), Q("div", ct, E(t.subtitle), 1)) : y("", !0)
215
218
  ], !0)
216
219
  ]),
217
220
  _: 3
218
- })) : $("", !0),
219
- h(g, null, {
220
- default: n(() => [
221
- l(a.$slots, "default", {}, void 0, !0)
221
+ })) : y("", !0),
222
+ f(C, null, {
223
+ default: s(() => [
224
+ r(a.$slots, "default", {}, void 0, !0)
222
225
  ]),
223
226
  _: 3
224
227
  }),
225
- a.$slots.actions ? (s(), r(S, {
228
+ a.$slots.actions ? (o(), l(q, {
226
229
  key: 1,
227
230
  align: "right"
228
231
  }, {
229
- default: n(() => [
230
- l(a.$slots, "actions", {}, void 0, !0)
232
+ default: s(() => [
233
+ r(a.$slots, "actions", {}, void 0, !0)
231
234
  ]),
232
235
  _: 3
233
- })) : $("", !0)
236
+ })) : y("", !0)
234
237
  ]),
235
238
  _: 3
236
239
  }, 16, ["class", "role", "aria-labelledby"]));
237
240
  }
238
- }), qa = /* @__PURE__ */ i(xe, [["__scopeId", "data-v-7769879a"]]), Ke = /* @__PURE__ */ d({
241
+ }), ft = /* @__PURE__ */ i(mt, [["__scopeId", "data-v-7769879a"]]), pt = /* @__PURE__ */ d({
239
242
  __name: "NsSelect",
240
243
  props: {
241
244
  label: { default: void 0 },
@@ -250,7 +253,7 @@ const Fa = /* @__PURE__ */ d({
250
253
  },
251
254
  emits: ["update:modelValue"],
252
255
  setup(t) {
253
- return (e, a) => (s(), r(X, u(e.$attrs, {
256
+ return (e, a) => (o(), l(_e, c(e.$attrs, {
254
257
  "model-value": t.modelValue,
255
258
  label: t.label,
256
259
  options: t.options,
@@ -261,17 +264,17 @@ const Fa = /* @__PURE__ */ d({
261
264
  "emit-value": t.emitValue,
262
265
  "map-options": t.mapOptions,
263
266
  class: "ns-select",
264
- "onUpdate:modelValue": a[0] || (a[0] = (o) => e.$emit("update:modelValue", o))
265
- }), B({ _: 2 }, [
266
- E(e.$slots, (o, c) => ({
267
- name: c,
268
- fn: n((m) => [
269
- l(e.$slots, c, A(D(m ?? {})), void 0, !0)
267
+ "onUpdate:modelValue": a[0] || (a[0] = (n) => e.$emit("update:modelValue", n))
268
+ }), O({ _: 2 }, [
269
+ P(e.$slots, (n, u) => ({
270
+ name: u,
271
+ fn: s((m) => [
272
+ r(e.$slots, u, W(J(m ?? {})), void 0, !0)
270
273
  ])
271
274
  }))
272
275
  ]), 1040, ["model-value", "label", "options", "outlined", "dense", "rules", "multiple", "emit-value", "map-options"]));
273
276
  }
274
- }), Ra = /* @__PURE__ */ i(Ke, [["__scopeId", "data-v-081cebe3"]]), Ge = /* @__PURE__ */ d({
277
+ }), Qs = /* @__PURE__ */ i(pt, [["__scopeId", "data-v-081cebe3"]]), _t = /* @__PURE__ */ d({
275
278
  __name: "NsCheckbox",
276
279
  props: {
277
280
  label: { default: void 0 },
@@ -282,17 +285,17 @@ const Fa = /* @__PURE__ */ d({
282
285
  },
283
286
  emits: ["update:modelValue"],
284
287
  setup(t) {
285
- return (e, a) => (s(), r(ee, u(e.$attrs, {
288
+ return (e, a) => (o(), l(ve, c(e.$attrs, {
286
289
  "model-value": t.modelValue,
287
290
  label: t.label,
288
291
  color: t.color,
289
292
  dense: t.dense,
290
293
  disable: t.disable,
291
294
  class: "ns-checkbox",
292
- "onUpdate:modelValue": a[0] || (a[0] = (o) => e.$emit("update:modelValue", o))
295
+ "onUpdate:modelValue": a[0] || (a[0] = (n) => e.$emit("update:modelValue", n))
293
296
  }), null, 16, ["model-value", "label", "color", "dense", "disable"]));
294
297
  }
295
- }), Ua = /* @__PURE__ */ i(Ge, [["__scopeId", "data-v-2e481f8b"]]), Je = /* @__PURE__ */ d({
298
+ }), Ss = /* @__PURE__ */ i(_t, [["__scopeId", "data-v-2e481f8b"]]), vt = /* @__PURE__ */ d({
296
299
  __name: "NsToggle",
297
300
  props: {
298
301
  label: { default: void 0 },
@@ -303,7 +306,7 @@ const Fa = /* @__PURE__ */ d({
303
306
  },
304
307
  emits: ["update:modelValue"],
305
308
  setup(t) {
306
- return (e, a) => (s(), r(te, u(e.$attrs, {
309
+ return (e, a) => (o(), l(be, c(e.$attrs, {
307
310
  "model-value": t.modelValue,
308
311
  label: t.label,
309
312
  color: t.color,
@@ -312,10 +315,10 @@ const Fa = /* @__PURE__ */ d({
312
315
  role: "switch",
313
316
  "aria-checked": t.modelValue,
314
317
  class: "ns-toggle",
315
- "onUpdate:modelValue": a[0] || (a[0] = (o) => e.$emit("update:modelValue", o))
318
+ "onUpdate:modelValue": a[0] || (a[0] = (n) => e.$emit("update:modelValue", n))
316
319
  }), null, 16, ["model-value", "label", "color", "dense", "disable", "aria-checked"]));
317
320
  }
318
- }), Ha = /* @__PURE__ */ i(Je, [["__scopeId", "data-v-f8c90530"]]), Ye = /* @__PURE__ */ d({
321
+ }), Ts = /* @__PURE__ */ i(vt, [["__scopeId", "data-v-f8c90530"]]), bt = /* @__PURE__ */ d({
319
322
  __name: "NsForm",
320
323
  props: {
321
324
  greedy: { type: Boolean, default: !0 },
@@ -323,20 +326,20 @@ const Fa = /* @__PURE__ */ d({
323
326
  },
324
327
  emits: ["submit", "validationError"],
325
328
  setup(t) {
326
- return (e, a) => (s(), r(ae, u(e.$attrs, {
329
+ return (e, a) => (o(), l($e, c(e.$attrs, {
327
330
  class: "ns-form",
328
331
  greedy: t.greedy,
329
332
  "aria-label": t.ariaLabel,
330
- onSubmit: a[0] || (a[0] = (o) => e.$emit("submit", o)),
331
- onValidationError: a[1] || (a[1] = (o) => e.$emit("validationError", o))
333
+ onSubmit: a[0] || (a[0] = (n) => e.$emit("submit", n)),
334
+ onValidationError: a[1] || (a[1] = (n) => e.$emit("validationError", n))
332
335
  }), {
333
- default: n(() => [
334
- l(e.$slots, "default", {}, void 0, !0)
336
+ default: s(() => [
337
+ r(e.$slots, "default", {}, void 0, !0)
335
338
  ]),
336
339
  _: 3
337
340
  }, 16, ["greedy", "aria-label"]));
338
341
  }
339
- }), ja = /* @__PURE__ */ i(Ye, [["__scopeId", "data-v-e20d14ce"]]), We = { class: "text-h6" }, Xe = /* @__PURE__ */ d({
342
+ }), Bs = /* @__PURE__ */ i(bt, [["__scopeId", "data-v-e20d14ce"]]), $t = { class: "text-h6" }, ht = /* @__PURE__ */ d({
340
343
  __name: "NsDialog",
341
344
  props: {
342
345
  modelValue: { type: Boolean, default: !1 },
@@ -346,54 +349,54 @@ const Fa = /* @__PURE__ */ d({
346
349
  },
347
350
  emits: ["update:modelValue"],
348
351
  setup(t) {
349
- const e = `ns-dialog-title-${I()}`, a = `ns-dialog-body-${I()}`;
350
- return (o, c) => (s(), r(se, u(o.$attrs, {
352
+ const e = `ns-dialog-title-${z()}`, a = `ns-dialog-body-${z()}`;
353
+ return (n, u) => (o(), l(he, c(n.$attrs, {
351
354
  "model-value": t.modelValue,
352
355
  persistent: t.persistent,
353
356
  "no-backdrop-dismiss": t.noBackdropDismiss,
354
- "aria-labelledby": t.title || o.$slots.header ? e : void 0,
357
+ "aria-labelledby": t.title || n.$slots.header ? e : void 0,
355
358
  "aria-describedby": a,
356
359
  class: "ns-dialog",
357
- "onUpdate:modelValue": c[0] || (c[0] = (m) => o.$emit("update:modelValue", m))
360
+ "onUpdate:modelValue": u[0] || (u[0] = (m) => n.$emit("update:modelValue", m))
358
361
  }), {
359
- default: n(() => [
360
- h(F, {
362
+ default: s(() => [
363
+ f(X, {
361
364
  class: "ns-dialog__card",
362
365
  role: "dialog",
363
366
  "aria-modal": !0
364
367
  }, {
365
- default: n(() => [
366
- t.title || o.$slots.header ? (s(), r(g, {
368
+ default: s(() => [
369
+ t.title || n.$slots.header ? (o(), l(C, {
367
370
  key: 0,
368
371
  id: e,
369
372
  class: "ns-dialog__header"
370
373
  }, {
371
- default: n(() => [
372
- l(o.$slots, "header", {}, () => [
373
- M("div", We, T(t.title), 1)
374
+ default: s(() => [
375
+ r(n.$slots, "header", {}, () => [
376
+ F("div", $t, E(t.title), 1)
374
377
  ], !0)
375
378
  ]),
376
379
  _: 3
377
- })) : $("", !0),
378
- h(g, {
380
+ })) : y("", !0),
381
+ f(C, {
379
382
  id: a,
380
383
  class: "ns-dialog__body"
381
384
  }, {
382
- default: n(() => [
383
- l(o.$slots, "default", {}, void 0, !0)
385
+ default: s(() => [
386
+ r(n.$slots, "default", {}, void 0, !0)
384
387
  ]),
385
388
  _: 3
386
389
  }),
387
- o.$slots.actions ? (s(), r(S, {
390
+ n.$slots.actions ? (o(), l(q, {
388
391
  key: 1,
389
392
  align: "right",
390
393
  class: "ns-dialog__actions"
391
394
  }, {
392
- default: n(() => [
393
- l(o.$slots, "actions", {}, void 0, !0)
395
+ default: s(() => [
396
+ r(n.$slots, "actions", {}, void 0, !0)
394
397
  ]),
395
398
  _: 3
396
- })) : $("", !0)
399
+ })) : y("", !0)
397
400
  ]),
398
401
  _: 3
399
402
  })
@@ -401,7 +404,27 @@ const Fa = /* @__PURE__ */ d({
401
404
  _: 3
402
405
  }, 16, ["model-value", "persistent", "no-backdrop-dismiss", "aria-labelledby"]));
403
406
  }
404
- }), Za = /* @__PURE__ */ i(Xe, [["__scopeId", "data-v-4fca48ca"]]), et = /* @__PURE__ */ d({
407
+ }), ks = /* @__PURE__ */ i(ht, [["__scopeId", "data-v-4fca48ca"]]), gt = /* @__PURE__ */ d({
408
+ __name: "NsDrawer",
409
+ setup(t) {
410
+ return (e, a) => (o(), l(ge, c(e.$attrs, { class: "ns-drawer" }), {
411
+ default: s(() => [
412
+ r(e.$slots, "default", {}, void 0, !0)
413
+ ]),
414
+ _: 3
415
+ }, 16));
416
+ }
417
+ }), Nt = /* @__PURE__ */ i(gt, [["__scopeId", "data-v-66ca96b0"]]), yt = /* @__PURE__ */ d({
418
+ __name: "NsExpansionItem",
419
+ setup(t) {
420
+ return (e, a) => (o(), l(Ne, c(e.$attrs, { class: "ns-expansion-item" }), {
421
+ default: s(() => [
422
+ r(e.$slots, "default", {}, void 0, !0)
423
+ ]),
424
+ _: 3
425
+ }, 16));
426
+ }
427
+ }), ws = /* @__PURE__ */ i(yt, [["__scopeId", "data-v-c07366a7"]]), It = /* @__PURE__ */ d({
405
428
  __name: "NsBanner",
406
429
  props: {
407
430
  type: { default: "info" },
@@ -409,40 +432,40 @@ const Fa = /* @__PURE__ */ d({
409
432
  rounded: { type: Boolean, default: !0 }
410
433
  },
411
434
  setup(t) {
412
- const e = t, a = v(
435
+ const e = t, a = I(
413
436
  () => e.type === "error" || e.type === "warning" ? "alert" : "status"
414
- ), o = v(
437
+ ), n = I(
415
438
  () => e.type === "error" || e.type === "warning" ? "assertive" : "polite"
416
439
  );
417
- return (c, m) => (s(), r(oe, u(c.$attrs, {
440
+ return (u, m) => (o(), l(ye, c(u.$attrs, {
418
441
  class: ["ns-banner", `ns-banner--${t.type}`],
419
442
  dense: t.dense,
420
443
  rounded: t.rounded,
421
444
  role: a.value,
422
- "aria-live": o.value
423
- }), B({
424
- default: n(() => [
425
- l(c.$slots, "default", {}, void 0, !0)
445
+ "aria-live": n.value
446
+ }), O({
447
+ default: s(() => [
448
+ r(u.$slots, "default", {}, void 0, !0)
426
449
  ]),
427
450
  _: 2
428
451
  }, [
429
- c.$slots.avatar ? {
452
+ u.$slots.avatar ? {
430
453
  name: "avatar",
431
- fn: n(() => [
432
- l(c.$slots, "avatar", {}, void 0, !0)
454
+ fn: s(() => [
455
+ r(u.$slots, "avatar", {}, void 0, !0)
433
456
  ]),
434
457
  key: "0"
435
458
  } : void 0,
436
- c.$slots.action ? {
459
+ u.$slots.action ? {
437
460
  name: "action",
438
- fn: n(() => [
439
- l(c.$slots, "action", {}, void 0, !0)
461
+ fn: s(() => [
462
+ r(u.$slots, "action", {}, void 0, !0)
440
463
  ]),
441
464
  key: "1"
442
465
  } : void 0
443
466
  ]), 1040, ["class", "dense", "rounded", "role", "aria-live"]));
444
467
  }
445
- }), xa = /* @__PURE__ */ i(et, [["__scopeId", "data-v-18ebd6f5"]]), tt = /* @__PURE__ */ d({
468
+ }), Vs = /* @__PURE__ */ i(It, [["__scopeId", "data-v-18ebd6f5"]]), Qt = /* @__PURE__ */ d({
446
469
  __name: "NsAvatar",
447
470
  props: {
448
471
  size: { default: "md" },
@@ -458,9 +481,9 @@ const Fa = /* @__PURE__ */ d({
458
481
  md: "48px",
459
482
  lg: "64px",
460
483
  xl: "96px"
461
- }, a = t, o = v(() => e[a.size] ?? a.size);
462
- return (c, m) => (s(), r(ne, u(c.$attrs, {
463
- size: o.value,
484
+ }, a = t, n = I(() => e[a.size] ?? a.size);
485
+ return (u, m) => (o(), l(Ie, c(u.$attrs, {
486
+ size: n.value,
464
487
  color: t.color,
465
488
  "text-color": t.textColor,
466
489
  rounded: t.rounded,
@@ -470,13 +493,13 @@ const Fa = /* @__PURE__ */ d({
470
493
  role: t.ariaLabel ? "img" : void 0,
471
494
  class: "ns-avatar"
472
495
  }), {
473
- default: n(() => [
474
- l(c.$slots, "default", {}, void 0, !0)
496
+ default: s(() => [
497
+ r(u.$slots, "default", {}, void 0, !0)
475
498
  ]),
476
499
  _: 3
477
500
  }, 16, ["size", "color", "text-color", "rounded", "square", "aria-label", "aria-hidden", "role"]));
478
501
  }
479
- }), Ka = /* @__PURE__ */ i(tt, [["__scopeId", "data-v-6a1b44b8"]]), at = /* @__PURE__ */ d({
502
+ }), Cs = /* @__PURE__ */ i(Qt, [["__scopeId", "data-v-6a1b44b8"]]), St = /* @__PURE__ */ d({
480
503
  __name: "NsChip",
481
504
  props: {
482
505
  color: { default: "primary" },
@@ -488,7 +511,7 @@ const Fa = /* @__PURE__ */ d({
488
511
  },
489
512
  emits: ["remove"],
490
513
  setup(t) {
491
- return (e, a) => (s(), r(re, u(e.$attrs, {
514
+ return (e, a) => (o(), l(Qe, c(e.$attrs, {
492
515
  color: t.color,
493
516
  "text-color": t.textColor,
494
517
  outline: t.outline,
@@ -496,15 +519,15 @@ const Fa = /* @__PURE__ */ d({
496
519
  removable: t.removable,
497
520
  clickable: t.clickable,
498
521
  class: "ns-chip",
499
- onRemove: a[0] || (a[0] = (o) => e.$emit("remove"))
522
+ onRemove: a[0] || (a[0] = (n) => e.$emit("remove"))
500
523
  }), {
501
- default: n(() => [
502
- l(e.$slots, "default", {}, void 0, !0)
524
+ default: s(() => [
525
+ r(e.$slots, "default", {}, void 0, !0)
503
526
  ]),
504
527
  _: 3
505
528
  }, 16, ["color", "text-color", "outline", "dense", "removable", "clickable"]));
506
529
  }
507
- }), Ga = /* @__PURE__ */ i(at, [["__scopeId", "data-v-1a2191f1"]]), st = /* @__PURE__ */ d({
530
+ }), Ls = /* @__PURE__ */ i(St, [["__scopeId", "data-v-1a2191f1"]]), Tt = /* @__PURE__ */ d({
508
531
  __name: "NsList",
509
532
  props: {
510
533
  bordered: { type: Boolean, default: !1 },
@@ -513,7 +536,7 @@ const Fa = /* @__PURE__ */ d({
513
536
  ariaLabel: { default: void 0 }
514
537
  },
515
538
  setup(t) {
516
- return (e, a) => (s(), r(le, u(e.$attrs, {
539
+ return (e, a) => (o(), l(Se, c(e.$attrs, {
517
540
  bordered: t.bordered,
518
541
  separator: t.separator,
519
542
  dense: t.dense,
@@ -521,13 +544,13 @@ const Fa = /* @__PURE__ */ d({
521
544
  role: "list",
522
545
  class: "ns-list"
523
546
  }), {
524
- default: n(() => [
525
- l(e.$slots, "default", {}, void 0, !0)
547
+ default: s(() => [
548
+ r(e.$slots, "default", {}, void 0, !0)
526
549
  ]),
527
550
  _: 3
528
551
  }, 16, ["bordered", "separator", "dense", "aria-label"]));
529
552
  }
530
- }), Ja = /* @__PURE__ */ i(st, [["__scopeId", "data-v-65aec20e"]]), ot = /* @__PURE__ */ d({
553
+ }), Bt = /* @__PURE__ */ i(Tt, [["__scopeId", "data-v-65aec20e"]]), kt = /* @__PURE__ */ d({
531
554
  __name: "NsTooltip",
532
555
  props: {
533
556
  delay: { default: 300 },
@@ -536,50 +559,50 @@ const Fa = /* @__PURE__ */ d({
536
559
  self: { default: "top middle" }
537
560
  },
538
561
  setup(t) {
539
- return (e, a) => (s(), r(de, u(e.$attrs, {
562
+ return (e, a) => (o(), l(Te, c(e.$attrs, {
540
563
  delay: t.delay,
541
564
  offset: t.offset,
542
565
  anchor: t.anchor,
543
566
  self: t.self,
544
567
  class: "ns-tooltip"
545
568
  }), {
546
- default: n(() => [
547
- l(e.$slots, "default", {}, void 0, !0)
569
+ default: s(() => [
570
+ r(e.$slots, "default", {}, void 0, !0)
548
571
  ]),
549
572
  _: 3
550
573
  }, 16, ["delay", "offset", "anchor", "self"]));
551
574
  }
552
- }), Ya = /* @__PURE__ */ i(ot, [["__scopeId", "data-v-9cb6af8f"]]), nt = /* @__PURE__ */ d({
575
+ }), Ps = /* @__PURE__ */ i(kt, [["__scopeId", "data-v-9cb6af8f"]]), wt = /* @__PURE__ */ d({
553
576
  __name: "NsBadge",
554
577
  setup(t) {
555
- return (e, a) => (s(), r(ue, u(e.$attrs, { class: "ns-badge" }), {
556
- default: n(() => [
557
- l(e.$slots, "default", {}, void 0, !0)
578
+ return (e, a) => (o(), l(Be, c(e.$attrs, { class: "ns-badge" }), {
579
+ default: s(() => [
580
+ r(e.$slots, "default", {}, void 0, !0)
558
581
  ]),
559
582
  _: 3
560
583
  }, 16));
561
584
  }
562
- }), Wa = /* @__PURE__ */ i(nt, [["__scopeId", "data-v-4ca05f24"]]), rt = /* @__PURE__ */ d({
585
+ }), Es = /* @__PURE__ */ i(wt, [["__scopeId", "data-v-4ca05f24"]]), Vt = /* @__PURE__ */ d({
563
586
  __name: "NsBreadcrumbs",
564
587
  setup(t) {
565
- return (e, a) => (s(), r(ie, u(e.$attrs, { class: "ns-breadcrumbs" }), {
566
- default: n(() => [
567
- l(e.$slots, "default", {}, void 0, !0)
588
+ return (e, a) => (o(), l(ke, c(e.$attrs, { class: "ns-breadcrumbs" }), {
589
+ default: s(() => [
590
+ r(e.$slots, "default", {}, void 0, !0)
568
591
  ]),
569
592
  _: 3
570
593
  }, 16));
571
594
  }
572
- }), Xa = /* @__PURE__ */ i(rt, [["__scopeId", "data-v-dee98f71"]]), lt = /* @__PURE__ */ d({
595
+ }), Ds = /* @__PURE__ */ i(Vt, [["__scopeId", "data-v-dee98f71"]]), Ct = /* @__PURE__ */ d({
573
596
  __name: "NsBreadcrumbElement",
574
597
  setup(t) {
575
- return (e, a) => (s(), r(ce, u(e.$attrs, { class: "ns-breadcrumb-element" }), {
576
- default: n(() => [
577
- l(e.$slots, "default", {}, void 0, !0)
598
+ return (e, a) => (o(), l(we, c(e.$attrs, { class: "ns-breadcrumb-element" }), {
599
+ default: s(() => [
600
+ r(e.$slots, "default", {}, void 0, !0)
578
601
  ]),
579
602
  _: 3
580
603
  }, 16));
581
604
  }
582
- }), es = /* @__PURE__ */ i(lt, [["__scopeId", "data-v-37bfe51b"]]), dt = /* @__PURE__ */ d({
605
+ }), As = /* @__PURE__ */ i(Ct, [["__scopeId", "data-v-37bfe51b"]]), Lt = /* @__PURE__ */ d({
583
606
  __name: "NsButtonToggle",
584
607
  props: {
585
608
  modelValue: { default: void 0 },
@@ -587,173 +610,173 @@ const Fa = /* @__PURE__ */ d({
587
610
  },
588
611
  emits: ["update:modelValue"],
589
612
  setup(t, { emit: e }) {
590
- const a = t, o = e, c = v({
613
+ const a = t, n = e, u = I({
591
614
  get: () => a.modelValue,
592
- set: (m) => o("update:modelValue", m)
615
+ set: (m) => n("update:modelValue", m)
593
616
  });
594
- return (m, f) => (s(), r(me, u(m.$attrs, {
595
- modelValue: c.value,
596
- "onUpdate:modelValue": f[0] || (f[0] = (_) => c.value = _),
617
+ return (m, b) => (o(), l(Ve, c(m.$attrs, {
618
+ modelValue: u.value,
619
+ "onUpdate:modelValue": b[0] || (b[0] = (h) => u.value = h),
597
620
  options: t.options,
598
621
  class: "ns-button-toggle"
599
622
  }), {
600
- default: n(() => [
601
- l(m.$slots, "default", {}, void 0, !0)
623
+ default: s(() => [
624
+ r(m.$slots, "default", {}, void 0, !0)
602
625
  ]),
603
626
  _: 3
604
627
  }, 16, ["modelValue", "options"]));
605
628
  }
606
- }), ts = /* @__PURE__ */ i(dt, [["__scopeId", "data-v-93652c3e"]]), ut = /* @__PURE__ */ d({
629
+ }), Ms = /* @__PURE__ */ i(Lt, [["__scopeId", "data-v-93652c3e"]]), Pt = /* @__PURE__ */ d({
607
630
  __name: "NsCardActions",
608
631
  setup(t) {
609
- return (e, a) => (s(), r(S, u(e.$attrs, { class: "ns-card-actions" }), {
610
- default: n(() => [
611
- l(e.$slots, "default", {}, void 0, !0)
632
+ return (e, a) => (o(), l(q, c(e.$attrs, { class: "ns-card-actions" }), {
633
+ default: s(() => [
634
+ r(e.$slots, "default", {}, void 0, !0)
612
635
  ]),
613
636
  _: 3
614
637
  }, 16));
615
638
  }
616
- }), as = /* @__PURE__ */ i(ut, [["__scopeId", "data-v-0d6f776d"]]), it = /* @__PURE__ */ d({
639
+ }), zs = /* @__PURE__ */ i(Pt, [["__scopeId", "data-v-0d6f776d"]]), Et = /* @__PURE__ */ d({
617
640
  __name: "NsCardSection",
618
641
  setup(t) {
619
- return (e, a) => (s(), r(g, u(e.$attrs, { class: "ns-card-section" }), {
620
- default: n(() => [
621
- l(e.$slots, "default", {}, void 0, !0)
642
+ return (e, a) => (o(), l(C, c(e.$attrs, { class: "ns-card-section" }), {
643
+ default: s(() => [
644
+ r(e.$slots, "default", {}, void 0, !0)
622
645
  ]),
623
646
  _: 3
624
647
  }, 16));
625
648
  }
626
- }), ss = /* @__PURE__ */ i(it, [["__scopeId", "data-v-781d42ef"]]), ct = /* @__PURE__ */ d({
649
+ }), Os = /* @__PURE__ */ i(Et, [["__scopeId", "data-v-781d42ef"]]), Dt = /* @__PURE__ */ d({
627
650
  __name: "NsFooter",
628
651
  setup(t) {
629
- return (e, a) => (s(), r(fe, u(e.$attrs, { class: "ns-footer" }), {
630
- default: n(() => [
631
- l(e.$slots, "default", {}, void 0, !0)
652
+ return (e, a) => (o(), l(Ce, c(e.$attrs, { class: "ns-footer" }), {
653
+ default: s(() => [
654
+ r(e.$slots, "default", {}, void 0, !0)
632
655
  ]),
633
656
  _: 3
634
657
  }, 16));
635
658
  }
636
- }), os = /* @__PURE__ */ i(ct, [["__scopeId", "data-v-1fb919cd"]]), mt = /* @__PURE__ */ d({
659
+ }), At = /* @__PURE__ */ i(Dt, [["__scopeId", "data-v-1fb919cd"]]), Mt = /* @__PURE__ */ d({
637
660
  __name: "NsHeader",
638
661
  setup(t) {
639
- return (e, a) => (s(), r(pe, u(e.$attrs, { class: "ns-header" }), {
640
- default: n(() => [
641
- l(e.$slots, "default", {}, void 0, !0)
662
+ return (e, a) => (o(), l(Le, c(e.$attrs, { class: "ns-header" }), {
663
+ default: s(() => [
664
+ r(e.$slots, "default", {}, void 0, !0)
642
665
  ]),
643
666
  _: 3
644
667
  }, 16));
645
668
  }
646
- }), ns = /* @__PURE__ */ i(mt, [["__scopeId", "data-v-80d27841"]]), ft = /* @__PURE__ */ d({
669
+ }), zt = /* @__PURE__ */ i(Mt, [["__scopeId", "data-v-80d27841"]]), Ot = /* @__PURE__ */ d({
647
670
  __name: "NsIcon",
648
671
  setup(t) {
649
- return (e, a) => (s(), r(_e, u(e.$attrs, { class: "ns-icon" }), {
650
- default: n(() => [
651
- l(e.$slots, "default", {}, void 0, !0)
672
+ return (e, a) => (o(), l(Pe, c(e.$attrs, { class: "ns-icon" }), {
673
+ default: s(() => [
674
+ r(e.$slots, "default", {}, void 0, !0)
652
675
  ]),
653
676
  _: 3
654
677
  }, 16));
655
678
  }
656
- }), rs = /* @__PURE__ */ i(ft, [["__scopeId", "data-v-d068ec18"]]), pt = /* @__PURE__ */ d({
679
+ }), T = /* @__PURE__ */ i(Ot, [["__scopeId", "data-v-d068ec18"]]), Ft = /* @__PURE__ */ d({
657
680
  __name: "NsImage",
658
681
  setup(t) {
659
- return (e, a) => (s(), r(ve, u(e.$attrs, { class: "ns-image" }), {
660
- default: n(() => [
661
- l(e.$slots, "default", {}, void 0, !0)
682
+ return (e, a) => (o(), l(Ee, c(e.$attrs, { class: "ns-image" }), {
683
+ default: s(() => [
684
+ r(e.$slots, "default", {}, void 0, !0)
662
685
  ]),
663
686
  _: 3
664
687
  }, 16));
665
688
  }
666
- }), ls = /* @__PURE__ */ i(pt, [["__scopeId", "data-v-c9c9f6c1"]]), _t = /* @__PURE__ */ d({
689
+ }), Fs = /* @__PURE__ */ i(Ft, [["__scopeId", "data-v-c9c9f6c1"]]), qt = /* @__PURE__ */ d({
667
690
  __name: "NsInnerLoading",
668
691
  setup(t) {
669
- return (e, a) => (s(), r(be, u(e.$attrs, { class: "ns-inner-loading" }), {
670
- default: n(() => [
671
- l(e.$slots, "default", {}, void 0, !0)
692
+ return (e, a) => (o(), l(De, c(e.$attrs, { class: "ns-inner-loading" }), {
693
+ default: s(() => [
694
+ r(e.$slots, "default", {}, void 0, !0)
672
695
  ]),
673
696
  _: 3
674
697
  }, 16));
675
698
  }
676
- }), ds = /* @__PURE__ */ i(_t, [["__scopeId", "data-v-080672c1"]]), vt = /* @__PURE__ */ d({
699
+ }), qs = /* @__PURE__ */ i(qt, [["__scopeId", "data-v-080672c1"]]), xt = /* @__PURE__ */ d({
677
700
  __name: "NsItem",
678
701
  setup(t) {
679
- return (e, a) => (s(), r($e, u(e.$attrs, { class: "ns-item" }), {
680
- default: n(() => [
681
- l(e.$slots, "default", {}, void 0, !0)
702
+ return (e, a) => (o(), l(Ae, c(e.$attrs, { class: "ns-item" }), {
703
+ default: s(() => [
704
+ r(e.$slots, "default", {}, void 0, !0)
682
705
  ]),
683
706
  _: 3
684
707
  }, 16));
685
708
  }
686
- }), us = /* @__PURE__ */ i(vt, [["__scopeId", "data-v-47978f87"]]), bt = /* @__PURE__ */ d({
709
+ }), Rt = /* @__PURE__ */ i(xt, [["__scopeId", "data-v-47978f87"]]), Ut = /* @__PURE__ */ d({
687
710
  __name: "NsItemLabel",
688
711
  setup(t) {
689
- return (e, a) => (s(), r(ge, u(e.$attrs, { class: "ns-item-label" }), {
690
- default: n(() => [
691
- l(e.$slots, "default", {}, void 0, !0)
712
+ return (e, a) => (o(), l(Me, c(e.$attrs, { class: "ns-item-label" }), {
713
+ default: s(() => [
714
+ r(e.$slots, "default", {}, void 0, !0)
692
715
  ]),
693
716
  _: 3
694
717
  }, 16));
695
718
  }
696
- }), is = /* @__PURE__ */ i(bt, [["__scopeId", "data-v-df6024af"]]), $t = /* @__PURE__ */ d({
719
+ }), Ht = /* @__PURE__ */ i(Ut, [["__scopeId", "data-v-df6024af"]]), jt = /* @__PURE__ */ d({
697
720
  __name: "NsItemSection",
698
721
  setup(t) {
699
- return (e, a) => (s(), r(Ne, u(e.$attrs, { class: "ns-item-section" }), {
700
- default: n(() => [
701
- l(e.$slots, "default", {}, void 0, !0)
722
+ return (e, a) => (o(), l(ze, c(e.$attrs, { class: "ns-item-section" }), {
723
+ default: s(() => [
724
+ r(e.$slots, "default", {}, void 0, !0)
702
725
  ]),
703
726
  _: 3
704
727
  }, 16));
705
728
  }
706
- }), cs = /* @__PURE__ */ i($t, [["__scopeId", "data-v-340a753a"]]), gt = /* @__PURE__ */ d({
729
+ }), G = /* @__PURE__ */ i(jt, [["__scopeId", "data-v-340a753a"]]), Kt = /* @__PURE__ */ d({
707
730
  __name: "NsLayout",
708
731
  setup(t) {
709
- return (e, a) => (s(), r(he, u(e.$attrs, { class: "ns-layout" }), {
710
- default: n(() => [
711
- l(e.$slots, "default", {}, void 0, !0)
732
+ return (e, a) => (o(), l(Oe, c(e.$attrs, { class: "ns-layout" }), {
733
+ default: s(() => [
734
+ r(e.$slots, "default", {}, void 0, !0)
712
735
  ]),
713
736
  _: 3
714
737
  }, 16));
715
738
  }
716
- }), ms = /* @__PURE__ */ i(gt, [["__scopeId", "data-v-cf90e270"]]), Nt = /* @__PURE__ */ d({
739
+ }), ee = /* @__PURE__ */ i(Kt, [["__scopeId", "data-v-cf90e270"]]), Gt = /* @__PURE__ */ d({
717
740
  __name: "NsLinearProgress",
718
741
  setup(t) {
719
- return (e, a) => (s(), r(ye, u(e.$attrs, { class: "ns-linear-progress" }), {
720
- default: n(() => [
721
- l(e.$slots, "default", {}, void 0, !0)
742
+ return (e, a) => (o(), l(Fe, c(e.$attrs, { class: "ns-linear-progress" }), {
743
+ default: s(() => [
744
+ r(e.$slots, "default", {}, void 0, !0)
722
745
  ]),
723
746
  _: 3
724
747
  }, 16));
725
748
  }
726
- }), fs = /* @__PURE__ */ i(Nt, [["__scopeId", "data-v-79c6443f"]]), ht = /* @__PURE__ */ d({
749
+ }), xs = /* @__PURE__ */ i(Gt, [["__scopeId", "data-v-79c6443f"]]), Zt = /* @__PURE__ */ d({
727
750
  __name: "NsMenu",
728
751
  setup(t) {
729
- return (e, a) => (s(), r(Qe, u(e.$attrs, { class: "ns-menu" }), {
730
- default: n(() => [
731
- l(e.$slots, "default", {}, void 0, !0)
752
+ return (e, a) => (o(), l(qe, c(e.$attrs, { class: "ns-menu" }), {
753
+ default: s(() => [
754
+ r(e.$slots, "default", {}, void 0, !0)
732
755
  ]),
733
756
  _: 3
734
757
  }, 16));
735
758
  }
736
- }), ps = /* @__PURE__ */ i(ht, [["__scopeId", "data-v-47a4b7d0"]]), yt = /* @__PURE__ */ d({
759
+ }), Rs = /* @__PURE__ */ i(Zt, [["__scopeId", "data-v-47a4b7d0"]]), Wt = /* @__PURE__ */ d({
737
760
  __name: "NsPage",
738
761
  setup(t) {
739
- return (e, a) => (s(), r(Ie, u(e.$attrs, { class: "ns-page" }), {
740
- default: n(() => [
741
- l(e.$slots, "default", {}, void 0, !0)
762
+ return (e, a) => (o(), l(xe, c(e.$attrs, { class: "ns-page" }), {
763
+ default: s(() => [
764
+ r(e.$slots, "default", {}, void 0, !0)
742
765
  ]),
743
766
  _: 3
744
767
  }, 16));
745
768
  }
746
- }), _s = /* @__PURE__ */ i(yt, [["__scopeId", "data-v-25e2841e"]]), Qt = /* @__PURE__ */ d({
769
+ }), te = /* @__PURE__ */ i(Wt, [["__scopeId", "data-v-25e2841e"]]), Jt = /* @__PURE__ */ d({
747
770
  __name: "NsPageContainer",
748
771
  setup(t) {
749
- return (e, a) => (s(), r(Te, u(e.$attrs, { class: "ns-page-container" }), {
750
- default: n(() => [
751
- l(e.$slots, "default", {}, void 0, !0)
772
+ return (e, a) => (o(), l(Re, c(e.$attrs, { class: "ns-page-container" }), {
773
+ default: s(() => [
774
+ r(e.$slots, "default", {}, void 0, !0)
752
775
  ]),
753
776
  _: 3
754
777
  }, 16));
755
778
  }
756
- }), vs = /* @__PURE__ */ i(Qt, [["__scopeId", "data-v-ac167da5"]]), It = /* @__PURE__ */ d({
779
+ }), ae = /* @__PURE__ */ i(Jt, [["__scopeId", "data-v-ac167da5"]]), Yt = /* @__PURE__ */ d({
757
780
  __name: "NsPagination",
758
781
  props: {
759
782
  modelValue: { default: 1 },
@@ -761,181 +784,530 @@ const Fa = /* @__PURE__ */ d({
761
784
  },
762
785
  emits: ["update:modelValue"],
763
786
  setup(t, { emit: e }) {
764
- const a = t, o = e, c = v({
787
+ const a = t, n = e, u = I({
765
788
  get: () => a.modelValue,
766
- set: (m) => o("update:modelValue", m)
789
+ set: (m) => n("update:modelValue", m)
767
790
  });
768
- return (m, f) => (s(), r(Be, u(m.$attrs, {
769
- modelValue: c.value,
770
- "onUpdate:modelValue": f[0] || (f[0] = (_) => c.value = _),
791
+ return (m, b) => (o(), l(Ue, c(m.$attrs, {
792
+ modelValue: u.value,
793
+ "onUpdate:modelValue": b[0] || (b[0] = (h) => u.value = h),
771
794
  max: t.max,
772
795
  class: "ns-pagination"
773
796
  }), {
774
- default: n(() => [
775
- l(m.$slots, "default", {}, void 0, !0)
797
+ default: s(() => [
798
+ r(m.$slots, "default", {}, void 0, !0)
776
799
  ]),
777
800
  _: 3
778
801
  }, 16, ["modelValue", "max"]));
779
802
  }
780
- }), bs = /* @__PURE__ */ i(It, [["__scopeId", "data-v-12fa9287"]]), Tt = /* @__PURE__ */ d({
803
+ }), Us = /* @__PURE__ */ i(Yt, [["__scopeId", "data-v-12fa9287"]]), Xt = /* @__PURE__ */ d({
781
804
  __name: "NsSeparator",
782
805
  setup(t) {
783
- return (e, a) => (s(), r(Se, u(e.$attrs, { class: "ns-separator" }), null, 16));
806
+ return (e, a) => (o(), l(He, c(e.$attrs, { class: "ns-separator" }), null, 16));
784
807
  }
785
- }), $s = /* @__PURE__ */ i(Tt, [["__scopeId", "data-v-0c2b2ac1"]]), Bt = /* @__PURE__ */ d({
808
+ }), ea = /* @__PURE__ */ i(Xt, [["__scopeId", "data-v-0c2b2ac1"]]), ta = /* @__PURE__ */ d({
786
809
  __name: "NsSpace",
787
810
  setup(t) {
788
- return (e, a) => (s(), r(Ce, u(e.$attrs, { class: "ns-space" }), {
789
- default: n(() => [
790
- l(e.$slots, "default", {}, void 0, !0)
811
+ return (e, a) => (o(), l(je, c(e.$attrs, { class: "ns-space" }), {
812
+ default: s(() => [
813
+ r(e.$slots, "default", {}, void 0, !0)
791
814
  ]),
792
815
  _: 3
793
816
  }, 16));
794
817
  }
795
- }), gs = /* @__PURE__ */ i(Bt, [["__scopeId", "data-v-273ca5fc"]]), St = /* @__PURE__ */ d({
818
+ }), Hs = /* @__PURE__ */ i(ta, [["__scopeId", "data-v-273ca5fc"]]), aa = /* @__PURE__ */ d({
796
819
  __name: "NsSpinner",
797
820
  setup(t) {
798
- return (e, a) => (s(), r(ke, u(e.$attrs, { class: "ns-spinner" }), null, 16));
821
+ return (e, a) => (o(), l(Ke, c(e.$attrs, { class: "ns-spinner" }), null, 16));
799
822
  }
800
- }), Ns = /* @__PURE__ */ i(St, [["__scopeId", "data-v-5b99a17b"]]), Ct = /* @__PURE__ */ d({
823
+ }), js = /* @__PURE__ */ i(aa, [["__scopeId", "data-v-5b99a17b"]]), sa = /* @__PURE__ */ d({
801
824
  __name: "NsSpinnerDots",
802
825
  setup(t) {
803
- return (e, a) => (s(), r(z, u(e.$attrs, { class: "ns-spinner-dots" }), null, 16));
826
+ return (e, a) => (o(), l(Y, c(e.$attrs, { class: "ns-spinner-dots" }), null, 16));
804
827
  }
805
- }), hs = /* @__PURE__ */ i(Ct, [["__scopeId", "data-v-20a70106"]]), kt = /* @__PURE__ */ d({
828
+ }), Ks = /* @__PURE__ */ i(sa, [["__scopeId", "data-v-20a70106"]]), oa = /* @__PURE__ */ d({
806
829
  __name: "NsTab",
807
830
  setup(t) {
808
- return (e, a) => (s(), r(Ve, u(e.$attrs, { class: "ns-tab" }), {
809
- default: n(() => [
810
- l(e.$slots, "default", {}, void 0, !0)
831
+ return (e, a) => (o(), l(Ge, c(e.$attrs, { class: "ns-tab" }), {
832
+ default: s(() => [
833
+ r(e.$slots, "default", {}, void 0, !0)
811
834
  ]),
812
835
  _: 3
813
836
  }, 16));
814
837
  }
815
- }), ys = /* @__PURE__ */ i(kt, [["__scopeId", "data-v-b97f2cd1"]]), Vt = /* @__PURE__ */ d({
838
+ }), la = /* @__PURE__ */ i(oa, [["__scopeId", "data-v-b97f2cd1"]]), na = /* @__PURE__ */ d({
816
839
  __name: "NsTable",
817
840
  props: {
818
841
  rows: { default: () => [] }
819
842
  },
820
843
  setup(t) {
821
- return (e, a) => (s(), r(Le, u(e.$attrs, {
844
+ return (e, a) => (o(), l(Ze, c(e.$attrs, {
822
845
  rows: t.rows,
823
846
  class: "ns-table"
824
847
  }), {
825
- default: n(() => [
826
- l(e.$slots, "default", {}, void 0, !0)
848
+ default: s(() => [
849
+ r(e.$slots, "default", {}, void 0, !0)
827
850
  ]),
828
851
  _: 3
829
852
  }, 16, ["rows"]));
830
853
  }
831
- }), Qs = /* @__PURE__ */ i(Vt, [["__scopeId", "data-v-a45d30cf"]]), Lt = /* @__PURE__ */ d({
854
+ }), Gs = /* @__PURE__ */ i(na, [["__scopeId", "data-v-a45d30cf"]]), ra = /* @__PURE__ */ d({
832
855
  __name: "NsTableCell",
833
856
  setup(t) {
834
- return (e, a) => (s(), r(we, u(e.$attrs, { class: "ns-table-cell" }), {
835
- default: n(() => [
836
- l(e.$slots, "default", {}, void 0, !0)
857
+ return (e, a) => (o(), l(We, c(e.$attrs, { class: "ns-table-cell" }), {
858
+ default: s(() => [
859
+ r(e.$slots, "default", {}, void 0, !0)
837
860
  ]),
838
861
  _: 3
839
862
  }, 16));
840
863
  }
841
- }), Is = /* @__PURE__ */ i(Lt, [["__scopeId", "data-v-ca0da61b"]]), wt = /* @__PURE__ */ d({
864
+ }), Zs = /* @__PURE__ */ i(ra, [["__scopeId", "data-v-ca0da61b"]]), da = /* @__PURE__ */ d({
842
865
  __name: "NsTabPanel",
843
866
  props: {
844
867
  name: {}
845
868
  },
846
869
  setup(t) {
847
- return (e, a) => (s(), r(Pe, u(e.$attrs, {
870
+ return (e, a) => (o(), l(Je, c(e.$attrs, {
848
871
  name: t.name,
849
872
  class: "ns-tab-panel"
850
873
  }), {
851
- default: n(() => [
852
- l(e.$slots, "default", {}, void 0, !0)
874
+ default: s(() => [
875
+ r(e.$slots, "default", {}, void 0, !0)
853
876
  ]),
854
877
  _: 3
855
878
  }, 16, ["name"]));
856
879
  }
857
- }), Ts = /* @__PURE__ */ i(wt, [["__scopeId", "data-v-d8f64358"]]), Pt = /* @__PURE__ */ d({
880
+ }), Ws = /* @__PURE__ */ i(da, [["__scopeId", "data-v-d8f64358"]]), ua = /* @__PURE__ */ d({
858
881
  __name: "NsTabPanels",
859
882
  props: {
860
883
  modelValue: { default: void 0 }
861
884
  },
862
885
  emits: ["update:modelValue"],
863
886
  setup(t, { emit: e }) {
864
- const a = t, o = e, c = v({
887
+ const a = t, n = e, u = I({
865
888
  get: () => a.modelValue,
866
- set: (m) => o("update:modelValue", m)
889
+ set: (m) => n("update:modelValue", m)
867
890
  });
868
- return (m, f) => (s(), r(Ee, u(m.$attrs, {
869
- modelValue: c.value,
870
- "onUpdate:modelValue": f[0] || (f[0] = (_) => c.value = _),
891
+ return (m, b) => (o(), l(Ye, c(m.$attrs, {
892
+ modelValue: u.value,
893
+ "onUpdate:modelValue": b[0] || (b[0] = (h) => u.value = h),
871
894
  class: "ns-tab-panels"
872
895
  }), {
873
- default: n(() => [
874
- l(m.$slots, "default", {}, void 0, !0)
896
+ default: s(() => [
897
+ r(m.$slots, "default", {}, void 0, !0)
875
898
  ]),
876
899
  _: 3
877
900
  }, 16, ["modelValue"]));
878
901
  }
879
- }), Bs = /* @__PURE__ */ i(Pt, [["__scopeId", "data-v-dec8ab0f"]]), Et = /* @__PURE__ */ d({
902
+ }), Js = /* @__PURE__ */ i(ua, [["__scopeId", "data-v-dec8ab0f"]]), ia = /* @__PURE__ */ d({
880
903
  __name: "NsTabs",
881
904
  setup(t) {
882
- return (e, a) => (s(), r(Ae, u(e.$attrs, { class: "ns-tabs" }), {
883
- default: n(() => [
884
- l(e.$slots, "default", {}, void 0, !0)
905
+ return (e, a) => (o(), l(Xe, c(e.$attrs, { class: "ns-tabs" }), {
906
+ default: s(() => [
907
+ r(e.$slots, "default", {}, void 0, !0)
885
908
  ]),
886
909
  _: 3
887
910
  }, 16));
888
911
  }
889
- }), Ss = /* @__PURE__ */ i(Et, [["__scopeId", "data-v-81224e01"]]), At = /* @__PURE__ */ d({
912
+ }), ca = /* @__PURE__ */ i(ia, [["__scopeId", "data-v-81224e01"]]), ma = /* @__PURE__ */ d({
890
913
  __name: "NsTimeline",
891
914
  setup(t) {
892
- return (e, a) => (s(), r(De, u(e.$attrs, { class: "ns-timeline" }), {
893
- default: n(() => [
894
- l(e.$slots, "default", {}, void 0, !0)
915
+ return (e, a) => (o(), l(et, c(e.$attrs, { class: "ns-timeline" }), {
916
+ default: s(() => [
917
+ r(e.$slots, "default", {}, void 0, !0)
895
918
  ]),
896
919
  _: 3
897
920
  }, 16));
898
921
  }
899
- }), Cs = /* @__PURE__ */ i(At, [["__scopeId", "data-v-1bf558aa"]]), Dt = /* @__PURE__ */ d({
922
+ }), Ys = /* @__PURE__ */ i(ma, [["__scopeId", "data-v-1bf558aa"]]), fa = /* @__PURE__ */ d({
900
923
  __name: "NsTimelineEntry",
901
924
  setup(t) {
902
- return (e, a) => (s(), r(Me, u(e.$attrs, { class: "ns-timeline-entry" }), {
903
- default: n(() => [
904
- l(e.$slots, "default", {}, void 0, !0)
925
+ return (e, a) => (o(), l(tt, c(e.$attrs, { class: "ns-timeline-entry" }), {
926
+ default: s(() => [
927
+ r(e.$slots, "default", {}, void 0, !0)
905
928
  ]),
906
929
  _: 3
907
930
  }, 16));
908
931
  }
909
- }), ks = /* @__PURE__ */ i(Dt, [["__scopeId", "data-v-fa149ea0"]]), Mt = /* @__PURE__ */ d({
932
+ }), Xs = /* @__PURE__ */ i(fa, [["__scopeId", "data-v-fa149ea0"]]), pa = /* @__PURE__ */ d({
910
933
  __name: "NsToolbar",
911
934
  setup(t) {
912
- return (e, a) => (s(), r(ze, u(e.$attrs, { class: "ns-toolbar" }), {
913
- default: n(() => [
914
- l(e.$slots, "default", {}, void 0, !0)
935
+ return (e, a) => (o(), l(at, c(e.$attrs, { class: "ns-toolbar" }), {
936
+ default: s(() => [
937
+ r(e.$slots, "default", {}, void 0, !0)
915
938
  ]),
916
939
  _: 3
917
940
  }, 16));
918
941
  }
919
- }), Vs = /* @__PURE__ */ i(Mt, [["__scopeId", "data-v-e26a45db"]]), zt = /* @__PURE__ */ d({
942
+ }), Z = /* @__PURE__ */ i(pa, [["__scopeId", "data-v-e26a45db"]]), _a = /* @__PURE__ */ d({
920
943
  __name: "NsToolbarTitle",
921
944
  setup(t) {
922
- return (e, a) => (s(), r(Fe, u(e.$attrs, { class: "ns-toolbar-title" }), {
923
- default: n(() => [
924
- l(e.$slots, "default", {}, void 0, !0)
945
+ return (e, a) => (o(), l(st, c(e.$attrs, { class: "ns-toolbar-title" }), {
946
+ default: s(() => [
947
+ r(e.$slots, "default", {}, void 0, !0)
925
948
  ]),
926
949
  _: 3
927
950
  }, 16));
928
951
  }
929
- }), Ls = /* @__PURE__ */ i(zt, [["__scopeId", "data-v-42928844"]]);
930
- function ws(t = {}) {
931
- const { locale: e = C } = t;
952
+ }), va = /* @__PURE__ */ i(_a, [["__scopeId", "data-v-42928844"]]), S = {
953
+ xs: 0,
954
+ sm: 600,
955
+ md: 1024,
956
+ lg: 1440,
957
+ xl: 1920,
958
+ xxl: 2560,
959
+ xxxl: 3840
960
+ }, D = [
961
+ "xs",
962
+ "sm",
963
+ "md",
964
+ "lg",
965
+ "xl",
966
+ "xxl",
967
+ "xxxl"
968
+ ];
969
+ function eo(t) {
970
+ return `(min-width: ${S[t]}px)`;
971
+ }
972
+ function to(t) {
973
+ return `(max-width: ${S[t] - 1}px)`;
974
+ }
975
+ function ao(t) {
976
+ const e = D.indexOf(t), a = S[t], n = D[e + 1];
977
+ if (!n)
978
+ return `(min-width: ${a}px)`;
979
+ const u = S[n] - 1;
980
+ return `(min-width: ${a}px) and (max-width: ${u}px)`;
981
+ }
982
+ function so(t, e) {
983
+ const a = D.indexOf(e), n = D[a + 1], u = S[t];
984
+ if (!n)
985
+ return `(min-width: ${u}px)`;
986
+ const m = S[n] - 1;
987
+ return `(min-width: ${u}px) and (max-width: ${m}px)`;
988
+ }
989
+ const ba = {
990
+ key: 0,
991
+ class: "ns-app-shell__search-inline"
992
+ }, $a = /* @__PURE__ */ d({
993
+ __name: "NsAppShell",
994
+ props: {
995
+ tabs: { default: () => [] },
996
+ drawerItems: { default: () => [] },
997
+ showSearch: { type: Boolean, default: !1 },
998
+ miniDrawer: { type: Boolean, default: !1 },
999
+ drawerBreakpoint: { default: () => S.md },
1000
+ modelValue: { default: void 0 }
1001
+ },
1002
+ emits: ["search", "tab-change", "drawer-toggle", "update:modelValue"],
1003
+ setup(t, { emit: e }) {
1004
+ const a = t, n = e, u = ot(), m = I(() => u.screen.width >= a.drawerBreakpoint), b = B(!1), h = B(!1), v = B(""), p = B(a.modelValue ?? (a.tabs[0]?.name || ""));
1005
+ function g() {
1006
+ b.value = !b.value;
1007
+ }
1008
+ function k(_) {
1009
+ n("drawer-toggle", _);
1010
+ }
1011
+ function w(_) {
1012
+ p.value = String(_), n("tab-change", _), n("update:modelValue", String(_));
1013
+ }
1014
+ function L() {
1015
+ n("search", v.value);
1016
+ }
1017
+ return (_, N) => (o(), l(ee, {
1018
+ class: "ns-app-shell",
1019
+ view: "hHh lpR fFf"
1020
+ }, {
1021
+ default: s(() => [
1022
+ f(zt, {
1023
+ class: "ns-app-shell__header",
1024
+ elevated: ""
1025
+ }, {
1026
+ default: s(() => [
1027
+ f(Z, null, {
1028
+ default: s(() => [
1029
+ m.value ? y("", !0) : (o(), l(A, {
1030
+ key: 0,
1031
+ flat: "",
1032
+ round: "",
1033
+ dense: "",
1034
+ "aria-label": b.value ? "Close menu" : "Open menu",
1035
+ class: "ns-app-shell__menu-btn",
1036
+ onClick: g
1037
+ }, {
1038
+ default: s(() => [
1039
+ f(T, { name: "menu" })
1040
+ ]),
1041
+ _: 1
1042
+ }, 8, ["aria-label"])),
1043
+ r(_.$slots, "header-left", {}, void 0, !0),
1044
+ f(va),
1045
+ t.showSearch ? (o(), Q(V, { key: 1 }, [
1046
+ m.value ? (o(), Q("div", ba, [
1047
+ f(K, {
1048
+ modelValue: v.value,
1049
+ "onUpdate:modelValue": N[0] || (N[0] = ($) => v.value = $),
1050
+ dense: "",
1051
+ outlined: "",
1052
+ placeholder: "Search…",
1053
+ class: "ns-app-shell__search-input",
1054
+ onKeyup: U(L, ["enter"])
1055
+ }, {
1056
+ prepend: s(() => [
1057
+ f(T, { name: "search" })
1058
+ ]),
1059
+ _: 1
1060
+ }, 8, ["modelValue"])
1061
+ ])) : (o(), l(A, {
1062
+ key: 1,
1063
+ flat: "",
1064
+ round: "",
1065
+ dense: "",
1066
+ "aria-label": "Search",
1067
+ class: "ns-app-shell__search-btn",
1068
+ onClick: N[1] || (N[1] = ($) => h.value = !h.value)
1069
+ }, {
1070
+ default: s(() => [
1071
+ f(T, { name: "search" })
1072
+ ]),
1073
+ _: 1
1074
+ }))
1075
+ ], 64)) : y("", !0),
1076
+ r(_.$slots, "header-actions", {}, void 0, !0)
1077
+ ]),
1078
+ _: 3
1079
+ }),
1080
+ t.showSearch && h.value && !m.value ? (o(), l(Z, {
1081
+ key: 0,
1082
+ class: "ns-app-shell__search-bar"
1083
+ }, {
1084
+ default: s(() => [
1085
+ f(K, {
1086
+ modelValue: v.value,
1087
+ "onUpdate:modelValue": N[3] || (N[3] = ($) => v.value = $),
1088
+ dense: "",
1089
+ outlined: "",
1090
+ placeholder: "Search…",
1091
+ class: "full-width",
1092
+ onKeyup: U(L, ["enter"])
1093
+ }, {
1094
+ prepend: s(() => [
1095
+ f(T, { name: "search" })
1096
+ ]),
1097
+ append: s(() => [
1098
+ f(A, {
1099
+ flat: "",
1100
+ round: "",
1101
+ dense: "",
1102
+ "aria-label": "Close search",
1103
+ onClick: N[2] || (N[2] = ($) => h.value = !1)
1104
+ }, {
1105
+ default: s(() => [
1106
+ f(T, { name: "close" })
1107
+ ]),
1108
+ _: 1
1109
+ })
1110
+ ]),
1111
+ _: 1
1112
+ }, 8, ["modelValue"])
1113
+ ]),
1114
+ _: 1
1115
+ })) : y("", !0)
1116
+ ]),
1117
+ _: 3
1118
+ }),
1119
+ f(Nt, {
1120
+ modelValue: b.value,
1121
+ "onUpdate:modelValue": [
1122
+ N[4] || (N[4] = ($) => b.value = $),
1123
+ k
1124
+ ],
1125
+ breakpoint: t.drawerBreakpoint,
1126
+ mini: m.value && t.miniDrawer,
1127
+ bordered: "",
1128
+ class: "ns-app-shell__drawer",
1129
+ behavior: m.value ? "desktop" : "mobile",
1130
+ side: "left"
1131
+ }, {
1132
+ default: s(() => [
1133
+ r(_.$slots, "drawer-header", {}, void 0, !0),
1134
+ t.drawerItems.length > 0 ? (o(), l(Bt, { key: 0 }, {
1135
+ default: s(() => [
1136
+ (o(!0), Q(V, null, P(t.drawerItems, ($) => (o(), Q(V, {
1137
+ key: $.name
1138
+ }, [
1139
+ $.separator ? (o(), l(ea, { key: 0 })) : y("", !0),
1140
+ f(Rt, {
1141
+ to: $.to,
1142
+ active: $.active,
1143
+ clickable: "",
1144
+ class: "ns-app-shell__nav-item"
1145
+ }, {
1146
+ default: s(() => [
1147
+ $.icon ? (o(), l(G, {
1148
+ key: 0,
1149
+ avatar: ""
1150
+ }, {
1151
+ default: s(() => [
1152
+ f(T, {
1153
+ name: $.icon
1154
+ }, null, 8, ["name"])
1155
+ ]),
1156
+ _: 2
1157
+ }, 1024)) : y("", !0),
1158
+ f(G, null, {
1159
+ default: s(() => [
1160
+ f(Ht, null, {
1161
+ default: s(() => [
1162
+ re(E($.label), 1)
1163
+ ]),
1164
+ _: 2
1165
+ }, 1024)
1166
+ ]),
1167
+ _: 2
1168
+ }, 1024)
1169
+ ]),
1170
+ _: 2
1171
+ }, 1032, ["to", "active"])
1172
+ ], 64))), 128))
1173
+ ]),
1174
+ _: 1
1175
+ })) : y("", !0),
1176
+ r(_.$slots, "drawer-footer", {}, void 0, !0)
1177
+ ]),
1178
+ _: 3
1179
+ }, 8, ["modelValue", "breakpoint", "mini", "behavior"]),
1180
+ f(ae, null, {
1181
+ default: s(() => [
1182
+ f(te, {
1183
+ class: de({ "ns-app-shell__page--has-bottom-bar": !m.value && t.tabs.length > 0 })
1184
+ }, {
1185
+ default: s(() => [
1186
+ r(_.$slots, "default", {}, void 0, !0)
1187
+ ]),
1188
+ _: 3
1189
+ }, 8, ["class"])
1190
+ ]),
1191
+ _: 3
1192
+ }),
1193
+ !m.value && t.tabs.length > 0 ? (o(), l(At, {
1194
+ key: 0,
1195
+ elevated: "",
1196
+ class: "ns-app-shell__bottom-bar"
1197
+ }, {
1198
+ default: s(() => [
1199
+ r(_.$slots, "bottom-bar-above", {}, void 0, !0),
1200
+ f(ca, {
1201
+ "model-value": p.value,
1202
+ dense: "",
1203
+ "narrow-indicator": "",
1204
+ class: "ns-app-shell__bottom-tabs",
1205
+ "onUpdate:modelValue": w
1206
+ }, {
1207
+ default: s(() => [
1208
+ (o(!0), Q(V, null, P(t.tabs, ($) => (o(), l(la, {
1209
+ key: $.name,
1210
+ name: $.name,
1211
+ icon: $.icon,
1212
+ label: $.label,
1213
+ class: "ns-app-shell__bottom-tab"
1214
+ }, null, 8, ["name", "icon", "label"]))), 128))
1215
+ ]),
1216
+ _: 1
1217
+ }, 8, ["model-value"])
1218
+ ]),
1219
+ _: 3
1220
+ })) : y("", !0)
1221
+ ]),
1222
+ _: 3
1223
+ }));
1224
+ }
1225
+ }), oo = /* @__PURE__ */ i($a, [["__scopeId", "data-v-d88db6ec"]]), ha = {
1226
+ key: 0,
1227
+ class: "ns-auth-layout__branding"
1228
+ }, ga = /* @__PURE__ */ d({
1229
+ __name: "NsAuthLayout",
1230
+ props: {
1231
+ maxWidth: { default: "440px" }
1232
+ },
1233
+ setup(t) {
1234
+ const e = t, a = I(() => ({
1235
+ maxWidth: e.maxWidth
1236
+ }));
1237
+ return (n, u) => (o(), l(ee, { class: "ns-auth-layout" }, {
1238
+ default: s(() => [
1239
+ f(ae, null, {
1240
+ default: s(() => [
1241
+ f(te, { class: "ns-auth-layout__page" }, {
1242
+ default: s(() => [
1243
+ F("div", {
1244
+ class: "ns-auth-layout__container",
1245
+ style: ue(a.value)
1246
+ }, [
1247
+ n.$slots.branding ? (o(), Q("div", ha, [
1248
+ r(n.$slots, "branding", {}, void 0, !0)
1249
+ ])) : y("", !0),
1250
+ f(ft, { class: "ns-auth-layout__card" }, {
1251
+ default: s(() => [
1252
+ r(n.$slots, "default", {}, void 0, !0)
1253
+ ]),
1254
+ _: 3
1255
+ })
1256
+ ], 4)
1257
+ ]),
1258
+ _: 3
1259
+ })
1260
+ ]),
1261
+ _: 3
1262
+ })
1263
+ ]),
1264
+ _: 3
1265
+ }));
1266
+ }
1267
+ }), lo = /* @__PURE__ */ i(ga, [["__scopeId", "data-v-d70a792e"]]), no = /* @__PURE__ */ d({
1268
+ __name: "NsDashboardGrid",
1269
+ props: {
1270
+ columns: { default: () => ({ xs: 1, sm: 2, md: 3, lg: 4 }) },
1271
+ gap: { default: "md" }
1272
+ },
1273
+ setup(t) {
1274
+ const e = t, a = ie(), n = I(() => `q-gutter-${e.gap}`);
1275
+ function u(v, p) {
1276
+ const g = Math.floor(12 / p);
1277
+ return v === "xs" ? `col-${g}` : `col-${v}-${g}`;
1278
+ }
1279
+ const m = I(() => {
1280
+ const v = [], p = e.columns;
1281
+ return p.xs && v.push(u("xs", p.xs)), p.sm && v.push(u("sm", p.sm)), p.md && v.push(u("md", p.md)), p.lg && v.push(u("lg", p.lg)), p.xl && v.push(u("xl", p.xl)), v;
1282
+ });
1283
+ function b(v) {
1284
+ const p = [];
1285
+ for (const g of v)
1286
+ g.type === V && Array.isArray(g.children) ? p.push(...b(g.children)) : typeof g.type != "symbol" && p.push(g);
1287
+ return p;
1288
+ }
1289
+ const h = () => {
1290
+ const v = a.default?.(), g = (v ? b(v) : []).map(
1291
+ (k, w) => H("div", { key: w, class: m.value }, [k])
1292
+ );
1293
+ return H(
1294
+ "div",
1295
+ { class: ["ns-dashboard-grid", "row", "items-stretch", n.value] },
1296
+ g
1297
+ );
1298
+ };
1299
+ return (v, p) => (o(), l(h));
1300
+ }
1301
+ });
1302
+ function ro(t = {}) {
1303
+ const { locale: e = x } = t;
932
1304
  return {
933
1305
  install(a) {
934
- a.provide(k, e);
1306
+ a.provide(R, e);
935
1307
  }
936
1308
  };
937
1309
  }
938
- const Ft = {
1310
+ const Na = {
939
1311
  primary: "#3b82f6",
940
1312
  // PLACEHOLDER — matches --ns-color-primary
941
1313
  secondary: "#8b5cf6",
@@ -955,20 +1327,20 @@ const Ft = {
955
1327
  warning: "#f59e0b"
956
1328
  // PLACEHOLDER — matches --ns-color-warning
957
1329
  };
958
- function Ps(t = {}) {
959
- const { brand: e = {}, plugins: a = {}, ...o } = t;
1330
+ function uo(t = {}) {
1331
+ const { brand: e = {}, plugins: a = {}, ...n } = t;
960
1332
  return {
961
1333
  config: {
962
1334
  brand: {
963
- ...Ft,
1335
+ ...Na,
964
1336
  ...e
965
1337
  }
966
1338
  },
967
1339
  plugins: a,
968
- ...o
1340
+ ...n
969
1341
  };
970
1342
  }
971
- const Es = {
1343
+ const io = {
972
1344
  common: {
973
1345
  loading: "Chargement…",
974
1346
  retry: "Réessayer",
@@ -1005,113 +1377,76 @@ const Es = {
1005
1377
  tooLong: "Trop long"
1006
1378
  }
1007
1379
  };
1008
- function As(t, e) {
1009
- const a = Ue();
1010
- return v(() => {
1011
- const o = t();
1012
- if (o != null) return o;
1013
- const c = e.split(".");
1380
+ function co(t, e) {
1381
+ const a = dt();
1382
+ return I(() => {
1383
+ const n = t();
1384
+ if (n != null) return n;
1385
+ const u = e.split(".");
1014
1386
  let m = a;
1015
- for (const f of c)
1016
- m = m[f];
1387
+ for (const b of u)
1388
+ m = m[b];
1017
1389
  return m;
1018
1390
  });
1019
1391
  }
1020
- const Q = "ns-dark-mode";
1021
- function Ds() {
1022
- const t = w(!1), e = w("system");
1023
- let a = null, o = () => {
1392
+ const M = "ns-dark-mode";
1393
+ function mo() {
1394
+ const t = B(!1), e = B("system");
1395
+ let a = null, n = () => {
1024
1396
  };
1025
- function c(p) {
1026
- if (t.value = p, typeof document < "u") {
1397
+ function u(_) {
1398
+ if (t.value = _, typeof document < "u") {
1027
1399
  const N = document.documentElement;
1028
- N.classList.toggle("dark", p), N.setAttribute("data-theme", p ? "dark" : "light");
1400
+ N.classList.toggle("dark", _), N.setAttribute("data-theme", _ ? "dark" : "light");
1029
1401
  }
1030
1402
  }
1031
1403
  function m() {
1032
1404
  return typeof window > "u" ? !1 : window.matchMedia("(prefers-color-scheme: dark)").matches;
1033
1405
  }
1034
- function f() {
1406
+ function b() {
1035
1407
  if (typeof localStorage > "u") return null;
1036
- const p = localStorage.getItem(Q);
1037
- return p === "true" ? !0 : p === "false" ? !1 : null;
1408
+ const _ = localStorage.getItem(M);
1409
+ return _ === "true" ? !0 : _ === "false" ? !1 : null;
1038
1410
  }
1039
- function _(p) {
1040
- typeof localStorage < "u" && localStorage.setItem(Q, String(p));
1411
+ function h(_) {
1412
+ typeof localStorage < "u" && localStorage.setItem(M, String(_));
1041
1413
  }
1042
- function O() {
1043
- typeof localStorage < "u" && localStorage.removeItem(Q);
1414
+ function v() {
1415
+ typeof localStorage < "u" && localStorage.removeItem(M);
1044
1416
  }
1045
- function V() {
1046
- e.value = "user", _(!0), c(!0);
1417
+ function p() {
1418
+ e.value = "user", h(!0), u(!0);
1047
1419
  }
1048
- function L() {
1049
- e.value = "user", _(!1), c(!1);
1420
+ function g() {
1421
+ e.value = "user", h(!1), u(!1);
1050
1422
  }
1051
- function q() {
1052
- t.value ? L() : V();
1423
+ function k() {
1424
+ t.value ? g() : p();
1053
1425
  }
1054
- function R() {
1055
- O(), e.value = "system", c(m());
1426
+ function w() {
1427
+ v(), e.value = "system", u(m());
1056
1428
  }
1057
- function U() {
1058
- const p = f();
1059
- p !== null ? (e.value = "storage", c(p)) : (e.value = "system", c(m())), typeof window < "u" && (a = window.matchMedia("(prefers-color-scheme: dark)"), o = (N) => {
1060
- f() === null && (e.value = "system", c(N.matches));
1061
- }, a.addEventListener("change", o));
1429
+ function L() {
1430
+ const _ = b();
1431
+ _ !== null ? (e.value = "storage", u(_)) : (e.value = "system", u(m())), typeof window < "u" && (a = window.matchMedia("(prefers-color-scheme: dark)"), n = (N) => {
1432
+ b() === null && (e.value = "system", u(N.matches));
1433
+ }, a.addEventListener("change", n));
1062
1434
  }
1063
- return G(U), J(() => {
1064
- a?.removeEventListener("change", o);
1435
+ return ce(L), me(() => {
1436
+ a?.removeEventListener("change", n);
1065
1437
  }), {
1066
- isDark: P(t),
1067
- source: P(e),
1068
- enable: V,
1069
- disable: L,
1070
- toggle: q,
1071
- useSystem: R
1438
+ isDark: j(t),
1439
+ source: j(e),
1440
+ enable: p,
1441
+ disable: g,
1442
+ toggle: k,
1443
+ useSystem: w
1072
1444
  };
1073
1445
  }
1074
- function Ms(t, e = document.documentElement) {
1446
+ function fo(t, e = document.documentElement) {
1075
1447
  return getComputedStyle(e).getPropertyValue(t).trim();
1076
1448
  }
1077
- const b = {
1078
- xs: 0,
1079
- sm: 600,
1080
- md: 1024,
1081
- lg: 1440,
1082
- xl: 1920,
1083
- xxl: 2560,
1084
- xxxl: 3840
1085
- }, y = [
1086
- "xs",
1087
- "sm",
1088
- "md",
1089
- "lg",
1090
- "xl",
1091
- "xxl",
1092
- "xxxl"
1093
- ];
1094
- function zs(t) {
1095
- return `(min-width: ${b[t]}px)`;
1096
- }
1097
- function Fs(t) {
1098
- return `(max-width: ${b[t] - 1}px)`;
1099
- }
1100
- function Os(t) {
1101
- const e = y.indexOf(t), a = b[t], o = y[e + 1];
1102
- if (!o)
1103
- return `(min-width: ${a}px)`;
1104
- const c = b[o] - 1;
1105
- return `(min-width: ${a}px) and (max-width: ${c}px)`;
1106
- }
1107
- function qs(t, e) {
1108
- const a = y.indexOf(e), o = y[a + 1], c = b[t];
1109
- if (!o)
1110
- return `(min-width: ${c}px)`;
1111
- const m = b[o] - 1;
1112
- return `(min-width: ${c}px) and (max-width: ${m}px)`;
1113
- }
1114
- const Ot = {
1449
+ const ya = {
1115
1450
  // Existing (fully styled) components
1116
1451
  QAvatar: "NsAvatar",
1117
1452
  QBanner: "NsBanner",
@@ -1129,6 +1464,8 @@ const Ot = {
1129
1464
  QTooltip: "NsTooltip",
1130
1465
  // Placeholder wrapper components
1131
1466
  QBadge: "NsBadge",
1467
+ QDrawer: "NsDrawer",
1468
+ QExpansionItem: "NsExpansionItem",
1132
1469
  QBreadcrumbs: "NsBreadcrumbs",
1133
1470
  QBreadcrumbsEl: "NsBreadcrumbElement",
1134
1471
  QBtnToggle: "NsButtonToggle",
@@ -1162,85 +1499,90 @@ const Ot = {
1162
1499
  QTimelineEntry: "NsTimelineEntry",
1163
1500
  QToolbar: "NsToolbar",
1164
1501
  QToolbarTitle: "NsToolbarTitle"
1165
- }, qt = Object.fromEntries(
1166
- Object.entries(Ot).map(([t, e]) => [
1502
+ }, Ia = Object.fromEntries(
1503
+ Object.entries(ya).map(([t, e]) => [
1167
1504
  t.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, ""),
1168
1505
  e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "")
1169
1506
  ])
1170
1507
  );
1171
- function Rs() {
1172
- return Object.entries(qt).map(([t, e]) => ({
1508
+ function po() {
1509
+ return Object.entries(Ia).map(([t, e]) => ({
1173
1510
  element: t,
1174
1511
  message: `Use <${e}> from @nonsuch/components instead of <${t}>.`
1175
1512
  }));
1176
1513
  }
1177
1514
  export {
1178
- Ka as NsAvatar,
1179
- Wa as NsBadge,
1180
- xa as NsBanner,
1181
- es as NsBreadcrumbElement,
1182
- Xa as NsBreadcrumbs,
1183
- Ma as NsButton,
1184
- ts as NsButtonToggle,
1185
- qa as NsCard,
1186
- as as NsCardActions,
1187
- ss as NsCardSection,
1188
- Ua as NsCheckbox,
1189
- Ga as NsChip,
1190
- Za as NsDialog,
1191
- os as NsFooter,
1192
- ja as NsForm,
1193
- ns as NsHeader,
1194
- rs as NsIcon,
1195
- ls as NsImage,
1196
- ds as NsInnerLoading,
1197
- Oa as NsInput,
1198
- us as NsItem,
1199
- is as NsItemLabel,
1200
- cs as NsItemSection,
1201
- ms as NsLayout,
1202
- fs as NsLinearProgress,
1203
- Ja as NsList,
1204
- k as NsLocaleKey,
1205
- ps as NsMenu,
1206
- _s as NsPage,
1207
- vs as NsPageContainer,
1208
- bs as NsPagination,
1209
- Ra as NsSelect,
1210
- $s as NsSeparator,
1211
- za as NsSkeleton,
1212
- gs as NsSpace,
1213
- Ns as NsSpinner,
1214
- hs as NsSpinnerDots,
1215
- ys as NsTab,
1216
- Ts as NsTabPanel,
1217
- Bs as NsTabPanels,
1218
- Qs as NsTable,
1219
- Is as NsTableCell,
1220
- Ss as NsTabs,
1221
- Fa as NsThemeProvider,
1222
- Cs as NsTimeline,
1223
- ks as NsTimelineEntry,
1224
- Ha as NsToggle,
1225
- Vs as NsToolbar,
1226
- Ls as NsToolbarTitle,
1227
- Ya as NsTooltip,
1228
- ws as createNonsuch,
1229
- Ps as createQuasarConfig,
1230
- Rs as generateQuasarBanRules,
1231
- Ms as getToken,
1232
- y as nsBreakpointNames,
1233
- b as nsBreakpoints,
1234
- Ot as nsComponentManifest,
1235
- C as nsLocaleEnCA,
1236
- Es as nsLocaleFrCA,
1237
- qs as nsMediaBetween,
1238
- Fs as nsMediaDown,
1239
- Os as nsMediaOnly,
1240
- zs as nsMediaUp,
1241
- qt as nsTemplateTagManifest,
1242
- Re as provideNsLocale,
1243
- Ds as useNsDarkMode,
1244
- As as useNsDefault,
1245
- Ue as useNsLocale
1515
+ oo as NsAppShell,
1516
+ lo as NsAuthLayout,
1517
+ Cs as NsAvatar,
1518
+ Es as NsBadge,
1519
+ Vs as NsBanner,
1520
+ As as NsBreadcrumbElement,
1521
+ Ds as NsBreadcrumbs,
1522
+ A as NsButton,
1523
+ Ms as NsButtonToggle,
1524
+ ft as NsCard,
1525
+ zs as NsCardActions,
1526
+ Os as NsCardSection,
1527
+ Ss as NsCheckbox,
1528
+ Ls as NsChip,
1529
+ no as NsDashboardGrid,
1530
+ ks as NsDialog,
1531
+ Nt as NsDrawer,
1532
+ ws as NsExpansionItem,
1533
+ At as NsFooter,
1534
+ Bs as NsForm,
1535
+ zt as NsHeader,
1536
+ T as NsIcon,
1537
+ Fs as NsImage,
1538
+ qs as NsInnerLoading,
1539
+ K as NsInput,
1540
+ Rt as NsItem,
1541
+ Ht as NsItemLabel,
1542
+ G as NsItemSection,
1543
+ ee as NsLayout,
1544
+ xs as NsLinearProgress,
1545
+ Bt as NsList,
1546
+ R as NsLocaleKey,
1547
+ Rs as NsMenu,
1548
+ te as NsPage,
1549
+ ae as NsPageContainer,
1550
+ Us as NsPagination,
1551
+ Qs as NsSelect,
1552
+ ea as NsSeparator,
1553
+ ys as NsSkeleton,
1554
+ Hs as NsSpace,
1555
+ js as NsSpinner,
1556
+ Ks as NsSpinnerDots,
1557
+ la as NsTab,
1558
+ Ws as NsTabPanel,
1559
+ Js as NsTabPanels,
1560
+ Gs as NsTable,
1561
+ Zs as NsTableCell,
1562
+ ca as NsTabs,
1563
+ Is as NsThemeProvider,
1564
+ Ys as NsTimeline,
1565
+ Xs as NsTimelineEntry,
1566
+ Ts as NsToggle,
1567
+ Z as NsToolbar,
1568
+ va as NsToolbarTitle,
1569
+ Ps as NsTooltip,
1570
+ ro as createNonsuch,
1571
+ uo as createQuasarConfig,
1572
+ po as generateQuasarBanRules,
1573
+ fo as getToken,
1574
+ D as nsBreakpointNames,
1575
+ S as nsBreakpoints,
1576
+ ya as nsComponentManifest,
1577
+ x as nsLocaleEnCA,
1578
+ io as nsLocaleFrCA,
1579
+ so as nsMediaBetween,
1580
+ to as nsMediaDown,
1581
+ ao as nsMediaOnly,
1582
+ eo as nsMediaUp,
1583
+ Ia as nsTemplateTagManifest,
1584
+ rt as provideNsLocale,
1585
+ mo as useNsDarkMode,
1586
+ co as useNsDefault,
1587
+ dt as useNsLocale
1246
1588
  };