@jacktea/pdf-viewer-component 0.1.5

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 (285) hide show
  1. package/README.md +45 -0
  2. package/dist/annotations/annotation-layer.d.ts +40 -0
  3. package/dist/annotations/annotation-layer.d.ts.map +1 -0
  4. package/dist/annotations/annotation-layer.test.d.ts +2 -0
  5. package/dist/annotations/annotation-layer.test.d.ts.map +1 -0
  6. package/dist/annotations/interaction/annotation-interaction-controller.d.ts +59 -0
  7. package/dist/annotations/interaction/annotation-interaction-controller.d.ts.map +1 -0
  8. package/dist/annotations/interaction/tool-utils.d.ts +11 -0
  9. package/dist/annotations/interaction/tool-utils.d.ts.map +1 -0
  10. package/dist/annotations/rendering/annotation-svg-renderer.d.ts +28 -0
  11. package/dist/annotations/rendering/annotation-svg-renderer.d.ts.map +1 -0
  12. package/dist/annotations/rendering/annotation-svg-renderer.test.d.ts +2 -0
  13. package/dist/annotations/rendering/annotation-svg-renderer.test.d.ts.map +1 -0
  14. package/dist/annotations/rendering/geometry-utils.d.ts +6 -0
  15. package/dist/annotations/rendering/geometry-utils.d.ts.map +1 -0
  16. package/dist/annotations/rendering/hit-testing.d.ts +10 -0
  17. package/dist/annotations/rendering/hit-testing.d.ts.map +1 -0
  18. package/dist/annotations/rendering/index.d.ts +3 -0
  19. package/dist/annotations/rendering/index.d.ts.map +1 -0
  20. package/dist/annotations/settings.d.ts +46 -0
  21. package/dist/annotations/settings.d.ts.map +1 -0
  22. package/dist/annotations/types.d.ts +3 -0
  23. package/dist/annotations/types.d.ts.map +1 -0
  24. package/dist/annotations/ui/annotation-metadata.d.ts +12 -0
  25. package/dist/annotations/ui/annotation-metadata.d.ts.map +1 -0
  26. package/dist/annotations/ui/appearance-editor.d.ts +16 -0
  27. package/dist/annotations/ui/appearance-editor.d.ts.map +1 -0
  28. package/dist/annotations/ui/arrow-style-editor.d.ts +17 -0
  29. package/dist/annotations/ui/arrow-style-editor.d.ts.map +1 -0
  30. package/dist/annotations/ui/header-card.d.ts +4 -0
  31. package/dist/annotations/ui/header-card.d.ts.map +1 -0
  32. package/dist/annotations/ui/index.d.ts +8 -0
  33. package/dist/annotations/ui/index.d.ts.map +1 -0
  34. package/dist/annotations/ui/popup-toolbar.d.ts +53 -0
  35. package/dist/annotations/ui/popup-toolbar.d.ts.map +1 -0
  36. package/dist/annotations/ui/popup-toolbar.test.d.ts +2 -0
  37. package/dist/annotations/ui/popup-toolbar.test.d.ts.map +1 -0
  38. package/dist/annotations/ui/stroke-style-editor.d.ts +16 -0
  39. package/dist/annotations/ui/stroke-style-editor.d.ts.map +1 -0
  40. package/dist/annotations/ui/style-pickers.d.ts +82 -0
  41. package/dist/annotations/ui/style-pickers.d.ts.map +1 -0
  42. package/dist/annotations/ui/text-style-editor.d.ts +22 -0
  43. package/dist/annotations/ui/text-style-editor.d.ts.map +1 -0
  44. package/dist/annotations/ui/tool-selector.d.ts +8 -0
  45. package/dist/annotations/ui/tool-selector.d.ts.map +1 -0
  46. package/dist/components/popover.d.ts +25 -0
  47. package/dist/components/popover.d.ts.map +1 -0
  48. package/dist/components/tooltip.d.ts +28 -0
  49. package/dist/components/tooltip.d.ts.map +1 -0
  50. package/dist/coordinators/annotation-coordinator.d.ts +281 -0
  51. package/dist/coordinators/annotation-coordinator.d.ts.map +1 -0
  52. package/dist/coordinators/annotation-coordinator.test.d.ts +2 -0
  53. package/dist/coordinators/annotation-coordinator.test.d.ts.map +1 -0
  54. package/dist/coordinators/event-dispatcher.d.ts +93 -0
  55. package/dist/coordinators/event-dispatcher.d.ts.map +1 -0
  56. package/dist/coordinators/index.d.ts +20 -0
  57. package/dist/coordinators/index.d.ts.map +1 -0
  58. package/dist/coordinators/mode-coordinator.d.ts +74 -0
  59. package/dist/coordinators/mode-coordinator.d.ts.map +1 -0
  60. package/dist/coordinators/panel-coordinator-v2.d.ts +138 -0
  61. package/dist/coordinators/panel-coordinator-v2.d.ts.map +1 -0
  62. package/dist/coordinators/state-sync-manager.d.ts +37 -0
  63. package/dist/coordinators/state-sync-manager.d.ts.map +1 -0
  64. package/dist/coordinators/state-tracker.d.ts +48 -0
  65. package/dist/coordinators/state-tracker.d.ts.map +1 -0
  66. package/dist/coordinators/state-types.d.ts +56 -0
  67. package/dist/coordinators/state-types.d.ts.map +1 -0
  68. package/dist/coordinators/ui-initializer.d.ts +130 -0
  69. package/dist/coordinators/ui-initializer.d.ts.map +1 -0
  70. package/dist/di/container.d.ts +77 -0
  71. package/dist/di/container.d.ts.map +1 -0
  72. package/dist/di/container.test.d.ts +5 -0
  73. package/dist/di/container.test.d.ts.map +1 -0
  74. package/dist/di/index.d.ts +11 -0
  75. package/dist/di/index.d.ts.map +1 -0
  76. package/dist/di/tokens.d.ts +88 -0
  77. package/dist/di/tokens.d.ts.map +1 -0
  78. package/dist/domains/annotation/index.d.ts +9 -0
  79. package/dist/domains/annotation/index.d.ts.map +1 -0
  80. package/dist/domains/annotation/styles.d.ts +23 -0
  81. package/dist/domains/annotation/styles.d.ts.map +1 -0
  82. package/dist/domains/annotation/sync.d.ts +68 -0
  83. package/dist/domains/annotation/sync.d.ts.map +1 -0
  84. package/dist/domains/annotation/sync.test.d.ts +2 -0
  85. package/dist/domains/annotation/sync.test.d.ts.map +1 -0
  86. package/dist/domains/export/index.d.ts +10 -0
  87. package/dist/domains/export/index.d.ts.map +1 -0
  88. package/dist/domains/export/metadata.d.ts +31 -0
  89. package/dist/domains/export/metadata.d.ts.map +1 -0
  90. package/dist/domains/export/metadata.test.d.ts +2 -0
  91. package/dist/domains/export/metadata.test.d.ts.map +1 -0
  92. package/dist/domains/export/pdf-export.d.ts +70 -0
  93. package/dist/domains/export/pdf-export.d.ts.map +1 -0
  94. package/dist/domains/export/pdf-export.test.d.ts +2 -0
  95. package/dist/domains/export/pdf-export.test.d.ts.map +1 -0
  96. package/dist/domains/export/watermark.d.ts +24 -0
  97. package/dist/domains/export/watermark.d.ts.map +1 -0
  98. package/dist/domains/export/watermark.test.d.ts +2 -0
  99. package/dist/domains/export/watermark.test.d.ts.map +1 -0
  100. package/dist/domains/index.d.ts +18 -0
  101. package/dist/domains/index.d.ts.map +1 -0
  102. package/dist/domains/ui/dialogs.d.ts +49 -0
  103. package/dist/domains/ui/dialogs.d.ts.map +1 -0
  104. package/dist/domains/ui/dialogs.test.d.ts +2 -0
  105. package/dist/domains/ui/dialogs.test.d.ts.map +1 -0
  106. package/dist/domains/ui/editors.d.ts +120 -0
  107. package/dist/domains/ui/editors.d.ts.map +1 -0
  108. package/dist/domains/ui/index.d.ts +9 -0
  109. package/dist/domains/ui/index.d.ts.map +1 -0
  110. package/dist/domains/viewer/actions.d.ts +90 -0
  111. package/dist/domains/viewer/actions.d.ts.map +1 -0
  112. package/dist/domains/viewer/actions.test.d.ts +2 -0
  113. package/dist/domains/viewer/actions.test.d.ts.map +1 -0
  114. package/dist/domains/viewer/index.d.ts +10 -0
  115. package/dist/domains/viewer/index.d.ts.map +1 -0
  116. package/dist/domains/viewer/persistence.d.ts +122 -0
  117. package/dist/domains/viewer/persistence.d.ts.map +1 -0
  118. package/dist/domains/viewer/persistence.test.d.ts +2 -0
  119. package/dist/domains/viewer/persistence.test.d.ts.map +1 -0
  120. package/dist/domains/viewer/types.d.ts +42 -0
  121. package/dist/domains/viewer/types.d.ts.map +1 -0
  122. package/dist/i18n/index.d.ts +77 -0
  123. package/dist/i18n/index.d.ts.map +1 -0
  124. package/dist/i18n/locales/en.d.ts +3 -0
  125. package/dist/i18n/locales/en.d.ts.map +1 -0
  126. package/dist/i18n/locales/zh-CN.d.ts +3 -0
  127. package/dist/i18n/locales/zh-CN.d.ts.map +1 -0
  128. package/dist/i18n/types.d.ts +231 -0
  129. package/dist/i18n/types.d.ts.map +1 -0
  130. package/dist/icons/icon-registry.d.ts +69 -0
  131. package/dist/icons/icon-registry.d.ts.map +1 -0
  132. package/dist/icons/toolbar-icons.d.ts +38 -0
  133. package/dist/icons/toolbar-icons.d.ts.map +1 -0
  134. package/dist/index.d.ts +14 -0
  135. package/dist/index.d.ts.map +1 -0
  136. package/dist/index.es.js +1 -0
  137. package/dist/layers/canvas-layer.d.ts +44 -0
  138. package/dist/layers/canvas-layer.d.ts.map +1 -0
  139. package/dist/layers/canvas-layer.test.d.ts +2 -0
  140. package/dist/layers/canvas-layer.test.d.ts.map +1 -0
  141. package/dist/layers/canvas-utils.d.ts +80 -0
  142. package/dist/layers/canvas-utils.d.ts.map +1 -0
  143. package/dist/layers/template-layer.d.ts +41 -0
  144. package/dist/layers/template-layer.d.ts.map +1 -0
  145. package/dist/panels/annotation-comments-panel.d.ts +80 -0
  146. package/dist/panels/annotation-comments-panel.d.ts.map +1 -0
  147. package/dist/panels/annotation-settings-panel.d.ts +60 -0
  148. package/dist/panels/annotation-settings-panel.d.ts.map +1 -0
  149. package/dist/panels/annotation-summary-panel.d.ts +127 -0
  150. package/dist/panels/annotation-summary-panel.d.ts.map +1 -0
  151. package/dist/panels/annotation-summary-panel.test.d.ts +2 -0
  152. package/dist/panels/annotation-summary-panel.test.d.ts.map +1 -0
  153. package/dist/panels/comment-input.d.ts +34 -0
  154. package/dist/panels/comment-input.d.ts.map +1 -0
  155. package/dist/panels/comment-input.test.d.ts +2 -0
  156. package/dist/panels/comment-input.test.d.ts.map +1 -0
  157. package/dist/panels/container-panel.d.ts +136 -0
  158. package/dist/panels/container-panel.d.ts.map +1 -0
  159. package/dist/panels/content-panel.d.ts +95 -0
  160. package/dist/panels/content-panel.d.ts.map +1 -0
  161. package/dist/panels/document-properties-panel.d.ts +54 -0
  162. package/dist/panels/document-properties-panel.d.ts.map +1 -0
  163. package/dist/panels/index.d.ts +26 -0
  164. package/dist/panels/index.d.ts.map +1 -0
  165. package/dist/panels/outline-panel.d.ts +32 -0
  166. package/dist/panels/outline-panel.d.ts.map +1 -0
  167. package/dist/panels/panel-factory.d.ts +37 -0
  168. package/dist/panels/panel-factory.d.ts.map +1 -0
  169. package/dist/panels/panel-integration-example.d.ts +49 -0
  170. package/dist/panels/panel-integration-example.d.ts.map +1 -0
  171. package/dist/panels/panel-manager.d.ts +98 -0
  172. package/dist/panels/panel-manager.d.ts.map +1 -0
  173. package/dist/panels/template-field-panel.d.ts +27 -0
  174. package/dist/panels/template-field-panel.d.ts.map +1 -0
  175. package/dist/panels/template-property-panel.d.ts +30 -0
  176. package/dist/panels/template-property-panel.d.ts.map +1 -0
  177. package/dist/panels/template-ui-helpers.d.ts +32 -0
  178. package/dist/panels/template-ui-helpers.d.ts.map +1 -0
  179. package/dist/panels/thumbnail-panel.d.ts +49 -0
  180. package/dist/panels/thumbnail-panel.d.ts.map +1 -0
  181. package/dist/pdfjs.d.ts +15 -0
  182. package/dist/pdfjs.d.ts.map +1 -0
  183. package/dist/plugins/examples/custom-tool-plugin.d.ts +12 -0
  184. package/dist/plugins/examples/custom-tool-plugin.d.ts.map +1 -0
  185. package/dist/plugins/index.d.ts +9 -0
  186. package/dist/plugins/index.d.ts.map +1 -0
  187. package/dist/plugins/plugin-manager.d.ts +108 -0
  188. package/dist/plugins/plugin-manager.d.ts.map +1 -0
  189. package/dist/plugins/plugin-manager.test.d.ts +5 -0
  190. package/dist/plugins/plugin-manager.test.d.ts.map +1 -0
  191. package/dist/plugins/types.d.ts +167 -0
  192. package/dist/plugins/types.d.ts.map +1 -0
  193. package/dist/render/page-renderer.d.ts +16 -0
  194. package/dist/render/page-renderer.d.ts.map +1 -0
  195. package/dist/render/scale.d.ts +3 -0
  196. package/dist/render/scale.d.ts.map +1 -0
  197. package/dist/render/text-layer.d.ts +4 -0
  198. package/dist/render/text-layer.d.ts.map +1 -0
  199. package/dist/render/thumb-renderer.d.ts +3 -0
  200. package/dist/render/thumb-renderer.d.ts.map +1 -0
  201. package/dist/toolbar/button-registry.d.ts +56 -0
  202. package/dist/toolbar/button-registry.d.ts.map +1 -0
  203. package/dist/toolbar/toolbar-helpers.d.ts +168 -0
  204. package/dist/toolbar/toolbar-helpers.d.ts.map +1 -0
  205. package/dist/toolbar/toolbar-icons.d.ts +3 -0
  206. package/dist/toolbar/toolbar-icons.d.ts.map +1 -0
  207. package/dist/toolbar/toolbar.d.ts +116 -0
  208. package/dist/toolbar/toolbar.d.ts.map +1 -0
  209. package/dist/ui/color-picker.d.ts +72 -0
  210. package/dist/ui/color-picker.d.ts.map +1 -0
  211. package/dist/ui/slider.d.ts +25 -0
  212. package/dist/ui/slider.d.ts.map +1 -0
  213. package/dist/utils/annotation-utils.d.ts +13 -0
  214. package/dist/utils/annotation-utils.d.ts.map +1 -0
  215. package/dist/utils/color-utils.d.ts +42 -0
  216. package/dist/utils/color-utils.d.ts.map +1 -0
  217. package/dist/utils/confirm-dialog.d.ts +10 -0
  218. package/dist/utils/confirm-dialog.d.ts.map +1 -0
  219. package/dist/utils/deep-equal.d.ts +2 -0
  220. package/dist/utils/deep-equal.d.ts.map +1 -0
  221. package/dist/utils/deep-equal.test.d.ts +2 -0
  222. package/dist/utils/deep-equal.test.d.ts.map +1 -0
  223. package/dist/utils/document-utils.d.ts +63 -0
  224. package/dist/utils/document-utils.d.ts.map +1 -0
  225. package/dist/utils/id-generator.d.ts +41 -0
  226. package/dist/utils/id-generator.d.ts.map +1 -0
  227. package/dist/utils/image-preview.d.ts +7 -0
  228. package/dist/utils/image-preview.d.ts.map +1 -0
  229. package/dist/utils/timestamp.d.ts +3 -0
  230. package/dist/utils/timestamp.d.ts.map +1 -0
  231. package/dist/viewer/collaboration-runtime.d.ts +29 -0
  232. package/dist/viewer/collaboration-runtime.d.ts.map +1 -0
  233. package/dist/viewer/config.d.ts +481 -0
  234. package/dist/viewer/config.d.ts.map +1 -0
  235. package/dist/viewer/document-load-pipeline.d.ts +43 -0
  236. package/dist/viewer/document-load-pipeline.d.ts.map +1 -0
  237. package/dist/viewer/document-load-pipeline.test.d.ts +2 -0
  238. package/dist/viewer/document-load-pipeline.test.d.ts.map +1 -0
  239. package/dist/viewer/element.d.ts +174 -0
  240. package/dist/viewer/element.d.ts.map +1 -0
  241. package/dist/viewer/element.test.d.ts +2 -0
  242. package/dist/viewer/element.test.d.ts.map +1 -0
  243. package/dist/viewer/events.d.ts +212 -0
  244. package/dist/viewer/events.d.ts.map +1 -0
  245. package/dist/viewer/export-orchestrator.d.ts +9 -0
  246. package/dist/viewer/export-orchestrator.d.ts.map +1 -0
  247. package/dist/viewer/headless.d.ts +108 -0
  248. package/dist/viewer/headless.d.ts.map +1 -0
  249. package/dist/viewer/internal-event-bindings.d.ts +26 -0
  250. package/dist/viewer/internal-event-bindings.d.ts.map +1 -0
  251. package/dist/viewer/internal-event-bindings.test.d.ts +2 -0
  252. package/dist/viewer/internal-event-bindings.test.d.ts.map +1 -0
  253. package/dist/viewer/modal.d.ts +22 -0
  254. package/dist/viewer/modal.d.ts.map +1 -0
  255. package/dist/viewer/page-indicator.d.ts +56 -0
  256. package/dist/viewer/page-indicator.d.ts.map +1 -0
  257. package/dist/viewer/pdfjs-resources.d.ts +12 -0
  258. package/dist/viewer/pdfjs-resources.d.ts.map +1 -0
  259. package/dist/viewer/server-writeback.d.ts +23 -0
  260. package/dist/viewer/server-writeback.d.ts.map +1 -0
  261. package/dist/viewer/server-writeback.test.d.ts +2 -0
  262. package/dist/viewer/server-writeback.test.d.ts.map +1 -0
  263. package/dist/viewer/ui-handler-helpers.d.ts +19 -0
  264. package/dist/viewer/ui-handler-helpers.d.ts.map +1 -0
  265. package/dist/viewer/ui-handler-helpers.test.d.ts +2 -0
  266. package/dist/viewer/ui-handler-helpers.test.d.ts.map +1 -0
  267. package/dist/viewer/viewer-header.d.ts +67 -0
  268. package/dist/viewer/viewer-header.d.ts.map +1 -0
  269. package/dist/virtual/page-position-cache.d.ts +24 -0
  270. package/dist/virtual/page-position-cache.d.ts.map +1 -0
  271. package/dist/virtual/render-pool.d.ts +23 -0
  272. package/dist/virtual/render-pool.d.ts.map +1 -0
  273. package/dist/virtual/render-pool.test.d.ts +2 -0
  274. package/dist/virtual/render-pool.test.d.ts.map +1 -0
  275. package/dist/virtual/types.d.ts +16 -0
  276. package/dist/virtual/types.d.ts.map +1 -0
  277. package/dist/virtual/virtual-page-manager.d.ts +54 -0
  278. package/dist/virtual/virtual-page-manager.d.ts.map +1 -0
  279. package/dist/watermark/watermark-layer.d.ts +58 -0
  280. package/dist/watermark/watermark-layer.d.ts.map +1 -0
  281. package/dist/watermark/watermark-settings.d.ts +79 -0
  282. package/dist/watermark/watermark-settings.d.ts.map +1 -0
  283. package/dist/watermark/watermark-ui-helpers.d.ts +78 -0
  284. package/dist/watermark/watermark-ui-helpers.d.ts.map +1 -0
  285. package/package.json +29 -0
