@nxgt/material-vue 0.12.0 → 0.13.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.
Files changed (41) hide show
  1. package/README.md +2 -2
  2. package/dist/{camera-COrJjQzA.js → camera-CLEKd6qt.js} +2 -2
  3. package/dist/{components-owQgTJlP.js → components-C8qpgTHd.js} +9781 -9567
  4. package/dist/components.js +5 -5
  5. package/dist/{composables-C8mu3NCU.js → composables-qFCc2jTm.js} +1 -1
  6. package/dist/composables.js +1 -1
  7. package/dist/{dnd-DV6WBGAP.js → dnd-BAVezq7R.js} +1 -1
  8. package/dist/dnd.js +1 -1
  9. package/dist/{i18n-iZRDMnlE.js → i18n-BupWnOFU.js} +4 -2
  10. package/dist/i18n.js +1 -1
  11. package/dist/lib/components/ui/cards/cards.gallery.d.ts +3 -0
  12. package/dist/lib/components/ui/cards/checklist-card.vue.d.ts +13 -0
  13. package/dist/lib/components/ui/cards/index.d.ts +6 -0
  14. package/dist/lib/components/ui/cards/score-card.vue.d.ts +16 -0
  15. package/dist/lib/components/ui/cards/shortcut-card.vue.d.ts +13 -0
  16. package/dist/lib/components/ui/contacts/consts.d.ts +1 -1
  17. package/dist/lib/components/ui/metrics/histogram-card.vue.d.ts +13 -0
  18. package/dist/lib/components/ui/metrics/index.d.ts +4 -0
  19. package/dist/lib/components/ui/metrics/metrics.dashboard.d.ts +60 -0
  20. package/dist/lib/components/ui/metrics/pace-card.vue.d.ts +12 -0
  21. package/dist/lib/i18n/resources/en/index.d.ts +1 -0
  22. package/dist/lib/i18n/resources/en/material.json.d.ts +2 -1
  23. package/dist/lib/i18n/resources/fr/index.d.ts +1 -0
  24. package/dist/lib/i18n/resources/fr/material.json.d.ts +2 -1
  25. package/dist/lib/i18n/resources/index.d.ts +2 -0
  26. package/dist/lib/i18n/translator.d.ts +1 -1
  27. package/dist/lib/nuxt/component-names.d.ts +1 -1
  28. package/dist/{lib-Cjb16TBr.js → lib-t6791tVG.js} +1 -1
  29. package/dist/lib.js +1 -1
  30. package/dist/main.js +9 -9
  31. package/dist/material-vue.css +1 -1
  32. package/dist/{pdf-outline-sidebar-DmakWlgl.js → pdf-outline-sidebar-B-pSbOJ5.js} +2 -2
  33. package/dist/{pdf-page-DJyJOsHD.js → pdf-page-Ca5_SrEJ.js} +1 -1
  34. package/dist/{pdf-page-list-BjR7qknn.js → pdf-page-list-CbT2wkc_.js} +2 -2
  35. package/dist/{pdf-reader-BDpnVlRk.js → pdf-reader-BsOvrf8j.js} +6 -6
  36. package/dist/{pdf-sidebar-DAK0uZGt.js → pdf-sidebar-LahvRP-e.js} +4 -4
  37. package/dist/{pdf-thumbnail-sidebar-BvbkRPZr.js → pdf-thumbnail-sidebar-TmrbkRXG.js} +3 -3
  38. package/dist/{pdf-toolbar-Bd3LOEQ6.js → pdf-toolbar-C25lXZ2N.js} +2 -2
  39. package/dist/{stx-player-CIK84_5B.js → stx-player-B5YMZJQG.js} +11 -11
  40. package/lib/nuxt/component-names.ts +5 -0
  41. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { ml as e, mm as t } from "./components-owQgTJlP.js";
1
+ import { fl as e, ym as t } from "./components-C8qpgTHd.js";
2
2
  import { t as n } from "./utils-Cy-ByIEo.js";
3
- import { n as r } from "./i18n-iZRDMnlE.js";
3
+ import { n as r } from "./i18n-BupWnOFU.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 { Yl as e } from "./components-owQgTJlP.js";
1
+ import { ql as e } from "./components-C8qpgTHd.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 { ml as e, mm as t } from "./components-owQgTJlP.js";
2
- import { t as n } from "./pdf-page-DJyJOsHD.js";
1
+ import { fl as e, ym as t } from "./components-C8qpgTHd.js";
2
+ import { t as n } from "./pdf-page-Ca5_SrEJ.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 { Af as e, lt as t } from "./components-owQgTJlP.js";
1
+ import { Ff as e, lt as t } from "./components-C8qpgTHd.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-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";
4
+ import { n as i } from "./i18n-BupWnOFU.js";
5
+ import { i as a, n as o, r as s } from "./pdf-page-Ca5_SrEJ.js";
6
+ import { t as c } from "./pdf-page-list-CbT2wkc_.js";
7
+ import { t as l } from "./pdf-sidebar-LahvRP-e.js";
8
+ import { t as u } from "./pdf-toolbar-C25lXZ2N.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 { mm as e } from "./components-owQgTJlP.js";
1
+ import { ym as e } from "./components-C8qpgTHd.js";
2
2
  import { t } from "./utils-Cy-ByIEo.js";
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";
3
+ import { n } from "./i18n-BupWnOFU.js";
4
+ import { t as r } from "./pdf-outline-sidebar-B-pSbOJ5.js";
5
+ import { t as i } from "./pdf-thumbnail-sidebar-TmrbkRXG.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 { ml as e, mm as t } from "./components-owQgTJlP.js";
1
+ import { fl as e, ym as t } from "./components-C8qpgTHd.js";
2
2
  import { t as n } from "./utils-Cy-ByIEo.js";
