@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,101 @@
|
|
|
1
|
+
import S from "../../../@babel/runtime/helpers/esm/extends.mjs";
|
|
2
|
+
import w from "../../../@babel/runtime/helpers/esm/defineProperty.mjs";
|
|
3
|
+
import C from "react";
|
|
4
|
+
function p(c, t) {
|
|
5
|
+
var n = Object.keys(c);
|
|
6
|
+
if (Object.getOwnPropertySymbols) {
|
|
7
|
+
var o = Object.getOwnPropertySymbols(c);
|
|
8
|
+
t && (o = o.filter(function(u) {
|
|
9
|
+
return Object.getOwnPropertyDescriptor(c, u).enumerable;
|
|
10
|
+
})), n.push.apply(n, o);
|
|
11
|
+
}
|
|
12
|
+
return n;
|
|
13
|
+
}
|
|
14
|
+
function s(c) {
|
|
15
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
16
|
+
var n = arguments[t] != null ? arguments[t] : {};
|
|
17
|
+
t % 2 ? p(Object(n), !0).forEach(function(o) {
|
|
18
|
+
w(c, o, n[o]);
|
|
19
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(c, Object.getOwnPropertyDescriptors(n)) : p(Object(n)).forEach(function(o) {
|
|
20
|
+
Object.defineProperty(c, o, Object.getOwnPropertyDescriptor(n, o));
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
return c;
|
|
24
|
+
}
|
|
25
|
+
function E(c) {
|
|
26
|
+
var t = c.length;
|
|
27
|
+
if (t === 0 || t === 1)
|
|
28
|
+
return c;
|
|
29
|
+
if (t === 2)
|
|
30
|
+
return [c[0], c[1], "".concat(c[0], ".").concat(c[1]), "".concat(c[1], ".").concat(c[0])];
|
|
31
|
+
if (t === 3)
|
|
32
|
+
return [c[0], c[1], c[2], "".concat(c[0], ".").concat(c[1]), "".concat(c[0], ".").concat(c[2]), "".concat(c[1], ".").concat(c[0]), "".concat(c[1], ".").concat(c[2]), "".concat(c[2], ".").concat(c[0]), "".concat(c[2], ".").concat(c[1]), "".concat(c[0], ".").concat(c[1], ".").concat(c[2]), "".concat(c[0], ".").concat(c[2], ".").concat(c[1]), "".concat(c[1], ".").concat(c[0], ".").concat(c[2]), "".concat(c[1], ".").concat(c[2], ".").concat(c[0]), "".concat(c[2], ".").concat(c[0], ".").concat(c[1]), "".concat(c[2], ".").concat(c[1], ".").concat(c[0])];
|
|
33
|
+
if (t >= 4)
|
|
34
|
+
return [c[0], c[1], c[2], c[3], "".concat(c[0], ".").concat(c[1]), "".concat(c[0], ".").concat(c[2]), "".concat(c[0], ".").concat(c[3]), "".concat(c[1], ".").concat(c[0]), "".concat(c[1], ".").concat(c[2]), "".concat(c[1], ".").concat(c[3]), "".concat(c[2], ".").concat(c[0]), "".concat(c[2], ".").concat(c[1]), "".concat(c[2], ".").concat(c[3]), "".concat(c[3], ".").concat(c[0]), "".concat(c[3], ".").concat(c[1]), "".concat(c[3], ".").concat(c[2]), "".concat(c[0], ".").concat(c[1], ".").concat(c[2]), "".concat(c[0], ".").concat(c[1], ".").concat(c[3]), "".concat(c[0], ".").concat(c[2], ".").concat(c[1]), "".concat(c[0], ".").concat(c[2], ".").concat(c[3]), "".concat(c[0], ".").concat(c[3], ".").concat(c[1]), "".concat(c[0], ".").concat(c[3], ".").concat(c[2]), "".concat(c[1], ".").concat(c[0], ".").concat(c[2]), "".concat(c[1], ".").concat(c[0], ".").concat(c[3]), "".concat(c[1], ".").concat(c[2], ".").concat(c[0]), "".concat(c[1], ".").concat(c[2], ".").concat(c[3]), "".concat(c[1], ".").concat(c[3], ".").concat(c[0]), "".concat(c[1], ".").concat(c[3], ".").concat(c[2]), "".concat(c[2], ".").concat(c[0], ".").concat(c[1]), "".concat(c[2], ".").concat(c[0], ".").concat(c[3]), "".concat(c[2], ".").concat(c[1], ".").concat(c[0]), "".concat(c[2], ".").concat(c[1], ".").concat(c[3]), "".concat(c[2], ".").concat(c[3], ".").concat(c[0]), "".concat(c[2], ".").concat(c[3], ".").concat(c[1]), "".concat(c[3], ".").concat(c[0], ".").concat(c[1]), "".concat(c[3], ".").concat(c[0], ".").concat(c[2]), "".concat(c[3], ".").concat(c[1], ".").concat(c[0]), "".concat(c[3], ".").concat(c[1], ".").concat(c[2]), "".concat(c[3], ".").concat(c[2], ".").concat(c[0]), "".concat(c[3], ".").concat(c[2], ".").concat(c[1]), "".concat(c[0], ".").concat(c[1], ".").concat(c[2], ".").concat(c[3]), "".concat(c[0], ".").concat(c[1], ".").concat(c[3], ".").concat(c[2]), "".concat(c[0], ".").concat(c[2], ".").concat(c[1], ".").concat(c[3]), "".concat(c[0], ".").concat(c[2], ".").concat(c[3], ".").concat(c[1]), "".concat(c[0], ".").concat(c[3], ".").concat(c[1], ".").concat(c[2]), "".concat(c[0], ".").concat(c[3], ".").concat(c[2], ".").concat(c[1]), "".concat(c[1], ".").concat(c[0], ".").concat(c[2], ".").concat(c[3]), "".concat(c[1], ".").concat(c[0], ".").concat(c[3], ".").concat(c[2]), "".concat(c[1], ".").concat(c[2], ".").concat(c[0], ".").concat(c[3]), "".concat(c[1], ".").concat(c[2], ".").concat(c[3], ".").concat(c[0]), "".concat(c[1], ".").concat(c[3], ".").concat(c[0], ".").concat(c[2]), "".concat(c[1], ".").concat(c[3], ".").concat(c[2], ".").concat(c[0]), "".concat(c[2], ".").concat(c[0], ".").concat(c[1], ".").concat(c[3]), "".concat(c[2], ".").concat(c[0], ".").concat(c[3], ".").concat(c[1]), "".concat(c[2], ".").concat(c[1], ".").concat(c[0], ".").concat(c[3]), "".concat(c[2], ".").concat(c[1], ".").concat(c[3], ".").concat(c[0]), "".concat(c[2], ".").concat(c[3], ".").concat(c[0], ".").concat(c[1]), "".concat(c[2], ".").concat(c[3], ".").concat(c[1], ".").concat(c[0]), "".concat(c[3], ".").concat(c[0], ".").concat(c[1], ".").concat(c[2]), "".concat(c[3], ".").concat(c[0], ".").concat(c[2], ".").concat(c[1]), "".concat(c[3], ".").concat(c[1], ".").concat(c[0], ".").concat(c[2]), "".concat(c[3], ".").concat(c[1], ".").concat(c[2], ".").concat(c[0]), "".concat(c[3], ".").concat(c[2], ".").concat(c[0], ".").concat(c[1]), "".concat(c[3], ".").concat(c[2], ".").concat(c[1], ".").concat(c[0])];
|
|
35
|
+
}
|
|
36
|
+
var m = {};
|
|
37
|
+
function D(c) {
|
|
38
|
+
if (c.length === 0 || c.length === 1)
|
|
39
|
+
return c;
|
|
40
|
+
var t = c.join(".");
|
|
41
|
+
return m[t] || (m[t] = E(c)), m[t];
|
|
42
|
+
}
|
|
43
|
+
function x(c) {
|
|
44
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 ? arguments[2] : void 0, o = c.filter(function(i) {
|
|
45
|
+
return i !== "token";
|
|
46
|
+
}), u = D(o);
|
|
47
|
+
return u.reduce(function(i, l) {
|
|
48
|
+
return s(s({}, i), n[l]);
|
|
49
|
+
}, t);
|
|
50
|
+
}
|
|
51
|
+
function d(c) {
|
|
52
|
+
return c.join(" ");
|
|
53
|
+
}
|
|
54
|
+
function I(c, t) {
|
|
55
|
+
var n = 0;
|
|
56
|
+
return function(o) {
|
|
57
|
+
return n += 1, o.map(function(u, i) {
|
|
58
|
+
return T({
|
|
59
|
+
node: u,
|
|
60
|
+
stylesheet: c,
|
|
61
|
+
useInlineStyles: t,
|
|
62
|
+
key: "code-segment-".concat(n, "-").concat(i)
|
|
63
|
+
});
|
|
64
|
+
});
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
function T(c) {
|
|
68
|
+
var t = c.node, n = c.stylesheet, o = c.style, u = o === void 0 ? {} : o, i = c.useInlineStyles, l = c.key, e = t.properties, v = t.type, y = t.tagName, b = t.value;
|
|
69
|
+
if (v === "text")
|
|
70
|
+
return b;
|
|
71
|
+
if (y) {
|
|
72
|
+
var O = I(n, i), f;
|
|
73
|
+
if (!i)
|
|
74
|
+
f = s(s({}, e), {}, {
|
|
75
|
+
className: d(e.className)
|
|
76
|
+
});
|
|
77
|
+
else {
|
|
78
|
+
var h = Object.keys(n).reduce(function(a, P) {
|
|
79
|
+
return P.split(".").forEach(function(g) {
|
|
80
|
+
a.includes(g) || a.push(g);
|
|
81
|
+
}), a;
|
|
82
|
+
}, []), j = e.className && e.className.includes("token") ? ["token"] : [], k = e.className && j.concat(e.className.filter(function(a) {
|
|
83
|
+
return !h.includes(a);
|
|
84
|
+
}));
|
|
85
|
+
f = s(s({}, e), {}, {
|
|
86
|
+
className: d(k) || void 0,
|
|
87
|
+
style: x(e.className, Object.assign({}, e.style, u), n)
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
var N = O(t.children);
|
|
91
|
+
return /* @__PURE__ */ C.createElement(y, S({
|
|
92
|
+
key: l
|
|
93
|
+
}, f), N);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
export {
|
|
97
|
+
I as createChildren,
|
|
98
|
+
d as createClassNameString,
|
|
99
|
+
x as createStyleObject,
|
|
100
|
+
T as default
|
|
101
|
+
};
|
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
import ne from "../../../@babel/runtime/helpers/esm/objectWithoutProperties.mjs";
|
|
2
|
+
import K from "../../../@babel/runtime/helpers/esm/toConsumableArray.mjs";
|
|
3
|
+
import te from "../../../@babel/runtime/helpers/esm/defineProperty.mjs";
|
|
4
|
+
import S from "react";
|
|
5
|
+
import re from "./create-element.mjs";
|
|
6
|
+
import ae from "./checkForListedLanguage.mjs";
|
|
7
|
+
var se = ["language", "children", "style", "customStyle", "codeTagProps", "useInlineStyles", "showLineNumbers", "showInlineLineNumbers", "startingLineNumber", "lineNumberContainerStyle", "lineNumberStyle", "wrapLines", "wrapLongLines", "lineProps", "renderer", "PreTag", "CodeTag", "code", "astGenerator"];
|
|
8
|
+
function M(e, r) {
|
|
9
|
+
var t = Object.keys(e);
|
|
10
|
+
if (Object.getOwnPropertySymbols) {
|
|
11
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
12
|
+
r && (n = n.filter(function(a) {
|
|
13
|
+
return Object.getOwnPropertyDescriptor(e, a).enumerable;
|
|
14
|
+
})), t.push.apply(t, n);
|
|
15
|
+
}
|
|
16
|
+
return t;
|
|
17
|
+
}
|
|
18
|
+
function f(e) {
|
|
19
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
20
|
+
var t = arguments[r] != null ? arguments[r] : {};
|
|
21
|
+
r % 2 ? M(Object(t), !0).forEach(function(n) {
|
|
22
|
+
te(e, n, t[n]);
|
|
23
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : M(Object(t)).forEach(function(n) {
|
|
24
|
+
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
return e;
|
|
28
|
+
}
|
|
29
|
+
var le = /\n/g;
|
|
30
|
+
function ie(e) {
|
|
31
|
+
return e.match(le);
|
|
32
|
+
}
|
|
33
|
+
function oe(e) {
|
|
34
|
+
var r = e.lines, t = e.startingLineNumber, n = e.style;
|
|
35
|
+
return r.map(function(a, s) {
|
|
36
|
+
var o = s + t;
|
|
37
|
+
return /* @__PURE__ */ S.createElement("span", {
|
|
38
|
+
key: "line-".concat(s),
|
|
39
|
+
className: "react-syntax-highlighter-line-number",
|
|
40
|
+
style: typeof n == "function" ? n(o) : n
|
|
41
|
+
}, "".concat(o, `
|
|
42
|
+
`));
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
function ue(e) {
|
|
46
|
+
var r = e.codeString, t = e.codeStyle, n = e.containerStyle, a = n === void 0 ? {
|
|
47
|
+
float: "left",
|
|
48
|
+
paddingRight: "10px"
|
|
49
|
+
} : n, s = e.numberStyle, o = s === void 0 ? {} : s, c = e.startingLineNumber;
|
|
50
|
+
return /* @__PURE__ */ S.createElement("code", {
|
|
51
|
+
style: Object.assign({}, t, a)
|
|
52
|
+
}, oe({
|
|
53
|
+
lines: r.replace(/\n$/, "").split(`
|
|
54
|
+
`),
|
|
55
|
+
style: o,
|
|
56
|
+
startingLineNumber: c
|
|
57
|
+
}));
|
|
58
|
+
}
|
|
59
|
+
function ce(e) {
|
|
60
|
+
return "".concat(e.toString().length, ".25em");
|
|
61
|
+
}
|
|
62
|
+
function Q(e, r) {
|
|
63
|
+
return {
|
|
64
|
+
type: "element",
|
|
65
|
+
tagName: "span",
|
|
66
|
+
properties: {
|
|
67
|
+
key: "line-number--".concat(e),
|
|
68
|
+
className: ["comment", "linenumber", "react-syntax-highlighter-line-number"],
|
|
69
|
+
style: r
|
|
70
|
+
},
|
|
71
|
+
children: [{
|
|
72
|
+
type: "text",
|
|
73
|
+
value: e
|
|
74
|
+
}]
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
function X(e, r, t) {
|
|
78
|
+
var n = {
|
|
79
|
+
display: "inline-block",
|
|
80
|
+
minWidth: ce(t),
|
|
81
|
+
paddingRight: "1em",
|
|
82
|
+
textAlign: "right",
|
|
83
|
+
userSelect: "none"
|
|
84
|
+
}, a = typeof e == "function" ? e(r) : e, s = f(f({}, n), a);
|
|
85
|
+
return s;
|
|
86
|
+
}
|
|
87
|
+
function H(e) {
|
|
88
|
+
var r = e.children, t = e.lineNumber, n = e.lineNumberStyle, a = e.largestLineNumber, s = e.showInlineLineNumbers, o = e.lineProps, c = o === void 0 ? {} : o, b = e.className, h = b === void 0 ? [] : b, u = e.showLineNumbers, l = e.wrapLongLines, y = e.wrapLines, g = y === void 0 ? !1 : y, p = g ? f({}, typeof c == "function" ? c(t) : c) : {};
|
|
89
|
+
if (p.className = p.className ? [].concat(K(p.className.trim().split(/\s+/)), K(h)) : h, t && s) {
|
|
90
|
+
var w = X(n, t, a);
|
|
91
|
+
r.unshift(Q(t, w));
|
|
92
|
+
}
|
|
93
|
+
return l & u && (p.style = f({
|
|
94
|
+
display: "flex"
|
|
95
|
+
}, p.style)), {
|
|
96
|
+
type: "element",
|
|
97
|
+
tagName: "span",
|
|
98
|
+
properties: p,
|
|
99
|
+
children: r
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
function Y(e) {
|
|
103
|
+
for (var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [], n = 0; n < e.length; n++) {
|
|
104
|
+
var a = e[n];
|
|
105
|
+
if (a.type === "text")
|
|
106
|
+
t.push(H({
|
|
107
|
+
children: [a],
|
|
108
|
+
className: K(new Set(r))
|
|
109
|
+
}));
|
|
110
|
+
else if (a.children) {
|
|
111
|
+
var s = r.concat(a.properties.className);
|
|
112
|
+
Y(a.children, s).forEach(function(o) {
|
|
113
|
+
return t.push(o);
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
return t;
|
|
118
|
+
}
|
|
119
|
+
function ge(e, r, t, n, a, s, o, c, b) {
|
|
120
|
+
var h, u = Y(e.value), l = [], y = -1, g = 0;
|
|
121
|
+
function p(d, i) {
|
|
122
|
+
var m = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
|
|
123
|
+
return H({
|
|
124
|
+
children: d,
|
|
125
|
+
lineNumber: i,
|
|
126
|
+
lineNumberStyle: c,
|
|
127
|
+
largestLineNumber: o,
|
|
128
|
+
showInlineLineNumbers: a,
|
|
129
|
+
lineProps: t,
|
|
130
|
+
className: m,
|
|
131
|
+
showLineNumbers: n,
|
|
132
|
+
wrapLongLines: b,
|
|
133
|
+
wrapLines: r
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
function w(d, i) {
|
|
137
|
+
if (n && i && a) {
|
|
138
|
+
var m = X(c, i, o);
|
|
139
|
+
d.unshift(Q(i, m));
|
|
140
|
+
}
|
|
141
|
+
return d;
|
|
142
|
+
}
|
|
143
|
+
function N(d, i) {
|
|
144
|
+
var m = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
|
|
145
|
+
return r || m.length > 0 ? p(d, i, m) : w(d, i);
|
|
146
|
+
}
|
|
147
|
+
for (var k = function() {
|
|
148
|
+
var i = u[g], m = i.children[0].value, A = ie(m);
|
|
149
|
+
if (A) {
|
|
150
|
+
var O = m.split(`
|
|
151
|
+
`);
|
|
152
|
+
O.forEach(function(T, G) {
|
|
153
|
+
var v = n && l.length + s, I = {
|
|
154
|
+
type: "text",
|
|
155
|
+
value: "".concat(T, `
|
|
156
|
+
`)
|
|
157
|
+
};
|
|
158
|
+
if (G === 0) {
|
|
159
|
+
var R = u.slice(y + 1, g).concat(H({
|
|
160
|
+
children: [I],
|
|
161
|
+
className: i.properties.className
|
|
162
|
+
})), D = N(R, v);
|
|
163
|
+
l.push(D);
|
|
164
|
+
} else if (G === O.length - 1) {
|
|
165
|
+
var W = u[g + 1] && u[g + 1].children && u[g + 1].children[0], E = {
|
|
166
|
+
type: "text",
|
|
167
|
+
value: "".concat(T)
|
|
168
|
+
};
|
|
169
|
+
if (W) {
|
|
170
|
+
var j = H({
|
|
171
|
+
children: [E],
|
|
172
|
+
className: i.properties.className
|
|
173
|
+
});
|
|
174
|
+
u.splice(g + 1, 0, j);
|
|
175
|
+
} else {
|
|
176
|
+
var L = [E], x = N(L, v, i.properties.className);
|
|
177
|
+
l.push(x);
|
|
178
|
+
}
|
|
179
|
+
} else {
|
|
180
|
+
var V = [I], F = N(V, v, i.properties.className);
|
|
181
|
+
l.push(F);
|
|
182
|
+
}
|
|
183
|
+
}), y = g;
|
|
184
|
+
}
|
|
185
|
+
g++;
|
|
186
|
+
}; g < u.length; )
|
|
187
|
+
k();
|
|
188
|
+
if (y !== u.length - 1) {
|
|
189
|
+
var P = u.slice(y + 1, u.length);
|
|
190
|
+
if (P && P.length) {
|
|
191
|
+
var C = n && l.length + s, B = N(P, C);
|
|
192
|
+
l.push(B);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
return r ? l : (h = []).concat.apply(h, l);
|
|
196
|
+
}
|
|
197
|
+
function me(e) {
|
|
198
|
+
var r = e.rows, t = e.stylesheet, n = e.useInlineStyles;
|
|
199
|
+
return r.map(function(a, s) {
|
|
200
|
+
return re({
|
|
201
|
+
node: a,
|
|
202
|
+
stylesheet: t,
|
|
203
|
+
useInlineStyles: n,
|
|
204
|
+
key: "code-segement".concat(s)
|
|
205
|
+
});
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
function Z(e) {
|
|
209
|
+
return e && typeof e.highlightAuto != "undefined";
|
|
210
|
+
}
|
|
211
|
+
function pe(e) {
|
|
212
|
+
var r = e.astGenerator, t = e.language, n = e.code, a = e.defaultCodeValue;
|
|
213
|
+
if (Z(r)) {
|
|
214
|
+
var s = ae(r, t);
|
|
215
|
+
return t === "text" ? {
|
|
216
|
+
value: a,
|
|
217
|
+
language: "text"
|
|
218
|
+
} : s ? r.highlight(t, n) : r.highlightAuto(n);
|
|
219
|
+
}
|
|
220
|
+
try {
|
|
221
|
+
return t && t !== "text" ? {
|
|
222
|
+
value: r.highlight(n, t)
|
|
223
|
+
} : {
|
|
224
|
+
value: a
|
|
225
|
+
};
|
|
226
|
+
} catch (o) {
|
|
227
|
+
return {
|
|
228
|
+
value: a
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
function Ne(e, r) {
|
|
233
|
+
return function(n) {
|
|
234
|
+
var a = n.language, s = n.children, o = n.style, c = o === void 0 ? r : o, b = n.customStyle, h = b === void 0 ? {} : b, u = n.codeTagProps, l = u === void 0 ? {
|
|
235
|
+
className: a ? "language-".concat(a) : void 0,
|
|
236
|
+
style: f(f({}, c['code[class*="language-"]']), c['code[class*="language-'.concat(a, '"]')])
|
|
237
|
+
} : u, y = n.useInlineStyles, g = y === void 0 ? !0 : y, p = n.showLineNumbers, w = p === void 0 ? !1 : p, N = n.showInlineLineNumbers, k = N === void 0 ? !0 : N, P = n.startingLineNumber, C = P === void 0 ? 1 : P, B = n.lineNumberContainerStyle, d = n.lineNumberStyle, i = d === void 0 ? {} : d, m = n.wrapLines, A = n.wrapLongLines, O = A === void 0 ? !1 : A, T = n.lineProps, G = T === void 0 ? {} : T, v = n.renderer, I = n.PreTag, R = I === void 0 ? "pre" : I, D = n.CodeTag, W = D === void 0 ? "code" : D, E = n.code, j = E === void 0 ? (Array.isArray(s) ? s[0] : s) || "" : E, L = n.astGenerator, x = ne(n, se);
|
|
238
|
+
L = L || e;
|
|
239
|
+
var V = w ? /* @__PURE__ */ S.createElement(ue, {
|
|
240
|
+
containerStyle: B,
|
|
241
|
+
codeStyle: l.style || {},
|
|
242
|
+
numberStyle: i,
|
|
243
|
+
startingLineNumber: C,
|
|
244
|
+
codeString: j
|
|
245
|
+
}) : null, F = c.hljs || c['pre[class*="language-"]'] || {
|
|
246
|
+
backgroundColor: "#fff"
|
|
247
|
+
}, U = Z(L) ? "hljs" : "prismjs", q = g ? Object.assign({}, x, {
|
|
248
|
+
style: Object.assign({}, F, h)
|
|
249
|
+
}) : Object.assign({}, x, {
|
|
250
|
+
className: x.className ? "".concat(U, " ").concat(x.className) : U,
|
|
251
|
+
style: Object.assign({}, h)
|
|
252
|
+
});
|
|
253
|
+
if (O ? l.style = f({
|
|
254
|
+
whiteSpace: "pre-wrap"
|
|
255
|
+
}, l.style) : l.style = f({
|
|
256
|
+
whiteSpace: "pre"
|
|
257
|
+
}, l.style), !L)
|
|
258
|
+
return /* @__PURE__ */ S.createElement(R, q, V, /* @__PURE__ */ S.createElement(W, l, j));
|
|
259
|
+
(m === void 0 && v || O) && (m = !0), v = v || me;
|
|
260
|
+
var z = [{
|
|
261
|
+
type: "text",
|
|
262
|
+
value: j
|
|
263
|
+
}], $ = pe({
|
|
264
|
+
astGenerator: L,
|
|
265
|
+
language: a,
|
|
266
|
+
code: j,
|
|
267
|
+
defaultCodeValue: z
|
|
268
|
+
});
|
|
269
|
+
$.language === null && ($.value = z);
|
|
270
|
+
var J = $.value.length;
|
|
271
|
+
J === 1 && $.value[0].type === "text" && (J = $.value[0].value.split(`
|
|
272
|
+
`).length);
|
|
273
|
+
var _ = J + C, ee = ge($, m, G, w, k, C, _, i, O);
|
|
274
|
+
return /* @__PURE__ */ S.createElement(R, q, /* @__PURE__ */ S.createElement(W, l, !k && V, v({
|
|
275
|
+
rows: ee,
|
|
276
|
+
stylesheet: c,
|
|
277
|
+
useInlineStyles: g
|
|
278
|
+
})));
|
|
279
|
+
};
|
|
280
|
+
}
|
|
281
|
+
export {
|
|
282
|
+
Ne as default
|
|
283
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const a = ["abap", "abnf", "actionscript", "ada", "agda", "al", "antlr4", "apacheconf", "apex", "apl", "applescript", "aql", "arduino", "arff", "asciidoc", "asm6502", "asmatmel", "aspnet", "autohotkey", "autoit", "avisynth", "avro-idl", "bash", "basic", "batch", "bbcode", "bicep", "birb", "bison", "bnf", "brainfuck", "brightscript", "bro", "bsl", "c", "cfscript", "chaiscript", "cil", "clike", "clojure", "cmake", "cobol", "coffeescript", "concurnas", "coq", "cpp", "crystal", "csharp", "cshtml", "csp", "css-extras", "css", "csv", "cypher", "d", "dart", "dataweave", "dax", "dhall", "diff", "django", "dns-zone-file", "docker", "dot", "ebnf", "editorconfig", "eiffel", "ejs", "elixir", "elm", "erb", "erlang", "etlua", "excel-formula", "factor", "false", "firestore-security-rules", "flow", "fortran", "fsharp", "ftl", "gap", "gcode", "gdscript", "gedcom", "gherkin", "git", "glsl", "gml", "gn", "go-module", "go", "graphql", "groovy", "haml", "handlebars", "haskell", "haxe", "hcl", "hlsl", "hoon", "hpkp", "hsts", "http", "ichigojam", "icon", "icu-message-format", "idris", "iecst", "ignore", "inform7", "ini", "io", "j", "java", "javadoc", "javadoclike", "javascript", "javastacktrace", "jexl", "jolie", "jq", "js-extras", "js-templates", "jsdoc", "json", "json5", "jsonp", "jsstacktrace", "jsx", "julia", "keepalived", "keyman", "kotlin", "kumir", "kusto", "latex", "latte", "less", "lilypond", "liquid", "lisp", "livescript", "llvm", "log", "lolcode", "lua", "magma", "makefile", "markdown", "markup-templating", "markup", "matlab", "maxscript", "mel", "mermaid", "mizar", "mongodb", "monkey", "moonscript", "n1ql", "n4js", "nand2tetris-hdl", "naniscript", "nasm", "neon", "nevod", "nginx", "nim", "nix", "nsis", "objectivec", "ocaml", "opencl", "openqasm", "oz", "parigp", "parser", "pascal", "pascaligo", "pcaxis", "peoplecode", "perl", "php-extras", "php", "phpdoc", "plsql", "powerquery", "powershell", "processing", "prolog", "promql", "properties", "protobuf", "psl", "pug", "puppet", "pure", "purebasic", "purescript", "python", "q", "qml", "qore", "qsharp", "r", "racket", "reason", "regex", "rego", "renpy", "rest", "rip", "roboconf", "robotframework", "ruby", "rust", "sas", "sass", "scala", "scheme", "scss", "shell-session", "smali", "smalltalk", "smarty", "sml", "solidity", "solution-file", "soy", "sparql", "splunk-spl", "sqf", "sql", "squirrel", "stan", "stylus", "swift", "systemd", "t4-cs", "t4-templating", "t4-vb", "tap", "tcl", "textile", "toml", "tremor", "tsx", "tt2", "turtle", "twig", "typescript", "typoscript", "unrealscript", "uorazor", "uri", "v", "vala", "vbnet", "velocity", "verilog", "vhdl", "vim", "visual-basic", "warpscript", "wasm", "web-idl", "wiki", "wolfram", "wren", "xeora", "xml-doc", "xojo", "xquery", "yaml", "yang", "zig"];
|
|
2
|
+
export {
|
|
3
|
+
a as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import t from "./highlight.mjs";
|
|
2
|
+
import o from "./styles/prism/prism.mjs";
|
|
3
|
+
import e from "../../../refractor/index.mjs";
|
|
4
|
+
import a from "./languages/prism/supported-languages.mjs";
|
|
5
|
+
var r = t(e, o);
|
|
6
|
+
r.supportedLanguages = a;
|
|
7
|
+
const m = r;
|
|
8
|
+
export {
|
|
9
|
+
m as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
const o = {
|
|
2
|
+
'code[class*="language-"]': {
|
|
3
|
+
color: "black",
|
|
4
|
+
background: "none",
|
|
5
|
+
textShadow: "0 1px white",
|
|
6
|
+
fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",
|
|
7
|
+
fontSize: "1em",
|
|
8
|
+
textAlign: "left",
|
|
9
|
+
whiteSpace: "pre",
|
|
10
|
+
wordSpacing: "normal",
|
|
11
|
+
wordBreak: "normal",
|
|
12
|
+
wordWrap: "normal",
|
|
13
|
+
lineHeight: "1.5",
|
|
14
|
+
MozTabSize: "4",
|
|
15
|
+
OTabSize: "4",
|
|
16
|
+
tabSize: "4",
|
|
17
|
+
WebkitHyphens: "none",
|
|
18
|
+
MozHyphens: "none",
|
|
19
|
+
msHyphens: "none",
|
|
20
|
+
hyphens: "none"
|
|
21
|
+
},
|
|
22
|
+
'pre[class*="language-"]': {
|
|
23
|
+
color: "black",
|
|
24
|
+
background: "#f5f2f0",
|
|
25
|
+
textShadow: "0 1px white",
|
|
26
|
+
fontFamily: "Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",
|
|
27
|
+
fontSize: "1em",
|
|
28
|
+
textAlign: "left",
|
|
29
|
+
whiteSpace: "pre",
|
|
30
|
+
wordSpacing: "normal",
|
|
31
|
+
wordBreak: "normal",
|
|
32
|
+
wordWrap: "normal",
|
|
33
|
+
lineHeight: "1.5",
|
|
34
|
+
MozTabSize: "4",
|
|
35
|
+
OTabSize: "4",
|
|
36
|
+
tabSize: "4",
|
|
37
|
+
WebkitHyphens: "none",
|
|
38
|
+
MozHyphens: "none",
|
|
39
|
+
msHyphens: "none",
|
|
40
|
+
hyphens: "none",
|
|
41
|
+
padding: "1em",
|
|
42
|
+
margin: ".5em 0",
|
|
43
|
+
overflow: "auto"
|
|
44
|
+
},
|
|
45
|
+
'pre[class*="language-"]::-moz-selection': {
|
|
46
|
+
textShadow: "none",
|
|
47
|
+
background: "#b3d4fc"
|
|
48
|
+
},
|
|
49
|
+
'pre[class*="language-"] ::-moz-selection': {
|
|
50
|
+
textShadow: "none",
|
|
51
|
+
background: "#b3d4fc"
|
|
52
|
+
},
|
|
53
|
+
'code[class*="language-"]::-moz-selection': {
|
|
54
|
+
textShadow: "none",
|
|
55
|
+
background: "#b3d4fc"
|
|
56
|
+
},
|
|
57
|
+
'code[class*="language-"] ::-moz-selection': {
|
|
58
|
+
textShadow: "none",
|
|
59
|
+
background: "#b3d4fc"
|
|
60
|
+
},
|
|
61
|
+
'pre[class*="language-"]::selection': {
|
|
62
|
+
textShadow: "none",
|
|
63
|
+
background: "#b3d4fc"
|
|
64
|
+
},
|
|
65
|
+
'pre[class*="language-"] ::selection': {
|
|
66
|
+
textShadow: "none",
|
|
67
|
+
background: "#b3d4fc"
|
|
68
|
+
},
|
|
69
|
+
'code[class*="language-"]::selection': {
|
|
70
|
+
textShadow: "none",
|
|
71
|
+
background: "#b3d4fc"
|
|
72
|
+
},
|
|
73
|
+
'code[class*="language-"] ::selection': {
|
|
74
|
+
textShadow: "none",
|
|
75
|
+
background: "#b3d4fc"
|
|
76
|
+
},
|
|
77
|
+
':not(pre) > code[class*="language-"]': {
|
|
78
|
+
background: "#f5f2f0",
|
|
79
|
+
padding: ".1em",
|
|
80
|
+
borderRadius: ".3em",
|
|
81
|
+
whiteSpace: "normal"
|
|
82
|
+
},
|
|
83
|
+
comment: {
|
|
84
|
+
color: "slategray"
|
|
85
|
+
},
|
|
86
|
+
prolog: {
|
|
87
|
+
color: "slategray"
|
|
88
|
+
},
|
|
89
|
+
doctype: {
|
|
90
|
+
color: "slategray"
|
|
91
|
+
},
|
|
92
|
+
cdata: {
|
|
93
|
+
color: "slategray"
|
|
94
|
+
},
|
|
95
|
+
punctuation: {
|
|
96
|
+
color: "#999"
|
|
97
|
+
},
|
|
98
|
+
namespace: {
|
|
99
|
+
Opacity: ".7"
|
|
100
|
+
},
|
|
101
|
+
property: {
|
|
102
|
+
color: "#905"
|
|
103
|
+
},
|
|
104
|
+
tag: {
|
|
105
|
+
color: "#905"
|
|
106
|
+
},
|
|
107
|
+
boolean: {
|
|
108
|
+
color: "#905"
|
|
109
|
+
},
|
|
110
|
+
number: {
|
|
111
|
+
color: "#905"
|
|
112
|
+
},
|
|
113
|
+
constant: {
|
|
114
|
+
color: "#905"
|
|
115
|
+
},
|
|
116
|
+
symbol: {
|
|
117
|
+
color: "#905"
|
|
118
|
+
},
|
|
119
|
+
deleted: {
|
|
120
|
+
color: "#905"
|
|
121
|
+
},
|
|
122
|
+
selector: {
|
|
123
|
+
color: "#690"
|
|
124
|
+
},
|
|
125
|
+
"attr-name": {
|
|
126
|
+
color: "#690"
|
|
127
|
+
},
|
|
128
|
+
string: {
|
|
129
|
+
color: "#690"
|
|
130
|
+
},
|
|
131
|
+
char: {
|
|
132
|
+
color: "#690"
|
|
133
|
+
},
|
|
134
|
+
builtin: {
|
|
135
|
+
color: "#690"
|
|
136
|
+
},
|
|
137
|
+
inserted: {
|
|
138
|
+
color: "#690"
|
|
139
|
+
},
|
|
140
|
+
operator: {
|
|
141
|
+
color: "#9a6e3a",
|
|
142
|
+
background: "hsla(0, 0%, 100%, .5)"
|
|
143
|
+
},
|
|
144
|
+
entity: {
|
|
145
|
+
color: "#9a6e3a",
|
|
146
|
+
background: "hsla(0, 0%, 100%, .5)",
|
|
147
|
+
cursor: "help"
|
|
148
|
+
},
|
|
149
|
+
url: {
|
|
150
|
+
color: "#9a6e3a",
|
|
151
|
+
background: "hsla(0, 0%, 100%, .5)"
|
|
152
|
+
},
|
|
153
|
+
".language-css .token.string": {
|
|
154
|
+
color: "#9a6e3a",
|
|
155
|
+
background: "hsla(0, 0%, 100%, .5)"
|
|
156
|
+
},
|
|
157
|
+
".style .token.string": {
|
|
158
|
+
color: "#9a6e3a",
|
|
159
|
+
background: "hsla(0, 0%, 100%, .5)"
|
|
160
|
+
},
|
|
161
|
+
atrule: {
|
|
162
|
+
color: "#07a"
|
|
163
|
+
},
|
|
164
|
+
"attr-value": {
|
|
165
|
+
color: "#07a"
|
|
166
|
+
},
|
|
167
|
+
keyword: {
|
|
168
|
+
color: "#07a"
|
|
169
|
+
},
|
|
170
|
+
function: {
|
|
171
|
+
color: "#DD4A68"
|
|
172
|
+
},
|
|
173
|
+
"class-name": {
|
|
174
|
+
color: "#DD4A68"
|
|
175
|
+
},
|
|
176
|
+
regex: {
|
|
177
|
+
color: "#e90"
|
|
178
|
+
},
|
|
179
|
+
important: {
|
|
180
|
+
color: "#e90",
|
|
181
|
+
fontWeight: "bold"
|
|
182
|
+
},
|
|
183
|
+
variable: {
|
|
184
|
+
color: "#e90"
|
|
185
|
+
},
|
|
186
|
+
bold: {
|
|
187
|
+
fontWeight: "bold"
|
|
188
|
+
},
|
|
189
|
+
italic: {
|
|
190
|
+
fontStyle: "italic"
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
export {
|
|
194
|
+
o as default
|
|
195
|
+
};
|