@osdk/react-components 0.71.0-main-62ebddd7d14dd54cc6de480bc4f21a16fad9b529 → 0.71.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 (96) hide show
  1. package/CHANGELOG.md +4 -4
  2. package/build/browser/util/UserAgent.js +1 -1
  3. package/build/browser/util/UserAgent.js.map +1 -1
  4. package/build/cjs/{chunk-R6QWBLCY.cjs → chunk-32Y2RY7H.cjs} +4 -4
  5. package/build/cjs/{chunk-R6QWBLCY.cjs.map → chunk-32Y2RY7H.cjs.map} +1 -1
  6. package/build/cjs/chunk-3UGRXRKV.cjs +11 -0
  7. package/build/cjs/{chunk-UQ5PSYYW.cjs.map → chunk-3UGRXRKV.cjs.map} +1 -1
  8. package/build/cjs/{chunk-XKALHVSZ.cjs → chunk-5LWCGOHS.cjs} +5 -5
  9. package/build/cjs/{chunk-XKALHVSZ.cjs.map → chunk-5LWCGOHS.cjs.map} +1 -1
  10. package/build/cjs/{chunk-2MVCZ4FV.cjs → chunk-5T55VLU6.cjs} +4 -4
  11. package/build/cjs/{chunk-2MVCZ4FV.cjs.map → chunk-5T55VLU6.cjs.map} +1 -1
  12. package/build/cjs/{chunk-PK7YJTAG.cjs → chunk-CAONDUZN.cjs} +4 -4
  13. package/build/cjs/{chunk-PK7YJTAG.cjs.map → chunk-CAONDUZN.cjs.map} +1 -1
  14. package/build/cjs/chunk-DAXAAR7K.cjs +11 -0
  15. package/build/cjs/{chunk-DAV3HQAF.cjs.map → chunk-DAXAAR7K.cjs.map} +1 -1
  16. package/build/cjs/chunk-HRJWZ6E4.cjs +11 -0
  17. package/build/cjs/{chunk-OH6WOVND.cjs.map → chunk-HRJWZ6E4.cjs.map} +1 -1
  18. package/build/cjs/{chunk-3SIF2GHA.cjs → chunk-JTAL7SFA.cjs} +4 -4
  19. package/build/cjs/{chunk-3SIF2GHA.cjs.map → chunk-JTAL7SFA.cjs.map} +1 -1
  20. package/build/cjs/chunk-L5TK77NC.cjs +11 -0
  21. package/build/cjs/{chunk-FCS7HZST.cjs.map → chunk-L5TK77NC.cjs.map} +1 -1
  22. package/build/cjs/{chunk-BKBVMOZF.cjs → chunk-MAXE2BB2.cjs} +4 -4
  23. package/build/cjs/{chunk-BKBVMOZF.cjs.map → chunk-MAXE2BB2.cjs.map} +1 -1
  24. package/build/cjs/{chunk-D4FP3TVQ.cjs → chunk-MO3NEYJU.cjs} +4 -4
  25. package/build/cjs/{chunk-D4FP3TVQ.cjs.map → chunk-MO3NEYJU.cjs.map} +1 -1
  26. package/build/cjs/chunk-N5OUOCF4.cjs +12 -0
  27. package/build/cjs/{chunk-2DZBPTO2.cjs.map → chunk-N5OUOCF4.cjs.map} +1 -1
  28. package/build/cjs/{chunk-GC46SZAK.cjs → chunk-NTUWUKZB.cjs} +4 -4
  29. package/build/cjs/{chunk-GC46SZAK.cjs.map → chunk-NTUWUKZB.cjs.map} +1 -1
  30. package/build/cjs/{chunk-YAGR3EZL.cjs → chunk-O2QKCDAZ.cjs} +3 -3
  31. package/build/cjs/chunk-O2QKCDAZ.cjs.map +1 -0
  32. package/build/cjs/{chunk-HEGWR76M.cjs → chunk-OZNDHMVV.cjs} +8 -8
  33. package/build/cjs/{chunk-HEGWR76M.cjs.map → chunk-OZNDHMVV.cjs.map} +1 -1
  34. package/build/cjs/{chunk-ZMZXGMMO.cjs → chunk-PZ5LUOUW.cjs} +4 -4
  35. package/build/cjs/{chunk-ZMZXGMMO.cjs.map → chunk-PZ5LUOUW.cjs.map} +1 -1
  36. package/build/cjs/chunk-ROMTZA5M.cjs +34 -0
  37. package/build/cjs/{chunk-QCHYZ5LW.cjs.map → chunk-ROMTZA5M.cjs.map} +1 -1
  38. package/build/cjs/{chunk-H26R6XAZ.cjs → chunk-RQPSLWEV.cjs} +5 -5
  39. package/build/cjs/{chunk-H26R6XAZ.cjs.map → chunk-RQPSLWEV.cjs.map} +1 -1
  40. package/build/cjs/chunk-RTY7B4BL.cjs +48 -0
  41. package/build/cjs/{chunk-A5IYCFJY.cjs.map → chunk-RTY7B4BL.cjs.map} +1 -1
  42. package/build/cjs/{chunk-33R4CSSV.cjs → chunk-SMASMA2B.cjs} +4 -4
  43. package/build/cjs/{chunk-33R4CSSV.cjs.map → chunk-SMASMA2B.cjs.map} +1 -1
  44. package/build/cjs/chunk-UP36MPTW.cjs +11 -0
  45. package/build/cjs/{chunk-EXMRYTRS.cjs.map → chunk-UP36MPTW.cjs.map} +1 -1
  46. package/build/cjs/chunk-UURCX3QO.cjs +12 -0
  47. package/build/cjs/{chunk-7NF6PKQH.cjs.map → chunk-UURCX3QO.cjs.map} +1 -1
  48. package/build/cjs/{chunk-QXBSKBO4.cjs → chunk-VTGFV25H.cjs} +4 -4
  49. package/build/cjs/{chunk-QXBSKBO4.cjs.map → chunk-VTGFV25H.cjs.map} +1 -1
  50. package/build/cjs/{chunk-VQAVTOU3.cjs → chunk-Y5JKJFPB.cjs} +4 -4
  51. package/build/cjs/{chunk-VQAVTOU3.cjs.map → chunk-Y5JKJFPB.cjs.map} +1 -1
  52. package/build/cjs/chunk-ZANR3SS5.cjs +11 -0
  53. package/build/cjs/{chunk-EA5Y3I74.cjs.map → chunk-ZANR3SS5.cjs.map} +1 -1
  54. package/build/cjs/{chunk-A74PTBTK.cjs → chunk-ZL44QNV2.cjs} +4 -4
  55. package/build/cjs/{chunk-A74PTBTK.cjs.map → chunk-ZL44QNV2.cjs.map} +1 -1
  56. package/build/cjs/public/action-form.cjs +4 -4
  57. package/build/cjs/public/document-viewer.cjs +4 -4
  58. package/build/cjs/public/email-viewer.cjs +3 -3
  59. package/build/cjs/public/experimental/action-form.cjs +5 -5
  60. package/build/cjs/public/experimental/cbac-picker.cjs +8 -8
  61. package/build/cjs/public/experimental/document-viewer.cjs +5 -5
  62. package/build/cjs/public/experimental/email-viewer.cjs +5 -5
  63. package/build/cjs/public/experimental/filter-list.cjs +16 -16
  64. package/build/cjs/public/experimental/image-viewer.cjs +5 -5
  65. package/build/cjs/public/experimental/markdown-renderer.cjs +7 -7
  66. package/build/cjs/public/experimental/object-table.cjs +23 -23
  67. package/build/cjs/public/experimental/pdf-viewer.cjs +25 -25
  68. package/build/cjs/public/experimental/spreadsheet-viewer.cjs +5 -5
  69. package/build/cjs/public/experimental/tiff-renderer.cjs +7 -7
  70. package/build/cjs/public/experimental/video-viewer.cjs +5 -5
  71. package/build/cjs/public/experimental/workshop-module.cjs +2 -2
  72. package/build/cjs/public/experimental/xml-viewer.cjs +5 -5
  73. package/build/cjs/public/experimental.cjs +109 -109
  74. package/build/cjs/public/filter-list.cjs +15 -15
  75. package/build/cjs/public/image-viewer.cjs +3 -3
  76. package/build/cjs/public/markdown-viewer.cjs +3 -3
  77. package/build/cjs/public/object-table.cjs +22 -22
  78. package/build/cjs/public/pdf-viewer.cjs +7 -7
  79. package/build/cjs/public/spreadsheet-viewer.cjs +3 -3
  80. package/build/cjs/public/tiff-viewer.cjs +3 -3
  81. package/build/cjs/public/video-viewer.cjs +3 -3
  82. package/build/cjs/public/xml-viewer.cjs +3 -3
  83. package/build/esm/util/UserAgent.js +1 -1
  84. package/build/esm/util/UserAgent.js.map +1 -1
  85. package/package.json +7 -7
  86. package/build/cjs/chunk-2DZBPTO2.cjs +0 -12
  87. package/build/cjs/chunk-7NF6PKQH.cjs +0 -12
  88. package/build/cjs/chunk-A5IYCFJY.cjs +0 -48
  89. package/build/cjs/chunk-DAV3HQAF.cjs +0 -11
  90. package/build/cjs/chunk-EA5Y3I74.cjs +0 -11
  91. package/build/cjs/chunk-EXMRYTRS.cjs +0 -11
  92. package/build/cjs/chunk-FCS7HZST.cjs +0 -11
  93. package/build/cjs/chunk-OH6WOVND.cjs +0 -11
  94. package/build/cjs/chunk-QCHYZ5LW.cjs +0 -34
  95. package/build/cjs/chunk-UQ5PSYYW.cjs +0 -11
  96. package/build/cjs/chunk-YAGR3EZL.cjs.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @osdk/react-components
