@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,57 @@
|
|
|
1
|
+
var i, l;
|
|
2
|
+
function c() {
|
|
3
|
+
if (l)
|
|
4
|
+
return i;
|
|
5
|
+
l = 1, i = r, r.displayName = "t4Templating", r.aliases = [];
|
|
6
|
+
function r(u) {
|
|
7
|
+
(function(s) {
|
|
8
|
+
function n(e, a, t) {
|
|
9
|
+
return {
|
|
10
|
+
pattern: RegExp("<#" + e + "[\\s\\S]*?#>"),
|
|
11
|
+
alias: "block",
|
|
12
|
+
inside: {
|
|
13
|
+
delimiter: {
|
|
14
|
+
pattern: RegExp("^<#" + e + "|#>$"),
|
|
15
|
+
alias: "important"
|
|
16
|
+
},
|
|
17
|
+
content: {
|
|
18
|
+
pattern: /[\s\S]+/,
|
|
19
|
+
inside: a,
|
|
20
|
+
alias: t
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function p(e) {
|
|
26
|
+
var a = s.languages[e], t = "language-" + e;
|
|
27
|
+
return {
|
|
28
|
+
block: {
|
|
29
|
+
pattern: /<#[\s\S]+?#>/,
|
|
30
|
+
inside: {
|
|
31
|
+
directive: n("@", {
|
|
32
|
+
"attr-value": {
|
|
33
|
+
pattern: /=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,
|
|
34
|
+
inside: {
|
|
35
|
+
punctuation: /^=|^["']|["']$/
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
keyword: /\b\w+(?=\s)/,
|
|
39
|
+
"attr-name": /\b\w+/
|
|
40
|
+
}),
|
|
41
|
+
expression: n("=", a, t),
|
|
42
|
+
"class-feature": n("\\+", a, t),
|
|
43
|
+
standard: n("", a, t)
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
s.languages["t4-templating"] = Object.defineProperty({}, "createT4", {
|
|
49
|
+
value: p
|
|
50
|
+
});
|
|
51
|
+
})(u);
|
|
52
|
+
}
|
|
53
|
+
return i;
|
|
54
|
+
}
|
|
55
|
+
export {
|
|
56
|
+
c as __require
|
|
57
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { __require as u } from "./t4-templating.mjs";
|
|
2
|
+
import { __require as b } from "./vbnet.mjs";
|
|
3
|
+
var t, a;
|
|
4
|
+
function s() {
|
|
5
|
+
if (a)
|
|
6
|
+
return t;
|
|
7
|
+
a = 1;
|
|
8
|
+
var i = u(), n = b();
|
|
9
|
+
t = r, r.displayName = "t4Vb", r.aliases = [];
|
|
10
|
+
function r(e) {
|
|
11
|
+
e.register(i), e.register(n), e.languages["t4-vb"] = e.languages["t4-templating"].createT4("vbnet");
|
|
12
|
+
}
|
|
13
|
+
return t;
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
s as __require
|
|
17
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { __require as n } from "./yaml.mjs";
|
|
2
|
+
var r, t;
|
|
3
|
+
function s() {
|
|
4
|
+
if (t)
|
|
5
|
+
return r;
|
|
6
|
+
t = 1;
|
|
7
|
+
var i = n();
|
|
8
|
+
r = a, a.displayName = "tap", a.aliases = [];
|
|
9
|
+
function a(e) {
|
|
10
|
+
e.register(i), e.languages.tap = {
|
|
11
|
+
fail: /not ok[^#{\n\r]*/,
|
|
12
|
+
pass: /ok[^#{\n\r]*/,
|
|
13
|
+
pragma: /pragma [+-][a-z]+/,
|
|
14
|
+
bailout: /bail out!.*/i,
|
|
15
|
+
version: /TAP version \d+/i,
|
|
16
|
+
plan: /\b\d+\.\.\d+(?: +#.*)?/,
|
|
17
|
+
subtest: {
|
|
18
|
+
pattern: /# Subtest(?:: .*)?/,
|
|
19
|
+
greedy: !0
|
|
20
|
+
},
|
|
21
|
+
punctuation: /[{}]/,
|
|
22
|
+
directive: /#.*/,
|
|
23
|
+
yamlish: {
|
|
24
|
+
pattern: /(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,
|
|
25
|
+
lookbehind: !0,
|
|
26
|
+
inside: e.languages.yaml,
|
|
27
|
+
alias: "language-yaml"
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
return r;
|
|
32
|
+
}
|
|
33
|
+
export {
|
|
34
|
+
s as __require
|
|
35
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
var t, r;
|
|
2
|
+
function n() {
|
|
3
|
+
if (r)
|
|
4
|
+
return t;
|
|
5
|
+
r = 1, t = e, e.displayName = "tcl", e.aliases = [];
|
|
6
|
+
function e(a) {
|
|
7
|
+
a.languages.tcl = {
|
|
8
|
+
comment: {
|
|
9
|
+
pattern: /(^|[^\\])#.*/,
|
|
10
|
+
lookbehind: !0
|
|
11
|
+
},
|
|
12
|
+
string: {
|
|
13
|
+
pattern: /"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,
|
|
14
|
+
greedy: !0
|
|
15
|
+
},
|
|
16
|
+
variable: [{
|
|
17
|
+
pattern: /(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,
|
|
18
|
+
lookbehind: !0
|
|
19
|
+
}, {
|
|
20
|
+
pattern: /(\$)\{[^}]+\}/,
|
|
21
|
+
lookbehind: !0
|
|
22
|
+
}, {
|
|
23
|
+
pattern: /(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,
|
|
24
|
+
lookbehind: !0
|
|
25
|
+
}],
|
|
26
|
+
function: {
|
|
27
|
+
pattern: /(^[\t ]*proc[ \t]+)\S+/m,
|
|
28
|
+
lookbehind: !0
|
|
29
|
+
},
|
|
30
|
+
builtin: [{
|
|
31
|
+
pattern: /(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,
|
|
32
|
+
lookbehind: !0
|
|
33
|
+
}, /\b(?:else|elseif)\b/],
|
|
34
|
+
scope: {
|
|
35
|
+
pattern: /(^[\t ]*)(?:global|upvar|variable)\b/m,
|
|
36
|
+
lookbehind: !0,
|
|
37
|
+
alias: "constant"
|
|
38
|
+
},
|
|
39
|
+
keyword: {
|
|
40
|
+
pattern: /(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,
|
|
41
|
+
lookbehind: !0
|
|
42
|
+
},
|
|
43
|
+
operator: /!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,
|
|
44
|
+
punctuation: /[{}()\[\]]/
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
return t;
|
|
48
|
+
}
|
|
49
|
+
export {
|
|
50
|
+
n as __require
|
|
51
|
+
};
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
var u, l;
|
|
2
|
+
function m() {
|
|
3
|
+
if (l)
|
|
4
|
+
return u;
|
|
5
|
+
l = 1, u = o, o.displayName = "textile", o.aliases = [];
|
|
6
|
+
function o(p) {
|
|
7
|
+
(function(s) {
|
|
8
|
+
var c = /\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source, k = /\)|\((?![^|()\n]+\))/.source;
|
|
9
|
+
function e(b, h) {
|
|
10
|
+
return RegExp(b.replace(/<MOD>/g, function() {
|
|
11
|
+
return "(?:" + c + ")";
|
|
12
|
+
}).replace(/<PAR>/g, function() {
|
|
13
|
+
return "(?:" + k + ")";
|
|
14
|
+
}), h || "");
|
|
15
|
+
}
|
|
16
|
+
var i = {
|
|
17
|
+
css: {
|
|
18
|
+
pattern: /\{[^{}]+\}/,
|
|
19
|
+
inside: {
|
|
20
|
+
rest: s.languages.css
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"class-id": {
|
|
24
|
+
pattern: /(\()[^()]+(?=\))/,
|
|
25
|
+
lookbehind: !0,
|
|
26
|
+
alias: "attr-value"
|
|
27
|
+
},
|
|
28
|
+
lang: {
|
|
29
|
+
pattern: /(\[)[^\[\]]+(?=\])/,
|
|
30
|
+
lookbehind: !0,
|
|
31
|
+
alias: "attr-value"
|
|
32
|
+
},
|
|
33
|
+
// Anything else is punctuation (the first pattern is for row/col spans inside tables)
|
|
34
|
+
punctuation: /[\\\/]\d+|\S/
|
|
35
|
+
}, d = s.languages.textile = s.languages.extend("markup", {
|
|
36
|
+
phrase: {
|
|
37
|
+
pattern: /(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,
|
|
38
|
+
lookbehind: !0,
|
|
39
|
+
inside: {
|
|
40
|
+
// h1. Header 1
|
|
41
|
+
"block-tag": {
|
|
42
|
+
pattern: e(/^[a-z]\w*(?:<MOD>|<PAR>|[<>=])*\./.source),
|
|
43
|
+
inside: {
|
|
44
|
+
modifier: {
|
|
45
|
+
pattern: e(/(^[a-z]\w*)(?:<MOD>|<PAR>|[<>=])+(?=\.)/.source),
|
|
46
|
+
lookbehind: !0,
|
|
47
|
+
inside: i
|
|
48
|
+
},
|
|
49
|
+
tag: /^[a-z]\w*/,
|
|
50
|
+
punctuation: /\.$/
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
// # List item
|
|
54
|
+
// * List item
|
|
55
|
+
list: {
|
|
56
|
+
pattern: e(/^[*#]+<MOD>*\s+\S.*/.source, "m"),
|
|
57
|
+
inside: {
|
|
58
|
+
modifier: {
|
|
59
|
+
pattern: e(/(^[*#]+)<MOD>+/.source),
|
|
60
|
+
lookbehind: !0,
|
|
61
|
+
inside: i
|
|
62
|
+
},
|
|
63
|
+
punctuation: /^[*#]+/
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
// | cell | cell | cell |
|
|
67
|
+
table: {
|
|
68
|
+
// Modifiers can be applied to the row: {color:red}.|1|2|3|
|
|
69
|
+
// or the cell: |{color:red}.1|2|3|
|
|
70
|
+
pattern: e(/^(?:(?:<MOD>|<PAR>|[<>=^~])+\.\s*)?(?:\|(?:(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.|(?!(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source, "m"),
|
|
71
|
+
inside: {
|
|
72
|
+
modifier: {
|
|
73
|
+
// Modifiers for rows after the first one are
|
|
74
|
+
// preceded by a pipe and a line feed
|
|
75
|
+
pattern: e(/(^|\|(?:\r?\n|\r)?)(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+(?=\.)/.source),
|
|
76
|
+
lookbehind: !0,
|
|
77
|
+
inside: i
|
|
78
|
+
},
|
|
79
|
+
punctuation: /\||^\./
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
inline: {
|
|
83
|
+
// eslint-disable-next-line regexp/no-super-linear-backtracking
|
|
84
|
+
pattern: e(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])<MOD>*.+?\2(?![a-zA-Z\d])/.source),
|
|
85
|
+
lookbehind: !0,
|
|
86
|
+
inside: {
|
|
87
|
+
// Note: superscripts and subscripts are not handled specifically
|
|
88
|
+
// *bold*, **bold**
|
|
89
|
+
bold: {
|
|
90
|
+
// eslint-disable-next-line regexp/no-super-linear-backtracking
|
|
91
|
+
pattern: e(/(^(\*\*?)<MOD>*).+?(?=\2)/.source),
|
|
92
|
+
lookbehind: !0
|
|
93
|
+
},
|
|
94
|
+
// _italic_, __italic__
|
|
95
|
+
italic: {
|
|
96
|
+
// eslint-disable-next-line regexp/no-super-linear-backtracking
|
|
97
|
+
pattern: e(/(^(__?)<MOD>*).+?(?=\2)/.source),
|
|
98
|
+
lookbehind: !0
|
|
99
|
+
},
|
|
100
|
+
// ??cite??
|
|
101
|
+
cite: {
|
|
102
|
+
// eslint-disable-next-line regexp/no-super-linear-backtracking
|
|
103
|
+
pattern: e(/(^\?\?<MOD>*).+?(?=\?\?)/.source),
|
|
104
|
+
lookbehind: !0,
|
|
105
|
+
alias: "string"
|
|
106
|
+
},
|
|
107
|
+
// @code@
|
|
108
|
+
code: {
|
|
109
|
+
// eslint-disable-next-line regexp/no-super-linear-backtracking
|
|
110
|
+
pattern: e(/(^@<MOD>*).+?(?=@)/.source),
|
|
111
|
+
lookbehind: !0,
|
|
112
|
+
alias: "keyword"
|
|
113
|
+
},
|
|
114
|
+
// +inserted+
|
|
115
|
+
inserted: {
|
|
116
|
+
// eslint-disable-next-line regexp/no-super-linear-backtracking
|
|
117
|
+
pattern: e(/(^\+<MOD>*).+?(?=\+)/.source),
|
|
118
|
+
lookbehind: !0
|
|
119
|
+
},
|
|
120
|
+
// -deleted-
|
|
121
|
+
deleted: {
|
|
122
|
+
// eslint-disable-next-line regexp/no-super-linear-backtracking
|
|
123
|
+
pattern: e(/(^-<MOD>*).+?(?=-)/.source),
|
|
124
|
+
lookbehind: !0
|
|
125
|
+
},
|
|
126
|
+
// %span%
|
|
127
|
+
span: {
|
|
128
|
+
// eslint-disable-next-line regexp/no-super-linear-backtracking
|
|
129
|
+
pattern: e(/(^%<MOD>*).+?(?=%)/.source),
|
|
130
|
+
lookbehind: !0
|
|
131
|
+
},
|
|
132
|
+
modifier: {
|
|
133
|
+
pattern: e(/(^\*\*|__|\?\?|[*_%@+\-^~])<MOD>+/.source),
|
|
134
|
+
lookbehind: !0,
|
|
135
|
+
inside: i
|
|
136
|
+
},
|
|
137
|
+
punctuation: /[*_%?@+\-^~]+/
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
// [alias]http://example.com
|
|
141
|
+
"link-ref": {
|
|
142
|
+
pattern: /^\[[^\]]+\]\S+$/m,
|
|
143
|
+
inside: {
|
|
144
|
+
string: {
|
|
145
|
+
pattern: /(^\[)[^\]]+(?=\])/,
|
|
146
|
+
lookbehind: !0
|
|
147
|
+
},
|
|
148
|
+
url: {
|
|
149
|
+
pattern: /(^\])\S+$/,
|
|
150
|
+
lookbehind: !0
|
|
151
|
+
},
|
|
152
|
+
punctuation: /[\[\]]/
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
// "text":http://example.com
|
|
156
|
+
// "text":link-ref
|
|
157
|
+
link: {
|
|
158
|
+
// eslint-disable-next-line regexp/no-super-linear-backtracking
|
|
159
|
+
pattern: e(/"<MOD>*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),
|
|
160
|
+
inside: {
|
|
161
|
+
text: {
|
|
162
|
+
// eslint-disable-next-line regexp/no-super-linear-backtracking
|
|
163
|
+
pattern: e(/(^"<MOD>*)[^"]+(?=")/.source),
|
|
164
|
+
lookbehind: !0
|
|
165
|
+
},
|
|
166
|
+
modifier: {
|
|
167
|
+
pattern: e(/(^")<MOD>+/.source),
|
|
168
|
+
lookbehind: !0,
|
|
169
|
+
inside: i
|
|
170
|
+
},
|
|
171
|
+
url: {
|
|
172
|
+
pattern: /(:).+/,
|
|
173
|
+
lookbehind: !0
|
|
174
|
+
},
|
|
175
|
+
punctuation: /[":]/
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
// !image.jpg!
|
|
179
|
+
// !image.jpg(Title)!:http://example.com
|
|
180
|
+
image: {
|
|
181
|
+
pattern: e(/!(?:<MOD>|<PAR>|[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),
|
|
182
|
+
inside: {
|
|
183
|
+
source: {
|
|
184
|
+
pattern: e(/(^!(?:<MOD>|<PAR>|[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),
|
|
185
|
+
lookbehind: !0,
|
|
186
|
+
alias: "url"
|
|
187
|
+
},
|
|
188
|
+
modifier: {
|
|
189
|
+
pattern: e(/(^!)(?:<MOD>|<PAR>|[<>=])+/.source),
|
|
190
|
+
lookbehind: !0,
|
|
191
|
+
inside: i
|
|
192
|
+
},
|
|
193
|
+
url: {
|
|
194
|
+
pattern: /(:).+/,
|
|
195
|
+
lookbehind: !0
|
|
196
|
+
},
|
|
197
|
+
punctuation: /[!:]/
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
// Footnote[1]
|
|
201
|
+
footnote: {
|
|
202
|
+
pattern: /\b\[\d+\]/,
|
|
203
|
+
alias: "comment",
|
|
204
|
+
inside: {
|
|
205
|
+
punctuation: /\[|\]/
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
// CSS(Cascading Style Sheet)
|
|
209
|
+
acronym: {
|
|
210
|
+
pattern: /\b[A-Z\d]+\([^)]+\)/,
|
|
211
|
+
inside: {
|
|
212
|
+
comment: {
|
|
213
|
+
pattern: /(\()[^()]+(?=\))/,
|
|
214
|
+
lookbehind: !0
|
|
215
|
+
},
|
|
216
|
+
punctuation: /[()]/
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
// Prism(C)
|
|
220
|
+
mark: {
|
|
221
|
+
pattern: /\b\((?:C|R|TM)\)/,
|
|
222
|
+
alias: "comment",
|
|
223
|
+
inside: {
|
|
224
|
+
punctuation: /[()]/
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}), t = d.phrase.inside, n = {
|
|
230
|
+
inline: t.inline,
|
|
231
|
+
link: t.link,
|
|
232
|
+
image: t.image,
|
|
233
|
+
footnote: t.footnote,
|
|
234
|
+
acronym: t.acronym,
|
|
235
|
+
mark: t.mark
|
|
236
|
+
};
|
|
237
|
+
d.tag.pattern = /<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;
|
|
238
|
+
var a = t.inline.inside;
|
|
239
|
+
a.bold.inside = n, a.italic.inside = n, a.inserted.inside = n, a.deleted.inside = n, a.span.inside = n;
|
|
240
|
+
var r = t.table.inside;
|
|
241
|
+
r.inline = n.inline, r.link = n.link, r.image = n.image, r.footnote = n.footnote, r.acronym = n.acronym, r.mark = n.mark;
|
|
242
|
+
})(p);
|
|
243
|
+
}
|
|
244
|
+
return u;
|
|
245
|
+
}
|
|
246
|
+
export {
|
|
247
|
+
m as __require
|
|
248
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
var r, n;
|
|
2
|
+
function o() {
|
|
3
|
+
if (n)
|
|
4
|
+
return r;
|
|
5
|
+
n = 1, r = e, e.displayName = "toml", e.aliases = [];
|
|
6
|
+
function e(a) {
|
|
7
|
+
(function(d) {
|
|
8
|
+
var s = /(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;
|
|
9
|
+
function t(u) {
|
|
10
|
+
return u.replace(/__/g, function() {
|
|
11
|
+
return s;
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
d.languages.toml = {
|
|
15
|
+
comment: {
|
|
16
|
+
pattern: /#.*/,
|
|
17
|
+
greedy: !0
|
|
18
|
+
},
|
|
19
|
+
table: {
|
|
20
|
+
pattern: RegExp(t(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source), "m"),
|
|
21
|
+
lookbehind: !0,
|
|
22
|
+
greedy: !0,
|
|
23
|
+
alias: "class-name"
|
|
24
|
+
},
|
|
25
|
+
key: {
|
|
26
|
+
pattern: RegExp(t(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source), "m"),
|
|
27
|
+
lookbehind: !0,
|
|
28
|
+
greedy: !0,
|
|
29
|
+
alias: "property"
|
|
30
|
+
},
|
|
31
|
+
string: {
|
|
32
|
+
pattern: /"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,
|
|
33
|
+
greedy: !0
|
|
34
|
+
},
|
|
35
|
+
date: [{
|
|
36
|
+
// Offset Date-Time, Local Date-Time, Local Date
|
|
37
|
+
pattern: /\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,
|
|
38
|
+
alias: "number"
|
|
39
|
+
}, {
|
|
40
|
+
// Local Time
|
|
41
|
+
pattern: /\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,
|
|
42
|
+
alias: "number"
|
|
43
|
+
}],
|
|
44
|
+
number: /(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,
|
|
45
|
+
boolean: /\b(?:false|true)\b/,
|
|
46
|
+
punctuation: /[.,=[\]{}]/
|
|
47
|
+
};
|
|
48
|
+
})(a);
|
|
49
|
+
}
|
|
50
|
+
return r;
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
o as __require
|
|
54
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
var n, o;
|
|
2
|
+
function i() {
|
|
3
|
+
if (o)
|
|
4
|
+
return n;
|
|
5
|
+
o = 1, n = r, r.displayName = "tremor", r.aliases = [];
|
|
6
|
+
function r(a) {
|
|
7
|
+
(function(e) {
|
|
8
|
+
e.languages.tremor = {
|
|
9
|
+
comment: {
|
|
10
|
+
pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,
|
|
11
|
+
lookbehind: !0
|
|
12
|
+
},
|
|
13
|
+
"interpolated-string": null,
|
|
14
|
+
// see below
|
|
15
|
+
extractor: {
|
|
16
|
+
pattern: /\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,
|
|
17
|
+
greedy: !0,
|
|
18
|
+
inside: {
|
|
19
|
+
regex: {
|
|
20
|
+
pattern: /(^re)\|[\s\S]+/,
|
|
21
|
+
lookbehind: !0
|
|
22
|
+
},
|
|
23
|
+
function: /^\w+/,
|
|
24
|
+
value: /\|[\s\S]+/
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
identifier: {
|
|
28
|
+
pattern: /`[^`]*`/,
|
|
29
|
+
greedy: !0
|
|
30
|
+
},
|
|
31
|
+
function: /\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,
|
|
32
|
+
keyword: /\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,
|
|
33
|
+
boolean: /\b(?:false|null|true)\b/i,
|
|
34
|
+
number: /\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,
|
|
35
|
+
"pattern-punctuation": {
|
|
36
|
+
pattern: /%(?=[({[])/,
|
|
37
|
+
alias: "punctuation"
|
|
38
|
+
},
|
|
39
|
+
operator: /[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?>?=?|(?:absent|and|not|or|present|xor)\b/,
|
|
40
|
+
punctuation: /::|[;\[\]()\{\},.:]/
|
|
41
|
+
};
|
|
42
|
+
var t = /#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;
|
|
43
|
+
e.languages.tremor["interpolated-string"] = {
|
|
44
|
+
pattern: RegExp(/(^|[^\\])/.source + '(?:"""(?:' + /[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source + "|" + t + ')*"""|"(?:' + /[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source + "|" + t + ')*")'),
|
|
45
|
+
lookbehind: !0,
|
|
46
|
+
greedy: !0,
|
|
47
|
+
inside: {
|
|
48
|
+
interpolation: {
|
|
49
|
+
pattern: RegExp(t),
|
|
50
|
+
inside: {
|
|
51
|
+
punctuation: /^#\{|\}$/,
|
|
52
|
+
expression: {
|
|
53
|
+
pattern: /[\s\S]+/,
|
|
54
|
+
inside: e.languages.tremor
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
string: /[\s\S]+/
|
|
59
|
+
}
|
|
60
|
+
}, e.languages.troy = e.languages.tremor, e.languages.trickle = e.languages.tremor;
|
|
61
|
+
})(a);
|
|
62
|
+
}
|
|
63
|
+
return n;
|
|
64
|
+
}
|
|
65
|
+
export {
|
|
66
|
+
i as __require
|
|
67
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { __require as i } from "./jsx.mjs";
|
|
2
|
+
import { __require as l } from "./typescript.mjs";
|
|
3
|
+
var s, u;
|
|
4
|
+
function c() {
|
|
5
|
+
if (u)
|
|
6
|
+
return s;
|
|
7
|
+
u = 1;
|
|
8
|
+
var n = i(), p = l();
|
|
9
|
+
s = t, t.displayName = "tsx", t.aliases = [];
|
|
10
|
+
function t(a) {
|
|
11
|
+
a.register(n), a.register(p), function(e) {
|
|
12
|
+
var g = e.util.clone(e.languages.typescript);
|
|
13
|
+
e.languages.tsx = e.languages.extend("jsx", g), delete e.languages.tsx.parameter, delete e.languages.tsx["literal-property"];
|
|
14
|
+
var r = e.languages.tsx.tag;
|
|
15
|
+
r.pattern = RegExp(/(^|[^\w$]|(?=<\/))/.source + "(?:" + r.pattern.source + ")", r.pattern.flags), r.lookbehind = !0;
|
|
16
|
+
}(a);
|
|
17
|
+
}
|
|
18
|
+
return s;
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
c as __require
|
|
22
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { __require as g } from "./markup-templating.mjs";
|
|
2
|
+
var r, i;
|
|
3
|
+
function s() {
|
|
4
|
+
if (i)
|
|
5
|
+
return r;
|
|
6
|
+
i = 1;
|
|
7
|
+
var u = g();
|
|
8
|
+
r = t, t.displayName = "tt2", t.aliases = [];
|
|
9
|
+
function t(n) {
|
|
10
|
+
n.register(u), function(e) {
|
|
11
|
+
e.languages.tt2 = e.languages.extend("clike", {
|
|
12
|
+
comment: /#.*|\[%#[\s\S]*?%\]/,
|
|
13
|
+
keyword: /\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,
|
|
14
|
+
punctuation: /[[\]{},()]/
|
|
15
|
+
}), e.languages.insertBefore("tt2", "number", {
|
|
16
|
+
operator: /=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,
|
|
17
|
+
variable: {
|
|
18
|
+
pattern: /\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i
|
|
19
|
+
}
|
|
20
|
+
}), e.languages.insertBefore("tt2", "keyword", {
|
|
21
|
+
delimiter: {
|
|
22
|
+
pattern: /^(?:\[%|%%)-?|-?%\]$/,
|
|
23
|
+
alias: "punctuation"
|
|
24
|
+
}
|
|
25
|
+
}), e.languages.insertBefore("tt2", "string", {
|
|
26
|
+
"single-quoted-string": {
|
|
27
|
+
pattern: /'[^\\']*(?:\\[\s\S][^\\']*)*'/,
|
|
28
|
+
greedy: !0,
|
|
29
|
+
alias: "string"
|
|
30
|
+
},
|
|
31
|
+
"double-quoted-string": {
|
|
32
|
+
pattern: /"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,
|
|
33
|
+
greedy: !0,
|
|
34
|
+
alias: "string",
|
|
35
|
+
inside: {
|
|
36
|
+
variable: {
|
|
37
|
+
pattern: /\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}), delete e.languages.tt2.string, e.hooks.add("before-tokenize", function(a) {
|
|
42
|
+
var o = /\[%[\s\S]+?%\]/g;
|
|
43
|
+
e.languages["markup-templating"].buildPlaceholders(a, "tt2", o);
|
|
44
|
+
}), e.hooks.add("after-tokenize", function(a) {
|
|
45
|
+
e.languages["markup-templating"].tokenizePlaceholders(a, "tt2");
|
|
46
|
+
});
|
|
47
|
+
}(n);
|
|
48
|
+
}
|
|
49
|
+
return r;
|
|
50
|
+
}
|
|
51
|
+
export {
|
|
52
|
+
s as __require
|
|
53
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
var r, n;
|
|
2
|
+
function a() {
|
|
3
|
+
if (n)
|
|
4
|
+
return r;
|
|
5
|
+
n = 1, r = e, e.displayName = "turtle", e.aliases = [];
|
|
6
|
+
function e(t) {
|
|
7
|
+
t.languages.turtle = {
|
|
8
|
+
comment: {
|
|
9
|
+
pattern: /#.*/,
|
|
10
|
+
greedy: !0
|
|
11
|
+
},
|
|
12
|
+
"multiline-string": {
|
|
13
|
+
pattern: /"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,
|
|
14
|
+
greedy: !0,
|
|
15
|
+
alias: "string",
|
|
16
|
+
inside: {
|
|
17
|
+
comment: /#.*/
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
string: {
|
|
21
|
+
pattern: /"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,
|
|
22
|
+
greedy: !0
|
|
23
|
+
},
|
|
24
|
+
url: {
|
|
25
|
+
pattern: /<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,
|
|
26
|
+
greedy: !0,
|
|
27
|
+
inside: {
|
|
28
|
+
punctuation: /[<>]/
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
function: {
|
|
32
|
+
pattern: /(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,
|
|
33
|
+
inside: {
|
|
34
|
+
"local-name": {
|
|
35
|
+
pattern: /([^:]*:)[\s\S]+/,
|
|
36
|
+
lookbehind: !0
|
|
37
|
+
},
|
|
38
|
+
prefix: {
|
|
39
|
+
pattern: /[\s\S]+/,
|
|
40
|
+
inside: {
|
|
41
|
+
punctuation: /:/
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
number: /[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,
|
|
47
|
+
punctuation: /[{}.,;()[\]]|\^\^/,
|
|
48
|
+
boolean: /\b(?:false|true)\b/,
|
|
49
|
+
keyword: [/(?:\ba|@prefix|@base)\b|=/, /\b(?:base|graph|prefix)\b/i],
|
|
50
|
+
tag: {
|
|
51
|
+
pattern: /@[a-z]+(?:-[a-z\d]+)*/i,
|
|
52
|
+
inside: {
|
|
53
|
+
punctuation: /@/
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}, t.languages.trig = t.languages.turtle;
|
|
57
|
+
}
|
|
58
|
+
return r;
|
|
59
|
+
}
|
|
60
|
+
export {
|
|
61
|
+
a as __require
|
|
62
|
+
};
|