@nonsuch/component-library 0.8.0 → 0.10.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,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 y, ref as w, Fragment as P, withKeys as G, createTextVNode as Z, normalizeClass as pe, normalizeStyle as _e, useSlots as ve, h as W, onMounted as be, onUnmounted as he, readonly as J } from "vue";
|
|
3
|
+
import oe from "quasar/src/components/spinner/QSpinnerDots.js";
|
|
4
|
+
import $e from "quasar/src/components/skeleton/QSkeleton.js";
|
|
5
|
+
import ge 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 Ne from "quasar/src/components/select/QSelect.js";
|
|
10
|
+
import ye from "quasar/src/components/checkbox/QCheckbox.js";
|
|
11
|
+
import Ie from "quasar/src/components/toggle/QToggle.js";
|
|
12
|
+
import Qe from "quasar/src/components/form/QForm.js";
|
|
13
|
+
import Se from "quasar/src/components/dialog/QDialog.js";
|
|
14
|
+
import Te from "quasar/src/components/drawer/QDrawer.js";
|
|
15
|
+
import ke from "quasar/src/components/expansion-item/QExpansionItem.js";
|
|
16
|
+
import Be from "quasar/src/components/banner/QBanner.js";
|
|
17
|
+
import we from "quasar/src/components/avatar/QAvatar.js";
|
|
18
|
+
import Ce from "quasar/src/components/chip/QChip.js";
|
|
19
|
+
import Ve from "quasar/src/components/item/QList.js";
|
|
20
|
+
import Le from "quasar/src/components/tooltip/QTooltip.js";
|
|
21
|
+
import Pe from "quasar/src/components/badge/QBadge.js";
|
|
22
|
+
import De from "quasar/src/components/breadcrumbs/QBreadcrumbs.js";
|
|
23
|
+
import Ee from "quasar/src/components/breadcrumbs/QBreadcrumbsEl.js";
|
|
24
|
+
import Ae from "quasar/src/components/btn-toggle/QBtnToggle.js";
|
|
25
|
+
import Me from "quasar/src/components/footer/QFooter.js";
|
|
26
|
+
import ze from "quasar/src/components/header/QHeader.js";
|
|
27
|
+
import Oe from "quasar/src/components/icon/QIcon.js";
|
|
28
|
+
import Fe from "quasar/src/components/img/QImg.js";
|
|
29
|
+
import qe from "quasar/src/components/inner-loading/QInnerLoading.js";
|
|
30
|
+
import Ue from "quasar/src/components/item/QItem.js";
|
|
31
|
+
import xe from "quasar/src/components/item/QItemLabel.js";
|
|
32
|
+
import Re from "quasar/src/components/item/QItemSection.js";
|
|
33
|
+
import He from "quasar/src/components/layout/QLayout.js";
|
|
34
|
+
import je from "quasar/src/components/linear-progress/QLinearProgress.js";
|
|
35
|
+
import Ke from "quasar/src/components/menu/QMenu.js";
|
|
36
|
+
import Ge from "quasar/src/components/page/QPage.js";
|
|
37
|
+
import Ze from "quasar/src/components/page/QPageContainer.js";
|
|
38
|
+
import We from "quasar/src/components/pagination/QPagination.js";
|
|
39
|
+
import Je from "quasar/src/components/separator/QSeparator.js";
|
|
40
|
+
import Ye from "quasar/src/components/space/QSpace.js";
|
|
41
|
+
import Xe from "quasar/src/components/spinner/QSpinner.js";
|
|
42
|
+
import ea from "quasar/src/components/tabs/QTab.js";
|
|
43
|
+
import aa from "quasar/src/components/table/QTable.js";
|
|
44
|
+
import ta from "quasar/src/components/table/QTd.js";
|
|
45
|
+
import sa from "quasar/src/components/tab-panels/QTabPanel.js";
|
|
46
|
+
import oa from "quasar/src/components/tab-panels/QTabPanels.js";
|
|
47
|
+
import la from "quasar/src/components/tabs/QTabs.js";
|
|
48
|
+
import na from "quasar/src/components/timeline/QTimeline.js";
|
|
49
|
+
import ra from "quasar/src/components/timeline/QTimelineEntry.js";
|
|
50
|
+
import da from "quasar/src/components/toolbar/QToolbar.js";
|
|
51
|
+
import ua from "quasar/src/components/toolbar/QToolbarTitle.js";
|
|
52
|
+
import ia from "quasar/src/composables/use-quasar/use-quasar.js";
|
|
53
|
+
const ca = /* @__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(ca, [["__scopeId", "data-v-59b40e5f"]]), ma = /* @__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($e, 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
|
+
}), Ts = /* @__PURE__ */ i(ma, [["__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 fa(a) {
|
|
150
|
+
me(j, a);
|
|
151
151
|
}
|
|
152
|
-
function
|
|
153
|
-
return
|
|
152
|
+
function pa() {
|
|
153
|
+
return fe(j, H);
|
|
154
154
|
}
|
|
155
|
-
const
|
|
155
|
+
const ks = /* @__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 fa(a.locale), (t, n) => r(t.$slots, "default");
|
|
162
162
|
}
|
|
163
|
-
}),
|
|
163
|
+
}), _a = /* @__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(ge, 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(_a, [["__scopeId", "data-v-7ebf3284"]]), va = { class: "text-h6" }, ba = {
|
|
192
192
|
key: 0,
|
|
193
193
|
class: "text-subtitle2 text-grey"
|
|
194
|
-
},
|
|
194
|
+
}, ha = /* @__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", va, A(a.title), 1),
|
|
217
|
+
a.subtitle ? (o(), B("div", ba, 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
|
+
}), $a = /* @__PURE__ */ i(ha, [["__scopeId", "data-v-7769879a"]]), ga = /* @__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(Ne, 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
|
+
}), Bs = /* @__PURE__ */ i(ga, [["__scopeId", "data-v-081cebe3"]]), Na = /* @__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(ye, 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
|
+
}), ws = /* @__PURE__ */ i(Na, [["__scopeId", "data-v-2e481f8b"]]), ya = /* @__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(Ie, 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
|
+
}), Cs = /* @__PURE__ */ i(ya, [["__scopeId", "data-v-f8c90530"]]), Ia = /* @__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(Qe, 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
|
+
}), Vs = /* @__PURE__ */ i(Ia, [["__scopeId", "data-v-e20d14ce"]]), Qa = { class: "text-h6" }, Sa = /* @__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(Se, 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", Qa, 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
|
+
}), Ls = /* @__PURE__ */ i(Sa, [["__scopeId", "data-v-4fca48ca"]]), Ta = /* @__PURE__ */ u({
|
|
408
408
|
__name: "NsDrawer",
|
|
409
|
-
setup(
|
|
410
|
-
return (e,
|
|
409
|
+
setup(a) {
|
|
410
|
+
return (e, t) => (o(), l(Te, 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
|
+
}), ka = /* @__PURE__ */ i(Ta, [["__scopeId", "data-v-66ca96b0"]]), Ba = /* @__PURE__ */ u({
|
|
418
418
|
__name: "NsExpansionItem",
|
|
419
|
-
setup(
|
|
420
|
-
return (e,
|
|
419
|
+
setup(a) {
|
|
420
|
+
return (e, t) => (o(), l(ke, 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
|
+
}), Ps = /* @__PURE__ */ i(Ba, [["__scopeId", "data-v-c07366a7"]]), wa = /* @__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 = y(
|
|
436
436
|
() => e.type === "error" || e.type === "warning" ? "alert" : "status"
|
|
437
|
-
), n =
|
|
437
|
+
), n = y(
|
|
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(Be, 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
|
+
}), Ds = /* @__PURE__ */ i(wa, [["__scopeId", "data-v-18ebd6f5"]]), Ca = /* @__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 = y(() => e[t.size] ?? t.size);
|
|
485
|
+
return (d, m) => (o(), l(we, 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
|
+
}), Es = /* @__PURE__ */ i(Ca, [["__scopeId", "data-v-6a1b44b8"]]), Va = /* @__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(Ce, 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
|
+
}), As = /* @__PURE__ */ i(Va, [["__scopeId", "data-v-1a2191f1"]]), La = /* @__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(Ve, 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
|
+
}), Pa = /* @__PURE__ */ i(La, [["__scopeId", "data-v-65aec20e"]]), Da = /* @__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(Le, 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
|
+
}), Ms = /* @__PURE__ */ i(Da, [["__scopeId", "data-v-9cb6af8f"]]), Ea = /* @__PURE__ */ u({
|
|
576
576
|
__name: "NsBadge",
|
|
577
|
-
setup(
|
|
578
|
-
return (e,
|
|
577
|
+
setup(a) {
|
|
578
|
+
return (e, t) => (o(), l(Pe, 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
|
+
}), zs = /* @__PURE__ */ i(Ea, [["__scopeId", "data-v-4ca05f24"]]), Aa = /* @__PURE__ */ u({
|
|
586
586
|
__name: "NsBreadcrumbs",
|
|
587
|
-
setup(
|
|
588
|
-
return (e,
|
|
587
|
+
setup(a) {
|
|
588
|
+
return (e, t) => (o(), l(De, 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
|
+
}), Os = /* @__PURE__ */ i(Aa, [["__scopeId", "data-v-dee98f71"]]), Ma = /* @__PURE__ */ u({
|
|
596
596
|
__name: "NsBreadcrumbElement",
|
|
597
|
-
setup(
|
|
598
|
-
return (e,
|
|
597
|
+
setup(a) {
|
|
598
|
+
return (e, t) => (o(), l(Ee, 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
|
+
}), Fs = /* @__PURE__ */ i(Ma, [["__scopeId", "data-v-37bfe51b"]]), za = /* @__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 = y({
|
|
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(Ae, 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
|
+
}), qs = /* @__PURE__ */ i(za, [["__scopeId", "data-v-93652c3e"]]), Oa = /* @__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
|
+
}), Us = /* @__PURE__ */ i(Oa, [["__scopeId", "data-v-0d6f776d"]]), Fa = /* @__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
|
+
}), xs = /* @__PURE__ */ i(Fa, [["__scopeId", "data-v-781d42ef"]]), qa = /* @__PURE__ */ u({
|
|
650
650
|
__name: "NsFooter",
|
|
651
|
-
setup(
|
|
652
|
-
return (e,
|
|
651
|
+
setup(a) {
|
|
652
|
+
return (e, t) => (o(), l(Me, 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
|
+
}), Ua = /* @__PURE__ */ i(qa, [["__scopeId", "data-v-1fb919cd"]]), xa = /* @__PURE__ */ u({
|
|
660
660
|
__name: "NsHeader",
|
|
661
|
-
setup(
|
|
662
|
-
return (e,
|
|
661
|
+
setup(a) {
|
|
662
|
+
return (e, t) => (o(), l(ze, 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
|
+
}), Ra = /* @__PURE__ */ i(xa, [["__scopeId", "data-v-80d27841"]]), Ha = /* @__PURE__ */ u({
|
|
670
670
|
__name: "NsIcon",
|
|
671
|
-
setup(
|
|
672
|
-
return (e,
|
|
671
|
+
setup(a) {
|
|
672
|
+
return (e, t) => (o(), l(Oe, 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(Ha, [["__scopeId", "data-v-d068ec18"]]), ja = /* @__PURE__ */ u({
|
|
680
680
|
__name: "NsImage",
|
|
681
|
-
setup(
|
|
682
|
-
return (e,
|
|
681
|
+
setup(a) {
|
|
682
|
+
return (e, t) => (o(), l(Fe, 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
|
+
}), Rs = /* @__PURE__ */ i(ja, [["__scopeId", "data-v-c9c9f6c1"]]), Ka = /* @__PURE__ */ u({
|
|
690
690
|
__name: "NsInnerLoading",
|
|
691
|
-
setup(
|
|
692
|
-
return (e,
|
|
691
|
+
setup(a) {
|
|
692
|
+
return (e, t) => (o(), l(qe, 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
|
+
}), Hs = /* @__PURE__ */ i(Ka, [["__scopeId", "data-v-080672c1"]]), Ga = /* @__PURE__ */ u({
|
|
700
700
|
__name: "NsItem",
|
|
701
|
-
setup(
|
|
702
|
-
return (e,
|
|
701
|
+
setup(a) {
|
|
702
|
+
return (e, t) => (o(), l(Ue, 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(Ga, [["__scopeId", "data-v-47978f87"]]), Za = /* @__PURE__ */ u({
|
|
710
710
|
__name: "NsItemLabel",
|
|
711
|
-
setup(
|
|
712
|
-
return (e,
|
|
711
|
+
setup(a) {
|
|
712
|
+
return (e, t) => (o(), l(xe, 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(Za, [["__scopeId", "data-v-df6024af"]]), Wa = /* @__PURE__ */ u({
|
|
720
720
|
__name: "NsItemSection",
|
|
721
|
-
setup(
|
|
722
|
-
return (e,
|
|
721
|
+
setup(a) {
|
|
722
|
+
return (e, t) => (o(), l(Re, 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(Wa, [["__scopeId", "data-v-340a753a"]]), Ja = /* @__PURE__ */ u({
|
|
730
730
|
__name: "NsLayout",
|
|
731
|
-
setup(
|
|
732
|
-
return (e,
|
|
731
|
+
setup(a) {
|
|
732
|
+
return (e, t) => (o(), l(He, 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(Ja, [["__scopeId", "data-v-cf90e270"]]), Ya = /* @__PURE__ */ u({
|
|
740
740
|
__name: "NsLinearProgress",
|
|
741
|
-
setup(
|
|
742
|
-
return (e,
|
|
741
|
+
setup(a) {
|
|
742
|
+
return (e, t) => (o(), l(je, 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
|
+
}), js = /* @__PURE__ */ i(Ya, [["__scopeId", "data-v-79c6443f"]]), Xa = /* @__PURE__ */ u({
|
|
750
750
|
__name: "NsMenu",
|
|
751
|
-
setup(
|
|
752
|
-
return (e,
|
|
751
|
+
setup(a) {
|
|
752
|
+
return (e, t) => (o(), l(Ke, 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
|
+
}), Ks = /* @__PURE__ */ i(Xa, [["__scopeId", "data-v-47a4b7d0"]]), et = /* @__PURE__ */ u({
|
|
760
760
|
__name: "NsPage",
|
|
761
|
-
setup(
|
|
762
|
-
return (e,
|
|
761
|
+
setup(a) {
|
|
762
|
+
return (e, t) => (o(), l(Ge, 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(et, [["__scopeId", "data-v-25e2841e"]]), at = /* @__PURE__ */ u({
|
|
770
770
|
__name: "NsPageContainer",
|
|
771
|
-
setup(
|
|
772
|
-
return (e,
|
|
771
|
+
setup(a) {
|
|
772
|
+
return (e, t) => (o(), l(Ze, 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(at, [["__scopeId", "data-v-ac167da5"]]), tt = /* @__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 = y({
|
|
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(We, 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
|
+
}), Gs = /* @__PURE__ */ i(tt, [["__scopeId", "data-v-12fa9287"]]), st = /* @__PURE__ */ u({
|
|
804
804
|
__name: "NsSeparator",
|
|
805
|
-
setup(
|
|
806
|
-
return (e,
|
|
805
|
+
setup(a) {
|
|
806
|
+
return (e, t) => (o(), l(Je, c(e.$attrs, { class: "ns-separator" }), null, 16));
|
|
807
807
|
}
|
|
808
|
-
}),
|
|
808
|
+
}), ot = /* @__PURE__ */ i(st, [["__scopeId", "data-v-0c2b2ac1"]]), lt = /* @__PURE__ */ u({
|
|
809
809
|
__name: "NsSpace",
|
|
810
|
-
setup(
|
|
811
|
-
return (e,
|
|
810
|
+
setup(a) {
|
|
811
|
+
return (e, t) => (o(), l(Ye, 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
|
+
}), Zs = /* @__PURE__ */ i(lt, [["__scopeId", "data-v-273ca5fc"]]), nt = /* @__PURE__ */ u({
|
|
819
819
|
__name: "NsSpinner",
|
|
820
|
-
setup(
|
|
821
|
-
return (e,
|
|
820
|
+
setup(a) {
|
|
821
|
+
return (e, t) => (o(), l(Xe, c(e.$attrs, { class: "ns-spinner" }), null, 16));
|
|
822
822
|
}
|
|
823
|
-
}),
|
|
823
|
+
}), Ws = /* @__PURE__ */ i(nt, [["__scopeId", "data-v-5b99a17b"]]), rt = /* @__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
|
+
}), Js = /* @__PURE__ */ i(rt, [["__scopeId", "data-v-20a70106"]]), dt = /* @__PURE__ */ u({
|
|
829
829
|
__name: "NsTab",
|
|
830
|
-
setup(
|
|
831
|
-
return (e,
|
|
830
|
+
setup(a) {
|
|
831
|
+
return (e, t) => (o(), l(ea, 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
|
+
}), ut = /* @__PURE__ */ i(dt, [["__scopeId", "data-v-b97f2cd1"]]), it = /* @__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(aa, 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
|
+
}), Ys = /* @__PURE__ */ i(it, [["__scopeId", "data-v-a45d30cf"]]), ct = /* @__PURE__ */ u({
|
|
855
855
|
__name: "NsTableCell",
|
|
856
|
-
setup(
|
|
857
|
-
return (e,
|
|
856
|
+
setup(a) {
|
|
857
|
+
return (e, t) => (o(), l(ta, 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
|
+
}), Xs = /* @__PURE__ */ i(ct, [["__scopeId", "data-v-ca0da61b"]]), mt = /* @__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(sa, 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
|
+
}), eo = /* @__PURE__ */ i(mt, [["__scopeId", "data-v-d8f64358"]]), ft = /* @__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 = y({
|
|
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(oa, 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
|
+
}), ao = /* @__PURE__ */ i(ft, [["__scopeId", "data-v-dec8ab0f"]]), pt = /* @__PURE__ */ u({
|
|
903
903
|
__name: "NsTabs",
|
|
904
|
-
setup(
|
|
905
|
-
return (e,
|
|
904
|
+
setup(a) {
|
|
905
|
+
return (e, t) => (o(), l(la, 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
|
+
}), _t = /* @__PURE__ */ i(pt, [["__scopeId", "data-v-81224e01"]]), vt = /* @__PURE__ */ u({
|
|
913
913
|
__name: "NsTimeline",
|
|
914
|
-
setup(
|
|
915
|
-
return (e,
|
|
914
|
+
setup(a) {
|
|
915
|
+
return (e, t) => (o(), l(na, 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
|
+
}), to = /* @__PURE__ */ i(vt, [["__scopeId", "data-v-1bf558aa"]]), bt = /* @__PURE__ */ u({
|
|
923
923
|
__name: "NsTimelineEntry",
|
|
924
|
-
setup(
|
|
925
|
-
return (e,
|
|
924
|
+
setup(a) {
|
|
925
|
+
return (e, t) => (o(), l(ra, 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
|
+
}), so = /* @__PURE__ */ i(bt, [["__scopeId", "data-v-fa149ea0"]]), ht = /* @__PURE__ */ u({
|
|
933
933
|
__name: "NsToolbar",
|
|
934
|
-
setup(
|
|
935
|
-
return (e,
|
|
934
|
+
setup(a) {
|
|
935
|
+
return (e, t) => (o(), l(da, 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(ht, [["__scopeId", "data-v-e26a45db"]]), $t = /* @__PURE__ */ u({
|
|
943
943
|
__name: "NsToolbarTitle",
|
|
944
|
-
setup(
|
|
945
|
-
return (e,
|
|
944
|
+
setup(a) {
|
|
945
|
+
return (e, t) => (o(), l(ua, 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
|
+
}), gt = /* @__PURE__ */ i($t, [["__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,150 @@ const Is = /* @__PURE__ */ d({
|
|
|
966
966
|
"xxl",
|
|
967
967
|
"xxxl"
|
|
968
968
|
];
|
|
969
|
-
function
|
|
970
|
-
return `(min-width: ${
|
|
969
|
+
function oo(a) {
|
|
970
|
+
return `(min-width: ${k[a]}px)`;
|
|
971
971
|
}
|
|
972
|
-
function
|
|
973
|
-
return `(max-width: ${
|
|
972
|
+
function lo(a) {
|
|
973
|
+
return `(max-width: ${k[a] - 1}px)`;
|
|
974
974
|
}
|
|
975
|
-
function
|
|
976
|
-
const e =
|
|
975
|
+
function no(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 ro(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 Nt = {
|
|
990
990
|
key: 0,
|
|
991
991
|
class: "ns-app-shell__search-inline"
|
|
992
|
-
},
|
|
992
|
+
}, yt = /* @__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 = ia(), m = y(() => d.screen.width >= t.drawerBreakpoint), b = y(
|
|
1007
|
+
() => d.screen.width >= t.drawerBreakpoint && d.screen.width < t.fullDrawerBreakpoint
|
|
1008
|
+
), $ = w(!1), v = y(
|
|
1009
|
+
() => m.value && (b.value || t.miniDrawer || $.value)
|
|
1010
|
+
), p = w(!1), h = w(!1), S = w(""), C = w(t.modelValue ?? (t.tabs[0]?.name || ""));
|
|
1011
|
+
function z() {
|
|
1012
|
+
p.value = !p.value;
|
|
1007
1013
|
}
|
|
1008
|
-
function
|
|
1009
|
-
n("drawer-toggle",
|
|
1014
|
+
function N(I) {
|
|
1015
|
+
n("drawer-toggle", I);
|
|
1010
1016
|
}
|
|
1011
|
-
function
|
|
1012
|
-
|
|
1017
|
+
function V(I) {
|
|
1018
|
+
C.value = String(I), n("tab-change", I), n("update:modelValue", String(I));
|
|
1013
1019
|
}
|
|
1014
|
-
function
|
|
1015
|
-
n("
|
|
1020
|
+
function ue() {
|
|
1021
|
+
$.value = !$.value, n("drawer-collapse", $.value);
|
|
1016
1022
|
}
|
|
1017
|
-
|
|
1023
|
+
function K() {
|
|
1024
|
+
n("search", S.value);
|
|
1025
|
+
}
|
|
1026
|
+
return (I, Q) => (o(), l(ne, {
|
|
1018
1027
|
class: "ns-app-shell",
|
|
1019
1028
|
view: "hHh lpR fFf"
|
|
1020
1029
|
}, {
|
|
1021
1030
|
default: s(() => [
|
|
1022
|
-
f(
|
|
1031
|
+
f(Ra, {
|
|
1023
1032
|
class: "ns-app-shell__header",
|
|
1024
1033
|
elevated: ""
|
|
1025
1034
|
}, {
|
|
1026
1035
|
default: s(() => [
|
|
1027
|
-
f(
|
|
1036
|
+
f(ae, null, {
|
|
1028
1037
|
default: s(() => [
|
|
1029
|
-
m.value ?
|
|
1038
|
+
m.value ? g("", !0) : (o(), l(O, {
|
|
1030
1039
|
key: 0,
|
|
1031
1040
|
flat: "",
|
|
1032
1041
|
round: "",
|
|
1033
1042
|
dense: "",
|
|
1034
|
-
"aria-label":
|
|
1043
|
+
"aria-label": p.value ? "Close menu" : "Open menu",
|
|
1035
1044
|
class: "ns-app-shell__menu-btn",
|
|
1036
|
-
onClick:
|
|
1045
|
+
onClick: z
|
|
1037
1046
|
}, {
|
|
1038
1047
|
default: s(() => [
|
|
1039
1048
|
f(T, { name: "menu" })
|
|
1040
1049
|
]),
|
|
1041
1050
|
_: 1
|
|
1042
1051
|
}, 8, ["aria-label"])),
|
|
1043
|
-
r(
|
|
1044
|
-
f(
|
|
1045
|
-
|
|
1046
|
-
m.value ? (o(),
|
|
1047
|
-
f(
|
|
1048
|
-
modelValue:
|
|
1049
|
-
"onUpdate:modelValue":
|
|
1052
|
+
r(I.$slots, "header-left", {}, void 0, !0),
|
|
1053
|
+
f(gt),
|
|
1054
|
+
a.showSearch ? (o(), B(P, { key: 1 }, [
|
|
1055
|
+
m.value ? (o(), B("div", Nt, [
|
|
1056
|
+
f(Y, {
|
|
1057
|
+
modelValue: S.value,
|
|
1058
|
+
"onUpdate:modelValue": Q[0] || (Q[0] = (_) => S.value = _),
|
|
1050
1059
|
dense: "",
|
|
1051
1060
|
outlined: "",
|
|
1052
1061
|
placeholder: "Search…",
|
|
1053
1062
|
class: "ns-app-shell__search-input",
|
|
1054
|
-
onKeyup:
|
|
1063
|
+
onKeyup: G(K, ["enter"])
|
|
1055
1064
|
}, {
|
|
1056
1065
|
prepend: s(() => [
|
|
1057
1066
|
f(T, { name: "search" })
|
|
1058
1067
|
]),
|
|
1059
1068
|
_: 1
|
|
1060
1069
|
}, 8, ["modelValue"])
|
|
1061
|
-
])) : (o(), l(
|
|
1070
|
+
])) : (o(), l(O, {
|
|
1062
1071
|
key: 1,
|
|
1063
1072
|
flat: "",
|
|
1064
1073
|
round: "",
|
|
1065
1074
|
dense: "",
|
|
1066
1075
|
"aria-label": "Search",
|
|
1067
1076
|
class: "ns-app-shell__search-btn",
|
|
1068
|
-
onClick:
|
|
1077
|
+
onClick: Q[1] || (Q[1] = (_) => h.value = !h.value)
|
|
1069
1078
|
}, {
|
|
1070
1079
|
default: s(() => [
|
|
1071
1080
|
f(T, { name: "search" })
|
|
1072
1081
|
]),
|
|
1073
1082
|
_: 1
|
|
1074
1083
|
}))
|
|
1075
|
-
], 64)) :
|
|
1076
|
-
r(
|
|
1084
|
+
], 64)) : g("", !0),
|
|
1085
|
+
r(I.$slots, "header-actions", {}, void 0, !0)
|
|
1077
1086
|
]),
|
|
1078
1087
|
_: 3
|
|
1079
1088
|
}),
|
|
1080
|
-
|
|
1089
|
+
a.showSearch && h.value && !m.value ? (o(), l(ae, {
|
|
1081
1090
|
key: 0,
|
|
1082
1091
|
class: "ns-app-shell__search-bar"
|
|
1083
1092
|
}, {
|
|
1084
1093
|
default: s(() => [
|
|
1085
|
-
f(
|
|
1086
|
-
modelValue:
|
|
1087
|
-
"onUpdate:modelValue":
|
|
1094
|
+
f(Y, {
|
|
1095
|
+
modelValue: S.value,
|
|
1096
|
+
"onUpdate:modelValue": Q[3] || (Q[3] = (_) => S.value = _),
|
|
1088
1097
|
dense: "",
|
|
1089
1098
|
outlined: "",
|
|
1090
1099
|
placeholder: "Search…",
|
|
1091
1100
|
class: "full-width",
|
|
1092
|
-
onKeyup:
|
|
1101
|
+
onKeyup: G(K, ["enter"])
|
|
1093
1102
|
}, {
|
|
1094
1103
|
prepend: s(() => [
|
|
1095
1104
|
f(T, { name: "search" })
|
|
1096
1105
|
]),
|
|
1097
1106
|
append: s(() => [
|
|
1098
|
-
f(
|
|
1107
|
+
f(O, {
|
|
1099
1108
|
flat: "",
|
|
1100
1109
|
round: "",
|
|
1101
1110
|
dense: "",
|
|
1102
1111
|
"aria-label": "Close search",
|
|
1103
|
-
onClick:
|
|
1112
|
+
onClick: Q[2] || (Q[2] = (_) => h.value = !1)
|
|
1104
1113
|
}, {
|
|
1105
1114
|
default: s(() => [
|
|
1106
1115
|
f(T, { name: "close" })
|
|
@@ -1112,104 +1121,145 @@ const ba = {
|
|
|
1112
1121
|
}, 8, ["modelValue"])
|
|
1113
1122
|
]),
|
|
1114
1123
|
_: 1
|
|
1115
|
-
})) :
|
|
1124
|
+
})) : g("", !0)
|
|
1116
1125
|
]),
|
|
1117
1126
|
_: 3
|
|
1118
1127
|
}),
|
|
1119
|
-
f(
|
|
1120
|
-
modelValue:
|
|
1128
|
+
f(ka, {
|
|
1129
|
+
modelValue: p.value,
|
|
1121
1130
|
"onUpdate:modelValue": [
|
|
1122
|
-
|
|
1123
|
-
|
|
1131
|
+
Q[4] || (Q[4] = (_) => p.value = _),
|
|
1132
|
+
N
|
|
1124
1133
|
],
|
|
1125
|
-
breakpoint:
|
|
1126
|
-
mini:
|
|
1134
|
+
breakpoint: a.drawerBreakpoint,
|
|
1135
|
+
mini: v.value,
|
|
1127
1136
|
bordered: "",
|
|
1128
1137
|
class: "ns-app-shell__drawer",
|
|
1129
1138
|
behavior: m.value ? "desktop" : "mobile",
|
|
1130
1139
|
side: "left"
|
|
1131
1140
|
}, {
|
|
1132
1141
|
default: s(() => [
|
|
1133
|
-
|
|
1134
|
-
|
|
1142
|
+
a.collapsible && m.value ? (o(), l(X, {
|
|
1143
|
+
key: 0,
|
|
1144
|
+
clickable: "",
|
|
1145
|
+
class: "ns-app-shell__collapse-toggle",
|
|
1146
|
+
onClick: ue
|
|
1147
|
+
}, {
|
|
1148
|
+
default: s(() => [
|
|
1149
|
+
f(L, { avatar: "" }, {
|
|
1150
|
+
default: s(() => [
|
|
1151
|
+
f(T, {
|
|
1152
|
+
name: v.value ? "menu" : "chevron_left"
|
|
1153
|
+
}, null, 8, ["name"])
|
|
1154
|
+
]),
|
|
1155
|
+
_: 1
|
|
1156
|
+
}),
|
|
1157
|
+
f(L, null, {
|
|
1158
|
+
default: s(() => [
|
|
1159
|
+
f(ee, null, {
|
|
1160
|
+
default: s(() => [...Q[5] || (Q[5] = [
|
|
1161
|
+
Z("Hide Menu", -1)
|
|
1162
|
+
])]),
|
|
1163
|
+
_: 1
|
|
1164
|
+
})
|
|
1165
|
+
]),
|
|
1166
|
+
_: 1
|
|
1167
|
+
})
|
|
1168
|
+
]),
|
|
1169
|
+
_: 1
|
|
1170
|
+
})) : g("", !0),
|
|
1171
|
+
r(I.$slots, "drawer-header", {}, void 0, !0),
|
|
1172
|
+
a.drawerItems.length > 0 ? (o(), l(Pa, { key: 1 }, {
|
|
1135
1173
|
default: s(() => [
|
|
1136
|
-
(o(!0),
|
|
1137
|
-
key:
|
|
1174
|
+
(o(!0), B(P, null, E(a.drawerItems, (_) => (o(), B(P, {
|
|
1175
|
+
key: _.name
|
|
1138
1176
|
}, [
|
|
1139
|
-
|
|
1140
|
-
f(
|
|
1141
|
-
to:
|
|
1142
|
-
active:
|
|
1177
|
+
_.separator ? (o(), l(ot, { key: 0 })) : g("", !0),
|
|
1178
|
+
f(X, {
|
|
1179
|
+
to: _.to,
|
|
1180
|
+
active: _.active,
|
|
1143
1181
|
clickable: "",
|
|
1144
1182
|
class: "ns-app-shell__nav-item"
|
|
1145
1183
|
}, {
|
|
1146
1184
|
default: s(() => [
|
|
1147
|
-
|
|
1185
|
+
_.icon ? (o(), l(L, {
|
|
1148
1186
|
key: 0,
|
|
1149
1187
|
avatar: ""
|
|
1150
1188
|
}, {
|
|
1151
1189
|
default: s(() => [
|
|
1152
1190
|
f(T, {
|
|
1153
|
-
name:
|
|
1191
|
+
name: _.icon
|
|
1154
1192
|
}, null, 8, ["name"])
|
|
1155
1193
|
]),
|
|
1156
1194
|
_: 2
|
|
1157
|
-
}, 1024)) :
|
|
1158
|
-
f(
|
|
1195
|
+
}, 1024)) : g("", !0),
|
|
1196
|
+
f(L, null, {
|
|
1159
1197
|
default: s(() => [
|
|
1160
|
-
f(
|
|
1198
|
+
f(ee, null, {
|
|
1161
1199
|
default: s(() => [
|
|
1162
|
-
|
|
1200
|
+
Z(A(_.label), 1)
|
|
1163
1201
|
]),
|
|
1164
1202
|
_: 2
|
|
1165
1203
|
}, 1024)
|
|
1166
1204
|
]),
|
|
1167
1205
|
_: 2
|
|
1168
|
-
}, 1024)
|
|
1206
|
+
}, 1024),
|
|
1207
|
+
_.children && _.children.length > 0 ? (o(), l(L, {
|
|
1208
|
+
key: 1,
|
|
1209
|
+
side: ""
|
|
1210
|
+
}, {
|
|
1211
|
+
default: s(() => [
|
|
1212
|
+
f(T, {
|
|
1213
|
+
name: "chevron_right",
|
|
1214
|
+
size: "sm"
|
|
1215
|
+
})
|
|
1216
|
+
]),
|
|
1217
|
+
_: 1
|
|
1218
|
+
})) : g("", !0)
|
|
1169
1219
|
]),
|
|
1170
1220
|
_: 2
|
|
1171
1221
|
}, 1032, ["to", "active"])
|
|
1172
1222
|
], 64))), 128))
|
|
1173
1223
|
]),
|
|
1174
1224
|
_: 1
|
|
1175
|
-
})) :
|
|
1176
|
-
r(
|
|
1225
|
+
})) : g("", !0),
|
|
1226
|
+
r(I.$slots, "drawer-footer", {}, void 0, !0)
|
|
1177
1227
|
]),
|
|
1178
1228
|
_: 3
|
|
1179
1229
|
}, 8, ["modelValue", "breakpoint", "mini", "behavior"]),
|
|
1180
|
-
f(
|
|
1230
|
+
f(de, null, {
|
|
1181
1231
|
default: s(() => [
|
|
1182
|
-
f(
|
|
1183
|
-
class:
|
|
1232
|
+
f(re, {
|
|
1233
|
+
class: pe({ "ns-app-shell__page--has-bottom-bar": !m.value && a.tabs.length > 0 })
|
|
1184
1234
|
}, {
|
|
1185
1235
|
default: s(() => [
|
|
1186
|
-
r(
|
|
1236
|
+
r(I.$slots, "default", {}, void 0, !0)
|
|
1187
1237
|
]),
|
|
1188
1238
|
_: 3
|
|
1189
1239
|
}, 8, ["class"])
|
|
1190
1240
|
]),
|
|
1191
1241
|
_: 3
|
|
1192
1242
|
}),
|
|
1193
|
-
!m.value &&
|
|
1243
|
+
!m.value && a.tabs.length > 0 ? (o(), l(Ua, {
|
|
1194
1244
|
key: 0,
|
|
1195
1245
|
elevated: "",
|
|
1196
1246
|
class: "ns-app-shell__bottom-bar"
|
|
1197
1247
|
}, {
|
|
1198
1248
|
default: s(() => [
|
|
1199
|
-
r(
|
|
1200
|
-
f(
|
|
1201
|
-
"model-value":
|
|
1249
|
+
r(I.$slots, "bottom-bar-above", {}, void 0, !0),
|
|
1250
|
+
f(_t, {
|
|
1251
|
+
"model-value": C.value,
|
|
1202
1252
|
dense: "",
|
|
1203
1253
|
"narrow-indicator": "",
|
|
1204
1254
|
class: "ns-app-shell__bottom-tabs",
|
|
1205
|
-
"onUpdate:modelValue":
|
|
1255
|
+
"onUpdate:modelValue": V
|
|
1206
1256
|
}, {
|
|
1207
1257
|
default: s(() => [
|
|
1208
|
-
(o(!0),
|
|
1209
|
-
key:
|
|
1210
|
-
name:
|
|
1211
|
-
icon:
|
|
1212
|
-
label:
|
|
1258
|
+
(o(!0), B(P, null, E(a.tabs, (_) => (o(), l(ut, {
|
|
1259
|
+
key: _.name,
|
|
1260
|
+
name: _.name,
|
|
1261
|
+
icon: _.icon,
|
|
1262
|
+
label: _.label,
|
|
1213
1263
|
class: "ns-app-shell__bottom-tab"
|
|
1214
1264
|
}, null, 8, ["name", "icon", "label"]))), 128))
|
|
1215
1265
|
]),
|
|
@@ -1217,37 +1267,37 @@ const ba = {
|
|
|
1217
1267
|
}, 8, ["model-value"])
|
|
1218
1268
|
]),
|
|
1219
1269
|
_: 3
|
|
1220
|
-
})) :
|
|
1270
|
+
})) : g("", !0)
|
|
1221
1271
|
]),
|
|
1222
1272
|
_: 3
|
|
1223
1273
|
}));
|
|
1224
1274
|
}
|
|
1225
|
-
}),
|
|
1275
|
+
}), uo = /* @__PURE__ */ i(yt, [["__scopeId", "data-v-70cf2055"]]), It = {
|
|
1226
1276
|
key: 0,
|
|
1227
1277
|
class: "ns-auth-layout__branding"
|
|
1228
|
-
},
|
|
1278
|
+
}, Qt = /* @__PURE__ */ u({
|
|
1229
1279
|
__name: "NsAuthLayout",
|
|
1230
1280
|
props: {
|
|
1231
1281
|
maxWidth: { default: "440px" }
|
|
1232
1282
|
},
|
|
1233
|
-
setup(
|
|
1234
|
-
const e =
|
|
1283
|
+
setup(a) {
|
|
1284
|
+
const e = a, t = y(() => ({
|
|
1235
1285
|
maxWidth: e.maxWidth
|
|
1236
1286
|
}));
|
|
1237
|
-
return (n,
|
|
1287
|
+
return (n, d) => (o(), l(ne, { class: "ns-auth-layout" }, {
|
|
1238
1288
|
default: s(() => [
|
|
1239
|
-
f(
|
|
1289
|
+
f(de, null, {
|
|
1240
1290
|
default: s(() => [
|
|
1241
|
-
f(
|
|
1291
|
+
f(re, { class: "ns-auth-layout__page" }, {
|
|
1242
1292
|
default: s(() => [
|
|
1243
|
-
|
|
1293
|
+
x("div", {
|
|
1244
1294
|
class: "ns-auth-layout__container",
|
|
1245
|
-
style:
|
|
1295
|
+
style: _e(t.value)
|
|
1246
1296
|
}, [
|
|
1247
|
-
n.$slots.branding ? (o(),
|
|
1297
|
+
n.$slots.branding ? (o(), B("div", It, [
|
|
1248
1298
|
r(n.$slots, "branding", {}, void 0, !0)
|
|
1249
|
-
])) :
|
|
1250
|
-
f(
|
|
1299
|
+
])) : g("", !0),
|
|
1300
|
+
f($a, { class: "ns-auth-layout__card" }, {
|
|
1251
1301
|
default: s(() => [
|
|
1252
1302
|
r(n.$slots, "default", {}, void 0, !0)
|
|
1253
1303
|
]),
|
|
@@ -1264,50 +1314,50 @@ const ba = {
|
|
|
1264
1314
|
_: 3
|
|
1265
1315
|
}));
|
|
1266
1316
|
}
|
|
1267
|
-
}),
|
|
1317
|
+
}), io = /* @__PURE__ */ i(Qt, [["__scopeId", "data-v-d70a792e"]]), co = /* @__PURE__ */ u({
|
|
1268
1318
|
__name: "NsDashboardGrid",
|
|
1269
1319
|
props: {
|
|
1270
|
-
columns: { default: () => ({ xs: 1, sm: 2, md:
|
|
1320
|
+
columns: { default: () => ({ xs: 1, sm: 2, md: 4, lg: 4 }) },
|
|
1271
1321
|
gap: { default: "md" }
|
|
1272
1322
|
},
|
|
1273
|
-
setup(
|
|
1274
|
-
const e =
|
|
1275
|
-
function
|
|
1276
|
-
const
|
|
1277
|
-
return v === "xs" ? `col-${
|
|
1323
|
+
setup(a) {
|
|
1324
|
+
const e = a, t = ve(), n = y(() => `q-gutter-${e.gap}`);
|
|
1325
|
+
function d(v, p) {
|
|
1326
|
+
const h = Math.floor(12 / p);
|
|
1327
|
+
return v === "xs" ? `col-${h}` : `col-${v}-${h}`;
|
|
1278
1328
|
}
|
|
1279
|
-
const m =
|
|
1329
|
+
const m = y(() => {
|
|
1280
1330
|
const v = [], p = e.columns;
|
|
1281
|
-
return p.xs && v.push(
|
|
1331
|
+
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
1332
|
});
|
|
1283
1333
|
function b(v) {
|
|
1284
1334
|
const p = [];
|
|
1285
|
-
for (const
|
|
1286
|
-
|
|
1335
|
+
for (const h of v)
|
|
1336
|
+
h.type === P && Array.isArray(h.children) ? p.push(...b(h.children)) : typeof h.type != "symbol" && p.push(h);
|
|
1287
1337
|
return p;
|
|
1288
1338
|
}
|
|
1289
|
-
const
|
|
1290
|
-
const v =
|
|
1291
|
-
(
|
|
1339
|
+
const $ = () => {
|
|
1340
|
+
const v = t.default?.(), h = (v ? b(v) : []).map(
|
|
1341
|
+
(S, C) => W("div", { key: C, class: m.value }, [S])
|
|
1292
1342
|
);
|
|
1293
|
-
return
|
|
1343
|
+
return W(
|
|
1294
1344
|
"div",
|
|
1295
1345
|
{ class: ["ns-dashboard-grid", "row", "items-stretch", n.value] },
|
|
1296
|
-
|
|
1346
|
+
h
|
|
1297
1347
|
);
|
|
1298
1348
|
};
|
|
1299
|
-
return (v, p) => (o(), l(
|
|
1349
|
+
return (v, p) => (o(), l($));
|
|
1300
1350
|
}
|
|
1301
1351
|
});
|
|
1302
|
-
function
|
|
1303
|
-
const { locale: e =
|
|
1352
|
+
function mo(a = {}) {
|
|
1353
|
+
const { locale: e = H } = a;
|
|
1304
1354
|
return {
|
|
1305
|
-
install(
|
|
1306
|
-
|
|
1355
|
+
install(t) {
|
|
1356
|
+
t.provide(j, e);
|
|
1307
1357
|
}
|
|
1308
1358
|
};
|
|
1309
1359
|
}
|
|
1310
|
-
const
|
|
1360
|
+
const St = {
|
|
1311
1361
|
primary: "#3b82f6",
|
|
1312
1362
|
// PLACEHOLDER — matches --ns-color-primary
|
|
1313
1363
|
secondary: "#8b5cf6",
|
|
@@ -1327,20 +1377,20 @@ const Na = {
|
|
|
1327
1377
|
warning: "#f59e0b"
|
|
1328
1378
|
// PLACEHOLDER — matches --ns-color-warning
|
|
1329
1379
|
};
|
|
1330
|
-
function
|
|
1331
|
-
const { brand: e = {}, plugins:
|
|
1380
|
+
function fo(a = {}) {
|
|
1381
|
+
const { brand: e = {}, plugins: t = {}, ...n } = a;
|
|
1332
1382
|
return {
|
|
1333
1383
|
config: {
|
|
1334
1384
|
brand: {
|
|
1335
|
-
...
|
|
1385
|
+
...St,
|
|
1336
1386
|
...e
|
|
1337
1387
|
}
|
|
1338
1388
|
},
|
|
1339
|
-
plugins:
|
|
1389
|
+
plugins: t,
|
|
1340
1390
|
...n
|
|
1341
1391
|
};
|
|
1342
1392
|
}
|
|
1343
|
-
const
|
|
1393
|
+
const po = {
|
|
1344
1394
|
common: {
|
|
1345
1395
|
loading: "Chargement…",
|
|
1346
1396
|
retry: "Réessayer",
|
|
@@ -1377,27 +1427,27 @@ const io = {
|
|
|
1377
1427
|
tooLong: "Trop long"
|
|
1378
1428
|
}
|
|
1379
1429
|
};
|
|
1380
|
-
function
|
|
1381
|
-
const
|
|
1382
|
-
return
|
|
1383
|
-
const n =
|
|
1430
|
+
function _o(a, e) {
|
|
1431
|
+
const t = pa();
|
|
1432
|
+
return y(() => {
|
|
1433
|
+
const n = a();
|
|
1384
1434
|
if (n != null) return n;
|
|
1385
|
-
const
|
|
1386
|
-
let m =
|
|
1387
|
-
for (const b of
|
|
1435
|
+
const d = e.split(".");
|
|
1436
|
+
let m = t;
|
|
1437
|
+
for (const b of d)
|
|
1388
1438
|
m = m[b];
|
|
1389
1439
|
return m;
|
|
1390
1440
|
});
|
|
1391
1441
|
}
|
|
1392
|
-
const
|
|
1393
|
-
function
|
|
1394
|
-
const
|
|
1395
|
-
let
|
|
1442
|
+
const F = "ns-dark-mode";
|
|
1443
|
+
function vo() {
|
|
1444
|
+
const a = w(!1), e = w("system");
|
|
1445
|
+
let t = null, n = () => {
|
|
1396
1446
|
};
|
|
1397
|
-
function
|
|
1398
|
-
if (
|
|
1399
|
-
const
|
|
1400
|
-
|
|
1447
|
+
function d(N) {
|
|
1448
|
+
if (a.value = N, typeof document < "u") {
|
|
1449
|
+
const V = document.documentElement;
|
|
1450
|
+
V.classList.toggle("dark", N), V.setAttribute("data-theme", N ? "dark" : "light");
|
|
1401
1451
|
}
|
|
1402
1452
|
}
|
|
1403
1453
|
function m() {
|
|
@@ -1405,48 +1455,48 @@ function mo() {
|
|
|
1405
1455
|
}
|
|
1406
1456
|
function b() {
|
|
1407
1457
|
if (typeof localStorage > "u") return null;
|
|
1408
|
-
const
|
|
1409
|
-
return
|
|
1458
|
+
const N = localStorage.getItem(F);
|
|
1459
|
+
return N === "true" ? !0 : N === "false" ? !1 : null;
|
|
1410
1460
|
}
|
|
1411
|
-
function
|
|
1412
|
-
typeof localStorage < "u" && localStorage.setItem(
|
|
1461
|
+
function $(N) {
|
|
1462
|
+
typeof localStorage < "u" && localStorage.setItem(F, String(N));
|
|
1413
1463
|
}
|
|
1414
1464
|
function v() {
|
|
1415
|
-
typeof localStorage < "u" && localStorage.removeItem(
|
|
1465
|
+
typeof localStorage < "u" && localStorage.removeItem(F);
|
|
1416
1466
|
}
|
|
1417
1467
|
function p() {
|
|
1418
|
-
e.value = "user",
|
|
1468
|
+
e.value = "user", $(!0), d(!0);
|
|
1419
1469
|
}
|
|
1420
|
-
function
|
|
1421
|
-
e.value = "user",
|
|
1470
|
+
function h() {
|
|
1471
|
+
e.value = "user", $(!1), d(!1);
|
|
1422
1472
|
}
|
|
1423
|
-
function
|
|
1424
|
-
|
|
1473
|
+
function S() {
|
|
1474
|
+
a.value ? h() : p();
|
|
1425
1475
|
}
|
|
1426
|
-
function
|
|
1427
|
-
v(), e.value = "system",
|
|
1476
|
+
function C() {
|
|
1477
|
+
v(), e.value = "system", d(m());
|
|
1428
1478
|
}
|
|
1429
|
-
function
|
|
1430
|
-
const
|
|
1431
|
-
|
|
1432
|
-
b() === null && (e.value = "system",
|
|
1433
|
-
},
|
|
1479
|
+
function z() {
|
|
1480
|
+
const N = b();
|
|
1481
|
+
N !== null ? (e.value = "storage", d(N)) : (e.value = "system", d(m())), typeof window < "u" && (t = window.matchMedia("(prefers-color-scheme: dark)"), n = (V) => {
|
|
1482
|
+
b() === null && (e.value = "system", d(V.matches));
|
|
1483
|
+
}, t.addEventListener("change", n));
|
|
1434
1484
|
}
|
|
1435
|
-
return
|
|
1436
|
-
|
|
1485
|
+
return be(z), he(() => {
|
|
1486
|
+
t?.removeEventListener("change", n);
|
|
1437
1487
|
}), {
|
|
1438
|
-
isDark:
|
|
1439
|
-
source:
|
|
1488
|
+
isDark: J(a),
|
|
1489
|
+
source: J(e),
|
|
1440
1490
|
enable: p,
|
|
1441
|
-
disable:
|
|
1442
|
-
toggle:
|
|
1443
|
-
useSystem:
|
|
1491
|
+
disable: h,
|
|
1492
|
+
toggle: S,
|
|
1493
|
+
useSystem: C
|
|
1444
1494
|
};
|
|
1445
1495
|
}
|
|
1446
|
-
function
|
|
1447
|
-
return getComputedStyle(e).getPropertyValue(
|
|
1496
|
+
function bo(a, e = document.documentElement) {
|
|
1497
|
+
return getComputedStyle(e).getPropertyValue(a).trim();
|
|
1448
1498
|
}
|
|
1449
|
-
const
|
|
1499
|
+
const Tt = {
|
|
1450
1500
|
// Existing (fully styled) components
|
|
1451
1501
|
QAvatar: "NsAvatar",
|
|
1452
1502
|
QBanner: "NsBanner",
|
|
@@ -1499,90 +1549,90 @@ const ya = {
|
|
|
1499
1549
|
QTimelineEntry: "NsTimelineEntry",
|
|
1500
1550
|
QToolbar: "NsToolbar",
|
|
1501
1551
|
QToolbarTitle: "NsToolbarTitle"
|
|
1502
|
-
},
|
|
1503
|
-
Object.entries(
|
|
1504
|
-
|
|
1552
|
+
}, kt = Object.fromEntries(
|
|
1553
|
+
Object.entries(Tt).map(([a, e]) => [
|
|
1554
|
+
a.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, ""),
|
|
1505
1555
|
e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "")
|
|
1506
1556
|
])
|
|
1507
1557
|
);
|
|
1508
|
-
function
|
|
1509
|
-
return Object.entries(
|
|
1510
|
-
element:
|
|
1511
|
-
message: `Use <${e}> from @nonsuch/components instead of <${
|
|
1558
|
+
function ho() {
|
|
1559
|
+
return Object.entries(kt).map(([a, e]) => ({
|
|
1560
|
+
element: a,
|
|
1561
|
+
message: `Use <${e}> from @nonsuch/components instead of <${a}>.`
|
|
1512
1562
|
}));
|
|
1513
1563
|
}
|
|
1514
1564
|
export {
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1565
|
+
uo as NsAppShell,
|
|
1566
|
+
io as NsAuthLayout,
|
|
1567
|
+
Es as NsAvatar,
|
|
1568
|
+
zs as NsBadge,
|
|
1569
|
+
Ds as NsBanner,
|
|
1570
|
+
Fs as NsBreadcrumbElement,
|
|
1571
|
+
Os as NsBreadcrumbs,
|
|
1572
|
+
O as NsButton,
|
|
1573
|
+
qs as NsButtonToggle,
|
|
1574
|
+
$a as NsCard,
|
|
1575
|
+
Us as NsCardActions,
|
|
1576
|
+
xs as NsCardSection,
|
|
1577
|
+
ws as NsCheckbox,
|
|
1578
|
+
As as NsChip,
|
|
1579
|
+
co as NsDashboardGrid,
|
|
1580
|
+
Ls as NsDialog,
|
|
1581
|
+
ka as NsDrawer,
|
|
1582
|
+
Ps as NsExpansionItem,
|
|
1583
|
+
Ua as NsFooter,
|
|
1584
|
+
Vs as NsForm,
|
|
1585
|
+
Ra as NsHeader,
|
|
1536
1586
|
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
|
-
|
|
1587
|
+
Rs as NsImage,
|
|
1588
|
+
Hs as NsInnerLoading,
|
|
1589
|
+
Y as NsInput,
|
|
1590
|
+
X as NsItem,
|
|
1591
|
+
ee as NsItemLabel,
|
|
1592
|
+
L as NsItemSection,
|
|
1593
|
+
ne as NsLayout,
|
|
1594
|
+
js as NsLinearProgress,
|
|
1595
|
+
Pa as NsList,
|
|
1596
|
+
j as NsLocaleKey,
|
|
1597
|
+
Ks as NsMenu,
|
|
1598
|
+
re as NsPage,
|
|
1599
|
+
de as NsPageContainer,
|
|
1600
|
+
Gs as NsPagination,
|
|
1601
|
+
Bs as NsSelect,
|
|
1602
|
+
ot as NsSeparator,
|
|
1603
|
+
Ts as NsSkeleton,
|
|
1604
|
+
Zs as NsSpace,
|
|
1605
|
+
Ws as NsSpinner,
|
|
1606
|
+
Js as NsSpinnerDots,
|
|
1607
|
+
ut as NsTab,
|
|
1608
|
+
eo as NsTabPanel,
|
|
1609
|
+
ao as NsTabPanels,
|
|
1610
|
+
Ys as NsTable,
|
|
1611
|
+
Xs as NsTableCell,
|
|
1612
|
+
_t as NsTabs,
|
|
1613
|
+
ks as NsThemeProvider,
|
|
1614
|
+
to as NsTimeline,
|
|
1615
|
+
so as NsTimelineEntry,
|
|
1616
|
+
Cs as NsToggle,
|
|
1617
|
+
ae as NsToolbar,
|
|
1618
|
+
gt as NsToolbarTitle,
|
|
1619
|
+
Ms as NsTooltip,
|
|
1620
|
+
mo as createNonsuch,
|
|
1621
|
+
fo as createQuasarConfig,
|
|
1622
|
+
ho as generateQuasarBanRules,
|
|
1623
|
+
bo as getToken,
|
|
1624
|
+
M as nsBreakpointNames,
|
|
1625
|
+
k as nsBreakpoints,
|
|
1626
|
+
Tt as nsComponentManifest,
|
|
1627
|
+
H as nsLocaleEnCA,
|
|
1628
|
+
po as nsLocaleFrCA,
|
|
1629
|
+
ro as nsMediaBetween,
|
|
1630
|
+
lo as nsMediaDown,
|
|
1631
|
+
no as nsMediaOnly,
|
|
1632
|
+
oo as nsMediaUp,
|
|
1633
|
+
kt as nsTemplateTagManifest,
|
|
1634
|
+
fa as provideNsLocale,
|
|
1635
|
+
vo as useNsDarkMode,
|
|
1636
|
+
_o as useNsDefault,
|
|
1637
|
+
pa as useNsLocale
|
|
1588
1638
|
};
|