@iamjariwala/react-doc-viewer 1.3.0 → 1.4.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/README.md +387 -21
- package/dist/{index-DmaJEXn6.cjs → index-B_9N115A.cjs} +1 -1
- package/dist/index-Bxz55fXL.cjs +42 -0
- package/dist/{index-Bqo4f0KC.cjs → index-DDciENnB.cjs} +1 -1
- package/dist/{index-KW-32X-v.js → index-DHsZZ2xX.js} +8729 -7718
- package/dist/{index-6DCiyoVr.js → index-DdxtHbXJ.js} +2 -2
- package/dist/{index-CxXEssOW.js → index-yeyotorh.js} +2 -2
- package/dist/index.css +1 -1
- package/dist/react-doc-viewer.cjs +1 -1
- package/dist/react-doc-viewer.js +16 -15
- package/dist/src/features/bookmarks/components/BookmarkItem.d.ts +10 -0
- package/dist/src/features/bookmarks/components/BookmarksSidebar.d.ts +7 -0
- package/dist/src/features/bookmarks/components/BookmarksToggle.d.ts +3 -0
- package/dist/src/features/bookmarks/hooks/useBookmarks.d.ts +7 -0
- package/dist/src/features/bookmarks/index.d.ts +7 -0
- package/dist/src/features/bookmarks/state/actions.d.ts +6 -0
- package/dist/src/features/bookmarks/state/context.d.ts +8 -0
- package/dist/src/features/bookmarks/state/provider.d.ts +3 -0
- package/dist/src/features/bookmarks/state/reducer.d.ts +4 -0
- package/dist/src/features/bookmarks/types/index.d.ts +22 -0
- package/dist/src/features/keyboard-shortcuts/hooks/useKeyboardShortcuts.d.ts +3 -0
- package/dist/src/features/keyboard-shortcuts/index.d.ts +2 -0
- package/dist/src/features/keyboard-shortcuts/types/index.d.ts +8 -0
- package/dist/src/features/password-pdf/components/PasswordPrompt.d.ts +8 -0
- package/dist/src/features/password-pdf/index.d.ts +1 -0
- package/dist/src/features/split-view/components/SplitViewContainer.d.ts +10 -0
- package/dist/src/features/split-view/index.d.ts +1 -0
- package/dist/src/features/text-search/components/SearchBar.d.ts +8 -0
- package/dist/src/features/text-search/hooks/useTextSearch.d.ts +7 -0
- package/dist/src/features/text-search/index.d.ts +6 -0
- package/dist/src/features/text-search/state/actions.d.ts +10 -0
- package/dist/src/features/text-search/state/context.d.ts +8 -0
- package/dist/src/features/text-search/state/provider.d.ts +3 -0
- package/dist/src/features/text-search/state/reducer.d.ts +4 -0
- package/dist/src/features/text-search/types/index.d.ts +34 -0
- package/dist/src/features/watermark/components/WatermarkOverlay.d.ts +8 -0
- package/dist/src/features/watermark/index.d.ts +1 -0
- package/dist/src/hooks/useFullscreen.d.ts +6 -0
- package/dist/src/hooks/useTranslation.d.ts +1 -1
- package/dist/src/i18n.d.ts +224 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/locales/ar.json.d.ts +17 -1
- package/dist/src/locales/de.json.d.ts +17 -1
- package/dist/src/locales/en.json.d.ts +17 -1
- package/dist/src/locales/es.json.d.ts +17 -1
- package/dist/src/locales/fr.json.d.ts +17 -1
- package/dist/src/locales/it.json.d.ts +17 -1
- package/dist/src/locales/ja.json.d.ts +17 -1
- package/dist/src/locales/pl.json.d.ts +17 -1
- package/dist/src/locales/pt.json.d.ts +17 -1
- package/dist/src/locales/ru.json.d.ts +17 -1
- package/dist/src/locales/se.json.d.ts +17 -1
- package/dist/src/locales/sr.json.d.ts +17 -1
- package/dist/src/locales/sr_cyr.json.d.ts +17 -1
- package/dist/src/locales/tr.json.d.ts +17 -1
- package/dist/src/models.d.ts +46 -0
- package/dist/src/renderers/pdf/components/PDFControls.d.ts +4 -1
- package/dist/src/renderers/pdf/components/icons/index.d.ts +6 -0
- package/dist/src/renderers/pdf/state/actions.d.ts +19 -1
- package/dist/src/renderers/pdf/state/reducer.d.ts +3 -0
- package/dist/{url-CJeZlLag.cjs → url-CJMs95kL.cjs} +1 -1
- package/dist/{url-CF0N15Q9.js → url-DNNqPKsX.js} +1 -1
- package/package.json +1 -1
- package/dist/index-BhiXjIfF.cjs +0 -42
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const p=require("./index-
|
|
1
|
+
"use strict";const p=require("./index-Bxz55fXL.cjs"),f=require("./index-B_9N115A.cjs");function d(i,o){for(var c=0;c<o.length;c++){const e=o[c];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in i)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(i,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}};(function(i){var o=f.streamHttp,c=f.require$$1,e=i.exports;for(var r in o)o.hasOwnProperty(r)&&(e[r]=o[r]);e.request=function(t,s){return t=n(t),o.request.call(this,t,s)},e.get=function(t,s){return t=n(t),o.get.call(this,t,s)};function n(t){if(typeof t=="string"&&(t=c.parse(t)),t.protocol||(t.protocol="https:"),t.protocol!=="https:")throw new Error('Protocol "'+t.protocol+'" not supported. Expected "https:"');return t}})(u);var l=u.exports;const g=p.getDefaultExportFromCjs(l),h=d({__proto__:null,default:g},[l]);exports.index=h;
|