@osdk/react-components 0.25.0 → 0.26.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 (55) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/build/browser/excel-viewer/parseSpreadsheet.js +1 -1
  3. package/build/browser/excel-viewer/parseSpreadsheet.js.map +1 -1
  4. package/build/browser/util/UserAgent.js +1 -1
  5. package/build/cjs/{chunk-5JJQ5X5R.cjs → chunk-3FFHTVG7.cjs} +6 -6
  6. package/build/cjs/{chunk-5JJQ5X5R.cjs.map → chunk-3FFHTVG7.cjs.map} +1 -1
  7. package/build/cjs/{chunk-4VJIPB7R.cjs → chunk-3SJODG6U.cjs} +5 -5
  8. package/build/cjs/chunk-3SJODG6U.cjs.map +1 -0
  9. package/build/cjs/{chunk-6L63NPQG.cjs → chunk-3VL5YVFA.cjs} +4 -4
  10. package/build/cjs/{chunk-6L63NPQG.cjs.map → chunk-3VL5YVFA.cjs.map} +1 -1
  11. package/build/cjs/{chunk-XWS2AC35.cjs → chunk-DY6YZDDT.cjs} +4 -4
  12. package/build/cjs/{chunk-XWS2AC35.cjs.map → chunk-DY6YZDDT.cjs.map} +1 -1
  13. package/build/cjs/chunk-GKWXRVFO.cjs +11 -0
  14. package/build/cjs/{chunk-WWLCXYON.cjs.map → chunk-GKWXRVFO.cjs.map} +1 -1
  15. package/build/cjs/{chunk-JP47JG5E.cjs → chunk-IFOPHNX3.cjs} +4 -4
  16. package/build/cjs/{chunk-JP47JG5E.cjs.map → chunk-IFOPHNX3.cjs.map} +1 -1
  17. package/build/cjs/chunk-JPVZGQXS.cjs +11 -0
  18. package/build/cjs/{chunk-IR6JZWJL.cjs.map → chunk-JPVZGQXS.cjs.map} +1 -1
  19. package/build/cjs/{chunk-35GST4FB.cjs → chunk-OZ3OGPEA.cjs} +4 -4
  20. package/build/cjs/{chunk-35GST4FB.cjs.map → chunk-OZ3OGPEA.cjs.map} +1 -1
  21. package/build/cjs/{chunk-QT5CNZF3.cjs → chunk-RDILWZTC.cjs} +4 -4
  22. package/build/cjs/{chunk-QT5CNZF3.cjs.map → chunk-RDILWZTC.cjs.map} +1 -1
  23. package/build/cjs/chunk-UJXNFENA.cjs +11 -0
  24. package/build/cjs/{chunk-QUDOYYWI.cjs.map → chunk-UJXNFENA.cjs.map} +1 -1
  25. package/build/cjs/{chunk-MQTQLA4O.cjs → chunk-UTB55N5Y.cjs} +3 -3
  26. package/build/cjs/{chunk-MQTQLA4O.cjs.map → chunk-UTB55N5Y.cjs.map} +1 -1
  27. package/build/cjs/chunk-W6C6UWUN.cjs +11 -0
  28. package/build/cjs/{chunk-ZQTIVTJW.cjs.map → chunk-W6C6UWUN.cjs.map} +1 -1
  29. package/build/cjs/{chunk-VW7HAI4H.cjs → chunk-Y4OUZFGE.cjs} +4 -4
  30. package/build/cjs/{chunk-VW7HAI4H.cjs.map → chunk-Y4OUZFGE.cjs.map} +1 -1
  31. package/build/cjs/chunk-YLYICFCA.cjs +11 -0
  32. package/build/cjs/{chunk-UXOUQ5BH.cjs.map → chunk-YLYICFCA.cjs.map} +1 -1
  33. package/build/cjs/public/experimental/action-form.cjs +4 -4
  34. package/build/cjs/public/experimental/document-viewer.cjs +5 -5
  35. package/build/cjs/public/experimental/email-viewer.cjs +3 -3
  36. package/build/cjs/public/experimental/excel-viewer.cjs +5 -5
  37. package/build/cjs/public/experimental/filter-list.cjs +15 -15
  38. package/build/cjs/public/experimental/image-viewer.cjs +3 -3
  39. package/build/cjs/public/experimental/markdown-renderer.cjs +3 -3
  40. package/build/cjs/public/experimental/object-table.cjs +8 -8
  41. package/build/cjs/public/experimental/pdf-viewer.cjs +7 -7
  42. package/build/cjs/public/experimental/tiff-renderer.cjs +3 -3
  43. package/build/cjs/public/experimental/video-viewer.cjs +3 -3
  44. package/build/cjs/public/experimental/xml-viewer.cjs +3 -3
  45. package/build/cjs/public/experimental.cjs +50 -50
  46. package/build/esm/excel-viewer/parseSpreadsheet.js +1 -1
  47. package/build/esm/excel-viewer/parseSpreadsheet.js.map +1 -1
  48. package/build/esm/util/UserAgent.js +1 -1
  49. package/package.json +5 -5
  50. package/build/cjs/chunk-4VJIPB7R.cjs.map +0 -1
  51. package/build/cjs/chunk-IR6JZWJL.cjs +0 -11
  52. package/build/cjs/chunk-QUDOYYWI.cjs +0 -11
  53. package/build/cjs/chunk-UXOUQ5BH.cjs +0 -11
  54. package/build/cjs/chunk-WWLCXYON.cjs +0 -11
  55. package/build/cjs/chunk-ZQTIVTJW.cjs +0 -11
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkOUJQJQ7N_cjs = require('./chunk-OUJQJQ7N.cjs');
4
+ var chunkUTB55N5Y_cjs = require('./chunk-UTB55N5Y.cjs');
5
+
6
+ // src/public/experimental/xml-viewer.ts
7
+ var XmlViewer2 = chunkUTB55N5Y_cjs.withOsdkMetrics(chunkOUJQJQ7N_cjs.XmlViewer, "XmlViewer");
8
+
9
+ exports.XmlViewer = XmlViewer2;
10
+ //# sourceMappingURL=chunk-UJXNFENA.cjs.map
11
+ //# sourceMappingURL=chunk-UJXNFENA.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/experimental/xml-viewer.ts"],"names":["XmlViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,UAAAA,GAAYC,iCAAA,CAAgBD,2BAAA,EAAY,WAAW","file":"chunk-QUDOYYWI.cjs","sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// BaseXmlViewer\nexport { BaseXmlViewer } from \"../../xml-viewer/BaseXmlViewer.js\";\n// XmlViewer (Media wrapper)\nimport { withOsdkMetrics } from \"../../util/withOsdkMetrics.js\";\nimport { XmlViewer as _XmlViewer } from \"../../xml-viewer/XmlViewer.js\";\nexport const XmlViewer = withOsdkMetrics(_XmlViewer, \"XmlViewer\");"]}
1
+ {"version":3,"sources":["../../src/public/experimental/xml-viewer.ts"],"names":["XmlViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,UAAAA,GAAYC,iCAAA,CAAgBD,2BAAA,EAAY,WAAW","file":"chunk-UJXNFENA.cjs","sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// BaseXmlViewer\nexport { BaseXmlViewer } from \"../../xml-viewer/BaseXmlViewer.js\";\n// XmlViewer (Media wrapper)\nimport { withOsdkMetrics } from \"../../util/withOsdkMetrics.js\";\nimport { XmlViewer as _XmlViewer } from \"../../xml-viewer/XmlViewer.js\";\nexport const XmlViewer = withOsdkMetrics(_XmlViewer, \"XmlViewer\");"]}
@@ -10,7 +10,7 @@ var React__default = /*#__PURE__*/_interopDefault(React);
10
10
  // src/util/withOsdkMetrics.ts
11
11
 
12
12
  // src/util/UserAgent.ts
13
- var PACKAGE_USER_AGENT = `osdk-react-components/${"0.25.0"}`;
13
+ var PACKAGE_USER_AGENT = `osdk-react-components/${"0.26.0"}`;
14
14
  function componentUserAgent(componentName) {
15
15
  return `${PACKAGE_USER_AGENT}/${componentName}`;
16
16
  }
@@ -26,5 +26,5 @@ function withOsdkMetrics(Component, name) {
26
26
  }
27
27
 
28
28
  exports.withOsdkMetrics = withOsdkMetrics;
