@embedpdf/snippet 1.0.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 (294) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +90 -0
  3. package/dist/components/annotation-menu.d.ts +9 -0
  4. package/dist/components/annotation-menu.d.ts.map +1 -0
  5. package/dist/components/annotation-sidebar/common.d.ts +10 -0
  6. package/dist/components/annotation-sidebar/common.d.ts.map +1 -0
  7. package/dist/components/annotation-sidebar/empty-state.d.ts +7 -0
  8. package/dist/components/annotation-sidebar/empty-state.d.ts.map +1 -0
  9. package/dist/components/annotation-sidebar/free-text-sidebar.d.ts +5 -0
  10. package/dist/components/annotation-sidebar/free-text-sidebar.d.ts.map +1 -0
  11. package/dist/components/annotation-sidebar/ink-sidebar.d.ts +5 -0
  12. package/dist/components/annotation-sidebar/ink-sidebar.d.ts.map +1 -0
  13. package/dist/components/annotation-sidebar/line-sidebar.d.ts +5 -0
  14. package/dist/components/annotation-sidebar/line-sidebar.d.ts.map +1 -0
  15. package/dist/components/annotation-sidebar/polygon-sidebar.d.ts +5 -0
  16. package/dist/components/annotation-sidebar/polygon-sidebar.d.ts.map +1 -0
  17. package/dist/components/annotation-sidebar/registry.d.ts +19 -0
  18. package/dist/components/annotation-sidebar/registry.d.ts.map +1 -0
  19. package/dist/components/annotation-sidebar/shape-sidebar.d.ts +5 -0
  20. package/dist/components/annotation-sidebar/shape-sidebar.d.ts.map +1 -0
  21. package/dist/components/annotation-sidebar/stamp-sidebar.d.ts +5 -0
  22. package/dist/components/annotation-sidebar/stamp-sidebar.d.ts.map +1 -0
  23. package/dist/components/annotation-sidebar/text-markup-sidebar.d.ts +5 -0
  24. package/dist/components/annotation-sidebar/text-markup-sidebar.d.ts.map +1 -0
  25. package/dist/components/annotation-sidebar/ui.d.ts +72 -0
  26. package/dist/components/annotation-sidebar/ui.d.ts.map +1 -0
  27. package/dist/components/annotation-sidebar.d.ts +6 -0
  28. package/dist/components/annotation-sidebar.d.ts.map +1 -0
  29. package/dist/components/app.d.ts +108 -0
  30. package/dist/components/app.d.ts.map +1 -0
  31. package/dist/components/capture.d.ts +3 -0
  32. package/dist/components/capture.d.ts.map +1 -0
  33. package/dist/components/command-button.d.ts +15 -0
  34. package/dist/components/command-button.d.ts.map +1 -0
  35. package/dist/components/comment-sidebar/annotation-card.d.ts +14 -0
  36. package/dist/components/comment-sidebar/annotation-card.d.ts.map +1 -0
  37. package/dist/components/comment-sidebar/annotation-icon.d.ts +9 -0
  38. package/dist/components/comment-sidebar/annotation-icon.d.ts.map +1 -0
  39. package/dist/components/comment-sidebar/annotation-input.d.ts +10 -0
  40. package/dist/components/comment-sidebar/annotation-input.d.ts.map +1 -0
  41. package/dist/components/comment-sidebar/comment.d.ts +12 -0
  42. package/dist/components/comment-sidebar/comment.d.ts.map +1 -0
  43. package/dist/components/comment-sidebar/config.d.ts +15 -0
  44. package/dist/components/comment-sidebar/config.d.ts.map +1 -0
  45. package/dist/components/comment-sidebar/edit-comment-form.d.ts +11 -0
  46. package/dist/components/comment-sidebar/edit-comment-form.d.ts.map +1 -0
  47. package/dist/components/comment-sidebar/empty-state.d.ts +7 -0
  48. package/dist/components/comment-sidebar/empty-state.d.ts.map +1 -0
  49. package/dist/components/comment-sidebar/menu-dropdown.d.ts +10 -0
  50. package/dist/components/comment-sidebar/menu-dropdown.d.ts.map +1 -0
  51. package/dist/components/comment-sidebar/truncated-text.d.ts +10 -0
  52. package/dist/components/comment-sidebar/truncated-text.d.ts.map +1 -0
  53. package/dist/components/comment-sidebar/user-avatar.d.ts +8 -0
  54. package/dist/components/comment-sidebar/user-avatar.d.ts.map +1 -0
  55. package/dist/components/comment-sidebar.d.ts +6 -0
  56. package/dist/components/comment-sidebar.d.ts.map +1 -0
  57. package/dist/components/custom-zoom-toolbar.d.ts +24 -0
  58. package/dist/components/custom-zoom-toolbar.d.ts.map +1 -0
  59. package/dist/components/document-password-prompt.d.ts +8 -0
  60. package/dist/components/document-password-prompt.d.ts.map +1 -0
  61. package/dist/components/empty-state.d.ts +3 -0
  62. package/dist/components/empty-state.d.ts.map +1 -0
  63. package/dist/components/hint-layer.d.ts +3 -0
  64. package/dist/components/hint-layer.d.ts.map +1 -0
  65. package/dist/components/icons/alert-triangle.d.ts +4 -0
  66. package/dist/components/icons/alert-triangle.d.ts.map +1 -0
  67. package/dist/components/icons/align-bottom.d.ts +4 -0
  68. package/dist/components/icons/align-bottom.d.ts.map +1 -0
  69. package/dist/components/icons/align-center.d.ts +4 -0
  70. package/dist/components/icons/align-center.d.ts.map +1 -0
  71. package/dist/components/icons/align-left.d.ts +4 -0
  72. package/dist/components/icons/align-left.d.ts.map +1 -0
  73. package/dist/components/icons/align-middle.d.ts +4 -0
  74. package/dist/components/icons/align-middle.d.ts.map +1 -0
  75. package/dist/components/icons/align-right.d.ts +4 -0
  76. package/dist/components/icons/align-right.d.ts.map +1 -0
  77. package/dist/components/icons/align-top.d.ts +4 -0
  78. package/dist/components/icons/align-top.d.ts.map +1 -0
  79. package/dist/components/icons/arrow-back-up.d.ts +4 -0
  80. package/dist/components/icons/arrow-back-up.d.ts.map +1 -0
  81. package/dist/components/icons/arrow-forward-up.d.ts +4 -0
  82. package/dist/components/icons/arrow-forward-up.d.ts.map +1 -0
  83. package/dist/components/icons/bold.d.ts +4 -0
  84. package/dist/components/icons/bold.d.ts.map +1 -0
  85. package/dist/components/icons/book.d.ts +4 -0
  86. package/dist/components/icons/book.d.ts.map +1 -0
  87. package/dist/components/icons/book2.d.ts +4 -0
  88. package/dist/components/icons/book2.d.ts.map +1 -0
  89. package/dist/components/icons/check.d.ts +4 -0
  90. package/dist/components/icons/check.d.ts.map +1 -0
  91. package/dist/components/icons/chevron-down.d.ts +4 -0
  92. package/dist/components/icons/chevron-down.d.ts.map +1 -0
  93. package/dist/components/icons/chevron-left.d.ts +4 -0
  94. package/dist/components/icons/chevron-left.d.ts.map +1 -0
  95. package/dist/components/icons/chevron-right.d.ts +4 -0
  96. package/dist/components/icons/chevron-right.d.ts.map +1 -0
  97. package/dist/components/icons/circle.d.ts +4 -0
  98. package/dist/components/icons/circle.d.ts.map +1 -0
  99. package/dist/components/icons/comment.d.ts +4 -0
  100. package/dist/components/icons/comment.d.ts.map +1 -0
  101. package/dist/components/icons/copy.d.ts +4 -0
  102. package/dist/components/icons/copy.d.ts.map +1 -0
  103. package/dist/components/icons/device-floppy.d.ts +4 -0
  104. package/dist/components/icons/device-floppy.d.ts.map +1 -0
  105. package/dist/components/icons/dots.d.ts +4 -0
  106. package/dist/components/icons/dots.d.ts.map +1 -0
  107. package/dist/components/icons/double-page.d.ts +4 -0
  108. package/dist/components/icons/double-page.d.ts.map +1 -0
  109. package/dist/components/icons/download.d.ts +4 -0
  110. package/dist/components/icons/download.d.ts.map +1 -0
  111. package/dist/components/icons/file-import.d.ts +4 -0
  112. package/dist/components/icons/file-import.d.ts.map +1 -0
  113. package/dist/components/icons/file.d.ts +4 -0
  114. package/dist/components/icons/file.d.ts.map +1 -0
  115. package/dist/components/icons/fit-to-page.d.ts +4 -0
  116. package/dist/components/icons/fit-to-page.d.ts.map +1 -0
  117. package/dist/components/icons/fit-to-width.d.ts +4 -0
  118. package/dist/components/icons/fit-to-width.d.ts.map +1 -0
  119. package/dist/components/icons/fullscreen-exit.d.ts +4 -0
  120. package/dist/components/icons/fullscreen-exit.d.ts.map +1 -0
  121. package/dist/components/icons/fullscreen.d.ts +4 -0
  122. package/dist/components/icons/fullscreen.d.ts.map +1 -0
  123. package/dist/components/icons/hand.d.ts +4 -0
  124. package/dist/components/icons/hand.d.ts.map +1 -0
  125. package/dist/components/icons/highlight.d.ts +4 -0
  126. package/dist/components/icons/highlight.d.ts.map +1 -0
  127. package/dist/components/icons/horizontal.d.ts +4 -0
  128. package/dist/components/icons/horizontal.d.ts.map +1 -0
  129. package/dist/components/icons/index.d.ts +6 -0
  130. package/dist/components/icons/index.d.ts.map +1 -0
  131. package/dist/components/icons/italic.d.ts +4 -0
  132. package/dist/components/icons/italic.d.ts.map +1 -0
  133. package/dist/components/icons/line-arrow.d.ts +4 -0
  134. package/dist/components/icons/line-arrow.d.ts.map +1 -0
  135. package/dist/components/icons/line.d.ts +4 -0
  136. package/dist/components/icons/line.d.ts.map +1 -0
  137. package/dist/components/icons/list-tree.d.ts +4 -0
  138. package/dist/components/icons/list-tree.d.ts.map +1 -0
  139. package/dist/components/icons/lock.d.ts +4 -0
  140. package/dist/components/icons/lock.d.ts.map +1 -0
  141. package/dist/components/icons/menu.d.ts +4 -0
  142. package/dist/components/icons/menu.d.ts.map +1 -0
  143. package/dist/components/icons/palette.d.ts +4 -0
  144. package/dist/components/icons/palette.d.ts.map +1 -0
  145. package/dist/components/icons/paperclip.d.ts +4 -0
  146. package/dist/components/icons/paperclip.d.ts.map +1 -0
  147. package/dist/components/icons/pencil-marker.d.ts +4 -0
  148. package/dist/components/icons/pencil-marker.d.ts.map +1 -0
  149. package/dist/components/icons/photo.d.ts +4 -0
  150. package/dist/components/icons/photo.d.ts.map +1 -0
  151. package/dist/components/icons/plus.d.ts +4 -0
  152. package/dist/components/icons/plus.d.ts.map +1 -0
  153. package/dist/components/icons/pointer.d.ts +4 -0
  154. package/dist/components/icons/pointer.d.ts.map +1 -0
  155. package/dist/components/icons/polygon.d.ts +4 -0
  156. package/dist/components/icons/polygon.d.ts.map +1 -0
  157. package/dist/components/icons/print.d.ts +4 -0
  158. package/dist/components/icons/print.d.ts.map +1 -0
  159. package/dist/components/icons/redact-area.d.ts +4 -0
  160. package/dist/components/icons/redact-area.d.ts.map +1 -0
  161. package/dist/components/icons/redact.d.ts +4 -0
  162. package/dist/components/icons/redact.d.ts.map +1 -0
  163. package/dist/components/icons/rotate-clockwise.d.ts +4 -0
  164. package/dist/components/icons/rotate-clockwise.d.ts.map +1 -0
  165. package/dist/components/icons/rotate-counter-clockwise.d.ts +4 -0
  166. package/dist/components/icons/rotate-counter-clockwise.d.ts.map +1 -0
  167. package/dist/components/icons/save.d.ts +4 -0
  168. package/dist/components/icons/save.d.ts.map +1 -0
  169. package/dist/components/icons/screenshot.d.ts +4 -0
  170. package/dist/components/icons/screenshot.d.ts.map +1 -0
  171. package/dist/components/icons/search.d.ts +4 -0
  172. package/dist/components/icons/search.d.ts.map +1 -0
  173. package/dist/components/icons/settings.d.ts +4 -0
  174. package/dist/components/icons/settings.d.ts.map +1 -0
  175. package/dist/components/icons/sidebar.d.ts +4 -0
  176. package/dist/components/icons/sidebar.d.ts.map +1 -0
  177. package/dist/components/icons/single-page.d.ts +4 -0
  178. package/dist/components/icons/single-page.d.ts.map +1 -0
  179. package/dist/components/icons/square.d.ts +4 -0
  180. package/dist/components/icons/square.d.ts.map +1 -0
  181. package/dist/components/icons/squares.d.ts +4 -0
  182. package/dist/components/icons/squares.d.ts.map +1 -0
  183. package/dist/components/icons/squiggly.d.ts +4 -0
  184. package/dist/components/icons/squiggly.d.ts.map +1 -0
  185. package/dist/components/icons/strikethrough.d.ts +4 -0
  186. package/dist/components/icons/strikethrough.d.ts.map +1 -0
  187. package/dist/components/icons/text.d.ts +4 -0
  188. package/dist/components/icons/text.d.ts.map +1 -0
  189. package/dist/components/icons/trash.d.ts +4 -0
  190. package/dist/components/icons/trash.d.ts.map +1 -0
  191. package/dist/components/icons/types.d.ts +11 -0
  192. package/dist/components/icons/types.d.ts.map +1 -0
  193. package/dist/components/icons/underline.d.ts +4 -0
  194. package/dist/components/icons/underline.d.ts.map +1 -0
  195. package/dist/components/icons/vertical.d.ts +4 -0
  196. package/dist/components/icons/vertical.d.ts.map +1 -0
  197. package/dist/components/icons/view-settings.d.ts +4 -0
  198. package/dist/components/icons/view-settings.d.ts.map +1 -0
  199. package/dist/components/icons/x.d.ts +4 -0
  200. package/dist/components/icons/x.d.ts.map +1 -0
  201. package/dist/components/icons/zigzag.d.ts +4 -0
  202. package/dist/components/icons/zigzag.d.ts.map +1 -0
  203. package/dist/components/icons/zoom-in-area.d.ts +4 -0
  204. package/dist/components/icons/zoom-in-area.d.ts.map +1 -0
  205. package/dist/components/icons/zoom-in.d.ts +4 -0
  206. package/dist/components/icons/zoom-in.d.ts.map +1 -0
  207. package/dist/components/icons/zoom-out.d.ts +4 -0
  208. package/dist/components/icons/zoom-out.d.ts.map +1 -0
  209. package/dist/components/locale-switcher.d.ts +8 -0
  210. package/dist/components/locale-switcher.d.ts.map +1 -0
  211. package/dist/components/mode-select-button.d.ts +8 -0
  212. package/dist/components/mode-select-button.d.ts.map +1 -0
  213. package/dist/components/outline-sidebar.d.ts +7 -0
  214. package/dist/components/outline-sidebar.d.ts.map +1 -0
  215. package/dist/components/page-controls.d.ts +7 -0
  216. package/dist/components/page-controls.d.ts.map +1 -0
  217. package/dist/components/print-modal.d.ts +10 -0
  218. package/dist/components/print-modal.d.ts.map +1 -0
  219. package/dist/components/redaction-menu.d.ts +10 -0
  220. package/dist/components/redaction-menu.d.ts.map +1 -0
  221. package/dist/components/search-sidebar.d.ts +8 -0
  222. package/dist/components/search-sidebar.d.ts.map +1 -0
  223. package/dist/components/tab-bar.d.ts +14 -0
  224. package/dist/components/tab-bar.d.ts.map +1 -0
  225. package/dist/components/thumbnails-sidebar.d.ts +8 -0
  226. package/dist/components/thumbnails-sidebar.d.ts.map +1 -0
  227. package/dist/components/ui/button.d.ts +14 -0
  228. package/dist/components/ui/button.d.ts.map +1 -0
  229. package/dist/components/ui/checkbox.d.ts +9 -0
  230. package/dist/components/ui/checkbox.d.ts.map +1 -0
  231. package/dist/components/ui/dialog.d.ts +22 -0
  232. package/dist/components/ui/dialog.d.ts.map +1 -0
  233. package/dist/components/ui/dropdown.d.ts +23 -0
  234. package/dist/components/ui/dropdown.d.ts.map +1 -0
  235. package/dist/components/ui/icon.d.ts +20 -0
  236. package/dist/components/ui/icon.d.ts.map +1 -0
  237. package/dist/components/ui/loading-indicator.d.ts +17 -0
  238. package/dist/components/ui/loading-indicator.d.ts.map +1 -0
  239. package/dist/components/ui/tab-button.d.ts +12 -0
  240. package/dist/components/ui/tab-button.d.ts.map +1 -0
  241. package/dist/components/ui/toggle-button.d.ts +15 -0
  242. package/dist/components/ui/toggle-button.d.ts.map +1 -0
  243. package/dist/components/ui/tooltip.d.ts +14 -0
  244. package/dist/components/ui/tooltip.d.ts.map +1 -0
  245. package/dist/components/utils.d.ts +2 -0
  246. package/dist/components/utils.d.ts.map +1 -0
  247. package/dist/config/commands.d.ts +4 -0
  248. package/dist/config/commands.d.ts.map +1 -0
  249. package/dist/config/icon-registry.d.ts +116 -0
  250. package/dist/config/icon-registry.d.ts.map +1 -0
  251. package/dist/config/index.d.ts +6 -0
  252. package/dist/config/index.d.ts.map +1 -0
  253. package/dist/config/theme.d.ts +147 -0
  254. package/dist/config/theme.d.ts.map +1 -0
  255. package/dist/config/translations.d.ts +8 -0
  256. package/dist/config/translations.d.ts.map +1 -0
  257. package/dist/config/types.d.ts +32 -0
  258. package/dist/config/types.d.ts.map +1 -0
  259. package/dist/config/ui-schema.d.ts +9 -0
  260. package/dist/config/ui-schema.d.ts.map +1 -0
  261. package/dist/demo-annotations.pdf +0 -0
  262. package/dist/demo.pdf +0 -0
  263. package/dist/direct-engine-ce9b01ae.js +1 -0
  264. package/dist/ebook.pdf +0 -0
  265. package/dist/embedpdf-9ae31302.js +3 -0
  266. package/dist/embedpdf.d.ts +45 -0
  267. package/dist/embedpdf.d.ts.map +1 -0
  268. package/dist/embedpdf.js +1 -0
  269. package/dist/hooks/use-click-outside.d.ts +3 -0
  270. package/dist/hooks/use-click-outside.d.ts.map +1 -0
  271. package/dist/hooks/use-debounce.d.ts +2 -0
  272. package/dist/hooks/use-debounce.d.ts.map +1 -0
  273. package/dist/hooks/use-swipe-gesture.d.ts +5 -0
  274. package/dist/hooks/use-swipe-gesture.d.ts.map +1 -0
  275. package/dist/index.html +32 -0
  276. package/dist/pdfium.wasm +0 -0
  277. package/dist/ui/hooks/use-container-breakpoint.d.ts +10 -0
  278. package/dist/ui/hooks/use-container-breakpoint.d.ts.map +1 -0
  279. package/dist/ui/schema-menu.d.ts +9 -0
  280. package/dist/ui/schema-menu.d.ts.map +1 -0
  281. package/dist/ui/schema-modal.d.ts +17 -0
  282. package/dist/ui/schema-modal.d.ts.map +1 -0
  283. package/dist/ui/schema-overlay.d.ts +16 -0
  284. package/dist/ui/schema-overlay.d.ts.map +1 -0
  285. package/dist/ui/schema-selection-menu.d.ts +4 -0
  286. package/dist/ui/schema-selection-menu.d.ts.map +1 -0
  287. package/dist/ui/schema-sidebar.d.ts +9 -0
  288. package/dist/ui/schema-sidebar.d.ts.map +1 -0
  289. package/dist/ui/schema-toolbar.d.ts +13 -0
  290. package/dist/ui/schema-toolbar.d.ts.map +1 -0
  291. package/dist/web-components/container.d.ts +65 -0
  292. package/dist/web-components/container.d.ts.map +1 -0
  293. package/dist/worker-engine-892a0577.js +1 -0
  294. package/package.json +83 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"polygon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/polygon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,WAAW,GAAI,wEAOzB,SAAS,kBAiBX,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { h } from 'preact';
