@nxgt/material-vue 0.8.0 → 0.10.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-CtcuJqGp.js → camera-DKVzfqKn.js} +8 -8
- package/dist/{components-DDbnWoyM.js → components-DEA4ui-c.js} +9884 -9604
- package/dist/components.js +5 -5
- package/dist/lib/components/ui/cards/album-card.vue.d.ts +19 -0
- package/dist/lib/components/ui/cards/event-card.vue.d.ts +21 -0
- package/dist/lib/components/ui/cards/index.d.ts +10 -0
- package/dist/lib/components/ui/cards/link-card.vue.d.ts +21 -0
- package/dist/lib/components/ui/cards/stack-card.vue.d.ts +17 -0
- package/dist/lib/components/ui/cards/tag-card.vue.d.ts +10 -0
- package/dist/lib/components/ui/metrics/delta-list-card.vue.d.ts +13 -0
- package/dist/lib/components/ui/metrics/index.d.ts +4 -0
- package/dist/lib/components/ui/metrics/sparkbar-card.vue.d.ts +10 -0
- package/dist/lib/nuxt/component-names.d.ts +1 -1
- package/dist/main.js +9 -9
- package/dist/material-vue.css +1 -1
- package/dist/{pdf-outline-sidebar-DiAXui7k.js → pdf-outline-sidebar-DGOQM_Xz.js} +5 -5
- package/dist/{pdf-page-CklM-PSe.js → pdf-page-BtY3gUPb.js} +1 -1
- package/dist/{pdf-page-list-f59P24lB.js → pdf-page-list-Csv-DTPQ.js} +16 -16
- package/dist/{pdf-reader-C2nD7xGZ.js → pdf-reader-eb_Ilcnq.js} +12 -12
- package/dist/{pdf-sidebar-BFErz0Sy.js → pdf-sidebar-DD-MdA6v.js} +3 -3
- package/dist/{pdf-thumbnail-sidebar-DO__Pimi.js → pdf-thumbnail-sidebar-Bo89j8Ag.js} +16 -16
- package/dist/{pdf-toolbar-BVfxDqXi.js → pdf-toolbar-BJtNQ1hk.js} +20 -20
- package/dist/{stx-player-RgmS9LdH.js → stx-player-Dr3T3rxE.js} +1 -1
- package/lib/nuxt/component-names.ts +7 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { fl as e, im as t } from "./components-DEA4ui-c.js";
|
|
2
2
|
import { t as n } from "./utils-Cy-ByIEo.js";
|
|
3
3
|
import { n as r } from "./i18n-DauA1M_L.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";
|
|
@@ -41,16 +41,16 @@ var y = {
|
|
|
41
41
|
class: {}
|
|
42
42
|
},
|
|
43
43
|
emits: ["select"],
|
|
44
|
-
setup(
|
|
44
|
+
setup(t, { emit: a }) {
|
|
45
45
|
let s = a, { t: u } = r();
|
|
46
|
-
return (r, a) => (p(), c("div", { class: d(_(n)("flex min-h-0 flex-1 flex-col", r.$props.class)) }, [
|
|
46
|
+
return (r, a) => (p(), c("div", { class: d(_(n)("flex min-h-0 flex-1 flex-col", r.$props.class)) }, [t.items.length === 0 ? (p(), c("p", S, g(_(u)("material.pdf-reader.outline-empty", "No outline in this document")), 1)) : (p(), o(e, {
|
|
47
47
|
key: 1,
|
|
48
48
|
class: "flex-1"
|
|
49
49
|
}, {
|
|
50
50
|
default: v(() => [l("nav", {
|
|
51
51
|
class: "p-2",
|
|
52
52
|
"aria-label": _(u)("material.pdf-reader.outline", "Outline")
|
|
53
|
-
}, [(p(!0), c(i, null, h(
|
|
53
|
+
}, [(p(!0), c(i, null, h(t.items, (e, t) => (p(), o(x, {
|
|
54
54
|
key: `${e.title}-${t}`,
|
|
55
55
|
item: e,
|
|
56
56
|
depth: 0,
|
|
@@ -59,6 +59,6 @@ var y = {
|
|
|
59
59
|
_: 1
|
|
60
60
|
}))], 2));
|
|
61
61
|
}
|
|
62
|
-
}), T = /* @__PURE__ */
|
|
62
|
+
}), T = /* @__PURE__ */ t({ default: () => E }), E = w;
|
|
63
63
|
//#endregion
|
|
64
64
|
export { T as n, E as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ql as e } from "./components-DEA4ui-c.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 { fl as e, im as t } from "./components-DEA4ui-c.js";
|
|
2
|
+
import { t as n } from "./pdf-page-BtY3gUPb.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({
|
|
@@ -15,19 +15,19 @@ var d = { class: "flex flex-col items-center gap-4 px-4 py-4" }, f = /*@__PURE__
|
|
|
15
15
|
nightMode: { type: Boolean },
|
|
16
16
|
pageRefs: {}
|
|
17
17
|
},
|
|
18
|
-
setup(
|
|
19
|
-
return (s, f) => (c(), i(
|
|
20
|
-
default: u(() => [o("div", d, [(c(!0), a(r, null, l(
|
|
21
|
-
key:
|
|
22
|
-
pdf:
|
|
23
|
-
"page-number":
|
|
24
|
-
"is-current":
|
|
25
|
-
scale:
|
|
26
|
-
rotation:
|
|
27
|
-
"search-query":
|
|
28
|
-
"night-mode":
|
|
29
|
-
eager:
|
|
30
|
-
"page-refs":
|
|
18
|
+
setup(t) {
|
|
19
|
+
return (s, f) => (c(), i(e, { class: "h-full" }, {
|
|
20
|
+
default: u(() => [o("div", d, [(c(!0), a(r, null, l(t.numPages, (e) => (c(), i(n, {
|
|
21
|
+
key: e,
|
|
22
|
+
pdf: t.pdf,
|
|
23
|
+
"page-number": e,
|
|
24
|
+
"is-current": e === t.currentPage,
|
|
25
|
+
scale: t.scale,
|
|
26
|
+
rotation: t.rotation,
|
|
27
|
+
"search-query": t.searchQuery,
|
|
28
|
+
"night-mode": t.nightMode,
|
|
29
|
+
eager: e <= 2,
|
|
30
|
+
"page-refs": t.pageRefs
|
|
31
31
|
}, null, 8, [
|
|
32
32
|
"pdf",
|
|
33
33
|
"page-number",
|
|
@@ -42,6 +42,6 @@ var d = { class: "flex flex-col items-center gap-4 px-4 py-4" }, f = /*@__PURE__
|
|
|
42
42
|
_: 1
|
|
43
43
|
}));
|
|
44
44
|
}
|
|
45
|
-
}), p = /* @__PURE__ */
|
|
45
|
+
}), p = /* @__PURE__ */ t({ default: () => m }), m = f;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { p as n, m as t };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bf as e, lt as t } from "./components-DEA4ui-c.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-DauA1M_L.js";
|
|
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-
|
|
5
|
+
import { i as a, n as o, r as s } from "./pdf-page-BtY3gUPb.js";
|
|
6
|
+
import { t as c } from "./pdf-page-list-Csv-DTPQ.js";
|
|
7
|
+
import { t as l } from "./pdf-sidebar-DD-MdA6v.js";
|
|
8
|
+
import { t as u } from "./pdf-toolbar-BJtNQ1hk.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
|
|
@@ -118,7 +118,7 @@ var H = { class: "absolute inset-0 flex flex-col items-center justify-center gap
|
|
|
118
118
|
__name: "pdf-password-form",
|
|
119
119
|
props: { modelValue: {} },
|
|
120
120
|
emits: ["update:modelValue", "submit"],
|
|
121
|
-
setup(
|
|
121
|
+
setup(t, { emit: n }) {
|
|
122
122
|
let a = n, { t: o } = i();
|
|
123
123
|
function s(e) {
|
|
124
124
|
e.key === "Enter" && a("submit");
|
|
@@ -126,11 +126,11 @@ var H = { class: "absolute inset-0 flex flex-col items-center justify-center gap
|
|
|
126
126
|
return (n, i) => (x(), p("div", Y, [
|
|
127
127
|
g(D(M), { class: "size-10 text-primary opacity-70" }),
|
|
128
128
|
m("p", X, T(D(o)("material.pdf-reader.password", "Password protected")), 1),
|
|
129
|
-
m("div", Z, [g(
|
|
129
|
+
m("div", Z, [g(e, {
|
|
130
130
|
type: "password",
|
|
131
131
|
placeholder: D(o)("material.pdf-reader.password-placeholder", "Enter password"),
|
|
132
132
|
class: "h-9 w-48",
|
|
133
|
-
"model-value":
|
|
133
|
+
"model-value": t.modelValue,
|
|
134
134
|
autofocus: "",
|
|
135
135
|
"onUpdate:modelValue": i[0] ||= (e) => a("update:modelValue", String(e)),
|
|
136
136
|
onKeydown: s
|
|
@@ -274,8 +274,8 @@ var ne = ["aria-label"], re = /* @__PURE__ */ _({
|
|
|
274
274
|
"loadSuccess",
|
|
275
275
|
"loadError"
|
|
276
276
|
],
|
|
277
|
-
setup(
|
|
278
|
-
let a =
|
|
277
|
+
setup(e, { emit: r }) {
|
|
278
|
+
let a = e, o = r, { t: s } = i(), c = C(null), l = /* @__PURE__ */ new Map(), f = te(c), m = t({
|
|
279
279
|
get file() {
|
|
280
280
|
return a.file;
|
|
281
281
|
},
|
|
@@ -330,7 +330,7 @@ var ne = ["aria-label"], re = /* @__PURE__ */ _({
|
|
|
330
330
|
function M() {
|
|
331
331
|
a.onPrint ? a.onPrint() : a.file && I(a.file);
|
|
332
332
|
}
|
|
333
|
-
return (
|
|
333
|
+
return (t, r) => e.file ? (x(), p("div", {
|
|
334
334
|
key: 1,
|
|
335
335
|
ref_key: "wrapperRef",
|
|
336
336
|
ref: c,
|
|
@@ -380,7 +380,7 @@ var ne = ["aria-label"], re = /* @__PURE__ */ _({
|
|
|
380
380
|
"onSearchOpenChange",
|
|
381
381
|
"onToggleNightMode"
|
|
382
382
|
]), g(ee, {
|
|
383
|
-
file:
|
|
383
|
+
file: e.file,
|
|
384
384
|
state: D(h),
|
|
385
385
|
"effective-scale": D(_),
|
|
386
386
|
"page-refs": D(l),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { im as e } from "./components-DEA4ui-c.js";
|
|
2
2
|
import { t } from "./utils-Cy-ByIEo.js";
|
|
3
3
|
import { n } from "./i18n-DauA1M_L.js";
|
|
4
|
-
import { t as r } from "./pdf-outline-sidebar-
|
|
5
|
-
import { t as i } from "./pdf-thumbnail-sidebar-
|
|
4
|
+
import { t as r } from "./pdf-outline-sidebar-DGOQM_Xz.js";
|
|
5
|
+
import { t as i } from "./pdf-thumbnail-sidebar-Bo89j8Ag.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 { fl as e, im as t } from "./components-DEA4ui-c.js";
|
|
2
2
|
import { t as n } from "./utils-Cy-ByIEo.js";
|
|
3
3
|
import { n as r } from "./i18n-DauA1M_L.js";
|
|
4
|
-
import { t as i } from "./pdf-page-
|
|
4
|
+
import { t as i } from "./pdf-page-BtY3gUPb.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 = {
|
|
@@ -26,36 +26,36 @@ var _ = ["aria-label"], v = {
|
|
|
26
26
|
class: {}
|
|
27
27
|
},
|
|
28
28
|
emits: ["pageSelect"],
|
|
29
|
-
setup(
|
|
29
|
+
setup(t, { emit: u }) {
|
|
30
30
|
let S = u, { t: C } = r();
|
|
31
31
|
return (r, u) => (f(), s("aside", {
|
|
32
32
|
class: d(h(n)("flex h-full w-44 shrink-0 flex-col border-r bg-muted/20", r.$props.class)),
|
|
33
33
|
"aria-label": h(C)("material.pdf-reader.thumbnails", "Page thumbnails")
|
|
34
|
-
}, [
|
|
35
|
-
default: g(() => [c("div", y, [(f(!0), s(a, null, p(
|
|
36
|
-
key:
|
|
34
|
+
}, [t.showHeader ? (f(), s("div", v, m(h(C)("material.pdf-reader.pages", "Pages")), 1)) : o("", !0), l(e, { class: "flex-1" }, {
|
|
35
|
+
default: g(() => [c("div", y, [(f(!0), s(a, null, p(t.numPages, (e) => (f(), s("button", {
|
|
36
|
+
key: e,
|
|
37
37
|
type: "button",
|
|
38
|
-
class: d(h(n)("group relative flex flex-col items-center gap-1 rounded-lg p-1.5 transition-all hover:bg-accent cursor-pointer outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
39
|
-
"aria-label": h(C)("material.pdf-reader.go-to-page", "Go to page {page}", { page:
|
|
40
|
-
"aria-current":
|
|
41
|
-
onClick: (
|
|
38
|
+
class: d(h(n)("group relative flex flex-col items-center gap-1 rounded-lg p-1.5 transition-all hover:bg-accent cursor-pointer outline-none focus-visible:ring-2 focus-visible:ring-ring", t.currentPage === e && "bg-primary/10 ring-2 ring-primary/50")),
|
|
39
|
+
"aria-label": h(C)("material.pdf-reader.go-to-page", "Go to page {page}", { page: e }),
|
|
40
|
+
"aria-current": t.currentPage === e ? "page" : void 0,
|
|
41
|
+
onClick: (t) => S("pageSelect", e)
|
|
42
42
|
}, [c("div", x, [l(i, {
|
|
43
|
-
pdf:
|
|
44
|
-
"page-number":
|
|
43
|
+
pdf: t.pdf,
|
|
44
|
+
"page-number": e,
|
|
45
45
|
scale: 1,
|
|
46
|
-
rotation:
|
|
46
|
+
rotation: t.rotation,
|
|
47
47
|
width: 120,
|
|
48
|
-
eager:
|
|
48
|
+
eager: e <= 4,
|
|
49
49
|
"render-text": !1
|
|
50
50
|
}, null, 8, [
|
|
51
51
|
"pdf",
|
|
52
52
|
"page-number",
|
|
53
53
|
"rotation",
|
|
54
54
|
"eager"
|
|
55
|
-
])]), c("span", { class: d(h(n)("text-xs font-medium transition-colors",
|
|
55
|
+
])]), c("span", { class: d(h(n)("text-xs font-medium transition-colors", t.currentPage === e ? "text-primary" : "text-muted-foreground")) }, m(e), 3)], 10, b))), 128))])]),
|
|
56
56
|
_: 1
|
|
57
57
|
})], 10, _));
|
|
58
58
|
}
|
|
59
|
-
}), C = /* @__PURE__ */
|
|
59
|
+
}), C = /* @__PURE__ */ t({ default: () => w }), w = S;
|
|
60
60
|
//#endregion
|
|
61
61
|
export { C as n, w as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bf as e, im as t } from "./components-DEA4ui-c.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-DauA1M_L.js";
|
|
@@ -13,8 +13,8 @@ var L = { class: "min-w-10 text-center text-muted-foreground text-xs" }, R = /*
|
|
|
13
13
|
searchHits: {}
|
|
14
14
|
},
|
|
15
15
|
emits: ["search-open-change", "search-change"],
|
|
16
|
-
setup(
|
|
17
|
-
let o =
|
|
16
|
+
setup(t, { emit: n }) {
|
|
17
|
+
let o = t, s = n, { t: f } = i(), m = b("searchHost"), g = f("material.pdf-reader.search", "Search"), _ = f("material.pdf-reader.search-next", "Next match (F3)"), w = f("material.pdf-reader.search-prev", "Previous match (Shift+F3)");
|
|
18
18
|
x(() => o.searchOpen, async (e) => {
|
|
19
19
|
e && (await p(), m.value?.querySelector("input")?.focus());
|
|
20
20
|
});
|
|
@@ -24,26 +24,26 @@ var L = { class: "min-w-10 text-center text-muted-foreground text-xs" }, R = /*
|
|
|
24
24
|
function D(e) {
|
|
25
25
|
s("search-change", String(e)), o.searchHits.reset();
|
|
26
26
|
}
|
|
27
|
-
return (n, i) => (h(), l(a, null, [
|
|
27
|
+
return (n, i) => (h(), l(a, null, [t.searchOpen ? (h(), l("div", {
|
|
28
28
|
key: 0,
|
|
29
29
|
ref_key: "searchHost",
|
|
30
30
|
ref: m,
|
|
31
31
|
class: "flex items-center gap-1"
|
|
32
|
-
}, [d(
|
|
32
|
+
}, [d(e, {
|
|
33
33
|
class: "h-7 w-36 text-sm",
|
|
34
34
|
placeholder: y(g),
|
|
35
|
-
"model-value":
|
|
35
|
+
"model-value": t.searchQuery,
|
|
36
36
|
"onUpdate:modelValue": D,
|
|
37
37
|
onKeydown: T
|
|
38
|
-
}, null, 8, ["placeholder", "model-value"]),
|
|
39
|
-
u("span", L, v(
|
|
38
|
+
}, null, 8, ["placeholder", "model-value"]), t.searchQuery ? (h(), l(a, { key: 0 }, [
|
|
39
|
+
u("span", L, v(t.searchHits.hitCount > 0 ? `${t.searchHits.hitIndex + 1}/${t.searchHits.hitCount}` : "0/0"), 1),
|
|
40
40
|
d(r, {
|
|
41
41
|
variant: "ghost",
|
|
42
42
|
color: "default",
|
|
43
43
|
class: "size-7",
|
|
44
44
|
"aria-label": y(w),
|
|
45
45
|
tooltip: y(w),
|
|
46
|
-
onClick: i[0] ||= (
|
|
46
|
+
onClick: i[0] ||= (e) => t.searchHits.jump(-1)
|
|
47
47
|
}, {
|
|
48
48
|
default: S(() => [d(y(E))]),
|
|
49
49
|
_: 1
|
|
@@ -54,18 +54,18 @@ var L = { class: "min-w-10 text-center text-muted-foreground text-xs" }, R = /*
|
|
|
54
54
|
class: "size-7",
|
|
55
55
|
"aria-label": y(_),
|
|
56
56
|
tooltip: y(_),
|
|
57
|
-
onClick: i[1] ||= (
|
|
57
|
+
onClick: i[1] ||= (e) => t.searchHits.jump(1)
|
|
58
58
|
}, {
|
|
59
59
|
default: S(() => [d(y(C))]),
|
|
60
60
|
_: 1
|
|
61
61
|
}, 8, ["aria-label", "tooltip"])
|
|
62
62
|
], 64)) : c("", !0)], 512)) : c("", !0), d(r, {
|
|
63
|
-
variant:
|
|
63
|
+
variant: t.searchOpen ? "tonal" : "ghost",
|
|
64
64
|
color: "default",
|
|
65
65
|
"aria-label": y(g),
|
|
66
|
-
"aria-pressed":
|
|
66
|
+
"aria-pressed": t.searchOpen,
|
|
67
67
|
tooltip: y(f)("material.pdf-reader.search-shortcut", "Search (Ctrl+F)"),
|
|
68
|
-
onClick: i[2] ||= (
|
|
68
|
+
onClick: i[2] ||= (e) => s("search-open-change", !t.searchOpen)
|
|
69
69
|
}, {
|
|
70
70
|
default: S(() => [d(y(N))]),
|
|
71
71
|
_: 1
|
|
@@ -176,7 +176,7 @@ var L = { class: "min-w-10 text-center text-muted-foreground text-xs" }, R = /*
|
|
|
176
176
|
"nextPage",
|
|
177
177
|
"goToPage"
|
|
178
178
|
],
|
|
179
|
-
setup(
|
|
179
|
+
setup(t, { emit: n }) {
|
|
180
180
|
let o = n, { t: s } = i(), c = g(""), f = s("material.pdf-reader.previous-page", "Previous page"), p = s("material.pdf-reader.next-page", "Next page"), m = s("material.pdf-reader.current-page", "Current page");
|
|
181
181
|
function _() {
|
|
182
182
|
let e = Number.parseInt(c.value, 10);
|
|
@@ -191,7 +191,7 @@ var L = { class: "min-w-10 text-center text-muted-foreground text-xs" }, R = /*
|
|
|
191
191
|
color: "default",
|
|
192
192
|
"aria-label": y(f),
|
|
193
193
|
tooltip: y(f),
|
|
194
|
-
disabled:
|
|
194
|
+
disabled: t.currentPage <= 1,
|
|
195
195
|
onClick: i[0] ||= (e) => o("prevPage")
|
|
196
196
|
}, {
|
|
197
197
|
default: S(() => [d(y(w))]),
|
|
@@ -201,20 +201,20 @@ var L = { class: "min-w-10 text-center text-muted-foreground text-xs" }, R = /*
|
|
|
201
201
|
"tooltip",
|
|
202
202
|
"disabled"
|
|
203
203
|
]),
|
|
204
|
-
u("div", B, [d(
|
|
204
|
+
u("div", B, [d(e, {
|
|
205
205
|
class: "h-7 w-12 px-1 py-0 text-center text-sm",
|
|
206
|
-
"model-value": c.value ||
|
|
206
|
+
"model-value": c.value || t.currentPage,
|
|
207
207
|
"aria-label": y(m),
|
|
208
208
|
"onUpdate:modelValue": i[1] ||= (e) => c.value = String(e),
|
|
209
209
|
onKeydown: b,
|
|
210
210
|
onBlur: _
|
|
211
|
-
}, null, 8, ["model-value", "aria-label"]), u("span", V, "/ " + v(
|
|
211
|
+
}, null, 8, ["model-value", "aria-label"]), u("span", V, "/ " + v(t.numPages), 1)]),
|
|
212
212
|
d(r, {
|
|
213
213
|
variant: "ghost",
|
|
214
214
|
color: "default",
|
|
215
215
|
"aria-label": y(p),
|
|
216
216
|
tooltip: y(p),
|
|
217
|
-
disabled:
|
|
217
|
+
disabled: t.currentPage >= t.numPages,
|
|
218
218
|
onClick: i[2] ||= (e) => o("nextPage")
|
|
219
219
|
}, {
|
|
220
220
|
default: S(() => [d(y(T))]),
|
|
@@ -428,6 +428,6 @@ var L = { class: "min-w-10 text-center text-muted-foreground text-xs" }, R = /*
|
|
|
428
428
|
])
|
|
429
429
|
], 2));
|
|
430
430
|
}
|
|
431
|
-
}), J = /* @__PURE__ */
|
|
431
|
+
}), J = /* @__PURE__ */ t({ default: () => Y }), Y = q;
|
|
432
432
|
//#endregion
|
|
433
433
|
export { J as n, Y as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Zu as e, _ as t, f as n, g as r, m as i, p as a, v as o, y as s } from "./components-DEA4ui-c.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
|
|
@@ -13,6 +13,7 @@ export const COMPONENT_NAMES = [
|
|
|
13
13
|
'Activity',
|
|
14
14
|
'ActivityContent',
|
|
15
15
|
'ActivityLayout',
|
|
16
|
+
'AlbumCard',
|
|
16
17
|
'Alert',
|
|
17
18
|
'AlertDialog',
|
|
18
19
|
'AlertDialogAction',
|
|
@@ -169,6 +170,7 @@ export const COMPONENT_NAMES = [
|
|
|
169
170
|
'DateFormField',
|
|
170
171
|
'DateRangeField',
|
|
171
172
|
'DateRangeFormField',
|
|
173
|
+
'DeltaListCard',
|
|
172
174
|
'Description',
|
|
173
175
|
'Dialog',
|
|
174
176
|
'DialogClose',
|
|
@@ -249,6 +251,7 @@ export const COMPONENT_NAMES = [
|
|
|
249
251
|
'EmptyState',
|
|
250
252
|
'EntityHeader',
|
|
251
253
|
'EventCalendar',
|
|
254
|
+
'EventCard',
|
|
252
255
|
'EventChip',
|
|
253
256
|
'ExtendedLabel',
|
|
254
257
|
'FeatureCard',
|
|
@@ -312,6 +315,7 @@ export const COMPONENT_NAMES = [
|
|
|
312
315
|
'LightboxGallery',
|
|
313
316
|
'LineChart',
|
|
314
317
|
'LinkButton',
|
|
318
|
+
'LinkCard',
|
|
315
319
|
'ListTile',
|
|
316
320
|
'LoadMoreButton',
|
|
317
321
|
'MediaCard',
|
|
@@ -474,11 +478,13 @@ export const COMPONENT_NAMES = [
|
|
|
474
478
|
'SortableList',
|
|
475
479
|
'SortableListFormField',
|
|
476
480
|
'SortableProvider',
|
|
481
|
+
'SparkbarCard',
|
|
477
482
|
'Sparkline',
|
|
478
483
|
'Spinner',
|
|
479
484
|
'SplitButton',
|
|
480
485
|
'SplitCard',
|
|
481
486
|
'SpotlightCard',
|
|
487
|
+
'StackCard',
|
|
482
488
|
'StatCard',
|
|
483
489
|
'StatusIndicator',
|
|
484
490
|
'Stepper',
|
|
@@ -509,6 +515,7 @@ export const COMPONENT_NAMES = [
|
|
|
509
515
|
'TabsContent',
|
|
510
516
|
'TabsList',
|
|
511
517
|
'TabsTrigger',
|
|
518
|
+
'TagCard',
|
|
512
519
|
'TextField',
|
|
513
520
|
'TextFormField',
|
|
514
521
|
'Textarea',
|