bookish-press 0.4.0 → 0.4.3
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 +3 -1
- package/components/Auth.svelte +27 -24
- package/components/Auth.svelte.d.ts +4 -4
- package/components/Authentication.d.ts +2 -2
- package/components/BookPreview.svelte +75 -59
- package/components/BookPreview.svelte.d.ts +5 -5
- package/components/External.svelte +1 -1
- package/components/External.svelte.d.ts +3 -3
- package/components/Link.svelte +49 -3
- package/components/Link.svelte.d.ts +3 -4
- package/components/app/BookList.svelte +19 -0
- package/components/app/BookList.svelte.d.ts +18 -0
- package/components/app/Button.svelte +49 -0
- package/components/app/Button.svelte.d.ts +22 -0
- package/components/app/Feedback.svelte +47 -0
- package/components/app/Feedback.svelte.d.ts +18 -0
- package/components/app/Head.svelte +15 -0
- package/components/app/Head.svelte.d.ts +18 -0
- package/components/app/Large.svelte +8 -0
- package/components/app/Large.svelte.d.ts +27 -0
- package/components/app/Lead.svelte +12 -0
- package/components/app/Lead.svelte.d.ts +27 -0
- package/components/app/Link.svelte +24 -0
- package/components/app/Link.svelte.d.ts +20 -0
- package/components/app/Options.svelte +24 -0
- package/components/app/Options.svelte.d.ts +19 -0
- package/components/app/Paragraph.svelte +20 -0
- package/components/app/Paragraph.svelte.d.ts +18 -0
- package/components/app/Section.svelte +12 -0
- package/components/app/Section.svelte.d.ts +27 -0
- package/components/app/Table.svelte +32 -0
- package/components/app/Table.svelte.d.ts +27 -0
- package/components/app/TextInput.svelte +38 -0
- package/components/app/TextInput.svelte.d.ts +22 -0
- package/components/chapter/Atom.svelte +20 -6
- package/components/chapter/Atom.svelte.d.ts +3 -3
- package/components/chapter/Block.svelte +26 -21
- package/components/chapter/Block.svelte.d.ts +4 -4
- package/components/chapter/Callout.svelte +38 -7
- package/components/chapter/Callout.svelte.d.ts +4 -4
- package/components/chapter/CaptionedCode.svelte +67 -24
- package/components/chapter/CaptionedCode.svelte.d.ts +4 -4
- package/components/chapter/ChapterBody.svelte +62 -9
- package/components/chapter/ChapterBody.svelte.d.ts +5 -4
- package/components/chapter/Citations.svelte +86 -20
- package/components/chapter/Citations.svelte.d.ts +4 -4
- package/components/chapter/Code.svelte +152 -21
- package/components/chapter/Code.svelte.d.ts +3 -3
- package/components/chapter/Comment.svelte +39 -17
- package/components/chapter/Comment.svelte.d.ts +3 -3
- package/components/chapter/Definition.svelte +52 -18
- package/components/chapter/Definition.svelte.d.ts +5 -8
- package/components/chapter/Embed.svelte +155 -67
- package/components/chapter/Embed.svelte.d.ts +6 -4
- package/components/chapter/ErrorMessage.svelte +7 -2
- package/components/chapter/ErrorMessage.svelte.d.ts +4 -4
- package/components/chapter/ExtendedPrism.d.ts +2 -0
- package/components/chapter/ExtendedPrism.js +69 -0
- package/components/chapter/Figure.svelte +90 -0
- package/components/chapter/Figure.svelte.d.ts +24 -0
- package/components/chapter/Footnote.svelte +75 -12
- package/components/chapter/Footnote.svelte.d.ts +4 -4
- package/components/chapter/Format.svelte +63 -38
- package/components/chapter/Format.svelte.d.ts +5 -4
- package/components/chapter/InlineCode.svelte +16 -6
- package/components/chapter/InlineCode.svelte.d.ts +4 -4
- package/components/chapter/Label.svelte +38 -9
- package/components/chapter/Label.svelte.d.ts +4 -4
- package/components/chapter/Link.svelte +24 -19
- package/components/chapter/Link.svelte.d.ts +4 -4
- package/components/chapter/List.svelte +75 -8
- package/components/chapter/List.svelte.d.ts +4 -4
- package/components/chapter/Marginal.svelte +169 -27
- package/components/chapter/Marginal.svelte.d.ts +6 -3
- package/components/chapter/Paragraph.svelte +79 -6
- package/components/chapter/Paragraph.svelte.d.ts +4 -4
- package/components/chapter/Positioned.svelte +33 -0
- package/components/chapter/Positioned.svelte.d.ts +19 -0
- package/components/chapter/Problem.svelte +15 -0
- package/components/chapter/Problem.svelte.d.ts +27 -0
- package/components/chapter/Python.svelte +68 -21
- package/components/chapter/Python.svelte.d.ts +4 -4
- package/components/chapter/Quote.svelte +64 -11
- package/components/chapter/Quote.svelte.d.ts +4 -4
- package/components/chapter/Rule.svelte +12 -1
- package/components/chapter/Rule.svelte.d.ts +4 -4
- package/components/chapter/Table.svelte +36 -25
- package/components/chapter/Table.svelte.d.ts +4 -4
- package/components/chapter/Text.svelte +61 -36
- package/components/chapter/Text.svelte.d.ts +5 -4
- package/components/editor/BookishEditor.svelte +373 -244
- package/components/editor/BookishEditor.svelte.d.ts +9 -6
- package/components/editor/CalloutEditor.svelte +5 -5
- package/components/editor/CalloutEditor.svelte.d.ts +4 -4
- package/components/editor/CaptionedCodeEditor.svelte +16 -12
- package/components/editor/CaptionedCodeEditor.svelte.d.ts +4 -4
- package/components/editor/CaretContext.d.ts +48 -16
- package/components/editor/CaretState.d.ts +16 -44
- package/components/editor/CaretUtilities.d.ts +2 -2
- package/components/editor/CaretView.svelte +82 -0
- package/components/editor/CaretView.svelte.d.ts +25 -0
- package/components/editor/CitationsEditor.svelte +36 -25
- package/components/editor/CitationsEditor.svelte.d.ts +4 -4
- package/components/editor/Clipboard.d.ts +2 -2
- package/components/editor/Command.d.ts +13 -12
- package/components/editor/Commands.d.ts +1 -1
- package/components/editor/Commands.js +1114 -571
- package/components/editor/ConfirmButton.svelte +18 -12
- package/components/editor/ConfirmButton.svelte.d.ts +5 -4
- package/components/editor/DefinitionEditor.svelte +29 -21
- package/components/editor/DefinitionEditor.svelte.d.ts +4 -4
- package/components/editor/EmbedEditor.svelte +93 -43
- package/components/editor/EmbedEditor.svelte.d.ts +3 -3
- package/components/editor/Icon.svelte +17 -0
- package/components/editor/Icon.svelte.d.ts +16 -0
- package/components/editor/ImageChooser.svelte +53 -34
- package/components/editor/ImageChooser.svelte.d.ts +3 -3
- package/components/editor/InlineCodeEditor.svelte +7 -4
- package/components/editor/InlineCodeEditor.svelte.d.ts +4 -4
- package/components/editor/LabelEditor.svelte +20 -11
- package/components/editor/LabelEditor.svelte.d.ts +4 -4
- package/components/editor/LanguageEditor.svelte +10 -7
- package/components/editor/LanguageEditor.svelte.d.ts +3 -3
- package/components/editor/LinkEditor.svelte +64 -39
- package/components/editor/LinkEditor.svelte.d.ts +4 -4
- package/components/editor/Note.svelte +4 -3
- package/components/editor/Note.svelte.d.ts +6 -2
- package/components/editor/Permissions.svelte +95 -0
- package/components/editor/Permissions.svelte.d.ts +20 -0
- package/components/editor/PositionEditor.svelte +9 -6
- package/components/editor/PositionEditor.svelte.d.ts +4 -4
- package/components/editor/QuoteEditor.svelte +7 -2
- package/components/editor/QuoteEditor.svelte.d.ts +4 -4
- package/components/editor/Switch.svelte +55 -28
- package/components/editor/Switch.svelte.d.ts +4 -4
- package/components/editor/TableEditor.svelte +10 -0
- package/components/editor/TableEditor.svelte.d.ts +17 -0
- package/components/editor/TextEditor.svelte +83 -45
- package/components/editor/TextEditor.svelte.d.ts +5 -4
- package/components/editor/Toggle.svelte +11 -8
- package/components/editor/Toggle.svelte.d.ts +4 -4
- package/components/editor/Toolbar.svelte +191 -144
- package/components/editor/Toolbar.svelte.d.ts +5 -8
- package/components/editor/ToolbarGroup.svelte +17 -23
- package/components/editor/ToolbarGroup.svelte.d.ts +3 -4
- package/components/editor/ToolbarSpacer.svelte +8 -1
- package/components/editor/ToolbarSpacer.svelte.d.ts +6 -2
- package/components/editor/URLEditor.svelte +6 -8
- package/components/editor/URLEditor.svelte.d.ts +3 -3
- package/components/editor/UndoState.d.ts +3 -3
- package/components/editor/icons/annotate.svg +1 -0
- package/components/editor/icons/block.svg +1 -0
- package/components/editor/icons/bold.svg +1 -0
- package/components/editor/icons/bullets.svg +1 -0
- package/components/editor/icons/callout.svg +1 -0
- package/components/editor/icons/citation.svg +8 -0
- package/components/editor/icons/clear.svg +1 -0
- package/components/editor/icons/clipboard.svg +1 -0
- package/components/editor/icons/code.svg +1 -0
- package/components/editor/icons/columnafter.svg +1 -0
- package/components/editor/icons/columnbefore.svg +1 -0
- package/components/editor/icons/comment.svg +1 -0
- package/components/editor/icons/copy.svg +1 -0
- package/components/editor/icons/cut.svg +1 -0
- package/components/editor/icons/define.svg +7 -0
- package/components/editor/icons/deletecolumn.svg +1 -0
- package/components/editor/icons/deleterow.svg +1 -0
- package/components/editor/icons/footnote.svg +8 -0
- package/components/editor/icons/header1.svg +7 -0
- package/components/editor/icons/header2.svg +7 -0
- package/components/editor/icons/header3.svg +7 -0
- package/components/editor/icons/home.svg +1 -0
- package/components/editor/icons/indent.svg +1 -0
- package/components/editor/icons/italic.svg +1 -0
- package/components/editor/icons/label.svg +1 -0
- package/components/editor/icons/left.svg +1 -0
- package/components/editor/icons/level.svg +1 -0
- package/components/editor/icons/link.svg +1 -0
- package/components/editor/icons/list.svg +1 -0
- package/components/editor/icons/media.svg +1 -0
- package/components/editor/icons/middle.svg +1 -0
- package/components/editor/icons/numbers.svg +10 -0
- package/components/editor/icons/paragraph.svg +1 -0
- package/components/editor/icons/paste.svg +10 -0
- package/components/editor/icons/quote.svg +1 -0
- package/components/editor/icons/redo.svg +1 -0
- package/components/editor/icons/right.svg +1 -0
- package/components/editor/icons/rowabove.svg +1 -0
- package/components/editor/icons/rowbelow.svg +1 -0
- package/components/editor/icons/rule.svg +1 -0
- package/components/editor/icons/sub.svg +1 -0
- package/components/editor/icons/super.svg +1 -0
- package/components/editor/icons/table.svg +1 -0
- package/components/editor/icons/text.svg +1 -0
- package/components/editor/icons/time.svg +1 -0
- package/components/editor/icons/undo.svg +1 -0
- package/components/editor/icons/unindent.svg +1 -0
- package/components/editor/icons/unlink.svg +1 -0
- package/components/page/Acknowledgements.svelte +35 -24
- package/components/page/Acknowledgements.svelte.d.ts +4 -4
- package/components/page/Authors.svelte +34 -17
- package/components/page/Authors.svelte.d.ts +7 -6
- package/components/page/BookLoader.svelte +59 -0
- package/components/page/BookLoader.svelte.d.ts +16 -0
- package/components/page/BulkReferenceEditor.svelte +54 -23
- package/components/page/BulkReferenceEditor.svelte.d.ts +4 -4
- package/components/page/Chapter.svelte +234 -143
- package/components/page/Chapter.svelte.d.ts +3 -3
- package/components/page/ChapterContext.d.ts +4 -4
- package/components/page/ChapterNumber.svelte +9 -0
- package/components/page/ChapterNumber.svelte.d.ts +27 -0
- package/components/page/ChapterTitle.svelte +16 -0
- package/components/page/ChapterTitle.svelte.d.ts +18 -0
- package/components/page/Contexts.d.ts +42 -22
- package/components/page/Contexts.js +129 -17
- package/components/page/DefinitionView.svelte +129 -90
- package/components/page/DefinitionView.svelte.d.ts +3 -3
- package/components/page/Description.svelte +31 -19
- package/components/page/Description.svelte.d.ts +4 -4
- package/components/page/Edition.svelte +135 -80
- package/components/page/Edition.svelte.d.ts +5 -6
- package/components/page/EditionLoader.svelte +99 -0
- package/components/page/EditionLoader.svelte.d.ts +18 -0
- package/components/page/Editions.svelte +106 -0
- package/components/page/Editions.svelte.d.ts +14 -0
- package/components/page/Glossary.svelte +65 -49
- package/components/page/Glossary.svelte.d.ts +4 -4
- package/components/page/Header.svelte +143 -56
- package/components/page/Header.svelte.d.ts +8 -6
- package/components/page/Index.svelte +116 -80
- package/components/page/Index.svelte.d.ts +4 -4
- package/components/page/Instructions.svelte +18 -17
- package/components/page/Instructions.svelte.d.ts +6 -4
- package/components/page/License.svelte +39 -23
- package/components/page/License.svelte.d.ts +4 -4
- package/components/page/Loading.svelte +102 -12
- package/components/page/Loading.svelte.d.ts +6 -2
- package/components/page/Media.svelte +81 -53
- package/components/page/Media.svelte.d.ts +4 -4
- package/components/page/MediaPreview.svelte +26 -8
- package/components/page/MediaPreview.svelte.d.ts +3 -3
- package/components/page/Muted.svelte +10 -0
- package/components/page/Muted.svelte.d.ts +27 -0
- package/components/page/Outline.svelte +279 -59
- package/components/page/Outline.svelte.d.ts +3 -3
- package/components/page/Page.svelte +40 -9
- package/components/page/Page.svelte.d.ts +3 -3
- package/components/page/PageHeader.svelte +14 -0
- package/components/page/PageHeader.svelte.d.ts +18 -0
- package/components/page/PageParagraph.svelte +18 -0
- package/components/page/PageParagraph.svelte.d.ts +27 -0
- package/components/page/PossibleChapter.svelte +7 -7
- package/components/page/PossibleChapter.svelte.d.ts +4 -4
- package/components/page/PossibleReference.svelte +6 -11
- package/components/page/PossibleReference.svelte.d.ts +6 -7
- package/components/page/Print.svelte +27 -3
- package/components/page/Print.svelte.d.ts +4 -4
- package/components/page/Publish.svelte +134 -0
- package/components/page/Publish.svelte.d.ts +14 -0
- package/components/page/Reference.svelte +259 -117
- package/components/page/Reference.svelte.d.ts +5 -5
- package/components/page/References.svelte +45 -48
- package/components/page/References.svelte.d.ts +4 -4
- package/components/page/Rows.svelte +54 -0
- package/components/page/Rows.svelte.d.ts +27 -0
- package/components/page/Search.svelte +88 -63
- package/components/page/Search.svelte.d.ts +4 -4
- package/components/page/Status.svelte +46 -39
- package/components/page/Status.svelte.d.ts +4 -9
- package/components/page/SubdomainEditor.svelte +41 -27
- package/components/page/SubdomainEditor.svelte.d.ts +4 -4
- package/components/page/TableOfContents.svelte +264 -191
- package/components/page/TableOfContents.svelte.d.ts +4 -4
- package/components/page/TableOfContentsImage.svelte +8 -8
- package/components/page/TableOfContentsImage.svelte.d.ts +3 -3
- package/components/page/TableOfContentsRow.svelte +97 -34
- package/components/page/TableOfContentsRow.svelte.d.ts +4 -4
- package/components/page/ThemeEditor.svelte +177 -39
- package/components/page/ThemeEditor.svelte.d.ts +4 -4
- package/components/page/ThemeEditorPreview.svelte +35 -23
- package/components/page/ThemeEditorPreview.svelte.d.ts +5 -5
- package/components/page/ThemeSetEditor.svelte +15 -13
- package/components/page/ThemeSetEditor.svelte.d.ts +4 -4
- package/components/page/ThemeVariableEditor.svelte +24 -15
- package/components/page/ThemeVariableEditor.svelte.d.ts +3 -3
- package/components/page/Title.svelte +12 -0
- package/components/page/Title.svelte.d.ts +27 -0
- package/components/page/Unknown.svelte +28 -21
- package/components/page/Unknown.svelte.d.ts +4 -4
- package/components/page/margins.js +50 -33
- package/index.d.ts +13 -0
- package/index.js +14 -0
- package/models/CRUD.d.ts +27 -0
- package/models/CRUD.js +262 -0
- package/models/Firebase.d.ts +1 -0
- package/models/Firebase.js +26 -16
- package/models/book/Book.d.ts +40 -39
- package/models/book/Book.js +121 -121
- package/models/book/BookMedia.d.ts +3 -3
- package/models/book/BookMedia.js +22 -16
- package/models/book/BookSaveStatus.d.ts +7 -0
- package/models/book/BookSaveStatus.js +8 -0
- package/models/book/Chapter.d.ts +50 -39
- package/models/book/Chapter.js +189 -198
- package/models/book/ChapterID.js +7 -7
- package/models/book/Definition.d.ts +1 -1
- package/models/book/Edition.d.ts +87 -61
- package/models/book/Edition.js +460 -309
- package/models/book/Reference.d.ts +24 -0
- package/models/book/Reference.js +78 -0
- package/models/book/Schema.d.ts +168 -0
- package/models/book/Schema.js +115 -0
- package/models/book/Theme.d.ts +44 -37
- package/models/book/Theme.js +452 -52
- package/models/book/ThemeColors.d.ts +1 -1
- package/models/book/Words.d.ts +2 -0
- package/models/book/Words.js +110 -0
- package/models/chapter/AtomNode.d.ts +4 -4
- package/models/chapter/AtomNode.js +20 -13
- package/models/chapter/BlockNode.d.ts +9 -10
- package/models/chapter/BlockNode.js +32 -13
- package/models/chapter/BlocksNode.d.ts +10 -10
- package/models/chapter/BlocksNode.js +315 -120
- package/models/chapter/BlocksNode.test.js +494 -228
- package/models/chapter/Bookkeeping.d.ts +1 -1
- package/models/chapter/CalloutNode.d.ts +3 -3
- package/models/chapter/CalloutNode.js +34 -12
- package/models/chapter/Caret.d.ts +9 -7
- package/models/chapter/Caret.js +11 -6
- package/models/chapter/ChapterNode.d.ts +11 -11
- package/models/chapter/ChapterNode.js +70 -33
- package/models/chapter/CitationsNode.d.ts +3 -3
- package/models/chapter/CitationsNode.js +31 -12
- package/models/chapter/CodeNode.d.ts +11 -6
- package/models/chapter/CodeNode.js +143 -34
- package/models/chapter/CommentNode.d.ts +5 -5
- package/models/chapter/CommentNode.js +29 -13
- package/models/chapter/DefinitionNode.d.ts +2 -2
- package/models/chapter/DefinitionNode.js +15 -7
- package/models/chapter/Edit.d.ts +3 -3
- package/models/chapter/EmbedNode.d.ts +9 -5
- package/models/chapter/EmbedNode.js +108 -35
- package/models/chapter/ErrorNode.d.ts +2 -2
- package/models/chapter/ErrorNode.js +34 -12
- package/models/chapter/FootnoteNode.d.ts +5 -5
- package/models/chapter/FootnoteNode.js +34 -16
- package/models/chapter/FormatNode.d.ts +10 -10
- package/models/chapter/FormatNode.js +237 -106
- package/models/chapter/FormatNode.test.js +87 -45
- package/models/chapter/InlineCodeNode.d.ts +2 -2
- package/models/chapter/InlineCodeNode.js +22 -9
- package/models/chapter/LabelNode.d.ts +4 -4
- package/models/chapter/LabelNode.js +31 -13
- package/models/chapter/LinkNode.d.ts +2 -2
- package/models/chapter/LinkNode.js +21 -9
- package/models/chapter/ListNode.d.ts +8 -8
- package/models/chapter/ListNode.js +99 -38
- package/models/chapter/ListNode.test.js +29 -24
- package/models/chapter/MetadataNode.d.ts +3 -3
- package/models/chapter/MetadataNode.js +13 -5
- package/models/chapter/Node.d.ts +5 -3
- package/models/chapter/Node.js +76 -29
- package/models/chapter/Node.test.js +20 -18
- package/models/chapter/ParagraphNode.d.ts +6 -6
- package/models/chapter/ParagraphNode.js +84 -29
- package/models/chapter/ParagraphNode.test.js +22 -13
- package/models/chapter/Parser.d.ts +27 -27
- package/models/chapter/Parser.js +220 -206
- package/models/chapter/Parser.test.js +16 -16
- package/models/chapter/Position.d.ts +1 -1
- package/models/chapter/QuoteNode.d.ts +6 -6
- package/models/chapter/QuoteNode.js +61 -23
- package/models/chapter/RootNode.d.ts +4 -4
- package/models/chapter/RuleNode.d.ts +2 -2
- package/models/chapter/RuleNode.js +31 -11
- package/models/chapter/TableNode.d.ts +8 -6
- package/models/chapter/TableNode.js +89 -34
- package/models/chapter/TableNode.test.js +22 -24
- package/models/chapter/TextNode.d.ts +6 -6
- package/models/chapter/TextNode.js +72 -32
- package/models/chapter/TextNode.test.js +4 -4
- package/package.json +108 -26
- package/util/getSubdomain.js +8 -6
- package/util/isMobile.js +1 -1
- package/util/mineReference.d.ts +3 -2
- package/util/mineReference.js +67 -29
- package/util/scrollToEyeLevel.js +6 -1
- package/components/chapter/renderPosition.d.ts +0 -3
- package/components/chapter/renderPosition.js +0 -4
- package/components/editor/ToolbarIcon.svelte +0 -22
- package/components/editor/ToolbarIcon.svelte.d.ts +0 -16
- package/components/page/Alert.svelte +0 -11
- package/components/page/Alert.svelte.d.ts +0 -23
- package/components/page/Revisions.svelte +0 -124
- package/components/page/Revisions.svelte.d.ts +0 -14
- package/models/BookLoader.d.ts +0 -2
- package/models/BookLoader.js +0 -67
- package/models/Firestore.d.ts +0 -22
- package/models/Firestore.js +0 -194
- package/models/chapter/ReferenceNode.d.ts +0 -29
- package/models/chapter/ReferenceNode.js +0 -48
- package/models/loadEdition.d.ts +0 -5
- package/models/loadEdition.js +0 -16
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><path d="M2.5,13.5h-1a1,1,0,0,1-1-1v-1" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><line x1="9.5" y1="13.5" x2="5.5" y2="13.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="0.5" y1="8.5" x2="0.5" y2="5.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="13.5" y1="13.5" x2="13.5" y2="0.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="7" y1="8.5" x2="7" y2="5.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="5.5" y1="7" x2="8.5" y2="7" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="0.5" y1="7" x2="2.5" y2="7" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><path d="M2.5.5h-1a1,1,0,0,0-1,1v1" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><line x1="9.5" y1="0.5" x2="5.5" y2="0.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="7" y1="13.5" x2="7" y2="11.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="7" y1="2.5" x2="7" y2="0.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><path d="M11.5.5h1a1,1,0,0,1,1,1v1" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><line x1="4.5" y1="0.5" x2="8.5" y2="0.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="13.5" y1="5.5" x2="13.5" y2="8.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="0.5" y1="0.5" x2="0.5" y2="13.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="7" y1="5.5" x2="7" y2="8.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="8.5" y1="7" x2="5.5" y2="7" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="13.5" y1="7" x2="11.5" y2="7" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><path d="M11.5,13.5h1a1,1,0,0,0,1-1v-1" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><line x1="4.5" y1="13.5" x2="8.5" y2="13.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="7" y1="0.5" x2="7" y2="2.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="7" y1="11.5" x2="7" y2="13.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><circle cx="4.25" cy="6.5" r="0.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></circle><circle cx="7.5" cy="6.5" r="0.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></circle><circle cx="10.75" cy="6.5" r="0.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></circle><path d="M4.5,12.5l-4,1,1-3v-9a1,1,0,0,1,1-1h10a1,1,0,0,1,1,1v10a1,1,0,0,1-1,1Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><rect x="3" y="3" width="10.5" height="10.5" rx="1" transform="translate(16.5 16.5) rotate(180)" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></rect><path d="M.5,10.5v-9a1,1,0,0,1,1-1h9" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><line x1="2.19" y1="4.93" x2="13.5" y2="11.45" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><circle cx="2.75" cy="2.75" r="2.25" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></circle><line x1="2.19" y1="9.07" x2="13.5" y2="2.55" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><circle cx="2.75" cy="11.25" r="2.25" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></circle></g></svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14">
|
|
2
|
+
<g>
|
|
3
|
+
<path d="M3.5,10.78,6.64,3.45a.39.39,0,0,1,.72,0l3.14,7.33" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
4
|
+
<line x1="4.69" y1="8" x2="9.31" y2="8" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line>
|
|
5
|
+
<line x1="2" y1="13" x2="12" y2="13" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line>
|
|
6
|
+
</g>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><path d="M11.5.5h1a1,1,0,0,1,1,1v1" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><line x1="13.5" y1="5.5" x2="13.5" y2="8.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><path d="M11.5,13.5h1a1,1,0,0,0,1-1v-1" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M4.5,13.5h-3a1,1,0,0,1-1-1V1.5a1,1,0,0,1,1-1h3" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><polyline points="8.5 13.5 7 13.5 7 0.5 8.5 0.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></polyline></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><path d="M13.5,11.5v1a1,1,0,0,1-1,1h-1" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><line x1="8.5" y1="13.5" x2="5.5" y2="13.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><path d="M.5,11.5v1a1,1,0,0,0,1,1h1" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M.5,4.5v-3a1,1,0,0,1,1-1h11a1,1,0,0,1,1,1v3" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><polyline points="0.5 8.5 0.5 7 13.5 7 13.5 8.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></polyline></g></svg>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14">
|
|
2
|
+
<g>
|
|
3
|
+
<path d="M3.5,10.78,6.64,3.45a.39.39,0,0,1,.72,0l3.14,7.33" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
4
|
+
<line x1="4.69" y1="8" x2="9.31" y2="8" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line>
|
|
5
|
+
<circle cx="12" cy="3" r="1.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></circle>
|
|
6
|
+
<line x1="13.5" y1="1.5" x2="13.5" y2="4.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line>
|
|
7
|
+
</g>
|
|
8
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14">
|
|
2
|
+
<g>
|
|
3
|
+
<line x1="3" y1="2" x2="3" y2="12" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line>
|
|
4
|
+
<line x1="3" y1="7" x2="11" y2="7" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line>
|
|
5
|
+
<line x1="11" y1="2" x2="11" y2="12" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line>
|
|
6
|
+
</g>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14">
|
|
2
|
+
<g transform="scale(0.8 0.8)" transform-origin="7 12">
|
|
3
|
+
<line x1="3" y1="2" x2="3" y2="12" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line>
|
|
4
|
+
<line x1="3" y1="7" x2="11" y2="7" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line>
|
|
5
|
+
<line x1="11" y1="2" x2="11" y2="12" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line>
|
|
6
|
+
</g>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14">
|
|
2
|
+
<g transform="scale(0.6 0.6)" transform-origin="7 12">
|
|
3
|
+
<line x1="3" y1="2" x2="3" y2="12" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line>
|
|
4
|
+
<line x1="3" y1="7" x2="11" y2="7" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line>
|
|
5
|
+
<line x1="11" y1="2" x2="11" y2="12" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line>
|
|
6
|
+
</g>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><g><polyline points="0.5 9 7 2.5 13.5 9" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></polyline><polyline points="2.5 7 2.5 13.5 11.5 13.5 11.5 7" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></polyline></g><line x1="7" y1="13.5" x2="7" y2="9.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><line x1="13.5" y1="1" x2="0.5" y2="1" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="13.5" y1="5" x2="6" y2="5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="13.5" y1="9" x2="6" y2="9" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="13.5" y1="13" x2="0.5" y2="13" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><polyline points="2 5 4 7 2 9" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></polyline></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><line x1="4.5" y1="13.5" x2="9.5" y2="0.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="5.5" y1="0.5" x2="13" y2="0.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="1" y1="13.5" x2="8.5" y2="13.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><path d="M13.25,9.36,9.36,13.25a.75.75,0,0,1-1.06,0L1.79,6.74a.36.36,0,0,1-.11-.29l.59-3.84a.37.37,0,0,1,.34-.34l3.84-.59a.36.36,0,0,1,.29.11L13.25,8.3A.75.75,0,0,1,13.25,9.36Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><line x1="4.03" y1="4.03" x2="0.53" y2="0.53" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><line x1="13.5" y1="1" x2="9" y2="1" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="13.5" y1="4" x2="9" y2="4" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="13.5" y1="7" x2="9" y2="7" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="13.5" y1="13" x2="0.5" y2="13" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="13.5" y1="10" x2="0.5" y2="10" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><rect x="0.5" y="1" width="6" height="6" rx="0.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></rect></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><path d="M6.5,12.5,9.64,5.17a.39.39,0,0,1,.72,0L13.5,12.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><line x1="7.91" y1="9.21" x2="12.09" y2="9.21" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><path d="M.5,12.5,5.07,1.84a.57.57,0,0,1,1,0L7,3.94" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><line x1="2.55" y1="7.72" x2="5" y2="7.72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><path d="M4,6.49.79,9.67a1,1,0,0,0,0,1.42l2.12,2.12a1,1,0,0,0,1.42,0L7.51,10" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10,7.51l3.18-3.18a1,1,0,0,0,0-1.42L11.09.79a1,1,0,0,0-1.42,0L6.49,4" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><line x1="9" y1="5" x2="5" y2="9" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><line x1="13.5" y1="2" x2="0.5" y2="2" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="13.5" y1="7" x2="0.5" y2="7" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="13.5" y1="12" x2="0.5" y2="12" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><rect x="0.5" y="0.5" width="13" height="13" rx="1" transform="translate(14 14) rotate(180)" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></rect><line x1="0.5" y1="11" x2="13.5" y2="11" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><path d="M3.84,11,9.05,6.12a.5.5,0,0,1,.64,0L13.5,8.85" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><circle cx="4.5" cy="4.5" r="1.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></circle></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><line x1="9.5" y1="13.5" x2="0.5" y2="13.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="13.5" y1="10.5" x2="0.5" y2="10.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="13.5" y1="7.5" x2="0.5" y2="7.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><rect x="5" y="-4" width="4" height="13" rx="0.5" transform="translate(4.5 9.5) rotate(-90)" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></rect></g></svg>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14">
|
|
2
|
+
<g>
|
|
3
|
+
<line x1="1" y1="0.5" x2="1" y2="3" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line>
|
|
4
|
+
<line x1="4.5" y1="2.5" x2="13.5" y2="2.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line>
|
|
5
|
+
<line x1="1" y1="6" x2="1" y2="8" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line>
|
|
6
|
+
<line x1="4.5" y1="7" x2="13.5" y2="7" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line>
|
|
7
|
+
<line x1="1" y1="11" x2="1" y2="13" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line>
|
|
8
|
+
<line x1="4.5" y1="11.5" x2="13.5" y2="11.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line>
|
|
9
|
+
</g>
|
|
10
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><path d="M13.5.5h-9a4,4,0,0,0,0,8h2" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><line x1="9.5" y1="0.5" x2="9.5" y2="13.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="6.5" y1="0.5" x2="6.5" y2="13.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line></g></svg>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14">
|
|
2
|
+
<g>
|
|
3
|
+
<path d="M8.5,3.5v-1a1,1,0,0,0-1-1h-1" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
4
|
+
<path d="M4,10.5H1.5a1,1,0,0,1-1-1v-7a1,1,0,0,1,1-1h1" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
5
|
+
<rect x="6.5" y="5.5" width="7" height="8" rx="1" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></rect>
|
|
6
|
+
<path d="M6.75.5H2.25l.41,1.62a.49.49,0,0,0,.48.38H5.86a.49.49,0,0,0,.48-.38Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
7
|
+
<line x1="8.5" y1="8.5" x2="11.5" y2="8.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line>
|
|
8
|
+
<line x1="8.5" y1="10.5" x2="11.5" y2="10.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line>
|
|
9
|
+
</g>
|
|
10
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><g><path d="M4.08,7.25a3.82,3.82,0,0,1,0-4" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><circle cx="4.45" cy="6.92" r="0.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></circle></g><g><path d="M1.07,7.25a3.82,3.82,0,0,1,0-4" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><circle cx="1.44" cy="6.92" r="0.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></circle></g><g><path d="M9.92,6.75a3.82,3.82,0,0,1,0,4" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><circle cx="9.55" cy="7.08" r="0.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></circle></g><g><path d="M12.93,6.75a3.82,3.82,0,0,1,0,4" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><circle cx="12.56" cy="7.08" r="0.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></circle></g></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><polyline points="10.5 1.5 13.5 4.5 10.5 7.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></polyline><path d="M13.5,4.5h-9a4,4,0,0,0,0,8h5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><line x1="0.5" y1="1" x2="5" y2="1" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="0.5" y1="4" x2="5" y2="4" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="0.5" y1="7" x2="5" y2="7" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="0.5" y1="13" x2="13.5" y2="13" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="0.5" y1="10" x2="13.5" y2="10" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><rect x="7.5" y="1" width="6" height="6" rx="0.5" transform="translate(21 8) rotate(-180)" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></rect></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><path d="M13.5,11.5v1a1,1,0,0,1-1,1h-1" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><line x1="13.5" y1="4.5" x2="13.5" y2="8.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="8.5" y1="13.5" x2="5.5" y2="13.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="13.5" y1="0.5" x2="0.5" y2="0.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="8.5" y1="7" x2="5.5" y2="7" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="7" y1="8.5" x2="7" y2="5.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="7" y1="13.5" x2="7" y2="11.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><path d="M.5,11.5v1a1,1,0,0,0,1,1h1" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><line x1="0.5" y1="4.5" x2="0.5" y2="8.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="13.5" y1="7" x2="11.5" y2="7" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="2.5" y1="7" x2="0.5" y2="7" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><path d="M11.5.5h1a1,1,0,0,1,1,1v1" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M.5,2.5v-1a1,1,0,0,1,1-1h1" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><line x1="5.5" y1="0.5" x2="8.5" y2="0.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="0.5" y1="13.5" x2="13.5" y2="13.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="13.5" y1="5.5" x2="13.5" y2="9.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="0.5" y1="5.5" x2="0.5" y2="9.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="7" y1="5.5" x2="7" y2="8.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="8.5" y1="7" x2="5.5" y2="7" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="13.5" y1="7" x2="11.5" y2="7" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="2.5" y1="7" x2="0.5" y2="7" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="7" y1="0.5" x2="7" y2="2.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><line x1="0.5" y1="7" x2="13.5" y2="7" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><line x1="1" y1="0.5" x2="8" y2="8.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="8" y1="0.5" x2="1" y2="8.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><path d="M10.5,11v-.25A1.25,1.25,0,0,1,11.75,9.5h0A1.25,1.25,0,0,1,13,10.75,1.58,1.58,0,0,1,12.41,12L10.5,13.5H13" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><line x1="1" y1="5.5" x2="8" y2="13.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="8" y1="5.5" x2="1" y2="13.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><path d="M10.5,2V1.75A1.25,1.25,0,0,1,11.75.5h0A1.25,1.25,0,0,1,13,1.75,1.58,1.58,0,0,1,12.41,3L10.5,4.5H13" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><rect x="0.5" y="0.5" width="13" height="13" rx="1" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></rect><line x1="5" y1="0.5" x2="5" y2="13.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="9" y1="0.5" x2="9" y2="13.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="13.5" y1="5" x2="0.5" y2="5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="13.5" y1="9" x2="0.5" y2="9" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><line x1="7" y1="0.5" x2="7" y2="13.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="4.5" y1="13.5" x2="9.5" y2="13.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><path d="M1.5,3V1.5a1,1,0,0,1,1-1h9a1,1,0,0,1,1,1V3" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><circle cx="7" cy="7" r="6.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></circle><polyline points="7 4.5 7 7 9.54 9.96" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></polyline></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><polyline points="3.5 1.5 0.5 4.5 3.5 7.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></polyline><path d="M.5,4.5h9a4,4,0,0,1,0,8h-5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><line x1="13.5" y1="1" x2="0.5" y2="1" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="13.5" y1="5" x2="6" y2="5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="13.5" y1="9" x2="6" y2="9" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="13.5" y1="13" x2="0.5" y2="13" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><polyline points="2.5 5 1 7 2.5 9" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></polyline></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><g><path d="M3.14,7.13,1.27,9a2.65,2.65,0,0,0,0,3.74h0a2.65,2.65,0,0,0,3.74,0l1.11-1.11" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9,9.5h1.86A2.64,2.64,0,0,0,13.5,6.86h0a2.64,2.64,0,0,0-2.64-2.64H8.22" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><line x1="7" y1="0.5" x2="6.5" y2="2.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="0.5" y1="3.5" x2="2.5" y2="4.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line><line x1="3" y1="0.5" x2="4" y2="2.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line></g></svg>
|
|
@@ -1,29 +1,40 @@
|
|
|
1
|
-
<script>import Parser from
|
|
2
|
-
import ChapterBody from
|
|
3
|
-
import BookishEditor from
|
|
4
|
-
import Instructions from
|
|
5
|
-
import { getEdition,
|
|
1
|
+
<script>import Parser from '../../models/chapter/Parser';
|
|
2
|
+
import ChapterBody from '../chapter/ChapterBody.svelte';
|
|
3
|
+
import BookishEditor from '../editor/BookishEditor.svelte';
|
|
4
|
+
import Instructions from './Instructions.svelte';
|
|
5
|
+
import { getUser, getEdition, getLeasee, isEditionEditable, lease, } from './Contexts';
|
|
6
|
+
import PageHeader from './PageHeader.svelte';
|
|
7
|
+
let auth = getUser();
|
|
6
8
|
let edition = getEdition();
|
|
7
|
-
let editable =
|
|
8
|
-
$: acknowledgements = $edition
|
|
9
|
-
$: acksNode = Parser.parseChapter($edition, acknowledgements);
|
|
9
|
+
let editable = isEditionEditable();
|
|
10
|
+
$: acknowledgements = $edition?.getAcknowledgements();
|
|
10
11
|
</script>
|
|
11
12
|
|
|
12
|
-
<Instructions>
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
<Instructions {editable}>
|
|
14
|
+
Do you have people, communities, or institutions to thank? Do it here. This
|
|
15
|
+
section is not shown if empty.
|
|
15
16
|
</Instructions>
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
{#if
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
{
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
18
|
+
<!-- If editable, show acknowledgements even if they're empty, otherwise hide -->
|
|
19
|
+
{#if $edition && acknowledgements}
|
|
20
|
+
{#if editable}
|
|
21
|
+
<BookishEditor
|
|
22
|
+
text={acknowledgements}
|
|
23
|
+
parser={(text) => Parser.parseChapter($edition, text)}
|
|
24
|
+
chapter={false}
|
|
25
|
+
component={ChapterBody}
|
|
26
|
+
placeholder="Who would you like to thank?"
|
|
27
|
+
save={(node) =>
|
|
28
|
+
$edition
|
|
29
|
+
? edition.set(
|
|
30
|
+
$edition.withAcknowledgements(node.toBookdown())
|
|
31
|
+
)
|
|
32
|
+
: undefined}
|
|
33
|
+
leasee={getLeasee(auth, edition, `acks`)}
|
|
34
|
+
lease={(lock) => lease(auth, edition, `acks`, lock)}
|
|
35
|
+
/>
|
|
36
|
+
{:else if acknowledgements.length > 0}
|
|
37
|
+
<PageHeader id="acknowledgements">Acknowledgements</PageHeader>
|
|
38
|
+
<ChapterBody node={Parser.parseChapter($edition, acknowledgements)} />
|
|
39
|
+
{/if}
|
|
40
|
+
{/if}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
2
|
declare const __propDef: {
|
|
3
|
-
props:
|
|
3
|
+
props: Record<string, never>;
|
|
4
4
|
events: {
|
|
5
5
|
[evt: string]: CustomEvent<any>;
|
|
6
6
|
};
|
|
7
7
|
slots: {};
|
|
8
8
|
};
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
9
|
+
export type AcknowledgementsProps = typeof __propDef.props;
|
|
10
|
+
export type AcknowledgementsEvents = typeof __propDef.events;
|
|
11
|
+
export type AcknowledgementsSlots = typeof __propDef.slots;
|
|
12
12
|
export default class Acknowledgements extends SvelteComponentTyped<AcknowledgementsProps, AcknowledgementsEvents, AcknowledgementsSlots> {
|
|
13
13
|
}
|
|
14
14
|
export {};
|
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
import TextEditor from '../editor/TextEditor.svelte';
|
|
3
3
|
import Format from '../chapter/Format.svelte';
|
|
4
4
|
import { afterUpdate } from 'svelte';
|
|
5
|
-
import { getEdition,
|
|
5
|
+
import { getEdition, isBookEditable, isEditionEditable } from './Contexts';
|
|
6
6
|
import Note from '../editor/Note.svelte';
|
|
7
|
+
import Button from '../app/Button.svelte';
|
|
8
|
+
export let editable;
|
|
7
9
|
export let authors;
|
|
8
10
|
export let inheritedAuthors = undefined;
|
|
9
11
|
export let add;
|
|
10
12
|
export let edit;
|
|
11
13
|
export let remove;
|
|
12
|
-
let editable = isEditable();
|
|
13
14
|
let edition = getEdition();
|
|
14
15
|
let authorList = null;
|
|
15
16
|
let newAuthor = false;
|
|
@@ -20,7 +21,7 @@ function addAuthor() {
|
|
|
20
21
|
// When there's a new author, focus on it.
|
|
21
22
|
afterUpdate(() => {
|
|
22
23
|
if (authors.length > 0 && authorList && newAuthor) {
|
|
23
|
-
const editors = authorList.querySelectorAll(
|
|
24
|
+
const editors = authorList.querySelectorAll('input');
|
|
24
25
|
if (editors.length > 0) {
|
|
25
26
|
const lastAuthor = editors[editors.length - 1];
|
|
26
27
|
if (lastAuthor instanceof HTMLElement) {
|
|
@@ -32,31 +33,47 @@ afterUpdate(() => {
|
|
|
32
33
|
});
|
|
33
34
|
</script>
|
|
34
35
|
|
|
35
|
-
<
|
|
36
|
-
{#if authors.length === 0
|
|
37
|
-
{#if editable && inheritedAuthors !== undefined && inheritedAuthors.length > 0
|
|
36
|
+
<p class="bookish-authors" bind:this={authorList}>
|
|
37
|
+
{#if authors.length === 0}
|
|
38
|
+
{#if editable && inheritedAuthors !== undefined && inheritedAuthors.length > 0}
|
|
38
39
|
<Note> (book authors) </Note>
|
|
39
40
|
{:else}
|
|
40
41
|
No authors
|
|
41
42
|
{/if}
|
|
42
43
|
{:else}
|
|
43
44
|
<em>by </em>
|
|
44
|
-
{#each authors as author, index
|
|
45
|
-
{#if editable
|
|
45
|
+
{#each authors as author, index}
|
|
46
|
+
{#if editable}
|
|
46
47
|
<TextEditor
|
|
47
|
-
|
|
48
|
-
label={'Author name editor'}
|
|
49
|
-
placeholder="
|
|
50
|
-
valid={
|
|
51
|
-
save={
|
|
48
|
+
text={author}
|
|
49
|
+
label={'Author name editor'}
|
|
50
|
+
placeholder="author"
|
|
51
|
+
valid={() => undefined}
|
|
52
|
+
save={(text) =>
|
|
53
|
+
/* If text is already empty, remove */ author.length >
|
|
54
|
+
0 && text === ''
|
|
55
|
+
? remove(index)
|
|
56
|
+
: edit(index, text)}
|
|
52
57
|
/>
|
|
53
58
|
{:else}
|
|
54
|
-
<span
|
|
59
|
+
<span
|
|
60
|
+
><Format
|
|
61
|
+
node={Parser.parseFormat($edition, author)}
|
|
62
|
+
/></span
|
|
63
|
+
>
|
|
55
64
|
{/if}
|
|
56
65
|
{#if index < authors.length - 1}, {/if}
|
|
57
66
|
{/each}
|
|
58
67
|
{/if}
|
|
59
|
-
{#if editable
|
|
60
|
-
<
|
|
68
|
+
{#if editable}
|
|
69
|
+
<Button tooltip="add author" command={addAuthor}>+ author</Button>
|
|
61
70
|
{/if}
|
|
62
|
-
</
|
|
71
|
+
</p>
|
|
72
|
+
|
|
73
|
+
<style>
|
|
74
|
+
.bookish-authors {
|
|
75
|
+
font-family: var(--bookish-header-font-family);
|
|
76
|
+
font-style: italic;
|
|
77
|
+
margin: 0;
|
|
78
|
+
}
|
|
79
|
+
</style>
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
2
|
declare const __propDef: {
|
|
3
3
|
props: {
|
|
4
|
+
editable: boolean;
|
|
4
5
|
authors: string[];
|
|
5
6
|
inheritedAuthors?: string[] | undefined;
|
|
6
|
-
add: () => Promise<void
|
|
7
|
-
edit: (index: number, text: string) => Promise<void> |
|
|
8
|
-
remove: (index: number) => Promise<void> |
|
|
7
|
+
add: () => Promise<void> | void;
|
|
8
|
+
edit: (index: number, text: string) => Promise<void> | void;
|
|
9
|
+
remove: (index: number) => Promise<void> | void;
|
|
9
10
|
};
|
|
10
11
|
events: {
|
|
11
12
|
[evt: string]: CustomEvent<any>;
|
|
12
13
|
};
|
|
13
14
|
slots: {};
|
|
14
15
|
};
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
16
|
+
export type AuthorsProps = typeof __propDef.props;
|
|
17
|
+
export type AuthorsEvents = typeof __propDef.events;
|
|
18
|
+
export type AuthorsSlots = typeof __propDef.slots;
|
|
18
19
|
export default class Authors extends SvelteComponentTyped<AuthorsProps, AuthorsEvents, AuthorsSlots> {
|
|
19
20
|
}
|
|
20
21
|
export {};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<script>import Loading from './Loading.svelte';
|
|
2
|
+
import Feedback from '../app/Feedback.svelte';
|
|
3
|
+
import { onDestroy } from 'svelte';
|
|
4
|
+
import { page } from '$app/stores';
|
|
5
|
+
import { getBook, getUser } from './Contexts';
|
|
6
|
+
import { listenToBookWithID as listenToBooksWithID, listenToBooksByName as listenToBooksWithName, } from '../../models/CRUD';
|
|
7
|
+
let auth = getUser();
|
|
8
|
+
let book = getBook();
|
|
9
|
+
// Keep track of the query updates
|
|
10
|
+
let booksByName = undefined;
|
|
11
|
+
let bookByID = undefined;
|
|
12
|
+
// Mege them together here
|
|
13
|
+
$: currentBook =
|
|
14
|
+
// Neither loaded? Current book isn't loaded.
|
|
15
|
+
booksByName === undefined && bookByID === undefined
|
|
16
|
+
? undefined
|
|
17
|
+
: booksByName !== undefined && booksByName.length > 0
|
|
18
|
+
? booksByName[0]
|
|
19
|
+
: bookByID ?? null;
|
|
20
|
+
// Whenever the merge changes, update the book store (updating the whole UI)
|
|
21
|
+
$: book.set(currentBook ?? undefined);
|
|
22
|
+
// Keep track of listeners to unsubscribe to on page changes.
|
|
23
|
+
let nameUnsub = undefined;
|
|
24
|
+
let idUnsub = undefined;
|
|
25
|
+
function unsub() {
|
|
26
|
+
if (nameUnsub)
|
|
27
|
+
nameUnsub();
|
|
28
|
+
if (idUnsub)
|
|
29
|
+
idUnsub();
|
|
30
|
+
}
|
|
31
|
+
// Keep track of any errors.
|
|
32
|
+
let error;
|
|
33
|
+
function listen() {
|
|
34
|
+
unsub();
|
|
35
|
+
try {
|
|
36
|
+
nameUnsub = listenToBooksWithName($page.params.bookid, (books) => (booksByName = books));
|
|
37
|
+
idUnsub = listenToBooksWithID($page.params.bookid, (book) => (bookByID = book));
|
|
38
|
+
}
|
|
39
|
+
catch (err) {
|
|
40
|
+
error = '' + err;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
// When page or auth changes and there's a user, update the listener.
|
|
44
|
+
$: if ($page && $auth && $auth.user !== null)
|
|
45
|
+
listen();
|
|
46
|
+
// When this is unmounted, unset them.
|
|
47
|
+
onDestroy(() => {
|
|
48
|
+
book.set(undefined);
|
|
49
|
+
unsub();
|
|
50
|
+
});
|
|
51
|
+
</script>
|
|
52
|
+
|
|
53
|
+
{#if error || currentBook === null}
|
|
54
|
+
<Feedback error>Unable to load book.</Feedback>
|
|
55
|
+
{:else if currentBook === undefined}
|
|
56
|
+
<Loading />
|
|
57
|
+
{:else}
|
|
58
|
+
<slot />
|
|
59
|
+
{/if}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {
|
|
8
|
+
default: {};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export type BookLoaderProps = typeof __propDef.props;
|
|
12
|
+
export type BookLoaderEvents = typeof __propDef.events;
|
|
13
|
+
export type BookLoaderSlots = typeof __propDef.slots;
|
|
14
|
+
export default class BookLoader extends SvelteComponentTyped<BookLoaderProps, BookLoaderEvents, BookLoaderSlots> {
|
|
15
|
+
}
|
|
16
|
+
export {};
|