@nxgt/material-vue 0.10.0 → 0.12.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.
- package/README.md +2 -2
- package/dist/{camera-DKVzfqKn.js → camera-COrJjQzA.js} +4 -4
- package/dist/{components-DEA4ui-c.js → components-owQgTJlP.js} +10865 -10429
- package/dist/components.js +5 -5
- package/dist/{composables-DlYLz3R4.js → composables-C8mu3NCU.js} +1 -1
- package/dist/composables.js +1 -1
- package/dist/{dnd-BQgaXJ4V.js → dnd-DV6WBGAP.js} +1 -1
- package/dist/dnd.js +1 -1
- package/dist/{i18n-DauA1M_L.js → i18n-iZRDMnlE.js} +12 -2
- package/dist/i18n.js +1 -1
- package/dist/lib/components/ui/cards/cards.gallery.d.ts +379 -0
- package/dist/lib/components/ui/cards/file-card.vue.d.ts +21 -0
- package/dist/lib/components/ui/cards/index.d.ts +12 -0
- package/dist/lib/components/ui/cards/offer-card.vue.d.ts +11 -0
- package/dist/lib/components/ui/cards/place-card.vue.d.ts +20 -0
- package/dist/lib/components/ui/cards/receipt-card.vue.d.ts +15 -0
- package/dist/lib/components/ui/cards/review-card.vue.d.ts +24 -0
- package/dist/lib/components/ui/cards/status-card.vue.d.ts +16 -0
- package/dist/lib/components/ui/contacts/consts.d.ts +1 -1
- package/dist/lib/components/ui/metrics/band-card.vue.d.ts +14 -0
- package/dist/lib/components/ui/metrics/index.d.ts +8 -0
- package/dist/lib/components/ui/metrics/latency-card.vue.d.ts +11 -0
- package/dist/lib/components/ui/metrics/ratio-card.vue.d.ts +15 -0
- package/dist/lib/components/ui/metrics/threshold-card.vue.d.ts +12 -0
- package/dist/lib/i18n/resources/en/index.d.ts +3 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +4 -1
- package/dist/lib/i18n/resources/fr/index.d.ts +3 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +4 -1
- package/dist/lib/i18n/resources/index.d.ts +6 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib/nuxt/component-names.d.ts +1 -1
- package/dist/{lib-D2xzyifv.js → lib-Cjb16TBr.js} +1 -1
- package/dist/lib.js +1 -1
- package/dist/main.js +9 -9
- package/dist/material-vue.css +1 -1
- package/dist/{pdf-outline-sidebar-DGOQM_Xz.js → pdf-outline-sidebar-DmakWlgl.js} +2 -2
- package/dist/{pdf-page-BtY3gUPb.js → pdf-page-DJyJOsHD.js} +1 -1
- package/dist/{pdf-page-list-Csv-DTPQ.js → pdf-page-list-BjR7qknn.js} +2 -2
- package/dist/{pdf-reader-eb_Ilcnq.js → pdf-reader-BDpnVlRk.js} +6 -6
- package/dist/{pdf-sidebar-DD-MdA6v.js → pdf-sidebar-DAK0uZGt.js} +4 -4
- package/dist/{pdf-thumbnail-sidebar-Bo89j8Ag.js → pdf-thumbnail-sidebar-BvbkRPZr.js} +3 -3
- package/dist/{pdf-toolbar-BJtNQ1hk.js → pdf-toolbar-Bd3LOEQ6.js} +2 -2
- package/dist/{stx-player-Dr3T3rxE.js → stx-player-CIK84_5B.js} +14 -14
- package/lib/nuxt/component-names.ts +10 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ml as e, mm as t } from "./components-owQgTJlP.js";
|
|
2
2
|
import { t as n } from "./utils-Cy-ByIEo.js";
|
|
3
|
-
import { n as r } from "./i18n-
|
|
3
|
+
import { n as r } from "./i18n-iZRDMnlE.js";
|
|
4
4
|
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, defineComponent as u, normalizeClass as d, normalizeStyle as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, unref as _, withCtx as v } from "vue";
|
|
5
5
|
//#region lib/components/ui/pdf-viewer/partials/pdf-outline-row.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var y = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Yl as e } from "./components-owQgTJlP.js";
|
|
2
2
|
import { t } from "./utils-Cy-ByIEo.js";
|
|
3
3
|
import { createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, nextTick as s, normalizeClass as c, normalizeStyle as l, onBeforeUnmount as u, openBlock as d, ref as f, unref as p, watch as m } from "vue";
|
|
4
4
|
//#region lib/components/ui/pdf-viewer/pdf-escape.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as n } from "./pdf-page-
|
|
1
|
+
import { ml as e, mm as t } from "./components-owQgTJlP.js";
|
|
2
|
+
import { t as n } from "./pdf-page-DJyJOsHD.js";
|
|
3
3
|
import { Fragment as r, createBlock as i, createElementBlock as a, createElementVNode as o, defineComponent as s, openBlock as c, renderList as l, withCtx as u } from "vue";
|
|
4
4
|
//#region lib/components/ui/pdf-viewer/partials/pdf-page-list.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var d = { class: "flex flex-col items-center gap-4 px-4 py-4" }, f = /*@__PURE__*/ s({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Af as e, lt as t } from "./components-owQgTJlP.js";
|
|
2
2
|
import { t as n } from "./utils-Cy-ByIEo.js";
|
|
3
3
|
import { r } from "./icon-button-Ghucx7Ah.js";
|
|
4
|
-
import { n as i } from "./i18n-
|
|
5
|
-
import { i as a, n as o, r as s } from "./pdf-page-
|
|
6
|
-
import { t as c } from "./pdf-page-list-
|
|
7
|
-
import { t as l } from "./pdf-sidebar-
|
|
8
|
-
import { t as u } from "./pdf-toolbar-
|
|
4
|
+
import { n as i } from "./i18n-iZRDMnlE.js";
|
|
5
|
+
import { i as a, n as o, r as s } from "./pdf-page-DJyJOsHD.js";
|
|
6
|
+
import { t as c } from "./pdf-page-list-BjR7qknn.js";
|
|
7
|
+
import { t as l } from "./pdf-sidebar-DAK0uZGt.js";
|
|
8
|
+
import { t as u } from "./pdf-toolbar-Bd3LOEQ6.js";
|
|
9
9
|
import { createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as h, createVNode as g, defineComponent as _, normalizeClass as v, onBeforeUnmount as y, onMounted as b, openBlock as x, reactive as S, ref as C, shallowRef as w, toDisplayString as T, toRef as E, unref as D, watch as O, withCtx as k } from "vue";
|
|
10
10
|
import { AlertCircle as A, FileX2 as j, KeyRound as M, Loader2 as N } from "lucide-vue-next";
|
|
11
11
|
//#region lib/components/ui/pdf-viewer/pdf-download.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { mm as e } from "./components-owQgTJlP.js";
|
|
2
2
|
import { t } from "./utils-Cy-ByIEo.js";
|
|
3
|
-
import { n } from "./i18n-
|
|
4
|
-
import { t as r } from "./pdf-outline-sidebar-
|
|
5
|
-
import { t as i } from "./pdf-thumbnail-sidebar-
|
|
3
|
+
import { n } from "./i18n-iZRDMnlE.js";
|
|
4
|
+
import { t as r } from "./pdf-outline-sidebar-DmakWlgl.js";
|
|
5
|
+
import { t as i } from "./pdf-thumbnail-sidebar-BvbkRPZr.js";
|
|
6
6
|
import { createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, normalizeClass as l, openBlock as u, toDisplayString as d, unref as f, useId as p, useTemplateRef as m } from "vue";
|
|
7
7
|
//#region lib/components/ui/pdf-viewer/partials/pdf-sidebar.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var h = ["aria-label"], g = ["aria-label"], _ = [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ml as e, mm as t } from "./components-owQgTJlP.js";
|
|
2
2
|
import { t as n } from "./utils-Cy-ByIEo.js";
|
|
3
|
-
import { n as r } from "./i18n-
|
|
4
|
-
import { t as i } from "./pdf-page-
|
|
3
|
+
import { n as r } from "./i18n-iZRDMnlE.js";
|
|
4
|
+
import { t as i } from "./pdf-page-DJyJOsHD.js";
|
|
5
5
|
import { Fragment as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, openBlock as f, renderList as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
|
|
6
6
|
//#region lib/components/ui/pdf-viewer/partials/pdf-thumbnail-sidebar.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var _ = ["aria-label"], v = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Af as e, mm as t } from "./components-owQgTJlP.js";
|
|
2
2
|
import { t as n } from "./utils-Cy-ByIEo.js";
|
|
3
3
|
import { t as r } from "./icon-button-Ghucx7Ah.js";
|
|
4
|
-
import { n as i } from "./i18n-
|
|
4
|
+
import { n as i } from "./i18n-iZRDMnlE.js";
|
|
5
5
|
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, nextTick as p, normalizeClass as m, openBlock as h, ref as g, renderList as _, toDisplayString as v, unref as y, useTemplateRef as b, watch as x, withCtx as S } from "vue";
|
|
6
6
|
import { ChevronDown as C, ChevronLeft as w, ChevronRight as T, ChevronUp as E, Download as D, Maximize2 as O, Minimize2 as k, Moon as A, Printer as j, RotateCw as M, Search as N, Sidebar as P, ZoomIn as F, ZoomOut as I } from "lucide-vue-next";
|
|
7
7
|
//#region lib/components/ui/pdf-viewer/partials/pdf-toolbar-search.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as e, f as t, g as n, m as r, p as i, sd as a, v as o, y as s } from "./components-owQgTJlP.js";
|
|
2
2
|
import { t as c } from "./utils-Cy-ByIEo.js";
|
|
3
3
|
import { createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, normalizeClass as g, openBlock as _, toDisplayString as v, unref as y, withCtx as b } from "vue";
|
|
4
4
|
//#region lib/components/ui/stx-player/partials/stx-player-frame.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -18,7 +18,7 @@ var x = ["data-layout", "aria-label"], S = {
|
|
|
18
18
|
Array
|
|
19
19
|
] }
|
|
20
20
|
},
|
|
21
|
-
setup(
|
|
21
|
+
setup(r) {
|
|
22
22
|
let { containerRef: h, state: C } = s();
|
|
23
23
|
function w(e) {
|
|
24
24
|
h.value = e instanceof HTMLElement ? e : null;
|
|
@@ -26,29 +26,29 @@ var x = ["data-layout", "aria-label"], S = {
|
|
|
26
26
|
return (s, h) => (_(), d("section", {
|
|
27
27
|
ref: w,
|
|
28
28
|
"data-slot": "stx-player",
|
|
29
|
-
"data-layout":
|
|
29
|
+
"data-layout": r.layout,
|
|
30
30
|
"aria-label": y(C).current?.title ?? "Media player",
|
|
31
31
|
class: g(y(c)("@container rounded outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50", s.$props.class))
|
|
32
|
-
}, [
|
|
32
|
+
}, [r.layout === "mini" ? (_(), l(n, { key: 0 })) : (_(), d("div", {
|
|
33
33
|
key: 1,
|
|
34
|
-
class: g(y(c)("grid gap-3",
|
|
34
|
+
class: g(y(c)("grid gap-3", r.showQueue && "@min-[768px]:grid-cols-[minmax(0,1fr)_18rem] @min-[768px]:items-stretch"))
|
|
35
35
|
}, [f("div", { class: g(y(c)("bg-card overflow-hidden rounded border", y(C).current?.kind === "audio" && "flex flex-col gap-4 p-6")) }, [
|
|
36
|
-
y(C).current?.kind === "audio" ? (_(), d("div", S, [m(
|
|
36
|
+
y(C).current?.kind === "audio" ? (_(), d("div", S, [m(a, { variant: "title-medium" }, {
|
|
37
37
|
default: b(() => [p(v(y(C).current.title), 1)]),
|
|
38
38
|
_: 1
|
|
39
|
-
}), y(C).current.artist ? (_(), l(
|
|
39
|
+
}), y(C).current.artist ? (_(), l(a, {
|
|
40
40
|
key: 0,
|
|
41
41
|
class: "text-muted-foreground"
|
|
42
42
|
}, {
|
|
43
43
|
default: b(() => [p(v(y(C).current.artist) + " " + v(y(C).current.album ? ` · ${y(C).current.album}` : ""), 1)]),
|
|
44
44
|
_: 1
|
|
45
45
|
})) : u("", !0)])) : u("", !0),
|
|
46
|
-
m(
|
|
46
|
+
m(t, null, {
|
|
47
47
|
default: b(() => [y(C).current?.kind === "audio" ? u("", !0) : (_(), l(o, {
|
|
48
48
|
key: 0,
|
|
49
49
|
tone: "overlay"
|
|
50
50
|
}, {
|
|
51
|
-
trailing: b(() => [m(
|
|
51
|
+
trailing: b(() => [m(e, { tone: "overlay" })]),
|
|
52
52
|
_: 1
|
|
53
53
|
}))]),
|
|
54
54
|
_: 1
|
|
@@ -57,10 +57,10 @@ var x = ["data-layout", "aria-label"], S = {
|
|
|
57
57
|
key: 1,
|
|
58
58
|
tone: "surface"
|
|
59
59
|
}, {
|
|
60
|
-
trailing: b(() => [m(
|
|
60
|
+
trailing: b(() => [m(e, { tone: "surface" })]),
|
|
61
61
|
_: 1
|
|
62
62
|
})) : u("", !0)
|
|
63
|
-
], 2),
|
|
63
|
+
], 2), r.showQueue ? (_(), l(i, {
|
|
64
64
|
key: 0,
|
|
65
65
|
class: "min-h-72"
|
|
66
66
|
})) : u("", !0)], 2))], 10, x));
|
|
@@ -96,11 +96,11 @@ var x = ["data-layout", "aria-label"], S = {
|
|
|
96
96
|
},
|
|
97
97
|
emits: ["trackChange"],
|
|
98
98
|
setup(e, { emit: t }) {
|
|
99
|
-
let n = e,
|
|
99
|
+
let n = e, i = t;
|
|
100
100
|
function a(e, t) {
|
|
101
|
-
n.onTrackChange?.(e, t),
|
|
101
|
+
n.onTrackChange?.(e, t), i("trackChange", e, t);
|
|
102
102
|
}
|
|
103
|
-
return (t,
|
|
103
|
+
return (t, i) => (_(), l(r, {
|
|
104
104
|
tracks: e.tracks,
|
|
105
105
|
"current-index": e.currentIndex,
|
|
106
106
|
"default-index": e.defaultIndex,
|
|
@@ -47,6 +47,7 @@ export const COMPONENT_NAMES = [
|
|
|
47
47
|
'AvatarImage',
|
|
48
48
|
'Background',
|
|
49
49
|
'Badge',
|
|
50
|
+
'BandCard',
|
|
50
51
|
'Banner',
|
|
51
52
|
'BarChart',
|
|
52
53
|
'Barecode',
|
|
@@ -257,6 +258,7 @@ export const COMPONENT_NAMES = [
|
|
|
257
258
|
'FeatureCard',
|
|
258
259
|
'Field',
|
|
259
260
|
'Figure',
|
|
261
|
+
'FileCard',
|
|
260
262
|
'FileList',
|
|
261
263
|
'FileListField',
|
|
262
264
|
'FileListFormField',
|
|
@@ -312,6 +314,7 @@ export const COMPONENT_NAMES = [
|
|
|
312
314
|
'KbdShortcut',
|
|
313
315
|
'Label',
|
|
314
316
|
'LanguageSwitcher',
|
|
317
|
+
'LatencyCard',
|
|
315
318
|
'LightboxGallery',
|
|
316
319
|
'LineChart',
|
|
317
320
|
'LinkButton',
|
|
@@ -347,6 +350,7 @@ export const COMPONENT_NAMES = [
|
|
|
347
350
|
'Notifications',
|
|
348
351
|
'NumberField',
|
|
349
352
|
'NumberFormField',
|
|
353
|
+
'OfferCard',
|
|
350
354
|
'OpeningHours',
|
|
351
355
|
'OpeningHoursDialog',
|
|
352
356
|
'OpeningHoursFormField',
|
|
@@ -371,6 +375,7 @@ export const COMPONENT_NAMES = [
|
|
|
371
375
|
'PhoneField',
|
|
372
376
|
'PhoneFormField',
|
|
373
377
|
'PieChart',
|
|
378
|
+
'PlaceCard',
|
|
374
379
|
'Popover',
|
|
375
380
|
'PopoverAnchor',
|
|
376
381
|
'PopoverContent',
|
|
@@ -408,6 +413,8 @@ export const COMPONENT_NAMES = [
|
|
|
408
413
|
'RankCard',
|
|
409
414
|
'RatingField',
|
|
410
415
|
'RatingFormField',
|
|
416
|
+
'RatioCard',
|
|
417
|
+
'ReceiptCard',
|
|
411
418
|
'RelativeTime',
|
|
412
419
|
'RepeatingFieldList',
|
|
413
420
|
'ResizableHandle',
|
|
@@ -416,6 +423,7 @@ export const COMPONENT_NAMES = [
|
|
|
416
423
|
'ResponsiveButton',
|
|
417
424
|
'ResponsiveGrid',
|
|
418
425
|
'ResponsiveLinkButton',
|
|
426
|
+
'ReviewCard',
|
|
419
427
|
'RichTextEditor',
|
|
420
428
|
'RichTextEditorFormField',
|
|
421
429
|
'S3UploadField',
|
|
@@ -486,6 +494,7 @@ export const COMPONENT_NAMES = [
|
|
|
486
494
|
'SpotlightCard',
|
|
487
495
|
'StackCard',
|
|
488
496
|
'StatCard',
|
|
497
|
+
'StatusCard',
|
|
489
498
|
'StatusIndicator',
|
|
490
499
|
'Stepper',
|
|
491
500
|
'Steps',
|
|
@@ -523,6 +532,7 @@ export const COMPONENT_NAMES = [
|
|
|
523
532
|
'TextareaFormField',
|
|
524
533
|
'ThemeToggle',
|
|
525
534
|
'ThreadLayout',
|
|
535
|
+
'ThresholdCard',
|
|
526
536
|
'TicketCard',
|
|
527
537
|
'TimeField',
|
|
528
538
|
'TimeFormField',
|