@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,69 @@
|
|
|
1
|
+
import { __require as t } from "./bash.mjs";
|
|
2
|
+
var r, a;
|
|
3
|
+
function l() {
|
|
4
|
+
if (a)
|
|
5
|
+
return r;
|
|
6
|
+
a = 1;
|
|
7
|
+
var o = t();
|
|
8
|
+
r = e, e.displayName = "shellSession", e.aliases = [];
|
|
9
|
+
function e(n) {
|
|
10
|
+
n.register(o), function(s) {
|
|
11
|
+
var u = [
|
|
12
|
+
// normal string
|
|
13
|
+
/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,
|
|
14
|
+
/'[^']*'/.source,
|
|
15
|
+
/\$'(?:[^'\\]|\\[\s\S])*'/.source,
|
|
16
|
+
// here doc
|
|
17
|
+
// 2 capturing groups
|
|
18
|
+
/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source
|
|
19
|
+
].join("|");
|
|
20
|
+
s.languages["shell-session"] = {
|
|
21
|
+
command: {
|
|
22
|
+
pattern: RegExp(
|
|
23
|
+
// user info
|
|
24
|
+
/^/.source + "(?:" + // <user> ":" ( <path> )?
|
|
25
|
+
(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source + "|" + // <path>
|
|
26
|
+
// Since the path pattern is quite general, we will require it to start with a special character to
|
|
27
|
+
// prevent false positives.
|
|
28
|
+
/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source) + ")?" + // shell symbol
|
|
29
|
+
/[$#%](?=\s)/.source + // bash command
|
|
30
|
+
/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/g, function() {
|
|
31
|
+
return u;
|
|
32
|
+
}),
|
|
33
|
+
"m"
|
|
34
|
+
),
|
|
35
|
+
greedy: !0,
|
|
36
|
+
inside: {
|
|
37
|
+
info: {
|
|
38
|
+
// foo@bar:~/files$ exit
|
|
39
|
+
// foo@bar$ exit
|
|
40
|
+
// ~/files$ exit
|
|
41
|
+
pattern: /^[^#$%]+/,
|
|
42
|
+
alias: "punctuation",
|
|
43
|
+
inside: {
|
|
44
|
+
user: /^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,
|
|
45
|
+
punctuation: /:/,
|
|
46
|
+
path: /[\s\S]+/
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
bash: {
|
|
50
|
+
pattern: /(^[$#%]\s*)\S[\s\S]*/,
|
|
51
|
+
lookbehind: !0,
|
|
52
|
+
alias: "language-bash",
|
|
53
|
+
inside: s.languages.bash
|
|
54
|
+
},
|
|
55
|
+
"shell-symbol": {
|
|
56
|
+
pattern: /^[$#%]/,
|
|
57
|
+
alias: "important"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
output: /.(?:.*(?:[\r\n]|.$))*/
|
|
62
|
+
}, s.languages["sh-session"] = s.languages.shellsession = s.languages["shell-session"];
|
|
63
|
+
}(n);
|
|
64
|
+
}
|
|
65
|
+
return r;
|
|
66
|
+
}
|
|
67
|
+
export {
|
|
68
|
+
l as __require
|
|
69
|
+
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
var t, n;
|
|
2
|
+
function a() {
|
|
3
|
+
if (n)
|
|
4
|
+
return t;
|
|
5
|
+
n = 1, t = e, e.displayName = "smali", e.aliases = [];
|
|
6
|
+
function e(r) {
|
|
7
|
+
r.languages.smali = {
|
|
8
|
+
comment: /#.*/,
|
|
9
|
+
string: {
|
|
10
|
+
pattern: /"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,
|
|
11
|
+
greedy: !0
|
|
12
|
+
},
|
|
13
|
+
"class-name": {
|
|
14
|
+
pattern: /(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,
|
|
15
|
+
lookbehind: !0,
|
|
16
|
+
inside: {
|
|
17
|
+
"class-name": {
|
|
18
|
+
pattern: /(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,
|
|
19
|
+
lookbehind: !0
|
|
20
|
+
},
|
|
21
|
+
namespace: {
|
|
22
|
+
pattern: /^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,
|
|
23
|
+
lookbehind: !0,
|
|
24
|
+
inside: {
|
|
25
|
+
punctuation: /\//
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
builtin: /^L/
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
builtin: [{
|
|
32
|
+
// Reference: https://github.com/JesusFreke/smali/wiki/TypesMethodsAndFields#types
|
|
33
|
+
pattern: /([();\[])[BCDFIJSVZ]+/,
|
|
34
|
+
lookbehind: !0
|
|
35
|
+
}, {
|
|
36
|
+
// e.g. .field mWifiOnUid:I
|
|
37
|
+
pattern: /([\w$>]:)[BCDFIJSVZ]/,
|
|
38
|
+
lookbehind: !0
|
|
39
|
+
}],
|
|
40
|
+
keyword: [{
|
|
41
|
+
pattern: /(\.end\s+)[\w-]+/,
|
|
42
|
+
lookbehind: !0
|
|
43
|
+
}, {
|
|
44
|
+
pattern: /(^|[^\w.-])\.(?!\d)[\w-]+/,
|
|
45
|
+
lookbehind: !0
|
|
46
|
+
}, {
|
|
47
|
+
pattern: /(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,
|
|
48
|
+
lookbehind: !0
|
|
49
|
+
}],
|
|
50
|
+
function: {
|
|
51
|
+
pattern: /(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,
|
|
52
|
+
lookbehind: !0
|
|
53
|
+
},
|
|
54
|
+
field: {
|
|
55
|
+
pattern: /[\w$]+(?=:)/,
|
|
56
|
+
alias: "variable"
|
|
57
|
+
},
|
|
58
|
+
register: {
|
|
59
|
+
pattern: /(^|[^\w.-])[vp]\d(?![\w.-])/,
|
|
60
|
+
lookbehind: !0,
|
|
61
|
+
alias: "variable"
|
|
62
|
+
},
|
|
63
|
+
boolean: {
|
|
64
|
+
pattern: /(^|[^\w.-])(?:false|true)(?![\w.-])/,
|
|
65
|
+
lookbehind: !0
|
|
66
|
+
},
|
|
67
|
+
number: {
|
|
68
|
+
pattern: /(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,
|
|
69
|
+
lookbehind: !0
|
|
70
|
+
},
|
|
71
|
+
label: {
|
|
72
|
+
pattern: /(:)\w+/,
|
|
73
|
+
lookbehind: !0,
|
|
74
|
+
alias: "property"
|
|
75
|
+
},
|
|
76
|
+
operator: /->|\.\.|[\[=]/,
|
|
77
|
+
punctuation: /[{}(),;:]/
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
return t;
|
|
81
|
+
}
|
|
82
|
+
export {
|
|
83
|
+
a as __require
|
|
84
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
var a, r;
|
|
2
|
+
function l() {
|
|
3
|
+
if (r)
|
|
4
|
+
return a;
|
|
5
|
+
r = 1, a = e, e.displayName = "smalltalk", e.aliases = [];
|
|
6
|
+
function e(t) {
|
|
7
|
+
t.languages.smalltalk = {
|
|
8
|
+
comment: {
|
|
9
|
+
pattern: /"(?:""|[^"])*"/,
|
|
10
|
+
greedy: !0
|
|
11
|
+
},
|
|
12
|
+
char: {
|
|
13
|
+
pattern: /\$./,
|
|
14
|
+
greedy: !0
|
|
15
|
+
},
|
|
16
|
+
string: {
|
|
17
|
+
pattern: /'(?:''|[^'])*'/,
|
|
18
|
+
greedy: !0
|
|
19
|
+
},
|
|
20
|
+
symbol: /#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,
|
|
21
|
+
"block-arguments": {
|
|
22
|
+
pattern: /(\[\s*):[^\[|]*\|/,
|
|
23
|
+
lookbehind: !0,
|
|
24
|
+
inside: {
|
|
25
|
+
variable: /:[\da-z]+/i,
|
|
26
|
+
punctuation: /\|/
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"temporary-variables": {
|
|
30
|
+
pattern: /\|[^|]+\|/,
|
|
31
|
+
inside: {
|
|
32
|
+
variable: /[\da-z]+/i,
|
|
33
|
+
punctuation: /\|/
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
keyword: /\b(?:new|nil|self|super)\b/,
|
|
37
|
+
boolean: /\b(?:false|true)\b/,
|
|
38
|
+
number: [/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/, /\b\d+(?:\.\d+)?(?:e-?\d+)?/],
|
|
39
|
+
operator: /[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,
|
|
40
|
+
punctuation: /[.;:?\[\](){}]/
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
return a;
|
|
44
|
+
}
|
|
45
|
+
export {
|
|
46
|
+
l as __require
|
|
47
|
+
};
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { __require as y } from "./markup-templating.mjs";
|
|
2
|
+
var n, o;
|
|
3
|
+
function m() {
|
|
4
|
+
if (o)
|
|
5
|
+
return n;
|
|
6
|
+
o = 1;
|
|
7
|
+
var u = y();
|
|
8
|
+
n = t, t.displayName = "smarty", t.aliases = [];
|
|
9
|
+
function t(i) {
|
|
10
|
+
i.register(u), function(e) {
|
|
11
|
+
e.languages.smarty = {
|
|
12
|
+
comment: {
|
|
13
|
+
pattern: /^\{\*[\s\S]*?\*\}/,
|
|
14
|
+
greedy: !0
|
|
15
|
+
},
|
|
16
|
+
"embedded-php": {
|
|
17
|
+
pattern: /^\{php\}[\s\S]*?\{\/php\}/,
|
|
18
|
+
greedy: !0,
|
|
19
|
+
inside: {
|
|
20
|
+
smarty: {
|
|
21
|
+
pattern: /^\{php\}|\{\/php\}$/,
|
|
22
|
+
inside: null
|
|
23
|
+
// see below
|
|
24
|
+
},
|
|
25
|
+
php: {
|
|
26
|
+
pattern: /[\s\S]+/,
|
|
27
|
+
alias: "language-php",
|
|
28
|
+
inside: e.languages.php
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
string: [{
|
|
33
|
+
pattern: /"(?:\\.|[^"\\\r\n])*"/,
|
|
34
|
+
greedy: !0,
|
|
35
|
+
inside: {
|
|
36
|
+
interpolation: {
|
|
37
|
+
pattern: /\{[^{}]*\}|`[^`]*`/,
|
|
38
|
+
inside: {
|
|
39
|
+
"interpolation-punctuation": {
|
|
40
|
+
pattern: /^[{`]|[`}]$/,
|
|
41
|
+
alias: "punctuation"
|
|
42
|
+
},
|
|
43
|
+
expression: {
|
|
44
|
+
pattern: /[\s\S]+/,
|
|
45
|
+
inside: null
|
|
46
|
+
// see below
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
variable: /\$\w+/
|
|
51
|
+
}
|
|
52
|
+
}, {
|
|
53
|
+
pattern: /'(?:\\.|[^'\\\r\n])*'/,
|
|
54
|
+
greedy: !0
|
|
55
|
+
}],
|
|
56
|
+
keyword: {
|
|
57
|
+
pattern: /(^\{\/?)[a-z_]\w*\b(?!\()/i,
|
|
58
|
+
lookbehind: !0,
|
|
59
|
+
greedy: !0
|
|
60
|
+
},
|
|
61
|
+
delimiter: {
|
|
62
|
+
pattern: /^\{\/?|\}$/,
|
|
63
|
+
greedy: !0,
|
|
64
|
+
alias: "punctuation"
|
|
65
|
+
},
|
|
66
|
+
number: /\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,
|
|
67
|
+
variable: [/\$(?!\d)\w+/, /#(?!\d)\w+#/, {
|
|
68
|
+
pattern: /(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,
|
|
69
|
+
lookbehind: !0
|
|
70
|
+
}, {
|
|
71
|
+
pattern: /(\[)(?!\d)\w+(?=\])/,
|
|
72
|
+
lookbehind: !0
|
|
73
|
+
}],
|
|
74
|
+
function: {
|
|
75
|
+
pattern: /(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,
|
|
76
|
+
lookbehind: !0
|
|
77
|
+
},
|
|
78
|
+
"attr-name": /\b[a-z_]\w*(?=\s*=)/i,
|
|
79
|
+
boolean: /\b(?:false|no|off|on|true|yes)\b/,
|
|
80
|
+
punctuation: /[\[\](){}.,:`]|->/,
|
|
81
|
+
operator: [/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/, /\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/, /\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]
|
|
82
|
+
}, e.languages.smarty["embedded-php"].inside.smarty.inside = e.languages.smarty, e.languages.smarty.string[0].inside.interpolation.inside.expression.inside = e.languages.smarty;
|
|
83
|
+
var p = /"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/, d = RegExp(
|
|
84
|
+
// comments
|
|
85
|
+
/\{\*[\s\S]*?\*\}/.source + "|" + // php tags
|
|
86
|
+
/\{php\}[\s\S]*?\{\/php\}/.source + "|" + // smarty blocks
|
|
87
|
+
/\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>)*\})*\})*\}/.source.replace(/<str>/g, function() {
|
|
88
|
+
return p.source;
|
|
89
|
+
}),
|
|
90
|
+
"g"
|
|
91
|
+
);
|
|
92
|
+
e.hooks.add("before-tokenize", function(r) {
|
|
93
|
+
var l = "{literal}", g = "{/literal}", a = !1;
|
|
94
|
+
e.languages["markup-templating"].buildPlaceholders(r, "smarty", d, function(s) {
|
|
95
|
+
return s === g && (a = !1), a ? !1 : (s === l && (a = !0), !0);
|
|
96
|
+
});
|
|
97
|
+
}), e.hooks.add("after-tokenize", function(r) {
|
|
98
|
+
e.languages["markup-templating"].tokenizePlaceholders(r, "smarty");
|
|
99
|
+
});
|
|
100
|
+
}(i);
|
|
101
|
+
}
|
|
102
|
+
return n;
|
|
103
|
+
}
|
|
104
|
+
export {
|
|
105
|
+
m as __require
|
|
106
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
var t, r;
|
|
2
|
+
function u() {
|
|
3
|
+
if (r)
|
|
4
|
+
return t;
|
|
5
|
+
r = 1, t = n, n.displayName = "sml", n.aliases = ["smlnj"];
|
|
6
|
+
function n(s) {
|
|
7
|
+
(function(e) {
|
|
8
|
+
var a = /\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;
|
|
9
|
+
e.languages.sml = {
|
|
10
|
+
// allow one level of nesting
|
|
11
|
+
comment: /\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,
|
|
12
|
+
string: {
|
|
13
|
+
pattern: /#?"(?:[^"\\]|\\.)*"/,
|
|
14
|
+
greedy: !0
|
|
15
|
+
},
|
|
16
|
+
"class-name": [{
|
|
17
|
+
// This is only an approximation since the real grammar is context-free
|
|
18
|
+
//
|
|
19
|
+
// Why the main loop so complex?
|
|
20
|
+
// The main loop is approximately the same as /(?:\s*(?:[*,]|->)\s*<TERMINAL>)*/ which is, obviously, a lot
|
|
21
|
+
// simpler. The difference is that if a comma is the last iteration of the loop, then the terminal must be
|
|
22
|
+
// followed by a long identifier.
|
|
23
|
+
pattern: RegExp(/((?:^|[^:]):\s*)<TERMINAL>(?:\s*(?:(?:\*|->)\s*<TERMINAL>|,\s*<TERMINAL>(?:(?=<NOT-LAST>)|(?!<NOT-LAST>)\s+<LONG-ID>)))*/.source.replace(/<NOT-LAST>/g, function() {
|
|
24
|
+
return /\s*(?:[*,]|->)/.source;
|
|
25
|
+
}).replace(/<TERMINAL>/g, function() {
|
|
26
|
+
return /(?:'[\w']*|<LONG-ID>|\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+<LONG-ID>)*/.source;
|
|
27
|
+
}).replace(/<LONG-ID>/g, function() {
|
|
28
|
+
return /(?!<KEYWORD>)[a-z\d_][\w'.]*/.source;
|
|
29
|
+
}).replace(/<KEYWORD>/g, function() {
|
|
30
|
+
return a.source;
|
|
31
|
+
}), "i"),
|
|
32
|
+
lookbehind: !0,
|
|
33
|
+
greedy: !0,
|
|
34
|
+
inside: null
|
|
35
|
+
// see below
|
|
36
|
+
}, {
|
|
37
|
+
pattern: /((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,
|
|
38
|
+
lookbehind: !0
|
|
39
|
+
}],
|
|
40
|
+
function: {
|
|
41
|
+
pattern: /((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,
|
|
42
|
+
lookbehind: !0
|
|
43
|
+
},
|
|
44
|
+
keyword: a,
|
|
45
|
+
variable: {
|
|
46
|
+
pattern: /(^|[^\w'])'[\w']*/,
|
|
47
|
+
lookbehind: !0
|
|
48
|
+
},
|
|
49
|
+
number: /~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,
|
|
50
|
+
word: {
|
|
51
|
+
pattern: /\b0w(?:\d+|x[\da-f]+)\b/i,
|
|
52
|
+
alias: "constant"
|
|
53
|
+
},
|
|
54
|
+
boolean: /\b(?:false|true)\b/i,
|
|
55
|
+
operator: /\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,
|
|
56
|
+
punctuation: /[(){}\[\].:,;]/
|
|
57
|
+
}, e.languages.sml["class-name"][0].inside = e.languages.sml, e.languages.smlnj = e.languages.sml;
|
|
58
|
+
})(s);
|
|
59
|
+
}
|
|
60
|
+
return t;
|
|
61
|
+
}
|
|
62
|
+
export {
|
|
63
|
+
u as __require
|
|
64
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
var i, r;
|
|
2
|
+
function a() {
|
|
3
|
+
if (r)
|
|
4
|
+
return i;
|
|
5
|
+
r = 1, i = t, t.displayName = "solidity", t.aliases = ["sol"];
|
|
6
|
+
function t(e) {
|
|
7
|
+
e.languages.solidity = e.languages.extend("clike", {
|
|
8
|
+
"class-name": {
|
|
9
|
+
pattern: /(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,
|
|
10
|
+
lookbehind: !0
|
|
11
|
+
},
|
|
12
|
+
keyword: /\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,
|
|
13
|
+
operator: /=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/
|
|
14
|
+
}), e.languages.insertBefore("solidity", "keyword", {
|
|
15
|
+
builtin: /\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/
|
|
16
|
+
}), e.languages.insertBefore("solidity", "number", {
|
|
17
|
+
version: {
|
|
18
|
+
pattern: /([<>]=?|\^)\d+\.\d+\.\d+\b/,
|
|
19
|
+
lookbehind: !0,
|
|
20
|
+
alias: "number"
|
|
21
|
+
}
|
|
22
|
+
}), e.languages.sol = e.languages.solidity;
|
|
23
|
+
}
|
|
24
|
+
return i;
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
a as __require
|
|
28
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
var i, r;
|
|
2
|
+
function o() {
|
|
3
|
+
if (r)
|
|
4
|
+
return i;
|
|
5
|
+
r = 1, i = e, e.displayName = "solutionFile", e.aliases = [];
|
|
6
|
+
function e(a) {
|
|
7
|
+
(function(n) {
|
|
8
|
+
var t = {
|
|
9
|
+
// https://en.wikipedia.org/wiki/Universally_unique_identifier#Format
|
|
10
|
+
pattern: /\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,
|
|
11
|
+
alias: "constant",
|
|
12
|
+
inside: {
|
|
13
|
+
punctuation: /[{}]/
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
n.languages["solution-file"] = {
|
|
17
|
+
comment: {
|
|
18
|
+
pattern: /#.*/,
|
|
19
|
+
greedy: !0
|
|
20
|
+
},
|
|
21
|
+
string: {
|
|
22
|
+
pattern: /"[^"\r\n]*"|'[^'\r\n]*'/,
|
|
23
|
+
greedy: !0,
|
|
24
|
+
inside: {
|
|
25
|
+
guid: t
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
object: {
|
|
29
|
+
// Foo
|
|
30
|
+
// Bar("abs") = 9
|
|
31
|
+
// EndBar
|
|
32
|
+
// Prop = TRUE
|
|
33
|
+
// EndFoo
|
|
34
|
+
pattern: /^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,
|
|
35
|
+
lookbehind: !0,
|
|
36
|
+
greedy: !0,
|
|
37
|
+
alias: "keyword"
|
|
38
|
+
},
|
|
39
|
+
property: {
|
|
40
|
+
pattern: /^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,
|
|
41
|
+
lookbehind: !0,
|
|
42
|
+
inside: {
|
|
43
|
+
guid: t
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
guid: t,
|
|
47
|
+
number: /\b\d+(?:\.\d+)*\b/,
|
|
48
|
+
boolean: /\b(?:FALSE|TRUE)\b/,
|
|
49
|
+
operator: /=/,
|
|
50
|
+
punctuation: /[(),]/
|
|
51
|
+
}, n.languages.sln = n.languages["solution-file"];
|
|
52
|
+
})(a);
|
|
53
|
+
}
|
|
54
|
+
return i;
|
|
55
|
+
}
|
|
56
|
+
export {
|
|
57
|
+
o as __require
|
|
58
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { __require as m } from "./markup-templating.mjs";
|
|
2
|
+
var n, u;
|
|
3
|
+
function g() {
|
|
4
|
+
if (u)
|
|
5
|
+
return n;
|
|
6
|
+
u = 1;
|
|
7
|
+
var p = m();
|
|
8
|
+
n = a, a.displayName = "soy", a.aliases = [];
|
|
9
|
+
function a(l) {
|
|
10
|
+
l.register(p), function(e) {
|
|
11
|
+
var i = /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, o = /\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;
|
|
12
|
+
e.languages.soy = {
|
|
13
|
+
comment: [/\/\*[\s\S]*?\*\//, {
|
|
14
|
+
pattern: /(\s)\/\/.*/,
|
|
15
|
+
lookbehind: !0,
|
|
16
|
+
greedy: !0
|
|
17
|
+
}],
|
|
18
|
+
"command-arg": {
|
|
19
|
+
pattern: /(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,
|
|
20
|
+
lookbehind: !0,
|
|
21
|
+
alias: "string",
|
|
22
|
+
inside: {
|
|
23
|
+
punctuation: /\./
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
parameter: {
|
|
27
|
+
pattern: /(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,
|
|
28
|
+
lookbehind: !0,
|
|
29
|
+
alias: "variable"
|
|
30
|
+
},
|
|
31
|
+
keyword: [{
|
|
32
|
+
pattern: /(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,
|
|
33
|
+
lookbehind: !0
|
|
34
|
+
}, /\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],
|
|
35
|
+
delimiter: {
|
|
36
|
+
pattern: /^\{+\/?|\/?\}+$/,
|
|
37
|
+
alias: "punctuation"
|
|
38
|
+
},
|
|
39
|
+
property: /\w+(?==)/,
|
|
40
|
+
variable: {
|
|
41
|
+
pattern: /\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,
|
|
42
|
+
inside: {
|
|
43
|
+
string: {
|
|
44
|
+
pattern: i,
|
|
45
|
+
greedy: !0
|
|
46
|
+
},
|
|
47
|
+
number: o,
|
|
48
|
+
punctuation: /[\[\].?]/
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
string: {
|
|
52
|
+
pattern: i,
|
|
53
|
+
greedy: !0
|
|
54
|
+
},
|
|
55
|
+
function: [/\w+(?=\()/, {
|
|
56
|
+
pattern: /(\|[^\S\r\n]*)\w+/,
|
|
57
|
+
lookbehind: !0
|
|
58
|
+
}],
|
|
59
|
+
boolean: /\b(?:false|true)\b/,
|
|
60
|
+
number: o,
|
|
61
|
+
operator: /\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,
|
|
62
|
+
punctuation: /[{}()\[\]|.,:]/
|
|
63
|
+
}, e.hooks.add("before-tokenize", function(t) {
|
|
64
|
+
var d = /\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g, b = "{literal}", c = "{/literal}", r = !1;
|
|
65
|
+
e.languages["markup-templating"].buildPlaceholders(t, "soy", d, function(s) {
|
|
66
|
+
return s === c && (r = !1), r ? !1 : (s === b && (r = !0), !0);
|
|
67
|
+
});
|
|
68
|
+
}), e.hooks.add("after-tokenize", function(t) {
|
|
69
|
+
e.languages["markup-templating"].tokenizePlaceholders(t, "soy");
|
|
70
|
+
});
|
|
71
|
+
}(l);
|
|
72
|
+
}
|
|
73
|
+
return n;
|
|
74
|
+
}
|
|
75
|
+
export {
|
|
76
|
+
g as __require
|
|
77
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { __require as e } from "./turtle.mjs";
|
|
2
|
+
var A, R;
|
|
3
|
+
function N() {
|
|
4
|
+
if (R)
|
|
5
|
+
return A;
|
|
6
|
+
R = 1;
|
|
7
|
+
var T = e();
|
|
8
|
+
A = S, S.displayName = "sparql", S.aliases = ["rq"];
|
|
9
|
+
function S(E) {
|
|
10
|
+
E.register(T), E.languages.sparql = E.languages.extend("turtle", {
|
|
11
|
+
boolean: /\b(?:false|true)\b/i,
|
|
12
|
+
variable: {
|
|
13
|
+
pattern: /[?$]\w+/,
|
|
14
|
+
greedy: !0
|
|
15
|
+
}
|
|
16
|
+
}), E.languages.insertBefore("sparql", "punctuation", {
|
|
17
|
+
keyword: [/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i, /\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i, /\b(?:BASE|GRAPH|PREFIX)\b/i]
|
|
18
|
+
}), E.languages.rq = E.languages.sparql;
|
|
19
|
+
}
|
|
20
|
+
return A;
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
N as __require
|
|
24
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
var t, a;
|
|
2
|
+
function o() {
|
|
3
|
+
if (a)
|
|
4
|
+
return t;
|
|
5
|
+
a = 1, t = e, e.displayName = "splunkSpl", e.aliases = [];
|
|
6
|
+
function e(r) {
|
|
7
|
+
r.languages["splunk-spl"] = {
|
|
8
|
+
comment: /`comment\("(?:\\.|[^\\"])*"\)`/,
|
|
9
|
+
string: {
|
|
10
|
+
pattern: /"(?:\\.|[^\\"])*"/,
|
|
11
|
+
greedy: !0
|
|
12
|
+
},
|
|
13
|
+
// https://docs.splunk.com/Documentation/Splunk/7.3.0/SearchReference/ListOfSearchCommands
|
|
14
|
+
keyword: /\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,
|
|
15
|
+
"operator-word": {
|
|
16
|
+
pattern: /\b(?:and|as|by|not|or|xor)\b/i,
|
|
17
|
+
alias: "operator"
|
|
18
|
+
},
|
|
19
|
+
function: /\b\w+(?=\s*\()/,
|
|
20
|
+
property: /\b\w+(?=\s*=(?!=))/,
|
|
21
|
+
date: {
|
|
22
|
+
// MM/DD/YYYY(:HH:MM:SS)?
|
|
23
|
+
pattern: /\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,
|
|
24
|
+
alias: "number"
|
|
25
|
+
},
|
|
26
|
+
number: /\b\d+(?:\.\d+)?\b/,
|
|
27
|
+
boolean: /\b(?:f|false|t|true)\b/i,
|
|
28
|
+
operator: /[<>=]=?|[-+*/%|]/,
|
|
29
|
+
punctuation: /[()[\],]/
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
return t;
|
|
33
|
+
}
|
|
34
|
+
export {
|
|
35
|
+
o as __require
|
|
36
|
+
};
|