@glodon-aiot/agent-cli-ui 3.3.0-beta.18 → 3.3.0
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/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/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/{packages/react-components/dist/es/node_modules → node_modules}/@react-spring/animated/dist/react-spring-animated.esm.mjs +72 -70
- 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/{packages/react-components/dist/es/node_modules → node_modules}/@use-gesture/core/dist/actions-fe213e88.esm.mjs +339 -339
- 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 +226 -0
- package/dist/es/node_modules/@use-gesture/react/dist/use-gesture-react.esm.mjs +33 -0
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/antd-mobile/es/components/config-provider/config-provider.mjs +2 -2
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/antd-mobile/es/components/image-viewer/image-viewer.mjs +30 -30
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/index.mjs +13 -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 +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 +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/index.mjs +3 -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/{packages/react-components/dist/es/node_modules → node_modules}/antd-mobile/es/utils/convert-px.mjs +4 -5
- package/dist/es/node_modules/antd-mobile/es/utils/get-container.mjs +6 -0
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/antd-mobile/es/utils/get-scroll-parent.mjs +8 -8
- 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/{packages/react-components/dist/es/node_modules → node_modules}/antd-mobile/es/utils/supports-passive.mjs +5 -5
- 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/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/{packages/react-components/dist/es/node_modules → node_modules}/parse-entities/decode-entity.browser.mjs +3 -3
- 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/{packages/react-components/dist/es/node_modules → node_modules}/property-information/lib/aria.mjs +3 -2
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/property-information/lib/html.mjs +11 -10
- 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/{packages/react-components/dist/es/node_modules → node_modules}/property-information/lib/util/info.mjs +4 -4
- 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/{packages/react-components/dist/es/node_modules → node_modules}/property-information/lib/xlink.mjs +6 -6
- 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/prism.mjs +10 -0
- package/dist/es/node_modules/refractor/core.mjs +111 -0
- package/dist/es/node_modules/refractor/index.mjs +553 -0
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/abnf.mjs +9 -9
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/agda.mjs +11 -11
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/al.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/apex.mjs +22 -22
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/apl.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/applescript.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/aql.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/arduino.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/arff.mjs +4 -4
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/asm6502.mjs +2 -2
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/aspnet.mjs +17 -17
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/autoit.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/avisynth.mjs +10 -10
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/avro-idl.mjs +10 -10
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/bash.mjs +11 -11
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/batch.mjs +13 -13
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/bbcode.mjs +10 -10
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/bicep.mjs +8 -8
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/birb.mjs +9 -9
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/bison.mjs +12 -12
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/bnf.mjs +6 -6
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/brainfuck.mjs +8 -8
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/bro.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/bsl.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/c.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/cfscript.mjs +10 -10
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/chaiscript.mjs +10 -10
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/cil.mjs +9 -9
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/coffeescript.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/coq.mjs +4 -4
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/cpp.mjs +10 -10
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/crystal.mjs +8 -8
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/csharp.mjs +72 -72
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/cshtml.mjs +35 -35
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/csp.mjs +10 -10
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/css-extras.mjs +13 -13
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/css.mjs +5 -5
- package/dist/es/node_modules/refractor/lang/csv.mjs +16 -0
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/cypher.mjs +9 -9
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/dart.mjs +12 -12
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/dataweave.mjs +6 -6
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/dhall.mjs +10 -10
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/diff.mjs +17 -17
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/django.mjs +19 -19
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/dns-zone-file.mjs +10 -10
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/docker.mjs +21 -21
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/dot.mjs +21 -21
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/ebnf.mjs +6 -6
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/editorconfig.mjs +7 -7
- package/dist/es/node_modules/refractor/lang/ejs.mjs +33 -0
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/elixir.mjs +9 -9
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/elm.mjs +9 -9
- package/dist/es/node_modules/refractor/lang/erb.mjs +35 -0
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/erlang.mjs +6 -6
- package/dist/es/node_modules/refractor/lang/etlua.mjs +33 -0
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/excel-formula.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/factor.mjs +13 -13
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/false.mjs +4 -4
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/firestore-security-rules.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/flow.mjs +8 -8
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/fortran.mjs +2 -2
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/fsharp.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/ftl.mjs +17 -17
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/gap.mjs +6 -6
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/gcode.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/gdscript.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/gedcom.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/gherkin.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/git.mjs +9 -9
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/glsl.mjs +10 -10
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/gn.mjs +10 -10
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/go-module.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/graphql.mjs +41 -41
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/groovy.mjs +8 -8
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/haml.mjs +25 -25
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/handlebars.mjs +16 -16
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/haskell.mjs +8 -8
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/hcl.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/hlsl.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/hoon.mjs +8 -8
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/hpkp.mjs +9 -9
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/hsts.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/http.mjs +20 -20
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/ichigojam.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/icon.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/icu-message-format.mjs +18 -18
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/idris.mjs +9 -9
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/iecst.mjs +2 -2
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/ignore.mjs +10 -10
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/ini.mjs +9 -9
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/j.mjs +9 -9
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/java.mjs +13 -13
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/javadoc.mjs +26 -26
- package/dist/es/node_modules/refractor/lang/javadoclike.mjs +60 -0
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/javascript.mjs +4 -4
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/javastacktrace.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/jexl.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/jolie.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/jq.mjs +15 -15
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/js-extras.mjs +6 -6
- package/dist/es/node_modules/refractor/lang/js-templates.mjs +153 -0
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/jsdoc.mjs +19 -19
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/json.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/json5.mjs +12 -12
- package/dist/es/node_modules/refractor/lang/jsonp.mjs +20 -0
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/jsstacktrace.mjs +7 -7
- package/dist/es/node_modules/refractor/lang/jsx.mjs +61 -0
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/julia.mjs +4 -4
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/keyman.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/kotlin.mjs +10 -10
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/kumir.mjs +15 -15
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/kusto.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/latex.mjs +10 -10
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/latte.mjs +21 -21
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/less.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/lilypond.mjs +10 -10
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/liquid.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/lisp.mjs +19 -19
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/livescript.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/llvm.mjs +9 -9
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/log.mjs +10 -10
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/lolcode.mjs +8 -8
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/lua.mjs +9 -9
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/magma.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/makefile.mjs +2 -2
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/markdown.mjs +60 -60
- package/dist/es/node_modules/refractor/lang/markup-templating.mjs +74 -0
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/markup.mjs +25 -25
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/matlab.mjs +9 -9
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/maxscript.mjs +9 -9
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/mermaid.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/mizar.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/mongodb.mjs +13 -13
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/monkey.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/nand2tetris-hdl.mjs +9 -9
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/naniscript.mjs +25 -25
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/nasm.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/neon.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/nevod.mjs +2 -2
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/nginx.mjs +6 -6
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/nim.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/nix.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/objectivec.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/ocaml.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/opencl.mjs +8 -8
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/openqasm.mjs +10 -10
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/oz.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/parigp.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/parser.mjs +11 -11
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/pascal.mjs +2 -2
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/pascaligo.mjs +11 -11
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/pcaxis.mjs +9 -9
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/peoplecode.mjs +10 -10
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/perl.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/php-extras.mjs +3 -3
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/php.mjs +28 -28
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/phpdoc.mjs +10 -10
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/powerquery.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/powershell.mjs +2 -2
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/processing.mjs +10 -10
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/prolog.mjs +9 -9
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/promql.mjs +13 -13
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/properties.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/protobuf.mjs +15 -15
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/pug.mjs +9 -9
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/puppet.mjs +10 -10
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/pure.mjs +10 -10
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/purebasic.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/purescript.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/python.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/qml.mjs +18 -18
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/qore.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/qsharp.mjs +26 -26
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/racket.mjs +12 -12
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/reason.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/regex.mjs +10 -10
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/rego.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/rest.mjs +4 -4
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/rip.mjs +2 -2
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/roboconf.mjs +8 -8
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/robotframework.mjs +18 -18
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/ruby.mjs +6 -6
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/rust.mjs +12 -12
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/sas.mjs +42 -42
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/sass.mjs +12 -12
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/scala.mjs +2 -2
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/scheme.mjs +11 -11
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/scss.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/shell-session.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/smali.mjs +9 -9
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/smalltalk.mjs +2 -2
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/smarty.mjs +18 -18
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/sml.mjs +9 -9
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/solidity.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/solution-file.mjs +10 -10
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/soy.mjs +13 -13
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/sparql.mjs +4 -4
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/squirrel.mjs +8 -8
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/stylus.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/systemd.mjs +14 -14
- package/dist/es/node_modules/refractor/lang/t4-cs.mjs +17 -0
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/t4-templating.mjs +17 -17
- package/dist/es/node_modules/refractor/lang/t4-vb.mjs +17 -0
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/tap.mjs +12 -12
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/textile.mjs +34 -34
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/toml.mjs +11 -11
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/tremor.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/tsx.mjs +9 -9
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/tt2.mjs +14 -14
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/turtle.mjs +10 -10
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/twig.mjs +17 -17
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/typescript.mjs +4 -4
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/typoscript.mjs +13 -13
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/uorazor.mjs +5 -5
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/uri.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/v.mjs +2 -2
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/vala.mjs +8 -8
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/velocity.mjs +13 -13
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/verilog.mjs +4 -4
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/vhdl.mjs +9 -9
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/visual-basic.mjs +6 -6
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/warpscript.mjs +4 -4
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/wasm.mjs +9 -9
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/web-idl.mjs +12 -12
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/wiki.mjs +12 -12
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/wolfram.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/wren.mjs +11 -11
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/xeora.mjs +7 -7
- package/dist/es/node_modules/refractor/lang/xml-doc.mjs +35 -0
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/xojo.mjs +7 -7
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/xquery.mjs +23 -23
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/yaml.mjs +18 -18
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/yang.mjs +4 -4
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/zig.mjs +16 -16
- 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/{packages/react-components/dist/es/node_modules → node_modules}/refractor/node_modules/hastscript/html.mjs +3 -3
- package/dist/es/node_modules/refractor/node_modules/hastscript/index.mjs +5 -0
- package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/node_modules/prismjs/components/prism-core.mjs +230 -230
- 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/{packages/react-components/dist/es/node_modules → node_modules}/ua-parser-js/dist/ua-parser.min.mjs +73 -73
- package/dist/es/node_modules/xtend/immutable.mjs +12 -0
- package/dist/es/packages/react-components/dist/es/components/Markdown/Code/index.mjs +1 -1
- package/dist/es/packages/react-components/dist/es/components/Markdown/Image/index.mjs +19 -18
- package/dist/es/packages/react-components/dist/es/components/Markdown/index.mjs +8 -8
- package/dist/es/packages/react-components/dist/es/index.mjs +4 -4
- package/dist/es/src/global.css +1 -0
- package/dist/es/src/image-viewer.css +1 -0
- package/dist/es/src/mask.css +1 -0
- package/dist/es/src/safe-area.css +1 -0
- package/dist/es/src/style10.css +1 -1
- package/dist/es/src/style11.css +1 -1
- package/dist/es/src/style12.css +1 -1
- package/dist/es/src/style15.css +1 -1
- package/dist/es/src/style16.css +1 -1
- package/dist/es/src/style17.css +1 -1
- package/dist/es/src/style18.css +1 -1
- package/dist/es/src/style19.css +1 -1
- package/dist/es/src/style20.css +1 -1
- package/dist/es/src/style22.css +1 -1
- package/dist/es/src/style23.css +1 -1
- package/dist/es/src/style24.css +1 -1
- package/dist/es/src/style25.css +1 -1
- package/dist/es/src/style3.css +1 -1
- package/dist/es/src/style4.css +1 -1
- package/dist/es/src/style7.css +1 -1
- package/dist/es/src/style9.css +1 -1
- package/dist/lib/index.css +1 -1
- package/dist/lib/index.js +50 -54
- package/package.json +3 -7
- package/dist/es/packages/react-components/dist/es/_virtual/_commonjsHelpers.mjs +0 -8
- package/dist/es/packages/react-components/dist/es/_virtual/index.mjs +0 -4
- package/dist/es/packages/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.mjs +0 -9
- package/dist/es/packages/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.mjs +0 -8
- package/dist/es/packages/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/defineProperty.mjs +0 -12
- package/dist/es/packages/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/extends.mjs +0 -13
- package/dist/es/packages/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/iterableToArray.mjs +0 -7
- package/dist/es/packages/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.mjs +0 -15
- package/dist/es/packages/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.mjs +0 -15
- package/dist/es/packages/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/toConsumableArray.mjs +0 -10
- package/dist/es/packages/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/toPrimitive.mjs +0 -16
- package/dist/es/packages/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/toPropertyKey.mjs +0 -9
- package/dist/es/packages/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/typeof.mjs +0 -11
- package/dist/es/packages/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.mjs +0 -12
- package/dist/es/packages/react-components/dist/es/node_modules/@react-spring/core/dist/react-spring-core.esm.mjs +0 -1087
- package/dist/es/packages/react-components/dist/es/node_modules/@react-spring/rafz/dist/react-spring-rafz.esm.mjs +0 -104
- package/dist/es/packages/react-components/dist/es/node_modules/@react-spring/shared/dist/react-spring-shared.esm.mjs +0 -557
- package/dist/es/packages/react-components/dist/es/node_modules/@react-spring/web/dist/react-spring-web.esm.mjs +0 -146
- package/dist/es/packages/react-components/dist/es/node_modules/@use-gesture/core/dist/maths-0ab39ae9.esm.mjs +0 -35
- package/dist/es/packages/react-components/dist/es/node_modules/@use-gesture/core/dist/use-gesture-core.esm.mjs +0 -226
- package/dist/es/packages/react-components/dist/es/node_modules/@use-gesture/react/dist/use-gesture-react.esm.mjs +0 -33
- package/dist/es/packages/react-components/dist/es/node_modules/antd-mobile/es/components/image-viewer/index.mjs +0 -13
- package/dist/es/packages/react-components/dist/es/node_modules/antd-mobile/es/components/image-viewer/methods.mjs +0 -34
- package/dist/es/packages/react-components/dist/es/node_modules/antd-mobile/es/components/image-viewer/slide.mjs +0 -178
- package/dist/es/packages/react-components/dist/es/node_modules/antd-mobile/es/components/image-viewer/slides.mjs +0 -83
- package/dist/es/packages/react-components/dist/es/node_modules/antd-mobile/es/components/mask/mask.mjs +0 -84
- package/dist/es/packages/react-components/dist/es/node_modules/antd-mobile/es/components/safe-area/safe-area.mjs +0 -9
- package/dist/es/packages/react-components/dist/es/node_modules/antd-mobile/es/utils/attach-properties-to-component.mjs +0 -9
- package/dist/es/packages/react-components/dist/es/node_modules/antd-mobile/es/utils/bound.mjs +0 -7
- package/dist/es/packages/react-components/dist/es/node_modules/antd-mobile/es/utils/get-container.mjs +0 -6
- package/dist/es/packages/react-components/dist/es/node_modules/antd-mobile/es/utils/is-dev.mjs +0 -4
- package/dist/es/packages/react-components/dist/es/node_modules/antd-mobile/es/utils/matrix.mjs +0 -11
- package/dist/es/packages/react-components/dist/es/node_modules/antd-mobile/es/utils/native-props.mjs +0 -12
- package/dist/es/packages/react-components/dist/es/node_modules/antd-mobile/es/utils/render-imperatively.mjs +0 -47
- package/dist/es/packages/react-components/dist/es/node_modules/antd-mobile/es/utils/render-to-body.mjs +0 -12
- package/dist/es/packages/react-components/dist/es/node_modules/antd-mobile/es/utils/render-to-container.mjs +0 -13
- package/dist/es/packages/react-components/dist/es/node_modules/antd-mobile/es/utils/render.mjs +0 -52
- package/dist/es/packages/react-components/dist/es/node_modules/antd-mobile/es/utils/rubberband.mjs +0 -11
- package/dist/es/packages/react-components/dist/es/node_modules/antd-mobile/es/utils/should-render.mjs +0 -10
- package/dist/es/packages/react-components/dist/es/node_modules/antd-mobile/es/utils/use-drag-and-pinch.mjs +0 -6
- package/dist/es/packages/react-components/dist/es/node_modules/antd-mobile/es/utils/use-initialized.mjs +0 -8
- package/dist/es/packages/react-components/dist/es/node_modules/antd-mobile/es/utils/use-lock-scroll.mjs +0 -54
- package/dist/es/packages/react-components/dist/es/node_modules/antd-mobile/es/utils/use-touch.mjs +0 -32
- package/dist/es/packages/react-components/dist/es/node_modules/antd-mobile/es/utils/with-default-props.mjs +0 -11
- package/dist/es/packages/react-components/dist/es/node_modules/antd-mobile/es/utils/with-stop-propagation.mjs +0 -19
- package/dist/es/packages/react-components/dist/es/node_modules/classnames/index.mjs +0 -42
- package/dist/es/packages/react-components/dist/es/node_modules/hast-util-parse-selector/index.mjs +0 -14
- package/dist/es/packages/react-components/dist/es/node_modules/is-alphabetical/index.mjs +0 -8
- package/dist/es/packages/react-components/dist/es/node_modules/is-alphanumerical/index.mjs +0 -9
- package/dist/es/packages/react-components/dist/es/node_modules/is-decimal/index.mjs +0 -8
- package/dist/es/packages/react-components/dist/es/node_modules/is-hexadecimal/index.mjs +0 -8
- package/dist/es/packages/react-components/dist/es/node_modules/parse-entities/index.mjs +0 -83
- package/dist/es/packages/react-components/dist/es/node_modules/parse-entities/node_modules/character-entities-legacy/index.json.mjs +0 -217
- package/dist/es/packages/react-components/dist/es/node_modules/property-information/find.mjs +0 -25
- package/dist/es/packages/react-components/dist/es/node_modules/property-information/html.mjs +0 -10
- package/dist/es/packages/react-components/dist/es/node_modules/property-information/lib/util/case-insensitive-transform.mjs +0 -8
- package/dist/es/packages/react-components/dist/es/node_modules/property-information/lib/util/case-sensitive-transform.mjs +0 -7
- package/dist/es/packages/react-components/dist/es/node_modules/property-information/lib/util/create.mjs +0 -13
- package/dist/es/packages/react-components/dist/es/node_modules/property-information/lib/util/defined-info.mjs +0 -17
- package/dist/es/packages/react-components/dist/es/node_modules/property-information/lib/util/merge.mjs +0 -11
- package/dist/es/packages/react-components/dist/es/node_modules/property-information/lib/util/schema.mjs +0 -10
- package/dist/es/packages/react-components/dist/es/node_modules/property-information/lib/xml.mjs +0 -16
- package/dist/es/packages/react-components/dist/es/node_modules/property-information/lib/xmlns.mjs +0 -16
- package/dist/es/packages/react-components/dist/es/node_modules/property-information/normalize.mjs +0 -7
- package/dist/es/packages/react-components/dist/es/node_modules/react-device-detect/dist/lib.mjs +0 -723
- package/dist/es/packages/react-components/dist/es/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.mjs +0 -7
- package/dist/es/packages/react-components/dist/es/node_modules/react-syntax-highlighter/dist/esm/create-element.mjs +0 -101
- package/dist/es/packages/react-components/dist/es/node_modules/react-syntax-highlighter/dist/esm/highlight.mjs +0 -283
- package/dist/es/packages/react-components/dist/es/node_modules/react-syntax-highlighter/dist/esm/prism.mjs +0 -10
- package/dist/es/packages/react-components/dist/es/node_modules/refractor/core.mjs +0 -111
- package/dist/es/packages/react-components/dist/es/node_modules/refractor/index.mjs +0 -553
- package/dist/es/packages/react-components/dist/es/node_modules/refractor/lang/csv.mjs +0 -16
- package/dist/es/packages/react-components/dist/es/node_modules/refractor/lang/ejs.mjs +0 -33
- package/dist/es/packages/react-components/dist/es/node_modules/refractor/lang/erb.mjs +0 -35
- package/dist/es/packages/react-components/dist/es/node_modules/refractor/lang/etlua.mjs +0 -33
- package/dist/es/packages/react-components/dist/es/node_modules/refractor/lang/javadoclike.mjs +0 -60
- package/dist/es/packages/react-components/dist/es/node_modules/refractor/lang/js-templates.mjs +0 -153
- package/dist/es/packages/react-components/dist/es/node_modules/refractor/lang/jsonp.mjs +0 -20
- package/dist/es/packages/react-components/dist/es/node_modules/refractor/lang/jsx.mjs +0 -61
- package/dist/es/packages/react-components/dist/es/node_modules/refractor/lang/markup-templating.mjs +0 -74
- package/dist/es/packages/react-components/dist/es/node_modules/refractor/lang/t4-cs.mjs +0 -17
- package/dist/es/packages/react-components/dist/es/node_modules/refractor/lang/t4-vb.mjs +0 -17
- package/dist/es/packages/react-components/dist/es/node_modules/refractor/lang/xml-doc.mjs +0 -35
- package/dist/es/packages/react-components/dist/es/node_modules/refractor/node_modules/hastscript/factory.mjs +0 -75
- package/dist/es/packages/react-components/dist/es/node_modules/refractor/node_modules/hastscript/index.mjs +0 -5
- package/dist/es/packages/react-components/dist/es/node_modules/tslib/tslib.es6.mjs +0 -30
- package/dist/es/packages/react-components/dist/es/node_modules/xtend/immutable.mjs +0 -12
- /package/dist/es/{packages/react-components/dist/es/_virtual → _virtual}/index2.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/_virtual → _virtual}/index3.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/_virtual → _virtual}/lib.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/_virtual → _virtual}/prism-core.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/_virtual → _virtual}/types.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/_virtual → _virtual}/ua-parser.min.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/@babel/runtime/helpers/esm/nonIterableSpread.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/antd-mobile/es/locales/zh-CN.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/antd-mobile/es/utils/can-use-dom.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/character-reference-invalid/index.json.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/react-syntax-highlighter/dist/esm/languages/prism/supported-languages.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/react-syntax-highlighter/dist/esm/styles/prism/prism.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/abap.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/actionscript.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/ada.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/antlr4.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/apacheconf.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/asciidoc.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/asmatmel.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/autohotkey.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/basic.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/brightscript.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/clike.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/clojure.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/cmake.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/cobol.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/concurnas.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/d.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/dax.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/eiffel.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/gml.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/go.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/haxe.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/inform7.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/io.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/keepalived.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/mel.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/moonscript.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/n1ql.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/n4js.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/nsis.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/plsql.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/psl.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/q.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/r.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/renpy.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/splunk-spl.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/sqf.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/sql.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/stan.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/swift.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/tcl.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/unrealscript.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/vbnet.mjs +0 -0
- /package/dist/es/{packages/react-components/dist/es/node_modules → node_modules}/refractor/lang/vim.mjs +0 -0
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import P from "../../../@babel/runtime/helpers/esm/extends.mjs";
|
|
2
|
-
import w from "../../../@babel/runtime/helpers/esm/defineProperty.mjs";
|
|
3
|
-
import S from "react";
|
|
4
|
-
function y(t, n) {
|
|
5
|
-
var a = Object.keys(t);
|
|
6
|
-
if (Object.getOwnPropertySymbols) {
|
|
7
|
-
var o = Object.getOwnPropertySymbols(t);
|
|
8
|
-
n && (o = o.filter(function(r) {
|
|
9
|
-
return Object.getOwnPropertyDescriptor(t, r).enumerable;
|
|
10
|
-
})), a.push.apply(a, o);
|
|
11
|
-
}
|
|
12
|
-
return a;
|
|
13
|
-
}
|
|
14
|
-
function s(t) {
|
|
15
|
-
for (var n = 1; n < arguments.length; n++) {
|
|
16
|
-
var a = arguments[n] != null ? arguments[n] : {};
|
|
17
|
-
n % 2 ? y(Object(a), !0).forEach(function(o) {
|
|
18
|
-
w(t, o, a[o]);
|
|
19
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(a)) : y(Object(a)).forEach(function(o) {
|
|
20
|
-
Object.defineProperty(t, o, Object.getOwnPropertyDescriptor(a, o));
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
return t;
|
|
24
|
-
}
|
|
25
|
-
function D(t) {
|
|
26
|
-
var n = t.length;
|
|
27
|
-
if (n === 0 || n === 1)
|
|
28
|
-
return t;
|
|
29
|
-
if (n === 2)
|
|
30
|
-
return [t[0], t[1], "".concat(t[0], ".").concat(t[1]), "".concat(t[1], ".").concat(t[0])];
|
|
31
|
-
if (n === 3)
|
|
32
|
-
return [t[0], t[1], t[2], "".concat(t[0], ".").concat(t[1]), "".concat(t[0], ".").concat(t[2]), "".concat(t[1], ".").concat(t[0]), "".concat(t[1], ".").concat(t[2]), "".concat(t[2], ".").concat(t[0]), "".concat(t[2], ".").concat(t[1]), "".concat(t[0], ".").concat(t[1], ".").concat(t[2]), "".concat(t[0], ".").concat(t[2], ".").concat(t[1]), "".concat(t[1], ".").concat(t[0], ".").concat(t[2]), "".concat(t[1], ".").concat(t[2], ".").concat(t[0]), "".concat(t[2], ".").concat(t[0], ".").concat(t[1]), "".concat(t[2], ".").concat(t[1], ".").concat(t[0])];
|
|
33
|
-
if (n >= 4)
|
|
34
|
-
return [t[0], t[1], t[2], t[3], "".concat(t[0], ".").concat(t[1]), "".concat(t[0], ".").concat(t[2]), "".concat(t[0], ".").concat(t[3]), "".concat(t[1], ".").concat(t[0]), "".concat(t[1], ".").concat(t[2]), "".concat(t[1], ".").concat(t[3]), "".concat(t[2], ".").concat(t[0]), "".concat(t[2], ".").concat(t[1]), "".concat(t[2], ".").concat(t[3]), "".concat(t[3], ".").concat(t[0]), "".concat(t[3], ".").concat(t[1]), "".concat(t[3], ".").concat(t[2]), "".concat(t[0], ".").concat(t[1], ".").concat(t[2]), "".concat(t[0], ".").concat(t[1], ".").concat(t[3]), "".concat(t[0], ".").concat(t[2], ".").concat(t[1]), "".concat(t[0], ".").concat(t[2], ".").concat(t[3]), "".concat(t[0], ".").concat(t[3], ".").concat(t[1]), "".concat(t[0], ".").concat(t[3], ".").concat(t[2]), "".concat(t[1], ".").concat(t[0], ".").concat(t[2]), "".concat(t[1], ".").concat(t[0], ".").concat(t[3]), "".concat(t[1], ".").concat(t[2], ".").concat(t[0]), "".concat(t[1], ".").concat(t[2], ".").concat(t[3]), "".concat(t[1], ".").concat(t[3], ".").concat(t[0]), "".concat(t[1], ".").concat(t[3], ".").concat(t[2]), "".concat(t[2], ".").concat(t[0], ".").concat(t[1]), "".concat(t[2], ".").concat(t[0], ".").concat(t[3]), "".concat(t[2], ".").concat(t[1], ".").concat(t[0]), "".concat(t[2], ".").concat(t[1], ".").concat(t[3]), "".concat(t[2], ".").concat(t[3], ".").concat(t[0]), "".concat(t[2], ".").concat(t[3], ".").concat(t[1]), "".concat(t[3], ".").concat(t[0], ".").concat(t[1]), "".concat(t[3], ".").concat(t[0], ".").concat(t[2]), "".concat(t[3], ".").concat(t[1], ".").concat(t[0]), "".concat(t[3], ".").concat(t[1], ".").concat(t[2]), "".concat(t[3], ".").concat(t[2], ".").concat(t[0]), "".concat(t[3], ".").concat(t[2], ".").concat(t[1]), "".concat(t[0], ".").concat(t[1], ".").concat(t[2], ".").concat(t[3]), "".concat(t[0], ".").concat(t[1], ".").concat(t[3], ".").concat(t[2]), "".concat(t[0], ".").concat(t[2], ".").concat(t[1], ".").concat(t[3]), "".concat(t[0], ".").concat(t[2], ".").concat(t[3], ".").concat(t[1]), "".concat(t[0], ".").concat(t[3], ".").concat(t[1], ".").concat(t[2]), "".concat(t[0], ".").concat(t[3], ".").concat(t[2], ".").concat(t[1]), "".concat(t[1], ".").concat(t[0], ".").concat(t[2], ".").concat(t[3]), "".concat(t[1], ".").concat(t[0], ".").concat(t[3], ".").concat(t[2]), "".concat(t[1], ".").concat(t[2], ".").concat(t[0], ".").concat(t[3]), "".concat(t[1], ".").concat(t[2], ".").concat(t[3], ".").concat(t[0]), "".concat(t[1], ".").concat(t[3], ".").concat(t[0], ".").concat(t[2]), "".concat(t[1], ".").concat(t[3], ".").concat(t[2], ".").concat(t[0]), "".concat(t[2], ".").concat(t[0], ".").concat(t[1], ".").concat(t[3]), "".concat(t[2], ".").concat(t[0], ".").concat(t[3], ".").concat(t[1]), "".concat(t[2], ".").concat(t[1], ".").concat(t[0], ".").concat(t[3]), "".concat(t[2], ".").concat(t[1], ".").concat(t[3], ".").concat(t[0]), "".concat(t[2], ".").concat(t[3], ".").concat(t[0], ".").concat(t[1]), "".concat(t[2], ".").concat(t[3], ".").concat(t[1], ".").concat(t[0]), "".concat(t[3], ".").concat(t[0], ".").concat(t[1], ".").concat(t[2]), "".concat(t[3], ".").concat(t[0], ".").concat(t[2], ".").concat(t[1]), "".concat(t[3], ".").concat(t[1], ".").concat(t[0], ".").concat(t[2]), "".concat(t[3], ".").concat(t[1], ".").concat(t[2], ".").concat(t[0]), "".concat(t[3], ".").concat(t[2], ".").concat(t[0], ".").concat(t[1]), "".concat(t[3], ".").concat(t[2], ".").concat(t[1], ".").concat(t[0])];
|
|
35
|
-
}
|
|
36
|
-
var f = {};
|
|
37
|
-
function E(t) {
|
|
38
|
-
if (t.length === 0 || t.length === 1)
|
|
39
|
-
return t;
|
|
40
|
-
var n = t.join(".");
|
|
41
|
-
return f[n] || (f[n] = D(t)), f[n];
|
|
42
|
-
}
|
|
43
|
-
function x(t) {
|
|
44
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = arguments.length > 2 ? arguments[2] : void 0, o = t.filter(function(e) {
|
|
45
|
-
return e !== "token";
|
|
46
|
-
}), r = E(o);
|
|
47
|
-
return r.reduce(function(e, i) {
|
|
48
|
-
return s(s({}, e), a[i]);
|
|
49
|
-
}, n);
|
|
50
|
-
}
|
|
51
|
-
function g(t) {
|
|
52
|
-
return t.join(" ");
|
|
53
|
-
}
|
|
54
|
-
function I(t, n) {
|
|
55
|
-
var a = 0;
|
|
56
|
-
return function(o) {
|
|
57
|
-
return a += 1, o.map(function(r, e) {
|
|
58
|
-
return C({
|
|
59
|
-
node: r,
|
|
60
|
-
stylesheet: t,
|
|
61
|
-
useInlineStyles: n,
|
|
62
|
-
key: "code-segment-".concat(a, "-").concat(e)
|
|
63
|
-
});
|
|
64
|
-
});
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
function C(t) {
|
|
68
|
-
var n = t.node, a = t.stylesheet, o = t.style, r = o === void 0 ? {} : o, e = t.useInlineStyles, i = t.key, c = n.properties, O = n.type, m = n.tagName, d = n.value;
|
|
69
|
-
if (O === "text")
|
|
70
|
-
return d;
|
|
71
|
-
if (m) {
|
|
72
|
-
var v = I(a, e), l;
|
|
73
|
-
if (!e)
|
|
74
|
-
l = s(s({}, c), {}, {
|
|
75
|
-
className: g(c.className)
|
|
76
|
-
});
|
|
77
|
-
else {
|
|
78
|
-
var b = Object.keys(a).reduce(function(u, k) {
|
|
79
|
-
return k.split(".").forEach(function(p) {
|
|
80
|
-
u.includes(p) || u.push(p);
|
|
81
|
-
}), u;
|
|
82
|
-
}, []), j = c.className && c.className.includes("token") ? ["token"] : [], h = c.className && j.concat(c.className.filter(function(u) {
|
|
83
|
-
return !b.includes(u);
|
|
84
|
-
}));
|
|
85
|
-
l = s(s({}, c), {}, {
|
|
86
|
-
className: g(h) || void 0,
|
|
87
|
-
style: x(c.className, Object.assign({}, c.style, r), a)
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
var N = v(n.children);
|
|
91
|
-
return /* @__PURE__ */ S.createElement(m, P({
|
|
92
|
-
key: i
|
|
93
|
-
}, l), N);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
export {
|
|
97
|
-
I as createChildren,
|
|
98
|
-
g as createClassNameString,
|
|
99
|
-
x as createStyleObject,
|
|
100
|
-
C as default
|
|
101
|
-
};
|
|
@@ -1,283 +0,0 @@
|
|
|
1
|
-
import ee from "../../../@babel/runtime/helpers/esm/objectWithoutProperties.mjs";
|
|
2
|
-
import B 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 ne from "./checkForListedLanguage.mjs";
|
|
7
|
-
var ae = ["language", "children", "style", "customStyle", "codeTagProps", "useInlineStyles", "showLineNumbers", "showInlineLineNumbers", "startingLineNumber", "lineNumberContainerStyle", "lineNumberStyle", "wrapLines", "wrapLongLines", "lineProps", "renderer", "PreTag", "CodeTag", "code", "astGenerator"];
|
|
8
|
-
function M(e, n) {
|
|
9
|
-
var t = Object.keys(e);
|
|
10
|
-
if (Object.getOwnPropertySymbols) {
|
|
11
|
-
var r = Object.getOwnPropertySymbols(e);
|
|
12
|
-
n && (r = r.filter(function(a) {
|
|
13
|
-
return Object.getOwnPropertyDescriptor(e, a).enumerable;
|
|
14
|
-
})), t.push.apply(t, r);
|
|
15
|
-
}
|
|
16
|
-
return t;
|
|
17
|
-
}
|
|
18
|
-
function d(e) {
|
|
19
|
-
for (var n = 1; n < arguments.length; n++) {
|
|
20
|
-
var t = arguments[n] != null ? arguments[n] : {};
|
|
21
|
-
n % 2 ? M(Object(t), !0).forEach(function(r) {
|
|
22
|
-
te(e, r, t[r]);
|
|
23
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : M(Object(t)).forEach(function(r) {
|
|
24
|
-
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
return e;
|
|
28
|
-
}
|
|
29
|
-
var ie = /\n/g;
|
|
30
|
-
function le(e) {
|
|
31
|
-
return e.match(ie);
|
|
32
|
-
}
|
|
33
|
-
function se(e) {
|
|
34
|
-
var n = e.lines, t = e.startingLineNumber, r = e.style;
|
|
35
|
-
return n.map(function(a, i) {
|
|
36
|
-
var s = i + t;
|
|
37
|
-
return /* @__PURE__ */ S.createElement("span", {
|
|
38
|
-
key: "line-".concat(i),
|
|
39
|
-
className: "react-syntax-highlighter-line-number",
|
|
40
|
-
style: typeof r == "function" ? r(s) : r
|
|
41
|
-
}, "".concat(s, `
|
|
42
|
-
`));
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
function oe(e) {
|
|
46
|
-
var n = e.codeString, t = e.codeStyle, r = e.containerStyle, a = r === void 0 ? {
|
|
47
|
-
float: "left",
|
|
48
|
-
paddingRight: "10px"
|
|
49
|
-
} : r, i = e.numberStyle, s = i === void 0 ? {} : i, m = e.startingLineNumber;
|
|
50
|
-
return /* @__PURE__ */ S.createElement("code", {
|
|
51
|
-
style: Object.assign({}, t, a)
|
|
52
|
-
}, se({
|
|
53
|
-
lines: n.replace(/\n$/, "").split(`
|
|
54
|
-
`),
|
|
55
|
-
style: s,
|
|
56
|
-
startingLineNumber: m
|
|
57
|
-
}));
|
|
58
|
-
}
|
|
59
|
-
function ce(e) {
|
|
60
|
-
return "".concat(e.toString().length, ".25em");
|
|
61
|
-
}
|
|
62
|
-
function Q(e, n) {
|
|
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: n
|
|
70
|
-
},
|
|
71
|
-
children: [{
|
|
72
|
-
type: "text",
|
|
73
|
-
value: e
|
|
74
|
-
}]
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
function U(e, n, t) {
|
|
78
|
-
var r = {
|
|
79
|
-
display: "inline-block",
|
|
80
|
-
minWidth: ce(t),
|
|
81
|
-
paddingRight: "1em",
|
|
82
|
-
textAlign: "right",
|
|
83
|
-
userSelect: "none"
|
|
84
|
-
}, a = typeof e == "function" ? e(n) : e, i = d(d({}, r), a);
|
|
85
|
-
return i;
|
|
86
|
-
}
|
|
87
|
-
function _(e) {
|
|
88
|
-
var n = e.children, t = e.lineNumber, r = e.lineNumberStyle, a = e.largestLineNumber, i = e.showInlineLineNumbers, s = e.lineProps, m = s === void 0 ? {} : s, b = e.className, f = b === void 0 ? [] : b, l = e.showLineNumbers, g = e.wrapLongLines, v = e.wrapLines, u = v === void 0 ? !1 : v, p = u ? d({}, typeof m == "function" ? m(t) : m) : {};
|
|
89
|
-
if (p.className = p.className ? [].concat(B(p.className.trim().split(/\s+/)), B(f)) : f, t && i) {
|
|
90
|
-
var O = U(r, t, a);
|
|
91
|
-
n.unshift(Q(t, O));
|
|
92
|
-
}
|
|
93
|
-
return g & l && (p.style = d({
|
|
94
|
-
display: "flex"
|
|
95
|
-
}, p.style)), {
|
|
96
|
-
type: "element",
|
|
97
|
-
tagName: "span",
|
|
98
|
-
properties: p,
|
|
99
|
-
children: n
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
function X(e) {
|
|
103
|
-
for (var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [], r = 0; r < e.length; r++) {
|
|
104
|
-
var a = e[r];
|
|
105
|
-
if (a.type === "text")
|
|
106
|
-
t.push(_({
|
|
107
|
-
children: [a],
|
|
108
|
-
className: B(new Set(n))
|
|
109
|
-
}));
|
|
110
|
-
else if (a.children) {
|
|
111
|
-
var i = n.concat(a.properties.className);
|
|
112
|
-
X(a.children, i).forEach(function(s) {
|
|
113
|
-
return t.push(s);
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
return t;
|
|
118
|
-
}
|
|
119
|
-
function ue(e, n, t, r, a, i, s, m, b) {
|
|
120
|
-
var f, l = X(e.value), g = [], v = -1, u = 0;
|
|
121
|
-
function p(o, c) {
|
|
122
|
-
var h = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
|
|
123
|
-
return _({
|
|
124
|
-
children: o,
|
|
125
|
-
lineNumber: c,
|
|
126
|
-
lineNumberStyle: m,
|
|
127
|
-
largestLineNumber: s,
|
|
128
|
-
showInlineLineNumbers: a,
|
|
129
|
-
lineProps: t,
|
|
130
|
-
className: h,
|
|
131
|
-
showLineNumbers: r,
|
|
132
|
-
wrapLongLines: b,
|
|
133
|
-
wrapLines: n
|
|
134
|
-
});
|
|
135
|
-
}
|
|
136
|
-
function O(o, c) {
|
|
137
|
-
if (r && c && a) {
|
|
138
|
-
var h = U(m, c, s);
|
|
139
|
-
o.unshift(Q(c, h));
|
|
140
|
-
}
|
|
141
|
-
return o;
|
|
142
|
-
}
|
|
143
|
-
function N(o, c) {
|
|
144
|
-
var h = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
|
|
145
|
-
return n || h.length > 0 ? p(o, c, h) : O(o, c);
|
|
146
|
-
}
|
|
147
|
-
for (var A = function() {
|
|
148
|
-
var o = l[u], c = o.children[0].value, h = le(c);
|
|
149
|
-
if (h) {
|
|
150
|
-
var j = c.split(`
|
|
151
|
-
`);
|
|
152
|
-
j.forEach(function(I, D) {
|
|
153
|
-
var y = r && g.length + i, C = {
|
|
154
|
-
type: "text",
|
|
155
|
-
value: "".concat(I, `
|
|
156
|
-
`)
|
|
157
|
-
};
|
|
158
|
-
if (D === 0) {
|
|
159
|
-
var $ = l.slice(v + 1, u).concat(_({
|
|
160
|
-
children: [C],
|
|
161
|
-
className: o.properties.className
|
|
162
|
-
})), G = N($, y);
|
|
163
|
-
g.push(G);
|
|
164
|
-
} else if (D === j.length - 1) {
|
|
165
|
-
var R = l[u + 1] && l[u + 1].children && l[u + 1].children[0], k = {
|
|
166
|
-
type: "text",
|
|
167
|
-
value: "".concat(I)
|
|
168
|
-
};
|
|
169
|
-
if (R) {
|
|
170
|
-
var x = _({
|
|
171
|
-
children: [k],
|
|
172
|
-
className: o.properties.className
|
|
173
|
-
});
|
|
174
|
-
l.splice(u + 1, 0, x);
|
|
175
|
-
} else {
|
|
176
|
-
var L = [k], P = N(L, y, o.properties.className);
|
|
177
|
-
g.push(P);
|
|
178
|
-
}
|
|
179
|
-
} else {
|
|
180
|
-
var V = [C], q = N(V, y, o.properties.className);
|
|
181
|
-
g.push(q);
|
|
182
|
-
}
|
|
183
|
-
}), v = u;
|
|
184
|
-
}
|
|
185
|
-
u++;
|
|
186
|
-
}; u < l.length; )
|
|
187
|
-
A();
|
|
188
|
-
if (v !== l.length - 1) {
|
|
189
|
-
var w = l.slice(v + 1, l.length);
|
|
190
|
-
if (w && w.length) {
|
|
191
|
-
var W = r && g.length + i, T = N(w, W);
|
|
192
|
-
g.push(T);
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
return n ? g : (f = []).concat.apply(f, g);
|
|
196
|
-
}
|
|
197
|
-
function ge(e) {
|
|
198
|
-
var n = e.rows, t = e.stylesheet, r = e.useInlineStyles;
|
|
199
|
-
return n.map(function(a, i) {
|
|
200
|
-
return re({
|
|
201
|
-
node: a,
|
|
202
|
-
stylesheet: t,
|
|
203
|
-
useInlineStyles: r,
|
|
204
|
-
key: "code-segement".concat(i)
|
|
205
|
-
});
|
|
206
|
-
});
|
|
207
|
-
}
|
|
208
|
-
function Y(e) {
|
|
209
|
-
return e && typeof e.highlightAuto != "undefined";
|
|
210
|
-
}
|
|
211
|
-
function me(e) {
|
|
212
|
-
var n = e.astGenerator, t = e.language, r = e.code, a = e.defaultCodeValue;
|
|
213
|
-
if (Y(n)) {
|
|
214
|
-
var i = ne(n, t);
|
|
215
|
-
return t === "text" ? {
|
|
216
|
-
value: a,
|
|
217
|
-
language: "text"
|
|
218
|
-
} : i ? n.highlight(t, r) : n.highlightAuto(r);
|
|
219
|
-
}
|
|
220
|
-
try {
|
|
221
|
-
return t && t !== "text" ? {
|
|
222
|
-
value: n.highlight(r, t)
|
|
223
|
-
} : {
|
|
224
|
-
value: a
|
|
225
|
-
};
|
|
226
|
-
} catch (s) {
|
|
227
|
-
return {
|
|
228
|
-
value: a
|
|
229
|
-
};
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
function be(e, n) {
|
|
233
|
-
return function(t) {
|
|
234
|
-
var r = t.language, a = t.children, i = t.style, s = i === void 0 ? n : i, m = t.customStyle, b = m === void 0 ? {} : m, f = t.codeTagProps, l = f === void 0 ? {
|
|
235
|
-
className: r ? "language-".concat(r) : void 0,
|
|
236
|
-
style: d(d({}, s['code[class*="language-"]']), s['code[class*="language-'.concat(r, '"]')])
|
|
237
|
-
} : f, g = t.useInlineStyles, v = g === void 0 ? !0 : g, u = t.showLineNumbers, p = u === void 0 ? !1 : u, O = t.showInlineLineNumbers, N = O === void 0 ? !0 : O, A = t.startingLineNumber, w = A === void 0 ? 1 : A, W = t.lineNumberContainerStyle, T = t.lineNumberStyle, o = T === void 0 ? {} : T, c = t.wrapLines, h = t.wrapLongLines, j = h === void 0 ? !1 : h, I = t.lineProps, D = I === void 0 ? {} : I, y = t.renderer, C = t.PreTag, $ = C === void 0 ? "pre" : C, G = t.CodeTag, R = G === void 0 ? "code" : G, k = t.code, x = k === void 0 ? (Array.isArray(a) ? a[0] : a) || "" : k, L = t.astGenerator, P = ee(t, ae);
|
|
238
|
-
L = L || e;
|
|
239
|
-
var V = p ? /* @__PURE__ */ S.createElement(oe, {
|
|
240
|
-
containerStyle: W,
|
|
241
|
-
codeStyle: l.style || {},
|
|
242
|
-
numberStyle: o,
|
|
243
|
-
startingLineNumber: w,
|
|
244
|
-
codeString: x
|
|
245
|
-
}) : null, q = s.hljs || s['pre[class*="language-"]'] || {
|
|
246
|
-
backgroundColor: "#fff"
|
|
247
|
-
}, F = Y(L) ? "hljs" : "prismjs", H = v ? Object.assign({}, P, {
|
|
248
|
-
style: Object.assign({}, q, b)
|
|
249
|
-
}) : Object.assign({}, P, {
|
|
250
|
-
className: P.className ? "".concat(F, " ").concat(P.className) : F,
|
|
251
|
-
style: Object.assign({}, b)
|
|
252
|
-
});
|
|
253
|
-
if (j ? l.style = d({
|
|
254
|
-
whiteSpace: "pre-wrap"
|
|
255
|
-
}, l.style) : l.style = d({
|
|
256
|
-
whiteSpace: "pre"
|
|
257
|
-
}, l.style), !L)
|
|
258
|
-
return /* @__PURE__ */ S.createElement($, H, V, /* @__PURE__ */ S.createElement(R, l, x));
|
|
259
|
-
(c === void 0 && y || j) && (c = !0), y = y || ge;
|
|
260
|
-
var J = [{
|
|
261
|
-
type: "text",
|
|
262
|
-
value: x
|
|
263
|
-
}], E = me({
|
|
264
|
-
astGenerator: L,
|
|
265
|
-
language: r,
|
|
266
|
-
code: x,
|
|
267
|
-
defaultCodeValue: J
|
|
268
|
-
});
|
|
269
|
-
E.language === null && (E.value = J);
|
|
270
|
-
var z = E.value.length;
|
|
271
|
-
z === 1 && E.value[0].type === "text" && (z = E.value[0].value.split(`
|
|
272
|
-
`).length);
|
|
273
|
-
var Z = z + w, K = ue(E, c, D, p, N, w, Z, o, j);
|
|
274
|
-
return /* @__PURE__ */ S.createElement($, H, /* @__PURE__ */ S.createElement(R, l, !N && V, y({
|
|
275
|
-
rows: K,
|
|
276
|
-
stylesheet: s,
|
|
277
|
-
useInlineStyles: v
|
|
278
|
-
})));
|
|
279
|
-
};
|
|
280
|
-
}
|
|
281
|
-
export {
|
|
282
|
-
be as default
|
|
283
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import r from "./highlight.mjs";
|
|
2
|
-
import m from "./styles/prism/prism.mjs";
|
|
3
|
-
import t from "../../../refractor/index.mjs";
|
|
4
|
-
import p from "./languages/prism/supported-languages.mjs";
|
|
5
|
-
var o = r(t, m);
|
|
6
|
-
o.supportedLanguages = p;
|
|
7
|
-
const s = o;
|
|
8
|
-
export {
|
|
9
|
-
s as default
|
|
10
|
-
};
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { commonjsGlobal as c } from "../../_virtual/_commonjsHelpers.mjs";
|
|
2
|
-
import { h as y } from "./node_modules/hastscript/index.mjs";
|
|
3
|
-
import { p as h } from "../parse-entities/index.mjs";
|
|
4
|
-
import { p as d } from "./node_modules/prismjs/components/prism-core.mjs";
|
|
5
|
-
import { m as v } from "./lang/markup.mjs";
|
|
6
|
-
import { c as w } from "./lang/css.mjs";
|
|
7
|
-
import { c as b } from "./lang/clike.mjs";
|
|
8
|
-
import { j } from "./lang/javascript.mjs";
|
|
9
|
-
var s = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof c == "object" ? c : {}, E = C();
|
|
10
|
-
s.Prism = {
|
|
11
|
-
manual: !0,
|
|
12
|
-
disableWorkerMessageHandler: !0
|
|
13
|
-
};
|
|
14
|
-
var k = y, x = h, p = d, P = v, T = w, N = b, O = j;
|
|
15
|
-
E();
|
|
16
|
-
var g = {}.hasOwnProperty;
|
|
17
|
-
function m() {
|
|
18
|
-
}
|
|
19
|
-
m.prototype = p;
|
|
20
|
-
var r = new m(), I = r;
|
|
21
|
-
r.highlight = A;
|
|
22
|
-
r.register = l;
|
|
23
|
-
r.alias = $;
|
|
24
|
-
r.registered = G;
|
|
25
|
-
r.listLanguages = H;
|
|
26
|
-
l(P);
|
|
27
|
-
l(T);
|
|
28
|
-
l(N);
|
|
29
|
-
l(O);
|
|
30
|
-
r.util.encode = R;
|
|
31
|
-
r.Token.stringify = L;
|
|
32
|
-
function l(t) {
|
|
33
|
-
if (typeof t != "function" || !t.displayName)
|
|
34
|
-
throw new Error("Expected `function` for `grammar`, got `" + t + "`");
|
|
35
|
-
r.languages[t.displayName] === void 0 && t(r);
|
|
36
|
-
}
|
|
37
|
-
function $(t, e) {
|
|
38
|
-
var n = r.languages, o = t, i, a, u, f;
|
|
39
|
-
e && (o = {}, o[t] = e);
|
|
40
|
-
for (i in o)
|
|
41
|
-
for (a = o[i], a = typeof a == "string" ? [a] : a, u = a.length, f = -1; ++f < u; )
|
|
42
|
-
n[a[f]] = n[i];
|
|
43
|
-
}
|
|
44
|
-
function A(t, e) {
|
|
45
|
-
var n = p.highlight, o;
|
|
46
|
-
if (typeof t != "string")
|
|
47
|
-
throw new Error("Expected `string` for `value`, got `" + t + "`");
|
|
48
|
-
if (r.util.type(e) === "Object")
|
|
49
|
-
o = e, e = null;
|
|
50
|
-
else {
|
|
51
|
-
if (typeof e != "string")
|
|
52
|
-
throw new Error("Expected `string` for `name`, got `" + e + "`");
|
|
53
|
-
if (g.call(r.languages, e))
|
|
54
|
-
o = r.languages[e];
|
|
55
|
-
else
|
|
56
|
-
throw new Error("Unknown language: `" + e + "` is not registered");
|
|
57
|
-
}
|
|
58
|
-
return n.call(this, t, o, e);
|
|
59
|
-
}
|
|
60
|
-
function G(t) {
|
|
61
|
-
if (typeof t != "string")
|
|
62
|
-
throw new Error("Expected `string` for `language`, got `" + t + "`");
|
|
63
|
-
return g.call(r.languages, t);
|
|
64
|
-
}
|
|
65
|
-
function H() {
|
|
66
|
-
var t = r.languages, e = [], n;
|
|
67
|
-
for (n in t)
|
|
68
|
-
g.call(t, n) && typeof t[n] == "object" && e.push(n);
|
|
69
|
-
return e;
|
|
70
|
-
}
|
|
71
|
-
function L(t, e, n) {
|
|
72
|
-
var o;
|
|
73
|
-
return typeof t == "string" ? {
|
|
74
|
-
type: "text",
|
|
75
|
-
value: t
|
|
76
|
-
} : r.util.type(t) === "Array" ? M(t, e) : (o = {
|
|
77
|
-
type: t.type,
|
|
78
|
-
content: r.Token.stringify(t.content, e, n),
|
|
79
|
-
tag: "span",
|
|
80
|
-
classes: ["token", t.type],
|
|
81
|
-
attributes: {},
|
|
82
|
-
language: e,
|
|
83
|
-
parent: n
|
|
84
|
-
}, t.alias && (o.classes = o.classes.concat(t.alias)), r.hooks.run("wrap", o), k(o.tag + "." + o.classes.join("."), U(o.attributes), o.content));
|
|
85
|
-
}
|
|
86
|
-
function M(t, e) {
|
|
87
|
-
for (var n = [], o = t.length, i = -1, a; ++i < o; )
|
|
88
|
-
a = t[i], a !== "" && a !== null && a !== void 0 && n.push(a);
|
|
89
|
-
for (i = -1, o = n.length; ++i < o; )
|
|
90
|
-
a = n[i], n[i] = r.Token.stringify(a, e, n);
|
|
91
|
-
return n;
|
|
92
|
-
}
|
|
93
|
-
function R(t) {
|
|
94
|
-
return t;
|
|
95
|
-
}
|
|
96
|
-
function U(t) {
|
|
97
|
-
var e;
|
|
98
|
-
for (e in t)
|
|
99
|
-
t[e] = x(t[e]);
|
|
100
|
-
return t;
|
|
101
|
-
}
|
|
102
|
-
function C() {
|
|
103
|
-
var t = "Prism" in s, e = t ? s.Prism : void 0;
|
|
104
|
-
return n;
|
|
105
|
-
function n() {
|
|
106
|
-
t ? s.Prism = e : delete s.Prism, t = void 0, e = void 0;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
export {
|
|
110
|
-
I as c
|
|
111
|
-
};
|