29
- //# sourceMappingURL=chunk-MQTQLA4O.cjs.map
30
- //# sourceMappingURL=chunk-MQTQLA4O.cjs.map
29
+ //# sourceMappingURL=chunk-UTB55N5Y.cjs.map
30
+ //# sourceMappingURL=chunk-UTB55N5Y.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/util/UserAgent.ts","../../src/util/withOsdkMetrics.ts"],"names":["useRegisterUserAgent","React"],"mappings":";;;;;;;;;;;;AAgBA,IAAM,kBAAA,GAAqB,yBAAyB,QAA2B,CAAA,CAAA;AACxE,SAAS,mBAAmB,aAAA,EAAe;AAChD,EAAA,OAAO,CAAA,EAAG,kBAAkB,CAAA,CAAA,EAAI,aAAa,CAAA,CAAA;AAC/C;;;ACKO,SAAS,eAAA,CAAgB,WAAW,IAAA,EAAM;AAC/C,EAAA,MAAM,UAAU,CAAA,KAAA,KAAS;AACvB,IAAAA,0BAAA,CAAqB,kBAAA,CAAmB,IAAI,CAAC,CAAA;AAC7C,IAAA,uBAAoBC,sBAAA,CAAM,aAAA,CAAc,SAAA,EAAW,KAAK,CAAA;AAAA,EAC1D,CAAA;AACA,EAAA,OAAA,CAAQ,WAAA,GAAc,mBAAmB,IAAI,CAAA,CAAA,CAAA;AAC7C,EAAA,OAAO,OAAA;AACT","file":"chunk-MQTQLA4O.cjs","sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nconst PACKAGE_USER_AGENT = `osdk-react-components/${process.env.PACKAGE_VERSION}`;\nexport function componentUserAgent(componentName) {\n return `${PACKAGE_USER_AGENT}/${componentName}`;\n}","/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { useRegisterUserAgent } from \"@osdk/react\";\nimport React from \"react\";\nimport { componentUserAgent } from \"./UserAgent.js\";\n\n// `any` is required: FunctionComponent defaults to FunctionComponent<{}> which\n// rejects components with required props. A generic P parameter doesn't help\n// because TS can't infer both P and C simultaneously from a single argument.\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function withOsdkMetrics(Component, name) {\n const Wrapped = props => {\n useRegisterUserAgent(componentUserAgent(name));\n return /*#__PURE__*/React.createElement(Component, props);\n };\n Wrapped.displayName = `withOsdkMetrics(${name})`;\n return Wrapped;\n}"]}
1
+ {"version":3,"sources":["../../src/util/UserAgent.ts","../../src/util/withOsdkMetrics.ts"],"names":["useRegisterUserAgent","React"],"mappings":";;;;;;;;;;;;AAgBA,IAAM,kBAAA,GAAqB,yBAAyB,QAA2B,CAAA,CAAA;AACxE,SAAS,mBAAmB,aAAA,EAAe;AAChD,EAAA,OAAO,CAAA,EAAG,kBAAkB,CAAA,CAAA,EAAI,aAAa,CAAA,CAAA;AAC/C;;;ACKO,SAAS,eAAA,CAAgB,WAAW,IAAA,EAAM;AAC/C,EAAA,MAAM,UAAU,CAAA,KAAA,KAAS;AACvB,IAAAA,0BAAA,CAAqB,kBAAA,CAAmB,IAAI,CAAC,CAAA;AAC7C,IAAA,uBAAoBC,sBAAA,CAAM,aAAA,CAAc,SAAA,EAAW,KAAK,CAAA;AAAA,EAC1D,CAAA;AACA,EAAA,OAAA,CAAQ,WAAA,GAAc,mBAAmB,IAAI,CAAA,CAAA,CAAA;AAC7C,EAAA,OAAO,OAAA;AACT","file":"chunk-UTB55N5Y.cjs","sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nconst PACKAGE_USER_AGENT = `osdk-react-components/${process.env.PACKAGE_VERSION}`;\nexport function componentUserAgent(componentName) {\n return `${PACKAGE_USER_AGENT}/${componentName}`;\n}","/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { useRegisterUserAgent } from \"@osdk/react\";\nimport React from \"react\";\nimport { componentUserAgent } from \"./UserAgent.js\";\n\n// `any` is required: FunctionComponent defaults to FunctionComponent<{}> which\n// rejects components with required props. A generic P parameter doesn't help\n// because TS can't infer both P and C simultaneously from a single argument.\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function withOsdkMetrics(Component, name) {\n const Wrapped = props => {\n useRegisterUserAgent(componentUserAgent(name));\n return /*#__PURE__*/React.createElement(Component, props);\n };\n Wrapped.displayName = `withOsdkMetrics(${name})`;\n return Wrapped;\n}"]}
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunk3SJODG6U_cjs = require('./chunk-3SJODG6U.cjs');
4
+ var chunkUTB55N5Y_cjs = require('./chunk-UTB55N5Y.cjs');
5
+
6
+ // src/public/experimental/excel-viewer.ts
7
+ var ExcelViewer2 = chunkUTB55N5Y_cjs.withOsdkMetrics(chunk3SJODG6U_cjs.ExcelViewer, "ExcelViewer");
8
+
9
+ exports.ExcelViewer = ExcelViewer2;
10
+ //# sourceMappingURL=chunk-W6C6UWUN.cjs.map
11
+ //# sourceMappingURL=chunk-W6C6UWUN.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/experimental/excel-viewer.ts"],"names":["ExcelViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,YAAAA,GAAcC,iCAAA,CAAgBD,6BAAA,EAAc,aAAa","file":"chunk-ZQTIVTJW.cjs","sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// BaseExcelViewer\nexport { BaseExcelViewer } from \"../../excel-viewer/BaseExcelViewer.js\";\n// ExcelViewer (Media wrapper)\nimport { ExcelViewer as _ExcelViewer } from \"../../excel-viewer/ExcelViewer.js\";\nimport { withOsdkMetrics } from \"../../util/withOsdkMetrics.js\";\nexport const ExcelViewer = withOsdkMetrics(_ExcelViewer, \"ExcelViewer\");"]}
1
+ {"version":3,"sources":["../../src/public/experimental/excel-viewer.ts"],"names":["ExcelViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,YAAAA,GAAcC,iCAAA,CAAgBD,6BAAA,EAAc,aAAa","file":"chunk-W6C6UWUN.cjs","sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// BaseExcelViewer\nexport { BaseExcelViewer } from \"../../excel-viewer/BaseExcelViewer.js\";\n// ExcelViewer (Media wrapper)\nimport { ExcelViewer as _ExcelViewer } from \"../../excel-viewer/ExcelViewer.js\";\nimport { withOsdkMetrics } from \"../../util/withOsdkMetrics.js\";\nexport const ExcelViewer = withOsdkMetrics(_ExcelViewer, \"ExcelViewer\");"]}
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkFWZS3WQ4_cjs = require('./chunk-FWZS3WQ4.cjs');
4
- var chunkMQTQLA4O_cjs = require('./chunk-MQTQLA4O.cjs');
4
+ var chunkUTB55N5Y_cjs = require('./chunk-UTB55N5Y.cjs');
5
5
  var icons = require('@blueprintjs/icons');
6
6
  var classnames = require('classnames');
7
7
  require('pdfjs-dist/web/pdf_viewer.css');
@@ -179,12 +179,12 @@ function usePdfViewerInstance(options) {
179
179
  }
180
180
 
181
181
  // src/public/experimental/pdf-viewer.ts
182
- var PdfViewer2 = chunkMQTQLA4O_cjs.withOsdkMetrics(chunkFWZS3WQ4_cjs.PdfViewer, "PdfViewer");
182
+ var PdfViewer2 = chunkUTB55N5Y_cjs.withOsdkMetrics(chunkFWZS3WQ4_cjs.PdfViewer, "PdfViewer");
183
183
 
184
184
  exports.PdfViewer = PdfViewer2;
185
185
  exports.PdfViewerContent = PdfViewerContent;
186
186
  exports.PdfViewerProvider = PdfViewerProvider;
187
187
  exports.usePdfViewerContext = usePdfViewerContext;
188
188
  exports.usePdfViewerInstance = usePdfViewerInstance;
