@nxgt/material-vue 0.15.0 → 0.15.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,4 +1,4 @@
1
- import { bm as e, dl as t } from "./components-DJfoZu5x.js";
1
+ import { bm as e, dl as t } from "./components-V7fytYeB.js";
2
2
  import { t as n } from "./utils-Cy-ByIEo.js";
3
3
  import { n as r } from "./i18n-weSTOoFJ.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";
@@ -1,4 +1,4 @@
1
- import { Jl as e } from "./components-DJfoZu5x.js";
1
+ import { Jl as e } from "./components-V7fytYeB.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 { bm as e, dl as t } from "./components-DJfoZu5x.js";
2
- import { t as n } from "./pdf-page-PiqC22bh.js";
1
+ import { bm as e, dl as t } from "./components-V7fytYeB.js";
2
+ import { t as n } from "./pdf-page-CE3sD6PB.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 { If as e, lt as t } from "./components-DJfoZu5x.js";
1
+ import { If as e, lt as t } from "./components-V7fytYeB.js";
2
2
  import { t as n } from "./utils-Cy-ByIEo.js";
3
3
  import { r } from "./icon-button-Ghucx7Ah.js";
4
4
  import { n as i } from "./i18n-weSTOoFJ.js";
5
- import { i as a, n as o, r as s } from "./pdf-page-PiqC22bh.js";
6
- import { t as c } from "./pdf-page-list-D6kE-4Bt.js";
7
- import { t as l } from "./pdf-sidebar-Bc-nJM5y.js";
8
- import { t as u } from "./pdf-toolbar-NN8Qf1rE.js";
5
+ import { i as a, n as o, r as s } from "./pdf-page-CE3sD6PB.js";
6
+ import { t as c } from "./pdf-page-list-aknr0OOz.js";
7
+ import { t as l } from "./pdf-sidebar-DBgNHIBr.js";
8
+ import { t as u } from "./pdf-toolbar-CT3pPWhL.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
@@ -335,7 +335,7 @@ var ne = ["aria-label"], re = /* @__PURE__ */ _({
335
335
  ref_key: "wrapperRef",
336
336
  ref: c,
337
337
  "data-slot": "pdf-reader",
338
- class: v(D(n)("relative flex h-full min-h-0 flex-col overflow-hidden rounded-lg border bg-background", D(h).isFullscreen && "rounded-none", a.class)),
338
+ class: v(D(n)("relative flex h-full min-h-0 flex-col overflow-hidden rounded border bg-background", D(h).isFullscreen && "rounded-none", a.class)),
339
339
  role: "application",
340
340
  tabindex: "0",
341
341
  "aria-label": D(s)("material.pdf-reader.label", "PDF reader"),
@@ -1,8 +1,8 @@
1
- import { bm as e } from "./components-DJfoZu5x.js";
1
+ import { bm as e } from "./components-V7fytYeB.js";
2
2
  import { t } from "./utils-Cy-ByIEo.js";
3
3
  import { n } from "./i18n-weSTOoFJ.js";
4
- import { t as r } from "./pdf-outline-sidebar-DkhnKzTc.js";
5
- import { t as i } from "./pdf-thumbnail-sidebar-n89U3mGc.js";
4
+ import { t as r } from "./pdf-outline-sidebar-DMGRgy4H.js";
5
+ import { t as i } from "./pdf-thumbnail-sidebar-vanRxX9R.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 { bm as e, dl as t } from "./components-DJfoZu5x.js";
1
+ import { bm as e, dl as t } from "./components-V7fytYeB.js";
2
2
  import { t as n } from "./utils-Cy-ByIEo.js";
3
3
  import { n as r } from "./i18n-weSTOoFJ.js";
4
- import { t as i } from "./pdf-page-PiqC22bh.js";
4
+ import { t as i } from "./pdf-page-CE3sD6PB.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,4 +1,4 @@
1
- import { If as e, bm as t } from "./components-DJfoZu5x.js";
1
+ import { If as e, bm as t } from "./components-V7fytYeB.js";
2
2
  import { t as n } from "./utils-Cy-ByIEo.js";
3
3
  import { t as r } from "./icon-button-Ghucx7Ah.js";
4
4
  import { n as i } from "./i18n-weSTOoFJ.js";
@@ -360,7 +360,7 @@ var L = { class: "min-w-10 text-center text-muted-foreground text-xs" }, R = /*
360
360
  ],
361
361
  setup(e, { emit: t }) {
362
362
  let a = t, { t: o } = i(), s = o("material.pdf-reader.sidebar-toggle", "Toggle sidebar"), c = o("material.pdf-reader.rotate", "Rotate");
363
- return (t, i) => (h(), l("div", { class: m(y(n)("z-10 flex h-12 shrink-0 items-center gap-1 border-b bg-background/95 px-3 backdrop-blur supports-[backdrop-filter]:bg-background/60", t.$props.class)) }, [
363
+ return (t, i) => (h(), l("div", { class: m(y(n)("@container z-10 flex min-h-12 shrink-0 flex-wrap items-center gap-1 border-b bg-background px-2 py-1 @md:px-3", t.$props.class)) }, [
364
364
  d(r, {
365
365
  variant: "ghost",
366
366
  color: "default",
@@ -376,7 +376,7 @@ var L = { class: "min-w-10 text-center text-muted-foreground text-xs" }, R = /*
376
376
  "aria-pressed",
377
377
  "tooltip"
378
378
  ]),
379
- i[13] ||= u("div", { class: "mx-1 h-6 w-px shrink-0 bg-border" }, null, -1),
379
+ i[13] ||= u("div", { class: "mx-1 hidden h-6 w-px shrink-0 bg-border @md:block" }, null, -1),
380
380
  d(H, {
381
381
  "current-page": e.state.currentPage,
382
382
  "num-pages": e.state.numPages,
@@ -384,7 +384,7 @@ var L = { class: "min-w-10 text-center text-muted-foreground text-xs" }, R = /*
384
384
  onNextPage: i[2] ||= (e) => a("nextPage"),
385
385
  onGoToPage: i[3] ||= (e) => a("goToPage", e)
386
386
  }, null, 8, ["current-page", "num-pages"]),
387
- i[14] ||= u("div", { class: "mx-1 h-6 w-px shrink-0 bg-border" }, null, -1),
387
+ i[14] ||= u("div", { class: "mx-1 hidden h-6 w-px shrink-0 bg-border @md:block" }, null, -1),
388
388
  d(K, {
389
389
  "fit-mode": e.state.fitMode,
390
390
  "computed-scale": e.computedScale,
@@ -393,7 +393,7 @@ var L = { class: "min-w-10 text-center text-muted-foreground text-xs" }, R = /*
393
393
  onSetScale: i[6] ||= (e) => a("setScale", e),
394
394
  onSetFitMode: i[7] ||= (e) => a("setFitMode", e)
395
395
  }, null, 8, ["fit-mode", "computed-scale"]),
396
- i[15] ||= u("div", { class: "mx-1 h-6 w-px shrink-0 bg-border" }, null, -1),
396
+ i[15] ||= u("div", { class: "mx-1 hidden h-6 w-px shrink-0 bg-border @md:block" }, null, -1),
397
397
  d(r, {
398
398
  variant: "ghost",
399
399
  color: "default",
@@ -1,4 +1,4 @@
1
- import { _ as e, f as t, g as n, m as r, p as i, pd as a, v as o, y as s } from "./components-DJfoZu5x.js";
1
+ import { _ as e, f as t, g as n, m as r, p as i, pd as a, v as o, y as s } from "./components-V7fytYeB.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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxgt/material-vue",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "files": [