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,206 @@
|
|
|
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("ecl", function(config) {
|
|
15
|
+
|
|
16
|
+
function words(str) {
|
|
17
|
+
var obj = {}, words = str.split(" ");
|
|
18
|
+
for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
|
|
19
|
+
return obj;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
function metaHook(stream, state) {
|
|
23
|
+
if (!state.startOfLine) return false;
|
|
24
|
+
stream.skipToEnd();
|
|
25
|
+
return "meta";
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
var indentUnit = config.indentUnit;
|
|
29
|
+
var keyword = words("abs acos allnodes ascii asin asstring atan atan2 ave case choose choosen choosesets clustersize combine correlation cos cosh count covariance cron dataset dedup define denormalize distribute distributed distribution ebcdic enth error evaluate event eventextra eventname exists exp failcode failmessage fetch fromunicode getisvalid global graph group hash hash32 hash64 hashcrc hashmd5 having if index intformat isvalid iterate join keyunicode length library limit ln local log loop map matched matchlength matchposition matchtext matchunicode max merge mergejoin min nolocal nonempty normalize parse pipe power preload process project pull random range rank ranked realformat recordof regexfind regexreplace regroup rejected rollup round roundup row rowdiff sample set sin sinh sizeof soapcall sort sorted sqrt stepped stored sum table tan tanh thisnode topn tounicode transfer trim truncate typeof ungroup unicodeorder variance which workunit xmldecode xmlencode xmltext xmlunicode");
|
|
30
|
+
var variable = words("apply assert build buildindex evaluate fail keydiff keypatch loadxml nothor notify output parallel sequential soapcall wait");
|
|
31
|
+
var variable_2 = words("__compressed__ all and any as atmost before beginc++ best between case const counter csv descend encrypt end endc++ endmacro except exclusive expire export extend false few first flat from full function group header heading hole ifblock import in interface joined keep keyed last left limit load local locale lookup macro many maxcount maxlength min skew module named nocase noroot noscan nosort not of only opt or outer overwrite packed partition penalty physicallength pipe quote record relationship repeat return right scan self separator service shared skew skip sql store terminator thor threshold token transform trim true type unicodeorder unsorted validate virtual whole wild within xml xpath");
|
|
32
|
+
var variable_3 = words("ascii big_endian boolean data decimal ebcdic integer pattern qstring real record rule set of string token udecimal unicode unsigned varstring varunicode");
|
|
33
|
+
var builtin = words("checkpoint deprecated failcode failmessage failure global independent onwarning persist priority recovery stored success wait when");
|
|
34
|
+
var blockKeywords = words("catch class do else finally for if switch try while");
|
|
35
|
+
var atoms = words("true false null");
|
|
36
|
+
var hooks = {"#": metaHook};
|
|
37
|
+
var isOperatorChar = /[+\-*&%=<>!?|\/]/;
|
|
38
|
+
|
|
39
|
+
var curPunc;
|
|
40
|
+
|
|
41
|
+
function tokenBase(stream, state) {
|
|
42
|
+
var ch = stream.next();
|
|
43
|
+
if (hooks[ch]) {
|
|
44
|
+
var result = hooks[ch](stream, state);
|
|
45
|
+
if (result !== false) return result;
|
|
46
|
+
}
|
|
47
|
+
if (ch == '"' || ch == "'") {
|
|
48
|
+
state.tokenize = tokenString(ch);
|
|
49
|
+
return state.tokenize(stream, state);
|
|
50
|
+
}
|
|
51
|
+
if (/[\[\]{}\(\),;\:\.]/.test(ch)) {
|
|
52
|
+
curPunc = ch;
|
|
53
|
+
return null;
|
|
54
|
+
}
|
|
55
|
+
if (/\d/.test(ch)) {
|
|
56
|
+
stream.eatWhile(/[\w\.]/);
|
|
57
|
+
return "number";
|
|
58
|
+
}
|
|
59
|
+
if (ch == "/") {
|
|
60
|
+
if (stream.eat("*")) {
|
|
61
|
+
state.tokenize = tokenComment;
|
|
62
|
+
return tokenComment(stream, state);
|
|
63
|
+
}
|
|
64
|
+
if (stream.eat("/")) {
|
|
65
|
+
stream.skipToEnd();
|
|
66
|
+
return "comment";
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
if (isOperatorChar.test(ch)) {
|
|
70
|
+
stream.eatWhile(isOperatorChar);
|
|
71
|
+
return "operator";
|
|
72
|
+
}
|
|
73
|
+
stream.eatWhile(/[\w\$_]/);
|
|
74
|
+
var cur = stream.current().toLowerCase();
|
|
75
|
+
if (keyword.propertyIsEnumerable(cur)) {
|
|
76
|
+
if (blockKeywords.propertyIsEnumerable(cur)) curPunc = "newstatement";
|
|
77
|
+
return "keyword";
|
|
78
|
+
} else if (variable.propertyIsEnumerable(cur)) {
|
|
79
|
+
if (blockKeywords.propertyIsEnumerable(cur)) curPunc = "newstatement";
|
|
80
|
+
return "variable";
|
|
81
|
+
} else if (variable_2.propertyIsEnumerable(cur)) {
|
|
82
|
+
if (blockKeywords.propertyIsEnumerable(cur)) curPunc = "newstatement";
|
|
83
|
+
return "variable-2";
|
|
84
|
+
} else if (variable_3.propertyIsEnumerable(cur)) {
|
|
85
|
+
if (blockKeywords.propertyIsEnumerable(cur)) curPunc = "newstatement";
|
|
86
|
+
return "variable-3";
|
|
87
|
+
} else if (builtin.propertyIsEnumerable(cur)) {
|
|
88
|
+
if (blockKeywords.propertyIsEnumerable(cur)) curPunc = "newstatement";
|
|
89
|
+
return "builtin";
|
|
90
|
+
} else { //Data types are of from KEYWORD##
|
|
91
|
+
var i = cur.length - 1;
|
|
92
|
+
while(i >= 0 && (!isNaN(cur[i]) || cur[i] == '_'))
|
|
93
|
+
--i;
|
|
94
|
+
|
|
95
|
+
if (i > 0) {
|
|
96
|
+
var cur2 = cur.substr(0, i + 1);
|
|
97
|
+
if (variable_3.propertyIsEnumerable(cur2)) {
|
|
98
|
+
if (blockKeywords.propertyIsEnumerable(cur2)) curPunc = "newstatement";
|
|
99
|
+
return "variable-3";
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
if (atoms.propertyIsEnumerable(cur)) return "atom";
|
|
104
|
+
return null;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
function tokenString(quote) {
|
|
108
|
+
return function(stream, state) {
|
|
109
|
+
var escaped = false, next, end = false;
|
|
110
|
+
while ((next = stream.next()) != null) {
|
|
111
|
+
if (next == quote && !escaped) {end = true; break;}
|
|
112
|
+
escaped = !escaped && next == "\\";
|
|
113
|
+
}
|
|
114
|
+
if (end || !escaped)
|
|
115
|
+
state.tokenize = tokenBase;
|
|
116
|
+
return "string";
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
function tokenComment(stream, state) {
|
|
121
|
+
var maybeEnd = false, ch;
|
|
122
|
+
while (ch = stream.next()) {
|
|
123
|
+
if (ch == "/" && maybeEnd) {
|
|
124
|
+
state.tokenize = tokenBase;
|
|
125
|
+
break;
|
|
126
|
+
}
|
|
127
|
+
maybeEnd = (ch == "*");
|
|
128
|
+
}
|
|
129
|
+
return "comment";
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
function Context(indented, column, type, align, prev) {
|
|
133
|
+
this.indented = indented;
|
|
134
|
+
this.column = column;
|
|
135
|
+
this.type = type;
|
|
136
|
+
this.align = align;
|
|
137
|
+
this.prev = prev;
|
|
138
|
+
}
|
|
139
|
+
function pushContext(state, col, type) {
|
|
140
|
+
return state.context = new Context(state.indented, col, type, null, state.context);
|
|
141
|
+
}
|
|
142
|
+
function popContext(state) {
|
|
143
|
+
var t = state.context.type;
|
|
144
|
+
if (t == ")" || t == "]" || t == "}")
|
|
145
|
+
state.indented = state.context.indented;
|
|
146
|
+
return state.context = state.context.prev;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
// Interface
|
|
150
|
+
|
|
151
|
+
return {
|
|
152
|
+
startState: function(basecolumn) {
|
|
153
|
+
return {
|
|
154
|
+
tokenize: null,
|
|
155
|
+
context: new Context((basecolumn || 0) - indentUnit, 0, "top", false),
|
|
156
|
+
indented: 0,
|
|
157
|
+
startOfLine: true
|
|
158
|
+
};
|
|
159
|
+
},
|
|
160
|
+
|
|
161
|
+
token: function(stream, state) {
|
|
162
|
+
var ctx = state.context;
|
|
163
|
+
if (stream.sol()) {
|
|
164
|
+
if (ctx.align == null) ctx.align = false;
|
|
165
|
+
state.indented = stream.indentation();
|
|
166
|
+
state.startOfLine = true;
|
|
167
|
+
}
|
|
168
|
+
if (stream.eatSpace()) return null;
|
|
169
|
+
curPunc = null;
|
|
170
|
+
var style = (state.tokenize || tokenBase)(stream, state);
|
|
171
|
+
if (style == "comment" || style == "meta") return style;
|
|
172
|
+
if (ctx.align == null) ctx.align = true;
|
|
173
|
+
|
|
174
|
+
if ((curPunc == ";" || curPunc == ":") && ctx.type == "statement") popContext(state);
|
|
175
|
+
else if (curPunc == "{") pushContext(state, stream.column(), "}");
|
|
176
|
+
else if (curPunc == "[") pushContext(state, stream.column(), "]");
|
|
177
|
+
else if (curPunc == "(") pushContext(state, stream.column(), ")");
|
|
178
|
+
else if (curPunc == "}") {
|
|
179
|
+
while (ctx.type == "statement") ctx = popContext(state);
|
|
180
|
+
if (ctx.type == "}") ctx = popContext(state);
|
|
181
|
+
while (ctx.type == "statement") ctx = popContext(state);
|
|
182
|
+
}
|
|
183
|
+
else if (curPunc == ctx.type) popContext(state);
|
|
184
|
+
else if (ctx.type == "}" || ctx.type == "top" || (ctx.type == "statement" && curPunc == "newstatement"))
|
|
185
|
+
pushContext(state, stream.column(), "statement");
|
|
186
|
+
state.startOfLine = false;
|
|
187
|
+
return style;
|
|
188
|
+
},
|
|
189
|
+
|
|
190
|
+
indent: function(state, textAfter) {
|
|
191
|
+
if (state.tokenize != tokenBase && state.tokenize != null) return 0;
|
|
192
|
+
var ctx = state.context, firstChar = textAfter && textAfter.charAt(0);
|
|
193
|
+
if (ctx.type == "statement" && firstChar == "}") ctx = ctx.prev;
|
|
194
|
+
var closing = firstChar == ctx.type;
|
|
195
|
+
if (ctx.type == "statement") return ctx.indented + (firstChar == "{" ? 0 : indentUnit);
|
|
196
|
+
else if (ctx.align) return ctx.column + (closing ? 0 : 1);
|
|
197
|
+
else return ctx.indented + (closing ? 0 : indentUnit);
|
|
198
|
+
},
|
|
199
|
+
|
|
200
|
+
electricChars: "{}"
|
|
201
|
+
};
|
|
202
|
+
});
|
|
203
|
+
|
|
204
|
+
CodeMirror.defineMIME("text/x-ecl", "ecl");
|
|
205
|
+
|
|
206
|
+
});
|
|
@@ -0,0 +1,160 @@
|
|
|
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("eiffel", function() {
|
|
15
|
+
function wordObj(words) {
|
|
16
|
+
var o = {};
|
|
17
|
+
for (var i = 0, e = words.length; i < e; ++i) o[words[i]] = true;
|
|
18
|
+
return o;
|
|
19
|
+
}
|
|
20
|
+
var keywords = wordObj([
|
|
21
|
+
'note',
|
|
22
|
+
'across',
|
|
23
|
+
'when',
|
|
24
|
+
'variant',
|
|
25
|
+
'until',
|
|
26
|
+
'unique',
|
|
27
|
+
'undefine',
|
|
28
|
+
'then',
|
|
29
|
+
'strip',
|
|
30
|
+
'select',
|
|
31
|
+
'retry',
|
|
32
|
+
'rescue',
|
|
33
|
+
'require',
|
|
34
|
+
'rename',
|
|
35
|
+
'reference',
|
|
36
|
+
'redefine',
|
|
37
|
+
'prefix',
|
|
38
|
+
'once',
|
|
39
|
+
'old',
|
|
40
|
+
'obsolete',
|
|
41
|
+
'loop',
|
|
42
|
+
'local',
|
|
43
|
+
'like',
|
|
44
|
+
'is',
|
|
45
|
+
'inspect',
|
|
46
|
+
'infix',
|
|
47
|
+
'include',
|
|
48
|
+
'if',
|
|
49
|
+
'frozen',
|
|
50
|
+
'from',
|
|
51
|
+
'external',
|
|
52
|
+
'export',
|
|
53
|
+
'ensure',
|
|
54
|
+
'end',
|
|
55
|
+
'elseif',
|
|
56
|
+
'else',
|
|
57
|
+
'do',
|
|
58
|
+
'creation',
|
|
59
|
+
'create',
|
|
60
|
+
'check',
|
|
61
|
+
'alias',
|
|
62
|
+
'agent',
|
|
63
|
+
'separate',
|
|
64
|
+
'invariant',
|
|
65
|
+
'inherit',
|
|
66
|
+
'indexing',
|
|
67
|
+
'feature',
|
|
68
|
+
'expanded',
|
|
69
|
+
'deferred',
|
|
70
|
+
'class',
|
|
71
|
+
'Void',
|
|
72
|
+
'True',
|
|
73
|
+
'Result',
|
|
74
|
+
'Precursor',
|
|
75
|
+
'False',
|
|
76
|
+
'Current',
|
|
77
|
+
'create',
|
|
78
|
+
'attached',
|
|
79
|
+
'detachable',
|
|
80
|
+
'as',
|
|
81
|
+
'and',
|
|
82
|
+
'implies',
|
|
83
|
+
'not',
|
|
84
|
+
'or'
|
|
85
|
+
]);
|
|
86
|
+
var operators = wordObj([":=", "and then","and", "or","<<",">>"]);
|
|
87
|
+
|
|
88
|
+
function chain(newtok, stream, state) {
|
|
89
|
+
state.tokenize.push(newtok);
|
|
90
|
+
return newtok(stream, state);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
function tokenBase(stream, state) {
|
|
94
|
+
if (stream.eatSpace()) return null;
|
|
95
|
+
var ch = stream.next();
|
|
96
|
+
if (ch == '"'||ch == "'") {
|
|
97
|
+
return chain(readQuoted(ch, "string"), stream, state);
|
|
98
|
+
} else if (ch == "-"&&stream.eat("-")) {
|
|
99
|
+
stream.skipToEnd();
|
|
100
|
+
return "comment";
|
|
101
|
+
} else if (ch == ":"&&stream.eat("=")) {
|
|
102
|
+
return "operator";
|
|
103
|
+
} else if (/[0-9]/.test(ch)) {
|
|
104
|
+
stream.eatWhile(/[xXbBCc0-9\.]/);
|
|
105
|
+
stream.eat(/[\?\!]/);
|
|
106
|
+
return "ident";
|
|
107
|
+
} else if (/[a-zA-Z_0-9]/.test(ch)) {
|
|
108
|
+
stream.eatWhile(/[a-zA-Z_0-9]/);
|
|
109
|
+
stream.eat(/[\?\!]/);
|
|
110
|
+
return "ident";
|
|
111
|
+
} else if (/[=+\-\/*^%<>~]/.test(ch)) {
|
|
112
|
+
stream.eatWhile(/[=+\-\/*^%<>~]/);
|
|
113
|
+
return "operator";
|
|
114
|
+
} else {
|
|
115
|
+
return null;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
function readQuoted(quote, style, unescaped) {
|
|
120
|
+
return function(stream, state) {
|
|
121
|
+
var escaped = false, ch;
|
|
122
|
+
while ((ch = stream.next()) != null) {
|
|
123
|
+
if (ch == quote && (unescaped || !escaped)) {
|
|
124
|
+
state.tokenize.pop();
|
|
125
|
+
break;
|
|
126
|
+
}
|
|
127
|
+
escaped = !escaped && ch == "%";
|
|
128
|
+
}
|
|
129
|
+
return style;
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
return {
|
|
134
|
+
startState: function() {
|
|
135
|
+
return {tokenize: [tokenBase]};
|
|
136
|
+
},
|
|
137
|
+
|
|
138
|
+
token: function(stream, state) {
|
|
139
|
+
var style = state.tokenize[state.tokenize.length-1](stream, state);
|
|
140
|
+
if (style == "ident") {
|
|
141
|
+
var word = stream.current();
|
|
142
|
+
style = keywords.propertyIsEnumerable(stream.current()) ? "keyword"
|
|
143
|
+
: operators.propertyIsEnumerable(stream.current()) ? "operator"
|
|
144
|
+
: /^[A-Z][A-Z_0-9]*$/g.test(word) ? "tag"
|
|
145
|
+
: /^0[bB][0-1]+$/g.test(word) ? "number"
|
|
146
|
+
: /^0[cC][0-7]+$/g.test(word) ? "number"
|
|
147
|
+
: /^0[xX][a-fA-F0-9]+$/g.test(word) ? "number"
|
|
148
|
+
: /^([0-9]+\.[0-9]*)|([0-9]*\.[0-9]+)$/g.test(word) ? "number"
|
|
149
|
+
: /^[0-9]+$/g.test(word) ? "number"
|
|
150
|
+
: "variable";
|
|
151
|
+
}
|
|
152
|
+
return style;
|
|
153
|
+
},
|
|
154
|
+
lineComment: "--"
|
|
155
|
+
};
|
|
156
|
+
});
|
|
157
|
+
|
|
158
|
+
CodeMirror.defineMIME("text/x-eiffel", "eiffel");
|
|
159
|
+
|
|
160
|
+
});
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
2
|
+
// Distributed under an MIT license: http://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("elm", function() {
|
|
15
|
+
|
|
16
|
+
function switchState(source, setState, f)
|
|
17
|
+
{
|
|
18
|
+
setState(f);
|
|
19
|
+
return f(source, setState);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
var lowerRE = /[a-z]/;
|
|
23
|
+
var upperRE = /[A-Z]/;
|
|
24
|
+
var innerRE = /[a-zA-Z0-9_]/;
|
|
25
|
+
|
|
26
|
+
var digitRE = /[0-9]/;
|
|
27
|
+
var hexRE = /[0-9A-Fa-f]/;
|
|
28
|
+
var symbolRE = /[-&*+.\\/<>=?^|:]/;
|
|
29
|
+
var specialRE = /[(),[\]{}]/;
|
|
30
|
+
var spacesRE = /[ \v\f]/; // newlines are handled in tokenizer
|
|
31
|
+
|
|
32
|
+
function normal()
|
|
33
|
+
{
|
|
34
|
+
return function(source, setState)
|
|
35
|
+
{
|
|
36
|
+
if (source.eatWhile(spacesRE))
|
|
37
|
+
{
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
var char = source.next();
|
|
42
|
+
|
|
43
|
+
if (specialRE.test(char))
|
|
44
|
+
{
|
|
45
|
+
return (char === '{' && source.eat('-'))
|
|
46
|
+
? switchState(source, setState, chompMultiComment(1))
|
|
47
|
+
: (char === '[' && source.match('glsl|'))
|
|
48
|
+
? switchState(source, setState, chompGlsl)
|
|
49
|
+
: 'builtin';
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
if (char === '\'')
|
|
53
|
+
{
|
|
54
|
+
return switchState(source, setState, chompChar);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
if (char === '"')
|
|
58
|
+
{
|
|
59
|
+
return source.eat('"')
|
|
60
|
+
? source.eat('"')
|
|
61
|
+
? switchState(source, setState, chompMultiString)
|
|
62
|
+
: 'string'
|
|
63
|
+
: switchState(source, setState, chompSingleString);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
if (upperRE.test(char))
|
|
67
|
+
{
|
|
68
|
+
source.eatWhile(innerRE);
|
|
69
|
+
return 'variable-2';
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
if (lowerRE.test(char))
|
|
73
|
+
{
|
|
74
|
+
var isDef = source.pos === 1;
|
|
75
|
+
source.eatWhile(innerRE);
|
|
76
|
+
return isDef ? "def" : "variable";
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
if (digitRE.test(char))
|
|
80
|
+
{
|
|
81
|
+
if (char === '0')
|
|
82
|
+
{
|
|
83
|
+
if (source.eat(/[xX]/))
|
|
84
|
+
{
|
|
85
|
+
source.eatWhile(hexRE); // should require at least 1
|
|
86
|
+
return "number";
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
else
|
|
90
|
+
{
|
|
91
|
+
source.eatWhile(digitRE);
|
|
92
|
+
}
|
|
93
|
+
if (source.eat('.'))
|
|
94
|
+
{
|
|
95
|
+
source.eatWhile(digitRE); // should require at least 1
|
|
96
|
+
}
|
|
97
|
+
if (source.eat(/[eE]/))
|
|
98
|
+
{
|
|
99
|
+
source.eat(/[-+]/);
|
|
100
|
+
source.eatWhile(digitRE); // should require at least 1
|
|
101
|
+
}
|
|
102
|
+
return "number";
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
if (symbolRE.test(char))
|
|
106
|
+
{
|
|
107
|
+
if (char === '-' && source.eat('-'))
|
|
108
|
+
{
|
|
109
|
+
source.skipToEnd();
|
|
110
|
+
return "comment";
|
|
111
|
+
}
|
|
112
|
+
source.eatWhile(symbolRE);
|
|
113
|
+
return "keyword";
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
if (char === '_')
|
|
117
|
+
{
|
|
118
|
+
return "keyword";
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
return "error";
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
function chompMultiComment(nest)
|
|
126
|
+
{
|
|
127
|
+
if (nest == 0)
|
|
128
|
+
{
|
|
129
|
+
return normal();
|
|
130
|
+
}
|
|
131
|
+
return function(source, setState)
|
|
132
|
+
{
|
|
133
|
+
while (!source.eol())
|
|
134
|
+
{
|
|
135
|
+
var char = source.next();
|
|
136
|
+
if (char == '{' && source.eat('-'))
|
|
137
|
+
{
|
|
138
|
+
++nest;
|
|
139
|
+
}
|
|
140
|
+
else if (char == '-' && source.eat('}'))
|
|
141
|
+
{
|
|
142
|
+
--nest;
|
|
143
|
+
if (nest === 0)
|
|
144
|
+
{
|
|
145
|
+
setState(normal());
|
|
146
|
+
return 'comment';
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
setState(chompMultiComment(nest));
|
|
151
|
+
return 'comment';
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
function chompMultiString(source, setState)
|
|
156
|
+
{
|
|
157
|
+
while (!source.eol())
|
|
158
|
+
{
|
|
159
|
+
var char = source.next();
|
|
160
|
+
if (char === '"' && source.eat('"') && source.eat('"'))
|
|
161
|
+
{
|
|
162
|
+
setState(normal());
|
|
163
|
+
return 'string';
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
return 'string';
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
function chompSingleString(source, setState)
|
|
170
|
+
{
|
|
171
|
+
while (source.skipTo('\\"')) { source.next(); source.next(); }
|
|
172
|
+
if (source.skipTo('"'))
|
|
173
|
+
{
|
|
174
|
+
source.next();
|
|
175
|
+
setState(normal());
|
|
176
|
+
return 'string';
|
|
177
|
+
}
|
|
178
|
+
source.skipToEnd();
|
|
179
|
+
setState(normal());
|
|
180
|
+
return 'error';
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
function chompChar(source, setState)
|
|
184
|
+
{
|
|
185
|
+
while (source.skipTo("\\'")) { source.next(); source.next(); }
|
|
186
|
+
if (source.skipTo("'"))
|
|
187
|
+
{
|
|
188
|
+
source.next();
|
|
189
|
+
setState(normal());
|
|
190
|
+
return 'string';
|
|
191
|
+
}
|
|
192
|
+
source.skipToEnd();
|
|
193
|
+
setState(normal());
|
|
194
|
+
return 'error';
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
function chompGlsl(source, setState)
|
|
198
|
+
{
|
|
199
|
+
while (!source.eol())
|
|
200
|
+
{
|
|
201
|
+
var char = source.next();
|
|
202
|
+
if (char === '|' && source.eat(']'))
|
|
203
|
+
{
|
|
204
|
+
setState(normal());
|
|
205
|
+
return 'string';
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
return 'string';
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
var wellKnownWords = {
|
|
212
|
+
case: 1,
|
|
213
|
+
of: 1,
|
|
214
|
+
as: 1,
|
|
215
|
+
if: 1,
|
|
216
|
+
then: 1,
|
|
217
|
+
else: 1,
|
|
218
|
+
let: 1,
|
|
219
|
+
in: 1,
|
|
220
|
+
type: 1,
|
|
221
|
+
alias: 1,
|
|
222
|
+
module: 1,
|
|
223
|
+
where: 1,
|
|
224
|
+
import: 1,
|
|
225
|
+
exposing: 1,
|
|
226
|
+
port: 1
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
return {
|
|
230
|
+
startState: function () { return { f: normal() }; },
|
|
231
|
+
copyState: function (s) { return { f: s.f }; },
|
|
232
|
+
|
|
233
|
+
lineComment: '--',
|
|
234
|
+
|
|
235
|
+
token: function(stream, state) {
|
|
236
|
+
var type = state.f(stream, function(s) { state.f = s; });
|
|
237
|
+
var word = stream.current();
|
|
238
|
+
return (wellKnownWords.hasOwnProperty(word)) ? 'keyword' : type;
|
|
239
|
+
}
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
});
|
|
243
|
+
|
|
244
|
+
CodeMirror.defineMIME("text/x-elm", "elm");
|
|
245
|
+
});
|