2
2
 
3
- ## 0.71.0-main-62ebddd7d14dd54cc6de480bc4f21a16fad9b529
3
+ ## 0.71.0
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -9,10 +9,10 @@
9
9
  ### Patch Changes
10
10
 
11
11
  - Updated dependencies [62ebddd]
12
- - @osdk/client@2.89.0-main-62ebddd7d14dd54cc6de480bc4f21a16fad9b529
12
+ - @osdk/client@2.89.0
13
13
  - @osdk/aip-core@0.13.0
14
- - @osdk/react@2.89.0-main-62ebddd7d14dd54cc6de480bc4f21a16fad9b529
15
- - @osdk/api@2.89.0-main-62ebddd7d14dd54cc6de480bc4f21a16fad9b529
14
+ - @osdk/react@2.89.0
15
+ - @osdk/api@2.89.0
16
16
 
17
17
  ## 0.70.0
18
18
 
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- const PACKAGE_USER_AGENT = `osdk-react-components/${"0.71.0-main-62ebddd7d14dd54cc6de480bc4f21a16fad9b529"}`;
17
+ const PACKAGE_USER_AGENT = `osdk-react-components/${"0.71.0"}`;
18
18
  export function componentUserAgent(componentName) {
19
19
  return `${PACKAGE_USER_AGENT}/${componentName}`;
20
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"UserAgent.js","names":["PACKAGE_USER_AGENT","componentUserAgent","componentName"],"sources":["UserAgent.ts"],"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}`;\n\nexport function componentUserAgent(componentName: string): string {\n return `${PACKAGE_USER_AGENT}/${componentName}`;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAMA,kBAAkB,GAAG,iFAAsD;AAEjF,OAAO,SAASC,kBAAkBA,CAACC,aAAqB,EAAU;EAChE,OAAO,GAAGF,kBAAkB,IAAIE,aAAa,EAAE;AACjD","ignoreList":[]}
1
+ {"version":3,"file":"UserAgent.js","names":["PACKAGE_USER_AGENT","componentUserAgent","componentName"],"sources":["UserAgent.ts"],"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}`;\n\nexport function componentUserAgent(componentName: string): string {\n return `${PACKAGE_USER_AGENT}/${componentName}`;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAMA,kBAAkB,GAAG,mCAAsD;AAEjF,OAAO,SAASC,kBAAkBA,CAACC,aAAqB,EAAU;EAChE,OAAO,GAAGF,kBAAkB,IAAIE,aAAa,EAAE;AACjD","ignoreList":[]}
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkDAV3HQAF_cjs = require('./chunk-DAV3HQAF.cjs');
3
+ var chunkDAXAAR7K_cjs = require('./chunk-DAXAAR7K.cjs');
4
4
  var chunkVOROB7KJ_cjs = require('./chunk-VOROB7KJ.cjs');
5
5
 
6
6
  // src/public/experimental/image-viewer.ts
7
7
  var BaseImageViewer2 = chunkVOROB7KJ_cjs.BaseImageViewer;
8
- var ImageViewer2 = chunkDAV3HQAF_cjs.ImageViewer;
8
+ var ImageViewer2 = chunkDAXAAR7K_cjs.ImageViewer;
9
9
 
10
10
  exports.BaseImageViewer = BaseImageViewer2;
11
11
  exports.ImageViewer = ImageViewer2;
12
- //# sourceMappingURL=chunk-R6QWBLCY.cjs.map
13
- //# sourceMappingURL=chunk-R6QWBLCY.cjs.map
12
+ //# sourceMappingURL=chunk-32Y2RY7H.cjs.map
13
+ //# sourceMappingURL=chunk-32Y2RY7H.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/experimental/image-viewer.ts"],"names":["BaseImageViewer","ImageViewer"],"mappings":";;;;;;AAmBO,IAAMA,gBAAAA,GAAyBA;AAO/B,IAAMC,YAAAA,GAAqBA","file":"chunk-R6QWBLCY.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\nimport * as Stable from \"../image-viewer.js\";\n\n/** @deprecated Import from `@osdk/react-components/image-viewer` instead. */\nexport const BaseImageViewer = Stable.BaseImageViewer;\n\n/** @deprecated Import from `@osdk/react-components/image-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/image-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/image-viewer` instead. */\nexport const ImageViewer = Stable.ImageViewer;"]}
1
+ {"version":3,"sources":["../../src/public/experimental/image-viewer.ts"],"names":["BaseImageViewer","ImageViewer"],"mappings":";;;;;;AAmBO,IAAMA,gBAAAA,GAAyBA;AAO/B,IAAMC,YAAAA,GAAqBA","file":"chunk-32Y2RY7H.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\nimport * as Stable from \"../image-viewer.js\";\n\n/** @deprecated Import from `@osdk/react-components/image-viewer` instead. */\nexport const BaseImageViewer = Stable.BaseImageViewer;\n\n/** @deprecated Import from `@osdk/react-components/image-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/image-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/image-viewer` instead. */\nexport const ImageViewer = Stable.ImageViewer;"]}
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkRVZE7LPI_cjs = require('./chunk-RVZE7LPI.cjs');
4
+ var chunkO2QKCDAZ_cjs = require('./chunk-O2QKCDAZ.cjs');
5
+
6
+ // src/public/xml-viewer.ts
7
+ var XmlViewer2 = chunkO2QKCDAZ_cjs.withOsdkMetrics(chunkRVZE7LPI_cjs.XmlViewer, "XmlViewer");
8
+
9
+ exports.XmlViewer = XmlViewer2;
10
+ //# sourceMappingURL=chunk-3UGRXRKV.cjs.map
11
+ //# sourceMappingURL=chunk-3UGRXRKV.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/xml-viewer.ts"],"names":["XmlViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,UAAAA,GAAYC,iCAAA,CAAgBD,2BAAA,EAAY,WAAW","file":"chunk-UQ5PSYYW.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/xml-viewer.ts"],"names":["XmlViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,UAAAA,GAAYC,iCAAA,CAAgBD,2BAAA,EAAY,WAAW","file":"chunk-3UGRXRKV.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,17 +1,17 @@
1
1
  'use strict';
