@iamjariwala/react-doc-viewer 1.4.1 → 1.5.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 (138) hide show
  1. package/dist/{index-DdxtHbXJ.js → index-BDy_G-6x.js} +2 -2
  2. package/dist/{index-DDciENnB.cjs → index-BMTSVg1c.cjs} +1 -1
  3. package/dist/{index-DHsZZ2xX.js → index-Ba7-TkGo.js} +17914 -11927
  4. package/dist/index-CnEWg8Vs.cjs +77 -0
  5. package/dist/{index-B_9N115A.cjs → index-DN_5oCsl.cjs} +1 -1
  6. package/dist/{index-yeyotorh.js → index-MuffK10n.js} +2 -2
  7. package/dist/index.css +1 -1
  8. package/dist/react-doc-viewer.cjs +1 -1
  9. package/dist/react-doc-viewer.js +21 -18
  10. package/dist/renderers/docx/index.d.ts +4 -0
  11. package/dist/{src/renderers → renderers}/index.d.ts +4 -1
  12. package/dist/renderers/markdown/index.d.ts +4 -0
  13. package/dist/renderers/rtf/index.d.ts +4 -0
  14. package/dist/{url-CJMs95kL.cjs → url-BKzIFWJ6.cjs} +1 -1
  15. package/dist/{url-DNNqPKsX.js → url-CBUIAJr7.js} +1 -1
  16. package/package.json +2 -1
  17. package/dist/docs-site/docusaurus.config.d.ts +0 -4
  18. package/dist/docs-site/sidebars.d.ts +0 -4
  19. package/dist/docs-site/src/components/HomepageFeatures/index.d.ts +0 -3
  20. package/dist/docs-site/src/pages/index.d.ts +0 -3
  21. package/dist/index-Bxz55fXL.cjs +0 -42
  22. /package/dist/{src/DocViewer.d.ts → DocViewer.d.ts} +0 -0
  23. /package/dist/{src/components → components}/DocumentNav.d.ts +0 -0
  24. /package/dist/{src/components → components}/FileName.d.ts +0 -0
  25. /package/dist/{src/components → components}/HeaderBar.d.ts +0 -0
  26. /package/dist/{src/components → components}/LoadingTimout.d.ts +0 -0
  27. /package/dist/{src/components → components}/ProxyRenderer.d.ts +0 -0
  28. /package/dist/{src/components → components}/common/Button.d.ts +0 -0
  29. /package/dist/{src/components → components}/common/index.d.ts +0 -0
  30. /package/dist/{src/components → components}/icons/index.d.ts +0 -0
  31. /package/dist/{src/cssStyles.d.ts → cssStyles.d.ts} +0 -0
  32. /package/dist/{src/defaultTheme.d.ts → defaultTheme.d.ts} +0 -0
  33. /package/dist/{src/features → features}/annotations/components/AnnotationLayer.d.ts +0 -0
  34. /package/dist/{src/features → features}/annotations/components/AnnotationToolbar.d.ts +0 -0
  35. /package/dist/{src/features → features}/annotations/components/ColorPicker.d.ts +0 -0
  36. /package/dist/{src/features → features}/annotations/components/CommentMarker.d.ts +0 -0
  37. /package/dist/{src/features → features}/annotations/components/CommentPopover.d.ts +0 -0
  38. /package/dist/{src/features → features}/annotations/components/TextHighlight.d.ts +0 -0
  39. /package/dist/{src/features → features}/annotations/components/icons/index.d.ts +0 -0
  40. /package/dist/{src/features → features}/annotations/hooks/useAnnotationExport.d.ts +0 -0
  41. /package/dist/{src/features → features}/annotations/hooks/useDrawingCanvas.d.ts +0 -0
  42. /package/dist/{src/features → features}/annotations/hooks/useTextSelection.d.ts +0 -0
  43. /package/dist/{src/features → features}/annotations/index.d.ts +0 -0
  44. /package/dist/{src/features → features}/annotations/state/actions.d.ts +0 -0
  45. /package/dist/{src/features → features}/annotations/state/index.d.ts +0 -0
  46. /package/dist/{src/features → features}/annotations/state/reducer.d.ts +0 -0
  47. /package/dist/{src/features → features}/annotations/types/index.d.ts +0 -0
  48. /package/dist/{src/features → features}/bookmarks/components/BookmarkItem.d.ts +0 -0
  49. /package/dist/{src/features → features}/bookmarks/components/BookmarksSidebar.d.ts +0 -0
  50. /package/dist/{src/features → features}/bookmarks/components/BookmarksToggle.d.ts +0 -0
  51. /package/dist/{src/features → features}/bookmarks/hooks/useBookmarks.d.ts +0 -0
  52. /package/dist/{src/features → features}/bookmarks/index.d.ts +0 -0
  53. /package/dist/{src/features → features}/bookmarks/state/actions.d.ts +0 -0
  54. /package/dist/{src/features → features}/bookmarks/state/context.d.ts +0 -0
  55. /package/dist/{src/features → features}/bookmarks/state/provider.d.ts +0 -0
  56. /package/dist/{src/features → features}/bookmarks/state/reducer.d.ts +0 -0
  57. /package/dist/{src/features → features}/bookmarks/types/index.d.ts +0 -0
  58. /package/dist/{src/features → features}/drag-drop/components/DropZoneOverlay.d.ts +0 -0
  59. /package/dist/{src/features → features}/drag-drop/hooks/useDragDrop.d.ts +0 -0
  60. /package/dist/{src/features → features}/drag-drop/hooks/useFileProcessor.d.ts +0 -0
  61. /package/dist/{src/features → features}/drag-drop/index.d.ts +0 -0
  62. /package/dist/{src/features → features}/drag-drop/types/index.d.ts +0 -0
  63. /package/dist/{src/features → features}/keyboard-shortcuts/hooks/useKeyboardShortcuts.d.ts +0 -0
  64. /package/dist/{src/features → features}/keyboard-shortcuts/index.d.ts +0 -0
  65. /package/dist/{src/features → features}/keyboard-shortcuts/types/index.d.ts +0 -0
  66. /package/dist/{src/features → features}/password-pdf/components/PasswordPrompt.d.ts +0 -0
  67. /package/dist/{src/features → features}/password-pdf/index.d.ts +0 -0
  68. /package/dist/{src/features → features}/split-view/components/SplitViewContainer.d.ts +0 -0
  69. /package/dist/{src/features → features}/split-view/index.d.ts +0 -0
  70. /package/dist/{src/features → features}/text-search/components/SearchBar.d.ts +0 -0
  71. /package/dist/{src/features → features}/text-search/hooks/useTextSearch.d.ts +0 -0
  72. /package/dist/{src/features → features}/text-search/index.d.ts +0 -0
  73. /package/dist/{src/features → features}/text-search/state/actions.d.ts +0 -0
  74. /package/dist/{src/features → features}/text-search/state/context.d.ts +0 -0
  75. /package/dist/{src/features → features}/text-search/state/provider.d.ts +0 -0
  76. /package/dist/{src/features → features}/text-search/state/reducer.d.ts +0 -0
  77. /package/dist/{src/features → features}/text-search/types/index.d.ts +0 -0
  78. /package/dist/{src/features → features}/thumbnail-sidebar/components/ThumbnailItem.d.ts +0 -0
  79. /package/dist/{src/features → features}/thumbnail-sidebar/components/ThumbnailSidebar.d.ts +0 -0
  80. /package/dist/{src/features → features}/thumbnail-sidebar/components/ThumbnailToggle.d.ts +0 -0
  81. /package/dist/{src/features → features}/thumbnail-sidebar/hooks/useThumbnailGenerator.d.ts +0 -0
  82. /package/dist/{src/features → features}/thumbnail-sidebar/index.d.ts +0 -0
  83. /package/dist/{src/features → features}/thumbnail-sidebar/state/actions.d.ts +0 -0
  84. /package/dist/{src/features → features}/thumbnail-sidebar/state/index.d.ts +0 -0
  85. /package/dist/{src/features → features}/thumbnail-sidebar/state/reducer.d.ts +0 -0
  86. /package/dist/{src/features → features}/watermark/components/WatermarkOverlay.d.ts +0 -0
  87. /package/dist/{src/features → features}/watermark/index.d.ts +0 -0
  88. /package/dist/{src/hooks → hooks}/useDocumentLoader.d.ts +0 -0
  89. /package/dist/{src/hooks → hooks}/useFullscreen.d.ts +0 -0
  90. /package/dist/{src/hooks → hooks}/useRendererSelector.d.ts +0 -0
  91. /package/dist/{src/hooks → hooks}/useTranslation.d.ts +0 -0
  92. /package/dist/{src/hooks → hooks}/useWindowSize.d.ts +0 -0
  93. /package/dist/{src/i18n.d.ts → i18n.d.ts} +0 -0
  94. /package/dist/{src/index.d.ts → index.d.ts} +0 -0
  95. /package/dist/{src/locales → locales}/ar.json.d.ts +0 -0
  96. /package/dist/{src/locales → locales}/de.json.d.ts +0 -0
  97. /package/dist/{src/locales → locales}/en.json.d.ts +0 -0
  98. /package/dist/{src/locales → locales}/es.json.d.ts +0 -0
  99. /package/dist/{src/locales → locales}/fr.json.d.ts +0 -0
  100. /package/dist/{src/locales → locales}/it.json.d.ts +0 -0
  101. /package/dist/{src/locales → locales}/ja.json.d.ts +0 -0
  102. /package/dist/{src/locales → locales}/pl.json.d.ts +0 -0
  103. /package/dist/{src/locales → locales}/pt.json.d.ts +0 -0
  104. /package/dist/{src/locales → locales}/ru.json.d.ts +0 -0
  105. /package/dist/{src/locales → locales}/se.json.d.ts +0 -0
  106. /package/dist/{src/locales → locales}/sr.json.d.ts +0 -0
  107. /package/dist/{src/locales → locales}/sr_cyr.json.d.ts +0 -0
  108. /package/dist/{src/locales → locales}/tr.json.d.ts +0 -0
  109. /package/dist/{src/models.d.ts → models.d.ts} +0 -0
  110. /package/dist/{src/renderers → renderers}/bmp/index.d.ts +0 -0
  111. /package/dist/{src/renderers → renderers}/csv/index.d.ts +0 -0
  112. /package/dist/{src/renderers → renderers}/gif/index.d.ts +0 -0
  113. /package/dist/{src/renderers → renderers}/html/index.d.ts +0 -0
  114. /package/dist/{src/renderers → renderers}/image/index.d.ts +0 -0
  115. /package/dist/{src/renderers → renderers}/jpg/index.d.ts +0 -0
  116. /package/dist/{src/renderers → renderers}/msdoc/index.d.ts +0 -0
  117. /package/dist/{src/renderers → renderers}/pdf/components/PDFControls.d.ts +0 -0
  118. /package/dist/{src/renderers → renderers}/pdf/components/PDFPagination.d.ts +0 -0
  119. /package/dist/{src/renderers → renderers}/pdf/components/PDFThumbnailGenerator.d.ts +0 -0
  120. /package/dist/{src/renderers → renderers}/pdf/components/icons/index.d.ts +0 -0
  121. /package/dist/{src/renderers → renderers}/pdf/components/pages/PDFAllPages.d.ts +0 -0
  122. /package/dist/{src/renderers → renderers}/pdf/components/pages/PDFPages.d.ts +0 -0
  123. /package/dist/{src/renderers → renderers}/pdf/components/pages/PDFSinglePage.d.ts +0 -0
  124. /package/dist/{src/renderers → renderers}/pdf/index.d.ts +0 -0
  125. /package/dist/{src/renderers → renderers}/pdf/state/actions.d.ts +0 -0
  126. /package/dist/{src/renderers → renderers}/pdf/state/index.d.ts +0 -0
  127. /package/dist/{src/renderers → renderers}/pdf/state/reducer.d.ts +0 -0
  128. /package/dist/{src/renderers → renderers}/png/index.d.ts +0 -0
  129. /package/dist/{src/renderers → renderers}/tiff/index.d.ts +0 -0
  130. /package/dist/{src/renderers → renderers}/tiff/tiffToCanvas.d.ts +0 -0
  131. /package/dist/{src/renderers → renderers}/txt/index.d.ts +0 -0
  132. /package/dist/{src/renderers → renderers}/video/index.d.ts +0 -0
  133. /package/dist/{src/renderers → renderers}/webp/index.d.ts +0 -0
  134. /package/dist/{src/store → store}/DocViewerProvider.d.ts +0 -0
  135. /package/dist/{src/store → store}/actions.d.ts +0 -0
  136. /package/dist/{src/store → store}/mainStateReducer.d.ts +0 -0
  137. /package/dist/{src/utils → utils}/fileLoaders.d.ts +0 -0
  138. /package/dist/{src/utils → utils}/getFileName.d.ts +0 -0
@@ -1,5 +1,5 @@
1
- import { g as u } from "./index-DHsZZ2xX.js";
2
- import { s as l, r as g } from "./index-yeyotorh.js";
1
+ import { g as u } from "./index-Ba7-TkGo.js";
2
+ import { s as l, r as g } from "./index-MuffK10n.js";
3
3
  function h(i, o) {
4
4
  for (var f = 0; f < o.length; f++) {
5
5
  const r = o[f];
@@ -1 +1 @@
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;
1
+ "use strict";const p=require("./index-CnEWg8Vs.cjs"),f=require("./index-DN_5oCsl.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;