3
- import { n as r } from "./i18n-iZRDMnlE.js";
4
- import { t as i } from "./pdf-page-DJyJOsHD.js";
3
+ import { n as r } from "./i18n-BupWnOFU.js";
4
+ import { t as i } from "./pdf-page-Ca5_SrEJ.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 { Af as e, mm as t } from "./components-owQgTJlP.js";
1
+ import { Ff as e, ym as t } from "./components-C8qpgTHd.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-iZRDMnlE.js";
4
+ import { n as i } from "./i18n-BupWnOFU.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 { _ 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";
1
+ import { _ as e, f as t, fd as n, g as r, m as i, p as a, v as o, y as s } from "./components-C8qpgTHd.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(r) {
21
+ setup(i) {
22
22
  let { containerRef: h, state: C } = s();
23
23
  function w(e) {
24
24
  h.value = e instanceof HTMLElement ? e : null;
@@ -26,17 +26,17 @@ 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": r.layout,
29
+ "data-layout": i.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
- }, [r.layout === "mini" ? (_(), l(n, { key: 0 })) : (_(), d("div", {
32
+ }, [i.layout === "mini" ? (_(), l(r, { key: 0 })) : (_(), d("div", {
33
33
  key: 1,
34
- class: g(y(c)("grid gap-3", r.showQueue && "@min-[768px]:grid-cols-[minmax(0,1fr)_18rem] @min-[768px]:items-stretch"))
34
+ class: g(y(c)("grid gap-3", i.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(a, { variant: "title-medium" }, {
36
+ y(C).current?.kind === "audio" ? (_(), d("div", S, [m(n, { variant: "title-medium" }, {
37
37
  default: b(() => [p(v(y(C).current.title), 1)]),
38
38
  _: 1
39
- }), y(C).current.artist ? (_(), l(a, {
39
+ }), y(C).current.artist ? (_(), l(n, {
40
40
  key: 0,
41
41
  class: "text-muted-foreground"
42
42
  }, {
@@ -60,7 +60,7 @@ var x = ["data-layout", "aria-label"], S = {
60
60
  trailing: b(() => [m(e, { tone: "surface" })]),
61
61
  _: 1
62
62
  })) : u("", !0)
63
- ], 2), r.showQueue ? (_(), l(i, {
63
+ ], 2), i.showQueue ? (_(), l(a, {
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, i = t;
99
+ let n = e, r = t;
100
100
  function a(e, t) {
101
- n.onTrackChange?.(e, t), i("trackChange", e, t);
101
+ n.onTrackChange?.(e, t), r("trackChange", e, t);
102
102
  }
103
- return (t, i) => (_(), l(r, {
103
+ return (t, r) => (_(), l(i, {
104
104
  tracks: e.tracks,
105
105
  "current-index": e.currentIndex,
106
106
  "default-index": e.defaultIndex,
@@ -110,6 +110,7 @@ export const COMPONENT_NAMES = [
110
110
  'CheckboxGroupEditForm',
111
111
  'CheckboxGroupFormField',
112
112
  'CheckboxGroupNodeComponent',
113
+ 'ChecklistCard',
113
114
  'Chip',
114
115
  'CircularProgress',
115
116
  'CodeBlock',
@@ -281,6 +282,7 @@ export const COMPONENT_NAMES = [
281
282
  'HelperText',
282
283
  'Hero',
283
284
  'HighlightText',
285
+ 'HistogramCard',
284
286
  'HoverCard',
285
287
  'HoverCardContent',
286
288
  'HoverCardTrigger',
@@ -358,6 +360,7 @@ export const COMPONENT_NAMES = [
358
360
  'OtpField',
359
361
  'OtpFormField',
360
362
  'OverlayCard',
363
+ 'PaceCard',
361
364
  'Pager',
362
365
  'Pagination',
363
366
  'PaginationContent',
@@ -429,6 +432,7 @@ export const COMPONENT_NAMES = [
429
432
  'S3UploadField',
430
433
  'S3UploadFormField',
431
434
  'ScatterChart',
435
+ 'ScoreCard',
432
436
  'ScrollArea',
433
437
  'ScrollBar',
434
438
  'ScrollProgress',
@@ -467,6 +471,7 @@ export const COMPONENT_NAMES = [
467
471
  'SheetHeader',
468
472
  'SheetTitle',
469
473
  'SheetTrigger',
474
+ 'ShortcutCard',
470
475
  'Sidebar',
471
476
  'SidebarContent',
472
477
  'SidebarFooter',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxgt/material-vue",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "files": [