@@ -0,0 +1,122 @@
1
+ import { Annotation, CommentThread } from '@jacktea/pdf-viewer-core';
2
+ /**
3
+ * Storage key configuration
4
+ */
5
+ export interface StorageKeyConfig {
6
+ documentStorageKey?: string;
7
+ }
8
+ /**
9
+ * Annotation data for persistence
10
+ */
11
+ export interface AnnotationData {
12
+ annotations: Annotation[];
13
+ version: number;
14
+ }
15
+ /**
16
+ * Comment data for persistence
17
+ */
18
+ export interface CommentData {
19
+ threads: CommentThread[];
20
+ version: number;
21
+ }
22
+ /**
23
+ * Persisted data structure
24
+ */
25
+ export interface PersistedData {
26
+ annotations: Annotation[];
27
+ commentThreads: CommentThread[];
28
+ }
29
+ /**
30
+ * Create annotation storage key
31
+ * @param config - Storage key configuration
32
+ * @returns Storage key string or undefined
33
+ */
34
+ export declare function getAnnotationStorageKey(config: StorageKeyConfig): string | undefined;
35
+ /**
36
+ * Create comment storage key
37
+ * @param config - Storage key configuration
38
+ * @returns Storage key string or undefined
39
+ */
40
+ export declare function getCommentStorageKey(config: StorageKeyConfig): string | undefined;
41
+ /**
42
+ * Serialize annotations for storage
43
+ * @param annotations - Annotations to serialize
44
+ * @returns Serialized data
45
+ */
46
+ export declare function serializeAnnotations(annotations: Annotation[]): AnnotationData;
47
+ /**
48
+ * Deserialize annotations from storage
49
+ * @param data - Stored data
50
+ * @returns Deserialized annotations or null if invalid
51
+ */
52
+ export declare function deserializeAnnotations(data: unknown): Annotation[] | null;
53
+ /**
54
+ * Serialize comments for storage
55
+ * @param threads - Comment threads to serialize
56
+ * @returns Serialized data
57
+ */
58
+ export declare function serializeComments(threads: CommentThread[]): CommentData;
59
+ /**
60
+ * Deserialize comments from storage
61
+ * @param data - Stored data
62
+ * @returns Deserialized comment threads or null if invalid
63
+ */
64
+ export declare function deserializeComments(data: unknown): CommentThread[] | null;
65
+ /**
66
+ * Check if data should be restored
67
+ * @param hasRestored - Whether annotations were already restored
68
+ * @returns Whether to restore data
69
+ */
70
+ export declare function shouldRestoreData(hasRestored: boolean): boolean;
71
+ /**
72
+ * Validate persisted data structure
73
+ * @param data - Data to validate
74
+ * @returns Whether data is valid
75
+ */
76
+ export declare function isValidPersistedData(data: unknown): data is PersistedData;
77
+ /**
78
+ * Load data from localStorage
79
+ * @param key - Storage key
80
+ * @returns Parsed data or null
81
+ */
82
+ export declare function loadFromStorage(key: string | undefined): unknown | null;
83
+ /**
84
+ * Save data to localStorage
85
+ * @param key - Storage key
86
+ * @param data - Data to save
87
+ * @returns Whether save was successful
88
+ */
89
+ export declare function saveToStorage(key: string | undefined, data: unknown): boolean;
90
+ /**
91
+ * Remove data from localStorage
92
+ * @param key - Storage key
93
+ * @returns Whether removal was successful
94
+ */
95
+ export declare function removeFromStorage(key: string | undefined): boolean;
96
+ /**
97
+ * Persist annotations to localStorage
98
+ * @param annotations - Annotations to persist
99
+ * @param config - Storage key configuration
100
+ * @returns Whether persistence was successful
101
+ */
102
+ export declare function persistAnnotations(annotations: Annotation[], config: StorageKeyConfig): boolean;
103
+ /**
104
+ * Persist comments to localStorage
105
+ * @param threads - Comment threads to persist
106
+ * @param config - Storage key configuration
107
+ * @returns Whether persistence was successful
108
+ */
109
+ export declare function persistComments(threads: CommentThread[], config: StorageKeyConfig): boolean;
110
+ /**
111
+ * Load persisted data from localStorage
112
+ * @param config - Storage key configuration
113
+ * @returns Persisted data or null
114
+ */
115
+ export declare function loadPersistedData(config: StorageKeyConfig): PersistedData | null;
116
+ /**
117
+ * Clear persisted data for a document
118
+ * @param config - Storage key configuration
119
+ * @returns Whether clear was successful
120
+ */
121
+ export declare function clearPersistedData(config: StorageKeyConfig): boolean;
122
+ //# sourceMappingURL=persistence.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"persistence.d.ts","sourceRoot":"","sources":["../../../src/domains/viewer/persistence.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAE1E;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,cAAc,EAAE,aAAa,EAAE,CAAC;CACjC;AA+DD;;;;GAIG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,gBAAgB,GACvB,MAAM,GAAG,SAAS,CAGpB;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,gBAAgB,GACvB,MAAM,GAAG,SAAS,CAGpB;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,UAAU,EAAE,GAAG,cAAc,CAK9E;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,OAAO,GAAG,UAAU,EAAE,GAAG,IAAI,CASzE;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,aAAa,EAAE,GAAG,WAAW,CAKvE;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,OAAO,GAAG,aAAa,EAAE,GAAG,IAAI,CASzE;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,OAAO,GAAG,OAAO,CAE/D;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,aAAa,CAOzE;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,IAAI,CASvE;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAC3B,GAAG,EAAE,MAAM,GAAG,SAAS,EACvB,IAAI,EAAE,OAAO,GACZ,OAAO,CAQT;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAQlE;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,WAAW,EAAE,UAAU,EAAE,EACzB,MAAM,EAAE,gBAAgB,GACvB,OAAO,CAIT;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAC7B,OAAO,EAAE,aAAa,EAAE,EACxB,MAAM,EAAE,gBAAgB,GACvB,OAAO,CAIT;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,gBAAgB,GACvB,aAAa,GAAG,IAAI,CAgBtB;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAQpE"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=persistence.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"persistence.test.d.ts","sourceRoot":"","sources":["../../../src/domains/viewer/persistence.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,42 @@
1
+ import { ViewerState } from '@jacktea/pdf-viewer-core';
2
+ /**
3
+ * Page indicator element references
4
+ */
5
+ export interface PageIndicatorElements {
6
+ input: HTMLInputElement;
7
+ total: HTMLSpanElement;
8
+ container?: HTMLDivElement | null;
9
+ }
10
+ /**
11
+ * Sync flags for state change handling
12
+ */
13
+ export interface SyncFlags {
14
+ isSyncingAttributes: boolean;
15
+ ignoreNextScrollSync: boolean;
16
+ forceNextScroll: boolean;
17
+ forceScrollBehavior: ScrollBehavior;
18
+ }
19
+ /**
20
+ * Previous state for change detection
21
+ */
22
+ export type PreviousState = ViewerState | undefined;
23
+ /**
24
+ * Context for viewer operations
25
+ */
26
+ export interface ViewerContext {
27
+ isConnected: boolean;
28
+ element: HTMLElement;
29
+ }
30
+ /**
31
+ * Result of state attribute sync
32
+ */
33
+ export interface AttributeSyncResult {
34
+ wasSynced: boolean;
35
+ }
36
+ /**
37
+ * Result of page indicator sync
38
+ */
39
+ export interface PageIndicatorSyncResult {
40
+ isVisible: boolean;
41
+ }
42
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/domains/viewer/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,gBAAgB,CAAC;IACxB,KAAK,EAAE,eAAe,CAAC;IACvB,SAAS,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,eAAe,EAAE,OAAO,CAAC;IACzB,mBAAmB,EAAE,cAAc,CAAC;CACrC;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG,SAAS,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,WAAW,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,OAAO,CAAC;CACpB"}
@@ -0,0 +1,77 @@
1
+ import { Translations, LocaleCode, LocaleChangeEvent } from './types';
2
+ type LocaleChangeListener = (event: LocaleChangeEvent) => void;
3
+ /**
4
+ * Get the current locale code
5
+ */
6
+ export declare function getLocale(): LocaleCode;
7
+ /**
8
+ * Set the current locale
9
+ * @param locale - Locale code (e.g., 'en', 'zh-CN')
10
+ */
11
+ export declare function setLocale(locale: LocaleCode): void;
12
+ /**
13
+ * Register custom translations
14
+ * These override built-in translations
15
+ */
16
+ export declare function setCustomTranslations(translations: Partial<Translations>): void;
17
+ /**
18
+ * Register a locale with translations
19
+ * Use this to add custom locales
20
+ */
21
+ export declare function registerLocale(locale: LocaleCode, translations: Translations): void;
22
+ /**
23
+ * Get available locale codes
24
+ */
25
+ export declare function getAvailableLocales(): LocaleCode[];
26
+ /**
27
+ * Subscribe to locale change events
28
+ * @returns Unsubscribe function
29
+ */
30
+ export declare function onLocaleChange(listener: LocaleChangeListener): () => void;
31
+ /**
32
+ * Translate a key
33
+ * @param key - Dot-notation path to translation (e.g., 'toolbar.save')
34
+ * @param fallback - Optional fallback value if key not found
35
+ */
36
+ export declare function t(key: string, fallback?: string): string;
37
+ /**
38
+ * Get all translations for current locale
39
+ */
40
+ export declare function getTranslations(): Translations;
41
+ /**
42
+ * Register a Shadow DOM root for i18n scanning
43
+ */
44
+ export declare function registerI18nRoot(root: ShadowRoot): () => void;
45
+ /**
46
+ * Update all elements with data-i18n attribute in a container
47
+ */
48
+ export declare function updateI18nElements(container?: Document | ShadowRoot | HTMLElement): void;
49
+ /**
50
+ * Create a text element with automatic i18n support
51
+ * @param tag - HTML tag name
52
+ * @param i18nKey - Translation key
53
+ * @param className - Optional CSS class
54
+ */
55
+ export declare function createI18nElement<K extends keyof HTMLElementTagNameMap>(tag: K, i18nKey: string, className?: string): HTMLElementTagNameMap[K];
56
+ /**
57
+ * Create a span with automatic i18n support
58
+ */
59
+ export declare function i18nText(key: string, className?: string): HTMLSpanElement;
60
+ /**
61
+ * Create a label with automatic i18n support
62
+ */
63
+ export declare function i18nLabel(key: string, className?: string): HTMLLabelElement;
64
+ /**
65
+ * Set i18n attribute on an existing element
66
+ */
67
+ export declare function setI18n(el: HTMLElement, key: string, attr?: string): void;
68
+ /**
69
+ * Set i18n for placeholder attribute
70
+ */
71
+ export declare function setI18nPlaceholder(el: HTMLInputElement | HTMLTextAreaElement, key: string): void;
72
+ /**
73
+ * Set i18n for title attribute
74
+ */
75
+ export declare function setI18nTitle(el: HTMLElement, key: string): void;
76
+ export type { Translations, LocaleCode, LocaleChangeEvent } from './types';
77
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAgB3E,KAAK,oBAAoB,GAAG,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;AAG/D;;GAEG;AACH,wBAAgB,SAAS,IAAI,UAAU,CAEtC;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,CAmBlD;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,YAAY,EAAE,OAAO,CAAC,YAAY,CAAC,GAAG,IAAI,CAI/E;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,GAAG,IAAI,CAMnF;AAED;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,UAAU,EAAE,CAElD;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,oBAAoB,GAAG,MAA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are const en: Translations;
3
+ //# sourceMappingURL=en.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/i18n/locales/en.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,eAAO,MAAM,EAAE,EAAE,YA6NhB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Translations } from '../types';
2
+ export declare const zhCN: Translations;
3
+ //# sourceMappingURL=zh-CN.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zh-CN.d.ts","sourceRoot":"","sources":["../../../src/i18n/locales/zh-CN.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,eAAO,MAAM,IAAI,EAAE,YA6NlB,CAAC"}
@@ -0,0 +1,231 @@
1
+ /**
2
+ * i18n Type Definitions
3
+ *
4
+ * Defines the structure for translation messages.
5
+ */
6
+ /**
7
+ * Translation messages structure
8
+ * Organized by component/feature area
9
+ */
10
+ export interface Translations {
11
+ header: {
12
+ title: string;
13
+ noDocument: string;
14
+ toggleTheme: string;
15
+ switchToLight: string;
16
+ switchToDark: string;
17
+ notifications: string;
18
+ switchLanguage: string;
19
+ };
20
+ modes: {
21
+ preview: string;
22
+ edit: string;
23
+ annotation: string;
24
+ templateDesign: string;
25
+ };
26
+ toolbar: {
27
+ sidebar: string;
28
+ openLocal: string;
29
+ openRemote: string;
30
+ toggleEdit: string;
31
+ select: string;
32
+ pan: string;
33
+ zoomControls: string;
34
+ zoomOut: string;
35
+ zoomIn: string;
36
+ zoomLevel: string;
37
+ fitWidth: string;
38
+ fitPage: string;
39
+ actualSize: string;
40
+ rotate: string;
41
+ undo: string;
42
+ redo: string;
43
+ fullScreen: string;
44
+ annotations: string;
45
+ info: string;
46
+ watermark: string;
47
+ download: string;
48
+ save: string;
49
+ highlight: string;
50
+ underline: string;
51
+ strikethrough: string;
52
+ rectangle: string;
53
+ ellipse: string;
54
+ draw: string;
55
+ text: string;
56
+ erase: string;
57
+ arrow: string;
58
+ annotationTools: string;
59
+ cursor: string;
60
+ templateProperties: string;
61
+ };
62
+ panels: {
63
+ thumbnails: string;
64
+ thumbnailsEdit: string;
65
+ outline: string;
66
+ properties: string;
67
+ watermark: string;
68
+ template: string;
69
+ settings: string;
70
+ comments: string;
71
+ templateProperties: string;
72
+ };
73
+ docProperties: {
74
+ untitledDocument: string;
75
+ pages: string;
76
+ size: string;
77
+ metadata: string;
78
+ title: string;
79
+ author: string;
80
+ subject: string;
81
+ keywords: string;
82
+ created: string;
83
+ modified: string;
84
+ application: string;
85
+ };
86
+ watermarkSettings: {
87
+ textTab: string;
88
+ imageTab: string;
89
+ content: string;
90
+ placeholder: string;
91
+ appearance: string;
92
+ color: string;
93
+ fontSize: string;
94
+ rotation: string;
95
+ textAlign: string;
96
+ alignLeft: string;
97
+ alignCenter: string;
98
+ alignRight: string;
99
+ position: string;
100
+ scale: string;
101
+ opacity: string;
102
+ reset: string;
103
+ default: string;
104
+ addWatermark: string;
105
+ removeWatermark: string;
106
+ uploadImage: string;
107
+ dragDropImage: string;
108
+ imagePreviewAlt: string;
109
+ loading: string;
110
+ invalidFile: string;
111
+ readError: string;
112
+ };
113
+ annotationComments: {
114
+ annotation: string;
115
+ annotations: string;
116
+ noAnnotations: string;
117
+ threads: string;
118
+ edit: string;
119
+ reply: string;
120
+ replyTo: string;
121
+ delete: string;
122
+ deleteConfirmTitle: string;
123
+ deleteAnnotationConfirmMessage: string;
124
+ deleteCommentConfirmMessage: string;
125
+ me: string;
126
+ selectAnnotation: string;
127
+ writeComment: string;
128
+ editComment: string;
129
+ writeReply: string;
130
+ noComments: string;
131
+ previousAnnotation: string;
132
+ nextAnnotation: string;
133
+ clickToStartReview: string;
134
+ clickToEdit: string;
135
+ expandDetails: string;
136
+ collapseDetails: string;
137
+ search: string;
138
+ filter: string;
139
+ searchPlaceholder: string;
140
+ filterAll: string;
141
+ filterOpen: string;
142
+ filterResolved: string;
143
+ noMatches: string;
144
+ clearSearch: string;
145
+ clearFilter: string;
146
+ };
147
+ thumbnailPanel: {
148
+ noPages: string;
149
+ loading: string;
150
+ loadFailed: string;
151
+ };
152
+ outlinePanel: {
153
+ noOutline: string;
154
+ };
155
+ annotationSettings: {
156
+ appearance: string;
157
+ fillColor: string;
158
+ strokeColor: string;
159
+ strokeStyle: string;
160
+ thickness: string;
161
+ lineWidth: string;
162
+ arrowStyle: string;
163
+ style: string;
164
+ lineType: string;
165
+ textStyle: string;
166
+ content: string;
167
+ enterText: string;
168
+ textColor: string;
169
+ fontSize: string;
170
+ fontWeight: string;
171
+ fontFamily: string;
172
+ tools: {
173
+ select: string;
174
+ highlight: string;
175
+ underline: string;
176
+ strikethrough: string;
177
+ draw: string;
178
+ rectangle: string;
179
+ ellipse: string;
180
+ text: string;
181
+ arrow: string;
182
+ erase: string;
183
+ };
184
+ categories: {
185
+ tool: string;
186
+ textAnnotation: string;
187
+ freehandAnnotation: string;
188
+ shapeAnnotation: string;
189
+ };
190
+ metadata: {
191
+ createdBy: string;
192
+ createdAt: string;
193
+ locked: string;
194
+ };
195
+ deleteAnnotation: string;
196
+ };
197
+ emptyState: {
198
+ dragDropPdf: string;
199
+ orClickToOpen: string;
200
+ loadingDocument: string;
201
+ };
202
+ passwordDialog: {
203
+ title: string;
204
+ prompt: string;
205
+ incorrectPassword: string;
206
+ passwordLabel: string;
207
+ passwordPlaceholder: string;
208
+ unlock: string;
209
+ cancelled: string;
210
+ };
211
+ common: {
212
+ cancel: string;
213
+ confirm: string;
214
+ close: string;
215
+ delete: string;
216
+ edit: string;
217
+ apply: string;
218
+ };
219
+ }
220
+ /**
221
+ * Supported locale codes
222
+ */
223
+ export type LocaleCode = 'en' | 'zh-CN' | string;
224
+ /**
225
+ * Locale change event
226
+ */
227
+ export interface LocaleChangeEvent {
228
+ locale: LocaleCode;
229
+ previousLocale: LocaleCode;
230
+ }
231
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/i18n/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;GAGG;AACH,MAAM,WAAW,YAAY;IAE3B,MAAM,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,UAAU,EAAE,MAAM,CAAC;QACnB,WAAW,EAAE,MAAM,CAAC;QACpB,aAAa,EAAE,MAAM,CAAC;QACtB,YAAY,EAAE,MAAM,CAAC;QACrB,aAAa,EAAE,MAAM,CAAC;QACtB,cAAc,EAAE,MAAM,CAAC;KACxB,CAAC;IAGF,KAAK,EAAE;QACL,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,UAAU,EAAE,MAAM,CAAC;QACnB,cAAc,EAAE,MAAM,CAAC;KACxB,CAAC;IAGF,OAAO,EAAE;QACP,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,MAAM,CAAC;QAClB,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,GAAG,EAAE,MAAM,CAAC;QACZ,YAAY,EAAE,MAAM,CAAC;QACrB,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,UAAU,EAAE,MAAM,CAAC;QACnB,WAAW,EAAE,MAAM,CAAC;QACpB,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,MA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+1,69 @@
1
+ export declare const viewerHeaderIcons: {
2
+ readonly logo: "\n <svg viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path d=\"M6 3h8l4 4v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z\" fill=\"currentColor\" opacity=\"0.15\"/>\n <path d=\"M6 3h8l4 4v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\"/>\n <path d=\"M14 3v4h4\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\"/>\n </svg>\n ";
3
+ readonly sun: "\n <svg viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <circle cx=\"12\" cy=\"12\" r=\"4\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\"/>\n <path d=\"M12 3v2M12 19v2M3 12h2M19 12h2M5.6 5.6l1.4 1.4M17 17l1.4 1.4M18.4 5.6L17 7M7 17l-1.4 1.4\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\"/>\n </svg>\n ";
4
+ readonly palette: "\n <svg t=\"1768717516920\" class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" width=\"32\" height=\"32\"><path d=\"M1004.12788 321.092L762.77088 79.735a68.267 68.267 0 0 0-96.546 0l-30.293 30.294a68.284 68.284 0 0 1-48.265 20.002H436.47388a68.181 68.181 0 0 1-48.265-20.002l-30.293-30.294a68.267 68.267 0 0 0-96.546 0L19.99588 321.092a68.267 68.267 0 0 0 0 96.546l96.546 96.547a67.84 67.84 0 0 0 66.645 17.271c10.804-3.072 21.675 4.181 21.675 15.411V896c0 37.547 30.72 68.267 68.267 68.267H750.99388c37.547 0 68.267-30.72 68.267-68.267V546.867c0-11.23 10.872-18.483 21.675-15.411a67.84 67.84 0 0 0 66.645-17.271l96.546-96.547a68.267 68.267 0 0 0 0-96.546z\" p-id=\"1577\" fill=\"currentColor\"></path></svg>\n ";
5
+ readonly moon: "\n <svg viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path d=\"M20 14.5a7.5 7.5 0 1 1-8.5-10 8 8 0 0 0 8.5 10z\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n </svg>\n ";
6
+ readonly bell: "\n <svg viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path d=\"M6 9a6 6 0 0 1 12 0v4l2 3H4l2-3V9z\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linejoin=\"round\"/>\n <path d=\"M9.5 19a2.5 2.5 0 0 0 5 0\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\"/>\n </svg>\n ";
7
+ readonly language: "\n <svg viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <circle cx=\"12\" cy=\"12\" r=\"9\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\"/>\n <ellipse cx=\"12\" cy=\"12\" rx=\"4\" ry=\"9\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\"/>\n <path d=\"M3 12h18\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\"/>\n </svg>\n ";
8
+ };
9
+ export declare const modalIcons: {
10
+ readonly close: "<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><line x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\"></line><line x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\"></line></svg>";
11
+ };
12
+ export declare const colorPickerIcons: {
13
+ readonly addColor: "<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"3\"><path d=\"M12 5v14M5 12h14\"/></svg>";
14
+ };
15
+ export declare const outlinePanelIcons: {
16
+ readonly toggleDown: "\n <svg viewBox=\"0 0 20 20\" aria-hidden=\"true\">\n <path d=\"M5 7l5 5 5-5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n </svg>\n ";
17
+ };
18
+ export declare const containerPanelTabIcons: Record<string, string>;
19
+ export declare const documentPropertiesIcons: {
20
+ readonly pdfFile: "\n <svg viewBox=\"0 0 24 24\" fill=\"none\">\n <path d=\"M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8l-6-6z\" fill=\"currentColor\" opacity=\"0.2\"/>\n <path d=\"M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8l-6-6z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M14 2v6h6\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <text x=\"7\" y=\"17\" font-size=\"6\" font-weight=\"bold\" fill=\"currentColor\">PDF</text>\n </svg>\n ";
21
+ };
22
+ export declare const templateUiIcons: {
23
+ readonly alignLeft: "<svg viewBox=\"0 0 24 24\" width=\"16\" height=\"16\" fill=\"currentColor\"><path d=\"M3 4h18v2H3V4zm0 7h12v2H3v-2zm0 7h18v2H3v-2z\"/></svg>";
24
+ readonly alignCenter: "<svg viewBox=\"0 0 24 24\" width=\"16\" height=\"16\" fill=\"currentColor\"><path d=\"M3 4h18v2H3V4zm4 7h10v2H7v-2zm-4 7h18v2H3v-2z\"/></svg>";
25
+ readonly alignRight: "<svg viewBox=\"0 0 24 24\" width=\"16\" height=\"16\" fill=\"currentColor\"><path d=\"M3 4h18v2H3V4zm6 7h12v2H9v-2zm-6 7h18v2H3v-2z\"/></svg>";
26
+ readonly emptyState: "\n <svg width=\"48\" height=\"48\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\" ry=\"2\"></rect>\n <line x1=\"9\" y1=\"3\" x2=\"9\" y2=\"21\"></line>\n </svg>\n ";
27
+ };
28
+ export declare const thumbnailPanelIcons: {
29
+ readonly deletePage: "\n <svg viewBox=\"0 0 20 20\" aria-hidden=\"true\">\n <path d=\"M4 6h12M8 6v8M12 6v8\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\"/>\n <path d=\"M7 4h6l1 2H6l1-2z\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linejoin=\"round\"/>\n <rect x=\"5\" y=\"6\" width=\"10\" height=\"10\" rx=\"2\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\"/>\n </svg>\n ";
30
+ };
31
+ export declare const annotationSummaryIcons: {
32
+ readonly toggleExpanded: "<svg viewBox=\"0 0 24 24\" width=\"16\" height=\"16\"><path d=\"M7 10l5 5 5-5z\" fill=\"currentColor\"/></svg>";
33
+ readonly toggleCollapsed: "<svg viewBox=\"0 0 24 24\" width=\"16\" height=\"16\"><path d=\"M10 17l5-5-5-5z\" fill=\"currentColor\"/></svg>";
34
+ readonly typeComment: "<svg viewBox=\"0 0 1024 1024\" width=\"16\" height=\"16\"><path d=\"M192 64h320a256 256 0 0 1 256 256v384H192V64z\" fill=\"#FFF7E8\" ></path><path d=\"M787.968 617.344a32 32 0 0 1 45.248 0l85.312 85.312a32 32 0 0 1 0 45.248L705.28 961.28a32.064 32.064 0 0 1-22.656 9.408H597.248a32 32 0 0 1-32-32v-85.376a32 32 0 0 1 9.408-22.656l213.312-213.312z m-158.72 249.216v40.128h40.064l181.312-181.376-40.064-40.128-181.312 181.376z\" fill=\"#FF7D00\" ></path><path d=\"M668.16 54.016a32.128 32.128 0 0 1 17.024 9.856l192 213.376c5.312 5.888 8.256 13.44 8.256 21.376v192h-64v-160H640a32 32 0 0 1-32-32V117.312H213.44A10.688 10.688 0 0 0 202.752 128v768c0 5.888 4.8 10.624 10.688 10.624h256v64h-256A74.688 74.688 0 0 1 138.752 896V128c0-41.216 33.472-74.688 74.688-74.688h448l6.656 0.64zM672 544h-384v-64h384v64zM512 352H288v-64H512v64z m160-85.376h109.568L672 144.96v121.664z\" fill=\"#4E5969\"></path></svg>";
35
+ readonly comments: "<svg viewBox=\"0 0 1024 1024\" width=\"200\" height=\"200\"><path d=\"M64 153.6h768v512H64v-512z\" fill=\"#EAF6F1\"></path><path d=\"M928 121.6a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H499.008L297.792 928.64a32 32 0 0 1-46.592-28.416V825.6H96a32 32 0 0 1-32-32v-640a32 32 0 0 1 32-32h832zM128 761.6h155.2a32 32 0 0 1 32 32v54.272l161.408-82.752 7.04-2.624a31.744 31.744 0 0 1 7.552-0.896H896v-576H128v576z\" fill=\"#4E5969\"></path><path d=\"M512 313.6v64H256v-64h256z\" fill=\"#4E5969\"></path><path d=\"M768 505.6v64H256v-64h512z\" fill=\"#2BA471\"></path></svg>";
36
+ readonly resolved: "<svg viewBox=\"0 0 1024 1024\" width=\"16\" height=\"16\"><path d=\"M960 512A448 448 0 1 1 64 512a448 448 0 0 1 896 0z m-512 173.248l288-288-45.248-45.248L448 594.752 333.248 480l-45.248 45.248 160 160z\" fill=\"currentColor\"></path></svg>";
37
+ readonly unresolved: "<svg viewBox=\"0 0 1024 1024\" width=\"16\" height=\"16\"><path d=\"M512 64a448 448 0 1 1 0 896A448 448 0 0 1 512 64z m0 64a384 384 0 1 0 0 768A384 384 0 0 0 512 128z m224 269.248l-288 288-160-160.064 45.184-45.184L448 594.752 690.752 352l45.248 45.248z\" fill=\"currentColor\"></path></svg>";
38
+ readonly delete: "<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" width=\"16\" height=\"16\"><polyline points=\"3 6 5 6 21 6\"/><path d=\"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\"/><line x1=\"10\" y1=\"11\" x2=\"10\" y2=\"17\"/><line x1=\"14\" y1=\"11\" x2=\"14\" y2=\"17\"/></svg>";
39
+ readonly avatar: "<svg viewBox=\"0 0 1024 1024\" width=\"16\" height=\"16\"><path d=\"M64 153.6h768v512H64v-512z\" fill=\"#EAF6F1\"></path><path d=\"M928 121.6a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H499.008L297.792 928.64a32 32 0 0 1-46.592-28.416V825.6H96a32 32 0 0 1-32-32v-640a32 32 0 0 1 32-32h832zM128 761.6h155.2a32 32 0 0 1 32 32v54.272l161.408-82.752 7.04-2.624a31.744 31.744 0 0 1 7.552-0.896H896v-576H128v576z\" fill=\"#4E5969\"></path><path d=\"M512 313.6v64H256v-64h256z\" fill=\"#4E5969\"></path><path d=\"M768 505.6v64H256v-64h512z\" fill=\"#2BA471\"></path></svg>";
40
+ readonly addComment: "\n <svg viewBox=\"0 0 1024 1024\" width=\"16\" height=\"16\"><path d=\"M882.944 144.512H141.12a28.672 28.672 0 0 0-29.12 29.056v556.416c0 14.528 14.528 29.056 29.12 29.056h138.176v105.472c0 10.88 7.232 21.76 14.528 25.472 3.648 3.584 7.296 3.584 10.88 3.584a27.776 27.776 0 0 0 18.176-7.232L479.36 759.04h403.648a31.296 31.296 0 0 0 29.056-29.056V173.504a28.672 28.672 0 0 0-29.056-29.056z m-29.12 556.352H472a27.776 27.776 0 0 0-18.176 7.296l-120 94.528v-72.704a31.296 31.296 0 0 0-29.12-29.12H170.24V202.688h687.296v498.176h-3.648z\" fill=\"currentColor\"></path><path d=\"M289.984 340.736h443.648v58.24H289.984v-58.24z m0 160h250.88v58.24h-250.88v-58.24z\" fill=\"currentColor\"></path></svg>\n ";
41
+ readonly more: "<svg viewBox=\"0 0 1024 1024\" width=\"16\" height=\"16\"><path d=\"M512 192a64 64 0 1 1 0 128 64 64 0 0 1 0-128z m0 256a64 64 0 1 1 0 128 64 64 0 0 1 0-128z m0 256a64 64 0 1 1 0 128 64 64 0 0 1 0-128z\" fill=\"currentColor\"></path></svg>";
42
+ readonly tabSearch: "\n <svg viewBox=\"0 0 1024 1024\" width=\"16\" height=\"16\"><path d=\"M761.28 476.672a284.672 284.672 0 1 0-569.28 0 284.672 284.672 0 0 0 569.28 0z m-61.76 268.096a348.672 348.672 0 1 1 45.248-45.248l151.296 151.296-45.248 45.248-151.296-151.296z\" fill=\"currentColor\"></path></svg>\n ";
43
+ readonly tabFilter: "\n <svg viewBox=\"0 0 1024 1024\" width=\"16\" height=\"16\"><path d=\"M128 160a32 32 0 0 0-27.776 47.872L352 648.512V832a32 32 0 0 0 32 32h256a32 32 0 0 0 32-32v-183.488l251.776-440.64A32 32 0 0 0 896 160H128z m274.56 448l-219.392-384h657.664l-219.392 384H402.56z m13.44 64h192v128h-192v-128z\" fill=\"currentColor\"></path></svg>\n ";
44
+ };
45
+ export declare const annotationCommentsPanelIcons: {
46
+ readonly send: "<svg viewBox=\"0 0 24 24\" fill=\"currentColor\" width=\"20\" height=\"20\"><path d=\"M2.01 21L23 12 2.01 3 2 10l15 2-15 2z\"/></svg>";
47
+ readonly navPrev: "<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" width=\"16\" height=\"16\"><path d=\"M18 15l-6-6-6 6\"/></svg>";
48
+ readonly navNext: "<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" width=\"16\" height=\"16\"><path d=\"M6 9l6 6 6-6\"/></svg>";
49
+ };
50
+ export declare const annotationSettingsIcons: {
51
+ readonly deleteButton: "<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><polyline points=\"3 6 5 6 21 6\"/><path d=\"M19 6v14a2 2 0 01-2 2H7a2 2 0 01-2-2V6m3 0V4a2 2 0 012-2h4a2 2 0 012 2v2\"/></svg>";
52
+ };
53
+ export declare const commentInputIcons: {
54
+ readonly imageUpload: "<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" width=\"20\" height=\"20\"><rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\" ry=\"2\"/><circle cx=\"8.5\" cy=\"8.5\" r=\"1.5\"/><polyline points=\"21 15 16 10 5 21\"/></svg>";
55
+ };
56
+ export declare const popupToolbarIcons: {
57
+ readonly comment: "\n <svg viewBox=\"0 0 1024 1024\" width=\"24\" height=\"24\"><path d=\"M882.944 144.512H141.12a28.672 28.672 0 0 0-29.12 29.056v556.416c0 14.528 14.528 29.056 29.12 29.056h138.176v105.472c0 10.88 7.232 21.76 14.528 25.472 3.648 3.584 7.296 3.584 10.88 3.584a27.776 27.776 0 0 0 18.176-7.232L479.36 759.04h403.648a31.296 31.296 0 0 0 29.056-29.056V173.504a28.672 28.672 0 0 0-29.056-29.056z m-29.12 556.352H472a27.776 27.776 0 0 0-18.176 7.296l-120 94.528v-72.704a31.296 31.296 0 0 0-29.12-29.12H170.24V202.688h687.296v498.176h-3.648z\" fill=\"currentColor\"></path><path d=\"M289.984 340.736h443.648v58.24H289.984v-58.24z m0 160h250.88v58.24h-250.88v-58.24z\" fill=\"currentColor\"></path></svg>\n ";
58
+ readonly delete: "<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><polyline points=\"3 6 5 6 21 6\"/><path d=\"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\"/><line x1=\"10\" y1=\"11\" x2=\"10\" y2=\"17\"/><line x1=\"14\" y1=\"11\" x2=\"14\" y2=\"17\"/></svg>";
59
+ };
60
+ export declare const strokeStyleButtonIcons: Record<"solid" | "dash" | "dot", string>;
61
+ export declare const arrowStyleButtonIcons: Record<"none" | "standard" | "tapered" | "hollow", string>;
62
+ export declare const stylePickerLineIcons: Record<"solid" | "dash" | "dot", string>;
63
+ export declare const stylePickerArrowIcons: Record<"none" | "standard" | "tapered" | "hollow", string>;
64
+ export declare const pluginExampleIcons: {
65
+ readonly stamp: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M5 22h14\"/><path d=\"M19 16H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2z\"/><path d=\"M12 6V2\"/></svg>";
66
+ readonly share: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><circle cx=\"18\" cy=\"5\" r=\"3\"/><circle cx=\"6\" cy=\"12\" r=\"3\"/><circle cx=\"18\" cy=\"19\" r=\"3\"/><line x1=\"8.59\" y1=\"13.51\" x2=\"15.42\" y2=\"17.49\"/><line x1=\"15.41\" y1=\"6.51\" x2=\"8.59\" y2=\"10.49\"/></svg>";
67
+ readonly readingProgress: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><line x1=\"12\" y1=\"20\" x2=\"12\" y2=\"10\"/><line x1=\"18\" y1=\"20\" x2=\"18\" y2=\"4\"/><line x1=\"6\" y1=\"20\" x2=\"6\" y2=\"16\"/></svg>";
68
+ };
69
+ //# sourceMappingURL=icon-registry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-registry.d.ts","sourceRoot":"","sources":["../../src/icons/icon-registry.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB;;;;;;;CAmCpB,CAAC;AAEX,eAAO,MAAM,UAAU;;CAEb,CAAC;AAEX,eAAO,MAAM,gBAAgB;;CAEnB,CAAC;AAEX,eAAO,MAAM,iBAAiB;;CAMpB,CAAC;AAEX,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CASzD,CAAC;AAEF,eAAO,MAAM,uBAAuB;;CAS1B,CAA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