2
2
 
3
- var chunkEXMRYTRS_cjs = require('./chunk-EXMRYTRS.cjs');
3
+ var chunkUP36MPTW_cjs = require('./chunk-UP36MPTW.cjs');
4
4
  var chunkKFV264XS_cjs = require('./chunk-KFV264XS.cjs');
5
5
 
6
6
  // src/public/experimental/markdown-renderer.ts
7
7
  var BaseMarkdownViewer2 = chunkKFV264XS_cjs.BaseMarkdownViewer;
8
- var MarkdownViewer2 = chunkEXMRYTRS_cjs.MarkdownViewer;
8
+ var MarkdownViewer2 = chunkUP36MPTW_cjs.MarkdownViewer;
9
9
  var MarkdownRenderer = chunkKFV264XS_cjs.BaseMarkdownViewer;
10
- var MarkdownViewerMedia = chunkEXMRYTRS_cjs.MarkdownViewer;
10
+ var MarkdownViewerMedia = chunkUP36MPTW_cjs.MarkdownViewer;
11
11
 
12
12
  exports.BaseMarkdownViewer = BaseMarkdownViewer2;
13
13
  exports.MarkdownRenderer = MarkdownRenderer;
14
14
  exports.MarkdownViewer = MarkdownViewer2;
15
15
  exports.MarkdownViewerMedia = MarkdownViewerMedia;
16
- //# sourceMappingURL=chunk-XKALHVSZ.cjs.map
17
- //# sourceMappingURL=chunk-XKALHVSZ.cjs.map
16
+ //# sourceMappingURL=chunk-5LWCGOHS.cjs.map
17
+ //# sourceMappingURL=chunk-5LWCGOHS.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/experimental/markdown-renderer.ts"],"names":["BaseMarkdownViewer","MarkdownViewer"],"mappings":";;;;;;AAmBO,IAAMA,mBAAAA,GAA4BA;AAOlC,IAAMC,eAAAA,GAAwBA;AAG9B,IAAM,gBAAA,GAA0BD;AAKhC,IAAM,mBAAA,GAA6BC","file":"chunk-XKALHVSZ.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\nimport * as Stable from \"../markdown-viewer.js\";\n\n/** @deprecated Import from `@osdk/react-components/markdown-viewer` instead. */\nexport const BaseMarkdownViewer = Stable.BaseMarkdownViewer;\n\n/** @deprecated Import from `@osdk/react-components/markdown-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/markdown-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/markdown-viewer` instead. */\nexport const MarkdownViewer = Stable.MarkdownViewer;\n\n/** @deprecated Use `BaseMarkdownViewer` instead. */\nexport const MarkdownRenderer = Stable.BaseMarkdownViewer;\n\n/** @deprecated Use `BaseMarkdownViewerProps` instead. */\n\n/** @deprecated Use `MarkdownViewer` instead. */\nexport const MarkdownViewerMedia = Stable.MarkdownViewer;"]}
1
+ {"version":3,"sources":["../../src/public/experimental/markdown-renderer.ts"],"names":["BaseMarkdownViewer","MarkdownViewer"],"mappings":";;;;;;AAmBO,IAAMA,mBAAAA,GAA4BA;AAOlC,IAAMC,eAAAA,GAAwBA;AAG9B,IAAM,gBAAA,GAA0BD;AAKhC,IAAM,mBAAA,GAA6BC","file":"chunk-5LWCGOHS.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\nimport * as Stable from \"../markdown-viewer.js\";\n\n/** @deprecated Import from `@osdk/react-components/markdown-viewer` instead. */\nexport const BaseMarkdownViewer = Stable.BaseMarkdownViewer;\n\n/** @deprecated Import from `@osdk/react-components/markdown-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/markdown-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/markdown-viewer` instead. */\nexport const MarkdownViewer = Stable.MarkdownViewer;\n\n/** @deprecated Use `BaseMarkdownViewer` instead. */\nexport const MarkdownRenderer = Stable.BaseMarkdownViewer;\n\n/** @deprecated Use `BaseMarkdownViewerProps` instead. */\n\n/** @deprecated Use `MarkdownViewer` instead. */\nexport const MarkdownViewerMedia = Stable.MarkdownViewer;"]}
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkFCS7HZST_cjs = require('./chunk-FCS7HZST.cjs');
3
+ var chunkL5TK77NC_cjs = require('./chunk-L5TK77NC.cjs');
4
4
  var chunkPA7IYPBX_cjs = require('./chunk-PA7IYPBX.cjs');
5
5
 
6
6
  // src/public/experimental/email-viewer.ts
7
7
  var BaseEmailViewer2 = chunkPA7IYPBX_cjs.BaseEmailViewer;
8
- var EmailViewer2 = chunkFCS7HZST_cjs.EmailViewer;
8
+ var EmailViewer2 = chunkL5TK77NC_cjs.EmailViewer;
9
9
 
10
10
  exports.BaseEmailViewer = BaseEmailViewer2;
11
11
  exports.EmailViewer = EmailViewer2;
12
- //# sourceMappingURL=chunk-2MVCZ4FV.cjs.map
13
- //# sourceMappingURL=chunk-2MVCZ4FV.cjs.map
12
+ //# sourceMappingURL=chunk-5T55VLU6.cjs.map
13
+ //# sourceMappingURL=chunk-5T55VLU6.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/experimental/email-viewer.ts"],"names":["BaseEmailViewer","EmailViewer"],"mappings":";;;;;;AAmBO,IAAMA,gBAAAA,GAAyBA;AAW/B,IAAMC,YAAAA,GAAqBA","file":"chunk-2MVCZ4FV.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\nimport * as Stable from \"../email-viewer.js\";\n\n/** @deprecated Import from `@osdk/react-components/email-viewer` instead. */\nexport const BaseEmailViewer = Stable.BaseEmailViewer;\n\n/** @deprecated Import from `@osdk/react-components/email-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/email-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/email-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/email-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/email-viewer` instead. */\nexport const EmailViewer = Stable.EmailViewer;"]}
1
+ {"version":3,"sources":["../../src/public/experimental/email-viewer.ts"],"names":["BaseEmailViewer","EmailViewer"],"mappings":";;;;;;AAmBO,IAAMA,gBAAAA,GAAyBA;AAW/B,IAAMC,YAAAA,GAAqBA","file":"chunk-5T55VLU6.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\nimport * as Stable from \"../email-viewer.js\";\n\n/** @deprecated Import from `@osdk/react-components/email-viewer` instead. */\nexport const BaseEmailViewer = Stable.BaseEmailViewer;\n\n/** @deprecated Import from `@osdk/react-components/email-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/email-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/email-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/email-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/email-viewer` instead. */\nexport const EmailViewer = Stable.EmailViewer;"]}
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkUQ5PSYYW_cjs = require('./chunk-UQ5PSYYW.cjs');
3
+ var chunk3UGRXRKV_cjs = require('./chunk-3UGRXRKV.cjs');
4
4
  var chunkRVZE7LPI_cjs = require('./chunk-RVZE7LPI.cjs');
