@mdxeditor/editor 0.0.0-development
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +28 -0
- package/dist/FormatConstants.d.ts +9 -0
- package/dist/FormatConstants.js +10 -0
- package/dist/MDXEditor.d.ts +92 -0
- package/dist/MDXEditor.js +142 -0
- package/dist/directive-editors/AdmonitionDirectiveDescriptor.d.ts +17 -0
- package/dist/directive-editors/AdmonitionDirectiveDescriptor.js +28 -0
- package/dist/directive-editors/GenericDirectiveEditor.d.ts +8 -0
- package/dist/directive-editors/GenericDirectiveEditor.js +32 -0
- package/dist/exportMarkdownFromLexical.d.ts +133 -0
- package/dist/exportMarkdownFromLexical.js +202 -0
- package/dist/gurx/index.d.ts +3 -0
- package/dist/gurx/react.d.ts +152 -0
- package/dist/gurx/react.js +206 -0
- package/dist/gurx/realm.d.ts +148 -0
- package/dist/gurx/realm.js +489 -0
- package/dist/gurx/realmFactory.d.ts +79 -0
- package/dist/gurx/realmFactory.js +32 -0
- package/dist/icons/add_column.svg.js +5 -0
- package/dist/icons/add_photo.svg.js +5 -0
- package/dist/icons/add_row.svg.js +5 -0
- package/dist/icons/admonition.svg.js +5 -0
- package/dist/icons/arrow_drop_down.svg.js +5 -0
- package/dist/icons/check.svg.js +5 -0
- package/dist/icons/check_small.svg.js +5 -0
- package/dist/icons/close.svg.js +5 -0
- package/dist/icons/code.svg.js +5 -0
- package/dist/icons/code_block.svg.js +5 -0
- package/dist/icons/content_copy.svg.js +5 -0
- package/dist/icons/delete_big.svg.js +5 -0
- package/dist/icons/delete_small.svg.js +5 -0
- package/dist/icons/difference.svg.js +5 -0
- package/dist/icons/edit.svg.js +5 -0
- package/dist/icons/format_align_center.svg.js +5 -0
- package/dist/icons/format_align_left.svg.js +5 -0
- package/dist/icons/format_align_right.svg.js +5 -0
- package/dist/icons/format_bold.svg.js +5 -0
- package/dist/icons/format_italic.svg.js +5 -0
- package/dist/icons/format_list_bulleted.svg.js +7 -0
- package/dist/icons/format_list_checked.svg.js +5 -0
- package/dist/icons/format_list_numbered.svg.js +5 -0
- package/dist/icons/format_underlined.svg.js +5 -0
- package/dist/icons/frontmatter.svg.js +5 -0
- package/dist/icons/horizontal_rule.svg.js +5 -0
- package/dist/icons/insert_col_left.svg.js +5 -0
- package/dist/icons/insert_col_right.svg.js +5 -0
- package/dist/icons/insert_row_above.svg.js +5 -0
- package/dist/icons/insert_row_below.svg.js +5 -0
- package/dist/icons/link.svg.js +5 -0
- package/dist/icons/link_off.svg.js +5 -0
- package/dist/icons/markdown.svg.js +5 -0
- package/dist/icons/more_horiz.svg.js +5 -0
- package/dist/icons/more_vert.svg.js +5 -0
- package/dist/icons/open_in_new.svg.js +5 -0
- package/dist/icons/redo.svg.js +5 -0
- package/dist/icons/rich_text.svg.js +5 -0
- package/dist/icons/sandpack.svg.js +5 -0
- package/dist/icons/settings.svg.js +7 -0
- package/dist/icons/table.svg.js +5 -0
- package/dist/icons/undo.svg.js +5 -0
- package/dist/importMarkdownToLexical.d.ts +91 -0
- package/dist/importMarkdownToLexical.js +69 -0
- package/dist/index.d.ts +54 -0
- package/dist/index.js +175 -0
- package/dist/jsx-editors/GenericJsxEditor.d.ts +8 -0
- package/dist/jsx-editors/GenericJsxEditor.js +56 -0
- package/dist/plugins/codeblock/CodeBlockNode.d.ts +100 -0
- package/dist/plugins/codeblock/CodeBlockNode.js +158 -0
- package/dist/plugins/codeblock/CodeBlockVisitor.d.ts +4 -0
- package/dist/plugins/codeblock/CodeBlockVisitor.js +14 -0
- package/dist/plugins/codeblock/MdastCodeVisitor.d.ts +3 -0
- package/dist/plugins/codeblock/MdastCodeVisitor.js +16 -0
- package/dist/plugins/codeblock/index.d.ts +697 -0
- package/dist/plugins/codeblock/index.js +73 -0
- package/dist/plugins/codemirror/CodeMirrorEditor.d.ts +3 -0
- package/dist/plugins/codemirror/CodeMirrorEditor.js +42 -0
- package/dist/plugins/codemirror/index.d.ts +912 -0
- package/dist/plugins/codemirror/index.js +62 -0
- package/dist/plugins/core/Icon.d.ts +6 -0
- package/dist/plugins/core/Icon.js +94 -0
- package/dist/plugins/core/LexicalLinebreakVisitor.d.ts +4 -0
- package/dist/plugins/core/LexicalLinebreakVisitor.js +10 -0
- package/dist/plugins/core/LexicalParagraphVisitor.d.ts +4 -0
- package/dist/plugins/core/LexicalParagraphVisitor.js +10 -0
- package/dist/plugins/core/LexicalRootVisitor.d.ts +4 -0
- package/dist/plugins/core/LexicalRootVisitor.js +10 -0
- package/dist/plugins/core/LexicalTextVisitor.d.ts +5 -0
- package/dist/plugins/core/LexicalTextVisitor.js +85 -0
- package/dist/plugins/core/MdastBreakVisitor.d.ts +3 -0
- package/dist/plugins/core/MdastBreakVisitor.js +10 -0
- package/dist/plugins/core/MdastFormattingVisitor.d.ts +4 -0
- package/dist/plugins/core/MdastFormattingVisitor.js +36 -0
- package/dist/plugins/core/MdastInlineCodeVisitor.d.ts +3 -0
- package/dist/plugins/core/MdastInlineCodeVisitor.js +27 -0
- package/dist/plugins/core/MdastParagraphVisitor.d.ts +3 -0
- package/dist/plugins/core/MdastParagraphVisitor.js +15 -0
- package/dist/plugins/core/MdastRootVisitor.d.ts +3 -0
- package/dist/plugins/core/MdastRootVisitor.js +9 -0
- package/dist/plugins/core/MdastTextVisitor.d.ts +3 -0
- package/dist/plugins/core/MdastTextVisitor.js +10 -0
- package/dist/plugins/core/NestedLexicalEditor.d.ts +92 -0
- package/dist/plugins/core/NestedLexicalEditor.js +180 -0
- package/dist/plugins/core/PropertyPopover.d.ts +23 -0
- package/dist/plugins/core/PropertyPopover.js +39 -0
- package/dist/plugins/core/SharedHistoryPlugin.d.ts +2 -0
- package/dist/plugins/core/SharedHistoryPlugin.js +10 -0
- package/dist/plugins/core/index.d.ts +506 -0
- package/dist/plugins/core/index.js +420 -0
- package/dist/plugins/core/ui/DownshiftAutoComplete.d.ts +15 -0
- package/dist/plugins/core/ui/DownshiftAutoComplete.js +83 -0
- package/dist/plugins/core/ui/PopoverUtils.d.ts +4 -0
- package/dist/plugins/core/ui/PopoverUtils.js +17 -0
- package/dist/plugins/diff-source/DiffSourceWrapper.d.ts +4 -0
- package/dist/plugins/diff-source/DiffSourceWrapper.js +11 -0
- package/dist/plugins/diff-source/DiffViewer.d.ts +2 -0
- package/dist/plugins/diff-source/DiffViewer.js +59 -0
- package/dist/plugins/diff-source/SourceEditor.d.ts +4 -0
- package/dist/plugins/diff-source/SourceEditor.js +47 -0
- package/dist/plugins/diff-source/index.d.ts +635 -0
- package/dist/plugins/diff-source/index.js +57 -0
- package/dist/plugins/directives/DirectiveNode.d.ts +51 -0
- package/dist/plugins/directives/DirectiveNode.js +92 -0
- package/dist/plugins/directives/DirectiveVisitor.d.ts +4 -0
- package/dist/plugins/directives/DirectiveVisitor.js +10 -0
- package/dist/plugins/directives/MdastDirectiveVisitor.d.ts +3 -0
- package/dist/plugins/directives/MdastDirectiveVisitor.js +13 -0
- package/dist/plugins/directives/index.d.ts +683 -0
- package/dist/plugins/directives/index.js +53 -0
- package/dist/plugins/frontmatter/FrontmatterEditor.d.ts +6 -0
- package/dist/plugins/frontmatter/FrontmatterEditor.js +85 -0
- package/dist/plugins/frontmatter/FrontmatterNode.d.ts +35 -0
- package/dist/plugins/frontmatter/FrontmatterNode.js +71 -0
- package/dist/plugins/frontmatter/LexicalFrontmatterVisitor.d.ts +4 -0
- package/dist/plugins/frontmatter/LexicalFrontmatterVisitor.js +10 -0
- package/dist/plugins/frontmatter/MdastFrontmatterVisitor.d.ts +3 -0
- package/dist/plugins/frontmatter/MdastFrontmatterVisitor.js +10 -0
- package/dist/plugins/frontmatter/index.d.ts +627 -0
- package/dist/plugins/frontmatter/index.js +76 -0
- package/dist/plugins/headings/LexicalHeadingVisitor.d.ts +4 -0
- package/dist/plugins/headings/LexicalHeadingVisitor.js +11 -0
- package/dist/plugins/headings/MdastHeadingVisitor.d.ts +3 -0
- package/dist/plugins/headings/MdastHeadingVisitor.js +10 -0
- package/dist/plugins/headings/index.d.ts +617 -0
- package/dist/plugins/headings/index.js +69 -0
- package/dist/plugins/image/ImageDialog.d.ts +2 -0
- package/dist/plugins/image/ImageDialog.js +70 -0
- package/dist/plugins/image/ImageEditor.d.ts +10 -0
- package/dist/plugins/image/ImageEditor.js +227 -0
- package/dist/plugins/image/ImageNode.d.ts +65 -0
- package/dist/plugins/image/ImageNode.js +152 -0
- package/dist/plugins/image/ImageResizer.d.ts +18 -0
- package/dist/plugins/image/ImageResizer.js +214 -0
- package/dist/plugins/image/LexicalImageVisitor.d.ts +4 -0
- package/dist/plugins/image/LexicalImageVisitor.js +35 -0
- package/dist/plugins/image/MdastImageVisitor.d.ts +6 -0
- package/dist/plugins/image/MdastImageVisitor.js +87 -0
- package/dist/plugins/image/index.d.ts +714 -0
- package/dist/plugins/image/index.js +300 -0
- package/dist/plugins/jsx/LexicalJsxNode.d.ts +54 -0
- package/dist/plugins/jsx/LexicalJsxNode.js +102 -0
- package/dist/plugins/jsx/LexicalJsxVisitor.d.ts +4 -0
- package/dist/plugins/jsx/LexicalJsxVisitor.js +12 -0
- package/dist/plugins/jsx/MdastMdxJsEsmVisitor.d.ts +3 -0
- package/dist/plugins/jsx/MdastMdxJsEsmVisitor.js +8 -0
- package/dist/plugins/jsx/MdastMdxJsxElementVisitor.d.ts +3 -0
- package/dist/plugins/jsx/MdastMdxJsxElementVisitor.js +12 -0
- package/dist/plugins/jsx/index.d.ts +688 -0
- package/dist/plugins/jsx/index.js +78 -0
- package/dist/plugins/link/AutoLinkPlugin.d.ts +9 -0
- package/dist/plugins/link/AutoLinkPlugin.js +18 -0
- package/dist/plugins/link/LexicalLinkVisitor.d.ts +4 -0
- package/dist/plugins/link/LexicalLinkVisitor.js +10 -0
- package/dist/plugins/link/MdastLinkVisitor.d.ts +3 -0
- package/dist/plugins/link/MdastLinkVisitor.js +14 -0
- package/dist/plugins/link/index.d.ts +92 -0
- package/dist/plugins/link/index.js +33 -0
- package/dist/plugins/link-dialog/LinkDialog.d.ts +16 -0
- package/dist/plugins/link-dialog/LinkDialog.js +148 -0
- package/dist/plugins/link-dialog/index.d.ts +595 -0
- package/dist/plugins/link-dialog/index.js +260 -0
- package/dist/plugins/lists/LexicalListItemVisitor.d.ts +4 -0
- package/dist/plugins/lists/LexicalListItemVisitor.js +23 -0
- package/dist/plugins/lists/LexicalListVisitor.d.ts +4 -0
- package/dist/plugins/lists/LexicalListVisitor.js +13 -0
- package/dist/plugins/lists/MdastListItemVisitor.d.ts +3 -0
- package/dist/plugins/lists/MdastListItemVisitor.js +10 -0
- package/dist/plugins/lists/MdastListVisitor.d.ts +3 -0
- package/dist/plugins/lists/MdastListVisitor.js +20 -0
- package/dist/plugins/lists/index.d.ts +613 -0
- package/dist/plugins/lists/index.js +119 -0
- package/dist/plugins/markdown-shortcut/index.d.ts +71 -0
- package/dist/plugins/markdown-shortcut/index.js +90 -0
- package/dist/plugins/quote/LexicalQuoteVisitor.d.ts +4 -0
- package/dist/plugins/quote/LexicalQuoteVisitor.js +12 -0
- package/dist/plugins/quote/MdastBlockQuoteVisitor.d.ts +3 -0
- package/dist/plugins/quote/MdastBlockQuoteVisitor.js +10 -0
- package/dist/plugins/quote/index.d.ts +417 -0
- package/dist/plugins/quote/index.js +26 -0
- package/dist/plugins/sandpack/SandpackEditor.d.ts +7 -0
- package/dist/plugins/sandpack/SandpackEditor.js +37 -0
- package/dist/plugins/sandpack/index.d.ts +951 -0
- package/dist/plugins/sandpack/index.js +93 -0
- package/dist/plugins/sandpack/useCodeMirrorRef.d.ts +4 -0
- package/dist/plugins/sandpack/useCodeMirrorRef.js +96 -0
- package/dist/plugins/table/LexicalTableVisitor.d.ts +4 -0
- package/dist/plugins/table/LexicalTableVisitor.js +10 -0
- package/dist/plugins/table/MdastTableVisitor.d.ts +3 -0
- package/dist/plugins/table/MdastTableVisitor.js +10 -0
- package/dist/plugins/table/TableEditor.d.ts +21 -0
- package/dist/plugins/table/TableEditor.js +388 -0
- package/dist/plugins/table/TableNode.d.ts +52 -0
- package/dist/plugins/table/TableNode.js +152 -0
- package/dist/plugins/table/index.d.ts +614 -0
- package/dist/plugins/table/index.js +69 -0
- package/dist/plugins/thematic-break/LexicalThematicBreakVisitor.d.ts +4 -0
- package/dist/plugins/thematic-break/LexicalThematicBreakVisitor.js +10 -0
- package/dist/plugins/thematic-break/MdastThematicBreakVisitor.d.ts +3 -0
- package/dist/plugins/thematic-break/MdastThematicBreakVisitor.js +10 -0
- package/dist/plugins/thematic-break/index.d.ts +603 -0
- package/dist/plugins/thematic-break/index.js +39 -0
- package/dist/plugins/toolbar/components/BlockTypeSelect.d.ts +6 -0
- package/dist/plugins/toolbar/components/BlockTypeSelect.js +54 -0
- package/dist/plugins/toolbar/components/BoldItalicUnderlineToggles.d.ts +5 -0
- package/dist/plugins/toolbar/components/BoldItalicUnderlineToggles.js +33 -0
- package/dist/plugins/toolbar/components/ChangeAdmonitionType.d.ts +6 -0
- package/dist/plugins/toolbar/components/ChangeAdmonitionType.js +30 -0
- package/dist/plugins/toolbar/components/ChangeCodeMirrorLanguage.d.ts +7 -0
- package/dist/plugins/toolbar/components/ChangeCodeMirrorLanguage.js +32 -0
- package/dist/plugins/toolbar/components/CodeToggle.d.ts +6 -0
- package/dist/plugins/toolbar/components/CodeToggle.js +19 -0
- package/dist/plugins/toolbar/components/CreateLink.d.ts +6 -0
- package/dist/plugins/toolbar/components/CreateLink.js +20 -0
- package/dist/plugins/toolbar/components/DiffSourceToggleWrapper.d.ts +18 -0
- package/dist/plugins/toolbar/components/DiffSourceToggleWrapper.js +25 -0
- package/dist/plugins/toolbar/components/InsertAdmonition.d.ts +6 -0
- package/dist/plugins/toolbar/components/InsertAdmonition.js +29 -0
- package/dist/plugins/toolbar/components/InsertCodeBlock.d.ts +7 -0
- package/dist/plugins/toolbar/components/InsertCodeBlock.js +20 -0
- package/dist/plugins/toolbar/components/InsertFrontmatter.d.ts +6 -0
- package/dist/plugins/toolbar/components/InsertFrontmatter.js +24 -0
- package/dist/plugins/toolbar/components/InsertImage.d.ts +6 -0
- package/dist/plugins/toolbar/components/InsertImage.js +14 -0
- package/dist/plugins/toolbar/components/InsertSandpack.d.ts +6 -0
- package/dist/plugins/toolbar/components/InsertSandpack.js +13 -0
- package/dist/plugins/toolbar/components/InsertTable.d.ts +6 -0
- package/dist/plugins/toolbar/components/InsertTable.js +20 -0
- package/dist/plugins/toolbar/components/InsertThematicBreak.d.ts +6 -0
- package/dist/plugins/toolbar/components/InsertThematicBreak.js +11 -0
- package/dist/plugins/toolbar/components/KitchenSinkToolbar.d.ts +7 -0
- package/dist/plugins/toolbar/components/KitchenSinkToolbar.js +58 -0
- package/dist/plugins/toolbar/components/ListsToggle.d.ts +7 -0
- package/dist/plugins/toolbar/components/ListsToggle.js +23 -0
- package/dist/plugins/toolbar/components/ShowSandpackInfo.d.ts +7 -0
- package/dist/plugins/toolbar/components/ShowSandpackInfo.js +31 -0
- package/dist/plugins/toolbar/components/UndoRedo.d.ts +5 -0
- package/dist/plugins/toolbar/components/UndoRedo.js +58 -0
- package/dist/plugins/toolbar/index.d.ts +492 -0
- package/dist/plugins/toolbar/index.js +40 -0
- package/dist/plugins/toolbar/primitives/DialogButton.d.ts +40 -0
- package/dist/plugins/toolbar/primitives/DialogButton.js +114 -0
- package/dist/plugins/toolbar/primitives/TooltipWrap.d.ts +8 -0
- package/dist/plugins/toolbar/primitives/TooltipWrap.js +12 -0
- package/dist/plugins/toolbar/primitives/select.d.ts +50 -0
- package/dist/plugins/toolbar/primitives/select.js +55 -0
- package/dist/plugins/toolbar/primitives/toolbar.d.ts +163 -0
- package/dist/plugins/toolbar/primitives/toolbar.js +115 -0
- package/dist/style.css +1715 -0
- package/dist/styles/globals.css.js +4 -0
- package/dist/styles/lexical-theme.module.css.js +62 -0
- package/dist/styles/lexicalTheme.d.ts +2 -0
- package/dist/styles/lexicalTheme.js +31 -0
- package/dist/styles/ui.module.css.js +308 -0
- package/dist/utils/detectMac.d.ts +3 -0
- package/dist/utils/detectMac.js +13 -0
- package/dist/utils/fp.d.ts +47 -0
- package/dist/utils/fp.js +14 -0
- package/dist/utils/isPartOftheEditorUI.d.ts +1 -0
- package/dist/utils/isPartOftheEditorUI.js +12 -0
- package/dist/utils/lexicalHelpers.d.ts +11 -0
- package/dist/utils/lexicalHelpers.js +62 -0
- package/dist/utils/uuid4.d.ts +1 -0
- package/dist/utils/uuid4.js +10 -0
- package/dist/utils/voidEmitter.d.ts +14 -0
- package/dist/utils/voidEmitter.js +15 -0
- package/package.json +435 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { Realm, RealmNode, Subscription, UnsubscribeHandle } from './realm';
|
|
2
|
+
/**
|
|
3
|
+
* The system interface is the runtime representation of a state management module, a a record of nodes.
|
|
4
|
+
*/
|
|
5
|
+
export interface System {
|
|
6
|
+
[key: string]: RealmNode<any>;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* a SystemSpec is the result from a [[system]] call. To obtain the [[system]], pass the spec to [[init]].
|
|
10
|
+
* @typeParam Dependencies - The dependencies of the system.
|
|
11
|
+
* @typeParam Constructor - The system constructor.
|
|
12
|
+
*/
|
|
13
|
+
export interface SystemSpec<Dependencies extends AnySystemSpecs, /** @internal */ Constructor extends SystemConstructor<Dependencies>> {
|
|
14
|
+
id: string;
|
|
15
|
+
constructor: Constructor;
|
|
16
|
+
dependencies: Dependencies;
|
|
17
|
+
}
|
|
18
|
+
/** @internal **/
|
|
19
|
+
export interface AnySystemSpec extends SystemSpec<AnySystemSpecs, any> {
|
|
20
|
+
id: string;
|
|
21
|
+
}
|
|
22
|
+
/** @internal **/
|
|
23
|
+
export type AnySystemSpecs = Array<AnySystemSpec>;
|
|
24
|
+
/** @internal **/
|
|
25
|
+
export type SystemOfSpec<Spec extends AnySystemSpec> = ReturnType<Spec['constructor']>;
|
|
26
|
+
/** @internal **/
|
|
27
|
+
export type SSR<Spec extends AnySystemSpec> = SystemOfSpec<Spec>;
|
|
28
|
+
/** @internal **/
|
|
29
|
+
export type SystemsFromSpecs<ST extends AnySystemSpecs> = ST extends unknown[] ? SystemsFromSpecsRec<ST, []> : never;
|
|
30
|
+
type SystemsFromSpecsRec<ST extends unknown[], Acc extends unknown[]> = ST extends [infer Head, ...infer Tail] ? SystemsFromSpecsRec<Tail, [...Acc, Head extends AnySystemSpec ? SystemOfSpec<Head> : never]> : Acc;
|
|
31
|
+
/**
|
|
32
|
+
* The system constructor is a function which initializes and connects nodes and returns them as a [[system]].
|
|
33
|
+
* If the [[system]] call specifies system dependencies, the constructor receives the dependencies as an array argument.
|
|
34
|
+
*/
|
|
35
|
+
export interface SystemConstructor<D extends AnySystemSpecs> {
|
|
36
|
+
(r: Realm, dependencies: SystemsFromSpecs<D>): System;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Declare a new state management module (system). The constructor receives the realm and the dependencies as arguments.
|
|
40
|
+
* @param constructor - The system constructor.
|
|
41
|
+
* @param dependencies - The dependencies of the system - other systems.
|
|
42
|
+
*/
|
|
43
|
+
export declare function system<Dependencies extends LongTuple<AnySystemSpec>, Constructor extends SystemConstructor<Dependencies>>(constructor: Constructor, dependencies?: Dependencies): SystemSpec<Dependencies, Constructor>;
|
|
44
|
+
type SystemKey<S extends System> = Extract<keyof S, string>;
|
|
45
|
+
/** @internal */
|
|
46
|
+
export type ValuesForKeys<S extends System, K extends SystemKey<S>[]> = K extends unknown[] ? ValuesForKeysRec<S, K, []> : never;
|
|
47
|
+
type ValuesForKeysRec<S extends Record<any, RealmNode>, K extends unknown[], Acc extends unknown[]> = K extends [infer Head, ...infer Tail] ? ValuesForKeysRec<S, Tail, [...Acc, S[Head] extends RealmNode<infer R> ? R : never]> : Acc;
|
|
48
|
+
/** @internal **/
|
|
49
|
+
export type SystemOfSpecs<Specs extends AnySystemSpec[]> = Specs extends unknown[] ? SystemOfSpecsRec<Specs, {}> : Specs;
|
|
50
|
+
type SystemOfSpecsRec<Specs extends unknown[], Acc extends {}> = Specs extends [infer Head, ...infer Tail] ? SystemOfSpecsRec<Tail, Head extends AnySystemSpec ? Acc & SystemOfSpec<Head> : never> : Acc;
|
|
51
|
+
/** @internal */
|
|
52
|
+
export type LongTuple<K> = [] | [K] | [K, K] | [K, K, K] | [K, K, K, K] | [K, K, K, K, K] | [K, K, K, K, K, K] | [K, K, K, K, K, K, K] | [K, K, K, K, K, K, K, K] | [K, K, K, K, K, K, K, K, K] | [K, K, K, K, K, K, K, K, K, K] | [K, K, K, K, K, K, K, K, K, K, K] | [K, K, K, K, K, K, K, K, K, K, K, K] | [K, K, K, K, K, K, K, K, K, K, K, K, K] | [K, K, K, K, K, K, K, K, K, K, K, K, K, K] | [K, K, K, K, K, K, K, K, K, K, K, K, K, K, K] | [K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K] | [K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K] | [K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K] | [K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K] | [K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K] | [K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K] | [K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K] | [K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K, K];
|
|
53
|
+
/** @internal */
|
|
54
|
+
export type SystemKeys<S extends System, K extends Extract<keyof S, string> = Extract<keyof S, string>> = LongTuple<K>;
|
|
55
|
+
/** @internal */
|
|
56
|
+
export type ValueForKey<S extends System, K extends keyof S> = S[K] extends RealmNode<infer V> ? V : never;
|
|
57
|
+
/** @internal */
|
|
58
|
+
export type SystemDict<S extends System> = {
|
|
59
|
+
[K in keyof S]?: ValueForKey<S, K>;
|
|
60
|
+
};
|
|
61
|
+
/** @internal */
|
|
62
|
+
export type SystemKeysArray<S extends System> = Array<keyof S>;
|
|
63
|
+
/** @internal */
|
|
64
|
+
export interface TypedRealm<S extends System> extends Pick<Realm, 'sub' | 'pub' | 'spread' | 'derive' | 'singletonSubKey' | 'resetSingletonSubs'> {
|
|
65
|
+
getKeyValues<K extends SystemKeys<S>>(keys: K): ValuesForKeys<S, K>;
|
|
66
|
+
getKeyValue<K extends keyof S>(key: K): ValueForKey<S, K>;
|
|
67
|
+
labels: S;
|
|
68
|
+
pubKey<K extends keyof S>(key: K, value: ValueForKey<S, K>): void;
|
|
69
|
+
pubKeys: (values: SystemDict<S>) => void;
|
|
70
|
+
subKey<K extends keyof S>(key: K, subscription: Subscription<ValueForKey<S, K>>): UnsubscribeHandle;
|
|
71
|
+
subKeys<K extends SystemKeys<S>>(keys: K, subscription: Subscription<ValuesForKeys<S, K>>): UnsubscribeHandle;
|
|
72
|
+
}
|
|
73
|
+
/** @internal */
|
|
74
|
+
export declare function realmFactory<Specs extends LongTuple<AnySystemSpec>>(...specs: Specs): TypedRealm<SystemOfSpecs<Specs>>;
|
|
75
|
+
/** @internal */
|
|
76
|
+
export type RealmFactory<Sys extends System> = () => TypedRealm<Sys>;
|
|
77
|
+
/** @internal */
|
|
78
|
+
export declare function getRealmFactory<Specs extends LongTuple<AnySystemSpec>>(...specs: Specs): () => TypedRealm<SystemOfSpecs<[...Specs]>>;
|
|
79
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { uuidv4 } from "../utils/uuid4.js";
|
|
2
|
+
import { realm } from "./realm.js";
|
|
3
|
+
function system(constructor, dependencies = []) {
|
|
4
|
+
return {
|
|
5
|
+
constructor,
|
|
6
|
+
dependencies,
|
|
7
|
+
id: uuidv4()
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
function realmFactory(...specs) {
|
|
11
|
+
const singletons = /* @__PURE__ */ new Map();
|
|
12
|
+
const r = realm();
|
|
13
|
+
const _init = ({ id, constructor, dependencies }) => {
|
|
14
|
+
if (singletons.has(id)) {
|
|
15
|
+
return singletons.get(id);
|
|
16
|
+
}
|
|
17
|
+
const system2 = constructor(r, dependencies.map((t) => _init(specs.find((spec) => spec.id === t.id))));
|
|
18
|
+
r.label(system2);
|
|
19
|
+
singletons.set(id, system2);
|
|
20
|
+
return system2;
|
|
21
|
+
};
|
|
22
|
+
specs.forEach(_init);
|
|
23
|
+
return r;
|
|
24
|
+
}
|
|
25
|
+
function getRealmFactory(...specs) {
|
|
26
|
+
return () => realmFactory(...specs);
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
getRealmFactory,
|
|
30
|
+
realmFactory,
|
|
31
|
+
system
|
|
32
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgAddColumn = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M4.56,7.38H3.22V6.03c0-0.35-0.28-0.62-0.62-0.62S1.97,5.69,1.97,6.03v1.34H0.63C0.28,7.38,0,7.65,0,8s0.28,0.62,0.62,0.62 h1.34v1.34c0,0.34,0.28,0.62,0.62,0.62s0.62-0.28,0.62-0.62V8.62h1.34c0.35,0,0.62-0.28,0.62-0.62S4.91,7.38,4.56,7.38z" }), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M14.39,16H3.58c-0.89,0-1.61-0.72-1.61-1.61v-0.98c0-0.34,0.28-0.62,0.62-0.62s0.62,0.28,0.62,0.62v0.98 c0,0.2,0.16,0.36,0.36,0.36h10.81c0.2,0,0.36-0.16,0.36-0.36V1.61c0-0.2-0.16-0.36-0.36-0.36H3.58c-0.2,0-0.36,0.16-0.36,0.36v0.98 c0,0.35-0.28,0.62-0.62,0.62S1.97,2.94,1.97,2.59V1.61C1.97,0.73,2.69,0,3.58,0h10.81C15.27,0,16,0.73,16,1.61v12.78 C16,15.27,15.27,16,14.39,16z" })));
|
|
3
|
+
export {
|
|
4
|
+
SvgAddColumn as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgAddPhoto = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.36,15.99H0.63C0.28,15.99,0,15.71,0,15.36V0.61c0-0.34,0.28-0.62,0.62-0.62h14.73c0.34,0,0.62,0.28,0.62,0.62v14.75 C15.98,15.71,15.7,15.99,15.36,15.99z M1.25,14.74h13.48V1.24H1.25V14.74z" })), /* @__PURE__ */ React.createElement("path", { d: "M11.85,7.16l-3.26,3.26c-0.2,0.2-0.53,0.2-0.73,0L6.74,9.3C6.53,9.1,6.21,9.1,6,9.3l-2.56,2.56 c-0.33,0.33-0.1,0.88,0.37,0.88h8.41c0.29,0,0.52-0.23,0.52-0.52v-4.7C12.74,7.07,12.18,6.83,11.85,7.16z" }), /* @__PURE__ */ React.createElement("circle", { cx: 5.29, cy: 5.24, r: 2 }));
|
|
3
|
+
export {
|
|
4
|
+
SvgAddPhoto as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgAddRow = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M13.5,16h-11C1.1,16,0,14.9,0,13.5V4.8c0-1.2,1-2.2,2.2-2.2c0.3,0,0.5,0.2,0.5,0.5S2.5,3.5,2.2,3.5C1.6,3.5,1,4.1,1,4.8 v8.8C1,14.3,1.7,15,2.5,15h11c0.8,0,1.5-0.7,1.5-1.5V4.8c0-0.7-0.6-1.2-1.2-1.2c-0.3,0-0.5-0.2-0.5-0.5s0.2-0.5,0.5-0.5 c1.2,0,2.2,1,2.2,2.2v8.8C16,14.9,14.9,16,13.5,16z" })), /* @__PURE__ */ React.createElement("path", { d: "M10.5,2.5h-2v-2C8.5,0.2,8.3,0,8,0S7.5,0.2,7.5,0.5v2h-2C5.2,2.5,5,2.7,5,3s0.2,0.5,0.5,0.5h2v2C7.5,5.8,7.7,6,8,6 s0.5-0.2,0.5-0.5v-2h2C10.8,3.5,11,3.3,11,3S10.8,2.5,10.5,2.5z" }));
|
|
3
|
+
export {
|
|
4
|
+
SvgAddRow as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgAdmonition = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M13.18,15.98H2.82c-0.98,0-1.87-0.5-2.38-1.33c-0.51-0.83-0.56-1.85-0.12-2.72L5.5,1.57C5.97,0.61,6.93,0.02,8,0.02 c0,0,0,0,0,0c1.07,0,2.03,0.59,2.5,1.55l5.18,10.36c0.44,0.87,0.39,1.89-0.12,2.72C15.05,15.49,14.16,15.98,13.18,15.98z M8,1.27 c-0.6,0-1.12,0.32-1.39,0.86L1.43,12.49C1.19,12.97,1.22,13.54,1.5,14c0.28,0.46,0.78,0.74,1.32,0.74h10.36 c0.54,0,1.03-0.27,1.32-0.74c0.29-0.46,0.31-1.02,0.07-1.51L9.39,2.12C9.12,1.59,8.6,1.27,8,1.27L8,1.27z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M8,10.63c-0.35,0-0.62-0.28-0.62-0.62V5c0-0.35,0.28-0.62,0.62-0.62c0.35,0,0.63,0.28,0.63,0.62v5 C8.62,10.35,8.34,10.63,8,10.63z" }))), /* @__PURE__ */ React.createElement("circle", { cx: 8, cy: 11.88, r: 0.63 })));
|
|
3
|
+
export {
|
|
4
|
+
SvgAdmonition as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgArrowDropDown = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M8,10.04c-0.16,0-0.32-0.06-0.44-0.18L4.73,7.03c-0.24-0.24-0.24-0.64,0-0.88s0.64-0.24,0.88,0L8,8.53l2.39-2.39 c0.24-0.24,0.64-0.24,0.88,0c0.24,0.24,0.24,0.64,0,0.88L8.44,9.86C8.32,9.98,8.16,10.04,8,10.04z" })));
|
|
3
|
+
export {
|
|
4
|
+
SvgArrowDropDown as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgCheck = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M7.25,10.97c-0.16,0-0.32-0.06-0.44-0.18L3.62,7.6c-0.24-0.24-0.24-0.64,0-0.88s0.64-0.24,0.88,0l2.75,2.75l4.25-4.25 c0.24-0.24,0.64-0.24,0.88,0c0.24,0.24,0.24,0.64,0,0.88l-4.69,4.69C7.57,10.91,7.41,10.97,7.25,10.97z" })));
|
|
3
|
+
export {
|
|
4
|
+
SvgCheck as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgCheckSmall = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M7.25,10.97c-0.16,0-0.32-0.06-0.44-0.18L3.62,7.6c-0.24-0.24-0.24-0.64,0-0.88s0.64-0.24,0.88,0l2.75,2.75l4.25-4.25 c0.24-0.24,0.64-0.24,0.88,0c0.24,0.24,0.24,0.64,0,0.88l-4.69,4.69C7.57,10.91,7.41,10.97,7.25,10.97z" })));
|
|
3
|
+
export {
|
|
4
|
+
SvgCheckSmall as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgClose = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M8.88,8l6.88-6.88c0.24-0.24,0.24-0.64,0-0.88c-0.24-0.24-0.64-0.24-0.88,0L8,7.12L1.12,0.23c-0.24-0.24-0.64-0.24-0.88,0 s-0.24,0.64,0,0.88L7.12,8l-6.88,6.88c-0.24,0.24-0.24,0.64,0,0.88c0.12,0.12,0.28,0.18,0.44,0.18S1,15.89,1.12,15.77L8,8.88 l6.88,6.88c0.12,0.12,0.28,0.18,0.44,0.18s0.32-0.06,0.44-0.18c0.24-0.24,0.24-0.64,0-0.88L8.88,8z" }));
|
|
3
|
+
export {
|
|
4
|
+
SvgClose as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgCode = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M5.36,10.81c-0.16,0-0.32-0.06-0.44-0.18L2.74,8.44c-0.24-0.24-0.24-0.64,0-0.88l2.18-2.18c0.24-0.24,0.64-0.24,0.88,0 s0.24,0.64,0,0.88L4.06,8L5.8,9.74c0.24,0.24,0.24,0.64,0,0.88C5.68,10.75,5.52,10.81,5.36,10.81z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M10.64,10.81c-0.16,0-0.32-0.06-0.44-0.18c-0.24-0.24-0.24-0.64,0-0.88L11.94,8L10.2,6.26c-0.24-0.24-0.24-0.64,0-0.88 c0.24-0.24,0.64-0.24,0.88,0l2.18,2.18c0.24,0.24,0.24,0.64,0,0.88l-2.18,2.18C10.96,10.74,10.8,10.81,10.64,10.81z" })));
|
|
3
|
+
export {
|
|
4
|
+
SvgCode as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgCodeBlock = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M5.54,10.81c-0.16,0-0.32-0.06-0.44-0.18L2.91,8.44c-0.24-0.24-0.24-0.64,0-0.89l2.19-2.19c0.24-0.24,0.64-0.24,0.89,0 c0.24,0.24,0.24,0.64,0,0.89L4.24,8l1.74,1.74c0.24,0.24,0.24,0.64,0,0.89C5.86,10.75,5.7,10.81,5.54,10.81z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M10.83,10.81c-0.16,0-0.32-0.06-0.44-0.18c-0.24-0.24-0.24-0.64,0-0.89L12.13,8l-1.74-1.74c-0.24-0.24-0.24-0.64,0-0.89 c0.24-0.24,0.64-0.24,0.89,0l2.19,2.19c0.24,0.24,0.24,0.64,0,0.89l-2.19,2.19C11.15,10.75,10.99,10.81,10.83,10.81z" })), /* @__PURE__ */ React.createElement("path", { d: "M15.37,16H0.63C0.28,16,0,15.72,0,15.37V0.63C0,0.28,0.28,0,0.63,0h14.75C15.72,0,16,0.28,16,0.63v14.75 C16,15.72,15.72,16,15.37,16z M1.25,14.75h13.49V1.25H1.25V14.75z" }));
|
|
3
|
+
export {
|
|
4
|
+
SvgCodeBlock as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgContentCopy = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M10.45,12.06H1.62c-0.89,0-1.61-0.72-1.61-1.61V1.63c0-0.89,0.72-1.61,1.61-1.61h8.83c0.89,0,1.61,0.72,1.61,1.61v8.83 C12.06,11.34,11.34,12.06,10.45,12.06z M1.62,1.27c-0.2,0-0.36,0.16-0.36,0.36v8.83c0,0.2,0.16,0.36,0.36,0.36h8.83 c0.2,0,0.36-0.16,0.36-0.36V1.63c0-0.2-0.16-0.36-0.36-0.36H1.62z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M14.38,15.98H5.55c-0.89,0-1.61-0.72-1.61-1.61v-0.47c0-0.34,0.28-0.62,0.62-0.62s0.62,0.28,0.62,0.62v0.47 c0,0.2,0.16,0.36,0.36,0.36h8.83c0.2,0,0.36-0.16,0.36-0.36V5.55c0-0.2-0.16-0.36-0.36-0.36H13.9c-0.34,0-0.62-0.28-0.62-0.62 s0.28-0.62,0.62-0.62h0.47c0.89,0,1.61,0.72,1.61,1.61v8.83C15.98,15.26,15.26,15.98,14.38,15.98z" })));
|
|
3
|
+
export {
|
|
4
|
+
SvgContentCopy as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgDeleteBig = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M14.37,2.97h-3.3C11,1.33,9.65,0.03,8,0.03c-1.65,0-3,1.31-3.07,2.94h-3.3c-0.35,0-0.62,0.28-0.62,0.62s0.28,0.62,0.62,0.62 h1.33v10.15c0,0.89,0.72,1.61,1.6,1.61h6.86c0.89,0,1.61-0.72,1.61-1.61V4.22h1.33c0.34,0,0.62-0.28,0.62-0.62 S14.71,2.97,14.37,2.97z M8,1.28c0.96,0,1.74,0.75,1.81,1.69H6.19C6.26,2.02,7.04,1.28,8,1.28z M11.78,14.37 c0,0.2-0.16,0.36-0.36,0.36H4.57c-0.2,0-0.35-0.16-0.35-0.36V4.22h1.33h4.9h1.33V14.37z" }), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M6.53,13.03c-0.35,0-0.62-0.28-0.62-0.62V6.53c0-0.35,0.28-0.62,0.62-0.62s0.62,0.28,0.62,0.62v5.88 C7.16,12.75,6.88,13.03,6.53,13.03z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M9.47,13.03c-0.34,0-0.62-0.28-0.62-0.62V6.53c0-0.35,0.28-0.62,0.62-0.62s0.62,0.28,0.62,0.62v5.88 C10.09,12.75,9.81,13.03,9.47,13.03z" })));
|
|
3
|
+
export {
|
|
4
|
+
SvgDeleteBig as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgDeleteSmall = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M13.48,3.53h-1.69h-1.07C10.62,2.12,9.44,1,8,1C6.56,1,5.38,2.12,5.28,3.53H4.21H2.52c-0.35,0-0.62,0.28-0.62,0.62 s0.28,0.62,0.62,0.62h1.06v8.65c0,0.81,0.66,1.47,1.47,1.47h5.9c0.81,0,1.47-0.66,1.47-1.47V4.78h1.06c0.34,0,0.62-0.28,0.62-0.62 S13.82,3.53,13.48,3.53z M8,2.25c0.75,0,1.36,0.56,1.46,1.28H6.54C6.64,2.81,7.25,2.25,8,2.25z M11.17,13.43 c0,0.12-0.1,0.22-0.22,0.22h-5.9c-0.12,0-0.22-0.1-0.22-0.22V4.78h1.06h4.21h1.06V13.43z" }), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M6.74,12.37c-0.35,0-0.62-0.28-0.62-0.62V6.68c0-0.35,0.28-0.62,0.62-0.62s0.62,0.28,0.62,0.62v5.06 C7.36,12.09,7.08,12.37,6.74,12.37z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M9.26,12.37c-0.35,0-0.62-0.28-0.62-0.62V6.68c0-0.35,0.28-0.62,0.62-0.62c0.34,0,0.62,0.28,0.62,0.62v5.06 C9.89,12.09,9.61,12.37,9.26,12.37z" })));
|
|
3
|
+
export {
|
|
4
|
+
SvgDeleteSmall as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgDifference = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M15.35,0.02H0.65c-0.35,0-0.62,0.28-0.62,0.62v14.7c0,0.34,0.28,0.62,0.62,0.62h14.7c0.34,0,0.62-0.28,0.62-0.62V0.65 C15.97,0.3,15.69,0.02,15.35,0.02z M1.27,1.27h6.1v13.45h-6.1V1.27z M14.72,14.72h-6.1V1.27h6.1V14.72z" }));
|
|
3
|
+
export {
|
|
4
|
+
SvgDifference as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgEdit = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M12.86,6.68c-0.15,0-0.3-0.06-0.41-0.17L9.49,3.55C9.38,3.44,9.32,3.29,9.32,3.14c0-0.15,0.06-0.3,0.17-0.41l2.56-2.56 c0.23-0.23,0.59-0.23,0.82,0l2.97,2.97C15.94,3.25,16,3.39,16,3.55c0,0.15-0.06,0.3-0.17,0.41l-2.56,2.56 C13.16,6.63,13.01,6.68,12.86,6.68z M10.72,3.14l2.15,2.15l1.74-1.74L12.45,1.4L10.72,3.14z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M3.55,16H0.58C0.26,16,0,15.74,0,15.42v-2.97c0-0.15,0.06-0.3,0.17-0.41l7.94-7.94c0.22-0.22,0.6-0.22,0.82,0l2.97,2.97 c0.23,0.23,0.23,0.59,0,0.82l-7.94,7.94C3.85,15.94,3.7,16,3.55,16z M1.16,14.84h2.15l7.36-7.36L8.52,5.34l-7.36,7.36V14.84z" })));
|
|
3
|
+
export {
|
|
4
|
+
SvgEdit as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgFormatAlignCenter = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.38,16H0.62C0.28,16,0,15.72,0,15.38s0.28-0.62,0.62-0.62h14.75c0.34,0,0.62,0.28,0.62,0.62S15.72,16,15.38,16z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.38,1.25H0.62C0.28,1.25,0,0.97,0,0.62S0.28,0,0.62,0h14.75C15.72,0,16,0.28,16,0.62S15.72,1.25,15.38,1.25z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.38,8.62H0.62C0.28,8.62,0,8.35,0,8s0.28-0.62,0.62-0.62h14.75C15.72,7.38,16,7.65,16,8S15.72,8.62,15.38,8.62z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M11.88,4.94H4.12c-0.34,0-0.62-0.28-0.62-0.62s0.28-0.62,0.62-0.62h7.75c0.34,0,0.62,0.28,0.62,0.62 S12.22,4.94,11.88,4.94z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M11.88,12.31H4.12c-0.34,0-0.62-0.28-0.62-0.62s0.28-0.62,0.62-0.62h7.75c0.34,0,0.62,0.28,0.62,0.62 S12.22,12.31,11.88,12.31z" }))));
|
|
3
|
+
export {
|
|
4
|
+
SvgFormatAlignCenter as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgFormatAlignLeft = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.38,16H0.62C0.28,16,0,15.72,0,15.38s0.28-0.62,0.62-0.62h14.75c0.34,0,0.62,0.28,0.62,0.62S15.72,16,15.38,16z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.38,1.25H0.62C0.28,1.25,0,0.97,0,0.62S0.28,0,0.62,0h14.75C15.72,0,16,0.28,16,0.62S15.72,1.25,15.38,1.25z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.38,8.62H0.62C0.28,8.62,0,8.35,0,8s0.28-0.62,0.62-0.62h14.75C15.72,7.38,16,7.65,16,8S15.72,8.62,15.38,8.62z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M8.38,4.94H0.62C0.28,4.94,0,4.66,0,4.31s0.28-0.62,0.62-0.62h7.75C8.72,3.69,9,3.97,9,4.31S8.72,4.94,8.38,4.94z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M8.38,12.31H0.62C0.28,12.31,0,12.03,0,11.69s0.28-0.62,0.62-0.62h7.75c0.34,0,0.62,0.28,0.62,0.62S8.72,12.31,8.38,12.31z " })));
|
|
3
|
+
export {
|
|
4
|
+
SvgFormatAlignLeft as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgFormatAlignRight = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.38,16H0.62C0.28,16,0,15.72,0,15.38s0.28-0.62,0.62-0.62h14.75c0.34,0,0.62,0.28,0.62,0.62S15.72,16,15.38,16z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.38,1.25H0.62C0.28,1.25,0,0.97,0,0.62S0.28,0,0.62,0h14.75C15.72,0,16,0.28,16,0.62S15.72,1.25,15.38,1.25z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.38,8.62H0.62C0.28,8.62,0,8.35,0,8s0.28-0.62,0.62-0.62h14.75C15.72,7.38,16,7.65,16,8S15.72,8.62,15.38,8.62z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.38,4.94H7.62C7.28,4.94,7,4.66,7,4.31s0.28-0.62,0.62-0.62h7.75c0.34,0,0.62,0.28,0.62,0.62S15.72,4.94,15.38,4.94z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.38,12.31H7.62C7.28,12.31,7,12.03,7,11.69s0.28-0.62,0.62-0.62h7.75c0.34,0,0.62,0.28,0.62,0.62 S15.72,12.31,15.38,12.31z" })));
|
|
3
|
+
export {
|
|
4
|
+
SvgFormatAlignRight as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgFormatBold = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M2.89,14.87c-0.08-0.09-0.12-0.2-0.12-0.33V1.48c0-0.15,0.04-0.26,0.12-0.35C2.97,1.04,3.08,1,3.21,1h5.46 c1.41,0,2.48,0.34,3.2,1.02c0.72,0.68,1.08,1.57,1.08,2.66c0,0.75-0.17,1.37-0.52,1.87s-0.75,0.86-1.22,1.09 c0.57,0.28,1.05,0.71,1.44,1.3c0.39,0.59,0.58,1.26,0.58,2.02c0,0.75-0.17,1.43-0.51,2.04s-0.84,1.1-1.51,1.46 C10.54,14.82,9.75,15,8.83,15H3.21C3.08,15,2.97,14.96,2.89,14.87z M8.37,6.94c0.87,0,1.53-0.2,1.98-0.59 c0.45-0.39,0.68-0.94,0.68-1.65c0-0.69-0.22-1.22-0.67-1.58C9.91,2.76,9.25,2.58,8.37,2.58H4.65v4.36H8.37z M8.57,13.42 c0.85,0,1.52-0.23,2.01-0.69s0.73-1.05,0.73-1.77c0-0.73-0.24-1.33-0.73-1.78S9.42,8.5,8.57,8.5H4.65v4.92H8.57z" })));
|
|
3
|
+
export {
|
|
4
|
+
SvgFormatBold as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgFormatItalic = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M12.4,1.13C12.33,1.04,12.23,1,12.09,1L9.98,1c0,0-0.01,0-0.01,0h-1C8.96,1,8.96,1,8.95,1l-2.24,0 C6.58,0.99,6.46,1.03,6.35,1.11C6.25,1.2,6.18,1.31,6.15,1.44L5.94,2.42C5.91,2.55,5.94,2.65,6.01,2.74 c0.07,0.08,0.17,0.13,0.31,0.15l1.81,0L5.94,13.12l-1.63,0c-0.13-0.01-0.25,0.02-0.36,0.11c-0.11,0.09-0.17,0.19-0.2,0.32 l-0.21,0.98c-0.03,0.13-0.01,0.24,0.06,0.32c0.07,0.08,0.17,0.13,0.31,0.15l2.07,0c0.01,0,0.01,0,0.01,0h1.02c0.01,0,0.01,0,0.02,0 l2.25,0c0.14,0,0.26-0.04,0.36-0.12c0.11-0.08,0.17-0.18,0.2-0.32l0.21-1c0.03-0.13,0.01-0.24-0.06-0.32 c-0.07-0.08-0.17-0.13-0.31-0.13l-1.83,0l2.19-10.24l1.64,0c0.14,0,0.26-0.04,0.36-0.12c0.11-0.08,0.17-0.18,0.2-0.32l0.21-1 C12.49,1.32,12.47,1.21,12.4,1.13z" }));
|
|
3
|
+
export {
|
|
4
|
+
SvgFormatItalic as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgFormatListBulleted = (props) => /* @__PURE__ */ React.createElement("svg", { id: "Layer_1", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", x: "0px", y: "0px", viewBox: "0 0 16 16", style: {
|
|
3
|
+
enableBackground: "new 0 0 16 16"
|
|
4
|
+
}, xmlSpace: "preserve", fill: "currentColor", width: 16, height: 16, ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.38,2.12H6.09c-0.35,0-0.62-0.28-0.62-0.62s0.28-0.62,0.62-0.62h9.29C15.72,0.88,16,1.15,16,1.5S15.72,2.12,15.38,2.12z " })), /* @__PURE__ */ React.createElement("circle", { cx: 1.5, cy: 1.5, r: 1.5 }), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.38,15.12H6.09c-0.35,0-0.62-0.28-0.62-0.62s0.28-0.62,0.62-0.62h9.29c0.34,0,0.62,0.28,0.62,0.62 S15.72,15.12,15.38,15.12z" })), /* @__PURE__ */ React.createElement("circle", { cx: 1.5, cy: 14.5, r: 1.5 }), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.38,8.62H6.09C5.74,8.62,5.46,8.35,5.46,8s0.28-0.62,0.62-0.62h9.29C15.72,7.38,16,7.65,16,8S15.72,8.62,15.38,8.62z" })), /* @__PURE__ */ React.createElement("circle", { cx: 1.5, cy: 8, r: 1.5 }));
|
|
5
|
+
export {
|
|
6
|
+
SvgFormatListBulleted as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgFormatListChecked = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.38,2.27H5.71c-0.35,0-0.62-0.28-0.62-0.62s0.28-0.62,0.62-0.62h9.67c0.34,0,0.62,0.28,0.62,0.62S15.73,2.27,15.38,2.27 z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M1.74,2.96c-0.16,0-0.32-0.06-0.44-0.18L0.21,1.69c-0.24-0.24-0.24-0.64,0-0.88s0.64-0.24,0.88,0l0.65,0.65l1.27-1.27 c0.24-0.24,0.64-0.24,0.88,0s0.24,0.64,0,0.88L2.18,2.78C2.06,2.9,1.9,2.96,1.74,2.96z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.38,8.77H5.71c-0.35,0-0.62-0.28-0.62-0.62s0.28-0.62,0.62-0.62h9.67c0.34,0,0.62,0.28,0.62,0.62S15.73,8.77,15.38,8.77 z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M1.74,9.46L1.74,9.46c-0.17,0-0.32-0.07-0.44-0.18L0.21,8.19c-0.24-0.24-0.24-0.64,0-0.88c0.24-0.24,0.64-0.24,0.88,0 l0.65,0.65l1.27-1.27c0.24-0.24,0.64-0.24,0.88,0s0.24,0.64,0,0.88L2.18,9.28C2.07,9.4,1.91,9.46,1.74,9.46z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.38,15.27H5.71c-0.35,0-0.62-0.28-0.62-0.62s0.28-0.62,0.62-0.62h9.67c0.34,0,0.62,0.28,0.62,0.62 S15.73,15.27,15.38,15.27z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M1.74,15.96c-0.16,0-0.32-0.06-0.44-0.18l-1.09-1.09c-0.24-0.24-0.24-0.64,0-0.88s0.64-0.25,0.88,0l0.65,0.65l1.27-1.27 c0.24-0.24,0.64-0.24,0.88,0c0.24,0.24,0.24,0.64,0,0.88l-1.71,1.71C2.06,15.9,1.9,15.96,1.74,15.96z" })));
|
|
3
|
+
export {
|
|
4
|
+
SvgFormatListChecked as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgFormatListNumbered = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.36,2.08H5.07c-0.35,0-0.62-0.28-0.62-0.62s0.28-0.62,0.62-0.62h10.29c0.34,0,0.62,0.28,0.62,0.62S15.7,2.08,15.36,2.08 z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.36,15.08H5.07c-0.35,0-0.62-0.28-0.62-0.62s0.28-0.62,0.62-0.62h10.29c0.34,0,0.62,0.28,0.62,0.62 S15.7,15.08,15.36,15.08z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.36,8.58H5.07c-0.35,0-0.62-0.28-0.62-0.62s0.28-0.62,0.62-0.62h10.29c0.34,0,0.62,0.28,0.62,0.62S15.7,8.58,15.36,8.58 z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M0.11,2.39h0.77V0.88c0-0.11,0-0.2,0.01-0.25c0-0.03,0-0.06,0.01-0.08H0.89C0.88,0.57,0.87,0.58,0.85,0.6 C0.84,0.61,0.82,0.63,0.79,0.65C0.77,0.67,0.74,0.69,0.71,0.71L0.15,1.07V0.49l0.68-0.46h0.66v2.36h0.61v0.52H0.11V2.39z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M0.01,7.36C0.01,7.22,0.04,7.1,0.09,7c0.05-0.11,0.12-0.2,0.21-0.28c0.09-0.08,0.2-0.14,0.32-0.18s0.27-0.06,0.42-0.06 c0.14,0,0.28,0.02,0.4,0.06c0.12,0.04,0.22,0.1,0.31,0.18C1.83,6.8,1.9,6.89,1.95,7C1.99,7.1,2.02,7.22,2.02,7.35 c0,0.19-0.05,0.36-0.15,0.52s-0.26,0.33-0.48,0.5L1.02,8.67C0.94,8.74,0.87,8.78,0.8,8.81C0.76,8.83,0.73,8.84,0.7,8.85v0.02 c0.03,0,0.07-0.01,0.12-0.01c0.04,0,0.08,0,0.13,0c0.05,0,0.1,0,0.15,0h0.96V9.4H0.03V8.78l1.03-0.82c0.12-0.1,0.21-0.19,0.27-0.28 c0.06-0.09,0.09-0.19,0.09-0.29c0-0.12-0.04-0.21-0.1-0.28C1.24,7.04,1.15,7,1.03,7C0.9,7,0.8,7.03,0.73,7.1 C0.65,7.17,0.61,7.25,0.61,7.36H0.01z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M1.03,15.96c-0.15,0-0.28-0.02-0.4-0.05s-0.22-0.09-0.31-0.16c-0.09-0.07-0.16-0.15-0.21-0.25 c-0.05-0.1-0.08-0.2-0.09-0.32h0.6c0.01,0.09,0.06,0.15,0.14,0.2c0.08,0.05,0.17,0.08,0.28,0.08c0.13,0,0.23-0.04,0.31-0.11 c0.08-0.08,0.11-0.18,0.11-0.31s-0.04-0.23-0.12-0.31s-0.19-0.11-0.32-0.11H0.65v-0.54l0.38-0.34c0.03-0.03,0.07-0.06,0.11-0.08 c0.04-0.03,0.07-0.05,0.1-0.07c0.04-0.02,0.07-0.04,0.11-0.06v-0.04c-0.04,0.01-0.08,0.02-0.13,0.02 c-0.04,0.01-0.09,0.01-0.14,0.02c-0.05,0-0.11,0.01-0.17,0.01H0.15v-0.5h1.78v0.54l-0.52,0.42c-0.05,0.04-0.1,0.07-0.15,0.1 c-0.02,0.02-0.05,0.03-0.07,0.04c0.13,0.01,0.25,0.04,0.36,0.09c0.11,0.05,0.2,0.11,0.27,0.19s0.13,0.17,0.17,0.28 c0.04,0.11,0.06,0.22,0.06,0.35c0,0.14-0.02,0.26-0.07,0.38c-0.05,0.11-0.12,0.21-0.21,0.29c-0.09,0.08-0.2,0.14-0.32,0.19 C1.32,15.94,1.18,15.96,1.03,15.96z" })));
|
|
3
|
+
export {
|
|
4
|
+
SvgFormatListNumbered as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgFormatUnderlined = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M4.29,10.55c-0.93-0.93-1.4-2.33-1.4-4.21V1.09c0-0.15,0.04-0.26,0.12-0.35c0.08-0.09,0.19-0.13,0.32-0.13h0.96 c0.15,0,0.26,0.04,0.35,0.13c0.09,0.09,0.13,0.2,0.13,0.35v5.28c0,1.31,0.3,2.28,0.91,2.92c0.61,0.64,1.47,0.96,2.59,0.96 c1.11,0,1.96-0.32,2.57-0.97c0.61-0.65,0.91-1.62,0.91-2.91V1.09c0-0.15,0.04-0.26,0.12-0.35c0.08-0.09,0.19-0.13,0.34-0.13h0.96 c0.13,0,0.24,0.04,0.33,0.13c0.09,0.09,0.13,0.2,0.13,0.35v5.24c0,1.88-0.46,3.28-1.39,4.21s-2.25,1.39-3.97,1.39 C6.54,11.94,5.22,11.47,4.29,10.55z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M1.99,13.29c0.09-0.08,0.2-0.12,0.33-0.12h11.82c0.13,0,0.24,0.04,0.33,0.12c0.09,0.08,0.13,0.19,0.13,0.32v1 c0,0.15-0.04,0.26-0.12,0.34s-0.19,0.12-0.34,0.12H2.32c-0.13,0-0.24-0.04-0.33-0.13c-0.09-0.09-0.13-0.2-0.13-0.33v-1 C1.86,13.48,1.9,13.37,1.99,13.29z" })));
|
|
3
|
+
export {
|
|
4
|
+
SvgFormatUnderlined as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgFrontmatter = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.38,1.25H8.62C8.28,1.25,8,0.97,8,0.62S8.28,0,8.62,0h6.75C15.72,0,16,0.28,16,0.62S15.72,1.25,15.38,1.25z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.38,4.94H8.62C8.28,4.94,8,4.66,8,4.31s0.28-0.62,0.62-0.62h6.75c0.34,0,0.62,0.28,0.62,0.62S15.72,4.94,15.38,4.94z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.38,8.62H8.62C8.28,8.62,8,8.35,8,8s0.28-0.62,0.62-0.62h6.75C15.72,7.38,16,7.65,16,8S15.72,8.62,15.38,8.62z" })), /* @__PURE__ */ React.createElement("path", { d: "M4.24,3.65H1.25v-2.4h2.99c0.35,0,0.62-0.28,0.62-0.62S4.58,0,4.24,0H0.62C0.28,0,0,0.28,0,0.62V8 c0,0.35,0.28,0.62,0.62,0.62S1.25,8.35,1.25,8V4.9h2.99c0.35,0,0.62-0.28,0.62-0.62S4.58,3.65,4.24,3.65z" }), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.38,12.31H0.62C0.28,12.31,0,12.03,0,11.69s0.28-0.62,0.62-0.62h14.75c0.34,0,0.62,0.28,0.62,0.62 S15.72,12.31,15.38,12.31z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.38,16H0.62C0.28,16,0,15.72,0,15.38s0.28-0.62,0.62-0.62h14.75c0.34,0,0.62,0.28,0.62,0.62S15.72,16,15.38,16z" })));
|
|
3
|
+
export {
|
|
4
|
+
SvgFrontmatter as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgHorizontalRule = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.38,8.62H0.63C0.29,8.62,0.01,8.34,0.01,8c0-0.34,0.28-0.62,0.62-0.62h14.75c0.34,0,0.62,0.28,0.62,0.62 C16.01,8.34,15.73,8.62,15.38,8.62z" })));
|
|
3
|
+
export {
|
|
4
|
+
SvgHorizontalRule as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgInsertColLeft = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M10.84,8c0,0.34,0.27,0.62,0.62,0.62h1.34v1.34c0,0.34,0.28,0.62,0.62,0.62s0.62-0.28,0.62-0.62V8.62h1.34 C15.72,8.62,16,8.35,16,8c0-0.35-0.28-0.62-0.63-0.63h-1.34V6.03c0-0.34-0.29-0.62-0.63-0.62s-0.62,0.27-0.62,0.62v1.35h-1.34 C11.09,7.38,10.84,7.66,10.84,8z" }), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M0,14.39L0,1.61C0,0.73,0.73,0,1.61,0l10.81,0c0.89,0,1.61,0.73,1.61,1.61v0.98c0,0.35-0.29,0.62-0.63,0.62 c-0.34,0-0.62-0.27-0.62-0.62V1.61c0-0.2-0.16-0.36-0.36-0.36H1.62c-0.2,0-0.36,0.16-0.36,0.36v12.78c0,0.2,0.16,0.36,0.36,0.36 h10.81c0.2,0,0.36-0.16,0.36-0.36v-0.98c0-0.34,0.28-0.62,0.62-0.62c0.34,0,0.62,0.28,0.62,0.62v0.98c0,0.89-0.72,1.61-1.61,1.61 H1.61C0.73,16,0,15.27,0,14.39z" })));
|
|
3
|
+
export {
|
|
4
|
+
SvgInsertColLeft as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgInsertColRight = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M4.56,7.38H3.22V6.03c0-0.35-0.28-0.62-0.62-0.62S1.97,5.69,1.97,6.03v1.34H0.63C0.28,7.38,0,7.65,0,8s0.28,0.62,0.62,0.62 h1.34v1.34c0,0.34,0.28,0.62,0.62,0.62s0.62-0.28,0.62-0.62V8.62h1.34c0.35,0,0.62-0.28,0.62-0.62S4.91,7.38,4.56,7.38z" }), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M14.39,16H3.58c-0.89,0-1.61-0.72-1.61-1.61v-0.98c0-0.34,0.28-0.62,0.62-0.62s0.62,0.28,0.62,0.62v0.98 c0,0.2,0.16,0.36,0.36,0.36h10.81c0.2,0,0.36-0.16,0.36-0.36V1.61c0-0.2-0.16-0.36-0.36-0.36H3.58c-0.2,0-0.36,0.16-0.36,0.36v0.98 c0,0.35-0.28,0.62-0.62,0.62S1.97,2.94,1.97,2.59V1.61C1.97,0.73,2.69,0,3.58,0h10.81C15.27,0,16,0.73,16,1.61v12.78 C16,15.27,15.27,16,14.39,16z" })));
|
|
3
|
+
export {
|
|
4
|
+
SvgInsertColRight as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgInsertRowAbove = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M17.01,2.63v9.47c0,1.31-1.07,2.38-2.38,2.38c-0.34,0-0.62-0.28-0.62-0.62s0.28-0.62,0.62-0.62c0.62,0,1.12-0.5,1.12-1.12 V2.65c0-0.76-0.62-1.38-1.38-1.38H2.64c-0.76,0-1.38,0.62-1.38,1.38v9.47c0,0.62,0.5,1.12,1.12,1.12c0.35,0,0.63,0.3,0.63,0.64 S2.74,14.5,2.39,14.5c-1.31,0-2.38-1.07-2.38-2.38V2.64c0-1.44,1.17-2.62,2.62-2.62h11.73C15.81,0.02,16.99,1.19,17.01,2.63z" })), /* @__PURE__ */ React.createElement("path", { d: "M11.62,13.86c0-0.34-0.28-0.62-0.62-0.62H9.12v-1.88c0-0.34-0.28-0.62-0.62-0.62s-0.62,0.27-0.62,0.62v1.88H6 c-0.35,0-0.62,0.29-0.62,0.63S5.65,14.49,6,14.49h1.88v1.88c0,0.34,0.28,0.62,0.62,0.62s0.62-0.27,0.62-0.62v-1.88H11 C11.34,14.49,11.62,14.2,11.62,13.86z" }));
|
|
3
|
+
export {
|
|
4
|
+
SvgInsertRowAbove as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgInsertRowBelow = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M14.36,16.99H2.63c-1.45,0-2.62-1.18-2.62-2.62V4.89c0-1.31,1.07-2.38,2.38-2.38c0.35,0,0.62,0.28,0.62,0.62 S2.73,3.77,2.38,3.77c-0.62,0-1.12,0.5-1.12,1.12v9.47c0,0.76,0.62,1.38,1.38,1.38h11.73c0.76,0,1.38-0.62,1.38-1.38V4.89 c0-0.62-0.5-1.12-1.12-1.12c-0.34,0-0.62-0.28-0.62-0.62s0.28-0.62,0.62-0.62c1.31,0,2.38,1.07,2.38,2.38v9.47 C16.99,15.82,15.81,16.99,14.36,16.99z" })), /* @__PURE__ */ React.createElement("path", { d: "M11,2.52H9.12V0.64c0-0.35-0.28-0.62-0.62-0.62S7.88,0.3,7.88,0.64v1.88H6c-0.35,0-0.62,0.28-0.62,0.62S5.65,3.77,6,3.77 h1.88v1.88c0,0.35,0.28,0.62,0.62,0.62s0.62-0.28,0.62-0.62V3.77H11c0.34,0,0.62-0.28,0.62-0.62S11.34,2.52,11,2.52z" }));
|
|
3
|
+
export {
|
|
4
|
+
SvgInsertRowBelow as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgLink = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M6.38,11.17c-0.12,0-0.24-0.03-0.34-0.1c-0.22-0.14-0.42-0.31-0.61-0.5c-1.52-1.52-1.52-3.98,0-5.5l3.89-3.89 c1.52-1.51,3.98-1.52,5.5,0c1.51,1.52,1.51,3.98,0,5.5L13.7,7.8c-0.24,0.24-0.64,0.24-0.88,0c-0.24-0.24-0.25-0.64,0-0.88 l1.12-1.12c0.5-0.5,0.77-1.16,0.77-1.86c0-0.7-0.27-1.37-0.77-1.86c-1.03-1.03-2.7-1.03-3.73,0L6.32,5.96 c-1.03,1.03-1.03,2.7,0,3.73c0.13,0.13,0.27,0.24,0.41,0.34c0.29,0.19,0.37,0.58,0.18,0.87C6.79,11.07,6.59,11.17,6.38,11.17z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M3.93,15.96c-1,0-1.99-0.38-2.75-1.14c-1.52-1.52-1.52-3.98,0-5.5L2.3,8.2c0.24-0.24,0.64-0.25,0.88,0s0.24,0.64,0,0.88 l-1.12,1.12c-1.03,1.03-1.03,2.7,0,3.73c1,1,2.73,1,3.73,0l3.89-3.89c0.5-0.5,0.77-1.16,0.77-1.86c0-0.7-0.27-1.37-0.77-1.86 C9.55,6.19,9.41,6.07,9.25,5.97C8.96,5.78,8.88,5.39,9.07,5.1c0.19-0.29,0.58-0.37,0.87-0.18c0.23,0.15,0.44,0.32,0.63,0.51 c0.73,0.73,1.14,1.71,1.14,2.75s-0.4,2.01-1.14,2.75l-3.89,3.89C5.92,15.58,4.92,15.96,3.93,15.96z" })));
|
|
3
|
+
export {
|
|
4
|
+
SvgLink as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgLinkOff = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("path", { className: "st0", d: "M7.48,4.84l2.74-2.74c1.03-1.03,2.7-1.03,3.72,0c0.5,0.5,0.77,1.16,0.77,1.86c0,0.7-0.27,1.36-0.77,1.86 l-1.12,1.12c-0.24,0.24-0.24,0.64,0,0.88c0.24,0.24,0.64,0.24,0.88,0l1.12-1.12c0.73-0.73,1.14-1.71,1.14-2.74 c0-1.04-0.4-2.01-1.14-2.74c-1.51-1.51-3.97-1.51-5.49,0L6.59,3.96L7.48,4.84z" }), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { className: "st0", d: "M15.79,14.92l-4.67-4.67c0,0,0,0,0,0L10.2,9.33c0,0,0,0,0,0L6.59,5.72l0,0L5.71,4.84l0,0L1.13,0.26 c-0.24-0.24-0.64-0.24-0.88,0C0,0.5,0,0.9,0.24,1.14L4.9,5.8c-0.93,1.5-0.75,3.49,0.54,4.79c0.19,0.19,0.39,0.35,0.61,0.5 c0.11,0.07,0.23,0.1,0.34,0.1c0.2,0,0.4-0.1,0.52-0.28c0.19-0.29,0.11-0.67-0.18-0.86C6.6,9.95,6.46,9.83,6.33,9.71 c-0.5-0.5-0.77-1.16-0.77-1.86c0-0.4,0.1-0.78,0.26-1.13l3.61,3.61l-3.63,3.63c-1.03,1.03-2.7,1.03-3.72,0 c-0.5-0.5-0.77-1.16-0.77-1.86c0-0.7,0.27-1.36,0.77-1.86L3.2,9.11c0.24-0.24,0.24-0.64,0-0.88c-0.24-0.24-0.64-0.24-0.88,0 L1.2,9.35c-1.51,1.51-1.51,3.97,0,5.49c0.76,0.76,1.75,1.13,2.74,1.13s1.99-0.38,2.74-1.13l3.63-3.63l4.59,4.59 c0.12,0.12,0.28,0.18,0.44,0.18s0.32-0.06,0.44-0.18C16.03,15.56,16.03,15.16,15.79,14.92z" }), /* @__PURE__ */ React.createElement("path", { className: "st0", d: "M9.26,5.99c0.16,0.1,0.3,0.22,0.43,0.35c0.4,0.4,0.64,0.9,0.73,1.44l1.21,1.21c0.05-0.26,0.08-0.52,0.08-0.79 c0-1.04-0.4-2.01-1.14-2.74c-0.19-0.19-0.4-0.36-0.63-0.51C9.66,4.76,9.27,4.84,9.08,5.13C8.89,5.42,8.98,5.81,9.26,5.99z" })));
|
|
3
|
+
export {
|
|
4
|
+
SvgLinkOff as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgMarkdown = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M15.75,9.92c-0.24-0.24-0.64-0.24-0.88,0l-3.94,3.94V2.73c0-1.5-1.22-2.73-2.73-2.73h-5.4c-1.5,0-2.73,1.22-2.73,2.73v3.7 c0,0.35,0.28,0.62,0.62,0.62s0.62-0.28,0.62-0.62v-3.7c0-0.81,0.66-1.48,1.48-1.48h5.4c0.81,0,1.48,0.66,1.48,1.48v11.12L5.74,9.92 c-0.24-0.24-0.64-0.24-0.88,0c-0.24,0.24-0.24,0.64,0,0.88l5,5c0.02,0.02,0.06,0.04,0.08,0.06c0.04,0.03,0.07,0.06,0.12,0.08 c0.08,0.03,0.16,0.05,0.24,0.05s0.16-0.02,0.24-0.05c0.04-0.02,0.08-0.05,0.12-0.08c0.03-0.02,0.06-0.03,0.08-0.06l5-5 C16,10.56,16,10.17,15.75,9.92z" }));
|
|
3
|
+
export {
|
|
4
|
+
SvgMarkdown as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgMoreHoriz = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("circle", { cx: 4, cy: 8, r: 1 }), /* @__PURE__ */ React.createElement("circle", { cx: 12, cy: 8, r: 1 }), /* @__PURE__ */ React.createElement("circle", { cx: 8, cy: 8, r: 1 }));
|
|
3
|
+
export {
|
|
4
|
+
SvgMoreHoriz as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgMoreVert = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("circle", { cx: 8, cy: 4, r: 1 }), /* @__PURE__ */ React.createElement("circle", { cx: 8, cy: 12, r: 1 }), /* @__PURE__ */ React.createElement("circle", { cx: 8, cy: 8, r: 1 }));
|
|
3
|
+
export {
|
|
4
|
+
SvgMoreVert as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgOpenInNew = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M14.39,16H1.61C0.72,16,0,15.28,0,14.39V1.61C0,0.72,0.72,0,1.61,0h3.93c0.35,0,0.63,0.28,0.63,0.63S5.89,1.25,5.54,1.25 H1.61c-0.2,0-0.36,0.16-0.36,0.36v12.78c0,0.2,0.16,0.36,0.36,0.36h12.78c0.2,0,0.36-0.16,0.36-0.36v-3.93 c0-0.35,0.28-0.63,0.63-0.63c0.35,0,0.63,0.28,0.63,0.63v3.93C16,15.28,15.28,16,14.39,16z" })), /* @__PURE__ */ React.createElement("path", { d: "M15.53,0.48C15.53,0.48,15.53,0.47,15.53,0.48c-0.01-0.01-0.01-0.01-0.01-0.01C15.23,0.18,14.83,0,14.39,0H9.47 C9.13,0,8.85,0.28,8.85,0.63s0.28,0.63,0.63,0.63h4.39L7.41,7.71c-0.24,0.24-0.24,0.64,0,0.89c0.12,0.12,0.28,0.18,0.44,0.18 c0.16,0,0.32-0.06,0.44-0.18l6.45-6.45v4.39c0,0.35,0.28,0.63,0.63,0.63c0.35,0,0.63-0.28,0.63-0.63V1.61 C16,1.17,15.82,0.77,15.53,0.48z" })));
|
|
3
|
+
export {
|
|
4
|
+
SvgOpenInNew as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgRedo = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M-0.01,10c0,3.31,2.7,6,6.01,6h6.9c0.35,0,0.63-0.27,0.63-0.62s-0.28-0.63-0.63-0.63h-6.9c-2.62,0-4.75-2.13-4.75-4.75 s2.13-4.75,4.75-4.75h7.86l-2.93,2.94c-0.24,0.24-0.24,0.64,0,0.88c0.12,0.13,0.28,0.19,0.44,0.19c0.16,0,0.32-0.06,0.44-0.19 l4.01-4c0.06-0.05,0.11-0.12,0.14-0.2c0.06-0.15,0.06-0.33,0-0.48c-0.04-0.07-0.08-0.14-0.14-0.2l-4.01-4 c-0.25-0.24-0.65-0.24-0.89,0s-0.24,0.64,0,0.88L13.86,4H6.02C2.69,4-0.01,6.69-0.01,10z" }));
|
|
3
|
+
export {
|
|
4
|
+
SvgRedo as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgRichText = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M15.35,1.26H0.64c-0.35,0-0.62-0.28-0.62-0.62s0.28-0.62,0.62-0.62h14.71c0.34,0,0.62,0.28,0.62,0.62 S15.69,1.26,15.35,1.26z" })), /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement("path", { d: "M5.53,5.42h-4.9c-0.35,0-0.62-0.28-0.62-0.62s0.28-0.62,0.62-0.62h4.9c0.35,0,0.62,0.28,0.62,0.62S5.88,5.42,5.53,5.42z" })), /* @__PURE__ */ React.createElement("path", { d: "M14.5,6.55l-5.52,5.52c-0.34,0.34-0.9,0.34-1.24,0l-1.9-1.89c-0.34-0.34-0.9-0.34-1.24,0L0.25,14.5 C-0.3,15.06,0.12,16,0.9,16h14.22c0.48,0,0.88-0.39,0.88-0.88V7.17C16,6.39,15.06,6,14.5,6.55z" }));
|
|
3
|
+
export {
|
|
4
|
+
SvgRichText as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgSandpack = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M15.36,3.02H8.62V0.64C8.62,0.3,8.35,0.02,8,0.02H0.64c-0.35,0-0.62,0.28-0.62,0.62v11.71c0,0.34,0.28,0.62,0.62,0.62h6.73 v2.38c0,0.34,0.28,0.62,0.62,0.62h7.36c0.34,0,0.62-0.28,0.62-0.62V3.64C15.98,3.3,15.7,3.02,15.36,3.02z M1.27,11.73V1.27h6.11 v10.46H1.27z M14.73,14.73H8.62V4.27h6.11V14.73z" }));
|
|
3
|
+
export {
|
|
4
|
+
SvgSandpack as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgSettings = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "currentColor", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement("mask", { id: "a", width: 24, height: 24, x: 0, y: 0, maskUnits: "userSpaceOnUse", style: {
|
|
3
|
+
maskType: "alpha"
|
|
4
|
+
} }, /* @__PURE__ */ React.createElement("path", { d: "M0 0h24v24H0z" })), /* @__PURE__ */ React.createElement("g", { mask: "url(#a)" }, /* @__PURE__ */ React.createElement("path", { d: "m9.25 22-.4-3.2a3.79 3.79 0 0 1-.613-.3 8.266 8.266 0 0 1-.562-.375L4.7 19.375l-2.75-4.75 2.575-1.95a2.387 2.387 0 0 1-.025-.338v-.675c0-.108.008-.22.025-.337L1.95 9.375l2.75-4.75 2.975 1.25c.183-.133.375-.258.575-.375.2-.117.4-.217.6-.3l.4-3.2h5.5l.4 3.2c.217.083.42.183.612.3.192.117.38.242.563.375l2.975-1.25 2.75 4.75-2.575 1.95c.017.117.025.23.025.338v.675c0 .108-.017.22-.05.337l2.575 1.95-2.75 4.75-2.95-1.25a6.842 6.842 0 0 1-.575.375c-.2.117-.4.217-.6.3l-.4 3.2h-5.5Zm2.8-6.5c.967 0 1.792-.342 2.475-1.025A3.372 3.372 0 0 0 15.55 12c0-.967-.342-1.792-1.025-2.475A3.373 3.373 0 0 0 12.05 8.5c-.983 0-1.813.342-2.488 1.025A3.393 3.393 0 0 0 8.55 12c0 .967.337 1.792 1.012 2.475.676.683 1.505 1.025 2.488 1.025Zm0-2c-.417 0-.77-.146-1.063-.438A1.446 1.446 0 0 1 10.55 12c0-.417.146-.77.438-1.063a1.446 1.446 0 0 1 1.062-.437c.417 0 .77.146 1.063.438.291.291.437.645.437 1.062 0 .417-.146.77-.438 1.063a1.447 1.447 0 0 1-1.062.437ZM11 20h1.975l.35-2.65a5.61 5.61 0 0 0 1.438-.588c.441-.258.845-.57 1.212-.937l2.475 1.025.975-1.7-2.15-1.625c.083-.233.142-.48.175-.738a6.153 6.153 0 0 0 0-1.575 3.535 3.535 0 0 0-.175-.737l2.15-1.625-.975-1.7-2.475 1.05a5.556 5.556 0 0 0-1.213-.962 5.607 5.607 0 0 0-1.437-.588L13 4h-1.975l-.35 2.65c-.517.133-.996.33-1.438.587a6.015 6.015 0 0 0-1.212.938L5.55 7.15l-.975 1.7 2.15 1.6c-.083.25-.142.5-.175.75a6.122 6.122 0 0 0 0 1.575c.033.25.092.5.175.75l-2.15 1.625.975 1.7 2.475-1.05c.367.383.77.704 1.212.962.442.259.921.455 1.438.588L11 20Z" })));
|
|
5
|
+
export {
|
|
6
|
+
SvgSettings as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgTable = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M15.38,0H0.62C0.28,0,0,0.28,0,0.62v14.75C0,15.72,0.28,16,0.62,16h14.75c0.34,0,0.62-0.28,0.62-0.62V0.62 C16,0.28,15.72,0,15.38,0z M14.75,4.92h-3.67V1.25h3.67V4.92z M6.17,9.83V6.17h3.67v3.67H6.17z M9.83,11.08v3.67H6.17v-3.67H9.83z M4.92,9.83H1.25V6.17h3.67V9.83z M6.17,4.92V1.25h3.67v3.67H6.17z M11.08,6.17h3.67v3.67h-3.67V6.17z M4.92,1.25v3.67H1.25V1.25 H4.92z M1.25,11.08h3.67v3.67H1.25V11.08z M11.08,14.75v-3.67h3.67v3.67H11.08z" }));
|
|
3
|
+
export {
|
|
4
|
+
SvgTable as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const SvgUndo = (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, x: "0px", y: "0px", viewBox: "0 0 16 16", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M9.99,4H2.14l2.94-2.93c0.24-0.24,0.24-0.64,0-0.88s-0.64-0.24-0.89,0l-4.01,4c-0.06,0.06-0.1,0.13-0.14,0.2 c-0.06,0.15-0.06,0.33,0,0.48c0.03,0.08,0.08,0.15,0.14,0.2l4.01,4C4.31,9.2,4.47,9.26,4.63,9.26S4.95,9.2,5.07,9.07 c0.24-0.24,0.24-0.64,0-0.88L2.14,5.25h7.86c2.62,0,4.75,2.13,4.75,4.75c0,2.62-2.13,4.75-4.75,4.75H3.1 c-0.35,0-0.63,0.28-0.63,0.63S2.75,16,3.1,16h6.9c3.31,0,6.01-2.69,6.01-6S13.31,4,9.99,4z" }));
|
|
3
|
+
export {
|
|
4
|
+
SvgUndo as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { LexicalNode, RootNode as LexicalRootNode } from 'lexical';
|
|
2
|
+
import * as Mdast from 'mdast';
|
|
3
|
+
import { fromMarkdown } from 'mdast-util-from-markdown';
|
|
4
|
+
import { ParseOptions } from 'micromark-util-types';
|
|
5
|
+
import { IS_BOLD, IS_CODE, IS_ITALIC, IS_UNDERLINE } from './FormatConstants';
|
|
6
|
+
/** @internal */
|
|
7
|
+
export type MdastExtensions = NonNullable<Parameters<typeof fromMarkdown>[1]>['mdastExtensions'];
|
|
8
|
+
/**
|
|
9
|
+
* A set of actions that can be used to modify the lexical tree while visiting the mdast tree.
|
|
10
|
+
*/
|
|
11
|
+
export interface MdastVisitActions {
|
|
12
|
+
/**
|
|
13
|
+
* Iterate the children of the node with the lexical node as the parent.
|
|
14
|
+
*/
|
|
15
|
+
visitChildren(node: Mdast.Parent, lexicalParent: LexicalNode): void;
|
|
16
|
+
/**
|
|
17
|
+
* Add the given node to the lexical tree, and iterate the current mdast node's children with the newly created lexical node as a parent.
|
|
18
|
+
*/
|
|
19
|
+
addAndStepInto(lexicalNode: LexicalNode): void;
|
|
20
|
+
/**
|
|
21
|
+
* Adds formatting as a context for the current node and its children.
|
|
22
|
+
* This is necessary due to mdast treating formatting as a node, while lexical considering it an attribute of a node.
|
|
23
|
+
*/
|
|
24
|
+
addFormatting(format: typeof IS_BOLD | typeof IS_ITALIC | typeof IS_UNDERLINE | typeof IS_CODE, node?: Mdast.Content): void;
|
|
25
|
+
/**
|
|
26
|
+
* Adds formatting as a context for the current node and its children.
|
|
27
|
+
* This is necessary due to mdast treating formatting as a node, while lexical considering it an attribute of a node.
|
|
28
|
+
*/
|
|
29
|
+
removeFormatting(format: typeof IS_BOLD | typeof IS_ITALIC | typeof IS_UNDERLINE | typeof IS_CODE, node?: Mdast.Content): void;
|
|
30
|
+
/**
|
|
31
|
+
* Access the current formatting context.
|
|
32
|
+
*/
|
|
33
|
+
getParentFormatting(): number;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Parameters passed to the {@link MdastImportVisitor.visitNode} function.
|
|
37
|
+
* @param mdastNode - The node that is currently being visited.
|
|
38
|
+
* @param lexicalParent - The parent lexical node to which the results of the processing should be added.
|
|
39
|
+
* @param actions - A set of convenience utilities that can be used to add nodes to the lexical tree.
|
|
40
|
+
* @typeParam T - The type of the mdast node that is being visited.
|
|
41
|
+
*/
|
|
42
|
+
export interface MdastVisitParams<T extends Mdast.Content> {
|
|
43
|
+
mdastNode: T;
|
|
44
|
+
mdastParent: Mdast.Parent | null;
|
|
45
|
+
lexicalParent: LexicalNode;
|
|
46
|
+
actions: MdastVisitActions;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Implement this interface to convert certian mdast nodes into lexical nodes.
|
|
50
|
+
* @typeParam UN - The type of the mdast node that is being visited.
|
|
51
|
+
*/
|
|
52
|
+
export interface MdastImportVisitor<UN extends Mdast.Content> {
|
|
53
|
+
/**
|
|
54
|
+
* The test function that determines if this visitor should be used for the given node.
|
|
55
|
+
* As a convenience, you can also pass a string here, which will be compared to the node's type.
|
|
56
|
+
*/
|
|
57
|
+
testNode: ((mdastNode: Mdast.Content | Mdast.Root) => boolean) | string;
|
|
58
|
+
/**
|
|
59
|
+
* The function that is called when the node is visited. See {@link MdastVisitParams} for details.
|
|
60
|
+
*/
|
|
61
|
+
visitNode(params: MdastVisitParams<UN>): void;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* The options of the tree import utility. Not meant to be used directly.
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
export interface MdastTreeImportOptions {
|
|
68
|
+
root: LexicalRootNode;
|
|
69
|
+
visitors: MdastImportVisitor<Mdast.Content>[];
|
|
70
|
+
mdastRoot: Mdast.Root;
|
|
71
|
+
}
|
|
72
|
+
/** @internal */
|
|
73
|
+
export interface MarkdownParseOptions extends Omit<MdastTreeImportOptions, 'mdastRoot'> {
|
|
74
|
+
markdown: string;
|
|
75
|
+
syntaxExtensions: NonNullable<ParseOptions['extensions']>;
|
|
76
|
+
mdastExtensions: MdastExtensions;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* An extension for the `fromMarkdown` utility tree construction.
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
export type MdastExtension = NonNullable<MdastExtensions>[number];
|
|
83
|
+
/**
|
|
84
|
+
* An extension for the `fromMarkdown` utility markdown parse.
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
export type SyntaxExtension = MarkdownParseOptions['syntaxExtensions'][number];
|
|
88
|
+
/** @internal */
|
|
89
|
+
export declare function importMarkdownToLexical({ root, markdown, visitors, syntaxExtensions, mdastExtensions }: MarkdownParseOptions): void;
|
|
90
|
+
/** @internal */
|
|
91
|
+
export declare function importMdastTreeToLexical({ root, mdastRoot, visitors }: MdastTreeImportOptions): void;
|