@glodon-aiot/agent-cli-ui 3.1.0-beta.16 → 3.2.2-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/AgentClientUI.mjs +40 -39
- package/dist/es/Dialog/AgentChat/index.mjs +283 -264
- package/dist/es/Dialog/AgentChat/style.less.mjs +4 -0
- package/dist/es/Dialog/ConnectToNetwork/index.mjs +19 -18
- package/dist/es/Dialog/ConnectToNetwork/style.less.mjs +4 -0
- package/dist/es/Dialog/FileCard/index.mjs +22 -21
- package/dist/es/Dialog/FileCard/style.less.mjs +4 -0
- package/dist/es/Dialog/FilePreview/index.mjs +14 -13
- package/dist/es/Dialog/FilePreview/style.less.mjs +4 -0
- package/dist/es/Dialog/Greeting/index.mjs +5 -4
- package/dist/es/Dialog/Greeting/style.less.mjs +4 -0
- package/dist/es/Dialog/HistoryContent/index.mjs +6 -5
- package/dist/es/Dialog/HistoryContent/style.less.mjs +4 -0
- package/dist/es/Dialog/HistoryItem/index.mjs +127 -125
- package/dist/es/Dialog/HistoryItem/style.less.mjs +4 -0
- package/dist/es/Dialog/KnowledgeDoc/index.mjs +23 -22
- package/dist/es/Dialog/KnowledgeDoc/style.less.mjs +4 -0
- package/dist/es/Dialog/KnowledgeList/KnowledgeSelect/index.mjs +14 -13
- package/dist/es/Dialog/KnowledgeList/KnowledgeSelect/style.less.mjs +4 -0
- package/dist/es/Dialog/KnowledgeList/index.mjs +29 -28
- package/dist/es/Dialog/KnowledgeList/style.less.mjs +4 -0
- package/dist/es/Dialog/PromptManager/PromptList/PromptListItem.mjs +19 -19
- package/dist/es/Dialog/PromptManager/PromptList/PublicPromptList.mjs +17 -16
- package/dist/es/Dialog/PromptManager/PromptList/style.less.mjs +4 -0
- package/dist/es/Dialog/PromptManager/index.mjs +17 -16
- package/dist/es/Dialog/PromptManager/style.less.mjs +4 -0
- package/dist/es/Dialog/PromptSetting/index.mjs +32 -32
- package/dist/es/Dialog/PromptSetting/style.less.mjs +4 -0
- package/dist/es/Dialog/Recommend/RecommendItem.mjs +12 -11
- package/dist/es/Dialog/Recommend/index.mjs +23 -23
- package/dist/es/Dialog/Recommend/style.less.mjs +4 -0
- package/dist/es/Dialog/ReferCollapse/index.mjs +29 -28
- package/dist/es/Dialog/ReferCollapse/style.less.mjs +4 -0
- package/dist/es/Dialog/SearchReference/index.mjs +13 -12
- package/dist/es/Dialog/SearchReference/style.less.mjs +4 -0
- package/dist/es/Dialog/SessionAction/index.mjs +30 -29
- package/dist/es/Dialog/SessionAction/style.less.mjs +4 -0
- package/dist/es/Dialog/SessionList/index.mjs +51 -51
- package/dist/es/Dialog/SessionList/style.less.mjs +4 -0
- package/dist/es/Dialog/SessionListDrawer/HistorySessionList/NameEditPanel.mjs +11 -10
- package/dist/es/Dialog/SessionListDrawer/HistorySessionList/SessionItem.mjs +15 -14
- package/dist/es/Dialog/SessionListDrawer/HistorySessionList/index.mjs +48 -47
- package/dist/es/Dialog/SessionListDrawer/HistorySessionList/style.less.mjs +4 -0
- package/dist/es/Dialog/SessionListDrawer/index.mjs +9 -8
- package/dist/es/Dialog/SessionListDrawer/style.less.mjs +4 -0
- package/dist/es/Dialog/SessionRefer/ReferItem/index.mjs +26 -25
- package/dist/es/Dialog/SessionRefer/ReferItem/style.less.mjs +4 -0
- package/dist/es/Dialog/SessionRefer/index.mjs +21 -20
- package/dist/es/Dialog/SessionRefer/style.less.mjs +4 -0
- package/dist/es/Dialog/SessionRelated/index.mjs +18 -17
- package/dist/es/Dialog/SessionRelated/style.less.mjs +4 -0
- package/dist/es/Dialog/UploadKnowledgeFiles/ClearModal/index.mjs +9 -8
- package/dist/es/Dialog/UploadKnowledgeFiles/ClearModal/style.less.mjs +4 -0
- package/dist/es/Dialog/UploadKnowledgeFiles/index.mjs +117 -117
- package/dist/es/Dialog/UploadKnowledgeFiles/style.less.mjs +4 -0
- package/dist/es/Dialog/UploadingPrompt/index.mjs +6 -5
- package/dist/es/Dialog/UploadingPrompt/style.less.mjs +4 -0
- package/dist/es/Dialog/index.mjs +58 -57
- package/dist/es/Dialog/style.less.mjs +4 -0
- package/dist/es/FileItem/index.mjs +23 -22
- package/dist/es/FileItem/style.less.mjs +4 -0
- package/dist/es/Footer/FooterWarning.mjs +14 -13
- package/dist/es/Footer/index.mjs +7 -6
- package/dist/es/Footer/style.less.mjs +4 -0
- package/dist/es/InputProgress/index.mjs +10 -9
- package/dist/es/InputProgress/style.less.mjs +4 -0
- package/dist/es/QuillEditor/index.mjs +34 -34
- package/dist/es/QuillEditor/style.less.mjs +4 -0
- package/dist/es/_virtual/_cloneBuffer.mjs +4 -0
- package/dist/es/_virtual/_commonjsHelpers.mjs +8 -0
- package/dist/es/_virtual/_nodeUtil.mjs +4 -0
- package/dist/es/_virtual/index.mjs +4 -0
- package/dist/es/_virtual/isBuffer.mjs +4 -0
- package/dist/es/_virtual/jsx-runtime.mjs +7 -0
- package/dist/es/_virtual/jsx-runtime2.mjs +4 -0
- package/dist/es/_virtual/lib.mjs +4 -0
- package/dist/es/_virtual/react-jsx-runtime.production.min.mjs +4 -0
- package/dist/es/_virtual/ua-parser.min.mjs +4 -0
- package/dist/es/components/Copy/index.mjs +21 -20
- package/dist/es/components/Copy/style.less.mjs +4 -0
- package/dist/es/components/JsonDisplay/index.mjs +5 -4
- package/dist/es/components/JsonDisplay/style.less.mjs +4 -0
- package/dist/es/components/Markdown/ATag/index.mjs +7 -7
- package/dist/es/components/Markdown/Code/index.mjs +33 -33
- package/dist/es/components/Markdown/Image/index.mjs +17 -16
- package/dist/es/components/Markdown/Video/index.mjs +13 -13
- package/dist/es/components/Markdown/index.mjs +36 -35
- package/dist/es/components/Markdown/style.less.mjs +4 -0
- package/dist/es/components/WebLink/index.mjs +9 -9
- package/dist/es/favicon.ico +0 -0
- package/dist/es/favicon2.ico +0 -0
- package/dist/es/font/font_4108228_4w5nlhafpte.js +1 -0
- package/dist/es/font/font_4439177_0sppkcnqiqgs.js +1 -0
- package/dist/es/font/gos-font.js +64 -0
- package/dist/es/images/empty.svg +40 -0
- package/dist/es/images/loading.gif +0 -0
- package/dist/es/images/logo.png +0 -0
- package/dist/es/images/map-example.png +0 -0
- package/dist/es/images/sketch.png +0 -0
- package/dist/es/index.html +43 -0
- package/dist/es/index.mjs +32 -26
- package/dist/es/logo192.png +0 -0
- package/dist/es/logo512.png +0 -0
- package/dist/es/manifest.json +25 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/extends.mjs +13 -0
- package/dist/es/node_modules/@react-spring/animated/dist/react-spring-animated.esm.mjs +201 -0
- package/dist/es/node_modules/@react-spring/core/dist/react-spring-core.esm.mjs +1087 -0
- package/dist/es/node_modules/@react-spring/rafz/dist/react-spring-rafz.esm.mjs +104 -0
- package/dist/es/node_modules/@react-spring/shared/dist/react-spring-shared.esm.mjs +568 -0
- package/dist/es/node_modules/@react-spring/web/dist/react-spring-web.esm.mjs +158 -0
- package/dist/es/node_modules/@use-gesture/core/dist/actions-fe213e88.esm.mjs +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/ahooks/es/useKeyPress/index.mjs +221 -0
- package/dist/es/node_modules/ahooks/es/useLatest/index.mjs +8 -0
- package/dist/es/node_modules/ahooks/es/useMemoizedFn/index.mjs +19 -0
- package/dist/es/node_modules/ahooks/es/useRafState/index.mjs +16 -0
- package/dist/es/node_modules/ahooks/es/useSize/index.mjs +34 -0
- package/dist/es/node_modules/ahooks/es/useUnmount/index.mjs +17 -0
- package/dist/es/node_modules/ahooks/es/useUnmountedRef/index.mjs +13 -0
- package/dist/es/node_modules/ahooks/es/utils/createEffectWithTarget.mjs +27 -0
- package/dist/es/node_modules/ahooks/es/utils/depsAreSame.mjs +11 -0
- package/dist/es/node_modules/ahooks/es/utils/depsEqual.mjs +7 -0
- package/dist/es/node_modules/ahooks/es/utils/domTarget.mjs +13 -0
- package/dist/es/node_modules/ahooks/es/utils/index.mjs +12 -0
- package/dist/es/node_modules/ahooks/es/utils/isAppleDevice.mjs +5 -0
- package/dist/es/node_modules/ahooks/es/utils/isBrowser.mjs +5 -0
- package/dist/es/node_modules/ahooks/es/utils/isDev.mjs +5 -0
- package/dist/es/node_modules/ahooks/es/utils/useDeepCompareWithTarget.mjs +11 -0
- package/dist/es/node_modules/ahooks/es/utils/useEffectWithTarget.mjs +7 -0
- package/dist/es/node_modules/ahooks/es/utils/useIsomorphicLayoutEffectWithTarget.mjs +8 -0
- package/dist/es/node_modules/ahooks/es/utils/useLayoutEffectWithTarget.mjs +7 -0
- package/dist/es/node_modules/antd/es/calendar/locale/zh_CN.mjs +4 -0
- package/dist/es/node_modules/antd/es/date-picker/locale/zh_CN.mjs +23 -0
- package/dist/es/node_modules/antd/es/locale/zh_CN.mjs +132 -0
- package/dist/es/node_modules/antd/es/time-picker/locale/zh_CN.mjs +8 -0
- package/dist/es/node_modules/antd-mobile/es/components/config-provider/config-provider.mjs +20 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/image-viewer.css.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/image-viewer.mjs +76 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/index.mjs +14 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/methods.mjs +34 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/slide.mjs +172 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/slides.mjs +81 -0
- package/dist/es/node_modules/antd-mobile/es/components/mask/index.mjs +5 -0
- package/dist/es/node_modules/antd-mobile/es/components/mask/mask.css.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/components/mask/mask.mjs +84 -0
- package/dist/es/node_modules/antd-mobile/es/components/safe-area/index.mjs +5 -0
- package/dist/es/node_modules/antd-mobile/es/components/safe-area/safe-area.css.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/components/safe-area/safe-area.mjs +9 -0
- package/dist/es/node_modules/antd-mobile/es/global/global.css.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/global/index.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/locales/zh-CN.mjs +141 -0
- package/dist/es/node_modules/antd-mobile/es/utils/attach-properties-to-component.mjs +9 -0
- package/dist/es/node_modules/antd-mobile/es/utils/bound.mjs +7 -0
- package/dist/es/node_modules/antd-mobile/es/utils/can-use-dom.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/utils/convert-px.mjs +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 +46 -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/classnames/index.mjs +42 -0
- package/dist/es/node_modules/comma-separated-tokens/index.mjs +13 -0
- package/dist/es/node_modules/copy-to-clipboard/index.mjs +46 -0
- package/dist/es/node_modules/devlop/lib/default.mjs +5 -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/hastscript/lib/create-h.mjs +126 -0
- package/dist/es/node_modules/hast-util-from-dom/node_modules/hastscript/lib/index.mjs +8 -0
- package/dist/es/node_modules/hast-util-from-dom/node_modules/hastscript/lib/svg-case-sensitive-tag-names.mjs +4 -0
- package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/index.mjs +12 -0
- package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/aria.mjs +61 -0
- package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/find.mjs +33 -0
- package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/html.mjs +368 -0
- package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/normalize.mjs +6 -0
- package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/svg.mjs +566 -0
- package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/util/case-insensitive-transform.mjs +7 -0
- package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/util/case-sensitive-transform.mjs +6 -0
- package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/util/create.mjs +14 -0
- package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/util/defined-info.mjs +36 -0
- package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/util/info.mjs +28 -0
- package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/util/merge.mjs +10 -0
- package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/util/schema.mjs +21 -0
- package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/util/types.mjs +15 -0
- package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/xlink.mjs +19 -0
- package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/xml.mjs +15 -0
- package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/xmlns.mjs +16 -0
- package/dist/es/node_modules/hast-util-from-html-isomorphic/lib/browser.mjs +16 -0
- package/dist/es/node_modules/hast-util-is-element/lib/index.mjs +61 -0
- package/dist/es/node_modules/hast-util-parse-selector/lib/index.mjs +20 -0
- package/dist/es/node_modules/hast-util-to-text/lib/index.mjs +223 -0
- package/dist/es/node_modules/katex/dist/katex.min.css.mjs +4 -0
- package/dist/es/node_modules/katex/dist/katex.mjs +11700 -0
- package/dist/es/node_modules/lodash/_Hash.mjs +22 -0
- package/dist/es/node_modules/lodash/_ListCache.mjs +22 -0
- package/dist/es/node_modules/lodash/_Map.mjs +6 -0
- package/dist/es/node_modules/lodash/_MapCache.mjs +22 -0
- package/dist/es/node_modules/lodash/_Stack.mjs +20 -0
- package/dist/es/node_modules/lodash/_Symbol.mjs +5 -0
- package/dist/es/node_modules/lodash/_Uint8Array.mjs +5 -0
- package/dist/es/node_modules/lodash/_apply.mjs +17 -0
- package/dist/es/node_modules/lodash/_arrayLikeKeys.mjs +21 -0
- package/dist/es/node_modules/lodash/_assignMergeValue.mjs +10 -0
- package/dist/es/node_modules/lodash/_assignValue.mjs +11 -0
- package/dist/es/node_modules/lodash/_assocIndexOf.mjs +12 -0
- package/dist/es/node_modules/lodash/_baseAssignValue.mjs +14 -0
- package/dist/es/node_modules/lodash/_baseCreate.mjs +17 -0
- package/dist/es/node_modules/lodash/_baseFor.mjs +5 -0
- package/dist/es/node_modules/lodash/_baseGetTag.mjs +11 -0
- package/dist/es/node_modules/lodash/_baseIsArguments.mjs +10 -0
- package/dist/es/node_modules/lodash/_baseIsNative.mjs +15 -0
- package/dist/es/node_modules/lodash/_baseIsTypedArray.mjs +13 -0
- package/dist/es/node_modules/lodash/_baseKeysIn.mjs +16 -0
- package/dist/es/node_modules/lodash/_baseMerge.mjs +22 -0
- package/dist/es/node_modules/lodash/_baseMergeDeep.mjs +33 -0
- package/dist/es/node_modules/lodash/_baseRest.mjs +11 -0
- package/dist/es/node_modules/lodash/_baseSetToString.mjs +14 -0
- package/dist/es/node_modules/lodash/_baseTimes.mjs +9 -0
- package/dist/es/node_modules/lodash/_baseTrim.mjs +9 -0
- package/dist/es/node_modules/lodash/_baseUnary.mjs +9 -0
- package/dist/es/node_modules/lodash/_cloneArrayBuffer.mjs +10 -0
- package/dist/es/node_modules/lodash/_cloneBuffer.mjs +17 -0
- package/dist/es/node_modules/lodash/_cloneTypedArray.mjs +10 -0
- package/dist/es/node_modules/lodash/_copyArray.mjs +10 -0
- package/dist/es/node_modules/lodash/_copyObject.mjs +16 -0
- package/dist/es/node_modules/lodash/_coreJsData.mjs +5 -0
- package/dist/es/node_modules/lodash/_createAssigner.mjs +17 -0
- package/dist/es/node_modules/lodash/_createBaseFor.mjs +14 -0
- package/dist/es/node_modules/lodash/_defineProperty.mjs +11 -0
- package/dist/es/node_modules/lodash/_freeGlobal.mjs +5 -0
- package/dist/es/node_modules/lodash/_getMapData.mjs +10 -0
- package/dist/es/node_modules/lodash/_getNative.mjs +11 -0
- package/dist/es/node_modules/lodash/_getPrototype.mjs +5 -0
- package/dist/es/node_modules/lodash/_getRawTag.mjs +16 -0
- package/dist/es/node_modules/lodash/_getValue.mjs +7 -0
- package/dist/es/node_modules/lodash/_hashClear.mjs +9 -0
- package/dist/es/node_modules/lodash/_hashDelete.mjs +8 -0
- package/dist/es/node_modules/lodash/_hashGet.mjs +14 -0
- package/dist/es/node_modules/lodash/_hashHas.mjs +10 -0
- package/dist/es/node_modules/lodash/_hashSet.mjs +10 -0
- package/dist/es/node_modules/lodash/_initCloneObject.mjs +11 -0
- package/dist/es/node_modules/lodash/_isIndex.mjs +9 -0
- package/dist/es/node_modules/lodash/_isIterateeCall.mjs +15 -0
- package/dist/es/node_modules/lodash/_isKeyable.mjs +8 -0
- package/dist/es/node_modules/lodash/_isMasked.mjs +12 -0
- package/dist/es/node_modules/lodash/_isPrototype.mjs +9 -0
- package/dist/es/node_modules/lodash/_listCacheClear.mjs +7 -0
- package/dist/es/node_modules/lodash/_listCacheDelete.mjs +13 -0
- package/dist/es/node_modules/lodash/_listCacheGet.mjs +10 -0
- package/dist/es/node_modules/lodash/_listCacheHas.mjs +9 -0
- package/dist/es/node_modules/lodash/_listCacheSet.mjs +10 -0
- package/dist/es/node_modules/lodash/_mapCacheClear.mjs +15 -0
- package/dist/es/node_modules/lodash/_mapCacheDelete.mjs +10 -0
- package/dist/es/node_modules/lodash/_mapCacheGet.mjs +9 -0
- package/dist/es/node_modules/lodash/_mapCacheHas.mjs +9 -0
- package/dist/es/node_modules/lodash/_mapCacheSet.mjs +10 -0
- package/dist/es/node_modules/lodash/_nativeCreate.mjs +5 -0
- package/dist/es/node_modules/lodash/_nativeKeysIn.mjs +11 -0
- package/dist/es/node_modules/lodash/_nodeUtil.mjs +17 -0
- package/dist/es/node_modules/lodash/_objectToString.mjs +8 -0
- package/dist/es/node_modules/lodash/_overArg.mjs +9 -0
- package/dist/es/node_modules/lodash/_overRest.mjs +16 -0
- package/dist/es/node_modules/lodash/_root.mjs +5 -0
- package/dist/es/node_modules/lodash/_safeGet.mjs +8 -0
- package/dist/es/node_modules/lodash/_setToString.mjs +6 -0
- package/dist/es/node_modules/lodash/_shortOut.mjs +17 -0
- package/dist/es/node_modules/lodash/_stackClear.mjs +9 -0
- package/dist/es/node_modules/lodash/_stackDelete.mjs +8 -0
- package/dist/es/node_modules/lodash/_stackGet.mjs +7 -0
- package/dist/es/node_modules/lodash/_stackHas.mjs +7 -0
- package/dist/es/node_modules/lodash/_stackSet.mjs +18 -0
- package/dist/es/node_modules/lodash/_toSource.mjs +18 -0
- package/dist/es/node_modules/lodash/_trimmedEndIndex.mjs +10 -0
- package/dist/es/node_modules/lodash/constant.mjs +9 -0
- package/dist/es/node_modules/lodash/debounce.mjs +57 -0
- package/dist/es/node_modules/lodash/eq.mjs +7 -0
- package/dist/es/node_modules/lodash/identity.mjs +7 -0
- package/dist/es/node_modules/lodash/isArguments.mjs +10 -0
- package/dist/es/node_modules/lodash/isArray.mjs +4 -0
- package/dist/es/node_modules/lodash/isArrayLike.mjs +10 -0
- package/dist/es/node_modules/lodash/isArrayLikeObject.mjs +10 -0
- package/dist/es/node_modules/lodash/isBuffer.mjs +12 -0
- package/dist/es/node_modules/lodash/isFunction.mjs +13 -0
- package/dist/es/node_modules/lodash/isLength.mjs +8 -0
- package/dist/es/node_modules/lodash/isObject.mjs +8 -0
- package/dist/es/node_modules/lodash/isObjectLike.mjs +7 -0
- package/dist/es/node_modules/lodash/isPlainObject.mjs +17 -0
- package/dist/es/node_modules/lodash/isSymbol.mjs +10 -0
- package/dist/es/node_modules/lodash/isTypedArray.mjs +7 -0
- package/dist/es/node_modules/lodash/keysIn.mjs +11 -0
- package/dist/es/node_modules/lodash/merge.mjs +10 -0
- package/dist/es/node_modules/lodash/now.mjs +7 -0
- package/dist/es/node_modules/lodash/stubFalse.mjs +7 -0
- package/dist/es/node_modules/lodash/toNumber.mjs +23 -0
- package/dist/es/node_modules/lodash/toPlainObject.mjs +10 -0
- package/dist/es/node_modules/longest-streak/index.mjs +12 -0
- package/dist/es/node_modules/mdast-util-math/lib/index.mjs +170 -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-space/index.mjs +15 -0
- package/dist/es/node_modules/micromark-util-character/index.mjs +10 -0
- package/dist/es/node_modules/object-assign/index.mjs +34 -0
- package/dist/es/node_modules/rc-pagination/es/locale/zh_CN.mjs +18 -0
- package/dist/es/node_modules/rc-picker/es/locale/zh_CN.mjs +31 -0
- package/dist/es/node_modules/react/cjs/react-jsx-runtime.production.min.mjs +45 -0
- package/dist/es/node_modules/react/jsx-runtime.mjs +8 -0
- package/dist/es/node_modules/react-device-detect/dist/lib.mjs +723 -0
- package/dist/es/node_modules/react-fast-compare/index.mjs +78 -0
- package/dist/es/node_modules/react-infinite-scroll-component/dist/index.es.mjs +188 -0
- package/dist/es/node_modules/react-quill/dist/quill.snow.css.mjs +4 -0
- package/dist/es/node_modules/rehype-katex/lib/index.mjs +83 -0
- package/dist/es/node_modules/remark-math/lib/index.mjs +13 -0
- package/dist/es/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.mjs +294 -0
- package/dist/es/node_modules/space-separated-tokens/index.mjs +7 -0
- package/dist/es/node_modules/toggle-selection/index.mjs +25 -0
- package/dist/es/node_modules/tslib/tslib.es6.mjs +64 -0
- package/dist/es/node_modules/ua-parser-js/dist/ua-parser.min.mjs +120 -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-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/web-namespaces/index.mjs +11 -0
- package/dist/es/packages/agent-cli-ui/node_modules/uuid/dist/esm-browser/native.mjs +4 -0
- package/dist/es/packages/agent-cli-ui/node_modules/uuid/dist/esm-browser/rng.mjs +13 -0
- package/dist/es/packages/agent-cli-ui/node_modules/uuid/dist/esm-browser/stringify.mjs +9 -0
- package/dist/es/packages/agent-cli-ui/node_modules/uuid/dist/esm-browser/v4.mjs +23 -0
- package/dist/es/robots.txt +3 -0
- package/dist/es/style.less.mjs +4 -0
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/favicon2.ico +0 -0
- package/dist/lib/font/font_4108228_4w5nlhafpte.js +1 -0
- package/dist/lib/font/font_4439177_0sppkcnqiqgs.js +1 -0
- package/dist/lib/font/gos-font.js +64 -0
- package/dist/lib/images/empty.svg +40 -0
- package/dist/lib/images/loading.gif +0 -0
- package/dist/lib/images/logo.png +0 -0
- package/dist/lib/images/map-example.png +0 -0
- package/dist/lib/images/sketch.png +0 -0
- package/dist/lib/index.html +43 -0
- package/dist/lib/index.js +311 -5
- package/dist/lib/logo192.png +0 -0
- package/dist/lib/logo512.png +0 -0
- package/dist/lib/manifest.json +25 -0
- package/dist/lib/robots.txt +3 -0
- package/dist/src/Dialog/HistoryItem/index.d.ts +1 -0
- package/dist/src/types.d.ts +1 -1
- package/package.json +6 -24
- 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 -0
- 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/lib/index.css +0 -1
|
@@ -1,36 +1,37 @@
|
|
|
1
|
-
import { jsx as e, Fragment as
|
|
1
|
+
import { jsx as e, Fragment as g, jsxs as c } from "../../_virtual/jsx-runtime.mjs";
|
|
2
2
|
import { useState as l, useEffect as d } from "react";
|
|
3
|
-
|
|
4
|
-
import {
|
|
3
|
+
import "./style.less.mjs";
|
|
4
|
+
import { Button as k } from "antd";
|
|
5
|
+
import { CloseOutlined as v } from "@ant-design/icons";
|
|
5
6
|
import f from "../../Iconfont/index.mjs";
|
|
6
|
-
const
|
|
7
|
+
const F = (p) => {
|
|
7
8
|
const {
|
|
8
9
|
sessionId: u,
|
|
9
10
|
netStatus: s,
|
|
10
11
|
enable: t,
|
|
11
12
|
disabledTip: a = "上传文件后,该会话自动停止网络访问",
|
|
12
13
|
onNetStatusChange: m
|
|
13
|
-
} = p, [
|
|
14
|
+
} = p, [h, i] = l(!1), [o, r] = l(!1), [C, n] = l(
|
|
14
15
|
"#070C14"
|
|
15
16
|
/* default */
|
|
16
17
|
);
|
|
17
18
|
d(() => {
|
|
18
|
-
|
|
19
|
+
r(!t), t || n(
|
|
19
20
|
"#070C14"
|
|
20
21
|
/* default */
|
|
21
22
|
);
|
|
22
23
|
}, [u, t]);
|
|
23
24
|
const S = () => {
|
|
24
|
-
|
|
25
|
+
r(!1);
|
|
25
26
|
};
|
|
26
27
|
d(() => {
|
|
27
28
|
i(o);
|
|
28
29
|
}, [o]);
|
|
29
|
-
const y = (
|
|
30
|
-
m(
|
|
30
|
+
const y = (b) => {
|
|
31
|
+
m(b);
|
|
31
32
|
};
|
|
32
|
-
return /* @__PURE__ */ e(
|
|
33
|
-
children: /* @__PURE__ */
|
|
33
|
+
return /* @__PURE__ */ e(g, {
|
|
34
|
+
children: /* @__PURE__ */ c("div", {
|
|
34
35
|
className: "connect",
|
|
35
36
|
onMouseEnter: () => {
|
|
36
37
|
i(!0);
|
|
@@ -38,7 +39,7 @@ const v = (p) => {
|
|
|
38
39
|
onMouseLeave: () => {
|
|
39
40
|
o || i(!1);
|
|
40
41
|
},
|
|
41
|
-
children: [/* @__PURE__ */ e(
|
|
42
|
+
children: [/* @__PURE__ */ e(k, {
|
|
42
43
|
type: "link",
|
|
43
44
|
icon: s ? /* @__PURE__ */ e(f, {
|
|
44
45
|
className: "link-btn",
|
|
@@ -50,7 +51,7 @@ const v = (p) => {
|
|
|
50
51
|
className: "link-not-btn",
|
|
51
52
|
type: "icon-lianwangguanbi",
|
|
52
53
|
style: {
|
|
53
|
-
color:
|
|
54
|
+
color: C,
|
|
54
55
|
fontSize: 22
|
|
55
56
|
},
|
|
56
57
|
onMouseEnter: () => {
|
|
@@ -68,9 +69,9 @@ const v = (p) => {
|
|
|
68
69
|
onClick: () => {
|
|
69
70
|
y(!s);
|
|
70
71
|
}
|
|
71
|
-
}),
|
|
72
|
+
}), h && /* @__PURE__ */ e("div", {
|
|
72
73
|
className: "net-tip",
|
|
73
|
-
children: t ? s ? "网络访问已开启" : "网络访问已关闭" : o ? /* @__PURE__ */
|
|
74
|
+
children: t ? s ? "网络访问已开启" : "网络访问已关闭" : o ? /* @__PURE__ */ c("div", {
|
|
74
75
|
style: {
|
|
75
76
|
display: "flex",
|
|
76
77
|
gap: 6
|
|
@@ -78,7 +79,7 @@ const v = (p) => {
|
|
|
78
79
|
children: [/* @__PURE__ */ e("span", {
|
|
79
80
|
children: a
|
|
80
81
|
}), /* @__PURE__ */ e("div", {
|
|
81
|
-
children: /* @__PURE__ */ e(
|
|
82
|
+
children: /* @__PURE__ */ e(v, {
|
|
82
83
|
onClick: S
|
|
83
84
|
})
|
|
84
85
|
})]
|
|
@@ -86,7 +87,7 @@ const v = (p) => {
|
|
|
86
87
|
})]
|
|
87
88
|
})
|
|
88
89
|
});
|
|
89
|
-
}
|
|
90
|
+
};
|
|
90
91
|
export {
|
|
91
|
-
|
|
92
|
+
F as default
|
|
92
93
|
};
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { jsxs as r, jsx as i, Fragment as U } from "
|
|
1
|
+
import { jsxs as r, jsx as i, Fragment as U } from "../../_virtual/jsx-runtime.mjs";
|
|
2
2
|
import { useState as d, useEffect as a } from "react";
|
|
3
|
-
|
|
3
|
+
import "./style.less.mjs";
|
|
4
|
+
import z from "./doc-icons/pdf.svg.mjs";
|
|
4
5
|
import j from "./doc-icons/doc.svg.mjs";
|
|
5
6
|
import O from "./doc-icons/docx.svg.mjs";
|
|
6
7
|
import { Typography as P, Spin as T } from "antd";
|
|
7
|
-
import { LoadingOutlined as
|
|
8
|
-
import { KnowledgeFileStatus as
|
|
9
|
-
import
|
|
8
|
+
import { LoadingOutlined as K, CloseCircleFilled as L, CloseOutlined as N } from "@ant-design/icons";
|
|
9
|
+
import { KnowledgeFileStatus as F } from "@glodon-aiot/apis";
|
|
10
|
+
import $ from "../../Iconfont/index.mjs";
|
|
10
11
|
import { getFileExtension as b } from "../../utils/index.mjs";
|
|
11
12
|
const q = {
|
|
12
13
|
doc: j,
|
|
13
14
|
docx: O,
|
|
14
15
|
pdf: z
|
|
15
|
-
},
|
|
16
|
+
}, Y = (n) => {
|
|
16
17
|
const {
|
|
17
18
|
className: k,
|
|
18
19
|
style: S,
|
|
@@ -27,30 +28,30 @@ const q = {
|
|
|
27
28
|
} = {},
|
|
28
29
|
onUrlChange: g,
|
|
29
30
|
onStatusChange: v
|
|
30
|
-
} = n, y = b((e == null ? void 0 : e.name) || ""), [
|
|
31
|
+
} = n, y = b((e == null ? void 0 : e.name) || ""), [w, s] = d(n.uploading), [A, E] = d(!1);
|
|
31
32
|
a(() => {
|
|
32
33
|
s(n.uploading);
|
|
33
34
|
}, [n.uploading]);
|
|
34
|
-
const [
|
|
35
|
+
const [x, C] = d(n.url);
|
|
35
36
|
a(() => {
|
|
36
|
-
|
|
37
|
+
C(n.url);
|
|
37
38
|
}, [n.url]), a(() => {
|
|
38
|
-
m && e instanceof File && (
|
|
39
|
+
m && e instanceof File && (x || (s(!0), setTimeout(() => {
|
|
39
40
|
s(!1);
|
|
40
41
|
}, 2e3), m(e).then((t) => {
|
|
41
|
-
|
|
42
|
+
C(t), g && g(t);
|
|
42
43
|
}).catch((t) => E(t)).finally(() => {
|
|
43
44
|
s(!1);
|
|
44
45
|
})));
|
|
45
|
-
}, [m,
|
|
46
|
+
}, [m, x, e]);
|
|
46
47
|
const [c, h] = d(e instanceof File || e == null ? void 0 : e.status);
|
|
47
48
|
a(() => {
|
|
48
49
|
h(e instanceof File || e == null ? void 0 : e.status);
|
|
49
50
|
}, [e]);
|
|
50
51
|
const I = () => {
|
|
51
|
-
o && f && c ===
|
|
52
|
+
o && f && c === F.Processing && f(o).then((t) => {
|
|
52
53
|
t !== c && (c !== void 0 && v && v(t), h(t));
|
|
53
|
-
}).catch((t) => h(
|
|
54
|
+
}).catch((t) => h(F.Failed));
|
|
54
55
|
};
|
|
55
56
|
return a(() => {
|
|
56
57
|
I();
|
|
@@ -79,7 +80,7 @@ const q = {
|
|
|
79
80
|
}), (e == null ? void 0 : e.status) === 1 ? /* @__PURE__ */ r("div", {
|
|
80
81
|
className: "analysis",
|
|
81
82
|
children: [/* @__PURE__ */ i(T, {
|
|
82
|
-
indicator: /* @__PURE__ */ i(
|
|
83
|
+
indicator: /* @__PURE__ */ i(K, {
|
|
83
84
|
style: {
|
|
84
85
|
fontSize: 16
|
|
85
86
|
},
|
|
@@ -95,13 +96,13 @@ const q = {
|
|
|
95
96
|
},
|
|
96
97
|
children: [/* @__PURE__ */ i("div", {
|
|
97
98
|
className: "file-action file-failed",
|
|
98
|
-
children: /* @__PURE__ */ i(
|
|
99
|
+
children: /* @__PURE__ */ i(L, {})
|
|
99
100
|
}), /* @__PURE__ */ i("div", {
|
|
100
101
|
className: "file-action file-remove",
|
|
101
102
|
onClick: () => {
|
|
102
103
|
l(e, o);
|
|
103
104
|
},
|
|
104
|
-
children: /* @__PURE__ */ i(
|
|
105
|
+
children: /* @__PURE__ */ i(N, {})
|
|
105
106
|
})]
|
|
106
107
|
}) : l && p && /* @__PURE__ */ r("div", {
|
|
107
108
|
style: {
|
|
@@ -113,7 +114,7 @@ const q = {
|
|
|
113
114
|
onClick: () => {
|
|
114
115
|
p(e, o);
|
|
115
116
|
},
|
|
116
|
-
children: /* @__PURE__ */ i(
|
|
117
|
+
children: /* @__PURE__ */ i($, {
|
|
117
118
|
type: "icon-xiazai",
|
|
118
119
|
style: {
|
|
119
120
|
fontSize: 16
|
|
@@ -124,11 +125,11 @@ const q = {
|
|
|
124
125
|
onClick: () => {
|
|
125
126
|
l(e, o);
|
|
126
127
|
},
|
|
127
|
-
children: /* @__PURE__ */ i(
|
|
128
|
+
children: /* @__PURE__ */ i(N, {})
|
|
128
129
|
})]
|
|
129
130
|
})]
|
|
130
131
|
}) : /* @__PURE__ */ i(U, {});
|
|
131
|
-
}
|
|
132
|
+
};
|
|
132
133
|
export {
|
|
133
|
-
|
|
134
|
+
Y as default
|
|
134
135
|
};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { jsxs as x, jsx as o, Fragment as U } from "
|
|
1
|
+
import { jsxs as x, jsx as o, Fragment as U } from "../../_virtual/jsx-runtime.mjs";
|
|
2
2
|
import { useState as s, useEffect as n } from "react";
|
|
3
|
-
|
|
3
|
+
import "./style.less.mjs";
|
|
4
|
+
import { Image as k, Spin as E, Tooltip as j, Button as z } from "antd";
|
|
4
5
|
import { LoadingOutlined as B } from "@ant-design/icons";
|
|
5
6
|
import I from "../../Iconfont/index.mjs";
|
|
6
7
|
import { AecKnowledgeFileStatus as F } from "@glodon-aiot/apis";
|
|
7
|
-
import { getBase64 as
|
|
8
|
-
const
|
|
8
|
+
import { getBase64 as A } from "../../utils/index.mjs";
|
|
9
|
+
const D = (i) => {
|
|
9
10
|
const {
|
|
10
11
|
className: y,
|
|
11
|
-
style:
|
|
12
|
+
style: N,
|
|
12
13
|
id: a,
|
|
13
14
|
file: e,
|
|
14
15
|
actions: {
|
|
@@ -18,7 +19,7 @@ const A = (i) => {
|
|
|
18
19
|
} = {},
|
|
19
20
|
onUrlChange: p,
|
|
20
21
|
onStatusChange: v
|
|
21
|
-
} = i, [f, u] = s(i.uploading), [K,
|
|
22
|
+
} = i, [f, u] = s(i.uploading), [K, S] = s(!1);
|
|
22
23
|
n(() => {
|
|
23
24
|
u(i.uploading);
|
|
24
25
|
}, [i.uploading]);
|
|
@@ -28,26 +29,26 @@ const A = (i) => {
|
|
|
28
29
|
}, [i.url]), n(() => {
|
|
29
30
|
l && e instanceof File && (m || f || (u(!0), l(e).then((t) => {
|
|
30
31
|
d(t), p && p(t);
|
|
31
|
-
}).catch((t) =>
|
|
32
|
+
}).catch((t) => S(t)).finally(() => u(!1))));
|
|
32
33
|
}, [l, m, e]);
|
|
33
34
|
const [r, g] = s(e instanceof File || e == null ? void 0 : e.status);
|
|
34
35
|
n(() => {
|
|
35
36
|
g(e instanceof File || e == null ? void 0 : e.status);
|
|
36
37
|
}, [e]);
|
|
37
|
-
const
|
|
38
|
+
const C = () => {
|
|
38
39
|
a && c && r === F.Processing && c(a).then((t) => {
|
|
39
40
|
t !== r && (r !== void 0 && v && v(t), g(t));
|
|
40
41
|
}).catch((t) => g(F.Failed));
|
|
41
42
|
};
|
|
42
43
|
return n(() => {
|
|
43
|
-
|
|
44
|
+
C();
|
|
44
45
|
}, [a, c, r]), n(() => {
|
|
45
|
-
|
|
46
|
+
A(e).then((t) => {
|
|
46
47
|
d(t);
|
|
47
48
|
});
|
|
48
49
|
}, [e]), e ? /* @__PURE__ */ x("div", {
|
|
49
50
|
className: `file-preview ${y}`,
|
|
50
|
-
style:
|
|
51
|
+
style: N,
|
|
51
52
|
children: [/* @__PURE__ */ o(k, {
|
|
52
53
|
src: m,
|
|
53
54
|
className: "file-icon"
|
|
@@ -76,7 +77,7 @@ const A = (i) => {
|
|
|
76
77
|
})
|
|
77
78
|
})]
|
|
78
79
|
}) : /* @__PURE__ */ o(U, {});
|
|
79
|
-
}
|
|
80
|
+
};
|
|
80
81
|
export {
|
|
81
|
-
|
|
82
|
+
D as default
|
|
82
83
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { jsxs as c, jsx as t } from "
|
|
1
|
+
import { jsxs as c, jsx as t } from "../../_virtual/jsx-runtime.mjs";
|
|
2
2
|
import { useContext as o } from "react";
|
|
3
3
|
import g from "../../context.mjs";
|
|
4
|
-
|
|
4
|
+
import "./style.less.mjs";
|
|
5
|
+
const x = (r) => {
|
|
5
6
|
const {
|
|
6
7
|
transform: e
|
|
7
8
|
} = o(g), {
|
|
@@ -24,7 +25,7 @@ import g from "../../context.mjs";
|
|
|
24
25
|
children: s
|
|
25
26
|
})]
|
|
26
27
|
});
|
|
27
|
-
}
|
|
28
|
+
};
|
|
28
29
|
export {
|
|
29
|
-
|
|
30
|
+
x as default
|
|
30
31
|
};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
|
|
1
|
+
import { jsx as r } from "../../_virtual/jsx-runtime.mjs";
|
|
2
|
+
import "./style.less.mjs";
|
|
3
|
+
const e = (t) => {
|
|
3
4
|
const {
|
|
4
5
|
children: o
|
|
5
6
|
} = t;
|
|
6
|
-
return /* @__PURE__ */
|
|
7
|
+
return /* @__PURE__ */ r("div", {
|
|
7
8
|
className: "history-content",
|
|
8
9
|
children: o
|
|
9
10
|
});
|
|
10
|
-
}
|
|
11
|
+
};
|
|
11
12
|
export {
|
|
12
|
-
|
|
13
|
+
e as default
|
|
13
14
|
};
|