@embedpdf/vue 0.0.0-stage → 3.0.0-next.15

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 (405) hide show
  1. package/LICENSE +192 -0
  2. package/README.md +258 -2
  3. package/dist/Anchored.vue_vue_type_script_setup_true_lang-BEImlFso.cjs +124 -0
  4. package/dist/Anchored.vue_vue_type_script_setup_true_lang-BEImlFso.cjs.map +1 -0
  5. package/dist/Anchored.vue_vue_type_script_setup_true_lang-Brhh5jyF.js +125 -0
  6. package/dist/Anchored.vue_vue_type_script_setup_true_lang-Brhh5jyF.js.map +1 -0
  7. package/dist/AnchoredScope.vue_vue_type_script_setup_true_lang-BwtHXw73.cjs +20 -0
  8. package/dist/AnchoredScope.vue_vue_type_script_setup_true_lang-BwtHXw73.cjs.map +1 -0
  9. package/dist/AnchoredScope.vue_vue_type_script_setup_true_lang-Ulkr3a6R.js +21 -0
  10. package/dist/AnchoredScope.vue_vue_type_script_setup_true_lang-Ulkr3a6R.js.map +1 -0
  11. package/dist/DocumentScope.vue_vue_type_script_setup_true_lang-CtTu1FGX.js +191 -0
  12. package/dist/DocumentScope.vue_vue_type_script_setup_true_lang-CtTu1FGX.js.map +1 -0
  13. package/dist/DocumentScope.vue_vue_type_script_setup_true_lang-loLSm4lV.cjs +190 -0
  14. package/dist/DocumentScope.vue_vue_type_script_setup_true_lang-loLSm4lV.cjs.map +1 -0
  15. package/dist/FormLayer.vue_vue_type_script_setup_true_lang-BA0_VwFc.cjs +682 -0
  16. package/dist/FormLayer.vue_vue_type_script_setup_true_lang-BA0_VwFc.cjs.map +1 -0
  17. package/dist/FormLayer.vue_vue_type_script_setup_true_lang-DUqft-xs.js +683 -0
  18. package/dist/FormLayer.vue_vue_type_script_setup_true_lang-DUqft-xs.js.map +1 -0
  19. package/dist/LinkLayer.vue_vue_type_script_setup_true_lang-C5-eQD34.cjs +174 -0
  20. package/dist/LinkLayer.vue_vue_type_script_setup_true_lang-C5-eQD34.cjs.map +1 -0
  21. package/dist/LinkLayer.vue_vue_type_script_setup_true_lang-EzLaOP3g.js +175 -0
  22. package/dist/LinkLayer.vue_vue_type_script_setup_true_lang-EzLaOP3g.js.map +1 -0
  23. package/dist/PagePointerSource.vue_vue_type_script_setup_true_lang-CJt3vdBW.js +33 -0
  24. package/dist/PagePointerSource.vue_vue_type_script_setup_true_lang-CJt3vdBW.js.map +1 -0
  25. package/dist/PagePointerSource.vue_vue_type_script_setup_true_lang-Cw29c8Oa.cjs +32 -0
  26. package/dist/PagePointerSource.vue_vue_type_script_setup_true_lang-Cw29c8Oa.cjs.map +1 -0
  27. package/dist/PageView.vue_vue_type_script_setup_true_lang-CjrpumX2.cjs +151 -0
  28. package/dist/PageView.vue_vue_type_script_setup_true_lang-CjrpumX2.cjs.map +1 -0
  29. package/dist/PageView.vue_vue_type_script_setup_true_lang-O4AFc0_R.js +152 -0
  30. package/dist/PageView.vue_vue_type_script_setup_true_lang-O4AFc0_R.js.map +1 -0
  31. package/dist/Scrollbar.vue_vue_type_script_setup_true_lang-DrOORC1H.cjs +480 -0
  32. package/dist/Scrollbar.vue_vue_type_script_setup_true_lang-DrOORC1H.cjs.map +1 -0
  33. package/dist/Scrollbar.vue_vue_type_script_setup_true_lang-HbCryx1B.js +481 -0
  34. package/dist/Scrollbar.vue_vue_type_script_setup_true_lang-HbCryx1B.js.map +1 -0
  35. package/dist/SearchLayer.vue_vue_type_script_setup_true_lang-BlLIPH1B.js +118 -0
  36. package/dist/SearchLayer.vue_vue_type_script_setup_true_lang-BlLIPH1B.js.map +1 -0
  37. package/dist/SearchLayer.vue_vue_type_script_setup_true_lang-CQozZCvB.cjs +117 -0
  38. package/dist/SearchLayer.vue_vue_type_script_setup_true_lang-CQozZCvB.cjs.map +1 -0
  39. package/dist/SelectionClipboard.vue_vue_type_script_setup_true_lang-C4TUDuyu.js +302 -0
  40. package/dist/SelectionClipboard.vue_vue_type_script_setup_true_lang-C4TUDuyu.js.map +1 -0
  41. package/dist/SelectionClipboard.vue_vue_type_script_setup_true_lang-C8T9q6Kb.cjs +301 -0
  42. package/dist/SelectionClipboard.vue_vue_type_script_setup_true_lang-C8T9q6Kb.cjs.map +1 -0
  43. package/dist/SvgShapes.vue_vue_type_script_setup_true_lang-D_c-wINF.cjs +38 -0
  44. package/dist/SvgShapes.vue_vue_type_script_setup_true_lang-D_c-wINF.cjs.map +1 -0
  45. package/dist/SvgShapes.vue_vue_type_script_setup_true_lang-fOTs4aqv.js +39 -0
  46. package/dist/SvgShapes.vue_vue_type_script_setup_true_lang-fOTs4aqv.js.map +1 -0
  47. package/dist/actions.cjs +42 -0
  48. package/dist/actions.cjs.map +1 -0
  49. package/dist/actions.d.cts +41 -0
  50. package/dist/actions.d.ts +41 -0
  51. package/dist/actions.js +37 -0
  52. package/dist/actions.js.map +1 -0
  53. package/dist/anchored/Anchored.vue.d.cts +40 -0
  54. package/dist/anchored/Anchored.vue.d.ts +40 -0
  55. package/dist/anchored/AnchoredScope.vue.d.cts +17 -0
  56. package/dist/anchored/AnchoredScope.vue.d.ts +17 -0
  57. package/dist/anchored/PlacedAnchored.vue.d.cts +19 -0
  58. package/dist/anchored/PlacedAnchored.vue.d.ts +19 -0
  59. package/dist/anchored/projector.d.cts +32 -0
  60. package/dist/anchored/projector.d.ts +32 -0
  61. package/dist/anchored.cjs +13 -0
  62. package/dist/anchored.cjs.map +1 -0
  63. package/dist/anchored.d.cts +15 -0
  64. package/dist/anchored.d.ts +15 -0
  65. package/dist/anchored.js +13 -0
  66. package/dist/anchored.js.map +1 -0
  67. package/dist/annotation/AnnotationChrome.vue.d.cts +20 -0
  68. package/dist/annotation/AnnotationChrome.vue.d.ts +20 -0
  69. package/dist/annotation/AnnotationDraftMenu.vue.d.cts +26 -0
  70. package/dist/annotation/AnnotationDraftMenu.vue.d.ts +26 -0
  71. package/dist/annotation/AnnotationFrame.vue.d.cts +25 -0
  72. package/dist/annotation/AnnotationFrame.vue.d.ts +25 -0
  73. package/dist/annotation/AnnotationLayer.vue.d.cts +23 -0
  74. package/dist/annotation/AnnotationLayer.vue.d.ts +23 -0
  75. package/dist/annotation/AnnotationLook.vue.d.cts +21 -0
  76. package/dist/annotation/AnnotationLook.vue.d.ts +21 -0
  77. package/dist/annotation/AnnotationMenu.vue.d.cts +23 -0
  78. package/dist/annotation/AnnotationMenu.vue.d.ts +23 -0
  79. package/dist/annotation/AnnotationRotationBadge.vue.d.cts +26 -0
  80. package/dist/annotation/AnnotationRotationBadge.vue.d.ts +26 -0
  81. package/dist/annotation/AnnotationScene.vue.d.cts +7 -0
  82. package/dist/annotation/AnnotationScene.vue.d.ts +7 -0
  83. package/dist/annotation/FreeTextBox.vue.d.cts +9 -0
  84. package/dist/annotation/FreeTextBox.vue.d.ts +9 -0
  85. package/dist/annotation/NativeDrawing.vue.d.cts +10 -0
  86. package/dist/annotation/NativeDrawing.vue.d.ts +10 -0
  87. package/dist/annotation/StampGhost.vue.d.cts +7 -0
  88. package/dist/annotation/StampGhost.vue.d.ts +7 -0
  89. package/dist/annotation/composables.d.cts +76 -0
  90. package/dist/annotation/composables.d.ts +76 -0
  91. package/dist/annotation/state.d.cts +19 -0
  92. package/dist/annotation/state.d.ts +19 -0
  93. package/dist/annotation/text-box.d.cts +27 -0
  94. package/dist/annotation/text-box.d.ts +27 -0
  95. package/dist/annotation/types.d.cts +154 -0
  96. package/dist/annotation/types.d.ts +154 -0
  97. package/dist/annotation.cjs +29 -0
  98. package/dist/annotation.cjs.map +1 -0
  99. package/dist/annotation.d.cts +35 -0
  100. package/dist/annotation.d.ts +35 -0
  101. package/dist/annotation.js +23 -0
  102. package/dist/annotation.js.map +1 -0
  103. package/dist/capabilities-C7YzgPCX.js +164 -0
  104. package/dist/capabilities-C7YzgPCX.js.map +1 -0
  105. package/dist/capabilities-DVNJmgy7.cjs +163 -0
  106. package/dist/capabilities-DVNJmgy7.cjs.map +1 -0
  107. package/dist/commands.cjs +81 -0
  108. package/dist/commands.cjs.map +1 -0
  109. package/dist/commands.d.cts +61 -0
  110. package/dist/commands.d.ts +61 -0
  111. package/dist/commands.js +76 -0
  112. package/dist/commands.js.map +1 -0
  113. package/dist/composables-BGBsNDf9.cjs +25 -0
  114. package/dist/composables-BGBsNDf9.cjs.map +1 -0
  115. package/dist/composables-BuHvnUlo.cjs +1003 -0
  116. package/dist/composables-BuHvnUlo.cjs.map +1 -0
  117. package/dist/composables-CIkhKwAg.js +1004 -0
  118. package/dist/composables-CIkhKwAg.js.map +1 -0
  119. package/dist/composables-DwsZdg06.js +26 -0
  120. package/dist/composables-DwsZdg06.js.map +1 -0
  121. package/dist/dev-CtMlvxjZ.js +17 -0
  122. package/dist/dev-CtMlvxjZ.js.map +1 -0
  123. package/dist/dev-eeIS2B4c.cjs +16 -0
  124. package/dist/dev-eeIS2B4c.cjs.map +1 -0
  125. package/dist/dev.d.cts +11 -0
  126. package/dist/dev.d.ts +11 -0
  127. package/dist/documents-DUu5H4yH.js +34 -0
  128. package/dist/documents-DUu5H4yH.js.map +1 -0
  129. package/dist/documents-TQ1fMdWI.cjs +33 -0
  130. package/dist/documents-TQ1fMdWI.cjs.map +1 -0
  131. package/dist/form/ButtonControl.vue.d.cts +11 -0
  132. package/dist/form/ButtonControl.vue.d.ts +11 -0
  133. package/dist/form/ComboControl.vue.d.cts +11 -0
  134. package/dist/form/ComboControl.vue.d.ts +11 -0
  135. package/dist/form/FieldPictures.vue.d.cts +3 -0
  136. package/dist/form/FieldPictures.vue.d.ts +3 -0
  137. package/dist/form/FormFocusRing.vue.d.cts +8 -0
  138. package/dist/form/FormFocusRing.vue.d.ts +8 -0
  139. package/dist/form/FormLayer.vue.d.cts +3 -0
  140. package/dist/form/FormLayer.vue.d.ts +3 -0
  141. package/dist/form/ListControl.vue.d.cts +11 -0
  142. package/dist/form/ListControl.vue.d.ts +11 -0
  143. package/dist/form/NativeListBox.vue.d.cts +27 -0
  144. package/dist/form/NativeListBox.vue.d.ts +27 -0
  145. package/dist/form/SignatureControl.vue.d.cts +11 -0
  146. package/dist/form/SignatureControl.vue.d.ts +11 -0
  147. package/dist/form/TextControl.vue.d.cts +11 -0
  148. package/dist/form/TextControl.vue.d.ts +11 -0
  149. package/dist/form/ToggleControl.vue.d.cts +11 -0
  150. package/dist/form/ToggleControl.vue.d.ts +11 -0
  151. package/dist/form/composables.d.cts +52 -0
  152. package/dist/form/composables.d.ts +52 -0
  153. package/dist/form/widget-box.d.cts +34 -0
  154. package/dist/form/widget-box.d.ts +34 -0
  155. package/dist/form.cjs +17 -0
  156. package/dist/form.cjs.map +1 -0
  157. package/dist/form.d.cts +12 -0
  158. package/dist/form.d.ts +12 -0
  159. package/dist/form.js +11 -0
  160. package/dist/form.js.map +1 -0
  161. package/dist/history.cjs +22 -0
  162. package/dist/history.cjs.map +1 -0
  163. package/dist/history.d.cts +31 -0
  164. package/dist/history.d.ts +31 -0
  165. package/dist/history.js +17 -0
  166. package/dist/history.js.map +1 -0
  167. package/dist/i18n.cjs +29 -0
  168. package/dist/i18n.cjs.map +1 -0
  169. package/dist/i18n.d.cts +36 -0
  170. package/dist/i18n.d.ts +36 -0
  171. package/dist/i18n.js +24 -0
  172. package/dist/i18n.js.map +1 -0
  173. package/dist/index.cjs +391 -0
  174. package/dist/index.cjs.map +1 -0
  175. package/dist/index.d.cts +30 -0
  176. package/dist/index.d.ts +30 -0
  177. package/dist/index.js +223 -0
  178. package/dist/index.js.map +1 -0
  179. package/dist/interaction/PagePointerSource.vue.d.cts +3 -0
  180. package/dist/interaction/PagePointerSource.vue.d.ts +3 -0
  181. package/dist/interaction.cjs +63 -0
  182. package/dist/interaction.cjs.map +1 -0
  183. package/dist/interaction.d.cts +40 -0
  184. package/dist/interaction.d.ts +40 -0
  185. package/dist/interaction.js +47 -0
  186. package/dist/interaction.js.map +1 -0
  187. package/dist/link/LinkAnchor.vue.d.cts +9 -0
  188. package/dist/link/LinkAnchor.vue.d.ts +9 -0
  189. package/dist/link/LinkLayer.vue.d.cts +22 -0
  190. package/dist/link/LinkLayer.vue.d.ts +22 -0
  191. package/dist/link/composables.d.cts +29 -0
  192. package/dist/link/composables.d.ts +29 -0
  193. package/dist/link.cjs +14 -0
  194. package/dist/link.cjs.map +1 -0
  195. package/dist/link.d.cts +11 -0
  196. package/dist/link.d.ts +11 -0
  197. package/dist/link.js +8 -0
  198. package/dist/link.js.map +1 -0
  199. package/dist/measurement.cjs +43 -0
  200. package/dist/measurement.cjs.map +1 -0
  201. package/dist/measurement.d.cts +51 -0
  202. package/dist/measurement.d.ts +51 -0
  203. package/dist/measurement.js +38 -0
  204. package/dist/measurement.js.map +1 -0
  205. package/dist/metadata.cjs +22 -0
  206. package/dist/metadata.cjs.map +1 -0
  207. package/dist/metadata.d.cts +31 -0
  208. package/dist/metadata.d.ts +31 -0
  209. package/dist/metadata.js +17 -0
  210. package/dist/metadata.js.map +1 -0
  211. package/dist/page-D9XIuLSj.js +16 -0
  212. package/dist/page-D9XIuLSj.js.map +1 -0
  213. package/dist/page-Doy4_Sdz.cjs +15 -0
  214. package/dist/page-Doy4_Sdz.cjs.map +1 -0
  215. package/dist/page-edit.cjs +15 -0
  216. package/dist/page-edit.cjs.map +1 -0
  217. package/dist/page-edit.d.cts +16 -0
  218. package/dist/page-edit.d.ts +16 -0
  219. package/dist/page-edit.js +10 -0
  220. package/dist/page-edit.js.map +1 -0
  221. package/dist/page-layers-c-CJYAUO.cjs +30 -0
  222. package/dist/page-layers-c-CJYAUO.cjs.map +1 -0
  223. package/dist/page-layers-rlh4-1qr.js +31 -0
  224. package/dist/page-layers-rlh4-1qr.js.map +1 -0
  225. package/dist/page-layers.d.cts +21 -0
  226. package/dist/page-layers.d.ts +21 -0
  227. package/dist/page-view/PageView.vue.d.cts +42 -0
  228. package/dist/page-view/PageView.vue.d.ts +42 -0
  229. package/dist/page-view.cjs +5 -0
  230. package/dist/page-view.cjs.map +1 -0
  231. package/dist/page-view.d.cts +10 -0
  232. package/dist/page-view.d.ts +10 -0
  233. package/dist/page-view.js +5 -0
  234. package/dist/page-view.js.map +1 -0
  235. package/dist/projector-CDZn1kh1.js +32 -0
  236. package/dist/projector-CDZn1kh1.js.map +1 -0
  237. package/dist/projector-Cf7879sx.cjs +31 -0
  238. package/dist/projector-Cf7879sx.cjs.map +1 -0
  239. package/dist/redaction.cjs +34 -0
  240. package/dist/redaction.cjs.map +1 -0
  241. package/dist/redaction.d.cts +44 -0
  242. package/dist/redaction.d.ts +44 -0
  243. package/dist/redaction.js +29 -0
  244. package/dist/redaction.js.map +1 -0
  245. package/dist/render/RenderLayer.vue.d.cts +23 -0
  246. package/dist/render/RenderLayer.vue.d.ts +23 -0
  247. package/dist/render/TileImage.vue.d.cts +13 -0
  248. package/dist/render/TileImage.vue.d.ts +13 -0
  249. package/dist/render/TilePlane.vue.d.cts +7 -0
  250. package/dist/render/TilePlane.vue.d.ts +7 -0
  251. package/dist/render.cjs +262 -0
  252. package/dist/render.cjs.map +1 -0
  253. package/dist/render.d.cts +16 -0
  254. package/dist/render.d.ts +16 -0
  255. package/dist/render.js +257 -0
  256. package/dist/render.js.map +1 -0
  257. package/dist/runtime/DocumentGate.vue.d.cts +24 -0
  258. package/dist/runtime/DocumentGate.vue.d.ts +24 -0
  259. package/dist/runtime/DocumentScope.vue.d.cts +16 -0
  260. package/dist/runtime/DocumentScope.vue.d.ts +16 -0
  261. package/dist/runtime/KernelProvider.vue.d.cts +17 -0
  262. package/dist/runtime/KernelProvider.vue.d.ts +17 -0
  263. package/dist/runtime/SvgShapes.vue.d.cts +7 -0
  264. package/dist/runtime/SvgShapes.vue.d.ts +7 -0
  265. package/dist/runtime/Viewer.vue.d.cts +57 -0
  266. package/dist/runtime/Viewer.vue.d.ts +57 -0
  267. package/dist/runtime/capabilities.d.cts +52 -0
  268. package/dist/runtime/capabilities.d.ts +52 -0
  269. package/dist/runtime/documents.d.cts +42 -0
  270. package/dist/runtime/documents.d.ts +42 -0
  271. package/dist/runtime/kernel.d.cts +36 -0
  272. package/dist/runtime/kernel.d.ts +36 -0
  273. package/dist/runtime/page.d.cts +15 -0
  274. package/dist/runtime/page.d.ts +15 -0
  275. package/dist/runtime/refs.d.cts +12 -0
  276. package/dist/runtime/refs.d.ts +12 -0
  277. package/dist/runtime/surface-box.d.cts +12 -0
  278. package/dist/runtime/surface-box.d.ts +12 -0
  279. package/dist/runtime.cjs +53 -0
  280. package/dist/runtime.cjs.map +1 -0
  281. package/dist/runtime.d.cts +24 -0
  282. package/dist/runtime.d.ts +24 -0
  283. package/dist/runtime.js +38 -0
  284. package/dist/runtime.js.map +1 -0
  285. package/dist/scope-BQA4toWB.cjs +17 -0
  286. package/dist/scope-BQA4toWB.cjs.map +1 -0
  287. package/dist/scope-BgdCqnYb.js +18 -0
  288. package/dist/scope-BgdCqnYb.js.map +1 -0
  289. package/dist/search/SearchLayer.vue.d.cts +17 -0
  290. package/dist/search/SearchLayer.vue.d.ts +17 -0
  291. package/dist/search/composables.d.cts +31 -0
  292. package/dist/search/composables.d.ts +31 -0
  293. package/dist/search.cjs +17 -0
  294. package/dist/search.cjs.map +1 -0
  295. package/dist/search.d.cts +10 -0
  296. package/dist/search.d.ts +10 -0
  297. package/dist/search.js +11 -0
  298. package/dist/search.js.map +1 -0
  299. package/dist/selection/SelectionClipboard.vue.d.cts +24 -0
  300. package/dist/selection/SelectionClipboard.vue.d.ts +24 -0
  301. package/dist/selection/SelectionHandles.vue.d.cts +8 -0
  302. package/dist/selection/SelectionHandles.vue.d.ts +8 -0
  303. package/dist/selection/SelectionLayer.vue.d.cts +3 -0
  304. package/dist/selection/SelectionLayer.vue.d.ts +3 -0
  305. package/dist/selection/SelectionMenu.vue.d.cts +23 -0
  306. package/dist/selection/SelectionMenu.vue.d.ts +23 -0
  307. package/dist/selection/composables.d.cts +24 -0
  308. package/dist/selection/composables.d.ts +24 -0
  309. package/dist/selection.cjs +24 -0
  310. package/dist/selection.cjs.map +1 -0
  311. package/dist/selection.d.cts +16 -0
  312. package/dist/selection.d.ts +16 -0
  313. package/dist/selection.js +15 -0
  314. package/dist/selection.js.map +1 -0
  315. package/dist/shell.cjs +72 -0
  316. package/dist/shell.cjs.map +1 -0
  317. package/dist/shell.d.cts +56 -0
  318. package/dist/shell.d.ts +56 -0
  319. package/dist/shell.js +67 -0
  320. package/dist/shell.js.map +1 -0
  321. package/dist/signature/composables.d.cts +39 -0
  322. package/dist/signature/composables.d.ts +39 -0
  323. package/dist/signature.cjs +16 -0
  324. package/dist/signature.cjs.map +1 -0
  325. package/dist/signature.d.cts +15 -0
  326. package/dist/signature.d.ts +15 -0
  327. package/dist/signature.js +10 -0
  328. package/dist/signature.js.map +1 -0
  329. package/dist/stage/PageSurface.vue.d.cts +29 -0
  330. package/dist/stage/PageSurface.vue.d.ts +29 -0
  331. package/dist/stage/Scrollbar.vue.d.cts +32 -0
  332. package/dist/stage/Scrollbar.vue.d.ts +32 -0
  333. package/dist/stage/Stage.vue.d.cts +44 -0
  334. package/dist/stage/Stage.vue.d.ts +44 -0
  335. package/dist/stage/StageScope.vue.d.cts +17 -0
  336. package/dist/stage/StageScope.vue.d.ts +17 -0
  337. package/dist/stage/composables.d.cts +41 -0
  338. package/dist/stage/composables.d.ts +41 -0
  339. package/dist/stage/scope.d.cts +12 -0
  340. package/dist/stage/scope.d.ts +12 -0
  341. package/dist/stage.cjs +21 -0
  342. package/dist/stage.cjs.map +1 -0
  343. package/dist/stage.d.cts +17 -0
  344. package/dist/stage.d.ts +17 -0
  345. package/dist/stage.js +15 -0
  346. package/dist/stage.js.map +1 -0
  347. package/dist/stamp.cjs +68 -0
  348. package/dist/stamp.cjs.map +1 -0
  349. package/dist/stamp.d.cts +61 -0
  350. package/dist/stamp.d.ts +61 -0
  351. package/dist/stamp.js +61 -0
  352. package/dist/stamp.js.map +1 -0
  353. package/dist/state-DZg8q3v6.js +52 -0
  354. package/dist/state-DZg8q3v6.js.map +1 -0
  355. package/dist/state-M22NDJQo.cjs +51 -0
  356. package/dist/state-M22NDJQo.cjs.map +1 -0
  357. package/dist/state.d.cts +32 -0
  358. package/dist/state.d.ts +32 -0
  359. package/dist/strip-BSDB39Xh.cjs +743 -0
  360. package/dist/strip-BSDB39Xh.cjs.map +1 -0
  361. package/dist/strip-C3wLonKB.js +744 -0
  362. package/dist/strip-C3wLonKB.js.map +1 -0
  363. package/dist/surface-box-B9oa4YoG.js +12 -0
  364. package/dist/surface-box-B9oa4YoG.js.map +1 -0
  365. package/dist/surface-box-C7EvUOXp.cjs +11 -0
  366. package/dist/surface-box-C7EvUOXp.cjs.map +1 -0
  367. package/dist/theme.d.cts +13 -0
  368. package/dist/theme.d.ts +13 -0
  369. package/dist/toolbar/DefaultCollapsed.vue.d.cts +9 -0
  370. package/dist/toolbar/DefaultCollapsed.vue.d.ts +9 -0
  371. package/dist/toolbar/DefaultCommand.vue.d.cts +8 -0
  372. package/dist/toolbar/DefaultCommand.vue.d.ts +8 -0
  373. package/dist/toolbar/DefaultGroupTrigger.vue.d.cts +9 -0
  374. package/dist/toolbar/DefaultGroupTrigger.vue.d.ts +9 -0
  375. package/dist/toolbar/DefaultOverflowMenu.vue.d.cts +9 -0
  376. package/dist/toolbar/DefaultOverflowMenu.vue.d.ts +9 -0
  377. package/dist/toolbar/DefaultOverflowTrigger.vue.d.cts +10 -0
  378. package/dist/toolbar/DefaultOverflowTrigger.vue.d.ts +10 -0
  379. package/dist/toolbar/Measured.vue.d.cts +21 -0
  380. package/dist/toolbar/Measured.vue.d.ts +21 -0
  381. package/dist/toolbar/NativeSlotSocket.vue.d.cts +22 -0
  382. package/dist/toolbar/NativeSlotSocket.vue.d.ts +22 -0
  383. package/dist/toolbar/Toolbar.vue.d.cts +82 -0
  384. package/dist/toolbar/Toolbar.vue.d.ts +82 -0
  385. package/dist/toolbar/ToolbarPart.vue.d.cts +42 -0
  386. package/dist/toolbar/ToolbarPart.vue.d.ts +42 -0
  387. package/dist/toolbar/paint.d.cts +3 -0
  388. package/dist/toolbar/paint.d.ts +3 -0
  389. package/dist/toolbar/strip.d.cts +14 -0
  390. package/dist/toolbar/strip.d.ts +14 -0
  391. package/dist/toolbar/views.d.cts +15 -0
  392. package/dist/toolbar/views.d.ts +15 -0
  393. package/dist/toolbar.cjs +27 -0
  394. package/dist/toolbar.cjs.map +1 -0
  395. package/dist/toolbar.d.cts +14 -0
  396. package/dist/toolbar.d.ts +14 -0
  397. package/dist/toolbar.js +12 -0
  398. package/dist/toolbar.js.map +1 -0
  399. package/dist/view-manager.cjs +22 -0
  400. package/dist/view-manager.cjs.map +1 -0
  401. package/dist/view-manager.d.cts +24 -0
  402. package/dist/view-manager.d.ts +24 -0
  403. package/dist/view-manager.js +17 -0
  404. package/dist/view-manager.js.map +1 -0
  405. package/package.json +169 -3