5
5
 
6
6
  // src/public/experimental/xml-viewer.ts
7
7
  var BaseXmlViewer2 = chunkRVZE7LPI_cjs.BaseXmlViewer;
8
- var XmlViewer2 = chunkUQ5PSYYW_cjs.XmlViewer;
8
+ var XmlViewer2 = chunk3UGRXRKV_cjs.XmlViewer;
9
9
 
10
10
  exports.BaseXmlViewer = BaseXmlViewer2;
11
11
  exports.XmlViewer = XmlViewer2;
12
- //# sourceMappingURL=chunk-PK7YJTAG.cjs.map
13
- //# sourceMappingURL=chunk-PK7YJTAG.cjs.map
12
+ //# sourceMappingURL=chunk-CAONDUZN.cjs.map
13
+ //# sourceMappingURL=chunk-CAONDUZN.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/experimental/xml-viewer.ts"],"names":["BaseXmlViewer","XmlViewer"],"mappings":";;;;;;AAmBO,IAAMA,cAAAA,GAAuBA;AAO7B,IAAMC,UAAAA,GAAmBA","file":"chunk-PK7YJTAG.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\nimport * as Stable from \"../xml-viewer.js\";\n\n/** @deprecated Import from `@osdk/react-components/xml-viewer` instead. */\nexport const BaseXmlViewer = Stable.BaseXmlViewer;\n\n/** @deprecated Import from `@osdk/react-components/xml-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/xml-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/xml-viewer` instead. */\nexport const XmlViewer = Stable.XmlViewer;"]}
1
+ {"version":3,"sources":["../../src/public/experimental/xml-viewer.ts"],"names":["BaseXmlViewer","XmlViewer"],"mappings":";;;;;;AAmBO,IAAMA,cAAAA,GAAuBA;AAO7B,IAAMC,UAAAA,GAAmBA","file":"chunk-CAONDUZN.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\nimport * as Stable from \"../xml-viewer.js\";\n\n/** @deprecated Import from `@osdk/react-components/xml-viewer` instead. */\nexport const BaseXmlViewer = Stable.BaseXmlViewer;\n\n/** @deprecated Import from `@osdk/react-components/xml-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/xml-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/xml-viewer` instead. */\nexport const XmlViewer = Stable.XmlViewer;"]}
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkVOROB7KJ_cjs = require('./chunk-VOROB7KJ.cjs');
4
+ var chunkO2QKCDAZ_cjs = require('./chunk-O2QKCDAZ.cjs');
5
+
6
+ // src/public/image-viewer.ts
7
+ var ImageViewer2 = chunkO2QKCDAZ_cjs.withOsdkMetrics(chunkVOROB7KJ_cjs.ImageViewer, "ImageViewer");
8
+
9
+ exports.ImageViewer = ImageViewer2;
10
+ //# sourceMappingURL=chunk-DAXAAR7K.cjs.map
11
+ //# sourceMappingURL=chunk-DAXAAR7K.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/image-viewer.ts"],"names":["ImageViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,YAAAA,GAAcC,iCAAA,CAAgBD,6BAAA,EAAc,aAAa","file":"chunk-DAV3HQAF.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// BaseImageViewer\nexport { BaseImageViewer } from \"../images/image-viewer/BaseImageViewer.js\";\n// ImageViewer (Media wrapper)\nimport { ImageViewer as _ImageViewer } from \"../images/image-viewer/ImageViewer.js\";\nimport { withOsdkMetrics } from \"../util/withOsdkMetrics.js\";\nexport const ImageViewer = withOsdkMetrics(_ImageViewer, \"ImageViewer\");"]}
1
+ {"version":3,"sources":["../../src/public/image-viewer.ts"],"names":["ImageViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,YAAAA,GAAcC,iCAAA,CAAgBD,6BAAA,EAAc,aAAa","file":"chunk-DAXAAR7K.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// BaseImageViewer\nexport { BaseImageViewer } from \"../images/image-viewer/BaseImageViewer.js\";\n// ImageViewer (Media wrapper)\nimport { ImageViewer as _ImageViewer } from \"../images/image-viewer/ImageViewer.js\";\nimport { withOsdkMetrics } from \"../util/withOsdkMetrics.js\";\nexport const ImageViewer = withOsdkMetrics(_ImageViewer, \"ImageViewer\");"]}
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkDTYFQRFD_cjs = require('./chunk-DTYFQRFD.cjs');
4
+ var chunkO2QKCDAZ_cjs = require('./chunk-O2QKCDAZ.cjs');
5
+
6
+ // src/public/tiff-viewer.ts
7
+ var TiffViewer2 = chunkO2QKCDAZ_cjs.withOsdkMetrics(chunkDTYFQRFD_cjs.TiffViewer, "TiffViewer");
8
+
9
+ exports.TiffViewer = TiffViewer2;
10
+ //# sourceMappingURL=chunk-HRJWZ6E4.cjs.map
11
+ //# sourceMappingURL=chunk-HRJWZ6E4.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/tiff-viewer.ts"],"names":["TiffViewer","withOsdkMetrics"],"mappings":";;;;;;AAsBO,IAAMA,WAAAA,GAAaC,iCAAA,CAAgBD,4BAAA,EAAa,YAAY","file":"chunk-OH6WOVND.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 { TiffViewer as _TiffViewer } from \"../images/tiff-viewer/TiffViewer.js\";\nimport { withOsdkMetrics } from \"../util/withOsdkMetrics.js\";\n\n// BaseTiffViewer\nexport { BaseTiffViewer } from \"../images/tiff-viewer/BaseTiffViewer.js\";\n// TiffViewer (Media wrapper)\nexport const TiffViewer = withOsdkMetrics(_TiffViewer, \"TiffViewer\");"]}
1
+ {"version":3,"sources":["../../src/public/tiff-viewer.ts"],"names":["TiffViewer","withOsdkMetrics"],"mappings":";;;;;;AAsBO,IAAMA,WAAAA,GAAaC,iCAAA,CAAgBD,4BAAA,EAAa,YAAY","file":"chunk-HRJWZ6E4.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 { TiffViewer as _TiffViewer } from \"../images/tiff-viewer/TiffViewer.js\";\nimport { withOsdkMetrics } from \"../util/withOsdkMetrics.js\";\n\n// BaseTiffViewer\nexport { BaseTiffViewer } from \"../images/tiff-viewer/BaseTiffViewer.js\";\n// TiffViewer (Media wrapper)\nexport const TiffViewer = withOsdkMetrics(_TiffViewer, \"TiffViewer\");"]}
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkD4FP3TVQ_cjs = require('./chunk-D4FP3TVQ.cjs');
3
+ var chunkMO3NEYJU_cjs = require('./chunk-MO3NEYJU.cjs');
4
4
  var chunkVWHXC6MQ_cjs = require('./chunk-VWHXC6MQ.cjs');
