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