@nxgt/material-vue 0.23.1 → 0.23.3

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 (36) hide show
  1. package/dist/{Button-DcFHQ3oH.js → Button-CVIR6uLK.js} +1 -1
  2. package/dist/{HoverCardTrigger-D99aHKDX.js → HoverCardTrigger-iAL5ALrL.js} +2 -2
  3. package/dist/{camera-G80plUZO.js → camera-CrMabX3d.js} +12 -12
  4. package/dist/{components-D3nLHMxx.js → components-aga1BOH2.js} +4887 -4912
  5. package/dist/components.js +6 -6
  6. package/dist/composables.js +2 -2
  7. package/dist/dnd.js +1 -1
  8. package/dist/{i18n-provider-BTm3J_K9.js → i18n-provider-BqWxpaKu.js} +1 -1
  9. package/dist/i18n.js +4 -4
  10. package/dist/{icon-button-DnjboAtZ.js → icon-button-DbEME76t.js} +1 -1
  11. package/dist/lib/components/ui/media/file-list/index.d.ts +1 -1
  12. package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-field.utils.d.ts +0 -1
  13. package/dist/lib/i18n/resources/fr/material.json.d.ts +1 -1
  14. package/dist/lib/nuxt/pdf-fonts.d.ts +3 -14
  15. package/dist/lib.js +2 -2
  16. package/dist/main.js +11 -11
  17. package/dist/map.js +4 -4
  18. package/dist/{pdf-outline-sidebar-DycVwjfJ.js → pdf-outline-sidebar-D3NgGXpn.js} +2 -2
  19. package/dist/{pdf-page-CHfDMJ_4.js → pdf-page-DniEW6ho.js} +1 -1
  20. package/dist/{pdf-page-list-Cy3Qgm2N.js → pdf-page-list-ByRU33Lx.js} +2 -2
  21. package/dist/{pdf-reader-D8CFeq1E.js → pdf-reader-DzLQa6Uq.js} +8 -8
  22. package/dist/{pdf-sidebar-D4BpuyNy.js → pdf-sidebar-DoGWupRN.js} +3 -3
  23. package/dist/{pdf-thumbnail-sidebar-Cl9o8zQp.js → pdf-thumbnail-sidebar-B4Srzga5.js} +3 -3
  24. package/dist/{pdf-toolbar-Cj_fCmo3.js → pdf-toolbar-B6gRRcsv.js} +4 -4
  25. package/dist/pdf.js +2 -2
  26. package/dist/{sortable-provider-CxI3cMbb.js → sortable-provider-oEVjQiCl.js} +2 -2
  27. package/dist/{stored-language-D7FRT1hD.js → stored-language-rjOMJkyX.js} +1 -1
  28. package/dist/{stx-player-CpzcZSMq.js → stx-player-CrirKEQm.js} +2 -2
  29. package/dist/{translator-BJPRdlc8.js → translator-BCSJSO1-.js} +1 -1
  30. package/dist/{use-heading-spy-xe2FFmGU.js → use-heading-spy-d50_nxgR.js} +1 -1
  31. package/dist/{use-material-translation-gr5V24w5.js → use-material-translation-C5zPFhbk.js} +3 -3
  32. package/docs/troubleshooting.md +6 -1
  33. package/lib/nuxt/module.ts +2 -5
  34. package/lib/nuxt/pdf-fonts.ts +3 -76
  35. package/package.json +2 -2
  36. package/dist/lib/components/ui/media/file-list/format-file-size.d.ts +0 -1
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./utils-CykWQ0iJ.js";
2
- import { t } from "./use-material-translation-gr5V24w5.js";
2
+ import { t } from "./use-material-translation-C5zPFhbk.js";
3
3
  import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, guardReactiveProps as u, mergeProps as d, normalizeClass as f, normalizeProps as p, openBlock as m, renderSlot as h, shallowRef as g, toDisplayString as _, unref as v, useAttrs as y, withCtx as b } from "vue";
4
4
  import { Primitive as x, TooltipArrow as S, TooltipContent as C, TooltipPortal as w, TooltipProvider as T, TooltipRoot as E, TooltipTrigger as D, useForwardPropsEmits as O } from "reka-ui";
5
5
  import { cva as k } from "class-variance-authority";
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./utils-CykWQ0iJ.js";
2
- import { t } from "./use-material-translation-gr5V24w5.js";
3
- import { t as n } from "./Button-DcFHQ3oH.js";
2
+ import { t } from "./use-material-translation-C5zPFhbk.js";
3
+ import { t as n } from "./Button-CVIR6uLK.js";
4
4
  import { createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, guardReactiveProps as u, isRef as d, mergeProps as f, normalizeClass as p, normalizeProps as m, openBlock as h, renderSlot as g, toDisplayString as _, unref as v, useId as y, useTemplateRef as b, vModelText as x, withCtx as S, withDirectives as C } from "vue";