5
5
 
6
6
  // src/public/experimental/spreadsheet-viewer.ts
7
7
  var BaseSpreadsheetViewer2 = chunkVWHXC6MQ_cjs.BaseSpreadsheetViewer;
8
- var SpreadsheetViewer2 = chunkD4FP3TVQ_cjs.SpreadsheetViewer;
8
+ var SpreadsheetViewer2 = chunkMO3NEYJU_cjs.SpreadsheetViewer;
9
9
 
10
10
  exports.BaseSpreadsheetViewer = BaseSpreadsheetViewer2;
11
11
  exports.SpreadsheetViewer = SpreadsheetViewer2;
12
- //# sourceMappingURL=chunk-3SIF2GHA.cjs.map
13
- //# sourceMappingURL=chunk-3SIF2GHA.cjs.map
12
+ //# sourceMappingURL=chunk-JTAL7SFA.cjs.map
13
+ //# sourceMappingURL=chunk-JTAL7SFA.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/experimental/spreadsheet-viewer.ts"],"names":["BaseSpreadsheetViewer","SpreadsheetViewer"],"mappings":";;;;;;AAmBO,IAAMA,sBAAAA,GAA+BA;AAWrC,IAAMC,kBAAAA,GAA2BA","file":"chunk-3SIF2GHA.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\nimport * as Stable from \"../spreadsheet-viewer.js\";\n\n/** @deprecated Import from `@osdk/react-components/spreadsheet-viewer` instead. */\nexport const BaseSpreadsheetViewer = Stable.BaseSpreadsheetViewer;\n\n/** @deprecated Import from `@osdk/react-components/spreadsheet-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/spreadsheet-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/spreadsheet-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/spreadsheet-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/spreadsheet-viewer` instead. */\nexport const SpreadsheetViewer = Stable.SpreadsheetViewer;"]}
1
+ {"version":3,"sources":["../../src/public/experimental/spreadsheet-viewer.ts"],"names":["BaseSpreadsheetViewer","SpreadsheetViewer"],"mappings":";;;;;;AAmBO,IAAMA,sBAAAA,GAA+BA;AAWrC,IAAMC,kBAAAA,GAA2BA","file":"chunk-JTAL7SFA.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\nimport * as Stable from \"../spreadsheet-viewer.js\";\n\n/** @deprecated Import from `@osdk/react-components/spreadsheet-viewer` instead. */\nexport const BaseSpreadsheetViewer = Stable.BaseSpreadsheetViewer;\n\n/** @deprecated Import from `@osdk/react-components/spreadsheet-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/spreadsheet-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/spreadsheet-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/spreadsheet-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/spreadsheet-viewer` instead. */\nexport const SpreadsheetViewer = Stable.SpreadsheetViewer;"]}
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkPA7IYPBX_cjs = require('./chunk-PA7IYPBX.cjs');
4
+ var chunkO2QKCDAZ_cjs = require('./chunk-O2QKCDAZ.cjs');
5
+
6
+ // src/public/email-viewer.ts
7
+ var EmailViewer2 = chunkO2QKCDAZ_cjs.withOsdkMetrics(chunkPA7IYPBX_cjs.EmailViewer, "EmailViewer");
8
+
9
+ exports.EmailViewer = EmailViewer2;
10
+ //# sourceMappingURL=chunk-L5TK77NC.cjs.map
11
+ //# sourceMappingURL=chunk-L5TK77NC.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/email-viewer.ts"],"names":["EmailViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,YAAAA,GAAcC,iCAAA,CAAgBD,6BAAA,EAAc,aAAa","file":"chunk-FCS7HZST.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/email-viewer.ts"],"names":["EmailViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,YAAAA,GAAcC,iCAAA,CAAgBD,6BAAA,EAAc,aAAa","file":"chunk-L5TK77NC.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,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkEA5Y3I74_cjs = require('./chunk-EA5Y3I74.cjs');
3
+ var chunkZANR3SS5_cjs = require('./chunk-ZANR3SS5.cjs');
4
4
  var chunkKHMOMROL_cjs = require('./chunk-KHMOMROL.cjs');
5
5
 
6
6
  // src/public/experimental/video-viewer.ts
7
7
  var BaseVideoViewer2 = chunkKHMOMROL_cjs.BaseVideoViewer;
8
- var VideoViewer2 = chunkEA5Y3I74_cjs.VideoViewer;
8
+ var VideoViewer2 = chunkZANR3SS5_cjs.VideoViewer;
9
9
 
10
10
  exports.BaseVideoViewer = BaseVideoViewer2;
11
11
  exports.VideoViewer = VideoViewer2;
12
- //# sourceMappingURL=chunk-BKBVMOZF.cjs.map
13
- //# sourceMappingURL=chunk-BKBVMOZF.cjs.map
12
+ //# sourceMappingURL=chunk-MAXE2BB2.cjs.map
13
+ //# sourceMappingURL=chunk-MAXE2BB2.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/experimental/video-viewer.ts"],"names":["BaseVideoViewer","VideoViewer"],"mappings":";;;;;;AAmBO,IAAMA,gBAAAA,GAAyBA;AAO/B,IAAMC,YAAAA,GAAqBA","file":"chunk-BKBVMOZF.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\nimport * as Stable from \"../video-viewer.js\";\n\n/** @deprecated Import from `@osdk/react-components/video-viewer` instead. */\nexport const BaseVideoViewer = Stable.BaseVideoViewer;\n\n/** @deprecated Import from `@osdk/react-components/video-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/video-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/video-viewer` instead. */\nexport const VideoViewer = Stable.VideoViewer;"]}
1
+ {"version":3,"sources":["../../src/public/experimental/video-viewer.ts"],"names":["BaseVideoViewer","VideoViewer"],"mappings":";;;;;;AAmBO,IAAMA,gBAAAA,GAAyBA;AAO/B,IAAMC,YAAAA,GAAqBA","file":"chunk-MAXE2BB2.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\nimport * as Stable from \"../video-viewer.js\";\n\n/** @deprecated Import from `@osdk/react-components/video-viewer` instead. */\nexport const BaseVideoViewer = Stable.BaseVideoViewer;\n\n/** @deprecated Import from `@osdk/react-components/video-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/video-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/video-viewer` instead. */\nexport const VideoViewer = Stable.VideoViewer;"]}
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkVWHXC6MQ_cjs = require('./chunk-VWHXC6MQ.cjs');
4
- var chunkYAGR3EZL_cjs = require('./chunk-YAGR3EZL.cjs');
4
+ var chunkO2QKCDAZ_cjs = require('./chunk-O2QKCDAZ.cjs');
5
5
 
6
6
  // src/public/spreadsheet-viewer.ts
7
- var SpreadsheetViewer2 = chunkYAGR3EZL_cjs.withOsdkMetrics(chunkVWHXC6MQ_cjs.SpreadsheetViewer, "SpreadsheetViewer");
7
+ var SpreadsheetViewer2 = chunkO2QKCDAZ_cjs.withOsdkMetrics(chunkVWHXC6MQ_cjs.SpreadsheetViewer, "SpreadsheetViewer");
8
8
 
