@react-pdf-kit/viewer 2.7.0 → 2.8.0-beta.1
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/{AnnotationLayer-D6BfL976.js → AnnotationLayer-C6UTOVmc.js} +1 -1
- package/dist/{Button-jStpvb3T.js → Button-DBu3SaMk.js} +3 -3
- package/dist/{Checkbox-Brta-YKG.js → Checkbox-CSIEUyO8.js} +4 -4
- package/dist/{Combination-DqNkTtir.js → Combination-11kyhTGt.js} +15 -15
- package/dist/Container-BuamPhw4.js +18 -0
- package/dist/{DocumentDialog-DHAWcYIz.js → DocumentDialog-cRr9sSSH.js} +10 -10
- package/dist/{DropDown-DikL-krI.js → DropDown-CM6xEwZC.js} +2 -2
- package/dist/{Input-DGJSVFE8.js → Input-Dpo1Xfxe.js} +5 -5
- package/dist/{LoaderIcon-D9YjinGf.js → LoaderIcon-B3ddfd0D.js} +1 -1
- package/dist/{LoadingIndicator-DiWoWs4Y.js → LoadingIndicator-Bzzf28Xv.js} +1 -1
- package/dist/{MenuItem-BJDWfzAw.js → MenuItem-9kCH_GQ0.js} +2 -2
- package/dist/{MenuSeparator-D1H5l8Ej.js → MenuSeparator-CaFxd8b5.js} +1 -1
- package/dist/{PaginationContext--n91mIJ4.js → PaginationContext-C5CJiEW-.js} +76 -66
- package/dist/{PasswordModal-CA6x2l7v.js → PasswordModal-BeLyLUsu.js} +12 -11
- package/dist/{RPDropFileZone-D1C3ouep.js → RPDropFileZone-Bq1bzWmO.js} +1 -1
- package/dist/{RPPage-BuSGUFzw.js → RPPage-BsDixmqF.js} +1 -1
- package/dist/{RPPages-CQsmCbyj.js → RPPages-Cf-FDd0a.js} +12 -12
- package/dist/{RPTooltip-ZZoFqP7C.js → RPTooltip-CXBVXusS.js} +4 -4
- package/dist/{SkipLink-Bvbn3miT.js → SkipLink-CdcjClGB.js} +1 -1
- package/dist/{Thumbnail-Dwo2-4Ki.js → Thumbnail-BO3QHzxR.js} +3 -3
- package/dist/{Thumbnails-ComClyJJ.js → Thumbnails-DyeBsQJT.js} +2 -2
- package/dist/assets/Button.css +1 -1
- package/dist/assets/DocumentDialog.css +1 -1
- package/dist/assets/Input.css +1 -1
- package/dist/assets/PasswordModal.css +1 -1
- package/dist/assets/SkipLink.css +1 -1
- package/dist/assets/style.js +1 -1
- package/dist/{clsx-B7LyVm5O.js → clsx-DSGuh5YW.js} +1 -1
- package/dist/components/RPController.js +1 -1
- package/dist/components/RPDropFileZone.js +1 -1
- package/dist/components/RPPages.js +1 -1
- package/dist/components/RPProvider.js +1 -1
- package/dist/components/icons/LoaderIcon.js +1 -1
- package/dist/components/layout/Container.js +1 -1
- package/dist/components/layout/LayoutContainer.js +1 -1
- package/dist/components/layout/RPDefaultLayout.js +3 -3
- package/dist/components/layout/RPLayout.js +3 -3
- package/dist/components/layout/SkipLink.js +1 -1
- package/dist/components/layout/sidebar/RPSidebar.js +3 -3
- package/dist/components/layout/sidebar/Thumbnail.js +1 -1
- package/dist/components/layout/sidebar/Thumbnails.js +1 -1
- package/dist/components/layout/toolbar/DarkModeTool.js +2 -2
- package/dist/components/layout/toolbar/DocumentDialog.js +1 -1
- package/dist/components/layout/toolbar/DocumentProperties.js +3 -3
- package/dist/components/layout/toolbar/FileDownloadTool.js +3 -3
- 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 +1 -1
- package/dist/components/layout/toolbar/MenuSeparator.js +1 -1
- package/dist/components/layout/toolbar/MostPageTool.js +5 -5
- package/dist/components/layout/toolbar/OtherTool.js +6 -6
- package/dist/components/layout/toolbar/Paginate.js +4 -4
- package/dist/components/layout/toolbar/PrintTool.js +3 -3
- package/dist/components/layout/toolbar/RPMenuItem.js +3 -3
- package/dist/components/layout/toolbar/RPMoreOptions.js +6 -6
- package/dist/components/layout/toolbar/RPToolbar.js +1 -1
- package/dist/components/layout/toolbar/RotateTool.js +4 -4
- 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 +2 -2
- package/dist/components/layout/toolbar/SearchTool.js +7 -6
- package/dist/components/layout/toolbar/SelectionModeTool.js +4 -4
- package/dist/components/layout/toolbar/ThumbnailTool.js +2 -2
- package/dist/components/layout/toolbar/ToolbarCustom.js +2 -2
- package/dist/components/layout/toolbar/ToolbarDefault.js +2 -2
- package/dist/components/layout/toolbar/ViewModeTool.js +4 -4
- package/dist/components/layout/toolbar/ZoomTool.js +7 -7
- package/dist/components/layout/toolbar/tools/DocumentPropertiesTool.js +3 -3
- package/dist/components/layout/toolbar/tools/DualPageTool.js +2 -2
- package/dist/components/layout/toolbar/tools/DualPageWithCoverTool.js +1 -1
- package/dist/components/layout/toolbar/tools/FileDownloadTool.js +2 -2
- package/dist/components/layout/toolbar/tools/FileUploadTool.js +2 -2
- package/dist/components/layout/toolbar/tools/FirstPageTool.js +1 -1
- package/dist/components/layout/toolbar/tools/FullScreenTool.js +2 -2
- package/dist/components/layout/toolbar/tools/HorizontalScrollingTool.js +2 -2
- package/dist/components/layout/toolbar/tools/InputPageTool.js +4 -3
- package/dist/components/layout/toolbar/tools/LastPageTool.js +1 -1
- package/dist/components/layout/toolbar/tools/NextPageTool.js +3 -3
- package/dist/components/layout/toolbar/tools/PageScrollingTool.js +2 -2
- package/dist/components/layout/toolbar/tools/PreviousPageTool.js +3 -3
- package/dist/components/layout/toolbar/tools/PrintTool.js +2 -2
- 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 +2 -2
- package/dist/components/layout/toolbar/tools/ThemeSwitcherTool.js +2 -2
- package/dist/components/layout/toolbar/tools/ThumbnailTool.js +2 -2
- package/dist/components/layout/toolbar/tools/VerticalScrollingTool.js +2 -2
- package/dist/components/layout/toolbar/tools/ZoomInTool.js +2 -2
- package/dist/components/layout/toolbar/tools/ZoomLevelTool.js +6 -6
- package/dist/components/layout/toolbar/tools/ZoomOutTool.js +2 -2
- package/dist/components/layout/toolbar/tools/more-options/DocumentProperties.js +2 -2
- package/dist/components/layout/toolbar/tools/more-options/FileDownloadTool.js +2 -2
- package/dist/components/layout/toolbar/tools/more-options/FileUploadTool.js +2 -2
- package/dist/components/layout/toolbar/tools/more-options/FullScreenTool.js +2 -2
- package/dist/components/layout/toolbar/tools/more-options/MostPageTool.js +5 -5
- package/dist/components/layout/toolbar/tools/more-options/PrintTool.js +2 -2
- package/dist/components/layout/toolbar/tools/more-options/RotateTool.js +4 -4
- package/dist/components/layout/toolbar/tools/more-options/ScrollModeTool.js +3 -3
- package/dist/components/layout/toolbar/tools/more-options/SelectionModeTool.js +4 -4
- package/dist/components/layout/toolbar/tools/more-options/ViewModeTool.js +4 -4
- package/dist/components/page/AnnotationLayer.js +1 -1
- package/dist/components/page/DualPage.js +2 -2
- package/dist/components/page/DualPageWithCover.js +2 -2
- package/dist/components/page/RPPage.js +1 -1
- package/dist/components/page/SinglePage.js +2 -2
- package/dist/components/ui/Button.js +1 -1
- package/dist/components/ui/Checkbox.js +1 -1
- package/dist/components/ui/DropDown.js +1 -1
- package/dist/components/ui/Input.js +1 -1
- package/dist/components/ui/LoadingIndicator.js +1 -1
- package/dist/components/ui/PasswordModal.js +1 -1
- package/dist/components/ui/RPTooltip.js +1 -1
- package/dist/contexts/ElementThumbnailContext.js +1 -1
- package/dist/contexts/LoaderContext.js +1 -1
- package/dist/contexts/LocalizationContext.js +12 -6
- package/dist/contexts/PaginationContext.js +1 -1
- package/dist/contexts/RenderQueueProvider.js +1 -1
- package/dist/{dist-7FA4Do6I.js → dist-B2hwhF6G.js} +7 -7
- package/dist/{dist-BRVqFn7R.js → dist-BfuBBQ14.js} +6 -6
- package/dist/{dist-C3WNMuW2.js → dist-CNbFpoT1.js} +2 -2
- package/dist/{dist-bK-AHWLF.js → dist-CgoP608h.js} +7 -7
- package/dist/{dist-CKteKPPA.js → dist-VbpVNBs6.js} +7 -7
- package/dist/icons.js +1 -1
- package/dist/{lib-BiapEtK1.js → lib-CSInlR9T.js} +142 -237
- package/dist/{main-CHO5p1qM.js → main-0RC2E65p.js} +3 -3
- package/dist/main.js +5 -5
- package/dist/style-BPQRJJJ7.js +5 -0
- package/dist/types/utils/types.d.ts +1 -0
- package/dist/utils/hooks/useLicense.js +2 -2
- package/dist/utils/hooks/usePaginate.js +1 -1
- package/dist/utils/hooks/usePresentPage.js +1 -1
- package/dist/utils/hooks/useScrollToPage.js +1 -1
- package/dist/utils/hooks/useSearch.js +1 -1
- package/package.json +1 -1
- package/dist/Container-DTWaZzc7.js +0 -16
- package/dist/style-DKH7g1Kh.js +0 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as e } from "../../PaginationContext
|
|
2
|
-
import { t } from "../../RPPage-
|
|
1
|
+
import { r as e } from "../../PaginationContext-C5CJiEW-.js";
|
|
2
|
+
import { t } from "../../RPPage-BsDixmqF.js";
|
|
3
3
|
import { memo as n, useMemo as r } from "react";
|
|
4
4
|
import { jsx as i } from "react/jsx-runtime";
|
|
5
5
|
//#region lib/components/page/DualPage.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as e } from "../../PaginationContext
|
|
2
|
-
import { t } from "../../RPPage-
|
|
1
|
+
import { r as e } from "../../PaginationContext-C5CJiEW-.js";
|
|
2
|
+
import { t } from "../../RPPage-BsDixmqF.js";
|
|
3
3
|
import { memo as n, useMemo as r } from "react";
|
|
4
4
|
import { jsx as i } from "react/jsx-runtime";
|
|
5
5
|
//#region lib/components/page/DualPageWithCover.tsx
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../RPPage-
|
|
1
|
+
import { t as e } from "../../RPPage-BsDixmqF.js";
|
|
2
2
|
export { e as RPPage };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as e } from "../../PaginationContext
|
|
2
|
-
import { t } from "../../RPPage-
|
|
1
|
+
import { r as e } from "../../PaginationContext-C5CJiEW-.js";
|
|
2
|
+
import { t } from "../../RPPage-BsDixmqF.js";
|
|
3
3
|
import { useMemo as n } from "react";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
//#region lib/components/page/SinglePage.tsx
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../Button-
|
|
1
|
+
import { t as e } from "../../Button-DBu3SaMk.js";
|
|
2
2
|
export { e as UIButton };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../Checkbox-
|
|
1
|
+
import { t as e } from "../../Checkbox-CSIEUyO8.js";
|
|
2
2
|
export { e as UICheckbox };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../DropDown-
|
|
1
|
+
import { t as e } from "../../DropDown-CM6xEwZC.js";
|
|
2
2
|
export { e as UIDropDown };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../Input-
|
|
1
|
+
import { t as e } from "../../Input-Dpo1Xfxe.js";
|
|
2
2
|
export { e as UIInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../LoadingIndicator-
|
|
1
|
+
import { t as e } from "../../LoadingIndicator-Bzzf28Xv.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../PasswordModal-
|
|
1
|
+
import { t as e } from "../../PasswordModal-BeLyLUsu.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../RPTooltip-
|
|
1
|
+
import { t as e } from "../../RPTooltip-CXBVXusS.js";
|
|
2
2
|
export { e as default };
|
|
@@ -2,7 +2,7 @@ import { LicenseType as e } from "../utils/types.js";
|
|
|
2
2
|
import { ORGANIZATION_ALLOWED_FEATURES_MESSAGE as t } from "../utils/const.js";
|
|
3
3
|
import { usePagesRotateContext as n } from "./PagesRotateContext.js";
|
|
4
4
|
import { useSmoothScrollContext as r } from "./SmoothScrollContext.js";
|
|
5
|
-
import { r as i } from "../PaginationContext
|
|
5
|
+
import { r as i } from "../PaginationContext-C5CJiEW-.js";
|
|
6
6
|
import { useThumbnailContext as a } from "./ThumbnailsContext.js";
|
|
7
7
|
import { useLicenseContext as o } from "./LicenseContext.js";
|
|
8
8
|
import { createContext as s, useCallback as c, useContext as l, useEffect as u, useMemo as d, useRef as f, useState as p } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { appConsole as e } from "../utils/appConsole.js";
|
|
2
|
-
import { t } from "../LoaderIcon-
|
|
2
|
+
import { t } from "../LoaderIcon-B3ddfd0D.js";
|
|
3
3
|
import { createContext as n, useContext as r } from "react";
|
|
4
4
|
import { jsx as i } from "react/jsx-runtime";
|
|
5
5
|
//#region lib/contexts/LoaderContext.tsx
|
|
@@ -3,19 +3,25 @@ import { useLocalization as t } from "../utils/hooks/useLocalization.js";
|
|
|
3
3
|
import { createContext as n, useContext as r, useEffect as i, useMemo as a } from "react";
|
|
4
4
|
import { jsx as o } from "react/jsx-runtime";
|
|
5
5
|
//#region lib/contexts/LocalizationContext.tsx
|
|
6
|
-
var s = n({
|
|
6
|
+
var s = n({
|
|
7
|
+
locale: "en_US",
|
|
8
|
+
localeMessages: {}
|
|
9
|
+
}), c = () => {
|
|
7
10
|
let t = r(s);
|
|
8
11
|
return t.localeMessages === void 0 && e.error("Please use this hooks inside children component of RPProvider"), t;
|
|
9
12
|
}, l = ({ children: e, locale: n = "en_US", localization: r }) => {
|
|
10
|
-
let { setLocale: c,
|
|
13
|
+
let { setLocale: c, locale: l, localeMessages: u, addLocalization: d } = t(n);
|
|
11
14
|
i(() => {
|
|
12
15
|
n && c(n);
|
|
13
16
|
}, [n, c]), i(() => {
|
|
14
|
-
r &&
|
|
15
|
-
}, [r,
|
|
16
|
-
let
|
|
17
|
+
r && d(r);
|
|
18
|
+
}, [r, d]);
|
|
19
|
+
let f = a(() => ({
|
|
20
|
+
locale: l,
|
|
21
|
+
localeMessages: u
|
|
22
|
+
}), [l, u]);
|
|
17
23
|
return /* @__PURE__ */ o(s.Provider, {
|
|
18
|
-
value:
|
|
24
|
+
value: f,
|
|
19
25
|
children: e
|
|
20
26
|
});
|
|
21
27
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../PaginationContext
|
|
1
|
+
import { n as e, r as t, t as n } from "../PaginationContext-C5CJiEW-.js";
|
|
2
2
|
export { n as PaginationContext, e as PaginationProvider, t as usePaginationContext };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as e } from "../PaginationContext
|
|
1
|
+
import { r as e } from "../PaginationContext-C5CJiEW-.js";
|
|
2
2
|
import { Queue as t } from "../utils/Queue.js";
|
|
3
3
|
import { renderPage as n } from "../utils/renderPage.js";
|
|
4
4
|
import { createContext as r, useCallback as i, useContext as a, useEffect as o, useMemo as s, useRef as c, useState as l } from "react";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { d as e, i as t, l as n, r } from "./dist-
|
|
2
|
-
import { i } from "./dist-
|
|
3
|
-
import { t as a } from "./dist-
|
|
1
|
+
import { d as e, i as t, l as n, r } from "./dist-CgoP608h.js";
|
|
2
|
+
import { i } from "./dist-BfuBBQ14.js";
|
|
3
|
+
import { t as a } from "./dist-CNbFpoT1.js";
|
|
4
4
|
import * as o from "react";
|
|
5
5
|
import { useLayoutEffect as s } from "react";
|
|
6
6
|
import { jsx as c } from "react/jsx-runtime";
|
|
7
7
|
import * as l from "react-dom";
|
|
8
|
-
//#region node_modules
|
|
8
|
+
//#region node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
9
9
|
var u = [
|
|
10
10
|
"top",
|
|
11
11
|
"right",
|
|
@@ -112,7 +112,7 @@ function R(e) {
|
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
//#endregion
|
|
115
|
-
//#region node_modules
|
|
115
|
+
//#region node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
116
116
|
function z(e, t, n) {
|
|
117
117
|
let { reference: r, floating: i } = e, a = T(t), o = E(t), s = C(o), c = b(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
|
|
118
118
|
switch (c) {
|
|
@@ -468,7 +468,7 @@ var ce = function(e) {
|
|
|
468
468
|
};
|
|
469
469
|
};
|
|
470
470
|
//#endregion
|
|
471
|
-
//#region node_modules
|
|
471
|
+
//#region node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
472
472
|
function fe() {
|
|
473
473
|
return typeof window < "u";
|
|
474
474
|
}
|
|
@@ -594,7 +594,7 @@ function ke(e) {
|
|
|
594
594
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
595
595
|
}
|
|
596
596
|
//#endregion
|
|
597
|
-
//#region node_modules
|
|
597
|
+
//#region node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
598
598
|
function Ae(e) {
|
|
599
599
|
let t = Y(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = K(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = p(n) !== a || p(r) !== o;
|
|
600
600
|
return s && (n = a, r = o), {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as e, d as t, f as n, i as r, r as i } from "./dist-
|
|
1
|
+
import { a as e, d as t, f as n, i as r, r as i } from "./dist-CgoP608h.js";
|
|
2
2
|
import * as a from "react";
|
|
3
3
|
import { jsx as o } from "react/jsx-runtime";
|
|
4
4
|
import s from "react-dom";
|
|
5
|
-
//#region node_modules
|
|
5
|
+
//#region node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
6
6
|
function c(e) {
|
|
7
7
|
let t = a.useRef(e);
|
|
8
8
|
return a.useEffect(() => {
|
|
@@ -10,7 +10,7 @@ function c(e) {
|
|
|
10
10
|
}), a.useMemo(() => (...e) => t.current?.(...e), []);
|
|
11
11
|
}
|
|
12
12
|
//#endregion
|
|
13
|
-
//#region node_modules
|
|
13
|
+
//#region node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
14
14
|
function l(e, t = globalThis?.document) {
|
|
15
15
|
let n = c(e);
|
|
16
16
|
a.useEffect(() => {
|
|
@@ -21,7 +21,7 @@ function l(e, t = globalThis?.document) {
|
|
|
21
21
|
}, [n, t]);
|
|
22
22
|
}
|
|
23
23
|
//#endregion
|
|
24
|
-
//#region node_modules
|
|
24
|
+
//#region node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
25
25
|
var u = "DismissableLayer", d = "dismissableLayer.update", f = "dismissableLayer.pointerDownOutside", p = "dismissableLayer.focusOutside", m, h = a.createContext({
|
|
26
26
|
layers: /* @__PURE__ */ new Set(),
|
|
27
27
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
@@ -120,7 +120,7 @@ function S(t, n, r, { discrete: i }) {
|
|
|
120
120
|
n && a.addEventListener(t, n, { once: !0 }), i ? e(a, o) : a.dispatchEvent(o);
|
|
121
121
|
}
|
|
122
122
|
//#endregion
|
|
123
|
-
//#region node_modules
|
|
123
|
+
//#region node_modules/@radix-ui/react-id/dist/index.mjs
|
|
124
124
|
var C = a.useId || (() => void 0), w = 0;
|
|
125
125
|
function T(e) {
|
|
126
126
|
let [t, n] = a.useState(C());
|
|
@@ -129,7 +129,7 @@ function T(e) {
|
|
|
129
129
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
130
130
|
}
|
|
131
131
|
//#endregion
|
|
132
|
-
//#region node_modules
|
|
132
|
+
//#region node_modules/@radix-ui/react-portal/dist/index.mjs
|
|
133
133
|
var E = "Portal", D = a.forwardRef((e, t) => {
|
|
134
134
|
let { container: n, ...c } = e, [l, u] = a.useState(!1);
|
|
135
135
|
i(() => u(!0), []);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as e } from "./dist-
|
|
1
|
+
import { r as e } from "./dist-CgoP608h.js";
|
|
2
2
|
import * as t from "react";
|
|
3
|
-
//#region node_modules
|
|
3
|
+
//#region node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
4
4
|
function n(n) {
|
|
5
5
|
let [r, i] = t.useState(void 0);
|
|
6
6
|
return e(() => {
|
|
@@ -8,7 +8,7 @@ function i(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
|
8
8
|
};
|
|
9
9
|
}
|
|
10
10
|
//#endregion
|
|
11
|
-
//#region node_modules
|
|
11
|
+
//#region node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
12
12
|
function a(e, t) {
|
|
13
13
|
if (typeof e == "function") return e(t);
|
|
14
14
|
e != null && (e.current = t);
|
|
@@ -31,7 +31,7 @@ function s(...t) {
|
|
|
31
31
|
return e.useCallback(o(...t), t);
|
|
32
32
|
}
|
|
33
33
|
//#endregion
|
|
34
|
-
//#region node_modules
|
|
34
|
+
//#region node_modules/@radix-ui/react-context/dist/index.mjs
|
|
35
35
|
function c(t, r) {
|
|
36
36
|
let i = e.createContext(r), a = (t) => {
|
|
37
37
|
let { children: r, ...a } = t, o = e.useMemo(() => a, Object.values(a));
|
|
@@ -104,7 +104,7 @@ function u(...t) {
|
|
|
104
104
|
return r.scopeName = n.scopeName, r;
|
|
105
105
|
}
|
|
106
106
|
//#endregion
|
|
107
|
-
//#region node_modules
|
|
107
|
+
//#region node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
108
108
|
/* @__NO_SIDE_EFFECTS__ */
|
|
109
109
|
function d(t) {
|
|
110
110
|
let r = /* @__PURE__ */ f(t), i = e.forwardRef((t, i) => {
|
|
@@ -168,7 +168,7 @@ function _(e) {
|
|
|
168
168
|
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
169
169
|
}
|
|
170
170
|
//#endregion
|
|
171
|
-
//#region node_modules
|
|
171
|
+
//#region node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
172
172
|
var v = [
|
|
173
173
|
"a",
|
|
174
174
|
"button",
|
|
@@ -204,10 +204,10 @@ function y(e, t) {
|
|
|
204
204
|
e && r.flushSync(() => e.dispatchEvent(t));
|
|
205
205
|
}
|
|
206
206
|
//#endregion
|
|
207
|
-
//#region node_modules
|
|
207
|
+
//#region node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
208
208
|
var b = globalThis?.document ? e.useLayoutEffect : () => {};
|
|
209
209
|
//#endregion
|
|
210
|
-
//#region node_modules
|
|
210
|
+
//#region node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
211
211
|
function x(t, n) {
|
|
212
212
|
return e.useReducer((e, t) => n[e][t] ?? e, t);
|
|
213
213
|
}
|
|
@@ -269,7 +269,7 @@ function T(e) {
|
|
|
269
269
|
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
270
270
|
}
|
|
271
271
|
//#endregion
|
|
272
|
-
//#region node_modules
|
|
272
|
+
//#region node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
273
273
|
var E = e.useInsertionEffect || b;
|
|
274
274
|
function D({ prop: t, defaultProp: n, onChange: r = () => {}, caller: i }) {
|
|
275
275
|
let [a, o, s] = O({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as e, d as t, f as n, i as r, l as i, n as a, o, t as s, u as c } from "./dist-
|
|
2
|
-
import { i as l, n as u, r as d, t as f } from "./dist-
|
|
3
|
-
import { a as p, i as m, n as h, r as g, t as _ } from "./dist-
|
|
4
|
-
import { i as v, n as y, r as b, t as x } from "./Combination-
|
|
1
|
+
import { a as e, d as t, f as n, i as r, l as i, n as a, o, t as s, u as c } from "./dist-CgoP608h.js";
|
|
2
|
+
import { i as l, n as u, r as d, t as f } from "./dist-BfuBBQ14.js";
|
|
3
|
+
import { a as p, i as m, n as h, r as g, t as _ } from "./dist-B2hwhF6G.js";
|
|
4
|
+
import { i as v, n as y, r as b, t as x } from "./Combination-11kyhTGt.js";
|
|
5
5
|
import * as S from "react";
|
|
6
6
|
import C from "react";
|
|
7
7
|
import { jsx as w } from "react/jsx-runtime";
|
|
8
|
-
//#region node_modules
|
|
8
|
+
//#region node_modules/@radix-ui/react-collection/dist/index.mjs
|
|
9
9
|
function T(e) {
|
|
10
10
|
let n = e + "CollectionProvider", [r, a] = i(n), [s, c] = r(n, {
|
|
11
11
|
collectionRef: { current: null },
|
|
@@ -60,14 +60,14 @@ function T(e) {
|
|
|
60
60
|
];
|
|
61
61
|
}
|
|
62
62
|
//#endregion
|
|
63
|
-
//#region node_modules
|
|
63
|
+
//#region node_modules/@radix-ui/react-direction/dist/index.mjs
|
|
64
64
|
var E = S.createContext(void 0);
|
|
65
65
|
function D(e) {
|
|
66
66
|
let t = S.useContext(E);
|
|
67
67
|
return e || t || "ltr";
|
|
68
68
|
}
|
|
69
69
|
//#endregion
|
|
70
|
-
//#region node_modules
|
|
70
|
+
//#region node_modules/@radix-ui/react-roving-focus/dist/index.mjs
|
|
71
71
|
var O = "rovingFocusGroup.onEntryFocus", ee = {
|
|
72
72
|
bubbles: !1,
|
|
73
73
|
cancelable: !0
|
package/dist/icons.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./LoaderIcon-
|
|
1
|
+
import { t as e } from "./LoaderIcon-B3ddfd0D.js";
|
|
2
2
|
import { ChevronUpIcon as t } from "./components/icons/ChevronUpIcon.js";
|
|
3
3
|
import { FileUploadDefaultIcon as n } from "./components/icons/FileUploadDefaultIcon.js";
|
|
4
4
|
import { MoonIcon as r } from "./components/icons/MoonIcon.js";
|