5
5
  import { X as w } from "@lucide/vue";
6
6
  import { DialogClose as T, DialogContent as E, DialogDescription as D, DialogOverlay as O, DialogPortal as k, DialogRoot as ee, DialogTitle as te, DialogTrigger as A, HoverCardContent as j, HoverCardPortal as M, HoverCardRoot as N, HoverCardTrigger as P, Label as F, useForwardProps as I, useForwardPropsEmits as L } from "reka-ui";
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./utils-CykWQ0iJ.js";
2
- import { ar as t, nr as n, rr as r } from "./components-D3nLHMxx.js";
3
- import { t as i } from "./use-material-translation-gr5V24w5.js";
4
- import { t as a } from "./Button-DcFHQ3oH.js";
5
- import { t as o } from "./icon-button-DnjboAtZ.js";
2
+ import { ir as t, or as n, rr as r } from "./components-aga1BOH2.js";
3
+ import { t as i } from "./use-material-translation-C5zPFhbk.js";
4
+ import { t as a } from "./Button-CVIR6uLK.js";
5
+ import { t as o } from "./icon-button-DbEME76t.js";
6
6
  import { createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, normalizeClass as m, openBlock as h, ref as g, renderSlot as _, shallowRef as v, toDisplayString as y, unref as b, withCtx as x } from "vue";
7
7
  import { Pause as S, Play as C } from "@lucide/vue";
8
8
  //#region lib/components/ui/media/camera/camera-content.vue?vue&type=script&setup=true&lang.ts
@@ -17,7 +17,7 @@ var w = { class: "grid gap-2" }, T = { class: "flex justify-end" }, E = ["src",
17
17
  Array
18
18
  ] } },
19
19
  setup(t) {
20
- let r = t, { t: p } = i(), { videoRef: g, state: _, actions: v } = n();
20
+ let n = t, { t: p } = i(), { videoRef: g, state: _, actions: v } = r();
21
21
  function D(e) {
22
22
  g.value = e instanceof HTMLVideoElement ? e : null;
23
23
  }
@@ -25,9 +25,9 @@ var w = { class: "grid gap-2" }, T = { class: "flex justify-end" }, E = ["src",
25
25
  _.isStreaming ? v.stopStream() : v.startStream();
26
26
  }
27
27
  let k = p("material.camera.capture", "Take Capture"), A = p("material.camera.captured", "Captured");
28
- return (t, n) => (h(), l("div", {
28
+ return (t, r) => (h(), l("div", {
29
29
  "data-slot": "camera",
30
- class: m(b(e)("flex relative w-full h-full gap-2", r.class))
30
+ class: m(b(e)("flex relative w-full h-full gap-2", n.class))
31
31
  }, [u("div", w, [u("video", {
32
32
  ref: D,
33
33
  class: "w-full max-w-lg right-1 ring-primary",
@@ -58,9 +58,9 @@ var w = { class: "grid gap-2" }, T = { class: "flex justify-end" }, E = ["src",
58
58
  }), O = /* @__PURE__ */ p({
59
59
  __name: "camera-provider",
60
60
  setup(e) {
61
- let n = g(null), i = g(null), a = v(null), o = t();
62
- return r({
63
- videoRef: n,
61
+ let r = g(null), i = g(null), a = v(null), o = n();
62
+ return t({
63
+ videoRef: r,
64
64
  canvasRef: i,
65
65
  streamRef: a,
66
66
  state: o,
@@ -74,7 +74,7 @@ var w = { class: "grid gap-2" }, T = { class: "flex justify-end" }, E = ["src",
74
74
  requestPermission: () => o.requestPermission(),
75
75
  startStream: () => {
76
76
  o.startStream((e) => {
77
- a.value = e, n.value && (n.value.srcObject = e);
77
+ a.value = e, r.value && (r.value.srcObject = e);
78
78
  });
79
79
  },
80
80
  stopStream: () => {
@@ -83,7 +83,7 @@ var w = { class: "grid gap-2" }, T = { class: "flex justify-end" }, E = ["src",
83
83
  }), a.value = null, o.setStreaming(!1);
84
84
  },
85
85
  capturePhoto: () => {
86
- o.capturePhoto(n.value);
86
+ o.capturePhoto(r.value);
87
87
  }
88
88
  }
89
89
  }), (e, t) => _(e.$slots, "default");