9
9
  exports.SpreadsheetViewer = SpreadsheetViewer2;
10
- //# sourceMappingURL=chunk-D4FP3TVQ.cjs.map
11
- //# sourceMappingURL=chunk-D4FP3TVQ.cjs.map
10
+ //# sourceMappingURL=chunk-MO3NEYJU.cjs.map
11
+ //# sourceMappingURL=chunk-MO3NEYJU.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/spreadsheet-viewer.ts"],"names":["SpreadsheetViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,kBAAAA,GAAoBC,iCAAA,CAAgBD,mCAAA,EAAoB,mBAAmB","file":"chunk-D4FP3TVQ.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// BaseSpreadsheetViewer\nexport { BaseSpreadsheetViewer } from \"../spreadsheet-viewer/BaseSpreadsheetViewer.js\";\n// SpreadsheetViewer (Media wrapper)\nimport { SpreadsheetViewer as _SpreadsheetViewer } from \"../spreadsheet-viewer/SpreadsheetViewer.js\";\nimport { withOsdkMetrics } from \"../util/withOsdkMetrics.js\";\nexport const SpreadsheetViewer = withOsdkMetrics(_SpreadsheetViewer, \"SpreadsheetViewer\");"]}
1
+ {"version":3,"sources":["../../src/public/spreadsheet-viewer.ts"],"names":["SpreadsheetViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,kBAAAA,GAAoBC,iCAAA,CAAgBD,mCAAA,EAAoB,mBAAmB","file":"chunk-MO3NEYJU.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// BaseSpreadsheetViewer\nexport { BaseSpreadsheetViewer } from \"../spreadsheet-viewer/BaseSpreadsheetViewer.js\";\n// SpreadsheetViewer (Media wrapper)\nimport { SpreadsheetViewer as _SpreadsheetViewer } from \"../spreadsheet-viewer/SpreadsheetViewer.js\";\nimport { withOsdkMetrics } from \"../util/withOsdkMetrics.js\";\nexport const SpreadsheetViewer = withOsdkMetrics(_SpreadsheetViewer, \"SpreadsheetViewer\");"]}
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ var chunkPZ5LUOUW_cjs = require('./chunk-PZ5LUOUW.cjs');
4
+
5
+ // src/public/experimental/document-viewer.ts
6
+ var DocumentViewer2 = chunkPZ5LUOUW_cjs.DocumentViewer;
7
+ var ViewerType2 = chunkPZ5LUOUW_cjs.ViewerType;
8
+
9
+ exports.DocumentViewer = DocumentViewer2;
10
+ exports.ViewerType = ViewerType2;
11
+ //# sourceMappingURL=chunk-N5OUOCF4.cjs.map
12
+ //# sourceMappingURL=chunk-N5OUOCF4.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/experimental/document-viewer.ts"],"names":["DocumentViewer","ViewerType"],"mappings":";;;;;AAmBO,IAAMA,eAAAA,GAAwBA;AAK9B,IAAMC,WAAAA,GAAoBA","file":"chunk-2DZBPTO2.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\nimport * as Stable from \"../document-viewer.js\";\n\n/** @deprecated Import from `@osdk/react-components/document-viewer` instead. */\nexport const DocumentViewer = Stable.DocumentViewer;\n\n/** @deprecated Import from `@osdk/react-components/document-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/document-viewer` instead. */\nexport const ViewerType = Stable.ViewerType;\n\n/** @deprecated Import from `@osdk/react-components/document-viewer` instead. */"]}
1
+ {"version":3,"sources":["../../src/public/experimental/document-viewer.ts"],"names":["DocumentViewer","ViewerType"],"mappings":";;;;;AAmBO,IAAMA,eAAAA,GAAwBA;AAK9B,IAAMC,WAAAA,GAAoBA","file":"chunk-N5OUOCF4.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\nimport * as Stable from \"../document-viewer.js\";\n\n/** @deprecated Import from `@osdk/react-components/document-viewer` instead. */\nexport const DocumentViewer = Stable.DocumentViewer;\n\n/** @deprecated Import from `@osdk/react-components/document-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/document-viewer` instead. */\nexport const ViewerType = Stable.ViewerType;\n\n/** @deprecated Import from `@osdk/react-components/document-viewer` instead. */"]}
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunk4KHF42ZL_cjs = require('./chunk-4KHF42ZL.cjs');
4
- var chunkYAGR3EZL_cjs = require('./chunk-YAGR3EZL.cjs');
4
+ var chunkO2QKCDAZ_cjs = require('./chunk-O2QKCDAZ.cjs');
5
5
  var icons = require('@blueprintjs/icons');
6
6
  var classnames = require('classnames');
7
7
  require('pdfjs-dist/web/pdf_viewer.css');
@@ -187,12 +187,12 @@ function usePdfViewerInstance(options) {
187
187
  }
188
188
 
189
189
  // src/public/pdf-viewer.ts
190
- var PdfViewer2 = chunkYAGR3EZL_cjs.withOsdkMetrics(chunk4KHF42ZL_cjs.PdfViewer, "PdfViewer");
190
+ var PdfViewer2 = chunkO2QKCDAZ_cjs.withOsdkMetrics(chunk4KHF42ZL_cjs.PdfViewer, "PdfViewer");
191
191
 
192
192
  exports.PdfViewer = PdfViewer2;
193
193
  exports.PdfViewerContent = PdfViewerContent;
194
194
  exports.PdfViewerProvider = PdfViewerProvider;
195
195
  exports.usePdfViewerContext = usePdfViewerContext;
196
196
  exports.usePdfViewerInstance = usePdfViewerInstance;
