ll-plus 2.10.24 → 2.10.26
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/es/components/advanced-filtering/index.d.ts +702 -702
- package/es/components/advanced-filtering/src/advanced-filtering.d.ts +16 -16
- package/es/components/advanced-filtering/src/advanced-filtering.vue.d.ts +361 -361
- package/es/components/advanced-filtering/src/components/advanced-filtering-params.vue.d.ts +321 -321
- package/es/components/advanced-filtering/src/components/advanced-filtering-tags.vue.d.ts +20 -20
- package/es/components/api-component/index.d.ts +8 -8
- package/es/components/api-component/src/api-component.vue.d.ts +8 -8
- package/es/components/api-component/src/components/body-component.vue.d.ts +4 -4
- package/es/components/api-component/src/components/params-table-row.vue.d.ts +2 -2
- package/es/components/api-component/src/components/params-table.vue.d.ts +4 -4
- package/es/components/breadcrumb-card/index.d.ts +1 -1
- package/es/components/breadcrumb-card/src/breadcrumb-card.vue.d.ts +1 -1
- package/es/components/checkbox/index.d.ts +280 -280
- package/es/components/checkbox/src/checkbox-group.vue.d.ts +280 -280
- package/es/components/checkbox/src/checkbox.d.ts +112 -112
- package/es/components/cropper/index.d.ts +4 -4
- package/es/components/cropper/src/cropper-image.vue.d.ts +2 -2
- package/es/components/cropper/src/cropper-modal.vue.d.ts +2 -2
- package/es/components/drawer/src/components/second-confirmation/index.d.ts +4 -4
- package/es/components/drawer/src/components/second-confirmation/src/second-confirmation.vue.d.ts +4 -4
- package/es/components/dropdown-button-simple/index.d.ts +13 -13
- package/es/components/dropdown-button-simple/src/dropdown-button-simple.d.ts +4 -4
- package/es/components/dropdown-button-simple/src/dropdown-button-simple.vue.d.ts +13 -13
- package/es/components/form/index.d.ts +301 -301
- package/es/components/form/src/config/form.d.ts +120 -120
- package/es/components/form/src/form.vue.d.ts +301 -301
- package/es/components/icon-base/index.d.ts +4 -4
- package/es/components/icon-base/src/icon-base.d.ts +2 -2
- package/es/components/icon-base/src/icon-base.vue.d.ts +4 -4
- package/es/components/icon-picker/index.d.ts +1 -1
- package/es/components/icon-picker/src/components/modal.vue.d.ts +1 -1
- package/es/components/icon-picker/src/icon-picker.vue.d.ts +1 -1
- package/es/components/input-number/index.d.ts +2 -2
- package/es/components/input-number/src/input-number.vue.d.ts +2 -2
- package/es/components/key-value/src/components/key-value-item.vue.d.ts +484 -484
- package/es/components/key-value/src/key-value.vue.d.ts +1452 -1452
- package/es/components/modal/index.d.ts +4 -4
- package/es/components/modal/src/modal.d.ts +1 -1
- package/es/components/modal/src/modal.vue.d.ts +4 -4
- package/es/components/new-drawer/index.d.ts +2 -2
- package/es/components/new-drawer/src/drawer.vue.d.ts +2 -2
- package/es/components/new-modal/index.d.ts +9 -9
- package/es/components/new-modal/src/modal.d.ts +1 -1
- package/es/components/new-modal/src/modal.vue.d.ts +9 -9
- package/es/components/number-range/index.d.ts +2 -2
- package/es/components/number-range/src/number-range.vue.d.ts +2 -2
- package/es/components/operate-icon/index.d.ts +6 -6
- package/es/components/operate-icon/src/operate-icon.vue.d.ts +6 -6
- package/es/components/select-group/index.d.ts +2 -2
- package/es/components/select-group/src/select-group.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +6 -6
- package/es/components/table/src/components/main-table.vue.d.ts +2 -2
- package/es/components/table/src/config/table.d.ts +2 -2
- package/es/components/table/src/table.vue.d.ts +6 -6
- package/es/components/tooltip/index.d.ts +4 -4
- package/es/components/tooltip/src/tooltip.d.ts +1 -1
- package/es/components/tooltip/src/tooltip.vue.d.ts +4 -4
- package/es/components/tree-search/index.d.ts +3 -3
- package/es/components/tree-search/src/config/tree-search.d.ts +1 -1
- package/es/components/tree-search/src/tree-search.vue.d.ts +3 -3
- package/lib/components/advanced-filtering/index.d.ts +702 -702
- package/lib/components/advanced-filtering/src/advanced-filtering.d.ts +16 -16
- package/lib/components/advanced-filtering/src/advanced-filtering.vue.d.ts +361 -361
- package/lib/components/advanced-filtering/src/components/advanced-filtering-params.vue.d.ts +321 -321
- package/lib/components/advanced-filtering/src/components/advanced-filtering-tags.vue.d.ts +20 -20
- package/lib/components/api-component/index.d.ts +8 -8
- package/lib/components/api-component/src/api-component.vue.d.ts +8 -8
- package/lib/components/api-component/src/components/body-component.vue.d.ts +4 -4
- package/lib/components/api-component/src/components/params-table-row.vue.d.ts +2 -2
- package/lib/components/api-component/src/components/params-table.vue.d.ts +4 -4
- package/lib/components/breadcrumb-card/index.d.ts +1 -1
- package/lib/components/breadcrumb-card/src/breadcrumb-card.vue.d.ts +1 -1
- package/lib/components/checkbox/index.d.ts +280 -280
- package/lib/components/checkbox/src/checkbox-group.vue.d.ts +280 -280
- package/lib/components/checkbox/src/checkbox.d.ts +112 -112
- package/lib/components/cropper/index.d.ts +4 -4
- package/lib/components/cropper/src/cropper-image.vue.d.ts +2 -2
- package/lib/components/cropper/src/cropper-modal.vue.d.ts +2 -2
- package/lib/components/drawer/src/components/second-confirmation/index.d.ts +4 -4
- package/lib/components/drawer/src/components/second-confirmation/src/second-confirmation.vue.d.ts +4 -4
- package/lib/components/dropdown-button-simple/index.d.ts +13 -13
- package/lib/components/dropdown-button-simple/src/dropdown-button-simple.d.ts +4 -4
- package/lib/components/dropdown-button-simple/src/dropdown-button-simple.vue.d.ts +13 -13
- package/lib/components/form/index.d.ts +301 -301
- package/lib/components/form/src/config/form.d.ts +120 -120
- package/lib/components/form/src/form.vue.d.ts +301 -301
- package/lib/components/icon-base/index.d.ts +4 -4
- package/lib/components/icon-base/src/icon-base.d.ts +2 -2
- package/lib/components/icon-base/src/icon-base.vue.d.ts +4 -4
- package/lib/components/icon-picker/index.d.ts +1 -1
- package/lib/components/icon-picker/src/components/modal.vue.d.ts +1 -1
- package/lib/components/icon-picker/src/icon-picker.vue.d.ts +1 -1
- package/lib/components/input-number/index.d.ts +2 -2
- package/lib/components/input-number/src/input-number.vue.d.ts +2 -2
- package/lib/components/key-value/src/components/key-value-item.vue.d.ts +484 -484
- package/lib/components/key-value/src/key-value.vue.d.ts +1452 -1452
- package/lib/components/modal/index.d.ts +4 -4
- package/lib/components/modal/src/modal.d.ts +1 -1
- package/lib/components/modal/src/modal.vue.d.ts +4 -4
- package/lib/components/new-drawer/index.d.ts +2 -2
- package/lib/components/new-drawer/src/drawer.vue.d.ts +2 -2
- package/lib/components/new-modal/index.d.ts +9 -9
- package/lib/components/new-modal/src/modal.d.ts +1 -1
- package/lib/components/new-modal/src/modal.vue.d.ts +9 -9
- package/lib/components/number-range/index.d.ts +2 -2
- package/lib/components/number-range/src/number-range.vue.d.ts +2 -2
- package/lib/components/operate-icon/index.d.ts +6 -6
- package/lib/components/operate-icon/src/operate-icon.vue.d.ts +6 -6
- package/lib/components/select-group/index.d.ts +2 -2
- package/lib/components/select-group/src/select-group.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +6 -6
- package/lib/components/table/src/components/main-table.vue.d.ts +2 -2
- package/lib/components/table/src/config/table.d.ts +2 -2
- package/lib/components/table/src/table.vue.d.ts +6 -6
- package/lib/components/tooltip/index.d.ts +4 -4
- package/lib/components/tooltip/src/tooltip.d.ts +1 -1
- package/lib/components/tooltip/src/tooltip.vue.d.ts +4 -4
- package/lib/components/tree-search/index.d.ts +3 -3
- package/lib/components/tree-search/src/config/tree-search.d.ts +1 -1
- package/lib/components/tree-search/src/tree-search.vue.d.ts +3 -3
- package/package.json +1 -1
- package/theme-chalk/code-editor-vue3/addon/comment/comment.js +211 -0
- package/theme-chalk/code-editor-vue3/addon/comment/continuecomment.js +114 -0
- package/theme-chalk/code-editor-vue3/addon/dialog/dialog.css +32 -0
- package/theme-chalk/code-editor-vue3/addon/dialog/dialog.js +163 -0
- package/theme-chalk/code-editor-vue3/addon/display/autorefresh.js +47 -0
- package/theme-chalk/code-editor-vue3/addon/display/fullscreen.css +6 -0
- package/theme-chalk/code-editor-vue3/addon/display/fullscreen.js +41 -0
- package/theme-chalk/code-editor-vue3/addon/display/panel.js +133 -0
- package/theme-chalk/code-editor-vue3/addon/display/placeholder.js +78 -0
- package/theme-chalk/code-editor-vue3/addon/display/rulers.js +51 -0
- package/theme-chalk/code-editor-vue3/addon/edit/closebrackets.js +201 -0
- package/theme-chalk/code-editor-vue3/addon/edit/closetag.js +185 -0
- package/theme-chalk/code-editor-vue3/addon/edit/continuelist.js +101 -0
- package/theme-chalk/code-editor-vue3/addon/edit/matchbrackets.js +160 -0
- package/theme-chalk/code-editor-vue3/addon/edit/matchtags.js +66 -0
- package/theme-chalk/code-editor-vue3/addon/edit/trailingspace.js +27 -0
- package/theme-chalk/code-editor-vue3/addon/fold/brace-fold.js +119 -0
- package/theme-chalk/code-editor-vue3/addon/fold/comment-fold.js +59 -0
- package/theme-chalk/code-editor-vue3/addon/fold/foldcode.js +159 -0
- package/theme-chalk/code-editor-vue3/addon/fold/foldgutter.css +20 -0
- package/theme-chalk/code-editor-vue3/addon/fold/foldgutter.js +169 -0
- package/theme-chalk/code-editor-vue3/addon/fold/indent-fold.js +48 -0
- package/theme-chalk/code-editor-vue3/addon/fold/markdown-fold.js +49 -0
- package/theme-chalk/code-editor-vue3/addon/fold/xml-fold.js +184 -0
- package/theme-chalk/code-editor-vue3/addon/hint/anyword-hint.js +41 -0
- package/theme-chalk/code-editor-vue3/addon/hint/css-hint.js +66 -0
- package/theme-chalk/code-editor-vue3/addon/hint/html-hint.js +351 -0
- package/theme-chalk/code-editor-vue3/addon/hint/javascript-hint.js +162 -0
- package/theme-chalk/code-editor-vue3/addon/hint/show-hint.css +37 -0
- package/theme-chalk/code-editor-vue3/addon/hint/show-hint.js +523 -0
- package/theme-chalk/code-editor-vue3/addon/hint/sql-hint.js +304 -0
- package/theme-chalk/code-editor-vue3/addon/hint/xml-hint.js +132 -0
- package/theme-chalk/code-editor-vue3/addon/lint/coffeescript-lint.js +47 -0
- package/theme-chalk/code-editor-vue3/addon/lint/css-lint.js +40 -0
- package/theme-chalk/code-editor-vue3/addon/lint/html-lint.js +59 -0
- package/theme-chalk/code-editor-vue3/addon/lint/javascript-lint.js +65 -0
- package/theme-chalk/code-editor-vue3/addon/lint/json-lint.js +40 -0
- package/theme-chalk/code-editor-vue3/addon/lint/lint.css +79 -0
- package/theme-chalk/code-editor-vue3/addon/lint/lint.js +288 -0
- package/theme-chalk/code-editor-vue3/addon/lint/yaml-lint.js +41 -0
- package/theme-chalk/code-editor-vue3/addon/merge/merge.css +119 -0
- package/theme-chalk/code-editor-vue3/addon/merge/merge.js +1018 -0
- package/theme-chalk/code-editor-vue3/addon/mode/loadmode.js +66 -0
- package/theme-chalk/code-editor-vue3/addon/mode/multiplex.js +136 -0
- package/theme-chalk/code-editor-vue3/addon/mode/multiplex_test.js +49 -0
- package/theme-chalk/code-editor-vue3/addon/mode/overlay.js +90 -0
- package/theme-chalk/code-editor-vue3/addon/mode/simple.js +216 -0
- package/theme-chalk/code-editor-vue3/addon/runmode/colorize.js +40 -0
- package/theme-chalk/code-editor-vue3/addon/runmode/runmode-standalone.js +334 -0
- package/theme-chalk/code-editor-vue3/addon/runmode/runmode.js +76 -0
- package/theme-chalk/code-editor-vue3/addon/runmode/runmode.node.js +329 -0
- package/theme-chalk/code-editor-vue3/addon/scroll/annotatescrollbar.js +128 -0
- package/theme-chalk/code-editor-vue3/addon/scroll/scrollpastend.js +48 -0
- package/theme-chalk/code-editor-vue3/addon/scroll/simplescrollbars.css +66 -0
- package/theme-chalk/code-editor-vue3/addon/scroll/simplescrollbars.js +152 -0
- package/theme-chalk/code-editor-vue3/addon/search/jump-to-line.js +53 -0
- package/theme-chalk/code-editor-vue3/addon/search/match-highlighter.js +167 -0
- package/theme-chalk/code-editor-vue3/addon/search/matchesonscrollbar.css +8 -0
- package/theme-chalk/code-editor-vue3/addon/search/matchesonscrollbar.js +97 -0
- package/theme-chalk/code-editor-vue3/addon/search/search.js +295 -0
- package/theme-chalk/code-editor-vue3/addon/search/searchcursor.js +305 -0
- package/theme-chalk/code-editor-vue3/addon/selection/active-line.js +72 -0
- package/theme-chalk/code-editor-vue3/addon/selection/mark-selection.js +119 -0
- package/theme-chalk/code-editor-vue3/addon/selection/selection-pointer.js +98 -0
- package/theme-chalk/code-editor-vue3/addon/tern/tern.css +87 -0
- package/theme-chalk/code-editor-vue3/addon/tern/tern.js +756 -0
- package/theme-chalk/code-editor-vue3/addon/tern/worker.js +44 -0
- package/theme-chalk/code-editor-vue3/addon/wrap/hardwrap.js +160 -0
- package/theme-chalk/code-editor-vue3/lib/codemirror.css +344 -0
- package/theme-chalk/code-editor-vue3/lib/codemirror.js +9884 -0
- package/theme-chalk/code-editor-vue3/mode/apl/apl.js +174 -0
- package/theme-chalk/code-editor-vue3/mode/asciiarmor/asciiarmor.js +74 -0
- package/theme-chalk/code-editor-vue3/mode/asn.1/asn.1.js +204 -0
- package/theme-chalk/code-editor-vue3/mode/asterisk/asterisk.js +220 -0
- package/theme-chalk/code-editor-vue3/mode/brainfuck/brainfuck.js +85 -0
- package/theme-chalk/code-editor-vue3/mode/clike/clike.js +942 -0
- package/theme-chalk/code-editor-vue3/mode/clojure/clojure.js +293 -0
- package/theme-chalk/code-editor-vue3/mode/cmake/cmake.js +97 -0
- package/theme-chalk/code-editor-vue3/mode/cobol/cobol.js +255 -0
- package/theme-chalk/code-editor-vue3/mode/coffeescript/coffeescript.js +359 -0
- package/theme-chalk/code-editor-vue3/mode/commonlisp/commonlisp.js +125 -0
- package/theme-chalk/code-editor-vue3/mode/crystal/crystal.js +433 -0
- package/theme-chalk/code-editor-vue3/mode/cypher/cypher.js +152 -0
- package/theme-chalk/code-editor-vue3/mode/d/d.js +223 -0
- package/theme-chalk/code-editor-vue3/mode/dart/dart.js +168 -0
- package/theme-chalk/code-editor-vue3/mode/diff/diff.js +47 -0
- package/theme-chalk/code-editor-vue3/mode/django/django.js +356 -0
- package/theme-chalk/code-editor-vue3/mode/dockerfile/dockerfile.js +211 -0
- package/theme-chalk/code-editor-vue3/mode/dtd/dtd.js +142 -0
- package/theme-chalk/code-editor-vue3/mode/dylan/dylan.js +352 -0
- package/theme-chalk/code-editor-vue3/mode/ebnf/ebnf.js +195 -0
- package/theme-chalk/code-editor-vue3/mode/ecl/ecl.js +206 -0
- package/theme-chalk/code-editor-vue3/mode/eiffel/eiffel.js +160 -0
- package/theme-chalk/code-editor-vue3/mode/elm/elm.js +245 -0
- package/theme-chalk/code-editor-vue3/mode/erlang/erlang.js +619 -0
- package/theme-chalk/code-editor-vue3/mode/factor/factor.js +85 -0
- package/theme-chalk/code-editor-vue3/mode/fcl/fcl.js +173 -0
- package/theme-chalk/code-editor-vue3/mode/forth/forth.js +180 -0
- package/theme-chalk/code-editor-vue3/mode/fortran/fortran.js +188 -0
- package/theme-chalk/code-editor-vue3/mode/gas/gas.js +353 -0
- package/theme-chalk/code-editor-vue3/mode/gfm/gfm.js +129 -0
- package/theme-chalk/code-editor-vue3/mode/gherkin/gherkin.js +178 -0
- package/theme-chalk/code-editor-vue3/mode/go/go.js +187 -0
- package/theme-chalk/code-editor-vue3/mode/groovy/groovy.js +245 -0
- package/theme-chalk/code-editor-vue3/mode/haml/haml.js +161 -0
- package/theme-chalk/code-editor-vue3/mode/handlebars/handlebars.js +70 -0
- package/theme-chalk/code-editor-vue3/mode/haskell/haskell.js +268 -0
- package/theme-chalk/code-editor-vue3/mode/haskell-literate/haskell-literate.js +43 -0
- package/theme-chalk/code-editor-vue3/mode/haxe/haxe.js +515 -0
- package/theme-chalk/code-editor-vue3/mode/htmlmixed/htmlmixed.js +153 -0
- package/theme-chalk/code-editor-vue3/mode/http/http.js +113 -0
- package/theme-chalk/code-editor-vue3/mode/idl/idl.js +290 -0
- package/theme-chalk/code-editor-vue3/mode/jinja2/jinja2.js +193 -0
- package/theme-chalk/code-editor-vue3/mode/julia/julia.js +390 -0
- package/theme-chalk/code-editor-vue3/mode/livescript/livescript.js +280 -0
- package/theme-chalk/code-editor-vue3/mode/lua/lua.js +160 -0
- package/theme-chalk/code-editor-vue3/mode/markdown/markdown.js +886 -0
- package/theme-chalk/code-editor-vue3/mode/mathematica/mathematica.js +176 -0
- package/theme-chalk/code-editor-vue3/mode/mbox/mbox.js +129 -0
- package/theme-chalk/code-editor-vue3/mode/meta.js +221 -0
- package/theme-chalk/code-editor-vue3/mode/mirc/mirc.js +193 -0
- package/theme-chalk/code-editor-vue3/mode/mllike/mllike.js +359 -0
- package/theme-chalk/code-editor-vue3/mode/modelica/modelica.js +245 -0
- package/theme-chalk/code-editor-vue3/mode/mscgen/mscgen.js +175 -0
- package/theme-chalk/code-editor-vue3/mode/mumps/mumps.js +148 -0
- package/theme-chalk/code-editor-vue3/mode/nginx/nginx.js +178 -0
- package/theme-chalk/code-editor-vue3/mode/nsis/nsis.js +95 -0
- package/theme-chalk/code-editor-vue3/mode/ntriples/ntriples.js +195 -0
- package/theme-chalk/code-editor-vue3/mode/octave/octave.js +139 -0
- package/theme-chalk/code-editor-vue3/mode/oz/oz.js +252 -0
- package/theme-chalk/code-editor-vue3/mode/pascal/pascal.js +136 -0
- package/theme-chalk/code-editor-vue3/mode/pegjs/pegjs.js +111 -0
- package/theme-chalk/code-editor-vue3/mode/perl/perl.js +836 -0
- package/theme-chalk/code-editor-vue3/mode/php/php.js +234 -0
- package/theme-chalk/code-editor-vue3/mode/pig/pig.js +178 -0
- package/theme-chalk/code-editor-vue3/mode/powershell/powershell.js +398 -0
- package/theme-chalk/code-editor-vue3/mode/properties/properties.js +78 -0
- package/theme-chalk/code-editor-vue3/mode/protobuf/protobuf.js +72 -0
- package/theme-chalk/code-editor-vue3/mode/pug/pug.js +591 -0
- package/theme-chalk/code-editor-vue3/mode/puppet/puppet.js +220 -0
- package/theme-chalk/code-editor-vue3/mode/python/python.js +402 -0
- package/theme-chalk/code-editor-vue3/mode/q/q.js +139 -0
- package/theme-chalk/code-editor-vue3/mode/r/r.js +190 -0
- package/theme-chalk/code-editor-vue3/mode/rpm/changes/index.html +66 -0
- package/theme-chalk/code-editor-vue3/mode/rpm/rpm.js +109 -0
- package/theme-chalk/code-editor-vue3/mode/rst/rst.js +557 -0
- package/theme-chalk/code-editor-vue3/mode/ruby/ruby.js +303 -0
- package/theme-chalk/code-editor-vue3/mode/rust/rust.js +72 -0
- package/theme-chalk/code-editor-vue3/mode/sas/sas.js +303 -0
- package/theme-chalk/code-editor-vue3/mode/sass/sass.js +459 -0
- package/theme-chalk/code-editor-vue3/mode/scheme/scheme.js +284 -0
- package/theme-chalk/code-editor-vue3/mode/shell/shell.js +168 -0
- package/theme-chalk/code-editor-vue3/mode/sieve/sieve.js +193 -0
- package/theme-chalk/code-editor-vue3/mode/slim/slim.js +575 -0
- package/theme-chalk/code-editor-vue3/mode/smalltalk/smalltalk.js +168 -0
- package/theme-chalk/code-editor-vue3/mode/smarty/smarty.js +225 -0
- package/theme-chalk/code-editor-vue3/mode/solr/solr.js +104 -0
- package/theme-chalk/code-editor-vue3/mode/soy/soy.js +665 -0
- package/theme-chalk/code-editor-vue3/mode/sparql/sparql.js +184 -0
- package/theme-chalk/code-editor-vue3/mode/spreadsheet/spreadsheet.js +112 -0
- package/theme-chalk/code-editor-vue3/mode/sql/sql.js +525 -0
- package/theme-chalk/code-editor-vue3/mode/stex/stex.js +264 -0
- package/theme-chalk/code-editor-vue3/mode/stylus/stylus.js +775 -0
- package/theme-chalk/code-editor-vue3/mode/swift/swift.js +221 -0
- package/theme-chalk/code-editor-vue3/mode/tcl/tcl.js +140 -0
- package/theme-chalk/code-editor-vue3/mode/textile/textile.js +469 -0
- package/theme-chalk/code-editor-vue3/mode/tiddlywiki/tiddlywiki.css +14 -0
- package/theme-chalk/code-editor-vue3/mode/tiddlywiki/tiddlywiki.js +308 -0
- package/theme-chalk/code-editor-vue3/mode/tiki/tiki.css +26 -0
- package/theme-chalk/code-editor-vue3/mode/tiki/tiki.js +312 -0
- package/theme-chalk/code-editor-vue3/mode/toml/toml.js +88 -0
- package/theme-chalk/code-editor-vue3/mode/tornado/tornado.js +68 -0
- package/theme-chalk/code-editor-vue3/mode/troff/troff.js +84 -0
- package/theme-chalk/code-editor-vue3/mode/ttcn/ttcn.js +283 -0
- package/theme-chalk/code-editor-vue3/mode/ttcn-cfg/ttcn-cfg.js +214 -0
- package/theme-chalk/code-editor-vue3/mode/turtle/turtle.js +162 -0
- package/theme-chalk/code-editor-vue3/mode/twig/twig.js +141 -0
- package/theme-chalk/code-editor-vue3/mode/vb/vb.js +275 -0
- package/theme-chalk/code-editor-vue3/mode/vbscript/vbscript.js +350 -0
- package/theme-chalk/code-editor-vue3/mode/velocity/velocity.js +202 -0
- package/theme-chalk/code-editor-vue3/mode/verilog/verilog.js +781 -0
- package/theme-chalk/code-editor-vue3/mode/vhdl/vhdl.js +189 -0
- package/theme-chalk/code-editor-vue3/mode/wast/wast.js +132 -0
- package/theme-chalk/code-editor-vue3/mode/webidl/webidl.js +195 -0
- package/theme-chalk/code-editor-vue3/mode/xml/xml.js +417 -0
- package/theme-chalk/code-editor-vue3/mode/xquery/xquery.js +448 -0
- package/theme-chalk/code-editor-vue3/mode/yacas/yacas.js +204 -0
- package/theme-chalk/code-editor-vue3/mode/yaml/yaml.js +120 -0
- package/theme-chalk/code-editor-vue3/mode/yaml-frontmatter/yaml-frontmatter.js +72 -0
- package/theme-chalk/code-editor-vue3/mode/z80/z80.js +116 -0
- package/types/packages/components/advanced-filtering/index.d.ts +702 -702
- package/types/packages/components/advanced-filtering/src/advanced-filtering.d.ts +16 -16
- package/types/packages/components/advanced-filtering/src/advanced-filtering.vue.d.ts +361 -361
- package/types/packages/components/advanced-filtering/src/components/advanced-filtering-params.vue.d.ts +321 -321
- package/types/packages/components/advanced-filtering/src/components/advanced-filtering-tags.vue.d.ts +20 -20
- package/types/packages/components/api-component/index.d.ts +8 -8
- package/types/packages/components/api-component/src/api-component.vue.d.ts +8 -8
- package/types/packages/components/api-component/src/components/body-component.vue.d.ts +4 -4
- package/types/packages/components/api-component/src/components/params-table-row.vue.d.ts +2 -2
- package/types/packages/components/api-component/src/components/params-table.vue.d.ts +4 -4
- package/types/packages/components/breadcrumb-card/index.d.ts +1 -1
- package/types/packages/components/breadcrumb-card/src/breadcrumb-card.vue.d.ts +1 -1
- package/types/packages/components/checkbox/index.d.ts +280 -280
- package/types/packages/components/checkbox/src/checkbox-group.vue.d.ts +280 -280
- package/types/packages/components/checkbox/src/checkbox.d.ts +112 -112
- package/types/packages/components/cropper/index.d.ts +4 -4
- package/types/packages/components/cropper/src/cropper-image.vue.d.ts +2 -2
- package/types/packages/components/cropper/src/cropper-modal.vue.d.ts +2 -2
- package/types/packages/components/drawer/src/components/second-confirmation/index.d.ts +4 -4
- package/types/packages/components/drawer/src/components/second-confirmation/src/second-confirmation.vue.d.ts +4 -4
- package/types/packages/components/dropdown-button-simple/index.d.ts +13 -13
- package/types/packages/components/dropdown-button-simple/src/dropdown-button-simple.d.ts +4 -4
- package/types/packages/components/dropdown-button-simple/src/dropdown-button-simple.vue.d.ts +13 -13
- package/types/packages/components/form/index.d.ts +301 -301
- package/types/packages/components/form/src/config/form.d.ts +120 -120
- package/types/packages/components/form/src/form.vue.d.ts +301 -301
- package/types/packages/components/icon-base/index.d.ts +4 -4
- package/types/packages/components/icon-base/src/icon-base.d.ts +2 -2
- package/types/packages/components/icon-base/src/icon-base.vue.d.ts +4 -4
- package/types/packages/components/icon-picker/index.d.ts +1 -1
- package/types/packages/components/icon-picker/src/components/modal.vue.d.ts +1 -1
- package/types/packages/components/icon-picker/src/icon-picker.vue.d.ts +1 -1
- package/types/packages/components/input-number/index.d.ts +2 -2
- package/types/packages/components/input-number/src/input-number.vue.d.ts +2 -2
- package/types/packages/components/key-value/src/components/key-value-item.vue.d.ts +484 -484
- package/types/packages/components/key-value/src/key-value.vue.d.ts +1452 -1452
- package/types/packages/components/modal/index.d.ts +4 -4
- package/types/packages/components/modal/src/modal.d.ts +1 -1
- package/types/packages/components/modal/src/modal.vue.d.ts +4 -4
- package/types/packages/components/new-drawer/index.d.ts +2 -2
- package/types/packages/components/new-drawer/src/drawer.vue.d.ts +2 -2
- package/types/packages/components/new-modal/index.d.ts +9 -9
- package/types/packages/components/new-modal/src/modal.d.ts +1 -1
- package/types/packages/components/new-modal/src/modal.vue.d.ts +9 -9
- package/types/packages/components/number-range/index.d.ts +2 -2
- package/types/packages/components/number-range/src/number-range.vue.d.ts +2 -2
- package/types/packages/components/operate-icon/index.d.ts +6 -6
- package/types/packages/components/operate-icon/src/operate-icon.vue.d.ts +6 -6
- package/types/packages/components/select-group/index.d.ts +2 -2
- package/types/packages/components/select-group/src/select-group.vue.d.ts +2 -2
- package/types/packages/components/table/index.d.ts +6 -6
- package/types/packages/components/table/src/components/main-table.vue.d.ts +2 -2
- package/types/packages/components/table/src/config/table.d.ts +2 -2
- package/types/packages/components/table/src/table.vue.d.ts +6 -6
- package/types/packages/components/tooltip/index.d.ts +4 -4
- package/types/packages/components/tooltip/src/tooltip.d.ts +1 -1
- package/types/packages/components/tooltip/src/tooltip.vue.d.ts +4 -4
- package/types/packages/components/tree-search/index.d.ts +3 -3
- package/types/packages/components/tree-search/src/config/tree-search.d.ts +1 -1
- package/types/packages/components/tree-search/src/tree-search.vue.d.ts +3 -3
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
2
|
+
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
|
|
3
|
+
|
|
4
|
+
(function(mod) {
|
|
5
|
+
if (typeof exports == "object" && typeof module == "object") // CommonJS
|
|
6
|
+
mod(require("../../lib/codemirror"));
|
|
7
|
+
else if (typeof define == "function" && define.amd) // AMD
|
|
8
|
+
define(["../../lib/codemirror"], mod);
|
|
9
|
+
else // Plain browser env
|
|
10
|
+
mod(CodeMirror);
|
|
11
|
+
})(function(CodeMirror) {
|
|
12
|
+
"use strict";
|
|
13
|
+
|
|
14
|
+
CodeMirror.defineMode("gas", function(_config, parserConfig) {
|
|
15
|
+
'use strict';
|
|
16
|
+
|
|
17
|
+
// If an architecture is specified, its initialization function may
|
|
18
|
+
// populate this array with custom parsing functions which will be
|
|
19
|
+
// tried in the event that the standard functions do not find a match.
|
|
20
|
+
var custom = [];
|
|
21
|
+
|
|
22
|
+
// The symbol used to start a line comment changes based on the target
|
|
23
|
+
// architecture.
|
|
24
|
+
// If no architecture is pased in "parserConfig" then only multiline
|
|
25
|
+
// comments will have syntax support.
|
|
26
|
+
var lineCommentStartSymbol = "";
|
|
27
|
+
|
|
28
|
+
// These directives are architecture independent.
|
|
29
|
+
// Machine specific directives should go in their respective
|
|
30
|
+
// architecture initialization function.
|
|
31
|
+
// Reference:
|
|
32
|
+
// http://sourceware.org/binutils/docs/as/Pseudo-Ops.html#Pseudo-Ops
|
|
33
|
+
var directives = {
|
|
34
|
+
".abort" : "builtin",
|
|
35
|
+
".align" : "builtin",
|
|
36
|
+
".altmacro" : "builtin",
|
|
37
|
+
".ascii" : "builtin",
|
|
38
|
+
".asciz" : "builtin",
|
|
39
|
+
".balign" : "builtin",
|
|
40
|
+
".balignw" : "builtin",
|
|
41
|
+
".balignl" : "builtin",
|
|
42
|
+
".bundle_align_mode" : "builtin",
|
|
43
|
+
".bundle_lock" : "builtin",
|
|
44
|
+
".bundle_unlock" : "builtin",
|
|
45
|
+
".byte" : "builtin",
|
|
46
|
+
".cfi_startproc" : "builtin",
|
|
47
|
+
".comm" : "builtin",
|
|
48
|
+
".data" : "builtin",
|
|
49
|
+
".def" : "builtin",
|
|
50
|
+
".desc" : "builtin",
|
|
51
|
+
".dim" : "builtin",
|
|
52
|
+
".double" : "builtin",
|
|
53
|
+
".eject" : "builtin",
|
|
54
|
+
".else" : "builtin",
|
|
55
|
+
".elseif" : "builtin",
|
|
56
|
+
".end" : "builtin",
|
|
57
|
+
".endef" : "builtin",
|
|
58
|
+
".endfunc" : "builtin",
|
|
59
|
+
".endif" : "builtin",
|
|
60
|
+
".equ" : "builtin",
|
|
61
|
+
".equiv" : "builtin",
|
|
62
|
+
".eqv" : "builtin",
|
|
63
|
+
".err" : "builtin",
|
|
64
|
+
".error" : "builtin",
|
|
65
|
+
".exitm" : "builtin",
|
|
66
|
+
".extern" : "builtin",
|
|
67
|
+
".fail" : "builtin",
|
|
68
|
+
".file" : "builtin",
|
|
69
|
+
".fill" : "builtin",
|
|
70
|
+
".float" : "builtin",
|
|
71
|
+
".func" : "builtin",
|
|
72
|
+
".global" : "builtin",
|
|
73
|
+
".gnu_attribute" : "builtin",
|
|
74
|
+
".hidden" : "builtin",
|
|
75
|
+
".hword" : "builtin",
|
|
76
|
+
".ident" : "builtin",
|
|
77
|
+
".if" : "builtin",
|
|
78
|
+
".incbin" : "builtin",
|
|
79
|
+
".include" : "builtin",
|
|
80
|
+
".int" : "builtin",
|
|
81
|
+
".internal" : "builtin",
|
|
82
|
+
".irp" : "builtin",
|
|
83
|
+
".irpc" : "builtin",
|
|
84
|
+
".lcomm" : "builtin",
|
|
85
|
+
".lflags" : "builtin",
|
|
86
|
+
".line" : "builtin",
|
|
87
|
+
".linkonce" : "builtin",
|
|
88
|
+
".list" : "builtin",
|
|
89
|
+
".ln" : "builtin",
|
|
90
|
+
".loc" : "builtin",
|
|
91
|
+
".loc_mark_labels" : "builtin",
|
|
92
|
+
".local" : "builtin",
|
|
93
|
+
".long" : "builtin",
|
|
94
|
+
".macro" : "builtin",
|
|
95
|
+
".mri" : "builtin",
|
|
96
|
+
".noaltmacro" : "builtin",
|
|
97
|
+
".nolist" : "builtin",
|
|
98
|
+
".octa" : "builtin",
|
|
99
|
+
".offset" : "builtin",
|
|
100
|
+
".org" : "builtin",
|
|
101
|
+
".p2align" : "builtin",
|
|
102
|
+
".popsection" : "builtin",
|
|
103
|
+
".previous" : "builtin",
|
|
104
|
+
".print" : "builtin",
|
|
105
|
+
".protected" : "builtin",
|
|
106
|
+
".psize" : "builtin",
|
|
107
|
+
".purgem" : "builtin",
|
|
108
|
+
".pushsection" : "builtin",
|
|
109
|
+
".quad" : "builtin",
|
|
110
|
+
".reloc" : "builtin",
|
|
111
|
+
".rept" : "builtin",
|
|
112
|
+
".sbttl" : "builtin",
|
|
113
|
+
".scl" : "builtin",
|
|
114
|
+
".section" : "builtin",
|
|
115
|
+
".set" : "builtin",
|
|
116
|
+
".short" : "builtin",
|
|
117
|
+
".single" : "builtin",
|
|
118
|
+
".size" : "builtin",
|
|
119
|
+
".skip" : "builtin",
|
|
120
|
+
".sleb128" : "builtin",
|
|
121
|
+
".space" : "builtin",
|
|
122
|
+
".stab" : "builtin",
|
|
123
|
+
".string" : "builtin",
|
|
124
|
+
".struct" : "builtin",
|
|
125
|
+
".subsection" : "builtin",
|
|
126
|
+
".symver" : "builtin",
|
|
127
|
+
".tag" : "builtin",
|
|
128
|
+
".text" : "builtin",
|
|
129
|
+
".title" : "builtin",
|
|
130
|
+
".type" : "builtin",
|
|
131
|
+
".uleb128" : "builtin",
|
|
132
|
+
".val" : "builtin",
|
|
133
|
+
".version" : "builtin",
|
|
134
|
+
".vtable_entry" : "builtin",
|
|
135
|
+
".vtable_inherit" : "builtin",
|
|
136
|
+
".warning" : "builtin",
|
|
137
|
+
".weak" : "builtin",
|
|
138
|
+
".weakref" : "builtin",
|
|
139
|
+
".word" : "builtin"
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
var registers = {};
|
|
143
|
+
|
|
144
|
+
function x86(_parserConfig) {
|
|
145
|
+
lineCommentStartSymbol = "#";
|
|
146
|
+
|
|
147
|
+
registers.al = "variable";
|
|
148
|
+
registers.ah = "variable";
|
|
149
|
+
registers.ax = "variable";
|
|
150
|
+
registers.eax = "variable-2";
|
|
151
|
+
registers.rax = "variable-3";
|
|
152
|
+
|
|
153
|
+
registers.bl = "variable";
|
|
154
|
+
registers.bh = "variable";
|
|
155
|
+
registers.bx = "variable";
|
|
156
|
+
registers.ebx = "variable-2";
|
|
157
|
+
registers.rbx = "variable-3";
|
|
158
|
+
|
|
159
|
+
registers.cl = "variable";
|
|
160
|
+
registers.ch = "variable";
|
|
161
|
+
registers.cx = "variable";
|
|
162
|
+
registers.ecx = "variable-2";
|
|
163
|
+
registers.rcx = "variable-3";
|
|
164
|
+
|
|
165
|
+
registers.dl = "variable";
|
|
166
|
+
registers.dh = "variable";
|
|
167
|
+
registers.dx = "variable";
|
|
168
|
+
registers.edx = "variable-2";
|
|
169
|
+
registers.rdx = "variable-3";
|
|
170
|
+
|
|
171
|
+
registers.si = "variable";
|
|
172
|
+
registers.esi = "variable-2";
|
|
173
|
+
registers.rsi = "variable-3";
|
|
174
|
+
|
|
175
|
+
registers.di = "variable";
|
|
176
|
+
registers.edi = "variable-2";
|
|
177
|
+
registers.rdi = "variable-3";
|
|
178
|
+
|
|
179
|
+
registers.sp = "variable";
|
|
180
|
+
registers.esp = "variable-2";
|
|
181
|
+
registers.rsp = "variable-3";
|
|
182
|
+
|
|
183
|
+
registers.bp = "variable";
|
|
184
|
+
registers.ebp = "variable-2";
|
|
185
|
+
registers.rbp = "variable-3";
|
|
186
|
+
|
|
187
|
+
registers.ip = "variable";
|
|
188
|
+
registers.eip = "variable-2";
|
|
189
|
+
registers.rip = "variable-3";
|
|
190
|
+
|
|
191
|
+
registers.cs = "keyword";
|
|
192
|
+
registers.ds = "keyword";
|
|
193
|
+
registers.ss = "keyword";
|
|
194
|
+
registers.es = "keyword";
|
|
195
|
+
registers.fs = "keyword";
|
|
196
|
+
registers.gs = "keyword";
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
function armv6(_parserConfig) {
|
|
200
|
+
// Reference:
|
|
201
|
+
// http://infocenter.arm.com/help/topic/com.arm.doc.qrc0001l/QRC0001_UAL.pdf
|
|
202
|
+
// http://infocenter.arm.com/help/topic/com.arm.doc.ddi0301h/DDI0301H_arm1176jzfs_r0p7_trm.pdf
|
|
203
|
+
lineCommentStartSymbol = "@";
|
|
204
|
+
directives.syntax = "builtin";
|
|
205
|
+
|
|
206
|
+
registers.r0 = "variable";
|
|
207
|
+
registers.r1 = "variable";
|
|
208
|
+
registers.r2 = "variable";
|
|
209
|
+
registers.r3 = "variable";
|
|
210
|
+
registers.r4 = "variable";
|
|
211
|
+
registers.r5 = "variable";
|
|
212
|
+
registers.r6 = "variable";
|
|
213
|
+
registers.r7 = "variable";
|
|
214
|
+
registers.r8 = "variable";
|
|
215
|
+
registers.r9 = "variable";
|
|
216
|
+
registers.r10 = "variable";
|
|
217
|
+
registers.r11 = "variable";
|
|
218
|
+
registers.r12 = "variable";
|
|
219
|
+
|
|
220
|
+
registers.sp = "variable-2";
|
|
221
|
+
registers.lr = "variable-2";
|
|
222
|
+
registers.pc = "variable-2";
|
|
223
|
+
registers.r13 = registers.sp;
|
|
224
|
+
registers.r14 = registers.lr;
|
|
225
|
+
registers.r15 = registers.pc;
|
|
226
|
+
|
|
227
|
+
custom.push(function(ch, stream) {
|
|
228
|
+
if (ch === '#') {
|
|
229
|
+
stream.eatWhile(/\w/);
|
|
230
|
+
return "number";
|
|
231
|
+
}
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
var arch = (parserConfig.architecture || "x86").toLowerCase();
|
|
236
|
+
if (arch === "x86") {
|
|
237
|
+
x86(parserConfig);
|
|
238
|
+
} else if (arch === "arm" || arch === "armv6") {
|
|
239
|
+
armv6(parserConfig);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
function nextUntilUnescaped(stream, end) {
|
|
243
|
+
var escaped = false, next;
|
|
244
|
+
while ((next = stream.next()) != null) {
|
|
245
|
+
if (next === end && !escaped) {
|
|
246
|
+
return false;
|
|
247
|
+
}
|
|
248
|
+
escaped = !escaped && next === "\\";
|
|
249
|
+
}
|
|
250
|
+
return escaped;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
function clikeComment(stream, state) {
|
|
254
|
+
var maybeEnd = false, ch;
|
|
255
|
+
while ((ch = stream.next()) != null) {
|
|
256
|
+
if (ch === "/" && maybeEnd) {
|
|
257
|
+
state.tokenize = null;
|
|
258
|
+
break;
|
|
259
|
+
}
|
|
260
|
+
maybeEnd = (ch === "*");
|
|
261
|
+
}
|
|
262
|
+
return "comment";
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
return {
|
|
266
|
+
startState: function() {
|
|
267
|
+
return {
|
|
268
|
+
tokenize: null
|
|
269
|
+
};
|
|
270
|
+
},
|
|
271
|
+
|
|
272
|
+
token: function(stream, state) {
|
|
273
|
+
if (state.tokenize) {
|
|
274
|
+
return state.tokenize(stream, state);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
if (stream.eatSpace()) {
|
|
278
|
+
return null;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
var style, cur, ch = stream.next();
|
|
282
|
+
|
|
283
|
+
if (ch === "/") {
|
|
284
|
+
if (stream.eat("*")) {
|
|
285
|
+
state.tokenize = clikeComment;
|
|
286
|
+
return clikeComment(stream, state);
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
if (ch === lineCommentStartSymbol) {
|
|
291
|
+
stream.skipToEnd();
|
|
292
|
+
return "comment";
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
if (ch === '"') {
|
|
296
|
+
nextUntilUnescaped(stream, '"');
|
|
297
|
+
return "string";
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
if (ch === '.') {
|
|
301
|
+
stream.eatWhile(/\w/);
|
|
302
|
+
cur = stream.current().toLowerCase();
|
|
303
|
+
style = directives[cur];
|
|
304
|
+
return style || null;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
if (ch === '=') {
|
|
308
|
+
stream.eatWhile(/\w/);
|
|
309
|
+
return "tag";
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
if (ch === '{') {
|
|
313
|
+
return "bracket";
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
if (ch === '}') {
|
|
317
|
+
return "bracket";
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
if (/\d/.test(ch)) {
|
|
321
|
+
if (ch === "0" && stream.eat("x")) {
|
|
322
|
+
stream.eatWhile(/[0-9a-fA-F]/);
|
|
323
|
+
return "number";
|
|
324
|
+
}
|
|
325
|
+
stream.eatWhile(/\d/);
|
|
326
|
+
return "number";
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
if (/\w/.test(ch)) {
|
|
330
|
+
stream.eatWhile(/\w/);
|
|
331
|
+
if (stream.eat(":")) {
|
|
332
|
+
return 'tag';
|
|
333
|
+
}
|
|
334
|
+
cur = stream.current().toLowerCase();
|
|
335
|
+
style = registers[cur];
|
|
336
|
+
return style || null;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
for (var i = 0; i < custom.length; i++) {
|
|
340
|
+
style = custom[i](ch, stream, state);
|
|
341
|
+
if (style) {
|
|
342
|
+
return style;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
|
|
347
|
+
lineComment: lineCommentStartSymbol,
|
|
348
|
+
blockCommentStart: "/*",
|
|
349
|
+
blockCommentEnd: "*/"
|
|
350
|
+
};
|
|
351
|
+
});
|
|
352
|
+
|
|
353
|
+
});
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
2
|
+
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
|
|
3
|
+
|
|
4
|
+
(function(mod) {
|
|
5
|
+
if (typeof exports == "object" && typeof module == "object") // CommonJS
|
|
6
|
+
mod(require("../../lib/codemirror"), require("../markdown/markdown"), require("../../addon/mode/overlay"));
|
|
7
|
+
else if (typeof define == "function" && define.amd) // AMD
|
|
8
|
+
define(["../../lib/codemirror", "../markdown/markdown", "../../addon/mode/overlay"], mod);
|
|
9
|
+
else // Plain browser env
|
|
10
|
+
mod(CodeMirror);
|
|
11
|
+
})(function(CodeMirror) {
|
|
12
|
+
"use strict";
|
|
13
|
+
|
|
14
|
+
var urlRE = /^((?:(?:aaas?|about|acap|adiumxtra|af[ps]|aim|apt|attachment|aw|beshare|bitcoin|bolo|callto|cap|chrome(?:-extension)?|cid|coap|com-eventbrite-attendee|content|crid|cvs|data|dav|dict|dlna-(?:playcontainer|playsingle)|dns|doi|dtn|dvb|ed2k|facetime|feed|file|finger|fish|ftp|geo|gg|git|gizmoproject|go|gopher|gtalk|h323|hcp|https?|iax|icap|icon|im|imap|info|ipn|ipp|irc[6s]?|iris(?:\.beep|\.lwz|\.xpc|\.xpcs)?|itms|jar|javascript|jms|keyparc|lastfm|ldaps?|magnet|mailto|maps|market|message|mid|mms|ms-help|msnim|msrps?|mtqp|mumble|mupdate|mvn|news|nfs|nih?|nntp|notes|oid|opaquelocktoken|palm|paparazzi|platform|pop|pres|proxy|psyc|query|res(?:ource)?|rmi|rsync|rtmp|rtsp|secondlife|service|session|sftp|sgn|shttp|sieve|sips?|skype|sm[bs]|snmp|soap\.beeps?|soldat|spotify|ssh|steam|svn|tag|teamspeak|tel(?:net)?|tftp|things|thismessage|tip|tn3270|tv|udp|unreal|urn|ut2004|vemmi|ventrilo|view-source|webcal|wss?|wtai|wyciwyg|xcon(?:-userid)?|xfire|xmlrpc\.beeps?|xmpp|xri|ymsgr|z39\.50[rs]?):(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i
|
|
15
|
+
|
|
16
|
+
CodeMirror.defineMode("gfm", function(config, modeConfig) {
|
|
17
|
+
var codeDepth = 0;
|
|
18
|
+
function blankLine(state) {
|
|
19
|
+
state.code = false;
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
var gfmOverlay = {
|
|
23
|
+
startState: function() {
|
|
24
|
+
return {
|
|
25
|
+
code: false,
|
|
26
|
+
codeBlock: false,
|
|
27
|
+
ateSpace: false
|
|
28
|
+
};
|
|
29
|
+
},
|
|
30
|
+
copyState: function(s) {
|
|
31
|
+
return {
|
|
32
|
+
code: s.code,
|
|
33
|
+
codeBlock: s.codeBlock,
|
|
34
|
+
ateSpace: s.ateSpace
|
|
35
|
+
};
|
|
36
|
+
},
|
|
37
|
+
token: function(stream, state) {
|
|
38
|
+
state.combineTokens = null;
|
|
39
|
+
|
|
40
|
+
// Hack to prevent formatting override inside code blocks (block and inline)
|
|
41
|
+
if (state.codeBlock) {
|
|
42
|
+
if (stream.match(/^```+/)) {
|
|
43
|
+
state.codeBlock = false;
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
stream.skipToEnd();
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
if (stream.sol()) {
|
|
50
|
+
state.code = false;
|
|
51
|
+
}
|
|
52
|
+
if (stream.sol() && stream.match(/^```+/)) {
|
|
53
|
+
stream.skipToEnd();
|
|
54
|
+
state.codeBlock = true;
|
|
55
|
+
return null;
|
|
56
|
+
}
|
|
57
|
+
// If this block is changed, it may need to be updated in Markdown mode
|
|
58
|
+
if (stream.peek() === '`') {
|
|
59
|
+
stream.next();
|
|
60
|
+
var before = stream.pos;
|
|
61
|
+
stream.eatWhile('`');
|
|
62
|
+
var difference = 1 + stream.pos - before;
|
|
63
|
+
if (!state.code) {
|
|
64
|
+
codeDepth = difference;
|
|
65
|
+
state.code = true;
|
|
66
|
+
} else {
|
|
67
|
+
if (difference === codeDepth) { // Must be exact
|
|
68
|
+
state.code = false;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return null;
|
|
72
|
+
} else if (state.code) {
|
|
73
|
+
stream.next();
|
|
74
|
+
return null;
|
|
75
|
+
}
|
|
76
|
+
// Check if space. If so, links can be formatted later on
|
|
77
|
+
if (stream.eatSpace()) {
|
|
78
|
+
state.ateSpace = true;
|
|
79
|
+
return null;
|
|
80
|
+
}
|
|
81
|
+
if (stream.sol() || state.ateSpace) {
|
|
82
|
+
state.ateSpace = false;
|
|
83
|
+
if (modeConfig.gitHubSpice !== false) {
|
|
84
|
+
if(stream.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?=.{0,6}\d)(?:[a-f0-9]{7,40}\b)/)) {
|
|
85
|
+
// User/Project@SHA
|
|
86
|
+
// User@SHA
|
|
87
|
+
// SHA
|
|
88
|
+
state.combineTokens = true;
|
|
89
|
+
return "link";
|
|
90
|
+
} else if (stream.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/)) {
|
|
91
|
+
// User/Project#Num
|
|
92
|
+
// User#Num
|
|
93
|
+
// #Num
|
|
94
|
+
state.combineTokens = true;
|
|
95
|
+
return "link";
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
if (stream.match(urlRE) &&
|
|
100
|
+
stream.string.slice(stream.start - 2, stream.start) != "](" &&
|
|
101
|
+
(stream.start == 0 || /\W/.test(stream.string.charAt(stream.start - 1)))) {
|
|
102
|
+
// URLs
|
|
103
|
+
// Taken from http://daringfireball.net/2010/07/improved_regex_for_matching_urls
|
|
104
|
+
// And then (issue #1160) simplified to make it not crash the Chrome Regexp engine
|
|
105
|
+
// And then limited url schemes to the CommonMark list, so foo:bar isn't matched as a URL
|
|
106
|
+
state.combineTokens = true;
|
|
107
|
+
return "link";
|
|
108
|
+
}
|
|
109
|
+
stream.next();
|
|
110
|
+
return null;
|
|
111
|
+
},
|
|
112
|
+
blankLine: blankLine
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
var markdownConfig = {
|
|
116
|
+
taskLists: true,
|
|
117
|
+
strikethrough: true,
|
|
118
|
+
emoji: true
|
|
119
|
+
};
|
|
120
|
+
for (var attr in modeConfig) {
|
|
121
|
+
markdownConfig[attr] = modeConfig[attr];
|
|
122
|
+
}
|
|
123
|
+
markdownConfig.name = "markdown";
|
|
124
|
+
return CodeMirror.overlayMode(CodeMirror.getMode(config, markdownConfig), gfmOverlay);
|
|
125
|
+
|
|
126
|
+
}, "markdown");
|
|
127
|
+
|
|
128
|
+
CodeMirror.defineMIME("text/x-gfm", "gfm");
|
|
129
|
+
});
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
2
|
+
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
|
|
3
|
+
|
|
4
|
+
/*
|
|
5
|
+
Gherkin mode - http://www.cukes.info/
|
|
6
|
+
Report bugs/issues here: https://github.com/codemirror/CodeMirror/issues
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
// Following Objs from Brackets implementation: https://github.com/tregusti/brackets-gherkin/blob/master/main.js
|
|
10
|
+
//var Quotes = {
|
|
11
|
+
// SINGLE: 1,
|
|
12
|
+
// DOUBLE: 2
|
|
13
|
+
//};
|
|
14
|
+
|
|
15
|
+
//var regex = {
|
|
16
|
+
// keywords: /(Feature| {2}(Scenario|In order to|As|I)| {4}(Given|When|Then|And))/
|
|
17
|
+
//};
|
|
18
|
+
|
|
19
|
+
(function(mod) {
|
|
20
|
+
if (typeof exports == "object" && typeof module == "object") // CommonJS
|
|
21
|
+
mod(require("../../lib/codemirror"));
|
|
22
|
+
else if (typeof define == "function" && define.amd) // AMD
|
|
23
|
+
define(["../../lib/codemirror"], mod);
|
|
24
|
+
else // Plain browser env
|
|
25
|
+
mod(CodeMirror);
|
|
26
|
+
})(function(CodeMirror) {
|
|
27
|
+
"use strict";
|
|
28
|
+
|
|
29
|
+
CodeMirror.defineMode("gherkin", function () {
|
|
30
|
+
return {
|
|
31
|
+
startState: function () {
|
|
32
|
+
return {
|
|
33
|
+
lineNumber: 0,
|
|
34
|
+
tableHeaderLine: false,
|
|
35
|
+
allowFeature: true,
|
|
36
|
+
allowBackground: false,
|
|
37
|
+
allowScenario: false,
|
|
38
|
+
allowSteps: false,
|
|
39
|
+
allowPlaceholders: false,
|
|
40
|
+
allowMultilineArgument: false,
|
|
41
|
+
inMultilineString: false,
|
|
42
|
+
inMultilineTable: false,
|
|
43
|
+
inKeywordLine: false
|
|
44
|
+
};
|
|
45
|
+
},
|
|
46
|
+
token: function (stream, state) {
|
|
47
|
+
if (stream.sol()) {
|
|
48
|
+
state.lineNumber++;
|
|
49
|
+
state.inKeywordLine = false;
|
|
50
|
+
if (state.inMultilineTable) {
|
|
51
|
+
state.tableHeaderLine = false;
|
|
52
|
+
if (!stream.match(/\s*\|/, false)) {
|
|
53
|
+
state.allowMultilineArgument = false;
|
|
54
|
+
state.inMultilineTable = false;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
stream.eatSpace();
|
|
60
|
+
|
|
61
|
+
if (state.allowMultilineArgument) {
|
|
62
|
+
|
|
63
|
+
// STRING
|
|
64
|
+
if (state.inMultilineString) {
|
|
65
|
+
if (stream.match('"""')) {
|
|
66
|
+
state.inMultilineString = false;
|
|
67
|
+
state.allowMultilineArgument = false;
|
|
68
|
+
} else {
|
|
69
|
+
stream.match(/.*/);
|
|
70
|
+
}
|
|
71
|
+
return "string";
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// TABLE
|
|
75
|
+
if (state.inMultilineTable) {
|
|
76
|
+
if (stream.match(/\|\s*/)) {
|
|
77
|
+
return "bracket";
|
|
78
|
+
} else {
|
|
79
|
+
stream.match(/[^\|]*/);
|
|
80
|
+
return state.tableHeaderLine ? "header" : "string";
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// DETECT START
|
|
85
|
+
if (stream.match('"""')) {
|
|
86
|
+
// String
|
|
87
|
+
state.inMultilineString = true;
|
|
88
|
+
return "string";
|
|
89
|
+
} else if (stream.match("|")) {
|
|
90
|
+
// Table
|
|
91
|
+
state.inMultilineTable = true;
|
|
92
|
+
state.tableHeaderLine = true;
|
|
93
|
+
return "bracket";
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
// LINE COMMENT
|
|
99
|
+
if (stream.match(/#.*/)) {
|
|
100
|
+
return "comment";
|
|
101
|
+
|
|
102
|
+
// TAG
|
|
103
|
+
} else if (!state.inKeywordLine && stream.match(/@\S+/)) {
|
|
104
|
+
return "tag";
|
|
105
|
+
|
|
106
|
+
// FEATURE
|
|
107
|
+
} else if (!state.inKeywordLine && state.allowFeature && stream.match(/(機能|功能|フィーチャ|기능|โครงหลัก|ความสามารถ|ความต้องการทางธุรกิจ|ಹೆಚ್ಚಳ|గుణము|ਮੁਹਾਂਦਰਾ|ਨਕਸ਼ ਨੁਹਾਰ|ਖਾਸੀਅਤ|रूप लेख|وِیژگی|خاصية|תכונה|Функціонал|Функция|Функционалност|Функционал|Үзенчәлеклелек|Свойство|Особина|Мөмкинлек|Могућност|Λειτουργία|Δυνατότητα|Właściwość|Vlastnosť|Trajto|Tính năng|Savybė|Pretty much|Požiadavka|Požadavek|Potrzeba biznesowa|Özellik|Osobina|Ominaisuus|Omadus|OH HAI|Mogućnost|Mogucnost|Jellemző|Hwæt|Hwaet|Funzionalità|Funktionalitéit|Funktionalität|Funkcja|Funkcionalnost|Funkcionalitāte|Funkcia|Fungsi|Functionaliteit|Funcționalitate|Funcţionalitate|Functionalitate|Funcionalitat|Funcionalidade|Fonctionnalité|Fitur|Fīča|Feature|Eiginleiki|Egenskap|Egenskab|Característica|Caracteristica|Business Need|Aspekt|Arwedd|Ahoy matey!|Ability):/)) {
|
|
108
|
+
state.allowScenario = true;
|
|
109
|
+
state.allowBackground = true;
|
|
110
|
+
state.allowPlaceholders = false;
|
|
111
|
+
state.allowSteps = false;
|
|
112
|
+
state.allowMultilineArgument = false;
|
|
113
|
+
state.inKeywordLine = true;
|
|
114
|
+
return "keyword";
|
|
115
|
+
|
|
116
|
+
// BACKGROUND
|
|
117
|
+
} else if (!state.inKeywordLine && state.allowBackground && stream.match(/(背景|배경|แนวคิด|ಹಿನ್ನೆಲೆ|నేపథ్యం|ਪਿਛੋਕੜ|पृष्ठभूमि|زمینه|الخلفية|רקע|Тарих|Предыстория|Предистория|Позадина|Передумова|Основа|Контекст|Кереш|Υπόβαθρο|Założenia|Yo\-ho\-ho|Tausta|Taust|Situācija|Rerefons|Pozadina|Pozadie|Pozadí|Osnova|Latar Belakang|Kontext|Konteksts|Kontekstas|Kontekst|Háttér|Hannergrond|Grundlage|Geçmiş|Fundo|Fono|First off|Dis is what went down|Dasar|Contexto|Contexte|Context|Contesto|Cenário de Fundo|Cenario de Fundo|Cefndir|Bối cảnh|Bakgrunnur|Bakgrunn|Bakgrund|Baggrund|Background|B4|Antecedents|Antecedentes|Ær|Aer|Achtergrond):/)) {
|
|
118
|
+
state.allowPlaceholders = false;
|
|
119
|
+
state.allowSteps = true;
|
|
120
|
+
state.allowBackground = false;
|
|
121
|
+
state.allowMultilineArgument = false;
|
|
122
|
+
state.inKeywordLine = true;
|
|
123
|
+
return "keyword";
|
|
124
|
+
|
|
125
|
+
// SCENARIO OUTLINE
|
|
126
|
+
} else if (!state.inKeywordLine && state.allowScenario && stream.match(/(場景大綱|场景大纲|劇本大綱|剧本大纲|テンプレ|シナリオテンプレート|シナリオテンプレ|シナリオアウトライン|시나리오 개요|สรุปเหตุการณ์|โครงสร้างของเหตุการณ์|ವಿವರಣೆ|కథనం|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਟਕਥਾ ਢਾਂਚਾ|परिदृश्य रूपरेखा|سيناريو مخطط|الگوی سناریو|תבנית תרחיש|Сценарийның төзелеше|Сценарий структураси|Структура сценарію|Структура сценария|Структура сценарија|Скица|Рамка на сценарий|Концепт|Περιγραφή Σεναρίου|Wharrimean is|Template Situai|Template Senario|Template Keadaan|Tapausaihio|Szenariogrundriss|Szablon scenariusza|Swa hwær swa|Swa hwaer swa|Struktura scenarija|Structură scenariu|Structura scenariu|Skica|Skenario konsep|Shiver me timbers|Senaryo taslağı|Schema dello scenario|Scenariomall|Scenariomal|Scenario Template|Scenario Outline|Scenario Amlinellol|Scenārijs pēc parauga|Scenarijaus šablonas|Reckon it's like|Raamstsenaarium|Plang vum Szenario|Plan du Scénario|Plan du scénario|Osnova scénáře|Osnova Scenára|Náčrt Scenáru|Náčrt Scénáře|Náčrt Scenára|MISHUN SRSLY|Menggariskan Senario|Lýsing Dæma|Lýsing Atburðarásar|Konturo de la scenaro|Koncept|Khung tình huống|Khung kịch bản|Forgatókönyv vázlat|Esquema do Cenário|Esquema do Cenario|Esquema del escenario|Esquema de l'escenari|Esbozo do escenario|Delineação do Cenário|Delineacao do Cenario|All y'all|Abstrakt Scenario|Abstract Scenario):/)) {
|
|
127
|
+
state.allowPlaceholders = true;
|
|
128
|
+
state.allowSteps = true;
|
|
129
|
+
state.allowMultilineArgument = false;
|
|
130
|
+
state.inKeywordLine = true;
|
|
131
|
+
return "keyword";
|
|
132
|
+
|
|
133
|
+
// EXAMPLES
|
|
134
|
+
} else if (state.allowScenario && stream.match(/(例子|例|サンプル|예|ชุดของเหตุการณ์|ชุดของตัวอย่าง|ಉದಾಹರಣೆಗಳು|ఉదాహరణలు|ਉਦਾਹਰਨਾਂ|उदाहरण|نمونه ها|امثلة|דוגמאות|Үрнәкләр|Сценарији|Примеры|Примери|Приклади|Мисоллар|Мисаллар|Σενάρια|Παραδείγματα|You'll wanna|Voorbeelden|Variantai|Tapaukset|Se þe|Se the|Se ðe|Scenarios|Scenariji|Scenarijai|Przykłady|Primjeri|Primeri|Příklady|Príklady|Piemēri|Példák|Pavyzdžiai|Paraugs|Örnekler|Juhtumid|Exemplos|Exemples|Exemple|Exempel|EXAMPLZ|Examples|Esempi|Enghreifftiau|Ekzemploj|Eksempler|Ejemplos|Dữ liệu|Dead men tell no tales|Dæmi|Contoh|Cenários|Cenarios|Beispiller|Beispiele|Atburðarásir):/)) {
|
|
135
|
+
state.allowPlaceholders = false;
|
|
136
|
+
state.allowSteps = true;
|
|
137
|
+
state.allowBackground = false;
|
|
138
|
+
state.allowMultilineArgument = true;
|
|
139
|
+
return "keyword";
|
|
140
|
+
|
|
141
|
+
// SCENARIO
|
|
142
|
+
} else if (!state.inKeywordLine && state.allowScenario && stream.match(/(場景|场景|劇本|剧本|シナリオ|시나리오|เหตุการณ์|ಕಥಾಸಾರಾಂಶ|సన్నివేశం|ਪਟਕਥਾ|परिदृश्य|سيناريو|سناریو|תרחיש|Сценарій|Сценарио|Сценарий|Пример|Σενάριο|Tình huống|The thing of it is|Tapaus|Szenario|Swa|Stsenaarium|Skenario|Situai|Senaryo|Senario|Scenaro|Scenariusz|Scenariu|Scénario|Scenario|Scenarijus|Scenārijs|Scenarij|Scenarie|Scénář|Scenár|Primer|MISHUN|Kịch bản|Keadaan|Heave to|Forgatókönyv|Escenario|Escenari|Cenário|Cenario|Awww, look mate|Atburðarás):/)) {
|
|
143
|
+
state.allowPlaceholders = false;
|
|
144
|
+
state.allowSteps = true;
|
|
145
|
+
state.allowBackground = false;
|
|
146
|
+
state.allowMultilineArgument = false;
|
|
147
|
+
state.inKeywordLine = true;
|
|
148
|
+
return "keyword";
|
|
149
|
+
|
|
150
|
+
// STEPS
|
|
151
|
+
} else if (!state.inKeywordLine && state.allowSteps && stream.match(/(那麼|那么|而且|當|当|并且|同時|同时|前提|假设|假設|假定|假如|但是|但し|並且|もし|ならば|ただし|しかし|かつ|하지만|조건|먼저|만일|만약|단|그리고|그러면|และ |เมื่อ |แต่ |ดังนั้น |กำหนดให้ |ಸ್ಥಿತಿಯನ್ನು |ಮತ್ತು |ನೀಡಿದ |ನಂತರ |ಆದರೆ |మరియు |చెప్పబడినది |కాని |ఈ పరిస్థితిలో |అప్పుడు |ਪਰ |ਤਦ |ਜੇਕਰ |ਜਿਵੇਂ ਕਿ |ਜਦੋਂ |ਅਤੇ |यदि |परन्तु |पर |तब |तदा |तथा |जब |चूंकि |किन्तु |कदा |और |अगर |و |هنگامی |متى |لكن |عندما |ثم |بفرض |با فرض |اما |اذاً |آنگاه |כאשר |וגם |בהינתן |אזי |אז |אבל |Якщо |Һәм |Унда |Тоді |Тогда |То |Также |Та |Пусть |Припустимо, що |Припустимо |Онда |Но |Нехай |Нәтиҗәдә |Лекин |Ләкин |Коли |Когда |Когато |Када |Кад |К тому же |І |И |Задато |Задати |Задате |Если |Допустим |Дано |Дадено |Вә |Ва |Бирок |Әмма |Әйтик |Әгәр |Аммо |Али |Але |Агар |А також |А |Τότε |Όταν |Και |Δεδομένου |Αλλά |Þurh |Þegar |Þa þe |Þá |Þa |Zatati |Zakładając |Zadato |Zadate |Zadano |Zadani |Zadan |Za předpokladu |Za predpokladu |Youse know when youse got |Youse know like when |Yna |Yeah nah |Y'know |Y |Wun |Wtedy |When y'all |When |Wenn |WEN |wann |Ve |Và |Und |Un |ugeholl |Too right |Thurh |Thì |Then y'all |Then |Tha the |Tha |Tetapi |Tapi |Tak |Tada |Tad |Stel |Soit |Siis |Și |Şi |Si |Sed |Se |Så |Quando |Quand |Quan |Pryd |Potom |Pokud |Pokiaľ |Però |Pero |Pak |Oraz |Onda |Ond |Oletetaan |Og |Och |O zaman |Niin |Nhưng |När |Når |Mutta |Men |Mas |Maka |Majd |Mając |Mais |Maar |mä |Ma |Lorsque |Lorsqu'|Logo |Let go and haul |Kun |Kuid |Kui |Kiedy |Khi |Ketika |Kemudian |Keď |Když |Kaj |Kai |Kada |Kad |Jeżeli |Jeśli |Ja |It's just unbelievable |Ir |I CAN HAZ |I |Ha |Givun |Givet |Given y'all |Given |Gitt |Gegeven |Gegeben seien |Gegeben sei |Gdy |Gangway! |Fakat |Étant donnés |Etant donnés |Étant données |Etant données |Étant donnée |Etant donnée |Étant donné |Etant donné |Et |És |Entonces |Entón |Então |Entao |En |Eğer ki |Ef |Eeldades |E |Ðurh |Duota |Dun |Donitaĵo |Donat |Donada |Do |Diyelim ki |Diberi |Dengan |Den youse gotta |DEN |De |Dato |Dați fiind |Daţi fiind |Dati fiind |Dati |Date fiind |Date |Data |Dat fiind |Dar |Dann |dann |Dan |Dados |Dado |Dadas |Dada |Ða ðe |Ða |Cuando |Cho |Cando |Când |Cand |Cal |But y'all |But at the end of the day I reckon |BUT |But |Buh |Blimey! |Biết |Bet |Bagi |Aye |awer |Avast! |Atunci |Atesa |Atès |Apabila |Anrhegedig a |Angenommen |And y'all |And |AN |An |an |Amikor |Amennyiben |Ama |Als |Alors |Allora |Ali |Aleshores |Ale |Akkor |Ak |Adott |Ac |Aber |A zároveň |A tiež |A taktiež |A také |A |a |7 |\* )/)) {
|
|
152
|
+
state.inStep = true;
|
|
153
|
+
state.allowPlaceholders = true;
|
|
154
|
+
state.allowMultilineArgument = true;
|
|
155
|
+
state.inKeywordLine = true;
|
|
156
|
+
return "keyword";
|
|
157
|
+
|
|
158
|
+
// INLINE STRING
|
|
159
|
+
} else if (stream.match(/"[^"]*"?/)) {
|
|
160
|
+
return "string";
|
|
161
|
+
|
|
162
|
+
// PLACEHOLDER
|
|
163
|
+
} else if (state.allowPlaceholders && stream.match(/<[^>]*>?/)) {
|
|
164
|
+
return "variable";
|
|
165
|
+
|
|
166
|
+
// Fall through
|
|
167
|
+
} else {
|
|
168
|
+
stream.next();
|
|
169
|
+
stream.eatWhile(/[^@"<#]/);
|
|
170
|
+
return null;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
});
|
|
175
|
+
|
|
176
|
+
CodeMirror.defineMIME("text/x-feature", "gherkin");
|
|
177
|
+
|
|
178
|
+
});
|