@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.
- package/LICENSE +21 -0
- package/README.md +90 -0
- package/dist/components/annotation-menu.d.ts +9 -0
- package/dist/components/annotation-menu.d.ts.map +1 -0
- package/dist/components/annotation-sidebar/common.d.ts +10 -0
- package/dist/components/annotation-sidebar/common.d.ts.map +1 -0
- package/dist/components/annotation-sidebar/empty-state.d.ts +7 -0
- package/dist/components/annotation-sidebar/empty-state.d.ts.map +1 -0
- package/dist/components/annotation-sidebar/free-text-sidebar.d.ts +5 -0
- package/dist/components/annotation-sidebar/free-text-sidebar.d.ts.map +1 -0
- package/dist/components/annotation-sidebar/ink-sidebar.d.ts +5 -0
- package/dist/components/annotation-sidebar/ink-sidebar.d.ts.map +1 -0
- package/dist/components/annotation-sidebar/line-sidebar.d.ts +5 -0
- package/dist/components/annotation-sidebar/line-sidebar.d.ts.map +1 -0
- package/dist/components/annotation-sidebar/polygon-sidebar.d.ts +5 -0
- package/dist/components/annotation-sidebar/polygon-sidebar.d.ts.map +1 -0
- package/dist/components/annotation-sidebar/registry.d.ts +19 -0
- package/dist/components/annotation-sidebar/registry.d.ts.map +1 -0
- package/dist/components/annotation-sidebar/shape-sidebar.d.ts +5 -0
- package/dist/components/annotation-sidebar/shape-sidebar.d.ts.map +1 -0
- package/dist/components/annotation-sidebar/stamp-sidebar.d.ts +5 -0
- package/dist/components/annotation-sidebar/stamp-sidebar.d.ts.map +1 -0
- package/dist/components/annotation-sidebar/text-markup-sidebar.d.ts +5 -0
- package/dist/components/annotation-sidebar/text-markup-sidebar.d.ts.map +1 -0
- package/dist/components/annotation-sidebar/ui.d.ts +72 -0
- package/dist/components/annotation-sidebar/ui.d.ts.map +1 -0
- package/dist/components/annotation-sidebar.d.ts +6 -0
- package/dist/components/annotation-sidebar.d.ts.map +1 -0
- package/dist/components/app.d.ts +108 -0
- package/dist/components/app.d.ts.map +1 -0
- package/dist/components/capture.d.ts +3 -0
- package/dist/components/capture.d.ts.map +1 -0
- package/dist/components/command-button.d.ts +15 -0
- package/dist/components/command-button.d.ts.map +1 -0
- package/dist/components/comment-sidebar/annotation-card.d.ts +14 -0
- package/dist/components/comment-sidebar/annotation-card.d.ts.map +1 -0
- package/dist/components/comment-sidebar/annotation-icon.d.ts +9 -0
- package/dist/components/comment-sidebar/annotation-icon.d.ts.map +1 -0
- package/dist/components/comment-sidebar/annotation-input.d.ts +10 -0
- package/dist/components/comment-sidebar/annotation-input.d.ts.map +1 -0
- package/dist/components/comment-sidebar/comment.d.ts +12 -0
- package/dist/components/comment-sidebar/comment.d.ts.map +1 -0
- package/dist/components/comment-sidebar/config.d.ts +15 -0
- package/dist/components/comment-sidebar/config.d.ts.map +1 -0
- package/dist/components/comment-sidebar/edit-comment-form.d.ts +11 -0
- package/dist/components/comment-sidebar/edit-comment-form.d.ts.map +1 -0
- package/dist/components/comment-sidebar/empty-state.d.ts +7 -0
- package/dist/components/comment-sidebar/empty-state.d.ts.map +1 -0
- package/dist/components/comment-sidebar/menu-dropdown.d.ts +10 -0
- package/dist/components/comment-sidebar/menu-dropdown.d.ts.map +1 -0
- package/dist/components/comment-sidebar/truncated-text.d.ts +10 -0
- package/dist/components/comment-sidebar/truncated-text.d.ts.map +1 -0
- package/dist/components/comment-sidebar/user-avatar.d.ts +8 -0
- package/dist/components/comment-sidebar/user-avatar.d.ts.map +1 -0
- package/dist/components/comment-sidebar.d.ts +6 -0
- package/dist/components/comment-sidebar.d.ts.map +1 -0
- package/dist/components/custom-zoom-toolbar.d.ts +24 -0
- package/dist/components/custom-zoom-toolbar.d.ts.map +1 -0
- package/dist/components/document-password-prompt.d.ts +8 -0
- package/dist/components/document-password-prompt.d.ts.map +1 -0
- package/dist/components/empty-state.d.ts +3 -0
- package/dist/components/empty-state.d.ts.map +1 -0
- package/dist/components/hint-layer.d.ts +3 -0
- package/dist/components/hint-layer.d.ts.map +1 -0
- package/dist/components/icons/alert-triangle.d.ts +4 -0
- package/dist/components/icons/alert-triangle.d.ts.map +1 -0
- package/dist/components/icons/align-bottom.d.ts +4 -0
- package/dist/components/icons/align-bottom.d.ts.map +1 -0
- package/dist/components/icons/align-center.d.ts +4 -0
- package/dist/components/icons/align-center.d.ts.map +1 -0
- package/dist/components/icons/align-left.d.ts +4 -0
- package/dist/components/icons/align-left.d.ts.map +1 -0
- package/dist/components/icons/align-middle.d.ts +4 -0
- package/dist/components/icons/align-middle.d.ts.map +1 -0
- package/dist/components/icons/align-right.d.ts +4 -0
- package/dist/components/icons/align-right.d.ts.map +1 -0
- package/dist/components/icons/align-top.d.ts +4 -0
- package/dist/components/icons/align-top.d.ts.map +1 -0
- package/dist/components/icons/arrow-back-up.d.ts +4 -0
- package/dist/components/icons/arrow-back-up.d.ts.map +1 -0
- package/dist/components/icons/arrow-forward-up.d.ts +4 -0
- package/dist/components/icons/arrow-forward-up.d.ts.map +1 -0
- package/dist/components/icons/bold.d.ts +4 -0
- package/dist/components/icons/bold.d.ts.map +1 -0
- package/dist/components/icons/book.d.ts +4 -0
- package/dist/components/icons/book.d.ts.map +1 -0
- package/dist/components/icons/book2.d.ts +4 -0
- package/dist/components/icons/book2.d.ts.map +1 -0
- package/dist/components/icons/check.d.ts +4 -0
- package/dist/components/icons/check.d.ts.map +1 -0
- package/dist/components/icons/chevron-down.d.ts +4 -0
- package/dist/components/icons/chevron-down.d.ts.map +1 -0
- package/dist/components/icons/chevron-left.d.ts +4 -0
- package/dist/components/icons/chevron-left.d.ts.map +1 -0
- package/dist/components/icons/chevron-right.d.ts +4 -0
- package/dist/components/icons/chevron-right.d.ts.map +1 -0
- package/dist/components/icons/circle.d.ts +4 -0
- package/dist/components/icons/circle.d.ts.map +1 -0
- package/dist/components/icons/comment.d.ts +4 -0
- package/dist/components/icons/comment.d.ts.map +1 -0
- package/dist/components/icons/copy.d.ts +4 -0
- package/dist/components/icons/copy.d.ts.map +1 -0
- package/dist/components/icons/device-floppy.d.ts +4 -0
- package/dist/components/icons/device-floppy.d.ts.map +1 -0
- package/dist/components/icons/dots.d.ts +4 -0
- package/dist/components/icons/dots.d.ts.map +1 -0
- package/dist/components/icons/double-page.d.ts +4 -0
- package/dist/components/icons/double-page.d.ts.map +1 -0
- package/dist/components/icons/download.d.ts +4 -0
- package/dist/components/icons/download.d.ts.map +1 -0
- package/dist/components/icons/file-import.d.ts +4 -0
- package/dist/components/icons/file-import.d.ts.map +1 -0
- package/dist/components/icons/file.d.ts +4 -0
- package/dist/components/icons/file.d.ts.map +1 -0
- package/dist/components/icons/fit-to-page.d.ts +4 -0
- package/dist/components/icons/fit-to-page.d.ts.map +1 -0
- package/dist/components/icons/fit-to-width.d.ts +4 -0
- package/dist/components/icons/fit-to-width.d.ts.map +1 -0
- package/dist/components/icons/fullscreen-exit.d.ts +4 -0
- package/dist/components/icons/fullscreen-exit.d.ts.map +1 -0
- package/dist/components/icons/fullscreen.d.ts +4 -0
- package/dist/components/icons/fullscreen.d.ts.map +1 -0
- package/dist/components/icons/hand.d.ts +4 -0
- package/dist/components/icons/hand.d.ts.map +1 -0
- package/dist/components/icons/highlight.d.ts +4 -0
- package/dist/components/icons/highlight.d.ts.map +1 -0
- package/dist/components/icons/horizontal.d.ts +4 -0
- package/dist/components/icons/horizontal.d.ts.map +1 -0
- package/dist/components/icons/index.d.ts +6 -0
- package/dist/components/icons/index.d.ts.map +1 -0
- package/dist/components/icons/italic.d.ts +4 -0
- package/dist/components/icons/italic.d.ts.map +1 -0
- package/dist/components/icons/line-arrow.d.ts +4 -0
- package/dist/components/icons/line-arrow.d.ts.map +1 -0
- package/dist/components/icons/line.d.ts +4 -0
- package/dist/components/icons/line.d.ts.map +1 -0
- package/dist/components/icons/list-tree.d.ts +4 -0
- package/dist/components/icons/list-tree.d.ts.map +1 -0
- package/dist/components/icons/lock.d.ts +4 -0
- package/dist/components/icons/lock.d.ts.map +1 -0
- package/dist/components/icons/menu.d.ts +4 -0
- package/dist/components/icons/menu.d.ts.map +1 -0
- package/dist/components/icons/palette.d.ts +4 -0
- package/dist/components/icons/palette.d.ts.map +1 -0
- package/dist/components/icons/paperclip.d.ts +4 -0
- package/dist/components/icons/paperclip.d.ts.map +1 -0
- package/dist/components/icons/pencil-marker.d.ts +4 -0
- package/dist/components/icons/pencil-marker.d.ts.map +1 -0
- package/dist/components/icons/photo.d.ts +4 -0
- package/dist/components/icons/photo.d.ts.map +1 -0
- package/dist/components/icons/plus.d.ts +4 -0
- package/dist/components/icons/plus.d.ts.map +1 -0
- package/dist/components/icons/pointer.d.ts +4 -0
- package/dist/components/icons/pointer.d.ts.map +1 -0
- package/dist/components/icons/polygon.d.ts +4 -0
- package/dist/components/icons/polygon.d.ts.map +1 -0
- package/dist/components/icons/print.d.ts +4 -0
- package/dist/components/icons/print.d.ts.map +1 -0
- package/dist/components/icons/redact-area.d.ts +4 -0
- package/dist/components/icons/redact-area.d.ts.map +1 -0
- package/dist/components/icons/redact.d.ts +4 -0
- package/dist/components/icons/redact.d.ts.map +1 -0
- package/dist/components/icons/rotate-clockwise.d.ts +4 -0
- package/dist/components/icons/rotate-clockwise.d.ts.map +1 -0
- package/dist/components/icons/rotate-counter-clockwise.d.ts +4 -0
- package/dist/components/icons/rotate-counter-clockwise.d.ts.map +1 -0
- package/dist/components/icons/save.d.ts +4 -0
- package/dist/components/icons/save.d.ts.map +1 -0
- package/dist/components/icons/screenshot.d.ts +4 -0
- package/dist/components/icons/screenshot.d.ts.map +1 -0
- package/dist/components/icons/search.d.ts +4 -0
- package/dist/components/icons/search.d.ts.map +1 -0
- package/dist/components/icons/settings.d.ts +4 -0
- package/dist/components/icons/settings.d.ts.map +1 -0
- package/dist/components/icons/sidebar.d.ts +4 -0
- package/dist/components/icons/sidebar.d.ts.map +1 -0
- package/dist/components/icons/single-page.d.ts +4 -0
- package/dist/components/icons/single-page.d.ts.map +1 -0
- package/dist/components/icons/square.d.ts +4 -0
- package/dist/components/icons/square.d.ts.map +1 -0
- package/dist/components/icons/squares.d.ts +4 -0
- package/dist/components/icons/squares.d.ts.map +1 -0
- package/dist/components/icons/squiggly.d.ts +4 -0
- package/dist/components/icons/squiggly.d.ts.map +1 -0
- package/dist/components/icons/strikethrough.d.ts +4 -0
- package/dist/components/icons/strikethrough.d.ts.map +1 -0
- package/dist/components/icons/text.d.ts +4 -0
- package/dist/components/icons/text.d.ts.map +1 -0
- package/dist/components/icons/trash.d.ts +4 -0
- package/dist/components/icons/trash.d.ts.map +1 -0
- package/dist/components/icons/types.d.ts +11 -0
- package/dist/components/icons/types.d.ts.map +1 -0
- package/dist/components/icons/underline.d.ts +4 -0
- package/dist/components/icons/underline.d.ts.map +1 -0
- package/dist/components/icons/vertical.d.ts +4 -0
- package/dist/components/icons/vertical.d.ts.map +1 -0
- package/dist/components/icons/view-settings.d.ts +4 -0
- package/dist/components/icons/view-settings.d.ts.map +1 -0
- package/dist/components/icons/x.d.ts +4 -0
- package/dist/components/icons/x.d.ts.map +1 -0
- package/dist/components/icons/zigzag.d.ts +4 -0
- package/dist/components/icons/zigzag.d.ts.map +1 -0
- package/dist/components/icons/zoom-in-area.d.ts +4 -0
- package/dist/components/icons/zoom-in-area.d.ts.map +1 -0
- package/dist/components/icons/zoom-in.d.ts +4 -0
- package/dist/components/icons/zoom-in.d.ts.map +1 -0
- package/dist/components/icons/zoom-out.d.ts +4 -0
- package/dist/components/icons/zoom-out.d.ts.map +1 -0
- package/dist/components/locale-switcher.d.ts +8 -0
- package/dist/components/locale-switcher.d.ts.map +1 -0
- package/dist/components/mode-select-button.d.ts +8 -0
- package/dist/components/mode-select-button.d.ts.map +1 -0
- package/dist/components/outline-sidebar.d.ts +7 -0
- package/dist/components/outline-sidebar.d.ts.map +1 -0
- package/dist/components/page-controls.d.ts +7 -0
- package/dist/components/page-controls.d.ts.map +1 -0
- package/dist/components/print-modal.d.ts +10 -0
- package/dist/components/print-modal.d.ts.map +1 -0
- package/dist/components/redaction-menu.d.ts +10 -0
- package/dist/components/redaction-menu.d.ts.map +1 -0
- package/dist/components/search-sidebar.d.ts +8 -0
- package/dist/components/search-sidebar.d.ts.map +1 -0
- package/dist/components/tab-bar.d.ts +14 -0
- package/dist/components/tab-bar.d.ts.map +1 -0
- package/dist/components/thumbnails-sidebar.d.ts +8 -0
- package/dist/components/thumbnails-sidebar.d.ts.map +1 -0
- package/dist/components/ui/button.d.ts +14 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/checkbox.d.ts +9 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/dialog.d.ts +22 -0
- package/dist/components/ui/dialog.d.ts.map +1 -0
- package/dist/components/ui/dropdown.d.ts +23 -0
- package/dist/components/ui/dropdown.d.ts.map +1 -0
- package/dist/components/ui/icon.d.ts +20 -0
- package/dist/components/ui/icon.d.ts.map +1 -0
- package/dist/components/ui/loading-indicator.d.ts +17 -0
- package/dist/components/ui/loading-indicator.d.ts.map +1 -0
- package/dist/components/ui/tab-button.d.ts +12 -0
- package/dist/components/ui/tab-button.d.ts.map +1 -0
- package/dist/components/ui/toggle-button.d.ts +15 -0
- package/dist/components/ui/toggle-button.d.ts.map +1 -0
- package/dist/components/ui/tooltip.d.ts +14 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/components/utils.d.ts +2 -0
- package/dist/components/utils.d.ts.map +1 -0
- package/dist/config/commands.d.ts +4 -0
- package/dist/config/commands.d.ts.map +1 -0
- package/dist/config/icon-registry.d.ts +116 -0
- package/dist/config/icon-registry.d.ts.map +1 -0
- package/dist/config/index.d.ts +6 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/theme.d.ts +147 -0
- package/dist/config/theme.d.ts.map +1 -0
- package/dist/config/translations.d.ts +8 -0
- package/dist/config/translations.d.ts.map +1 -0
- package/dist/config/types.d.ts +32 -0
- package/dist/config/types.d.ts.map +1 -0
- package/dist/config/ui-schema.d.ts +9 -0
- package/dist/config/ui-schema.d.ts.map +1 -0
- package/dist/demo-annotations.pdf +0 -0
- package/dist/demo.pdf +0 -0
- package/dist/direct-engine-ce9b01ae.js +1 -0
- package/dist/ebook.pdf +0 -0
- package/dist/embedpdf-9ae31302.js +3 -0
- package/dist/embedpdf.d.ts +45 -0
- package/dist/embedpdf.d.ts.map +1 -0
- package/dist/embedpdf.js +1 -0
- package/dist/hooks/use-click-outside.d.ts +3 -0
- package/dist/hooks/use-click-outside.d.ts.map +1 -0
- package/dist/hooks/use-debounce.d.ts +2 -0
- package/dist/hooks/use-debounce.d.ts.map +1 -0
- package/dist/hooks/use-swipe-gesture.d.ts +5 -0
- package/dist/hooks/use-swipe-gesture.d.ts.map +1 -0
- package/dist/index.html +32 -0
- package/dist/pdfium.wasm +0 -0
- package/dist/ui/hooks/use-container-breakpoint.d.ts +10 -0
- package/dist/ui/hooks/use-container-breakpoint.d.ts.map +1 -0
- package/dist/ui/schema-menu.d.ts +9 -0
- package/dist/ui/schema-menu.d.ts.map +1 -0
- package/dist/ui/schema-modal.d.ts +17 -0
- package/dist/ui/schema-modal.d.ts.map +1 -0
- package/dist/ui/schema-overlay.d.ts +16 -0
- package/dist/ui/schema-overlay.d.ts.map +1 -0
- package/dist/ui/schema-selection-menu.d.ts +4 -0
- package/dist/ui/schema-selection-menu.d.ts.map +1 -0
- package/dist/ui/schema-sidebar.d.ts +9 -0
- package/dist/ui/schema-sidebar.d.ts.map +1 -0
- package/dist/ui/schema-toolbar.d.ts +13 -0
- package/dist/ui/schema-toolbar.d.ts.map +1 -0
- package/dist/web-components/container.d.ts +65 -0
- package/dist/web-components/container.d.ts.map +1 -0
- package/dist/worker-engine-892a0577.js +1 -0
- 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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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"}
|