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