@@ -0,0 +1,1003 @@
1
+ "use strict";
2
+ const vue = require("vue");
3
+ const core = require("@embedpdf/core");
4
+ const host = require("@embedpdf/plugin-annotation/contract/host");
5
+ const contract$1 = require("@embedpdf/plugin-interaction/contract");
6
+ const host$1 = require("@embedpdf/plugin-render/contract/host");
7
+ const web = require("@embedpdf/web");
8
+ const dev = require("./dev-eeIS2B4c.cjs");
9
+ const pageLayers = require("./page-layers-c-CJYAUO.cjs");
10
+ const capabilities = require("./capabilities-DVNJmgy7.cjs");
11
+ const page = require("./page-Doy4_Sdz.cjs");
12
+ const documents = require("./documents-TQ1fMdWI.cjs");
13
+ const coreAnnotation = require("@embedpdf/core-annotation");
14
+ const SvgShapes_vue_vue_type_script_setup_true_lang = require("./SvgShapes.vue_vue_type_script_setup_true_lang-D_c-wINF.cjs");
15
+ const Anchored_vue_vue_type_script_setup_true_lang = require("./Anchored.vue_vue_type_script_setup_true_lang-BEImlFso.cjs");
16
+ const projector = require("./projector-Cf7879sx.cjs");
17
+ const pluginAnnotation = require("@embedpdf/plugin-annotation");
18
+ const contract = require("@embedpdf/plugin-annotation/contract");
19
+ const state = require("./state-M22NDJQo.cjs");
20
+ const useAnnotationState = state.stateComposable(contract.annotationState);
21
+ const useAnnotationSettings = state.settingsComposable(contract.AnnotationToken);
22
+ const _hoisted_1$5 = { style: { position: "absolute", inset: 0, overflow: "visible", pointerEvents: "none" } };
23
+ const _hoisted_2 = ["cx", "cy", "r"];
24
+ const _hoisted_3 = ["x", "y", "width", "height", "transform"];
25
+ const _hoisted_4 = ["x1", "y1", "x2", "y2"];
26
+ const _hoisted_5 = ["points"];
27
+ const _hoisted_6 = { key: 3 };
28
+ const _hoisted_7 = ["x1", "y1", "x2", "y2", "opacity"];
29
+ const _hoisted_8 = { key: 0 };
30
+ const _hoisted_9 = ["x1", "y1", "x2", "y2"];
31
+ const _hoisted_10 = ["cx", "cy", "r"];
32
+ const _hoisted_11 = ["x", "y", "width", "height"];
33
+ const _hoisted_12 = ["x", "y", "width", "height"];
34
+ const _hoisted_13 = {
35
+ key: 0,
36
+ style: { position: "absolute", inset: 0, pointerEvents: "none" }
37
+ };
38
+ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
39
+ __name: "AnnotationChrome",
40
+ props: {
41
+ page: {}
42
+ },
43
+ setup(__props) {
44
+ const props = __props;
45
+ const slots = vue.useSlots();
46
+ const NO_NODES = Object.freeze([]);
47
+ const nodes = capabilities.useOptionalSelector(
48
+ host.AnnotationToken,
49
+ (host2) => {
50
+ const { transform, ref } = props.page;
51
+ return host2.listChromeNodes(ref, transform.viewScale, transform.rotation, transform.zoom);
52
+ },
53
+ NO_NODES,
54
+ core.shallowEqual
55
+ );
56
+ const chrome = useAnnotationSettings((settings) => settings.chrome);
57
+ const accent = documents.useViewerSettings((settings) => settings.accent);
58
+ const painted = vue.computed(() => {
59
+ const paint = web.annotationChromePaint(chrome.value, accent.value);
60
+ const style = (part) => ({ ...part });
61
+ return {
62
+ outline: style(paint.outline),
63
+ handle: style(paint.handle),
64
+ rotationHandle: style(paint.rotationHandle),
65
+ rotationStalk: style({ stroke: paint.rotationHandle.stroke }),
66
+ guide: style(paint.guide),
67
+ rotationGuide: style(paint.rotationGuide),
68
+ marquee: style(paint.marquee)
69
+ };
70
+ });
71
+ const pixels = vue.computed(() => web.chromeInPixels(nodes.value, props.page.transform));
72
+ const hasHandles = vue.computed(
73
+ () => pixels.value.some((node) => node.kind === "handle" || node.kind === "rotation-handle")
74
+ );
75
+ return (_ctx, _cache) => {
76
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
77
+ (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$5, [
78
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(pixels.value, (node, index) => {
79
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index }, [
80
+ node.kind === "handle" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
81
+ !slots.handle ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
82
+ vue.unref(chrome).handles.shape === "circle" ? (vue.openBlock(), vue.createElementBlock("circle", {
83
+ key: 0,
84
+ cx: node.at.x,
85
+ cy: node.at.y,
86
+ r: vue.unref(chrome).handles.size / 2,
87
+ "stroke-width": "1.5",
88
+ style: vue.normalizeStyle(painted.value.handle)
89
+ }, null, 12, _hoisted_2)) : (vue.openBlock(), vue.createElementBlock("rect", {
90
+ key: 1,
91
+ x: node.at.x - vue.unref(chrome).handles.size / 2,
92
+ y: node.at.y - vue.unref(chrome).handles.size / 2,
93
+ width: vue.unref(chrome).handles.size,
94
+ height: vue.unref(chrome).handles.size,
95
+ "stroke-width": "1.5",
96
+ style: vue.normalizeStyle(painted.value.handle),
97
+ transform: node.rotation ? `rotate(${node.rotation} ${node.at.x} ${node.at.y})` : void 0
98
+ }, null, 12, _hoisted_3))
99
+ ], 64)) : vue.createCommentVNode("", true)
100
+ ], 64)) : node.kind === "guide" ? (vue.openBlock(), vue.createElementBlock("line", {
101
+ key: 1,
102
+ x1: node.from.x,
103
+ y1: node.from.y,
104
+ x2: node.to.x,
105
+ y2: node.to.y,
106
+ "shape-rendering": "crispEdges",
107
+ style: vue.normalizeStyle(painted.value.guide)
108
+ }, null, 12, _hoisted_4)) : node.kind === "turned-outline" ? (vue.openBlock(), vue.createElementBlock("polygon", {
109
+ key: 2,
110
+ points: node.points,
111
+ fill: "none",
112
+ style: vue.normalizeStyle(painted.value.outline)
113
+ }, null, 12, _hoisted_5)) : node.kind === "rotation-guides" ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_6, [
114
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(node.lines, (line, lineIndex) => {
115
+ return vue.openBlock(), vue.createElementBlock("line", {
116
+ key: lineIndex,
117
+ x1: line.from.x,
118
+ y1: line.from.y,
119
+ x2: line.to.x,
120
+ y2: line.to.y,
121
+ opacity: line.opacity,
122
+ style: vue.normalizeStyle(painted.value.rotationGuide)
123
+ }, null, 12, _hoisted_7);
124
+ }), 128))
125
+ ])) : node.kind === "rotation-handle" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 4 }, [
126
+ !slots["rotation-handle"] ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_8, [
127
+ vue.unref(chrome).rotationHandle.stalk ? (vue.openBlock(), vue.createElementBlock("line", {
128
+ key: 0,
129
+ x1: node.from.x,
130
+ y1: node.from.y,
131
+ x2: node.at.x,
132
+ y2: node.at.y,
133
+ "stroke-width": "1",
134
+ style: vue.normalizeStyle(painted.value.rotationStalk)
135
+ }, null, 12, _hoisted_9)) : vue.createCommentVNode("", true),
136
+ vue.createElementVNode("circle", {
137
+ cx: node.at.x,
138
+ cy: node.at.y,
139
+ r: vue.unref(chrome).rotationHandle.size / 2,
140
+ "stroke-width": "1.5",
141
+ style: vue.normalizeStyle(painted.value.rotationHandle)
142
+ }, null, 12, _hoisted_10)
143
+ ])) : vue.createCommentVNode("", true)
144
+ ], 64)) : node.kind === "marquee" ? (vue.openBlock(), vue.createElementBlock("rect", {
145
+ key: 5,
146
+ x: node.box.left,
147
+ y: node.box.top,
148
+ width: node.box.width,
149
+ height: node.box.height,
150
+ "stroke-width": "1",
151
+ "stroke-dasharray": "4 3",
152
+ style: vue.normalizeStyle(painted.value.marquee)
153
+ }, null, 12, _hoisted_11)) : node.kind === "outline" ? (vue.openBlock(), vue.createElementBlock("rect", {
154
+ key: 6,
155
+ x: node.box.left,
156
+ y: node.box.top,
157
+ width: node.box.width,
158
+ height: node.box.height,
159
+ fill: "none",
160
+ style: vue.normalizeStyle(painted.value.outline)
161
+ }, null, 12, _hoisted_12)) : vue.createCommentVNode("", true)
162
+ ], 64);
163
+ }), 128))
164
+ ])),
165
+ hasHandles.value && (slots.handle || slots["rotation-handle"]) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13, [
166
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(pixels.value, (node, index) => {
167
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index }, [
168
+ node.kind === "handle" && slots.handle ? vue.renderSlot(_ctx.$slots, "handle", {
169
+ at: node.at,
170
+ size: vue.unref(chrome).handles.size,
171
+ rotation: node.rotation,
172
+ kind: node.role,
173
+ active: node.active
174
+ }, void 0, void 0, 0) : node.kind === "rotation-handle" && slots["rotation-handle"] ? vue.renderSlot(_ctx.$slots, "rotation-handle", {
175
+ at: node.at,
176
+ from: node.from,
177
+ size: vue.unref(chrome).rotationHandle.size,
178
+ rotation: 0,
179
+ active: false
180
+ }, void 0, void 0, 1) : vue.createCommentVNode("", true)
181
+ ], 64);
182
+ }), 128))
183
+ ])) : vue.createCommentVNode("", true)
184
+ ], 64);
185
+ };
186
+ }
187
+ });
188
+ const _hoisted_1$4 = ["inert"];
189
+ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
190
+ __name: "AnnotationFrame",
191
+ props: {
192
+ item: {},
193
+ page: {},
194
+ interactive: { type: Boolean, default: false },
195
+ inert: { type: Boolean, default: false }
196
+ },
197
+ setup(__props) {
198
+ const props = __props;
199
+ const style = vue.computed(() => {
200
+ const box = web.frameInPixels(props.item.frame, props.page.transform);
201
+ return {
202
+ position: "absolute",
203
+ left: `${box.left}px`,
204
+ top: `${box.top}px`,
205
+ width: `${box.width}px`,
206
+ height: `${box.height}px`,
207
+ transform: box.transform,
208
+ transformOrigin: "center",
209
+ // On the frame: a turned frame groups what is inside it, so blending on
210
+ // an inner element would stop blending with the page.
211
+ mixBlendMode: props.item.blend,
212
+ pointerEvents: props.interactive ? "auto" : "none"
213
+ };
214
+ });
215
+ return (_ctx, _cache) => {
216
+ return vue.openBlock(), vue.createElementBlock("div", {
217
+ inert: __props.inert || void 0,
218
+ style: vue.normalizeStyle(style.value)
219
+ }, [
220
+ vue.renderSlot(_ctx.$slots, "default")
221
+ ], 12, _hoisted_1$4);
222
+ };
223
+ }
224
+ });
225
+ function useTextBoxEditor(item, scale) {
226
+ const element = vue.shallowRef(null);
227
+ const annotation = capabilities.useOptionalCapability(host.AnnotationToken);
228
+ const follower = web.createTextBoxEditorFollower();
229
+ vue.watch(
230
+ [annotation, element, () => vue.toValue(item), () => vue.toValue(scale)],
231
+ ([capability, target, current, pixelsPerPoint]) => follower.follow(target, capability, current, pixelsPerPoint),
232
+ { immediate: true, flush: "post" }
233
+ );
234
+ vue.onScopeDispose(() => follower.detach());
235
+ return element;
236
+ }
237
+ const LookScaleKey = Symbol("embedpdf annotation look scale");
238
+ const UNSCALED = vue.computed(() => 1);
239
+ function provideLookScale(scale) {
240
+ vue.provide(LookScaleKey, scale);
241
+ }
242
+ const NO_STYLE = Object.freeze({});
243
+ function useRichTextEditor(annotation) {
244
+ const page$1 = page.usePage();
245
+ const item = capabilities.useOptionalSelector(
246
+ host.AnnotationToken,
247
+ (host2) => {
248
+ const key = core.annotationKey(vue.toValue(annotation).ref);
249
+ const { transform } = page$1.value;
250
+ return host2.listTextItems(page$1.value.ref, { zoom: transform.zoom, rotation: transform.rotation }).find((text) => text.ref !== null && core.annotationKey(text.ref) === key) ?? null;
251
+ },
252
+ null
253
+ );
254
+ const lookScale = vue.inject(LookScaleKey, UNSCALED);
255
+ const scale = vue.computed(
256
+ () => web.textBoxEditorScaleOf(item.value, page$1.value.transform, lookScale.value)
257
+ );
258
+ const element = useTextBoxEditor(item, scale);
259
+ const style = vue.computed(() => {
260
+ const text = item.value;
261
+ if (!text) return NO_STYLE;
262
+ return {
263
+ ...web.textBoxStyleOf(text.css, scale.value),
264
+ ...text.editing ? { pointerEvents: "auto" } : {}
265
+ };
266
+ });
267
+ return {
268
+ ref: (target) => {
269
+ element.value = target instanceof HTMLElement ? target : null;
270
+ },
271
+ style,
272
+ editing: vue.computed(() => {
273
+ var _a;
274
+ return ((_a = item.value) == null ? void 0 : _a.editing) ?? false;
275
+ })
276
+ };
277
+ }
278
+ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
279
+ __name: "AnnotationLook",
280
+ props: {
281
+ component: {},
282
+ scaled: { type: Boolean },
283
+ annotation: {},
284
+ item: {},
285
+ page: {},
286
+ native: {},
287
+ appearance: {},
288
+ interactive: { type: Boolean }
289
+ },
290
+ setup(__props) {
291
+ const props = __props;
292
+ const pixels = vue.computed(() => web.frameInPixels(props.item.frame, props.page.transform));
293
+ const frame = vue.computed(() => web.lookFrameOf(pixels.value, props.scaled));
294
+ provideLookScale(vue.computed(() => props.scaled ? pixels.value.scale : 1));
295
+ const scaledBox = vue.computed(
296
+ () => ({
297
+ position: "absolute",
298
+ left: 0,
299
+ top: 0,
300
+ width: `${pixels.value.design.width}px`,
301
+ height: `${pixels.value.design.height}px`,
302
+ transform: `scale(${pixels.value.scale})`,
303
+ transformOrigin: "0 0"
304
+ })
305
+ );
306
+ return (_ctx, _cache) => {
307
+ return __props.scaled ? (vue.openBlock(), vue.createElementBlock("div", {
308
+ key: 0,
309
+ style: vue.normalizeStyle(scaledBox.value)
310
+ }, [
311
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(__props.component), {
312
+ annotation: __props.annotation,
313
+ frame: frame.value,
314
+ native: __props.native,
315
+ appearance: __props.appearance,
316
+ hovered: __props.item.hovered ?? false,
317
+ selected: __props.item.selected,
318
+ interactive: __props.interactive
319
+ }, null, 8, ["annotation", "frame", "native", "appearance", "hovered", "selected", "interactive"]))
320
+ ], 4)) : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(__props.component), {
321
+ key: 1,
322
+ annotation: __props.annotation,
323
+ frame: frame.value,
324
+ native: __props.native,
325
+ appearance: __props.appearance,
326
+ hovered: __props.item.hovered ?? false,
327
+ selected: __props.item.selected,
328
+ interactive: __props.interactive
329
+ }, null, 8, ["annotation", "frame", "native", "appearance", "hovered", "selected", "interactive"]));
330
+ };
331
+ }
332
+ });
333
+ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
334
+ __name: "FreeTextBox",
335
+ props: {
336
+ item: {},
337
+ page: {}
338
+ },
339
+ setup(__props) {
340
+ const props = __props;
341
+ const plate = vue.computed(() => web.textPlateInPixels(props.item, props.page.transform));
342
+ const element = useTextBoxEditor(
343
+ () => props.item,
344
+ () => plate.value.scale
345
+ );
346
+ const chrome = useAnnotationSettings((settings) => settings.chrome);
347
+ const accent = documents.useViewerSettings((settings) => settings.accent);
348
+ const outline = vue.computed(() => web.annotationChromePaint(chrome.value, accent.value).textOutline);
349
+ const style = vue.computed(() => {
350
+ const { item } = props;
351
+ const { left, top, width, height, scale } = plate.value;
352
+ return {
353
+ position: "absolute",
354
+ left: `${left}px`,
355
+ top: `${top}px`,
356
+ width: `${width}px`,
357
+ // Fixed to the plate: the box never grows with its text; it scrolls while
358
+ // typing and clips otherwise, where the baked appearance clips.
359
+ height: `${height}px`,
360
+ ...web.textBoxStyleOf(item.css, scale),
361
+ boxSizing: "border-box",
362
+ // The box's fill and border are the vector scene's, under this layer.
363
+ background: "transparent",
364
+ whiteSpace: "pre-wrap",
365
+ overflowWrap: "break-word",
366
+ overflowY: item.editing ? "auto" : "hidden",
367
+ overflowX: "hidden",
368
+ outline: item.editing ? `1px solid ${outline.value}` : "none",
369
+ cursor: item.editing ? "text" : "default",
370
+ // A plain text box turns about its centre, as the baked appearance does.
371
+ ...item.rot ? { transform: `rotate(${item.rot}deg)`, transformOrigin: "center" } : {},
372
+ // Not typing: clicks fall through to the shapes (select, move, resize).
373
+ pointerEvents: item.editing ? "auto" : "none"
374
+ };
375
+ });
376
+ return (_ctx, _cache) => {
377
+ return vue.openBlock(), vue.createElementBlock("div", {
378
+ ref_key: "element",
379
+ ref: element,
380
+ style: vue.normalizeStyle(style.value)
381
+ }, null, 4);
382
+ };
383
+ }
384
+ });
385
+ const _hoisted_1$3 = ["viewBox"];
386
+ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
387
+ __name: "AnnotationScene",
388
+ props: {
389
+ item: {}
390
+ },
391
+ setup(__props) {
392
+ const props = __props;
393
+ const viewBox = vue.computed(() => web.sceneViewBox(props.item.box));
394
+ const shapes = vue.computed(() => web.svgShapesOf(coreAnnotation.scene(props.item), { miterLimit: coreAnnotation.MITER_LIMIT }));
395
+ const style = vue.computed(
396
+ () => ({
397
+ position: "absolute",
398
+ left: 0,
399
+ top: 0,
400
+ width: "100%",
401
+ height: "100%",
402
+ overflow: "visible",
403
+ pointerEvents: "none",
404
+ // A ghost is see-through as a whole, so its fill and stroke don't stack.
405
+ ...props.item.source === "ghost" ? { opacity: web.ghostOpacity(props.item.ghostOpacity ?? 0.5) } : {}
406
+ })
407
+ );
408
+ return (_ctx, _cache) => {
409
+ return viewBox.value ? (vue.openBlock(), vue.createElementBlock("svg", {
410
+ key: 0,
411
+ viewBox: viewBox.value,
412
+ style: vue.normalizeStyle(style.value)
413
+ }, [
414
+ vue.createVNode(SvgShapes_vue_vue_type_script_setup_true_lang._sfc_main, { shapes: shapes.value }, null, 8, ["shapes"])
415
+ ], 12, _hoisted_1$3)) : vue.createCommentVNode("", true);
416
+ };
417
+ }
418
+ });
419
+ const _hoisted_1$2 = ["src"];
420
+ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
421
+ __name: "NativeDrawing",
422
+ props: {
423
+ item: {},
424
+ urls: {}
425
+ },
426
+ setup(__props) {
427
+ const props = __props;
428
+ const shows = vue.computed(() => {
429
+ var _a;
430
+ const { item, urls } = props;
431
+ return web.pictureOrPainting({
432
+ pending: item.source !== "baked",
433
+ picture: urls && web.shownAppearance(urls, item.id, ((_a = item.annotation) == null ? void 0 : _a.appearanceState) ?? null),
434
+ version: item.pictureVersion ?? 0,
435
+ loaded: urls !== null,
436
+ paint: () => coreAnnotation.hasLiveDrawing(item) ? item : null
437
+ });
438
+ });
439
+ const baked = vue.computed(() => {
440
+ const { item } = props;
441
+ const look = shows.value;
442
+ if ((look == null ? void 0 : look.kind) !== "picture" || !item.raster) return null;
443
+ const box = web.rasterInFrame(item.raster, item.frame);
444
+ return {
445
+ url: look.picture.url,
446
+ style: {
447
+ position: "absolute",
448
+ left: box.left,
449
+ top: box.top,
450
+ width: box.width,
451
+ height: box.height,
452
+ // The appearance box is sized in content units; a global
453
+ // `img { max-width: 100% }` reset would otherwise clamp it to the
454
+ // containing block and distort the aspect (a landscape stamp on a turned,
455
+ // portrait page), so honour the explicit size.
456
+ maxWidth: "none",
457
+ maxHeight: "none",
458
+ pointerEvents: "none",
459
+ // The turn the engine took out of the raster, put back about its middle.
460
+ transform: box.transform,
461
+ transformOrigin: "center"
462
+ }
463
+ };
464
+ });
465
+ return (_ctx, _cache) => {
466
+ var _a;
467
+ return baked.value ? (vue.openBlock(), vue.createElementBlock("img", {
468
+ key: 0,
469
+ src: baked.value.url,
470
+ alt: "",
471
+ draggable: "false",
472
+ style: vue.normalizeStyle(baked.value.style)
473
+ }, null, 12, _hoisted_1$2)) : ((_a = shows.value) == null ? void 0 : _a.kind) === "painting" ? (vue.openBlock(), vue.createBlock(_sfc_main$6, {
474
+ key: 1,
475
+ item: __props.item
476
+ }, null, 8, ["item"])) : vue.createCommentVNode("", true);
477
+ };
478
+ }
479
+ });
480
+ const _hoisted_1$1 = ["src"];
481
+ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
482
+ __name: "StampGhost",
483
+ props: {
484
+ page: {}
485
+ },
486
+ setup(__props) {
487
+ const props = __props;
488
+ const annotation = capabilities.useOptionalCapability(host.AnnotationToken);
489
+ const ghost = capabilities.useOptionalSelector(
490
+ host.AnnotationToken,
491
+ (host2) => host2.getImageGhost(props.page.ref),
492
+ null
493
+ );
494
+ const armed = capabilities.useOptionalSelector(host.AnnotationToken, (host2) => host2.getArmedStamp(), null);
495
+ const bucket = vue.computed(
496
+ () => ghost.value ? host.previewBucket(ghost.value.box.width * props.page.transform.renderScale) : 0
497
+ );
498
+ const url = vue.ref(null);
499
+ vue.watch(
500
+ [annotation, armed, bucket],
501
+ ([host2, _armed, size], _previous, onCleanup) => {
502
+ if (!host2 || !size) {
503
+ url.value = null;
504
+ return;
505
+ }
506
+ onCleanup(
507
+ web.loadObjectUrl(
508
+ () => host2.renderArmedStampPreview(size),
509
+ (next) => url.value = next
510
+ )
511
+ );
512
+ },
513
+ { immediate: true }
514
+ );
515
+ const style = vue.computed(() => {
516
+ const current = ghost.value;
517
+ if (!current) return null;
518
+ const frame = web.rectInPixels(current.box, props.page.transform);
519
+ return {
520
+ position: "absolute",
521
+ left: `${frame.left}px`,
522
+ top: `${frame.top}px`,
523
+ width: `${frame.width}px`,
524
+ height: `${frame.height}px`,
525
+ // Never let a global `img` reset clamp the box and distort the aspect.
526
+ maxWidth: "none",
527
+ maxHeight: "none",
528
+ pointerEvents: "none",
529
+ opacity: web.ghostOpacity(current.opacity),
530
+ ...current.rot ? { transform: `rotate(${current.rot}deg)`, transformOrigin: "center" } : {}
531
+ };
532
+ });
533
+ return (_ctx, _cache) => {
534
+ return style.value && url.value ? (vue.openBlock(), vue.createElementBlock("img", {
535
+ key: 0,
536
+ src: url.value,
537
+ alt: "",
538
+ draggable: "false",
539
+ style: vue.normalizeStyle(style.value)
540
+ }, null, 12, _hoisted_1$1)) : vue.createCommentVNode("", true);
541
+ };
542
+ }
543
+ });
544
+ const _hoisted_1 = { style: { position: "absolute", inset: 0, pointerEvents: "none" } };
545
+ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
546
+ __name: "AnnotationLayer",
547
+ props: {
548
+ renderers: {}
549
+ },
550
+ setup(__props) {
551
+ const props = __props;
552
+ const slots = vue.useSlots();
553
+ const NO_ITEMS = Object.freeze([]);
554
+ const NO_TEXTS = Object.freeze([]);
555
+ const page$1 = page.usePage();
556
+ pageLayers.usePaintsPagePart(
557
+ vue.computed(() => page$1.value.ref),
558
+ "annotations"
559
+ );
560
+ const annotation = capabilities.useOptionalCapability(host.AnnotationToken);
561
+ const interaction = capabilities.useOptionalCapability(contract$1.InteractionToken);
562
+ const activeToolId = capabilities.useOptionalSelector(
563
+ contract$1.InteractionToken,
564
+ (hub) => hub.getActiveToolId(),
565
+ ""
566
+ );
567
+ const items = capabilities.useOptionalSelector(
568
+ host.AnnotationToken,
569
+ (host2) => {
570
+ const { transform, ref } = page$1.value;
571
+ return host2.listPageItems(ref, { zoom: transform.zoom, rotation: transform.rotation });
572
+ },
573
+ NO_ITEMS,
574
+ core.shallowEqual
575
+ );
576
+ const texts = capabilities.useOptionalSelector(
577
+ host.AnnotationToken,
578
+ (host2) => {
579
+ const { transform, ref } = page$1.value;
580
+ return host2.listTextItems(ref, { zoom: transform.zoom, rotation: transform.rotation });
581
+ },
582
+ NO_TEXTS,
583
+ core.shallowEqual
584
+ );
585
+ const registrations = vue.shallowRef(0);
586
+ vue.watch(
587
+ [annotation, () => props.renderers],
588
+ ([host2, renderers], previous, onCleanup) => {
589
+ const before = previous == null ? void 0 : previous[1];
590
+ if (renderers && before && renderers !== before && core.shallowEqual(renderers, before)) {
591
+ dev.devWarn(
592
+ "annotation-renderers-inline",
593
+ "<AnnotationLayer :renderers> was given a new array with the same entries — define it once in <script setup>, because entry identity keys the behavior registration."
594
+ );
595
+ }
596
+ if (host2 && renderers) {
597
+ onCleanup(
598
+ web.registerRendererBehaviors(
599
+ host2,
600
+ renderers,
601
+ () => {
602
+ var _a;
603
+ return String(((_a = interaction.value) == null ? void 0 : _a.getActiveToolId()) ?? "");
604
+ }
605
+ )
606
+ );
607
+ }
608
+ registrations.value += 1;
609
+ },
610
+ { immediate: true }
611
+ );
612
+ const urls = vue.shallowRef(null);
613
+ const shown = web.createShownUrls();
614
+ vue.onUnmounted(() => shown.release());
615
+ const bakedKey = capabilities.useOptionalSelector(
616
+ host.AnnotationToken,
617
+ (host2) => host2.getAppearanceEpoch(page$1.value.ref),
618
+ ""
619
+ );
620
+ const bakeScale = capabilities.useOptionalSelector(
621
+ host$1.RenderToken,
622
+ (render) => render.getAppearanceScale(page$1.value.transform.renderScale),
623
+ page$1.value.transform.renderScale
624
+ );
625
+ vue.watch(
626
+ [annotation, () => page$1.value.ref, bakeScale, bakedKey],
627
+ ([host2, pageRef, scale], _previous, onCleanup) => {
628
+ if (!host2 || !scale) return;
629
+ onCleanup(
630
+ web.loadAppearanceUrls(
631
+ shown,
632
+ (signal) => host2.renderAppearances(pageRef, scale, signal),
633
+ core.annotationKey,
634
+ (loaded) => urls.value = loaded
635
+ )
636
+ );
637
+ },
638
+ { immediate: true }
639
+ );
640
+ const editingKey = vue.computed(() => web.editingTextKeyOf(texts.value, core.annotationKey));
641
+ const NATIVE = { kind: "native", inert: false };
642
+ const drawn = vue.computed(() => {
643
+ void activeToolId.value;
644
+ void registrations.value;
645
+ const host2 = annotation.value;
646
+ const renderers = props.renderers;
647
+ return items.value.map((item) => {
648
+ const record = item.annotation ?? null;
649
+ if (!record || !host2) return { item, annotation: null, drawing: NATIVE };
650
+ const typing = editingKey.value !== null && core.annotationKey(record.ref) === editingKey.value;
651
+ return { item, annotation: record, drawing: web.annotationDrawingOf(record, host2, renderers, typing) };
652
+ });
653
+ });
654
+ const ownTexts = vue.computed(
655
+ () => web.layerTextBoxesOf(texts.value, items.value, props.renderers, core.annotationKey)
656
+ );
657
+ const itemsById = vue.computed(() => new Map(items.value.map((item) => [item.id, item])));
658
+ const natives = /* @__PURE__ */ new Map();
659
+ const framedNatives = /* @__PURE__ */ new Map();
660
+ function nativeOf(id) {
661
+ let native = natives.get(id);
662
+ if (!native) {
663
+ native = vue.markRaw(() => {
664
+ const item = itemsById.value.get(id);
665
+ return item ? vue.h(_sfc_main$5, { item, urls: urls.value }) : null;
666
+ });
667
+ natives.set(id, native);
668
+ }
669
+ return native;
670
+ }
671
+ function framedNativeOf(id) {
672
+ let native = framedNatives.get(id);
673
+ if (!native) {
674
+ native = vue.markRaw(() => {
675
+ const item = itemsById.value.get(id);
676
+ return item ? vue.h(_sfc_main$9, { item, page: page$1.value }, () => vue.h(nativeOf(id))) : null;
677
+ });
678
+ framedNatives.set(id, native);
679
+ }
680
+ return native;
681
+ }
682
+ vue.watch(itemsById, (shown2) => {
683
+ for (const id of natives.keys()) if (!shown2.has(id)) natives.delete(id);
684
+ for (const id of framedNatives.keys()) if (!shown2.has(id)) framedNatives.delete(id);
685
+ });
686
+ const componentOf = (component) => vue.toRaw(component);
687
+ return (_ctx, _cache) => {
688
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
689
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(drawn.value, ({ item, annotation: record, drawing }) => {
690
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
691
+ key: item.id
692
+ }, [
693
+ drawing.kind === "owned" && record ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(componentOf(drawing.entry.component)), {
694
+ key: 0,
695
+ annotation: record,
696
+ item,
697
+ page: vue.unref(page$1),
698
+ native: framedNativeOf(item.id),
699
+ hovered: item.hovered ?? false,
700
+ selected: item.selected,
701
+ interactive: true
702
+ }, null, 8, ["annotation", "item", "page", "native", "hovered", "selected"])) : drawing.kind === "look" && record ? (vue.openBlock(), vue.createBlock(_sfc_main$9, {
703
+ key: 1,
704
+ item,
705
+ page: vue.unref(page$1),
706
+ interactive: drawing.interactive,
707
+ inert: drawing.inert
708
+ }, {
709
+ default: vue.withCtx(() => {
710
+ var _a;
711
+ return [
712
+ vue.createVNode(_sfc_main$8, {
713
+ component: componentOf(drawing.entry.component),
714
+ scaled: drawing.entry.scale !== false,
715
+ annotation: record,
716
+ item,
717
+ page: vue.unref(page$1),
718
+ native: nativeOf(item.id),
719
+ appearance: urls.value && vue.unref(web.bakedAppearanceOf)(urls.value, item.id, ((_a = item.annotation) == null ? void 0 : _a.appearanceState) ?? null),
720
+ interactive: drawing.interactive
721
+ }, null, 8, ["component", "scaled", "annotation", "item", "page", "native", "appearance", "interactive"])
722
+ ];
723
+ }),
724
+ _: 2
725
+ }, 1032, ["item", "page", "interactive", "inert"])) : (vue.openBlock(), vue.createBlock(_sfc_main$9, {
726
+ key: 2,
727
+ item,
728
+ page: vue.unref(page$1),
729
+ inert: drawing.kind === "native" && drawing.inert
730
+ }, {
731
+ default: vue.withCtx(() => [
732
+ vue.createVNode(_sfc_main$5, {
733
+ item,
734
+ urls: urls.value
735
+ }, null, 8, ["item", "urls"])
736
+ ]),
737
+ _: 2
738
+ }, 1032, ["item", "page", "inert"]))
739
+ ], 64);
740
+ }), 128)),
741
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(ownTexts.value, (text) => {
742
+ return vue.openBlock(), vue.createBlock(_sfc_main$7, {
743
+ key: text.id,
744
+ item: text,
745
+ page: vue.unref(page$1)
746
+ }, null, 8, ["item", "page"]);
747
+ }), 128)),
748
+ vue.createVNode(_sfc_main$4, { page: vue.unref(page$1) }, null, 8, ["page"]),
749
+ vue.createVNode(_sfc_main$a, { page: vue.unref(page$1) }, vue.createSlots({ _: 2 }, [
750
+ slots.handle ? {
751
+ name: "handle",
752
+ fn: vue.withCtx((handle) => [
753
+ vue.renderSlot(_ctx.$slots, "handle", vue.normalizeProps(vue.guardReactiveProps(handle)))
754
+ ]),
755
+ key: "0"
756
+ } : void 0,
757
+ slots["rotation-handle"] ? {
758
+ name: "rotation-handle",
759
+ fn: vue.withCtx((handle) => [
760
+ vue.renderSlot(_ctx.$slots, "rotation-handle", vue.normalizeProps(vue.guardReactiveProps(handle)))
761
+ ]),
762
+ key: "1"
763
+ } : void 0
764
+ ]), 1032, ["page"])
765
+ ]);
766
+ };
767
+ }
768
+ });
769
+ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
770
+ __name: "AnnotationMenu",
771
+ props: {
772
+ gap: { default: 15 },
773
+ placement: { default: "top" }
774
+ },
775
+ setup(__props) {
776
+ const binding = projector.useProjectorBinding();
777
+ const anchor = capabilities.useOptionalSelector(
778
+ host.AnnotationToken,
779
+ (host2) => {
780
+ const selection = host2.selection.getAnchor();
781
+ if (!selection) return null;
782
+ const view = binding.value.projector.viewEnv(selection.page);
783
+ return view ? host2.getSelectionAnchorIn(view) : selection;
784
+ },
785
+ null,
786
+ web.sameSelectionAnchor
787
+ );
788
+ return (_ctx, _cache) => {
789
+ return vue.unref(anchor) ? (vue.openBlock(), vue.createBlock(Anchored_vue_vue_type_script_setup_true_lang._sfc_main, {
790
+ key: 0,
791
+ anchor: {
792
+ page: vue.unref(anchor).page,
793
+ bounds: vue.unref(anchor).bounds,
794
+ ...vue.unref(anchor).rotationHandle ? { avoid: [vue.unref(anchor).rotationHandle] } : {}
795
+ },
796
+ placement: __props.placement,
797
+ gap: __props.gap
798
+ }, {
799
+ default: vue.withCtx(() => [
800
+ vue.renderSlot(_ctx.$slots, "default")
801
+ ]),
802
+ _: 3
803
+ }, 8, ["anchor", "placement", "gap"])) : vue.createCommentVNode("", true);
804
+ };
805
+ }
806
+ });
807
+ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
808
+ __name: "AnnotationDraftMenu",
809
+ props: {
810
+ gap: { default: 8 },
811
+ placement: { default: "top" }
812
+ },
813
+ setup(__props) {
814
+ const draft = capabilities.useOptionalSelector(
815
+ pluginAnnotation.AnnotationToken,
816
+ (annotation) => annotation.draft.get(),
817
+ null,
818
+ web.sameCreationDraftAnchor
819
+ );
820
+ return (_ctx, _cache) => {
821
+ return vue.unref(draft) ? (vue.openBlock(), vue.createBlock(Anchored_vue_vue_type_script_setup_true_lang._sfc_main, {
822
+ key: 0,
823
+ anchor: vue.unref(draft),
824
+ placement: __props.placement,
825
+ gap: __props.gap
826
+ }, {
827
+ default: vue.withCtx(() => [
828
+ vue.renderSlot(_ctx.$slots, "default", { draft: vue.unref(draft) })
829
+ ]),
830
+ _: 3
831
+ }, 8, ["anchor", "placement", "gap"])) : vue.createCommentVNode("", true);
832
+ };
833
+ }
834
+ });
835
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
836
+ __name: "AnnotationRotationBadge",
837
+ props: {
838
+ gap: { default: 16 },
839
+ placement: { default: "right" }
840
+ },
841
+ setup(__props) {
842
+ const slots = vue.useSlots();
843
+ const rotation = capabilities.useOptionalSelector(
844
+ pluginAnnotation.AnnotationToken,
845
+ (annotation) => annotation.selection.getRotationAnchor(),
846
+ null,
847
+ web.sameRotationAnchor
848
+ );
849
+ const readout = useAnnotationSettings((settings) => settings.chrome.readout);
850
+ const badge = vue.computed(
851
+ () => ({
852
+ pointerEvents: "none",
853
+ whiteSpace: "nowrap",
854
+ borderRadius: "4px",
855
+ padding: "2px 6px",
856
+ fontFamily: web.paintDefault("font-mono"),
857
+ fontSize: "12px",
858
+ background: web.paint("readout-background", readout.value.background),
859
+ color: web.paint("readout-color", readout.value.color)
860
+ })
861
+ );
862
+ return (_ctx, _cache) => {
863
+ return vue.unref(rotation) && (slots.default || vue.unref(readout).enabled) ? (vue.openBlock(), vue.createBlock(Anchored_vue_vue_type_script_setup_true_lang._sfc_main, {
864
+ key: 0,
865
+ anchor: { page: vue.unref(rotation).page, bounds: { ...vue.unref(rotation).at, width: 0, height: 0 } },
866
+ placement: __props.placement,
867
+ gap: __props.gap
868
+ }, {
869
+ default: vue.withCtx(() => [
870
+ slots.default ? vue.renderSlot(_ctx.$slots, "default", { rotation: vue.unref(rotation) }, void 0, void 0, 0) : (vue.openBlock(), vue.createElementBlock("div", {
871
+ key: 1,
872
+ style: vue.normalizeStyle(badge.value)
873
+ }, vue.toDisplayString(vue.unref(rotation).angle) + "°", 5))
874
+ ]),
875
+ _: 3
876
+ }, 8, ["anchor", "placement", "gap"])) : vue.createCommentVNode("", true);
877
+ };
878
+ }
879
+ });
880
+ function useAnnotation() {
881
+ return capabilities.useCapability(pluginAnnotation.AnnotationToken);
882
+ }
883
+ function useAnnotationEvent(select, handler) {
884
+ capabilities.useCapabilityEvent(pluginAnnotation.AnnotationToken, select, handler);
885
+ }
886
+ const NO_ANNOTATIONS = Object.freeze([]);
887
+ function useAnnotationList(filter) {
888
+ return capabilities.useOptionalSelector(
889
+ pluginAnnotation.AnnotationToken,
890
+ (annotation) => annotation.list(vue.toValue(filter)),
891
+ NO_ANNOTATIONS,
892
+ core.shallowEqual
893
+ );
894
+ }
895
+ const NO_DEFAULTS = Object.freeze({});
896
+ function useAnnotationDefaults(toolId) {
897
+ return capabilities.useOptionalSelector(
898
+ pluginAnnotation.AnnotationToken,
899
+ (annotation) => annotation.tools.getDefaults(vue.toValue(toolId)),
900
+ NO_DEFAULTS
901
+ );
902
+ }
903
+ const NO_PROPERTIES = Object.freeze({
904
+ properties: [],
905
+ values: {},
906
+ mixed: []
907
+ });
908
+ function useAnnotationProperties(toolId) {
909
+ return capabilities.useOptionalSelector(
910
+ pluginAnnotation.AnnotationToken,
911
+ (annotation) => {
912
+ const tool = vue.toValue(toolId);
913
+ return tool === void 0 ? annotation.selection.getProperties() : annotation.tools.getProperties(tool);
914
+ },
915
+ NO_PROPERTIES
916
+ );
917
+ }
918
+ function useAnnotationAnchor(ref) {
919
+ return capabilities.useOptionalSelector(
920
+ host.AnnotationToken,
921
+ (annotation) => {
922
+ const wanted = vue.toValue(ref);
923
+ return wanted ? annotation.getAnnotationAnchor(wanted) : null;
924
+ },
925
+ null,
926
+ web.sameAnnotationAnchor
927
+ );
928
+ }
929
+ function useComments() {
930
+ const annotation = useAnnotation();
931
+ const target = vue.markRaw({});
932
+ return new Proxy(target, {
933
+ get: (_target, key) => typeof key === "string" && key.startsWith("__v_") ? Reflect.get(target, key) : Reflect.get(annotation.comments, key),
934
+ has: (_target, key) => Reflect.has(annotation.comments, key)
935
+ });
936
+ }
937
+ const NO_PAGES = Object.freeze([]);
938
+ const NO_THREADS = Object.freeze([]);
939
+ function useCommentThreads() {
940
+ const documentId = capabilities.useDocumentId();
941
+ const threads = capabilities.useOptionalSelector(
942
+ pluginAnnotation.AnnotationToken,
943
+ (annotation) => annotation.comments.listThreads(),
944
+ NO_THREADS
945
+ );
946
+ const pages = capabilities.useKernelValue(
947
+ (kernel) => documentId.value ? kernel.documents.listPages(documentId.value) : NO_PAGES
948
+ );
949
+ return vue.computed(() => web.enrichCommentThreads(threads.value, pages.value));
950
+ }
951
+ function useCommentThread(ref) {
952
+ const views = useCommentThreads();
953
+ const annotation = capabilities.useOptionalCapability(pluginAnnotation.AnnotationToken);
954
+ return vue.computed(() => {
955
+ const wanted = vue.toValue(ref);
956
+ const api = annotation.value;
957
+ if (wanted == null || !api) return null;
958
+ const thread = api.comments.getThread(wanted);
959
+ if (!thread) return null;
960
+ const root = core.annotationKey(thread.root.ref);
961
+ return views.value.find((view) => core.annotationKey(view.root.ref) === root) ?? null;
962
+ });
963
+ }
964
+ const filePickerProvider = web.pickRequestedFile;
965
+ function useFilePickerProvider(provider = filePickerProvider) {
966
+ const annotation = capabilities.useOptionalCapability(pluginAnnotation.AnnotationToken);
967
+ vue.watch(
968
+ [annotation, () => vue.unref(provider)],
969
+ ([capability, current], _previous, onCleanup) => {
970
+ if (!capability) return;
971
+ onCleanup(
972
+ web.installFilePickerProvider(
973
+ capability,
974
+ current,
975
+ () => dev.devWarn(
976
+ "file-picker-provider-twice",
977
+ "useFilePickerProvider() is called from two mounted components for the same document — the later one wins. Call it once, at a document-scoped spot."
978
+ )
979
+ )
980
+ );
981
+ },
982
+ { immediate: true }
983
+ );
984
+ }
985
+ exports._sfc_main = _sfc_main$1;
986
+ exports._sfc_main$1 = _sfc_main$3;
987
+ exports._sfc_main$2 = _sfc_main$2;
988
+ exports._sfc_main$3 = _sfc_main;
989
+ exports.filePickerProvider = filePickerProvider;
990
+ exports.useAnnotation = useAnnotation;
991
+ exports.useAnnotationAnchor = useAnnotationAnchor;
992
+ exports.useAnnotationDefaults = useAnnotationDefaults;
993
+ exports.useAnnotationEvent = useAnnotationEvent;
994
+ exports.useAnnotationList = useAnnotationList;
995
+ exports.useAnnotationProperties = useAnnotationProperties;
996
+ exports.useAnnotationSettings = useAnnotationSettings;
997
+ exports.useAnnotationState = useAnnotationState;
998
+ exports.useCommentThread = useCommentThread;
999
+ exports.useCommentThreads = useCommentThreads;
1000
+ exports.useComments = useComments;
1001
+ exports.useFilePickerProvider = useFilePickerProvider;
1002
+ exports.useRichTextEditor = useRichTextEditor;
1003
+ //# sourceMappingURL=composables-BuHvnUlo.cjs.map