pdf-tsx 0.11.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.
Files changed (73) hide show
  1. package/README.md +43 -2
  2. package/dist/cjs/components/PDFViewer.cjs +1 -1
  3. package/dist/cjs/components/PDFViewer.module.cjs +1 -1
  4. package/dist/cjs/components/features/PDFAnnotations.cjs +1 -1
  5. package/dist/cjs/components/features/PDFAnnotations.module.cjs +1 -1
  6. package/dist/cjs/components/features/PDFAttachments.cjs +1 -1
  7. package/dist/cjs/components/features/PDFChangeFile.cjs +1 -1
  8. package/dist/cjs/components/features/PDFDownloadButton.cjs +1 -1
  9. package/dist/cjs/components/features/PDFNavigation.cjs +1 -1
  10. package/dist/cjs/components/features/PDFOutline.cjs +1 -1
  11. package/dist/cjs/components/features/PDFPageFit.cjs +1 -1
  12. package/dist/cjs/components/features/PDFPrintButton.cjs +1 -1
  13. package/dist/cjs/components/features/PDFRotationControl.cjs +1 -1
  14. package/dist/cjs/components/features/PDFSearch.cjs +1 -1
  15. package/dist/cjs/components/features/PDFSidebarToggle.cjs +1 -1
  16. package/dist/cjs/components/features/PDFSignatures.cjs +1 -1
  17. package/dist/cjs/components/features/PDFThemeToggle.cjs +1 -1
  18. package/dist/cjs/components/features/PDFThumbnails.cjs +1 -1
  19. package/dist/cjs/components/features/PDFZoomControls.cjs +1 -1
  20. package/dist/cjs/components/ui/PDFToolbar.cjs +1 -1
  21. package/dist/cjs/context/LabelsContext.cjs +1 -0
  22. package/dist/cjs/context/labelsContextValue.cjs +1 -0
  23. package/dist/cjs/hooks/useAnnotationLayer.cjs +1 -1
  24. package/dist/cjs/hooks/useAnnotations.cjs +1 -1
  25. package/dist/cjs/hooks/useLabels.cjs +1 -0
  26. package/dist/cjs/index.cjs +1 -1
  27. package/dist/cjs/labels.cjs +1 -0
  28. package/dist/cjs/pdf-tsx.css +1 -1
  29. package/dist/components/PDFViewer.d.ts +1 -0
  30. package/dist/components/features/PDFChangeFile.d.ts +1 -1
  31. package/dist/components/features/PDFDownloadButton.d.ts +1 -1
  32. package/dist/components/features/PDFNavigation.d.ts +1 -1
  33. package/dist/components/features/PDFPageFit.d.ts +1 -1
  34. package/dist/components/features/PDFPrintButton.d.ts +1 -1
  35. package/dist/components/features/PDFRotationControl.d.ts +1 -1
  36. package/dist/components/features/PDFSearch.d.ts +3 -2
  37. package/dist/components/features/PDFSidebarToggle.d.ts +1 -1
  38. package/dist/components/features/PDFThemeToggle.d.ts +1 -1
  39. package/dist/components/features/PDFZoomControls.d.ts +1 -1
  40. package/dist/context/LabelsContext.d.ts +7 -0
  41. package/dist/context/labelsContextValue.d.ts +2 -0
  42. package/dist/es/components/PDFViewer.js +309 -191
  43. package/dist/es/components/PDFViewer.module.js +21 -16
  44. package/dist/es/components/features/PDFAnnotations.js +132 -62
  45. package/dist/es/components/features/PDFAnnotations.module.js +12 -12
  46. package/dist/es/components/features/PDFAttachments.js +42 -41
  47. package/dist/es/components/features/PDFChangeFile.js +17 -16
  48. package/dist/es/components/features/PDFDownloadButton.js +15 -14
  49. package/dist/es/components/features/PDFNavigation.js +39 -38
  50. package/dist/es/components/features/PDFOutline.js +46 -45
  51. package/dist/es/components/features/PDFPageFit.js +19 -18
  52. package/dist/es/components/features/PDFPrintButton.js +14 -13
  53. package/dist/es/components/features/PDFRotationControl.js +12 -11
  54. package/dist/es/components/features/PDFSearch.js +71 -55
  55. package/dist/es/components/features/PDFSidebarToggle.js +13 -12
  56. package/dist/es/components/features/PDFSignatures.js +87 -84
  57. package/dist/es/components/features/PDFThemeToggle.js +12 -11
  58. package/dist/es/components/features/PDFThumbnails.js +33 -32
  59. package/dist/es/components/features/PDFZoomControls.js +23 -22
  60. package/dist/es/components/ui/PDFToolbar.js +56 -55
  61. package/dist/es/context/LabelsContext.js +14 -0
  62. package/dist/es/context/labelsContextValue.js +5 -0
  63. package/dist/es/hooks/useAnnotationLayer.js +37 -20
  64. package/dist/es/hooks/useAnnotations.js +5 -3
  65. package/dist/es/hooks/useLabels.js +9 -0
  66. package/dist/es/index.js +22 -21
  67. package/dist/es/labels.js +124 -0
  68. package/dist/es/pdf-tsx.css +1 -1
  69. package/dist/hooks/useAnnotationLayer.d.ts +15 -1
  70. package/dist/hooks/useLabels.d.ts +2 -0
  71. package/dist/index.d.ts +2 -0
  72. package/dist/labels.d.ts +51 -0
  73. package/package.json +2 -1
