@self-review/serve 1.45.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/README.md +128 -0
- package/dist/cli.js +839 -0
- package/dist/cli.js.map +1 -0
- package/dist/client/assets/_basePickBy-DzL66huQ.js +1 -0
- package/dist/client/assets/_baseUniq-D_kA9hnK.js +1 -0
- package/dist/client/assets/arc-LxCcHggQ.js +1 -0
- package/dist/client/assets/architectureDiagram-VXUJARFQ-BmSW2FCh.js +36 -0
- package/dist/client/assets/blockDiagram-VD42YOAC-Duz6oS5b.js +122 -0
- package/dist/client/assets/c4Diagram-YG6GDRKO-Bv4P72yB.js +10 -0
- package/dist/client/assets/channel-ydExFSqY.js +1 -0
- package/dist/client/assets/chunk-4BX2VUAB-D2GfUqwd.js +1 -0
- package/dist/client/assets/chunk-55IACEB6-C68L7s0h.js +1 -0
- package/dist/client/assets/chunk-B4BG7PRW-BtVwfswM.js +165 -0
- package/dist/client/assets/chunk-DI55MBZ5-BDdO91wt.js +220 -0
- package/dist/client/assets/chunk-FMBD7UC4-tB9OepVI.js +15 -0
- package/dist/client/assets/chunk-QN33PNHL-HjKgp1PB.js +1 -0
- package/dist/client/assets/chunk-QZHKN3VN-GT04-vw7.js +1 -0
- package/dist/client/assets/chunk-TZMSLE5B-DpxXSXMp.js +1 -0
- package/dist/client/assets/classDiagram-2ON5EDUG-Dg8dmmRD.js +1 -0
- package/dist/client/assets/classDiagram-v2-WZHVMYZB-Dg8dmmRD.js +1 -0
- package/dist/client/assets/clone-Bq6xpRgi.js +1 -0
- package/dist/client/assets/cose-bilkent-S5V4N54A-Ds41oEbD.js +1 -0
- package/dist/client/assets/cytoscape.esm-5J0xJHOV.js +321 -0
- package/dist/client/assets/dagre-6UL2VRFP-DZiEousR.js +4 -0
- package/dist/client/assets/defaultLocale-DX6XiGOO.js +1 -0
- package/dist/client/assets/diagram-PSM6KHXK-0_alnUMs.js +24 -0
- package/dist/client/assets/diagram-QEK2KX5R-KFaKVdU8.js +43 -0
- package/dist/client/assets/diagram-S2PKOQOG-C2Dy10VG.js +24 -0
- package/dist/client/assets/erDiagram-Q2GNP2WA-_P7rrcgu.js +60 -0
- package/dist/client/assets/flowDiagram-NV44I4VS-BvC6gSn5.js +162 -0
- package/dist/client/assets/ganttDiagram-JELNMOA3-DjzuVPeB.js +267 -0
- package/dist/client/assets/gitGraphDiagram-V2S2FVAM-B9fPDqqA.js +65 -0
- package/dist/client/assets/graph-BqLQdgDA.js +1 -0
- package/dist/client/assets/index-CAXQd1OO.js +286 -0
- package/dist/client/assets/index-CmSvc3Wo.css +1 -0
- package/dist/client/assets/infoDiagram-HS3SLOUP-DiMCwlkY.js +2 -0
- package/dist/client/assets/init-Gi6I4Gst.js +1 -0
- package/dist/client/assets/journeyDiagram-XKPGCS4Q-Dn5WdzPP.js +139 -0
- package/dist/client/assets/kanban-definition-3W4ZIXB7-D-BINTOt.js +89 -0
- package/dist/client/assets/katex-DhXJpUyf.js +261 -0
- package/dist/client/assets/layout-Bo5pDIcD.js +1 -0
- package/dist/client/assets/linear-CNmY37sq.js +1 -0
- package/dist/client/assets/mermaid.core-DfADLZQ1.js +250 -0
- package/dist/client/assets/mindmap-definition-VGOIOE7T-H5HwEwuX.js +68 -0
- package/dist/client/assets/ordinal-Cboi1Yqb.js +1 -0
- package/dist/client/assets/pieDiagram-ADFJNKIX-RiZa5XQN.js +30 -0
- package/dist/client/assets/quadrantDiagram-AYHSOK5B-CFFX55h2.js +7 -0
- package/dist/client/assets/requirementDiagram-UZGBJVZJ-B6JBcV1I.js +64 -0
- package/dist/client/assets/sankeyDiagram-TZEHDZUN-GZT80dnc.js +10 -0
- package/dist/client/assets/sequenceDiagram-WL72ISMW-CbUqoUma.js +145 -0
- package/dist/client/assets/stateDiagram-FKZM4ZOC-LEb-ZQVV.js +1 -0
- package/dist/client/assets/stateDiagram-v2-4FDKWEC3-BYGHA8iw.js +1 -0
- package/dist/client/assets/timeline-definition-IT6M3QCI-Cm1Kd50N.js +61 -0
- package/dist/client/assets/treemap-GDKQZRPO-CWXk-dEb.js +160 -0
- package/dist/client/assets/xychartDiagram-PRI3JC2R-BUllxp6G.js +7 -0
- package/dist/client/index.html +29 -0
- package/dist/core/src/apply-suggestion.d.ts +76 -0
- package/dist/core/src/apply-suggestion.d.ts.map +1 -0
- package/dist/core/src/apply-suggestion.js +109 -0
- package/dist/core/src/apply-suggestion.js.map +1 -0
- package/dist/core/src/config.d.ts +3 -0
- package/dist/core/src/config.d.ts.map +1 -0
- package/dist/core/src/config.js +196 -0
- package/dist/core/src/config.js.map +1 -0
- package/dist/core/src/diff-parser.d.ts +3 -0
- package/dist/core/src/diff-parser.d.ts.map +1 -0
- package/dist/core/src/diff-parser.js +236 -0
- package/dist/core/src/diff-parser.js.map +1 -0
- package/dist/core/src/directory-scanner.d.ts +18 -0
- package/dist/core/src/directory-scanner.d.ts.map +1 -0
- package/dist/core/src/directory-scanner.js +99 -0
- package/dist/core/src/directory-scanner.js.map +1 -0
- package/dist/core/src/fetch-comments.d.ts +69 -0
- package/dist/core/src/fetch-comments.d.ts.map +1 -0
- package/dist/core/src/fetch-comments.js +180 -0
- package/dist/core/src/fetch-comments.js.map +1 -0
- package/dist/core/src/file-type-utils.d.ts +16 -0
- package/dist/core/src/file-type-utils.d.ts.map +1 -0
- package/dist/core/src/file-type-utils.js +106 -0
- package/dist/core/src/file-type-utils.js.map +1 -0
- package/dist/core/src/forge-provider.d.ts +123 -0
- package/dist/core/src/forge-provider.d.ts.map +1 -0
- package/dist/core/src/forge-provider.js +68 -0
- package/dist/core/src/forge-provider.js.map +1 -0
- package/dist/core/src/fs-utils.d.ts +7 -0
- package/dist/core/src/fs-utils.d.ts.map +1 -0
- package/dist/core/src/fs-utils.js +20 -0
- package/dist/core/src/fs-utils.js.map +1 -0
- package/dist/core/src/git-diff-args.d.ts +38 -0
- package/dist/core/src/git-diff-args.d.ts.map +1 -0
- package/dist/core/src/git-diff-args.js +170 -0
- package/dist/core/src/git-diff-args.js.map +1 -0
- package/dist/core/src/git-diff-loader.d.ts +14 -0
- package/dist/core/src/git-diff-loader.d.ts.map +1 -0
- package/dist/core/src/git-diff-loader.js +30 -0
- package/dist/core/src/git-diff-loader.js.map +1 -0
- package/dist/core/src/git.d.ts +52 -0
- package/dist/core/src/git.d.ts.map +1 -0
- package/dist/core/src/git.js +191 -0
- package/dist/core/src/git.js.map +1 -0
- package/dist/core/src/github-provider.d.ts +7 -0
- package/dist/core/src/github-provider.d.ts.map +1 -0
- package/dist/core/src/github-provider.js +151 -0
- package/dist/core/src/github-provider.js.map +1 -0
- package/dist/core/src/gitlab-provider.d.ts +10 -0
- package/dist/core/src/gitlab-provider.d.ts.map +1 -0
- package/dist/core/src/gitlab-provider.js +207 -0
- package/dist/core/src/gitlab-provider.js.map +1 -0
- package/dist/core/src/guide-loader.d.ts +23 -0
- package/dist/core/src/guide-loader.d.ts.map +1 -0
- package/dist/core/src/guide-loader.js +95 -0
- package/dist/core/src/guide-loader.js.map +1 -0
- package/dist/core/src/guide-parser.d.ts +34 -0
- package/dist/core/src/guide-parser.d.ts.map +1 -0
- package/dist/core/src/guide-parser.js +136 -0
- package/dist/core/src/guide-parser.js.map +1 -0
- package/dist/core/src/guide-schema.d.ts +2 -0
- package/dist/core/src/guide-schema.d.ts.map +1 -0
- package/dist/core/src/guide-schema.js +202 -0
- package/dist/core/src/guide-schema.js.map +1 -0
- package/dist/core/src/ignore-filter.d.ts +8 -0
- package/dist/core/src/ignore-filter.d.ts.map +1 -0
- package/dist/core/src/ignore-filter.js +16 -0
- package/dist/core/src/ignore-filter.js.map +1 -0
- package/dist/core/src/index.d.ts +38 -0
- package/dist/core/src/index.d.ts.map +1 -0
- package/dist/core/src/index.js +54 -0
- package/dist/core/src/index.js.map +1 -0
- package/dist/core/src/materializer.d.ts +60 -0
- package/dist/core/src/materializer.d.ts.map +1 -0
- package/dist/core/src/materializer.js +255 -0
- package/dist/core/src/materializer.js.map +1 -0
- package/dist/core/src/payload-sizing.d.ts +20 -0
- package/dist/core/src/payload-sizing.d.ts.map +1 -0
- package/dist/core/src/payload-sizing.js +74 -0
- package/dist/core/src/payload-sizing.js.map +1 -0
- package/dist/core/src/remote-mode.d.ts +89 -0
- package/dist/core/src/remote-mode.d.ts.map +1 -0
- package/dist/core/src/remote-mode.js +193 -0
- package/dist/core/src/remote-mode.js.map +1 -0
- package/dist/core/src/review-handlers.d.ts +160 -0
- package/dist/core/src/review-handlers.d.ts.map +1 -0
- package/dist/core/src/review-handlers.js +463 -0
- package/dist/core/src/review-handlers.js.map +1 -0
- package/dist/core/src/staged-untracked.d.ts +12 -0
- package/dist/core/src/staged-untracked.d.ts.map +1 -0
- package/dist/core/src/staged-untracked.js +21 -0
- package/dist/core/src/staged-untracked.js.map +1 -0
- package/dist/core/src/startup-mode.d.ts +6 -0
- package/dist/core/src/startup-mode.d.ts.map +1 -0
- package/dist/core/src/startup-mode.js +73 -0
- package/dist/core/src/startup-mode.js.map +1 -0
- package/dist/core/src/synthetic-diff.d.ts +21 -0
- package/dist/core/src/synthetic-diff.d.ts.map +1 -0
- package/dist/core/src/synthetic-diff.js +104 -0
- package/dist/core/src/synthetic-diff.js.map +1 -0
- package/dist/core/src/thread-mapper.d.ts +39 -0
- package/dist/core/src/thread-mapper.d.ts.map +1 -0
- package/dist/core/src/thread-mapper.js +217 -0
- package/dist/core/src/thread-mapper.js.map +1 -0
- package/dist/core/src/types.d.ts +2 -0
- package/dist/core/src/types.d.ts.map +1 -0
- package/dist/core/src/types.js +2 -0
- package/dist/core/src/types.js.map +1 -0
- package/dist/core/src/xml-parser.d.ts +15 -0
- package/dist/core/src/xml-parser.d.ts.map +1 -0
- package/dist/core/src/xml-parser.js +237 -0
- package/dist/core/src/xml-parser.js.map +1 -0
- package/dist/core/src/xml-serializer.d.ts +4 -0
- package/dist/core/src/xml-serializer.d.ts.map +1 -0
- package/dist/core/src/xml-serializer.js +923 -0
- package/dist/core/src/xml-serializer.js.map +1 -0
- package/dist/react/src/ReviewPanel.d.ts +72 -0
- package/dist/react/src/ReviewPanel.d.ts.map +1 -0
- package/dist/react/src/ReviewPanel.js +51 -0
- package/dist/react/src/ReviewPanel.js.map +1 -0
- package/dist/react/src/SingleFileReview.d.ts +49 -0
- package/dist/react/src/SingleFileReview.d.ts.map +1 -0
- package/dist/react/src/SingleFileReview.js +41 -0
- package/dist/react/src/SingleFileReview.js.map +1 -0
- package/dist/react/src/adapter.d.ts +72 -0
- package/dist/react/src/adapter.d.ts.map +1 -0
- package/dist/react/src/adapter.js +2 -0
- package/dist/react/src/adapter.js.map +1 -0
- package/dist/react/src/components/Comments/AttachmentDropZone.d.ts +10 -0
- package/dist/react/src/components/Comments/AttachmentDropZone.d.ts.map +1 -0
- package/dist/react/src/components/Comments/AttachmentDropZone.js +52 -0
- package/dist/react/src/components/Comments/AttachmentDropZone.js.map +1 -0
- package/dist/react/src/components/Comments/AttachmentImage.d.ts +6 -0
- package/dist/react/src/components/Comments/AttachmentImage.d.ts.map +1 -0
- package/dist/react/src/components/Comments/AttachmentImage.js +50 -0
- package/dist/react/src/components/Comments/AttachmentImage.js.map +1 -0
- package/dist/react/src/components/Comments/AttachmentThumbnail.d.ts +6 -0
- package/dist/react/src/components/Comments/AttachmentThumbnail.d.ts.map +1 -0
- package/dist/react/src/components/Comments/AttachmentThumbnail.js +16 -0
- package/dist/react/src/components/Comments/AttachmentThumbnail.js.map +1 -0
- package/dist/react/src/components/Comments/CategorySelector.d.ts +6 -0
- package/dist/react/src/components/Comments/CategorySelector.d.ts.map +1 -0
- package/dist/react/src/components/Comments/CategorySelector.js +27 -0
- package/dist/react/src/components/Comments/CategorySelector.js.map +1 -0
- package/dist/react/src/components/Comments/CommentDisplay.d.ts +7 -0
- package/dist/react/src/components/Comments/CommentDisplay.d.ts.map +1 -0
- package/dist/react/src/components/Comments/CommentDisplay.js +103 -0
- package/dist/react/src/components/Comments/CommentDisplay.js.map +1 -0
- package/dist/react/src/components/Comments/CommentInput.d.ts +11 -0
- package/dist/react/src/components/Comments/CommentInput.d.ts.map +1 -0
- package/dist/react/src/components/Comments/CommentInput.js +81 -0
- package/dist/react/src/components/Comments/CommentInput.js.map +1 -0
- package/dist/react/src/components/Comments/ComposerCore.d.ts +49 -0
- package/dist/react/src/components/Comments/ComposerCore.d.ts.map +1 -0
- package/dist/react/src/components/Comments/ComposerCore.js +91 -0
- package/dist/react/src/components/Comments/ComposerCore.js.map +1 -0
- package/dist/react/src/components/Comments/EmojiAutocomplete.d.ts +14 -0
- package/dist/react/src/components/Comments/EmojiAutocomplete.d.ts.map +1 -0
- package/dist/react/src/components/Comments/EmojiAutocomplete.js +19 -0
- package/dist/react/src/components/Comments/EmojiAutocomplete.js.map +1 -0
- package/dist/react/src/components/Comments/ReplyDisplay.d.ts +22 -0
- package/dist/react/src/components/Comments/ReplyDisplay.d.ts.map +1 -0
- package/dist/react/src/components/Comments/ReplyDisplay.js +38 -0
- package/dist/react/src/components/Comments/ReplyDisplay.js.map +1 -0
- package/dist/react/src/components/Comments/ReplyInput.d.ts +9 -0
- package/dist/react/src/components/Comments/ReplyInput.d.ts.map +1 -0
- package/dist/react/src/components/Comments/ReplyInput.js +47 -0
- package/dist/react/src/components/Comments/ReplyInput.js.map +1 -0
- package/dist/react/src/components/Comments/SuggestionApplyControl.d.ts +27 -0
- package/dist/react/src/components/Comments/SuggestionApplyControl.d.ts.map +1 -0
- package/dist/react/src/components/Comments/SuggestionApplyControl.js +103 -0
- package/dist/react/src/components/Comments/SuggestionApplyControl.js.map +1 -0
- package/dist/react/src/components/Comments/SuggestionBlock.d.ts +26 -0
- package/dist/react/src/components/Comments/SuggestionBlock.d.ts.map +1 -0
- package/dist/react/src/components/Comments/SuggestionBlock.js +33 -0
- package/dist/react/src/components/Comments/SuggestionBlock.js.map +1 -0
- package/dist/react/src/components/Comments/SuggestionPanel.d.ts +8 -0
- package/dist/react/src/components/Comments/SuggestionPanel.d.ts.map +1 -0
- package/dist/react/src/components/Comments/SuggestionPanel.js +12 -0
- package/dist/react/src/components/Comments/SuggestionPanel.js.map +1 -0
- package/dist/react/src/components/DiffViewer/DiffContentArea.d.ts +35 -0
- package/dist/react/src/components/DiffViewer/DiffContentArea.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/DiffContentArea.js +40 -0
- package/dist/react/src/components/DiffViewer/DiffContentArea.js.map +1 -0
- package/dist/react/src/components/DiffViewer/DiffViewer.d.ts +4 -0
- package/dist/react/src/components/DiffViewer/DiffViewer.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/DiffViewer.js +110 -0
- package/dist/react/src/components/DiffViewer/DiffViewer.js.map +1 -0
- package/dist/react/src/components/DiffViewer/EmptyDiffMessage.d.ts +6 -0
- package/dist/react/src/components/DiffViewer/EmptyDiffMessage.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/EmptyDiffMessage.js +18 -0
- package/dist/react/src/components/DiffViewer/EmptyDiffMessage.js.map +1 -0
- package/dist/react/src/components/DiffViewer/EmptyLinePane.d.ts +2 -0
- package/dist/react/src/components/DiffViewer/EmptyLinePane.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/EmptyLinePane.js +5 -0
- package/dist/react/src/components/DiffViewer/EmptyLinePane.js.map +1 -0
- package/dist/react/src/components/DiffViewer/ExpandContextBar.d.ts +10 -0
- package/dist/react/src/components/DiffViewer/ExpandContextBar.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/ExpandContextBar.js +16 -0
- package/dist/react/src/components/DiffViewer/ExpandContextBar.js.map +1 -0
- package/dist/react/src/components/DiffViewer/FileSection.d.ts +9 -0
- package/dist/react/src/components/DiffViewer/FileSection.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/FileSection.js +137 -0
- package/dist/react/src/components/DiffViewer/FileSection.js.map +1 -0
- package/dist/react/src/components/DiffViewer/FileSectionBody.d.ts +13 -0
- package/dist/react/src/components/DiffViewer/FileSectionBody.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/FileSectionBody.js +8 -0
- package/dist/react/src/components/DiffViewer/FileSectionBody.js.map +1 -0
- package/dist/react/src/components/DiffViewer/FileSectionHeader.d.ts +16 -0
- package/dist/react/src/components/DiffViewer/FileSectionHeader.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/FileSectionHeader.js +53 -0
- package/dist/react/src/components/DiffViewer/FileSectionHeader.js.map +1 -0
- package/dist/react/src/components/DiffViewer/FrontMatterTable.d.ts +6 -0
- package/dist/react/src/components/DiffViewer/FrontMatterTable.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/FrontMatterTable.js +30 -0
- package/dist/react/src/components/DiffViewer/FrontMatterTable.js.map +1 -0
- package/dist/react/src/components/DiffViewer/GuideChapterDivider.d.ts +20 -0
- package/dist/react/src/components/DiffViewer/GuideChapterDivider.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/GuideChapterDivider.js +27 -0
- package/dist/react/src/components/DiffViewer/GuideChapterDivider.js.map +1 -0
- package/dist/react/src/components/DiffViewer/GuideOverviewContent.d.ts +16 -0
- package/dist/react/src/components/DiffViewer/GuideOverviewContent.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/GuideOverviewContent.js +56 -0
- package/dist/react/src/components/DiffViewer/GuideOverviewContent.js.map +1 -0
- package/dist/react/src/components/DiffViewer/GuideOverviewDialog.d.ts +12 -0
- package/dist/react/src/components/DiffViewer/GuideOverviewDialog.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/GuideOverviewDialog.js +13 -0
- package/dist/react/src/components/DiffViewer/GuideOverviewDialog.js.map +1 -0
- package/dist/react/src/components/DiffViewer/GuideOverviewPanel.d.ts +8 -0
- package/dist/react/src/components/DiffViewer/GuideOverviewPanel.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/GuideOverviewPanel.js +16 -0
- package/dist/react/src/components/DiffViewer/GuideOverviewPanel.js.map +1 -0
- package/dist/react/src/components/DiffViewer/HunkHeader.d.ts +5 -0
- package/dist/react/src/components/DiffViewer/HunkHeader.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/HunkHeader.js +5 -0
- package/dist/react/src/components/DiffViewer/HunkHeader.js.map +1 -0
- package/dist/react/src/components/DiffViewer/InlineCommentSlot.d.ts +18 -0
- package/dist/react/src/components/DiffViewer/InlineCommentSlot.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/InlineCommentSlot.js +13 -0
- package/dist/react/src/components/DiffViewer/InlineCommentSlot.js.map +1 -0
- package/dist/react/src/components/DiffViewer/MarkdownCode.d.ts +9 -0
- package/dist/react/src/components/DiffViewer/MarkdownCode.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/MarkdownCode.js +24 -0
- package/dist/react/src/components/DiffViewer/MarkdownCode.js.map +1 -0
- package/dist/react/src/components/DiffViewer/MermaidBlock.d.ts +4 -0
- package/dist/react/src/components/DiffViewer/MermaidBlock.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/MermaidBlock.js +51 -0
- package/dist/react/src/components/DiffViewer/MermaidBlock.js.map +1 -0
- package/dist/react/src/components/DiffViewer/RenderedImageView.d.ts +8 -0
- package/dist/react/src/components/DiffViewer/RenderedImageView.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/RenderedImageView.js +46 -0
- package/dist/react/src/components/DiffViewer/RenderedImageView.js.map +1 -0
- package/dist/react/src/components/DiffViewer/RenderedMarkdownView.d.ts +16 -0
- package/dist/react/src/components/DiffViewer/RenderedMarkdownView.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/RenderedMarkdownView.js +324 -0
- package/dist/react/src/components/DiffViewer/RenderedMarkdownView.js.map +1 -0
- package/dist/react/src/components/DiffViewer/RenderedSvgView.d.ts +7 -0
- package/dist/react/src/components/DiffViewer/RenderedSvgView.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/RenderedSvgView.js +21 -0
- package/dist/react/src/components/DiffViewer/RenderedSvgView.js.map +1 -0
- package/dist/react/src/components/DiffViewer/SplitView.d.ts +23 -0
- package/dist/react/src/components/DiffViewer/SplitView.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/SplitView.js +137 -0
- package/dist/react/src/components/DiffViewer/SplitView.js.map +1 -0
- package/dist/react/src/components/DiffViewer/SyntaxLine.d.ts +49 -0
- package/dist/react/src/components/DiffViewer/SyntaxLine.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/SyntaxLine.js +73 -0
- package/dist/react/src/components/DiffViewer/SyntaxLine.js.map +1 -0
- package/dist/react/src/components/DiffViewer/UnifiedView.d.ts +23 -0
- package/dist/react/src/components/DiffViewer/UnifiedView.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/UnifiedView.js +96 -0
- package/dist/react/src/components/DiffViewer/UnifiedView.js.map +1 -0
- package/dist/react/src/components/DiffViewer/diff-utils.d.ts +31 -0
- package/dist/react/src/components/DiffViewer/diff-utils.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/diff-utils.js +134 -0
- package/dist/react/src/components/DiffViewer/diff-utils.js.map +1 -0
- package/dist/react/src/components/DiffViewer/useDragSelection.d.ts +25 -0
- package/dist/react/src/components/DiffViewer/useDragSelection.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/useDragSelection.js +210 -0
- package/dist/react/src/components/DiffViewer/useDragSelection.js.map +1 -0
- package/dist/react/src/components/DiffViewer/useExpandContext.d.ts +15 -0
- package/dist/react/src/components/DiffViewer/useExpandContext.d.ts.map +1 -0
- package/dist/react/src/components/DiffViewer/useExpandContext.js +209 -0
- package/dist/react/src/components/DiffViewer/useExpandContext.js.map +1 -0
- package/dist/react/src/components/FileTree.d.ts +2 -0
- package/dist/react/src/components/FileTree.d.ts.map +1 -0
- package/dist/react/src/components/FileTree.js +93 -0
- package/dist/react/src/components/FileTree.js.map +1 -0
- package/dist/react/src/components/FileTreeEntry.d.ts +13 -0
- package/dist/react/src/components/FileTreeEntry.d.ts.map +1 -0
- package/dist/react/src/components/FileTreeEntry.js +21 -0
- package/dist/react/src/components/FileTreeEntry.js.map +1 -0
- package/dist/react/src/components/FileTreeToggle.d.ts +15 -0
- package/dist/react/src/components/FileTreeToggle.d.ts.map +1 -0
- package/dist/react/src/components/FileTreeToggle.js +16 -0
- package/dist/react/src/components/FileTreeToggle.js.map +1 -0
- package/dist/react/src/components/GuideRouteHud.d.ts +10 -0
- package/dist/react/src/components/GuideRouteHud.d.ts.map +1 -0
- package/dist/react/src/components/GuideRouteHud.js +43 -0
- package/dist/react/src/components/GuideRouteHud.js.map +1 -0
- package/dist/react/src/components/GuideRouteMap.d.ts +20 -0
- package/dist/react/src/components/GuideRouteMap.d.ts.map +1 -0
- package/dist/react/src/components/GuideRouteMap.js +58 -0
- package/dist/react/src/components/GuideRouteMap.js.map +1 -0
- package/dist/react/src/components/GuideStation.d.ts +28 -0
- package/dist/react/src/components/GuideStation.d.ts.map +1 -0
- package/dist/react/src/components/GuideStation.js +24 -0
- package/dist/react/src/components/GuideStation.js.map +1 -0
- package/dist/react/src/components/HintOverlay.d.ts +13 -0
- package/dist/react/src/components/HintOverlay.d.ts.map +1 -0
- package/dist/react/src/components/HintOverlay.js +27 -0
- package/dist/react/src/components/HintOverlay.js.map +1 -0
- package/dist/react/src/components/KeyboardNavigationManager.d.ts +2 -0
- package/dist/react/src/components/KeyboardNavigationManager.d.ts.map +1 -0
- package/dist/react/src/components/KeyboardNavigationManager.js +8 -0
- package/dist/react/src/components/KeyboardNavigationManager.js.map +1 -0
- package/dist/react/src/components/Layout.d.ts +2 -0
- package/dist/react/src/components/Layout.d.ts.map +1 -0
- package/dist/react/src/components/Layout.js +63 -0
- package/dist/react/src/components/Layout.js.map +1 -0
- package/dist/react/src/components/ReviewProgress.d.ts +2 -0
- package/dist/react/src/components/ReviewProgress.d.ts.map +1 -0
- package/dist/react/src/components/ReviewProgress.js +25 -0
- package/dist/react/src/components/ReviewProgress.js.map +1 -0
- package/dist/react/src/components/Toolbar.d.ts +6 -0
- package/dist/react/src/components/Toolbar.d.ts.map +1 -0
- package/dist/react/src/components/Toolbar.js +61 -0
- package/dist/react/src/components/Toolbar.js.map +1 -0
- package/dist/react/src/components/TruncatedPath.d.ts +7 -0
- package/dist/react/src/components/TruncatedPath.d.ts.map +1 -0
- package/dist/react/src/components/TruncatedPath.js +15 -0
- package/dist/react/src/components/TruncatedPath.js.map +1 -0
- package/dist/react/src/components/ui/badge.d.ts +10 -0
- package/dist/react/src/components/ui/badge.d.ts.map +1 -0
- package/dist/react/src/components/ui/badge.js +21 -0
- package/dist/react/src/components/ui/badge.js.map +1 -0
- package/dist/react/src/components/ui/button.d.ts +11 -0
- package/dist/react/src/components/ui/button.d.ts.map +1 -0
- package/dist/react/src/components/ui/button.js +32 -0
- package/dist/react/src/components/ui/button.js.map +1 -0
- package/dist/react/src/components/ui/dialog.d.ts +12 -0
- package/dist/react/src/components/ui/dialog.d.ts.map +1 -0
- package/dist/react/src/components/ui/dialog.js +23 -0
- package/dist/react/src/components/ui/dialog.js.map +1 -0
- package/dist/react/src/components/ui/input.d.ts +4 -0
- package/dist/react/src/components/ui/input.d.ts.map +1 -0
- package/dist/react/src/components/ui/input.js +9 -0
- package/dist/react/src/components/ui/input.js.map +1 -0
- package/dist/react/src/components/ui/separator.d.ts +6 -0
- package/dist/react/src/components/ui/separator.d.ts.map +1 -0
- package/dist/react/src/components/ui/separator.js +8 -0
- package/dist/react/src/components/ui/separator.js.map +1 -0
- package/dist/react/src/components/ui/table.d.ts +11 -0
- package/dist/react/src/components/ui/table.d.ts.map +1 -0
- package/dist/react/src/components/ui/table.js +21 -0
- package/dist/react/src/components/ui/table.js.map +1 -0
- package/dist/react/src/components/ui/textarea.d.ts +4 -0
- package/dist/react/src/components/ui/textarea.d.ts.map +1 -0
- package/dist/react/src/components/ui/textarea.js +9 -0
- package/dist/react/src/components/ui/textarea.js.map +1 -0
- package/dist/react/src/components/ui/toggle-group.d.ts +22 -0
- package/dist/react/src/components/ui/toggle-group.d.ts.map +1 -0
- package/dist/react/src/components/ui/toggle-group.js +48 -0
- package/dist/react/src/components/ui/toggle-group.js.map +1 -0
- package/dist/react/src/components/ui/tooltip.d.ts +16 -0
- package/dist/react/src/components/ui/tooltip.d.ts.map +1 -0
- package/dist/react/src/components/ui/tooltip.js +21 -0
- package/dist/react/src/components/ui/tooltip.js.map +1 -0
- package/dist/react/src/context/ConfigContext.d.ts +26 -0
- package/dist/react/src/context/ConfigContext.d.ts.map +1 -0
- package/dist/react/src/context/ConfigContext.js +150 -0
- package/dist/react/src/context/ConfigContext.js.map +1 -0
- package/dist/react/src/context/DiffNavigationContext.d.ts +16 -0
- package/dist/react/src/context/DiffNavigationContext.d.ts.map +1 -0
- package/dist/react/src/context/DiffNavigationContext.js +79 -0
- package/dist/react/src/context/DiffNavigationContext.js.map +1 -0
- package/dist/react/src/context/GuideContext.d.ts +28 -0
- package/dist/react/src/context/GuideContext.d.ts.map +1 -0
- package/dist/react/src/context/GuideContext.js +64 -0
- package/dist/react/src/context/GuideContext.js.map +1 -0
- package/dist/react/src/context/ReviewAdapterContext.d.ts +9 -0
- package/dist/react/src/context/ReviewAdapterContext.d.ts.map +1 -0
- package/dist/react/src/context/ReviewAdapterContext.js +10 -0
- package/dist/react/src/context/ReviewAdapterContext.js.map +1 -0
- package/dist/react/src/context/ReviewContext.d.ts +60 -0
- package/dist/react/src/context/ReviewContext.d.ts.map +1 -0
- package/dist/react/src/context/ReviewContext.js +233 -0
- package/dist/react/src/context/ReviewContext.js.map +1 -0
- package/dist/react/src/hooks/useDiffNavigation.d.ts +4 -0
- package/dist/react/src/hooks/useDiffNavigation.d.ts.map +1 -0
- package/dist/react/src/hooks/useDiffNavigation.js +5 -0
- package/dist/react/src/hooks/useDiffNavigation.js.map +1 -0
- package/dist/react/src/hooks/useEmojiAutocomplete.d.ts +24 -0
- package/dist/react/src/hooks/useEmojiAutocomplete.d.ts.map +1 -0
- package/dist/react/src/hooks/useEmojiAutocomplete.js +175 -0
- package/dist/react/src/hooks/useEmojiAutocomplete.js.map +1 -0
- package/dist/react/src/hooks/useKeyboardNavigation.d.ts +15 -0
- package/dist/react/src/hooks/useKeyboardNavigation.d.ts.map +1 -0
- package/dist/react/src/hooks/useKeyboardNavigation.js +227 -0
- package/dist/react/src/hooks/useKeyboardNavigation.js.map +1 -0
- package/dist/react/src/hooks/useReviewBridge.d.ts +15 -0
- package/dist/react/src/hooks/useReviewBridge.d.ts.map +1 -0
- package/dist/react/src/hooks/useReviewBridge.js +43 -0
- package/dist/react/src/hooks/useReviewBridge.js.map +1 -0
- package/dist/react/src/hooks/useReviewState.d.ts +16 -0
- package/dist/react/src/hooks/useReviewState.d.ts.map +1 -0
- package/dist/react/src/hooks/useReviewState.js +101 -0
- package/dist/react/src/hooks/useReviewState.js.map +1 -0
- package/dist/react/src/index.d.ts +25 -0
- package/dist/react/src/index.d.ts.map +1 -0
- package/dist/react/src/index.js +22 -0
- package/dist/react/src/index.js.map +1 -0
- package/dist/react/src/lib/utils.d.ts +3 -0
- package/dist/react/src/lib/utils.d.ts.map +1 -0
- package/dist/react/src/lib/utils.js +6 -0
- package/dist/react/src/lib/utils.js.map +1 -0
- package/dist/react/src/utils/category-utils.d.ts +17 -0
- package/dist/react/src/utils/category-utils.d.ts.map +1 -0
- package/dist/react/src/utils/category-utils.js +23 -0
- package/dist/react/src/utils/category-utils.js.map +1 -0
- package/dist/react/src/utils/comment-anchors.d.ts +4 -0
- package/dist/react/src/utils/comment-anchors.d.ts.map +1 -0
- package/dist/react/src/utils/comment-anchors.js +17 -0
- package/dist/react/src/utils/comment-anchors.js.map +1 -0
- package/dist/react/src/utils/diff-styles.d.ts +12 -0
- package/dist/react/src/utils/diff-styles.d.ts.map +1 -0
- package/dist/react/src/utils/diff-styles.js +46 -0
- package/dist/react/src/utils/diff-styles.js.map +1 -0
- package/dist/react/src/utils/emoji-data.d.ts +8 -0
- package/dist/react/src/utils/emoji-data.d.ts.map +1 -0
- package/dist/react/src/utils/emoji-data.js +43 -0
- package/dist/react/src/utils/emoji-data.js.map +1 -0
- package/dist/react/src/utils/file-type-utils.d.ts +20 -0
- package/dist/react/src/utils/file-type-utils.d.ts.map +1 -0
- package/dist/react/src/utils/file-type-utils.js +110 -0
- package/dist/react/src/utils/file-type-utils.js.map +1 -0
- package/dist/react/src/utils/front-matter.d.ts +14 -0
- package/dist/react/src/utils/front-matter.d.ts.map +1 -0
- package/dist/react/src/utils/front-matter.js +40 -0
- package/dist/react/src/utils/front-matter.js.map +1 -0
- package/dist/react/src/utils/guide-accents.d.ts +46 -0
- package/dist/react/src/utils/guide-accents.d.ts.map +1 -0
- package/dist/react/src/utils/guide-accents.js +100 -0
- package/dist/react/src/utils/guide-accents.js.map +1 -0
- package/dist/react/src/utils/guide-display.d.ts +48 -0
- package/dist/react/src/utils/guide-display.d.ts.map +1 -0
- package/dist/react/src/utils/guide-display.js +75 -0
- package/dist/react/src/utils/guide-display.js.map +1 -0
- package/dist/react/src/utils/image-utils.d.ts +3 -0
- package/dist/react/src/utils/image-utils.d.ts.map +1 -0
- package/dist/react/src/utils/image-utils.js +33 -0
- package/dist/react/src/utils/image-utils.js.map +1 -0
- package/dist/react/src/utils/passive-content.d.ts +9 -0
- package/dist/react/src/utils/passive-content.d.ts.map +1 -0
- package/dist/react/src/utils/passive-content.js +135 -0
- package/dist/react/src/utils/passive-content.js.map +1 -0
- package/dist/react/src/utils/remark-emoji.d.ts +3 -0
- package/dist/react/src/utils/remark-emoji.d.ts.map +1 -0
- package/dist/react/src/utils/remark-emoji.js +38 -0
- package/dist/react/src/utils/remark-emoji.js.map +1 -0
- package/dist/serve/src/args.d.ts +15 -0
- package/dist/serve/src/args.d.ts.map +1 -0
- package/dist/serve/src/args.js +65 -0
- package/dist/serve/src/args.js.map +1 -0
- package/dist/serve/src/cli.d.ts +3 -0
- package/dist/serve/src/cli.d.ts.map +1 -0
- package/dist/serve/src/cli.js +81 -0
- package/dist/serve/src/cli.js.map +1 -0
- package/dist/serve/src/client/adapter.d.ts +25 -0
- package/dist/serve/src/client/adapter.d.ts.map +1 -0
- package/dist/serve/src/client/adapter.js +190 -0
- package/dist/serve/src/client/adapter.js.map +1 -0
- package/dist/serve/src/client/index.d.ts +2 -0
- package/dist/serve/src/client/index.d.ts.map +1 -0
- package/dist/serve/src/client/index.js +135 -0
- package/dist/serve/src/client/index.js.map +1 -0
- package/dist/serve/src/lifecycle.d.ts +27 -0
- package/dist/serve/src/lifecycle.d.ts.map +1 -0
- package/dist/serve/src/lifecycle.js +73 -0
- package/dist/serve/src/lifecycle.js.map +1 -0
- package/dist/serve/src/server.d.ts +34 -0
- package/dist/serve/src/server.d.ts.map +1 -0
- package/dist/serve/src/server.js +430 -0
- package/dist/serve/src/server.js.map +1 -0
- package/dist/serve/src/startup.d.ts +19 -0
- package/dist/serve/src/startup.d.ts.map +1 -0
- package/dist/serve/src/startup.js +117 -0
- package/dist/serve/src/startup.js.map +1 -0
- package/dist/serve/src/validate.d.ts +44 -0
- package/dist/serve/src/validate.d.ts.map +1 -0
- package/dist/serve/src/validate.js +295 -0
- package/dist/serve/src/validate.js.map +1 -0
- package/dist/types/src/index.d.ts +417 -0
- package/dist/types/src/index.d.ts.map +1 -0
- package/dist/types/src/index.js +5 -0
- package/dist/types/src/index.js.map +1 -0
- package/package.json +38 -0
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import{_ as o,l as te,c as U,H as fe,af as ye,ag as be,ah as me,V as Ee,E as Y,i as F,t as _e,J as ke,W as Se,X as ce,Y as le}from"./mermaid.core-DfADLZQ1.js";import{g as Ne}from"./chunk-FMBD7UC4-tB9OepVI.js";import"./index-CAXQd1OO.js";var $=(function(){var e=o(function(O,i,n,r){for(n=n||{},r=O.length;r--;n[O[r]]=i);return n},"o"),u=[1,4],p=[1,13],s=[1,12],d=[1,15],_=[1,16],b=[1,20],l=[1,19],D=[6,7,8],I=[1,26],g=[1,24],w=[1,25],E=[6,7,11],G=[1,31],N=[6,7,11,24],V=[1,6,13,16,17,20,23],m=[1,35],A=[1,36],L=[1,6,7,11,13,16,17,20,23],H=[1,38],T={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(function(i,n,r,a,h,t,M){var c=t.length-1;switch(h){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",t[c-1].id),a.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:a.getLogger().info("Node: ",t[c].id),a.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:a.getLogger().trace("Icon: ",t[c]),a.decorateNode({icon:t[c]});break;case 18:case 23:a.decorateNode({class:t[c]});break;case 19:a.getLogger().trace("SPACELIST");break;case 20:a.getLogger().trace("Node: ",t[c-1].id),a.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:a.getLogger().trace("Node: ",t[c].id),a.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:a.decorateNode({icon:t[c]});break;case 27:a.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:a.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:u},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:u},{6:p,7:[1,10],9:9,12:11,13:s,14:14,16:d,17:_,18:17,19:18,20:b,23:l},e(D,[2,3]),{1:[2,2]},e(D,[2,4]),e(D,[2,5]),{1:[2,6],6:p,12:21,13:s,14:14,16:d,17:_,18:17,19:18,20:b,23:l},{6:p,9:22,12:11,13:s,14:14,16:d,17:_,18:17,19:18,20:b,23:l},{6:I,7:g,10:23,11:w},e(E,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:b,23:l}),e(E,[2,19]),e(E,[2,21],{15:30,24:G}),e(E,[2,22]),e(E,[2,23]),e(N,[2,25]),e(N,[2,26]),e(N,[2,28],{20:[1,32]}),{21:[1,33]},{6:I,7:g,10:34,11:w},{1:[2,7],6:p,12:21,13:s,14:14,16:d,17:_,18:17,19:18,20:b,23:l},e(V,[2,14],{7:m,11:A}),e(L,[2,8]),e(L,[2,9]),e(L,[2,10]),e(E,[2,16],{15:37,24:G}),e(E,[2,17]),e(E,[2,18]),e(E,[2,20],{24:H}),e(N,[2,31]),{21:[1,39]},{22:[1,40]},e(V,[2,13],{7:m,11:A}),e(L,[2,11]),e(L,[2,12]),e(E,[2,15],{24:H}),e(N,[2,30]),{22:[1,41]},e(N,[2,27]),e(N,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(i,n){if(n.recoverable)this.trace(i);else{var r=new Error(i);throw r.hash=n,r}},"parseError"),parse:o(function(i){var n=this,r=[0],a=[],h=[null],t=[],M=this.table,c="",W=0,se=0,ue=2,re=1,ge=t.slice.call(arguments,1),y=Object.create(this.lexer),R={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(R.yy[J]=this.yy[J]);y.setInput(i,R.yy),R.yy.lexer=y,R.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var q=y.yylloc;t.push(q);var de=y.options&&y.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pe(S){r.length=r.length-2*S,h.length=h.length-S,t.length=t.length-S}o(pe,"popStack");function ae(){var S;return S=a.pop()||y.lex()||re,typeof S!="number"&&(S instanceof Array&&(a=S,S=a.pop()),S=n.symbols_[S]||S),S}o(ae,"lex");for(var k,P,x,Q,j={},z,C,oe,X;;){if(P=r[r.length-1],this.defaultActions[P]?x=this.defaultActions[P]:((k===null||typeof k>"u")&&(k=ae()),x=M[P]&&M[P][k]),typeof x>"u"||!x.length||!x[0]){var Z="";X=[];for(z in M[P])this.terminals_[z]&&z>ue&&X.push("'"+this.terminals_[z]+"'");y.showPosition?Z="Parse error on line "+(W+1)+`:
|
|
2
|
+
`+y.showPosition()+`
|
|
3
|
+
Expecting `+X.join(", ")+", got '"+(this.terminals_[k]||k)+"'":Z="Parse error on line "+(W+1)+": Unexpected "+(k==re?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(Z,{text:y.match,token:this.terminals_[k]||k,line:y.yylineno,loc:q,expected:X})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+k);switch(x[0]){case 1:r.push(k),h.push(y.yytext),t.push(y.yylloc),r.push(x[1]),k=null,se=y.yyleng,c=y.yytext,W=y.yylineno,q=y.yylloc;break;case 2:if(C=this.productions_[x[1]][1],j.$=h[h.length-C],j._$={first_line:t[t.length-(C||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(C||1)].first_column,last_column:t[t.length-1].last_column},de&&(j._$.range=[t[t.length-(C||1)].range[0],t[t.length-1].range[1]]),Q=this.performAction.apply(j,[c,se,W,R.yy,x[1],h,t].concat(ge)),typeof Q<"u")return Q;C&&(r=r.slice(0,-1*C*2),h=h.slice(0,-1*C),t=t.slice(0,-1*C)),r.push(this.productions_[x[1]][0]),h.push(j.$),t.push(j._$),oe=M[r[r.length-2]][r[r.length-1]],r.push(oe);break;case 3:return!0}}return!0},"parse")},K=(function(){var O={EOF:1,parseError:o(function(n,r){if(this.yy.parser)this.yy.parser.parseError(n,r);else throw new Error(n)},"parseError"),setInput:o(function(i,n){return this.yy=n||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:o(function(i){var n=i.length,r=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var h=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===a.length?this.yylloc.first_column:0)+a[a.length-r.length].length-r[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[h[0],h[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(i){this.unput(this.match.slice(i))},"less"),pastInput:o(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var i=this.pastInput(),n=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
|
|
5
|
+
`+n+"^"},"showPosition"),test_match:o(function(i,n){var r,a,h;if(this.options.backtrack_lexer&&(h={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(h.yylloc.range=this.yylloc.range.slice(0))),a=i[0].match(/(?:\r\n?|\n).*/g),a&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+i[0].length},this.yytext+=i[0],this.match+=i[0],this.matches=i,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(i[0].length),this.matched+=i[0],r=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack){for(var t in h)this[t]=h[t];return!1}return!1},"test_match"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,n,r,a;this._more||(this.yytext="",this.match="");for(var h=this._currentRules(),t=0;t<h.length;t++)if(r=this._input.match(this.rules[h[t]]),r&&(!n||r[0].length>n[0].length)){if(n=r,a=t,this.options.backtrack_lexer){if(i=this.test_match(r,h[t]),i!==!1)return i;if(this._backtrack){n=!1;continue}else return!1}else if(!this.options.flex)break}return n?(i=this.test_match(n,h[a]),i!==!1?i:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var n=this.next();return n||this.lex()},"lex"),begin:o(function(n){this.conditionStack.push(n)},"begin"),popState:o(function(){var n=this.conditionStack.length-1;return n>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:o(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:o(function(n){return n=this.conditionStack.length-1-Math.abs(n||0),n>=0?this.conditionStack[n]:"INITIAL"},"topState"),pushState:o(function(n){this.begin(n)},"pushState"),stateStackSize:o(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:o(function(n,r,a,h){switch(a){case 0:return this.pushState("shapeData"),r.yytext="",24;case 1:return this.pushState("shapeDataStr"),24;case 2:return this.popState(),24;case 3:const t=/\n\s*/g;return r.yytext=r.yytext.replace(t,"<br/>"),24;case 4:return 24;case 5:this.popState();break;case 6:return n.getLogger().trace("Found comment",r.yytext),6;case 7:return 8;case 8:this.begin("CLASS");break;case 9:return this.popState(),17;case 10:this.popState();break;case 11:n.getLogger().trace("Begin icon"),this.begin("ICON");break;case 12:return n.getLogger().trace("SPACELINE"),6;case 13:return 7;case 14:return 16;case 15:n.getLogger().trace("end icon"),this.popState();break;case 16:return n.getLogger().trace("Exploding node"),this.begin("NODE"),20;case 17:return n.getLogger().trace("Cloud"),this.begin("NODE"),20;case 18:return n.getLogger().trace("Explosion Bang"),this.begin("NODE"),20;case 19:return n.getLogger().trace("Cloud Bang"),this.begin("NODE"),20;case 20:return this.begin("NODE"),20;case 21:return this.begin("NODE"),20;case 22:return this.begin("NODE"),20;case 23:return this.begin("NODE"),20;case 24:return 13;case 25:return 23;case 26:return 11;case 27:this.begin("NSTR2");break;case 28:return"NODE_DESCR";case 29:this.popState();break;case 30:n.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 31:return n.getLogger().trace("description:",r.yytext),"NODE_DESCR";case 32:this.popState();break;case 33:return this.popState(),n.getLogger().trace("node end ))"),"NODE_DEND";case 34:return this.popState(),n.getLogger().trace("node end )"),"NODE_DEND";case 35:return this.popState(),n.getLogger().trace("node end ...",r.yytext),"NODE_DEND";case 36:return this.popState(),n.getLogger().trace("node end (("),"NODE_DEND";case 37:return this.popState(),n.getLogger().trace("node end (-"),"NODE_DEND";case 38:return this.popState(),n.getLogger().trace("node end (-"),"NODE_DEND";case 39:return this.popState(),n.getLogger().trace("node end (("),"NODE_DEND";case 40:return this.popState(),n.getLogger().trace("node end (("),"NODE_DEND";case 41:return n.getLogger().trace("Long description:",r.yytext),21;case 42:return n.getLogger().trace("Long description:",r.yytext),21}},"anonymous"),rules:[/^(?:@\{)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^\"]+)/i,/^(?:[^}^"]+)/i,/^(?:\})/i,/^(?:\s*%%.*)/i,/^(?:kanban\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}@]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{shapeDataEndBracket:{rules:[],inclusive:!1},shapeDataStr:{rules:[2,3],inclusive:!1},shapeData:{rules:[1,4,5],inclusive:!1},CLASS:{rules:[9,10],inclusive:!1},ICON:{rules:[14,15],inclusive:!1},NSTR2:{rules:[28,29],inclusive:!1},NSTR:{rules:[31,32],inclusive:!1},NODE:{rules:[27,30,33,34,35,36,37,38,39,40,41,42],inclusive:!1},INITIAL:{rules:[0,6,7,8,11,12,13,16,17,18,19,20,21,22,23,24,25,26],inclusive:!0}}};return O})();T.lexer=K;function B(){this.yy={}}return o(B,"Parser"),B.prototype=T,T.Parser=B,new B})();$.parser=$;var xe=$,v=[],ne=[],ee=0,ie={},ve=o(()=>{v=[],ne=[],ee=0,ie={}},"clear"),De=o(e=>{if(v.length===0)return null;const u=v[0].level;let p=null;for(let s=v.length-1;s>=0;s--)if(v[s].level===u&&!p&&(p=v[s]),v[s].level<u)throw new Error('Items without section detected, found section ("'+v[s].label+'")');return e===p?.level?null:p},"getSection"),he=o(function(){return ne},"getSections"),Le=o(function(){const e=[],u=[],p=he(),s=U();for(const d of p){const _={id:d.id,label:F(d.label??"",s),isGroup:!0,ticket:d.ticket,shape:"kanbanSection",level:d.level,look:s.look};u.push(_);const b=v.filter(l=>l.parentId===d.id);for(const l of b){const D={id:l.id,parentId:d.id,label:F(l.label??"",s),isGroup:!1,ticket:l?.ticket,priority:l?.priority,assigned:l?.assigned,icon:l?.icon,shape:"kanbanItem",level:l.level,rx:5,ry:5,cssStyles:["text-align: left"]};u.push(D)}}return{nodes:u,edges:e,other:{},config:U()}},"getData"),Oe=o((e,u,p,s,d)=>{const _=U();let b=_.mindmap?.padding??Y.mindmap.padding;switch(s){case f.ROUNDED_RECT:case f.RECT:case f.HEXAGON:b*=2}const l={id:F(u,_)||"kbn"+ee++,level:e,label:F(p,_),width:_.mindmap?.maxNodeWidth??Y.mindmap.maxNodeWidth,padding:b,isGroup:!1};if(d!==void 0){let I;d.includes(`
|
|
7
|
+
`)?I=d+`
|
|
8
|
+
`:I=`{
|
|
9
|
+
`+d+`
|
|
10
|
+
}`;const g=_e(I,{schema:ke});if(g.shape&&(g.shape!==g.shape.toLowerCase()||g.shape.includes("_")))throw new Error(`No such shape: ${g.shape}. Shape names should be lowercase.`);g?.shape&&g.shape==="kanbanItem"&&(l.shape=g?.shape),g?.label&&(l.label=g?.label),g?.icon&&(l.icon=g?.icon.toString()),g?.assigned&&(l.assigned=g?.assigned.toString()),g?.ticket&&(l.ticket=g?.ticket.toString()),g?.priority&&(l.priority=g?.priority)}const D=De(e);D?l.parentId=D.id||"kbn"+ee++:ne.push(l),v.push(l)},"addNode"),f={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},Ie=o((e,u)=>{switch(te.debug("In get type",e,u),e){case"[":return f.RECT;case"(":return u===")"?f.ROUNDED_RECT:f.CLOUD;case"((":return f.CIRCLE;case")":return f.CLOUD;case"))":return f.BANG;case"{{":return f.HEXAGON;default:return f.DEFAULT}},"getType"),Ce=o((e,u)=>{ie[e]=u},"setElementForId"),we=o(e=>{if(!e)return;const u=U(),p=v[v.length-1];e.icon&&(p.icon=F(e.icon,u)),e.class&&(p.cssClasses=F(e.class,u))},"decorateNode"),Ae=o(e=>{switch(e){case f.DEFAULT:return"no-border";case f.RECT:return"rect";case f.ROUNDED_RECT:return"rounded-rect";case f.CIRCLE:return"circle";case f.CLOUD:return"cloud";case f.BANG:return"bang";case f.HEXAGON:return"hexgon";default:return"no-border"}},"type2Str"),Te=o(()=>te,"getLogger"),Re=o(e=>ie[e],"getElementById"),Pe={clear:ve,addNode:Oe,getSections:he,getData:Le,nodeType:f,getType:Ie,setElementForId:Ce,decorateNode:we,type2Str:Ae,getLogger:Te,getElementById:Re},Ve=Pe,Be=o(async(e,u,p,s)=>{te.debug(`Rendering kanban diagram
|
|
11
|
+
`+e);const _=s.db.getData(),b=U();b.htmlLabels=!1;const l=fe(u),D=l.append("g");D.attr("class","sections");const I=l.append("g");I.attr("class","items");const g=_.nodes.filter(m=>m.isGroup);let w=0;const E=10,G=[];let N=25;for(const m of g){const A=b?.kanban?.sectionWidth||200;w=w+1,m.x=A*w+(w-1)*E/2,m.width=A,m.y=0,m.height=A*3,m.rx=5,m.ry=5,m.cssClasses=m.cssClasses+" section-"+w;const L=await ye(D,m);N=Math.max(N,L?.labelBBox?.height),G.push(L)}let V=0;for(const m of g){const A=G[V];V=V+1;const L=b?.kanban?.sectionWidth||200,H=-L*3/2+N;let T=H;const K=_.nodes.filter(i=>i.parentId===m.id);for(const i of K){if(i.isGroup)throw new Error("Groups within groups are not allowed in Kanban diagrams");i.x=m.x,i.width=L-1.5*E;const r=(await be(I,i,{config:b})).node().getBBox();i.y=T+r.height/2,await me(i),T=i.y+r.height/2+E/2}const B=A.cluster.select("rect"),O=Math.max(T-H+3*E,50)+(N-25);B.attr("height",O)}Ee(void 0,l,b.mindmap?.padding??Y.kanban.padding,b.mindmap?.useMaxWidth??Y.kanban.useMaxWidth)},"draw"),je={draw:Be},Fe=o(e=>{let u="";for(let s=0;s<e.THEME_COLOR_LIMIT;s++)e["lineColor"+s]=e["lineColor"+s]||e["cScaleInv"+s],Se(e["lineColor"+s])?e["lineColor"+s]=ce(e["lineColor"+s],20):e["lineColor"+s]=le(e["lineColor"+s],20);const p=o((s,d)=>e.darkMode?le(s,d):ce(s,d),"adjuster");for(let s=0;s<e.THEME_COLOR_LIMIT;s++){const d=""+(17-3*s);u+=`
|
|
12
|
+
.section-${s-1} rect, .section-${s-1} path, .section-${s-1} circle, .section-${s-1} polygon, .section-${s-1} path {
|
|
13
|
+
fill: ${p(e["cScale"+s],10)};
|
|
14
|
+
stroke: ${p(e["cScale"+s],10)};
|
|
15
|
+
|
|
16
|
+
}
|
|
17
|
+
.section-${s-1} text {
|
|
18
|
+
fill: ${e["cScaleLabel"+s]};
|
|
19
|
+
}
|
|
20
|
+
.node-icon-${s-1} {
|
|
21
|
+
font-size: 40px;
|
|
22
|
+
color: ${e["cScaleLabel"+s]};
|
|
23
|
+
}
|
|
24
|
+
.section-edge-${s-1}{
|
|
25
|
+
stroke: ${e["cScale"+s]};
|
|
26
|
+
}
|
|
27
|
+
.edge-depth-${s-1}{
|
|
28
|
+
stroke-width: ${d};
|
|
29
|
+
}
|
|
30
|
+
.section-${s-1} line {
|
|
31
|
+
stroke: ${e["cScaleInv"+s]} ;
|
|
32
|
+
stroke-width: 3;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.disabled, .disabled circle, .disabled text {
|
|
36
|
+
fill: lightgray;
|
|
37
|
+
}
|
|
38
|
+
.disabled text {
|
|
39
|
+
fill: #efefef;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.node rect,
|
|
43
|
+
.node circle,
|
|
44
|
+
.node ellipse,
|
|
45
|
+
.node polygon,
|
|
46
|
+
.node path {
|
|
47
|
+
fill: ${e.background};
|
|
48
|
+
stroke: ${e.nodeBorder};
|
|
49
|
+
stroke-width: 1px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.kanban-ticket-link {
|
|
53
|
+
fill: ${e.background};
|
|
54
|
+
stroke: ${e.nodeBorder};
|
|
55
|
+
text-decoration: underline;
|
|
56
|
+
}
|
|
57
|
+
`}return u},"genSections"),Ge=o(e=>`
|
|
58
|
+
.edge {
|
|
59
|
+
stroke-width: 3;
|
|
60
|
+
}
|
|
61
|
+
${Fe(e)}
|
|
62
|
+
.section-root rect, .section-root path, .section-root circle, .section-root polygon {
|
|
63
|
+
fill: ${e.git0};
|
|
64
|
+
}
|
|
65
|
+
.section-root text {
|
|
66
|
+
fill: ${e.gitBranchLabel0};
|
|
67
|
+
}
|
|
68
|
+
.icon-container {
|
|
69
|
+
height:100%;
|
|
70
|
+
display: flex;
|
|
71
|
+
justify-content: center;
|
|
72
|
+
align-items: center;
|
|
73
|
+
}
|
|
74
|
+
.edge {
|
|
75
|
+
fill: none;
|
|
76
|
+
}
|
|
77
|
+
.cluster-label, .label {
|
|
78
|
+
color: ${e.textColor};
|
|
79
|
+
fill: ${e.textColor};
|
|
80
|
+
}
|
|
81
|
+
.kanban-label {
|
|
82
|
+
dy: 1em;
|
|
83
|
+
alignment-baseline: middle;
|
|
84
|
+
text-anchor: middle;
|
|
85
|
+
dominant-baseline: middle;
|
|
86
|
+
text-align: center;
|
|
87
|
+
}
|
|
88
|
+
${Ne()}
|
|
89
|
+
`,"getStyles"),He=Ge,ze={db:Ve,renderer:je,parser:xe,styles:He};export{ze as diagram};
|