@omegagrid/demo 0.5.20 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/omegagrid-demo.js +9279 -6659
- package/dist/omegagrid-demo.js.map +7 -0
- package/package.json +24 -38
- package/dist/index.html +0 -10
- package/dist/omegagrid-demo.js.LICENSE.txt +0 -118
- package/dist/types/components/demoAlert.d.ts +0 -6
- package/dist/types/components/demoAlert.d.ts.map +0 -1
- package/dist/types/components/demoBucketAlerts.d.ts +0 -10
- package/dist/types/components/demoBucketAlerts.d.ts.map +0 -1
- package/dist/types/components/demoBucketSidebar2.d.ts +0 -10
- package/dist/types/components/demoBucketSidebar2.d.ts.map +0 -1
- package/dist/types/components/demoButtons.d.ts +0 -7
- package/dist/types/components/demoButtons.d.ts.map +0 -1
- package/dist/types/components/demoCalendar.d.ts +0 -6
- package/dist/types/components/demoCalendar.d.ts.map +0 -1
- package/dist/types/components/demoCode.d.ts +0 -13
- package/dist/types/components/demoCode.d.ts.map +0 -1
- package/dist/types/components/demoCodeBlock.d.ts +0 -12
- package/dist/types/components/demoCodeBlock.d.ts.map +0 -1
- package/dist/types/components/demoCodeDiff.d.ts +0 -13
- package/dist/types/components/demoCodeDiff.d.ts.map +0 -1
- package/dist/types/components/demoCodeView.d.ts +0 -10
- package/dist/types/components/demoCodeView.d.ts.map +0 -1
- package/dist/types/components/demoColorPicker.d.ts +0 -7
- package/dist/types/components/demoColorPicker.d.ts.map +0 -1
- package/dist/types/components/demoCommands.d.ts +0 -10
- package/dist/types/components/demoCommands.d.ts.map +0 -1
- package/dist/types/components/demoComponent.d.ts +0 -8
- package/dist/types/components/demoComponent.d.ts.map +0 -1
- package/dist/types/components/demoDatepicker.d.ts +0 -10
- package/dist/types/components/demoDatepicker.d.ts.map +0 -1
- package/dist/types/components/demoDialog.d.ts +0 -16
- package/dist/types/components/demoDialog.d.ts.map +0 -1
- package/dist/types/components/demoDropdown.d.ts +0 -11
- package/dist/types/components/demoDropdown.d.ts.map +0 -1
- package/dist/types/components/demoEditor.d.ts +0 -16
- package/dist/types/components/demoEditor.d.ts.map +0 -1
- package/dist/types/components/demoEmptyGrid.d.ts +0 -11
- package/dist/types/components/demoEmptyGrid.d.ts.map +0 -1
- package/dist/types/components/demoForm.d.ts +0 -11
- package/dist/types/components/demoForm.d.ts.map +0 -1
- package/dist/types/components/demoGrid.d.ts +0 -20
- package/dist/types/components/demoGrid.d.ts.map +0 -1
- package/dist/types/components/demoGridAdapter.d.ts +0 -12
- package/dist/types/components/demoGridAdapter.d.ts.map +0 -1
- package/dist/types/components/demoGridGroup.d.ts +0 -11
- package/dist/types/components/demoGridGroup.d.ts.map +0 -1
- package/dist/types/components/demoIcon.d.ts +0 -6
- package/dist/types/components/demoIcon.d.ts.map +0 -1
- package/dist/types/components/demoInput.d.ts +0 -6
- package/dist/types/components/demoInput.d.ts.map +0 -1
- package/dist/types/components/demoList.d.ts +0 -8
- package/dist/types/components/demoList.d.ts.map +0 -1
- package/dist/types/components/demoLoader.d.ts +0 -6
- package/dist/types/components/demoLoader.d.ts.map +0 -1
- package/dist/types/components/demoMarkdownEditor.d.ts +0 -11
- package/dist/types/components/demoMarkdownEditor.d.ts.map +0 -1
- package/dist/types/components/demoMarkdownView.d.ts +0 -10
- package/dist/types/components/demoMarkdownView.d.ts.map +0 -1
- package/dist/types/components/demoMenu.d.ts +0 -20
- package/dist/types/components/demoMenu.d.ts.map +0 -1
- package/dist/types/components/demoPanel.d.ts +0 -11
- package/dist/types/components/demoPanel.d.ts.map +0 -1
- package/dist/types/components/demoSortableList.d.ts +0 -11
- package/dist/types/components/demoSortableList.d.ts.map +0 -1
- package/dist/types/components/demoSplitContainer.d.ts +0 -13
- package/dist/types/components/demoSplitContainer.d.ts.map +0 -1
- package/dist/types/components/demoStatusbar.d.ts +0 -8
- package/dist/types/components/demoStatusbar.d.ts.map +0 -1
- package/dist/types/components/demoSwitch.d.ts +0 -8
- package/dist/types/components/demoSwitch.d.ts.map +0 -1
- package/dist/types/components/demoTabSplitContainer.d.ts +0 -10
- package/dist/types/components/demoTabSplitContainer.d.ts.map +0 -1
- package/dist/types/components/demoTabs.d.ts +0 -8
- package/dist/types/components/demoTabs.d.ts.map +0 -1
- package/dist/types/components/demoThemeSelect.d.ts +0 -8
- package/dist/types/components/demoThemeSelect.d.ts.map +0 -1
- package/dist/types/components/demoToolbar.d.ts +0 -10
- package/dist/types/components/demoToolbar.d.ts.map +0 -1
- package/dist/types/components/demoTooltip.d.ts +0 -19
- package/dist/types/components/demoTooltip.d.ts.map +0 -1
- package/dist/types/components/demoTree.d.ts +0 -13
- package/dist/types/components/demoTree.d.ts.map +0 -1
- package/dist/types/components/demoTreeAdapter.d.ts +0 -13
- package/dist/types/components/demoTreeAdapter.d.ts.map +0 -1
- package/dist/types/components/index.d.ts +0 -40
- package/dist/types/components/index.d.ts.map +0 -1
- package/dist/types/data/gridData1.d.ts +0 -4
- package/dist/types/data/gridData1.d.ts.map +0 -1
- package/dist/types/data/gridData10.d.ts +0 -4
- package/dist/types/data/gridData10.d.ts.map +0 -1
- package/dist/types/data/gridData2.d.ts +0 -4
- package/dist/types/data/gridData2.d.ts.map +0 -1
- package/dist/types/data/gridData4.d.ts +0 -4
- package/dist/types/data/gridData4.d.ts.map +0 -1
- package/dist/types/data/gridData5.d.ts +0 -4
- package/dist/types/data/gridData5.d.ts.map +0 -1
- package/dist/types/data/gridData6.d.ts +0 -4
- package/dist/types/data/gridData6.d.ts.map +0 -1
- package/dist/types/data/gridData7.d.ts +0 -4
- package/dist/types/data/gridData7.d.ts.map +0 -1
- package/dist/types/data/gridData8.d.ts +0 -4
- package/dist/types/data/gridData8.d.ts.map +0 -1
- package/dist/types/data/gridData9.d.ts +0 -4
- package/dist/types/data/gridData9.d.ts.map +0 -1
- package/dist/types/data/gridDataActions.d.ts +0 -4
- package/dist/types/data/gridDataActions.d.ts.map +0 -1
- package/dist/types/data/gridDataArrayFormulas.d.ts +0 -4
- package/dist/types/data/gridDataArrayFormulas.d.ts.map +0 -1
- package/dist/types/data/gridDataCalc.d.ts +0 -4
- package/dist/types/data/gridDataCalc.d.ts.map +0 -1
- package/dist/types/data/gridDataDates.d.ts +0 -4
- package/dist/types/data/gridDataDates.d.ts.map +0 -1
- package/dist/types/data/gridDataFilters.d.ts +0 -4
- package/dist/types/data/gridDataFilters.d.ts.map +0 -1
- package/dist/types/data/gridDataFormulas.d.ts +0 -4
- package/dist/types/data/gridDataFormulas.d.ts.map +0 -1
- package/dist/types/data/gridDataPatterns.d.ts +0 -4
- package/dist/types/data/gridDataPatterns.d.ts.map +0 -1
- package/dist/types/data/gridDataTree.d.ts +0 -4
- package/dist/types/data/gridDataTree.d.ts.map +0 -1
- package/dist/types/data/gridDataVars.d.ts +0 -4
- package/dist/types/data/gridDataVars.d.ts.map +0 -1
- package/dist/types/data/gridGroupData1.d.ts +0 -4
- package/dist/types/data/gridGroupData1.d.ts.map +0 -1
- package/dist/types/data/gridGroupData2.d.ts +0 -4
- package/dist/types/data/gridGroupData2.d.ts.map +0 -1
- package/dist/types/data/gridGroupData4.d.ts +0 -4
- package/dist/types/data/gridGroupData4.d.ts.map +0 -1
- package/dist/types/data/gridGroupData5.d.ts +0 -4
- package/dist/types/data/gridGroupData5.d.ts.map +0 -1
- package/dist/types/data/gridGroupData6.d.ts +0 -4
- package/dist/types/data/gridGroupData6.d.ts.map +0 -1
- package/dist/types/data/gridGroupDataCharts.d.ts +0 -4
- package/dist/types/data/gridGroupDataCharts.d.ts.map +0 -1
- package/dist/types/data/gridGroupDataCondStyles.d.ts +0 -4
- package/dist/types/data/gridGroupDataCondStyles.d.ts.map +0 -1
- package/dist/types/data/gridGroupDataThemes.d.ts +0 -5
- package/dist/types/data/gridGroupDataThemes.d.ts.map +0 -1
- package/dist/types/data/loremIpsum.d.ts +0 -2
- package/dist/types/data/loremIpsum.d.ts.map +0 -1
- package/dist/types/data/markdown1.d.ts +0 -2
- package/dist/types/data/markdown1.d.ts.map +0 -1
- package/dist/types/data/markdown2.d.ts +0 -2
- package/dist/types/data/markdown2.d.ts.map +0 -1
- package/dist/types/data/markdown3.d.ts +0 -2
- package/dist/types/data/markdown3.d.ts.map +0 -1
- package/dist/types/data/treeData.d.ts +0 -3
- package/dist/types/data/treeData.d.ts.map +0 -1
- package/dist/types/demo.d.ts +0 -7
- package/dist/types/demo.d.ts.map +0 -1
- package/dist/types/global.d.ts +0 -9
- package/dist/types/global.d.ts.map +0 -1
- package/dist/types/icons.d.ts +0 -2
- package/dist/types/icons.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -35
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/playground/codeEditor.d.ts +0 -13
- package/dist/types/playground/codeEditor.d.ts.map +0 -1
- package/dist/types/playground/compiler.d.ts +0 -9
- package/dist/types/playground/compiler.d.ts.map +0 -1
- package/dist/types/playground/editor.d.ts +0 -9
- package/dist/types/playground/editor.d.ts.map +0 -1
- package/dist/types/playground/index.d.ts +0 -8
- package/dist/types/playground/index.d.ts.map +0 -1
- package/dist/types/playground/sidebar.d.ts +0 -10
- package/dist/types/playground/sidebar.d.ts.map +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export declare const markdown = "\n# Markdown: Syntax\n\n* [Overview](#overview)\n * [Philosophy](#philosophy)\n * [Inline HTML](#html)\n * [Automatic Escaping for Special Characters](#autoescape)\n* [Block Elements](#block)\n * [Paragraphs and Line Breaks](#p)\n * [Headers](#header)\n * [Blockquotes](#blockquote)\n * [Lists](#list)\n * [Code Blocks](#precode)\n * [Horizontal Rules](#hr)\n* [Span Elements](#span)\n * [Links](#link)\n * [Emphasis](#em)\n * [Code](#code)\n * [Images](#img)\n* [Miscellaneous](#misc)\n * [Backslash Escapes](#backslash)\n * [Automatic Links](#autolink)\n\n\n----\n\n```sql\ndeclare @delete_user_cursor cursor\nset @delete_user_cursor = cursor for\nselect distinct A.USER_NAME, A.LOGIN_NAME from {db_super}.dbo.V_ACCESS_ACCOUNT_RIGHT A\n\tjoin {db_super}.dbo.V_ACCESS_ACCOUNT B on B.USER_NAME = A.USER_NAME and B.ORIGIN = 'helios'\n\tleft join #users C on C.LOGIN_NAME = A.LOGIN_NAME\n\twhere A.ID_ACCOUNTING_GROUP = @id_accounting_group and C.LOGIN_NAME is null\n\nopen @delete_user_cursor\n\tfetch next from @delete_user_cursor into @user_name, @login_name\n\twhile @@fetch_status = 0 begin\n\t\tbegin try\n\t\t\texec {db_super}.dbo.p_DELETE_USER @user_name, @who_created\n\t\t\tset @message = concat('delete user ', @login_name, ' (', @user_name, ')')\n\t\t\texec {db_super}.dbo.p_journal @id_audit, @id_call output, @accounting, @dr, 'users', 'p_DELETE_USER', 'P_ACCESS_ACCOUNT', 0, 1, @message, 1;\n\t\tend try begin catch\n\t\t\tset @message = concat(@login_name, ': ', error_message())\n\t\t\texec {db_super}.dbo.p_journal @id_audit, @id_call output, @accounting, @dr, 'users', 'p_DELETE_USER', 'P_ACCESS_ACCOUNT', 1, 0, @message, 1;\n\t\tend catch\n\t\t\t\t\t\t\t\t\t \n\t\tfetch next from @delete_user_cursor into @user_name, @login_name\n\tend\nclose @delete_user_cursor \ndeallocate @delete_user_cursor\n```\n\n\n## Overview\n\n### Philosophy\n\nMarkdown is intended to be as easy-to-read and easy-to-write as is feasible.\n\nReadability, however, is emphasized above all else. A Markdown-formatted\ndocument should be publishable as-is, as plain text, without looking\nlike it's been marked up with tags or formatting instructions. While\nMarkdown's syntax has been influenced by several existing text-to-HTML\nfilters -- including [Setext](http://docutils.sourceforge.net/mirror/setext.html), [atx](http://www.aaronsw.com/2002/atx/), [Textile](http://textism.com/tools/textile/), [reStructuredText](http://docutils.sourceforge.net/rst.html),\n[Grutatext](http://www.triptico.com/software/grutatxt.html), and [EtText](http://ettext.taint.org/doc/) -- the single biggest source of\ninspiration for Markdown's syntax is the format of plain text email.\n\n## Block Elements\n\n### Images\n\n\n### Paragraphs and Line Breaks\n\nA paragraph is simply one or more consecutive lines of text, separated\nby one or more blank lines. (A blank line is any line that looks like a\nblank line -- a line containing nothing but spaces or tabs is considered\nblank.) Normal paragraphs should not be indented with spaces or tabs.\n\nThe implication of the \"one or more consecutive lines of text\" rule is\nthat Markdown supports \"hard-wrapped\" text paragraphs. This differs\nsignificantly from most other text-to-HTML formatters (including Movable\nType's \"Convert Line Breaks\" option) which translate every line break\ncharacter in a paragraph into a `<br />` tag.\n\nWhen you *do* want to insert a `<br />` break tag using Markdown, you\nend a line with two or more spaces, then type return.\n\n### Headers\n\nMarkdown supports two styles of headers, [Setext] [1] and [atx] [2].\n\nOptionally, you may \"close\" atx-style headers. This is purely\ncosmetic -- you can use this if you think it looks better. The\nclosing hashes don't even need to match the number of hashes\nused to open the header. (The number of opening hashes\ndetermines the header level.)\n\n\n### Blockquotes\n\nMarkdown uses email-style `>` characters for blockquoting. If you're\nfamiliar with quoting passages of text in an email message, then you\nknow how to create a blockquote in Markdown. It looks best if you hard\nwrap the text and put a `>` before every line:\n\n> This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,\n> consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.\n> Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.\n> \n> Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse\n> id sem consectetuer libero luctus adipiscing.\n\nMarkdown allows you to be lazy and only put the `>` before the first\nline of a hard-wrapped paragraph:\n\n> This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,\nconsectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.\nVestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.\n\n> Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse\nid sem consectetuer libero luctus adipiscing.\n\nBlockquotes can be nested (i.e. a blockquote-in-a-blockquote) by\nadding additional levels of `>`:\n\n> This is the first level of quoting.\n>\n> > This is nested blockquote.\n>\n> Back to the first level.\n\nBlockquotes can contain other Markdown elements, including headers, lists,\nand code blocks:\n\n> ## This is a header.\n> \n> 1. This is the first list item.\n> 2. This is the second list item.\n> \n> Here's some example code:\n> \n> return shell_exec(\"echo $input | $markdown_script\");\n\nAny decent text editor should make email-style quoting easy. For\nexample, with BBEdit, you can make a selection and choose Increase\nQuote Level from the Text menu.\n\n\n### Lists\n\nMarkdown supports ordered (numbered) and unordered (bulleted) lists.\n\nUnordered lists use asterisks, pluses, and hyphens -- interchangably\n-- as list markers:\n\n* Red\n* Green\n* Blue\n\nis equivalent to:\n\n+ Red\n+ Green\n+ Blue\n\nand:\n\n- Red\n- Green\n- Blue\n\nOrdered lists use numbers followed by periods:\n\n1. Bird\n2. McHale\n3. Parish\n\nIt's important to note that the actual numbers you use to mark the\nlist have no effect on the HTML output Markdown produces. The HTML\nMarkdown produces from the above list is:\n\nIf you instead wrote the list in Markdown like this:\n\n1. Bird\n1. McHale\n1. Parish\n\nor even:\n\n3. Bird\n1. McHale\n8. Parish\n\nyou'd get the exact same HTML output. The point is, if you want to,\nyou can use ordinal numbers in your ordered Markdown lists, so that\nthe numbers in your source match the numbers in your published HTML.\nBut if you want to be lazy, you don't have to.\n\nTo make lists look nice, you can wrap items with hanging indents:\n\n* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.\n Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,\n viverra nec, fringilla in, laoreet vitae, risus.\n* Donec sit amet nisl. Aliquam semper ipsum sit amet velit.\n Suspendisse id sem consectetuer libero luctus adipiscing.\n\nBut if you want to be lazy, you don't have to:\n\n* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.\nAliquam hendrerit mi posuere lectus. Vestibulum enim wisi,\nviverra nec, fringilla in, laoreet vitae, risus.\n* Donec sit amet nisl. Aliquam semper ipsum sit amet velit.\nSuspendisse id sem consectetuer libero luctus adipiscing.\n\nList items may consist of multiple paragraphs. Each subsequent\nparagraph in a list item must be indented by either 4 spaces\nor one tab:\n\n1. This is a list item with two paragraphs. Lorem ipsum dolor\n sit amet, consectetuer adipiscing elit. Aliquam hendrerit\n mi posuere lectus.\n\n Vestibulum enim wisi, viverra nec, fringilla in, laoreet\n vitae, risus. Donec sit amet nisl. Aliquam semper ipsum\n sit amet velit.\n\n2. Suspendisse id sem consectetuer libero luctus adipiscing.\n\nIt looks nice if you indent every line of the subsequent\nparagraphs, but here again, Markdown will allow you to be\nlazy:\n\n* This is a list item with two paragraphs.\n\n This is the second paragraph in the list item. You're\nonly required to indent the first line. Lorem ipsum dolor\nsit amet, consectetuer adipiscing elit.\n\n* Another item in the same list.\n\nTo put a blockquote within a list item, the blockquote's `>`\ndelimiters need to be indented:\n\n* A list item with a blockquote:\n\n > This is a blockquote\n > inside a list item.\n\nTo put a code block within a list item, the code block needs\nto be indented *twice* -- 8 spaces or two tabs:\n\n* A list item with a code block:\n\n <code goes here>\n\n### Code Blocks\n\nPre-formatted code blocks are used for writing about programming or\nmarkup source code. Rather than forming normal paragraphs, the lines\nof a code block are interpreted literally. Markdown wraps a code block\nin both `<pre>` and `<code>` tags.\n\nTo produce a code block in Markdown, simply indent every line of the\nblock by at least 4 spaces or 1 tab.\n\nThis is a normal paragraph:\n\n This is a code block.\n\nHere is an example of AppleScript:\n\n tell application \"Foo\"\n beep\n end tell\n\nA code block continues until it reaches a line that is not indented\n(or the end of the article).\n\nWithin a code block, ampersands (`&`) and angle brackets (`<` and `>`)\nare automatically converted into HTML entities. This makes it very\neasy to include example HTML source code using Markdown -- just paste\nit and indent it, and Markdown will handle the hassle of encoding the\nampersands and angle brackets. For example, this:\n\n <div class=\"footer\">\n © 2004 Foo Corporation\n </div>\n\nRegular Markdown syntax is not processed within code blocks. E.g.,\nasterisks are just literal asterisks within a code block. This means\nit's also easy to use Markdown to write about Markdown's own syntax.\n\n```\ntell application \"Foo\"\n beep\nend tell\n```\n\n## Span Elements\n\n### Links\n\nMarkdown supports two style of links: *inline* and *reference*.\n\nIn both styles, the link text is delimited by [square brackets].\n\nTo create an inline link, use a set of regular parentheses immediately\nafter the link text's closing square bracket. Inside the parentheses,\nput the URL where you want the link to point, along with an *optional*\ntitle for the link, surrounded in quotes. For example:\n\nThis is [an example](http://example.com/) inline link.\n\n[This link](http://example.net/) has no title attribute.\n\n### Emphasis\n\nMarkdown treats asterisks (`*`) and underscores (`_`) as indicators of\nemphasis. Text wrapped with one `*` or `_` will be wrapped with an\nHTML `<em>` tag; double `*`'s or `_`'s will be wrapped with an HTML\n`<strong>` tag. E.g., this input:\n\n*single asterisks*\n\n_single underscores_\n\n**double asterisks**\n\n__double underscores__\n\n### Code\n\nTo indicate a span of code, wrap it with backtick quotes (`` ` ``).\nUnlike a pre-formatted code block, a code span indicates code within a\nnormal paragraph. For example:\n\nUse the `printf()` function.\n";
|
|
2
|
-
//# sourceMappingURL=markdown1.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"markdown1.d.ts","sourceRoot":"","sources":["../../../src/data/markdown1.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,04VAkVpB,CAAC"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export declare const markdown = "# Milkdown\n\n\n\n\uD83D\uDC4B Welcome to Milkdown. We are so glad to see you here!\n\n\uD83D\uDCAD You may wonder, what is Milkdown? Please write something here.\n\n> \u26A0\uFE0F **Not the right side!**\n>\n> Please try something on the left side.\n\n\n\nYou're seeing this editor called **\uD83E\uDD5ECrepe**, which is an editor built on top of Milkdown.\n\nIf you want to install this editor, you can run `npm install @milkdown/crepe`. Then you can use it like this:\n\n```JavaScript\nimport { Crepe } from '@milkdown/crepe';\nimport \"@milkdown/crepe/theme/common/style.css\";\n\n// We have some themes for you to choose, ex.\nimport \"@milkdown/crepe/theme/frame.css\";\n// Or you can create your own theme\nimport \"./your-theme.css\";\n\nconst crepe = new Crepe({\n root: '#app',\n defaultValue: '# Hello, Milkdown!',\n})\n\ncrepe\n .create()\n .then(() => {\n console.log('Milkdown is ready!');\n })\n\n\n// Before unmount\ncrepe.destroy();\n```\n\n***\n\n## Structure\n\n> \uD83C\uDF7C [Milkdown](https://github.com/Milkdown/milkdown) is a WYSIWYG markdown editor framework.\n>\n> Which means you can build your own markdown editor with Milkdown.\n\nIn the real world, a typical milkdown editor is built on top of 3 layers:\n\n* [x] \uD83E\uDD5B Core: The core of Milkdown, which provides the plugin loading system with the editor concepts.\n* [x] \uD83E\uDDC7 Plugins: A set of plugins that can be used to extend the functionalities of the editor.\n* [x] \uD83C\uDF6E Components: Some headless components that can be used to build your own editor.\n\nAt the start, you may find it hard to understand all these concepts.\nBut don't worry, we have this `@milkdown/crepe` editor for you to get started quickly.\n\n***\n\n## You can do more with Milkdown\n\nIn Milkdown, you can extend the editor in many ways:\n\n| Feature | Description | Example |\n| ------------ | ---------------------------------------------------- | ------------------------- |\n| \uD83C\uDFA8 Theme | Create your own theme with CSS | Nord, Dracula |\n| \uD83E\uDDE9 Plugin | Create your own plugin to extend the editor | Search, Collab |\n| \uD83D\uDCE6 Component | Create your own component to build your own editor | Slash Menu, Toolbar |\n| \uD83D\uDCDA Syntax | Create your own syntax to extend the markdown parser | Image with Caption, LaTex |\n\nWe have provided a lot of plugins and components, with an out-of-the-box crepe editor for you to use and learn.\n\n***\n\n## Open Source\n\n* Milkdown is an open-source project under the MIT license.\n* Everyone is welcome to contribute to the project, and you can use it in your own project for free.\n* Please let me know what you are building with Milkdown, I would be so glad to see that!\n\nMaintaining Milkdown is a lot of work, and we are working on it in our spare time.\nIf you like Milkdown, please consider supporting us by [sponsoring](https://github.com/sponsors/Saul-Mirone) the project.\nWe'll be so grateful for your support.\n\n## Who built Milkdown?\n\nMilkdown is built by [Mirone](https://github.com/Saul-Mirone) and designed by [Meo](https://meo.cool).\n";
|
|
2
|
-
//# sourceMappingURL=markdown2.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"markdown2.d.ts","sourceRoot":"","sources":["../../../src/data/markdown2.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,2vGA0FpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"markdown3.d.ts","sourceRoot":"","sources":["../../../src/data/markdown3.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,qMAqBpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"treeData.d.ts","sourceRoot":"","sources":["../../../src/data/treeData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAM7C,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,gBAgBxE"}
|
package/dist/types/demo.d.ts
DELETED
package/dist/types/demo.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"demo.d.ts","sourceRoot":"","sources":["../../src/demo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAe,MAAM,mBAAmB,CAAC;AA8VxD,QAAA,MAAM,SAAS;;;CAAwB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
package/dist/types/global.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Bucket } from "@omegagrid/bucket";
|
|
2
|
-
type Container = {
|
|
3
|
-
init?: (elm: HTMLElement) => void;
|
|
4
|
-
bucket?: Bucket;
|
|
5
|
-
};
|
|
6
|
-
declare let staticContainer: Container;
|
|
7
|
-
export declare function createContainer(init: (elm: HTMLElement) => void): Container;
|
|
8
|
-
export default staticContainer;
|
|
9
|
-
//# sourceMappingURL=global.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../src/global.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAEhD,KAAK,SAAS,GAAG;IAChB,IAAI,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,IAAI,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,QAAA,IAAI,eAAe,EAAE,SAAc,CAAC;AAEpC,wBAAgB,eAAe,CAAC,IAAI,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,IAAI,aAG/D;AAED,eAAe,eAAe,CAAC"}
|
package/dist/types/icons.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../src/icons.ts"],"names":[],"mappings":"AA4eA,eAAO,MAAM,aAAa,YAGzB,CAAA"}
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export * as bucket from "@omegagrid/bucket";
|
|
2
|
-
export * as code from "@omegagrid/code";
|
|
3
|
-
export * as dialog from "@omegagrid/dialog";
|
|
4
|
-
export * as commands from "@omegagrid/commands";
|
|
5
|
-
export * as core from "@omegagrid/core";
|
|
6
|
-
export * as editor from "@omegagrid/editor";
|
|
7
|
-
export * as form from "@omegagrid/form";
|
|
8
|
-
export * as grid from "@omegagrid/grid";
|
|
9
|
-
export * as markdown from "@omegagrid/markdown";
|
|
10
|
-
export * as statusbar from "@omegagrid/statusbar";
|
|
11
|
-
export * as tabs from "@omegagrid/tabs";
|
|
12
|
-
export * as toolbar from "@omegagrid/toolbar";
|
|
13
|
-
export * as tree from "@omegagrid/tree";
|
|
14
|
-
export * as calendar from "@omegagrid/calendar";
|
|
15
|
-
import * as xlsxPlugin from "@omegagrid/plugin-xlsx";
|
|
16
|
-
import * as chartPlugin from "@omegagrid/plugin-charts";
|
|
17
|
-
export { container as demo } from "./demo";
|
|
18
|
-
export * as playground from './playground';
|
|
19
|
-
interface Module {
|
|
20
|
-
default?: any;
|
|
21
|
-
[key: string]: any;
|
|
22
|
-
}
|
|
23
|
-
declare global {
|
|
24
|
-
const dynamicImport: (path: string) => Promise<Module>;
|
|
25
|
-
}
|
|
26
|
-
export declare const plugins: {
|
|
27
|
-
xlsx: typeof xlsxPlugin;
|
|
28
|
-
charts: typeof chartPlugin;
|
|
29
|
-
};
|
|
30
|
-
declare const pkg: {
|
|
31
|
-
name: string;
|
|
32
|
-
version: string;
|
|
33
|
-
};
|
|
34
|
-
export { pkg as package };
|
|
35
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,WAAW,MAAM,0BAA0B,CAAC;AAExD,OAAO,EAAE,SAAS,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AAI3C,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAE3C,UAAU,MAAM;IACf,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACnB;AAED,OAAO,CAAC,MAAM,CAAC;IACd,MAAM,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;CACvD;AAQD,eAAO,MAAM,OAAO;;;CAGnB,CAAC;AAEF,QAAA,MAAM,GAAG;;;CAGR,CAAC;AAEF,OAAO,EAAE,GAAG,IAAI,OAAO,EAAE,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Layout, OmegaComponent } from "@omegagrid/core";
|
|
2
|
-
import { Code } from "@omegagrid/code";
|
|
3
|
-
export declare class PlaygroundCodeEditor extends OmegaComponent implements Layout {
|
|
4
|
-
static styles: import("lit").CSSResultGroup[];
|
|
5
|
-
content: string;
|
|
6
|
-
code: Code;
|
|
7
|
-
constructor();
|
|
8
|
-
updated(): Promise<void>;
|
|
9
|
-
compile(): Promise<void>;
|
|
10
|
-
render: () => import("lit-html").TemplateResult<1>;
|
|
11
|
-
layout(): void;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=codeEditor.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"codeEditor.d.ts","sourceRoot":"","sources":["../../../src/playground/codeEditor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAKzD,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC,qBACa,oBAAqB,SAAQ,cAAe,YAAW,MAAM;IAEzE,MAAM,CAAC,MAAM,iCAUV;IAGH,OAAO,EAAE,MAAM,CAAC;IAGhB,IAAI,EAAE,IAAI,CAAC;;IAOL,OAAO;IAIP,OAAO;IAOb,MAAM,6CAEJ;IAEF,MAAM;CAIN"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type esbuild from 'esbuild-wasm';
|
|
2
|
-
export declare class Compiler {
|
|
3
|
-
static esb: typeof esbuild;
|
|
4
|
-
static loading: boolean;
|
|
5
|
-
static resolutions: [((esb: typeof esbuild) => void), (err: any) => void][];
|
|
6
|
-
static init(): Promise<typeof esbuild>;
|
|
7
|
-
static compile(code: string): Promise<string>;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=compiler.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"compiler.d.ts","sourceRoot":"","sources":["../../../src/playground/compiler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AAIxC,qBAAa,QAAQ;IAEpB,MAAM,CAAC,GAAG,EAAE,OAAO,OAAO,CAAA;IAC1B,MAAM,CAAC,OAAO,UAAS;IACvB,MAAM,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,GAAG,EAAE,OAAO,OAAO,KAAK,IAAI,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC,EAAE,CAAM;WAEpE,IAAI,IAAK,OAAO,CAAC,OAAO,OAAO,CAAC;WA2BhC,OAAO,CAAC,IAAI,EAAE,MAAM;CAMjC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { OmegaComponent } from "@omegagrid/core";
|
|
2
|
-
export declare class PlaygroundEditor extends OmegaComponent {
|
|
3
|
-
#private;
|
|
4
|
-
static styles: import("lit").CSSResultGroup[];
|
|
5
|
-
snippet: string;
|
|
6
|
-
updated(props: Map<PropertyKey, unknown>): Promise<void>;
|
|
7
|
-
render: () => import("lit-html").TemplateResult<1>;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=editor.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../src/playground/editor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,cAAc,EAAO,MAAM,iBAAiB,CAAC;AAMnE,qBACa,gBAAiB,SAAQ,cAAc;;IAEnD,MAAM,CAAC,MAAM,iCAUV;IAGH,OAAO,EAAE,MAAM,CAAC;IAKV,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,WAAW,EAAE,OAAO,CAAC;IAsB9C,MAAM,6CASJ;CAEF"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ComponentId } from '@omegagrid/core';
|
|
2
|
-
import { PlaygroundEditor } from './editor';
|
|
3
|
-
export * from './sidebar';
|
|
4
|
-
export * from './codeEditor';
|
|
5
|
-
export * from './compiler';
|
|
6
|
-
export { PlaygroundEditor };
|
|
7
|
-
export declare function createEditor(id: ComponentId): PlaygroundEditor;
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/playground/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAO,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAE5B,wBAAgB,YAAY,CAAC,EAAE,EAAE,WAAW,oBAM3C"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { OmegaComponent } from "@omegagrid/core";
|
|
2
|
-
import { Tree } from "@omegagrid/tree";
|
|
3
|
-
export declare class PlaygroundSidebar extends OmegaComponent {
|
|
4
|
-
#private;
|
|
5
|
-
static styles: import("lit").CSSResultGroup[];
|
|
6
|
-
tree: Tree;
|
|
7
|
-
updated(): Promise<void>;
|
|
8
|
-
render: () => import("lit-html").TemplateResult<1>;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=sidebar.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../src/playground/sidebar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,IAAI,EAAyB,MAAM,iBAAiB,CAAC;AAK9D,qBACa,iBAAkB,SAAQ,cAAc;;IAEpD,MAAM,CAAC,MAAM,iCAUV;IAGH,IAAI,EAAE,IAAI,CAAC;IAEL,OAAO;IAuCb,MAAM,6CAOJ;CAEF"}
|