@glodon-aiot/react-components 3.3.0-beta.14 → 3.3.0-beta.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/_virtual/_commonjsHelpers.mjs +8 -0
- package/dist/es/_virtual/index.mjs +4 -0
- package/dist/es/_virtual/index2.mjs +4 -0
- package/dist/es/_virtual/index3.mjs +4 -0
- package/dist/es/_virtual/lib.mjs +4 -0
- package/dist/es/_virtual/prism-core.mjs +4 -0
- package/dist/es/_virtual/types.mjs +4 -0
- package/dist/es/_virtual/ua-parser.min.mjs +4 -0
- package/dist/es/components/Copy/index.mjs +44 -0
- package/dist/es/components/Copy/style.less.mjs +4 -0
- package/dist/es/components/Markdown/ATag/index.mjs +47 -0
- package/dist/es/components/Markdown/Code/index.mjs +69 -0
- package/dist/es/components/Markdown/Image/index.mjs +60 -0
- package/dist/es/components/Markdown/Video/index.mjs +22 -0
- package/dist/es/components/Markdown/index.mjs +75 -0
- package/dist/es/components/Markdown/style.less.mjs +4 -0
- package/dist/es/index.mjs +30 -25
- package/dist/es/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.mjs +9 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.mjs +8 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/defineProperty.mjs +12 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/extends.mjs +13 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/iterableToArray.mjs +7 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.mjs +7 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.mjs +15 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.mjs +15 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/toConsumableArray.mjs +10 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/toPrimitive.mjs +16 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/toPropertyKey.mjs +9 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/typeof.mjs +11 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.mjs +12 -0
- package/dist/es/node_modules/@react-spring/animated/dist/react-spring-animated.esm.mjs +201 -0
- package/dist/es/node_modules/@react-spring/core/dist/react-spring-core.esm.mjs +1087 -0
- package/dist/es/node_modules/@react-spring/rafz/dist/react-spring-rafz.esm.mjs +104 -0
- package/dist/es/node_modules/@react-spring/shared/dist/react-spring-shared.esm.mjs +568 -0
- package/dist/es/node_modules/@react-spring/web/dist/react-spring-web.esm.mjs +158 -0
- package/dist/es/node_modules/@use-gesture/core/dist/actions-fe213e88.esm.mjs +908 -0
- package/dist/es/node_modules/@use-gesture/core/dist/maths-0ab39ae9.esm.mjs +35 -0
- package/dist/es/node_modules/@use-gesture/core/dist/use-gesture-core.esm.mjs +242 -0
- package/dist/es/node_modules/@use-gesture/react/dist/use-gesture-react.esm.mjs +33 -0
- package/dist/es/node_modules/antd-mobile/es/components/config-provider/config-provider.mjs +20 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/image-viewer.css.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/image-viewer.mjs +78 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/index.mjs +14 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/methods.mjs +34 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/slide.mjs +178 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/slides.mjs +83 -0
- package/dist/es/node_modules/antd-mobile/es/components/mask/index.mjs +5 -0
- package/dist/es/node_modules/antd-mobile/es/components/mask/mask.css.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/components/mask/mask.mjs +84 -0
- package/dist/es/node_modules/antd-mobile/es/components/safe-area/index.mjs +5 -0
- package/dist/es/node_modules/antd-mobile/es/components/safe-area/safe-area.css.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/components/safe-area/safe-area.mjs +9 -0
- package/dist/es/node_modules/antd-mobile/es/global/global.css.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/global/index.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/locales/zh-CN.mjs +141 -0
- package/dist/es/node_modules/antd-mobile/es/utils/attach-properties-to-component.mjs +9 -0
- package/dist/es/node_modules/antd-mobile/es/utils/bound.mjs +7 -0
- package/dist/es/node_modules/antd-mobile/es/utils/can-use-dom.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/utils/convert-px.mjs +11 -0
- package/dist/es/node_modules/antd-mobile/es/utils/dev-log.mjs +7 -0
- package/dist/es/node_modules/antd-mobile/es/utils/get-container.mjs +6 -0
- package/dist/es/node_modules/antd-mobile/es/utils/get-scroll-parent.mjs +22 -0
- package/dist/es/node_modules/antd-mobile/es/utils/is-dev.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/utils/matrix.mjs +11 -0
- package/dist/es/node_modules/antd-mobile/es/utils/native-props.mjs +12 -0
- package/dist/es/node_modules/antd-mobile/es/utils/render-imperatively.mjs +47 -0
- package/dist/es/node_modules/antd-mobile/es/utils/render-to-body.mjs +12 -0
- package/dist/es/node_modules/antd-mobile/es/utils/render-to-container.mjs +13 -0
- package/dist/es/node_modules/antd-mobile/es/utils/render.mjs +52 -0
- package/dist/es/node_modules/antd-mobile/es/utils/rubberband.mjs +11 -0
- package/dist/es/node_modules/antd-mobile/es/utils/should-render.mjs +10 -0
- package/dist/es/node_modules/antd-mobile/es/utils/supports-passive.mjs +15 -0
- package/dist/es/node_modules/antd-mobile/es/utils/use-drag-and-pinch.mjs +6 -0
- package/dist/es/node_modules/antd-mobile/es/utils/use-initialized.mjs +8 -0
- package/dist/es/node_modules/antd-mobile/es/utils/use-lock-scroll.mjs +54 -0
- package/dist/es/node_modules/antd-mobile/es/utils/use-touch.mjs +32 -0
- package/dist/es/node_modules/antd-mobile/es/utils/with-default-props.mjs +11 -0
- package/dist/es/node_modules/antd-mobile/es/utils/with-stop-propagation.mjs +19 -0
- package/dist/es/node_modules/character-reference-invalid/index.json.mjs +33 -0
- package/dist/es/node_modules/classnames/index.mjs +42 -0
- package/dist/es/node_modules/hast-util-parse-selector/index.mjs +14 -0
- package/dist/es/node_modules/is-alphabetical/index.mjs +8 -0
- package/dist/es/node_modules/is-alphanumerical/index.mjs +9 -0
- package/dist/es/node_modules/is-decimal/index.mjs +8 -0
- package/dist/es/node_modules/is-hexadecimal/index.mjs +8 -0
- package/dist/es/node_modules/parse-entities/decode-entity.browser.mjs +8 -0
- package/dist/es/node_modules/parse-entities/index.mjs +83 -0
- package/dist/es/node_modules/parse-entities/node_modules/character-entities-legacy/index.json.mjs +217 -0
- package/dist/es/node_modules/property-information/find.mjs +25 -0
- package/dist/es/node_modules/property-information/html.mjs +10 -0
- package/dist/es/node_modules/property-information/lib/aria.mjs +63 -0
- package/dist/es/node_modules/property-information/lib/html.mjs +354 -0
- package/dist/es/node_modules/property-information/lib/util/case-insensitive-transform.mjs +8 -0
- package/dist/es/node_modules/property-information/lib/util/case-sensitive-transform.mjs +7 -0
- package/dist/es/node_modules/property-information/lib/util/create.mjs +13 -0
- package/dist/es/node_modules/property-information/lib/util/defined-info.mjs +18 -0
- package/dist/es/node_modules/property-information/lib/util/info.mjs +19 -0
- package/dist/es/node_modules/property-information/lib/util/merge.mjs +11 -0
- package/dist/es/node_modules/property-information/lib/util/schema.mjs +10 -0
- package/dist/es/node_modules/property-information/lib/util/types.mjs +15 -0
- package/dist/es/node_modules/property-information/lib/xlink.mjs +20 -0
- package/dist/es/node_modules/property-information/lib/xml.mjs +16 -0
- package/dist/es/node_modules/property-information/lib/xmlns.mjs +16 -0
- package/dist/es/node_modules/property-information/normalize.mjs +7 -0
- package/dist/es/node_modules/react-device-detect/dist/lib.mjs +723 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.mjs +7 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/create-element.mjs +101 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/highlight.mjs +283 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/languages/prism/supported-languages.mjs +4 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/prism.mjs +10 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/styles/prism/prism.mjs +195 -0
- package/dist/es/node_modules/refractor/core.mjs +111 -0
- package/dist/es/node_modules/refractor/index.mjs +553 -0
- package/dist/es/node_modules/refractor/lang/abap.mjs +60 -0
- package/dist/es/node_modules/refractor/lang/abnf.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/actionscript.mjs +22 -0
- package/dist/es/node_modules/refractor/lang/ada.mjs +28 -0
- package/dist/es/node_modules/refractor/lang/agda.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/al.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/antlr4.mjs +72 -0
- package/dist/es/node_modules/refractor/lang/apacheconf.mjs +59 -0
- package/dist/es/node_modules/refractor/lang/apex.mjs +69 -0
- package/dist/es/node_modules/refractor/lang/apl.mjs +44 -0
- package/dist/es/node_modules/refractor/lang/applescript.mjs +26 -0
- package/dist/es/node_modules/refractor/lang/aql.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/arduino.mjs +20 -0
- package/dist/es/node_modules/refractor/lang/arff.mjs +22 -0
- package/dist/es/node_modules/refractor/lang/asciidoc.mjs +208 -0
- package/dist/es/node_modules/refractor/lang/asm6502.mjs +41 -0
- package/dist/es/node_modules/refractor/lang/asmatmel.mjs +53 -0
- package/dist/es/node_modules/refractor/lang/aspnet.mjs +53 -0
- package/dist/es/node_modules/refractor/lang/autohotkey.mjs +40 -0
- package/dist/es/node_modules/refractor/lang/autoit.mjs +43 -0
- package/dist/es/node_modules/refractor/lang/avisynth.mjs +167 -0
- package/dist/es/node_modules/refractor/lang/avro-idl.mjs +50 -0
- package/dist/es/node_modules/refractor/lang/bash.mjs +206 -0
- package/dist/es/node_modules/refractor/lang/basic.mjs +29 -0
- package/dist/es/node_modules/refractor/lang/batch.mjs +95 -0
- package/dist/es/node_modules/refractor/lang/bbcode.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/bicep.mjs +72 -0
- package/dist/es/node_modules/refractor/lang/birb.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/bison.mjs +52 -0
- package/dist/es/node_modules/refractor/lang/bnf.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/brainfuck.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/brightscript.mjs +55 -0
- package/dist/es/node_modules/refractor/lang/bro.mjs +39 -0
- package/dist/es/node_modules/refractor/lang/bsl.mjs +77 -0
- package/dist/es/node_modules/refractor/lang/c.mjs +78 -0
- package/dist/es/node_modules/refractor/lang/cfscript.mjs +44 -0
- package/dist/es/node_modules/refractor/lang/chaiscript.mjs +65 -0
- package/dist/es/node_modules/refractor/lang/cil.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/clike.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/clojure.mjs +42 -0
- package/dist/es/node_modules/refractor/lang/cmake.mjs +41 -0
- package/dist/es/node_modules/refractor/lang/cobol.mjs +58 -0
- package/dist/es/node_modules/refractor/lang/coffeescript.mjs +86 -0
- package/dist/es/node_modules/refractor/lang/concurnas.mjs +69 -0
- package/dist/es/node_modules/refractor/lang/coq.mjs +52 -0
- package/dist/es/node_modules/refractor/lang/cpp.mjs +98 -0
- package/dist/es/node_modules/refractor/lang/crystal.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/csharp.mjs +277 -0
- package/dist/es/node_modules/refractor/lang/cshtml.mjs +104 -0
- package/dist/es/node_modules/refractor/lang/csp.mjs +61 -0
- package/dist/es/node_modules/refractor/lang/css-extras.mjs +109 -0
- package/dist/es/node_modules/refractor/lang/css.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/csv.mjs +16 -0
- package/dist/es/node_modules/refractor/lang/cypher.mjs +44 -0
- package/dist/es/node_modules/refractor/lang/d.mjs +77 -0
- package/dist/es/node_modules/refractor/lang/dart.mjs +72 -0
- package/dist/es/node_modules/refractor/lang/dataweave.mjs +49 -0
- package/dist/es/node_modules/refractor/lang/dax.mjs +39 -0
- package/dist/es/node_modules/refractor/lang/dhall.mjs +74 -0
- package/dist/es/node_modules/refractor/lang/diff.mjs +54 -0
- package/dist/es/node_modules/refractor/lang/django.mjs +60 -0
- package/dist/es/node_modules/refractor/lang/dns-zone-file.mjs +40 -0
- package/dist/es/node_modules/refractor/lang/docker.mjs +83 -0
- package/dist/es/node_modules/refractor/lang/dot.mjs +75 -0
- package/dist/es/node_modules/refractor/lang/ebnf.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/editorconfig.mjs +39 -0
- package/dist/es/node_modules/refractor/lang/eiffel.mjs +46 -0
- package/dist/es/node_modules/refractor/lang/ejs.mjs +33 -0
- package/dist/es/node_modules/refractor/lang/elixir.mjs +100 -0
- package/dist/es/node_modules/refractor/lang/elm.mjs +54 -0
- package/dist/es/node_modules/refractor/lang/erb.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/erlang.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/etlua.mjs +33 -0
- package/dist/es/node_modules/refractor/lang/excel-formula.mjs +74 -0
- package/dist/es/node_modules/refractor/lang/factor.mjs +569 -0
- package/dist/es/node_modules/refractor/lang/false.mjs +39 -0
- package/dist/es/node_modules/refractor/lang/firestore-security-rules.mjs +43 -0
- package/dist/es/node_modules/refractor/lang/flow.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/fortran.mjs +49 -0
- package/dist/es/node_modules/refractor/lang/fsharp.mjs +76 -0
- package/dist/es/node_modules/refractor/lang/ftl.mjs +102 -0
- package/dist/es/node_modules/refractor/lang/gap.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/gcode.mjs +28 -0
- package/dist/es/node_modules/refractor/lang/gdscript.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/gedcom.mjs +40 -0
- package/dist/es/node_modules/refractor/lang/gherkin.mjs +94 -0
- package/dist/es/node_modules/refractor/lang/git.mjs +75 -0
- package/dist/es/node_modules/refractor/lang/glsl.mjs +18 -0
- package/dist/es/node_modules/refractor/lang/gml.mjs +19 -0
- package/dist/es/node_modules/refractor/lang/gn.mjs +55 -0
- package/dist/es/node_modules/refractor/lang/go-module.mjs +34 -0
- package/dist/es/node_modules/refractor/lang/go.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/graphql.mjs +133 -0
- package/dist/es/node_modules/refractor/lang/groovy.mjs +58 -0
- package/dist/es/node_modules/refractor/lang/haml.mjs +132 -0
- package/dist/es/node_modules/refractor/lang/handlebars.mjs +46 -0
- package/dist/es/node_modules/refractor/lang/haskell.mjs +76 -0
- package/dist/es/node_modules/refractor/lang/haxe.mjs +84 -0
- package/dist/es/node_modules/refractor/lang/hcl.mjs +68 -0
- package/dist/es/node_modules/refractor/lang/hlsl.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/hoon.mjs +26 -0
- package/dist/es/node_modules/refractor/lang/hpkp.mjs +20 -0
- package/dist/es/node_modules/refractor/lang/hsts.mjs +20 -0
- package/dist/es/node_modules/refractor/lang/http.mjs +126 -0
- package/dist/es/node_modules/refractor/lang/ichigojam.mjs +25 -0
- package/dist/es/node_modules/refractor/lang/icon.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/icu-message-format.mjs +136 -0
- package/dist/es/node_modules/refractor/lang/idris.mjs +30 -0
- package/dist/es/node_modules/refractor/lang/iecst.mjs +38 -0
- package/dist/es/node_modules/refractor/lang/ignore.mjs +30 -0
- package/dist/es/node_modules/refractor/lang/inform7.mjs +69 -0
- package/dist/es/node_modules/refractor/lang/ini.mjs +52 -0
- package/dist/es/node_modules/refractor/lang/io.mjs +34 -0
- package/dist/es/node_modules/refractor/lang/j.mjs +40 -0
- package/dist/es/node_modules/refractor/lang/java.mjs +86 -0
- package/dist/es/node_modules/refractor/lang/javadoc.mjs +89 -0
- package/dist/es/node_modules/refractor/lang/javadoclike.mjs +60 -0
- package/dist/es/node_modules/refractor/lang/javascript.mjs +114 -0
- package/dist/es/node_modules/refractor/lang/javastacktrace.mjs +146 -0
- package/dist/es/node_modules/refractor/lang/jexl.mjs +26 -0
- package/dist/es/node_modules/refractor/lang/jolie.mjs +51 -0
- package/dist/es/node_modules/refractor/lang/jq.mjs +71 -0
- package/dist/es/node_modules/refractor/lang/js-extras.mjs +104 -0
- package/dist/es/node_modules/refractor/lang/js-templates.mjs +153 -0
- package/dist/es/node_modules/refractor/lang/jsdoc.mjs +83 -0
- package/dist/es/node_modules/refractor/lang/json.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/json5.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/jsonp.mjs +20 -0
- package/dist/es/node_modules/refractor/lang/jsstacktrace.mjs +53 -0
- package/dist/es/node_modules/refractor/lang/jsx.mjs +61 -0
- package/dist/es/node_modules/refractor/lang/julia.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/keepalived.mjs +54 -0
- package/dist/es/node_modules/refractor/lang/keyman.mjs +55 -0
- package/dist/es/node_modules/refractor/lang/kotlin.mjs +81 -0
- package/dist/es/node_modules/refractor/lang/kumir.mjs +85 -0
- package/dist/es/node_modules/refractor/lang/kusto.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/latex.mjs +68 -0
- package/dist/es/node_modules/refractor/lang/latte.mjs +68 -0
- package/dist/es/node_modules/refractor/lang/less.mjs +51 -0
- package/dist/es/node_modules/refractor/lang/lilypond.mjs +77 -0
- package/dist/es/node_modules/refractor/lang/liquid.mjs +68 -0
- package/dist/es/node_modules/refractor/lang/lisp.mjs +158 -0
- package/dist/es/node_modules/refractor/lang/livescript.mjs +119 -0
- package/dist/es/node_modules/refractor/lang/llvm.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/log.mjs +103 -0
- package/dist/es/node_modules/refractor/lang/lolcode.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/lua.mjs +29 -0
- package/dist/es/node_modules/refractor/lang/magma.mjs +42 -0
- package/dist/es/node_modules/refractor/lang/makefile.mjs +42 -0
- package/dist/es/node_modules/refractor/lang/markdown.mjs +306 -0
- package/dist/es/node_modules/refractor/lang/markup-templating.mjs +74 -0
- package/dist/es/node_modules/refractor/lang/markup.mjs +154 -0
- package/dist/es/node_modules/refractor/lang/matlab.mjs +25 -0
- package/dist/es/node_modules/refractor/lang/maxscript.mjs +70 -0
- package/dist/es/node_modules/refractor/lang/mel.mjs +49 -0
- package/dist/es/node_modules/refractor/lang/mermaid.mjs +116 -0
- package/dist/es/node_modules/refractor/lang/mizar.mjs +24 -0
- package/dist/es/node_modules/refractor/lang/mongodb.mjs +287 -0
- package/dist/es/node_modules/refractor/lang/monkey.mjs +40 -0
- package/dist/es/node_modules/refractor/lang/moonscript.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/n1ql.mjs +34 -0
- package/dist/es/node_modules/refractor/lang/n4js.mjs +22 -0
- package/dist/es/node_modules/refractor/lang/nand2tetris-hdl.mjs +21 -0
- package/dist/es/node_modules/refractor/lang/naniscript.mjs +140 -0
- package/dist/es/node_modules/refractor/lang/nasm.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/neon.mjs +52 -0
- package/dist/es/node_modules/refractor/lang/nevod.mjs +125 -0
- package/dist/es/node_modules/refractor/lang/nginx.mjs +61 -0
- package/dist/es/node_modules/refractor/lang/nim.mjs +54 -0
- package/dist/es/node_modules/refractor/lang/nix.mjs +45 -0
- package/dist/es/node_modules/refractor/lang/nsis.mjs +37 -0
- package/dist/es/node_modules/refractor/lang/objectivec.mjs +23 -0
- package/dist/es/node_modules/refractor/lang/ocaml.mjs +64 -0
- package/dist/es/node_modules/refractor/lang/opencl.mjs +62 -0
- package/dist/es/node_modules/refractor/lang/openqasm.mjs +29 -0
- package/dist/es/node_modules/refractor/lang/oz.mjs +37 -0
- package/dist/es/node_modules/refractor/lang/parigp.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/parser.mjs +80 -0
- package/dist/es/node_modules/refractor/lang/pascal.mjs +66 -0
- package/dist/es/node_modules/refractor/lang/pascaligo.mjs +70 -0
- package/dist/es/node_modules/refractor/lang/pcaxis.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/peoplecode.mjs +51 -0
- package/dist/es/node_modules/refractor/lang/perl.mjs +134 -0
- package/dist/es/node_modules/refractor/lang/php-extras.mjs +29 -0
- package/dist/es/node_modules/refractor/lang/php.mjs +301 -0
- package/dist/es/node_modules/refractor/lang/phpdoc.mjs +34 -0
- package/dist/es/node_modules/refractor/lang/plsql.mjs +30 -0
- package/dist/es/node_modules/refractor/lang/powerquery.mjs +44 -0
- package/dist/es/node_modules/refractor/lang/powershell.mjs +58 -0
- package/dist/es/node_modules/refractor/lang/processing.mjs +25 -0
- package/dist/es/node_modules/refractor/lang/prolog.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/promql.mjs +74 -0
- package/dist/es/node_modules/refractor/lang/properties.mjs +21 -0
- package/dist/es/node_modules/refractor/lang/protobuf.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/psl.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/pug.mjs +173 -0
- package/dist/es/node_modules/refractor/lang/puppet.mjs +140 -0
- package/dist/es/node_modules/refractor/lang/pure.mjs +72 -0
- package/dist/es/node_modules/refractor/lang/purebasic.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/purescript.mjs +41 -0
- package/dist/es/node_modules/refractor/lang/python.mjs +73 -0
- package/dist/es/node_modules/refractor/lang/q.mjs +62 -0
- package/dist/es/node_modules/refractor/lang/qml.mjs +67 -0
- package/dist/es/node_modules/refractor/lang/qore.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/qsharp.mjs +93 -0
- package/dist/es/node_modules/refractor/lang/r.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/racket.mjs +29 -0
- package/dist/es/node_modules/refractor/lang/reason.mjs +33 -0
- package/dist/es/node_modules/refractor/lang/regex.mjs +97 -0
- package/dist/es/node_modules/refractor/lang/rego.mjs +37 -0
- package/dist/es/node_modules/refractor/lang/renpy.mjs +30 -0
- package/dist/es/node_modules/refractor/lang/rest.mjs +199 -0
- package/dist/es/node_modules/refractor/lang/rip.mjs +41 -0
- package/dist/es/node_modules/refractor/lang/roboconf.mjs +39 -0
- package/dist/es/node_modules/refractor/lang/robotframework.mjs +95 -0
- package/dist/es/node_modules/refractor/lang/ruby.mjs +159 -0
- package/dist/es/node_modules/refractor/lang/rust.mjs +122 -0
- package/dist/es/node_modules/refractor/lang/sas.mjs +305 -0
- package/dist/es/node_modules/refractor/lang/sass.mjs +69 -0
- package/dist/es/node_modules/refractor/lang/scala.mjs +59 -0
- package/dist/es/node_modules/refractor/lang/scheme.mjs +120 -0
- package/dist/es/node_modules/refractor/lang/scss.mjs +82 -0
- package/dist/es/node_modules/refractor/lang/shell-session.mjs +69 -0
- package/dist/es/node_modules/refractor/lang/smali.mjs +84 -0
- package/dist/es/node_modules/refractor/lang/smalltalk.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/smarty.mjs +106 -0
- package/dist/es/node_modules/refractor/lang/sml.mjs +64 -0
- package/dist/es/node_modules/refractor/lang/solidity.mjs +28 -0
- package/dist/es/node_modules/refractor/lang/solution-file.mjs +58 -0
- package/dist/es/node_modules/refractor/lang/soy.mjs +77 -0
- package/dist/es/node_modules/refractor/lang/sparql.mjs +24 -0
- package/dist/es/node_modules/refractor/lang/splunk-spl.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/sqf.mjs +42 -0
- package/dist/es/node_modules/refractor/lang/sql.mjs +42 -0
- package/dist/es/node_modules/refractor/lang/squirrel.mjs +50 -0
- package/dist/es/node_modules/refractor/lang/stan.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/stylus.mjs +141 -0
- package/dist/es/node_modules/refractor/lang/swift.mjs +125 -0
- package/dist/es/node_modules/refractor/lang/systemd.mjs +65 -0
- package/dist/es/node_modules/refractor/lang/t4-cs.mjs +17 -0
- package/dist/es/node_modules/refractor/lang/t4-templating.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/t4-vb.mjs +17 -0
- package/dist/es/node_modules/refractor/lang/tap.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/tcl.mjs +51 -0
- package/dist/es/node_modules/refractor/lang/textile.mjs +248 -0
- package/dist/es/node_modules/refractor/lang/toml.mjs +54 -0
- package/dist/es/node_modules/refractor/lang/tremor.mjs +67 -0
- package/dist/es/node_modules/refractor/lang/tsx.mjs +22 -0
- package/dist/es/node_modules/refractor/lang/tt2.mjs +53 -0
- package/dist/es/node_modules/refractor/lang/turtle.mjs +62 -0
- package/dist/es/node_modules/refractor/lang/twig.mjs +48 -0
- package/dist/es/node_modules/refractor/lang/typescript.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/typoscript.mjs +81 -0
- package/dist/es/node_modules/refractor/lang/unrealscript.mjs +50 -0
- package/dist/es/node_modules/refractor/lang/uorazor.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/uri.mjs +92 -0
- package/dist/es/node_modules/refractor/lang/v.mjs +85 -0
- package/dist/es/node_modules/refractor/lang/vala.mjs +87 -0
- package/dist/es/node_modules/refractor/lang/vbnet.mjs +34 -0
- package/dist/es/node_modules/refractor/lang/velocity.mjs +75 -0
- package/dist/es/node_modules/refractor/lang/verilog.mjs +38 -0
- package/dist/es/node_modules/refractor/lang/vhdl.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/vim.mjs +22 -0
- package/dist/es/node_modules/refractor/lang/visual-basic.mjs +38 -0
- package/dist/es/node_modules/refractor/lang/warpscript.mjs +33 -0
- package/dist/es/node_modules/refractor/lang/wasm.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/web-idl.mjs +89 -0
- package/dist/es/node_modules/refractor/lang/wiki.mjs +86 -0
- package/dist/es/node_modules/refractor/lang/wolfram.mjs +37 -0
- package/dist/es/node_modules/refractor/lang/wren.mjs +97 -0
- package/dist/es/node_modules/refractor/lang/xeora.mjs +121 -0
- package/dist/es/node_modules/refractor/lang/xml-doc.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/xojo.mjs +30 -0
- package/dist/es/node_modules/refractor/lang/xquery.mjs +89 -0
- package/dist/es/node_modules/refractor/lang/yaml.mjs +78 -0
- package/dist/es/node_modules/refractor/lang/yang.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/zig.mjs +80 -0
- package/dist/es/node_modules/refractor/node_modules/comma-separated-tokens/index.mjs +16 -0
- package/dist/es/node_modules/refractor/node_modules/hastscript/factory.mjs +77 -0
- package/dist/es/node_modules/refractor/node_modules/hastscript/html.mjs +8 -0
- package/dist/es/node_modules/refractor/node_modules/hastscript/index.mjs +5 -0
- package/dist/es/node_modules/refractor/node_modules/prismjs/components/prism-core.mjs +720 -0
- package/dist/es/node_modules/refractor/node_modules/space-separated-tokens/index.mjs +14 -0
- package/dist/es/node_modules/tslib/tslib.es6.mjs +30 -0
- package/dist/es/node_modules/ua-parser-js/dist/ua-parser.min.mjs +123 -0
- package/dist/es/node_modules/xtend/immutable.mjs +12 -0
- package/dist/es/utils/clipboard.mjs +38 -0
- package/dist/es/utils/markdown/index.mjs +29 -0
- package/dist/lib/index.js +25 -1
- package/dist/src/components/Copy/index.d.ts +5 -0
- package/dist/src/components/Markdown/ATag/index.d.ts +2 -0
- package/dist/src/components/Markdown/Code/index.d.ts +2 -0
- package/dist/src/components/Markdown/Image/index.d.ts +2 -0
- package/dist/src/components/Markdown/Video/index.d.ts +2 -0
- package/dist/src/components/Markdown/index.d.ts +9 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/utils/clipboard.d.ts +11 -0
- package/dist/src/utils/markdown/index.d.ts +10 -0
- package/package.json +18 -2
- package/dist/es/style.css +0 -1
- package/dist/lib/style.css +0 -1
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { __require as d } from "./markup-templating.mjs";
|
|
2
|
+
var t, u;
|
|
3
|
+
function g() {
|
|
4
|
+
if (u)
|
|
5
|
+
return t;
|
|
6
|
+
u = 1;
|
|
7
|
+
var l = d();
|
|
8
|
+
t = o, o.displayName = "django", o.aliases = ["jinja2"];
|
|
9
|
+
function o(r) {
|
|
10
|
+
r.register(l), function(e) {
|
|
11
|
+
e.languages.django = {
|
|
12
|
+
comment: /^\{#[\s\S]*?#\}$/,
|
|
13
|
+
tag: {
|
|
14
|
+
pattern: /(^\{%[+-]?\s*)\w+/,
|
|
15
|
+
lookbehind: !0,
|
|
16
|
+
alias: "keyword"
|
|
17
|
+
},
|
|
18
|
+
delimiter: {
|
|
19
|
+
pattern: /^\{[{%][+-]?|[+-]?[}%]\}$/,
|
|
20
|
+
alias: "punctuation"
|
|
21
|
+
},
|
|
22
|
+
string: {
|
|
23
|
+
pattern: /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,
|
|
24
|
+
greedy: !0
|
|
25
|
+
},
|
|
26
|
+
filter: {
|
|
27
|
+
pattern: /(\|)\w+/,
|
|
28
|
+
lookbehind: !0,
|
|
29
|
+
alias: "function"
|
|
30
|
+
},
|
|
31
|
+
test: {
|
|
32
|
+
pattern: /(\bis\s+(?:not\s+)?)(?!not\b)\w+/,
|
|
33
|
+
lookbehind: !0,
|
|
34
|
+
alias: "function"
|
|
35
|
+
},
|
|
36
|
+
function: /\b[a-z_]\w+(?=\s*\()/i,
|
|
37
|
+
keyword: /\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,
|
|
38
|
+
operator: /[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,
|
|
39
|
+
number: /\b\d+(?:\.\d+)?\b/,
|
|
40
|
+
boolean: /[Ff]alse|[Nn]one|[Tt]rue/,
|
|
41
|
+
variable: /\b\w+\b/,
|
|
42
|
+
punctuation: /[{}[\](),.:;]/
|
|
43
|
+
};
|
|
44
|
+
var i = /\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g, n = e.languages["markup-templating"];
|
|
45
|
+
e.hooks.add("before-tokenize", function(a) {
|
|
46
|
+
n.buildPlaceholders(a, "django", i);
|
|
47
|
+
}), e.hooks.add("after-tokenize", function(a) {
|
|
48
|
+
n.tokenizePlaceholders(a, "django");
|
|
49
|
+
}), e.languages.jinja2 = e.languages.django, e.hooks.add("before-tokenize", function(a) {
|
|
50
|
+
n.buildPlaceholders(a, "jinja2", i);
|
|
51
|
+
}), e.hooks.add("after-tokenize", function(a) {
|
|
52
|
+
n.tokenizePlaceholders(a, "jinja2");
|
|
53
|
+
});
|
|
54
|
+
}(r);
|
|
55
|
+
}
|
|
56
|
+
return t;
|
|
57
|
+
}
|
|
58
|
+
export {
|
|
59
|
+
g as __require
|
|
60
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
var S, N;
|
|
2
|
+
function a() {
|
|
3
|
+
if (N)
|
|
4
|
+
return S;
|
|
5
|
+
N = 1, S = e, e.displayName = "dnsZoneFile", e.aliases = [];
|
|
6
|
+
function e(n) {
|
|
7
|
+
n.languages["dns-zone-file"] = {
|
|
8
|
+
comment: /;.*/,
|
|
9
|
+
string: {
|
|
10
|
+
pattern: /"(?:\\.|[^"\\\r\n])*"/,
|
|
11
|
+
greedy: !0
|
|
12
|
+
},
|
|
13
|
+
variable: [{
|
|
14
|
+
pattern: /(^\$ORIGIN[ \t]+)\S+/m,
|
|
15
|
+
lookbehind: !0
|
|
16
|
+
}, {
|
|
17
|
+
pattern: /(^|\s)@(?=\s|$)/,
|
|
18
|
+
lookbehind: !0
|
|
19
|
+
}],
|
|
20
|
+
keyword: /^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,
|
|
21
|
+
class: {
|
|
22
|
+
// https://tools.ietf.org/html/rfc1035#page-13
|
|
23
|
+
pattern: /(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,
|
|
24
|
+
lookbehind: !0,
|
|
25
|
+
alias: "keyword"
|
|
26
|
+
},
|
|
27
|
+
type: {
|
|
28
|
+
// https://en.wikipedia.org/wiki/List_of_DNS_record_types
|
|
29
|
+
pattern: /(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,
|
|
30
|
+
lookbehind: !0,
|
|
31
|
+
alias: "keyword"
|
|
32
|
+
},
|
|
33
|
+
punctuation: /[()]/
|
|
34
|
+
}, n.languages["dns-zone"] = n.languages["dns-zone-file"];
|
|
35
|
+
}
|
|
36
|
+
return S;
|
|
37
|
+
}
|
|
38
|
+
export {
|
|
39
|
+
a as __require
|
|
40
|
+
};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
var o, c;
|
|
2
|
+
function l() {
|
|
3
|
+
if (c)
|
|
4
|
+
return o;
|
|
5
|
+
c = 1, o = r, r.displayName = "docker", r.aliases = ["dockerfile"];
|
|
6
|
+
function r(s) {
|
|
7
|
+
(function(t) {
|
|
8
|
+
var S = /\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source, d = /(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g, function() {
|
|
9
|
+
return S;
|
|
10
|
+
}), u = /"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source, p = /--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g, function() {
|
|
11
|
+
return u;
|
|
12
|
+
}), a = {
|
|
13
|
+
pattern: RegExp(u),
|
|
14
|
+
greedy: !0
|
|
15
|
+
}, i = {
|
|
16
|
+
pattern: /(^[ \t]*)#.*/m,
|
|
17
|
+
lookbehind: !0,
|
|
18
|
+
greedy: !0
|
|
19
|
+
};
|
|
20
|
+
function e(n, g) {
|
|
21
|
+
return n = n.replace(/<OPT>/g, function() {
|
|
22
|
+
return p;
|
|
23
|
+
}).replace(/<SP>/g, function() {
|
|
24
|
+
return d;
|
|
25
|
+
}), RegExp(n, g);
|
|
26
|
+
}
|
|
27
|
+
t.languages.docker = {
|
|
28
|
+
instruction: {
|
|
29
|
+
pattern: /(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,
|
|
30
|
+
lookbehind: !0,
|
|
31
|
+
greedy: !0,
|
|
32
|
+
inside: {
|
|
33
|
+
options: {
|
|
34
|
+
pattern: e(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source, "i"),
|
|
35
|
+
lookbehind: !0,
|
|
36
|
+
greedy: !0,
|
|
37
|
+
inside: {
|
|
38
|
+
property: {
|
|
39
|
+
pattern: /(^|\s)--[\w-]+/,
|
|
40
|
+
lookbehind: !0
|
|
41
|
+
},
|
|
42
|
+
string: [a, {
|
|
43
|
+
pattern: /(=)(?!["'])(?:[^\s\\]|\\.)+/,
|
|
44
|
+
lookbehind: !0
|
|
45
|
+
}],
|
|
46
|
+
operator: /\\$/m,
|
|
47
|
+
punctuation: /=/
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
keyword: [{
|
|
51
|
+
// https://docs.docker.com/engine/reference/builder/#healthcheck
|
|
52
|
+
pattern: e(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source, "i"),
|
|
53
|
+
lookbehind: !0,
|
|
54
|
+
greedy: !0
|
|
55
|
+
}, {
|
|
56
|
+
// https://docs.docker.com/engine/reference/builder/#from
|
|
57
|
+
pattern: e(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source, "i"),
|
|
58
|
+
lookbehind: !0,
|
|
59
|
+
greedy: !0
|
|
60
|
+
}, {
|
|
61
|
+
// https://docs.docker.com/engine/reference/builder/#onbuild
|
|
62
|
+
pattern: e(/(^ONBUILD<SP>)\w+/.source, "i"),
|
|
63
|
+
lookbehind: !0,
|
|
64
|
+
greedy: !0
|
|
65
|
+
}, {
|
|
66
|
+
pattern: /^\w+/,
|
|
67
|
+
greedy: !0
|
|
68
|
+
}],
|
|
69
|
+
comment: i,
|
|
70
|
+
string: a,
|
|
71
|
+
variable: /\$(?:\w+|\{[^{}"'\\]*\})/,
|
|
72
|
+
operator: /\\$/m
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
comment: i
|
|
76
|
+
}, t.languages.dockerfile = t.languages.docker;
|
|
77
|
+
})(s);
|
|
78
|
+
}
|
|
79
|
+
return o;
|
|
80
|
+
}
|
|
81
|
+
export {
|
|
82
|
+
l as __require
|
|
83
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
var n, u;
|
|
2
|
+
function g() {
|
|
3
|
+
if (u)
|
|
4
|
+
return n;
|
|
5
|
+
u = 1, n = a, a.displayName = "dot", a.aliases = ["gv"];
|
|
6
|
+
function a(o) {
|
|
7
|
+
(function(e) {
|
|
8
|
+
var i = "(?:" + [
|
|
9
|
+
// an identifier
|
|
10
|
+
/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,
|
|
11
|
+
// a number
|
|
12
|
+
/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,
|
|
13
|
+
// a double-quoted string
|
|
14
|
+
/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,
|
|
15
|
+
// HTML-like string
|
|
16
|
+
/<(?:[^<>]|(?!<!--)<(?:[^<>"']|"[^"]*"|'[^']*')+>|<!--(?:[^-]|-(?!->))*-->)*>/.source
|
|
17
|
+
].join("|") + ")", r = {
|
|
18
|
+
markup: {
|
|
19
|
+
pattern: /(^<)[\s\S]+(?=>$)/,
|
|
20
|
+
lookbehind: !0,
|
|
21
|
+
alias: ["language-markup", "language-html", "language-xml"],
|
|
22
|
+
inside: e.languages.markup
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
function t(s, d) {
|
|
26
|
+
return RegExp(s.replace(/<ID>/g, function() {
|
|
27
|
+
return i;
|
|
28
|
+
}), d);
|
|
29
|
+
}
|
|
30
|
+
e.languages.dot = {
|
|
31
|
+
comment: {
|
|
32
|
+
pattern: /\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,
|
|
33
|
+
greedy: !0
|
|
34
|
+
},
|
|
35
|
+
"graph-name": {
|
|
36
|
+
pattern: t(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)<ID>/.source, "i"),
|
|
37
|
+
lookbehind: !0,
|
|
38
|
+
greedy: !0,
|
|
39
|
+
alias: "class-name",
|
|
40
|
+
inside: r
|
|
41
|
+
},
|
|
42
|
+
"attr-value": {
|
|
43
|
+
pattern: t(/(=[ \t\r\n]*)<ID>/.source),
|
|
44
|
+
lookbehind: !0,
|
|
45
|
+
greedy: !0,
|
|
46
|
+
inside: r
|
|
47
|
+
},
|
|
48
|
+
"attr-name": {
|
|
49
|
+
pattern: t(/([\[;, \t\r\n])<ID>(?=[ \t\r\n]*=)/.source),
|
|
50
|
+
lookbehind: !0,
|
|
51
|
+
greedy: !0,
|
|
52
|
+
inside: r
|
|
53
|
+
},
|
|
54
|
+
keyword: /\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,
|
|
55
|
+
"compass-point": {
|
|
56
|
+
pattern: /(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,
|
|
57
|
+
lookbehind: !0,
|
|
58
|
+
alias: "builtin"
|
|
59
|
+
},
|
|
60
|
+
node: {
|
|
61
|
+
pattern: t(/(^|[^-.\w\x80-\uFFFF\\])<ID>/.source),
|
|
62
|
+
lookbehind: !0,
|
|
63
|
+
greedy: !0,
|
|
64
|
+
inside: r
|
|
65
|
+
},
|
|
66
|
+
operator: /[=:]|-[->]/,
|
|
67
|
+
punctuation: /[\[\]{};,]/
|
|
68
|
+
}, e.languages.gv = e.languages.dot;
|
|
69
|
+
})(o);
|
|
70
|
+
}
|
|
71
|
+
return n;
|
|
72
|
+
}
|
|
73
|
+
export {
|
|
74
|
+
g as __require
|
|
75
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
var r, n;
|
|
2
|
+
function t() {
|
|
3
|
+
if (n)
|
|
4
|
+
return r;
|
|
5
|
+
n = 1, r = e, e.displayName = "ebnf", e.aliases = [];
|
|
6
|
+
function e(a) {
|
|
7
|
+
a.languages.ebnf = {
|
|
8
|
+
comment: /\(\*[\s\S]*?\*\)/,
|
|
9
|
+
string: {
|
|
10
|
+
pattern: /"[^"\r\n]*"|'[^'\r\n]*'/,
|
|
11
|
+
greedy: !0
|
|
12
|
+
},
|
|
13
|
+
special: {
|
|
14
|
+
pattern: /\?[^?\r\n]*\?/,
|
|
15
|
+
greedy: !0,
|
|
16
|
+
alias: "class-name"
|
|
17
|
+
},
|
|
18
|
+
definition: {
|
|
19
|
+
pattern: /^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,
|
|
20
|
+
lookbehind: !0,
|
|
21
|
+
alias: ["rule", "keyword"]
|
|
22
|
+
},
|
|
23
|
+
rule: /\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,
|
|
24
|
+
punctuation: /\([:/]|[:/]\)|[.,;()[\]{}]/,
|
|
25
|
+
operator: /[-=|*/!]/
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
return r;
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
t as __require
|
|
32
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
var t, i;
|
|
2
|
+
function a() {
|
|
3
|
+
if (i)
|
|
4
|
+
return t;
|
|
5
|
+
i = 1, t = e, e.displayName = "editorconfig", e.aliases = [];
|
|
6
|
+
function e(r) {
|
|
7
|
+
r.languages.editorconfig = {
|
|
8
|
+
// https://editorconfig-specification.readthedocs.io
|
|
9
|
+
comment: /[;#].*/,
|
|
10
|
+
section: {
|
|
11
|
+
pattern: /(^[ \t]*)\[.+\]/m,
|
|
12
|
+
lookbehind: !0,
|
|
13
|
+
alias: "selector",
|
|
14
|
+
inside: {
|
|
15
|
+
regex: /\\\\[\[\]{},!?.*]/,
|
|
16
|
+
// Escape special characters with '\\'
|
|
17
|
+
operator: /[!?]|\.\.|\*{1,2}/,
|
|
18
|
+
punctuation: /[\[\]{},]/
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
key: {
|
|
22
|
+
pattern: /(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,
|
|
23
|
+
lookbehind: !0,
|
|
24
|
+
alias: "attr-name"
|
|
25
|
+
},
|
|
26
|
+
value: {
|
|
27
|
+
pattern: /=.*/,
|
|
28
|
+
alias: "attr-value",
|
|
29
|
+
inside: {
|
|
30
|
+
punctuation: /^=/
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
return t;
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
a as __require
|
|
39
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
var r, a;
|
|
2
|
+
function t() {
|
|
3
|
+
if (a)
|
|
4
|
+
return r;
|
|
5
|
+
a = 1, r = e, e.displayName = "eiffel", e.aliases = [];
|
|
6
|
+
function e(n) {
|
|
7
|
+
n.languages.eiffel = {
|
|
8
|
+
comment: /--.*/,
|
|
9
|
+
string: [
|
|
10
|
+
// Aligned-verbatim-strings
|
|
11
|
+
{
|
|
12
|
+
pattern: /"([^[]*)\[[\s\S]*?\]\1"/,
|
|
13
|
+
greedy: !0
|
|
14
|
+
},
|
|
15
|
+
// Non-aligned-verbatim-strings
|
|
16
|
+
{
|
|
17
|
+
pattern: /"([^{]*)\{[\s\S]*?\}\1"/,
|
|
18
|
+
greedy: !0
|
|
19
|
+
},
|
|
20
|
+
// Single-line string
|
|
21
|
+
{
|
|
22
|
+
pattern: /"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,
|
|
23
|
+
greedy: !0
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
// normal char | special char | char code
|
|
27
|
+
char: /'(?:%.|[^%'\r\n])+'/,
|
|
28
|
+
keyword: /\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,
|
|
29
|
+
boolean: /\b(?:False|True)\b/i,
|
|
30
|
+
// Convention: class-names are always all upper-case characters
|
|
31
|
+
"class-name": /\b[A-Z][\dA-Z_]*\b/,
|
|
32
|
+
number: [
|
|
33
|
+
// hexa | octal | bin
|
|
34
|
+
/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,
|
|
35
|
+
// Decimal
|
|
36
|
+
/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i
|
|
37
|
+
],
|
|
38
|
+
punctuation: /:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,
|
|
39
|
+
operator: /\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
return r;
|
|
43
|
+
}
|
|
44
|
+
export {
|
|
45
|
+
t as __require
|
|
46
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { __require as o } from "./markup-templating.mjs";
|
|
2
|
+
var n, s;
|
|
3
|
+
function l() {
|
|
4
|
+
if (s)
|
|
5
|
+
return n;
|
|
6
|
+
s = 1;
|
|
7
|
+
var u = o();
|
|
8
|
+
n = a, a.displayName = "ejs", a.aliases = ["eta"];
|
|
9
|
+
function a(r) {
|
|
10
|
+
r.register(u), function(e) {
|
|
11
|
+
e.languages.ejs = {
|
|
12
|
+
delimiter: {
|
|
13
|
+
pattern: /^<%[-_=]?|[-_]?%>$/,
|
|
14
|
+
alias: "punctuation"
|
|
15
|
+
},
|
|
16
|
+
comment: /^#[\s\S]*/,
|
|
17
|
+
"language-javascript": {
|
|
18
|
+
pattern: /[\s\S]+/,
|
|
19
|
+
inside: e.languages.javascript
|
|
20
|
+
}
|
|
21
|
+
}, e.hooks.add("before-tokenize", function(t) {
|
|
22
|
+
var i = /<%(?!%)[\s\S]+?%>/g;
|
|
23
|
+
e.languages["markup-templating"].buildPlaceholders(t, "ejs", i);
|
|
24
|
+
}), e.hooks.add("after-tokenize", function(t) {
|
|
25
|
+
e.languages["markup-templating"].tokenizePlaceholders(t, "ejs");
|
|
26
|
+
}), e.languages.eta = e.languages.ejs;
|
|
27
|
+
}(r);
|
|
28
|
+
}
|
|
29
|
+
return n;
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
l as __require
|
|
33
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
var t, n;
|
|
2
|
+
function i() {
|
|
3
|
+
if (n)
|
|
4
|
+
return t;
|
|
5
|
+
n = 1, t = e, e.displayName = "elixir", e.aliases = [];
|
|
6
|
+
function e(r) {
|
|
7
|
+
r.languages.elixir = {
|
|
8
|
+
doc: {
|
|
9
|
+
pattern: /@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,
|
|
10
|
+
inside: {
|
|
11
|
+
attribute: /^@\w+/,
|
|
12
|
+
string: /['"][\s\S]+/
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
comment: {
|
|
16
|
+
pattern: /#.*/,
|
|
17
|
+
greedy: !0
|
|
18
|
+
},
|
|
19
|
+
// ~r"""foo""" (multi-line), ~r'''foo''' (multi-line), ~r/foo/, ~r|foo|, ~r"foo", ~r'foo', ~r(foo), ~r[foo], ~r{foo}, ~r<foo>
|
|
20
|
+
regex: {
|
|
21
|
+
pattern: /~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,
|
|
22
|
+
greedy: !0
|
|
23
|
+
},
|
|
24
|
+
string: [{
|
|
25
|
+
// ~s"""foo""" (multi-line), ~s'''foo''' (multi-line), ~s/foo/, ~s|foo|, ~s"foo", ~s'foo', ~s(foo), ~s[foo], ~s{foo} (with interpolation care), ~s<foo>
|
|
26
|
+
pattern: /~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,
|
|
27
|
+
greedy: !0,
|
|
28
|
+
inside: {
|
|
29
|
+
// See interpolation below
|
|
30
|
+
}
|
|
31
|
+
}, {
|
|
32
|
+
pattern: /("""|''')[\s\S]*?\1/,
|
|
33
|
+
greedy: !0,
|
|
34
|
+
inside: {
|
|
35
|
+
// See interpolation below
|
|
36
|
+
}
|
|
37
|
+
}, {
|
|
38
|
+
// Multi-line strings are allowed
|
|
39
|
+
pattern: /("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
|
|
40
|
+
greedy: !0,
|
|
41
|
+
inside: {
|
|
42
|
+
// See interpolation below
|
|
43
|
+
}
|
|
44
|
+
}],
|
|
45
|
+
atom: {
|
|
46
|
+
// Look-behind prevents bad highlighting of the :: operator
|
|
47
|
+
pattern: /(^|[^:]):\w+/,
|
|
48
|
+
lookbehind: !0,
|
|
49
|
+
alias: "symbol"
|
|
50
|
+
},
|
|
51
|
+
module: {
|
|
52
|
+
pattern: /\b[A-Z]\w*\b/,
|
|
53
|
+
alias: "class-name"
|
|
54
|
+
},
|
|
55
|
+
// Look-ahead prevents bad highlighting of the :: operator
|
|
56
|
+
"attr-name": /\b\w+\??:(?!:)/,
|
|
57
|
+
argument: {
|
|
58
|
+
// Look-behind prevents bad highlighting of the && operator
|
|
59
|
+
pattern: /(^|[^&])&\d+/,
|
|
60
|
+
lookbehind: !0,
|
|
61
|
+
alias: "variable"
|
|
62
|
+
},
|
|
63
|
+
attribute: {
|
|
64
|
+
pattern: /@\w+/,
|
|
65
|
+
alias: "variable"
|
|
66
|
+
},
|
|
67
|
+
function: /\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,
|
|
68
|
+
number: /\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,
|
|
69
|
+
keyword: /\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,
|
|
70
|
+
boolean: /\b(?:false|nil|true)\b/,
|
|
71
|
+
operator: [/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/, {
|
|
72
|
+
// We don't want to match <<
|
|
73
|
+
pattern: /([^<])<(?!<)/,
|
|
74
|
+
lookbehind: !0
|
|
75
|
+
}, {
|
|
76
|
+
// We don't want to match >>
|
|
77
|
+
pattern: /([^>])>(?!>)/,
|
|
78
|
+
lookbehind: !0
|
|
79
|
+
}],
|
|
80
|
+
punctuation: /<<|>>|[.,%\[\]{}()]/
|
|
81
|
+
}, r.languages.elixir.string.forEach(function(a) {
|
|
82
|
+
a.inside = {
|
|
83
|
+
interpolation: {
|
|
84
|
+
pattern: /#\{[^}]+\}/,
|
|
85
|
+
inside: {
|
|
86
|
+
delimiter: {
|
|
87
|
+
pattern: /^#\{|\}$/,
|
|
88
|
+
alias: "punctuation"
|
|
89
|
+
},
|
|
90
|
+
rest: r.languages.elixir
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
return t;
|
|
97
|
+
}
|
|
98
|
+
export {
|
|
99
|
+
i as __require
|
|
100
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
var r, a;
|
|
2
|
+
function n() {
|
|
3
|
+
if (a)
|
|
4
|
+
return r;
|
|
5
|
+
a = 1, r = e, e.displayName = "elm", e.aliases = [];
|
|
6
|
+
function e(t) {
|
|
7
|
+
t.languages.elm = {
|
|
8
|
+
comment: /--.*|\{-[\s\S]*?-\}/,
|
|
9
|
+
char: {
|
|
10
|
+
pattern: /'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,
|
|
11
|
+
greedy: !0
|
|
12
|
+
},
|
|
13
|
+
string: [{
|
|
14
|
+
// Multiline strings are wrapped in triple ". Quotes may appear unescaped.
|
|
15
|
+
pattern: /"""[\s\S]*?"""/,
|
|
16
|
+
greedy: !0
|
|
17
|
+
}, {
|
|
18
|
+
pattern: /"(?:[^\\"\r\n]|\\.)*"/,
|
|
19
|
+
greedy: !0
|
|
20
|
+
}],
|
|
21
|
+
"import-statement": {
|
|
22
|
+
// The imported or hidden names are not included in this import
|
|
23
|
+
// statement. This is because we want to highlight those exactly like
|
|
24
|
+
// we do for the names in the program.
|
|
25
|
+
pattern: /(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,
|
|
26
|
+
lookbehind: !0,
|
|
27
|
+
inside: {
|
|
28
|
+
keyword: /\b(?:as|exposing|import)\b/
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
keyword: /\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,
|
|
32
|
+
// These are builtin variables only. Constructors are highlighted later as a constant.
|
|
33
|
+
builtin: /\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,
|
|
34
|
+
// decimal integers and floating point numbers | hexadecimal integers
|
|
35
|
+
number: /\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,
|
|
36
|
+
// Most of this is needed because of the meaning of a single '.'.
|
|
37
|
+
// If it stands alone freely, it is the function composition.
|
|
38
|
+
// It may also be a separator between a module name and an identifier => no
|
|
39
|
+
// operator. If it comes together with other special characters it is an
|
|
40
|
+
// operator too.
|
|
41
|
+
// Valid operator characters in 0.18: +-/*=.$<>:&|^?%#@~!
|
|
42
|
+
// Ref: https://groups.google.com/forum/#!msg/elm-dev/0AHSnDdkSkQ/E0SVU70JEQAJ
|
|
43
|
+
operator: /\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,
|
|
44
|
+
// In Elm, nearly everything is a variable, do not highlight these.
|
|
45
|
+
hvariable: /\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,
|
|
46
|
+
constant: /\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,
|
|
47
|
+
punctuation: /[{}[\]|(),.:]/
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
return r;
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
n as __require
|
|
54
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { __require as b } from "./ruby.mjs";
|
|
2
|
+
import { __require as g } from "./markup-templating.mjs";
|
|
3
|
+
var t, u;
|
|
4
|
+
function d() {
|
|
5
|
+
if (u)
|
|
6
|
+
return t;
|
|
7
|
+
u = 1;
|
|
8
|
+
var i = b(), o = g();
|
|
9
|
+
t = r, r.displayName = "erb", r.aliases = [];
|
|
10
|
+
function r(a) {
|
|
11
|
+
a.register(i), a.register(o), function(e) {
|
|
12
|
+
e.languages.erb = {
|
|
13
|
+
delimiter: {
|
|
14
|
+
pattern: /^(\s*)<%=?|%>(?=\s*$)/,
|
|
15
|
+
lookbehind: !0,
|
|
16
|
+
alias: "punctuation"
|
|
17
|
+
},
|
|
18
|
+
ruby: {
|
|
19
|
+
pattern: /\s*\S[\s\S]*/,
|
|
20
|
+
alias: "language-ruby",
|
|
21
|
+
inside: e.languages.ruby
|
|
22
|
+
}
|
|
23
|
+
}, e.hooks.add("before-tokenize", function(n) {
|
|
24
|
+
var l = /<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;
|
|
25
|
+
e.languages["markup-templating"].buildPlaceholders(n, "erb", l);
|
|
26
|
+
}), e.hooks.add("after-tokenize", function(n) {
|
|
27
|
+
e.languages["markup-templating"].tokenizePlaceholders(n, "erb");
|
|
28
|
+
});
|
|
29
|
+
}(a);
|
|
30
|
+
}
|
|
31
|
+
return t;
|
|
32
|
+
}
|
|
33
|
+
export {
|
|
34
|
+
d as __require
|
|
35
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
var r, a;
|
|
2
|
+
function t() {
|
|
3
|
+
if (a)
|
|
4
|
+
return r;
|
|
5
|
+
a = 1, r = e, e.displayName = "erlang", e.aliases = [];
|
|
6
|
+
function e(n) {
|
|
7
|
+
n.languages.erlang = {
|
|
8
|
+
comment: /%.+/,
|
|
9
|
+
string: {
|
|
10
|
+
pattern: /"(?:\\.|[^\\"\r\n])*"/,
|
|
11
|
+
greedy: !0
|
|
12
|
+
},
|
|
13
|
+
"quoted-function": {
|
|
14
|
+
pattern: /'(?:\\.|[^\\'\r\n])+'(?=\()/,
|
|
15
|
+
alias: "function"
|
|
16
|
+
},
|
|
17
|
+
"quoted-atom": {
|
|
18
|
+
pattern: /'(?:\\.|[^\\'\r\n])+'/,
|
|
19
|
+
alias: "atom"
|
|
20
|
+
},
|
|
21
|
+
boolean: /\b(?:false|true)\b/,
|
|
22
|
+
keyword: /\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,
|
|
23
|
+
number: [/\$\\?./, /\b\d+#[a-z0-9]+/i, /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],
|
|
24
|
+
function: /\b[a-z][\w@]*(?=\()/,
|
|
25
|
+
variable: {
|
|
26
|
+
// Look-behind is used to prevent wrong highlighting of atoms containing "@"
|
|
27
|
+
pattern: /(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,
|
|
28
|
+
lookbehind: !0
|
|
29
|
+
},
|
|
30
|
+
operator: [/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/, {
|
|
31
|
+
// We don't want to match <<
|
|
32
|
+
pattern: /(^|[^<])<(?!<)/,
|
|
33
|
+
lookbehind: !0
|
|
34
|
+
}, {
|
|
35
|
+
// We don't want to match >>
|
|
36
|
+
pattern: /(^|[^>])>(?!>)/,
|
|
37
|
+
lookbehind: !0
|
|
38
|
+
}],
|
|
39
|
+
atom: /\b[a-z][\w@]*/,
|
|
40
|
+
punctuation: /[()[\]{}:;,.#|]|<<|>>/
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
return r;
|
|
44
|
+
}
|
|
45
|
+
export {
|
|
46
|
+
t as __require
|
|
47
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { __require as g } from "./lua.mjs";
|
|
2
|
+
import { __require as p } from "./markup-templating.mjs";
|
|
3
|
+
var u, n;
|
|
4
|
+
function d() {
|
|
5
|
+
if (n)
|
|
6
|
+
return u;
|
|
7
|
+
n = 1;
|
|
8
|
+
var l = g(), i = p();
|
|
9
|
+
u = a, a.displayName = "etlua", a.aliases = [];
|
|
10
|
+
function a(r) {
|
|
11
|
+
r.register(l), r.register(i), function(e) {
|
|
12
|
+
e.languages.etlua = {
|
|
13
|
+
delimiter: {
|
|
14
|
+
pattern: /^<%[-=]?|-?%>$/,
|
|
15
|
+
alias: "punctuation"
|
|
16
|
+
},
|
|
17
|
+
"language-lua": {
|
|
18
|
+
pattern: /[\s\S]+/,
|
|
19
|
+
inside: e.languages.lua
|
|
20
|
+
}
|
|
21
|
+
}, e.hooks.add("before-tokenize", function(t) {
|
|
22
|
+
var o = /<%[\s\S]+?%>/g;
|
|
23
|
+
e.languages["markup-templating"].buildPlaceholders(t, "etlua", o);
|
|
24
|
+
}), e.hooks.add("after-tokenize", function(t) {
|
|
25
|
+
e.languages["markup-templating"].tokenizePlaceholders(t, "etlua");
|
|
26
|
+
});
|
|
27
|
+
}(r);
|
|
28
|
+
}
|
|
29
|
+
return u;
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
d as __require
|
|
33
|
+
};
|