2
+ import { IconProps } from './types';
3
+ export declare const PrintIcon: ({ size, strokeWidth, primaryColor, className, title, }: IconProps) => h.JSX.Element;
4
+ //# sourceMappingURL=print.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"print.d.ts","sourceRoot":"","sources":["../../../src/components/icons/print.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,SAAS,GAAI,wDAMvB,SAAS,kBAmBX,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { h } from 'preact';
2
+ import { IconProps } from './types';
3
+ export declare const RedactAreaIcon: ({ size, strokeWidth, primaryColor, className, title, }: IconProps) => h.JSX.Element;
4
+ //# sourceMappingURL=redact-area.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redact-area.d.ts","sourceRoot":"","sources":["../../../src/components/icons/redact-area.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,cAAc,GAAI,wDAM5B,SAAS,kBAmCX,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { h } from 'preact';
2
+ import { IconProps } from './types';
3
+ export declare const RedactIcon: ({ size, strokeWidth, primaryColor, className, title, }: IconProps) => h.JSX.Element;
4
+ //# sourceMappingURL=redact.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redact.d.ts","sourceRoot":"","sources":["../../../src/components/icons/redact.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,UAAU,GAAI,wDAMxB,SAAS,kBAmCX,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { h } from 'preact';
2
+ import { IconProps } from './types';
3
+ export declare const RotateClockwiseIcon: ({ size, strokeWidth, primaryColor, className, title, }: IconProps) => h.JSX.Element;
4
+ //# sourceMappingURL=rotate-clockwise.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rotate-clockwise.d.ts","sourceRoot":"","sources":["../../../src/components/icons/rotate-clockwise.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,mBAAmB,GAAI,wDAMjC,SAAS,kBAiBX,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { h } from 'preact';
2
+ import { IconProps } from './types';
3
+ export declare const RotateCounterClockwiseIcon: ({ size, strokeWidth, primaryColor, className, title, }: IconProps) => h.JSX.Element;
4
+ //# sourceMappingURL=rotate-counter-clockwise.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rotate-counter-clockwise.d.ts","sourceRoot":"","sources":["../../../src/components/icons/rotate-counter-clockwise.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,0BAA0B,GAAI,wDAMxC,SAAS,kBAiBX,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { h } from 'preact';
2
+ import { IconProps } from './types';
3
+ export declare const SaveIcon: ({ size, strokeWidth, primaryColor, className, title, }: IconProps) => h.JSX.Element;
4
+ //# sourceMappingURL=save.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save.d.ts","sourceRoot":"","sources":["../../../src/components/icons/save.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,QAAQ,GAAI,wDAMtB,SAAS,kBAmBX,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { h } from 'preact';
2
+ import { IconProps } from './types';
3
+ export declare const ScreenshotIcon: ({ size, strokeWidth, primaryColor, className, title, }: IconProps) => h.JSX.Element;
4
+ //# sourceMappingURL=screenshot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"screenshot.d.ts","sourceRoot":"","sources":["../../../src/components/icons/screenshot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,cAAc,GAAI,wDAM5B,SAAS,kBAyBX,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { h } from 'preact';
2
+ import { IconProps } from './types';
3
+ export declare const SearchIcon: ({ size, strokeWidth, primaryColor, className, title, }: IconProps) => h.JSX.Element;
4
+ //# sourceMappingURL=search.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../src/components/icons/search.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,UAAU,GAAI,wDAMxB,SAAS,kBAkBX,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { h } from 'preact';
2
+ import { IconProps } from './types';
3
+ export declare const SettingsIcon: ({ size, strokeWidth, primaryColor, className, title, }: IconProps) => h.JSX.Element;
4
+ //# sourceMappingURL=settings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/components/icons/settings.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,YAAY,GAAI,wDAM1B,SAAS,kBAkBX,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { h } from 'preact';
2
+ import { IconProps } from './types';
3
+ export declare const SidebarIcon: ({ size, strokeWidth, primaryColor, className, title, }: IconProps) => h.JSX.Element;
4
+ //# sourceMappingURL=sidebar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/icons/sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,WAAW,GAAI,wDAMzB,SAAS,kBAkBX,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { h } from 'preact';
2
+ import { IconProps } from './types';
3
+ export declare const SinglePageIcon: ({ size, strokeWidth, primaryColor, className, title, }: IconProps) => h.JSX.Element;
4
+ //# sourceMappingURL=single-page.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"single-page.d.ts","sourceRoot":"","sources":["../../../src/components/icons/single-page.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,cAAc,GAAI,wDAM5B,SAAS,kBAiBX,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { h } from 'preact';
2
+ import { IconProps } from './types';
3
+ export declare const SquareIcon: ({ size, strokeWidth, primaryColor, secondaryColor, className, title, }: IconProps) => h.JSX.Element;
4
+ //# sourceMappingURL=square.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"square.d.ts","sourceRoot":"","sources":["../../../src/components/icons/square.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,UAAU,GAAI,wEAOxB,SAAS,kBAiBX,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { h } from 'preact';
2
+ import { IconProps } from './types';
3
+ export declare const SquaresIcon: ({ size, strokeWidth, primaryColor, className, title, }: IconProps) => h.JSX.Element;
4
+ //# sourceMappingURL=squares.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"squares.d.ts","sourceRoot":"","sources":["../../../src/components/icons/squares.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,WAAW,GAAI,wDAMzB,SAAS,kBAkBX,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { h } from 'preact';
2
+ import { IconProps } from './types';
3
+ export declare const SquigglyIcon: ({ size, strokeWidth, primaryColor, className, title, }: IconProps) => h.JSX.Element;
4
+ //# sourceMappingURL=squiggly.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"squiggly.d.ts","sourceRoot":"","sources":["../../../src/components/icons/squiggly.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,YAAY,GAAI,wDAM1B,SAAS,kBAkBX,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { h } from 'preact';
2
+ import { IconProps } from './types';
3
+ export declare const StrikethroughIcon: ({ size, strokeWidth, primaryColor, className, title, }: IconProps) => h.JSX.Element;
4
+ //# sourceMappingURL=strikethrough.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strikethrough.d.ts","sourceRoot":"","sources":["../../../src/components/icons/strikethrough.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,iBAAiB,GAAI,wDAM/B,SAAS,kBAiBX,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { h } from 'preact';
2
+ import { IconProps } from './types';
3
+ export declare const TextIcon: ({ size, strokeWidth, primaryColor, className, title, }: IconProps) => h.JSX.Element;
4
+ //# sourceMappingURL=text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../src/components/icons/text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,QAAQ,GAAI,wDAMtB,SAAS,kBAoBX,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { h } from 'preact';
2
+ import { IconProps } from './types';
3
+ export declare const TrashIcon: ({ size, strokeWidth, primaryColor, className, title, }: IconProps) => h.JSX.Element;
4
+ //# sourceMappingURL=trash.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trash.d.ts","sourceRoot":"","sources":["../../../src/components/icons/trash.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,SAAS,GAAI,wDAMvB,SAAS,kBAqBX,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { FunctionComponent } from 'preact';
2
+ export type IconProps = {
3
+ size?: number;
4
+ strokeWidth?: number;
5
+ primaryColor?: string;
6
+ secondaryColor?: string;
7
+ className?: string;
8
+ title?: string;
9
+ };
10
+ export type IconComponent = FunctionComponent<IconProps>;
11
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/icons/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAE3C,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAAC,SAAS,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { h } from 'preact';
2
+ import { IconProps } from './types';
3
+ export declare const UnderlineIcon: ({ size, strokeWidth, primaryColor, className, title, }: IconProps) => h.JSX.Element;
4
+ //# sourceMappingURL=underline.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"underline.d.ts","sourceRoot":"","sources":["../../../src/components/icons/underline.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,aAAa,GAAI,wDAM3B,SAAS,kBAkBX,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { h } from 'preact';
2
+ import { IconProps } from './types';
3
+ export declare const VerticalIcon: ({ size, strokeWidth, primaryColor, className, title, }: IconProps) => h.JSX.Element;
4
+ //# sourceMappingURL=vertical.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vertical.d.ts","sourceRoot":"","sources":["../../../src/components/icons/vertical.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,YAAY,GAAI,wDAM1B,SAAS,kBAmBX,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { h } from 'preact';
2
+ import { IconProps } from './types';
3
+ export declare const ViewSettingsIcon: ({ size, strokeWidth, primaryColor, className, title, }: IconProps) => h.JSX.Element;
4
+ //# sourceMappingURL=view-settings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view-settings.d.ts","sourceRoot":"","sources":["../../../src/components/icons/view-settings.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,gBAAgB,GAAI,wDAM9B,SAAS,kBAyBX,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { h } from 'preact';
2
+ import { IconProps } from './types';
3
+ export declare const XIcon: ({ size, strokeWidth, primaryColor, className, title, }: IconProps) => h.JSX.Element;
4
+ //# sourceMappingURL=x.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x.d.ts","sourceRoot":"","sources":["../../../src/components/icons/x.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,KAAK,GAAI,wDAMnB,SAAS,kBAkBX,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { h } from 'preact';
2
+ import { IconProps } from './types';
3
+ export declare const ZigzagIcon: ({ size, strokeWidth, primaryColor, className, title, }: IconProps) => h.JSX.Element;
4
+ //# sourceMappingURL=zigzag.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zigzag.d.ts","sourceRoot":"","sources":["../../../src/components/icons/zigzag.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,UAAU,GAAI,wDAMxB,SAAS,kBAgBX,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { h } from 'preact';
2
+ import { IconProps } from './types';
3
+ export declare const ZoomInAreaIcon: ({ size, strokeWidth, primaryColor, className, title, }: IconProps) => h.JSX.Element;
4
+ //# sourceMappingURL=zoom-in-area.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zoom-in-area.d.ts","sourceRoot":"","sources":["../../../src/components/icons/zoom-in-area.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,cAAc,GAAI,wDAM5B,SAAS,kBAyBX,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { h } from 'preact';
2
+ import { IconProps } from './types';
3
+ export declare const ZoomInIcon: ({ size, strokeWidth, primaryColor, className, title, }: IconProps) => h.JSX.Element;
4
+ //# sourceMappingURL=zoom-in.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zoom-in.d.ts","sourceRoot":"","sources":["../../../src/components/icons/zoom-in.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,UAAU,GAAI,wDAMxB,SAAS,kBAmBX,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { h } from 'preact';
2
+ import { IconProps } from './types';
3
+ export declare const ZoomOutIcon: ({ size, strokeWidth, primaryColor, className, title, }: IconProps) => h.JSX.Element;
4
+ //# sourceMappingURL=zoom-out.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zoom-out.d.ts","sourceRoot":"","sources":["../../../src/components/icons/zoom-out.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,WAAW,GAAI,wDAMzB,SAAS,kBAkBX,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { h } from 'preact';
2
+ /**
3
+ * Locale Switcher Component
4
+ *
5
+ * Displays a dropdown to switch between available locales
6
+ */
7
+ export declare function LocaleSwitcher(): h.JSX.Element | null;
8
+ //# sourceMappingURL=locale-switcher.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locale-switcher.d.ts","sourceRoot":"","sources":["../../src/components/locale-switcher.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B;;;;GAIG;AACH,wBAAgB,cAAc,yBAqD7B"}
@@ -0,0 +1,8 @@
1
+ import { h } from 'preact';
2
+ interface ModeSelectButtonProps {
3
+ documentId: string;
4
+ className?: string;
5
+ }
6
+ export declare function ModeSelectButton({ documentId, className }: ModeSelectButtonProps): h.JSX.Element | null;
7
+ export {};
8
+ //# sourceMappingURL=mode-select-button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mode-select-button.d.ts","sourceRoot":"","sources":["../../src/components/mode-select-button.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAK3B,UAAU,qBAAqB;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,gBAAgB,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,qBAAqB,wBAuDhF"}
@@ -0,0 +1,7 @@
1
+ import { h } from 'preact';
2
+ type OutlineSidebarProps = {
3
+ documentId: string;
4
+ };
5
+ export declare function OutlineSidebar({ documentId }: OutlineSidebarProps): h.JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=outline-sidebar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"outline-sidebar.d.ts","sourceRoot":"","sources":["../../src/components/outline-sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAW3B,KAAK,mBAAmB,GAAG;IACzB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,wBAAgB,cAAc,CAAC,EAAE,UAAU,EAAE,EAAE,mBAAmB,iBA+IjE"}
@@ -0,0 +1,7 @@
1
+ import { h } from 'preact';
2
+ interface PageControlsProps {
3
+ documentId: string;
4
+ }
5
+ export declare function PageControls({ documentId }: PageControlsProps): h.JSX.Element | null;
6
+ export {};
7
+ //# sourceMappingURL=page-controls.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-controls.d.ts","sourceRoot":"","sources":["../../src/components/page-controls.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAQ3B,UAAU,iBAAiB;IACzB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,YAAY,CAAC,EAAE,UAAU,EAAE,EAAE,iBAAiB,wBAkJ7D"}
@@ -0,0 +1,10 @@
1
+ import { h } from 'preact';
2
+ interface PrintModalProps {
3
+ documentId: string;
4
+ isOpen?: boolean;
5
+ onClose?: () => void;
6
+ onExited?: () => void;
7
+ }
8
+ export declare function PrintModal({ documentId, isOpen, onClose, onExited }: PrintModalProps): h.JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=print-modal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"print-modal.d.ts","sourceRoot":"","sources":["../../src/components/print-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAW3B,UAAU,eAAe;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,wBAAgB,UAAU,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,eAAe,iBA4LpF"}
@@ -0,0 +1,10 @@
1
+ import { h, JSX } from 'preact';
2
+ import { RedactionItem } from '@embedpdf/plugin-redaction';
3
+ type RedactionMenuProps = Omit<JSX.HTMLAttributes<HTMLDivElement>, 'style'> & {
4
+ item: RedactionItem;
5
+ pageIndex: number;
6
+ style?: JSX.CSSProperties;
7
+ };
8
+ export declare const RedactionMenu: ({ item, pageIndex, ...props }: RedactionMenuProps) => h.JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=redaction-menu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redaction-menu.d.ts","sourceRoot":"","sources":["../../src/components/redaction-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAGhC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAI3D,KAAK,kBAAkB,GAAG,IAAI,CAAC,GAAG,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,GAAG;IAC5E,IAAI,EAAE,aAAa,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,GAAG,CAAC,aAAa,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,+BAA+B,kBAAkB,kBA4B9E,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { h } from 'preact';
2
+ type SearchSidebarProps = {
3
+ documentId: string;
4
+ onClose?: () => void;
5
+ };
6
+ export declare function SearchSidebar({ documentId, onClose }: SearchSidebarProps): h.JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=search-sidebar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-sidebar.d.ts","sourceRoot":"","sources":["../../src/components/search-sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAoD3B,KAAK,kBAAkB,GAAG;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,kBAAkB,iBAgLxE"}
@@ -0,0 +1,14 @@
1
+ import { h } from 'preact';
2
+ import { DocumentState } from '@embedpdf/core';
3
+ export type TabBarVisibility = 'always' | 'multiple' | 'never';
4
+ interface TabBarProps {
5
+ documentStates: DocumentState[];
6
+ activeDocumentId: string | null;
7
+ /** When to show the tab bar */
8
+ visibility?: TabBarVisibility;
9
+ /** Allow opening new files via the + button */
10
+ allowOpenFile?: boolean;
11
+ }
12
+ export declare function TabBar({ documentStates, activeDocumentId, visibility, allowOpenFile, }: TabBarProps): h.JSX.Element | null;
13
+ export {};
14
+ //# sourceMappingURL=tab-bar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tab-bar.d.ts","sourceRoot":"","sources":["../../src/components/tab-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAY,MAAM,QAAQ,CAAC;AAErC,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAI/C,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,CAAC;AAE/D,UAAU,WAAW;IACnB,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,+BAA+B;IAC/B,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,+CAA+C;IAC/C,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,wBAAgB,MAAM,CAAC,EACrB,cAAc,EACd,gBAAgB,EAChB,UAAuB,EACvB,aAAoB,GACrB,EAAE,WAAW,wBA4Fb"}
@@ -0,0 +1,8 @@
1
+ import { h } from 'preact';
2
+ type ThumbnailsSidebarProps = {
3
+ documentId: string;
4
+ onClose?: () => void;
5
+ };
6
+ export declare function ThumbnailsSidebar({ documentId, onClose }: ThumbnailsSidebarProps): h.JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=thumbnails-sidebar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"thumbnails-sidebar.d.ts","sourceRoot":"","sources":["../../src/components/thumbnails-sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,KAAK,sBAAsB,GAAG;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,sBAAsB,iBAkEhF"}
@@ -0,0 +1,14 @@
1
+ import { h, ComponentChildren, JSX } from 'preact';
2
+ type ButtonProps = JSX.ButtonHTMLAttributes<HTMLButtonElement> & {
3
+ id?: string;
4
+ children: ComponentChildren;
5
+ onClick?: h.JSX.MouseEventHandler<HTMLButtonElement> | undefined;
6
+ active?: boolean;
7
+ disabled?: boolean;
8
+ className?: string;
9
+ tooltip?: string;
10
+ elementRef?: (el: HTMLButtonElement | null) => void;
11
+ };
12
+ export declare function Button({ id, children, onClick, active, disabled, className, tooltip, elementRef, ...props }: ButtonProps): h.JSX.Element;
13
+ export {};
14
+ //# sourceMappingURL=button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,iBAAiB,EAAO,GAAG,EAAE,MAAM,QAAQ,CAAC;AAExD,KAAK,WAAW,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,GAAG;IAC/D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,OAAO,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;IACjE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,iBAAiB,GAAG,IAAI,KAAK,IAAI,CAAC;CACrD,CAAC;AAEF,wBAAgB,MAAM,CAAC,EACrB,EAAE,EACF,QAAQ,EACR,OAAO,EACP,MAAc,EACd,QAAgB,EAChB,SAAc,EACd,OAAO,EACP,UAAU,EACV,GAAG,KAAK,EACT,EAAE,WAAW,iBAiBb"}
@@ -0,0 +1,9 @@
1
+ import { h } from 'preact';
2
+ interface CheckboxProps {
3
+ label: string;
4
+ checked: boolean;
5
+ onChange: (v: boolean) => void;
6
+ }
7
+ export declare const Checkbox: ({ label, checked, onChange }: CheckboxProps) => h.JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=checkbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/ui/checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,UAAU,aAAa;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CAChC;AAED,eAAO,MAAM,QAAQ,GAAI,8BAA8B,aAAa,kBAyBnE,CAAC"}
@@ -0,0 +1,22 @@
1
+ /** @jsxImportSource preact */
2
+ import { h, ComponentChildren } from 'preact';
3
+ export interface DialogProps {
4
+ /** Controlled visibility — `true` shows, `false` hides */
5
+ open: boolean;
6
+ /** Dialog title */
7
+ title?: string;
8
+ /** Dialog content */
9
+ children: ComponentChildren;
10
+ /** Callback when dialog should close */
11
+ onClose?: () => void;
12
+ /** Callback when exit animation completes (for cleanup) */
13
+ onExited?: () => void;
14
+ /** Optional className for the dialog content */
15
+ className?: string;
16
+ /** Whether to show close button */
17
+ showCloseButton?: boolean;
18
+ /** Maximum width of the dialog */
19
+ maxWidth?: string;
20
+ }
21
+ export declare function Dialog({ open, title, children, onClose, onExited, className, showCloseButton, maxWidth, }: DialogProps): h.JSX.Element | null;
22
+ //# sourceMappingURL=dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/components/ui/dialog.tsx"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,CAAC,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAK9C,MAAM,WAAW,WAAW;IAC1B,0DAA0D;IAC1D,IAAI,EAAE,OAAO,CAAC;IACd,mBAAmB;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qBAAqB;IACrB,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,wCAAwC;IACxC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mCAAmC;IACnC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,MAAM,CAAC,EACrB,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,SAAS,EACT,eAAsB,EACtB,QAAkB,GACnB,EAAE,WAAW,wBA6Fb"}
@@ -0,0 +1,23 @@
1
+ import { h, ComponentChildren } from 'preact';
2
+ export interface DropdownProps {
3
+ /** Controlled visibility — `true` shows, `false` hides */
4
+ open: boolean;
5
+ /** Reference element that anchors the menu (button, icon, …) */
6
+ trigger?: HTMLElement;
7
+ /** Menu items / JSX content */
8
+ children: ComponentChildren;
9
+ /** Preferred placement (Floating‑UI keywords). Default `"bottom-start"` */
10
+ placement?: string;
11
+ /** Horizontal offset (skidding) */
12
+ offsetSkidding?: number;
13
+ /** Vertical offset (distance) */
14
+ offsetDistance?: number;
15
+ /** Optional fade‑out delay when hiding (ms) */
16
+ delay?: number;
17
+ /** Callbacks */
18
+ onShow?: () => void;
19
+ onHide?: () => void;
20
+ className?: string;
21
+ }
22
+ export declare function Dropdown({ open, trigger, children, placement, offsetSkidding, offsetDistance, delay, onShow, onHide, className, }: DropdownProps): h.JSX.Element;
23
+ //# sourceMappingURL=dropdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/ui/dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAI9C,MAAM,WAAW,aAAa;IAC5B,0DAA0D;IAC1D,IAAI,EAAE,OAAO,CAAC;IACd,gEAAgE;IAChE,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,+BAA+B;IAC/B,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,2EAA2E;IAC3E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mCAAmC;IACnC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iCAAiC;IACjC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,+CAA+C;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB;IAChB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAYD,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,SAA0B,EAC1B,cAAmB,EACnB,cAAkB,EAClB,KAAS,EACT,MAAM,EACN,MAAM,EACN,SAAS,GACV,EAAE,aAAa,iBAgFf"}
@@ -0,0 +1,20 @@
1
+ import { VNode } from 'preact';
2
+ type IconProps = {
3
+ icon: string;
4
+ size?: number;
5
+ strokeWidth?: number;
6
+ primaryColor?: string;
7
+ secondaryColor?: string;
8
+ className?: string;
9
+ title?: string;
10
+ };
11
+ /**
12
+ * Icon component for Preact
13
+ *
14
+ * Renders icons from:
15
+ * 1. Built-in icon components (defined in ./icons)
16
+ * 2. Custom registered icons (registered via registerIcon)
17
+ */
18
+ export declare function Icon({ icon, title, size, strokeWidth, primaryColor, secondaryColor, className, }: IconProps): VNode | null;
19
+ export {};
20
+ //# sourceMappingURL=icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/components/ui/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAK,KAAK,EAAE,MAAM,QAAQ,CAAC;AASlC,KAAK,SAAS,GAAG;IACf,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,IAAI,CAAC,EACnB,IAAI,EACJ,KAAK,EACL,IAAS,EACT,WAAe,EACf,YAA6B,EAC7B,cAAuB,EACvB,SAAS,GACV,EAAE,SAAS,GAAG,KAAK,GAAG,IAAI,CAgC1B"}
@@ -0,0 +1,17 @@
1
+ import { h } from 'preact';
2
+ interface LoadingIndicatorProps {
3
+ size?: 'sm' | 'md' | 'lg';
4
+ text?: string;
5
+ className?: string;
6
+ }
7
+ export declare function LoadingIndicator({ size, text, className }: LoadingIndicatorProps): h.JSX.Element;
8
+ export declare function Spinner({ size, className, }: {
9
+ size?: 'sm' | 'md' | 'lg';
10
+ className?: string;
11
+ }): h.JSX.Element;
12
+ export declare function LoadingOverlay({ text, className }: {
13
+ text?: string;
14
+ className?: string;
15
+ }): h.JSX.Element;
16
+ export {};
17
+ //# sourceMappingURL=loading-indicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loading-indicator.d.ts","sourceRoot":"","sources":["../../../src/components/ui/loading-indicator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,UAAU,qBAAqB;IAC7B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,gBAAgB,CAAC,EAAE,IAAW,EAAE,IAAI,EAAE,SAAc,EAAE,EAAE,qBAAqB,iBA8B5F;AAGD,wBAAgB,OAAO,CAAC,EACtB,IAAW,EACX,SAAc,GACf,EAAE;IACD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,iBAYA;AAGD,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,SAAc,EAAE,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,iBAQ7F"}
@@ -0,0 +1,12 @@
1
+ import { h, ComponentChildren, JSX } from 'preact';
2
+ type TabButtonProps = JSX.ButtonHTMLAttributes<HTMLButtonElement> & {
3
+ children: ComponentChildren;
4
+ onClick?: h.JSX.MouseEventHandler<HTMLButtonElement> | undefined;
5
+ active?: boolean;
6
+ disabled?: boolean;
7
+ className?: string;
8
+ anchorRef?: (el: HTMLButtonElement | null) => void;
9
+ };
10
+ export declare function TabButton({ children, onClick, active, disabled, className, anchorRef, ...props }: TabButtonProps): h.JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=tab-button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tab-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tab-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAGnD,KAAK,cAAc,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,GAAG;IAClE,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,OAAO,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;IACjE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,CAAC,EAAE,EAAE,iBAAiB,GAAG,IAAI,KAAK,IAAI,CAAC;CACpD,CAAC;AAEF,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,OAAO,EACP,MAAc,EACd,QAAgB,EAChB,SAAc,EACd,SAAS,EACT,GAAG,KAAK,EACT,EAAE,cAAc,iBAsBhB"}
@@ -0,0 +1,15 @@
1
+ import { h, ComponentChildren } from 'preact';
2
+ interface ToggleButtonProps {
3
+ active?: boolean;
4
+ disabled?: boolean;
5
+ onClick?: () => void;
6
+ title?: string;
7
+ children: ComponentChildren;
8
+ className?: string;
9
+ }
10
+ /**
11
+ * A toggle button for toolbar-style controls (bold, italic, alignment, etc.)
12
+ */
13
+ export declare function ToggleButton({ active, disabled, onClick, title, children, className, }: ToggleButtonProps): h.JSX.Element;
14
+ export {};
15
+ //# sourceMappingURL=toggle-button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toggle-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAE9C,UAAU,iBAAiB;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,EAC3B,MAAc,EACd,QAAgB,EAChB,OAAO,EACP,KAAK,EACL,QAAQ,EACR,SAAc,GACf,EAAE,iBAAiB,iBAgBnB"}