197
- //# sourceMappingURL=chunk-GC46SZAK.cjs.map
198
- //# sourceMappingURL=chunk-GC46SZAK.cjs.map
197
+ //# sourceMappingURL=chunk-NTUWUKZB.cjs.map
198
+ //# sourceMappingURL=chunk-NTUWUKZB.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/pdf-viewer/components/PdfViewerContent.tsx","../../src/pdf-viewer/PdfViewerContext.tsx","../../src/public/pdf-viewer.ts"],"names":["EMPTY_ANNOTATION_ARRAY","usePdfViewerCore","usePdfAnnotationsByPage","usePdfFormFields","useRef","useEffect","classnames","BasePdfViewer_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;AAAA,EACA,WAAA;AAAA,EACA,YAAA;AAAA,EACA,YAAA;AAAA,EACA,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,WAAA;AAAA,IACA,YAAA;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,CAAgB,OAAA,GAAU,OAAO,WAAW,CAAA;AAAA,EAC9C,CAAA,EAAG,CAAC,MAAA,CAAO,WAAW,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YAAA;AAAA,IACrB,aAAa,MAAA,CAAO,WAAA;AAAA,IACpB,UAAU,MAAA,CAAO,QAAA;AAAA,IACjB,UAAU,OAAA,CAAQ,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;AAG7D,EAAA,MAAM,gBAAA,GAAmB,OAAA,CAAQ,eAAA,IAAmB,OAAA,CAAQ,gBAAA,IAAoB,KAAA;AAChF,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;;;ACjEO,IAAMC,UAAAA,GAAYC,iCAAA,CAAgBD,2BAAA,EAAY,WAAW","file":"chunk-GC46SZAK.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 { PdfAnnotationOverlay } from \"./PdfAnnotationOverlay.js\";\nimport styles from \"../BasePdfViewer.module.css\";\nexport function PdfViewerContent({\n src,\n annotations = EMPTY_ANNOTATION_ARRAY,\n onAnnotationClick,\n defaultPage,\n initialPage,\n defaultScale,\n initialScale,\n onPageChange: onPageChangeProp,\n onScaleChange: onScaleChangeProp,\n formData,\n onFormChange,\n className\n}) {\n const viewer = usePdfViewerCore({\n src,\n defaultPage,\n initialPage,\n defaultScale,\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 defaultPage: options.defaultPage,\n initialPage: options.initialPage,\n defaultScale: options.defaultScale,\n initialScale: options.initialScale,\n defaultAutoSize: options.defaultAutoSize,\n initialAutoSize: options.initialAutoSize,\n defaultSidebarOpen: options.defaultSidebarOpen,\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.enableHighlight ?? 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\n // `highlightEnabled` is the deprecated spelling of `enableHighlight`.\n const highlightEnabled = options.enableHighlight ?? 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// BasePdfViewer\nexport { BasePdfViewer } from \"../pdf-viewer/BasePdfViewer.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\n// PdfViewer context\n\nexport { PdfViewerProvider, usePdfViewerContext, usePdfViewerInstance } from \"../pdf-viewer/PdfViewerContext.js\";\n\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/PdfViewer.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/pdf-viewer.ts"],"names":["EMPTY_ANNOTATION_ARRAY","usePdfViewerCore","usePdfAnnotationsByPage","usePdfFormFields","useRef","useEffect","classnames","BasePdfViewer_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;AAAA,EACA,WAAA;AAAA,EACA,YAAA;AAAA,EACA,YAAA;AAAA,EACA,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,WAAA;AAAA,IACA,YAAA;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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CAAgBD,2BAAA,EAAY,WAAW","file":"chunk-NTUWUKZB.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 { PdfAnnotationOverlay } from \"./PdfAnnotationOverlay.js\";\nimport styles from \"../BasePdfViewer.module.css\";\nexport function PdfViewerContent({\n src,\n annotations = EMPTY_ANNOTATION_ARRAY,\n onAnnotationClick,\n defaultPage,\n initialPage,\n defaultScale,\n initialScale,\n onPageChange: onPageChangeProp,\n onScaleChange: onScaleChangeProp,\n formData,\n onFormChange,\n className\n}) {\n const viewer = usePdfViewerCore({\n src,\n defaultPage,\n initialPage,\n defaultScale,\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 defaultPage: options.defaultPage,\n initialPage: options.initialPage,\n defaultScale: options.defaultScale,\n initialScale: options.initialScale,\n defaultAutoSize: options.defaultAutoSize,\n initialAutoSize: options.initialAutoSize,\n defaultSidebarOpen: options.defaultSidebarOpen,\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.enableHighlight ?? 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\n // `highlightEnabled` is the deprecated spelling of `enableHighlight`.\n const highlightEnabled = options.enableHighlight ?? 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// BasePdfViewer\nexport { BasePdfViewer } from \"../pdf-viewer/BasePdfViewer.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\n// PdfViewer context\n\nexport { PdfViewerProvider, usePdfViewerContext, usePdfViewerInstance } from \"../pdf-viewer/PdfViewerContext.js\";\n\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/PdfViewer.js\";\nimport { withOsdkMetrics } from \"../util/withOsdkMetrics.js\";\nexport const PdfViewer = withOsdkMetrics(_PdfViewer, \"PdfViewer\");"]}
@@ -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.71.0-main-62ebddd7d14dd54cc6de480bc4f21a16fad9b529"}`;
13
+ var PACKAGE_USER_AGENT = `osdk-react-components/${"0.71.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-YAGR3EZL.cjs.map
30
- //# sourceMappingURL=chunk-YAGR3EZL.cjs.map
29
+ //# sourceMappingURL=chunk-O2QKCDAZ.cjs.map
30
+ //# sourceMappingURL=chunk-O2QKCDAZ.cjs.map
@@ -0,0 +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-O2QKCDAZ.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,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkGC46SZAK_cjs = require('./chunk-GC46SZAK.cjs');
3
+ var chunkNTUWUKZB_cjs = require('./chunk-NTUWUKZB.cjs');
4
4
  var chunk4KHF42ZL_cjs = require('./chunk-4KHF42ZL.cjs');
5
5
 
6
6
  // src/public/experimental/pdf-viewer.ts
7
7
  var BasePdfViewer2 = chunk4KHF42ZL_cjs.BasePdfViewer;
8
8
  var PdfViewerAnnotationLayer2 = chunk4KHF42ZL_cjs.PdfViewerAnnotationLayer;
9
- var PdfViewerContent2 = chunkGC46SZAK_cjs.PdfViewerContent;
9
+ var PdfViewerContent2 = chunkNTUWUKZB_cjs.PdfViewerContent;
10
10
  var PdfViewerOutlineSidebar2 = chunk4KHF42ZL_cjs.PdfViewerOutlineSidebar;
11
11
  var PdfViewerSearchBar2 = chunk4KHF42ZL_cjs.PdfViewerSearchBar;
12
12
  var PdfViewerSidebar2 = chunk4KHF42ZL_cjs.PdfViewerSidebar;
@@ -20,12 +20,12 @@ var usePdfOutline2 = chunk4KHF42ZL_cjs.usePdfOutline;
20
20
  var usePdfViewer2 = chunk4KHF42ZL_cjs.usePdfViewer;
21
21
  var usePdfViewerSearch2 = chunk4KHF42ZL_cjs.usePdfViewerSearch;
22
22
  var usePdfViewerSync2 = chunk4KHF42ZL_cjs.usePdfViewerSync;
23
- var PdfViewerProvider2 = chunkGC46SZAK_cjs.PdfViewerProvider;
24
- var usePdfViewerContext2 = chunkGC46SZAK_cjs.usePdfViewerContext;
25
- var usePdfViewerInstance2 = chunkGC46SZAK_cjs.usePdfViewerInstance;
23
+ var PdfViewerProvider2 = chunkNTUWUKZB_cjs.PdfViewerProvider;
24
+ var usePdfViewerContext2 = chunkNTUWUKZB_cjs.usePdfViewerContext;
25
+ var usePdfViewerInstance2 = chunkNTUWUKZB_cjs.usePdfViewerInstance;
26
26
  var usePdfViewerCore2 = chunk4KHF42ZL_cjs.usePdfViewerCore;
27
27
  var usePdfViewerState2 = chunk4KHF42ZL_cjs.usePdfViewerState;
28
- var PdfViewer2 = chunkGC46SZAK_cjs.PdfViewer;
28
+ var PdfViewer2 = chunkNTUWUKZB_cjs.PdfViewer;
29
29
 
30
30
  exports.BasePdfViewer = BasePdfViewer2;
31
31
  exports.PdfViewer = PdfViewer2;
@@ -49,5 +49,5 @@ exports.usePdfViewerInstance = usePdfViewerInstance2;
49
49
  exports.usePdfViewerSearch = usePdfViewerSearch2;
50
50
  exports.usePdfViewerState = usePdfViewerState2;
51
51
  exports.usePdfViewerSync = usePdfViewerSync2;
52
- //# sourceMappingURL=chunk-HEGWR76M.cjs.map
53
- //# sourceMappingURL=chunk-HEGWR76M.cjs.map
52
+ //# sourceMappingURL=chunk-OZNDHMVV.cjs.map
53
+ //# sourceMappingURL=chunk-OZNDHMVV.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/experimental/pdf-viewer.ts"],"names":["BasePdfViewer","PdfViewerAnnotationLayer","PdfViewerContent","PdfViewerOutlineSidebar","PdfViewerSearchBar","PdfViewerSidebar","PdfViewerToolbar","usePdfAnnotationPortals","usePdfAnnotationsByPage","usePdfDocument","usePdfFormFields","usePdfHighlightMode","usePdfOutline","usePdfViewer","usePdfViewerSearch","usePdfViewerSync","PdfViewerProvider","usePdfViewerContext","usePdfViewerInstance","usePdfViewerCore","usePdfViewerState","PdfViewer"],"mappings":";;;;;;AAmBO,IAAMA,cAAAA,GAAuBA;AAyB7B,IAAMC,yBAAAA,GAAkCA;AAKxC,IAAMC,iBAAAA,GAA0BA;AAKhC,IAAMC,wBAAAA,GAAiCA;AAKvC,IAAMC,mBAAAA,GAA4BA;AAKlC,IAAMC,iBAAAA,GAA0BA;AAKhC,IAAMC,iBAAAA,GAA0BA;AAOhC,IAAMC,wBAAAA,GAAiCA;AAGvC,IAAMC,wBAAAA,GAAiCA;AAGvC,IAAMC,eAAAA,GAAwBA;AAG9B,IAAMC,iBAAAA,GAA0BA;AAOhC,IAAMC,oBAAAA,GAA6BA;AAOnC,IAAMC,cAAAA,GAAuBA;AAG7B,IAAMC,aAAAA,GAAsBA;AAK5B,IAAMC,mBAAAA,GAA4BA;AAKlC,IAAMC,iBAAAA,GAA0BA;AAWhC,IAAMC,kBAAAA,GAA2BA;AAGjC,IAAMC,oBAAAA,GAA6BA;AAGnC,IAAMC,qBAAAA,GAA8BA;AAGpC,IAAMC,iBAAAA,GAA0BA;AAOhC,IAAMC,kBAAAA,GAA2BA;AAOjC,IAAMC,UAAAA,GAAmBA","file":"chunk-HEGWR76M.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\nimport * as Stable from \"../pdf-viewer.js\";\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const BasePdfViewer = Stable.BasePdfViewer;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const PdfViewerAnnotationLayer = Stable.PdfViewerAnnotationLayer;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const PdfViewerContent = Stable.PdfViewerContent;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const PdfViewerOutlineSidebar = Stable.PdfViewerOutlineSidebar;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const PdfViewerSearchBar = Stable.PdfViewerSearchBar;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const PdfViewerSidebar = Stable.PdfViewerSidebar;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const PdfViewerToolbar = Stable.PdfViewerToolbar;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfAnnotationPortals = Stable.usePdfAnnotationPortals;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfAnnotationsByPage = Stable.usePdfAnnotationsByPage;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfDocument = Stable.usePdfDocument;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfFormFields = Stable.usePdfFormFields;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfHighlightMode = Stable.usePdfHighlightMode;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfOutline = Stable.usePdfOutline;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfViewer = Stable.usePdfViewer;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfViewerSearch = Stable.usePdfViewerSearch;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfViewerSync = Stable.usePdfViewerSync;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const PdfViewerProvider = Stable.PdfViewerProvider;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfViewerContext = Stable.usePdfViewerContext;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfViewerInstance = Stable.usePdfViewerInstance;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfViewerCore = Stable.usePdfViewerCore;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfViewerState = Stable.usePdfViewerState;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const PdfViewer = Stable.PdfViewer;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */"]}
1
+ {"version":3,"sources":["../../src/public/experimental/pdf-viewer.ts"],"names":["BasePdfViewer","PdfViewerAnnotationLayer","PdfViewerContent","PdfViewerOutlineSidebar","PdfViewerSearchBar","PdfViewerSidebar","PdfViewerToolbar","usePdfAnnotationPortals","usePdfAnnotationsByPage","usePdfDocument","usePdfFormFields","usePdfHighlightMode","usePdfOutline","usePdfViewer","usePdfViewerSearch","usePdfViewerSync","PdfViewerProvider","usePdfViewerContext","usePdfViewerInstance","usePdfViewerCore","usePdfViewerState","PdfViewer"],"mappings":";;;;;;AAmBO,IAAMA,cAAAA,GAAuBA;AAyB7B,IAAMC,yBAAAA,GAAkCA;AAKxC,IAAMC,iBAAAA,GAA0BA;AAKhC,IAAMC,wBAAAA,GAAiCA;AAKvC,IAAMC,mBAAAA,GAA4BA;AAKlC,IAAMC,iBAAAA,GAA0BA;AAKhC,IAAMC,iBAAAA,GAA0BA;AAOhC,IAAMC,wBAAAA,GAAiCA;AAGvC,IAAMC,wBAAAA,GAAiCA;AAGvC,IAAMC,eAAAA,GAAwBA;AAG9B,IAAMC,iBAAAA,GAA0BA;AAOhC,IAAMC,oBAAAA,GAA6BA;AAOnC,IAAMC,cAAAA,GAAuBA;AAG7B,IAAMC,aAAAA,GAAsBA;AAK5B,IAAMC,mBAAAA,GAA4BA;AAKlC,IAAMC,iBAAAA,GAA0BA;AAWhC,IAAMC,kBAAAA,GAA2BA;AAGjC,IAAMC,oBAAAA,GAA6BA;AAGnC,IAAMC,qBAAAA,GAA8BA;AAGpC,IAAMC,iBAAAA,GAA0BA;AAOhC,IAAMC,kBAAAA,GAA2BA;AAOjC,IAAMC,UAAAA,GAAmBA","file":"chunk-OZNDHMVV.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\nimport * as Stable from \"../pdf-viewer.js\";\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const BasePdfViewer = Stable.BasePdfViewer;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const PdfViewerAnnotationLayer = Stable.PdfViewerAnnotationLayer;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const PdfViewerContent = Stable.PdfViewerContent;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const PdfViewerOutlineSidebar = Stable.PdfViewerOutlineSidebar;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const PdfViewerSearchBar = Stable.PdfViewerSearchBar;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const PdfViewerSidebar = Stable.PdfViewerSidebar;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const PdfViewerToolbar = Stable.PdfViewerToolbar;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfAnnotationPortals = Stable.usePdfAnnotationPortals;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfAnnotationsByPage = Stable.usePdfAnnotationsByPage;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfDocument = Stable.usePdfDocument;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfFormFields = Stable.usePdfFormFields;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfHighlightMode = Stable.usePdfHighlightMode;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfOutline = Stable.usePdfOutline;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfViewer = Stable.usePdfViewer;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfViewerSearch = Stable.usePdfViewerSearch;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfViewerSync = Stable.usePdfViewerSync;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const PdfViewerProvider = Stable.PdfViewerProvider;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfViewerContext = Stable.usePdfViewerContext;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfViewerInstance = Stable.usePdfViewerInstance;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfViewerCore = Stable.usePdfViewerCore;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const usePdfViewerState = Stable.usePdfViewerState;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */\nexport const PdfViewer = Stable.PdfViewer;\n\n/** @deprecated Import from `@osdk/react-components/pdf-viewer` instead. */"]}