@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,54 @@
|
|
|
1
|
+
import { useTouch as E } from "./use-touch.mjs";
|
|
2
|
+
import { useEffect as L } from "react";
|
|
3
|
+
import { getScrollParent as b } from "./get-scroll-parent.mjs";
|
|
4
|
+
import { supportsPassive as m } from "./supports-passive.mjs";
|
|
5
|
+
let r = 0;
|
|
6
|
+
const f = "adm-overflow-hidden";
|
|
7
|
+
function S(o) {
|
|
8
|
+
let t = o == null ? void 0 : o.parentElement;
|
|
9
|
+
for (; t; ) {
|
|
10
|
+
if (t.clientHeight < t.scrollHeight)
|
|
11
|
+
return t;
|
|
12
|
+
t = t.parentElement;
|
|
13
|
+
}
|
|
14
|
+
return null;
|
|
15
|
+
}
|
|
16
|
+
function P(o, t) {
|
|
17
|
+
const n = E(), i = (e) => {
|
|
18
|
+
n.move(e);
|
|
19
|
+
const h = n.deltaY.current > 0 ? "10" : "01", s = b(e.target, o.current);
|
|
20
|
+
if (!s)
|
|
21
|
+
return;
|
|
22
|
+
if (t === "strict") {
|
|
23
|
+
const a = S(e.target);
|
|
24
|
+
if (a === document.body || a === document.documentElement) {
|
|
25
|
+
e.preventDefault();
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
const {
|
|
30
|
+
scrollHeight: l,
|
|
31
|
+
offsetHeight: v,
|
|
32
|
+
scrollTop: u
|
|
33
|
+
} = s, {
|
|
34
|
+
height: g
|
|
35
|
+
} = s.getBoundingClientRect();
|
|
36
|
+
let c = "11";
|
|
37
|
+
u === 0 ? c = v >= l ? "00" : "01" : l <= Math.round(g + u) && (c = "10"), c !== "11" && n.isVertical() && !(parseInt(c, 2) & parseInt(h, 2)) && e.cancelable && m && e.preventDefault();
|
|
38
|
+
}, d = () => {
|
|
39
|
+
document.addEventListener("touchstart", n.start), document.addEventListener("touchmove", i, m ? {
|
|
40
|
+
passive: !1
|
|
41
|
+
} : !1), r || document.body.classList.add(f), r++;
|
|
42
|
+
}, p = () => {
|
|
43
|
+
r && (document.removeEventListener("touchstart", n.start), document.removeEventListener("touchmove", i), r--, r || document.body.classList.remove(f));
|
|
44
|
+
};
|
|
45
|
+
L(() => {
|
|
46
|
+
if (t)
|
|
47
|
+
return d(), () => {
|
|
48
|
+
p();
|
|
49
|
+
};
|
|
50
|
+
}, [t]);
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
P as useLockScroll
|
|
54
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { useRef as c } from "react";
|
|
2
|
+
const f = 10;
|
|
3
|
+
function Y(t, r) {
|
|
4
|
+
return t > r && t > f ? "horizontal" : r > t && r > f ? "vertical" : "";
|
|
5
|
+
}
|
|
6
|
+
function z() {
|
|
7
|
+
const t = c(0), r = c(0), e = c(0), o = c(0), u = c(0), s = c(0), n = c(""), h = () => n.current === "vertical", X = () => n.current === "horizontal", l = () => {
|
|
8
|
+
e.current = 0, o.current = 0, u.current = 0, s.current = 0, n.current = "";
|
|
9
|
+
};
|
|
10
|
+
return {
|
|
11
|
+
move: (i) => {
|
|
12
|
+
const a = i.touches[0];
|
|
13
|
+
e.current = a.clientX < 0 ? 0 : a.clientX - t.current, o.current = a.clientY - r.current, u.current = Math.abs(e.current), s.current = Math.abs(o.current), n.current || (n.current = Y(u.current, s.current));
|
|
14
|
+
},
|
|
15
|
+
start: (i) => {
|
|
16
|
+
l(), t.current = i.touches[0].clientX, r.current = i.touches[0].clientY;
|
|
17
|
+
},
|
|
18
|
+
reset: l,
|
|
19
|
+
startX: t,
|
|
20
|
+
startY: r,
|
|
21
|
+
deltaX: e,
|
|
22
|
+
deltaY: o,
|
|
23
|
+
offsetX: u,
|
|
24
|
+
offsetY: s,
|
|
25
|
+
direction: n,
|
|
26
|
+
isVertical: h,
|
|
27
|
+
isHorizontal: X
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
z as useTouch
|
|
32
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import s from "react";
|
|
2
|
+
const l = {
|
|
3
|
+
click: "onClick",
|
|
4
|
+
touchstart: "onTouchStart"
|
|
5
|
+
};
|
|
6
|
+
function f(a, o) {
|
|
7
|
+
const r = Object.assign({}, o.props);
|
|
8
|
+
for (const i of a) {
|
|
9
|
+
const c = l[i];
|
|
10
|
+
r[c] = function(n) {
|
|
11
|
+
var p, t;
|
|
12
|
+
n.stopPropagation(), (t = (p = o.props)[c]) === null || t === void 0 || t.call(p, n);
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
return s.cloneElement(o, r);
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
f as withStopPropagation
|
|
19
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
0: "�",
|
|
3
|
+
128: "€",
|
|
4
|
+
130: "‚",
|
|
5
|
+
131: "ƒ",
|
|
6
|
+
132: "„",
|
|
7
|
+
133: "…",
|
|
8
|
+
134: "†",
|
|
9
|
+
135: "‡",
|
|
10
|
+
136: "ˆ",
|
|
11
|
+
137: "‰",
|
|
12
|
+
138: "Š",
|
|
13
|
+
139: "‹",
|
|
14
|
+
140: "Œ",
|
|
15
|
+
142: "Ž",
|
|
16
|
+
145: "‘",
|
|
17
|
+
146: "’",
|
|
18
|
+
147: "“",
|
|
19
|
+
148: "”",
|
|
20
|
+
149: "•",
|
|
21
|
+
150: "–",
|
|
22
|
+
151: "—",
|
|
23
|
+
152: "˜",
|
|
24
|
+
153: "™",
|
|
25
|
+
154: "š",
|
|
26
|
+
155: "›",
|
|
27
|
+
156: "œ",
|
|
28
|
+
158: "ž",
|
|
29
|
+
159: "Ÿ"
|
|
30
|
+
};
|
|
31
|
+
export {
|
|
32
|
+
e as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getDefaultExportFromCjs as u } from "../../_virtual/_commonjsHelpers.mjs";
|
|
2
|
+
import { __module as i } from "../../_virtual/index.mjs";
|
|
3
|
+
/*!
|
|
4
|
+
Copyright (c) 2018 Jed Watson.
|
|
5
|
+
Licensed under the MIT License (MIT), see
|
|
6
|
+
http://jedwatson.github.io/classnames
|
|
7
|
+
*/
|
|
8
|
+
(function(s) {
|
|
9
|
+
(function() {
|
|
10
|
+
var f = {}.hasOwnProperty;
|
|
11
|
+
function e() {
|
|
12
|
+
for (var t = "", r = 0; r < arguments.length; r++) {
|
|
13
|
+
var n = arguments[r];
|
|
14
|
+
n && (t = o(t, a(n)));
|
|
15
|
+
}
|
|
16
|
+
return t;
|
|
17
|
+
}
|
|
18
|
+
function a(t) {
|
|
19
|
+
if (typeof t == "string" || typeof t == "number")
|
|
20
|
+
return t;
|
|
21
|
+
if (typeof t != "object")
|
|
22
|
+
return "";
|
|
23
|
+
if (Array.isArray(t))
|
|
24
|
+
return e.apply(null, t);
|
|
25
|
+
if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]"))
|
|
26
|
+
return t.toString();
|
|
27
|
+
var r = "";
|
|
28
|
+
for (var n in t)
|
|
29
|
+
f.call(t, n) && t[n] && (r = o(r, n));
|
|
30
|
+
return r;
|
|
31
|
+
}
|
|
32
|
+
function o(t, r) {
|
|
33
|
+
return r ? t ? t + " " + r : t + r : t;
|
|
34
|
+
}
|
|
35
|
+
s.exports ? (e.default = e, s.exports = e) : window.classNames = e;
|
|
36
|
+
})();
|
|
37
|
+
})(i);
|
|
38
|
+
var p = i.exports;
|
|
39
|
+
const m = /* @__PURE__ */ u(p);
|
|
40
|
+
export {
|
|
41
|
+
m as default
|
|
42
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
var p = h, v = /[#.]/g;
|
|
2
|
+
function h(n, c) {
|
|
3
|
+
for (var l = n || "", i = c || "div", a = {}, r = 0, e, t, s; r < l.length; )
|
|
4
|
+
v.lastIndex = r, s = v.exec(l), e = l.slice(r, s ? s.index : l.length), e && (t ? t === "#" ? a.id = e : a.className ? a.className.push(e) : a.className = [e] : i = e, r += e.length), s && (t = s[0], r++);
|
|
5
|
+
return {
|
|
6
|
+
type: "element",
|
|
7
|
+
tagName: i,
|
|
8
|
+
properties: a,
|
|
9
|
+
children: []
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
p as h
|
|
14
|
+
};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import se from "./node_modules/character-entities-legacy/index.json.mjs";
|
|
2
|
+
import ve from "../character-reference-invalid/index.json.mjs";
|
|
3
|
+
import { i as me } from "../is-decimal/index.mjs";
|
|
4
|
+
import { i as de } from "../is-hexadecimal/index.mjs";
|
|
5
|
+
import { i as ue } from "../is-alphanumerical/index.mjs";
|
|
6
|
+
import { d as pe } from "./decode-entity.browser.mjs";
|
|
7
|
+
var K = se, L = ve, xe = me, he = de, Y = ue, Ce = pe, Re = De, be = {}.hasOwnProperty, y = String.fromCharCode, we = Function.prototype, M = {
|
|
8
|
+
warning: null,
|
|
9
|
+
reference: null,
|
|
10
|
+
text: null,
|
|
11
|
+
warningContext: null,
|
|
12
|
+
referenceContext: null,
|
|
13
|
+
textContext: null,
|
|
14
|
+
position: {},
|
|
15
|
+
additional: null,
|
|
16
|
+
attribute: !1,
|
|
17
|
+
nonTerminated: !0
|
|
18
|
+
}, ye = 9, Q = 10, ge = 12, Ne = 32, V = 38, Ae = 59, Ee = 60, Te = 61, ke = 35, qe = 88, $e = 120, Fe = 65533, g = "named", _ = "hexadecimal", j = "decimal", H = {};
|
|
19
|
+
H[_] = 16;
|
|
20
|
+
H[j] = 10;
|
|
21
|
+
var q = {};
|
|
22
|
+
q[g] = Y;
|
|
23
|
+
q[j] = xe;
|
|
24
|
+
q[_] = he;
|
|
25
|
+
var Z = 1, ee = 2, re = 3, ae = 4, ne = 5, X = 6, ie = 7, m = {};
|
|
26
|
+
m[Z] = "Named character references must be terminated by a semicolon";
|
|
27
|
+
m[ee] = "Numeric character references must be terminated by a semicolon";
|
|
28
|
+
m[re] = "Named character references cannot be empty";
|
|
29
|
+
m[ae] = "Numeric character references cannot be empty";
|
|
30
|
+
m[ne] = "Named character references must be known";
|
|
31
|
+
m[X] = "Numeric character references cannot be disallowed";
|
|
32
|
+
m[ie] = "Numeric character references cannot be outside the permissible Unicode range";
|
|
33
|
+
function De(e, i) {
|
|
34
|
+
var t = {}, b, d;
|
|
35
|
+
i || (i = {});
|
|
36
|
+
for (d in M)
|
|
37
|
+
b = i[d], t[d] = b == null ? M[d] : b;
|
|
38
|
+
return (t.position.indent || t.position.start) && (t.indent = t.position.indent || [], t.position = t.position.start), Pe(e, t);
|
|
39
|
+
}
|
|
40
|
+
function Pe(e, i) {
|
|
41
|
+
var t = i.additional, b = i.nonTerminated, d = i.text, I = i.reference, O = i.warning, te = i.textContext, fe = i.referenceContext, oe = i.warningContext, $ = i.position, le = i.indent || [], F = e.length, s = 0, R = -1, u = $.column || 1, W = $.line || 1, p = "", D = [], w, P, x, f, v, a, r, o, T, S, h, N, C, c, z, A, k, l, n;
|
|
42
|
+
for (typeof t == "string" && (t = t.charCodeAt(0)), A = E(), o = O ? ce : we, s--, F++; ++s < F; )
|
|
43
|
+
if (v === Q && (u = le[R] || 1), v = e.charCodeAt(s), v === V) {
|
|
44
|
+
if (r = e.charCodeAt(s + 1), r === ye || r === Q || r === ge || r === Ne || r === V || r === Ee || r !== r || t && r === t) {
|
|
45
|
+
p += y(v), u++;
|
|
46
|
+
continue;
|
|
47
|
+
}
|
|
48
|
+
for (C = s + 1, N = C, n = C, r === ke ? (n = ++N, r = e.charCodeAt(n), r === qe || r === $e ? (c = _, n = ++N) : c = j) : c = g, w = "", h = "", f = "", z = q[c], n--; ++n < F && (r = e.charCodeAt(n), !!z(r)); )
|
|
49
|
+
f += y(r), c === g && be.call(K, f) && (w = f, h = K[f]);
|
|
50
|
+
x = e.charCodeAt(n) === Ae, x && (n++, P = c === g ? Ce(f) : !1, P && (w = f, h = P)), l = 1 + n - C, !x && !b || (f ? c === g ? (x && !h ? o(ne, 1) : (w !== f && (n = N + w.length, l = 1 + n - N, x = !1), x || (T = w ? Z : re, i.attribute ? (r = e.charCodeAt(n), r === Te ? (o(T, l), h = null) : Y(r) ? h = null : o(T, l)) : o(T, l))), a = h) : (x || o(ee, l), a = parseInt(f, H[c]), Se(a) ? (o(ie, l), a = y(Fe)) : a in L ? (o(X, l), a = L[a]) : (S = "", Ue(a) && o(X, l), a > 65535 && (a -= 65536, S += y(a >>> 10 | 55296), a = 56320 | a & 1023), a = S + y(a))) : c !== g && o(ae, l)), a ? (B(), A = E(), s = n - 1, u += n - C + 1, D.push(a), k = E(), k.offset++, I && I.call(fe, a, {
|
|
51
|
+
start: A,
|
|
52
|
+
end: k
|
|
53
|
+
}, e.slice(C - 1, n)), A = k) : (f = e.slice(C - 1, n), p += f, u += f.length, s = n - 1);
|
|
54
|
+
} else
|
|
55
|
+
v === 10 && (W++, R++, u = 0), v === v ? (p += y(v), u++) : B();
|
|
56
|
+
return D.join("");
|
|
57
|
+
function E() {
|
|
58
|
+
return {
|
|
59
|
+
line: W,
|
|
60
|
+
column: u,
|
|
61
|
+
offset: s + ($.offset || 0)
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
function ce(G, J) {
|
|
65
|
+
var U = E();
|
|
66
|
+
U.column += J, U.offset += J, O.call(oe, m[G], U, G);
|
|
67
|
+
}
|
|
68
|
+
function B() {
|
|
69
|
+
p && (D.push(p), d && d.call(te, p, {
|
|
70
|
+
start: A,
|
|
71
|
+
end: E()
|
|
72
|
+
}), p = "");
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
function Se(e) {
|
|
76
|
+
return e >= 55296 && e <= 57343 || e > 1114111;
|
|
77
|
+
}
|
|
78
|
+
function Ue(e) {
|
|
79
|
+
return e >= 1 && e <= 8 || e === 11 || e >= 13 && e <= 31 || e >= 127 && e <= 159 || e >= 64976 && e <= 65007 || (e & 65535) === 65535 || (e & 65535) === 65534;
|
|
80
|
+
}
|
|
81
|
+
export {
|
|
82
|
+
Re as p
|
|
83
|
+
};
|
package/dist/es/node_modules/parse-entities/node_modules/character-entities-legacy/index.json.mjs
ADDED
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
const c = "Æ", t = "&", o = "Á", s = "Â", n = "À", e = "Å", a = "Ã", u = "Ä", r = "©", i = "Ç", l = "Ð", m = "É", g = "Ê", d = "È", v = "Ë", p = ">", O = "Í", A = "Î", E = "Ì", h = "Ï", y = "<", T = "Ñ", U = "Ó", f = "Ô", q = "Ò", I = "Ø", b = "Õ", C = "Ö", G = '"', H = "®", N = "Þ", P = "Ú", R = "Û", Y = "Ù", x = "Ü", z = "Ý", L = "á", M = "â", Q = "´", $ = "æ", j = "à", k = "&", w = "å", B = "ã", D = "ä", F = "¦", J = "ç", K = "¸", S = "¢", V = "©", W = "¤", X = "°", Z = "÷", _ = "é", cc = "ê", tc = "è", oc = "ð", sc = "ë", nc = "½", ec = "¼", ac = "¾", uc = ">", rc = "í", ic = "î", lc = "¡", mc = "ì", gc = "¿", dc = "ï", vc = "«", pc = "<", Oc = "¯", Ac = "µ", Ec = "·", hc = " ", yc = "¬", Tc = "ñ", Uc = "ó", fc = "ô", qc = "ò", Ic = "ª", bc = "º", Cc = "ø", Gc = "õ", Hc = "ö", Nc = "¶", Pc = "±", Rc = "£", Yc = '"', xc = "»", zc = "®", Lc = "§", Mc = "", Qc = "¹", $c = "²", jc = "³", kc = "ß", wc = "þ", Bc = "×", Dc = "ú", Fc = "û", Jc = "ù", Kc = "¨", Sc = "ü", Vc = "ý", Wc = "¥", Xc = "ÿ", Zc = {
|
|
2
|
+
AElig: c,
|
|
3
|
+
AMP: t,
|
|
4
|
+
Aacute: o,
|
|
5
|
+
Acirc: s,
|
|
6
|
+
Agrave: n,
|
|
7
|
+
Aring: e,
|
|
8
|
+
Atilde: a,
|
|
9
|
+
Auml: u,
|
|
10
|
+
COPY: r,
|
|
11
|
+
Ccedil: i,
|
|
12
|
+
ETH: l,
|
|
13
|
+
Eacute: m,
|
|
14
|
+
Ecirc: g,
|
|
15
|
+
Egrave: d,
|
|
16
|
+
Euml: v,
|
|
17
|
+
GT: p,
|
|
18
|
+
Iacute: O,
|
|
19
|
+
Icirc: A,
|
|
20
|
+
Igrave: E,
|
|
21
|
+
Iuml: h,
|
|
22
|
+
LT: y,
|
|
23
|
+
Ntilde: T,
|
|
24
|
+
Oacute: U,
|
|
25
|
+
Ocirc: f,
|
|
26
|
+
Ograve: q,
|
|
27
|
+
Oslash: I,
|
|
28
|
+
Otilde: b,
|
|
29
|
+
Ouml: C,
|
|
30
|
+
QUOT: G,
|
|
31
|
+
REG: H,
|
|
32
|
+
THORN: N,
|
|
33
|
+
Uacute: P,
|
|
34
|
+
Ucirc: R,
|
|
35
|
+
Ugrave: Y,
|
|
36
|
+
Uuml: x,
|
|
37
|
+
Yacute: z,
|
|
38
|
+
aacute: L,
|
|
39
|
+
acirc: M,
|
|
40
|
+
acute: Q,
|
|
41
|
+
aelig: $,
|
|
42
|
+
agrave: j,
|
|
43
|
+
amp: k,
|
|
44
|
+
aring: w,
|
|
45
|
+
atilde: B,
|
|
46
|
+
auml: D,
|
|
47
|
+
brvbar: F,
|
|
48
|
+
ccedil: J,
|
|
49
|
+
cedil: K,
|
|
50
|
+
cent: S,
|
|
51
|
+
copy: V,
|
|
52
|
+
curren: W,
|
|
53
|
+
deg: X,
|
|
54
|
+
divide: Z,
|
|
55
|
+
eacute: _,
|
|
56
|
+
ecirc: cc,
|
|
57
|
+
egrave: tc,
|
|
58
|
+
eth: oc,
|
|
59
|
+
euml: sc,
|
|
60
|
+
frac12: nc,
|
|
61
|
+
frac14: ec,
|
|
62
|
+
frac34: ac,
|
|
63
|
+
gt: uc,
|
|
64
|
+
iacute: rc,
|
|
65
|
+
icirc: ic,
|
|
66
|
+
iexcl: lc,
|
|
67
|
+
igrave: mc,
|
|
68
|
+
iquest: gc,
|
|
69
|
+
iuml: dc,
|
|
70
|
+
laquo: vc,
|
|
71
|
+
lt: pc,
|
|
72
|
+
macr: Oc,
|
|
73
|
+
micro: Ac,
|
|
74
|
+
middot: Ec,
|
|
75
|
+
nbsp: hc,
|
|
76
|
+
not: yc,
|
|
77
|
+
ntilde: Tc,
|
|
78
|
+
oacute: Uc,
|
|
79
|
+
ocirc: fc,
|
|
80
|
+
ograve: qc,
|
|
81
|
+
ordf: Ic,
|
|
82
|
+
ordm: bc,
|
|
83
|
+
oslash: Cc,
|
|
84
|
+
otilde: Gc,
|
|
85
|
+
ouml: Hc,
|
|
86
|
+
para: Nc,
|
|
87
|
+
plusmn: Pc,
|
|
88
|
+
pound: Rc,
|
|
89
|
+
quot: Yc,
|
|
90
|
+
raquo: xc,
|
|
91
|
+
reg: zc,
|
|
92
|
+
sect: Lc,
|
|
93
|
+
shy: Mc,
|
|
94
|
+
sup1: Qc,
|
|
95
|
+
sup2: $c,
|
|
96
|
+
sup3: jc,
|
|
97
|
+
szlig: kc,
|
|
98
|
+
thorn: wc,
|
|
99
|
+
times: Bc,
|
|
100
|
+
uacute: Dc,
|
|
101
|
+
ucirc: Fc,
|
|
102
|
+
ugrave: Jc,
|
|
103
|
+
uml: Kc,
|
|
104
|
+
uuml: Sc,
|
|
105
|
+
yacute: Vc,
|
|
106
|
+
yen: Wc,
|
|
107
|
+
yuml: Xc
|
|
108
|
+
};
|
|
109
|
+
export {
|
|
110
|
+
c as AElig,
|
|
111
|
+
t as AMP,
|
|
112
|
+
o as Aacute,
|
|
113
|
+
s as Acirc,
|
|
114
|
+
n as Agrave,
|
|
115
|
+
e as Aring,
|
|
116
|
+
a as Atilde,
|
|
117
|
+
u as Auml,
|
|
118
|
+
r as COPY,
|
|
119
|
+
i as Ccedil,
|
|
120
|
+
l as ETH,
|
|
121
|
+
m as Eacute,
|
|
122
|
+
g as Ecirc,
|
|
123
|
+
d as Egrave,
|
|
124
|
+
v as Euml,
|
|
125
|
+
p as GT,
|
|
126
|
+
O as Iacute,
|
|
127
|
+
A as Icirc,
|
|
128
|
+
E as Igrave,
|
|
129
|
+
h as Iuml,
|
|
130
|
+
y as LT,
|
|
131
|
+
T as Ntilde,
|
|
132
|
+
U as Oacute,
|
|
133
|
+
f as Ocirc,
|
|
134
|
+
q as Ograve,
|
|
135
|
+
I as Oslash,
|
|
136
|
+
b as Otilde,
|
|
137
|
+
C as Ouml,
|
|
138
|
+
G as QUOT,
|
|
139
|
+
H as REG,
|
|
140
|
+
N as THORN,
|
|
141
|
+
P as Uacute,
|
|
142
|
+
R as Ucirc,
|
|
143
|
+
Y as Ugrave,
|
|
144
|
+
x as Uuml,
|
|
145
|
+
z as Yacute,
|
|
146
|
+
L as aacute,
|
|
147
|
+
M as acirc,
|
|
148
|
+
Q as acute,
|
|
149
|
+
$ as aelig,
|
|
150
|
+
j as agrave,
|
|
151
|
+
k as amp,
|
|
152
|
+
w as aring,
|
|
153
|
+
B as atilde,
|
|
154
|
+
D as auml,
|
|
155
|
+
F as brvbar,
|
|
156
|
+
J as ccedil,
|
|
157
|
+
K as cedil,
|
|
158
|
+
S as cent,
|
|
159
|
+
V as copy,
|
|
160
|
+
W as curren,
|
|
161
|
+
Zc as default,
|
|
162
|
+
X as deg,
|
|
163
|
+
Z as divide,
|
|
164
|
+
_ as eacute,
|
|
165
|
+
cc as ecirc,
|
|
166
|
+
tc as egrave,
|
|
167
|
+
oc as eth,
|
|
168
|
+
sc as euml,
|
|
169
|
+
nc as frac12,
|
|
170
|
+
ec as frac14,
|
|
171
|
+
ac as frac34,
|
|
172
|
+
uc as gt,
|
|
173
|
+
rc as iacute,
|
|
174
|
+
ic as icirc,
|
|
175
|
+
lc as iexcl,
|
|
176
|
+
mc as igrave,
|
|
177
|
+
gc as iquest,
|
|
178
|
+
dc as iuml,
|
|
179
|
+
vc as laquo,
|
|
180
|
+
pc as lt,
|
|
181
|
+
Oc as macr,
|
|
182
|
+
Ac as micro,
|
|
183
|
+
Ec as middot,
|
|
184
|
+
hc as nbsp,
|
|
185
|
+
yc as not,
|
|
186
|
+
Tc as ntilde,
|
|
187
|
+
Uc as oacute,
|
|
188
|
+
fc as ocirc,
|
|
189
|
+
qc as ograve,
|
|
190
|
+
Ic as ordf,
|
|
191
|
+
bc as ordm,
|
|
192
|
+
Cc as oslash,
|
|
193
|
+
Gc as otilde,
|
|
194
|
+
Hc as ouml,
|
|
195
|
+
Nc as para,
|
|
196
|
+
Pc as plusmn,
|
|
197
|
+
Rc as pound,
|
|
198
|
+
Yc as quot,
|
|
199
|
+
xc as raquo,
|
|
200
|
+
zc as reg,
|
|
201
|
+
Lc as sect,
|
|
202
|
+
Mc as shy,
|
|
203
|
+
Qc as sup1,
|
|
204
|
+
$c as sup2,
|
|
205
|
+
jc as sup3,
|
|
206
|
+
kc as szlig,
|
|
207
|
+
wc as thorn,
|
|
208
|
+
Bc as times,
|
|
209
|
+
Dc as uacute,
|
|
210
|
+
Fc as ucirc,
|
|
211
|
+
Jc as ugrave,
|
|
212
|
+
Kc as uml,
|
|
213
|
+
Sc as uuml,
|
|
214
|
+
Vc as yacute,
|
|
215
|
+
Wc as yen,
|
|
216
|
+
Xc as yuml
|
|
217
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { n as f } from "./normalize.mjs";
|
|
2
|
+
import { d as c } from "./lib/util/defined-info.mjs";
|
|
3
|
+
import { i as s } from "./lib/util/info.mjs";
|
|
4
|
+
var p = f, d = c, l = s, e = "data", I = u, m = /^data[-\w.:]+$/i, o = /-[a-z]/g, v = /[A-Z]/g;
|
|
5
|
+
function u(a, r) {
|
|
6
|
+
var t = p(r), n = r, i = l;
|
|
7
|
+
return t in a.normal ? a.property[a.normal[t]] : (t.length > 4 && t.slice(0, 4) === e && m.test(r) && (r.charAt(4) === "-" ? n = A(r) : r = h(r), i = d), new i(n, r));
|
|
8
|
+
}
|
|
9
|
+
function A(a) {
|
|
10
|
+
var r = a.slice(5).replace(o, g);
|
|
11
|
+
return e + r.charAt(0).toUpperCase() + r.slice(1);
|
|
12
|
+
}
|
|
13
|
+
function h(a) {
|
|
14
|
+
var r = a.slice(4);
|
|
15
|
+
return o.test(r) ? a : (r = r.replace(v, b), r.charAt(0) !== "-" && (r = "-" + r), e + r);
|
|
16
|
+
}
|
|
17
|
+
function b(a) {
|
|
18
|
+
return "-" + a.toLowerCase();
|
|
19
|
+
}
|
|
20
|
+
function g(a) {
|
|
21
|
+
return a.charAt(1).toUpperCase();
|
|
22
|
+
}
|
|
23
|
+
export {
|
|
24
|
+
I as f
|
|
25
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { m as r } from "./lib/util/merge.mjs";
|
|
2
|
+
import { x as m } from "./lib/xlink.mjs";
|
|
3
|
+
import { x as a } from "./lib/xml.mjs";
|
|
4
|
+
import { x as o } from "./lib/xmlns.mjs";
|
|
5
|
+
import { a as i } from "./lib/aria.mjs";
|
|
6
|
+
import { h as t } from "./lib/html.mjs";
|
|
7
|
+
var x = r, l = m, s = a, p = o, v = i, f = t, _ = x([s, l, p, v, f]);
|
|
8
|
+
export {
|
|
9
|
+
_ as h
|
|
10
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import "./util/types.mjs";
|
|
2
|
+
import { c as n } from "./util/create.mjs";
|
|
3
|
+
import { __exports as o } from "../../../_virtual/types.mjs";
|
|
4
|
+
var l = o, t = n, a = l.booleanish, r = l.number, e = l.spaceSeparated, b = t({
|
|
5
|
+
transform: u,
|
|
6
|
+
properties: {
|
|
7
|
+
ariaActiveDescendant: null,
|
|
8
|
+
ariaAtomic: a,
|
|
9
|
+
ariaAutoComplete: null,
|
|
10
|
+
ariaBusy: a,
|
|
11
|
+
ariaChecked: a,
|
|
12
|
+
ariaColCount: r,
|
|
13
|
+
ariaColIndex: r,
|
|
14
|
+
ariaColSpan: r,
|
|
15
|
+
ariaControls: e,
|
|
16
|
+
ariaCurrent: null,
|
|
17
|
+
ariaDescribedBy: e,
|
|
18
|
+
ariaDetails: null,
|
|
19
|
+
ariaDisabled: a,
|
|
20
|
+
ariaDropEffect: e,
|
|
21
|
+
ariaErrorMessage: null,
|
|
22
|
+
ariaExpanded: a,
|
|
23
|
+
ariaFlowTo: e,
|
|
24
|
+
ariaGrabbed: a,
|
|
25
|
+
ariaHasPopup: null,
|
|
26
|
+
ariaHidden: a,
|
|
27
|
+
ariaInvalid: null,
|
|
28
|
+
ariaKeyShortcuts: null,
|
|
29
|
+
ariaLabel: null,
|
|
30
|
+
ariaLabelledBy: e,
|
|
31
|
+
ariaLevel: r,
|
|
32
|
+
ariaLive: null,
|
|
33
|
+
ariaModal: a,
|
|
34
|
+
ariaMultiLine: a,
|
|
35
|
+
ariaMultiSelectable: a,
|
|
36
|
+
ariaOrientation: null,
|
|
37
|
+
ariaOwns: e,
|
|
38
|
+
ariaPlaceholder: null,
|
|
39
|
+
ariaPosInSet: r,
|
|
40
|
+
ariaPressed: a,
|
|
41
|
+
ariaReadOnly: a,
|
|
42
|
+
ariaRelevant: null,
|
|
43
|
+
ariaRequired: a,
|
|
44
|
+
ariaRoleDescription: e,
|
|
45
|
+
ariaRowCount: r,
|
|
46
|
+
ariaRowIndex: r,
|
|
47
|
+
ariaRowSpan: r,
|
|
48
|
+
ariaSelected: a,
|
|
49
|
+
ariaSetSize: r,
|
|
50
|
+
ariaSort: null,
|
|
51
|
+
ariaValueMax: r,
|
|
52
|
+
ariaValueMin: r,
|
|
53
|
+
ariaValueNow: r,
|
|
54
|
+
ariaValueText: null,
|
|
55
|
+
role: null
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
function u(s, i) {
|
|
59
|
+
return i === "role" ? i : "aria-" + i.slice(4).toLowerCase();
|
|
60
|
+
}
|
|
61
|
+
export {
|
|
62
|
+
b as a
|
|
63
|
+
};
|