189
- //# sourceMappingURL=chunk-VW7HAI4H.cjs.map
190
- //# sourceMappingURL=chunk-VW7HAI4H.cjs.map
189
+ //# sourceMappingURL=chunk-Y4OUZFGE.cjs.map
190
+ //# sourceMappingURL=chunk-Y4OUZFGE.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/pdf-viewer/components/PdfViewerContent.tsx","../../src/pdf-viewer/PdfViewerContext.tsx","../../src/public/experimental/pdf-viewer.ts"],"names":["EMPTY_ANNOTATION_ARRAY","usePdfViewerCore","usePdfAnnotationsByPage","usePdfFormFields","useRef","useEffect","classnames","PdfViewer_default","React","Spin","ErrorIcon","PdfAnnotationOverlay","useContext","usePdfViewerState","usePdfHighlightMode","useMemo","PdfViewer","withOsdkMetrics"],"mappings":";;;;;;;;;;;;;;AA0BO,SAAS,gBAAA,CAAiB;AAAA,EAC/B,GAAA;AAAA,EACA,WAAA,GAAcA,wCAAA;AAAA,EACd,iBAAA;AAAA,EACA,WAAA,GAAc,CAAA;AAAA,EACd,YAAA,GAAe,CAAA;AAAA,EACf,YAAA,EAAc,gBAAA;AAAA,EACd,aAAA,EAAe,iBAAA;AAAA,EACf,QAAA;AAAA,EACA,YAAA;AAAA,EACA;AACF,CAAA,EAAG;AACD,EAAA,MAAM,SAASC,kCAAA,CAAiB;AAAA,IAC9B,GAAA;AAAA,IACA,WAAA;AAAA,IACA;AAAA,GACD,CAAA;AACD,EAAA,MAAM,iBAAA,GAAoBC,0CAAwB,WAAW,CAAA;AAC7D,EAAAC,kCAAA,CAAiB;AAAA,IACf,cAAc,MAAA,CAAO,YAAA;AAAA,IACrB,aAAa,MAAA,CAAO,WAAA;AAAA,IACpB,UAAU,MAAA,CAAO,QAAA;AAAA,IACjB,QAAA;AAAA,IACA;AAAA,GACD,CAAA;AAGD,EAAA,MAAM,eAAA,GAAkBC,aAAO,gBAAgB,CAAA;AAC/C,EAAA,eAAA,CAAgB,OA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AAA,GAAYC,iCAAA,CAAgBD,2BAAA,EAAY,WAAW","file":"chunk-VW7HAI4H.cjs","sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Error as ErrorIcon, Spin } from \"@blueprintjs/icons\";\nimport classnames from \"classnames\";\nimport \"pdfjs-dist/web/pdf_viewer.css\";\nimport React, { useEffect, useRef } from \"react\";\nimport { EMPTY_ANNOTATION_ARRAY } from \"../constants.js\";\nimport { usePdfAnnotationsByPage } from \"../hooks/usePdfAnnotationsByPage.js\";\nimport { usePdfFormFields } from \"../hooks/usePdfFormFields.js\";\nimport { usePdfViewerCore } from \"../hooks/usePdfViewerCore.js\";\nimport styles from \"../PdfViewer.module.css\";\nimport { PdfAnnotationOverlay } from \"./PdfAnnotationOverlay.js\";\nexport function PdfViewerContent({\n src,\n annotations = EMPTY_ANNOTATION_ARRAY,\n onAnnotationClick,\n initialPage = 1,\n initialScale = 1.0,\n onPageChange: onPageChangeProp,\n onScaleChange: onScaleChangeProp,\n formData,\n onFormChange,\n className\n}) {\n const viewer = usePdfViewerCore({\n src,\n initialPage,\n initialScale\n });\n const annotationsByPage = usePdfAnnotationsByPage(annotations);\n usePdfFormFields({\n pdfViewerRef: viewer.pdfViewerRef,\n eventBusRef: viewer.eventBusRef,\n document: viewer.document,\n formData,\n onFormChange\n });\n\n // Use refs for callbacks to avoid firing on initial mount\n const onPageChangeRef = useRef(onPageChangeProp);\n onPageChangeRef.current = onPageChangeProp;\n const onScaleChangeRef = useRef(onScaleChangeProp);\n onScaleChangeRef.current = onScaleChangeProp;\n const isInitialMountRef = useRef(true);\n useEffect(function notifyPageChange() {\n if (isInitialMountRef.current) {\n return;\n }\n onPageChangeRef.current?.(viewer.currentPage);\n }, [viewer.currentPage]);\n useEffect(function notifyScaleChange() {\n if (isInitialMountRef.current) {\n return;\n }\n onScaleChangeRef.current?.(viewer.scale);\n }, [viewer.scale]);\n useEffect(function clearInitialMount() {\n isInitialMountRef.current = false;\n }, []);\n const rootClassName = classnames(styles.pdfViewer, className);\n if (viewer.loading) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: rootClassName\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: styles.loadingContainer\n }, /*#__PURE__*/React.createElement(Spin, {\n className: styles.spinnerIcon\n }), \"Loading\\u2026\"));\n }\n if (viewer.error != null) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: rootClassName\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: styles.errorContainer\n }, /*#__PURE__*/React.createElement(ErrorIcon, {\n className: styles.errorIcon\n }), \"Failed to load PDF: \", viewer.error.message));\n }\n if (viewer.document == null) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: rootClassName\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: styles.loadingContainer\n }, \"No document\"));\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: rootClassName\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: styles.scrollContainerWrapper\n }, /*#__PURE__*/React.createElement(\"div\", {\n ref: viewer.containerRef,\n className: styles.scrollContainer\n }, /*#__PURE__*/React.createElement(\"div\", {\n ref: viewer.viewerRef,\n className: \"pdfViewer\"\n }), viewer.portalTargets.map(target => {\n const pageAnnotations = annotationsByPage[target.pageNumber] ?? EMPTY_ANNOTATION_ARRAY;\n if (pageAnnotations.length === 0) {\n return null;\n }\n return /*#__PURE__*/React.createElement(PdfAnnotationOverlay, {\n key: target.pageNumber,\n target: target,\n annotations: pageAnnotations,\n onAnnotationClick: onAnnotationClick\n });\n }))));\n}","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { createContext, useContext, useMemo } from \"react\";\nimport { EMPTY_ANNOTATION_ARRAY } from \"./constants.js\";\nimport { usePdfAnnotationsByPage } from \"./hooks/usePdfAnnotationsByPage.js\";\nimport { usePdfFormFields } from \"./hooks/usePdfFormFields.js\";\nimport { usePdfHighlightMode } from \"./hooks/usePdfHighlightMode.js\";\nimport { usePdfViewerState } from \"./hooks/usePdfViewerState.js\";\n\n/** The shape of the value provided by {@link PdfViewerProvider}. */\n\nconst PdfViewerContext = /*#__PURE__*/createContext(null);\n/** Provides {@link PdfViewerContextValue} to descendant components. */\nexport function PdfViewerProvider({\n value,\n children\n}) {\n return /*#__PURE__*/React.createElement(PdfViewerContext.Provider, {\n value: value\n }, children);\n}\n\n/**\n * Returns the nearest {@link PdfViewerContextValue} from a {@link PdfViewerProvider}.\n * Throws if called outside a provider.\n */\nexport function usePdfViewerContext() {\n const ctx = useContext(PdfViewerContext);\n if (ctx == null) {\n throw new Error(\"usePdfViewerContext must be used within a PdfViewerProvider\");\n }\n return ctx;\n}\n\n/**\n * Consumer-facing setup hook analogous to react-hook-form's `useForm()`.\n * Accepts viewer options and returns a {@link PdfViewerContextValue} suitable\n * for passing to {@link PdfViewerProvider}.\n */\nexport function usePdfViewerInstance(options) {\n const viewer = usePdfViewerState({\n src: options.src,\n initialPage: options.initialPage,\n initialScale: options.initialScale,\n initialAutoSize: options.initialAutoSize,\n initialSidebarOpen: options.initialSidebarOpen,\n sidebarMode: options.sidebarMode,\n onDownload: options.onDownload\n });\n const {\n highlightModeActive,\n toggleHighlightMode\n } = usePdfHighlightMode({\n pdfViewerRef: viewer.pdfViewerRef,\n document: viewer.document,\n enabled: options.highlightEnabled ?? false,\n onTextHighlight: options.onTextHighlight,\n onHighlightDelete: options.onHighlightDelete\n });\n const {\n hasFormFields,\n submitFormData\n } = usePdfFormFields({\n pdfViewerRef: viewer.pdfViewerRef,\n eventBusRef: viewer.eventBusRef,\n document: viewer.document,\n formData: options.formData,\n onFormSubmit: options.onFormSubmit,\n onFormChange: options.onFormChange\n });\n const annotations = options.annotations ?? EMPTY_ANNOTATION_ARRAY;\n const annotationsByPage = usePdfAnnotationsByPage(annotations);\n const highlightEnabled = options.highlightEnabled ?? false;\n const enableDownload = options.enableDownload ?? false;\n const enableFormSave = options.onFormSubmit != null && hasFormFields;\n const {\n onAnnotationClick,\n outlineIcons\n } = options;\n return useMemo(() => ({\n ...viewer,\n highlightEnabled,\n highlightModeActive,\n toggleHighlightMode,\n hasFormFields,\n submitFormData,\n annotations,\n annotationsByPage,\n onAnnotationClick,\n enableDownload,\n enableFormSave,\n outlineIcons\n }), [viewer, highlightEnabled, highlightModeActive, toggleHighlightMode, hasFormFields, submitFormData, annotations, annotationsByPage, onAnnotationClick, enableDownload, enableFormSave, outlineIcons]);\n}","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// PdfViewer\nexport { BasePdfViewer } from \"../../pdf-viewer/PdfViewer.js\";\n// PdfViewer building blocks\nexport { PdfViewerAnnotationLayer } from \"../../pdf-viewer/components/PdfViewerAnnotationLayer.js\";\nexport { PdfViewerContent } from \"../../pdf-viewer/components/PdfViewerContent.js\";\nexport { PdfViewerOutlineSidebar } from \"../../pdf-viewer/components/PdfViewerOutlineSidebar.js\";\nexport { PdfViewerSearchBar } from \"../../pdf-viewer/components/PdfViewerSearchBar.js\";\nexport { PdfViewerSidebar } from \"../../pdf-viewer/components/PdfViewerSidebar.js\";\nexport { PdfViewerToolbar } from \"../../pdf-viewer/components/PdfViewerToolbar.js\";\n\n// PdfViewer hooks — primitive\nexport { usePdfAnnotationPortals } from \"../../pdf-viewer/hooks/usePdfAnnotationPortals.js\";\nexport { usePdfAnnotationsByPage } from \"../../pdf-viewer/hooks/usePdfAnnotationsByPage.js\";\nexport { usePdfDocument } from \"../../pdf-viewer/hooks/usePdfDocument.js\";\nexport { usePdfFormFields } from \"../../pdf-viewer/hooks/usePdfFormFields.js\";\nexport { usePdfHighlightMode } from \"../../pdf-viewer/hooks/usePdfHighlightMode.js\";\nexport { usePdfOutline } from \"../../pdf-viewer/hooks/usePdfOutline.js\";\nexport { usePdfViewer } from \"../../pdf-viewer/hooks/usePdfViewer.js\";\nexport { usePdfViewerSearch } from \"../../pdf-viewer/hooks/usePdfViewerSearch.js\";\nexport { usePdfViewerSync } from \"../../pdf-viewer/hooks/usePdfViewerSync.js\";\n// PdfViewer context\nexport { PdfViewerProvider, usePdfViewerContext, usePdfViewerInstance } from \"../../pdf-viewer/PdfViewerContext.js\";\n// PdfViewer hooks — composition\nexport { usePdfViewerCore } from \"../../pdf-viewer/hooks/usePdfViewerCore.js\";\nexport { usePdfViewerState } from \"../../pdf-viewer/hooks/usePdfViewerState.js\";\n\n// PdfViewer (Media wrapper)\nimport { PdfViewer as _PdfViewer } from \"../../pdf-viewer/PdfRenderer.js\";\nimport { withOsdkMetrics } from \"../../util/withOsdkMetrics.js\";\nexport const PdfViewer = withOsdkMetrics(_PdfViewer, \"PdfViewer\");"]}
1
+ {"version":3,"sources":["../../src/pdf-viewer/components/PdfViewerContent.tsx","../../src/pdf-viewer/PdfViewerContext.tsx","../../src/public/experimental/pdf-viewer.ts"],"names":["EMPTY_ANNOTATION_ARRAY","usePdfViewerCore","usePdfAnnotationsByPage","usePdfFormFields","useRef","useEffect","classnames","PdfViewer_default","React","Spin","ErrorIcon","PdfAnnotationOverlay","useContext","usePdfViewerState","usePdfHighlightMode","useMemo","PdfViewer","withOsdkMetrics"],"mappings":";;;;;;;;;;;;;;AA0BO,SAAS,gBAAA,CAAiB;AAAA,EAC/B,GAAA;AAAA,EACA,WAAA,GAAcA,wCAAA;AAAA,EACd,iBAAA;AAAA,EACA,WAAA,GAAc,CAAA;AAAA,EACd,YAAA,GAAe,CAAA;AAAA,EACf,YAAA,EAAc,gBAAA;AAAA,EACd,aAAA,EAAe,iBAAA;AAAA,EACf,QAAA;AAAA,EACA,YAAA;AAAA,EACA;AACF,CAAA,EAAG;AACD,EAAA,MAAM,SAASC,kCAAA,CAAiB;AAAA,IAC9B,GAAA;AAAA,IACA,WAAA;AAAA,IACA;AAAA,GACD,CAAA;AACD,EAAA,MAAM,iBAAA,GAAoBC,0CAAwB,WAAW,CAAA;AAC7D,EAAAC,kCAAA,CAAiB;AAAA,IACf,cAAc,MAAA,CAAO,YAAA;AAAA,IACrB,aAAa,MAAA,CAAO,WAAA;AAAA,IACpB,UAAU,MAAA,CAAO,QAAA;AAAA,IACjB,QAAA;AAAA,IACA;AAAA,GACD,CAAA;AAGD,EAAA,MAAM,eAAA,GAAkBC,aAAO,gBAAgB,CAAA;AAC/C,EAAA,eAAA,CAAgB,OAAA,GAAU,gBAAA;AAC1B,EAAA,MAAM,gBAAA,GAAmBA,aAAO,iBAAiB,CAAA;AACjD,EAAA,gBAAA,CAAiB,OAAA,GAAU,iBAAA;AAC3B,EAAA,MAAM,iBAAA,GAAoBA,aAAO,IAAI,CAAA;AACrC,EAAAC,eAAA,CAAU,SAAS,gBAAA,GAAmB;AACpC,IAAA,IAAI,kBAAkB,OAAA,EAAS;AAC7B,MAAA;AAAA,IACF;AACA,IAAA,eAAA,CAAg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,QAAA;AAAA,IAClB,cAAc,OAAA,CAAQ,YAAA;AAAA,IACtB,cAAc,OAAA,CAAQ;AAAA,GACvB,CAAA;AACD,EAAA,MAAM,WAAA,GAAc,QAAQ,WAAA,IAAeH,wCAAA;AAC3C,EAAA,MAAM,iBAAA,GAAoBE,0CAAwB,WAAW,CAAA;AAC7D,EAAA,MAAM,gBAAA,GAAmB,QAAQ,gBAAA,IAAoB,KAAA;AACrD,EAAA,MAAM,cAAA,GAAiB,QAAQ,cAAA,IAAkB,KAAA;AACjD,EAAA,MAAM,cAAA,GAAiB,OAAA,CAAQ,YAAA,IAAgB,IAAA,IAAQ,aAAA;AACvD,EAAA,MAAM;AAAA,IACJ,iBAAA;AAAA,IACA;AAAA,GACF,GAAI,OAAA;AACJ,EAAA,OAAOa,cAAQ,OAAO;AAAA,IACpB,GAAG,MAAA;AAAA,IACH,gBAAA;AAAA,IACA,mBAAA;AAAA,IACA,mBAAA;AAAA,IACA,aAAA;AAAA,IACA,cAAA;AAAA,IACA,WAAA;AAAA,IACA,iBAAA;AAAA,IACA,iBAAA;AAAA,IACA,cAAA;AAAA,IACA,cAAA;AAAA,IACA;AAAA,GACF,CAAA,EAAI,CAAC,MAAA,EAAQ,gBAAA,EAAkB,qBAAqB,mBAAA,EAAqB,aAAA,EAAe,cAAA,EAAgB,WAAA,EAAa,iBAAA,EAAmB,iBAAA,EAAmB,cAAA,EAAgB,cAAA,EAAgB,YAAY,CAAC,CAAA;AAC1M;;;AC9DO,IAAMC,UAAAA,GAAYC,iCAAA,CAAgBD,2BAAA,EAAY,WAAW","file":"chunk-Y4OUZFGE.cjs","sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Error as ErrorIcon, Spin } from \"@blueprintjs/icons\";\nimport classnames from \"classnames\";\nimport \"pdfjs-dist/web/pdf_viewer.css\";\nimport React, { useEffect, useRef } from \"react\";\nimport { EMPTY_ANNOTATION_ARRAY } from \"../constants.js\";\nimport { usePdfAnnotationsByPage } from \"../hooks/usePdfAnnotationsByPage.js\";\nimport { usePdfFormFields } from \"../hooks/usePdfFormFields.js\";\nimport { usePdfViewerCore } from \"../hooks/usePdfViewerCore.js\";\nimport styles from \"../PdfViewer.module.css\";\nimport { PdfAnnotationOverlay } from \"./PdfAnnotationOverlay.js\";\nexport function PdfViewerContent({\n src,\n annotations = EMPTY_ANNOTATION_ARRAY,\n onAnnotationClick,\n initialPage = 1,\n initialScale = 1.0,\n onPageChange: onPageChangeProp,\n onScaleChange: onScaleChangeProp,\n formData,\n onFormChange,\n className\n}) {\n const viewer = usePdfViewerCore({\n src,\n initialPage,\n initialScale\n });\n const annotationsByPage = usePdfAnnotationsByPage(annotations);\n usePdfFormFields({\n pdfViewerRef: viewer.pdfViewerRef,\n eventBusRef: viewer.eventBusRef,\n document: viewer.document,\n formData,\n onFormChange\n });\n\n // Use refs for callbacks to avoid firing on initial mount\n const onPageChangeRef = useRef(onPageChangeProp);\n onPageChangeRef.current = onPageChangeProp;\n const onScaleChangeRef = useRef(onScaleChangeProp);\n onScaleChangeRef.current = onScaleChangeProp;\n const isInitialMountRef = useRef(true);\n useEffect(function notifyPageChange() {\n if (isInitialMountRef.current) {\n return;\n }\n onPageChangeRef.current?.(viewer.currentPage);\n }, [viewer.currentPage]);\n useEffect(function notifyScaleChange() {\n if (isInitialMountRef.current) {\n return;\n }\n onScaleChangeRef.current?.(viewer.scale);\n }, [viewer.scale]);\n useEffect(function clearInitialMount() {\n isInitialMountRef.current = false;\n }, []);\n const rootClassName = classnames(styles.pdfViewer, className);\n if (viewer.loading) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: rootClassName\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: styles.loadingContainer\n }, /*#__PURE__*/React.createElement(Spin, {\n className: styles.spinnerIcon\n }), \"Loading\\u2026\"));\n }\n if (viewer.error != null) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: rootClassName\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: styles.errorContainer\n }, /*#__PURE__*/React.createElement(ErrorIcon, {\n className: styles.errorIcon\n }), \"Failed to load PDF: \", viewer.error.message));\n }\n if (viewer.document == null) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: rootClassName\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: styles.loadingContainer\n }, \"No document\"));\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: rootClassName\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: styles.scrollContainerWrapper\n }, /*#__PURE__*/React.createElement(\"div\", {\n ref: viewer.containerRef,\n className: styles.scrollContainer\n }, /*#__PURE__*/React.createElement(\"div\", {\n ref: viewer.viewerRef,\n className: \"pdfViewer\"\n }), viewer.portalTargets.map(target => {\n const pageAnnotations = annotationsByPage[target.pageNumber] ?? EMPTY_ANNOTATION_ARRAY;\n if (pageAnnotations.length === 0) {\n return null;\n }\n return /*#__PURE__*/React.createElement(PdfAnnotationOverlay, {\n key: target.pageNumber,\n target: target,\n annotations: pageAnnotations,\n onAnnotationClick: onAnnotationClick\n });\n }))));\n}","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { createContext, useContext, useMemo } from \"react\";\nimport { EMPTY_ANNOTATION_ARRAY } from \"./constants.js\";\nimport { usePdfAnnotationsByPage } from \"./hooks/usePdfAnnotationsByPage.js\";\nimport { usePdfFormFields } from \"./hooks/usePdfFormFields.js\";\nimport { usePdfHighlightMode } from \"./hooks/usePdfHighlightMode.js\";\nimport { usePdfViewerState } from \"./hooks/usePdfViewerState.js\";\n\n/** The shape of the value provided by {@link PdfViewerProvider}. */\n\nconst PdfViewerContext = /*#__PURE__*/createContext(null);\n/** Provides {@link PdfViewerContextValue} to descendant components. */\nexport function PdfViewerProvider({\n value,\n children\n}) {\n return /*#__PURE__*/React.createElement(PdfViewerContext.Provider, {\n value: value\n }, children);\n}\n\n/**\n * Returns the nearest {@link PdfViewerContextValue} from a {@link PdfViewerProvider}.\n * Throws if called outside a provider.\n */\nexport function usePdfViewerContext() {\n const ctx = useContext(PdfViewerContext);\n if (ctx == null) {\n throw new Error(\"usePdfViewerContext must be used within a PdfViewerProvider\");\n }\n return ctx;\n}\n\n/**\n * Consumer-facing setup hook analogous to react-hook-form's `useForm()`.\n * Accepts viewer options and returns a {@link PdfViewerContextValue} suitable\n * for passing to {@link PdfViewerProvider}.\n */\nexport function usePdfViewerInstance(options) {\n const viewer = usePdfViewerState({\n src: options.src,\n initialPage: options.initialPage,\n initialScale: options.initialScale,\n initialAutoSize: options.initialAutoSize,\n initialSidebarOpen: options.initialSidebarOpen,\n sidebarMode: options.sidebarMode,\n onDownload: options.onDownload\n });\n const {\n highlightModeActive,\n toggleHighlightMode\n } = usePdfHighlightMode({\n pdfViewerRef: viewer.pdfViewerRef,\n document: viewer.document,\n enabled: options.highlightEnabled ?? false,\n onTextHighlight: options.onTextHighlight,\n onHighlightDelete: options.onHighlightDelete\n });\n const {\n hasFormFields,\n submitFormData\n } = usePdfFormFields({\n pdfViewerRef: viewer.pdfViewerRef,\n eventBusRef: viewer.eventBusRef,\n document: viewer.document,\n formData: options.formData,\n onFormSubmit: options.onFormSubmit,\n onFormChange: options.onFormChange\n });\n const annotations = options.annotations ?? EMPTY_ANNOTATION_ARRAY;\n const annotationsByPage = usePdfAnnotationsByPage(annotations);\n const highlightEnabled = options.highlightEnabled ?? false;\n const enableDownload = options.enableDownload ?? false;\n const enableFormSave = options.onFormSubmit != null && hasFormFields;\n const {\n onAnnotationClick,\n outlineIcons\n } = options;\n return useMemo(() => ({\n ...viewer,\n highlightEnabled,\n highlightModeActive,\n toggleHighlightMode,\n hasFormFields,\n submitFormData,\n annotations,\n annotationsByPage,\n onAnnotationClick,\n enableDownload,\n enableFormSave,\n outlineIcons\n }), [viewer, highlightEnabled, highlightModeActive, toggleHighlightMode, hasFormFields, submitFormData, annotations, annotationsByPage, onAnnotationClick, enableDownload, enableFormSave, outlineIcons]);\n}","/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// PdfViewer\nexport { BasePdfViewer } from \"../../pdf-viewer/PdfViewer.js\";\n// PdfViewer building blocks\nexport { PdfViewerAnnotationLayer } from \"../../pdf-viewer/components/PdfViewerAnnotationLayer.js\";\nexport { PdfViewerContent } from \"../../pdf-viewer/components/PdfViewerContent.js\";\nexport { PdfViewerOutlineSidebar } from \"../../pdf-viewer/components/PdfViewerOutlineSidebar.js\";\nexport { PdfViewerSearchBar } from \"../../pdf-viewer/components/PdfViewerSearchBar.js\";\nexport { PdfViewerSidebar } from \"../../pdf-viewer/components/PdfViewerSidebar.js\";\nexport { PdfViewerToolbar } from \"../../pdf-viewer/components/PdfViewerToolbar.js\";\n\n// PdfViewer hooks — primitive\nexport { usePdfAnnotationPortals } from \"../../pdf-viewer/hooks/usePdfAnnotationPortals.js\";\nexport { usePdfAnnotationsByPage } from \"../../pdf-viewer/hooks/usePdfAnnotationsByPage.js\";\nexport { usePdfDocument } from \"../../pdf-viewer/hooks/usePdfDocument.js\";\nexport { usePdfFormFields } from \"../../pdf-viewer/hooks/usePdfFormFields.js\";\nexport { usePdfHighlightMode } from \"../../pdf-viewer/hooks/usePdfHighlightMode.js\";\nexport { usePdfOutline } from \"../../pdf-viewer/hooks/usePdfOutline.js\";\nexport { usePdfViewer } from \"../../pdf-viewer/hooks/usePdfViewer.js\";\nexport { usePdfViewerSearch } from \"../../pdf-viewer/hooks/usePdfViewerSearch.js\";\nexport { usePdfViewerSync } from \"../../pdf-viewer/hooks/usePdfViewerSync.js\";\n// PdfViewer context\nexport { PdfViewerProvider, usePdfViewerContext, usePdfViewerInstance } from \"../../pdf-viewer/PdfViewerContext.js\";\n// PdfViewer hooks — composition\nexport { usePdfViewerCore } from \"../../pdf-viewer/hooks/usePdfViewerCore.js\";\nexport { usePdfViewerState } from \"../../pdf-viewer/hooks/usePdfViewerState.js\";\n\n// PdfViewer (Media wrapper)\nimport { PdfViewer as _PdfViewer } from \"../../pdf-viewer/PdfRenderer.js\";\nimport { withOsdkMetrics } from \"../../util/withOsdkMetrics.js\";\nexport const PdfViewer = withOsdkMetrics(_PdfViewer, \"PdfViewer\");"]}
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkPKJFOG2Z_cjs = require('./chunk-PKJFOG2Z.cjs');
4
+ var chunkUTB55N5Y_cjs = require('./chunk-UTB55N5Y.cjs');
5
+
6
+ // src/public/experimental/email-viewer.ts
7
+ var EmailViewer2 = chunkUTB55N5Y_cjs.withOsdkMetrics(chunkPKJFOG2Z_cjs.EmailViewer, "EmailViewer");
8
+
9
+ exports.EmailViewer = EmailViewer2;
10
+ //# sourceMappingURL=chunk-YLYICFCA.cjs.map
11
+ //# sourceMappingURL=chunk-YLYICFCA.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/experimental/email-viewer.ts"],"names":["EmailViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,YAAAA,GAAcC,iCAAA,CAAgBD,6BAAA,EAAc,aAAa","file":"chunk-UXOUQ5BH.cjs","sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// BaseEmailViewer\nexport { BaseEmailViewer } from \"../../email-viewer/BaseEmailViewer.js\";\n// EmailViewer (Media wrapper)\nimport { EmailViewer as _EmailViewer } from \"../../email-viewer/EmailViewer.js\";\nimport { withOsdkMetrics } from \"../../util/withOsdkMetrics.js\";\nexport const EmailViewer = withOsdkMetrics(_EmailViewer, \"EmailViewer\");"]}
1
+ {"version":3,"sources":["../../src/public/experimental/email-viewer.ts"],"names":["EmailViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,YAAAA,GAAcC,iCAAA,CAAgBD,6BAAA,EAAc,aAAa","file":"chunk-YLYICFCA.cjs","sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// BaseEmailViewer\nexport { BaseEmailViewer } from \"../../email-viewer/BaseEmailViewer.js\";\n// EmailViewer (Media wrapper)\nimport { EmailViewer as _EmailViewer } from \"../../email-viewer/EmailViewer.js\";\nimport { withOsdkMetrics } from \"../../util/withOsdkMetrics.js\";\nexport const EmailViewer = withOsdkMetrics(_EmailViewer, \"EmailViewer\");"]}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkQT5CNZF3_cjs = require('../../chunk-QT5CNZF3.cjs');
3
+ var chunkRDILWZTC_cjs = require('../../chunk-RDILWZTC.cjs');
4
4
  require('../../chunk-3S52UDZM.cjs');
