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