@glodon-aiot/agent-cli-ui 3.19.0-alpha.30 → 3.19.0-beta.31
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/index.mjs +8211 -302
- package/dist/lib/index.js +16 -326
- package/dist/src/utils/reactDomCompat.d.ts +3 -0
- package/package.json +10 -13
- package/dist/es/AgentClientUI.mjs +0 -150
- package/dist/es/Dialog/AgentChat/HistoryItem/FileItem/index.mjs +0 -88
- package/dist/es/Dialog/AgentChat/HistoryItem/InputProgress/index.mjs +0 -38
- package/dist/es/Dialog/AgentChat/HistoryItem/SearchReference/index.mjs +0 -101
- package/dist/es/Dialog/AgentChat/HistoryItem/SessionAction/index.mjs +0 -248
- package/dist/es/Dialog/AgentChat/HistoryItem/SessionRefer/ReferItem/index.mjs +0 -86
- package/dist/es/Dialog/AgentChat/HistoryItem/SessionRefer/index.mjs +0 -92
- package/dist/es/Dialog/AgentChat/HistoryItem/SessionRelated/index.mjs +0 -46
- package/dist/es/Dialog/AgentChat/HistoryItem/index.mjs +0 -384
- package/dist/es/Dialog/AgentChat/PromptSetting/index.mjs +0 -105
- package/dist/es/Dialog/AgentChat/Tools/ConnectToNetwork/index.mjs +0 -92
- package/dist/es/Dialog/AgentChat/Tools/PromptManager/PromptList/PromptListItem.mjs +0 -89
- package/dist/es/Dialog/AgentChat/Tools/PromptManager/PromptList/PublicPromptList.mjs +0 -47
- package/dist/es/Dialog/AgentChat/Tools/PromptManager/PromptList/access/empty.svg.mjs +0 -4
- package/dist/es/Dialog/AgentChat/Tools/PromptManager/index.mjs +0 -120
- package/dist/es/Dialog/AgentChat/Tools/SessionHistoryDrawer/index.mjs +0 -48
- package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/NameEditPanel.mjs +0 -47
- package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/SessionItem.mjs +0 -135
- package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/index.mjs +0 -119
- package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/index.mjs +0 -44
- package/dist/es/Dialog/AgentChat/Tools/UploadKnowledgeFiles/ClearModal/index.mjs +0 -50
- package/dist/es/Dialog/AgentChat/Tools/UploadKnowledgeFiles/FileCard/index.mjs +0 -128
- package/dist/es/Dialog/AgentChat/Tools/UploadKnowledgeFiles/index.mjs +0 -374
- package/dist/es/Dialog/AgentChat/index.mjs +0 -1147
- package/dist/es/Dialog/SessionList/index.mjs +0 -401
- package/dist/es/Dialog/UploadingPrompt/index.mjs +0 -64
- package/dist/es/Dialog/index.mjs +0 -180
- package/dist/es/Footer/FooterWarning.mjs +0 -24
- package/dist/es/Footer/index.mjs +0 -17
- package/dist/es/QuillEditor/index.mjs +0 -278
- package/dist/es/ReactTextGenerationUI/components/TextSiders/index.mjs +0 -406
- package/dist/es/ReactTextGenerationUI/components/fetchEventSource/fetch.mjs +0 -112
- package/dist/es/ReactTextGenerationUI/components/fetchEventSource/parse.mjs +0 -97
- package/dist/es/ReactTextGenerationUI/index.mjs +0 -81
- package/dist/es/_virtual/_commonjsHelpers.mjs +0 -8
- package/dist/es/_virtual/index.mjs +0 -4
- package/dist/es/_virtual/index2.mjs +0 -4
- package/dist/es/_virtual/index3.mjs +0 -4
- package/dist/es/_virtual/lib.mjs +0 -4
- package/dist/es/_virtual/prism-core.mjs +0 -4
- package/dist/es/_virtual/types.mjs +0 -4
- package/dist/es/_virtual/ua-parser.min.mjs +0 -4
- package/dist/es/_virtual/utilities.mjs +0 -4
- package/dist/es/assets/brand.svg.mjs +0 -4
- package/dist/es/assets/doc-icons/doc.svg.mjs +0 -4
- package/dist/es/assets/doc-icons/docx.svg.mjs +0 -4
- package/dist/es/assets/doc-icons/pdf.svg.mjs +0 -4
- package/dist/es/assets/icon.svg.mjs +0 -4
- package/dist/es/assets/think.svg.mjs +0 -4
- package/dist/es/components/FilePreview/index.mjs +0 -83
- package/dist/es/components/Greeting/index.mjs +0 -30
- package/dist/es/components/Iconfont/index.mjs +0 -12
- package/dist/es/components/JsonDisplay/index.mjs +0 -15
- package/dist/es/components/KnowledgeList/KnowledgeSelect/index.mjs +0 -67
- package/dist/es/components/KnowledgeList/index.mjs +0 -79
- package/dist/es/components/Recommend/RecommendItem.mjs +0 -97
- package/dist/es/components/Recommend/index.mjs +0 -76
- package/dist/es/components/Recommend/tip.svg.mjs +0 -4
- package/dist/es/components/Sider/index.mjs +0 -24
- package/dist/es/components/WebLink/index.mjs +0 -26
- package/dist/es/constant.mjs +0 -124
- package/dist/es/context/SessionContext.mjs +0 -26
- package/dist/es/context.mjs +0 -7
- package/dist/es/hooks/useSessionState.mjs +0 -6
- package/dist/es/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.mjs +0 -9
- package/dist/es/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.mjs +0 -8
- package/dist/es/node_modules/@babel/runtime/helpers/esm/defineProperty.mjs +0 -12
- package/dist/es/node_modules/@babel/runtime/helpers/esm/extends.mjs +0 -13
- package/dist/es/node_modules/@babel/runtime/helpers/esm/iterableToArray.mjs +0 -7
- package/dist/es/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.mjs +0 -7
- package/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.mjs +0 -15
- package/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.mjs +0 -15
- package/dist/es/node_modules/@babel/runtime/helpers/esm/toConsumableArray.mjs +0 -10
- package/dist/es/node_modules/@babel/runtime/helpers/esm/toPrimitive.mjs +0 -16
- package/dist/es/node_modules/@babel/runtime/helpers/esm/toPropertyKey.mjs +0 -9
- package/dist/es/node_modules/@babel/runtime/helpers/esm/typeof.mjs +0 -11
- package/dist/es/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.mjs +0 -12
- package/dist/es/node_modules/@react-spring/animated/dist/react-spring-animated.esm.mjs +0 -201
- package/dist/es/node_modules/@react-spring/core/dist/react-spring-core.esm.mjs +0 -1087
- package/dist/es/node_modules/@react-spring/rafz/dist/react-spring-rafz.esm.mjs +0 -104
- package/dist/es/node_modules/@react-spring/shared/dist/react-spring-shared.esm.mjs +0 -568
- package/dist/es/node_modules/@react-spring/web/dist/react-spring-web.esm.mjs +0 -158
- package/dist/es/node_modules/@ungap/structured-clone/esm/deserialize.mjs +0 -70
- package/dist/es/node_modules/@ungap/structured-clone/esm/index.mjs +0 -11
- package/dist/es/node_modules/@ungap/structured-clone/esm/serialize.mjs +0 -124
- package/dist/es/node_modules/@ungap/structured-clone/esm/types.mjs +0 -13
- package/dist/es/node_modules/@use-gesture/core/dist/actions-fe213e88.esm.mjs +0 -847
- package/dist/es/node_modules/@use-gesture/core/dist/maths-0ab39ae9.esm.mjs +0 -35
- package/dist/es/node_modules/@use-gesture/core/dist/use-gesture-core.esm.mjs +0 -226
- package/dist/es/node_modules/@use-gesture/react/dist/use-gesture-react.esm.mjs +0 -33
- package/dist/es/node_modules/antd-mobile/es/components/config-provider/config-provider.mjs +0 -20
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/image-viewer.mjs +0 -76
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/index.mjs +0 -13
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/methods.mjs +0 -34
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/slide.mjs +0 -178
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/slides.mjs +0 -83
- package/dist/es/node_modules/antd-mobile/es/components/mask/index.mjs +0 -4
- package/dist/es/node_modules/antd-mobile/es/components/mask/mask.mjs +0 -84
- package/dist/es/node_modules/antd-mobile/es/components/safe-area/index.mjs +0 -4
- package/dist/es/node_modules/antd-mobile/es/components/safe-area/safe-area.mjs +0 -9
- package/dist/es/node_modules/antd-mobile/es/global/index.mjs +0 -3
- package/dist/es/node_modules/antd-mobile/es/locales/zh-CN.mjs +0 -141
- package/dist/es/node_modules/antd-mobile/es/utils/attach-properties-to-component.mjs +0 -9
- package/dist/es/node_modules/antd-mobile/es/utils/bound.mjs +0 -7
- package/dist/es/node_modules/antd-mobile/es/utils/can-use-dom.mjs +0 -4
- package/dist/es/node_modules/antd-mobile/es/utils/convert-px.mjs +0 -9
- package/dist/es/node_modules/antd-mobile/es/utils/get-container.mjs +0 -6
- package/dist/es/node_modules/antd-mobile/es/utils/get-scroll-parent.mjs +0 -22
- package/dist/es/node_modules/antd-mobile/es/utils/matrix.mjs +0 -11
- package/dist/es/node_modules/antd-mobile/es/utils/native-props.mjs +0 -12
- package/dist/es/node_modules/antd-mobile/es/utils/render-imperatively.mjs +0 -47
- package/dist/es/node_modules/antd-mobile/es/utils/render-to-body.mjs +0 -12
- package/dist/es/node_modules/antd-mobile/es/utils/render-to-container.mjs +0 -13
- package/dist/es/node_modules/antd-mobile/es/utils/render.mjs +0 -52
- package/dist/es/node_modules/antd-mobile/es/utils/rubberband.mjs +0 -11
- package/dist/es/node_modules/antd-mobile/es/utils/should-render.mjs +0 -10
- package/dist/es/node_modules/antd-mobile/es/utils/supports-passive.mjs +0 -15
- package/dist/es/node_modules/antd-mobile/es/utils/use-drag-and-pinch.mjs +0 -6
- package/dist/es/node_modules/antd-mobile/es/utils/use-initialized.mjs +0 -8
- package/dist/es/node_modules/antd-mobile/es/utils/use-lock-scroll.mjs +0 -54
- package/dist/es/node_modules/antd-mobile/es/utils/use-touch.mjs +0 -32
- package/dist/es/node_modules/antd-mobile/es/utils/with-default-props.mjs +0 -11
- package/dist/es/node_modules/antd-mobile/es/utils/with-stop-propagation.mjs +0 -19
- package/dist/es/node_modules/ccount/index.mjs +0 -12
- package/dist/es/node_modules/character-reference-invalid/index.json.mjs +0 -33
- package/dist/es/node_modules/comma-separated-tokens/index.mjs +0 -18
- package/dist/es/node_modules/decode-named-character-reference/index.dom.mjs +0 -14
- package/dist/es/node_modules/devlop/lib/default.mjs +0 -8
- package/dist/es/node_modules/estree-util-is-identifier-name/lib/index.mjs +0 -7
- package/dist/es/node_modules/extend/index.mjs +0 -46
- package/dist/es/node_modules/hast-util-from-dom/lib/index.mjs +0 -93
- package/dist/es/node_modules/hast-util-from-dom/node_modules/web-namespaces/index.mjs +0 -11
- package/dist/es/node_modules/hast-util-from-html-isomorphic/lib/browser.mjs +0 -16
- package/dist/es/node_modules/hast-util-is-element/lib/index.mjs +0 -61
- package/dist/es/node_modules/hast-util-parse-selector/index.mjs +0 -14
- package/dist/es/node_modules/hast-util-to-jsx-runtime/lib/index.mjs +0 -298
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/index.mjs +0 -12
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/aria.mjs +0 -61
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/find.mjs +0 -33
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/hast-to-react.mjs +0 -22
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/html.mjs +0 -368
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/normalize.mjs +0 -6
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/svg.mjs +0 -566
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/case-insensitive-transform.mjs +0 -7
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/case-sensitive-transform.mjs +0 -6
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/create.mjs +0 -14
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/defined-info.mjs +0 -36
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/info.mjs +0 -28
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/merge.mjs +0 -10
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/schema.mjs +0 -21
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/types.mjs +0 -15
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/xlink.mjs +0 -19
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/xml.mjs +0 -15
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/xmlns.mjs +0 -16
- package/dist/es/node_modules/hast-util-to-text/lib/index.mjs +0 -223
- package/dist/es/node_modules/hast-util-whitespace/lib/index.mjs +0 -10
- package/dist/es/node_modules/hastscript/lib/create-h.mjs +0 -126
- package/dist/es/node_modules/hastscript/lib/index.mjs +0 -8
- package/dist/es/node_modules/hastscript/lib/svg-case-sensitive-tag-names.mjs +0 -4
- package/dist/es/node_modules/hastscript/node_modules/hast-util-parse-selector/lib/index.mjs +0 -20
- package/dist/es/node_modules/hastscript/node_modules/property-information/index.mjs +0 -12
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/aria.mjs +0 -61
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/find.mjs +0 -33
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/html.mjs +0 -368
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/normalize.mjs +0 -6
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/svg.mjs +0 -566
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/case-insensitive-transform.mjs +0 -7
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/case-sensitive-transform.mjs +0 -6
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/create.mjs +0 -14
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/defined-info.mjs +0 -36
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/info.mjs +0 -28
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/merge.mjs +0 -10
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/schema.mjs +0 -21
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/types.mjs +0 -15
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/xlink.mjs +0 -19
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/xml.mjs +0 -15
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/xmlns.mjs +0 -16
- package/dist/es/node_modules/html-url-attributes/lib/index.mjs +0 -16
- package/dist/es/node_modules/is-alphabetical/index.mjs +0 -8
- package/dist/es/node_modules/is-alphanumerical/index.mjs +0 -9
- package/dist/es/node_modules/is-decimal/index.mjs +0 -8
- package/dist/es/node_modules/is-hexadecimal/index.mjs +0 -8
- package/dist/es/node_modules/katex/dist/katex.mjs +0 -11700
- package/dist/es/node_modules/longest-streak/index.mjs +0 -12
- package/dist/es/node_modules/markdown-table/index.mjs +0 -70
- package/dist/es/node_modules/mdast-util-find-and-replace/lib/index.mjs +0 -72
- package/dist/es/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.mjs +0 -8
- package/dist/es/node_modules/mdast-util-from-markdown/lib/index.mjs +0 -584
- package/dist/es/node_modules/mdast-util-gfm/lib/index.mjs +0 -17
- package/dist/es/node_modules/mdast-util-gfm-autolink-literal/lib/index.mjs +0 -136
- package/dist/es/node_modules/mdast-util-gfm-footnote/lib/index.mjs +0 -100
- package/dist/es/node_modules/mdast-util-gfm-strikethrough/lib/index.mjs +0 -61
- package/dist/es/node_modules/mdast-util-gfm-table/lib/index.mjs +0 -170
- package/dist/es/node_modules/mdast-util-gfm-task-list-item/lib/index.mjs +0 -72
- package/dist/es/node_modules/mdast-util-math/lib/index.mjs +0 -170
- package/dist/es/node_modules/mdast-util-phrasing/lib/index.mjs +0 -30
- package/dist/es/node_modules/mdast-util-to-hast/lib/footer.mjs +0 -123
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/blockquote.mjs +0 -12
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/break.mjs +0 -16
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/code.mjs +0 -25
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/delete.mjs +0 -12
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/emphasis.mjs +0 -12
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.mjs +0 -31
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/heading.mjs +0 -12
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/html.mjs +0 -12
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/image-reference.mjs +0 -22
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/image.mjs +0 -17
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/index.mjs +0 -58
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/inline-code.mjs +0 -17
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/link-reference.mjs +0 -21
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/link.mjs +0 -17
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/list-item.mjs +0 -65
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/list.mjs +0 -21
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/paragraph.mjs +0 -12
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/root.mjs +0 -10
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/strong.mjs +0 -12
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/table-cell.mjs +0 -13
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/table-row.mjs +0 -26
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/table.mjs +0 -35
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/text.mjs +0 -11
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.mjs +0 -12
- package/dist/es/node_modules/mdast-util-to-hast/lib/index.mjs +0 -19
- package/dist/es/node_modules/mdast-util-to-hast/lib/revert.mjs +0 -22
- package/dist/es/node_modules/mdast-util-to-hast/lib/state.mjs +0 -145
- package/dist/es/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.mjs +0 -16
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/blockquote.mjs +0 -12
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/break.mjs +0 -13
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/code.mjs +0 -49
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/definition.mjs +0 -37
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/emphasis.mjs +0 -37
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/heading.mjs +0 -44
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/html.mjs +0 -10
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/image-reference.mjs +0 -36
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/image.mjs +0 -40
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/index.mjs +0 -44
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/inline-code.mjs +0 -22
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/link-reference.mjs +0 -36
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/link.mjs +0 -50
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/list-item.mjs +0 -19
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/list.mjs +0 -35
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/paragraph.mjs +0 -7
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/root.mjs +0 -9
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/strong.mjs +0 -37
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/text.mjs +0 -6
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.mjs +0 -9
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.mjs +0 -9
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.mjs +0 -14
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-bullet.mjs +0 -9
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.mjs +0 -9
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-fence.mjs +0 -9
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.mjs +0 -9
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-quote.mjs +0 -9
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.mjs +0 -9
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-rule.mjs +0 -9
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-strong.mjs +0 -9
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.mjs +0 -6
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/encode-info.mjs +0 -67
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.mjs +0 -9
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.mjs +0 -13
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.mjs +0 -15
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.mjs +0 -15
- package/dist/es/node_modules/mdast-util-to-markdown/node_modules/unist-util-visit/lib/index.mjs +0 -16
- package/dist/es/node_modules/mdast-util-to-string/lib/index.mjs +0 -29
- package/dist/es/node_modules/micromark/lib/constructs.mjs +0 -85
- package/dist/es/node_modules/micromark/lib/create-tokenizer.mjs +0 -225
- package/dist/es/node_modules/micromark/lib/initialize/content.mjs +0 -37
- package/dist/es/node_modules/micromark/lib/initialize/document.mjs +0 -133
- package/dist/es/node_modules/micromark/lib/initialize/flow.mjs +0 -33
- package/dist/es/node_modules/micromark/lib/initialize/text.mjs +0 -103
- package/dist/es/node_modules/micromark/lib/parse.mjs +0 -32
- package/dist/es/node_modules/micromark/lib/postprocess.mjs +0 -9
- package/dist/es/node_modules/micromark/lib/preprocess.mjs +0 -40
- package/dist/es/node_modules/micromark-core-commonmark/lib/attention.mjs +0 -74
- package/dist/es/node_modules/micromark-core-commonmark/lib/autolink.mjs +0 -43
- package/dist/es/node_modules/micromark-core-commonmark/lib/blank-line.mjs +0 -18
- package/dist/es/node_modules/micromark-core-commonmark/lib/block-quote.mjs +0 -42
- package/dist/es/node_modules/micromark-core-commonmark/lib/character-escape.mjs +0 -17
- package/dist/es/node_modules/micromark-core-commonmark/lib/character-reference.mjs +0 -30
- package/dist/es/node_modules/micromark-core-commonmark/lib/code-fenced.mjs +0 -94
- package/dist/es/node_modules/micromark-core-commonmark/lib/code-indented.mjs +0 -43
- package/dist/es/node_modules/micromark-core-commonmark/lib/code-text.mjs +0 -45
- package/dist/es/node_modules/micromark-core-commonmark/lib/content.mjs +0 -50
- package/dist/es/node_modules/micromark-core-commonmark/lib/definition.mjs +0 -80
- package/dist/es/node_modules/micromark-core-commonmark/lib/hard-break-escape.mjs +0 -17
- package/dist/es/node_modules/micromark-core-commonmark/lib/heading-atx.mjs +0 -46
- package/dist/es/node_modules/micromark-core-commonmark/lib/html-flow.mjs +0 -144
- package/dist/es/node_modules/micromark-core-commonmark/lib/html-text.mjs +0 -102
- package/dist/es/node_modules/micromark-core-commonmark/lib/label-end.mjs +0 -152
- package/dist/es/node_modules/micromark-core-commonmark/lib/label-start-image.mjs +0 -22
- package/dist/es/node_modules/micromark-core-commonmark/lib/label-start-link.mjs +0 -19
- package/dist/es/node_modules/micromark-core-commonmark/lib/line-ending.mjs +0 -14
- package/dist/es/node_modules/micromark-core-commonmark/lib/list.mjs +0 -90
- package/dist/es/node_modules/micromark-core-commonmark/lib/setext-underline.mjs +0 -62
- package/dist/es/node_modules/micromark-core-commonmark/lib/thematic-break.mjs +0 -25
- package/dist/es/node_modules/micromark-extension-gfm/index.mjs +0 -12
- package/dist/es/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.mjs +0 -193
- package/dist/es/node_modules/micromark-extension-gfm-footnote/lib/syntax.mjs +0 -192
- package/dist/es/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.mjs +0 -68
- package/dist/es/node_modules/micromark-extension-gfm-table/lib/edit-map.mjs +0 -71
- package/dist/es/node_modules/micromark-extension-gfm-table/lib/infer.mjs +0 -24
- package/dist/es/node_modules/micromark-extension-gfm-table/lib/syntax.mjs +0 -147
- package/dist/es/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.mjs +0 -45
- package/dist/es/node_modules/micromark-extension-math/lib/math-flow.mjs +0 -76
- package/dist/es/node_modules/micromark-extension-math/lib/math-text.mjs +0 -48
- package/dist/es/node_modules/micromark-extension-math/lib/syntax.mjs +0 -15
- package/dist/es/node_modules/micromark-factory-destination/index.mjs +0 -31
- package/dist/es/node_modules/micromark-factory-label/index.mjs +0 -28
- package/dist/es/node_modules/micromark-factory-space/index.mjs +0 -15
- package/dist/es/node_modules/micromark-factory-title/index.mjs +0 -26
- package/dist/es/node_modules/micromark-factory-whitespace/index.mjs +0 -12
- package/dist/es/node_modules/micromark-util-character/index.mjs +0 -39
- package/dist/es/node_modules/micromark-util-chunked/index.mjs +0 -16
- package/dist/es/node_modules/micromark-util-classify-character/index.mjs +0 -10
- package/dist/es/node_modules/micromark-util-combine-extensions/index.mjs +0 -36
- package/dist/es/node_modules/micromark-util-decode-numeric-character-reference/index.mjs +0 -16
- package/dist/es/node_modules/micromark-util-decode-string/index.mjs +0 -18
- package/dist/es/node_modules/micromark-util-html-tag-name/index.mjs +0 -5
- package/dist/es/node_modules/micromark-util-normalize-identifier/index.mjs +0 -6
- package/dist/es/node_modules/micromark-util-resolve-all/index.mjs +0 -12
- package/dist/es/node_modules/micromark-util-sanitize-uri/index.mjs +0 -23
- package/dist/es/node_modules/micromark-util-subtokenize/index.mjs +0 -65
- package/dist/es/node_modules/micromark-util-subtokenize/lib/splice-buffer.mjs +0 -175
- package/dist/es/node_modules/moment/dist/moment.mjs +0 -2301
- package/dist/es/node_modules/parse-entities/decode-entity.browser.mjs +0 -8
- package/dist/es/node_modules/parse-entities/index.mjs +0 -83
- package/dist/es/node_modules/parse-entities/node_modules/character-entities-legacy/index.json.mjs +0 -217
- package/dist/es/node_modules/property-information/find.mjs +0 -25
- package/dist/es/node_modules/property-information/html.mjs +0 -10
- package/dist/es/node_modules/property-information/lib/aria.mjs +0 -63
- package/dist/es/node_modules/property-information/lib/html.mjs +0 -354
- package/dist/es/node_modules/property-information/lib/util/case-insensitive-transform.mjs +0 -8
- package/dist/es/node_modules/property-information/lib/util/case-sensitive-transform.mjs +0 -7
- package/dist/es/node_modules/property-information/lib/util/create.mjs +0 -13
- package/dist/es/node_modules/property-information/lib/util/defined-info.mjs +0 -18
- package/dist/es/node_modules/property-information/lib/util/info.mjs +0 -19
- package/dist/es/node_modules/property-information/lib/util/merge.mjs +0 -11
- package/dist/es/node_modules/property-information/lib/util/schema.mjs +0 -10
- package/dist/es/node_modules/property-information/lib/util/types.mjs +0 -15
- package/dist/es/node_modules/property-information/lib/xlink.mjs +0 -20
- package/dist/es/node_modules/property-information/lib/xml.mjs +0 -16
- package/dist/es/node_modules/property-information/lib/xmlns.mjs +0 -16
- package/dist/es/node_modules/property-information/normalize.mjs +0 -7
- package/dist/es/node_modules/react-device-detect/dist/lib.mjs +0 -723
- package/dist/es/node_modules/react-markdown/lib/index.mjs +0 -153
- package/dist/es/node_modules/react-markdown/node_modules/remark-parse/lib/index.mjs +0 -29
- package/dist/es/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.mjs +0 -16
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.mjs +0 -7
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/create-element.mjs +0 -101
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/highlight.mjs +0 -283
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/languages/prism/supported-languages.mjs +0 -4
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/prism.mjs +0 -10
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/styles/prism/prism.mjs +0 -195
- package/dist/es/node_modules/refractor/core.mjs +0 -111
- package/dist/es/node_modules/refractor/index.mjs +0 -553
- package/dist/es/node_modules/refractor/lang/abap.mjs +0 -60
- package/dist/es/node_modules/refractor/lang/abnf.mjs +0 -63
- package/dist/es/node_modules/refractor/lang/actionscript.mjs +0 -22
- package/dist/es/node_modules/refractor/lang/ada.mjs +0 -28
- package/dist/es/node_modules/refractor/lang/agda.mjs +0 -35
- package/dist/es/node_modules/refractor/lang/al.mjs +0 -35
- package/dist/es/node_modules/refractor/lang/antlr4.mjs +0 -72
- package/dist/es/node_modules/refractor/lang/apacheconf.mjs +0 -59
- package/dist/es/node_modules/refractor/lang/apex.mjs +0 -69
- package/dist/es/node_modules/refractor/lang/apl.mjs +0 -44
- package/dist/es/node_modules/refractor/lang/applescript.mjs +0 -26
- package/dist/es/node_modules/refractor/lang/aql.mjs +0 -57
- package/dist/es/node_modules/refractor/lang/arduino.mjs +0 -20
- package/dist/es/node_modules/refractor/lang/arff.mjs +0 -22
- package/dist/es/node_modules/refractor/lang/asciidoc.mjs +0 -208
- package/dist/es/node_modules/refractor/lang/asm6502.mjs +0 -41
- package/dist/es/node_modules/refractor/lang/asmatmel.mjs +0 -53
- package/dist/es/node_modules/refractor/lang/aspnet.mjs +0 -53
- package/dist/es/node_modules/refractor/lang/autohotkey.mjs +0 -40
- package/dist/es/node_modules/refractor/lang/autoit.mjs +0 -43
- package/dist/es/node_modules/refractor/lang/avisynth.mjs +0 -167
- package/dist/es/node_modules/refractor/lang/avro-idl.mjs +0 -50
- package/dist/es/node_modules/refractor/lang/bash.mjs +0 -206
- package/dist/es/node_modules/refractor/lang/basic.mjs +0 -29
- package/dist/es/node_modules/refractor/lang/batch.mjs +0 -95
- package/dist/es/node_modules/refractor/lang/bbcode.mjs +0 -36
- package/dist/es/node_modules/refractor/lang/bicep.mjs +0 -72
- package/dist/es/node_modules/refractor/lang/birb.mjs +0 -32
- package/dist/es/node_modules/refractor/lang/bison.mjs +0 -52
- package/dist/es/node_modules/refractor/lang/bnf.mjs +0 -31
- package/dist/es/node_modules/refractor/lang/brainfuck.mjs +0 -32
- package/dist/es/node_modules/refractor/lang/brightscript.mjs +0 -55
- package/dist/es/node_modules/refractor/lang/bro.mjs +0 -39
- package/dist/es/node_modules/refractor/lang/bsl.mjs +0 -77
- package/dist/es/node_modules/refractor/lang/c.mjs +0 -78
- package/dist/es/node_modules/refractor/lang/cfscript.mjs +0 -44
- package/dist/es/node_modules/refractor/lang/chaiscript.mjs +0 -65
- package/dist/es/node_modules/refractor/lang/cil.mjs +0 -31
- package/dist/es/node_modules/refractor/lang/clike.mjs +0 -36
- package/dist/es/node_modules/refractor/lang/clojure.mjs +0 -42
- package/dist/es/node_modules/refractor/lang/cmake.mjs +0 -41
- package/dist/es/node_modules/refractor/lang/cobol.mjs +0 -58
- package/dist/es/node_modules/refractor/lang/coffeescript.mjs +0 -86
- package/dist/es/node_modules/refractor/lang/concurnas.mjs +0 -69
- package/dist/es/node_modules/refractor/lang/coq.mjs +0 -52
- package/dist/es/node_modules/refractor/lang/cpp.mjs +0 -98
- package/dist/es/node_modules/refractor/lang/crystal.mjs +0 -63
- package/dist/es/node_modules/refractor/lang/csharp.mjs +0 -277
- package/dist/es/node_modules/refractor/lang/cshtml.mjs +0 -104
- package/dist/es/node_modules/refractor/lang/csp.mjs +0 -61
- package/dist/es/node_modules/refractor/lang/css-extras.mjs +0 -109
- package/dist/es/node_modules/refractor/lang/css.mjs +0 -63
- package/dist/es/node_modules/refractor/lang/csv.mjs +0 -16
- package/dist/es/node_modules/refractor/lang/cypher.mjs +0 -44
- package/dist/es/node_modules/refractor/lang/d.mjs +0 -77
- package/dist/es/node_modules/refractor/lang/dart.mjs +0 -72
- package/dist/es/node_modules/refractor/lang/dataweave.mjs +0 -49
- package/dist/es/node_modules/refractor/lang/dax.mjs +0 -39
- package/dist/es/node_modules/refractor/lang/dhall.mjs +0 -74
- package/dist/es/node_modules/refractor/lang/diff.mjs +0 -54
- package/dist/es/node_modules/refractor/lang/django.mjs +0 -60
- package/dist/es/node_modules/refractor/lang/dns-zone-file.mjs +0 -40
- package/dist/es/node_modules/refractor/lang/docker.mjs +0 -83
- package/dist/es/node_modules/refractor/lang/dot.mjs +0 -75
- package/dist/es/node_modules/refractor/lang/ebnf.mjs +0 -32
- package/dist/es/node_modules/refractor/lang/editorconfig.mjs +0 -39
- package/dist/es/node_modules/refractor/lang/eiffel.mjs +0 -46
- package/dist/es/node_modules/refractor/lang/ejs.mjs +0 -33
- package/dist/es/node_modules/refractor/lang/elixir.mjs +0 -100
- package/dist/es/node_modules/refractor/lang/elm.mjs +0 -54
- package/dist/es/node_modules/refractor/lang/erb.mjs +0 -35
- package/dist/es/node_modules/refractor/lang/erlang.mjs +0 -47
- package/dist/es/node_modules/refractor/lang/etlua.mjs +0 -33
- package/dist/es/node_modules/refractor/lang/excel-formula.mjs +0 -74
- package/dist/es/node_modules/refractor/lang/factor.mjs +0 -569
- package/dist/es/node_modules/refractor/lang/false.mjs +0 -39
- package/dist/es/node_modules/refractor/lang/firestore-security-rules.mjs +0 -43
- package/dist/es/node_modules/refractor/lang/flow.mjs +0 -31
- package/dist/es/node_modules/refractor/lang/fortran.mjs +0 -49
- package/dist/es/node_modules/refractor/lang/fsharp.mjs +0 -76
- package/dist/es/node_modules/refractor/lang/ftl.mjs +0 -102
- package/dist/es/node_modules/refractor/lang/gap.mjs +0 -57
- package/dist/es/node_modules/refractor/lang/gcode.mjs +0 -28
- package/dist/es/node_modules/refractor/lang/gdscript.mjs +0 -36
- package/dist/es/node_modules/refractor/lang/gedcom.mjs +0 -40
- package/dist/es/node_modules/refractor/lang/gherkin.mjs +0 -94
- package/dist/es/node_modules/refractor/lang/git.mjs +0 -75
- package/dist/es/node_modules/refractor/lang/glsl.mjs +0 -18
- package/dist/es/node_modules/refractor/lang/gml.mjs +0 -19
- package/dist/es/node_modules/refractor/lang/gn.mjs +0 -55
- package/dist/es/node_modules/refractor/lang/go-module.mjs +0 -34
- package/dist/es/node_modules/refractor/lang/go.mjs +0 -36
- package/dist/es/node_modules/refractor/lang/graphql.mjs +0 -133
- package/dist/es/node_modules/refractor/lang/groovy.mjs +0 -58
- package/dist/es/node_modules/refractor/lang/haml.mjs +0 -132
- package/dist/es/node_modules/refractor/lang/handlebars.mjs +0 -46
- package/dist/es/node_modules/refractor/lang/haskell.mjs +0 -76
- package/dist/es/node_modules/refractor/lang/haxe.mjs +0 -84
- package/dist/es/node_modules/refractor/lang/hcl.mjs +0 -68
- package/dist/es/node_modules/refractor/lang/hlsl.mjs +0 -31
- package/dist/es/node_modules/refractor/lang/hoon.mjs +0 -26
- package/dist/es/node_modules/refractor/lang/hpkp.mjs +0 -20
- package/dist/es/node_modules/refractor/lang/hsts.mjs +0 -20
- package/dist/es/node_modules/refractor/lang/http.mjs +0 -126
- package/dist/es/node_modules/refractor/lang/ichigojam.mjs +0 -25
- package/dist/es/node_modules/refractor/lang/icon.mjs +0 -32
- package/dist/es/node_modules/refractor/lang/icu-message-format.mjs +0 -136
- package/dist/es/node_modules/refractor/lang/idris.mjs +0 -30
- package/dist/es/node_modules/refractor/lang/iecst.mjs +0 -38
- package/dist/es/node_modules/refractor/lang/ignore.mjs +0 -30
- package/dist/es/node_modules/refractor/lang/inform7.mjs +0 -69
- package/dist/es/node_modules/refractor/lang/ini.mjs +0 -52
- package/dist/es/node_modules/refractor/lang/io.mjs +0 -34
- package/dist/es/node_modules/refractor/lang/j.mjs +0 -40
- package/dist/es/node_modules/refractor/lang/java.mjs +0 -86
- package/dist/es/node_modules/refractor/lang/javadoc.mjs +0 -89
- package/dist/es/node_modules/refractor/lang/javadoclike.mjs +0 -60
- package/dist/es/node_modules/refractor/lang/javascript.mjs +0 -114
- package/dist/es/node_modules/refractor/lang/javastacktrace.mjs +0 -146
- package/dist/es/node_modules/refractor/lang/jexl.mjs +0 -26
- package/dist/es/node_modules/refractor/lang/jolie.mjs +0 -51
- package/dist/es/node_modules/refractor/lang/jq.mjs +0 -71
- package/dist/es/node_modules/refractor/lang/js-extras.mjs +0 -104
- package/dist/es/node_modules/refractor/lang/js-templates.mjs +0 -153
- package/dist/es/node_modules/refractor/lang/jsdoc.mjs +0 -83
- package/dist/es/node_modules/refractor/lang/json.mjs +0 -36
- package/dist/es/node_modules/refractor/lang/json5.mjs +0 -32
- package/dist/es/node_modules/refractor/lang/jsonp.mjs +0 -20
- package/dist/es/node_modules/refractor/lang/jsstacktrace.mjs +0 -53
- package/dist/es/node_modules/refractor/lang/jsx.mjs +0 -61
- package/dist/es/node_modules/refractor/lang/julia.mjs +0 -47
- package/dist/es/node_modules/refractor/lang/keepalived.mjs +0 -54
- package/dist/es/node_modules/refractor/lang/keyman.mjs +0 -55
- package/dist/es/node_modules/refractor/lang/kotlin.mjs +0 -81
- package/dist/es/node_modules/refractor/lang/kumir.mjs +0 -85
- package/dist/es/node_modules/refractor/lang/kusto.mjs +0 -47
- package/dist/es/node_modules/refractor/lang/latex.mjs +0 -68
- package/dist/es/node_modules/refractor/lang/latte.mjs +0 -68
- package/dist/es/node_modules/refractor/lang/less.mjs +0 -51
- package/dist/es/node_modules/refractor/lang/lilypond.mjs +0 -77
- package/dist/es/node_modules/refractor/lang/liquid.mjs +0 -68
- package/dist/es/node_modules/refractor/lang/lisp.mjs +0 -158
- package/dist/es/node_modules/refractor/lang/livescript.mjs +0 -119
- package/dist/es/node_modules/refractor/lang/llvm.mjs +0 -31
- package/dist/es/node_modules/refractor/lang/log.mjs +0 -103
- package/dist/es/node_modules/refractor/lang/lolcode.mjs +0 -57
- package/dist/es/node_modules/refractor/lang/lua.mjs +0 -29
- package/dist/es/node_modules/refractor/lang/magma.mjs +0 -42
- package/dist/es/node_modules/refractor/lang/makefile.mjs +0 -42
- package/dist/es/node_modules/refractor/lang/markdown.mjs +0 -306
- package/dist/es/node_modules/refractor/lang/markup-templating.mjs +0 -74
- package/dist/es/node_modules/refractor/lang/markup.mjs +0 -154
- package/dist/es/node_modules/refractor/lang/matlab.mjs +0 -25
- package/dist/es/node_modules/refractor/lang/maxscript.mjs +0 -70
- package/dist/es/node_modules/refractor/lang/mel.mjs +0 -49
- package/dist/es/node_modules/refractor/lang/mermaid.mjs +0 -116
- package/dist/es/node_modules/refractor/lang/mizar.mjs +0 -24
- package/dist/es/node_modules/refractor/lang/mongodb.mjs +0 -287
- package/dist/es/node_modules/refractor/lang/monkey.mjs +0 -40
- package/dist/es/node_modules/refractor/lang/moonscript.mjs +0 -63
- package/dist/es/node_modules/refractor/lang/n1ql.mjs +0 -34
- package/dist/es/node_modules/refractor/lang/n4js.mjs +0 -22
- package/dist/es/node_modules/refractor/lang/nand2tetris-hdl.mjs +0 -21
- package/dist/es/node_modules/refractor/lang/naniscript.mjs +0 -140
- package/dist/es/node_modules/refractor/lang/nasm.mjs +0 -31
- package/dist/es/node_modules/refractor/lang/neon.mjs +0 -52
- package/dist/es/node_modules/refractor/lang/nevod.mjs +0 -125
- package/dist/es/node_modules/refractor/lang/nginx.mjs +0 -61
- package/dist/es/node_modules/refractor/lang/nim.mjs +0 -54
- package/dist/es/node_modules/refractor/lang/nix.mjs +0 -45
- package/dist/es/node_modules/refractor/lang/nsis.mjs +0 -37
- package/dist/es/node_modules/refractor/lang/objectivec.mjs +0 -23
- package/dist/es/node_modules/refractor/lang/ocaml.mjs +0 -64
- package/dist/es/node_modules/refractor/lang/opencl.mjs +0 -62
- package/dist/es/node_modules/refractor/lang/openqasm.mjs +0 -29
- package/dist/es/node_modules/refractor/lang/oz.mjs +0 -37
- package/dist/es/node_modules/refractor/lang/parigp.mjs +0 -36
- package/dist/es/node_modules/refractor/lang/parser.mjs +0 -80
- package/dist/es/node_modules/refractor/lang/pascal.mjs +0 -66
- package/dist/es/node_modules/refractor/lang/pascaligo.mjs +0 -70
- package/dist/es/node_modules/refractor/lang/pcaxis.mjs +0 -63
- package/dist/es/node_modules/refractor/lang/peoplecode.mjs +0 -51
- package/dist/es/node_modules/refractor/lang/perl.mjs +0 -134
- package/dist/es/node_modules/refractor/lang/php-extras.mjs +0 -29
- package/dist/es/node_modules/refractor/lang/php.mjs +0 -301
- package/dist/es/node_modules/refractor/lang/phpdoc.mjs +0 -34
- package/dist/es/node_modules/refractor/lang/plsql.mjs +0 -30
- package/dist/es/node_modules/refractor/lang/powerquery.mjs +0 -44
- package/dist/es/node_modules/refractor/lang/powershell.mjs +0 -58
- package/dist/es/node_modules/refractor/lang/processing.mjs +0 -25
- package/dist/es/node_modules/refractor/lang/prolog.mjs +0 -31
- package/dist/es/node_modules/refractor/lang/promql.mjs +0 -74
- package/dist/es/node_modules/refractor/lang/properties.mjs +0 -21
- package/dist/es/node_modules/refractor/lang/protobuf.mjs +0 -47
- package/dist/es/node_modules/refractor/lang/psl.mjs +0 -47
- package/dist/es/node_modules/refractor/lang/pug.mjs +0 -173
- package/dist/es/node_modules/refractor/lang/puppet.mjs +0 -140
- package/dist/es/node_modules/refractor/lang/pure.mjs +0 -72
- package/dist/es/node_modules/refractor/lang/purebasic.mjs +0 -63
- package/dist/es/node_modules/refractor/lang/purescript.mjs +0 -41
- package/dist/es/node_modules/refractor/lang/python.mjs +0 -73
- package/dist/es/node_modules/refractor/lang/q.mjs +0 -62
- package/dist/es/node_modules/refractor/lang/qml.mjs +0 -67
- package/dist/es/node_modules/refractor/lang/qore.mjs +0 -32
- package/dist/es/node_modules/refractor/lang/qsharp.mjs +0 -93
- package/dist/es/node_modules/refractor/lang/r.mjs +0 -31
- package/dist/es/node_modules/refractor/lang/racket.mjs +0 -29
- package/dist/es/node_modules/refractor/lang/reason.mjs +0 -33
- package/dist/es/node_modules/refractor/lang/regex.mjs +0 -97
- package/dist/es/node_modules/refractor/lang/rego.mjs +0 -37
- package/dist/es/node_modules/refractor/lang/renpy.mjs +0 -30
- package/dist/es/node_modules/refractor/lang/rest.mjs +0 -199
- package/dist/es/node_modules/refractor/lang/rip.mjs +0 -41
- package/dist/es/node_modules/refractor/lang/roboconf.mjs +0 -39
- package/dist/es/node_modules/refractor/lang/robotframework.mjs +0 -95
- package/dist/es/node_modules/refractor/lang/ruby.mjs +0 -159
- package/dist/es/node_modules/refractor/lang/rust.mjs +0 -122
- package/dist/es/node_modules/refractor/lang/sas.mjs +0 -305
- package/dist/es/node_modules/refractor/lang/sass.mjs +0 -69
- package/dist/es/node_modules/refractor/lang/scala.mjs +0 -59
- package/dist/es/node_modules/refractor/lang/scheme.mjs +0 -120
- package/dist/es/node_modules/refractor/lang/scss.mjs +0 -82
- package/dist/es/node_modules/refractor/lang/shell-session.mjs +0 -69
- package/dist/es/node_modules/refractor/lang/smali.mjs +0 -84
- package/dist/es/node_modules/refractor/lang/smalltalk.mjs +0 -47
- package/dist/es/node_modules/refractor/lang/smarty.mjs +0 -106
- package/dist/es/node_modules/refractor/lang/sml.mjs +0 -64
- package/dist/es/node_modules/refractor/lang/solidity.mjs +0 -28
- package/dist/es/node_modules/refractor/lang/solution-file.mjs +0 -58
- package/dist/es/node_modules/refractor/lang/soy.mjs +0 -77
- package/dist/es/node_modules/refractor/lang/sparql.mjs +0 -24
- package/dist/es/node_modules/refractor/lang/splunk-spl.mjs +0 -36
- package/dist/es/node_modules/refractor/lang/sqf.mjs +0 -42
- package/dist/es/node_modules/refractor/lang/sql.mjs +0 -42
- package/dist/es/node_modules/refractor/lang/squirrel.mjs +0 -50
- package/dist/es/node_modules/refractor/lang/stan.mjs +0 -63
- package/dist/es/node_modules/refractor/lang/stylus.mjs +0 -141
- package/dist/es/node_modules/refractor/lang/swift.mjs +0 -125
- package/dist/es/node_modules/refractor/lang/systemd.mjs +0 -65
- package/dist/es/node_modules/refractor/lang/t4-cs.mjs +0 -17
- package/dist/es/node_modules/refractor/lang/t4-templating.mjs +0 -57
- package/dist/es/node_modules/refractor/lang/t4-vb.mjs +0 -17
- package/dist/es/node_modules/refractor/lang/tap.mjs +0 -35
- package/dist/es/node_modules/refractor/lang/tcl.mjs +0 -51
- package/dist/es/node_modules/refractor/lang/textile.mjs +0 -248
- package/dist/es/node_modules/refractor/lang/toml.mjs +0 -54
- package/dist/es/node_modules/refractor/lang/tremor.mjs +0 -67
- package/dist/es/node_modules/refractor/lang/tsx.mjs +0 -22
- package/dist/es/node_modules/refractor/lang/tt2.mjs +0 -53
- package/dist/es/node_modules/refractor/lang/turtle.mjs +0 -62
- package/dist/es/node_modules/refractor/lang/twig.mjs +0 -48
- package/dist/es/node_modules/refractor/lang/typescript.mjs +0 -57
- package/dist/es/node_modules/refractor/lang/typoscript.mjs +0 -81
- package/dist/es/node_modules/refractor/lang/unrealscript.mjs +0 -50
- package/dist/es/node_modules/refractor/lang/uorazor.mjs +0 -57
- package/dist/es/node_modules/refractor/lang/uri.mjs +0 -92
- package/dist/es/node_modules/refractor/lang/v.mjs +0 -85
- package/dist/es/node_modules/refractor/lang/vala.mjs +0 -87
- package/dist/es/node_modules/refractor/lang/vbnet.mjs +0 -34
- package/dist/es/node_modules/refractor/lang/velocity.mjs +0 -75
- package/dist/es/node_modules/refractor/lang/verilog.mjs +0 -38
- package/dist/es/node_modules/refractor/lang/vhdl.mjs +0 -35
- package/dist/es/node_modules/refractor/lang/vim.mjs +0 -22
- package/dist/es/node_modules/refractor/lang/visual-basic.mjs +0 -38
- package/dist/es/node_modules/refractor/lang/warpscript.mjs +0 -33
- package/dist/es/node_modules/refractor/lang/wasm.mjs +0 -36
- package/dist/es/node_modules/refractor/lang/web-idl.mjs +0 -89
- package/dist/es/node_modules/refractor/lang/wiki.mjs +0 -86
- package/dist/es/node_modules/refractor/lang/wolfram.mjs +0 -37
- package/dist/es/node_modules/refractor/lang/wren.mjs +0 -97
- package/dist/es/node_modules/refractor/lang/xeora.mjs +0 -121
- package/dist/es/node_modules/refractor/lang/xml-doc.mjs +0 -35
- package/dist/es/node_modules/refractor/lang/xojo.mjs +0 -30
- package/dist/es/node_modules/refractor/lang/xquery.mjs +0 -89
- package/dist/es/node_modules/refractor/lang/yaml.mjs +0 -78
- package/dist/es/node_modules/refractor/lang/yang.mjs +0 -32
- package/dist/es/node_modules/refractor/lang/zig.mjs +0 -80
- package/dist/es/node_modules/refractor/node_modules/comma-separated-tokens/index.mjs +0 -16
- package/dist/es/node_modules/refractor/node_modules/hastscript/factory.mjs +0 -77
- package/dist/es/node_modules/refractor/node_modules/hastscript/html.mjs +0 -8
- package/dist/es/node_modules/refractor/node_modules/hastscript/index.mjs +0 -5
- package/dist/es/node_modules/refractor/node_modules/prismjs/components/prism-core.mjs +0 -720
- package/dist/es/node_modules/refractor/node_modules/space-separated-tokens/index.mjs +0 -14
- package/dist/es/node_modules/rehype-external-links/lib/index.mjs +0 -34
- package/dist/es/node_modules/rehype-external-links/node_modules/is-absolute-url/index.mjs +0 -9
- package/dist/es/node_modules/rehype-external-links/node_modules/unist-util-visit/lib/index.mjs +0 -16
- package/dist/es/node_modules/rehype-katex/lib/index.mjs +0 -83
- package/dist/es/node_modules/remark-gfm/lib/index.mjs +0 -13
- package/dist/es/node_modules/remark-math/lib/index.mjs +0 -13
- package/dist/es/node_modules/remark-rehype/lib/index.mjs +0 -51
- package/dist/es/node_modules/space-separated-tokens/index.mjs +0 -11
- package/dist/es/node_modules/style-to-js/cjs/index.mjs +0 -22
- package/dist/es/node_modules/style-to-js/cjs/utilities.mjs +0 -18
- package/dist/es/node_modules/style-to-js/node_modules/inline-style-parser/index.mjs +0 -93
- package/dist/es/node_modules/style-to-js/node_modules/style-to-object/cjs/index.mjs +0 -25
- package/dist/es/node_modules/trim-lines/index.mjs +0 -25
- package/dist/es/node_modules/tslib/tslib.es6.mjs +0 -30
- package/dist/es/node_modules/ua-parser-js/dist/ua-parser.min.mjs +0 -123
- package/dist/es/node_modules/unified/lib/callable-instance.mjs +0 -25
- package/dist/es/node_modules/unified/lib/index.mjs +0 -525
- package/dist/es/node_modules/unified/node_modules/bail/index.mjs +0 -7
- package/dist/es/node_modules/unified/node_modules/is-plain-obj/index.mjs +0 -9
- package/dist/es/node_modules/unified/node_modules/trough/lib/index.mjs +0 -61
- package/dist/es/node_modules/unist-util-find-after/lib/index.mjs +0 -32
- package/dist/es/node_modules/unist-util-is/lib/index.mjs +0 -81
- package/dist/es/node_modules/unist-util-position/lib/index.mjs +0 -26
- package/dist/es/node_modules/unist-util-stringify-position/lib/index.mjs +0 -15
- package/dist/es/node_modules/unist-util-visit-parents/lib/color.mjs +0 -6
- package/dist/es/node_modules/unist-util-visit-parents/lib/index.mjs +0 -56
- package/dist/es/node_modules/vfile/lib/index.mjs +0 -401
- package/dist/es/node_modules/vfile/lib/minpath.browser.mjs +0 -120
- package/dist/es/node_modules/vfile/lib/minproc.browser.mjs +0 -9
- package/dist/es/node_modules/vfile/lib/minurl.browser.mjs +0 -35
- package/dist/es/node_modules/vfile/lib/minurl.shared.mjs +0 -7
- package/dist/es/node_modules/vfile-message/lib/index.mjs +0 -106
- package/dist/es/node_modules/xtend/immutable.mjs +0 -12
- package/dist/es/packages/agent-cli-ui/package.json.mjs +0 -164
- package/dist/es/packages/react-components/dist/es/Iconfont/index.mjs +0 -8
- package/dist/es/packages/react-components/dist/es/components/Copy/index.mjs +0 -43
- package/dist/es/packages/react-components/dist/es/components/Markdown/ATag/index.mjs +0 -44
- package/dist/es/packages/react-components/dist/es/components/Markdown/Code/index.mjs +0 -64
- package/dist/es/packages/react-components/dist/es/components/Markdown/Image/index.mjs +0 -62
- package/dist/es/packages/react-components/dist/es/components/Markdown/Video/index.mjs +0 -19
- package/dist/es/packages/react-components/dist/es/components/Markdown/index.mjs +0 -80
- package/dist/es/packages/react-components/dist/es/index.mjs +0 -10
- package/dist/es/packages/react-components/dist/es/utils/clipboard.mjs +0 -38
- package/dist/es/packages/react-components/dist/es/utils/markdown/index.mjs +0 -29
- package/dist/es/src/global.css +0 -1
- package/dist/es/src/image-viewer.css +0 -1
- package/dist/es/src/katex.min.css +0 -1
- package/dist/es/src/mask.css +0 -1
- package/dist/es/src/safe-area.css +0 -1
- package/dist/es/src/style.css +0 -1
- package/dist/es/src/style10.css +0 -1
- package/dist/es/src/style11.css +0 -1
- package/dist/es/src/style12.css +0 -1
- package/dist/es/src/style13.css +0 -1
- package/dist/es/src/style14.css +0 -1
- package/dist/es/src/style15.css +0 -1
- package/dist/es/src/style16.css +0 -1
- package/dist/es/src/style17.css +0 -1
- package/dist/es/src/style18.css +0 -1
- package/dist/es/src/style19.css +0 -1
- package/dist/es/src/style2.css +0 -1
- package/dist/es/src/style20.css +0 -1
- package/dist/es/src/style21.css +0 -1
- package/dist/es/src/style22.css +0 -1
- package/dist/es/src/style23.css +0 -1
- package/dist/es/src/style24.css +0 -1
- package/dist/es/src/style25.css +0 -1
- package/dist/es/src/style26.css +0 -1
- package/dist/es/src/style27.css +0 -1
- package/dist/es/src/style28.css +0 -1
- package/dist/es/src/style29.css +0 -1
- package/dist/es/src/style3.css +0 -1
- package/dist/es/src/style30.css +0 -1
- package/dist/es/src/style31.css +0 -1
- package/dist/es/src/style32.css +0 -1
- package/dist/es/src/style33.css +0 -1
- package/dist/es/src/style4.css +0 -1
- package/dist/es/src/style5.css +0 -1
- package/dist/es/src/style6.css +0 -1
- package/dist/es/src/style7.css +0 -1
- package/dist/es/src/style8.css +0 -1
- package/dist/es/src/style9.css +0 -1
- package/dist/es/types.mjs +0 -4
- package/dist/es/utils/antdConfig.mjs +0 -15
- package/dist/es/utils/index.mjs +0 -41
- package/dist/es/utils/scopedMessage.mjs +0 -29
- package/dist/lib/index.css +0 -1
- package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/fetch.d.ts +0 -44
- package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/index.d.ts +0 -1
- package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/parse.d.ts +0 -36
- package/dist/src/utils/reactCompatibility.d.ts +0 -27
- package/dist/src/utils/testAntdPrefix.d.ts +0 -3
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { jsx as n, jsxs as b } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as C, useContext as L, useImperativeHandle as S, useEffect as h } from "react";
|
|
3
|
-
/* empty css */import { Form as i, Collapse as v, Input as g } from "antd";
|
|
4
|
-
import { PromptVariableType as a } from "@glodon-aiot/apis";
|
|
5
|
-
import q from "../../../context.mjs";
|
|
6
|
-
const {
|
|
7
|
-
Panel: p
|
|
8
|
-
} = v, B = C((k, P) => {
|
|
9
|
-
const {
|
|
10
|
-
promptVariables: t,
|
|
11
|
-
setPromptVariables: d,
|
|
12
|
-
currentSession: o
|
|
13
|
-
} = k, [u] = i.useForm(), {
|
|
14
|
-
agentClient: m
|
|
15
|
-
} = L(q);
|
|
16
|
-
S(P, () => ({
|
|
17
|
-
clear() {
|
|
18
|
-
u.resetFields();
|
|
19
|
-
}
|
|
20
|
-
})), h(() => {
|
|
21
|
-
if (!o)
|
|
22
|
-
return;
|
|
23
|
-
const e = () => {
|
|
24
|
-
const r = o.promptVariables.filter((l) => !(l.type === a.User && l.key === "query") && !(l.type === a.System && l.key === "datetime"));
|
|
25
|
-
d(r.sort((l, x) => l.key.localeCompare(x.key)));
|
|
26
|
-
};
|
|
27
|
-
return o.addEventListener("activated", e), () => {
|
|
28
|
-
o == null || o.removeEventListener("activated", e);
|
|
29
|
-
};
|
|
30
|
-
}, [o]), h(() => {
|
|
31
|
-
if (!t)
|
|
32
|
-
return;
|
|
33
|
-
const e = {}, s = {};
|
|
34
|
-
t.forEach((r) => {
|
|
35
|
-
r.type === a.System ? s[r.key] = r.value : e[r.key] = r.value;
|
|
36
|
-
}), u.setFieldsValue({
|
|
37
|
-
userPrompts: e,
|
|
38
|
-
systemPrompts: s
|
|
39
|
-
});
|
|
40
|
-
}, [t]);
|
|
41
|
-
const c = (e, s) => {
|
|
42
|
-
t.map((r) => {
|
|
43
|
-
r.id === e && (r.value = s.target.value);
|
|
44
|
-
}), d([...t].sort((r, l) => r.key.localeCompare(l.key)));
|
|
45
|
-
}, y = (t == null ? void 0 : t.filter((e) => e.type === a.System)) || [], f = (t == null ? void 0 : t.filter((e) => e.type === a.User)) || [];
|
|
46
|
-
return t != null && t.length ? /* @__PURE__ */ n(i, {
|
|
47
|
-
autoComplete: "off",
|
|
48
|
-
form: u,
|
|
49
|
-
labelWrap: !0,
|
|
50
|
-
labelAlign: "left",
|
|
51
|
-
labelCol: {
|
|
52
|
-
style: {
|
|
53
|
-
width: 120
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
className: "prompt-form",
|
|
57
|
-
children: /* @__PURE__ */ b(v, {
|
|
58
|
-
bordered: !1,
|
|
59
|
-
ghost: !0,
|
|
60
|
-
className: "prompt-variables-collapse",
|
|
61
|
-
defaultActiveKey: [a.System, a.User],
|
|
62
|
-
children: [y.length && /* @__PURE__ */ n(p, {
|
|
63
|
-
header: "角色设定变量",
|
|
64
|
-
children: y.map((e) => /* @__PURE__ */ n(i.Item, {
|
|
65
|
-
label: e.name,
|
|
66
|
-
name: ["systemPrompts", e.key],
|
|
67
|
-
style: {
|
|
68
|
-
marginBottom: 8
|
|
69
|
-
},
|
|
70
|
-
rules: [{
|
|
71
|
-
required: !0,
|
|
72
|
-
message: "请输入"
|
|
73
|
-
}],
|
|
74
|
-
children: /* @__PURE__ */ n(g, {
|
|
75
|
-
placeholder: "请输入",
|
|
76
|
-
maxLength: m == null ? void 0 : m.questionContextMaxLength,
|
|
77
|
-
onBlur: (s) => c(e.id, s)
|
|
78
|
-
})
|
|
79
|
-
}, e.key))
|
|
80
|
-
}, a.System), f.length && /* @__PURE__ */ n(p, {
|
|
81
|
-
header: "用户指令变量",
|
|
82
|
-
children: f.map((e) => /* @__PURE__ */ n(i.Item, {
|
|
83
|
-
label: e.name,
|
|
84
|
-
name: ["userPrompts", e.key],
|
|
85
|
-
style: {
|
|
86
|
-
marginBottom: 8
|
|
87
|
-
},
|
|
88
|
-
rules: [{
|
|
89
|
-
required: !0,
|
|
90
|
-
message: "请输入"
|
|
91
|
-
}],
|
|
92
|
-
children: /* @__PURE__ */ n(g, {
|
|
93
|
-
placeholder: "请输入",
|
|
94
|
-
maxLength: m == null ? void 0 : m.questionContextMaxLength,
|
|
95
|
-
onBlur: (s) => c(e.id, s)
|
|
96
|
-
})
|
|
97
|
-
}, e.key))
|
|
98
|
-
}, a.User)]
|
|
99
|
-
})
|
|
100
|
-
}) : null;
|
|
101
|
-
});
|
|
102
|
-
B.displayName = "PromptSetting";
|
|
103
|
-
export {
|
|
104
|
-
B as default
|
|
105
|
-
};
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { jsx as e, Fragment as g, jsxs as c } from "react/jsx-runtime";
|
|
2
|
-
import { useState as l, useEffect as d } from "react";
|
|
3
|
-
/* empty css */import { Button as k } from "antd";
|
|
4
|
-
import { CloseOutlined as v } from "@ant-design/icons";
|
|
5
|
-
import f from "../../../../components/Iconfont/index.mjs";
|
|
6
|
-
const F = (p) => {
|
|
7
|
-
const {
|
|
8
|
-
sessionId: u,
|
|
9
|
-
netStatus: s,
|
|
10
|
-
enable: t,
|
|
11
|
-
disabledTip: a = "上传文件后,该会话自动停止网络访问",
|
|
12
|
-
onNetStatusChange: m
|
|
13
|
-
} = p, [h, i] = l(!1), [o, r] = l(!1), [C, n] = l(
|
|
14
|
-
"#070C14"
|
|
15
|
-
/* default */
|
|
16
|
-
);
|
|
17
|
-
d(() => {
|
|
18
|
-
r(!t), t || n(
|
|
19
|
-
"#070C14"
|
|
20
|
-
/* default */
|
|
21
|
-
);
|
|
22
|
-
}, [u, t]);
|
|
23
|
-
const S = () => {
|
|
24
|
-
r(!1);
|
|
25
|
-
};
|
|
26
|
-
d(() => {
|
|
27
|
-
i(o);
|
|
28
|
-
}, [o]);
|
|
29
|
-
const y = (b) => {
|
|
30
|
-
m(b);
|
|
31
|
-
};
|
|
32
|
-
return /* @__PURE__ */ e(g, {
|
|
33
|
-
children: /* @__PURE__ */ c("div", {
|
|
34
|
-
className: "connect",
|
|
35
|
-
onMouseEnter: () => {
|
|
36
|
-
i(!0);
|
|
37
|
-
},
|
|
38
|
-
onMouseLeave: () => {
|
|
39
|
-
o || i(!1);
|
|
40
|
-
},
|
|
41
|
-
children: [/* @__PURE__ */ e(k, {
|
|
42
|
-
type: "link",
|
|
43
|
-
icon: s ? /* @__PURE__ */ e(f, {
|
|
44
|
-
className: "link-btn",
|
|
45
|
-
type: "icon-yilianwang",
|
|
46
|
-
style: {
|
|
47
|
-
fontSize: 22
|
|
48
|
-
}
|
|
49
|
-
}) : /* @__PURE__ */ e(f, {
|
|
50
|
-
className: "link-not-btn",
|
|
51
|
-
type: "icon-lianwangguanbi",
|
|
52
|
-
style: {
|
|
53
|
-
color: C,
|
|
54
|
-
fontSize: 22
|
|
55
|
-
},
|
|
56
|
-
onMouseEnter: () => {
|
|
57
|
-
n(
|
|
58
|
-
t ? "#B452FF" : "#070C14"
|
|
59
|
-
/* highlight */
|
|
60
|
-
);
|
|
61
|
-
},
|
|
62
|
-
onMouseLeave: () => n(
|
|
63
|
-
"#070C14"
|
|
64
|
-
/* default */
|
|
65
|
-
)
|
|
66
|
-
}),
|
|
67
|
-
disabled: !t,
|
|
68
|
-
onClick: () => {
|
|
69
|
-
y(!s);
|
|
70
|
-
}
|
|
71
|
-
}), h && /* @__PURE__ */ e("div", {
|
|
72
|
-
className: "net-tip",
|
|
73
|
-
children: t ? s ? "网络访问已开启" : "网络访问已关闭" : o ? /* @__PURE__ */ c("div", {
|
|
74
|
-
style: {
|
|
75
|
-
display: "flex",
|
|
76
|
-
gap: 6
|
|
77
|
-
},
|
|
78
|
-
children: [/* @__PURE__ */ e("span", {
|
|
79
|
-
children: a
|
|
80
|
-
}), /* @__PURE__ */ e("div", {
|
|
81
|
-
children: /* @__PURE__ */ e(v, {
|
|
82
|
-
onClick: S
|
|
83
|
-
})
|
|
84
|
-
})]
|
|
85
|
-
}) : a
|
|
86
|
-
})]
|
|
87
|
-
})
|
|
88
|
-
});
|
|
89
|
-
};
|
|
90
|
-
export {
|
|
91
|
-
F as default
|
|
92
|
-
};
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { jsx as t, jsxs as c } from "react/jsx-runtime";
|
|
2
|
-
import { Button as y, Typography as j, Space as E, Spin as I } from "antd";
|
|
3
|
-
import { useContext as L, useState as m, useEffect as l } from "react";
|
|
4
|
-
import { LoadingOutlined as $ } from "@ant-design/icons";
|
|
5
|
-
import R from "../../../../../context.mjs";
|
|
6
|
-
import N from "../../../../../components/Iconfont/index.mjs";
|
|
7
|
-
const {
|
|
8
|
-
Text: w
|
|
9
|
-
} = j, z = () => /* @__PURE__ */ c(E, {
|
|
10
|
-
children: [/* @__PURE__ */ t(I, {
|
|
11
|
-
indicator: /* @__PURE__ */ t($, {
|
|
12
|
-
style: {
|
|
13
|
-
fontSize: 12
|
|
14
|
-
}
|
|
15
|
-
}),
|
|
16
|
-
spinning: !0
|
|
17
|
-
}), "正在生成标题"]
|
|
18
|
-
}), F = (k) => {
|
|
19
|
-
const {
|
|
20
|
-
appId: S,
|
|
21
|
-
data: e,
|
|
22
|
-
highlight: o,
|
|
23
|
-
onEdit: d,
|
|
24
|
-
onDelete: h,
|
|
25
|
-
onClick: f,
|
|
26
|
-
onStatusChange: u
|
|
27
|
-
} = k, {
|
|
28
|
-
service: r
|
|
29
|
-
} = L(R), [n, a] = m(e.status !== "finish"), [i, g] = m(e), [T, x] = m(e.title);
|
|
30
|
-
l(() => {
|
|
31
|
-
i.status !== "finish" && a(!0);
|
|
32
|
-
}, [i.status, n]), l(() => {
|
|
33
|
-
g(e);
|
|
34
|
-
}, [e]);
|
|
35
|
-
const C = () => {
|
|
36
|
-
r == null || r.getPrompt(S, i.id).then((s) => {
|
|
37
|
-
g(s), u && u(s.status, s), s.status === "finish" ? a(!1) : (a(!0), setTimeout(() => C(), 2e3));
|
|
38
|
-
});
|
|
39
|
-
};
|
|
40
|
-
return l(() => {
|
|
41
|
-
n && C();
|
|
42
|
-
}, [n]), l(() => {
|
|
43
|
-
if (o) {
|
|
44
|
-
const s = o.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), b = new RegExp(`(${s})`, "g"), v = i.title.split(b);
|
|
45
|
-
x(v.map((p, P) => o === p ? /* @__PURE__ */ t("span", {
|
|
46
|
-
className: "hightlight",
|
|
47
|
-
children: p
|
|
48
|
-
}, P) : p));
|
|
49
|
-
} else
|
|
50
|
-
x(i.title);
|
|
51
|
-
}, [o, i.title]), /* @__PURE__ */ c("div", {
|
|
52
|
-
className: "prompt-list-item",
|
|
53
|
-
onClick: () => f && f(e),
|
|
54
|
-
children: [/* @__PURE__ */ c("div", {
|
|
55
|
-
className: "prompt-list-item-body",
|
|
56
|
-
children: [/* @__PURE__ */ t("div", {
|
|
57
|
-
className: "prompt-list-item-title",
|
|
58
|
-
children: i.title ? T : /* @__PURE__ */ t(z, {})
|
|
59
|
-
}), /* @__PURE__ */ t("div", {
|
|
60
|
-
className: "prompt-list-item-context",
|
|
61
|
-
children: /* @__PURE__ */ t(w, {
|
|
62
|
-
ellipsis: !0,
|
|
63
|
-
children: i.context
|
|
64
|
-
})
|
|
65
|
-
})]
|
|
66
|
-
}), /* @__PURE__ */ c("div", {
|
|
67
|
-
className: "prompt-list-item-actions",
|
|
68
|
-
onClick: (s) => s.stopPropagation(),
|
|
69
|
-
children: [d && /* @__PURE__ */ t(y, {
|
|
70
|
-
type: "text",
|
|
71
|
-
disabled: n,
|
|
72
|
-
icon: /* @__PURE__ */ t(N, {
|
|
73
|
-
type: "icon-bianji2"
|
|
74
|
-
}),
|
|
75
|
-
onClick: () => d(e)
|
|
76
|
-
}), h && /* @__PURE__ */ t(y, {
|
|
77
|
-
type: "text",
|
|
78
|
-
disabled: n,
|
|
79
|
-
icon: /* @__PURE__ */ t(N, {
|
|
80
|
-
type: "icon-shanchu"
|
|
81
|
-
}),
|
|
82
|
-
onClick: () => h(e.id)
|
|
83
|
-
})]
|
|
84
|
-
})]
|
|
85
|
-
});
|
|
86
|
-
};
|
|
87
|
-
export {
|
|
88
|
-
F as default
|
|
89
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { jsx as t, Fragment as l } from "react/jsx-runtime";
|
|
2
|
-
import { List as h, Empty as g } from "antd";
|
|
3
|
-
import f from "./PromptListItem.mjs";
|
|
4
|
-
/* empty css */import u from "./access/empty.svg.mjs";
|
|
5
|
-
const S = (o) => {
|
|
6
|
-
const {
|
|
7
|
-
appId: a,
|
|
8
|
-
data: i = [],
|
|
9
|
-
search: n,
|
|
10
|
-
onItemClick: s,
|
|
11
|
-
onChange: e,
|
|
12
|
-
onRefresh: y
|
|
13
|
-
} = o, p = () => /* @__PURE__ */ t("div", {
|
|
14
|
-
className: "prompt-list-empty",
|
|
15
|
-
children: /* @__PURE__ */ t(g, {
|
|
16
|
-
image: u,
|
|
17
|
-
imageStyle: {
|
|
18
|
-
height: 44
|
|
19
|
-
},
|
|
20
|
-
description: /* @__PURE__ */ t("span", {
|
|
21
|
-
children: "暂无快捷指令"
|
|
22
|
-
})
|
|
23
|
-
})
|
|
24
|
-
});
|
|
25
|
-
return /* @__PURE__ */ t("div", {
|
|
26
|
-
className: "prompt-list-wrap",
|
|
27
|
-
children: i.length ? /* @__PURE__ */ t(l, {
|
|
28
|
-
children: /* @__PURE__ */ t(h, {
|
|
29
|
-
className: "prompt-list",
|
|
30
|
-
dataSource: i,
|
|
31
|
-
renderItem: (d) => /* @__PURE__ */ t(f, {
|
|
32
|
-
appId: a,
|
|
33
|
-
data: d,
|
|
34
|
-
highlight: n,
|
|
35
|
-
onClick: s,
|
|
36
|
-
onStatusChange: (x, r) => {
|
|
37
|
-
const m = i.findIndex((c) => c.id === r.id);
|
|
38
|
-
m > -1 && (i[m] = r, e && e([...i]));
|
|
39
|
-
}
|
|
40
|
-
})
|
|
41
|
-
})
|
|
42
|
-
}) : /* @__PURE__ */ t(p, {})
|
|
43
|
-
});
|
|
44
|
-
};
|
|
45
|
-
export {
|
|
46
|
-
S as default
|
|
47
|
-
};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
const M = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDMiIGhlaWdodD0iNDciIHZpZXdCb3g9IjAgMCA0MyA0NyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNS41NiAzMS4xNTVDMTUuNTIgMzEuNDMgMTUuNSAzMS43MTUgMTUuNSAzMkMxNS41IDM1LjMxNSAxOC4xODUgMzggMjEuNSAzOEMyNC44MTUgMzggMjcuNSAzNS4zMTUgMjcuNSAzMkMyNy41IDMxLjcxNSAyNy40OCAzMS40MyAyNy40NCAzMS4xNTVINDJWNDQuNUM0MiA0NS4zMyA0MS4zMyA0NiA0MC41IDQ2SDIuNUMxLjY3IDQ2IDEgNDUuMzMgMSA0NC41VjMxLjE1NUgxNS41NloiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMjggMzFDMjggMzQuNTkgMjUuMDkgMzcuNSAyMS41IDM3LjVDMTcuOTEgMzcuNSAxNSAzNC41OSAxNSAzMUMxNSAzMC44ODUgMTUuMDA1IDMwLjc3IDE1LjAxIDMwLjY1NUgxTDUuNzgwMDMgMTYuNTJDNS45ODUwMyAxNS45MSA2LjU2MDAxIDE1LjUgNy4yMDAwMSAxNS41SDM1LjhDMzYuNDQgMTUuNSAzNy4wMTUgMTUuOTEgMzcuMjIgMTYuNTJMNDIgMzAuNjU1SDI3Ljk5QzI3Ljk5NSAzMC43NyAyOCAzMC44ODUgMjggMzFaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTI3LjA1IDMxLjQ3NUMyNy4wNSAzNC4yNSAyNC41NjUgMzcgMjEuNSAzN0MxOC40MzUgMzcgMTUuOTUgMzQuMjUgMTUuOTUgMzEuNDc1QzE1Ljk1IDMxLjM4NSAxNS45NTUgMzAuOCAxNS45NiAzMC43MUg1LjVMOS41ODAwMiAyMC43OUM5Ljc1NTAyIDIwLjMxNSAxMC4yNDUgMjAgMTAuNzk1IDIwSDMyLjIwNUMzMi43NTUgMjAgMzMuMjQ1IDIwLjMxNSAzMy40MiAyMC43OUwzNy41IDMwLjcxSDI3LjA0QzI3LjA0NSAzMC44IDI3LjA1IDMxLjM4NSAyNy4wNSAzMS40NzVaIiBmaWxsPSIjRDhEQkZCIi8+CjxwYXRoIGQ9Ik0zMyAzNS41TDMzLjY2NjUgMzYuODQ1NEMzMy44Nzg3IDM3LjI3NDEgMzQuMjI1OSAzNy42MjEzIDM0LjY1NDYgMzcuODMzNUwzNiAzOC41TDM0LjY1NDYgMzkuMTY2NUMzNC4yMjU5IDM5LjM3ODcgMzMuODc4NyAzOS43MjU5IDMzLjY2NjUgNDAuMTU0NkwzMyA0MS41TDMyLjMzMzUgNDAuMTU0NkMzMi4xMjEzIDM5LjcyNTkgMzEuNzc0MSAzOS4zNzg3IDMxLjM0NTQgMzkuMTY2NUwzMCAzOC41TDMxLjM0NTQgMzcuODMzNUMzMS43NzQxIDM3LjYyMTMgMzIuMTIxMyAzNy4yNzQxIDMyLjMzMzUgMzYuODQ1NEwzMyAzNS41WiIgZmlsbD0idXJsKCNwYWludDBfbGluZWFyXzExMDI5XzM5MTYpIi8+CjxwYXRoIGQ9Ik0xLjYyNSA0NEMxLjYyNSA0NC40ODUgMi4wMTUgNDQuODc1IDIuNSA0NC44NzVINDAuNUM0MC45ODUgNDQuODc1IDQxLjM3NSA0NC40ODUgNDEuMzc1IDQ0VjMwLjc1NUwzNi42MyAxNi43MkMzNi41MSAxNi4zNjUgMzYuMTc1IDE2LjEyNSAzNS44IDE2LjEyNUg3LjIwMDAxQzYuODI1MDEgMTYuMTI1IDYuNDkgMTYuMzY1IDYuMzcgMTYuNzJMMS42MjUgMzAuNzU1VjQ0WiIgc3Ryb2tlPSIjOTY5OUI3IiBzdHJva2Utd2lkdGg9IjIuNSIvPgo8cGF0aCBkPSJNNS40OTk5NCAzMC41SDQuMjg0OTFNNy45OTk5NCAzMC41QzkuOTY5OTQgMzAuNSAxMi4wODk5IDMwLjUgMTQuMzY5OSAzMC41QzE1LjMwOTkgMzAuNSAxNS4zMDk5IDMxLjE2IDE1LjMwOTkgMzEuNUMxNS4zMDk5IDM0LjgxNSAxOC4wNiAzNy41IDIxLjQ1IDM3LjVDMjQuODQgMzcuNSAyNy41ODUgMzQuODE1IDI3LjU4NSAzMS41QzI3LjU4NSAzMS4xNiAyNy41ODUgMzAuNSAyOC41MjUgMzAuNUg0MC45OTk5IiBzdHJva2U9IiM5Njk5QjciIHN0cm9rZS13aWR0aD0iMi41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPHBhdGggZD0iTTIxLjA1IDEwLjM4VjJNMTMuNTUgMTAuMzhMOCA0LjE1MDAyTTM0LjA1IDQuMTUwMDJMMjguNSAxMC4zOCIgc3Ryb2tlPSIjOUMyNEYyIiBzdHJva2Utd2lkdGg9IjIuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxkZWZzPgo8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50MF9saW5lYXJfMTEwMjlfMzkxNiIgeDE9IjMwLjE3ODYiIHkxPSIzOC41IiB4Mj0iMzYuMzEyNiIgeTI9IjM4LjUiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KPHN0b3Agc3RvcC1jb2xvcj0iIzIwNUVGOSIvPgo8c3RvcCBvZmZzZXQ9IjAuNiIgc3RvcC1jb2xvcj0iIzgzNUFGRSIvPgo8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGRDYyRDkiLz4KPC9saW5lYXJHcmFkaWVudD4KPC9kZWZzPgo8L3N2Zz4K";
|
|
2
|
-
export {
|
|
3
|
-
M as default
|
|
4
|
-
};
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import { jsx as r, Fragment as V } from "react/jsx-runtime";
|
|
2
|
-
import { Popover as j, Tabs as C, Button as A } from "antd";
|
|
3
|
-
import { useState as m, useContext as E, useEffect as a } from "react";
|
|
4
|
-
/* empty css */import M from "classnames";
|
|
5
|
-
import { PROMPT_TITLE_MAX_LENGTH as I } from "@glodon-aiot/apis";
|
|
6
|
-
import _ from "./PromptList/PublicPromptList.mjs";
|
|
7
|
-
import z from "../../../../context.mjs";
|
|
8
|
-
import X from "../../../../components/Iconfont/index.mjs";
|
|
9
|
-
const $ = (S) => {
|
|
10
|
-
var x;
|
|
11
|
-
const {
|
|
12
|
-
appId: c,
|
|
13
|
-
list: s,
|
|
14
|
-
search: e,
|
|
15
|
-
disabled: W = !1,
|
|
16
|
-
open: u = !1,
|
|
17
|
-
onClose: g,
|
|
18
|
-
onPromptSelect: L
|
|
19
|
-
} = S, [f, y] = m(u), [B, P] = m(), {
|
|
20
|
-
service: i,
|
|
21
|
-
popupContainer: o,
|
|
22
|
-
mode: F
|
|
23
|
-
} = E(z), [G, d] = m((s == null ? void 0 : s.filter((t) => t.type === "me")) || []), [k, h] = m((s == null ? void 0 : s.filter((t) => t.type === "system")) || []), [b, v] = m((s == null ? void 0 : s.filter((t) => t.type === "system")) || []), [w, N] = m("system"), [H, O] = m(!1);
|
|
24
|
-
a(() => {
|
|
25
|
-
f && i && (e && e.length > I ? (d([]), h([])) : (i.listPrompt(c, {
|
|
26
|
-
type: "system"
|
|
27
|
-
}).then((t) => O(!!t.length)), i.listPrompt(c, e ? {
|
|
28
|
-
title: e
|
|
29
|
-
} : void 0).then((t) => {
|
|
30
|
-
const p = t.filter((n) => n.type === "me"), l = t.filter((n) => n.type === "system");
|
|
31
|
-
d(p), h(l);
|
|
32
|
-
})));
|
|
33
|
-
}, [f]), a(() => {
|
|
34
|
-
T();
|
|
35
|
-
}, [e]), a(() => {
|
|
36
|
-
u && T();
|
|
37
|
-
}, [u]), a(() => {
|
|
38
|
-
let t = o == null ? void 0 : o.current;
|
|
39
|
-
t ? t.clientWidth > 900 ? P(520) : P(t.clientWidth - 80) : P(400);
|
|
40
|
-
}, [(x = o == null ? void 0 : o.current) == null ? void 0 : x.clientWidth]), a(() => {
|
|
41
|
-
i == null || i.listPrompt(c).then((t) => {
|
|
42
|
-
const p = t.filter((l) => l.type === "system");
|
|
43
|
-
v(p);
|
|
44
|
-
});
|
|
45
|
-
}, [i]);
|
|
46
|
-
const T = () => {
|
|
47
|
-
if (e && e.length > I) {
|
|
48
|
-
d([]), h([]);
|
|
49
|
-
return;
|
|
50
|
-
}
|
|
51
|
-
i == null || i.listPrompt(c, e ? {
|
|
52
|
-
title: e
|
|
53
|
-
} : void 0).then((t) => {
|
|
54
|
-
const p = t.filter((n) => n.type === "me"), l = t.filter((n) => n.type === "system");
|
|
55
|
-
d(p), h(l), y(!!(l.length && (e != null && e.length))), e || v(l);
|
|
56
|
-
});
|
|
57
|
-
};
|
|
58
|
-
return /* @__PURE__ */ r(j, {
|
|
59
|
-
title: null,
|
|
60
|
-
placement: "topLeft",
|
|
61
|
-
overlayClassName: "propmt-manage-popover",
|
|
62
|
-
open: f,
|
|
63
|
-
zIndex: 1e4,
|
|
64
|
-
arrowPointAtCenter: !0,
|
|
65
|
-
trigger: ["click"],
|
|
66
|
-
autoAdjustOverflow: {
|
|
67
|
-
adjustX: 0
|
|
68
|
-
},
|
|
69
|
-
overlayStyle: {
|
|
70
|
-
width: "260px"
|
|
71
|
-
},
|
|
72
|
-
getPopupContainer: () => (o == null ? void 0 : o.current) || document.body,
|
|
73
|
-
onOpenChange: (t) => {
|
|
74
|
-
y(t), !t && g && g();
|
|
75
|
-
},
|
|
76
|
-
content: /* @__PURE__ */ r(V, {
|
|
77
|
-
children: /* @__PURE__ */ r(C, {
|
|
78
|
-
activeKey: w,
|
|
79
|
-
style: {
|
|
80
|
-
padding: "0 16px"
|
|
81
|
-
},
|
|
82
|
-
onTabClick: (t) => {
|
|
83
|
-
N(t);
|
|
84
|
-
},
|
|
85
|
-
children: /* @__PURE__ */ r(C.TabPane, {
|
|
86
|
-
tab: "快捷指令",
|
|
87
|
-
children: /* @__PURE__ */ r(_, {
|
|
88
|
-
appId: c,
|
|
89
|
-
data: k,
|
|
90
|
-
search: e,
|
|
91
|
-
onItemClick: (t) => {
|
|
92
|
-
L && L(t), y(!1);
|
|
93
|
-
}
|
|
94
|
-
})
|
|
95
|
-
}, "system")
|
|
96
|
-
})
|
|
97
|
-
}),
|
|
98
|
-
children: b != null && b.length ? /* @__PURE__ */ r(A, {
|
|
99
|
-
disabled: W,
|
|
100
|
-
style: {
|
|
101
|
-
width: "24px"
|
|
102
|
-
},
|
|
103
|
-
className: M({
|
|
104
|
-
"prompt-btn": !0,
|
|
105
|
-
active: f
|
|
106
|
-
}),
|
|
107
|
-
type: "text",
|
|
108
|
-
icon: /* @__PURE__ */ r(X, {
|
|
109
|
-
type: "icon-tishiyu1",
|
|
110
|
-
style: {
|
|
111
|
-
fontSize: 24
|
|
112
|
-
}
|
|
113
|
-
}),
|
|
114
|
-
onClick: () => y(!0)
|
|
115
|
-
}) : null
|
|
116
|
-
});
|
|
117
|
-
};
|
|
118
|
-
export {
|
|
119
|
-
$ as default
|
|
120
|
-
};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { Drawer as c } from "antd";
|
|
3
|
-
import { useContext as p } from "react";
|
|
4
|
-
/* empty css */import u from "../../../../context.mjs";
|
|
5
|
-
import C from "../../../../components/Sider/index.mjs";
|
|
6
|
-
const V = (l) => {
|
|
7
|
-
const {
|
|
8
|
-
currentSession: e,
|
|
9
|
-
disabled: y = !1,
|
|
10
|
-
application: m,
|
|
11
|
-
networkStatus: d,
|
|
12
|
-
setCurrentSession: f,
|
|
13
|
-
isSessionHistoryVisible: S,
|
|
14
|
-
setIsSessionHistoryVisible: o,
|
|
15
|
-
onSessionChange: t
|
|
16
|
-
} = l, {
|
|
17
|
-
popupContainer: s
|
|
18
|
-
} = p(u);
|
|
19
|
-
return /* @__PURE__ */ n(c, {
|
|
20
|
-
title: "会话历史",
|
|
21
|
-
open: !0,
|
|
22
|
-
placement: "bottom",
|
|
23
|
-
onClose: () => {
|
|
24
|
-
o(!1);
|
|
25
|
-
},
|
|
26
|
-
className: "session-history-drawer",
|
|
27
|
-
size: "large",
|
|
28
|
-
getContainer: () => (s == null ? void 0 : s.current) || document.body,
|
|
29
|
-
destroyOnClose: !0,
|
|
30
|
-
style: {
|
|
31
|
-
position: "absolute"
|
|
32
|
-
},
|
|
33
|
-
children: /* @__PURE__ */ n(C, {
|
|
34
|
-
isShowHeader: !1,
|
|
35
|
-
application: m,
|
|
36
|
-
networkStatus: d,
|
|
37
|
-
currentSession: e,
|
|
38
|
-
setCurrentSession: f,
|
|
39
|
-
afterSessionClick: (r) => {
|
|
40
|
-
var i, a;
|
|
41
|
-
((i = r.data) == null ? void 0 : i.id) !== ((a = e == null ? void 0 : e.data) == null ? void 0 : a.id) && (o(!1), t == null || t(r));
|
|
42
|
-
}
|
|
43
|
-
})
|
|
44
|
-
});
|
|
45
|
-
};
|
|
46
|
-
export {
|
|
47
|
-
V as default
|
|
48
|
-
};
|
package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/NameEditPanel.mjs
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { jsxs as u, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useState as C, useEffect as f } from "react";
|
|
3
|
-
import { Input as p, Button as c } from "antd";
|
|
4
|
-
/* empty css */import { CheckOutlined as d, CloseOutlined as k } from "@ant-design/icons";
|
|
5
|
-
const V = (m) => {
|
|
6
|
-
const {
|
|
7
|
-
session: t,
|
|
8
|
-
onChangeEditStatus: o,
|
|
9
|
-
onEditNameConfirm: r
|
|
10
|
-
} = m, [a, i] = C("");
|
|
11
|
-
return f(() => {
|
|
12
|
-
var l, s;
|
|
13
|
-
const n = ((s = (l = t.data) == null ? void 0 : l.name) == null ? void 0 : s.slice(0, 20)) || "";
|
|
14
|
-
i(n);
|
|
15
|
-
}, [t]), /* @__PURE__ */ u("div", {
|
|
16
|
-
className: "name-edit-panel",
|
|
17
|
-
children: [/* @__PURE__ */ e(p, {
|
|
18
|
-
value: a,
|
|
19
|
-
showCount: !0,
|
|
20
|
-
className: "name-edit-input",
|
|
21
|
-
maxLength: 20,
|
|
22
|
-
onChange: (n) => i(n.target.value)
|
|
23
|
-
}), /* @__PURE__ */ e(c, {
|
|
24
|
-
type: "link",
|
|
25
|
-
icon: /* @__PURE__ */ e(d, {}),
|
|
26
|
-
style: {
|
|
27
|
-
color: "#30BF13",
|
|
28
|
-
right: 40
|
|
29
|
-
},
|
|
30
|
-
onClick: () => {
|
|
31
|
-
r(t, a), o("", !1);
|
|
32
|
-
}
|
|
33
|
-
}), /* @__PURE__ */ e(c, {
|
|
34
|
-
type: "link",
|
|
35
|
-
icon: /* @__PURE__ */ e(k, {}),
|
|
36
|
-
style: {
|
|
37
|
-
color: "#84868C"
|
|
38
|
-
},
|
|
39
|
-
onClick: () => {
|
|
40
|
-
o("", !1);
|
|
41
|
-
}
|
|
42
|
-
})]
|
|
43
|
-
});
|
|
44
|
-
};
|
|
45
|
-
export {
|
|
46
|
-
V as default
|
|
47
|
-
};
|