@@ -1,11 +1,12 @@
1
1
  import { usePDFViewer as e } from "../../context/PDFViewerContext.js";
2
- import { useOutline as t } from "../../hooks/useOutline.js";
3
- import { IconChevronDown as n, IconChevronRight as r } from "../ui/icons.js";
4
- import i from "./PDFOutline.module.js";
5
- import { memo as a, useCallback as o, useMemo as s, useState as c } from "react";
6
- import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
2
+ import { useLabels as t } from "../../hooks/useLabels.js";
3
+ import { useOutline as n } from "../../hooks/useOutline.js";
4
+ import { IconChevronDown as r, IconChevronRight as i } from "../ui/icons.js";
5
+ import a from "./PDFOutline.module.js";
6
+ import { memo as o, useCallback as s, useMemo as c, useState as l } from "react";
7
+ import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
7
8
  //#region src/components/features/PDFOutline.tsx
8
- async function f(e, t) {
9
+ async function p(e, t) {
9
10
  if (!e || !t) return null;
10
11
  try {
11
12
  let n = typeof t == "string" ? await e.getDestination(t) : t;
@@ -19,78 +20,78 @@ async function f(e, t) {
19
20
  return null;
20
21
  }
21
22
  }
22
- var p = a(function e({ node: t, depth: a, onNavigate: f }) {
23
- let [p, m] = c(a === 0), h = t.items.length > 0, g = o((e) => {
23
+ var m = o(function e({ node: t, depth: n, onNavigate: o }) {
24
+ let [p, m] = l(n === 0), h = t.items.length > 0, g = s((e) => {
24
25
  e.stopPropagation(), m((e) => !e);
25
- }, []), _ = o(() => f(t.dest), [f, t.dest]), v = s(() => ({
26
- paddingLeft: 12 + a * 14,
26
+ }, []), _ = s(() => o(t.dest), [o, t.dest]), v = c(() => ({
27
+ paddingLeft: 12 + n * 14,
27
28
  fontWeight: t.bold ? 600 : 400,
28
29
  fontStyle: t.italic ? "italic" : "normal"
29
30
  }), [
30
- a,
31
+ n,
31
32
  t.bold,
32
33
  t.italic
33
34
  ]);
34
- return /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ d("div", {
35
- className: i.row,
35
+ return /* @__PURE__ */ f(u, { children: [/* @__PURE__ */ f("div", {
36
+ className: a.row,
36
37
  style: v,
37
38
  onClick: _,
38
- children: [h ? /* @__PURE__ */ u("button", {
39
- className: i.chevronBtn,
39
+ children: [h ? /* @__PURE__ */ d("button", {
40
+ className: a.chevronBtn,
40
41
  onClick: g,
41
- children: u(p ? n : r, { size: 12 })
42
- }) : /* @__PURE__ */ u("span", { style: {
42
+ children: d(p ? r : i, { size: 12 })
43
+ }) : /* @__PURE__ */ d("span", { style: {
43
44
  width: 16,
44
45
  flexShrink: 0
45
- } }), /* @__PURE__ */ u("span", {
46
- className: i.title,
46
+ } }), /* @__PURE__ */ d("span", {
47
+ className: a.title,
47
48
  title: t.title,
48
49
  children: t.title
49
50
  })]
50
- }), p && t.items.map((t, n) => /* @__PURE__ */ u(e, {
51
+ }), p && t.items.map((t, r) => /* @__PURE__ */ d(e, {
51
52
  node: t,
52
- depth: a + 1,
53
- onNavigate: f
54
- }, n))] });
53
+ depth: n + 1,
54
+ onNavigate: o
55
+ }, r))] });
55
56
  });
56
- function m() {
57
- let { pdf: n, zoom: r, rotation: a, goToPage: s } = e(), { outline: c, loading: l } = t({ pdf: n }), m = o(async (e) => {
58
- let t = await f(n, e);
57
+ function h() {
58
+ let { pdf: r, zoom: i, rotation: o, goToPage: c } = e(), l = t(), { outline: u, loading: h } = n({ pdf: r }), g = s(async (e) => {
59
+ let t = await p(r, e);
59
60
  if (t) {
60
61
  if (t.pdfTop !== null) try {
61
- let [, e] = (await n.getPage(t.page)).getViewport({
62
- scale: r,
63
- rotation: a
62
+ let [, e] = (await r.getPage(t.page)).getViewport({
63
+ scale: i,
64
+ rotation: o
64
65
  }).convertToViewportPoint(0, t.pdfTop);
65
- s(t.page, e);
66
+ c(t.page, e);
66
67
  return;
67
68
  } catch {}
68
- s(t.page);
69
+ c(t.page);
69
70
  }
70
71
  }, [
71
- n,
72
72
  r,
73
- a,
74
- s
73
+ i,
74
+ o,
75
+ c
75
76
  ]);
76
- return /* @__PURE__ */ d("div", {
77
- className: i.tree,
77
+ return /* @__PURE__ */ f("div", {
78
+ className: a.tree,
78
79
  children: [
79
- l && /* @__PURE__ */ u("div", {
80
- className: i.emptyState,
81
- children: "Caricamento..."
80
+ h && /* @__PURE__ */ d("div", {
81
+ className: a.emptyState,
82
+ children: l.outlineLoading
82
83
  }),
83
- !l && c.length === 0 && /* @__PURE__ */ u("div", {
84
- className: i.emptyState,
85
- children: "Nessun segnalibro disponibile."
84
+ !h && u.length === 0 && /* @__PURE__ */ d("div", {
85
+ className: a.emptyState,
86
+ children: l.outlineEmpty
86
87
  }),
87
- !l && c.map((e, t) => /* @__PURE__ */ u(p, {
88
+ !h && u.map((e, t) => /* @__PURE__ */ d(m, {
88
89
  node: e,
89
90
  depth: 0,
90
- onNavigate: m
91
+ onNavigate: g
91
92
  }, t))
92
93
  ]
93
94
  });
94
95
  }
95
96
  //#endregion
96
- export { m as PDFOutline };
97
+ export { h as PDFOutline };
@@ -1,29 +1,30 @@
1
1
  import { usePDFViewer as e } from "../../context/PDFViewerContext.js";
2
2
  import { computeFit as t } from "../../utils/pdfFit.js";
3
- import { ToolbarButton as n } from "../ui/ToolbarButton.js";
4
- import { useCallback as r } from "react";
5
- import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
3
+ import { useLabels as n } from "../../hooks/useLabels.js";
4
+ import { ToolbarButton as r } from "../ui/ToolbarButton.js";
5
+ import { useCallback as i } from "react";
6
+ import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
6
7
  //#region src/components/features/PDFPageFit.tsx
7
- function s({ fitWidthIcon: s, fitPageIcon: c }) {
8
- let { pdf: l, rotation: u, setZoom: d, setFitMode: f, containerRef: p } = e(), m = r(async (e) => {
9
- !l || !p.current || (f(e), d(await t(e, l, p.current, u)));
8
+ function c({ fitWidthIcon: c, fitPageIcon: l }) {
9
+ let { pdf: u, rotation: d, setZoom: f, setFitMode: p, containerRef: m } = e(), h = n(), g = i(async (e) => {
10
+ !u || !m.current || (p(e), f(await t(e, u, m.current, d)));
10
11
  }, [
11
- l,
12
12
  u,
13
13
  d,
14
14
  f,
15
- p
16
- ]), h = r(() => m("width"), [m]), g = r(() => m("page"), [m]);
17
- return /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a(n, {
18
- onClick: h,
19
- title: "Adatta alla larghezza",
20
- children: s
21
- }), /* @__PURE__ */ a(n, {
22
- onClick: g,
23
- title: "Adatta pagina intera",
15
+ p,
16
+ m
17
+ ]), _ = i(() => g("width"), [g]), v = i(() => g("page"), [g]);
18
+ return /* @__PURE__ */ s(a, { children: [/* @__PURE__ */ o(r, {
19
+ onClick: _,
20
+ title: h.fitWidthTitle,
24
21
  children: c
22
+ }), /* @__PURE__ */ o(r, {
23
+ onClick: v,
24
+ title: h.fitPageTitle,
25
+ children: l
25
26
  })] });
26
27
  }
27
- s.toolbarLabel = "Adatta";
28
+ c.toolbarLabelKey = "fitToolbarLabel";
28
29
  //#endregion
29
- export { s as PDFPageFit };
30
+ export { c as PDFPageFit };
@@ -1,24 +1,25 @@
1
1
  import { usePDFViewer as e } from "../../context/PDFViewerContext.js";
2
- import { ToolbarButton as t } from "../ui/ToolbarButton.js";
3
- import { useCallback as n } from "react";
4
- import { jsx as r } from "react/jsx-runtime";
2
+ import { useLabels as t } from "../../hooks/useLabels.js";
3
+ import { ToolbarButton as n } from "../ui/ToolbarButton.js";
4
+ import { useCallback as r } from "react";
5
+ import { jsx as i } from "react/jsx-runtime";
5
6
  //#region src/components/features/PDFPrintButton.tsx
6
- function i({ icon: i }) {
7
- let { file: a } = e();
8
- return /* @__PURE__ */ r(t, {
9
- onClick: n(() => {
10
- let e = URL.createObjectURL(a), t = document.createElement("iframe");
7
+ function a({ icon: a }) {
8
+ let { file: o } = e(), s = t();
9
+ return /* @__PURE__ */ i(n, {
10
+ onClick: r(() => {
11
+ let e = URL.createObjectURL(o), t = document.createElement("iframe");
11
12
  t.style.display = "none", t.src = e, document.body.appendChild(t), t.onload = () => {
12
13
  let n = !1, r = () => {
13
14
  n || (n = !0, t.remove(), URL.revokeObjectURL(e));
14
15
  };
15
16
  t.contentWindow?.addEventListener("afterprint", r, { once: !0 }), setTimeout(r, 6e4), t.contentWindow?.print();
16
17
  };
17
- }, [a]),
18
- title: "Stampa PDF",
19
- children: i
18
+ }, [o]),
19
+ title: s.printTitle,
20
+ children: a
20
21
  });
21
22
  }
22
- i.toolbarLabel = "Stampa";
23
+ a.toolbarLabelKey = "printToolbarLabel";
23
24
  //#endregion
24
- export { i as PDFPrintButton };
25
+ export { a as PDFPrintButton };
@@ -1,16 +1,17 @@
1
1
  import { usePDFViewer as e } from "../../context/PDFViewerContext.js";
2
- import { ToolbarButton as t } from "../ui/ToolbarButton.js";
3
- import { useCallback as n } from "react";
4
- import { jsx as r } from "react/jsx-runtime";
2
+ import { useLabels as t } from "../../hooks/useLabels.js";
3
+ import { ToolbarButton as n } from "../ui/ToolbarButton.js";
4
+ import { useCallback as r } from "react";
5
+ import { jsx as i } from "react/jsx-runtime";
5
6
  //#region src/components/features/PDFRotationControl.tsx
6
- function i({ icon: i }) {
7
- let { setRotation: a } = e();
8
- return /* @__PURE__ */ r(t, {
9
- onClick: n(() => a((e) => (e + 90) % 360), [a]),
10
- title: "Ruota documento",
11
- children: i
7
+ function a({ icon: a }) {
8
+ let { setRotation: o } = e(), s = t();
9
+ return /* @__PURE__ */ i(n, {
10
+ onClick: r(() => o((e) => (e + 90) % 360), [o]),
11
+ title: s.rotateTitle,
12
+ children: a
12
13
  });
13
14
  }
14
- i.toolbarLabel = "Ruota";
15
+ a.toolbarLabelKey = "rotateToolbarLabel";
15
16
  //#endregion
16
- export { i as PDFRotationControl };
17
+ export { a as PDFRotationControl };
@@ -1,73 +1,89 @@
1
1
  import { usePDFViewer as e } from "../../context/PDFViewerContext.js";
2
- import { useTextSearch as t } from "../../hooks/useTextSearch.js";
3
- import n from "./PDFSearch.module.js";
4
- import { useCallback as r, useEffect as i, useState as a } from "react";
5
- import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
2
+ import { useLabels as t } from "../../hooks/useLabels.js";
3
+ import { useTextSearch as n } from "../../hooks/useTextSearch.js";
4
+ import r from "./PDFSearch.module.js";
5
+ import { useCallback as i, useEffect as a, useRef as o, useState as s } from "react";
6
+ import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
6
7
  //#region src/components/features/PDFSearch.tsx
7
- var l = [];
8
- function u({ searchIcon: u, prevIcon: d, nextIcon: f, clearIcon: p }) {
9
- let { pdf: m, goToPage: h, setHighlight: g, setSearchMatches: _ } = e(), [v, y] = a(""), [b, x] = a(0), { matches: S, searching: C } = t({
10
- pdf: m,
11
- query: v
12
- }), w = S.length;
13
- i(() => (_(S), () => _(l)), [S, _]);
14
- let T = r((e) => {
15
- let t = (e + w) % w;
16
- x(t);
17
- let n = S[t];
18
- h(n.page), g({
8
+ var d = [];
9
+ function f({ searchIcon: f, prevIcon: p, nextIcon: m, clearIcon: h, initialSearch: g }) {
10
+ let { pdf: _, goToPage: v, setHighlight: y, setSearchMatches: b } = e(), x = t(), [S, C] = s(g ?? ""), [w, T] = s(0), { matches: E, searching: D } = n({
11
+ pdf: _,
12
+ query: S
13
+ }), O = o(!1), k = E.length;
14
+ a(() => (b(E), () => b(d)), [E, b]), a(() => {
15
+ if (g && !O.current && !D && E.length > 0) {
16
+ O.current = !0;
17
+ let e = E[0];
18
+ v(e.page), y({
19
+ page: e.page,
20
+ pdfRect: e.pdfRect
21
+ });
22
+ }
23
+ }, [
24
+ g,
25
+ D,
26
+ E,
27
+ v,
28
+ y
29
+ ]);
30
+ let A = i((e) => {
31
+ let t = (e + k) % k;
32
+ T(t);
33
+ let n = E[t];
34
+ v(n.page), y({
19
35
  page: n.page,
20
36
  pdfRect: n.pdfRect
21
37
  });
22
38
  }, [
23
- w,
24
- S,
25
- h,
26
- g
27
- ]), E = r((e) => {
28
- y(e.target.value), x(0), g(null);
29
- }, [g]), D = r(() => {
30
- y(""), x(0), g(null);
31
- }, [g]);
32
- return /* @__PURE__ */ c("div", {
33
- className: n.wrapper,
39
+ k,
40
+ E,
41
+ v,
42
+ y
43
+ ]), j = i((e) => {
44
+ C(e.target.value), T(0), y(null);
45
+ }, [y]), M = i(() => {
46
+ C(""), T(0), y(null);
47
+ }, [y]);
48
+ return /* @__PURE__ */ u("div", {
49
+ className: r.wrapper,
34
50
  children: [
35
- /* @__PURE__ */ s("span", {
36
- className: n.searchIconWrapper,
37
- children: u
51
+ /* @__PURE__ */ l("span", {
52
+ className: r.searchIconWrapper,
53
+ children: f
38
54
  }),
39
- /* @__PURE__ */ s("input", {
40
- className: n.searchInput,
41
- value: v,
42
- onChange: E,
43
- placeholder: "Cerca nel documento..."
55
+ /* @__PURE__ */ l("input", {
56
+ className: r.searchInput,
57
+ value: S,
58
+ onChange: j,
59
+ placeholder: x.searchPlaceholder
44
60
  }),
45
- v && /* @__PURE__ */ c(o, { children: [
46
- /* @__PURE__ */ s("span", {
47
- className: n.counter,
48
- children: C ? "…" : w === 0 ? "0" : `${b + 1}/${w}`
61
+ S && /* @__PURE__ */ u(c, { children: [
62
+ /* @__PURE__ */ l("span", {
63
+ className: r.counter,
64
+ children: D ? "…" : k === 0 ? "0" : `${w + 1}/${k}`
49
65
  }),
50
- /* @__PURE__ */ s("button", {
51
- className: n.navButton,
52
- onClick: () => T(b - 1),
53
- disabled: w === 0,
54
- children: d
66
+ /* @__PURE__ */ l("button", {
67
+ className: r.navButton,
68
+ onClick: () => A(w - 1),
69
+ disabled: k === 0,
70
+ children: p
55
71
  }),
56
- /* @__PURE__ */ s("button", {
57
- className: n.navButton,
58
- onClick: () => T(b + 1),
59
- disabled: w === 0,
60
- children: f
72
+ /* @__PURE__ */ l("button", {
73
+ className: r.navButton,
74
+ onClick: () => A(w + 1),
75
+ disabled: k === 0,
76
+ children: m
61
77
  }),
62
- /* @__PURE__ */ s("button", {
63
- className: n.navButton,
64
- onClick: D,
65
- children: p
78
+ /* @__PURE__ */ l("button", {
79
+ className: r.navButton,
80
+ onClick: M,
81
+ children: h
66
82
  })
67
83
  ] })
68
84
  ]
69
85
  });
70
86
  }
71
- u.toolbarLabel = "Cerca";
87
+ f.toolbarLabelKey = "searchToolbarLabel";
72
88
  //#endregion
73
- export { u as PDFSearch };
89
+ export { f as PDFSearch };
@@ -1,17 +1,18 @@
1
1
  import { usePDFViewer as e } from "../../context/PDFViewerContext.js";
2
- import t from "../ui/ToolbarButton.module.js";
3
- import { useCallback as n } from "react";
4
- import { jsx as r } from "react/jsx-runtime";
2
+ import { useLabels as t } from "../../hooks/useLabels.js";
3
+ import n from "../ui/ToolbarButton.module.js";
4
+ import { useCallback as r } from "react";
5
+ import { jsx as i } from "react/jsx-runtime";
5
6
  //#region src/components/features/PDFSidebarToggle.tsx
6
- function i({ collapseIcon: i, expandIcon: a }) {
7
- let { sidebarCollapsed: o, setSidebarCollapsed: s } = e(), c = o ? a ?? i : i, l = o ? "Espandi sidebar" : "Comprimi sidebar", u = n(() => s((e) => !e), [s]);
8
- return /* @__PURE__ */ r("button", {
9
- className: t.btn,
10
- onClick: u,
11
- title: l,
12
- children: c
7
+ function a({ collapseIcon: a, expandIcon: o }) {
8
+ let { sidebarCollapsed: s, setSidebarCollapsed: c } = e(), l = t(), u = s ? o ?? a : a, d = s ? l.expandSidebarTitle : l.collapseSidebarTitle, f = r(() => c((e) => !e), [c]);
9
+ return /* @__PURE__ */ i("button", {
10
+ className: n.btn,
11
+ onClick: f,
12
+ title: d,
13
+ children: u
13
14
  });
14
15
  }
15
- i.toolbarLabel = "Sidebar";
16
+ a.toolbarLabelKey = "sidebarToolbarLabel";
16
17
  //#endregion
17
- export { i as PDFSidebarToggle };
18
+ export { a as PDFSidebarToggle };