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,284 @@
|
|
|
1
|
+
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
2
|
+
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Author: Koh Zi Han, based on implementation by Koh Zi Chun
|
|
6
|
+
* Improved by: Jakub T. Jankiewicz
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
(function(mod) {
|
|
10
|
+
if (typeof exports == "object" && typeof module == "object") // CommonJS
|
|
11
|
+
mod(require("../../lib/codemirror"));
|
|
12
|
+
else if (typeof define == "function" && define.amd) // AMD
|
|
13
|
+
define(["../../lib/codemirror"], mod);
|
|
14
|
+
else // Plain browser env
|
|
15
|
+
mod(CodeMirror);
|
|
16
|
+
})(function(CodeMirror) {
|
|
17
|
+
"use strict";
|
|
18
|
+
|
|
19
|
+
CodeMirror.defineMode("scheme", function () {
|
|
20
|
+
var BUILTIN = "builtin", COMMENT = "comment", STRING = "string",
|
|
21
|
+
SYMBOL = "symbol", ATOM = "atom", NUMBER = "number", BRACKET = "bracket";
|
|
22
|
+
var INDENT_WORD_SKIP = 2;
|
|
23
|
+
|
|
24
|
+
function makeKeywords(str) {
|
|
25
|
+
var obj = {}, words = str.split(" ");
|
|
26
|
+
for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
|
|
27
|
+
return obj;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
var keywords = makeKeywords("λ case-lambda call/cc class cond-expand define-class define-values exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax define-macro defmacro delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt #f floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? #t tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?");
|
|
31
|
+
var indentKeys = makeKeywords("define let letrec let* lambda define-macro defmacro let-syntax letrec-syntax let-values let*-values define-syntax syntax-rules define-values when unless");
|
|
32
|
+
|
|
33
|
+
function stateStack(indent, type, prev) { // represents a state stack object
|
|
34
|
+
this.indent = indent;
|
|
35
|
+
this.type = type;
|
|
36
|
+
this.prev = prev;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function pushStack(state, indent, type) {
|
|
40
|
+
state.indentStack = new stateStack(indent, type, state.indentStack);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
function popStack(state) {
|
|
44
|
+
state.indentStack = state.indentStack.prev;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
var binaryMatcher = new RegExp(/^(?:[-+]i|[-+][01]+#*(?:\/[01]+#*)?i|[-+]?[01]+#*(?:\/[01]+#*)?@[-+]?[01]+#*(?:\/[01]+#*)?|[-+]?[01]+#*(?:\/[01]+#*)?[-+](?:[01]+#*(?:\/[01]+#*)?)?i|[-+]?[01]+#*(?:\/[01]+#*)?)(?=[()\s;"]|$)/i);
|
|
48
|
+
var octalMatcher = new RegExp(/^(?:[-+]i|[-+][0-7]+#*(?:\/[0-7]+#*)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?@[-+]?[0-7]+#*(?:\/[0-7]+#*)?|[-+]?[0-7]+#*(?:\/[0-7]+#*)?[-+](?:[0-7]+#*(?:\/[0-7]+#*)?)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?)(?=[()\s;"]|$)/i);
|
|
49
|
+
var hexMatcher = new RegExp(/^(?:[-+]i|[-+][\da-f]+#*(?:\/[\da-f]+#*)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?@[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?[-+](?:[\da-f]+#*(?:\/[\da-f]+#*)?)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?)(?=[()\s;"]|$)/i);
|
|
50
|
+
var decimalMatcher = new RegExp(/^(?:[-+]i|[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)i|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)@[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)?i|(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*))(?=[()\s;"]|$)/i);
|
|
51
|
+
|
|
52
|
+
function isBinaryNumber (stream) {
|
|
53
|
+
return stream.match(binaryMatcher);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
function isOctalNumber (stream) {
|
|
57
|
+
return stream.match(octalMatcher);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
function isDecimalNumber (stream, backup) {
|
|
61
|
+
if (backup === true) {
|
|
62
|
+
stream.backUp(1);
|
|
63
|
+
}
|
|
64
|
+
return stream.match(decimalMatcher);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
function isHexNumber (stream) {
|
|
68
|
+
return stream.match(hexMatcher);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
function processEscapedSequence(stream, options) {
|
|
72
|
+
var next, escaped = false;
|
|
73
|
+
while ((next = stream.next()) != null) {
|
|
74
|
+
if (next == options.token && !escaped) {
|
|
75
|
+
|
|
76
|
+
options.state.mode = false;
|
|
77
|
+
break;
|
|
78
|
+
}
|
|
79
|
+
escaped = !escaped && next == "\\";
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
return {
|
|
84
|
+
startState: function () {
|
|
85
|
+
return {
|
|
86
|
+
indentStack: null,
|
|
87
|
+
indentation: 0,
|
|
88
|
+
mode: false,
|
|
89
|
+
sExprComment: false,
|
|
90
|
+
sExprQuote: false
|
|
91
|
+
};
|
|
92
|
+
},
|
|
93
|
+
|
|
94
|
+
token: function (stream, state) {
|
|
95
|
+
if (state.indentStack == null && stream.sol()) {
|
|
96
|
+
// update indentation, but only if indentStack is empty
|
|
97
|
+
state.indentation = stream.indentation();
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// skip spaces
|
|
101
|
+
if (stream.eatSpace()) {
|
|
102
|
+
return null;
|
|
103
|
+
}
|
|
104
|
+
var returnType = null;
|
|
105
|
+
|
|
106
|
+
switch(state.mode){
|
|
107
|
+
case "string": // multi-line string parsing mode
|
|
108
|
+
processEscapedSequence(stream, {
|
|
109
|
+
token: "\"",
|
|
110
|
+
state: state
|
|
111
|
+
});
|
|
112
|
+
returnType = STRING; // continue on in scheme-string mode
|
|
113
|
+
break;
|
|
114
|
+
case "symbol": // escape symbol
|
|
115
|
+
processEscapedSequence(stream, {
|
|
116
|
+
token: "|",
|
|
117
|
+
state: state
|
|
118
|
+
});
|
|
119
|
+
returnType = SYMBOL; // continue on in scheme-symbol mode
|
|
120
|
+
break;
|
|
121
|
+
case "comment": // comment parsing mode
|
|
122
|
+
var next, maybeEnd = false;
|
|
123
|
+
while ((next = stream.next()) != null) {
|
|
124
|
+
if (next == "#" && maybeEnd) {
|
|
125
|
+
|
|
126
|
+
state.mode = false;
|
|
127
|
+
break;
|
|
128
|
+
}
|
|
129
|
+
maybeEnd = (next == "|");
|
|
130
|
+
}
|
|
131
|
+
returnType = COMMENT;
|
|
132
|
+
break;
|
|
133
|
+
case "s-expr-comment": // s-expr commenting mode
|
|
134
|
+
state.mode = false;
|
|
135
|
+
if(stream.peek() == "(" || stream.peek() == "["){
|
|
136
|
+
// actually start scheme s-expr commenting mode
|
|
137
|
+
state.sExprComment = 0;
|
|
138
|
+
}else{
|
|
139
|
+
// if not we just comment the entire of the next token
|
|
140
|
+
stream.eatWhile(/[^\s\(\)\[\]]/); // eat symbol atom
|
|
141
|
+
returnType = COMMENT;
|
|
142
|
+
break;
|
|
143
|
+
}
|
|
144
|
+
default: // default parsing mode
|
|
145
|
+
var ch = stream.next();
|
|
146
|
+
|
|
147
|
+
if (ch == "\"") {
|
|
148
|
+
state.mode = "string";
|
|
149
|
+
returnType = STRING;
|
|
150
|
+
|
|
151
|
+
} else if (ch == "'") {
|
|
152
|
+
if (stream.peek() == "(" || stream.peek() == "["){
|
|
153
|
+
if (typeof state.sExprQuote != "number") {
|
|
154
|
+
state.sExprQuote = 0;
|
|
155
|
+
} // else already in a quoted expression
|
|
156
|
+
returnType = ATOM;
|
|
157
|
+
} else {
|
|
158
|
+
stream.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/);
|
|
159
|
+
returnType = ATOM;
|
|
160
|
+
}
|
|
161
|
+
} else if (ch == '|') {
|
|
162
|
+
state.mode = "symbol";
|
|
163
|
+
returnType = SYMBOL;
|
|
164
|
+
} else if (ch == '#') {
|
|
165
|
+
if (stream.eat("|")) { // Multi-line comment
|
|
166
|
+
state.mode = "comment"; // toggle to comment mode
|
|
167
|
+
returnType = COMMENT;
|
|
168
|
+
} else if (stream.eat(/[tf]/i)) { // #t/#f (atom)
|
|
169
|
+
returnType = ATOM;
|
|
170
|
+
} else if (stream.eat(';')) { // S-Expr comment
|
|
171
|
+
state.mode = "s-expr-comment";
|
|
172
|
+
returnType = COMMENT;
|
|
173
|
+
} else {
|
|
174
|
+
var numTest = null, hasExactness = false, hasRadix = true;
|
|
175
|
+
if (stream.eat(/[ei]/i)) {
|
|
176
|
+
hasExactness = true;
|
|
177
|
+
} else {
|
|
178
|
+
stream.backUp(1); // must be radix specifier
|
|
179
|
+
}
|
|
180
|
+
if (stream.match(/^#b/i)) {
|
|
181
|
+
numTest = isBinaryNumber;
|
|
182
|
+
} else if (stream.match(/^#o/i)) {
|
|
183
|
+
numTest = isOctalNumber;
|
|
184
|
+
} else if (stream.match(/^#x/i)) {
|
|
185
|
+
numTest = isHexNumber;
|
|
186
|
+
} else if (stream.match(/^#d/i)) {
|
|
187
|
+
numTest = isDecimalNumber;
|
|
188
|
+
} else if (stream.match(/^[-+0-9.]/, false)) {
|
|
189
|
+
hasRadix = false;
|
|
190
|
+
numTest = isDecimalNumber;
|
|
191
|
+
// re-consume the initial # if all matches failed
|
|
192
|
+
} else if (!hasExactness) {
|
|
193
|
+
stream.eat('#');
|
|
194
|
+
}
|
|
195
|
+
if (numTest != null) {
|
|
196
|
+
if (hasRadix && !hasExactness) {
|
|
197
|
+
// consume optional exactness after radix
|
|
198
|
+
stream.match(/^#[ei]/i);
|
|
199
|
+
}
|
|
200
|
+
if (numTest(stream))
|
|
201
|
+
returnType = NUMBER;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
} else if (/^[-+0-9.]/.test(ch) && isDecimalNumber(stream, true)) { // match non-prefixed number, must be decimal
|
|
205
|
+
returnType = NUMBER;
|
|
206
|
+
} else if (ch == ";") { // comment
|
|
207
|
+
stream.skipToEnd(); // rest of the line is a comment
|
|
208
|
+
returnType = COMMENT;
|
|
209
|
+
} else if (ch == "(" || ch == "[") {
|
|
210
|
+
var keyWord = ''; var indentTemp = stream.column(), letter;
|
|
211
|
+
/**
|
|
212
|
+
Either
|
|
213
|
+
(indent-word ..
|
|
214
|
+
(non-indent-word ..
|
|
215
|
+
(;something else, bracket, etc.
|
|
216
|
+
*/
|
|
217
|
+
|
|
218
|
+
while ((letter = stream.eat(/[^\s\(\[\;\)\]]/)) != null) {
|
|
219
|
+
keyWord += letter;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
if (keyWord.length > 0 && indentKeys.propertyIsEnumerable(keyWord)) { // indent-word
|
|
223
|
+
|
|
224
|
+
pushStack(state, indentTemp + INDENT_WORD_SKIP, ch);
|
|
225
|
+
} else { // non-indent word
|
|
226
|
+
// we continue eating the spaces
|
|
227
|
+
stream.eatSpace();
|
|
228
|
+
if (stream.eol() || stream.peek() == ";") {
|
|
229
|
+
// nothing significant after
|
|
230
|
+
// we restart indentation 1 space after
|
|
231
|
+
pushStack(state, indentTemp + 1, ch);
|
|
232
|
+
} else {
|
|
233
|
+
pushStack(state, indentTemp + stream.current().length, ch); // else we match
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
stream.backUp(stream.current().length - 1); // undo all the eating
|
|
237
|
+
|
|
238
|
+
if(typeof state.sExprComment == "number") state.sExprComment++;
|
|
239
|
+
if(typeof state.sExprQuote == "number") state.sExprQuote++;
|
|
240
|
+
|
|
241
|
+
returnType = BRACKET;
|
|
242
|
+
} else if (ch == ")" || ch == "]") {
|
|
243
|
+
returnType = BRACKET;
|
|
244
|
+
if (state.indentStack != null && state.indentStack.type == (ch == ")" ? "(" : "[")) {
|
|
245
|
+
popStack(state);
|
|
246
|
+
|
|
247
|
+
if(typeof state.sExprComment == "number"){
|
|
248
|
+
if(--state.sExprComment == 0){
|
|
249
|
+
returnType = COMMENT; // final closing bracket
|
|
250
|
+
state.sExprComment = false; // turn off s-expr commenting mode
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
if(typeof state.sExprQuote == "number"){
|
|
254
|
+
if(--state.sExprQuote == 0){
|
|
255
|
+
returnType = ATOM; // final closing bracket
|
|
256
|
+
state.sExprQuote = false; // turn off s-expr quote mode
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
} else {
|
|
261
|
+
stream.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/);
|
|
262
|
+
|
|
263
|
+
if (keywords && keywords.propertyIsEnumerable(stream.current())) {
|
|
264
|
+
returnType = BUILTIN;
|
|
265
|
+
} else returnType = "variable";
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
return (typeof state.sExprComment == "number") ? COMMENT : ((typeof state.sExprQuote == "number") ? ATOM : returnType);
|
|
269
|
+
},
|
|
270
|
+
|
|
271
|
+
indent: function (state) {
|
|
272
|
+
if (state.indentStack == null) return state.indentation;
|
|
273
|
+
return state.indentStack.indent;
|
|
274
|
+
},
|
|
275
|
+
|
|
276
|
+
fold: "brace-paren",
|
|
277
|
+
closeBrackets: {pairs: "()[]{}\"\""},
|
|
278
|
+
lineComment: ";;"
|
|
279
|
+
};
|
|
280
|
+
});
|
|
281
|
+
|
|
282
|
+
CodeMirror.defineMIME("text/x-scheme", "scheme");
|
|
283
|
+
|
|
284
|
+
});
|
|
@@ -0,0 +1,168 @@
|
|
|
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('shell', function() {
|
|
15
|
+
|
|
16
|
+
var words = {};
|
|
17
|
+
function define(style, dict) {
|
|
18
|
+
for(var i = 0; i < dict.length; i++) {
|
|
19
|
+
words[dict[i]] = style;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
var commonAtoms = ["true", "false"];
|
|
24
|
+
var commonKeywords = ["if", "then", "do", "else", "elif", "while", "until", "for", "in", "esac", "fi",
|
|
25
|
+
"fin", "fil", "done", "exit", "set", "unset", "export", "function"];
|
|
26
|
+
var commonCommands = ["ab", "awk", "bash", "beep", "cat", "cc", "cd", "chown", "chmod", "chroot", "clear",
|
|
27
|
+
"cp", "curl", "cut", "diff", "echo", "find", "gawk", "gcc", "get", "git", "grep", "hg", "kill", "killall",
|
|
28
|
+
"ln", "ls", "make", "mkdir", "openssl", "mv", "nc", "nl", "node", "npm", "ping", "ps", "restart", "rm",
|
|
29
|
+
"rmdir", "sed", "service", "sh", "shopt", "shred", "source", "sort", "sleep", "ssh", "start", "stop",
|
|
30
|
+
"su", "sudo", "svn", "tee", "telnet", "top", "touch", "vi", "vim", "wall", "wc", "wget", "who", "write",
|
|
31
|
+
"yes", "zsh"];
|
|
32
|
+
|
|
33
|
+
CodeMirror.registerHelper("hintWords", "shell", commonAtoms.concat(commonKeywords, commonCommands));
|
|
34
|
+
|
|
35
|
+
define('atom', commonAtoms);
|
|
36
|
+
define('keyword', commonKeywords);
|
|
37
|
+
define('builtin', commonCommands);
|
|
38
|
+
|
|
39
|
+
function tokenBase(stream, state) {
|
|
40
|
+
if (stream.eatSpace()) return null;
|
|
41
|
+
|
|
42
|
+
var sol = stream.sol();
|
|
43
|
+
var ch = stream.next();
|
|
44
|
+
|
|
45
|
+
if (ch === '\\') {
|
|
46
|
+
stream.next();
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
if (ch === '\'' || ch === '"' || ch === '`') {
|
|
50
|
+
state.tokens.unshift(tokenString(ch, ch === "`" ? "quote" : "string"));
|
|
51
|
+
return tokenize(stream, state);
|
|
52
|
+
}
|
|
53
|
+
if (ch === '#') {
|
|
54
|
+
if (sol && stream.eat('!')) {
|
|
55
|
+
stream.skipToEnd();
|
|
56
|
+
return 'meta'; // 'comment'?
|
|
57
|
+
}
|
|
58
|
+
stream.skipToEnd();
|
|
59
|
+
return 'comment';
|
|
60
|
+
}
|
|
61
|
+
if (ch === '$') {
|
|
62
|
+
state.tokens.unshift(tokenDollar);
|
|
63
|
+
return tokenize(stream, state);
|
|
64
|
+
}
|
|
65
|
+
if (ch === '+' || ch === '=') {
|
|
66
|
+
return 'operator';
|
|
67
|
+
}
|
|
68
|
+
if (ch === '-') {
|
|
69
|
+
stream.eat('-');
|
|
70
|
+
stream.eatWhile(/\w/);
|
|
71
|
+
return 'attribute';
|
|
72
|
+
}
|
|
73
|
+
if (ch == "<") {
|
|
74
|
+
if (stream.match("<<")) return "operator"
|
|
75
|
+
var heredoc = stream.match(/^<-?\s*['"]?([^'"]*)['"]?/)
|
|
76
|
+
if (heredoc) {
|
|
77
|
+
state.tokens.unshift(tokenHeredoc(heredoc[1]))
|
|
78
|
+
return 'string-2'
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
if (/\d/.test(ch)) {
|
|
82
|
+
stream.eatWhile(/\d/);
|
|
83
|
+
if(stream.eol() || !/\w/.test(stream.peek())) {
|
|
84
|
+
return 'number';
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
stream.eatWhile(/[\w-]/);
|
|
88
|
+
var cur = stream.current();
|
|
89
|
+
if (stream.peek() === '=' && /\w+/.test(cur)) return 'def';
|
|
90
|
+
return words.hasOwnProperty(cur) ? words[cur] : null;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
function tokenString(quote, style) {
|
|
94
|
+
var close = quote == "(" ? ")" : quote == "{" ? "}" : quote
|
|
95
|
+
return function(stream, state) {
|
|
96
|
+
var next, escaped = false;
|
|
97
|
+
while ((next = stream.next()) != null) {
|
|
98
|
+
if (next === close && !escaped) {
|
|
99
|
+
state.tokens.shift();
|
|
100
|
+
break;
|
|
101
|
+
} else if (next === '$' && !escaped && quote !== "'" && stream.peek() != close) {
|
|
102
|
+
escaped = true;
|
|
103
|
+
stream.backUp(1);
|
|
104
|
+
state.tokens.unshift(tokenDollar);
|
|
105
|
+
break;
|
|
106
|
+
} else if (!escaped && quote !== close && next === quote) {
|
|
107
|
+
state.tokens.unshift(tokenString(quote, style))
|
|
108
|
+
return tokenize(stream, state)
|
|
109
|
+
} else if (!escaped && /['"]/.test(next) && !/['"]/.test(quote)) {
|
|
110
|
+
state.tokens.unshift(tokenStringStart(next, "string"));
|
|
111
|
+
stream.backUp(1);
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
escaped = !escaped && next === '\\';
|
|
115
|
+
}
|
|
116
|
+
return style;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
function tokenStringStart(quote, style) {
|
|
121
|
+
return function(stream, state) {
|
|
122
|
+
state.tokens[0] = tokenString(quote, style)
|
|
123
|
+
stream.next()
|
|
124
|
+
return tokenize(stream, state)
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
var tokenDollar = function(stream, state) {
|
|
129
|
+
if (state.tokens.length > 1) stream.eat('$');
|
|
130
|
+
var ch = stream.next()
|
|
131
|
+
if (/['"({]/.test(ch)) {
|
|
132
|
+
state.tokens[0] = tokenString(ch, ch == "(" ? "quote" : ch == "{" ? "def" : "string");
|
|
133
|
+
return tokenize(stream, state);
|
|
134
|
+
}
|
|
135
|
+
if (!/\d/.test(ch)) stream.eatWhile(/\w/);
|
|
136
|
+
state.tokens.shift();
|
|
137
|
+
return 'def';
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
function tokenHeredoc(delim) {
|
|
141
|
+
return function(stream, state) {
|
|
142
|
+
if (stream.sol() && stream.string == delim) state.tokens.shift()
|
|
143
|
+
stream.skipToEnd()
|
|
144
|
+
return "string-2"
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
function tokenize(stream, state) {
|
|
149
|
+
return (state.tokens[0] || tokenBase) (stream, state);
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
return {
|
|
153
|
+
startState: function() {return {tokens:[]};},
|
|
154
|
+
token: function(stream, state) {
|
|
155
|
+
return tokenize(stream, state);
|
|
156
|
+
},
|
|
157
|
+
closeBrackets: "()[]{}''\"\"``",
|
|
158
|
+
lineComment: '#',
|
|
159
|
+
fold: "brace"
|
|
160
|
+
};
|
|
161
|
+
});
|
|
162
|
+
|
|
163
|
+
CodeMirror.defineMIME('text/x-sh', 'shell');
|
|
164
|
+
// Apache uses a slightly different Media Type for Shell scripts
|
|
165
|
+
// http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
|
|
166
|
+
CodeMirror.defineMIME('application/x-sh', 'shell');
|
|
167
|
+
|
|
168
|
+
});
|
|
@@ -0,0 +1,193 @@
|
|
|
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("sieve", function(config) {
|
|
15
|
+
function words(str) {
|
|
16
|
+
var obj = {}, words = str.split(" ");
|
|
17
|
+
for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
|
|
18
|
+
return obj;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
var keywords = words("if elsif else stop require");
|
|
22
|
+
var atoms = words("true false not");
|
|
23
|
+
var indentUnit = config.indentUnit;
|
|
24
|
+
|
|
25
|
+
function tokenBase(stream, state) {
|
|
26
|
+
|
|
27
|
+
var ch = stream.next();
|
|
28
|
+
if (ch == "/" && stream.eat("*")) {
|
|
29
|
+
state.tokenize = tokenCComment;
|
|
30
|
+
return tokenCComment(stream, state);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
if (ch === '#') {
|
|
34
|
+
stream.skipToEnd();
|
|
35
|
+
return "comment";
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
if (ch == "\"") {
|
|
39
|
+
state.tokenize = tokenString(ch);
|
|
40
|
+
return state.tokenize(stream, state);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
if (ch == "(") {
|
|
44
|
+
state._indent.push("(");
|
|
45
|
+
// add virtual angel wings so that editor behaves...
|
|
46
|
+
// ...more sane in case of broken brackets
|
|
47
|
+
state._indent.push("{");
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
if (ch === "{") {
|
|
52
|
+
state._indent.push("{");
|
|
53
|
+
return null;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
if (ch == ")") {
|
|
57
|
+
state._indent.pop();
|
|
58
|
+
state._indent.pop();
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
if (ch === "}") {
|
|
62
|
+
state._indent.pop();
|
|
63
|
+
return null;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
if (ch == ",")
|
|
67
|
+
return null;
|
|
68
|
+
|
|
69
|
+
if (ch == ";")
|
|
70
|
+
return null;
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
if (/[{}\(\),;]/.test(ch))
|
|
74
|
+
return null;
|
|
75
|
+
|
|
76
|
+
// 1*DIGIT "K" / "M" / "G"
|
|
77
|
+
if (/\d/.test(ch)) {
|
|
78
|
+
stream.eatWhile(/[\d]/);
|
|
79
|
+
stream.eat(/[KkMmGg]/);
|
|
80
|
+
return "number";
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
// ":" (ALPHA / "_") *(ALPHA / DIGIT / "_")
|
|
84
|
+
if (ch == ":") {
|
|
85
|
+
stream.eatWhile(/[a-zA-Z_]/);
|
|
86
|
+
stream.eatWhile(/[a-zA-Z0-9_]/);
|
|
87
|
+
|
|
88
|
+
return "operator";
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
stream.eatWhile(/\w/);
|
|
92
|
+
var cur = stream.current();
|
|
93
|
+
|
|
94
|
+
// "text:" *(SP / HTAB) (hash-comment / CRLF)
|
|
95
|
+
// *(multiline-literal / multiline-dotstart)
|
|
96
|
+
// "." CRLF
|
|
97
|
+
if ((cur == "text") && stream.eat(":"))
|
|
98
|
+
{
|
|
99
|
+
state.tokenize = tokenMultiLineString;
|
|
100
|
+
return "string";
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
if (keywords.propertyIsEnumerable(cur))
|
|
104
|
+
return "keyword";
|
|
105
|
+
|
|
106
|
+
if (atoms.propertyIsEnumerable(cur))
|
|
107
|
+
return "atom";
|
|
108
|
+
|
|
109
|
+
return null;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
function tokenMultiLineString(stream, state)
|
|
113
|
+
{
|
|
114
|
+
state._multiLineString = true;
|
|
115
|
+
// the first line is special it may contain a comment
|
|
116
|
+
if (!stream.sol()) {
|
|
117
|
+
stream.eatSpace();
|
|
118
|
+
|
|
119
|
+
if (stream.peek() == "#") {
|
|
120
|
+
stream.skipToEnd();
|
|
121
|
+
return "comment";
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
stream.skipToEnd();
|
|
125
|
+
return "string";
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
if ((stream.next() == ".") && (stream.eol()))
|
|
129
|
+
{
|
|
130
|
+
state._multiLineString = false;
|
|
131
|
+
state.tokenize = tokenBase;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
return "string";
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
function tokenCComment(stream, state) {
|
|
138
|
+
var maybeEnd = false, ch;
|
|
139
|
+
while ((ch = stream.next()) != null) {
|
|
140
|
+
if (maybeEnd && ch == "/") {
|
|
141
|
+
state.tokenize = tokenBase;
|
|
142
|
+
break;
|
|
143
|
+
}
|
|
144
|
+
maybeEnd = (ch == "*");
|
|
145
|
+
}
|
|
146
|
+
return "comment";
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
function tokenString(quote) {
|
|
150
|
+
return function(stream, state) {
|
|
151
|
+
var escaped = false, ch;
|
|
152
|
+
while ((ch = stream.next()) != null) {
|
|
153
|
+
if (ch == quote && !escaped)
|
|
154
|
+
break;
|
|
155
|
+
escaped = !escaped && ch == "\\";
|
|
156
|
+
}
|
|
157
|
+
if (!escaped) state.tokenize = tokenBase;
|
|
158
|
+
return "string";
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
return {
|
|
163
|
+
startState: function(base) {
|
|
164
|
+
return {tokenize: tokenBase,
|
|
165
|
+
baseIndent: base || 0,
|
|
166
|
+
_indent: []};
|
|
167
|
+
},
|
|
168
|
+
|
|
169
|
+
token: function(stream, state) {
|
|
170
|
+
if (stream.eatSpace())
|
|
171
|
+
return null;
|
|
172
|
+
|
|
173
|
+
return (state.tokenize || tokenBase)(stream, state);
|
|
174
|
+
},
|
|
175
|
+
|
|
176
|
+
indent: function(state, _textAfter) {
|
|
177
|
+
var length = state._indent.length;
|
|
178
|
+
if (_textAfter && (_textAfter[0] == "}"))
|
|
179
|
+
length--;
|
|
180
|
+
|
|
181
|
+
if (length <0)
|
|
182
|
+
length = 0;
|
|
183
|
+
|
|
184
|
+
return length * indentUnit;
|
|
185
|
+
},
|
|
186
|
+
|
|
187
|
+
electricChars: "}"
|
|
188
|
+
};
|
|
189
|
+
});
|
|
190
|
+
|
|
191
|
+
CodeMirror.defineMIME("application/sieve", "sieve");
|
|
192
|
+
|
|
193
|
+
});
|