@react-pdf-kit/viewer 2.0.0-beta.7 → 2.0.0-beta.8
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/dist/{ToolbarLayout.module-5b868e64.js → ToolbarLayout.module-0aa7a2aa.js} +81 -81
- package/dist/assets/style.css +1 -1
- package/dist/assets/style.js +1 -1
- package/dist/components/RPController.js +5 -5
- package/dist/components/RPPages.js +5 -5
- package/dist/components/RPProvider.js +5 -5
- package/dist/components/layout/LayoutContainer.js +5 -5
- package/dist/components/layout/RPDefaultLayout.js +5 -5
- package/dist/components/layout/RPLayout.js +7 -7
- package/dist/components/layout/sidebar/RPSidebar.js +4 -4
- package/dist/components/layout/sidebar/Thumbnail.js +5 -5
- package/dist/components/layout/sidebar/Thumbnails.js +5 -5
- package/dist/components/layout/toolbar/DarkModeTool.js +2 -2
- package/dist/components/layout/toolbar/DocumentDialog.js +5 -5
- package/dist/components/layout/toolbar/DocumentProperties.js +3 -3
- package/dist/components/layout/toolbar/FileDownloadTool.js +4 -4
- package/dist/components/layout/toolbar/FileUploadTool.js +3 -3
- package/dist/components/layout/toolbar/FullScreenTool.js +3 -3
- package/dist/components/layout/toolbar/MenuItem.js +3 -3
- package/dist/components/layout/toolbar/MenuSeparator.js +3 -3
- package/dist/components/layout/toolbar/MostPageTool.js +5 -5
- package/dist/components/layout/toolbar/OtherTool.js +4 -4
- package/dist/components/layout/toolbar/Paginate.js +4 -4
- package/dist/components/layout/toolbar/PrintTool.js +4 -4
- package/dist/components/layout/toolbar/RPMenuItem.js +3 -3
- package/dist/components/layout/toolbar/RPMoreOptions.js +4 -4
- package/dist/components/layout/toolbar/RPToolbar.js +5 -5
- package/dist/components/layout/toolbar/RPToolbarEnd.js +4 -4
- package/dist/components/layout/toolbar/RotateTool.js +3 -3
- package/dist/components/layout/toolbar/ScrollModeTool.js +3 -3
- package/dist/components/layout/toolbar/SearchCloseButton.js +2 -2
- package/dist/components/layout/toolbar/SearchResultNavigator.js +4 -4
- package/dist/components/layout/toolbar/SearchTool.js +4 -4
- package/dist/components/layout/toolbar/SelectionModeTool.js +3 -3
- package/dist/components/layout/toolbar/ThumbnailTool.js +4 -4
- package/dist/components/layout/toolbar/ToolbarCustom.js +5 -5
- package/dist/components/layout/toolbar/ToolbarDefault.js +5 -5
- package/dist/components/layout/toolbar/ToolbarLayout.js +5 -5
- package/dist/components/layout/toolbar/ViewModeTool.js +3 -3
- package/dist/components/layout/toolbar/ZoomTool.js +4 -4
- package/dist/components/layout/toolbar/tools/DocumentPropertiesTool.js +4 -4
- package/dist/components/layout/toolbar/tools/DualPageTool.js +4 -4
- package/dist/components/layout/toolbar/tools/FileDownloadTool.js +4 -4
- package/dist/components/layout/toolbar/tools/FileUploadTool.js +2 -2
- package/dist/components/layout/toolbar/tools/FullScreenTool.js +2 -2
- package/dist/components/layout/toolbar/tools/InputPageTool.js +4 -4
- package/dist/components/layout/toolbar/tools/NextPageTool.js +5 -5
- package/dist/components/layout/toolbar/tools/PreviousPageTool.js +4 -4
- package/dist/components/layout/toolbar/tools/PrintTool.js +4 -4
- package/dist/components/layout/toolbar/tools/RotateClockwiseTool.js +2 -2
- package/dist/components/layout/toolbar/tools/RotateCounterclockwiseTool.js +2 -2
- package/dist/components/layout/toolbar/tools/SelectionModeSwitcherTool.js +2 -2
- package/dist/components/layout/toolbar/tools/SinglePageTool.js +4 -4
- package/dist/components/layout/toolbar/tools/ThemeSwitcherTool.js +2 -2
- package/dist/components/layout/toolbar/tools/ThumbnailTool.js +4 -4
- package/dist/components/layout/toolbar/tools/ZoomInTool.js +2 -2
- package/dist/components/layout/toolbar/tools/ZoomLevelDisplay.js +5 -5
- package/dist/components/layout/toolbar/tools/ZoomLevelTool.js +4 -4
- package/dist/components/layout/toolbar/tools/ZoomOutTool.js +2 -2
- package/dist/components/layout/toolbar/tools/defaults/RPHorizontalBar.js +5 -5
- package/dist/components/layout/toolbar/tools/defaults/RPVerticalBar.js +5 -5
- package/dist/components/layout/toolbar/tools/more-options/DocumentProperties.js +3 -3
- package/dist/components/layout/toolbar/tools/more-options/FileDownloadTool.js +4 -4
- package/dist/components/layout/toolbar/tools/more-options/FileUploadTool.js +4 -4
- package/dist/components/layout/toolbar/tools/more-options/FullScreenTool.js +3 -3
- package/dist/components/layout/toolbar/tools/more-options/MostPageTool.js +4 -4
- package/dist/components/layout/toolbar/tools/more-options/PrintTool.js +4 -4
- package/dist/components/layout/toolbar/tools/more-options/RotateTool.js +3 -3
- package/dist/components/layout/toolbar/tools/more-options/ScrollModeTool.js +3 -3
- package/dist/components/layout/toolbar/tools/more-options/SelectionModeTool.js +3 -3
- package/dist/components/layout/toolbar/tools/more-options/ViewModeTool.js +3 -3
- package/dist/components/page/AnnotationLayer.js +5 -5
- package/dist/components/page/CanvasLayer.js +5 -5
- package/dist/components/page/DualPage.js +5 -5
- package/dist/components/page/RPPage.js +5 -5
- package/dist/components/page/SinglePage.js +5 -5
- package/dist/components/page/TextHighlightLayer.js +5 -5
- package/dist/components/page/TextLayer.js +5 -5
- package/dist/components/ui/Checkbox.js +1 -1
- package/dist/components/ui/DropDown.js +3 -3
- package/dist/components/ui/LoadingIndicator.js +5 -5
- package/dist/components/ui/RPTooltip.js +118 -102
- package/dist/contexts/PaginationContext.js +5 -5
- package/dist/contexts/PrintContext.js +5 -5
- package/dist/contexts/RenderQueueProvider.js +5 -5
- package/dist/contexts/SearchContext.js +5 -5
- package/dist/contexts/ThumbnailsContext.js +5 -5
- package/dist/{floating-ui.react-dom-6b2fe0df.js → floating-ui.react-dom-d22a10b4.js} +3 -3
- package/dist/{index-f563c6f0.js → index-3bf64864.js} +97 -100
- package/dist/{index-35c7f4a2.js → index-c9a2990a.js} +3 -3
- package/dist/main.js +92 -94
- package/dist/types/main.d.ts +0 -2
- package/dist/utils/hooks/useFileDownload.js +5 -5
- package/dist/utils/hooks/useLicense.js +1 -1
- package/dist/utils/hooks/usePaginate.js +5 -5
- package/dist/utils/hooks/usePresentPage.js +5 -5
- package/dist/utils/hooks/usePrint.js +5 -5
- package/dist/utils/hooks/useScrollToPage.js +5 -5
- package/dist/utils/hooks/useSearch.js +5 -5
- package/dist/utils/hooks/useThumbnail.js +5 -5
- package/dist/utils/hooks/useVirtualReactWindow.js +5 -5
- package/package.json +1 -1
|
@@ -22,7 +22,7 @@ import "./contexts/FileInputContext.js";
|
|
|
22
22
|
import "./contexts/DropFileZoneContext.js";
|
|
23
23
|
import { findMatches as Co, resetDivs as Po, highlightMatches as yo, isMatchEntireWord as Io } from "./utils/highlight.js";
|
|
24
24
|
import { useLayoutContainer as be } from "./contexts/LayoutContainerContext.js";
|
|
25
|
-
import { useDimensionPagesContext as
|
|
25
|
+
import { useDimensionPagesContext as je } from "./contexts/DimensionPagesContext.js";
|
|
26
26
|
import { useLocalizationContext as de } from "./contexts/LocalizationContext.js";
|
|
27
27
|
import { useHighlightContext as So } from "./contexts/HighlightContext.js";
|
|
28
28
|
import "./contexts/LicenseContext.js";
|
|
@@ -51,11 +51,11 @@ import { useToolbarComponentContext as Te, ToolbarComponentProvider as Go } from
|
|
|
51
51
|
import { RPSplitter as Uo } from "./components/layout/sidebar/RPSplitter.js";
|
|
52
52
|
import { WrapperLayout as Vo } from "./components/layout/WrapperLayout.js";
|
|
53
53
|
import { RPDropFileZone as Bo } from "./components/RPDropFileZone.js";
|
|
54
|
-
import { c as Ce, L as
|
|
55
|
-
import K from "./components/ui/RPTooltip.js";
|
|
54
|
+
import { c as Ce, L as jo } from "./LayoutWrapper-6224491f.js";
|
|
56
55
|
import { c as ne, S as Ht } from "./SearchCloseButton-08d57275.js";
|
|
57
56
|
import { UICheckbox as $t } from "./components/ui/Checkbox.js";
|
|
58
|
-
import { useIconContext as ge, IconProvider as
|
|
57
|
+
import { useIconContext as ge, IconProvider as Zo } from "./contexts/IconContext.js";
|
|
58
|
+
import K from "./components/ui/RPTooltip.js";
|
|
59
59
|
import { UIDropDown as St } from "./components/ui/DropDown.js";
|
|
60
60
|
import { MenuItem as Pe } from "./components/layout/toolbar/MenuItem.js";
|
|
61
61
|
import { MenuSeparator as xt } from "./components/layout/toolbar/MenuSeparator.js";
|
|
@@ -85,9 +85,9 @@ import { appConsole as mr } from "./utils/appConsole.js";
|
|
|
85
85
|
import { FileUploadTool as wn } from "./components/layout/toolbar/FileUploadTool.js";
|
|
86
86
|
import { DarkModeTool as gr } from "./components/layout/toolbar/DarkModeTool.js";
|
|
87
87
|
import { ThreeDotIcon as vr } from "./components/icons/ThreeDotIcon.js";
|
|
88
|
-
import { c as wr, u as Et, P as
|
|
89
|
-
import { D as Cr,
|
|
90
|
-
import { a as Pr, h as yr, u as Ir, F as Sr, b as xr, G as Je } from "./index-
|
|
88
|
+
import { c as wr, u as Et, P as Ze, a as Ge, b as Nt, k as _r, e as br, i as Tr } from "./index-c9a2990a.js";
|
|
89
|
+
import { D as Cr, d as pt } from "./floating-ui.react-dom-d22a10b4.js";
|
|
90
|
+
import { a as Pr, h as yr, u as Ir, F as Sr, b as xr, G as Je } from "./index-3bf64864.js";
|
|
91
91
|
import { CloseIcon as Rr } from "./components/icons/CloseIcon.js";
|
|
92
92
|
import { DocumentProperties as Lr } from "./components/layout/toolbar/DocumentProperties.js";
|
|
93
93
|
import { RotateTool as Er } from "./components/layout/toolbar/RotateTool.js";
|
|
@@ -103,9 +103,9 @@ import { ZoomOutIcon as kr } from "./components/icons/ZoomOutIcon.js";
|
|
|
103
103
|
import { isZoomOutDisabled as Wr, isZoomInDisabled as Mr } from "./utils/zoom.js";
|
|
104
104
|
import { SearchIcon as Tn } from "./components/icons/SearchIcon.js";
|
|
105
105
|
import { ClearIcon as Hr } from "./components/icons/ClearIcon.js";
|
|
106
|
-
import { InfoIcon as
|
|
106
|
+
import { InfoIcon as jt } from "./components/icons/InfoIcon.js";
|
|
107
107
|
const Cn = () => {
|
|
108
|
-
const { viewMode: t } = He(), { scrollMode: e } = ze(), { virtualScrollRef: n, virtualScrollableElementRef: r, pageScrollElementRef: o } = nt(), { setFocusedPage: a } = ue(), c = M(), { columnCount: d } = mn(), { widths: s, heights: m } =
|
|
108
|
+
const { viewMode: t } = He(), { scrollMode: e } = ze(), { virtualScrollRef: n, virtualScrollableElementRef: r, pageScrollElementRef: o } = nt(), { setFocusedPage: a } = ue(), c = M(), { columnCount: d } = mn(), { widths: s, heights: m } = je(), g = M(e), C = M(t), u = M(d), { targetScrollPage: v } = gn();
|
|
109
109
|
z(() => {
|
|
110
110
|
n != null && n.scrollToItem && (c.current = n);
|
|
111
111
|
}, [n]), z(() => {
|
|
@@ -203,7 +203,7 @@ const Cn = () => {
|
|
|
203
203
|
]
|
|
204
204
|
) };
|
|
205
205
|
}, $r = (t = 1) => {
|
|
206
|
-
const [e, n] = H(t), [r, o] = H(0), { scrollToPage: a } = Cn(), c = M(1), { viewMode: d } = He(), { scrollMode: s } = ze(), { widths: m } =
|
|
206
|
+
const [e, n] = H(t), [r, o] = H(0), { scrollToPage: a } = Cn(), c = M(1), { viewMode: d } = He(), { scrollMode: s } = ze(), { widths: m } = je(), { pagesRef: g } = be(), C = Lt(e, 100), u = N(
|
|
207
207
|
(h) => {
|
|
208
208
|
if (!/^[0-9]*$/g.test(h.toString()) || !h)
|
|
209
209
|
return { success: !1, currentPage: c.current };
|
|
@@ -562,7 +562,7 @@ const Cn = () => {
|
|
|
562
562
|
}
|
|
563
563
|
);
|
|
564
564
|
}, Ur = (t = {}, e = "") => {
|
|
565
|
-
const [n, r] = H(e), [o, a] = H(!1), { pdf: c, pages: d } = oe(), { widths: s, heights: m } =
|
|
565
|
+
const [n, r] = H(e), [o, a] = H(!1), { pdf: c, pages: d } = oe(), { widths: s, heights: m } = je(), g = M(!n), { currentZoom: C } = tt(), [u, v] = H([]), { setFocusedPage: P } = ue(), { columnCount: T } = He(), { pageRotate: b } = ot(), [y, p] = H(0), { pageScrollElementRef: h, virtualScrollableElementRef: f } = nt(), { scrollMode: l } = ze(), { pagesRef: w } = be(), _ = M({}), I = M(0), x = k(() => y === 0 ? null : u[y - 1], [y, u]), S = k(() => u.length, [u]), L = N(
|
|
566
566
|
(E) => {
|
|
567
567
|
if (E === 0)
|
|
568
568
|
return;
|
|
@@ -581,11 +581,11 @@ const Cn = () => {
|
|
|
581
581
|
q = We(m, fe), G = We(s, ve);
|
|
582
582
|
}
|
|
583
583
|
l === re.HORIZONTAL_SCROLLING && (G = s.slice(0, R.page - 1).reduce((ee, Y) => ee + Y, 0));
|
|
584
|
-
const
|
|
584
|
+
const j = {
|
|
585
585
|
height: m[R.page - 1],
|
|
586
586
|
width: s[R.page - 1]
|
|
587
587
|
}, V = b[R.page], { leftInPage: ie, topInPage: U } = hr(
|
|
588
|
-
|
|
588
|
+
j,
|
|
589
589
|
w,
|
|
590
590
|
R.rect,
|
|
591
591
|
C,
|
|
@@ -649,7 +649,7 @@ const Cn = () => {
|
|
|
649
649
|
E[q],
|
|
650
650
|
Number(q) - 1,
|
|
651
651
|
t
|
|
652
|
-
).map((
|
|
652
|
+
).map((j, V) => ({ ...j, page: Number(q), pageMatchIdx: V }));
|
|
653
653
|
return [...$, ...G];
|
|
654
654
|
}, []);
|
|
655
655
|
v(F), p(F.length ? 1 : 0);
|
|
@@ -795,12 +795,12 @@ const Cn = () => {
|
|
|
795
795
|
g.removeQueue(C.current);
|
|
796
796
|
};
|
|
797
797
|
}, [a, e, c, s, r, n, g, m]), /* @__PURE__ */ i("canvas", { "data-rp": `page-${e}-canvas`, ref: o });
|
|
798
|
-
}, Br = "
|
|
799
|
-
"rp-text-layer": "_rp-text-
|
|
798
|
+
}, Br = "_selecting_1553j_14", jr = "_markedContent_1553j_37", we = {
|
|
799
|
+
"rp-text-layer": "_rp-text-layer_1553j_1",
|
|
800
800
|
selecting: Br,
|
|
801
|
-
markedContent:
|
|
802
|
-
"rp-text-layer-text": "_rp-text-layer-
|
|
803
|
-
},
|
|
801
|
+
markedContent: jr,
|
|
802
|
+
"rp-text-layer-text": "_rp-text-layer-text_1553j_61"
|
|
803
|
+
}, Zr = (t) => {
|
|
804
804
|
const { pageNumber: e } = t, { pages: n } = oe(), r = M(null), { matches: o, currentMatch: a } = Ot(), [c, d] = H(
|
|
805
805
|
[]
|
|
806
806
|
), s = M(), m = M(), g = M([]), C = k(() => o.filter((p) => p.pageIndex === e - 1), [o, e]), u = N(
|
|
@@ -958,7 +958,7 @@ const Cn = () => {
|
|
|
958
958
|
};
|
|
959
959
|
let Xr = "https://unpkg.com/pdfjs-dist@4.4.168/web/images/";
|
|
960
960
|
const Qr = (t) => {
|
|
961
|
-
const { pageNumber: e } = t, n = M(null), { pages: r, pdf: o } = oe(), { interactiveForm: a } = yt(), c = M(), [d, s] = H(), { goToPage: m } = ue(), { scrollMode: g } = ze(), { print: C } = it(), { download: u } =
|
|
961
|
+
const { pageNumber: e } = t, n = M(null), { pages: r, pdf: o } = oe(), { interactiveForm: a } = yt(), c = M(), [d, s] = H(), { goToPage: m } = ue(), { scrollMode: g } = ze(), { print: C } = it(), { download: u } = Zn(), v = k(() => r.get(e), [r, e]), P = k(() => v == null ? void 0 : v.page.getViewport(), [v]);
|
|
962
962
|
z(() => {
|
|
963
963
|
c.current && (c.current.div.replaceChildren(), c.current = void 0);
|
|
964
964
|
}, [o]), z(() => {
|
|
@@ -1172,12 +1172,12 @@ const Qr = (t) => {
|
|
|
1172
1172
|
}));
|
|
1173
1173
|
for (const q of $) {
|
|
1174
1174
|
const G = q.indexes.reduce(
|
|
1175
|
-
(
|
|
1175
|
+
(j, V) => (j[V.spanIdx] = (j[V.spanIdx] || []).concat([V]), j),
|
|
1176
1176
|
{}
|
|
1177
1177
|
);
|
|
1178
|
-
for (const
|
|
1179
|
-
if (
|
|
1180
|
-
const V =
|
|
1178
|
+
for (const j of Object.values(G))
|
|
1179
|
+
if (j.length !== 1 || j[0].char.trim() !== "") {
|
|
1180
|
+
const V = j, ie = f[V[0].spanIdx], U = T(
|
|
1181
1181
|
p,
|
|
1182
1182
|
A,
|
|
1183
1183
|
ie,
|
|
@@ -1278,7 +1278,7 @@ const Qr = (t) => {
|
|
|
1278
1278
|
/* @__PURE__ */ i(Vr, { onLoading: p, onLoaded: h, pageNumber: n }),
|
|
1279
1279
|
C && m && /* @__PURE__ */ i("div", { className: ht["rp-loader-wrapper"], children: /* @__PURE__ */ i(m, {}) }),
|
|
1280
1280
|
/* @__PURE__ */ i(ir, { pageNumber: n }),
|
|
1281
|
-
d && /* @__PURE__ */ i(
|
|
1281
|
+
d && /* @__PURE__ */ i(Zr, { pageNumber: n }),
|
|
1282
1282
|
/* @__PURE__ */ i(Jr, { pageNumber: n, viewport: P }),
|
|
1283
1283
|
/* @__PURE__ */ i(Qr, { pageNumber: n })
|
|
1284
1284
|
]
|
|
@@ -1297,7 +1297,7 @@ function bt() {
|
|
|
1297
1297
|
return t;
|
|
1298
1298
|
}, bt.apply(null, arguments);
|
|
1299
1299
|
}
|
|
1300
|
-
function
|
|
1300
|
+
function Zt(t) {
|
|
1301
1301
|
if (t === void 0)
|
|
1302
1302
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1303
1303
|
return t;
|
|
@@ -1395,8 +1395,8 @@ function ci(t) {
|
|
|
1395
1395
|
ei(p, y);
|
|
1396
1396
|
function p(f) {
|
|
1397
1397
|
var l;
|
|
1398
|
-
return l = y.call(this, f) || this, l._instanceProps = P(l.props,
|
|
1399
|
-
instance:
|
|
1398
|
+
return l = y.call(this, f) || this, l._instanceProps = P(l.props, Zt(l)), l._resetIsScrollingTimeoutId = null, l._outerRef = void 0, l.state = {
|
|
1399
|
+
instance: Zt(l),
|
|
1400
1400
|
isScrolling: !1,
|
|
1401
1401
|
horizontalScrollDirection: "forward",
|
|
1402
1402
|
scrollLeft: typeof l.props.initialScrollLeft == "number" ? l.props.initialScrollLeft : 0,
|
|
@@ -1497,10 +1497,10 @@ function ci(t) {
|
|
|
1497
1497
|
}, h.scrollToItem = function(l) {
|
|
1498
1498
|
var w = l.align, _ = w === void 0 ? "auto" : w, I = l.columnIndex, x = l.rowIndex, S = this.props, L = S.columnCount, O = S.height, D = S.rowCount, A = S.width, E = this.state, R = E.scrollLeft, F = E.scrollTop, $ = ii();
|
|
1499
1499
|
I !== void 0 && (I = Math.max(0, Math.min(I, L - 1))), x !== void 0 && (x = Math.max(0, Math.min(x, D - 1)));
|
|
1500
|
-
var q = c(this.props, this._instanceProps), G = d(this.props, this._instanceProps),
|
|
1500
|
+
var q = c(this.props, this._instanceProps), G = d(this.props, this._instanceProps), j = G > A ? $ : 0, V = q > O ? $ : 0;
|
|
1501
1501
|
this.scrollTo({
|
|
1502
1502
|
scrollLeft: I !== void 0 ? s(this.props, I, _, R, this._instanceProps, V) : R,
|
|
1503
|
-
scrollTop: x !== void 0 ? m(this.props, x, _, F, this._instanceProps,
|
|
1503
|
+
scrollTop: x !== void 0 ? m(this.props, x, _, F, this._instanceProps, j) : F
|
|
1504
1504
|
});
|
|
1505
1505
|
}, h.componentDidMount = function() {
|
|
1506
1506
|
var l = this.props, w = l.initialScrollLeft, _ = l.initialScrollTop;
|
|
@@ -1534,14 +1534,14 @@ function ci(t) {
|
|
|
1534
1534
|
}, h.componentWillUnmount = function() {
|
|
1535
1535
|
this._resetIsScrollingTimeoutId !== null && Yt(this._resetIsScrollingTimeoutId);
|
|
1536
1536
|
}, h.render = function() {
|
|
1537
|
-
var l = this.props, w = l.children, _ = l.className, I = l.columnCount, x = l.direction, S = l.height, L = l.innerRef, O = l.innerElementType, D = l.innerTagName, A = l.itemData, E = l.itemKey, R = E === void 0 ? si : E, F = l.outerElementType, $ = l.outerTagName, q = l.rowCount, G = l.style,
|
|
1537
|
+
var l = this.props, w = l.children, _ = l.className, I = l.columnCount, x = l.direction, S = l.height, L = l.innerRef, O = l.innerElementType, D = l.innerTagName, A = l.itemData, E = l.itemKey, R = E === void 0 ? si : E, F = l.outerElementType, $ = l.outerTagName, q = l.rowCount, G = l.style, j = l.useIsScrolling, V = l.width, ie = this.state.isScrolling, U = this._getHorizontalRangeToRender(), Q = U[0], J = U[1], te = this._getVerticalRangeToRender(), ee = te[0], Y = te[1], ve = [];
|
|
1538
1538
|
if (I > 0 && q)
|
|
1539
1539
|
for (var fe = ee; fe <= Y; fe++)
|
|
1540
1540
|
for (var Se = Q; Se <= J; Se++)
|
|
1541
1541
|
ve.push(Ke(w, {
|
|
1542
1542
|
columnIndex: Se,
|
|
1543
1543
|
data: A,
|
|
1544
|
-
isScrolling:
|
|
1544
|
+
isScrolling: j ? ie : void 0,
|
|
1545
1545
|
key: R({
|
|
1546
1546
|
columnIndex: Se,
|
|
1547
1547
|
data: A,
|
|
@@ -1580,8 +1580,8 @@ function ci(t) {
|
|
|
1580
1580
|
this._callOnItemsRendered(L, O, R, F, D, A, $, q);
|
|
1581
1581
|
}
|
|
1582
1582
|
if (typeof I == "function") {
|
|
1583
|
-
var G = this.state,
|
|
1584
|
-
this._callOnScroll(V, ie,
|
|
1583
|
+
var G = this.state, j = G.horizontalScrollDirection, V = G.scrollLeft, ie = G.scrollTop, U = G.scrollUpdateWasRequested, Q = G.verticalScrollDirection;
|
|
1584
|
+
this._callOnScroll(V, ie, j, Q, U);
|
|
1585
1585
|
}
|
|
1586
1586
|
}, h._getHorizontalRangeToRender = function() {
|
|
1587
1587
|
var l = this.props, w = l.columnCount, _ = l.overscanColumnCount, I = l.overscanColumnsCount, x = l.overscanCount, S = l.rowCount, L = this.state, O = L.horizontalScrollDirection, D = L.isScrolling, A = L.scrollLeft, E = _ || I || x || 1;
|
|
@@ -1771,7 +1771,7 @@ function fi(t, e) {
|
|
|
1771
1771
|
return !on(n, o) && !on(r, a);
|
|
1772
1772
|
}
|
|
1773
1773
|
const mi = () => {
|
|
1774
|
-
const { viewMode: t } = He(), { scrollMode: e } = ze(), { setColumnCount: n } = mn(), { virtualScrollableElementRef: r } = nt(), o =
|
|
1774
|
+
const { viewMode: t } = He(), { scrollMode: e } = ze(), { setColumnCount: n } = mn(), { virtualScrollableElementRef: r } = nt(), o = je(), a = k(() => o.heights.length, [o.heights]), c = k(() => e === re.HORIZONTAL_SCROLLING ? a : t === Oe.DUAL_PAGE ? 2 : 1, [t, e, e, a, r]), d = k(() => o.widths.reduce((b, y, p) => {
|
|
1775
1775
|
const h = p % c;
|
|
1776
1776
|
return (!b[h] || y > b[h]) && (b[h] = y), b;
|
|
1777
1777
|
}, []), [o.widths, c]), s = N(
|
|
@@ -2030,7 +2030,7 @@ const wi = hn(({ widths: t, heights: e }) => {
|
|
|
2030
2030
|
}
|
|
2031
2031
|
);
|
|
2032
2032
|
}, bi = (t, e, n) => {
|
|
2033
|
-
const r = M(), { contentRef: o } = be(), { heights: a, widths: c } =
|
|
2033
|
+
const r = M(), { contentRef: o } = be(), { heights: a, widths: c } = je(), { setFocusedPage: d } = ue(), [s, m] = H([]), { targetScrollPage: g } = gn(), C = Lt(s, 0, 500), u = k(() => {
|
|
2034
2034
|
const { rowsHeight: P, columnsWidth: T } = Rt({ heights: a, widths: c }, t);
|
|
2035
2035
|
return a.map((b, y) => {
|
|
2036
2036
|
const p = c[y], h = ar(y + 1, t), f = T.slice(0, h.columnIndex).reduce((I, x) => I + x, 0), l = P.slice(0, h.rowIndex).reduce((I, x) => I + x, 0), w = f + p, _ = l + b;
|
|
@@ -2128,7 +2128,7 @@ const wi = hn(({ widths: t, heights: e }) => {
|
|
|
2128
2128
|
rowCount: $,
|
|
2129
2129
|
rowHeight: q,
|
|
2130
2130
|
columnCount: G,
|
|
2131
|
-
columnWidth:
|
|
2131
|
+
columnWidth: j,
|
|
2132
2132
|
estimatedColumnWidth: V,
|
|
2133
2133
|
estimatedRowHeight: ie,
|
|
2134
2134
|
totalDimension: U
|
|
@@ -2145,8 +2145,8 @@ const wi = hn(({ widths: t, heights: e }) => {
|
|
|
2145
2145
|
columnCount: G
|
|
2146
2146
|
}), [G]), ct = N(
|
|
2147
2147
|
(B) => {
|
|
2148
|
-
const
|
|
2149
|
-
!R &&
|
|
2148
|
+
const Z = document.activeElement !== o;
|
|
2149
|
+
!R && Z || (["ArrowUp", "ArrowLeft"].includes(B.key) ? (B.preventDefault(), p()) : ["ArrowDown", "ArrowRight"].includes(B.key) && (B.preventDefault(), y()));
|
|
2150
2150
|
},
|
|
2151
2151
|
[y, p, R, l]
|
|
2152
2152
|
);
|
|
@@ -2155,18 +2155,18 @@ const wi = hn(({ widths: t, heights: e }) => {
|
|
|
2155
2155
|
}), [ct]), z(() => {
|
|
2156
2156
|
if (_.current && (_.current.style.position = "relative"), !!s)
|
|
2157
2157
|
for (let B = 0; B < $; B++)
|
|
2158
|
-
for (let
|
|
2158
|
+
for (let Z = 0; Z < G; Z++)
|
|
2159
2159
|
s.resetAfterIndices({
|
|
2160
|
-
columnIndex:
|
|
2160
|
+
columnIndex: Z,
|
|
2161
2161
|
rowIndex: B,
|
|
2162
2162
|
shouldForceUpdate: !0
|
|
2163
2163
|
});
|
|
2164
2164
|
}, [$, G, F, s]);
|
|
2165
2165
|
const to = N(
|
|
2166
|
-
(B,
|
|
2166
|
+
(B, Z) => {
|
|
2167
2167
|
if (!v)
|
|
2168
2168
|
return { scrollTop: 0, scrollLeft: 0 };
|
|
2169
|
-
const Re = ee.current.scrollTop >
|
|
2169
|
+
const Re = ee.current.scrollTop > Z, Le = ee.current.scrollLeft > B;
|
|
2170
2170
|
return Re || Le ? ee.current : {
|
|
2171
2171
|
scrollTop: v.scrollTop,
|
|
2172
2172
|
scrollLeft: v.scrollLeft
|
|
@@ -2174,7 +2174,7 @@ const wi = hn(({ widths: t, heights: e }) => {
|
|
|
2174
2174
|
},
|
|
2175
2175
|
[v]
|
|
2176
2176
|
), kt = N(
|
|
2177
|
-
(B,
|
|
2177
|
+
(B, Z) => {
|
|
2178
2178
|
if (D.current.viewMode !== w || D.current.scrollMode !== l) {
|
|
2179
2179
|
te.current && clearTimeout(te.current), A.current = !0, d(f, "auto"), te.current = setTimeout(() => {
|
|
2180
2180
|
requestAnimationFrame(() => {
|
|
@@ -2184,10 +2184,10 @@ const wi = hn(({ widths: t, heights: e }) => {
|
|
|
2184
2184
|
return;
|
|
2185
2185
|
}
|
|
2186
2186
|
const Le = B.scrollTop, lt = B.scrollLeft;
|
|
2187
|
-
if (!
|
|
2187
|
+
if (!Z.height || !Z.width)
|
|
2188
2188
|
return;
|
|
2189
2189
|
A.current = !0;
|
|
2190
|
-
const { height: Ee, width: dt } =
|
|
2190
|
+
const { height: Ee, width: dt } = Z, { height: Wt, width: Mt } = O.current;
|
|
2191
2191
|
if (Wt === Ee && Mt === dt)
|
|
2192
2192
|
return;
|
|
2193
2193
|
const io = Le / Wt * Ee, ao = lt / Mt * dt, so = Math.round(Math.min(io, Ee)) || 0, co = Math.round(Math.min(ao, dt)) || 0;
|
|
@@ -2200,8 +2200,8 @@ const wi = hn(({ widths: t, heights: e }) => {
|
|
|
2200
2200
|
});
|
|
2201
2201
|
});
|
|
2202
2202
|
}, 0), O.current = {
|
|
2203
|
-
height:
|
|
2204
|
-
width:
|
|
2203
|
+
height: Z.height,
|
|
2204
|
+
width: Z.width
|
|
2205
2205
|
};
|
|
2206
2206
|
},
|
|
2207
2207
|
[v, w, l, d]
|
|
@@ -2211,13 +2211,13 @@ const wi = hn(({ widths: t, heights: e }) => {
|
|
|
2211
2211
|
const B = Array.from({ length: $ }).reduce(
|
|
2212
2212
|
(Le, lt, Ee) => Le + q(Ee),
|
|
2213
2213
|
0
|
|
2214
|
-
),
|
|
2215
|
-
(Le, lt, Ee) => Le +
|
|
2214
|
+
), Z = Array.from({ length: G }).reduce(
|
|
2215
|
+
(Le, lt, Ee) => Le + j(Ee),
|
|
2216
2216
|
0
|
|
2217
|
-
), Re = to(
|
|
2218
|
-
ee.current = Re, kt(Re, { height: B, width:
|
|
2217
|
+
), Re = to(Z, B);
|
|
2218
|
+
ee.current = Re, kt(Re, { height: B, width: Z }), u({
|
|
2219
2219
|
height: B,
|
|
2220
|
-
width:
|
|
2220
|
+
width: Z
|
|
2221
2221
|
});
|
|
2222
2222
|
}, [F, $, G, kt]);
|
|
2223
2223
|
const no = N(
|
|
@@ -2243,7 +2243,7 @@ const wi = hn(({ widths: t, heights: e }) => {
|
|
|
2243
2243
|
}), [xe, Y]), ro = N(
|
|
2244
2244
|
(B) => {
|
|
2245
2245
|
if (xe && B) {
|
|
2246
|
-
const
|
|
2246
|
+
const Z = ae(se["rp-pages"]), Re = document.querySelector(`.${Z}`);
|
|
2247
2247
|
fe(Re);
|
|
2248
2248
|
}
|
|
2249
2249
|
},
|
|
@@ -2266,7 +2266,7 @@ const wi = hn(({ widths: t, heights: e }) => {
|
|
|
2266
2266
|
h,
|
|
2267
2267
|
Q
|
|
2268
2268
|
]), /* @__PURE__ */ W(pe, { children: [
|
|
2269
|
-
/* @__PURE__ */ i(
|
|
2269
|
+
/* @__PURE__ */ i(jo, { ref: c, children: /* @__PURE__ */ i(
|
|
2270
2270
|
Dn,
|
|
2271
2271
|
{
|
|
2272
2272
|
id: r,
|
|
@@ -2277,13 +2277,13 @@ const wi = hn(({ widths: t, heights: e }) => {
|
|
|
2277
2277
|
"--scale-round-x": `${Bt(t.current.sx)[1]}px`,
|
|
2278
2278
|
"--scale-round-y": `${Bt(t.current.sy)[1]}px`
|
|
2279
2279
|
},
|
|
2280
|
-
children: /* @__PURE__ */ i(vi, { style: { minHeight: "50px" }, children: ({ width: B, height:
|
|
2280
|
+
children: /* @__PURE__ */ i(vi, { style: { minHeight: "50px" }, children: ({ width: B, height: Z }) => /* @__PURE__ */ i("div", { "data-rp": "pages", ref: ro, style: { width: B, height: Z }, children: l === re.PAGE_SCROLLING ? /* @__PURE__ */ i(
|
|
2281
2281
|
"div",
|
|
2282
2282
|
{
|
|
2283
2283
|
ref: g,
|
|
2284
|
-
style: { width: B, height:
|
|
2284
|
+
style: { width: B, height: Z },
|
|
2285
2285
|
className: ae(se["rp-pages"], se["rp-page-scrolling-wrapper"]),
|
|
2286
|
-
children: w === Oe.DUAL_PAGE ? /* @__PURE__ */ i(wi, { widths:
|
|
2286
|
+
children: w === Oe.DUAL_PAGE ? /* @__PURE__ */ i(wi, { widths: j, heights: q }) : /* @__PURE__ */ i(_i, { widths: j, heights: q })
|
|
2287
2287
|
}
|
|
2288
2288
|
) : ie ? /* @__PURE__ */ i(
|
|
2289
2289
|
ui,
|
|
@@ -2294,9 +2294,9 @@ const wi = hn(({ widths: t, heights: e }) => {
|
|
|
2294
2294
|
innerRef: _,
|
|
2295
2295
|
onScroll: no,
|
|
2296
2296
|
columnCount: G,
|
|
2297
|
-
columnWidth:
|
|
2297
|
+
columnWidth: j,
|
|
2298
2298
|
rowHeight: q,
|
|
2299
|
-
height:
|
|
2299
|
+
height: Z,
|
|
2300
2300
|
width: B,
|
|
2301
2301
|
estimatedColumnWidth: V,
|
|
2302
2302
|
estimatedRowHeight: ie,
|
|
@@ -2469,7 +2469,7 @@ var Fn = "DialogTrigger", Si = X.forwardRef(
|
|
|
2469
2469
|
(t, e) => {
|
|
2470
2470
|
const { __scopeDialog: n, ...r } = t, o = he(Fn, n), a = Et(e, o.triggerRef);
|
|
2471
2471
|
return /* @__PURE__ */ i(
|
|
2472
|
-
|
|
2472
|
+
Ze.button,
|
|
2473
2473
|
{
|
|
2474
2474
|
type: "button",
|
|
2475
2475
|
"aria-haspopup": "dialog",
|
|
@@ -2505,7 +2505,7 @@ var Ri = Tr("DialogOverlay.RemoveScroll"), Li = X.forwardRef(
|
|
|
2505
2505
|
// Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
|
|
2506
2506
|
// ie. when `Overlay` and `Content` are siblings
|
|
2507
2507
|
/* @__PURE__ */ i(Pr, { as: Ri, allowPinchZoom: !0, shards: [o.contentRef], children: /* @__PURE__ */ i(
|
|
2508
|
-
|
|
2508
|
+
Ze.div,
|
|
2509
2509
|
{
|
|
2510
2510
|
"data-state": Ft(o.open),
|
|
2511
2511
|
...r,
|
|
@@ -2610,14 +2610,14 @@ var Ei = X.forwardRef(
|
|
|
2610
2610
|
), At = "DialogTitle", qn = X.forwardRef(
|
|
2611
2611
|
(t, e) => {
|
|
2612
2612
|
const { __scopeDialog: n, ...r } = t, o = he(At, n);
|
|
2613
|
-
return /* @__PURE__ */ i(
|
|
2613
|
+
return /* @__PURE__ */ i(Ze.h2, { id: o.titleId, ...r, ref: e });
|
|
2614
2614
|
}
|
|
2615
2615
|
);
|
|
2616
2616
|
qn.displayName = At;
|
|
2617
2617
|
var Gn = "DialogDescription", Oi = X.forwardRef(
|
|
2618
2618
|
(t, e) => {
|
|
2619
2619
|
const { __scopeDialog: n, ...r } = t, o = he(Gn, n);
|
|
2620
|
-
return /* @__PURE__ */ i(
|
|
2620
|
+
return /* @__PURE__ */ i(Ze.p, { id: o.descriptionId, ...r, ref: e });
|
|
2621
2621
|
}
|
|
2622
2622
|
);
|
|
2623
2623
|
Oi.displayName = Gn;
|
|
@@ -2625,7 +2625,7 @@ var Un = "DialogClose", Vn = X.forwardRef(
|
|
|
2625
2625
|
(t, e) => {
|
|
2626
2626
|
const { __scopeDialog: n, ...r } = t, o = he(Un, n);
|
|
2627
2627
|
return /* @__PURE__ */ i(
|
|
2628
|
-
|
|
2628
|
+
Ze.button,
|
|
2629
2629
|
{
|
|
2630
2630
|
type: "button",
|
|
2631
2631
|
...r,
|
|
@@ -2639,12 +2639,12 @@ Vn.displayName = Un;
|
|
|
2639
2639
|
function Ft(t) {
|
|
2640
2640
|
return t ? "open" : "closed";
|
|
2641
2641
|
}
|
|
2642
|
-
var Bn = "DialogTitleWarning", [Pc,
|
|
2642
|
+
var Bn = "DialogTitleWarning", [Pc, jn] = _r(Bn, {
|
|
2643
2643
|
contentName: De,
|
|
2644
2644
|
titleName: At,
|
|
2645
2645
|
docsSlug: "dialog"
|
|
2646
2646
|
}), Di = ({ titleId: t }) => {
|
|
2647
|
-
const e =
|
|
2647
|
+
const e = jn(Bn), n = `\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users.
|
|
2648
2648
|
|
|
2649
2649
|
If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
2650
2650
|
|
|
@@ -2653,7 +2653,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${e.do
|
|
|
2653
2653
|
t && (document.getElementById(t) || console.error(n));
|
|
2654
2654
|
}, [n, t]), null;
|
|
2655
2655
|
}, zi = "DialogDescriptionWarning", Ai = ({ contentRef: t, descriptionId: e }) => {
|
|
2656
|
-
const r = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${
|
|
2656
|
+
const r = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${jn(zi).contentName}}.`;
|
|
2657
2657
|
return X.useEffect(() => {
|
|
2658
2658
|
var a;
|
|
2659
2659
|
const o = (a = t.current) == null ? void 0 : a.getAttribute("aria-describedby");
|
|
@@ -2722,7 +2722,7 @@ const Ne = {
|
|
|
2722
2722
|
}, cn = ".pdf", Ui = (t) => URL.createObjectURL(t), Vi = async (t) => {
|
|
2723
2723
|
const n = await (await fetch(t)).blob();
|
|
2724
2724
|
return Ui(n);
|
|
2725
|
-
},
|
|
2725
|
+
}, Zn = () => {
|
|
2726
2726
|
const { filename: t, pdfSrc: e } = oe(), { downloadFilename: n } = xo(), r = (a) => {
|
|
2727
2727
|
const c = n || a;
|
|
2728
2728
|
return c.endsWith(cn) ? c : `${c}${cn}`;
|
|
@@ -2736,16 +2736,16 @@ const Ne = {
|
|
|
2736
2736
|
}, Kn = () => {
|
|
2737
2737
|
const { downloadIcon: t } = ge(), { downloadIcon: e } = me();
|
|
2738
2738
|
return t || e || /* @__PURE__ */ i(Dr, {});
|
|
2739
|
-
}, Xn = ({ children: t, className: e, localeMessages: n }) => /* @__PURE__ */ i(K, { className: e, content: n == null ? void 0 : n.downloadFileTooltip, children: t }), Bi = ({ download: t, localeMessages: e }) => /* @__PURE__ */ i(Xn, { localeMessages: e, children: /* @__PURE__ */ i(ce, { onClick: t, "aria-label": e == null ? void 0 : e.downloadFileTooltip, children: /* @__PURE__ */ i(Kn, {}) }) }),
|
|
2739
|
+
}, Xn = ({ children: t, className: e, localeMessages: n }) => /* @__PURE__ */ i(K, { className: e, content: n == null ? void 0 : n.downloadFileTooltip, children: t }), Bi = ({ download: t, localeMessages: e }) => /* @__PURE__ */ i(Xn, { localeMessages: e, children: /* @__PURE__ */ i(ce, { onClick: t, "aria-label": e == null ? void 0 : e.downloadFileTooltip, children: /* @__PURE__ */ i(Kn, {}) }) }), ji = ({ download: t, localeMessages: e }) => /* @__PURE__ */ i(Pe, { onClick: t, children: /* @__PURE__ */ W(Xn, { className: "rp-menu-item", localeMessages: e, children: [
|
|
2740
2740
|
/* @__PURE__ */ i("div", { className: "rp-menu-item-left", children: /* @__PURE__ */ i(Kn, {}) }),
|
|
2741
2741
|
e == null ? void 0 : e.downloadFileLabel
|
|
2742
2742
|
] }) }), Qn = () => {
|
|
2743
|
-
const { download: t } =
|
|
2744
|
-
return !e || !n ? null : r ? /* @__PURE__ */ i(
|
|
2743
|
+
const { download: t } = Zn(), { downloadTool: e = !0 } = Te(), { downloadTool: n = !0 } = ye(), { isSmallScreen: r } = Ie(), { localeMessages: o } = de(), a = o == null ? void 0 : o.downloadFileTooltip;
|
|
2744
|
+
return !e || !n ? null : r ? /* @__PURE__ */ i(ji, { download: t, localeMessages: o }) : typeof e == "function" ? /* @__PURE__ */ i(K, { content: a, children: /* @__PURE__ */ i(e, { download: t }) }) : typeof n == "function" ? /* @__PURE__ */ i(K, { content: a, children: /* @__PURE__ */ i(n, { download: t }) }) : /* @__PURE__ */ i(Bi, { download: t, localeMessages: o });
|
|
2745
2745
|
}, Yn = () => {
|
|
2746
2746
|
const { printIcon: t } = ge(), { printIcon: e } = me();
|
|
2747
2747
|
return t || e || /* @__PURE__ */ i(zr, {});
|
|
2748
|
-
}, Jn = ({ children: t, className: e, localeMessages: n }) => /* @__PURE__ */ i(K, { className: e, content: n == null ? void 0 : n.printTooltip, children: t }),
|
|
2748
|
+
}, Jn = ({ children: t, className: e, localeMessages: n }) => /* @__PURE__ */ i(K, { className: e, content: n == null ? void 0 : n.printTooltip, children: t }), Zi = ({ print: t, localeMessages: e }) => /* @__PURE__ */ i(Jn, { localeMessages: e, children: /* @__PURE__ */ i(ce, { onClick: t, "aria-label": e == null ? void 0 : e.printTooltip, children: /* @__PURE__ */ i(Yn, {}) }) }), Ki = ({ print: t, localeMessages: e }) => /* @__PURE__ */ i(Pe, { onClick: t, children: /* @__PURE__ */ W(Jn, { className: "rp-menu-item", localeMessages: e, children: [
|
|
2749
2749
|
/* @__PURE__ */ i("div", { className: "rp-menu-item-left", children: /* @__PURE__ */ i(Yn, {}) }),
|
|
2750
2750
|
e == null ? void 0 : e.printLabel
|
|
2751
2751
|
] }) }), eo = () => {
|
|
@@ -2772,7 +2772,7 @@ const Ne = {
|
|
|
2772
2772
|
progress: a,
|
|
2773
2773
|
showDefaultProgress: c
|
|
2774
2774
|
}
|
|
2775
|
-
) }) : /* @__PURE__ */ i(
|
|
2775
|
+
) }) : /* @__PURE__ */ i(Zi, { print: t, localeMessages: g });
|
|
2776
2776
|
}, Xi = {
|
|
2777
2777
|
"rp-go-to-Top": "_rp-go-to-Top_4e0yd_1"
|
|
2778
2778
|
}, Qi = () => {
|
|
@@ -3104,7 +3104,7 @@ const Ne = {
|
|
|
3104
3104
|
s((Q) => ({ ...Q, matchCase: U }));
|
|
3105
3105
|
},
|
|
3106
3106
|
[s]
|
|
3107
|
-
),
|
|
3107
|
+
), j = N(
|
|
3108
3108
|
(U) => {
|
|
3109
3109
|
s((Q) => ({ ...Q, wholeWords: U }));
|
|
3110
3110
|
},
|
|
@@ -3196,18 +3196,18 @@ const Ne = {
|
|
|
3196
3196
|
children: f == null ? void 0 : f.searchMatchCaseLabel
|
|
3197
3197
|
}
|
|
3198
3198
|
),
|
|
3199
|
-
!l && /* @__PURE__ */ i(K, { content: f == null ? void 0 : f.searchMatchCaseTooltip, children: /* @__PURE__ */ i("div", { className: ne["rp-search-icon-info"], tabIndex: 0, children: /* @__PURE__ */ i(
|
|
3199
|
+
!l && /* @__PURE__ */ i(K, { content: f == null ? void 0 : f.searchMatchCaseTooltip, children: /* @__PURE__ */ i("div", { className: ne["rp-search-icon-info"], tabIndex: 0, children: /* @__PURE__ */ i(jt, {}) }) }),
|
|
3200
3200
|
/* @__PURE__ */ i(
|
|
3201
3201
|
$t,
|
|
3202
3202
|
{
|
|
3203
3203
|
tabIndex: 0,
|
|
3204
3204
|
name: "wholeWord",
|
|
3205
3205
|
value: $,
|
|
3206
|
-
onChange:
|
|
3206
|
+
onChange: j,
|
|
3207
3207
|
children: f == null ? void 0 : f.searchWholeWordsLabel
|
|
3208
3208
|
}
|
|
3209
3209
|
),
|
|
3210
|
-
!l && /* @__PURE__ */ i(K, { content: f == null ? void 0 : f.searchWholeWordsTooltip, children: /* @__PURE__ */ i("div", { tabIndex: 0, className: ne["rp-search-icon-info"], children: /* @__PURE__ */ i(
|
|
3210
|
+
!l && /* @__PURE__ */ i(K, { content: f == null ? void 0 : f.searchWholeWordsTooltip, children: /* @__PURE__ */ i("div", { tabIndex: 0, className: ne["rp-search-icon-info"], children: /* @__PURE__ */ i(jt, {}) }) })
|
|
3211
3211
|
] })
|
|
3212
3212
|
] }),
|
|
3213
3213
|
!l && /* @__PURE__ */ W("div", { className: ne["rp-search-tool-controls"], children: [
|
|
@@ -3445,7 +3445,7 @@ const Ne = {
|
|
|
3445
3445
|
return z(() => (s && s(), () => {
|
|
3446
3446
|
m && m();
|
|
3447
3447
|
}), [s, m]), // TODO: deprecated in v2.0.0, remove later ~
|
|
3448
|
-
/* @__PURE__ */ i(Dn, { toolbarRef: C, ref: e, children: /* @__PURE__ */ i(qo, { mobileWidth: d, onLayoutWidthChange: g, children: /* @__PURE__ */ i(Go, { slots: r, children: /* @__PURE__ */ i(
|
|
3448
|
+
/* @__PURE__ */ i(Dn, { toolbarRef: C, ref: e, children: /* @__PURE__ */ i(qo, { mobileWidth: d, onLayoutWidthChange: g, children: /* @__PURE__ */ i(Go, { slots: r, children: /* @__PURE__ */ i(Zo, { icons: o, children: /* @__PURE__ */ W($o, { getContainerRef: v, style: a, className: c, children: [
|
|
3449
3449
|
/* @__PURE__ */ W(Vo, { children: [
|
|
3450
3450
|
/* @__PURE__ */ W("div", { className: Ce["rp-layout"], children: [
|
|
3451
3451
|
/* @__PURE__ */ i(
|
|
@@ -3507,7 +3507,7 @@ export {
|
|
|
3507
3507
|
Rn as E,
|
|
3508
3508
|
Ln as F,
|
|
3509
3509
|
Vr as G,
|
|
3510
|
-
|
|
3510
|
+
Zr as H,
|
|
3511
3511
|
Qr as I,
|
|
3512
3512
|
Jr as J,
|
|
3513
3513
|
Dt as K,
|
|
@@ -3529,7 +3529,7 @@ export {
|
|
|
3529
3529
|
pa as _,
|
|
3530
3530
|
yc as a,
|
|
3531
3531
|
wa as a0,
|
|
3532
|
-
|
|
3532
|
+
Zn as b,
|
|
3533
3533
|
it as c,
|
|
3534
3534
|
Ot as d,
|
|
3535
3535
|
Sn as e,
|