@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,62 @@
|
|
|
1
|
+
var r, t;
|
|
2
|
+
function a() {
|
|
3
|
+
if (t)
|
|
4
|
+
return r;
|
|
5
|
+
t = 1, r = e, e.displayName = "q", e.aliases = [];
|
|
6
|
+
function e(s) {
|
|
7
|
+
s.languages.q = {
|
|
8
|
+
string: /"(?:\\.|[^"\\\r\n])*"/,
|
|
9
|
+
comment: [
|
|
10
|
+
// From http://code.kx.com/wiki/Reference/Slash:
|
|
11
|
+
// When / is following a space (or a right parenthesis, bracket, or brace), it is ignored with the rest of the line.
|
|
12
|
+
{
|
|
13
|
+
pattern: /([\t )\]}])\/.*/,
|
|
14
|
+
lookbehind: !0,
|
|
15
|
+
greedy: !0
|
|
16
|
+
},
|
|
17
|
+
// From http://code.kx.com/wiki/Reference/Slash:
|
|
18
|
+
// A line which has / as its first character and contains at least one other non-whitespace character is a whole-line comment and is ignored entirely.
|
|
19
|
+
// A / on a line by itself begins a multiline comment which is terminated by the next \ on a line by itself.
|
|
20
|
+
// If a / is not matched by a \, the multiline comment is unterminated and continues to end of file.
|
|
21
|
+
// The / and \ must be the first char on the line, but may be followed by any amount of whitespace.
|
|
22
|
+
{
|
|
23
|
+
pattern: /(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,
|
|
24
|
+
lookbehind: !0,
|
|
25
|
+
greedy: !0
|
|
26
|
+
},
|
|
27
|
+
// From http://code.kx.com/wiki/Reference/Slash:
|
|
28
|
+
// A \ on a line by itself with no preceding matching / will comment to end of file.
|
|
29
|
+
{
|
|
30
|
+
pattern: /^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,
|
|
31
|
+
greedy: !0
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
pattern: /^#!.+/m,
|
|
35
|
+
greedy: !0
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
symbol: /`(?::\S+|[\w.]*)/,
|
|
39
|
+
datetime: {
|
|
40
|
+
pattern: /0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,
|
|
41
|
+
alias: "number"
|
|
42
|
+
},
|
|
43
|
+
// The negative look-ahead prevents bad highlighting
|
|
44
|
+
// of verbs 0: and 1:
|
|
45
|
+
number: /\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,
|
|
46
|
+
keyword: /\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,
|
|
47
|
+
adverb: {
|
|
48
|
+
pattern: /['\/\\]:?|\beach\b/,
|
|
49
|
+
alias: "function"
|
|
50
|
+
},
|
|
51
|
+
verb: {
|
|
52
|
+
pattern: /(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,
|
|
53
|
+
alias: "operator"
|
|
54
|
+
},
|
|
55
|
+
punctuation: /[(){}\[\];.]/
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
return r;
|
|
59
|
+
}
|
|
60
|
+
export {
|
|
61
|
+
a as __require
|
|
62
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
var n, s;
|
|
2
|
+
function i() {
|
|
3
|
+
if (s)
|
|
4
|
+
return n;
|
|
5
|
+
s = 1, n = r, r.displayName = "qml", r.aliases = [];
|
|
6
|
+
function r(u) {
|
|
7
|
+
(function(t) {
|
|
8
|
+
for (var o = /"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source, p = /\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source, e = /(?:[^\\()[\]{}"'/]|<string>|\/(?![*/])|<comment>|\(<expr>*\)|\[<expr>*\]|\{<expr>*\}|\\[\s\S])/.source.replace(/<string>/g, function() {
|
|
9
|
+
return o;
|
|
10
|
+
}).replace(/<comment>/g, function() {
|
|
11
|
+
return p;
|
|
12
|
+
}), a = 0; a < 2; a++)
|
|
13
|
+
e = e.replace(/<expr>/g, function() {
|
|
14
|
+
return e;
|
|
15
|
+
});
|
|
16
|
+
e = e.replace(/<expr>/g, "[^\\s\\S]"), t.languages.qml = {
|
|
17
|
+
comment: {
|
|
18
|
+
pattern: /\/\/.*|\/\*[\s\S]*?\*\//,
|
|
19
|
+
greedy: !0
|
|
20
|
+
},
|
|
21
|
+
"javascript-function": {
|
|
22
|
+
pattern: RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(<js>*\)\s*\{<js>*\}/.source.replace(/<js>/g, function() {
|
|
23
|
+
return e;
|
|
24
|
+
}), "m"),
|
|
25
|
+
lookbehind: !0,
|
|
26
|
+
greedy: !0,
|
|
27
|
+
alias: "language-javascript",
|
|
28
|
+
inside: t.languages.javascript
|
|
29
|
+
},
|
|
30
|
+
"class-name": {
|
|
31
|
+
pattern: /((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,
|
|
32
|
+
lookbehind: !0
|
|
33
|
+
},
|
|
34
|
+
property: [{
|
|
35
|
+
pattern: /((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,
|
|
36
|
+
lookbehind: !0
|
|
37
|
+
}, {
|
|
38
|
+
pattern: /((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,
|
|
39
|
+
lookbehind: !0,
|
|
40
|
+
inside: {
|
|
41
|
+
keyword: /^property/,
|
|
42
|
+
property: /\w+(?:\.\w+)*/
|
|
43
|
+
}
|
|
44
|
+
}],
|
|
45
|
+
"javascript-expression": {
|
|
46
|
+
pattern: RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}])<js>)+/.source.replace(/<js>/g, function() {
|
|
47
|
+
return e;
|
|
48
|
+
}), "m"),
|
|
49
|
+
lookbehind: !0,
|
|
50
|
+
greedy: !0,
|
|
51
|
+
alias: "language-javascript",
|
|
52
|
+
inside: t.languages.javascript
|
|
53
|
+
},
|
|
54
|
+
string: {
|
|
55
|
+
pattern: /"(?:\\.|[^\\"\r\n])*"/,
|
|
56
|
+
greedy: !0
|
|
57
|
+
},
|
|
58
|
+
keyword: /\b(?:as|import|on)\b/,
|
|
59
|
+
punctuation: /[{}[\]:;,]/
|
|
60
|
+
};
|
|
61
|
+
})(u);
|
|
62
|
+
}
|
|
63
|
+
return n;
|
|
64
|
+
}
|
|
65
|
+
export {
|
|
66
|
+
i as __require
|
|
67
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
var t, n;
|
|
2
|
+
function o() {
|
|
3
|
+
if (n)
|
|
4
|
+
return t;
|
|
5
|
+
n = 1, t = e, e.displayName = "qore", e.aliases = [];
|
|
6
|
+
function e(r) {
|
|
7
|
+
r.languages.qore = r.languages.extend("clike", {
|
|
8
|
+
comment: {
|
|
9
|
+
pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,
|
|
10
|
+
lookbehind: !0
|
|
11
|
+
},
|
|
12
|
+
// Overridden to allow unescaped multi-line strings
|
|
13
|
+
string: {
|
|
14
|
+
pattern: /("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,
|
|
15
|
+
greedy: !0
|
|
16
|
+
},
|
|
17
|
+
keyword: /\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,
|
|
18
|
+
boolean: /\b(?:false|true)\b/i,
|
|
19
|
+
function: /\$?\b(?!\d)\w+(?=\()/,
|
|
20
|
+
number: /\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,
|
|
21
|
+
operator: {
|
|
22
|
+
pattern: /(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,
|
|
23
|
+
lookbehind: !0
|
|
24
|
+
},
|
|
25
|
+
variable: /\$(?!\d)\w+\b/
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
return t;
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
o as __require
|
|
32
|
+
};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
var u, f;
|
|
2
|
+
function v() {
|
|
3
|
+
if (f)
|
|
4
|
+
return u;
|
|
5
|
+
f = 1, u = i, i.displayName = "qsharp", i.aliases = ["qs"];
|
|
6
|
+
function i(o) {
|
|
7
|
+
(function(r) {
|
|
8
|
+
function s(e, a) {
|
|
9
|
+
return e.replace(/<<(\d+)>>/g, function(t, w) {
|
|
10
|
+
return "(?:" + a[+w] + ")";
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
function n(e, a, t) {
|
|
14
|
+
return RegExp(s(e, a), t || "");
|
|
15
|
+
}
|
|
16
|
+
function h(e, a) {
|
|
17
|
+
for (var t = 0; t < a; t++)
|
|
18
|
+
e = e.replace(/<<self>>/g, function() {
|
|
19
|
+
return "(?:" + e + ")";
|
|
20
|
+
});
|
|
21
|
+
return e.replace(/<<self>>/g, "[^\\s\\S]");
|
|
22
|
+
}
|
|
23
|
+
var l = {
|
|
24
|
+
// keywords which represent a return or variable type
|
|
25
|
+
type: "Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",
|
|
26
|
+
// all other keywords
|
|
27
|
+
other: "Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"
|
|
28
|
+
};
|
|
29
|
+
function q(e) {
|
|
30
|
+
return "\\b(?:" + e.trim().replace(/ /g, "|") + ")\\b";
|
|
31
|
+
}
|
|
32
|
+
var p = RegExp(q(l.type + " " + l.other)), y = /\b[A-Za-z_]\w*\b/.source, d = s(/<<0>>(?:\s*\.\s*<<0>>)*/.source, [y]), g = {
|
|
33
|
+
keyword: p,
|
|
34
|
+
punctuation: /[<>()?,.:[\]]/
|
|
35
|
+
}, c = /"(?:\\.|[^\\"])*"/.source;
|
|
36
|
+
r.languages.qsharp = r.languages.extend("clike", {
|
|
37
|
+
comment: /\/\/.*/,
|
|
38
|
+
string: [{
|
|
39
|
+
pattern: n(/(^|[^$\\])<<0>>/.source, [c]),
|
|
40
|
+
lookbehind: !0,
|
|
41
|
+
greedy: !0
|
|
42
|
+
}],
|
|
43
|
+
"class-name": [{
|
|
44
|
+
// open Microsoft.Quantum.Canon;
|
|
45
|
+
// open Microsoft.Quantum.Canon as CN;
|
|
46
|
+
pattern: n(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source, [d]),
|
|
47
|
+
lookbehind: !0,
|
|
48
|
+
inside: g
|
|
49
|
+
}, {
|
|
50
|
+
// namespace Quantum.App1;
|
|
51
|
+
pattern: n(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source, [d]),
|
|
52
|
+
lookbehind: !0,
|
|
53
|
+
inside: g
|
|
54
|
+
}],
|
|
55
|
+
keyword: p,
|
|
56
|
+
number: /(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,
|
|
57
|
+
operator: /\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,
|
|
58
|
+
punctuation: /::|[{}[\];(),.:]/
|
|
59
|
+
}), r.languages.insertBefore("qsharp", "number", {
|
|
60
|
+
range: {
|
|
61
|
+
pattern: /\.\./,
|
|
62
|
+
alias: "operator"
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
var b = h(s(/\{(?:[^"{}]|<<0>>|<<self>>)*\}/.source, [c]), 2);
|
|
66
|
+
r.languages.insertBefore("qsharp", "string", {
|
|
67
|
+
"interpolation-string": {
|
|
68
|
+
pattern: n(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source, [b]),
|
|
69
|
+
greedy: !0,
|
|
70
|
+
inside: {
|
|
71
|
+
interpolation: {
|
|
72
|
+
pattern: n(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source, [b]),
|
|
73
|
+
lookbehind: !0,
|
|
74
|
+
inside: {
|
|
75
|
+
punctuation: /^\{|\}$/,
|
|
76
|
+
expression: {
|
|
77
|
+
pattern: /[\s\S]+/,
|
|
78
|
+
alias: "language-qsharp",
|
|
79
|
+
inside: r.languages.qsharp
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
string: /[\s\S]+/
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
})(o), o.languages.qs = o.languages.qsharp;
|
|
88
|
+
}
|
|
89
|
+
return u;
|
|
90
|
+
}
|
|
91
|
+
export {
|
|
92
|
+
v as __require
|
|
93
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
var r, a;
|
|
2
|
+
function t() {
|
|
3
|
+
if (a)
|
|
4
|
+
return r;
|
|
5
|
+
a = 1, r = e, e.displayName = "r", e.aliases = [];
|
|
6
|
+
function e(n) {
|
|
7
|
+
n.languages.r = {
|
|
8
|
+
comment: /#.*/,
|
|
9
|
+
string: {
|
|
10
|
+
pattern: /(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,
|
|
11
|
+
greedy: !0
|
|
12
|
+
},
|
|
13
|
+
"percent-operator": {
|
|
14
|
+
// Includes user-defined operators
|
|
15
|
+
// and %%, %*%, %/%, %in%, %o%, %x%
|
|
16
|
+
pattern: /%[^%\s]*%/,
|
|
17
|
+
alias: "operator"
|
|
18
|
+
},
|
|
19
|
+
boolean: /\b(?:FALSE|TRUE)\b/,
|
|
20
|
+
ellipsis: /\.\.(?:\.|\d+)/,
|
|
21
|
+
number: [/\b(?:Inf|NaN)\b/, /(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],
|
|
22
|
+
keyword: /\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,
|
|
23
|
+
operator: /->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,
|
|
24
|
+
punctuation: /[(){}\[\],;]/
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
return r;
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
t as __require
|
|
31
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { __require as u } from "./scheme.mjs";
|
|
2
|
+
var r, t;
|
|
3
|
+
function c() {
|
|
4
|
+
if (t)
|
|
5
|
+
return r;
|
|
6
|
+
t = 1;
|
|
7
|
+
var n = u();
|
|
8
|
+
r = a, a.displayName = "racket", a.aliases = ["rkt"];
|
|
9
|
+
function a(e) {
|
|
10
|
+
e.register(n), e.languages.racket = e.languages.extend("scheme", {
|
|
11
|
+
"lambda-parameter": {
|
|
12
|
+
// the racket lambda syntax is a lot more complex, so we won't even attempt to capture it.
|
|
13
|
+
// this will just prevent false positives of the `function` pattern
|
|
14
|
+
pattern: /([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,
|
|
15
|
+
lookbehind: !0
|
|
16
|
+
}
|
|
17
|
+
}), e.languages.insertBefore("racket", "string", {
|
|
18
|
+
lang: {
|
|
19
|
+
pattern: /^#lang.+/m,
|
|
20
|
+
greedy: !0,
|
|
21
|
+
alias: "keyword"
|
|
22
|
+
}
|
|
23
|
+
}), e.languages.rkt = e.languages.racket;
|
|
24
|
+
}
|
|
25
|
+
return r;
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
c as __require
|
|
29
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
var a, r;
|
|
2
|
+
function t() {
|
|
3
|
+
if (r)
|
|
4
|
+
return a;
|
|
5
|
+
r = 1, a = n, n.displayName = "reason", n.aliases = [];
|
|
6
|
+
function n(e) {
|
|
7
|
+
e.languages.reason = e.languages.extend("clike", {
|
|
8
|
+
string: {
|
|
9
|
+
pattern: /"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,
|
|
10
|
+
greedy: !0
|
|
11
|
+
},
|
|
12
|
+
// 'class-name' must be matched *after* 'constructor' defined below
|
|
13
|
+
"class-name": /\b[A-Z]\w*/,
|
|
14
|
+
keyword: /\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,
|
|
15
|
+
operator: /\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/
|
|
16
|
+
}), e.languages.insertBefore("reason", "class-name", {
|
|
17
|
+
char: {
|
|
18
|
+
pattern: /'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,
|
|
19
|
+
greedy: !0
|
|
20
|
+
},
|
|
21
|
+
// Negative look-ahead prevents from matching things like String.capitalize
|
|
22
|
+
constructor: /\b[A-Z]\w*\b(?!\s*\.)/,
|
|
23
|
+
label: {
|
|
24
|
+
pattern: /\b[a-z]\w*(?=::)/,
|
|
25
|
+
alias: "symbol"
|
|
26
|
+
}
|
|
27
|
+
}), delete e.languages.reason.function;
|
|
28
|
+
}
|
|
29
|
+
return a;
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
t as __require
|
|
33
|
+
};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
var r, s;
|
|
2
|
+
function d() {
|
|
3
|
+
if (s)
|
|
4
|
+
return r;
|
|
5
|
+
s = 1, r = e, e.displayName = "regex", e.aliases = [];
|
|
6
|
+
function e(p) {
|
|
7
|
+
(function(c) {
|
|
8
|
+
var t = {
|
|
9
|
+
pattern: /\\[\\(){}[\]^$+*?|.]/,
|
|
10
|
+
alias: "escape"
|
|
11
|
+
}, a = /\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/, u = {
|
|
12
|
+
pattern: /\.|\\[wsd]|\\p\{[^{}]+\}/i,
|
|
13
|
+
alias: "class-name"
|
|
14
|
+
}, o = {
|
|
15
|
+
pattern: /\\[wsd]|\\p\{[^{}]+\}/i,
|
|
16
|
+
alias: "class-name"
|
|
17
|
+
}, n = "(?:[^\\\\-]|" + a.source + ")", l = RegExp(n + "-" + n), i = {
|
|
18
|
+
pattern: /(<|')[^<>']+(?=[>']$)/,
|
|
19
|
+
lookbehind: !0,
|
|
20
|
+
alias: "variable"
|
|
21
|
+
};
|
|
22
|
+
c.languages.regex = {
|
|
23
|
+
"char-class": {
|
|
24
|
+
pattern: /((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,
|
|
25
|
+
lookbehind: !0,
|
|
26
|
+
inside: {
|
|
27
|
+
"char-class-negation": {
|
|
28
|
+
pattern: /(^\[)\^/,
|
|
29
|
+
lookbehind: !0,
|
|
30
|
+
alias: "operator"
|
|
31
|
+
},
|
|
32
|
+
"char-class-punctuation": {
|
|
33
|
+
pattern: /^\[|\]$/,
|
|
34
|
+
alias: "punctuation"
|
|
35
|
+
},
|
|
36
|
+
range: {
|
|
37
|
+
pattern: l,
|
|
38
|
+
inside: {
|
|
39
|
+
escape: a,
|
|
40
|
+
"range-punctuation": {
|
|
41
|
+
pattern: /-/,
|
|
42
|
+
alias: "operator"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"special-escape": t,
|
|
47
|
+
"char-set": o,
|
|
48
|
+
escape: a
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"special-escape": t,
|
|
52
|
+
"char-set": u,
|
|
53
|
+
backreference: [{
|
|
54
|
+
// a backreference which is not an octal escape
|
|
55
|
+
pattern: /\\(?![123][0-7]{2})[1-9]/,
|
|
56
|
+
alias: "keyword"
|
|
57
|
+
}, {
|
|
58
|
+
pattern: /\\k<[^<>']+>/,
|
|
59
|
+
alias: "keyword",
|
|
60
|
+
inside: {
|
|
61
|
+
"group-name": i
|
|
62
|
+
}
|
|
63
|
+
}],
|
|
64
|
+
anchor: {
|
|
65
|
+
pattern: /[$^]|\\[ABbGZz]/,
|
|
66
|
+
alias: "function"
|
|
67
|
+
},
|
|
68
|
+
escape: a,
|
|
69
|
+
group: [{
|
|
70
|
+
// https://docs.oracle.com/javase/10/docs/api/java/util/regex/Pattern.html
|
|
71
|
+
// https://docs.microsoft.com/en-us/dotnet/standard/base-types/regular-expression-language-quick-reference?view=netframework-4.7.2#grouping-constructs
|
|
72
|
+
// (), (?<name>), (?'name'), (?>), (?:), (?=), (?!), (?<=), (?<!), (?is-m), (?i-m:)
|
|
73
|
+
pattern: /\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,
|
|
74
|
+
alias: "punctuation",
|
|
75
|
+
inside: {
|
|
76
|
+
"group-name": i
|
|
77
|
+
}
|
|
78
|
+
}, {
|
|
79
|
+
pattern: /\)/,
|
|
80
|
+
alias: "punctuation"
|
|
81
|
+
}],
|
|
82
|
+
quantifier: {
|
|
83
|
+
pattern: /(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,
|
|
84
|
+
alias: "number"
|
|
85
|
+
},
|
|
86
|
+
alternation: {
|
|
87
|
+
pattern: /\|/,
|
|
88
|
+
alias: "keyword"
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
})(p);
|
|
92
|
+
}
|
|
93
|
+
return r;
|
|
94
|
+
}
|
|
95
|
+
export {
|
|
96
|
+
d as __require
|
|
97
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
var r, t;
|
|
2
|
+
function a() {
|
|
3
|
+
if (t)
|
|
4
|
+
return r;
|
|
5
|
+
t = 1, r = e, e.displayName = "rego", e.aliases = [];
|
|
6
|
+
function e(n) {
|
|
7
|
+
n.languages.rego = {
|
|
8
|
+
comment: /#.*/,
|
|
9
|
+
property: {
|
|
10
|
+
pattern: /(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,
|
|
11
|
+
lookbehind: !0,
|
|
12
|
+
greedy: !0
|
|
13
|
+
},
|
|
14
|
+
string: {
|
|
15
|
+
pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,
|
|
16
|
+
lookbehind: !0,
|
|
17
|
+
greedy: !0
|
|
18
|
+
},
|
|
19
|
+
keyword: /\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,
|
|
20
|
+
boolean: /\b(?:false|true)\b/,
|
|
21
|
+
function: {
|
|
22
|
+
pattern: /\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,
|
|
23
|
+
inside: {
|
|
24
|
+
namespace: /\b\w+\b(?=\s*\.)/,
|
|
25
|
+
punctuation: /\./
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
number: /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,
|
|
29
|
+
operator: /[-+*/%|&]|[<>:=]=?|!=|\b_\b/,
|
|
30
|
+
punctuation: /[,;.\[\]{}()]/
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
return r;
|
|
34
|
+
}
|
|
35
|
+
export {
|
|
36
|
+
a as __require
|
|
37
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var i, n;
|
|
2
|
+
function a() {
|
|
3
|
+
if (n)
|
|
4
|
+
return i;
|
|
5
|
+
n = 1, i = e, e.displayName = "renpy", e.aliases = ["rpy"];
|
|
6
|
+
function e(t) {
|
|
7
|
+
t.languages.renpy = {
|
|
8
|
+
comment: {
|
|
9
|
+
pattern: /(^|[^\\])#.+/,
|
|
10
|
+
lookbehind: !0
|
|
11
|
+
},
|
|
12
|
+
string: {
|
|
13
|
+
pattern: /("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,
|
|
14
|
+
greedy: !0
|
|
15
|
+
},
|
|
16
|
+
function: /\b[a-z_]\w*(?=\()/i,
|
|
17
|
+
property: /\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,
|
|
18
|
+
tag: /\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,
|
|
19
|
+
keyword: /\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,
|
|
20
|
+
boolean: /\b(?:[Ff]alse|[Tt]rue)\b/,
|
|
21
|
+
number: /(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,
|
|
22
|
+
operator: /[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,
|
|
23
|
+
punctuation: /[{}[\];(),.:]/
|
|
24
|
+
}, t.languages.rpy = t.languages.renpy;
|
|
25
|
+
}
|
|
26
|
+
return i;
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
a as __require
|
|
30
|
+
};
|