@glodon-aiot/agent-cli-ui 0.0.0-20251106104234
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/README.git.md +73 -0
- package/README.lib.md +135 -0
- package/dist/es/AgentClientUI.mjs +150 -0
- package/dist/es/Dialog/AgentChat/HistoryItem/FileItem/index.mjs +95 -0
- package/dist/es/Dialog/AgentChat/HistoryItem/InputProgress/index.mjs +38 -0
- package/dist/es/Dialog/AgentChat/HistoryItem/SearchReference/index.mjs +101 -0
- package/dist/es/Dialog/AgentChat/HistoryItem/SessionAction/index.mjs +251 -0
- package/dist/es/Dialog/AgentChat/HistoryItem/SessionRefer/ReferItem/index.mjs +86 -0
- package/dist/es/Dialog/AgentChat/HistoryItem/SessionRefer/index.mjs +92 -0
- package/dist/es/Dialog/AgentChat/HistoryItem/SessionRelated/index.mjs +46 -0
- package/dist/es/Dialog/AgentChat/HistoryItem/index.mjs +365 -0
- package/dist/es/Dialog/AgentChat/PromptSetting/index.mjs +105 -0
- package/dist/es/Dialog/AgentChat/Tools/ConnectToNetwork/index.mjs +92 -0
- package/dist/es/Dialog/AgentChat/Tools/PromptManager/PromptList/PromptListItem.mjs +89 -0
- package/dist/es/Dialog/AgentChat/Tools/PromptManager/PromptList/PublicPromptList.mjs +47 -0
- package/dist/es/Dialog/AgentChat/Tools/PromptManager/PromptList/access/empty.svg.mjs +4 -0
- package/dist/es/Dialog/AgentChat/Tools/PromptManager/index.mjs +120 -0
- package/dist/es/Dialog/AgentChat/Tools/SessionHistoryDrawer/index.mjs +48 -0
- package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/NameEditPanel.mjs +47 -0
- package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/SessionItem.mjs +135 -0
- package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/index.mjs +130 -0
- package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/index.mjs +44 -0
- package/dist/es/Dialog/AgentChat/Tools/UploadKnowledgeFiles/ClearModal/index.mjs +50 -0
- package/dist/es/Dialog/AgentChat/Tools/UploadKnowledgeFiles/FileCard/index.mjs +128 -0
- package/dist/es/Dialog/AgentChat/Tools/UploadKnowledgeFiles/index.mjs +413 -0
- package/dist/es/Dialog/AgentChat/index.mjs +1045 -0
- package/dist/es/Dialog/SessionList/index.mjs +323 -0
- package/dist/es/Dialog/UploadingPrompt/index.mjs +64 -0
- package/dist/es/Dialog/index.mjs +180 -0
- package/dist/es/Footer/FooterWarning.mjs +24 -0
- package/dist/es/Footer/index.mjs +17 -0
- package/dist/es/QuillEditor/index.mjs +231 -0
- package/dist/es/ReactTextGenerationUI/components/TextSiders/index.mjs +406 -0
- package/dist/es/ReactTextGenerationUI/components/fetchEventSource/fetch.mjs +112 -0
- package/dist/es/ReactTextGenerationUI/components/fetchEventSource/parse.mjs +97 -0
- package/dist/es/ReactTextGenerationUI/index.mjs +81 -0
- 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/_virtual/utilities.mjs +4 -0
- package/dist/es/assets/brand.svg.mjs +4 -0
- package/dist/es/assets/doc-icons/doc.svg.mjs +4 -0
- package/dist/es/assets/doc-icons/docx.svg.mjs +4 -0
- package/dist/es/assets/doc-icons/pdf.svg.mjs +4 -0
- package/dist/es/assets/icon.svg.mjs +4 -0
- package/dist/es/assets/think.svg.mjs +4 -0
- package/dist/es/components/FilePreview/index.mjs +83 -0
- package/dist/es/components/Greeting/index.mjs +30 -0
- package/dist/es/components/Iconfont/index.mjs +12 -0
- package/dist/es/components/JsonDisplay/index.mjs +15 -0
- package/dist/es/components/KnowledgeList/KnowledgeSelect/index.mjs +67 -0
- package/dist/es/components/KnowledgeList/index.mjs +73 -0
- package/dist/es/components/Recommend/RecommendItem.mjs +100 -0
- package/dist/es/components/Recommend/index.mjs +76 -0
- package/dist/es/components/Recommend/tip.svg.mjs +4 -0
- package/dist/es/components/Sider/index.mjs +24 -0
- package/dist/es/components/WebLink/index.mjs +26 -0
- package/dist/es/constant.mjs +123 -0
- package/dist/es/context/SessionContext.mjs +26 -0
- package/dist/es/context.mjs +7 -0
- package/dist/es/hooks/useSessionState.mjs +6 -0
- package/dist/es/index.mjs +534 -0
- 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/@ungap/structured-clone/esm/deserialize.mjs +70 -0
- package/dist/es/node_modules/@ungap/structured-clone/esm/index.mjs +11 -0
- package/dist/es/node_modules/@ungap/structured-clone/esm/serialize.mjs +124 -0
- package/dist/es/node_modules/@ungap/structured-clone/esm/types.mjs +13 -0
- package/dist/es/node_modules/@use-gesture/core/dist/actions-fe213e88.esm.mjs +847 -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 +226 -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.mjs +76 -0
- 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/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 +9 -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/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/ccount/index.mjs +12 -0
- package/dist/es/node_modules/character-reference-invalid/index.json.mjs +33 -0
- package/dist/es/node_modules/comma-separated-tokens/index.mjs +18 -0
- package/dist/es/node_modules/decode-named-character-reference/index.dom.mjs +14 -0
- package/dist/es/node_modules/devlop/lib/default.mjs +8 -0
- package/dist/es/node_modules/estree-util-is-identifier-name/lib/index.mjs +7 -0
- package/dist/es/node_modules/extend/index.mjs +46 -0
- package/dist/es/node_modules/hast-util-from-dom/lib/index.mjs +93 -0
- package/dist/es/node_modules/hast-util-from-dom/node_modules/web-namespaces/index.mjs +11 -0
- package/dist/es/node_modules/hast-util-from-html-isomorphic/lib/browser.mjs +16 -0
- package/dist/es/node_modules/hast-util-from-parse5/lib/index.mjs +162 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/index.mjs +12 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/aria.mjs +61 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/find.mjs +33 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/html.mjs +368 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/normalize.mjs +6 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/svg.mjs +566 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/case-insensitive-transform.mjs +7 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/case-sensitive-transform.mjs +6 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/create.mjs +14 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/defined-info.mjs +36 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/info.mjs +28 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/merge.mjs +10 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/schema.mjs +21 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/types.mjs +15 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/xlink.mjs +19 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/xml.mjs +15 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/xmlns.mjs +16 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/vfile-location/lib/index.mjs +47 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/web-namespaces/index.mjs +11 -0
- package/dist/es/node_modules/hast-util-is-element/lib/index.mjs +61 -0
- package/dist/es/node_modules/hast-util-parse-selector/index.mjs +14 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/lib/index.mjs +298 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/index.mjs +12 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/aria.mjs +61 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/find.mjs +33 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/hast-to-react.mjs +22 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/html.mjs +368 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/normalize.mjs +6 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/svg.mjs +566 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/case-insensitive-transform.mjs +7 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/case-sensitive-transform.mjs +6 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/create.mjs +14 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/defined-info.mjs +36 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/info.mjs +28 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/merge.mjs +10 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/schema.mjs +21 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/types.mjs +15 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/xlink.mjs +19 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/xml.mjs +15 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/xmlns.mjs +16 -0
- package/dist/es/node_modules/hast-util-to-text/lib/index.mjs +223 -0
- package/dist/es/node_modules/hast-util-whitespace/lib/index.mjs +10 -0
- package/dist/es/node_modules/hastscript/lib/create-h.mjs +126 -0
- package/dist/es/node_modules/hastscript/lib/index.mjs +8 -0
- package/dist/es/node_modules/hastscript/lib/svg-case-sensitive-tag-names.mjs +4 -0
- package/dist/es/node_modules/hastscript/node_modules/hast-util-parse-selector/lib/index.mjs +20 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/index.mjs +12 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/aria.mjs +61 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/find.mjs +33 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/html.mjs +368 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/normalize.mjs +6 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/svg.mjs +566 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/case-insensitive-transform.mjs +7 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/case-sensitive-transform.mjs +6 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/create.mjs +14 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/defined-info.mjs +36 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/info.mjs +28 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/merge.mjs +10 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/schema.mjs +21 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/types.mjs +15 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/xlink.mjs +19 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/xml.mjs +15 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/xmlns.mjs +16 -0
- package/dist/es/node_modules/html-url-attributes/lib/index.mjs +16 -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/katex/dist/katex.mjs +11700 -0
- package/dist/es/node_modules/longest-streak/index.mjs +12 -0
- package/dist/es/node_modules/markdown-table/index.mjs +70 -0
- package/dist/es/node_modules/mdast-util-find-and-replace/lib/index.mjs +72 -0
- package/dist/es/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.mjs +8 -0
- package/dist/es/node_modules/mdast-util-from-markdown/lib/index.mjs +584 -0
- package/dist/es/node_modules/mdast-util-gfm/lib/index.mjs +17 -0
- package/dist/es/node_modules/mdast-util-gfm-autolink-literal/lib/index.mjs +136 -0
- package/dist/es/node_modules/mdast-util-gfm-footnote/lib/index.mjs +100 -0
- package/dist/es/node_modules/mdast-util-gfm-strikethrough/lib/index.mjs +61 -0
- package/dist/es/node_modules/mdast-util-gfm-table/lib/index.mjs +170 -0
- package/dist/es/node_modules/mdast-util-gfm-task-list-item/lib/index.mjs +72 -0
- package/dist/es/node_modules/mdast-util-math/lib/index.mjs +170 -0
- package/dist/es/node_modules/mdast-util-phrasing/lib/index.mjs +30 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/footer.mjs +123 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/blockquote.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/break.mjs +16 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/code.mjs +25 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/delete.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/emphasis.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.mjs +31 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/heading.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/html.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/image-reference.mjs +22 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/image.mjs +17 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/index.mjs +58 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/inline-code.mjs +17 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/link-reference.mjs +21 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/link.mjs +17 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/list-item.mjs +65 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/list.mjs +21 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/paragraph.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/root.mjs +10 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/strong.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/table-cell.mjs +13 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/table-row.mjs +26 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/table.mjs +35 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/text.mjs +11 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/index.mjs +19 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/revert.mjs +22 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/state.mjs +145 -0
- package/dist/es/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.mjs +16 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/blockquote.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/break.mjs +13 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/code.mjs +49 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/definition.mjs +37 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/emphasis.mjs +37 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/heading.mjs +44 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/html.mjs +10 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/image-reference.mjs +36 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/image.mjs +40 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/index.mjs +44 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/inline-code.mjs +22 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/link-reference.mjs +36 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/link.mjs +50 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/list-item.mjs +19 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/list.mjs +35 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/paragraph.mjs +7 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/root.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/strong.mjs +37 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/text.mjs +6 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.mjs +14 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-bullet.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-fence.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-quote.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-rule.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-strong.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.mjs +6 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/encode-info.mjs +67 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.mjs +13 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.mjs +15 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.mjs +15 -0
- package/dist/es/node_modules/mdast-util-to-markdown/node_modules/unist-util-visit/lib/index.mjs +16 -0
- package/dist/es/node_modules/mdast-util-to-string/lib/index.mjs +29 -0
- package/dist/es/node_modules/micromark/lib/constructs.mjs +85 -0
- package/dist/es/node_modules/micromark/lib/create-tokenizer.mjs +225 -0
- package/dist/es/node_modules/micromark/lib/initialize/content.mjs +37 -0
- package/dist/es/node_modules/micromark/lib/initialize/document.mjs +133 -0
- package/dist/es/node_modules/micromark/lib/initialize/flow.mjs +33 -0
- package/dist/es/node_modules/micromark/lib/initialize/text.mjs +103 -0
- package/dist/es/node_modules/micromark/lib/parse.mjs +32 -0
- package/dist/es/node_modules/micromark/lib/postprocess.mjs +9 -0
- package/dist/es/node_modules/micromark/lib/preprocess.mjs +40 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/attention.mjs +74 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/autolink.mjs +43 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/blank-line.mjs +18 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/block-quote.mjs +42 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/character-escape.mjs +17 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/character-reference.mjs +30 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/code-fenced.mjs +94 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/code-indented.mjs +43 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/code-text.mjs +45 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/content.mjs +50 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/definition.mjs +80 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/hard-break-escape.mjs +17 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/heading-atx.mjs +46 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/html-flow.mjs +144 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/html-text.mjs +102 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/label-end.mjs +152 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/label-start-image.mjs +22 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/label-start-link.mjs +19 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/line-ending.mjs +14 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/list.mjs +90 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/setext-underline.mjs +62 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/thematic-break.mjs +25 -0
- package/dist/es/node_modules/micromark-extension-gfm/index.mjs +12 -0
- package/dist/es/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.mjs +193 -0
- package/dist/es/node_modules/micromark-extension-gfm-footnote/lib/syntax.mjs +192 -0
- package/dist/es/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.mjs +68 -0
- package/dist/es/node_modules/micromark-extension-gfm-table/lib/edit-map.mjs +71 -0
- package/dist/es/node_modules/micromark-extension-gfm-table/lib/infer.mjs +24 -0
- package/dist/es/node_modules/micromark-extension-gfm-table/lib/syntax.mjs +147 -0
- package/dist/es/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.mjs +45 -0
- package/dist/es/node_modules/micromark-extension-math/lib/math-flow.mjs +76 -0
- package/dist/es/node_modules/micromark-extension-math/lib/math-text.mjs +48 -0
- package/dist/es/node_modules/micromark-extension-math/lib/syntax.mjs +15 -0
- package/dist/es/node_modules/micromark-factory-destination/index.mjs +31 -0
- package/dist/es/node_modules/micromark-factory-label/index.mjs +28 -0
- package/dist/es/node_modules/micromark-factory-space/index.mjs +15 -0
- package/dist/es/node_modules/micromark-factory-title/index.mjs +26 -0
- package/dist/es/node_modules/micromark-factory-whitespace/index.mjs +12 -0
- package/dist/es/node_modules/micromark-util-character/index.mjs +39 -0
- package/dist/es/node_modules/micromark-util-chunked/index.mjs +16 -0
- package/dist/es/node_modules/micromark-util-classify-character/index.mjs +10 -0
- package/dist/es/node_modules/micromark-util-combine-extensions/index.mjs +36 -0
- package/dist/es/node_modules/micromark-util-decode-numeric-character-reference/index.mjs +16 -0
- package/dist/es/node_modules/micromark-util-decode-string/index.mjs +18 -0
- package/dist/es/node_modules/micromark-util-html-tag-name/index.mjs +5 -0
- package/dist/es/node_modules/micromark-util-normalize-identifier/index.mjs +6 -0
- package/dist/es/node_modules/micromark-util-resolve-all/index.mjs +12 -0
- package/dist/es/node_modules/micromark-util-sanitize-uri/index.mjs +23 -0
- package/dist/es/node_modules/micromark-util-subtokenize/index.mjs +65 -0
- package/dist/es/node_modules/micromark-util-subtokenize/lib/splice-buffer.mjs +175 -0
- package/dist/es/node_modules/moment/dist/moment.mjs +2301 -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-markdown/lib/index.mjs +153 -0
- package/dist/es/node_modules/react-markdown/node_modules/remark-parse/lib/index.mjs +29 -0
- package/dist/es/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.mjs +16 -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/rehype-external-links/lib/index.mjs +34 -0
- package/dist/es/node_modules/rehype-external-links/node_modules/is-absolute-url/index.mjs +9 -0
- package/dist/es/node_modules/rehype-external-links/node_modules/unist-util-visit/lib/index.mjs +16 -0
- package/dist/es/node_modules/rehype-katex/lib/index.mjs +83 -0
- package/dist/es/node_modules/rehype-raw/lib/index.mjs +26 -0
- package/dist/es/node_modules/rehype-raw/node_modules/entities/dist/esm/decode-codepoint.mjs +38 -0
- package/dist/es/node_modules/rehype-raw/node_modules/entities/dist/esm/decode.mjs +251 -0
- package/dist/es/node_modules/rehype-raw/node_modules/entities/dist/esm/generated/decode-data-html.mjs +7 -0
- package/dist/es/node_modules/rehype-raw/node_modules/hast-util-raw/lib/index.mjs +249 -0
- package/dist/es/node_modules/rehype-raw/node_modules/hast-util-to-parse5/lib/index.mjs +125 -0
- package/dist/es/node_modules/rehype-raw/node_modules/html-void-elements/index.mjs +4 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/doctype.mjs +34 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/error-codes.mjs +7 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/foreign-content.mjs +103 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/html.mjs +44 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/token.mjs +14 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/unicode.mjs +38 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/parser/formatting-element-list.mjs +91 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/parser/index.mjs +2308 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/parser/open-element-stack.mjs +220 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/serializer/index.mjs +2 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/tokenizer/index.mjs +1948 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/tokenizer/preprocessor.mjs +92 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/tree-adapters/default.mjs +173 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/index.mjs +12 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/aria.mjs +61 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/find.mjs +33 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/html.mjs +368 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/normalize.mjs +6 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/svg.mjs +566 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/case-insensitive-transform.mjs +7 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/case-sensitive-transform.mjs +6 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/create.mjs +17 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/defined-info.mjs +27 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/info.mjs +23 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/merge.mjs +11 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/schema.mjs +17 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/types.mjs +15 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/xlink.mjs +19 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/xml.mjs +15 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/xmlns.mjs +16 -0
- package/dist/es/node_modules/rehype-raw/node_modules/unist-util-visit/lib/index.mjs +16 -0
- package/dist/es/node_modules/rehype-raw/node_modules/web-namespaces/index.mjs +11 -0
- package/dist/es/node_modules/remark-gfm/lib/index.mjs +13 -0
- package/dist/es/node_modules/remark-math/lib/index.mjs +13 -0
- package/dist/es/node_modules/remark-rehype/lib/index.mjs +51 -0
- package/dist/es/node_modules/space-separated-tokens/index.mjs +11 -0
- package/dist/es/node_modules/style-to-js/cjs/index.mjs +22 -0
- package/dist/es/node_modules/style-to-js/cjs/utilities.mjs +18 -0
- package/dist/es/node_modules/style-to-js/node_modules/inline-style-parser/index.mjs +93 -0
- package/dist/es/node_modules/style-to-js/node_modules/style-to-object/cjs/index.mjs +25 -0
- package/dist/es/node_modules/trim-lines/index.mjs +25 -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/unified/lib/callable-instance.mjs +25 -0
- package/dist/es/node_modules/unified/lib/index.mjs +525 -0
- package/dist/es/node_modules/unified/node_modules/bail/index.mjs +7 -0
- package/dist/es/node_modules/unified/node_modules/is-plain-obj/index.mjs +9 -0
- package/dist/es/node_modules/unified/node_modules/trough/lib/index.mjs +61 -0
- package/dist/es/node_modules/unist-util-find-after/lib/index.mjs +32 -0
- package/dist/es/node_modules/unist-util-is/lib/index.mjs +81 -0
- package/dist/es/node_modules/unist-util-position/lib/index.mjs +26 -0
- package/dist/es/node_modules/unist-util-stringify-position/lib/index.mjs +15 -0
- package/dist/es/node_modules/unist-util-visit-parents/lib/color.mjs +6 -0
- package/dist/es/node_modules/unist-util-visit-parents/lib/index.mjs +56 -0
- package/dist/es/node_modules/vfile/lib/index.mjs +401 -0
- package/dist/es/node_modules/vfile/lib/minpath.browser.mjs +120 -0
- package/dist/es/node_modules/vfile/lib/minproc.browser.mjs +9 -0
- package/dist/es/node_modules/vfile/lib/minurl.browser.mjs +35 -0
- package/dist/es/node_modules/vfile/lib/minurl.shared.mjs +7 -0
- package/dist/es/node_modules/vfile-message/lib/index.mjs +106 -0
- package/dist/es/node_modules/xtend/immutable.mjs +12 -0
- package/dist/es/node_modules/zwitch/index.mjs +18 -0
- package/dist/es/packages/agent-cli-ui/package.json.mjs +163 -0
- package/dist/es/packages/react-components/dist/es/Iconfont/index.mjs +8 -0
- package/dist/es/packages/react-components/dist/es/components/Copy/index.mjs +43 -0
- package/dist/es/packages/react-components/dist/es/components/Markdown/ATag/index.mjs +44 -0
- package/dist/es/packages/react-components/dist/es/components/Markdown/Code/index.mjs +64 -0
- package/dist/es/packages/react-components/dist/es/components/Markdown/Image/index.mjs +62 -0
- package/dist/es/packages/react-components/dist/es/components/Markdown/Video/index.mjs +19 -0
- package/dist/es/packages/react-components/dist/es/components/Markdown/index.mjs +78 -0
- package/dist/es/packages/react-components/dist/es/index.mjs +10 -0
- package/dist/es/packages/react-components/dist/es/utils/clipboard.mjs +38 -0
- package/dist/es/packages/react-components/dist/es/utils/markdown/index.mjs +29 -0
- package/dist/es/src/global.css +1 -0
- package/dist/es/src/image-viewer.css +1 -0
- package/dist/es/src/katex.min.css +1 -0
- package/dist/es/src/mask.css +1 -0
- package/dist/es/src/safe-area.css +1 -0
- package/dist/es/src/style.css +1 -0
- package/dist/es/src/style10.css +1 -0
- package/dist/es/src/style11.css +1 -0
- package/dist/es/src/style12.css +1 -0
- package/dist/es/src/style13.css +1 -0
- package/dist/es/src/style14.css +1 -0
- package/dist/es/src/style15.css +1 -0
- package/dist/es/src/style16.css +1 -0
- package/dist/es/src/style17.css +1 -0
- package/dist/es/src/style18.css +1 -0
- package/dist/es/src/style19.css +1 -0
- package/dist/es/src/style2.css +1 -0
- package/dist/es/src/style20.css +1 -0
- package/dist/es/src/style21.css +1 -0
- package/dist/es/src/style22.css +1 -0
- package/dist/es/src/style23.css +1 -0
- package/dist/es/src/style24.css +1 -0
- package/dist/es/src/style25.css +1 -0
- package/dist/es/src/style26.css +1 -0
- package/dist/es/src/style27.css +1 -0
- package/dist/es/src/style28.css +1 -0
- package/dist/es/src/style29.css +1 -0
- package/dist/es/src/style3.css +1 -0
- package/dist/es/src/style30.css +1 -0
- package/dist/es/src/style31.css +1 -0
- package/dist/es/src/style32.css +1 -0
- package/dist/es/src/style33.css +1 -0
- package/dist/es/src/style4.css +1 -0
- package/dist/es/src/style5.css +1 -0
- package/dist/es/src/style6.css +1 -0
- package/dist/es/src/style7.css +1 -0
- package/dist/es/src/style8.css +1 -0
- package/dist/es/src/style9.css +1 -0
- package/dist/es/types.mjs +4 -0
- package/dist/es/utils/antdConfig.mjs +15 -0
- package/dist/es/utils/index.mjs +37 -0
- package/dist/lib/index.css +1 -0
- package/dist/lib/index.js +328 -0
- package/dist/src/AgentClientUI.d.ts +13 -0
- package/dist/src/Dialog/AgentChat/HistoryItem/FileItem/index.d.ts +11 -0
- package/dist/src/Dialog/AgentChat/HistoryItem/InputProgress/index.d.ts +7 -0
- package/dist/src/Dialog/AgentChat/HistoryItem/SearchReference/index.d.ts +10 -0
- package/dist/src/Dialog/AgentChat/HistoryItem/SessionAction/index.d.ts +13 -0
- package/dist/src/Dialog/AgentChat/HistoryItem/SessionRefer/ReferItem/index.d.ts +9 -0
- package/dist/src/Dialog/AgentChat/HistoryItem/SessionRefer/index.d.ts +10 -0
- package/dist/src/Dialog/AgentChat/HistoryItem/SessionRelated/index.d.ts +9 -0
- package/dist/src/Dialog/AgentChat/HistoryItem/index.d.ts +20 -0
- package/dist/src/Dialog/AgentChat/PromptSetting/index.d.ts +15 -0
- package/dist/src/Dialog/AgentChat/Tools/ConnectToNetwork/index.d.ts +14 -0
- package/dist/src/Dialog/AgentChat/Tools/PromptManager/PromptList/EditPromptModal/index.d.ts +11 -0
- package/dist/src/Dialog/AgentChat/Tools/PromptManager/PromptList/PrivatePromptList.d.ts +12 -0
- package/dist/src/Dialog/AgentChat/Tools/PromptManager/PromptList/PromptListItem.d.ts +13 -0
- package/dist/src/Dialog/AgentChat/Tools/PromptManager/PromptList/PublicPromptList.d.ts +12 -0
- package/dist/src/Dialog/AgentChat/Tools/PromptManager/index.d.ts +13 -0
- package/dist/src/Dialog/AgentChat/Tools/SessionHistoryDrawer/index.d.ts +15 -0
- package/dist/src/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/NameEditPanel.d.ts +9 -0
- package/dist/src/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/SessionItem.d.ts +16 -0
- package/dist/src/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/index.d.ts +9 -0
- package/dist/src/Dialog/AgentChat/Tools/SessionListDrawer/index.d.ts +9 -0
- package/dist/src/Dialog/AgentChat/Tools/UploadKnowledgeFiles/ClearModal/index.d.ts +7 -0
- package/dist/src/Dialog/AgentChat/Tools/UploadKnowledgeFiles/FileCard/index.d.ts +22 -0
- package/dist/src/Dialog/AgentChat/Tools/UploadKnowledgeFiles/index.d.ts +22 -0
- package/dist/src/Dialog/AgentChat/index.d.ts +22 -0
- package/dist/src/Dialog/SessionList/index.d.ts +24 -0
- package/dist/src/Dialog/UploadingPrompt/index.d.ts +9 -0
- package/dist/src/Dialog/index.d.ts +18 -0
- package/dist/src/Footer/FooterWarning.d.ts +8 -0
- package/dist/src/Footer/index.d.ts +8 -0
- package/dist/src/QuillEditor/index.d.ts +21 -0
- package/dist/src/ReactTextGenerationUI/components/TextSiders/index.d.ts +22 -0
- package/dist/src/ReactTextGenerationUI/components/fetchEventSource/fetch.d.ts +44 -0
- package/dist/src/ReactTextGenerationUI/components/fetchEventSource/index.d.ts +1 -0
- package/dist/src/ReactTextGenerationUI/components/fetchEventSource/parse.d.ts +36 -0
- package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/fetch.d.ts +44 -0
- package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/index.d.ts +1 -0
- package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/parse.d.ts +36 -0
- package/dist/src/ReactTextGenerationUI/index.d.ts +4 -0
- package/dist/src/components/FilePreview/index.d.ts +20 -0
- package/dist/src/components/Greeting/index.d.ts +8 -0
- package/dist/src/components/Header/index.d.ts +7 -0
- package/dist/src/components/Iconfont/font_4108228_z72fskklg2.d.ts +0 -0
- package/dist/src/components/Iconfont/font_4439177_7rytwlvbmjj.d.ts +0 -0
- package/dist/src/components/Iconfont/index.d.ts +2 -0
- package/dist/src/components/JsonDisplay/index.d.ts +6 -0
- package/dist/src/components/KnowledgeDoc/index.d.ts +9 -0
- package/dist/src/components/KnowledgeList/KnowledgeSelect/index.d.ts +12 -0
- package/dist/src/components/KnowledgeList/index.d.ts +10 -0
- package/dist/src/components/PDFViewer/index.d.ts +7 -0
- package/dist/src/components/Recommend/RecommendItem.d.ts +12 -0
- package/dist/src/components/Recommend/index.d.ts +15 -0
- package/dist/src/components/Sider/index.d.ts +8 -0
- package/dist/src/components/WebLink/index.d.ts +7 -0
- package/dist/src/constant.d.ts +21 -0
- package/dist/src/context/SessionContext.d.ts +15 -0
- package/dist/src/context.d.ts +5 -0
- package/dist/src/hooks/useSessionState.d.ts +7 -0
- package/dist/src/index.d.ts +49 -0
- package/dist/src/types.d.ts +235 -0
- package/dist/src/utils/antdConfig.d.ts +7 -0
- package/dist/src/utils/fetchEventSource/fetch.d.ts +44 -0
- package/dist/src/utils/fetchEventSource/index.d.ts +1 -0
- package/dist/src/utils/fetchEventSource/parse.d.ts +36 -0
- package/dist/src/utils/index.d.ts +25 -0
- package/dist/src/utils/reactCompatibility.d.ts +27 -0
- package/dist/src/utils/testAntdPrefix.d.ts +3 -0
- package/package.json +142 -0
package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/xlink.mjs
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { create as n } from "./util/create.mjs";
|
|
2
|
+
const r = n({
|
|
3
|
+
properties: {
|
|
4
|
+
xLinkActuate: null,
|
|
5
|
+
xLinkArcRole: null,
|
|
6
|
+
xLinkHref: null,
|
|
7
|
+
xLinkRole: null,
|
|
8
|
+
xLinkShow: null,
|
|
9
|
+
xLinkTitle: null,
|
|
10
|
+
xLinkType: null
|
|
11
|
+
},
|
|
12
|
+
space: "xlink",
|
|
13
|
+
transform(e, l) {
|
|
14
|
+
return "xlink:" + l.slice(5).toLowerCase();
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
export {
|
|
18
|
+
r as xlink
|
|
19
|
+
};
|
package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/xml.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { create as e } from "./util/create.mjs";
|
|
2
|
+
const o = e({
|
|
3
|
+
properties: {
|
|
4
|
+
xmlBase: null,
|
|
5
|
+
xmlLang: null,
|
|
6
|
+
xmlSpace: null
|
|
7
|
+
},
|
|
8
|
+
space: "xml",
|
|
9
|
+
transform(r, l) {
|
|
10
|
+
return "xml:" + l.slice(3).toLowerCase();
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
o as xml
|
|
15
|
+
};
|
package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/xmlns.mjs
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { create as n } from "./util/create.mjs";
|
|
2
|
+
import { caseInsensitiveTransform as s } from "./util/case-insensitive-transform.mjs";
|
|
3
|
+
const m = n({
|
|
4
|
+
attributes: {
|
|
5
|
+
xmlnsxlink: "xmlns:xlink"
|
|
6
|
+
},
|
|
7
|
+
properties: {
|
|
8
|
+
xmlnsXLink: null,
|
|
9
|
+
xmlns: null
|
|
10
|
+
},
|
|
11
|
+
space: "xmlns",
|
|
12
|
+
transform: s
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
m as xmlns
|
|
16
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
function m(c) {
|
|
2
|
+
const l = String(c), e = [];
|
|
3
|
+
return {
|
|
4
|
+
toOffset: s,
|
|
5
|
+
toPoint: i
|
|
6
|
+
};
|
|
7
|
+
function i(n) {
|
|
8
|
+
if (typeof n == "number" && n > -1 && n <= l.length) {
|
|
9
|
+
let t = 0;
|
|
10
|
+
for (; ; ) {
|
|
11
|
+
let r = e[t];
|
|
12
|
+
if (r === void 0) {
|
|
13
|
+
const u = f(l, e[t - 1]);
|
|
14
|
+
r = u === -1 ? l.length + 1 : u + 1, e[t] = r;
|
|
15
|
+
}
|
|
16
|
+
if (r > n)
|
|
17
|
+
return {
|
|
18
|
+
line: t + 1,
|
|
19
|
+
column: n - (t > 0 ? e[t - 1] : 0) + 1,
|
|
20
|
+
offset: n
|
|
21
|
+
};
|
|
22
|
+
t++;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
function s(n) {
|
|
27
|
+
if (n && typeof n.line == "number" && typeof n.column == "number" && !Number.isNaN(n.line) && !Number.isNaN(n.column)) {
|
|
28
|
+
for (; e.length < n.line; ) {
|
|
29
|
+
const r = e[e.length - 1], u = f(l, r), o = u === -1 ? l.length + 1 : u + 1;
|
|
30
|
+
if (r === o)
|
|
31
|
+
break;
|
|
32
|
+
e.push(o);
|
|
33
|
+
}
|
|
34
|
+
const t = (n.line > 1 ? e[n.line - 2] : 0) + n.column - 1;
|
|
35
|
+
if (t < e[n.line - 1])
|
|
36
|
+
return t;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
function f(c, l) {
|
|
41
|
+
const e = c.indexOf("\r", l), i = c.indexOf(`
|
|
42
|
+
`, l);
|
|
43
|
+
return i === -1 ? e : e === -1 || e + 1 === i ? i : e < i ? e : i;
|
|
44
|
+
}
|
|
45
|
+
export {
|
|
46
|
+
m as location
|
|
47
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const w = {
|
|
2
|
+
html: "http://www.w3.org/1999/xhtml",
|
|
3
|
+
mathml: "http://www.w3.org/1998/Math/MathML",
|
|
4
|
+
svg: "http://www.w3.org/2000/svg",
|
|
5
|
+
xlink: "http://www.w3.org/1999/xlink",
|
|
6
|
+
xml: "http://www.w3.org/XML/1998/namespace",
|
|
7
|
+
xmlns: "http://www.w3.org/2000/xmlns/"
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
w as webNamespaces
|
|
11
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
const f = (
|
|
2
|
+
// Note: overloads in JSDoc can’t yet use different `@template`s.
|
|
3
|
+
/**
|
|
4
|
+
* @type {(
|
|
5
|
+
* (<Condition extends TestFunction>(test: Condition) => (element: unknown, index?: number | null | undefined, parent?: Parents | null | undefined, context?: unknown) => element is Element & Predicate<Condition, Element>) &
|
|
6
|
+
* (<Condition extends string>(test: Condition) => (element: unknown, index?: number | null | undefined, parent?: Parents | null | undefined, context?: unknown) => element is Element & {tagName: Condition}) &
|
|
7
|
+
* ((test?: null | undefined) => (element?: unknown, index?: number | null | undefined, parent?: Parents | null | undefined, context?: unknown) => element is Element) &
|
|
8
|
+
* ((test?: Test) => Check)
|
|
9
|
+
* )}
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* @param {Test | null | undefined} [test]
|
|
13
|
+
* @returns {Check}
|
|
14
|
+
*/
|
|
15
|
+
function(n) {
|
|
16
|
+
if (n == null)
|
|
17
|
+
return y;
|
|
18
|
+
if (typeof n == "string")
|
|
19
|
+
return a(n);
|
|
20
|
+
if (typeof n == "object")
|
|
21
|
+
return u(n);
|
|
22
|
+
if (typeof n == "function")
|
|
23
|
+
return i(n);
|
|
24
|
+
throw new Error("Expected function, string, or array as `test`");
|
|
25
|
+
}
|
|
26
|
+
);
|
|
27
|
+
function u(n) {
|
|
28
|
+
const r = [];
|
|
29
|
+
let t = -1;
|
|
30
|
+
for (; ++t < n.length; )
|
|
31
|
+
r[t] = f(n[t]);
|
|
32
|
+
return i(e);
|
|
33
|
+
function e(...o) {
|
|
34
|
+
let c = -1;
|
|
35
|
+
for (; ++c < r.length; )
|
|
36
|
+
if (r[c].apply(this, o))
|
|
37
|
+
return !0;
|
|
38
|
+
return !1;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
function a(n) {
|
|
42
|
+
return i(r);
|
|
43
|
+
function r(t) {
|
|
44
|
+
return t.tagName === n;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
function i(n) {
|
|
48
|
+
return r;
|
|
49
|
+
function r(t, e, o) {
|
|
50
|
+
return !!(p(t) && n.call(this, t, typeof e == "number" ? e : void 0, o || void 0));
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
function y(n) {
|
|
54
|
+
return !!(n && typeof n == "object" && "type" in n && n.type === "element" && "tagName" in n && typeof n.tagName == "string");
|
|
55
|
+
}
|
|
56
|
+
function p(n) {
|
|
57
|
+
return n !== null && typeof n == "object" && "type" in n && "tagName" in n;
|
|
58
|
+
}
|
|
59
|
+
export {
|
|
60
|
+
f as convertElement
|
|
61
|
+
};
|
|
@@ -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,298 @@
|
|
|
1
|
+
import { stringify as w } from "../../comma-separated-tokens/index.mjs";
|
|
2
|
+
import { ok as u } from "../../devlop/lib/default.mjs";
|
|
3
|
+
import { svg as m, html as C } from "../node_modules/property-information/index.mjs";
|
|
4
|
+
import { stringify as N } from "../../space-separated-tokens/index.mjs";
|
|
5
|
+
import S from "../../style-to-js/cjs/index.mjs";
|
|
6
|
+
import { whitespace as j } from "../../hast-util-whitespace/lib/index.mjs";
|
|
7
|
+
import { pointStart as A } from "../../unist-util-position/lib/index.mjs";
|
|
8
|
+
import { find as T } from "../node_modules/property-information/lib/find.mjs";
|
|
9
|
+
import { hastToReact as F } from "../node_modules/property-information/lib/hast-to-react.mjs";
|
|
10
|
+
import { VFileMessage as h } from "../../vfile-message/lib/index.mjs";
|
|
11
|
+
import { name as x } from "../../estree-util-is-identifier-name/lib/index.mjs";
|
|
12
|
+
const f = {}.hasOwnProperty, P = /* @__PURE__ */ new Map(), J = /[A-Z]/g, I = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), L = /* @__PURE__ */ new Set(["td", "th"]), g = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
|
|
13
|
+
function ae(t, e) {
|
|
14
|
+
if (!e || e.Fragment === void 0)
|
|
15
|
+
throw new TypeError("Expected `Fragment` in options");
|
|
16
|
+
const r = e.filePath || void 0;
|
|
17
|
+
let n;
|
|
18
|
+
if (e.development) {
|
|
19
|
+
if (typeof e.jsxDEV != "function")
|
|
20
|
+
throw new TypeError("Expected `jsxDEV` in options when `development: true`");
|
|
21
|
+
n = R(r, e.jsxDEV);
|
|
22
|
+
} else {
|
|
23
|
+
if (typeof e.jsx != "function")
|
|
24
|
+
throw new TypeError("Expected `jsx` in production options");
|
|
25
|
+
if (typeof e.jsxs != "function")
|
|
26
|
+
throw new TypeError("Expected `jsxs` in production options");
|
|
27
|
+
n = B(r, e.jsx, e.jsxs);
|
|
28
|
+
}
|
|
29
|
+
const s = {
|
|
30
|
+
Fragment: e.Fragment,
|
|
31
|
+
ancestors: [],
|
|
32
|
+
components: e.components || {},
|
|
33
|
+
create: n,
|
|
34
|
+
elementAttributeNameCase: e.elementAttributeNameCase || "react",
|
|
35
|
+
evaluater: e.createEvaluater ? e.createEvaluater() : void 0,
|
|
36
|
+
filePath: r,
|
|
37
|
+
ignoreInvalidStyle: e.ignoreInvalidStyle || !1,
|
|
38
|
+
passKeys: e.passKeys !== !1,
|
|
39
|
+
passNode: e.passNode || !1,
|
|
40
|
+
schema: e.space === "svg" ? m : C,
|
|
41
|
+
stylePropertyNameCase: e.stylePropertyNameCase || "dom",
|
|
42
|
+
tableCellAlignToStyle: e.tableCellAlignToStyle !== !1
|
|
43
|
+
}, i = E(s, t, void 0);
|
|
44
|
+
return i && typeof i != "string" ? i : s.create(t, s.Fragment, {
|
|
45
|
+
children: i || void 0
|
|
46
|
+
}, void 0);
|
|
47
|
+
}
|
|
48
|
+
function E(t, e, r) {
|
|
49
|
+
if (e.type === "element")
|
|
50
|
+
return M(t, e, r);
|
|
51
|
+
if (e.type === "mdxFlowExpression" || e.type === "mdxTextExpression")
|
|
52
|
+
return D(t, e);
|
|
53
|
+
if (e.type === "mdxJsxFlowElement" || e.type === "mdxJsxTextElement")
|
|
54
|
+
return K(t, e, r);
|
|
55
|
+
if (e.type === "mdxjsEsm")
|
|
56
|
+
return V(t, e);
|
|
57
|
+
if (e.type === "root")
|
|
58
|
+
return O(t, e, r);
|
|
59
|
+
if (e.type === "text")
|
|
60
|
+
return _(t, e);
|
|
61
|
+
}
|
|
62
|
+
function M(t, e, r) {
|
|
63
|
+
const n = t.schema;
|
|
64
|
+
let s = n;
|
|
65
|
+
e.tagName.toLowerCase() === "svg" && n.space === "html" && (s = m, t.schema = s), t.ancestors.push(e);
|
|
66
|
+
const i = b(t, e.tagName, !1), a = z(t, e);
|
|
67
|
+
let o = d(t, e);
|
|
68
|
+
return I.has(e.tagName) && (o = o.filter(function(l) {
|
|
69
|
+
return typeof l == "string" ? !j(l) : !0;
|
|
70
|
+
})), v(t, a, i, e), y(a, o), t.ancestors.pop(), t.schema = n, t.create(e, i, a, r);
|
|
71
|
+
}
|
|
72
|
+
function D(t, e) {
|
|
73
|
+
if (e.data && e.data.estree && t.evaluater) {
|
|
74
|
+
const n = e.data.estree.body[0];
|
|
75
|
+
return u(n.type === "ExpressionStatement"), /** @type {Child | undefined} */
|
|
76
|
+
t.evaluater.evaluateExpression(n.expression);
|
|
77
|
+
}
|
|
78
|
+
p(t, e.position);
|
|
79
|
+
}
|
|
80
|
+
function V(t, e) {
|
|
81
|
+
if (e.data && e.data.estree && t.evaluater)
|
|
82
|
+
return (
|
|
83
|
+
/** @type {Child | undefined} */
|
|
84
|
+
t.evaluater.evaluateProgram(e.data.estree)
|
|
85
|
+
);
|
|
86
|
+
p(t, e.position);
|
|
87
|
+
}
|
|
88
|
+
function K(t, e, r) {
|
|
89
|
+
const n = t.schema;
|
|
90
|
+
let s = n;
|
|
91
|
+
e.name === "svg" && n.space === "html" && (s = m, t.schema = s), t.ancestors.push(e);
|
|
92
|
+
const i = e.name === null ? t.Fragment : b(t, e.name, !0), a = X(t, e), o = d(t, e);
|
|
93
|
+
return v(t, a, i, e), y(a, o), t.ancestors.pop(), t.schema = n, t.create(e, i, a, r);
|
|
94
|
+
}
|
|
95
|
+
function O(t, e, r) {
|
|
96
|
+
const n = {};
|
|
97
|
+
return y(n, d(t, e)), t.create(e, t.Fragment, n, r);
|
|
98
|
+
}
|
|
99
|
+
function _(t, e) {
|
|
100
|
+
return e.value;
|
|
101
|
+
}
|
|
102
|
+
function v(t, e, r, n) {
|
|
103
|
+
typeof r != "string" && r !== t.Fragment && t.passNode && (e.node = n);
|
|
104
|
+
}
|
|
105
|
+
function y(t, e) {
|
|
106
|
+
if (e.length > 0) {
|
|
107
|
+
const r = e.length > 1 ? e : e[0];
|
|
108
|
+
r && (t.children = r);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
function B(t, e, r) {
|
|
112
|
+
return n;
|
|
113
|
+
function n(s, i, a, o) {
|
|
114
|
+
const c = Array.isArray(a.children) ? r : e;
|
|
115
|
+
return o ? c(i, a, o) : c(i, a);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
function R(t, e) {
|
|
119
|
+
return r;
|
|
120
|
+
function r(n, s, i, a) {
|
|
121
|
+
const o = Array.isArray(i.children), l = A(n);
|
|
122
|
+
return e(s, i, a, o, {
|
|
123
|
+
columnNumber: l ? l.column - 1 : void 0,
|
|
124
|
+
fileName: t,
|
|
125
|
+
lineNumber: l ? l.line : void 0
|
|
126
|
+
}, void 0);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
function z(t, e) {
|
|
130
|
+
const r = {};
|
|
131
|
+
let n, s;
|
|
132
|
+
for (s in e.properties)
|
|
133
|
+
if (s !== "children" && f.call(e.properties, s)) {
|
|
134
|
+
const i = Z(t, s, e.properties[s]);
|
|
135
|
+
if (i) {
|
|
136
|
+
const [a, o] = i;
|
|
137
|
+
t.tableCellAlignToStyle && a === "align" && typeof o == "string" && L.has(e.tagName) ? n = o : r[a] = o;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
if (n) {
|
|
141
|
+
const i = (
|
|
142
|
+
/** @type {Style} */
|
|
143
|
+
r.style || (r.style = {})
|
|
144
|
+
);
|
|
145
|
+
i[t.stylePropertyNameCase === "css" ? "text-align" : "textAlign"] = n;
|
|
146
|
+
}
|
|
147
|
+
return r;
|
|
148
|
+
}
|
|
149
|
+
function X(t, e) {
|
|
150
|
+
const r = {};
|
|
151
|
+
for (const n of e.attributes)
|
|
152
|
+
if (n.type === "mdxJsxExpressionAttribute")
|
|
153
|
+
if (n.data && n.data.estree && t.evaluater) {
|
|
154
|
+
const i = n.data.estree.body[0];
|
|
155
|
+
u(i.type === "ExpressionStatement");
|
|
156
|
+
const a = i.expression;
|
|
157
|
+
u(a.type === "ObjectExpression");
|
|
158
|
+
const o = a.properties[0];
|
|
159
|
+
u(o.type === "SpreadElement"), Object.assign(r, t.evaluater.evaluateExpression(o.argument));
|
|
160
|
+
} else
|
|
161
|
+
p(t, e.position);
|
|
162
|
+
else {
|
|
163
|
+
const s = n.name;
|
|
164
|
+
let i;
|
|
165
|
+
if (n.value && typeof n.value == "object")
|
|
166
|
+
if (n.value.data && n.value.data.estree && t.evaluater) {
|
|
167
|
+
const o = n.value.data.estree.body[0];
|
|
168
|
+
u(o.type === "ExpressionStatement"), i = t.evaluater.evaluateExpression(o.expression);
|
|
169
|
+
} else
|
|
170
|
+
p(t, e.position);
|
|
171
|
+
else
|
|
172
|
+
i = n.value === null ? !0 : n.value;
|
|
173
|
+
r[s] = /** @type {Props[keyof Props]} */
|
|
174
|
+
i;
|
|
175
|
+
}
|
|
176
|
+
return r;
|
|
177
|
+
}
|
|
178
|
+
function d(t, e) {
|
|
179
|
+
const r = [];
|
|
180
|
+
let n = -1;
|
|
181
|
+
const s = t.passKeys ? /* @__PURE__ */ new Map() : P;
|
|
182
|
+
for (; ++n < e.children.length; ) {
|
|
183
|
+
const i = e.children[n];
|
|
184
|
+
let a;
|
|
185
|
+
if (t.passKeys) {
|
|
186
|
+
const l = i.type === "element" ? i.tagName : i.type === "mdxJsxFlowElement" || i.type === "mdxJsxTextElement" ? i.name : void 0;
|
|
187
|
+
if (l) {
|
|
188
|
+
const c = s.get(l) || 0;
|
|
189
|
+
a = l + "-" + c, s.set(l, c + 1);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
const o = E(t, i, a);
|
|
193
|
+
o !== void 0 && r.push(o);
|
|
194
|
+
}
|
|
195
|
+
return r;
|
|
196
|
+
}
|
|
197
|
+
function Z(t, e, r) {
|
|
198
|
+
const n = T(t.schema, e);
|
|
199
|
+
if (!(r == null || typeof r == "number" && Number.isNaN(r))) {
|
|
200
|
+
if (Array.isArray(r) && (r = n.commaSeparated ? w(r) : N(r)), n.property === "style") {
|
|
201
|
+
let s = typeof r == "object" ? r : k(t, String(r));
|
|
202
|
+
return t.stylePropertyNameCase === "css" && (s = q(s)), ["style", s];
|
|
203
|
+
}
|
|
204
|
+
return [t.elementAttributeNameCase === "react" && n.space ? F[n.property] || n.property : n.attribute, r];
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
function k(t, e) {
|
|
208
|
+
try {
|
|
209
|
+
return S(e, {
|
|
210
|
+
reactCompat: !0
|
|
211
|
+
});
|
|
212
|
+
} catch (r) {
|
|
213
|
+
if (t.ignoreInvalidStyle)
|
|
214
|
+
return {};
|
|
215
|
+
const n = (
|
|
216
|
+
/** @type {Error} */
|
|
217
|
+
r
|
|
218
|
+
), s = new h("Cannot parse `style` attribute", {
|
|
219
|
+
ancestors: t.ancestors,
|
|
220
|
+
cause: n,
|
|
221
|
+
ruleId: "style",
|
|
222
|
+
source: "hast-util-to-jsx-runtime"
|
|
223
|
+
});
|
|
224
|
+
throw s.file = t.filePath || void 0, s.url = g + "#cannot-parse-style-attribute", s;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
function b(t, e, r) {
|
|
228
|
+
let n;
|
|
229
|
+
if (!r)
|
|
230
|
+
n = {
|
|
231
|
+
type: "Literal",
|
|
232
|
+
value: e
|
|
233
|
+
};
|
|
234
|
+
else if (e.includes(".")) {
|
|
235
|
+
const s = e.split(".");
|
|
236
|
+
let i = -1, a;
|
|
237
|
+
for (; ++i < s.length; ) {
|
|
238
|
+
const o = x(s[i]) ? {
|
|
239
|
+
type: "Identifier",
|
|
240
|
+
name: s[i]
|
|
241
|
+
} : {
|
|
242
|
+
type: "Literal",
|
|
243
|
+
value: s[i]
|
|
244
|
+
};
|
|
245
|
+
a = a ? {
|
|
246
|
+
type: "MemberExpression",
|
|
247
|
+
object: a,
|
|
248
|
+
property: o,
|
|
249
|
+
computed: !!(i && o.type === "Literal"),
|
|
250
|
+
optional: !1
|
|
251
|
+
} : o;
|
|
252
|
+
}
|
|
253
|
+
n = a;
|
|
254
|
+
} else
|
|
255
|
+
n = x(e) && !/^[a-z]/.test(e) ? {
|
|
256
|
+
type: "Identifier",
|
|
257
|
+
name: e
|
|
258
|
+
} : {
|
|
259
|
+
type: "Literal",
|
|
260
|
+
value: e
|
|
261
|
+
};
|
|
262
|
+
if (n.type === "Literal") {
|
|
263
|
+
const s = (
|
|
264
|
+
/** @type {string | number} */
|
|
265
|
+
n.value
|
|
266
|
+
);
|
|
267
|
+
return f.call(t.components, s) ? t.components[s] : s;
|
|
268
|
+
}
|
|
269
|
+
if (t.evaluater)
|
|
270
|
+
return t.evaluater.evaluateExpression(n);
|
|
271
|
+
p(t);
|
|
272
|
+
}
|
|
273
|
+
function p(t, e) {
|
|
274
|
+
const r = new h("Cannot handle MDX estrees without `createEvaluater`", {
|
|
275
|
+
ancestors: t.ancestors,
|
|
276
|
+
place: e,
|
|
277
|
+
ruleId: "mdx-estree",
|
|
278
|
+
source: "hast-util-to-jsx-runtime"
|
|
279
|
+
});
|
|
280
|
+
throw r.file = t.filePath || void 0, r.url = g + "#cannot-handle-mdx-estrees-without-createevaluater", r;
|
|
281
|
+
}
|
|
282
|
+
function q(t) {
|
|
283
|
+
const e = {};
|
|
284
|
+
let r;
|
|
285
|
+
for (r in t)
|
|
286
|
+
f.call(t, r) && (e[G(r)] = t[r]);
|
|
287
|
+
return e;
|
|
288
|
+
}
|
|
289
|
+
function G(t) {
|
|
290
|
+
let e = t.replace(J, H);
|
|
291
|
+
return e.slice(0, 3) === "ms-" && (e = "-" + e), e;
|
|
292
|
+
}
|
|
293
|
+
function H(t) {
|
|
294
|
+
return "-" + t.toLowerCase();
|
|
295
|
+
}
|
|
296
|
+
export {
|
|
297
|
+
ae as toJsxRuntime
|
|
298
|
+
};
|
package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/index.mjs
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { merge as m } from "./lib/util/merge.mjs";
|
|
2
|
+
import { aria as o } from "./lib/aria.mjs";
|
|
3
|
+
import { html as s } from "./lib/html.mjs";
|
|
4
|
+
import { svg as p } from "./lib/svg.mjs";
|
|
5
|
+
import { xlink as r } from "./lib/xlink.mjs";
|
|
6
|
+
import { xmlns as t } from "./lib/xmlns.mjs";
|
|
7
|
+
import { xml as i } from "./lib/xml.mjs";
|
|
8
|
+
const x = m([o, s, r, t, i], "html"), e = m([o, p, r, t, i], "svg");
|
|
9
|
+
export {
|
|
10
|
+
x as html,
|
|
11
|
+
e as svg
|
|
12
|
+
};
|
package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/aria.mjs
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { create as l } from "./util/create.mjs";
|
|
2
|
+
import { booleanish as a, number as r, spaceSeparated as i } from "./util/types.mjs";
|
|
3
|
+
const u = l({
|
|
4
|
+
properties: {
|
|
5
|
+
ariaActiveDescendant: null,
|
|
6
|
+
ariaAtomic: a,
|
|
7
|
+
ariaAutoComplete: null,
|
|
8
|
+
ariaBusy: a,
|
|
9
|
+
ariaChecked: a,
|
|
10
|
+
ariaColCount: r,
|
|
11
|
+
ariaColIndex: r,
|
|
12
|
+
ariaColSpan: r,
|
|
13
|
+
ariaControls: i,
|
|
14
|
+
ariaCurrent: null,
|
|
15
|
+
ariaDescribedBy: i,
|
|
16
|
+
ariaDetails: null,
|
|
17
|
+
ariaDisabled: a,
|
|
18
|
+
ariaDropEffect: i,
|
|
19
|
+
ariaErrorMessage: null,
|
|
20
|
+
ariaExpanded: a,
|
|
21
|
+
ariaFlowTo: i,
|
|
22
|
+
ariaGrabbed: a,
|
|
23
|
+
ariaHasPopup: null,
|
|
24
|
+
ariaHidden: a,
|
|
25
|
+
ariaInvalid: null,
|
|
26
|
+
ariaKeyShortcuts: null,
|
|
27
|
+
ariaLabel: null,
|
|
28
|
+
ariaLabelledBy: i,
|
|
29
|
+
ariaLevel: r,
|
|
30
|
+
ariaLive: null,
|
|
31
|
+
ariaModal: a,
|
|
32
|
+
ariaMultiLine: a,
|
|
33
|
+
ariaMultiSelectable: a,
|
|
34
|
+
ariaOrientation: null,
|
|
35
|
+
ariaOwns: i,
|
|
36
|
+
ariaPlaceholder: null,
|
|
37
|
+
ariaPosInSet: r,
|
|
38
|
+
ariaPressed: a,
|
|
39
|
+
ariaReadOnly: a,
|
|
40
|
+
ariaRelevant: null,
|
|
41
|
+
ariaRequired: a,
|
|
42
|
+
ariaRoleDescription: i,
|
|
43
|
+
ariaRowCount: r,
|
|
44
|
+
ariaRowIndex: r,
|
|
45
|
+
ariaRowSpan: r,
|
|
46
|
+
ariaSelected: a,
|
|
47
|
+
ariaSetSize: r,
|
|
48
|
+
ariaSort: null,
|
|
49
|
+
ariaValueMax: r,
|
|
50
|
+
ariaValueMin: r,
|
|
51
|
+
ariaValueNow: r,
|
|
52
|
+
ariaValueText: null,
|
|
53
|
+
role: null
|
|
54
|
+
},
|
|
55
|
+
transform(n, e) {
|
|
56
|
+
return e === "role" ? e : "aria-" + e.slice(4).toLowerCase();
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
export {
|
|
60
|
+
u as aria
|
|
61
|
+
};
|
package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/find.mjs
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { DefinedInfo as s } from "./util/defined-info.mjs";
|
|
2
|
+
import { Info as p } from "./util/info.mjs";
|
|
3
|
+
import { normalize as f } from "./normalize.mjs";
|
|
4
|
+
const l = /[A-Z]/g, c = /-[a-z]/g, d = /^data[-\w.:]+$/i;
|
|
5
|
+
function y(r, t) {
|
|
6
|
+
const o = f(t);
|
|
7
|
+
let i = t, a = p;
|
|
8
|
+
if (o in r.normal)
|
|
9
|
+
return r.property[r.normal[o]];
|
|
10
|
+
if (o.length > 4 && o.slice(0, 4) === "data" && d.test(t)) {
|
|
11
|
+
if (t.charAt(4) === "-") {
|
|
12
|
+
const e = t.slice(5).replace(c, h);
|
|
13
|
+
i = "data" + e.charAt(0).toUpperCase() + e.slice(1);
|
|
14
|
+
} else {
|
|
15
|
+
const e = t.slice(4);
|
|
16
|
+
if (!c.test(e)) {
|
|
17
|
+
let n = e.replace(l, m);
|
|
18
|
+
n.charAt(0) !== "-" && (n = "-" + n), t = "data" + n;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
a = s;
|
|
22
|
+
}
|
|
23
|
+
return new a(i, t);
|
|
24
|
+
}
|
|
25
|
+
function m(r) {
|
|
26
|
+
return "-" + r.toLowerCase();
|
|
27
|
+
}
|
|
28
|
+
function h(r) {
|
|
29
|
+
return r.charAt(1).toUpperCase();
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
y as find
|
|
33
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
classId: "classID",
|
|
3
|
+
dataType: "datatype",
|
|
4
|
+
itemId: "itemID",
|
|
5
|
+
strokeDashArray: "strokeDasharray",
|
|
6
|
+
strokeDashOffset: "strokeDashoffset",
|
|
7
|
+
strokeLineCap: "strokeLinecap",
|
|
8
|
+
strokeLineJoin: "strokeLinejoin",
|
|
9
|
+
strokeMiterLimit: "strokeMiterlimit",
|
|
10
|
+
typeOf: "typeof",
|
|
11
|
+
xLinkActuate: "xlinkActuate",
|
|
12
|
+
xLinkArcRole: "xlinkArcrole",
|
|
13
|
+
xLinkHref: "xlinkHref",
|
|
14
|
+
xLinkRole: "xlinkRole",
|
|
15
|
+
xLinkShow: "xlinkShow",
|
|
16
|
+
xLinkTitle: "xlinkTitle",
|
|
17
|
+
xLinkType: "xlinkType",
|
|
18
|
+
xmlnsXLink: "xmlnsXlink"
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
e as hastToReact
|
|
22
|
+
};
|