5
5
  require('../../chunk-HNBSGCSZ.cjs');
6
6
  require('../../chunk-JKNARBQW.cjs');
@@ -10,18 +10,18 @@ require('../../chunk-NE7GRF7G.cjs');
10
10
  require('../../chunk-7LXS66DW.cjs');
11
11
  require('../../chunk-MD4KDE44.cjs');
12
12
  require('../../chunk-UCTQICPR.cjs');
13
- require('../../chunk-MQTQLA4O.cjs');
13
+ require('../../chunk-UTB55N5Y.cjs');
14
14
  require('../../chunk-Q2W6GYRK.cjs');
15
15
 
16
16
 
17
17
 
18
18
  Object.defineProperty(exports, "ActionForm", {
19
19
  enumerable: true,
20
- get: function () { return chunkQT5CNZF3_cjs.ActionForm; }
20
+ get: function () { return chunkRDILWZTC_cjs.ActionForm; }
21
21
  });
22
22
  Object.defineProperty(exports, "BaseForm", {
23
23
  enumerable: true,
24
- get: function () { return chunkQT5CNZF3_cjs.BaseForm; }
24
+ get: function () { return chunkRDILWZTC_cjs.BaseForm; }
25
25
  });
26
26
  //# sourceMappingURL=action-form.cjs.map
27
27
  //# sourceMappingURL=action-form.cjs.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk5JJQ5X5R_cjs = require('../../chunk-5JJQ5X5R.cjs');
3
+ var chunk3FFHTVG7_cjs = require('../../chunk-3FFHTVG7.cjs');
4
4
  require('../../chunk-VOROB7KJ.cjs');
5
5
  require('../../chunk-IYJOHKJE.cjs');
6
6
  require('../../chunk-FWZS3WQ4.cjs');
@@ -8,21 +8,21 @@ require('../../chunk-IISDOJPR.cjs');
8
8
  require('../../chunk-KHMOMROL.cjs');
9
9
  require('../../chunk-OUJQJQ7N.cjs');
10
10
  require('../../chunk-PKJFOG2Z.cjs');
11
- require('../../chunk-4VJIPB7R.cjs');
11
+ require('../../chunk-3SJODG6U.cjs');
12
12
  require('../../chunk-MVQKV5BJ.cjs');
13
13
  require('../../chunk-UCTQICPR.cjs');
14
- require('../../chunk-MQTQLA4O.cjs');
14
+ require('../../chunk-UTB55N5Y.cjs');
15
15
  require('../../chunk-Q2W6GYRK.cjs');
16
16
 
17
17
 
18
18
 
19
19
  Object.defineProperty(exports, "DocumentViewer", {
20
20
  enumerable: true,
21
- get: function () { return chunk5JJQ5X5R_cjs.DocumentViewer; }
21
+ get: function () { return chunk3FFHTVG7_cjs.DocumentViewer; }
22
22
  });
23
23
  Object.defineProperty(exports, "ViewerType", {
24
24
  enumerable: true,
25
- get: function () { return chunk5JJQ5X5R_cjs.ViewerType; }
25
+ get: function () { return chunk3FFHTVG7_cjs.ViewerType; }
26
26
  });
27
27
  //# sourceMappingURL=document-viewer.cjs.map
28
28
  //# sourceMappingURL=document-viewer.cjs.map
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunkUXOUQ5BH_cjs = require('../../chunk-UXOUQ5BH.cjs');
3
+ var chunkYLYICFCA_cjs = require('../../chunk-YLYICFCA.cjs');
4
4
  var chunkPKJFOG2Z_cjs = require('../../chunk-PKJFOG2Z.cjs');
5
5
  require('../../chunk-MVQKV5BJ.cjs');
6
- require('../../chunk-MQTQLA4O.cjs');
6
+ require('../../chunk-UTB55N5Y.cjs');
7
7
  require('../../chunk-Q2W6GYRK.cjs');
8
8
 
9
9
 
10
10
 
11
11
  Object.defineProperty(exports, "EmailViewer", {
12
12
  enumerable: true,
13
- get: function () { return chunkUXOUQ5BH_cjs.EmailViewer; }
13
+ get: function () { return chunkYLYICFCA_cjs.EmailViewer; }
14
14
  });
15
15
  Object.defineProperty(exports, "BaseEmailViewer", {
16
16
  enumerable: true,
@@ -1,20 +1,20 @@
1
1
  'use strict';
2
2
 
3
- var chunkZQTIVTJW_cjs = require('../../chunk-ZQTIVTJW.cjs');
4
- var chunk4VJIPB7R_cjs = require('../../chunk-4VJIPB7R.cjs');
3
+ var chunkW6C6UWUN_cjs = require('../../chunk-W6C6UWUN.cjs');
4
+ var chunk3SJODG6U_cjs = require('../../chunk-3SJODG6U.cjs');
5
5
  require('../../chunk-MVQKV5BJ.cjs');
6
- require('../../chunk-MQTQLA4O.cjs');
6
+ require('../../chunk-UTB55N5Y.cjs');
7
7
  require('../../chunk-Q2W6GYRK.cjs');
8
8
 
9
9
 
10
10
 
11
11
  Object.defineProperty(exports, "ExcelViewer", {
12
12
  enumerable: true,
13
- get: function () { return chunkZQTIVTJW_cjs.ExcelViewer; }
13
+ get: function () { return chunkW6C6UWUN_cjs.ExcelViewer; }
14
14
  });
15
15
  Object.defineProperty(exports, "BaseExcelViewer", {
16
16
  enumerable: true,
17
- get: function () { return chunk4VJIPB7R_cjs.BaseExcelViewer; }
17
+ get: function () { return chunk3SJODG6U_cjs.BaseExcelViewer; }
18
18
  });
19
19
  //# sourceMappingURL=excel-viewer.cjs.map
20
20
  //# sourceMappingURL=excel-viewer.cjs.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk6L63NPQG_cjs = require('../../chunk-6L63NPQG.cjs');
3
+ var chunk3VL5YVFA_cjs = require('../../chunk-3VL5YVFA.cjs');
4
4
  require('../../chunk-POHAXPLQ.cjs');
5
5
  require('../../chunk-DWNKXV5E.cjs');
6
6
  require('../../chunk-JKNARBQW.cjs');
@@ -10,62 +10,62 @@ require('../../chunk-NE7GRF7G.cjs');
10
10
  require('../../chunk-7LXS66DW.cjs');
11
11
  require('../../chunk-MD4KDE44.cjs');
12
12
  require('../../chunk-UCTQICPR.cjs');
13
- require('../../chunk-MQTQLA4O.cjs');
13
+ require('../../chunk-UTB55N5Y.cjs');
14
14
  require('../../chunk-Q2W6GYRK.cjs');
15
15
 
16
16
 
17
17
 
18
18
  Object.defineProperty(exports, "BaseFilterList", {
19
19
  enumerable: true,
20
- get: function () { return chunk6L63NPQG_cjs.BaseFilterList; }
20
+ get: function () { return chunk3VL5YVFA_cjs.BaseFilterList; }
21
21
  });
22
22
  Object.defineProperty(exports, "FilterInput", {
23
23
  enumerable: true,
24
- get: function () { return chunk6L63NPQG_cjs.FilterInput; }
24
+ get: function () { return chunk3VL5YVFA_cjs.FilterInput; }
25
25
  });
26
26
  Object.defineProperty(exports, "FilterList", {
27
27
  enumerable: true,
28
- get: function () { return chunk6L63NPQG_cjs.FilterList; }
28
+ get: function () { return chunk3VL5YVFA_cjs.FilterList; }
29
29
  });
30
30
  Object.defineProperty(exports, "FilterPopover", {
31
31
  enumerable: true,
32
- get: function () { return chunk6L63NPQG_cjs.FilterPopover; }
32
+ get: function () { return chunk3VL5YVFA_cjs.FilterPopover; }
33
33
  });
34
34
  Object.defineProperty(exports, "NO_VALUE", {
35
35
  enumerable: true,
36
- get: function () { return chunk6L63NPQG_cjs.NO_VALUE; }
36
+ get: function () { return chunk3VL5YVFA_cjs.NO_VALUE; }
37
37
  });
38
38
  Object.defineProperty(exports, "deserializeFilterStates", {
39
39
  enumerable: true,
40
- get: function () { return chunk6L63NPQG_cjs.deserializeFilterStates; }
40
+ get: function () { return chunk3VL5YVFA_cjs.deserializeFilterStates; }
41
41
  });
42
42
  Object.defineProperty(exports, "filterHasActiveState", {
43
43
  enumerable: true,
44
- get: function () { return chunk6L63NPQG_cjs.filterHasActiveState; }
44
+ get: function () { return chunk3VL5YVFA_cjs.filterHasActiveState; }
45
45
  });
46
46
  Object.defineProperty(exports, "getFilterKey", {
47
47
  enumerable: true,
48
- get: function () { return chunk6L63NPQG_cjs.getFilterKey; }
48
+ get: function () { return chunk3VL5YVFA_cjs.getFilterKey; }
49
49
  });
50
50
  Object.defineProperty(exports, "getFilterLabel", {
51
51
  enumerable: true,
52
- get: function () { return chunk6L63NPQG_cjs.getFilterLabel; }
52
+ get: function () { return chunk3VL5YVFA_cjs.getFilterLabel; }
53
53
  });
54
54
  Object.defineProperty(exports, "narrowObjectSet", {
55
55
  enumerable: true,
56
- get: function () { return chunk6L63NPQG_cjs.narrowObjectSet; }
56
+ get: function () { return chunk3VL5YVFA_cjs.narrowObjectSet; }
57
57
  });
58
58
  Object.defineProperty(exports, "serializeFilterStates", {
59
59
  enumerable: true,
60
- get: function () { return chunk6L63NPQG_cjs.serializeFilterStates; }
60
+ get: function () { return chunk3VL5YVFA_cjs.serializeFilterStates; }
61
61
  });
62
62
  Object.defineProperty(exports, "summarizeFilterValue", {
63
63
  enumerable: true,
64
- get: function () { return chunk6L63NPQG_cjs.summarizeFilterValue; }
64
+ get: function () { return chunk3VL5YVFA_cjs.summarizeFilterValue; }
65
65
  });
66
66
  Object.defineProperty(exports, "useFilterListState", {
67
67
  enumerable: true,
68
- get: function () { return chunk6L63NPQG_cjs.useFilterListState; }
68
+ get: function () { return chunk3VL5YVFA_cjs.useFilterListState; }
69
69
  });
70
70
  //# sourceMappingURL=filter-list.cjs.map
71
71
  //# sourceMappingURL=filter-list.cjs.map
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunkIR6JZWJL_cjs = require('../../chunk-IR6JZWJL.cjs');
3
+ var chunkJPVZGQXS_cjs = require('../../chunk-JPVZGQXS.cjs');
4
4
  var chunkVOROB7KJ_cjs = require('../../chunk-VOROB7KJ.cjs');
5
5
  require('../../chunk-MVQKV5BJ.cjs');
6
- require('../../chunk-MQTQLA4O.cjs');
6
+ require('../../chunk-UTB55N5Y.cjs');
7
7
  require('../../chunk-Q2W6GYRK.cjs');
8
8
 
9
9
 
10
10
 
11
11
  Object.defineProperty(exports, "ImageViewer", {
12
12
  enumerable: true,
13
- get: function () { return chunkIR6JZWJL_cjs.ImageViewer; }
13
+ get: function () { return chunkJPVZGQXS_cjs.ImageViewer; }
14
14
  });
15
15
  Object.defineProperty(exports, "BaseImageViewer", {
16
16
  enumerable: true,
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunk35GST4FB_cjs = require('../../chunk-35GST4FB.cjs');
3
+ var chunkOZ3OGPEA_cjs = require('../../chunk-OZ3OGPEA.cjs');
4
4
  var chunkIYJOHKJE_cjs = require('../../chunk-IYJOHKJE.cjs');
5
5
  require('../../chunk-MVQKV5BJ.cjs');
6
- require('../../chunk-MQTQLA4O.cjs');
6
+ require('../../chunk-UTB55N5Y.cjs');
7
7
  require('../../chunk-Q2W6GYRK.cjs');
8
8
 
9
9
 
10
10
 
11
11
  Object.defineProperty(exports, "MarkdownViewerMedia", {
12
12
  enumerable: true,
13
- get: function () { return chunk35GST4FB_cjs.MarkdownViewerMedia; }
13
+ get: function () { return chunkOZ3OGPEA_cjs.MarkdownViewerMedia; }
14
14
  });
15
15
  Object.defineProperty(exports, "MarkdownRenderer", {
16
16
  enumerable: true,
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkJP47JG5E_cjs = require('../../chunk-JP47JG5E.cjs');
3
+ var chunkIFOPHNX3_cjs = require('../../chunk-IFOPHNX3.cjs');
4
4
  require('../../chunk-C6IPNPMZ.cjs');
5
5
  require('../../chunk-3S52UDZM.cjs');
6
6
  require('../../chunk-HNBSGCSZ.cjs');
@@ -11,34 +11,34 @@ require('../../chunk-KPLJJZUF.cjs');
11
11
  require('../../chunk-NE7GRF7G.cjs');
12
12
  require('../../chunk-7LXS66DW.cjs');
13
13
  require('../../chunk-MD4KDE44.cjs');
14
- require('../../chunk-MQTQLA4O.cjs');
14
+ require('../../chunk-UTB55N5Y.cjs');
15
15
  require('../../chunk-Q2W6GYRK.cjs');
16
16
 
17
17
 
18
18
 
19
19
  Object.defineProperty(exports, "BaseTable", {
20
20
  enumerable: true,
21
- get: function () { return chunkJP47JG5E_cjs.BaseTable; }
21
+ get: function () { return chunkIFOPHNX3_cjs.BaseTable; }
22
22
  });
23
23
  Object.defineProperty(exports, "ColumnConfigDialog", {
24
24
  enumerable: true,
25
- get: function () { return chunkJP47JG5E_cjs.ColumnConfigDialog; }
25
+ get: function () { return chunkIFOPHNX3_cjs.ColumnConfigDialog; }
26
26
  });
27
27
  Object.defineProperty(exports, "LoadingCell", {
28
28
  enumerable: true,
29
- get: function () { return chunkJP47JG5E_cjs.LoadingCell; }
29
+ get: function () { return chunkIFOPHNX3_cjs.LoadingCell; }
30
30
  });
31
31
  Object.defineProperty(exports, "LoadingCellContent", {
32
32
  enumerable: true,
33
- get: function () { return chunkJP47JG5E_cjs.LoadingCellContent; }
33
+ get: function () { return chunkIFOPHNX3_cjs.LoadingCellContent; }
34
34
  });
35
35
  Object.defineProperty(exports, "MultiColumnSortDialog", {
36
36
  enumerable: true,
37
- get: function () { return chunkJP47JG5E_cjs.MultiColumnSortDialog; }
37
+ get: function () { return chunkIFOPHNX3_cjs.MultiColumnSortDialog; }
38
38
  });
39
39
  Object.defineProperty(exports, "ObjectTable", {
40
40
  enumerable: true,
41
- get: function () { return chunkJP47JG5E_cjs.ObjectTable; }
41
+ get: function () { return chunkIFOPHNX3_cjs.ObjectTable; }
42
42
  });
43
43
  //# sourceMappingURL=object-table.cjs.map
44
44
  //# sourceMappingURL=object-table.cjs.map
@@ -1,31 +1,31 @@
1
1
  'use strict';
2
2
 
3
- var chunkVW7HAI4H_cjs = require('../../chunk-VW7HAI4H.cjs');
3
+ var chunkY4OUZFGE_cjs = require('../../chunk-Y4OUZFGE.cjs');
4
4
  var chunkFWZS3WQ4_cjs = require('../../chunk-FWZS3WQ4.cjs');
5
- require('../../chunk-MQTQLA4O.cjs');
5
+ require('../../chunk-UTB55N5Y.cjs');
6
6
  require('../../chunk-Q2W6GYRK.cjs');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "PdfViewer", {
11
11
  enumerable: true,
12
- get: function () { return chunkVW7HAI4H_cjs.PdfViewer; }
12
+ get: function () { return chunkY4OUZFGE_cjs.PdfViewer; }
13
13
  });
14
14
  Object.defineProperty(exports, "PdfViewerContent", {
15
15
  enumerable: true,
16
- get: function () { return chunkVW7HAI4H_cjs.PdfViewerContent; }
16
+ get: function () { return chunkY4OUZFGE_cjs.PdfViewerContent; }
17
17
  });
18
18
  Object.defineProperty(exports, "PdfViewerProvider", {
19
19
  enumerable: true,
20
- get: function () { return chunkVW7HAI4H_cjs.PdfViewerProvider; }
20
+ get: function () { return chunkY4OUZFGE_cjs.PdfViewerProvider; }
21
21
  });
22
22
  Object.defineProperty(exports, "usePdfViewerContext", {
23
23
  enumerable: true,
24
- get: function () { return chunkVW7HAI4H_cjs.usePdfViewerContext; }
24
+ get: function () { return chunkY4OUZFGE_cjs.usePdfViewerContext; }
25
25
  });
26
26
  Object.defineProperty(exports, "usePdfViewerInstance", {
27
27
  enumerable: true,
28
- get: function () { return chunkVW7HAI4H_cjs.usePdfViewerInstance; }
28
+ get: function () { return chunkY4OUZFGE_cjs.usePdfViewerInstance; }
29
29
  });
30
30
  Object.defineProperty(exports, "BasePdfViewer", {
31
31
  enumerable: true,
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunkXWS2AC35_cjs = require('../../chunk-XWS2AC35.cjs');
3
+ var chunkDY6YZDDT_cjs = require('../../chunk-DY6YZDDT.cjs');
4
4
  var chunkIISDOJPR_cjs = require('../../chunk-IISDOJPR.cjs');
5
5
  require('../../chunk-MVQKV5BJ.cjs');
6
- require('../../chunk-MQTQLA4O.cjs');
6
+ require('../../chunk-UTB55N5Y.cjs');
7
7
  require('../../chunk-Q2W6GYRK.cjs');
8
8
 
9
9
 
10
10
 
11
11
  Object.defineProperty(exports, "TiffViewerMedia", {
12
12
  enumerable: true,
13
- get: function () { return chunkXWS2AC35_cjs.TiffViewerMedia; }
13
+ get: function () { return chunkDY6YZDDT_cjs.TiffViewerMedia; }
14
14
  });
15
15
  Object.defineProperty(exports, "TiffRenderer", {
16
16
  enumerable: true,
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunkWWLCXYON_cjs = require('../../chunk-WWLCXYON.cjs');
3
+ var chunkGKWXRVFO_cjs = require('../../chunk-GKWXRVFO.cjs');
4
4
  var chunkKHMOMROL_cjs = require('../../chunk-KHMOMROL.cjs');
5
5
  require('../../chunk-MVQKV5BJ.cjs');
6
- require('../../chunk-MQTQLA4O.cjs');
6
+ require('../../chunk-UTB55N5Y.cjs');
7
7
  require('../../chunk-Q2W6GYRK.cjs');
8
8
 
9
9
 
10
10
 
11
11
  Object.defineProperty(exports, "VideoViewer", {
12
12
  enumerable: true,
13
- get: function () { return chunkWWLCXYON_cjs.VideoViewer; }
13
+ get: function () { return chunkGKWXRVFO_cjs.VideoViewer; }
14
14
  });
15
15
  Object.defineProperty(exports, "BaseVideoViewer", {
16
16
  enumerable: true,
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunkQUDOYYWI_cjs = require('../../chunk-QUDOYYWI.cjs');
3
+ var chunkUJXNFENA_cjs = require('../../chunk-UJXNFENA.cjs');
4
4
  var chunkOUJQJQ7N_cjs = require('../../chunk-OUJQJQ7N.cjs');
5
5
  require('../../chunk-MVQKV5BJ.cjs');
6
- require('../../chunk-MQTQLA4O.cjs');
6
+ require('../../chunk-UTB55N5Y.cjs');
7
7
  require('../../chunk-Q2W6GYRK.cjs');
8
8
 
9
9
 
10
10
 
11
11
  Object.defineProperty(exports, "XmlViewer", {
12
12
  enumerable: true,
13
- get: function () { return chunkQUDOYYWI_cjs.XmlViewer; }
13
+ get: function () { return chunkUJXNFENA_cjs.XmlViewer; }
14
14
  });
15
15
  Object.defineProperty(exports, "BaseXmlViewer", {
16
16
  enumerable: true,